conversion-ui-library 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +181 -0
- package/dist/common/Table.d.ts +10 -0
- package/dist/common/Table.d.ts.map +1 -0
- package/dist/components/Autocomplete/Autocomplete.stories.d.ts +6 -0
- package/dist/components/Autocomplete/Autocomplete.stories.d.ts.map +1 -0
- package/dist/components/Autocomplete/AutocompleteTable.d.ts +3 -0
- package/dist/components/Autocomplete/AutocompleteTable.d.ts.map +1 -0
- package/dist/components/Button/Button.stories.d.ts +7 -0
- package/dist/components/Button/Button.stories.d.ts.map +1 -0
- package/dist/components/Button/ButtonTable.d.ts +3 -0
- package/dist/components/Button/ButtonTable.d.ts.map +1 -0
- package/dist/components/Chart/chart-comparison.d.ts +4 -0
- package/dist/components/Chart/chart-comparison.d.ts.map +1 -0
- package/dist/components/Chart/chart-conversion.d.ts +3 -0
- package/dist/components/Chart/chart-conversion.d.ts.map +1 -0
- package/dist/components/Chart/chart-histogram.d.ts +4 -0
- package/dist/components/Chart/chart-histogram.d.ts.map +1 -0
- package/dist/components/Chart/chart.d.ts +3 -0
- package/dist/components/Chart/chart.d.ts.map +1 -0
- package/dist/components/Chart/chart.stories.d.ts +6 -0
- package/dist/components/Chart/chart.stories.d.ts.map +1 -0
- package/dist/components/Chart/chart.types.d.ts +44 -0
- package/dist/components/Chart/chart.types.d.ts.map +1 -0
- package/dist/components/Chip/Chip.stories.d.ts +8 -0
- package/dist/components/Chip/Chip.stories.d.ts.map +1 -0
- package/dist/components/Chip/ChipTable.d.ts +2 -0
- package/dist/components/Chip/ChipTable.d.ts.map +1 -0
- package/dist/components/Colors/ColorTable.d.ts +11 -0
- package/dist/components/Colors/ColorTable.d.ts.map +1 -0
- package/dist/components/Colors/Colors.stories.d.ts +6 -0
- package/dist/components/Colors/Colors.stories.d.ts.map +1 -0
- package/dist/components/ConversionSidebar/ConversionSidebar.d.ts +47 -0
- package/dist/components/ConversionSidebar/ConversionSidebar.d.ts.map +1 -0
- package/dist/components/ConversionSidebar/ConversionSidebar.stories.d.ts +7 -0
- package/dist/components/ConversionSidebar/ConversionSidebar.stories.d.ts.map +1 -0
- package/dist/components/Elevation/Elevation.stories.d.ts +6 -0
- package/dist/components/Elevation/Elevation.stories.d.ts.map +1 -0
- package/dist/components/Filter/Filter.d.ts +15 -0
- package/dist/components/Filter/Filter.d.ts.map +1 -0
- package/dist/components/Filter/Filter.stories.d.ts +7 -0
- package/dist/components/Filter/Filter.stories.d.ts.map +1 -0
- package/dist/components/Heading/Heading.stories.d.ts +6 -0
- package/dist/components/Heading/Heading.stories.d.ts.map +1 -0
- package/dist/components/Heading/HeadingTable.d.ts +3 -0
- package/dist/components/Heading/HeadingTable.d.ts.map +1 -0
- package/dist/components/Icons/icon.d.ts +12 -0
- package/dist/components/Icons/icon.d.ts.map +1 -0
- package/dist/components/Icons/icon.stories.d.ts +6 -0
- package/dist/components/Icons/icon.stories.d.ts.map +1 -0
- package/dist/components/Label/Label.stories.d.ts +7 -0
- package/dist/components/Label/Label.stories.d.ts.map +1 -0
- package/dist/components/Label/LabelTable.d.ts +3 -0
- package/dist/components/Label/LabelTable.d.ts.map +1 -0
- package/dist/components/Menu/Menu.d.ts +18 -0
- package/dist/components/Menu/Menu.d.ts.map +1 -0
- package/dist/components/Menu/Menu.stories.d.ts +8 -0
- package/dist/components/Menu/Menu.stories.d.ts.map +1 -0
- package/dist/components/Paragraph/Paragraph.stories.d.ts +7 -0
- package/dist/components/Paragraph/Paragraph.stories.d.ts.map +1 -0
- package/dist/components/Paragraph/ParagraphTable.d.ts +3 -0
- package/dist/components/Paragraph/ParagraphTable.d.ts.map +1 -0
- package/dist/components/Popup/Popup.d.ts +14 -0
- package/dist/components/Popup/Popup.d.ts.map +1 -0
- package/dist/components/Popup/Popup.stories.d.ts +36 -0
- package/dist/components/Popup/Popup.stories.d.ts.map +1 -0
- package/dist/components/Progress/Progress.stories.d.ts +7 -0
- package/dist/components/Progress/Progress.stories.d.ts.map +1 -0
- package/dist/components/Progress/ProgressTable.d.ts +3 -0
- package/dist/components/Progress/ProgressTable.d.ts.map +1 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts +7 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts.map +1 -0
- package/dist/components/StatusBadge/StatusBadge.d.ts +12 -0
- package/dist/components/StatusBadge/StatusBadge.d.ts.map +1 -0
- package/dist/components/StatusBadge/StatusBadge.stories.d.ts +7 -0
- package/dist/components/StatusBadge/StatusBadge.stories.d.ts.map +1 -0
- package/dist/components/Switch/switch.stories.d.ts +7 -0
- package/dist/components/Switch/switch.stories.d.ts.map +1 -0
- package/dist/components/Table/table.stories.d.ts +26 -0
- package/dist/components/Table/table.stories.d.ts.map +1 -0
- package/dist/components/Table/tableComponent.d.ts +17 -0
- package/dist/components/Table/tableComponent.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +7 -0
- package/dist/components/Tabs/Tabs.stories.d.ts.map +1 -0
- package/dist/components/Tabs/TabsLayout.d.ts +2 -0
- package/dist/components/Tabs/TabsLayout.d.ts.map +1 -0
- package/dist/components/Text/Text.stories.d.ts +7 -0
- package/dist/components/Text/Text.stories.d.ts.map +1 -0
- package/dist/components/Text/TextTable.d.ts +3 -0
- package/dist/components/Text/TextTable.d.ts.map +1 -0
- package/dist/components/TextArea/TextArea.stories.d.ts +6 -0
- package/dist/components/TextArea/TextArea.stories.d.ts.map +1 -0
- package/dist/components/TextArea/TextAreaTable.d.ts +3 -0
- package/dist/components/TextArea/TextAreaTable.d.ts.map +1 -0
- package/dist/components/TextField/TextField.stories.d.ts +6 -0
- package/dist/components/TextField/TextField.stories.d.ts.map +1 -0
- package/dist/components/TextField/TextFieldTable.d.ts +3 -0
- package/dist/components/TextField/TextFieldTable.d.ts.map +1 -0
- package/dist/components/Trend/Trend.stories.d.ts +24 -0
- package/dist/components/Trend/Trend.stories.d.ts.map +1 -0
- package/dist/components/Trend/TrendTable.d.ts +2 -0
- package/dist/components/Trend/TrendTable.d.ts.map +1 -0
- package/dist/components/Typography/Typography.stories.d.ts +6 -0
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -0
- package/dist/components/Typography/TypographyPage.d.ts +2 -0
- package/dist/components/Typography/TypographyPage.d.ts.map +1 -0
- package/dist/components/Typography/TypographyRow.d.ts +26 -0
- package/dist/components/Typography/TypographyRow.d.ts.map +1 -0
- package/dist/components/ui/Chip.d.ts +59 -0
- package/dist/components/ui/Chip.d.ts.map +1 -0
- package/dist/components/ui/Trend.d.ts +15 -0
- package/dist/components/ui/Trend.d.ts.map +1 -0
- package/dist/components/ui/autocomplete.d.ts +21 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +30 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/command.d.ts +45 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/heading.d.ts +10 -0
- package/dist/components/ui/heading.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +6 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +12 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/menu.d.ts +28 -0
- package/dist/components/ui/menu.d.ts.map +1 -0
- package/dist/components/ui/paragraph.d.ts +10 -0
- package/dist/components/ui/paragraph.d.ts.map +1 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/progress.d.ts +11 -0
- package/dist/components/ui/progress.d.ts.map +1 -0
- package/dist/components/ui/search-input.d.ts +18 -0
- package/dist/components/ui/search-input.d.ts.map +1 -0
- package/dist/components/ui/select.d.ts +14 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/sheet.d.ts +26 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sidebar.d.ts +65 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/spinner.d.ts +3 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/switch.d.ts +9 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/table.d.ts +11 -0
- package/dist/components/ui/table.d.ts.map +1 -0
- package/dist/components/ui/tabs.d.ts +18 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/text.d.ts +14 -0
- package/dist/components/ui/text.d.ts.map +1 -0
- package/dist/components/ui/textarea.d.ts +9 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textfield.d.ts +20 -0
- package/dist/components/ui/textfield.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/index.cjs.js +106 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +31890 -0
- package/dist/index.umd.js +107 -0
- package/dist/lib/Icons/icon-registry.d.ts +323 -0
- package/dist/lib/Icons/icon-registry.d.ts.map +1 -0
- package/dist/lib/use-mobile.d.ts +2 -0
- package/dist/lib/use-mobile.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +13 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/tokens/colors/colors.d.ts +137 -0
- package/dist/tokens/colors/colors.d.ts.map +1 -0
- package/dist/tokens/colors/colors.runtime.d.ts +137 -0
- package/dist/tokens/colors/colors.runtime.d.ts.map +1 -0
- package/dist/tokens/elevation/elevation.d.ts +9 -0
- package/dist/tokens/elevation/elevation.d.ts.map +1 -0
- package/dist/tokens/typography/typography.d.ts +145 -0
- package/dist/tokens/typography/typography.d.ts.map +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +115 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react/jsx-runtime"),A=require("react"),Nn=require("react-dom");function Z2(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 f=Z2(A),Gs=Z2(Nn);function am(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function nr(...e){return t=>{let r=!1;const n=e.map(o=>{const i=am(o,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():am(e[o],null)}}}}function ce(...e){return f.useCallback(nr(...e),e)}var iC=Symbol.for("react.lazy"),za=f[" use ".trim().toString()];function aC(e){return typeof e=="object"&&e!==null&&"then"in e}function Q2(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===iC&&"_payload"in e&&aC(e._payload)}function Vf(e){const t=sC(e),r=f.forwardRef((n,o)=>{let{children:i,...a}=n;Q2(i)&&typeof za=="function"&&(i=za(i._payload));const s=f.Children.toArray(i),c=s.find(lC);if(c){const l=c.props.children,u=s.map(d=>d===c?f.Children.count(l)>1?f.Children.only(null):f.isValidElement(l)?l.props.children:null:d);return h.jsx(t,{...a,ref:o,children:f.isValidElement(l)?f.cloneElement(l,void 0,u):null})}return h.jsx(t,{...a,ref:o,children:i})});return r.displayName=`${e}.Slot`,r}var ho=Vf("Slot");function sC(e){const t=f.forwardRef((r,n)=>{let{children:o,...i}=r;if(Q2(o)&&typeof za=="function"&&(o=za(o._payload)),f.isValidElement(o)){const a=dC(o),s=uC(i,o.props);return o.type!==f.Fragment&&(s.ref=n?nr(n,a):a),f.cloneElement(o,s)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var cC=Symbol("radix.slottable");function lC(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===cC}function uC(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{const c=i(...s);return o(...s),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function dC(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function X2(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=X2(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function be(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=X2(e))&&(n&&(n+=" "),n+=t);return n}const sm=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,cm=be,Wt=(e,t)=>r=>{var n;if(t?.variants==null)return cm(e,r?.class,r?.className);const{variants:o,defaultVariants:i}=t,a=Object.keys(o).map(l=>{const u=r?.[l],d=i?.[l];if(u===null)return null;const p=sm(u)||sm(d);return o[l][p]}),s=r&&Object.entries(r).reduce((l,u)=>{let[d,p]=u;return p===void 0||(l[d]=p),l},{}),c=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((l,u)=>{let{class:d,className:p,...m}=u;return Object.entries(m).every(g=>{let[v,y]=g;return Array.isArray(y)?y.includes({...i,...s}[v]):{...i,...s}[v]===y})?[...l,d,p]:l},[]);return cm(e,a,c,r?.class,r?.className)},fC=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},pC=(e,t)=>({classGroupId:e,validator:t}),J2=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Wa="-",lm=[],mC="arbitrary..",hC=e=>{const t=gC(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return vC(a);const s=a.split(Wa),c=s[0]===""&&s.length>1?1:0;return ey(s,c,t)},getConflictingClassGroupIds:(a,s)=>{if(s){const c=n[a],l=r[a];return c?l?fC(l,c):c:l||lm}return r[a]||lm}}},ey=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],i=r.nextPart.get(o);if(i){const l=ey(e,t+1,i);if(l)return l}const a=r.validators;if(a===null)return;const s=t===0?e.join(Wa):e.slice(t).join(Wa),c=a.length;for(let l=0;l<c;l++){const u=a[l];if(u.validator(s))return u.classGroupId}},vC=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?mC+n:void 0})(),gC=e=>{const{theme:t,classGroups:r}=e;return yC(r,t)},yC=(e,t)=>{const r=J2();for(const n in e){const o=e[n];zf(o,r,n,t)}return r},zf=(e,t,r,n)=>{const o=e.length;for(let i=0;i<o;i++){const a=e[i];bC(a,t,r,n)}},bC=(e,t,r,n)=>{if(typeof e=="string"){xC(e,t,r);return}if(typeof e=="function"){wC(e,t,r,n);return}CC(e,t,r,n)},xC=(e,t,r)=>{const n=e===""?t:ty(t,e);n.classGroupId=r},wC=(e,t,r,n)=>{if(EC(e)){zf(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(pC(r,e))},CC=(e,t,r,n)=>{const o=Object.entries(e),i=o.length;for(let a=0;a<i;a++){const[s,c]=o[a];zf(c,ty(t,s),r,n)}},ty=(e,t)=>{let r=e;const n=t.split(Wa),o=n.length;for(let i=0;i<o;i++){const a=n[i];let s=r.nextPart.get(a);s||(s=J2(),r.nextPart.set(a,s)),r=s}return r},EC=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,SC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(i,a)=>{r[i]=a,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(i){let a=r[i];if(a!==void 0)return a;if((a=n[i])!==void 0)return o(i,a),a},set(i,a){i in r?r[i]=a:o(i,a)}}},ld="!",um=":",AC=[],dm=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),OC=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const i=[];let a=0,s=0,c=0,l;const u=o.length;for(let v=0;v<u;v++){const y=o[v];if(a===0&&s===0){if(y===um){i.push(o.slice(c,v)),c=v+1;continue}if(y==="/"){l=v;continue}}y==="["?a++:y==="]"?a--:y==="("?s++:y===")"&&s--}const d=i.length===0?o:o.slice(c);let p=d,m=!1;d.endsWith(ld)?(p=d.slice(0,-1),m=!0):d.startsWith(ld)&&(p=d.slice(1),m=!0);const g=l&&l>c?l-c:void 0;return dm(i,m,p,g)};if(t){const o=t+um,i=n;n=a=>a.startsWith(o)?i(a.slice(o.length)):dm(AC,!1,a,void 0,!0)}if(r){const o=n;n=i=>r({className:i,parseClassName:o})}return n},PC=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let i=0;i<r.length;i++){const a=r[i],s=a[0]==="[",c=t.has(a);s||c?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(a)):o.push(a)}return o.length>0&&(o.sort(),n.push(...o)),n}},NC=e=>({cache:SC(e.cacheSize),parseClassName:OC(e),sortModifiers:PC(e),...hC(e)}),MC=/\s+/,jC=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],s=e.trim().split(MC);let c="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{isExternal:d,modifiers:p,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:v}=r(u);if(d){c=u+(c.length>0?" "+c:c);continue}let y=!!v,b=n(y?g.substring(0,v):g);if(!b){if(!y){c=u+(c.length>0?" "+c:c);continue}if(b=n(g),!b){c=u+(c.length>0?" "+c:c);continue}y=!1}const x=p.length===0?"":p.length===1?p[0]:i(p).join(":"),w=m?x+ld:x,C=w+b;if(a.indexOf(C)>-1)continue;a.push(C);const E=o(b,y);for(let S=0;S<E.length;++S){const O=E[S];a.push(w+O)}c=u+(c.length>0?" "+c:c)}return c},kC=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=ry(r))&&(o&&(o+=" "),o+=n);return o},ry=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=ry(e[n]))&&(r&&(r+=" "),r+=t);return r},IC=(e,...t)=>{let r,n,o,i;const a=c=>{const l=t.reduce((u,d)=>d(u),e());return r=NC(l),n=r.cache.get,o=r.cache.set,i=s,s(c)},s=c=>{const l=n(c);if(l)return l;const u=jC(c,r);return o(c,u),u};return i=a,(...c)=>i(kC(...c))},TC=[],Te=e=>{const t=r=>r[e]||TC;return t.isThemeGetter=!0,t},ny=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,oy=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_C=/^\d+\/\d+$/,RC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,DC=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,LC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,FC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,BC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Dn=e=>_C.test(e),oe=e=>!!e&&!Number.isNaN(Number(e)),jr=e=>!!e&&Number.isInteger(Number(e)),ul=e=>e.endsWith("%")&&oe(e.slice(0,-1)),ir=e=>RC.test(e),$C=()=>!0,VC=e=>DC.test(e)&&!LC.test(e),iy=()=>!1,zC=e=>FC.test(e),WC=e=>BC.test(e),HC=e=>!Z(e)&&!Q(e),KC=e=>vo(e,cy,iy),Z=e=>ny.test(e),tn=e=>vo(e,ly,VC),dl=e=>vo(e,ZC,oe),fm=e=>vo(e,ay,iy),UC=e=>vo(e,sy,WC),ra=e=>vo(e,uy,zC),Q=e=>oy.test(e),Io=e=>go(e,ly),GC=e=>go(e,QC),pm=e=>go(e,ay),qC=e=>go(e,cy),YC=e=>go(e,sy),na=e=>go(e,uy,!0),vo=(e,t,r)=>{const n=ny.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},go=(e,t,r=!1)=>{const n=oy.exec(e);return n?n[1]?t(n[1]):r:!1},ay=e=>e==="position"||e==="percentage",sy=e=>e==="image"||e==="url",cy=e=>e==="length"||e==="size"||e==="bg-size",ly=e=>e==="length",ZC=e=>e==="number",QC=e=>e==="family-name",uy=e=>e==="shadow",XC=()=>{const e=Te("color"),t=Te("font"),r=Te("text"),n=Te("font-weight"),o=Te("tracking"),i=Te("leading"),a=Te("breakpoint"),s=Te("container"),c=Te("spacing"),l=Te("radius"),u=Te("shadow"),d=Te("inset-shadow"),p=Te("text-shadow"),m=Te("drop-shadow"),g=Te("blur"),v=Te("perspective"),y=Te("aspect"),b=Te("ease"),x=Te("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...C(),Q,Z],S=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto","contain","none"],P=()=>[Q,Z,c],j=()=>[Dn,"full","auto",...P()],D=()=>[jr,"none","subgrid",Q,Z],L=()=>["auto",{span:["full",jr,Q,Z]},jr,Q,Z],M=()=>[jr,"auto",Q,Z],k=()=>["auto","min","max","fr",Q,Z],$=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],U=()=>["start","end","center","stretch","center-safe","end-safe"],W=()=>["auto",...P()],H=()=>[Dn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],T=()=>[e,Q,Z],N=()=>[...C(),pm,fm,{position:[Q,Z]}],z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],X=()=>["auto","cover","contain",qC,KC,{size:[Q,Z]}],K=()=>[ul,Io,tn],J=()=>["","none","full",l,Q,Z],ee=()=>["",oe,Io,tn],fe=()=>["solid","dashed","dotted","double"],xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],V=()=>[oe,ul,pm,fm],se=()=>["","none",g,Q,Z],_=()=>["none",oe,Q,Z],q=()=>["none",oe,Q,Z],F=()=>[oe,Q,Z],R=()=>[Dn,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ir],breakpoint:[ir],color:[$C],container:[ir],"drop-shadow":[ir],ease:["in","out","in-out"],font:[HC],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ir],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ir],shadow:[ir],spacing:["px",oe],text:[ir],"text-shadow":[ir],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Dn,Z,Q,y]}],container:["container"],columns:[{columns:[oe,Z,Q,s]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:j()}],"inset-x":[{"inset-x":j()}],"inset-y":[{"inset-y":j()}],start:[{start:j()}],end:[{end:j()}],top:[{top:j()}],right:[{right:j()}],bottom:[{bottom:j()}],left:[{left:j()}],visibility:["visible","invisible","collapse"],z:[{z:[jr,"auto",Q,Z]}],basis:[{basis:[Dn,"full","auto",s,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[oe,Dn,"auto","initial","none",Z]}],grow:[{grow:["",oe,Q,Z]}],shrink:[{shrink:["",oe,Q,Z]}],order:[{order:[jr,"first","last","none",Q,Z]}],"grid-cols":[{"grid-cols":D()}],"col-start-end":[{col:L()}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":D()}],"row-start-end":[{row:L()}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...$(),"normal"]}],"justify-items":[{"justify-items":[...U(),"normal"]}],"justify-self":[{"justify-self":["auto",...U()]}],"align-content":[{content:["normal",...$()]}],"align-items":[{items:[...U(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...U(),{baseline:["","last"]}]}],"place-content":[{"place-content":$()}],"place-items":[{"place-items":[...U(),"baseline"]}],"place-self":[{"place-self":["auto",...U()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:W()}],mx:[{mx:W()}],my:[{my:W()}],ms:[{ms:W()}],me:[{me:W()}],mt:[{mt:W()}],mr:[{mr:W()}],mb:[{mb:W()}],ml:[{ml:W()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],w:[{w:[s,"screen",...H()]}],"min-w":[{"min-w":[s,"screen","none",...H()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",r,Io,tn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Q,dl]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ul,Z]}],"font-family":[{font:[GC,Z,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Q,Z]}],"line-clamp":[{"line-clamp":[oe,"none",Q,dl]}],leading:[{leading:[i,...P()]}],"list-image":[{"list-image":["none",Q,Z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Q,Z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...fe(),"wavy"]}],"text-decoration-thickness":[{decoration:[oe,"from-font","auto",Q,tn]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[oe,"auto",Q,Z]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q,Z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Q,Z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:z()}],"bg-size":[{bg:X()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},jr,Q,Z],radial:["",Q,Z],conic:[jr,Q,Z]},YC,UC]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:K()}],"gradient-via-pos":[{via:K()}],"gradient-to-pos":[{to:K()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:J()}],"rounded-s":[{"rounded-s":J()}],"rounded-e":[{"rounded-e":J()}],"rounded-t":[{"rounded-t":J()}],"rounded-r":[{"rounded-r":J()}],"rounded-b":[{"rounded-b":J()}],"rounded-l":[{"rounded-l":J()}],"rounded-ss":[{"rounded-ss":J()}],"rounded-se":[{"rounded-se":J()}],"rounded-ee":[{"rounded-ee":J()}],"rounded-es":[{"rounded-es":J()}],"rounded-tl":[{"rounded-tl":J()}],"rounded-tr":[{"rounded-tr":J()}],"rounded-br":[{"rounded-br":J()}],"rounded-bl":[{"rounded-bl":J()}],"border-w":[{border:ee()}],"border-w-x":[{"border-x":ee()}],"border-w-y":[{"border-y":ee()}],"border-w-s":[{"border-s":ee()}],"border-w-e":[{"border-e":ee()}],"border-w-t":[{"border-t":ee()}],"border-w-r":[{"border-r":ee()}],"border-w-b":[{"border-b":ee()}],"border-w-l":[{"border-l":ee()}],"divide-x":[{"divide-x":ee()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ee()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...fe(),"hidden","none"]}],"divide-style":[{divide:[...fe(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...fe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[oe,Q,Z]}],"outline-w":[{outline:["",oe,Io,tn]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,na,ra]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,na,ra]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[oe,tn]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":ee()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,na,ra]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[oe,Q,Z]}],"mix-blend":[{"mix-blend":[...xe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":xe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[oe]}],"mask-image-linear-from-pos":[{"mask-linear-from":V()}],"mask-image-linear-to-pos":[{"mask-linear-to":V()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":V()}],"mask-image-t-to-pos":[{"mask-t-to":V()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":V()}],"mask-image-r-to-pos":[{"mask-r-to":V()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":V()}],"mask-image-b-to-pos":[{"mask-b-to":V()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":V()}],"mask-image-l-to-pos":[{"mask-l-to":V()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":V()}],"mask-image-x-to-pos":[{"mask-x-to":V()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":V()}],"mask-image-y-to-pos":[{"mask-y-to":V()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[Q,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":V()}],"mask-image-radial-to-pos":[{"mask-radial-to":V()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[oe]}],"mask-image-conic-from-pos":[{"mask-conic-from":V()}],"mask-image-conic-to-pos":[{"mask-conic-to":V()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:z()}],"mask-size":[{mask:X()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Q,Z]}],filter:[{filter:["","none",Q,Z]}],blur:[{blur:se()}],brightness:[{brightness:[oe,Q,Z]}],contrast:[{contrast:[oe,Q,Z]}],"drop-shadow":[{"drop-shadow":["","none",m,na,ra]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",oe,Q,Z]}],"hue-rotate":[{"hue-rotate":[oe,Q,Z]}],invert:[{invert:["",oe,Q,Z]}],saturate:[{saturate:[oe,Q,Z]}],sepia:[{sepia:["",oe,Q,Z]}],"backdrop-filter":[{"backdrop-filter":["","none",Q,Z]}],"backdrop-blur":[{"backdrop-blur":se()}],"backdrop-brightness":[{"backdrop-brightness":[oe,Q,Z]}],"backdrop-contrast":[{"backdrop-contrast":[oe,Q,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",oe,Q,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[oe,Q,Z]}],"backdrop-invert":[{"backdrop-invert":["",oe,Q,Z]}],"backdrop-opacity":[{"backdrop-opacity":[oe,Q,Z]}],"backdrop-saturate":[{"backdrop-saturate":[oe,Q,Z]}],"backdrop-sepia":[{"backdrop-sepia":["",oe,Q,Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Q,Z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[oe,"initial",Q,Z]}],ease:[{ease:["linear","initial",b,Q,Z]}],delay:[{delay:[oe,Q,Z]}],animate:[{animate:["none",x,Q,Z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,Q,Z]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:_()}],"rotate-x":[{"rotate-x":_()}],"rotate-y":[{"rotate-y":_()}],"rotate-z":[{"rotate-z":_()}],scale:[{scale:q()}],"scale-x":[{"scale-x":q()}],"scale-y":[{"scale-y":q()}],"scale-z":[{"scale-z":q()}],"scale-3d":["scale-3d"],skew:[{skew:F()}],"skew-x":[{"skew-x":F()}],"skew-y":[{"skew-y":F()}],transform:[{transform:[Q,Z,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:R()}],"translate-x":[{"translate-x":R()}],"translate-y":[{"translate-y":R()}],"translate-z":[{"translate-z":R()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Q,Z]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Q,Z]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[oe,Io,tn,dl]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},JC=IC(XC);var dy={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},mm=A.createContext&&A.createContext(dy),e9=["attr","size","title"];function t9(e,t){if(e==null)return{};var r=r9(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function r9(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Ha(){return Ha=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ha.apply(this,arguments)}function hm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ka(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hm(Object(r),!0).forEach(function(n){n9(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hm(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function n9(e,t,r){return t=o9(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o9(e){var t=i9(e,"string");return typeof t=="symbol"?t:t+""}function i9(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 fy(e){return e&&e.map((t,r)=>A.createElement(t.tag,Ka({key:r},t.attr),fy(t.child)))}function ie(e){return t=>A.createElement(a9,Ha({attr:Ka({},e.attr)},t),fy(e.child))}function a9(e){var t=r=>{var{attr:n,size:o,title:i}=e,a=t9(e,e9),s=o||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),A.createElement("svg",Ha({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:c,style:Ka(Ka({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&A.createElement("title",null,i),e.children)};return mm!==void 0?A.createElement(mm.Consumer,null,r=>t(r)):t(dy)}function s9(e){return ie({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M11 2v20c-5.07-.5-9-4.79-9-10s3.93-9.5 9-10zm2.03 0v8.99H22c-.47-4.74-4.24-8.52-8.97-8.99zm0 11.01V22c4.74-.47 8.5-4.25 8.97-8.99h-8.97z"},child:[]}]})(e)}function c9(e){return ie({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm13.5-9 1.96 2.5H17V9.5h2.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"},child:[]}]})(e)}function B(...e){return JC(be(e))}const l9=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),u9=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),vm=e=>{const t=u9(e);return t.charAt(0).toUpperCase()+t.slice(1)},py=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),d9=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var f9={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const p9=A.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:i,iconNode:a,...s},c)=>A.createElement("svg",{ref:c,...f9,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:py("lucide",o),...!i&&!d9(s)&&{"aria-hidden":"true"},...s},[...a.map(([l,u])=>A.createElement(l,u)),...Array.isArray(i)?i:[i]]));const pe=(e,t)=>{const r=A.forwardRef(({className:n,...o},i)=>A.createElement(p9,{ref:i,iconNode:t,className:py(`lucide-${l9(vm(e))}`,`lucide-${e}`,n),...o}));return r.displayName=vm(e),r};const m9=[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]],h9=pe("app-window",m9);const v9=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h10",key:"1w87gc"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h4",key:"q8tih4"}]],g9=pe("arrow-down-wide-narrow",v9);const y9=[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]],b9=pe("chart-no-axes-combined",y9);const x9=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Wf=pe("check",x9);const w9=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],qs=pe("chevron-down",w9);const C9=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],E9=pe("chevron-left",C9);const S9=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],my=pe("chevron-right",S9);const A9=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],O9=pe("chevron-up",A9);const P9=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],N9=pe("chevrons-up-down",P9);const M9=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],j9=pe("circle-x",M9);const k9=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],I9=pe("circle",k9);const T9=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],_9=pe("coins",T9);const R9=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],D9=pe("download",R9);const L9=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],F9=pe("ellipsis",L9);const B9=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],$9=pe("eye-off",B9);const V9=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],z9=pe("eye",V9);const W9=[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]],H9=pe("file-code-corner",W9);const K9=[["path",{d:"M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z",key:"12oyoe"}],["path",{d:"M21 16v2a4 4 0 0 1-4 4h-5",key:"1x7m43"}]],U9=pe("headset",K9);const G9=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.12 2.198a2 2 0 0 1 1.76.006l7.866 3.847c.476.233.31.949-.22.949H3.474c-.53 0-.695-.716-.22-.949z",key:"1m329m"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],q9=pe("landmark",G9);const Y9=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],Z9=pe("layout-grid",Y9);const Q9=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],X9=pe("loader-circle",Q9);const J9=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],eE=pe("monitor",J9);const tE=[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]],rE=pe("mouse-pointer-click",tE);const nE=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],oE=pe("panels-top-left",nE);const iE=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],aE=pe("plus",iE);const sE=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],hy=pe("search",sE);const cE=[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M8 3H3v5",key:"15dfkv"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3",key:"1qrqzj"}],["path",{d:"m15 9 6-6",key:"ko1vev"}]],lE=pe("split",cE);const uE=[["path",{d:"M4 10c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"4i38lg"}],["path",{d:"M10 16c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2",key:"mlte4a"}],["rect",{width:"8",height:"8",x:"14",y:"14",rx:"2",key:"1fa9i4"}]],dE=pe("square-stack",uE);const fE=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Qo=pe("x",fE);const pE=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],mE=pe("zap",pE);function hE({className:e,...t}){return h.jsx(X9,{role:"status","aria-label":"Loading",className:B("size-6 animate-spin",e),...t})}function vE(e){return ie({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M21 10.063V4C21 3.44772 20.5523 3 20 3H19C17.0214 4.97864 13.3027 6.08728 11 6.61281V17.3872C13.3027 17.9127 17.0214 19.0214 19 21H20C20.5523 21 21 20.5523 21 20V13.937C21.8626 13.715 22.5 12.9319 22.5 12 22.5 11.0681 21.8626 10.285 21 10.063ZM5 7C3.89543 7 3 7.89543 3 9V15C3 16.1046 3.89543 17 5 17H6L7 22H9V7H5Z"},child:[]}]})(e)}function gE(e){return ie({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C11.4477 17 11 17.4477 11 18C11 18.5523 11.4477 19 12 19C12.5523 19 13 18.5523 13 18C13 17.4477 12.5523 17 12 17Z"},child:[]}]})(e)}function yE(e){return ie({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M13.9461 2.09411C12.8248 1.13855 11.1756 1.13856 10.0544 2.0941L8.70636 3.24286C8.54619 3.37935 8.34705 3.46183 8.13728 3.47857L6.3718 3.61946C4.90327 3.73665 3.73714 4.90278 3.61995 6.3713L3.47907 8.13678C3.46234 8.34654 3.37983 8.54573 3.24334 8.70589L2.09458 10.0539C1.13904 11.1752 1.13905 12.8243 2.0946 13.9455L3.24336 15.2936C3.37983 15.4538 3.46232 15.6529 3.47906 15.8627L3.61997 17.6281C3.73716 19.0966 4.9033 20.2627 6.37184 20.3799L8.13729 20.5209C8.34705 20.5376 8.54615 20.6201 8.70631 20.7566L10.0543 21.9053C11.1756 22.8608 12.8248 22.8609 13.9461 21.9053L15.2941 20.7566C15.4542 20.6201 15.6533 20.5376 15.8631 20.5208L17.6286 20.3799C19.0971 20.2628 20.2632 19.0967 20.3805 17.6281L20.5213 15.8627C20.538 15.6529 20.6206 15.4537 20.757 15.2935L21.9058 13.9456C22.8614 12.8243 22.8614 11.1751 21.9058 10.0539L20.757 8.70585C20.6205 8.54568 20.5381 8.34654 20.5214 8.13679L20.3805 6.37131C20.2633 4.9028 19.0971 3.73663 17.6286 3.61945L15.8631 3.47856C15.6533 3.46182 15.4542 3.37935 15.2941 3.24286L13.9461 2.09411ZM14.8284 7.75718L16.2426 9.1714L9.17151 16.2425L7.7573 14.8282L14.8284 7.75718ZM10.2322 10.232C9.64638 10.8178 8.69664 10.8178 8.11085 10.232C7.52506 9.6463 7.52506 8.69652 8.11085 8.11073C8.69664 7.52494 9.64638 7.52494 10.2322 8.11073C10.818 8.69652 10.818 9.6463 10.2322 10.232ZM13.7677 15.8889C13.1819 15.3031 13.1819 14.3534 13.7677 13.7676C14.3535 13.1818 15.3032 13.1818 15.889 13.7676C16.4748 14.3534 16.4748 15.3031 15.889 15.8889C15.3032 16.4747 14.3535 16.4747 13.7677 15.8889Z"},child:[]}]})(e)}function bE(e){return ie({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM9 11V17H11V11H9ZM13 11V17H15V11H13ZM9 4V6H15V4H9Z"},child:[]}]})(e)}function xE(e){return ie({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM7 11V13H17V11H7Z"},child:[]}]})(e)}function wE(e){return ie({attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M8.96712 9.60787C9.14342 9.26307 9.37775 8.94649 9.67076 8.65806C9.85736 8.47395 10.0257 8.28064 10.1757 8.07816C10.2158 7.96017 10.2532 7.8333 10.2873 7.69683C10.3615 7.40021 10.5382 7.15079 10.7739 6.98253C10.945 6.51978 11.0303 6.0252 11.0303 5.49953C11.0303 5.08664 10.9769 4.68802 10.8698 4.30397C10.763 3.92088 10.6112 3.56285 10.4143 3.23016C10.2177 2.89376 9.98251 2.5891 9.70882 2.31641C9.43513 2.0437 9.12939 1.80938 8.79183 1.61351C8.45803 1.41739 8.09883 1.2662 7.71451 1.15983C7.32923 1.0532 6.92934 1 6.51514 1C6.10094 1 5.70106 1.0532 5.31578 1.15983C4.93146 1.2662 4.56979 1.41764 4.23195 1.61364C3.89858 1.80953 3.59503 2.04383 3.32146 2.31641C3.04777 2.58911 2.81257 2.89377 2.61595 3.23018C2.41907 3.56286 2.26728 3.92089 2.16048 4.30397C2.05342 4.68802 2 5.08664 2 5.49953C2 6.11672 2.11756 6.69107 2.35361 7.22134C2.58896 7.75003 2.92468 8.22903 3.35953 8.65806C3.69832 8.99156 3.95683 9.36336 4.13553 9.77209C4.31772 10.1795 4.40927 10.622 4.40927 11.1009V12.7012C4.40927 12.8807 4.44311 13.0503 4.51141 13.2091C4.57895 13.3661 4.67168 13.5038 4.78961 13.6213C4.90753 13.7388 5.04564 13.8311 5.20306 13.8984C5.36223 13.9663 5.53223 14 5.71205 14H7.31823C7.49806 14 7.66806 13.9663 7.82723 13.8984C7.98464 13.8311 8.12275 13.7388 8.24068 13.6213C8.35861 13.5038 8.45134 13.3661 8.51887 13.2091C8.58718 13.0503 8.62102 12.8807 8.62102 12.7012V12.2734C8.61586 12.2723 8.61079 12.2712 8.60581 12.2701C8.54613 12.2576 8.50299 12.2525 8.48241 12.2506L8.47329 12.2498C8.1415 12.2429 7.8415 12.1066 7.62162 11.8894V12.7012C7.62162 12.7823 7.59309 12.8512 7.5314 12.9127C7.46971 12.9741 7.40022 13.0028 7.31823 13.0028H5.71205C5.63007 13.0028 5.56058 12.9741 5.49888 12.9127C5.4372 12.8512 5.40867 12.7823 5.40867 12.7012V10.5H7.35405C7.54359 10.0663 7.97213 9.76091 8.4732 9.75037L8.48232 9.7496C8.50289 9.74769 8.54604 9.74259 8.60572 9.73002C8.69843 9.7105 8.82494 9.67428 8.96712 9.60787Z"},child:[]},{tag:"path",attr:{d:"M11.5 14C12.25 11.0001 14.5 11.0001 14.5 11.0001C14.5 11.0001 12.25 11 11.5 8C10.75 11 8.5 11.0001 8.5 11.0001C8.5 11.0001 10.75 11 11.5 14Z",strokeWidth:"0.75",strokeLinejoin:"round"},child:[]},{tag:"path",attr:{d:"M12.926 13.2393C13.2849 12.977 13.5538 12.6663 13.7328 12.4216C13.8545 12.2553 14.1455 12.2553 14.2672 12.4216C14.4462 12.6663 14.7151 12.977 15.074 13.2393C15.2403 13.3609 15.2403 13.6393 15.074 13.7609C14.7151 14.0231 14.4462 14.3337 14.2672 14.5784C14.1455 14.7447 13.8545 14.7447 13.7328 14.5784C13.5538 14.3337 13.2849 14.0231 12.926 13.7609C12.7597 13.6393 12.7597 13.3609 12.926 13.2393Z"},child:[]}]})(e)}function CE(e){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M408 480H184a72 72 0 0 1-72-72V184a72 72 0 0 1 72-72h224a72 72 0 0 1 72 72v224a72 72 0 0 1-72 72z"},child:[]},{tag:"path",attr:{d:"M160 80h235.88A72.12 72.12 0 0 0 328 32H104a72 72 0 0 0-72 72v224a72.12 72.12 0 0 0 48 67.88V160a80 80 0 0 1 80-80z"},child:[]}]})(e)}function EE(e){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M428 224H288a48 48 0 0 1-48-48V36a4 4 0 0 0-4-4h-92a64 64 0 0 0-64 64v320a64 64 0 0 0 64 64h224a64 64 0 0 0 64-64V228a4 4 0 0 0-4-4zm-92 160H176a16 16 0 0 1 0-32h160a16 16 0 0 1 0 32zm0-80H176a16 16 0 0 1 0-32h160a16 16 0 0 1 0 32z"},child:[]},{tag:"path",attr:{d:"M419.22 188.59 275.41 44.78a2 2 0 0 0-3.41 1.41V176a16 16 0 0 0 16 16h129.81a2 2 0 0 0 1.41-3.41z"},child:[]}]})(e)}function SE(e){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 256c-13.47 0-26.94-2.39-37.44-7.17l-148-67.49C63.79 178.26 48 169.25 48 152.24s15.79-26 22.58-29.12l149.28-68.07c20.57-9.4 51.61-9.4 72.19 0l149.37 68.07c6.79 3.09 22.58 12.1 22.58 29.12s-15.79 26-22.58 29.11l-148 67.48C282.94 253.61 269.47 256 256 256zm176.76-100.86z"},child:[]},{tag:"path",attr:{d:"M441.36 226.81 426.27 220l-38.77 17.74-94 43c-10.5 4.8-24 7.19-37.44 7.19s-26.93-2.39-37.42-7.19l-94.07-43L85.79 220l-15.22 6.84C63.79 229.93 48 239 48 256s15.79 26.08 22.56 29.17l148 67.63C229 357.6 242.49 360 256 360s26.94-2.4 37.44-7.19l147.87-67.61c6.81-3.09 22.69-12.11 22.69-29.2s-15.77-26.07-22.64-29.19z"},child:[]},{tag:"path",attr:{d:"m441.36 330.8-15.09-6.8-38.77 17.73-94 42.95c-10.5 4.78-24 7.18-37.44 7.18s-26.93-2.39-37.42-7.18l-94.07-43L85.79 324l-15.22 6.84C63.79 333.93 48 343 48 360s15.79 26.07 22.56 29.15l148 67.59C229 461.52 242.54 464 256 464s26.88-2.48 37.38-7.27l147.92-67.57c6.82-3.08 22.7-12.1 22.7-29.16s-15.77-26.07-22.64-29.2z"},child:[]}]})(e)}function AE(e){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M160 256a16 16 0 0 1 16-16h144V136c0-32-33.79-56-64-56H104a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h160a56.06 56.06 0 0 0 56-56V272H176a16 16 0 0 1-16-16zm299.31-11.31-80-80a16 16 0 0 0-22.62 22.62L409.37 240H320v32h89.37l-52.68 52.69a16 16 0 1 0 22.62 22.62l80-80a16 16 0 0 0 0-22.62z"},child:[]}]})(e)}function OE(e){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 176a80 80 0 1 0 80 80 80.24 80.24 0 0 0-80-80zm172.72 80a165.53 165.53 0 0 1-1.64 22.34l48.69 38.12a11.59 11.59 0 0 1 2.63 14.78l-46.06 79.52a11.64 11.64 0 0 1-14.14 4.93l-57.25-23a176.56 176.56 0 0 1-38.82 22.67l-8.56 60.78a11.93 11.93 0 0 1-11.51 9.86h-92.12a12 12 0 0 1-11.51-9.53l-8.56-60.78A169.3 169.3 0 0 1 151.05 393L93.8 416a11.64 11.64 0 0 1-14.14-4.92L33.6 331.57a11.59 11.59 0 0 1 2.63-14.78l48.69-38.12A174.58 174.58 0 0 1 83.28 256a165.53 165.53 0 0 1 1.64-22.34l-48.69-38.12a11.59 11.59 0 0 1-2.63-14.78l46.06-79.52a11.64 11.64 0 0 1 14.14-4.93l57.25 23a176.56 176.56 0 0 1 38.82-22.67l8.56-60.78A11.93 11.93 0 0 1 209.94 26h92.12a12 12 0 0 1 11.51 9.53l8.56 60.78A169.3 169.3 0 0 1 361 119l57.2-23a11.64 11.64 0 0 1 14.14 4.92l46.06 79.52a11.59 11.59 0 0 1-2.63 14.78l-48.69 38.12a174.58 174.58 0 0 1 1.64 22.66z"},child:[]}]})(e)}function PE(e){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm106.5 150.5L228.8 332.8h-.1c-1.7 1.7-6.3 5.5-11.6 5.5-3.8 0-8.1-2.1-11.7-5.7l-56-56c-1.6-1.6-1.6-4.1 0-5.7l17.8-17.8c.8-.8 1.8-1.2 2.8-1.2 1 0 2 .4 2.8 1.2l44.4 44.4 122-122.9c.8-.8 1.8-1.2 2.8-1.2 1.1 0 2.1.4 2.8 1.2l17.5 18.1c1.8 1.7 1.8 4.2.2 5.8z"},child:[]}]})(e)}function NE(e){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M405.2 64h-21c15 5.7 22.8 20.6 22.8 42.7v298.7c0 22.1-7 37.3-22.8 42.7h21c23.7 0 42.8-19.2 42.8-42.7V106.7c0-23.5-19.1-42.7-42.8-42.7zM345.5 64.2c-1.4-.1-2.8-.2-4.2-.2H106.7C83.2 64 64 83.2 64 106.7v298.7c0 23.5 19.2 42.7 42.7 42.7h234.7c1.4 0 2.8-.1 4.2-.2 21.5-2.1 38.5-20.4 38.5-42.5V106.7c-.1-22.1-17.1-40.4-38.6-42.5zM208 256l-56-32-56 32V96h112v160z"},child:[]}]})(e)}function ME(e){return ie({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M22 10v6a4 4 0 0 1 -4 4h-12a4 4 0 0 1 -4 -4v-6h20zm-14.99 4h-.01a1 1 0 1 0 .01 2a1 1 0 0 0 0 -2zm5.99 0h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0 -2zm5 -10a4 4 0 0 1 4 4h-20a4 4 0 0 1 4 -4h12z"},child:[]}]})(e)}function jE(e){return ie({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M20 3h-16a1 1 0 0 0 -1 1v2.227l.008 .223a3 3 0 0 0 .772 1.795l4.22 4.641v8.114a1 1 0 0 0 1.316 .949l6 -2l.108 -.043a1 1 0 0 0 .576 -.906v-6.586l4.121 -4.12a3 3 0 0 0 .879 -2.123v-2.171a1 1 0 0 0 -1 -1z"},child:[]}]})(e)}function kE(e){return ie({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7"},child:[]},{tag:"path",attr:{d:"M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3"},child:[]},{tag:"path",attr:{d:"M9.7 17l4.6 0"},child:[]}]})(e)}function IE(e){return ie({attr:{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z",clipRule:"evenodd"},child:[]}]})(e)}function TE(e){return ie({attr:{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M21.721 12.752a9.711 9.711 0 0 0-.945-5.003 12.754 12.754 0 0 1-4.339 2.708 18.991 18.991 0 0 1-.214 4.772 17.165 17.165 0 0 0 5.498-2.477ZM14.634 15.55a17.324 17.324 0 0 0 .332-4.647c-.952.227-1.945.347-2.966.347-1.021 0-2.014-.12-2.966-.347a17.515 17.515 0 0 0 .332 4.647 17.385 17.385 0 0 0 5.268 0ZM9.772 17.119a18.963 18.963 0 0 0 4.456 0A17.182 17.182 0 0 1 12 21.724a17.18 17.18 0 0 1-2.228-4.605ZM7.777 15.23a18.87 18.87 0 0 1-.214-4.774 12.753 12.753 0 0 1-4.34-2.708 9.711 9.711 0 0 0-.944 5.004 17.165 17.165 0 0 0 5.498 2.477ZM21.356 14.752a9.765 9.765 0 0 1-7.478 6.817 18.64 18.64 0 0 0 1.988-4.718 18.627 18.627 0 0 0 5.49-2.098ZM2.644 14.752c1.682.971 3.53 1.688 5.49 2.099a18.64 18.64 0 0 0 1.988 4.718 9.765 9.765 0 0 1-7.478-6.816ZM13.878 2.43a9.755 9.755 0 0 1 6.116 3.986 11.267 11.267 0 0 1-3.746 2.504 18.63 18.63 0 0 0-2.37-6.49ZM12 2.276a17.152 17.152 0 0 1 2.805 7.121c-.897.23-1.837.353-2.805.353-.968 0-1.908-.122-2.805-.353A17.151 17.151 0 0 1 12 2.276ZM10.122 2.43a18.629 18.629 0 0 0-2.37 6.49 11.266 11.266 0 0 1-3.746-2.504 9.754 9.754 0 0 1 6.116-3.985Z"},child:[]}]})(e)}function _E(e){return ie({attr:{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M4.5 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM14.25 8.625a3.375 3.375 0 1 1 6.75 0 3.375 3.375 0 0 1-6.75 0ZM1.5 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM17.25 19.128l-.001.144a2.25 2.25 0 0 1-.233.96 10.088 10.088 0 0 0 5.06-1.01.75.75 0 0 0 .42-.643 4.875 4.875 0 0 0-6.957-4.611 8.586 8.586 0 0 1 1.71 5.157v.003Z"},child:[]}]})(e)}function RE(e){return ie({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M4.93 2.31a41.401 41.401 0 0 1 10.14 0C16.194 2.45 17 3.414 17 4.517V17.25a.75.75 0 0 1-1.075.676l-2.8-1.344-2.8 1.344a.75.75 0 0 1-.65 0l-2.8-1.344-2.8 1.344A.75.75 0 0 1 3 17.25V4.517c0-1.103.806-2.068 1.93-2.207Zm8.85 4.97a.75.75 0 0 0-1.06-1.06l-6.5 6.5a.75.75 0 1 0 1.06 1.06l6.5-6.5ZM9 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm3 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"},child:[]}]})(e)}function DE(e){return ie({attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"},child:[]}]})(e)}function LE(e){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 96L192 96 144.6 24.9C137.5 14.2 145.1 0 157.9 0L354.1 0c12.8 0 20.4 14.2 13.3 24.9L320 96zM192 128l128 0c3.8 2.5 8.1 5.3 13 8.4C389.7 172.7 512 250.9 512 416c0 53-43 96-96 96L96 512c-53 0-96-43-96-96C0 250.9 122.3 172.7 179 136.4c0 0 0 0 0 0s0 0 0 0c4.8-3.1 9.2-5.9 13-8.4zm84 88c0-11-9-20-20-20s-20 9-20 20l0 14c-7.6 1.7-15.2 4.4-22.2 8.5c-13.9 8.3-25.9 22.8-25.8 43.9c.1 20.3 12 33.1 24.7 40.7c11 6.6 24.7 10.8 35.6 14l1.7 .5c12.6 3.8 21.8 6.8 28 10.7c5.1 3.2 5.8 5.4 5.9 8.2c.1 5-1.8 8-5.9 10.5c-5 3.1-12.9 5-21.4 4.7c-11.1-.4-21.5-3.9-35.1-8.5c-2.3-.8-4.7-1.6-7.2-2.4c-10.5-3.5-21.8 2.2-25.3 12.6s2.2 21.8 12.6 25.3c1.9 .6 4 1.3 6.1 2.1c0 0 0 0 0 0s0 0 0 0c8.3 2.9 17.9 6.2 28.2 8.4l0 14.6c0 11 9 20 20 20s20-9 20-20l0-13.8c8-1.7 16-4.5 23.2-9c14.3-8.9 25.1-24.1 24.8-45c-.3-20.3-11.7-33.4-24.6-41.6c-11.5-7.2-25.9-11.6-37.1-15c0 0 0 0 0 0l-.7-.2c-12.8-3.9-21.9-6.7-28.3-10.5c-5.2-3.1-5.3-4.9-5.3-6.7c0-3.7 1.4-6.5 6.2-9.3c5.4-3.2 13.6-5.1 21.5-5c9.6 .1 20.2 2.2 31.2 5.2c10.7 2.8 21.6-3.5 24.5-14.2s-3.5-21.6-14.2-24.5c-6.5-1.7-13.7-3.4-21.1-4.7l0-13.9z"},child:[]}]})(e)}function FE(e){return ie({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"},child:[]}]})(e)}function BE(e){return ie({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M232,224H208V32h8a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16h8V224H24a8,8,0,0,0,0,16H232a8,8,0,0,0,0-16ZM88,56h24a8,8,0,0,1,0,16H88a8,8,0,0,1,0-16Zm0,40h24a8,8,0,0,1,0,16H88a8,8,0,0,1,0-16Zm-8,48a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16H88A8,8,0,0,1,80,144Zm72,80H104V184h48Zm16-72H144a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Zm0-40H144a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Zm0-40H144a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16Z"},child:[]}]})(e)}function $E(e){return ie({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M56,104a80,80,0,1,1,80,80A80.09,80.09,0,0,1,56,104Zm146.46,69.28A96,96,0,0,1,66.72,37.54,8,8,0,1,0,55.18,26.46,112,112,0,0,0,128,215.71V232H104a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16H144V215.72a111.21,111.21,0,0,0,69.54-30.9,8,8,0,1,0-11.08-11.54Z"},child:[]}]})(e)}function VE(e){return ie({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM180,92a16,16,0,1,1,16-16A16,16,0,0,1,180,92Z"},child:[]}]})(e)}function zE(e){return ie({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M244.24,60a8,8,0,0,0-7.75-.4c-42.93,21-73.59,11.16-106,.78C96.4,49.53,61.2,38.28,12.49,62.06A8,8,0,0,0,8,69.24V189.17a8,8,0,0,0,11.51,7.19c42.93-21,73.59-11.16,106.05-.78,19.24,6.15,38.84,12.42,61,12.42,17.09,0,35.73-3.72,56.91-14.06a8,8,0,0,0,4.49-7.18V66.83A8,8,0,0,0,244.24,60ZM48,152a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Zm80,8a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm96,8a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},child:[]}]})(e)}function WE(e){return ie({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M172,120a44,44,0,1,1-44-44A44.05,44.05,0,0,1,172,120Zm60,8A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88.09,88.09,0,0,0-91.47-87.93C77.43,41.89,39.87,81.12,40,128.25a87.65,87.65,0,0,0,22.24,58.16A79.71,79.71,0,0,1,84,165.1a4,4,0,0,1,4.83.32,59.83,59.83,0,0,0,78.28,0,4,4,0,0,1,4.83-.32,79.71,79.71,0,0,1,21.79,21.31A87.62,87.62,0,0,0,216,128Z"},child:[]}]})(e)}function HE(e){return ie({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M152,80a8,8,0,0,1,8-8h88a8,8,0,0,1,0,16H160A8,8,0,0,1,152,80Zm96,40H160a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16Zm0,48H184a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM109.29,142a48,48,0,1,0-58.58,0c-20.62,8.73-36.87,26.3-42.46,48A8,8,0,0,0,16,200H144a8,8,0,0,0,7.75-10C146.16,168.29,129.91,150.72,109.29,142Z"},child:[]}]})(e)}function KE(e){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M241.063 54.406c-2.31.008-4.61.032-6.907.094-1.805.05-3.61.106-5.406.188-8.814 1.567-12.884 5.426-15.094 9.843-2.435 4.87-2.34 11.423.375 17.25 2.717 5.83 7.7 10.596 14.657 12.376 6.958 1.78 16.536.86 29.125-7.187l10.063 15.75c-15.818 10.11-31.124 12.777-43.813 9.53-12.688-3.247-22.103-12.123-26.968-22.563-4.584-9.836-5.426-21.376-1.03-31.624-42.917 6.94-81.777 23.398-111.626 46.562-9.81 10.688-10.77 23.11-6.47 31.594 4.83 9.526 16.21 16.48 38.97 9.28l5.656 17.813c-28.58 9.04-52.137-.588-61.28-18.625-2.23-4.397-3.592-9.156-4.127-14.063-4.814 5.712-9.16 11.658-13 17.844l.126.06c-8.614 19.616-8.81 33.203-5.376 42.032 3.436 8.83 10.635 14.44 21.72 17.532 22.168 6.18 58.065-1.277 83.343-20.156 10.82-8.08 21.077-27.677 21.97-42.875.445-7.6-1.165-13.604-4.345-17.438-3.18-3.834-8.272-6.703-18.813-6.594l-.187-18.686c14.487-.15 26.25 4.754 33.375 13.344 7.124 8.59 9.26 19.652 8.625 30.468-1.27 21.633-12.595 44.172-29.438 56.75-29.876 22.314-69.336 31.606-99.53 23.188-13.988-3.9-26.37-12.386-32.75-25.53-9.546 45.446 4.323 87.66 30.718 116.874 3.45 3.82 7.122 7.43 10.97 10.78-2.754-7.887-4.016-16.1-3.72-24.093.53-14.325 6.082-28.346 17.22-38.03 9.134-7.946 21.752-12.53 36.843-12.5 1.006 0 2.034.018 3.062.06 2.35.1 4.763.304 7.22.626l-2.44 18.532c-15.588-2.048-25.705 1.522-32.436 7.375-6.73 5.854-10.443 14.614-10.813 24.625-.74 20.024 12.07 43.406 39.69 50.188l-.032.188c27.192 5.19 57.536.372 88-18.22.018-.012.043-.017.062-.03 6.34-4.45 9.755-8.808 11.438-12.563 1.985-4.432 1.943-8.292.53-12.438-2.824-8.29-12.94-16.812-22.218-19.187-15.002-3.84-24.532 1.436-29 7.72-4.468 6.28-4.74 12.45 2.156 17.81l-11.47 14.75c-14.187-11.033-15.092-30.487-5.905-43.405 6.892-9.688 18.985-16.326 33.564-16.75.607-.018 1.228-.036 1.844-.03 4.306.03 8.79.622 13.437 1.81 15.505 3.97 29.84 15.277 35.28 31.25 1.416 4.155 2.09 8.69 1.876 13.314 16.71-8.538 34.332-16.12 52.282-21.814 30.156-13.78 43.23-37.938 42.72-58.28-.515-20.493-13.187-37.74-42.376-40.626l1.844-18.594c36.666 3.626 58.462 29.848 59.188 58.75.422 16.84-5.754 34.363-18.188 49.28 16.072-1.8 32.044-1.495 47.53 1.627-3.152-6.472-4.68-13.478-4.467-20.438.677-22.036 19.42-42.593 48.875-42.906 1.963-.022 3.974.053 6.03.218l-1.5 18.625c-24.927-1.998-34.3 11.086-34.718 24.656-.412 13.42 8.545 28.442 34.22 30.436 28.3.25 48.588-15.098 58.53-37.906 13.31-30.536 6.997-76.317-34.844-118.188-.792-.793-1.578-1.593-2.375-2.375-.444 3.792-1.424 7.443-2.842 10.844-7.25 17.39-24.233 29.128-41.875 32.407-24.335 4.522-44.29-5.347-53.5-20.406-9.21-15.057-6.792-36.35 9.78-47.56l10.47 15.5c-8.913 6.028-9.28 14.19-4.313 22.31 4.967 8.122 16.17 15.156 34.156 11.814 11.306-2.102 23.896-11.33 28.03-21.25 2.07-4.96 2.47-9.862.408-15.47-1.675-4.555-5.187-9.764-11.72-15.25l-.187-.155c-27.316-20.587-56.338-35.393-85.75-45.157.018.032.045.06.063.093 6.684 12.22 7.18 26.082 3.063 38.344-8.233 24.525-34.07 43.848-66.032 42.78-6.948-.23-13.56 3.12-19.186 9.657-5.627 6.537-9.735 16.113-10.688 26.313-1.905 20.4 6.923 42.886 41.344 54L277 258.28c-41.083-13.264-56.83-45.546-54.22-73.5 1.307-13.975 6.706-26.962 15.157-36.78 8.452-9.818 20.475-16.603 33.97-16.156 24.04.802 42.323-14.084 47.687-30.063 2.682-7.988 2.335-15.937-1.75-23.405-3.968-7.252-11.83-14.423-25.906-19.656-17.114-2.967-34.16-4.367-50.875-4.314zM342.28 306.344c-41.915 3.41-87.366 23.4-125.28 46.562-55.98 34.198-114.89 26.733-156.688-4.28 16.444 58.844 74.712 70.788 135.5 55.905 6.083-2.285 12.06-6.538 17.157-12.03 7.057-7.607 12.17-17.47 13.78-25.625l18.344 3.625c-2.445 12.383-9.078 24.666-18.406 34.72-8.95 9.645-20.61 17.35-34.094 19.374-6.766 15.07-12.334 29.68-14.594 39.906-3.55 16.06 14.206 22.225 22.156 6.03 19.022-38.743 45.87-73.23 79.406-102.967 26.064-17.153 48.406-38.303 62.72-61.22z"},child:[]}]})(e)}function UE(e){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M362.803 440.909l130.293 20.426-82.833-102.623-35.511 10.413-41.217-23.794c1.792-6.67 2.837-13.65 2.837-20.887 0-37.218-25.334-68.436-59.678-77.577v-47.605l26.77-25.542-47.455-123.055-47.458 123.055 26.774 25.548v47.6c-34.34 9.135-59.684 40.359-59.684 77.577 0 7.231 1.045 14.205 2.833 20.87l-41.223 23.8-35.51-10.412-82.837 102.622L149.2 440.904l8.736-35.964 41.156-23.765c14.55 14.6 34.678 23.638 56.913 23.638 22.234 0 42.359-9.034 56.906-23.623l41.158 23.758zm-106.798-75.986c-22.352 0-40.475-18.123-40.475-40.479 0-22.35 18.124-40.475 40.475-40.475 22.355 0 40.48 18.125 40.48 40.475 0 22.356-18.125 40.479-40.48 40.479z"},child:[]}]})(e)}function GE(e){return ie({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M832 312H696v-16c0-101.6-82.4-184-184-184s-184 82.4-184 184v16H192c-17.7 0-32 14.3-32 32v536c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V344c0-17.7-14.3-32-32-32zm-208 0H400v-16c0-61.9 50.1-112 112-112s112 50.1 112 112v16z"},child:[]}]})(e)}function qE(e){return ie({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"},child:[]}]})(e)}function YE(e){return ie({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z"},child:[]}]})(e)}function ZE(e){return ie({attr:{version:"1.1",x:"0px",y:"0px",viewBox:"0 0 48 48",enableBackground:"new 0 0 48 48"},child:[{tag:"path",attr:{fill:"#FFC107",d:`M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12\r
|
|
2
|
+
c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24\r
|
|
3
|
+
c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z`},child:[]},{tag:"path",attr:{fill:"#FF3D00",d:`M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657\r
|
|
4
|
+
C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z`},child:[]},{tag:"path",attr:{fill:"#4CAF50",d:`M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36\r
|
|
5
|
+
c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z`},child:[]},{tag:"path",attr:{fill:"#1976D2",d:`M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571\r
|
|
6
|
+
c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z`},child:[]}]})(e)}function QE(e){return ie({attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{d:"M4.99255 12.9841C4.44027 12.9841 3.99255 13.4318 3.99255 13.9841C3.99255 14.3415 4.18004 14.6551 4.46202 14.8319L7.14964 17.5195C7.54016 17.9101 8.17333 17.9101 8.56385 17.5195C8.95438 17.129 8.95438 16.4958 8.56385 16.1053L7.44263 14.9841H14.9926C15.5448 14.9841 15.9926 14.5364 15.9926 13.9841C15.9926 13.4318 15.5448 12.9841 14.9926 12.9841L5.042 12.9841C5.03288 12.984 5.02376 12.984 5.01464 12.9841H4.99255Z",fill:"currentColor"},child:[]},{tag:"path",attr:{d:"M19.0074 11.0159C19.5597 11.0159 20.0074 10.5682 20.0074 10.0159C20.0074 9.6585 19.82 9.3449 19.538 9.16807L16.8504 6.48045C16.4598 6.08993 15.8267 6.08993 15.4361 6.48045C15.0456 6.87098 15.0456 7.50414 15.4361 7.89467L16.5574 9.01589L9.00745 9.01589C8.45516 9.01589 8.00745 9.46361 8.00745 10.0159C8.00745 10.5682 8.45516 11.0159 9.00745 11.0159L18.958 11.0159C18.9671 11.016 18.9762 11.016 18.9854 11.0159H19.0074Z",fill:"currentColor"},child:[]}]})(e)}function XE(e){return ie({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9.836 3.244c.963-1.665 3.365-1.665 4.328 0l8.967 15.504c.963 1.667-.24 3.752-2.165 3.752H3.034c-1.926 0-3.128-2.085-2.165-3.752ZM12 8.5a.75.75 0 0 0-.75.75v4.5a.75.75 0 0 0 1.5 0v-4.5A.75.75 0 0 0 12 8.5Zm1 9a1 1 0 1 0-2 0 1 1 0 0 0 2 0Z"},child:[]}]})(e)}const JE=e=>h.jsxs("svg",{viewBox:"0 0 42 42",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...e,children:[h.jsx("path",{d:"M23.48 9.2l-5.359 9.527 5.572 9.402 10.928-.123 5.359-9.525-5.572-9.402-10.928.121z"}),h.jsx("path",{d:"M15.2 0L4.2.125-.9 9.65l5.57 9.402 10.93-.12 5.357-9.527L15.2 0z"}),h.jsx("path",{d:"M5.644 22.3.286 31.9l5.57 9.406 10.93-.123 5.357-9.527-5.571-9.406-10.928.125z"})]}),eS=e=>h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...e,children:h.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M11 21h-1c-3.771 0-5.657 0-6.828-1.172S2 16.771 2 13v-3c0-3.771 0-5.657 1.172-6.828S6.229 2 10 2h2c3.771 0 5.657 0 6.828 1.172S20 6.229 20 10v.5m-2.593 3.904a.638.638 0 0 1 1.186 0l.037.093a5.1 5.1 0 0 0 2.873 2.873l.093.037a.638.638 0 0 1 0 1.186l-.093.037a5.1 5.1 0 0 0-2.873 2.873l-.037.093a.638.638 0 0 1-1.186 0l-.037-.093a5.1 5.1 0 0 0-2.873-2.873l-.093-.037a.638.638 0 0 1 0-1.186l.093-.037a5.1 5.1 0 0 0 2.873-2.873zM7 7h8m-8 4.5h8M7 16h4"})}),tS=e=>h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95 95",fill:"currentColor",...e,children:[h.jsx("title",{children:"graph"}),h.jsx("path",{className:"cls-2",d:"M4.73,48.37H16.35a1.35,1.35,0,0,1,1.34,1.35V79.8a1.34,1.34,0,0,1-1.34,1.34H4.73A1.35,1.35,0,0,1,3.38,79.8V49.72a1.36,1.36,0,0,1,1.35-1.35ZM116,17.59a6.86,6.86,0,1,1-6.84,7.22L91.44,12.36a6.88,6.88,0,0,1-4.09,1.34,6.81,6.81,0,0,1-4.24-1.47L68.23,23.55a6.54,6.54,0,0,1,.06.89,6.85,6.85,0,1,1-13.58-1.28l-15.18-11a6.87,6.87,0,0,1-8.44.1L13.7,24.68a6.86,6.86,0,1,1-2.16-5.23l16.88-12c0-.2,0-.39,0-.59a6.85,6.85,0,1,1,13.7,0c0,.14,0,.28,0,.41L57.82,18.62a6.86,6.86,0,0,1,3.62-1,6.78,6.78,0,0,1,3.91,1.23L80.52,7.27c0-.14,0-.28,0-.42a6.86,6.86,0,0,1,13.71,0,5.12,5.12,0,0,1,0,.69l17.09,12A6.8,6.8,0,0,1,116,17.59Zm-9.5,28h11.62A1.36,1.36,0,0,1,119.5,47V79.8a1.35,1.35,0,0,1-1.35,1.34H106.53a1.34,1.34,0,0,1-1.34-1.34V47a1.35,1.35,0,0,1,1.34-1.35ZM81.08,28.49H92.7a1.36,1.36,0,0,1,1.35,1.35v50a1.35,1.35,0,0,1-1.35,1.34H81.08a1.34,1.34,0,0,1-1.34-1.34v-50a1.34,1.34,0,0,1,1.34-1.35ZM55.63,45.61H67.25A1.35,1.35,0,0,1,68.59,47V79.8a1.34,1.34,0,0,1-1.34,1.34H55.63a1.34,1.34,0,0,1-1.34-1.34V47a1.35,1.35,0,0,1,1.34-1.35ZM30.18,28.49H41.8a1.35,1.35,0,0,1,1.34,1.35v50a1.34,1.34,0,0,1-1.34,1.34H30.18a1.35,1.35,0,0,1-1.35-1.34v-50a1.35,1.35,0,0,1,1.35-1.35Z"})]}),rS=e=>h.jsx("svg",{viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:h.jsx("g",{id:"stack-star",children:h.jsx("path",{id:"Vector",d:"m12.9 17.925 2.1 -1.25 2.1 1.25 -0.55 -2.375 1.825 -1.6 -2.425 -0.2L15 11.5l-0.95 2.25 -2.425 0.2 1.825 1.6 -0.55 2.375ZM6.5 14.5v1.5H3.5c-0.4125 0 -0.765585 -0.1469 -1.05925 -0.44075C2.146915 15.2656 2 14.9125 2 14.5V3.5c0 -0.4125 0.146915 -0.765665 0.44075 -1.0595C2.734415 2.146835 3.0875 2 3.5 2h11c0.4125 0 0.76565 0.146835 1.0595 0.4405C15.85315 2.734335 16 3.0875 16 3.5v3h-1.5V3.5H3.5v11h3Zm3 7.5c-0.4125 0 -0.7656 -0.1469 -1.05925 -0.44075C8.1469 21.2656 8 20.9125 8 20.5V9.5c0 -0.4125 0.1469 -0.76565 0.44075 -1.0595C8.7344 8.14685 9.0875 8 9.5 8h11c0.4125 0 0.76565 0.14685 1.0595 0.4405 0.29365 0.29385 0.4405 0.647 0.4405 1.0595v11c0 0.4125 -0.14685 0.7656 -0.4405 1.05925C21.26565 21.8531 20.9125 22 20.5 22H9.5Zm0 -1.5h11V9.5H9.5v11Z",fill:"currentColor",strokeWidth:"1.5"})})}),nS=e=>h.jsx("svg",{version:"1.1",enableBackground:"new 0 0 122.406 122.881",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 122 122",...e,children:h.jsx("path",{fill:"currentColor",strokeWidth:"3",d:"M72.041,44.723c1.405,0.187,2.665,0.835,3.62,1.791c1.141,1.14,1.846,2.716,1.846,4.456c0,1.74-0.705,3.315-1.846,4.456 c-1.141,1.141-2.716,1.846-4.456,1.846s-3.315-0.706-4.456-1.846c-1.14-1.14-1.846-2.716-1.846-4.456 c0-1.671,0.65-3.19,1.712-4.318c0.914-3.399,1.889-6.579,2.911-9.549H50.868L5.128,82.842l34.908,34.91l45.719-45.719 l-1.149-34.931H74.501C73.648,39.487,72.826,42.024,72.041,44.723L72.041,44.723z M43.321,85.219 c0.979-0.979,1.507-1.99,1.577-3.027c0.077-1.043-0.248-2.424-0.967-4.135c-0.725-1.717-1.348-3.346-1.87-4.885 s-0.814-3.014-0.897-4.432c-0.07-1.42,0.134-2.768,0.624-4.045c0.477-1.279,1.348-2.545,2.607-3.804 c2.099-2.099,4.535-3.123,7.314-3.065c2.773,0.063,5.457,1.158,8.04,3.294l2.881,3.034c1.946,2.607,2.799,5.33,2.557,8.166 c-0.235,2.83-1.532,5.426-3.893,7.785l-6.296-6.297c1.291-1.291,2.035-2.531,2.238-3.727c0.191-1.197-0.165-2.252-1.081-3.168 c-0.821-0.82-1.717-1.195-2.69-1.139c-0.967,0.064-1.908,0.547-2.817,1.457c-0.922,0.922-1.393,1.914-1.412,2.977 c-0.019,1.063,0.306,2.416,0.973,4.064c0.661,1.652,1.24,3.25,1.736,4.801c0.496,1.553,0.782,3.035,0.858,4.445 c0.076,1.426-0.127,2.787-0.591,4.104c-0.477,1.316-1.336,2.596-2.588,3.848c-2.125,2.125-4.522,3.186-7.212,3.18 s-5.311-1.063-7.855-3.16l-3.747,3.746l-2.964-2.965l3.766-3.764c-2.423-2.996-3.568-5.998-3.447-9.02 c0.127-3.014,1.476-5.813,4.045-8.383l6.278,6.277c-1.412,1.412-2.175,2.799-2.277,4.16c-0.108,1.367,0.414,2.627,1.571,3.783 c0.839,0.84,1.755,1.26,2.741,1.242C41.508,86.549,42.443,86.096,43.321,85.219L43.321,85.219z M71.077,32.853 c7.116-18.397,16.244-27.775,24.729-31.22c8.027-3.258,15.521-1.369,20.513,3.258c4.963,4.602,7.403,11.919,5.367,19.555 c-2.478,9.289-11.631,19.046-31.114,24.54c-0.456,0.128-0.918,0.112-1.339-0.021l0.785,23.858c0.019,0.609-0.221,1.164-0.619,1.564 l0.005,0.004l-47.865,47.865c-0.83,0.83-2.175,0.83-3.004,0L0.622,84.346c-0.83-0.83-0.83-2.176,0-3.006l47.865-47.864 c0.415-0.415,0.958-0.622,1.502-0.622v0H71.077L71.077,32.853z M89.088,44.53c0.069-0.027,0.142-0.051,0.215-0.072 c17.59-4.96,25.738-13.337,27.837-21.208c1.563-5.859-0.271-11.437-4.023-14.917c-3.726-3.454-9.394-4.833-15.542-2.337 c-7.226,2.933-15.051,11.011-21.457,26.856h10.538c1.173,0,2.124,0.951,2.124,2.125c0,0.035-0.001,0.071-0.003,0.106L89.088,44.53 L89.088,44.53z"})}),oS=e=>h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",fill:"currentColor",...e,children:h.jsxs("g",{id:"discount",children:[h.jsx("path",{className:"cls-1",d:"M29 12.29 28 4.6a2.89 2.89 0 0 0-1.19-2 3.16 3.16 0 0 0-2.42-.52l-8 1.5a3.38 3.38 0 0 0-2.07 1.27L3.66 18.88A3.17 3.17 0 0 0 3 21.3a3 3 0 0 0 1.23 2l9 6.19A3.09 3.09 0 0 0 15 30a3.38 3.38 0 0 0 2.68-1.34l10.67-14a3.23 3.23 0 0 0 .65-2.37zm-2.24 1.12-10.66 14a1.28 1.28 0 0 1-1.7.36l-9-6.19A1 1 0 0 1 5 21a1.16 1.16 0 0 1 .25-.9l10.66-14a1.38 1.38 0 0 1 .85-.53l8-1.5L25 4a1.13 1.13 0 0 1 .64.2.92.92 0 0 1 .38.65l1 7.69a1.17 1.17 0 0 1-.28.87z"}),h.jsx("path",{className:"cls-1",d:"M12 17.24a2 2 0 0 0-1.52-.16 2 2 0 0 0-1.2 1 2 2 0 0 0-.16 1.52 2 2 0 0 0 1 1.2 2 2 0 0 0 .88.2 2.1 2.1 0 0 0 .56-.08 2 2 0 0 0 1.2-1 2 2 0 0 0 .16-1.52 2 2 0 0 0-.92-1.16zM11 19l.48-.88zM14.65 12a1 1 0 0 0-.82 1.15l1.35 8a1 1 0 0 0 1 .83h.16a1 1 0 0 0 .83-1.15l-1.35-8a1 1 0 0 0-1.17-.83zM21 14.24a2 2 0 0 0-1.52-.16 2 2 0 0 0-1.2 1 2 2 0 0 0-.16 1.52 2 2 0 0 0 1 1.2 2 2 0 0 0 .88.2 2.1 2.1 0 0 0 .56-.08 2 2 0 0 0 1.2-1 2 2 0 0 0 .16-1.52 2 2 0 0 0-.92-1.16zM20 16l.48-.88z"})]})}),iS=e=>h.jsxs("svg",{viewBox:"0 -0.5 20 20",className:"si-glyph si-glyph-square-star",fill:"currentColor",...e,children:[h.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),h.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsxs("g",{id:"SVGRepo_iconCarrier",children:[h.jsx("title",{children:"956"})," ",h.jsx("defs",{children:" "}),h.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:h.jsx("path",{d:"M15.628,0.021 L2.352,0.021 C1.618,0.021 1.022,0.616 1.022,1.352 L1.022,14.627 C1.022,15.361 1.618,15.958 2.352,15.958 L15.628,15.958 C16.362,15.958 16.958,15.361 16.958,14.627 L16.958,1.352 C16.958,0.615 16.362,0.021 15.628,0.021 L15.628,0.021 Z M12.398,13.505 L9.013,11.622 L5.628,13.505 L6.274,9.518 L3.537,6.694 L7.32,6.114 L9.013,2.486 L10.705,6.114 L14.489,6.694 L11.751,9.518 L12.398,13.505 L12.398,13.505 Z",fill:"currentcolor",className:"si-glyph-fill"})})]})]}),aS=e=>h.jsxs("svg",{fill:"currentColor",height:"200px",width:"200px",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 454.519 454.519",xmlSpace:"preserve",...e,children:[h.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),h.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("g",{id:"SVGRepo_iconCarrier",children:h.jsxs("g",{children:[h.jsx("path",{d:"M207.26,141.337c0,11.028,8.972,20,20,20s20-8.972,20-20v-37.776c0-11.028-8.972-20-20-20s-20,8.972-20,20V141.337z"})," ",h.jsx("path",{d:"M242.26,0v55.863c20.264,6.386,35,25.352,35,47.698v37.776c0,22.346-14.736,41.312-35,47.698v37.302h-30v-37.302 c-20.264-6.386-35-25.352-35-47.698v-37.776c0-22.346,14.736-41.312,35-47.698V0C115.265,6.361,89.844,74.612,89.844,120.766 v212.507c0,48.448,28.01,121.246,137.416,121.246s137.416-72.798,137.416-121.246V120.766C364.675,74.612,339.254,6.361,242.26,0z"})," "]})})]}),sS=e=>h.jsxs("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor",strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round",...e,children:[h.jsx("polyline",{points:"2 8 2 2 8 2"}),h.jsx("polyline",{points:"16 2 22 2 22 8"}),h.jsx("polyline",{points:"2 16 2 22 8 22"}),h.jsx("polyline",{points:"16 22 22 22 22 16"}),h.jsx("path",{d:"M3 12s3.5-6 9-6 9 6 9 6-3.5 6-9 6-9-6-9-6z"}),h.jsx("circle",{cx:"12",cy:"12",r:"2.5"})]}),cS=e=>h.jsxs("svg",{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...e,children:[h.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),h.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsxs("g",{id:"SVGRepo_iconCarrier",children:[h.jsx("title",{children:"information-circle-solid"})," ",h.jsxs("g",{id:"Layer_2","data-name":"Layer 2",children:[h.jsxs("g",{id:"invisible_box","data-name":"invisible box",children:[h.jsx("rect",{width:"48",height:"48",fill:"none"})," "]}),h.jsxs("g",{id:"icons_Q2","data-name":"icons Q2",children:[h.jsx("path",{d:"M24,2A22,22,0,1,0,46,24,21.9,21.9,0,0,0,24,2Zm2,32a2,2,0,0,1-4,0V22a2,2,0,0,1,4,0ZM24,16a2,2,0,1,1,2-2A2,2,0,0,1,24,16Z"})," "]})]})]})]}),lS=e=>h.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[h.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),h.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("g",{id:"SVGRepo_iconCarrier",children:h.jsx("g",{id:"User / User_Card_ID",children:h.jsx("path",{id:"Vector",d:"M6 18C6.06366 18 6.12926 18 6.19691 18H12M6 18C5.01173 17.9992 4.49334 17.9868 4.0918 17.7822C3.71547 17.5905 3.40973 17.2837 3.21799 16.9074C3 16.4796 3 15.9203 3 14.8002V9.2002C3 8.08009 3 7.51962 3.21799 7.0918C3.40973 6.71547 3.71547 6.40973 4.0918 6.21799C4.51962 6 5.08009 6 6.2002 6H17.8002C18.9203 6 19.4796 6 19.9074 6.21799C20.2837 6.40973 20.5905 6.71547 20.7822 7.0918C21 7.5192 21 8.07899 21 9.19691V14.8031C21 15.921 21 16.48 20.7822 16.9074C20.5905 17.2837 20.2837 17.5905 19.9074 17.7822C19.48 18 18.921 18 17.8031 18H12M6 18C6.00004 16.8954 7.34317 16 9 16C10.6569 16 12 16.8954 12 18M6 18C6 18 6 17.9999 6 18ZM18 14H14M18 11H15M9 13C7.89543 13 7 12.1046 7 11C7 9.89543 7.89543 9 9 9C10.1046 9 11 9.89543 11 11C11 12.1046 10.1046 13 9 13Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),uS=e=>h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",...e,children:h.jsx("path",{d:"M4.80469 5.70062H-0.000162125V6.96729H4.80374L1.407 10.364L2.30267 11.2597L5.69984 7.86253V12.6667H6.9665V7.86243L10.3637 11.2596L11.2593 10.3639L7.86269 6.96729H12.6665V5.70062H7.86175L11.2594 2.30301L10.3637 1.40734L6.9665 4.80452V0H5.69984V4.80443L2.30266 1.40725L1.40699 2.30292L4.80469 5.70062Z",fill:"currentColor"})}),dS=e=>h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"102",viewBox:"0 0 100 102",fill:"none",children:[h.jsx("rect",{y:"1.09961",width:"100",height:"100",rx:"50",fill:"#F5F5F5"}),h.jsx("path",{d:"M83.4132 35.5207L38.9017 23.5939C36.2002 22.87 33.4235 24.4732 32.6996 27.1746L24.241 58.7426C23.5171 61.4441 25.1203 64.2209 27.8218 64.9447L72.3332 76.8715C75.0347 77.5954 77.8115 75.9922 78.5353 73.2907L86.9939 41.7228C87.7178 39.0213 86.1146 36.2445 83.4132 35.5207Z",fill:"#D1D1D1",stroke:"#A4A4A4",strokeWidth:"0.540541",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M78.8843 27.8742L34.3729 15.9474C31.6714 15.2235 28.8946 16.8267 28.1708 19.5281L19.7122 51.0961C18.9883 53.7976 20.5915 56.5744 23.293 57.2982L67.8044 69.225C70.5059 69.9489 73.2827 68.3457 74.0065 65.6443L82.4651 34.0763C83.189 31.3748 81.5858 28.598 78.8843 27.8742Z",fill:"white",stroke:"#A4A4A4",strokeWidth:"0.540541",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M27.3843 22.4639L81.6786 37.012",stroke:"#A4A4A4",strokeWidth:"0.540541",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M32.8903 21.4286C33.5853 21.6148 34.2998 21.2024 34.4861 20.5073C34.6723 19.8122 34.2598 19.0977 33.5647 18.9115C32.8696 18.7252 32.1552 19.1377 31.9689 19.8328C31.7827 20.5279 32.1952 21.2424 32.8903 21.4286Z",fill:"#A4A4A4"}),h.jsx("path",{d:"M37.3976 22.6361C38.0927 22.8224 38.8071 22.4099 38.9934 21.7148C39.1796 21.0197 38.7671 20.3052 38.072 20.119C37.377 19.9327 36.6625 20.3452 36.4762 21.0403C36.29 21.7354 36.7025 22.4499 37.3976 22.6361Z",fill:"#A4A4A4"}),h.jsx("path",{d:"M41.9044 23.8436C42.5995 24.0299 43.314 23.6174 43.5002 22.9223C43.6865 22.2272 43.274 21.5127 42.5789 21.3265C41.8838 21.1402 41.1693 21.5527 40.9831 22.2478C40.7968 22.9429 41.2093 23.6574 41.9044 23.8436Z",fill:"#A4A4A4"}),h.jsx("path",{d:"M83.6519 67.5786L62.2822 61.8526C60.9384 61.4926 59.5572 62.29 59.1972 63.6337L56.2494 74.6352C55.8893 75.9789 56.6867 77.3601 58.0305 77.7201L79.4002 83.4461C80.7439 83.8062 82.1251 83.0087 82.4852 81.665L85.433 70.6636C85.793 69.3199 84.9956 67.9387 83.6519 67.5786Z",fill:"white",stroke:"#A4A4A4",strokeWidth:"0.540541",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M62.6918 69.057C63.6651 69.3178 64.6654 68.7402 64.9262 67.767C65.1869 66.7938 64.6094 65.7935 63.6362 65.5327C62.663 65.2719 61.6626 65.8495 61.4019 66.8227C61.1411 67.7959 61.7186 68.7963 62.6918 69.057Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M76.7696 69.8073L67.8579 67.4194L67.3803 69.202L76.292 71.5899L76.7696 69.8073Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M81.4618 70.8499L79.9815 70.4533C79.5373 70.3343 79.0808 70.5979 78.9617 71.042L78.8077 71.6171C78.6887 72.0613 78.9522 72.5178 79.3964 72.6368L80.8767 73.0335C81.3209 73.1525 81.7775 72.8889 81.8965 72.4447L82.0506 71.8697C82.1696 71.4255 81.906 70.969 81.4618 70.8499Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M61.0434 75.2099C62.0166 75.4706 63.017 74.8931 63.2777 73.9199C63.5385 72.9467 62.9609 71.9463 61.9877 71.6855C61.0145 71.4248 60.0142 72.0023 59.7534 72.9755C59.4926 73.9487 60.0702 74.9491 61.0434 75.2099Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M75.1217 75.9606L66.21 73.5728L65.7323 75.3553L74.644 77.7432L75.1217 75.9606Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M79.8134 77.0033L78.3331 76.6066C77.8889 76.4876 77.4323 76.7512 77.3133 77.1954L77.1592 77.7704C77.0402 78.2146 77.3038 78.6711 77.748 78.7901L79.2283 79.1868C79.6725 79.3058 80.129 79.0422 80.2481 78.598L80.4021 78.023C80.5211 77.5788 80.2576 77.1223 79.8134 77.0033Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M35.3732 31.2072L33.3662 30.6694L30.457 41.5269L32.4639 42.0647L35.3732 31.2072Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M70.7501 40.6862L68.7432 40.1484L65.8339 51.0059L67.8409 51.5437L70.7501 40.6862Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M49.5241 34.9987L47.5171 34.4609L44.6078 45.3184L46.6148 45.8562L49.5241 34.9987Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M63.6749 38.7907L61.668 38.2529L57.0766 55.388L59.0836 55.9258L63.6749 38.7907Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M42.4484 33.1027L40.4414 32.5649L37.5322 43.4224L39.5391 43.9602L42.4484 33.1027Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M56.5993 36.8947L54.5923 36.3569L51.683 47.2144L53.69 47.7522L56.5993 36.8947Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M34.1242 35.8708L32.1172 35.333L28.1629 50.0905L30.1699 50.6283L34.1242 35.8708Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M69.5011 45.3498L67.4941 44.812L63.5399 59.5695L65.5469 60.1073L69.5011 45.3498Z",fill:"#D1D1D1"}),h.jsx("path",{d:"M47.5836 42.2414L45.5767 41.7036L42.3134 53.8822L44.3204 54.42L47.5836 42.2414Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M60.2746 51.4806L58.2676 50.9429L56.4641 57.6737L58.471 58.2115L60.2746 51.4806Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M39.8234 42.9025L37.8164 42.3647L35.2382 51.9866L37.2452 52.5243L39.8234 42.9025Z",fill:"#D1D1D1"}),h.jsx("path",{d:"M53.9743 46.694L51.9673 46.1562L49.3891 55.7781L51.3961 56.3158L53.9743 46.694Z",fill:"#D1D1D1"}),h.jsx("path",{d:"M33.1211 35.6016L38.8203 42.6331L46.5838 41.9611L52.9711 46.4248L59.2718 51.2116L68.4979 45.0808",stroke:"#A4A4A4",strokeWidth:"0.540541",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M69.8575 43.8633L67.2561 43.8633C66.9647 43.8633 66.7826 44.1788 66.9283 44.4311L68.229 46.684C68.3747 46.9363 68.7389 46.9364 68.8847 46.684L70.1853 44.4311C70.3311 44.1788 70.1489 43.8633 69.8575 43.8633Z",fill:"#A4A4A4"}),h.jsx("path",{d:"M39.6333 55.103L17.7303 49.2341C16.4969 48.9037 15.2292 49.6356 14.8987 50.869L10.4207 67.5809C10.0902 68.8143 10.8222 70.0821 12.0556 70.4126L33.9585 76.2815C35.1919 76.612 36.4597 75.88 36.7902 74.6466L41.2681 57.9347C41.5986 56.7013 40.8667 55.4335 39.6333 55.103Z",fill:"#EBEBEB",stroke:"#A4A4A4",strokeWidth:"0.540541",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M18.4172 65.5926L29.9189 68.6674",stroke:"#A4A4A4",strokeWidth:"0.540541",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M75.4312 0.270088C75.4312 0.270088 71.8014 4.52843 76.0328 8.16025C71.8014 4.52836 68.1427 8.76185 68.1427 8.76185C68.1427 8.76185 71.7725 4.50351 67.541 0.871615C71.7725 4.50351 75.4312 0.270088 75.4312 0.270088Z",fill:"white",stroke:"#A4A4A4",strokeWidth:"0.540541",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M35.4743 95.3072C35.4743 95.3072 29.8965 95.7517 30.3205 101.312C29.8965 95.7515 24.3159 96.158 24.3159 96.158C24.3159 96.158 29.8937 95.7136 29.4697 90.1533C29.8937 95.7136 35.4743 95.3072 35.4743 95.3072Z",fill:"white",stroke:"#A4A4A4",strokeWidth:"0.540541",strokeLinecap:"round",strokeLinejoin:"round"})]}),fS=e=>h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 100 100",fill:"none",children:[h.jsx("rect",{width:"100",height:"100",rx:"50",fill:"#F5F5F5"}),h.jsx("path",{d:"M50.1333 15.4326V24.9172C49.5432 24.9385 48.9636 24.9862 48.3895 25.0554C37.7194 26.3314 29.4469 35.4066 29.4469 46.4222C29.4469 46.6083 29.4469 46.789 29.4523 46.9752H18.5908C18.5908 30.138 31.7756 16.3843 48.3895 15.4805C48.9636 15.4485 49.5485 15.4326 50.1333 15.4326Z",fill:"white",stroke:"#A4A4A4",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M81.6758 46.9751H72.4889C72.4942 46.7943 72.4942 46.6083 72.4942 46.4222C72.4942 46.0075 72.4836 45.5928 72.4571 45.1888C72.2657 41.7384 71.2555 38.506 69.6287 35.683C69.2725 35.0609 68.8844 34.4655 68.4697 33.886L75.8064 28.644C76.2211 29.2234 76.6198 29.819 76.9866 30.4251C78.8315 33.4076 80.1925 36.7197 80.9528 40.2551C81.3037 41.8554 81.5323 43.5035 81.6227 45.1887C81.6598 45.7789 81.6758 46.3745 81.6758 46.9751Z",fill:"white",stroke:"#A4A4A4",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M78.9433 29.0254L76.9868 30.4236L69.6289 35.6817C69.2727 35.0597 68.8845 34.4641 68.4699 33.8848C64.5623 28.4406 58.1826 24.8999 50.9734 24.8999C50.6916 24.8999 50.4098 24.9052 50.1334 24.9158C49.5433 24.9371 48.9638 24.9849 48.3896 25.0541V13.3047C60.979 13.3047 72.1329 19.5091 78.9433 29.0254Z",fill:"#EBEBEB",stroke:"#A4A4A4",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M86.1364 46.9756H72.4944C72.5316 45.8113 72.4731 44.6364 72.3137 43.4454C72.2871 43.2647 72.2605 43.0786 72.2286 42.8979C72.1648 42.4885 72.0903 42.0791 72 41.6857L80.9529 40.2555L85.5941 39.5166C85.9929 42.026 86.1683 44.5193 86.1364 46.9756Z",fill:"#A4A4A4",stroke:"#A4A4A4",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M27.0855 64.7204C30.0706 64.7204 32.4904 62.3006 32.4904 59.3155C32.4904 56.3305 30.0706 53.9106 27.0855 53.9106C24.1005 53.9106 21.6807 56.3305 21.6807 59.3155C21.6807 62.3006 24.1005 64.7204 27.0855 64.7204Z",stroke:"#A4A4A4",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M27.085 61.6622C28.381 61.6622 29.4317 60.6115 29.4317 59.3155C29.4317 58.0194 28.381 56.9688 27.085 56.9688C25.7889 56.9688 24.7383 58.0194 24.7383 59.3155C24.7383 60.6115 25.7889 61.6622 27.085 61.6622Z",fill:"#D1D1D1"}),h.jsx("path",{d:"M49.9566 65.0969C52.9417 65.0969 55.3615 62.677 55.3615 59.692C55.3615 56.707 52.9417 54.2871 49.9566 54.2871C46.9716 54.2871 44.5518 56.707 44.5518 59.692C44.5518 62.677 46.9716 65.0969 49.9566 65.0969Z",stroke:"#A4A4A4",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M49.9571 62.0386C51.2531 62.0386 52.3038 60.988 52.3038 59.6919C52.3038 58.3959 51.2531 57.3452 49.9571 57.3452C48.661 57.3452 47.6104 58.3959 47.6104 59.6919C47.6104 60.988 48.661 62.0386 49.9571 62.0386Z",fill:"#A4A4A4"}),h.jsx("path",{d:"M72.8287 65.0969C75.8137 65.0969 78.2336 62.677 78.2336 59.692C78.2336 56.707 75.8137 54.2871 72.8287 54.2871C69.8437 54.2871 67.4238 56.707 67.4238 59.692C67.4238 62.677 69.8437 65.0969 72.8287 65.0969Z",stroke:"#A4A4A4",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M72.8291 62.0386C74.1252 62.0386 75.1758 60.988 75.1758 59.6919C75.1758 58.3959 74.1252 57.3452 72.8291 57.3452C71.5331 57.3452 70.4824 58.3959 70.4824 59.6919C70.4824 60.988 71.5331 62.0386 72.8291 62.0386Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M57.7445 70.5146H43.4766V74.3135H57.7445V70.5146Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M56.0637 78.1631H45.1572V81.962H56.0637V78.1631Z",fill:"#D1D1D1"}),h.jsx("path",{d:"M78.4367 78.1631H67.5303V81.962H78.4367V78.1631Z",fill:"#D1D1D1"}),h.jsx("path",{d:"M32.8362 78.1631H21.9297V81.962H32.8362V78.1631Z",fill:"#D1D1D1"}),h.jsx("path",{d:"M80.1176 70.5146H65.8496V74.3135H80.1176V70.5146Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M34.517 70.5146H20.249V74.3135H34.517V70.5146Z",fill:"#EBEBEB"}),h.jsx("path",{d:"M7.67014 12.2195C7.67014 12.2195 10.8439 16.8277 15.4472 13.6805C10.8438 16.8278 13.9861 21.4575 13.9861 21.4575C13.9861 21.4575 10.8124 16.8492 6.20903 19.9965C10.8124 16.8492 7.67014 12.2195 7.67014 12.2195Z",fill:"white",stroke:"#A4A4A4",strokeLinecap:"round",strokeLinejoin:"round"}),h.jsx("path",{d:"M89.127 75.4127C89.127 75.4127 88.1127 80.9154 93.5931 81.945C88.1126 80.9154 87.0608 86.4111 87.0608 86.4111C87.0608 86.4111 88.0752 80.9083 82.5946 79.8788C88.0752 80.9083 89.127 75.4127 89.127 75.4127Z",fill:"white",stroke:"#A4A4A4",strokeLinecap:"round",strokeLinejoin:"round"})]}),pS=e=>h.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...e,children:[h.jsx("path",{d:"M1.3335 8C1.3335 5.5406 1.3335 4.31089 1.87604 3.4392C2.07676 3.1167 2.3261 2.8362 2.61277 2.61038C3.3876 2.00002 4.48068 2.00002 6.66683 2.00002H9.3335C11.5196 2.00002 12.6127 2.00002 13.3876 2.61038C13.6742 2.8362 13.9236 3.1167 14.1243 3.4392C14.6668 4.31089 14.6668 5.5406 14.6668 8C14.6668 10.4595 14.6668 11.6891 14.1243 12.5609C13.9236 12.8833 13.6742 13.1639 13.3876 13.3897C12.6127 14 11.5196 14 9.3335 14H6.66683C4.48068 14 3.3876 14 2.61277 13.3897C2.3261 13.1639 2.07676 12.8833 1.87604 12.5609C1.3335 11.6891 1.3335 10.4595 1.3335 8Z",stroke:"currentColor",strokeWidth:"1.2"}),h.jsx("path",{d:"M9.6665 2.00002V14",stroke:"currentColor",strokeWidth:"1.2",strokeLinejoin:"round"}),h.jsx("path",{d:"M12 4.66671H12.6667M12 6.66674H12.6667",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),vy={cells:{component:JE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},zap:{component:mE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},megaphone:{component:vE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},contentGenerator:{component:eS,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},pieChart:{component:s9,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},AiIdea:{component:wE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},barChat:{component:tS,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},stackStar:{component:rS,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},file:{component:EE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},"remove-circle":{component:xE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},"plus-circle":{component:FE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},checkMark:{component:PE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},calendar:{component:IE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},users:{component:_E,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},globe:{component:TE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},"grid-view":{component:Z9,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},sorting:{component:g9,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},cancel:{component:Qo,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},download:{component:D9,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},"3d-move":{component:UE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},split:{component:lE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},coin:{component:_9,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},redirect:{component:QE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},brain:{component:KE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},filter:{component:jE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},chart:{component:b9,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},"sidebar-right":{component:pS,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},topBar:{component:h9,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},webDesign:{component:oE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},bank:{component:q9,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},"arrow-left":{component:E9,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},"arrow-down":{component:qs,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},menu:{component:F9,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},plus:{component:aE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},money:{component:zE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},computer:{component:eE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},squareStack:{component:dE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},layers:{component:SE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},shippingTruck:{component:c9,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},checkout:{component:GE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},moneyBag:{component:LE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},coupon:{component:RE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},discount:{component:yE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},saleTag:{component:nS,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},disocuntTag:{component:oS,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},squareStar:{component:iS,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},collection:{component:NE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},smartPhone:{component:gE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},globeStand:{component:$E,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},clock:{component:YE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},copy:{component:CE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},google:{component:ZE},bulb:{component:kE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},closeCircle:{component:j9,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},delete:{component:bE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},link:{component:qE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},vision:{component:sS,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},setting:{component:OE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},cursor:{component:rE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary group-hover/menu-button:fill-primary group-focus/menu-button:fill-primary group-data-[active=true]/menu-button:fill-primary"},mouse:{component:aS,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},headPhone:{component:U9,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},logout:{component:AE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},information:{component:cS,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},userCircle:{component:WE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},userAccount:{component:lS,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},creditCard:{component:ME,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},key:{component:VE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},conversion:{component:uS,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},noData:{component:dS,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},cogs:{component:fS},workspace:{component:BE,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},documentCode:{component:H9,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},downArrowFill:{component:DE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},userList:{component:HE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},rightArrow:{component:my,className:"text-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"},alert:{component:XE,className:"text-sub fill-sub group-hover/menu-button:text-primary group-focus/menu-button:text-primary group-data-[active=true]/menu-button:text-primary"}},mS={xs:"h-3 w-3",sm:"h-4 w-4",md:"h-5 w-5",lg:"h-6 w-6",xl:"h-8 w-8"},hS={default:"text-foreground",primary:"text-primary",secondary:"text-secondary",muted:"text-muted-foreground",danger:"text-destructive"},ke=({name:e,size:t="md",color:r="default",className:n,...o})=>{const i=vy[e];if(!i)return null;const a=i.component;return h.jsx(a,{className:B(mS[t],hS[r],i.className,n),...o})},zo={zap:h.jsx(ke,{name:"zap"}),arrow:h.jsx(ke,{name:"cells"}),loader:hE},vS={default:"!h-4 !w-4",lg:"!h-5 !w-5",sm:"!h-4 !w-4",xs:"!h-3.5 !w-3.5",xxs:"!h-3 !w-3",icon:"!h-5 !w-5"},gS=Wt("inline-flex items-center justify-center gap-[6px] whitespace-nowrap rounded-[6px] text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{primary:"bg-gray-900 !text-white hover:bg-gray-800 active:bg-gray-700 hover:bg-gray-800 focus-visible:bg-gray-900",outlined:`bg-white text-strong shadow border border-gray-300 hover:bg-soft hover:shadow-[0_0_1px_rgba(0,0,0,0.20),0_1px_2px_rgba(0,0,0,0.05),0_1px_1px_rgba(0,0,0,0.01)] active:bg-gray-400
|
|
7
|
+
focus-visible:bg-white focus-visible:ring-2 focus-visible:ring-[rgba(24,24,27,0.10)] focus-visible:ring-offset-0`,secondary:`bg-white text-strong shadow border border-gray-300 hover:bg-soft hover:shadow-[0_0_1px_rgba(0,0,0,0.20),0_1px_2px_rgba(0,0,0,0.05),0_1px_1px_rgba(0,0,0,0.01)] active:bg-gray-400
|
|
8
|
+
focus-visible:bg-white focus-visible:ring-2 focus-visible:ring-[rgba(24,24,27,0.10)] focus-visible:ring-offset-0`,ghost:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",gradient:"bg-gradient-to-r from-blue-900 to-blue-700 !text-white shadow-md hover:shadow-cool",success:"bg-green-800 !text-white shadow hover:bg-green-900"},size:{default:"h-9 px-4 py-2",sm:"h-[34px] px-[14px] py-[4px] text-sm",lg:"h-11 rounded-md px-8",xs:"h-[30px] px-[10px] py-[4px] text-sm",xxs:"h-[26px] px-[8px] py-[4px] text-xs",icon:"h-10 w-10"},iconType:{"icon-sm":"rounded-[6px] !h-[34px] w-[34px] py-1 px-2 ","icon-xs":"rounded-[6px] !h-[30px] w-[30px] py-1 px-2","icon-xxs":"rounded-[6px] !h-[26px] w-[26px] py-1 px-2"},state:{default:"",disabled:"bg-gray-200 !text-gray-400 cursor-not-allowed border-none shadow-none"},iconPosition:{left:"flex-row",right:"flex-row-reverse",none:""}},defaultVariants:{variant:"primary",size:"sm",state:"default",iconPosition:"left"}}),yS=e=>{switch(e){case"primary":return{startIcon:zo.zap,endIcon:zo.arrow};case"secondary":return{startIcon:zo.zap,endIcon:zo.arrow};default:return{startIcon:null,endIcon:null}}},fl=(e,t,r)=>{if(!e)return null;const n=vS[t??"sm"],o=B("shrink-0",n,!r?.isLoader&&"text-current fill-current");if(f.isValidElement(e)){const a=e;return f.cloneElement(a,{className:B(o,a.props.className)})}const i=e;return h.jsx(i,{className:o})},Jn=f.forwardRef(({className:e,variant:t,size:r,state:n,icon:o,iconPosition:i="left",loading:a,disabled:s,asChild:c=!1,children:l,startIconOverride:u,endIconOverride:d,iconType:p,...m},g)=>{const v=c?ho:"button",{startIcon:y,endIcon:b}=yS(t),x=u??y,w=d??b;return h.jsxs(v,{ref:g,disabled:s||a,className:B(gS({variant:t,size:r,state:s?"disabled":n,iconType:p}),e),...m,children:[!a&&fl(x,r),!a&&l,!a&&fl(w,r),a&&fl(zo.loader,r,{isLoader:!0})]})});Jn.displayName="Button";const gy=({variant:e="h1",children:t,className:r=""})=>{const n=e,o={h1:"text-h1",h2:"text-h2",h3:"text-h3",h4:"text-h4",h5:"text-h5",h6:"text-h6"};return h.jsx(n,{className:`font-primary font-medium ${o[e]} ${r}`,children:t})},bS=Wt("text-strong",{variants:{size:{large:"!text-label-lg",medium:"!text-label-md",small:"!text-label-sm",verySmall:"!text-label-xs"},fontFamily:{primary:"font-primary",secondary:"font-secondary",mono:"font-mono"},fontWeight:{regular:"font-regular",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"}},defaultVariants:{size:"medium",fontFamily:"primary",fontWeight:"regular"}}),Ce=f.forwardRef(({className:e,size:t,fontFamily:r,fontWeight:n,...o},i)=>h.jsx("p",{ref:i,className:B(bS({size:t,fontFamily:r,fontWeight:n}),e),...o}));Ce.displayName="Label";const Qe=({variant:e="md",font:t="regular",fontFamily:r="primary",children:n,className:o=""})=>{const i={lg:"!text-m-lg",md:"!text-m-md",sm:"!text-m-sm",xs:"!text-m-xs"},a={bold:"font-bold",semibold:"font-semibold",medium:"font-medium",regular:"font-regular"},s={primary:"font-primary",mono:"font-mono"};return h.jsx("p",{className:B(s[r],a[t],i[e],o),children:n})},Hf=({variant:e="medium",children:t,className:r=""})=>{const n={large:"text-p-lg",medium:"text-p-md",small:"text-p-sm",verySmall:"text-p-xs"};return h.jsx("p",{className:`font-primary font-regular ${n[e]} ${r}`,children:t})};function xS(e,t=[]){let r=[];function n(i,a){const s=f.createContext(a);s.displayName=i+"Context";const c=r.length;r=[...r,a];const l=d=>{const{scope:p,children:m,...g}=d,v=p?.[e]?.[c]||s,y=f.useMemo(()=>g,Object.values(g));return h.jsx(v.Provider,{value:y,children:m})};l.displayName=i+"Provider";function u(d,p){const m=p?.[e]?.[c]||s,g=f.useContext(m);if(g)return g;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,u]}const o=()=>{const i=r.map(a=>f.createContext(a));return function(s){const c=s?.[e]||i;return f.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,wS(o,...t)]}function wS(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=n.reduce((s,{useScope:c,scopeName:l})=>{const d=c(i)[`__scope${l}`];return{...s,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}var CS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],yy=CS.reduce((e,t)=>{const r=Vf(`Primitive.${t}`),n=f.forwardRef((o,i)=>{const{asChild:a,...s}=o,c=a?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(c,{...s,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),Kf="Progress",Uf=100,[ES]=xS(Kf),[SS,AS]=ES(Kf),by=f.forwardRef((e,t)=>{const{__scopeProgress:r,value:n=null,max:o,getValueLabel:i=OS,...a}=e;(o||o===0)&&!gm(o)&&console.error(PS(`${o}`,"Progress"));const s=gm(o)?o:Uf;n!==null&&!ym(n,s)&&console.error(NS(`${n}`,"Progress"));const c=ym(n,s)?n:null,l=Ua(c)?i(c,s):void 0;return h.jsx(SS,{scope:r,value:c,max:s,children:h.jsx(yy.div,{"aria-valuemax":s,"aria-valuemin":0,"aria-valuenow":Ua(c)?c:void 0,"aria-valuetext":l,role:"progressbar","data-state":Cy(c,s),"data-value":c??void 0,"data-max":s,...a,ref:t})})});by.displayName=Kf;var xy="ProgressIndicator",wy=f.forwardRef((e,t)=>{const{__scopeProgress:r,...n}=e,o=AS(xy,r);return h.jsx(yy.div,{"data-state":Cy(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...n,ref:t})});wy.displayName=xy;function OS(e,t){return`${Math.round(e/t*100)}%`}function Cy(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function Ua(e){return typeof e=="number"}function gm(e){return Ua(e)&&!isNaN(e)&&e>0}function ym(e,t){return Ua(e)&&!isNaN(e)&&e<=t&&e>=0}function PS(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Uf}\`.`}function NS(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
9
|
+
- a positive number
|
|
10
|
+
- less than the value passed to \`max\` (or ${Uf} if no \`max\` prop is set)
|
|
11
|
+
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
12
|
+
|
|
13
|
+
Defaulting to \`null\`.`}var Ey=by,MS=wy;const jS={sm:"h-1",md:"h-2",lg:"h-3"},kS={blue:"bg-blue-100",dark:"bg-gray-200",success:"bg-green-100"},IS={blue:"from-blue-900 via-blue-700 to-blue-500",dark:"from-gray-900 via-gray-700 to-gray-500",success:"from-green-800 via-green-700 to-green-300"},Sy=f.forwardRef(({className:e,value:t,size:r="md",color:n="blue",...o},i)=>h.jsx(Ey,{ref:i,className:B("relative w-full overflow-hidden rounded-full",jS[r],kS[n],e),...o,children:h.jsx(MS,{className:B("h-full w-full origin-left bg-gradient-to-r transition-transform duration-300 ease-in-out",IS[n]),style:{transform:`scaleX(${Math.min(100,Math.max(0,t||0))/100})`}})}));Sy.displayName=Ey.displayName;function G(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function TS(e,t){const r=f.createContext(t),n=i=>{const{children:a,...s}=i,c=f.useMemo(()=>s,Object.values(s));return h.jsx(r.Provider,{value:c,children:a})};n.displayName=e+"Provider";function o(i){const a=f.useContext(r);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[n,o]}function Ht(e,t=[]){let r=[];function n(i,a){const s=f.createContext(a),c=r.length;r=[...r,a];const l=d=>{const{scope:p,children:m,...g}=d,v=p?.[e]?.[c]||s,y=f.useMemo(()=>g,Object.values(g));return h.jsx(v.Provider,{value:y,children:m})};l.displayName=i+"Provider";function u(d,p){const m=p?.[e]?.[c]||s,g=f.useContext(m);if(g)return g;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,u]}const o=()=>{const i=r.map(a=>f.createContext(a));return function(s){const c=s?.[e]||i;return f.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,_S(o,...t)]}function _S(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=n.reduce((s,{useScope:c,scopeName:l})=>{const d=c(i)[`__scope${l}`];return{...s,...d}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}function bm(e){const t=RS(e),r=f.forwardRef((n,o)=>{const{children:i,...a}=n,s=f.Children.toArray(i),c=s.find(LS);if(c){const l=c.props.children,u=s.map(d=>d===c?f.Children.count(l)>1?f.Children.only(null):f.isValidElement(l)?l.props.children:null:d);return h.jsx(t,{...a,ref:o,children:f.isValidElement(l)?f.cloneElement(l,void 0,u):null})}return h.jsx(t,{...a,ref:o,children:i})});return r.displayName=`${e}.Slot`,r}function RS(e){const t=f.forwardRef((r,n)=>{const{children:o,...i}=r;if(f.isValidElement(o)){const a=BS(o),s=FS(i,o.props);return o.type!==f.Fragment&&(s.ref=n?nr(n,a):a),f.cloneElement(o,s)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var DS=Symbol("radix.slottable");function LS(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===DS}function FS(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{const c=i(...s);return o(...s),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function BS(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Gf(e){const t=e+"CollectionProvider",[r,n]=Ht(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:y,children:b}=v,x=A.useRef(null),w=A.useRef(new Map).current;return h.jsx(o,{scope:y,itemMap:w,collectionRef:x,children:b})};a.displayName=t;const s=e+"CollectionSlot",c=bm(s),l=A.forwardRef((v,y)=>{const{scope:b,children:x}=v,w=i(s,b),C=ce(y,w.collectionRef);return h.jsx(c,{ref:C,children:x})});l.displayName=s;const u=e+"CollectionItemSlot",d="data-radix-collection-item",p=bm(u),m=A.forwardRef((v,y)=>{const{scope:b,children:x,...w}=v,C=A.useRef(null),E=ce(y,C),S=i(u,b);return A.useEffect(()=>(S.itemMap.set(C,{ref:C,...w}),()=>{S.itemMap.delete(C)})),h.jsx(p,{[d]:"",ref:E,children:x})});m.displayName=u;function g(v){const y=i(e+"CollectionConsumer",v);return A.useCallback(()=>{const x=y.collectionRef.current;if(!x)return[];const w=Array.from(x.querySelectorAll(`[${d}]`));return Array.from(y.itemMap.values()).sort((S,O)=>w.indexOf(S.ref.current)-w.indexOf(O.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:a,Slot:l,ItemSlot:m},g,n]}var tt=globalThis?.document?f.useLayoutEffect:()=>{},$S=f[" useId ".trim().toString()]||(()=>{}),VS=0;function dt(e){const[t,r]=f.useState($S());return tt(()=>{r(n=>n??String(VS++))},[e]),e||(t?`radix-${t}`:"")}function zS(e){const t=WS(e),r=f.forwardRef((n,o)=>{const{children:i,...a}=n,s=f.Children.toArray(i),c=s.find(KS);if(c){const l=c.props.children,u=s.map(d=>d===c?f.Children.count(l)>1?f.Children.only(null):f.isValidElement(l)?l.props.children:null:d);return h.jsx(t,{...a,ref:o,children:f.isValidElement(l)?f.cloneElement(l,void 0,u):null})}return h.jsx(t,{...a,ref:o,children:i})});return r.displayName=`${e}.Slot`,r}function WS(e){const t=f.forwardRef((r,n)=>{const{children:o,...i}=r;if(f.isValidElement(o)){const a=GS(o),s=US(i,o.props);return o.type!==f.Fragment&&(s.ref=n?nr(n,a):a),f.cloneElement(o,s)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var HS=Symbol("radix.slottable");function KS(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===HS}function US(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{const c=i(...s);return o(...s),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function GS(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var qS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ne=qS.reduce((e,t)=>{const r=zS(`Primitive.${t}`),n=f.forwardRef((o,i)=>{const{asChild:a,...s}=o,c=a?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(c,{...s,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Ay(e,t){e&&Gs.flushSync(()=>e.dispatchEvent(t))}function Ft(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...r)=>t.current?.(...r),[])}var YS=f[" useInsertionEffect ".trim().toString()]||tt;function Xt({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,i,a]=ZS({defaultProp:t,onChange:r}),s=e!==void 0,c=s?e:o;{const u=f.useRef(e!==void 0);f.useEffect(()=>{const d=u.current;d!==s&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=s},[s,n])}const l=f.useCallback(u=>{if(s){const d=QS(u)?u(e):u;d!==e&&a.current?.(d)}else i(u)},[s,e,i,a]);return[c,l]}function ZS({defaultProp:e,onChange:t}){const[r,n]=f.useState(e),o=f.useRef(r),i=f.useRef(t);return YS(()=>{i.current=t},[t]),f.useEffect(()=>{o.current!==r&&(i.current?.(r),o.current=r)},[r,o]),[r,n,i]}function QS(e){return typeof e=="function"}var XS=f.createContext(void 0);function Ys(e){const t=f.useContext(XS);return e||t||"ltr"}var pl="rovingFocusGroup.onEntryFocus",JS={bubbles:!1,cancelable:!0},bi="RovingFocusGroup",[ud,Oy,eA]=Gf(bi),[tA,Zs]=Ht(bi,[eA]),[rA,nA]=tA(bi),Py=f.forwardRef((e,t)=>h.jsx(ud.Provider,{scope:e.__scopeRovingFocusGroup,children:h.jsx(ud.Slot,{scope:e.__scopeRovingFocusGroup,children:h.jsx(oA,{...e,ref:t})})}));Py.displayName=bi;var oA=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:l,preventScrollOnEntryFocus:u=!1,...d}=e,p=f.useRef(null),m=ce(t,p),g=Ys(i),[v,y]=Xt({prop:a,defaultProp:s??null,onChange:c,caller:bi}),[b,x]=f.useState(!1),w=Ft(l),C=Oy(r),E=f.useRef(!1),[S,O]=f.useState(0);return f.useEffect(()=>{const P=p.current;if(P)return P.addEventListener(pl,w),()=>P.removeEventListener(pl,w)},[w]),h.jsx(rA,{scope:r,orientation:n,dir:g,loop:o,currentTabStopId:v,onItemFocus:f.useCallback(P=>y(P),[y]),onItemShiftTab:f.useCallback(()=>x(!0),[]),onFocusableItemAdd:f.useCallback(()=>O(P=>P+1),[]),onFocusableItemRemove:f.useCallback(()=>O(P=>P-1),[]),children:h.jsx(ne.div,{tabIndex:b||S===0?-1:0,"data-orientation":n,...d,ref:m,style:{outline:"none",...e.style},onMouseDown:G(e.onMouseDown,()=>{E.current=!0}),onFocus:G(e.onFocus,P=>{const j=!E.current;if(P.target===P.currentTarget&&j&&!b){const D=new CustomEvent(pl,JS);if(P.currentTarget.dispatchEvent(D),!D.defaultPrevented){const L=C().filter(W=>W.focusable),M=L.find(W=>W.active),k=L.find(W=>W.id===v),U=[M,k,...L].filter(Boolean).map(W=>W.ref.current);jy(U,u)}}E.current=!1}),onBlur:G(e.onBlur,()=>x(!1))})})}),Ny="RovingFocusGroupItem",My=f.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,children:a,...s}=e,c=dt(),l=i||c,u=nA(Ny,r),d=u.currentTabStopId===l,p=Oy(r),{onFocusableItemAdd:m,onFocusableItemRemove:g,currentTabStopId:v}=u;return f.useEffect(()=>{if(n)return m(),()=>g()},[n,m,g]),h.jsx(ud.ItemSlot,{scope:r,id:l,focusable:n,active:o,children:h.jsx(ne.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:G(e.onMouseDown,y=>{n?u.onItemFocus(l):y.preventDefault()}),onFocus:G(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:G(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){u.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const b=sA(y,u.orientation,u.dir);if(b!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let w=p().filter(C=>C.focusable).map(C=>C.ref.current);if(b==="last")w.reverse();else if(b==="prev"||b==="next"){b==="prev"&&w.reverse();const C=w.indexOf(y.currentTarget);w=u.loop?cA(w,C+1):w.slice(C+1)}setTimeout(()=>jy(w))}}),children:typeof a=="function"?a({isCurrentTabStop:d,hasTabStop:v!=null}):a})})});My.displayName=Ny;var iA={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function aA(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function sA(e,t,r){const n=aA(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return iA[n]}function jy(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function cA(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var ky=Py,Iy=My;function lA(e,t){return f.useReducer((r,n)=>t[r][n]??r,e)}var kt=e=>{const{present:t,children:r}=e,n=uA(t),o=typeof r=="function"?r({present:n.isPresent}):f.Children.only(r),i=ce(n.ref,dA(o));return typeof r=="function"||n.isPresent?f.cloneElement(o,{ref:i}):null};kt.displayName="Presence";function uA(e){const[t,r]=f.useState(),n=f.useRef(null),o=f.useRef(e),i=f.useRef("none"),a=e?"mounted":"unmounted",[s,c]=lA(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const l=oa(n.current);i.current=s==="mounted"?l:"none"},[s]),tt(()=>{const l=n.current,u=o.current;if(u!==e){const p=i.current,m=oa(l);e?c("MOUNT"):m==="none"||l?.display==="none"?c("UNMOUNT"):c(u&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),tt(()=>{if(t){let l;const u=t.ownerDocument.defaultView??window,d=m=>{const v=oa(n.current).includes(CSS.escape(m.animationName));if(m.target===t&&v&&(c("ANIMATION_END"),!o.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",l=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},p=m=>{m.target===t&&(i.current=oa(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(l),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:f.useCallback(l=>{n.current=l?getComputedStyle(l):null,r(l)},[])}}function oa(e){return e?.animationName||"none"}function dA(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Qs="Tabs",[fA]=Ht(Qs,[Zs]),Ty=Zs(),[pA,qf]=fA(Qs),_y=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:c="automatic",...l}=e,u=Ys(s),[d,p]=Xt({prop:n,onChange:o,defaultProp:i??"",caller:Qs});return h.jsx(pA,{scope:r,baseId:dt(),value:d,onValueChange:p,orientation:a,dir:u,activationMode:c,children:h.jsx(ne.div,{dir:u,"data-orientation":a,...l,ref:t})})});_y.displayName=Qs;var Ry="TabsList",Dy=f.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,i=qf(Ry,r),a=Ty(r);return h.jsx(ky,{asChild:!0,...a,orientation:i.orientation,dir:i.dir,loop:n,children:h.jsx(ne.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:t})})});Dy.displayName=Ry;var Ly="TabsTrigger",Fy=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...i}=e,a=qf(Ly,r),s=Ty(r),c=Vy(a.baseId,n),l=zy(a.baseId,n),u=n===a.value;return h.jsx(Iy,{asChild:!0,...s,focusable:!o,active:u,children:h.jsx(ne.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":l,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c,...i,ref:t,onMouseDown:G(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?a.onValueChange(n):d.preventDefault()}),onKeyDown:G(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&a.onValueChange(n)}),onFocus:G(e.onFocus,()=>{const d=a.activationMode!=="manual";!u&&!o&&d&&a.onValueChange(n)})})})});Fy.displayName=Ly;var By="TabsContent",$y=f.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:i,...a}=e,s=qf(By,r),c=Vy(s.baseId,n),l=zy(s.baseId,n),u=n===s.value,d=f.useRef(u);return f.useEffect(()=>{const p=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(p)},[]),h.jsx(kt,{present:o||u,children:({present:p})=>h.jsx(ne.div,{"data-state":u?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":c,hidden:!p,id:l,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:p&&i})})});$y.displayName=By;function Vy(e,t){return`${e}-trigger-${t}`}function zy(e,t){return`${e}-content-${t}`}var mA=_y,Wy=Dy,Hy=Fy,Ky=$y;const hA=mA,vA=Wt("inline-flex items-center",{variants:{variant:{segmented:"rounded-[6px] bg-soft text-sub py-2 px-1 gap-2",underline:"p-1 gap-4",minimal:"gap-5 p-1"}},defaultVariants:{variant:"segmented"}}),gA=Wt("inline-flex items-center justify-center whitespace-nowrap text-sm font-medium transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{segmented:"rounded-md px-[10px] py-[5px] !text-m-xs data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",underline:"px-[8px] py-[4px] text-muted-foreground data-[state=active]:py-2 data-[state=active]:bg-primary data-[state=active]:border-b-2 data-[state=active]:border-foreground data-[state=active]:text-foreground hover:bg-soft hover:text-gray-700 hover:rounded",minimal:"rounded-md px-[10px] py-[5px] text-muted-foreground data-[state=active]:bg-white data-[state=active]:border data-[state=active]:border-default data-[state=active]:shadow-sm data-[state=active]:text-gray-700 hover:bg-soft hover:text-gray-700 hover:rounded"}},defaultVariants:{variant:"segmented"}}),Uy=f.forwardRef(({className:e,variant:t,startIcon:r,endIcon:n,children:o,...i},a)=>h.jsxs(Hy,{ref:a,className:B("flex items-center gap-2",gA({variant:t}),e),...i,children:[r&&h.jsx("span",{className:"flex items-center shrink-0",children:r}),h.jsx("span",{className:"truncate",children:o}),n&&h.jsx("span",{className:"flex items-center shrink-0",children:n})]}));Uy.displayName=Hy.displayName;const Gy=f.forwardRef(({className:e,variant:t,...r},n)=>h.jsx(Wy,{ref:n,className:B(vA({variant:t}),e),...r}));Gy.displayName=Wy.displayName;const qy=f.forwardRef(({className:e,...t},r)=>h.jsx(Ky,{ref:r,className:B("mt-4 focus-visible:outline-none",e),...t}));qy.displayName=Ky.displayName;const yA=Wt("flex w-full items-center border bg-white text-sm transition-colors ",{variants:{size:{sm:"h-[34px] px-3 rounded-md",md:"h-10 px-3 py-[9px] rounded-md gap-2",lg:"h-12 px-5 rounded-2xl"},focused:{true:"border-2 shadow-sm",false:"border"},disabled:{true:"opacity-50 cursor-not-allowed"}},defaultVariants:{size:"sm",focused:!1}}),Yy=f.forwardRef(({className:e,size:t="sm",disabled:r,value:n="",onChange:o,onDebouncedChange:i,debounceMs:a=300,placeholder:s="Search",...c},l)=>{const[u,d]=f.useState(!1),p=f.useRef(null),m=g=>{const v=g.target.value;o?.(v),i&&(p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{i(v)},a))};return h.jsxs("div",{className:B(yA({size:t,focused:u,disabled:r}),e,"!text-label-sm"),children:[h.jsx(hy,{className:" h-4 w-4 text-sub-1"}),h.jsx("input",{ref:l,value:n,disabled:r,placeholder:s,onFocus:()=>d(!0),onBlur:()=>d(!1),onChange:m,className:"flex-1 bg-transparent outline-none !text-label-sm font-medium placeholder:text-sub-1 disabled:cursor-not-allowed disabled:opacity-50",...c})]})});Yy.displayName="SearchInput";function xm(e,[t,r]){return Math.min(r,Math.max(t,e))}function bA(e,t=globalThis?.document){const r=Ft(e);f.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var xA="DismissableLayer",dd="dismissableLayer.update",wA="dismissableLayer.pointerDownOutside",CA="dismissableLayer.focusOutside",wm,Zy=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yo=f.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...c}=e,l=f.useContext(Zy),[u,d]=f.useState(null),p=u?.ownerDocument??globalThis?.document,[,m]=f.useState({}),g=ce(t,O=>d(O)),v=Array.from(l.layers),[y]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),b=v.indexOf(y),x=u?v.indexOf(u):-1,w=l.layersWithOutsidePointerEventsDisabled.size>0,C=x>=b,E=AA(O=>{const P=O.target,j=[...l.branches].some(D=>D.contains(P));!C||j||(o?.(O),a?.(O),O.defaultPrevented||s?.())},p),S=OA(O=>{const P=O.target;[...l.branches].some(D=>D.contains(P))||(i?.(O),a?.(O),O.defaultPrevented||s?.())},p);return bA(O=>{x===l.layers.size-1&&(n?.(O),!O.defaultPrevented&&s&&(O.preventDefault(),s()))},p),f.useEffect(()=>{if(u)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(wm=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(u)),l.layers.add(u),Cm(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=wm)}},[u,p,r,l]),f.useEffect(()=>()=>{u&&(l.layers.delete(u),l.layersWithOutsidePointerEventsDisabled.delete(u),Cm())},[u,l]),f.useEffect(()=>{const O=()=>m({});return document.addEventListener(dd,O),()=>document.removeEventListener(dd,O)},[]),h.jsx(ne.div,{...c,ref:g,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:G(e.onFocusCapture,S.onFocusCapture),onBlurCapture:G(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:G(e.onPointerDownCapture,E.onPointerDownCapture)})});yo.displayName=xA;var EA="DismissableLayerBranch",SA=f.forwardRef((e,t)=>{const r=f.useContext(Zy),n=f.useRef(null),o=ce(t,n);return f.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),h.jsx(ne.div,{...e,ref:o})});SA.displayName=EA;function AA(e,t=globalThis?.document){const r=Ft(e),n=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let c=function(){Qy(wA,r,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);n.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function OA(e,t=globalThis?.document){const r=Ft(e),n=f.useRef(!1);return f.useEffect(()=>{const o=i=>{i.target&&!n.current&&Qy(CA,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Cm(){const e=new CustomEvent(dd);document.dispatchEvent(e)}function Qy(e,t,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Ay(o,i):o.dispatchEvent(i)}var ml=0;function Xs(){f.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Em()),document.body.insertAdjacentElement("beforeend",e[1]??Em()),ml++,()=>{ml===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ml--}},[])}function Em(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var hl="focusScope.autoFocusOnMount",vl="focusScope.autoFocusOnUnmount",Sm={bubbles:!1,cancelable:!0},PA="FocusScope",xi=f.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,c]=f.useState(null),l=Ft(o),u=Ft(i),d=f.useRef(null),p=ce(t,v=>c(v)),m=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(n){let v=function(w){if(m.paused||!s)return;const C=w.target;s.contains(C)?d.current=C:kr(d.current,{select:!0})},y=function(w){if(m.paused||!s)return;const C=w.relatedTarget;C!==null&&(s.contains(C)||kr(d.current,{select:!0}))},b=function(w){if(document.activeElement===document.body)for(const E of w)E.removedNodes.length>0&&kr(s)};document.addEventListener("focusin",v),document.addEventListener("focusout",y);const x=new MutationObserver(b);return s&&x.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",y),x.disconnect()}}},[n,s,m.paused]),f.useEffect(()=>{if(s){Om.add(m);const v=document.activeElement;if(!s.contains(v)){const b=new CustomEvent(hl,Sm);s.addEventListener(hl,l),s.dispatchEvent(b),b.defaultPrevented||(NA(TA(Xy(s)),{select:!0}),document.activeElement===v&&kr(s))}return()=>{s.removeEventListener(hl,l),setTimeout(()=>{const b=new CustomEvent(vl,Sm);s.addEventListener(vl,u),s.dispatchEvent(b),b.defaultPrevented||kr(v??document.body,{select:!0}),s.removeEventListener(vl,u),Om.remove(m)},0)}}},[s,l,u,m]);const g=f.useCallback(v=>{if(!r&&!n||m.paused)return;const y=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,b=document.activeElement;if(y&&b){const x=v.currentTarget,[w,C]=MA(x);w&&C?!v.shiftKey&&b===C?(v.preventDefault(),r&&kr(w,{select:!0})):v.shiftKey&&b===w&&(v.preventDefault(),r&&kr(C,{select:!0})):b===x&&v.preventDefault()}},[r,n,m.paused]);return h.jsx(ne.div,{tabIndex:-1,...a,ref:p,onKeyDown:g})});xi.displayName=PA;function NA(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(kr(n,{select:t}),document.activeElement!==r)return}function MA(e){const t=Xy(e),r=Am(t,e),n=Am(t.reverse(),e);return[r,n]}function Xy(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Am(e,t){for(const r of e)if(!jA(r,{upTo:t}))return r}function jA(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function kA(e){return e instanceof HTMLInputElement&&"select"in e}function kr(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&kA(e)&&t&&e.select()}}var Om=IA();function IA(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Pm(e,t),e.unshift(t)},remove(t){e=Pm(e,t),e[0]?.resume()}}}function Pm(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function TA(e){return e.filter(t=>t.tagName!=="A")}const _A=["top","right","bottom","left"],zr=Math.min,ht=Math.max,Ga=Math.round,ia=Math.floor,Zt=e=>({x:e,y:e}),RA={left:"right",right:"left",bottom:"top",top:"bottom"},DA={start:"end",end:"start"};function fd(e,t,r){return ht(e,zr(t,r))}function fr(e,t){return typeof e=="function"?e(t):e}function pr(e){return e.split("-")[0]}function bo(e){return e.split("-")[1]}function Yf(e){return e==="x"?"y":"x"}function Zf(e){return e==="y"?"height":"width"}const LA=new Set(["top","bottom"]);function qt(e){return LA.has(pr(e))?"y":"x"}function Qf(e){return Yf(qt(e))}function FA(e,t,r){r===void 0&&(r=!1);const n=bo(e),o=Qf(e),i=Zf(o);let a=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=qa(a)),[a,qa(a)]}function BA(e){const t=qa(e);return[pd(e),t,pd(t)]}function pd(e){return e.replace(/start|end/g,t=>DA[t])}const Nm=["left","right"],Mm=["right","left"],$A=["top","bottom"],VA=["bottom","top"];function zA(e,t,r){switch(e){case"top":case"bottom":return r?t?Mm:Nm:t?Nm:Mm;case"left":case"right":return t?$A:VA;default:return[]}}function WA(e,t,r,n){const o=bo(e);let i=zA(pr(e),r==="start",n);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(pd)))),i}function qa(e){return e.replace(/left|right|bottom|top/g,t=>RA[t])}function HA(e){return{top:0,right:0,bottom:0,left:0,...e}}function Jy(e){return typeof e!="number"?HA(e):{top:e,right:e,bottom:e,left:e}}function Ya(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function jm(e,t,r){let{reference:n,floating:o}=e;const i=qt(t),a=Qf(t),s=Zf(a),c=pr(t),l=i==="y",u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[s]/2-o[s]/2;let m;switch(c){case"top":m={x:u,y:n.y-o.height};break;case"bottom":m={x:u,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:d};break;case"left":m={x:n.x-o.width,y:d};break;default:m={x:n.x,y:n.y}}switch(bo(t)){case"start":m[a]-=p*(r&&l?-1:1);break;case"end":m[a]+=p*(r&&l?-1:1);break}return m}const KA=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,s=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=jm(l,n,c),p=n,m={},g=0;for(let v=0;v<s.length;v++){const{name:y,fn:b}=s[v],{x,y:w,data:C,reset:E}=await b({x:u,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:m,rects:l,platform:a,elements:{reference:e,floating:t}});u=x??u,d=w??d,m={...m,[y]:{...m[y],...C}},E&&g<=50&&(g++,typeof E=="object"&&(E.placement&&(p=E.placement),E.rects&&(l=E.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:u,y:d}=jm(l,p,c)),v=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:m}};async function Xo(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=fr(t,e),g=Jy(m),y=s[p?d==="floating"?"reference":"floating":d],b=Ya(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(y)))==null||r?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),x=d==="floating"?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),C=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},E=Ya(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:w,strategy:c}):x);return{top:(b.top-E.top+g.top)/C.y,bottom:(E.bottom-b.bottom+g.bottom)/C.y,left:(b.left-E.left+g.left)/C.x,right:(E.right-b.right+g.right)/C.x}}const UA=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:a,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=fr(e,t)||{};if(l==null)return{};const d=Jy(u),p={x:r,y:n},m=Qf(o),g=Zf(m),v=await a.getDimensions(l),y=m==="y",b=y?"top":"left",x=y?"bottom":"right",w=y?"clientHeight":"clientWidth",C=i.reference[g]+i.reference[m]-p[m]-i.floating[g],E=p[m]-i.reference[m],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let O=S?S[w]:0;(!O||!await(a.isElement==null?void 0:a.isElement(S)))&&(O=s.floating[w]||i.floating[g]);const P=C/2-E/2,j=O/2-v[g]/2-1,D=zr(d[b],j),L=zr(d[x],j),M=D,k=O-v[g]-L,$=O/2-v[g]/2+P,U=fd(M,$,k),W=!c.arrow&&bo(o)!=null&&$!==U&&i.reference[g]/2-($<M?D:L)-v[g]/2<0,H=W?$<M?$-M:$-k:0;return{[m]:p[m]+H,data:{[m]:U,centerOffset:$-U-H,...W&&{alignmentOffset:H}},reset:W}}}),GA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:c,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...y}=fr(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const b=pr(o),x=qt(s),w=pr(s)===s,C=await(c.isRTL==null?void 0:c.isRTL(l.floating)),E=p||(w||!v?[qa(s)]:BA(s)),S=g!=="none";!p&&S&&E.push(...WA(s,v,g,C));const O=[s,...E],P=await Xo(t,y),j=[];let D=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&j.push(P[b]),d){const $=FA(o,a,C);j.push(P[$[0]],P[$[1]])}if(D=[...D,{placement:o,overflows:j}],!j.every($=>$<=0)){var L,M;const $=(((L=i.flip)==null?void 0:L.index)||0)+1,U=O[$];if(U&&(!(d==="alignment"?x!==qt(U):!1)||D.every(T=>qt(T.placement)===x?T.overflows[0]>0:!0)))return{data:{index:$,overflows:D},reset:{placement:U}};let W=(M=D.filter(H=>H.overflows[0]<=0).sort((H,T)=>H.overflows[1]-T.overflows[1])[0])==null?void 0:M.placement;if(!W)switch(m){case"bestFit":{var k;const H=(k=D.filter(T=>{if(S){const N=qt(T.placement);return N===x||N==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(N=>N>0).reduce((N,z)=>N+z,0)]).sort((T,N)=>T[1]-N[1])[0])==null?void 0:k[0];H&&(W=H);break}case"initialPlacement":W=s;break}if(o!==W)return{reset:{placement:W}}}return{}}}};function km(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Im(e){return _A.some(t=>e[t]>=0)}const qA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=fr(e,t);switch(n){case"referenceHidden":{const i=await Xo(t,{...o,elementContext:"reference"}),a=km(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Im(a)}}}case"escaped":{const i=await Xo(t,{...o,altBoundary:!0}),a=km(i,r.floating);return{data:{escapedOffsets:a,escaped:Im(a)}}}default:return{}}}}},eb=new Set(["left","top"]);async function YA(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),a=pr(r),s=bo(r),c=qt(r)==="y",l=eb.has(a)?-1:1,u=i&&c?-1:1,d=fr(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof g=="number"&&(m=s==="end"?g*-1:g),c?{x:m*u,y:p*l}:{x:p*l,y:m*u}}const ZA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:a,middlewareData:s}=t,c=await YA(t,e);return a===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},QA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:y=>{let{x:b,y:x}=y;return{x:b,y:x}}},...c}=fr(e,t),l={x:r,y:n},u=await Xo(t,c),d=qt(pr(o)),p=Yf(d);let m=l[p],g=l[d];if(i){const y=p==="y"?"top":"left",b=p==="y"?"bottom":"right",x=m+u[y],w=m-u[b];m=fd(x,m,w)}if(a){const y=d==="y"?"top":"left",b=d==="y"?"bottom":"right",x=g+u[y],w=g-u[b];g=fd(x,g,w)}const v=s.fn({...t,[p]:m,[d]:g});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[p]:i,[d]:a}}}}}},XA=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=fr(e,t),u={x:r,y:n},d=qt(o),p=Yf(d);let m=u[p],g=u[d];const v=fr(s,t),y=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const w=p==="y"?"height":"width",C=i.reference[p]-i.floating[w]+y.mainAxis,E=i.reference[p]+i.reference[w]-y.mainAxis;m<C?m=C:m>E&&(m=E)}if(l){var b,x;const w=p==="y"?"width":"height",C=eb.has(pr(o)),E=i.reference[d]-i.floating[w]+(C&&((b=a.offset)==null?void 0:b[d])||0)+(C?0:y.crossAxis),S=i.reference[d]+i.reference[w]+(C?0:((x=a.offset)==null?void 0:x[d])||0)-(C?y.crossAxis:0);g<E?g=E:g>S&&(g=S)}return{[p]:m,[d]:g}}}},JA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:i,platform:a,elements:s}=t,{apply:c=()=>{},...l}=fr(e,t),u=await Xo(t,l),d=pr(o),p=bo(o),m=qt(o)==="y",{width:g,height:v}=i.floating;let y,b;d==="top"||d==="bottom"?(y=d,b=p===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(b=d,y=p==="end"?"top":"bottom");const x=v-u.top-u.bottom,w=g-u.left-u.right,C=zr(v-u[y],x),E=zr(g-u[b],w),S=!t.middlewareData.shift;let O=C,P=E;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(P=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(O=x),S&&!p){const D=ht(u.left,0),L=ht(u.right,0),M=ht(u.top,0),k=ht(u.bottom,0);m?P=g-2*(D!==0||L!==0?D+L:ht(u.left,u.right)):O=v-2*(M!==0||k!==0?M+k:ht(u.top,u.bottom))}await c({...t,availableWidth:P,availableHeight:O});const j=await a.getDimensions(s.floating);return g!==j.width||v!==j.height?{reset:{rects:!0}}:{}}}};function Js(){return typeof window<"u"}function xo(e){return tb(e)?(e.nodeName||"").toLowerCase():"#document"}function xt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function or(e){var t;return(t=(tb(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function tb(e){return Js()?e instanceof Node||e instanceof xt(e).Node:!1}function Bt(e){return Js()?e instanceof Element||e instanceof xt(e).Element:!1}function Jt(e){return Js()?e instanceof HTMLElement||e instanceof xt(e).HTMLElement:!1}function Tm(e){return!Js()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof xt(e).ShadowRoot}const eO=new Set(["inline","contents"]);function wi(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=$t(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!eO.has(o)}const tO=new Set(["table","td","th"]);function rO(e){return tO.has(xo(e))}const nO=[":popover-open",":modal"];function ec(e){return nO.some(t=>{try{return e.matches(t)}catch{return!1}})}const oO=["transform","translate","scale","rotate","perspective"],iO=["transform","translate","scale","rotate","perspective","filter"],aO=["paint","layout","strict","content"];function Xf(e){const t=Jf(),r=Bt(e)?$t(e):e;return oO.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||iO.some(n=>(r.willChange||"").includes(n))||aO.some(n=>(r.contain||"").includes(n))}function sO(e){let t=Wr(e);for(;Jt(t)&&!eo(t);){if(Xf(t))return t;if(ec(t))return null;t=Wr(t)}return null}function Jf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const cO=new Set(["html","body","#document"]);function eo(e){return cO.has(xo(e))}function $t(e){return xt(e).getComputedStyle(e)}function tc(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Wr(e){if(xo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Tm(e)&&e.host||or(e);return Tm(t)?t.host:t}function rb(e){const t=Wr(e);return eo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jt(t)&&wi(t)?t:rb(t)}function Jo(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=rb(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),a=xt(o);if(i){const s=md(a);return t.concat(a,a.visualViewport||[],wi(o)?o:[],s&&r?Jo(s):[])}return t.concat(o,Jo(o,[],r))}function md(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nb(e){const t=$t(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Jt(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=Ga(r)!==i||Ga(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function ep(e){return Bt(e)?e:e.contextElement}function qn(e){const t=ep(e);if(!Jt(t))return Zt(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=nb(t);let a=(i?Ga(r.width):r.width)/n,s=(i?Ga(r.height):r.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const lO=Zt(0);function ob(e){const t=xt(e);return!Jf()||!t.visualViewport?lO:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function uO(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==xt(e)?!1:t}function vn(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=ep(e);let a=Zt(1);t&&(n?Bt(n)&&(a=qn(n)):a=qn(e));const s=uO(i,r,n)?ob(i):Zt(0);let c=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const p=xt(i),m=n&&Bt(n)?xt(n):n;let g=p,v=md(g);for(;v&&n&&m!==g;){const y=qn(v),b=v.getBoundingClientRect(),x=$t(v),w=b.left+(v.clientLeft+parseFloat(x.paddingLeft))*y.x,C=b.top+(v.clientTop+parseFloat(x.paddingTop))*y.y;c*=y.x,l*=y.y,u*=y.x,d*=y.y,c+=w,l+=C,g=xt(v),v=md(g)}}return Ya({width:u,height:d,x:c,y:l})}function rc(e,t){const r=tc(e).scrollLeft;return t?t.left+r:vn(or(e)).left+r}function ib(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-rc(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function dO(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",a=or(n),s=t?ec(t.floating):!1;if(n===a||s&&i)return r;let c={scrollLeft:0,scrollTop:0},l=Zt(1);const u=Zt(0),d=Jt(n);if((d||!d&&!i)&&((xo(n)!=="body"||wi(a))&&(c=tc(n)),Jt(n))){const m=vn(n);l=qn(n),u.x=m.x+n.clientLeft,u.y=m.y+n.clientTop}const p=a&&!d&&!i?ib(a,c):Zt(0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-c.scrollLeft*l.x+u.x+p.x,y:r.y*l.y-c.scrollTop*l.y+u.y+p.y}}function fO(e){return Array.from(e.getClientRects())}function pO(e){const t=or(e),r=tc(e),n=e.ownerDocument.body,o=ht(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=ht(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let a=-r.scrollLeft+rc(e);const s=-r.scrollTop;return $t(n).direction==="rtl"&&(a+=ht(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:s}}const _m=25;function mO(e,t){const r=xt(e),n=or(e),o=r.visualViewport;let i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const u=Jf();(!u||u&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}const l=rc(n);if(l<=0){const u=n.ownerDocument,d=u.body,p=getComputedStyle(d),m=u.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,g=Math.abs(n.clientWidth-d.clientWidth-m);g<=_m&&(i-=g)}else l<=_m&&(i+=l);return{width:i,height:a,x:s,y:c}}const hO=new Set(["absolute","fixed"]);function vO(e,t){const r=vn(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=Jt(e)?qn(e):Zt(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,c=o*i.x,l=n*i.y;return{width:a,height:s,x:c,y:l}}function Rm(e,t,r){let n;if(t==="viewport")n=mO(e,r);else if(t==="document")n=pO(or(e));else if(Bt(t))n=vO(t,r);else{const o=ob(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ya(n)}function ab(e,t){const r=Wr(e);return r===t||!Bt(r)||eo(r)?!1:$t(r).position==="fixed"||ab(r,t)}function gO(e,t){const r=t.get(e);if(r)return r;let n=Jo(e,[],!1).filter(s=>Bt(s)&&xo(s)!=="body"),o=null;const i=$t(e).position==="fixed";let a=i?Wr(e):e;for(;Bt(a)&&!eo(a);){const s=$t(a),c=Xf(a);!c&&s.position==="fixed"&&(o=null),(i?!c&&!o:!c&&s.position==="static"&&!!o&&hO.has(o.position)||wi(a)&&!c&&ab(e,a))?n=n.filter(u=>u!==a):o=s,a=Wr(a)}return t.set(e,n),n}function yO(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a=[...r==="clippingAncestors"?ec(t)?[]:gO(t,this._c):[].concat(r),n],s=a[0],c=a.reduce((l,u)=>{const d=Rm(t,u,o);return l.top=ht(d.top,l.top),l.right=zr(d.right,l.right),l.bottom=zr(d.bottom,l.bottom),l.left=ht(d.left,l.left),l},Rm(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function bO(e){const{width:t,height:r}=nb(e);return{width:t,height:r}}function xO(e,t,r){const n=Jt(t),o=or(t),i=r==="fixed",a=vn(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const c=Zt(0);function l(){c.x=rc(o)}if(n||!n&&!i)if((xo(t)!=="body"||wi(o))&&(s=tc(t)),n){const m=vn(t,!0,i,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else o&&l();i&&!n&&o&&l();const u=o&&!n&&!i?ib(o,s):Zt(0),d=a.left+s.scrollLeft-c.x-u.x,p=a.top+s.scrollTop-c.y-u.y;return{x:d,y:p,width:a.width,height:a.height}}function gl(e){return $t(e).position==="static"}function Dm(e,t){if(!Jt(e)||$t(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return or(e)===r&&(r=r.ownerDocument.body),r}function sb(e,t){const r=xt(e);if(ec(e))return r;if(!Jt(e)){let o=Wr(e);for(;o&&!eo(o);){if(Bt(o)&&!gl(o))return o;o=Wr(o)}return r}let n=Dm(e,t);for(;n&&rO(n)&&gl(n);)n=Dm(n,t);return n&&eo(n)&&gl(n)&&!Xf(n)?r:n||sO(e)||r}const wO=async function(e){const t=this.getOffsetParent||sb,r=this.getDimensions,n=await r(e.floating);return{reference:xO(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function CO(e){return $t(e).direction==="rtl"}const EO={convertOffsetParentRelativeRectToViewportRelativeRect:dO,getDocumentElement:or,getClippingRect:yO,getOffsetParent:sb,getElementRects:wO,getClientRects:fO,getDimensions:bO,getScale:qn,isElement:Bt,isRTL:CO};function cb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function SO(e,t){let r=null,n;const o=or(e);function i(){var s;clearTimeout(n),(s=r)==null||s.disconnect(),r=null}function a(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),i();const l=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=l;if(s||t(),!p||!m)return;const g=ia(d),v=ia(o.clientWidth-(u+p)),y=ia(o.clientHeight-(d+m)),b=ia(u),w={rootMargin:-g+"px "+-v+"px "+-y+"px "+-b+"px",threshold:ht(0,zr(1,c))||1};let C=!0;function E(S){const O=S[0].intersectionRatio;if(O!==c){if(!C)return a();O?a(!1,O):n=setTimeout(()=>{a(!1,1e-7)},1e3)}O===1&&!cb(l,e.getBoundingClientRect())&&a(),C=!1}try{r=new IntersectionObserver(E,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(E,w)}r.observe(e)}return a(!0),i}function AO(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,l=ep(e),u=o||i?[...l?Jo(l):[],...Jo(t)]:[];u.forEach(b=>{o&&b.addEventListener("scroll",r,{passive:!0}),i&&b.addEventListener("resize",r)});const d=l&&s?SO(l,r):null;let p=-1,m=null;a&&(m=new ResizeObserver(b=>{let[x]=b;x&&x.target===l&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),r()}),l&&!c&&m.observe(l),m.observe(t));let g,v=c?vn(e):null;c&&y();function y(){const b=vn(e);v&&!cb(v,b)&&r(),v=b,g=requestAnimationFrame(y)}return r(),()=>{var b;u.forEach(x=>{o&&x.removeEventListener("scroll",r),i&&x.removeEventListener("resize",r)}),d?.(),(b=m)==null||b.disconnect(),m=null,c&&cancelAnimationFrame(g)}}const OO=ZA,PO=QA,NO=GA,MO=JA,jO=qA,Lm=UA,kO=XA,IO=(e,t,r)=>{const n=new Map,o={platform:EO,...r},i={...o.platform,_c:n};return KA(e,t,{...o,platform:i})};var TO=typeof document<"u",_O=function(){},Da=TO?A.useLayoutEffect:_O;function Za(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Za(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const i=o[n];if(!(i==="_owner"&&e.$$typeof)&&!Za(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function lb(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fm(e,t){const r=lb(e);return Math.round(t*r)/r}function yl(e){const t=f.useRef(e);return Da(()=>{t.current=e}),t}function RO(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=f.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=f.useState(n);Za(p,n)||m(n);const[g,v]=f.useState(null),[y,b]=f.useState(null),x=f.useCallback(T=>{T!==S.current&&(S.current=T,v(T))},[]),w=f.useCallback(T=>{T!==O.current&&(O.current=T,b(T))},[]),C=i||g,E=a||y,S=f.useRef(null),O=f.useRef(null),P=f.useRef(u),j=c!=null,D=yl(c),L=yl(o),M=yl(l),k=f.useCallback(()=>{if(!S.current||!O.current)return;const T={placement:t,strategy:r,middleware:p};L.current&&(T.platform=L.current),IO(S.current,O.current,T).then(N=>{const z={...N,isPositioned:M.current!==!1};$.current&&!Za(P.current,z)&&(P.current=z,Gs.flushSync(()=>{d(z)}))})},[p,t,r,L,M]);Da(()=>{l===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(T=>({...T,isPositioned:!1})))},[l]);const $=f.useRef(!1);Da(()=>($.current=!0,()=>{$.current=!1}),[]),Da(()=>{if(C&&(S.current=C),E&&(O.current=E),C&&E){if(D.current)return D.current(C,E,k);k()}},[C,E,k,D,j]);const U=f.useMemo(()=>({reference:S,floating:O,setReference:x,setFloating:w}),[x,w]),W=f.useMemo(()=>({reference:C,floating:E}),[C,E]),H=f.useMemo(()=>{const T={position:r,left:0,top:0};if(!W.floating)return T;const N=Fm(W.floating,u.x),z=Fm(W.floating,u.y);return s?{...T,transform:"translate("+N+"px, "+z+"px)",...lb(W.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:N,top:z}},[r,s,W.floating,u.x,u.y]);return f.useMemo(()=>({...u,update:k,refs:U,elements:W,floatingStyles:H}),[u,k,U,W,H])}const DO=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?Lm({element:n.current,padding:o}).fn(r):{}:n?Lm({element:n,padding:o}).fn(r):{}}}},LO=(e,t)=>({...OO(e),options:[e,t]}),FO=(e,t)=>({...PO(e),options:[e,t]}),BO=(e,t)=>({...kO(e),options:[e,t]}),$O=(e,t)=>({...NO(e),options:[e,t]}),VO=(e,t)=>({...MO(e),options:[e,t]}),zO=(e,t)=>({...jO(e),options:[e,t]}),WO=(e,t)=>({...DO(e),options:[e,t]});var HO="Arrow",ub=f.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...i}=e;return h.jsx(ne.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});ub.displayName=HO;var KO=ub;function db(e){const[t,r]=f.useState(void 0);return tt(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const c=i.borderBoxSize,l=Array.isArray(c)?c[0]:c;a=l.inlineSize,s=l.blockSize}else a=e.offsetWidth,s=e.offsetHeight;r({width:a,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var tp="Popper",[fb,Gr]=Ht(tp),[UO,pb]=fb(tp),mb=e=>{const{__scopePopper:t,children:r}=e,[n,o]=f.useState(null);return h.jsx(UO,{scope:t,anchor:n,onAnchorChange:o,children:r})};mb.displayName=tp;var hb="PopperAnchor",vb=f.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,i=pb(hb,r),a=f.useRef(null),s=ce(t,a),c=f.useRef(null);return f.useEffect(()=>{const l=c.current;c.current=n?.current||a.current,l!==c.current&&i.onAnchorChange(c.current)}),n?null:h.jsx(ne.div,{...o,ref:s})});vb.displayName=hb;var rp="PopperContent",[GO,qO]=fb(rp),gb=f.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:u=0,sticky:d="partial",hideWhenDetached:p=!1,updatePositionStrategy:m="optimized",onPlaced:g,...v}=e,y=pb(rp,r),[b,x]=f.useState(null),w=ce(t,V=>x(V)),[C,E]=f.useState(null),S=db(C),O=S?.width??0,P=S?.height??0,j=n+(i!=="center"?"-"+i:""),D=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},L=Array.isArray(l)?l:[l],M=L.length>0,k={padding:D,boundary:L.filter(ZO),altBoundary:M},{refs:$,floatingStyles:U,placement:W,isPositioned:H,middlewareData:T}=RO({strategy:"fixed",placement:j,whileElementsMounted:(...V)=>AO(...V,{animationFrame:m==="always"}),elements:{reference:y.anchor},middleware:[LO({mainAxis:o+P,alignmentAxis:a}),c&&FO({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?BO():void 0,...k}),c&&$O({...k}),VO({...k,apply:({elements:V,rects:se,availableWidth:_,availableHeight:q})=>{const{width:F,height:R}=se.reference,le=V.floating.style;le.setProperty("--radix-popper-available-width",`${_}px`),le.setProperty("--radix-popper-available-height",`${q}px`),le.setProperty("--radix-popper-anchor-width",`${F}px`),le.setProperty("--radix-popper-anchor-height",`${R}px`)}}),C&&WO({element:C,padding:s}),QO({arrowWidth:O,arrowHeight:P}),p&&zO({strategy:"referenceHidden",...k})]}),[N,z]=xb(W),X=Ft(g);tt(()=>{H&&X?.()},[H,X]);const K=T.arrow?.x,J=T.arrow?.y,ee=T.arrow?.centerOffset!==0,[fe,xe]=f.useState();return tt(()=>{b&&xe(window.getComputedStyle(b).zIndex)},[b]),h.jsx("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:H?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:fe,"--radix-popper-transform-origin":[T.transformOrigin?.x,T.transformOrigin?.y].join(" "),...T.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:h.jsx(GO,{scope:r,placedSide:N,onArrowChange:E,arrowX:K,arrowY:J,shouldHideArrow:ee,children:h.jsx(ne.div,{"data-side":N,"data-align":z,...v,ref:w,style:{...v.style,animation:H?void 0:"none"}})})})});gb.displayName=rp;var yb="PopperArrow",YO={top:"bottom",right:"left",bottom:"top",left:"right"},bb=f.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,i=qO(yb,n),a=YO[i.placedSide];return h.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:h.jsx(KO,{...o,ref:r,style:{...o.style,display:"block"}})})});bb.displayName=yb;function ZO(e){return e!==null}var QO=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:o}=t,a=o.arrow?.centerOffset!==0,s=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[l,u]=xb(r),d={start:"0%",center:"50%",end:"100%"}[u],p=(o.arrow?.x??0)+s/2,m=(o.arrow?.y??0)+c/2;let g="",v="";return l==="bottom"?(g=a?d:`${p}px`,v=`${-c}px`):l==="top"?(g=a?d:`${p}px`,v=`${n.floating.height+c}px`):l==="right"?(g=`${-c}px`,v=a?d:`${m}px`):l==="left"&&(g=`${n.floating.width+c}px`,v=a?d:`${m}px`),{data:{x:g,y:v}}}});function xb(e){const[t,r="center"]=e.split("-");return[t,r]}var Ci=mb,Ei=vb,nc=gb,oc=bb,XO="Portal",Si=f.forwardRef((e,t)=>{const{container:r,...n}=e,[o,i]=f.useState(!1);tt(()=>i(!0),[]);const a=r||o&&globalThis?.document?.body;return a?Nn.createPortal(h.jsx(ne.div,{...n,ref:t}),a):null});Si.displayName=XO;function JO(e){const t=eP(e),r=f.forwardRef((n,o)=>{const{children:i,...a}=n,s=f.Children.toArray(i),c=s.find(rP);if(c){const l=c.props.children,u=s.map(d=>d===c?f.Children.count(l)>1?f.Children.only(null):f.isValidElement(l)?l.props.children:null:d);return h.jsx(t,{...a,ref:o,children:f.isValidElement(l)?f.cloneElement(l,void 0,u):null})}return h.jsx(t,{...a,ref:o,children:i})});return r.displayName=`${e}.Slot`,r}function eP(e){const t=f.forwardRef((r,n)=>{const{children:o,...i}=r;if(f.isValidElement(o)){const a=oP(o),s=nP(i,o.props);return o.type!==f.Fragment&&(s.ref=n?nr(n,a):a),f.cloneElement(o,s)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var tP=Symbol("radix.slottable");function rP(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===tP}function nP(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{const c=i(...s);return o(...s),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function oP(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function wb(e){const t=f.useRef({value:e,previous:e});return f.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Cb=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),iP="VisuallyHidden",Eb=f.forwardRef((e,t)=>h.jsx(ne.span,{...e,ref:t,style:{...Cb,...e.style}}));Eb.displayName=iP;var aP=Eb,sP=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ln=new WeakMap,aa=new WeakMap,sa={},bl=0,Sb=function(e){return e&&(e.host||Sb(e.parentNode))},cP=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Sb(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},lP=function(e,t,r,n){var o=cP(t,Array.isArray(e)?e:[e]);sa[r]||(sa[r]=new WeakMap);var i=sa[r],a=[],s=new Set,c=new Set(o),l=function(d){!d||s.has(d)||(s.add(d),l(d.parentNode))};o.forEach(l);var u=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))u(p);else try{var m=p.getAttribute(n),g=m!==null&&m!=="false",v=(Ln.get(p)||0)+1,y=(i.get(p)||0)+1;Ln.set(p,v),i.set(p,y),a.push(p),v===1&&g&&aa.set(p,!0),y===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}catch(b){console.error("aria-hidden: cannot operate on ",p,b)}})};return u(t),s.clear(),bl++,function(){a.forEach(function(d){var p=Ln.get(d)-1,m=i.get(d)-1;Ln.set(d,p),i.set(d,m),p||(aa.has(d)||d.removeAttribute(n),aa.delete(d)),m||d.removeAttribute(r)}),bl--,bl||(Ln=new WeakMap,Ln=new WeakMap,aa=new WeakMap,sa={})}},Ai=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=sP(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),lP(n,o,r,"aria-hidden")):function(){return null}},et=function(){return et=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},et.apply(this,arguments)};function np(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Ab(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var qo="right-scroll-bar-position",Yo="width-before-scroll-bar",uP="with-scroll-bars-hidden",dP="--removed-body-scroll-bar-size";function xl(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function fP(e,t){var r=A.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var pP=typeof window<"u"?f.useLayoutEffect:f.useEffect,Bm=new WeakMap;function Ob(e,t){var r=fP(null,function(n){return e.forEach(function(o){return xl(o,n)})});return pP(function(){var n=Bm.get(r);if(n){var o=new Set(n),i=new Set(e),a=r.current;o.forEach(function(s){i.has(s)||xl(s,null)}),i.forEach(function(s){o.has(s)||xl(s,a)})}Bm.set(r,e)},[e]),r}function mP(e){return e}function hP(e,t){t===void 0&&(t=mP);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var a=t(i,n);return r.push(a),function(){r=r.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(n=!0;r.length;){var a=r;r=[],a.forEach(i)}r={push:function(s){return i(s)},filter:function(){return r}}},assignMedium:function(i){n=!0;var a=[];if(r.length){var s=r;r=[],s.forEach(i),a=r}var c=function(){var u=a;a=[],u.forEach(i)},l=function(){return Promise.resolve().then(c)};l(),r={push:function(u){a.push(u),l()},filter:function(u){return a=a.filter(u),r}}}};return o}function Pb(e){e===void 0&&(e={});var t=hP(null);return t.options=et({async:!0,ssr:!1},e),t}var Nb=function(e){var t=e.sideCar,r=np(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return f.createElement(n,et({},r))};Nb.isSideCarExport=!0;function Mb(e,t){return e.useMedium(t),Nb}var jb=Pb(),wl=function(){},ic=f.forwardRef(function(e,t){var r=f.useRef(null),n=f.useState({onScrollCapture:wl,onWheelCapture:wl,onTouchMoveCapture:wl}),o=n[0],i=n[1],a=e.forwardProps,s=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,p=e.sideCar,m=e.noRelative,g=e.noIsolation,v=e.inert,y=e.allowPinchZoom,b=e.as,x=b===void 0?"div":b,w=e.gapMode,C=np(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=p,S=Ob([r,t]),O=et(et({},C),o);return f.createElement(f.Fragment,null,u&&f.createElement(E,{sideCar:jb,removeScrollBar:l,shards:d,noRelative:m,noIsolation:g,inert:v,setCallbacks:i,allowPinchZoom:!!y,lockRef:r,gapMode:w}),a?f.cloneElement(f.Children.only(s),et(et({},O),{ref:S})):f.createElement(x,et({},O,{className:c,ref:S}),s))});ic.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ic.classNames={fullWidth:Yo,zeroRight:qo};var vP=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function gP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=vP();return t&&e.setAttribute("nonce",t),e}function yP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function bP(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var xP=function(){var e=0,t=null;return{add:function(r){e==0&&(t=gP())&&(yP(t,r),bP(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},wP=function(){var e=xP();return function(t,r){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},op=function(){var e=wP(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},CP={left:0,top:0,right:0,gap:0},Cl=function(e){return parseInt(e||"",10)||0},EP=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Cl(r),Cl(n),Cl(o)]},SP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return CP;var t=EP(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},AP=op(),Yn="data-scroll-locked",OP=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return r===void 0&&(r="margin"),`
|
|
14
|
+
.`.concat(uP,` {
|
|
15
|
+
overflow: hidden `).concat(n,`;
|
|
16
|
+
padding-right: `).concat(s,"px ").concat(n,`;
|
|
17
|
+
}
|
|
18
|
+
body[`).concat(Yn,`] {
|
|
19
|
+
overflow: hidden `).concat(n,`;
|
|
20
|
+
overscroll-behavior: contain;
|
|
21
|
+
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
|
|
22
|
+
padding-left: `.concat(o,`px;
|
|
23
|
+
padding-top: `).concat(i,`px;
|
|
24
|
+
padding-right: `).concat(a,`px;
|
|
25
|
+
margin-left:0;
|
|
26
|
+
margin-top:0;
|
|
27
|
+
margin-right: `).concat(s,"px ").concat(n,`;
|
|
28
|
+
`),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.`).concat(qo,` {
|
|
32
|
+
right: `).concat(s,"px ").concat(n,`;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.`).concat(Yo,` {
|
|
36
|
+
margin-right: `).concat(s,"px ").concat(n,`;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.`).concat(qo," .").concat(qo,` {
|
|
40
|
+
right: 0 `).concat(n,`;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.`).concat(Yo," .").concat(Yo,` {
|
|
44
|
+
margin-right: 0 `).concat(n,`;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
body[`).concat(Yn,`] {
|
|
48
|
+
`).concat(dP,": ").concat(s,`px;
|
|
49
|
+
}
|
|
50
|
+
`)},$m=function(){var e=parseInt(document.body.getAttribute(Yn)||"0",10);return isFinite(e)?e:0},PP=function(){f.useEffect(function(){return document.body.setAttribute(Yn,($m()+1).toString()),function(){var e=$m()-1;e<=0?document.body.removeAttribute(Yn):document.body.setAttribute(Yn,e.toString())}},[])},kb=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;PP();var i=f.useMemo(function(){return SP(o)},[o]);return f.createElement(AP,{styles:OP(i,!t,o,r?"":"!important")})},hd=!1;if(typeof window<"u")try{var ca=Object.defineProperty({},"passive",{get:function(){return hd=!0,!0}});window.addEventListener("test",ca,ca),window.removeEventListener("test",ca,ca)}catch{hd=!1}var Fn=hd?{passive:!1}:!1,NP=function(e){return e.tagName==="TEXTAREA"},Ib=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!NP(e)&&r[t]==="visible")},MP=function(e){return Ib(e,"overflowY")},jP=function(e){return Ib(e,"overflowX")},Vm=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=Tb(e,n);if(o){var i=_b(e,n),a=i[1],s=i[2];if(a>s)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},kP=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},IP=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Tb=function(e,t){return e==="v"?MP(t):jP(t)},_b=function(e,t){return e==="v"?kP(t):IP(t)},TP=function(e,t){return e==="h"&&t==="rtl"?-1:1},_P=function(e,t,r,n,o){var i=TP(e,window.getComputedStyle(t).direction),a=i*n,s=r.target,c=t.contains(s),l=!1,u=a>0,d=0,p=0;do{if(!s)break;var m=_b(e,s),g=m[0],v=m[1],y=m[2],b=v-y-i*g;(g||b)&&Tb(e,s)&&(d+=b,p+=g);var x=s.parentNode;s=x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?x.host:x}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&Math.abs(d)<1||!u&&Math.abs(p)<1)&&(l=!0),l},la=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},zm=function(e){return[e.deltaX,e.deltaY]},Wm=function(e){return e&&"current"in e?e.current:e},RP=function(e,t){return e[0]===t[0]&&e[1]===t[1]},DP=function(e){return`
|
|
51
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
52
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
53
|
+
`)},LP=0,Bn=[];function FP(e){var t=f.useRef([]),r=f.useRef([0,0]),n=f.useRef(),o=f.useState(LP++)[0],i=f.useState(op)[0],a=f.useRef(e);f.useEffect(function(){a.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=Ab([e.lockRef.current],(e.shards||[]).map(Wm),!0).filter(Boolean);return v.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=f.useCallback(function(v,y){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!a.current.allowPinchZoom;var b=la(v),x=r.current,w="deltaX"in v?v.deltaX:x[0]-b[0],C="deltaY"in v?v.deltaY:x[1]-b[1],E,S=v.target,O=Math.abs(w)>Math.abs(C)?"h":"v";if("touches"in v&&O==="h"&&S.type==="range")return!1;var P=window.getSelection(),j=P&&P.anchorNode,D=j?j===S||j.contains(S):!1;if(D)return!1;var L=Vm(O,S);if(!L)return!0;if(L?E=O:(E=O==="v"?"h":"v",L=Vm(O,S)),!L)return!1;if(!n.current&&"changedTouches"in v&&(w||C)&&(n.current=E),!E)return!0;var M=n.current||E;return _P(M,y,v,M==="h"?w:C)},[]),c=f.useCallback(function(v){var y=v;if(!(!Bn.length||Bn[Bn.length-1]!==i)){var b="deltaY"in y?zm(y):la(y),x=t.current.filter(function(E){return E.name===y.type&&(E.target===y.target||y.target===E.shadowParent)&&RP(E.delta,b)})[0];if(x&&x.should){y.cancelable&&y.preventDefault();return}if(!x){var w=(a.current.shards||[]).map(Wm).filter(Boolean).filter(function(E){return E.contains(y.target)}),C=w.length>0?s(y,w[0]):!a.current.noIsolation;C&&y.cancelable&&y.preventDefault()}}},[]),l=f.useCallback(function(v,y,b,x){var w={name:v,delta:y,target:b,should:x,shadowParent:BP(b)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),u=f.useCallback(function(v){r.current=la(v),n.current=void 0},[]),d=f.useCallback(function(v){l(v.type,zm(v),v.target,s(v,e.lockRef.current))},[]),p=f.useCallback(function(v){l(v.type,la(v),v.target,s(v,e.lockRef.current))},[]);f.useEffect(function(){return Bn.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Fn),document.addEventListener("touchmove",c,Fn),document.addEventListener("touchstart",u,Fn),function(){Bn=Bn.filter(function(v){return v!==i}),document.removeEventListener("wheel",c,Fn),document.removeEventListener("touchmove",c,Fn),document.removeEventListener("touchstart",u,Fn)}},[]);var m=e.removeScrollBar,g=e.inert;return f.createElement(f.Fragment,null,g?f.createElement(i,{styles:DP(o)}):null,m?f.createElement(kb,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function BP(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const $P=Mb(jb,FP);var Oi=f.forwardRef(function(e,t){return f.createElement(ic,et({},e,{ref:t,sideCar:$P}))});Oi.classNames=ic.classNames;var VP=[" ","Enter","ArrowUp","ArrowDown"],zP=[" ","Enter"],gn="Select",[ac,sc,WP]=Gf(gn),[wo]=Ht(gn,[WP,Gr]),cc=Gr(),[HP,qr]=wo(gn),[KP,UP]=wo(gn),Rb=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:c,dir:l,name:u,autoComplete:d,disabled:p,required:m,form:g}=e,v=cc(t),[y,b]=f.useState(null),[x,w]=f.useState(null),[C,E]=f.useState(!1),S=Ys(l),[O,P]=Xt({prop:n,defaultProp:o??!1,onChange:i,caller:gn}),[j,D]=Xt({prop:a,defaultProp:s,onChange:c,caller:gn}),L=f.useRef(null),M=y?g||!!y.closest("form"):!0,[k,$]=f.useState(new Set),U=Array.from(k).map(W=>W.props.value).join(";");return h.jsx(Ci,{...v,children:h.jsxs(HP,{required:m,scope:t,trigger:y,onTriggerChange:b,valueNode:x,onValueNodeChange:w,valueNodeHasChildren:C,onValueNodeHasChildrenChange:E,contentId:dt(),value:j,onValueChange:D,open:O,onOpenChange:P,dir:S,triggerPointerDownPosRef:L,disabled:p,children:[h.jsx(ac.Provider,{scope:t,children:h.jsx(KP,{scope:e.__scopeSelect,onNativeOptionAdd:f.useCallback(W=>{$(H=>new Set(H).add(W))},[]),onNativeOptionRemove:f.useCallback(W=>{$(H=>{const T=new Set(H);return T.delete(W),T})},[]),children:r})}),M?h.jsxs(ox,{"aria-hidden":!0,required:m,tabIndex:-1,name:u,autoComplete:d,value:j,onChange:W=>D(W.target.value),disabled:p,form:g,children:[j===void 0?h.jsx("option",{value:""}):null,Array.from(k)]},U):null]})})};Rb.displayName=gn;var Db="SelectTrigger",Lb=f.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,i=cc(r),a=qr(Db,r),s=a.disabled||n,c=ce(t,a.onTriggerChange),l=sc(r),u=f.useRef("touch"),[d,p,m]=ax(v=>{const y=l().filter(w=>!w.disabled),b=y.find(w=>w.value===a.value),x=sx(y,v,b);x!==void 0&&a.onValueChange(x.value)}),g=v=>{s||(a.onOpenChange(!0),m()),v&&(a.triggerPointerDownPosRef.current={x:Math.round(v.pageX),y:Math.round(v.pageY)})};return h.jsx(Ei,{asChild:!0,...i,children:h.jsx(ne.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":ix(a.value)?"":void 0,...o,ref:c,onClick:G(o.onClick,v=>{v.currentTarget.focus(),u.current!=="mouse"&&g(v)}),onPointerDown:G(o.onPointerDown,v=>{u.current=v.pointerType;const y=v.target;y.hasPointerCapture(v.pointerId)&&y.releasePointerCapture(v.pointerId),v.button===0&&v.ctrlKey===!1&&v.pointerType==="mouse"&&(g(v),v.preventDefault())}),onKeyDown:G(o.onKeyDown,v=>{const y=d.current!=="";!(v.ctrlKey||v.altKey||v.metaKey)&&v.key.length===1&&p(v.key),!(y&&v.key===" ")&&VP.includes(v.key)&&(g(),v.preventDefault())})})})});Lb.displayName=Db;var Fb="SelectValue",Bb=f.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:a="",...s}=e,c=qr(Fb,r),{onValueNodeHasChildrenChange:l}=c,u=i!==void 0,d=ce(t,c.onValueNodeChange);return tt(()=>{l(u)},[l,u]),h.jsx(ne.span,{...s,ref:d,style:{pointerEvents:"none"},children:ix(c.value)?h.jsx(h.Fragment,{children:a}):i})});Bb.displayName=Fb;var GP="SelectIcon",qP=f.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return h.jsx(ne.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});qP.displayName=GP;var YP="SelectPortal",$b=e=>h.jsx(Si,{asChild:!0,...e});$b.displayName=YP;var yn="SelectContent",Vb=f.forwardRef((e,t)=>{const r=qr(yn,e.__scopeSelect),[n,o]=f.useState();if(tt(()=>{o(new DocumentFragment)},[]),!r.open){const i=n;return i?Gs.createPortal(h.jsx(zb,{scope:e.__scopeSelect,children:h.jsx(ac.Slot,{scope:e.__scopeSelect,children:h.jsx("div",{children:e.children})})}),i):null}return h.jsx(Wb,{...e,ref:t})});Vb.displayName=yn;var Rt=10,[zb,Yr]=wo(yn),ZP="SelectContentImpl",QP=JO("SelectContent.RemoveScroll"),Wb=f.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:a,side:s,sideOffset:c,align:l,alignOffset:u,arrowPadding:d,collisionBoundary:p,collisionPadding:m,sticky:g,hideWhenDetached:v,avoidCollisions:y,...b}=e,x=qr(yn,r),[w,C]=f.useState(null),[E,S]=f.useState(null),O=ce(t,V=>C(V)),[P,j]=f.useState(null),[D,L]=f.useState(null),M=sc(r),[k,$]=f.useState(!1),U=f.useRef(!1);f.useEffect(()=>{if(w)return Ai(w)},[w]),Xs();const W=f.useCallback(V=>{const[se,..._]=M().map(R=>R.ref.current),[q]=_.slice(-1),F=document.activeElement;for(const R of V)if(R===F||(R?.scrollIntoView({block:"nearest"}),R===se&&E&&(E.scrollTop=0),R===q&&E&&(E.scrollTop=E.scrollHeight),R?.focus(),document.activeElement!==F))return},[M,E]),H=f.useCallback(()=>W([P,w]),[W,P,w]);f.useEffect(()=>{k&&H()},[k,H]);const{onOpenChange:T,triggerPointerDownPosRef:N}=x;f.useEffect(()=>{if(w){let V={x:0,y:0};const se=q=>{V={x:Math.abs(Math.round(q.pageX)-(N.current?.x??0)),y:Math.abs(Math.round(q.pageY)-(N.current?.y??0))}},_=q=>{V.x<=10&&V.y<=10?q.preventDefault():w.contains(q.target)||T(!1),document.removeEventListener("pointermove",se),N.current=null};return N.current!==null&&(document.addEventListener("pointermove",se),document.addEventListener("pointerup",_,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",se),document.removeEventListener("pointerup",_,{capture:!0})}}},[w,T,N]),f.useEffect(()=>{const V=()=>T(!1);return window.addEventListener("blur",V),window.addEventListener("resize",V),()=>{window.removeEventListener("blur",V),window.removeEventListener("resize",V)}},[T]);const[z,X]=ax(V=>{const se=M().filter(F=>!F.disabled),_=se.find(F=>F.ref.current===document.activeElement),q=sx(se,V,_);q&&setTimeout(()=>q.ref.current.focus())}),K=f.useCallback((V,se,_)=>{const q=!U.current&&!_;(x.value!==void 0&&x.value===se||q)&&(j(V),q&&(U.current=!0))},[x.value]),J=f.useCallback(()=>w?.focus(),[w]),ee=f.useCallback((V,se,_)=>{const q=!U.current&&!_;(x.value!==void 0&&x.value===se||q)&&L(V)},[x.value]),fe=n==="popper"?vd:Hb,xe=fe===vd?{side:s,sideOffset:c,align:l,alignOffset:u,arrowPadding:d,collisionBoundary:p,collisionPadding:m,sticky:g,hideWhenDetached:v,avoidCollisions:y}:{};return h.jsx(zb,{scope:r,content:w,viewport:E,onViewportChange:S,itemRefCallback:K,selectedItem:P,onItemLeave:J,itemTextRefCallback:ee,focusSelectedItem:H,selectedItemText:D,position:n,isPositioned:k,searchRef:z,children:h.jsx(Oi,{as:QP,allowPinchZoom:!0,children:h.jsx(xi,{asChild:!0,trapped:x.open,onMountAutoFocus:V=>{V.preventDefault()},onUnmountAutoFocus:G(o,V=>{x.trigger?.focus({preventScroll:!0}),V.preventDefault()}),children:h.jsx(yo,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:V=>V.preventDefault(),onDismiss:()=>x.onOpenChange(!1),children:h.jsx(fe,{role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:V=>V.preventDefault(),...b,...xe,onPlaced:()=>$(!0),ref:O,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:G(b.onKeyDown,V=>{const se=V.ctrlKey||V.altKey||V.metaKey;if(V.key==="Tab"&&V.preventDefault(),!se&&V.key.length===1&&X(V.key),["ArrowUp","ArrowDown","Home","End"].includes(V.key)){let q=M().filter(F=>!F.disabled).map(F=>F.ref.current);if(["ArrowUp","End"].includes(V.key)&&(q=q.slice().reverse()),["ArrowUp","ArrowDown"].includes(V.key)){const F=V.target,R=q.indexOf(F);q=q.slice(R+1)}setTimeout(()=>W(q)),V.preventDefault()}})})})})})})});Wb.displayName=ZP;var XP="SelectItemAlignedPosition",Hb=f.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,i=qr(yn,r),a=Yr(yn,r),[s,c]=f.useState(null),[l,u]=f.useState(null),d=ce(t,O=>u(O)),p=sc(r),m=f.useRef(!1),g=f.useRef(!0),{viewport:v,selectedItem:y,selectedItemText:b,focusSelectedItem:x}=a,w=f.useCallback(()=>{if(i.trigger&&i.valueNode&&s&&l&&v&&y&&b){const O=i.trigger.getBoundingClientRect(),P=l.getBoundingClientRect(),j=i.valueNode.getBoundingClientRect(),D=b.getBoundingClientRect();if(i.dir!=="rtl"){const F=D.left-P.left,R=j.left-F,le=O.left-R,ae=O.width+le,Ke=Math.max(ae,P.width),Ue=window.innerWidth-Rt,_t=xm(R,[Rt,Math.max(Rt,Ue-Ke)]);s.style.minWidth=ae+"px",s.style.left=_t+"px"}else{const F=P.right-D.right,R=window.innerWidth-j.right-F,le=window.innerWidth-O.right-R,ae=O.width+le,Ke=Math.max(ae,P.width),Ue=window.innerWidth-Rt,_t=xm(R,[Rt,Math.max(Rt,Ue-Ke)]);s.style.minWidth=ae+"px",s.style.right=_t+"px"}const L=p(),M=window.innerHeight-Rt*2,k=v.scrollHeight,$=window.getComputedStyle(l),U=parseInt($.borderTopWidth,10),W=parseInt($.paddingTop,10),H=parseInt($.borderBottomWidth,10),T=parseInt($.paddingBottom,10),N=U+W+k+T+H,z=Math.min(y.offsetHeight*5,N),X=window.getComputedStyle(v),K=parseInt(X.paddingTop,10),J=parseInt(X.paddingBottom,10),ee=O.top+O.height/2-Rt,fe=M-ee,xe=y.offsetHeight/2,V=y.offsetTop+xe,se=U+W+V,_=N-se;if(se<=ee){const F=L.length>0&&y===L[L.length-1].ref.current;s.style.bottom="0px";const R=l.clientHeight-v.offsetTop-v.offsetHeight,le=Math.max(fe,xe+(F?J:0)+R+H),ae=se+le;s.style.height=ae+"px"}else{const F=L.length>0&&y===L[0].ref.current;s.style.top="0px";const le=Math.max(ee,U+v.offsetTop+(F?K:0)+xe)+_;s.style.height=le+"px",v.scrollTop=se-ee+v.offsetTop}s.style.margin=`${Rt}px 0`,s.style.minHeight=z+"px",s.style.maxHeight=M+"px",n?.(),requestAnimationFrame(()=>m.current=!0)}},[p,i.trigger,i.valueNode,s,l,v,y,b,i.dir,n]);tt(()=>w(),[w]);const[C,E]=f.useState();tt(()=>{l&&E(window.getComputedStyle(l).zIndex)},[l]);const S=f.useCallback(O=>{O&&g.current===!0&&(w(),x?.(),g.current=!1)},[w,x]);return h.jsx(eN,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:m,onScrollButtonChange:S,children:h.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:h.jsx(ne.div,{...o,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Hb.displayName=XP;var JP="SelectPopperPosition",vd=f.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Rt,...i}=e,a=cc(r);return h.jsx(nc,{...a,...i,ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});vd.displayName=JP;var[eN,ip]=wo(yn,{}),gd="SelectViewport",Kb=f.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...o}=e,i=Yr(gd,r),a=ip(gd,r),s=ce(t,i.onViewportChange),c=f.useRef(0);return h.jsxs(h.Fragment,{children:[h.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),h.jsx(ac.Slot,{scope:r,children:h.jsx(ne.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:G(o.onScroll,l=>{const u=l.currentTarget,{contentWrapper:d,shouldExpandOnScrollRef:p}=a;if(p?.current&&d){const m=Math.abs(c.current-u.scrollTop);if(m>0){const g=window.innerHeight-Rt*2,v=parseFloat(d.style.minHeight),y=parseFloat(d.style.height),b=Math.max(v,y);if(b<g){const x=b+m,w=Math.min(g,x),C=x-w;d.style.height=w+"px",d.style.bottom==="0px"&&(u.scrollTop=C>0?C:0,d.style.justifyContent="flex-end")}}}c.current=u.scrollTop})})})]})});Kb.displayName=gd;var Ub="SelectGroup",[tN,rN]=wo(Ub),nN=f.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=dt();return h.jsx(tN,{scope:r,id:o,children:h.jsx(ne.div,{role:"group","aria-labelledby":o,...n,ref:t})})});nN.displayName=Ub;var Gb="SelectLabel",qb=f.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=rN(Gb,r);return h.jsx(ne.div,{id:o.id,...n,ref:t})});qb.displayName=Gb;var Qa="SelectItem",[oN,Yb]=wo(Qa),Zb=f.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...a}=e,s=qr(Qa,r),c=Yr(Qa,r),l=s.value===n,[u,d]=f.useState(i??""),[p,m]=f.useState(!1),g=ce(t,x=>c.itemRefCallback?.(x,n,o)),v=dt(),y=f.useRef("touch"),b=()=>{o||(s.onValueChange(n),s.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return h.jsx(oN,{scope:r,value:n,disabled:o,textId:v,isSelected:l,onItemTextChange:f.useCallback(x=>{d(w=>w||(x?.textContent??"").trim())},[]),children:h.jsx(ac.ItemSlot,{scope:r,value:n,disabled:o,textValue:u,children:h.jsx(ne.div,{role:"option","aria-labelledby":v,"data-highlighted":p?"":void 0,"aria-selected":l&&p,"data-state":l?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...a,ref:g,onFocus:G(a.onFocus,()=>m(!0)),onBlur:G(a.onBlur,()=>m(!1)),onClick:G(a.onClick,()=>{y.current!=="mouse"&&b()}),onPointerUp:G(a.onPointerUp,()=>{y.current==="mouse"&&b()}),onPointerDown:G(a.onPointerDown,x=>{y.current=x.pointerType}),onPointerMove:G(a.onPointerMove,x=>{y.current=x.pointerType,o?c.onItemLeave?.():y.current==="mouse"&&x.currentTarget.focus({preventScroll:!0})}),onPointerLeave:G(a.onPointerLeave,x=>{x.currentTarget===document.activeElement&&c.onItemLeave?.()}),onKeyDown:G(a.onKeyDown,x=>{c.searchRef?.current!==""&&x.key===" "||(zP.includes(x.key)&&b(),x.key===" "&&x.preventDefault())})})})})});Zb.displayName=Qa;var Wo="SelectItemText",Qb=f.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...i}=e,a=qr(Wo,r),s=Yr(Wo,r),c=Yb(Wo,r),l=UP(Wo,r),[u,d]=f.useState(null),p=ce(t,b=>d(b),c.onItemTextChange,b=>s.itemTextRefCallback?.(b,c.value,c.disabled)),m=u?.textContent,g=f.useMemo(()=>h.jsx("option",{value:c.value,disabled:c.disabled,children:m},c.value),[c.disabled,c.value,m]),{onNativeOptionAdd:v,onNativeOptionRemove:y}=l;return tt(()=>(v(g),()=>y(g)),[v,y,g]),h.jsxs(h.Fragment,{children:[h.jsx(ne.span,{id:c.textId,...i,ref:p}),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Gs.createPortal(i.children,a.valueNode):null]})});Qb.displayName=Wo;var Xb="SelectItemIndicator",Jb=f.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Yb(Xb,r).isSelected?h.jsx(ne.span,{"aria-hidden":!0,...n,ref:t}):null});Jb.displayName=Xb;var yd="SelectScrollUpButton",ex=f.forwardRef((e,t)=>{const r=Yr(yd,e.__scopeSelect),n=ip(yd,e.__scopeSelect),[o,i]=f.useState(!1),a=ce(t,n.onScrollButtonChange);return tt(()=>{if(r.viewport&&r.isPositioned){let s=function(){const l=c.scrollTop>0;i(l)};const c=r.viewport;return s(),c.addEventListener("scroll",s),()=>c.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),o?h.jsx(rx,{...e,ref:a,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop-c.offsetHeight)}}):null});ex.displayName=yd;var bd="SelectScrollDownButton",tx=f.forwardRef((e,t)=>{const r=Yr(bd,e.__scopeSelect),n=ip(bd,e.__scopeSelect),[o,i]=f.useState(!1),a=ce(t,n.onScrollButtonChange);return tt(()=>{if(r.viewport&&r.isPositioned){let s=function(){const l=c.scrollHeight-c.clientHeight,u=Math.ceil(c.scrollTop)<l;i(u)};const c=r.viewport;return s(),c.addEventListener("scroll",s),()=>c.removeEventListener("scroll",s)}},[r.viewport,r.isPositioned]),o?h.jsx(rx,{...e,ref:a,onAutoScroll:()=>{const{viewport:s,selectedItem:c}=r;s&&c&&(s.scrollTop=s.scrollTop+c.offsetHeight)}}):null});tx.displayName=bd;var rx=f.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,i=Yr("SelectScrollButton",r),a=f.useRef(null),s=sc(r),c=f.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return f.useEffect(()=>()=>c(),[c]),tt(()=>{s().find(u=>u.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[s]),h.jsx(ne.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:G(o.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(n,50))}),onPointerMove:G(o.onPointerMove,()=>{i.onItemLeave?.(),a.current===null&&(a.current=window.setInterval(n,50))}),onPointerLeave:G(o.onPointerLeave,()=>{c()})})}),iN="SelectSeparator",nx=f.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return h.jsx(ne.div,{"aria-hidden":!0,...n,ref:t})});nx.displayName=iN;var xd="SelectArrow",aN=f.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=cc(r),i=qr(xd,r),a=Yr(xd,r);return i.open&&a.position==="popper"?h.jsx(oc,{...o,...n,ref:t}):null});aN.displayName=xd;var sN="SelectBubbleInput",ox=f.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const o=f.useRef(null),i=ce(n,o),a=wb(t);return f.useEffect(()=>{const s=o.current;if(!s)return;const c=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(c,"value").set;if(a!==t&&u){const d=new Event("change",{bubbles:!0});u.call(s,t),s.dispatchEvent(d)}},[a,t]),h.jsx(ne.select,{...r,style:{...Cb,...r.style},ref:i,defaultValue:t})});ox.displayName=sN;function ix(e){return e===""||e===void 0}function ax(e){const t=Ft(e),r=f.useRef(""),n=f.useRef(0),o=f.useCallback(a=>{const s=r.current+a;t(s),(function c(l){r.current=l,window.clearTimeout(n.current),l!==""&&(n.current=window.setTimeout(()=>c(""),1e3))})(s)},[t]),i=f.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return f.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function sx(e,t,r){const o=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let a=cN(e,Math.max(i,0));o.length===1&&(a=a.filter(l=>l!==r));const c=a.find(l=>l.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function cN(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var lN=Rb,cx=Lb,uN=Bb,dN=$b,lx=Vb,fN=Kb,ux=qb,dx=Zb,pN=Qb,mN=Jb,fx=ex,px=tx,mx=nx;const hN=lN,vN=uN,hx=f.forwardRef(({className:e,children:t,...r},n)=>h.jsx(cx,{ref:n,className:B("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-sm border border-input bg-transparent text-sm shadow-sm data-[placeholder]:text-muted-foreground focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:t}));hx.displayName=cx.displayName;const vx=f.forwardRef(({className:e,...t},r)=>h.jsx(fx,{ref:r,className:B("flex cursor-default items-center justify-center py-1",e),...t,children:h.jsx(O9,{className:"h-4 w-4"})}));vx.displayName=fx.displayName;const gx=f.forwardRef(({className:e,...t},r)=>h.jsx(px,{ref:r,className:B("flex cursor-default items-center justify-center py-1",e),...t,children:h.jsx(qs,{className:"h-4 w-4"})}));gx.displayName=px.displayName;const yx=f.forwardRef(({className:e,children:t,position:r="popper",...n},o)=>h.jsx(dN,{children:h.jsxs(lx,{ref:o,className:B("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...n,children:[h.jsx(vx,{}),h.jsx(fN,{className:B("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),h.jsx(gx,{})]})}));yx.displayName=lx.displayName;const gN=f.forwardRef(({className:e,...t},r)=>h.jsx(ux,{ref:r,className:B("px-2 py-1.5 text-sm font-semibold",e),...t}));gN.displayName=ux.displayName;const bx=f.forwardRef(({className:e,children:t,...r},n)=>h.jsxs(dx,{ref:n,className:B("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[h.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:h.jsx(mN,{children:h.jsx(Wf,{className:"h-4 w-4"})})}),h.jsx(pN,{children:t})]}));bx.displayName=dx.displayName;const yN=f.forwardRef(({className:e,...t},r)=>h.jsx(mx,{ref:r,className:B("-mx-1 my-1 h-px bg-muted",e),...t}));yN.displayName=mx.displayName;const bN={sm:"h-8 text-sm",md:"h-10 text-md",lg:"h-12 text-lg"},xN=({options:e,placeholder:t="Filters: No active",value:r,onValueChange:n,className:o,size:i="md"})=>h.jsxs(hN,{value:r,onValueChange:n,children:[h.jsxs(hx,{className:B("flex w-full items-center rounded-md border bg-background px-0","text-base",bN[i],o),children:[h.jsx("div",{className:"flex h-full items-center px-3 py-2",children:h.jsx(ke,{name:"filter",size:"md"})}),h.jsx("div",{className:"h-full w-0.5 bg-border"}),h.jsxs("div",{className:"flex flex-1 items-center justify-between px-3 py-2 gap-2",children:[h.jsx(vN,{placeholder:t,className:"text-muted-foreground !text-label-sm font-medium "}),h.jsx(qs,{className:"h-5 w-5 text-muted-foreground"})]})]}),h.jsx(yx,{align:"start",children:e.map(a=>h.jsx(bx,{value:a.value&&a.value.length>0?a.value:"",children:a.label},a.value))})]}),wN=Wt("inline-flex items-center rounded-md border px-[5px] py-[3px] text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function CN({className:e,variant:t,...r}){return h.jsx("div",{className:B(wN({variant:t}),e),...r})}const EN=Wt("inline-flex items-center gap-[6px] h-[22px] rounded font-mono font-semibold tracking-[-0.1[px]] uppercase whitespace-nowrap text-current",{variants:{status:{preview:"bg-blue-50 !text-blue-600 hover:bg-blue-50",progress:"bg-orange-50 !text-orange-600 hover:bg-orange-50",completed:"bg-green-50 !text-teal-600 hover:bg-green-50"},size:{lg:"text-m-lg px-3 py-2",md:"text-m-md px-[5px] py-[3px]",sm:"text-m-sm px-2.5 py-1",xs:"text-m-xs px-2 py-0.5"}},defaultVariants:{status:"preview",size:"md"}}),SN={preview:"bg-blue-600",progress:"bg-orange-600",completed:"bg-teal-600"};function AN({className:e,status:t,size:r,label:n,...o}){return h.jsxs(CN,{className:B(EN({status:t,size:r}),e),...o,children:[h.jsx("span",{className:B("h-[6px] w-[6px] rounded-full",SN[t??"preview"])}),n]})}const ON={abtest:{label:"A/B TEST",icon:"3d-move",size:"md",class:"fill-strong"},redirecttest:{label:"REDIRECT TEST",icon:"redirect",size:"md",class:"fill-strong"},mabtest:{label:"MAB TEST",icon:"brain",size:"sm",class:"fill-strong"},personalization:{label:"PERSONALIZATION",icon:"bulb",size:"sm",class:""},pricetest:{label:"PRICE TEST",icon:"moneyBag",size:"sm",class:"fill-strong"},checkouttest:{label:"CHECKOUT TEST",icon:"checkout",size:"sm",class:"fill-strong"}},PN=Wt("inline-flex items-center gap-[6px] rounded- px-[5px] py-[3px] text-sm font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 ring-offset-background bg-soft text-strong",{variants:{size:{default:"h-[22px] text-xs",sm:"h-6 text-[10px] px-2",lg:"h-8 text-sm px-3"}},defaultVariants:{size:"default"}}),Hm=(e,t,r)=>{if(!e)return null;if(typeof e=="string"&&e in vy)return h.jsx(ke,{name:e,className:B(r,"text-strong"),size:t});if(typeof e=="function"){const n=e;return h.jsx(n,{className:B(r)})}return h.jsx("span",{className:B("flex items-center",r),children:e})};function xx({className:e,size:t,type:r,label:n,startIcon:o,endIcon:i,children:a,font:s="bold",fontFamily:c="mono",...l}){const u=r?ON[r]:null,d=u?.label||n||a,p=u?.icon||o,m=u?.size;return h.jsxs("div",{className:B(PN({size:t}),e),...l,children:[Hm(p,m,u?.class),h.jsx(Qe,{variant:"xs",font:s,fontFamily:c,children:d}),Hm(i)]})}const NN=Wt("inline-flex items-center justify-center font-medium whitespace-nowrap transition-colors",{variants:{variant:{pill:"rounded p-1 text-sm",text:"text-base bg-transparent p-0 w-[75px] h-[20px]"},sentiment:{positive:"",negative:"",neutral:"text-muted-foreground bg-muted/50"}},compoundVariants:[{variant:"pill",sentiment:"positive",className:"bg-green-50 text-green-600"},{variant:"pill",sentiment:"negative",className:"bg-red-50 text-red-600"},{variant:"text",sentiment:"positive",className:"text-green-700"},{variant:"text",sentiment:"negative",className:"text-red-700"}],defaultVariants:{variant:"pill",sentiment:"neutral"}});function ap({className:e,variant:t,value:r,percentage:n,format:o,size:i,...a}){const s=r>0?"positive":r<0?"negative":"neutral",c=f.useMemo(()=>o?o(r):`${r>0?"+":""}${r}${n?"%":""}`,[r,n,o]),l=f.useMemo(()=>t==="text"?i||"lg":"xs",[t,i]),u=f.useMemo(()=>t==="text"?"medium":"bold",[t]);return h.jsx("div",{className:B(NN({variant:t,sentiment:s}),e),...a,children:h.jsx(Qe,{variant:l,font:u,fontFamily:"mono",children:c})})}const wx=f.forwardRef(({className:e,error:t=!1,helperText:r,label:n,disabled:o,placeholder:i="Placeholder text...",rows:a=4,required:s=!1,...c},l)=>h.jsxs("div",{className:"w-full",children:[n&&h.jsxs(Ce,{size:"small",fontWeight:"medium",className:"mb-2 block text-sub",children:[n,s&&h.jsx("span",{className:"ml-1 text-red-500",children:"*"})]}),h.jsx("textarea",{ref:l,disabled:o,placeholder:i,rows:a,className:B("w-full rounded-md px-3 py-2.5 !text-label-sm h-30 placeholder:text-sub-1 font-medium text-strong transition-all duration-200 resize-none shadow-sm","bg-white border border-gray-200","hover:bg-weak","focus:bg-weak focus:border-primary focus:outline-none","not-placeholder-shown:bg-weak","disabled:bg-soft-1 disabled:border-soft-1 disabled:cursor-not-allowed disabled:opacity-60 disabled:pointer-events-none",t&&"!bg-white !border-red-500","placeholder:text-sub-1 selection:bg-strong selection:text-white",e,"!text-label-sm"),...c}),r&&h.jsx("p",{className:B("mt-1 text-xs",t?"text-red-500":"text-sub"),children:r})]}));wx.displayName="TextArea";function MN(e){const t=jN(e),r=f.forwardRef((n,o)=>{const{children:i,...a}=n,s=f.Children.toArray(i),c=s.find(IN);if(c){const l=c.props.children,u=s.map(d=>d===c?f.Children.count(l)>1?f.Children.only(null):f.isValidElement(l)?l.props.children:null:d);return h.jsx(t,{...a,ref:o,children:f.isValidElement(l)?f.cloneElement(l,void 0,u):null})}return h.jsx(t,{...a,ref:o,children:i})});return r.displayName=`${e}.Slot`,r}function jN(e){const t=f.forwardRef((r,n)=>{const{children:o,...i}=r;if(f.isValidElement(o)){const a=_N(o),s=TN(i,o.props);return o.type!==f.Fragment&&(s.ref=n?nr(n,a):a),f.cloneElement(o,s)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var kN=Symbol("radix.slottable");function IN(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===kN}function TN(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{const c=i(...s);return o(...s),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function _N(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var lc="Popover",[Cx]=Ht(lc,[Gr]),Pi=Gr(),[RN,Zr]=Cx(lc),Ex=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Pi(t),c=f.useRef(null),[l,u]=f.useState(!1),[d,p]=Xt({prop:n,defaultProp:o??!1,onChange:i,caller:lc});return h.jsx(Ci,{...s,children:h.jsx(RN,{scope:t,contentId:dt(),triggerRef:c,open:d,onOpenChange:p,onOpenToggle:f.useCallback(()=>p(m=>!m),[p]),hasCustomAnchor:l,onCustomAnchorAdd:f.useCallback(()=>u(!0),[]),onCustomAnchorRemove:f.useCallback(()=>u(!1),[]),modal:a,children:r})})};Ex.displayName=lc;var Sx="PopoverAnchor",Ax=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zr(Sx,r),i=Pi(r),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=o;return f.useEffect(()=>(a(),()=>s()),[a,s]),h.jsx(Ei,{...i,...n,ref:t})});Ax.displayName=Sx;var Ox="PopoverTrigger",DN=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zr(Ox,r),i=Pi(r),a=ce(t,o.triggerRef),s=h.jsx(ne.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":kx(o.open),...n,ref:a,onClick:G(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?s:h.jsx(Ei,{asChild:!0,...i,children:s})});DN.displayName=Ox;var sp="PopoverPortal",[LN,FN]=Cx(sp,{forceMount:void 0}),Px=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,i=Zr(sp,t);return h.jsx(LN,{scope:t,forceMount:r,children:h.jsx(kt,{present:r||i.open,children:h.jsx(Si,{asChild:!0,container:o,children:n})})})};Px.displayName=sp;var to="PopoverContent",Nx=f.forwardRef((e,t)=>{const r=FN(to,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,i=Zr(to,e.__scopePopover);return h.jsx(kt,{present:n||i.open,children:i.modal?h.jsx($N,{...o,ref:t}):h.jsx(VN,{...o,ref:t})})});Nx.displayName=to;var BN=MN("PopoverContent.RemoveScroll"),$N=f.forwardRef((e,t)=>{const r=Zr(to,e.__scopePopover),n=f.useRef(null),o=ce(t,n),i=f.useRef(!1);return f.useEffect(()=>{const a=n.current;if(a)return Ai(a)},[]),h.jsx(Oi,{as:BN,allowPinchZoom:!0,children:h.jsx(Mx,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:G(e.onCloseAutoFocus,a=>{a.preventDefault(),i.current||r.triggerRef.current?.focus()}),onPointerDownOutside:G(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,l=s.button===2||c;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:G(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),VN=f.forwardRef((e,t)=>{const r=Zr(to,e.__scopePopover),n=f.useRef(!1),o=f.useRef(!1);return h.jsx(Mx,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{e.onCloseAutoFocus?.(i),i.defaultPrevented||(n.current||r.triggerRef.current?.focus(),i.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:i=>{e.onInteractOutside?.(i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;r.triggerRef.current?.contains(a)&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),Mx=f.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,p=Zr(to,r),m=Pi(r);return Xs(),h.jsx(xi,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:h.jsx(yo,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1),children:h.jsx(nc,{"data-state":kx(p.open),role:"dialog",id:p.contentId,...m,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),jx="PopoverClose",zN=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zr(jx,r);return h.jsx(ne.button,{type:"button",...n,ref:t,onClick:G(e.onClick,()=>o.onOpenChange(!1))})});zN.displayName=jx;var WN="PopoverArrow",HN=f.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Pi(r);return h.jsx(oc,{...o,...n,ref:t})});HN.displayName=WN;function kx(e){return e?"open":"closed"}var KN=Ex,UN=Ax,GN=Px,Ix=Nx;const qN=KN,YN=UN,Tx=f.forwardRef(({className:e,align:t="center",sideOffset:r=4,...n},o)=>h.jsx(GN,{children:h.jsx(Ix,{ref:o,align:t,sideOffset:r,className:B("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",e),...n})}));Tx.displayName=Ix.displayName;function it(){return it=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},it.apply(null,arguments)}function Zn(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function ZN(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function _x(...e){return t=>e.forEach(r=>ZN(r,t))}function Ni(...e){return A.useCallback(_x(...e),e)}function QN(e,t){const r=A.createContext(t);function n(i){const{children:a,...s}=i,c=A.useMemo(()=>s,Object.values(s));return A.createElement(r.Provider,{value:c},a)}function o(i){const a=A.useContext(r);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",[n,o]}function XN(e,t=[]){let r=[];function n(i,a){const s=A.createContext(a),c=r.length;r=[...r,a];function l(d){const{scope:p,children:m,...g}=d,v=p?.[e][c]||s,y=A.useMemo(()=>g,Object.values(g));return A.createElement(v.Provider,{value:y},m)}function u(d,p){const m=p?.[e][c]||s,g=A.useContext(m);if(g)return g;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return l.displayName=i+"Provider",[l,u]}const o=()=>{const i=r.map(a=>A.createContext(a));return function(s){const c=s?.[e]||i;return A.useMemo(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[n,JN(o,...t)]}function JN(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=n.reduce((s,{useScope:c,scopeName:l})=>{const d=c(i)[`__scope${l}`];return{...s,...d}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}const wd=globalThis?.document?A.useLayoutEffect:()=>{},eM=f.useId||(()=>{});let tM=0;function El(e){const[t,r]=f.useState(eM());return wd(()=>{r(n=>n??String(tM++))},[e]),e||(t?`radix-${t}`:"")}function bn(e){const t=A.useRef(e);return A.useEffect(()=>{t.current=e}),A.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}function rM({prop:e,defaultProp:t,onChange:r=()=>{}}){const[n,o]=nM({defaultProp:t,onChange:r}),i=e!==void 0,a=i?e:n,s=bn(r),c=A.useCallback(l=>{if(i){const d=typeof l=="function"?l(e):l;d!==e&&s(d)}else o(l)},[i,e,o,s]);return[a,c]}function nM({defaultProp:e,onChange:t}){const r=A.useState(e),[n]=r,o=A.useRef(n),i=bn(t);return A.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}const cp=A.forwardRef((e,t)=>{const{children:r,...n}=e,o=A.Children.toArray(r),i=o.find(iM);if(i){const a=i.props.children,s=o.map(c=>c===i?A.Children.count(a)>1?A.Children.only(null):A.isValidElement(a)?a.props.children:null:c);return A.createElement(Cd,it({},n,{ref:t}),A.isValidElement(a)?A.cloneElement(a,void 0,s):null)}return A.createElement(Cd,it({},n,{ref:t}),r)});cp.displayName="Slot";const Cd=A.forwardRef((e,t)=>{const{children:r,...n}=e;return A.isValidElement(r)?A.cloneElement(r,{...aM(n,r.props),ref:_x(t,r.ref)}):A.Children.count(r)>1?A.Children.only(null):null});Cd.displayName="SlotClone";const oM=({children:e})=>A.createElement(A.Fragment,null,e);function iM(e){return A.isValidElement(e)&&e.type===oM}function aM(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?r[n]=(...s)=>{i?.(...s),o?.(...s)}:n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}const sM=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],uc=sM.reduce((e,t)=>{const r=A.forwardRef((n,o)=>{const{asChild:i,...a}=n,s=i?cp:t;return A.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),A.createElement(s,it({},a,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function cM(e,t){e&&Nn.flushSync(()=>e.dispatchEvent(t))}function lM(e){const t=bn(e);A.useEffect(()=>{const r=n=>{n.key==="Escape"&&t(n)};return document.addEventListener("keydown",r),()=>document.removeEventListener("keydown",r)},[t])}const Ed="dismissableLayer.update",uM="dismissableLayer.pointerDownOutside",dM="dismissableLayer.focusOutside";let Km;const fM=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),pM=A.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...c}=e,l=A.useContext(fM),[u,d]=A.useState(null),[,p]=A.useState({}),m=Ni(t,S=>d(S)),g=Array.from(l.layers),[v]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(v),b=u?g.indexOf(u):-1,x=l.layersWithOutsidePointerEventsDisabled.size>0,w=b>=y,C=mM(S=>{const O=S.target,P=[...l.branches].some(j=>j.contains(O));!w||P||(o?.(S),a?.(S),S.defaultPrevented||s?.())}),E=hM(S=>{const O=S.target;[...l.branches].some(j=>j.contains(O))||(i?.(S),a?.(S),S.defaultPrevented||s?.())});return lM(S=>{b===l.layers.size-1&&(n?.(S),!S.defaultPrevented&&s&&(S.preventDefault(),s()))}),A.useEffect(()=>{if(u)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Km=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(u)),l.layers.add(u),Um(),()=>{r&&l.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=Km)}},[u,r,l]),A.useEffect(()=>()=>{u&&(l.layers.delete(u),l.layersWithOutsidePointerEventsDisabled.delete(u),Um())},[u,l]),A.useEffect(()=>{const S=()=>p({});return document.addEventListener(Ed,S),()=>document.removeEventListener(Ed,S)},[]),A.createElement(uc.div,it({},c,{ref:m,style:{pointerEvents:x?w?"auto":"none":void 0,...e.style},onFocusCapture:Zn(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Zn(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Zn(e.onPointerDownCapture,C.onPointerDownCapture)}))});function mM(e){const t=bn(e),r=A.useRef(!1),n=A.useRef(()=>{});return A.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let c=function(){Rx(uM,t,s,{discrete:!0})};const s={originalEvent:a};a.pointerType==="touch"?(document.removeEventListener("click",n.current),n.current=c,document.addEventListener("click",n.current,{once:!0})):c()}r.current=!1},i=window.setTimeout(()=>{document.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),document.removeEventListener("pointerdown",o),document.removeEventListener("click",n.current)}},[t]),{onPointerDownCapture:()=>r.current=!0}}function hM(e){const t=bn(e),r=A.useRef(!1);return A.useEffect(()=>{const n=o=>{o.target&&!r.current&&Rx(dM,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",n),()=>document.removeEventListener("focusin",n)},[t]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Um(){const e=new CustomEvent(Ed);document.dispatchEvent(e)}function Rx(e,t,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?cM(o,i):o.dispatchEvent(i)}const Sl="focusScope.autoFocusOnMount",Al="focusScope.autoFocusOnUnmount",Gm={bubbles:!1,cancelable:!0},vM=A.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,c]=A.useState(null),l=bn(o),u=bn(i),d=A.useRef(null),p=Ni(t,v=>c(v)),m=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(n){let v=function(b){if(m.paused||!s)return;const x=b.target;s.contains(x)?d.current=x:rn(d.current,{select:!0})},y=function(b){m.paused||!s||s.contains(b.relatedTarget)||rn(d.current,{select:!0})};return document.addEventListener("focusin",v),document.addEventListener("focusout",y),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",y)}}},[n,s,m.paused]),A.useEffect(()=>{if(s){Ym.add(m);const v=document.activeElement;if(!s.contains(v)){const b=new CustomEvent(Sl,Gm);s.addEventListener(Sl,l),s.dispatchEvent(b),b.defaultPrevented||(gM(CM(Dx(s)),{select:!0}),document.activeElement===v&&rn(s))}return()=>{s.removeEventListener(Sl,l),setTimeout(()=>{const b=new CustomEvent(Al,Gm);s.addEventListener(Al,u),s.dispatchEvent(b),b.defaultPrevented||rn(v??document.body,{select:!0}),s.removeEventListener(Al,u),Ym.remove(m)},0)}}},[s,l,u,m]);const g=A.useCallback(v=>{if(!r&&!n||m.paused)return;const y=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,b=document.activeElement;if(y&&b){const x=v.currentTarget,[w,C]=yM(x);w&&C?!v.shiftKey&&b===C?(v.preventDefault(),r&&rn(w,{select:!0})):v.shiftKey&&b===w&&(v.preventDefault(),r&&rn(C,{select:!0})):b===x&&v.preventDefault()}},[r,n,m.paused]);return A.createElement(uc.div,it({tabIndex:-1},a,{ref:p,onKeyDown:g}))});function gM(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(rn(n,{select:t}),document.activeElement!==r)return}function yM(e){const t=Dx(e),r=qm(t,e),n=qm(t.reverse(),e);return[r,n]}function Dx(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function qm(e,t){for(const r of e)if(!bM(r,{upTo:t}))return r}function bM(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function xM(e){return e instanceof HTMLInputElement&&"select"in e}function rn(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&xM(e)&&t&&e.select()}}const Ym=wM();function wM(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Zm(e,t),e.unshift(t)},remove(t){var r;e=Zm(e,t),(r=e[0])===null||r===void 0||r.resume()}}}function Zm(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function CM(e){return e.filter(t=>t.tagName!=="A")}const EM=A.forwardRef((e,t)=>{var r;const{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...o}=e;return n?Nn.createPortal(A.createElement(uc.div,it({},o,{ref:t})),n):null});function SM(e,t){return A.useReducer((r,n)=>{const o=t[r][n];return o??r},e)}const dc=e=>{const{present:t,children:r}=e,n=AM(t),o=typeof r=="function"?r({present:n.isPresent}):A.Children.only(r),i=Ni(n.ref,o.ref);return typeof r=="function"||n.isPresent?A.cloneElement(o,{ref:i}):null};dc.displayName="Presence";function AM(e){const[t,r]=A.useState(),n=A.useRef({}),o=A.useRef(e),i=A.useRef("none"),a=e?"mounted":"unmounted",[s,c]=SM(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const l=ua(n.current);i.current=s==="mounted"?l:"none"},[s]),wd(()=>{const l=n.current,u=o.current;if(u!==e){const p=i.current,m=ua(l);e?c("MOUNT"):m==="none"||l?.display==="none"?c("UNMOUNT"):c(u&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),wd(()=>{if(t){const l=d=>{const m=ua(n.current).includes(d.animationName);d.target===t&&m&&Nn.flushSync(()=>c("ANIMATION_END"))},u=d=>{d.target===t&&(i.current=ua(n.current))};return t.addEventListener("animationstart",u),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{t.removeEventListener("animationstart",u),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:A.useCallback(l=>{l&&(n.current=getComputedStyle(l)),r(l)},[])}}function ua(e){return e?.animationName||"none"}let Ol=0;function OM(){A.useEffect(()=>{var e,t;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:Qm()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:Qm()),Ol++,()=>{Ol===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Ol--}},[])}function Qm(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Lx=Pb(),Pl=function(){},fc=f.forwardRef(function(e,t){var r=f.useRef(null),n=f.useState({onScrollCapture:Pl,onWheelCapture:Pl,onTouchMoveCapture:Pl}),o=n[0],i=n[1],a=e.forwardProps,s=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,p=e.sideCar,m=e.noIsolation,g=e.inert,v=e.allowPinchZoom,y=e.as,b=y===void 0?"div":y,x=np(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=p,C=Ob([r,t]),E=et(et({},x),o);return f.createElement(f.Fragment,null,u&&f.createElement(w,{sideCar:Lx,removeScrollBar:l,shards:d,noIsolation:m,inert:g,setCallbacks:i,allowPinchZoom:!!v,lockRef:r}),a?f.cloneElement(f.Children.only(s),et(et({},E),{ref:C})):f.createElement(b,et({},E,{className:c,ref:C}),s))});fc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};fc.classNames={fullWidth:Yo,zeroRight:qo};var Sd=!1;if(typeof window<"u")try{var da=Object.defineProperty({},"passive",{get:function(){return Sd=!0,!0}});window.addEventListener("test",da,da),window.removeEventListener("test",da,da)}catch{Sd=!1}var $n=Sd?{passive:!1}:!1,PM=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},NM=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},Xm=function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=Fx(e,r);if(n){var o=Bx(e,r),i=o[1],a=o[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},MM=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},jM=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Fx=function(e,t){return e==="v"?PM(t):NM(t)},Bx=function(e,t){return e==="v"?MM(t):jM(t)},kM=function(e,t){return e==="h"&&t==="rtl"?-1:1},IM=function(e,t,r,n,o){var i=kM(e,window.getComputedStyle(t).direction),a=i*n,s=r.target,c=t.contains(s),l=!1,u=a>0,d=0,p=0;do{var m=Bx(e,s),g=m[0],v=m[1],y=m[2],b=v-y-i*g;(g||b)&&Fx(e,s)&&(d+=b,p+=g),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&d===0||!u&&p===0)&&(l=!0),l},fa=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Jm=function(e){return[e.deltaX,e.deltaY]},eh=function(e){return e&&"current"in e?e.current:e},TM=function(e,t){return e[0]===t[0]&&e[1]===t[1]},_M=function(e){return`
|
|
54
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
55
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
56
|
+
`)},RM=0,Vn=[];function DM(e){var t=f.useRef([]),r=f.useRef([0,0]),n=f.useRef(),o=f.useState(RM++)[0],i=f.useState(function(){return op()})[0],a=f.useRef(e);f.useEffect(function(){a.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=Ab([e.lockRef.current],(e.shards||[]).map(eh),!0).filter(Boolean);return v.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=f.useCallback(function(v,y){if("touches"in v&&v.touches.length===2)return!a.current.allowPinchZoom;var b=fa(v),x=r.current,w="deltaX"in v?v.deltaX:x[0]-b[0],C="deltaY"in v?v.deltaY:x[1]-b[1],E,S=v.target,O=Math.abs(w)>Math.abs(C)?"h":"v";if("touches"in v&&O==="h"&&S.type==="range")return!1;var P=Xm(O,S);if(!P)return!0;if(P?E=O:(E=O==="v"?"h":"v",P=Xm(O,S)),!P)return!1;if(!n.current&&"changedTouches"in v&&(w||C)&&(n.current=E),!E)return!0;var j=n.current||E;return IM(j,y,v,j==="h"?w:C)},[]),c=f.useCallback(function(v){var y=v;if(!(!Vn.length||Vn[Vn.length-1]!==i)){var b="deltaY"in y?Jm(y):fa(y),x=t.current.filter(function(E){return E.name===y.type&&E.target===y.target&&TM(E.delta,b)})[0];if(x&&x.should){y.preventDefault();return}if(!x){var w=(a.current.shards||[]).map(eh).filter(Boolean).filter(function(E){return E.contains(y.target)}),C=w.length>0?s(y,w[0]):!a.current.noIsolation;C&&y.preventDefault()}}},[]),l=f.useCallback(function(v,y,b,x){var w={name:v,delta:y,target:b,should:x};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),u=f.useCallback(function(v){r.current=fa(v),n.current=void 0},[]),d=f.useCallback(function(v){l(v.type,Jm(v),v.target,s(v,e.lockRef.current))},[]),p=f.useCallback(function(v){l(v.type,fa(v),v.target,s(v,e.lockRef.current))},[]);f.useEffect(function(){return Vn.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",c,$n),document.addEventListener("touchmove",c,$n),document.addEventListener("touchstart",u,$n),function(){Vn=Vn.filter(function(v){return v!==i}),document.removeEventListener("wheel",c,$n),document.removeEventListener("touchmove",c,$n),document.removeEventListener("touchstart",u,$n)}},[]);var m=e.removeScrollBar,g=e.inert;return f.createElement(f.Fragment,null,g?f.createElement(i,{styles:_M(o)}):null,m?f.createElement(kb,{gapMode:"margin"}):null)}const LM=Mb(Lx,DM);var $x=f.forwardRef(function(e,t){return f.createElement(fc,et({},e,{ref:t,sideCar:LM}))});$x.classNames=fc.classNames;const Vx="Dialog",[zx]=XN(Vx),[FM,Mn]=zx(Vx),BM=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=A.useRef(null),c=A.useRef(null),[l=!1,u]=rM({prop:n,defaultProp:o,onChange:i});return A.createElement(FM,{scope:t,triggerRef:s,contentRef:c,contentId:El(),titleId:El(),descriptionId:El(),open:l,onOpenChange:u,onOpenToggle:A.useCallback(()=>u(d=>!d),[u]),modal:a},r)},Wx="DialogPortal",[$M,Hx]=zx(Wx,{forceMount:void 0}),VM=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,i=Mn(Wx,t);return A.createElement($M,{scope:t,forceMount:r},A.Children.map(n,a=>A.createElement(dc,{present:r||i.open},A.createElement(EM,{asChild:!0,container:o},a))))},Ad="DialogOverlay",zM=A.forwardRef((e,t)=>{const r=Hx(Ad,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=Mn(Ad,e.__scopeDialog);return i.modal?A.createElement(dc,{present:n||i.open},A.createElement(WM,it({},o,{ref:t}))):null}),WM=A.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Mn(Ad,r);return A.createElement($x,{as:cp,allowPinchZoom:!0,shards:[o.contentRef]},A.createElement(uc.div,it({"data-state":Ux(o.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),ro="DialogContent",HM=A.forwardRef((e,t)=>{const r=Hx(ro,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=Mn(ro,e.__scopeDialog);return A.createElement(dc,{present:n||i.open},i.modal?A.createElement(KM,it({},o,{ref:t})):A.createElement(UM,it({},o,{ref:t})))}),KM=A.forwardRef((e,t)=>{const r=Mn(ro,e.__scopeDialog),n=A.useRef(null),o=Ni(t,r.contentRef,n);return A.useEffect(()=>{const i=n.current;if(i)return Ai(i)},[]),A.createElement(Kx,it({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Zn(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=r.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:Zn(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:Zn(e.onFocusOutside,i=>i.preventDefault())}))}),UM=A.forwardRef((e,t)=>{const r=Mn(ro,e.__scopeDialog),n=A.useRef(!1);return A.createElement(Kx,it({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;n.current||(a=r.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}n.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0);const s=o.target;!((a=r.triggerRef.current)===null||a===void 0)&&a.contains(s)&&o.preventDefault()}}))}),Kx=A.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=Mn(ro,r),c=A.useRef(null),l=Ni(t,c);return OM(),A.createElement(A.Fragment,null,A.createElement(vM,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i},A.createElement(pM,it({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Ux(s.open)},a,{ref:l,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),GM="DialogTitle";function Ux(e){return e?"open":"closed"}const qM="DialogTitleWarning";QN(qM,{contentName:ro,titleName:GM,docsSlug:"dialog"});const YM=BM,ZM=VM,QM=zM,XM=HM;function Cr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nl,th;function JM(){if(th)return Nl;th=1;var e=1,t=.9,r=.3,n=.1,o=0,i=.999,a=.9999,s=.99,c=/[\\\/\-_+.# \t"@\[\(\{&]/,l=/[\\\/\-_+.# \t"@\[\(\{&]/g;function u(p,m,g,v,y,b){if(b===m.length)return y===p.length?e:s;for(var x=v.charAt(b),w=g.indexOf(x,y),C=0,E,S,O;w>=0;)E=u(p,m,g,v,w+1,b+1),E>C&&(w===y?E*=e:c.test(p.charAt(w-1))?(E*=t,O=p.slice(y,w-1).match(l),O&&y>0&&(E*=Math.pow(i,O.length))):c.test(p.slice(y,w-1))?(E*=o,y>0&&(E*=Math.pow(i,w-y))):(E*=r,y>0&&(E*=Math.pow(i,w-y))),p.charAt(w)!==m.charAt(b)&&(E*=a)),E<n&&g.charAt(w-1)===v.charAt(b+1)&&g.charAt(w-1)!==v.charAt(b)&&(S=u(p,m,g,v,w+1,b+2),S*n>E&&(E=S*n)),E>C&&(C=E),w=g.indexOf(x,w+1);return C}function d(p,m){return u(p,m,p.toLowerCase(),m.toLowerCase(),0,0)}return Nl=d,Nl}var ej=JM();const tj=Cr(ej);var rj='[cmdk-list-sizer=""]',To='[cmdk-group=""]',Ml='[cmdk-group-items=""]',nj='[cmdk-group-heading=""]',Gx='[cmdk-item=""]',rh=`${Gx}:not([aria-disabled="true"])`,Od="cmdk-item-select",Ir="data-value",oj=(e,t)=>tj(e,t),qx=f.createContext(void 0),Mi=()=>f.useContext(qx),Yx=f.createContext(void 0),lp=()=>f.useContext(Yx),Zx=f.createContext(void 0),Qx=f.forwardRef((e,t)=>{let r=f.useRef(null),n=Kn(()=>({search:"",value:"",filtered:{count:0,items:new Map,groups:new Set}})),o=Kn(()=>new Set),i=Kn(()=>new Map),a=Kn(()=>new Map),s=Kn(()=>new Set),c=Xx(e),{label:l,children:u,value:d,onValueChange:p,filter:m,shouldFilter:g,...v}=e,y=f.useId(),b=f.useId(),x=f.useId(),w=hj();Co(()=>{if(d!==void 0){let N=d.trim().toLowerCase();n.current.value=N,w(6,D),C.emit()}},[d]);let C=f.useMemo(()=>({subscribe:N=>(s.current.add(N),()=>s.current.delete(N)),snapshot:()=>n.current,setState:(N,z,X)=>{var K,J,ee;if(!Object.is(n.current[N],z)){if(n.current[N]=z,N==="search")j(),O(),w(1,P);else if(N==="value")if(((K=c.current)==null?void 0:K.value)!==void 0){(ee=(J=c.current).onValueChange)==null||ee.call(J,z);return}else X||w(5,D);C.emit()}},emit:()=>{s.current.forEach(N=>N())}}),[]),E=f.useMemo(()=>({value:(N,z)=>{z!==a.current.get(N)&&(a.current.set(N,z),n.current.filtered.items.set(N,S(z)),w(2,()=>{O(),C.emit()}))},item:(N,z)=>(o.current.add(N),z&&(i.current.has(z)?i.current.get(z).add(N):i.current.set(z,new Set([N]))),w(3,()=>{j(),O(),n.current.value||P(),C.emit()}),()=>{a.current.delete(N),o.current.delete(N),n.current.filtered.items.delete(N),w(4,()=>{j(),P(),C.emit()})}),group:N=>(i.current.has(N)||i.current.set(N,new Set),()=>{a.current.delete(N),i.current.delete(N)}),filter:()=>c.current.shouldFilter,label:l||e["aria-label"],listId:y,inputId:x,labelId:b}),[]);function S(N){var z;let X=((z=c.current)==null?void 0:z.filter)??oj;return N?X(N,n.current.search):0}function O(){if(!r.current||!n.current.search||c.current.shouldFilter===!1)return;let N=n.current.filtered.items,z=[];n.current.filtered.groups.forEach(K=>{let J=i.current.get(K),ee=0;J.forEach(fe=>{let xe=N.get(fe);ee=Math.max(xe,ee)}),z.push([K,ee])});let X=r.current.querySelector(rj);M().sort((K,J)=>{let ee=K.getAttribute(Ir),fe=J.getAttribute(Ir);return(N.get(fe)??0)-(N.get(ee)??0)}).forEach(K=>{let J=K.closest(Ml);J?J.appendChild(K.parentElement===J?K:K.closest(`${Ml} > *`)):X.appendChild(K.parentElement===X?K:K.closest(`${Ml} > *`))}),z.sort((K,J)=>J[1]-K[1]).forEach(K=>{let J=r.current.querySelector(`${To}[${Ir}="${K[0]}"]`);J?.parentElement.appendChild(J)})}function P(){let N=M().find(X=>!X.ariaDisabled),z=N?.getAttribute(Ir);C.setState("value",z||void 0)}function j(){if(!n.current.search||c.current.shouldFilter===!1){n.current.filtered.count=o.current.size;return}n.current.filtered.groups=new Set;let N=0;for(let z of o.current){let X=a.current.get(z),K=S(X);n.current.filtered.items.set(z,K),K>0&&N++}for(let[z,X]of i.current)for(let K of X)if(n.current.filtered.items.get(K)>0){n.current.filtered.groups.add(z);break}n.current.filtered.count=N}function D(){var N,z,X;let K=L();K&&(((N=K.parentElement)==null?void 0:N.firstChild)===K&&((X=(z=K.closest(To))==null?void 0:z.querySelector(nj))==null||X.scrollIntoView({block:"nearest"})),K.scrollIntoView({block:"nearest"}))}function L(){return r.current.querySelector(`${Gx}[aria-selected="true"]`)}function M(){return Array.from(r.current.querySelectorAll(rh))}function k(N){let z=M()[N];z&&C.setState("value",z.getAttribute(Ir))}function $(N){var z;let X=L(),K=M(),J=K.findIndex(fe=>fe===X),ee=K[J+N];(z=c.current)!=null&&z.loop&&(ee=J+N<0?K[K.length-1]:J+N===K.length?K[0]:K[J+N]),ee&&C.setState("value",ee.getAttribute(Ir))}function U(N){let z=L(),X=z?.closest(To),K;for(;X&&!K;)X=N>0?pj(X,To):mj(X,To),K=X?.querySelector(rh);K?C.setState("value",K.getAttribute(Ir)):$(N)}let W=()=>k(M().length-1),H=N=>{N.preventDefault(),N.metaKey?W():N.altKey?U(1):$(1)},T=N=>{N.preventDefault(),N.metaKey?k(0):N.altKey?U(-1):$(-1)};return f.createElement("div",{ref:ji([r,t]),...v,"cmdk-root":"",onKeyDown:N=>{var z;if((z=v.onKeyDown)==null||z.call(v,N),!N.defaultPrevented)switch(N.key){case"n":case"j":{N.ctrlKey&&H(N);break}case"ArrowDown":{H(N);break}case"p":case"k":{N.ctrlKey&&T(N);break}case"ArrowUp":{T(N);break}case"Home":{N.preventDefault(),k(0);break}case"End":{N.preventDefault(),W();break}case"Enter":{N.preventDefault();let X=L();if(X){let K=new Event(Od);X.dispatchEvent(K)}}}}},f.createElement("label",{"cmdk-label":"",htmlFor:E.inputId,id:E.labelId,style:vj},l),f.createElement(Yx.Provider,{value:C},f.createElement(qx.Provider,{value:E},u)))}),ij=f.forwardRef((e,t)=>{let r=f.useId(),n=f.useRef(null),o=f.useContext(Zx),i=Mi(),a=Xx(e);Co(()=>i.item(r,o),[]);let s=Jx(r,n,[e.value,e.children,n]),c=lp(),l=no(b=>b.value&&b.value===s.current),u=no(b=>i.filter()===!1?!0:b.search?b.filtered.items.get(r)>0:!0);f.useEffect(()=>{let b=n.current;if(!(!b||e.disabled))return b.addEventListener(Od,d),()=>b.removeEventListener(Od,d)},[u,e.onSelect,e.disabled]);function d(){var b,x;(x=(b=a.current).onSelect)==null||x.call(b,s.current)}function p(){c.setState("value",s.current,!0)}if(!u)return null;let{disabled:m,value:g,onSelect:v,...y}=e;return f.createElement("div",{ref:ji([n,t]),...y,"cmdk-item":"",role:"option","aria-disabled":m||void 0,"aria-selected":l||void 0,"data-selected":l||void 0,onPointerMove:m?void 0:p,onClick:m?void 0:d},e.children)}),aj=f.forwardRef((e,t)=>{let{heading:r,children:n,...o}=e,i=f.useId(),a=f.useRef(null),s=f.useRef(null),c=f.useId(),l=Mi(),u=no(p=>l.filter()===!1?!0:p.search?p.filtered.groups.has(i):!0);Co(()=>l.group(i),[]),Jx(i,a,[e.value,e.heading,s]);let d=f.createElement(Zx.Provider,{value:i},n);return f.createElement("div",{ref:ji([a,t]),...o,"cmdk-group":"",role:"presentation",hidden:u?void 0:!0},r&&f.createElement("div",{ref:s,"cmdk-group-heading":"","aria-hidden":!0,id:c},r),f.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?c:void 0},d))}),sj=f.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,o=f.useRef(null),i=no(a=>!a.search);return!r&&!i?null:f.createElement("div",{ref:ji([o,t]),...n,"cmdk-separator":"",role:"separator"})}),cj=f.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,o=e.value!=null,i=lp(),a=no(c=>c.search),s=Mi();return f.useEffect(()=>{e.value!=null&&i.setState("search",e.value)},[e.value]),f.createElement("input",{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":s.listId,"aria-labelledby":s.labelId,id:s.inputId,type:"text",value:o?e.value:a,onChange:c=>{o||i.setState("search",c.target.value),r?.(c.target.value)}})}),lj=f.forwardRef((e,t)=>{let{children:r,...n}=e,o=f.useRef(null),i=f.useRef(null),a=Mi();return f.useEffect(()=>{if(i.current&&o.current){let s=i.current,c=o.current,l,u=new ResizeObserver(()=>{l=requestAnimationFrame(()=>{let d=s.getBoundingClientRect().height;c.style.setProperty("--cmdk-list-height",d.toFixed(1)+"px")})});return u.observe(s),()=>{cancelAnimationFrame(l),u.unobserve(s)}}},[]),f.createElement("div",{ref:ji([o,t]),...n,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:a.listId,"aria-labelledby":a.inputId},f.createElement("div",{ref:i,"cmdk-list-sizer":""},r))}),uj=f.forwardRef((e,t)=>{let{open:r,onOpenChange:n,container:o,...i}=e;return f.createElement(YM,{open:r,onOpenChange:n},f.createElement(ZM,{container:o},f.createElement(QM,{"cmdk-overlay":""}),f.createElement(XM,{"aria-label":e.label,"cmdk-dialog":""},f.createElement(Qx,{ref:t,...i}))))}),dj=f.forwardRef((e,t)=>{let r=f.useRef(!0),n=no(o=>o.filtered.count===0);return f.useEffect(()=>{r.current=!1},[]),r.current||!n?null:f.createElement("div",{ref:t,...e,"cmdk-empty":"",role:"presentation"})}),fj=f.forwardRef((e,t)=>{let{progress:r,children:n,...o}=e;return f.createElement("div",{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},f.createElement("div",{"aria-hidden":!0},n))}),ft=Object.assign(Qx,{List:lj,Item:ij,Input:cj,Group:aj,Separator:sj,Dialog:uj,Empty:dj,Loading:fj});function pj(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}function mj(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}function Xx(e){let t=f.useRef(e);return Co(()=>{t.current=e}),t}var Co=typeof window>"u"?f.useEffect:f.useLayoutEffect;function Kn(e){let t=f.useRef();return t.current===void 0&&(t.current=e()),t}function ji(e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}function no(e){let t=lp(),r=()=>e(t.snapshot());return f.useSyncExternalStore(t.subscribe,r,r)}function Jx(e,t,r){let n=f.useRef(),o=Mi();return Co(()=>{var i;let a=(()=>{var s;for(let c of r){if(typeof c=="string")return c.trim().toLowerCase();if(typeof c=="object"&&"current"in c&&c.current)return(s=c.current.textContent)==null?void 0:s.trim().toLowerCase()}})();o.value(e,a),(i=t.current)==null||i.setAttribute(Ir,a),n.current=a}),n}var hj=()=>{let[e,t]=f.useState(),r=Kn(()=>new Map);return Co(()=>{r.current.forEach(n=>n()),r.current=new Map},[e]),(n,o)=>{r.current.set(n,o),t({})}},vj={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function gj(e){const t=yj(e),r=f.forwardRef((n,o)=>{const{children:i,...a}=n,s=f.Children.toArray(i),c=s.find(xj);if(c){const l=c.props.children,u=s.map(d=>d===c?f.Children.count(l)>1?f.Children.only(null):f.isValidElement(l)?l.props.children:null:d);return h.jsx(t,{...a,ref:o,children:f.isValidElement(l)?f.cloneElement(l,void 0,u):null})}return h.jsx(t,{...a,ref:o,children:i})});return r.displayName=`${e}.Slot`,r}function yj(e){const t=f.forwardRef((r,n)=>{const{children:o,...i}=r;if(f.isValidElement(o)){const a=Cj(o),s=wj(i,o.props);return o.type!==f.Fragment&&(s.ref=n?nr(n,a):a),f.cloneElement(o,s)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var bj=Symbol("radix.slottable");function xj(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bj}function wj(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{const c=i(...s);return o(...s),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function Cj(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var pc="Dialog",[ew]=Ht(pc),[Ej,Kt]=ew(pc),tw=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=f.useRef(null),c=f.useRef(null),[l,u]=Xt({prop:n,defaultProp:o??!1,onChange:i,caller:pc});return h.jsx(Ej,{scope:t,triggerRef:s,contentRef:c,contentId:dt(),titleId:dt(),descriptionId:dt(),open:l,onOpenChange:u,onOpenToggle:f.useCallback(()=>u(d=>!d),[u]),modal:a,children:r})};tw.displayName=pc;var rw="DialogTrigger",Sj=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Kt(rw,r),i=ce(t,o.triggerRef);return h.jsx(ne.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":fp(o.open),...n,ref:i,onClick:G(e.onClick,o.onOpenToggle)})});Sj.displayName=rw;var up="DialogPortal",[Aj,nw]=ew(up,{forceMount:void 0}),ow=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,i=Kt(up,t);return h.jsx(Aj,{scope:t,forceMount:r,children:f.Children.map(n,a=>h.jsx(kt,{present:r||i.open,children:h.jsx(Si,{asChild:!0,container:o,children:a})}))})};ow.displayName=up;var Xa="DialogOverlay",iw=f.forwardRef((e,t)=>{const r=nw(Xa,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=Kt(Xa,e.__scopeDialog);return i.modal?h.jsx(kt,{present:n||i.open,children:h.jsx(Pj,{...o,ref:t})}):null});iw.displayName=Xa;var Oj=gj("DialogOverlay.RemoveScroll"),Pj=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Kt(Xa,r);return h.jsx(Oi,{as:Oj,allowPinchZoom:!0,shards:[o.contentRef],children:h.jsx(ne.div,{"data-state":fp(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),xn="DialogContent",aw=f.forwardRef((e,t)=>{const r=nw(xn,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=Kt(xn,e.__scopeDialog);return h.jsx(kt,{present:n||i.open,children:i.modal?h.jsx(Nj,{...o,ref:t}):h.jsx(Mj,{...o,ref:t})})});aw.displayName=xn;var Nj=f.forwardRef((e,t)=>{const r=Kt(xn,e.__scopeDialog),n=f.useRef(null),o=ce(t,r.contentRef,n);return f.useEffect(()=>{const i=n.current;if(i)return Ai(i)},[]),h.jsx(sw,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:G(e.onCloseAutoFocus,i=>{i.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:G(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:G(e.onFocusOutside,i=>i.preventDefault())})}),Mj=f.forwardRef((e,t)=>{const r=Kt(xn,e.__scopeDialog),n=f.useRef(!1),o=f.useRef(!1);return h.jsx(sw,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{e.onCloseAutoFocus?.(i),i.defaultPrevented||(n.current||r.triggerRef.current?.focus(),i.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:i=>{e.onInteractOutside?.(i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;r.triggerRef.current?.contains(a)&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),sw=f.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=Kt(xn,r),c=f.useRef(null),l=ce(t,c);return Xs(),h.jsxs(h.Fragment,{children:[h.jsx(xi,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:h.jsx(yo,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":fp(s.open),...a,ref:l,onDismiss:()=>s.onOpenChange(!1)})}),h.jsxs(h.Fragment,{children:[h.jsx(jj,{titleId:s.titleId}),h.jsx(Ij,{contentRef:c,descriptionId:s.descriptionId})]})]})}),dp="DialogTitle",cw=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Kt(dp,r);return h.jsx(ne.h2,{id:o.titleId,...n,ref:t})});cw.displayName=dp;var lw="DialogDescription",uw=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Kt(lw,r);return h.jsx(ne.p,{id:o.descriptionId,...n,ref:t})});uw.displayName=lw;var dw="DialogClose",fw=f.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Kt(dw,r);return h.jsx(ne.button,{type:"button",...n,ref:t,onClick:G(e.onClick,()=>o.onOpenChange(!1))})});fw.displayName=dw;function fp(e){return e?"open":"closed"}var pw="DialogTitleWarning",[cQ,mw]=TS(pw,{contentName:xn,titleName:dp,docsSlug:"dialog"}),jj=({titleId:e})=>{const t=mw(pw),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
57
|
+
|
|
58
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
59
|
+
|
|
60
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return f.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},kj="DialogDescriptionWarning",Ij=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${mw(kj).contentName}}.`;return f.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},hw=tw,vw=ow,mc=iw,hc=aw,vc=cw,gc=uw,gw=fw;const Tj=hw,_j=vw,yw=f.forwardRef(({className:e,...t},r)=>h.jsx(mc,{ref:r,className:B("fixed inset-0 z-50 bg-background/20 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));yw.displayName=mc.displayName;const bw=f.forwardRef(({className:e,children:t,...r},n)=>h.jsxs(_j,{children:[h.jsx(yw,{}),h.jsxs(hc,{ref:n,className:B("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...r,children:[t,h.jsxs(gw,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[h.jsx(Qo,{className:"h-4 w-4"}),h.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));bw.displayName=hc.displayName;const xw=({className:e,...t})=>h.jsx("div",{className:B("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});xw.displayName="DialogHeader";const ww=({className:e,...t})=>h.jsx("div",{className:B("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});ww.displayName="DialogFooter";const Cw=f.forwardRef(({className:e,...t},r)=>h.jsx(vc,{ref:r,className:B("text-lg font-semibold leading-none tracking-tight",e),...t}));Cw.displayName=vc.displayName;const Ew=f.forwardRef(({className:e,...t},r)=>h.jsx(gc,{ref:r,className:B("text-sm text-muted-foreground",e),...t}));Ew.displayName=gc.displayName;const Sw=f.forwardRef(({className:e,...t},r)=>h.jsx(ft,{ref:r,className:B("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Sw.displayName=ft.displayName;const Rj=f.forwardRef(({className:e,...t},r)=>h.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[h.jsx(hy,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),h.jsx(ft.Input,{ref:r,className:B("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));Rj.displayName=ft.Input.displayName;const Aw=f.forwardRef(({className:e,...t},r)=>h.jsx(ft.List,{ref:r,className:B("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));Aw.displayName=ft.List.displayName;const Ow=f.forwardRef((e,t)=>h.jsx(ft.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));Ow.displayName=ft.Empty.displayName;const Pw=f.forwardRef(({className:e,...t},r)=>h.jsx(ft.Group,{ref:r,className:B("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));Pw.displayName=ft.Group.displayName;const Dj=f.forwardRef(({className:e,...t},r)=>h.jsx(ft.Separator,{ref:r,className:B("-mx-1 h-px bg-border",e),...t}));Dj.displayName=ft.Separator.displayName;const Nw=f.forwardRef(({className:e,...t},r)=>h.jsx(ft.Item,{ref:r,className:B("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));Nw.displayName=ft.Item.displayName;var Lj=Symbol("radix.slottable");function Fj(e){const t=({children:r})=>h.jsx(h.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=Lj,t}var[yc]=Ht("Tooltip",[Gr]),bc=Gr(),Mw="TooltipProvider",Bj=700,Pd="tooltip.open",[$j,pp]=yc(Mw),jw=e=>{const{__scopeTooltip:t,delayDuration:r=Bj,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:i}=e,a=f.useRef(!0),s=f.useRef(!1),c=f.useRef(0);return f.useEffect(()=>{const l=c.current;return()=>window.clearTimeout(l)},[]),h.jsx($j,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:f.useCallback(()=>{window.clearTimeout(c.current),a.current=!1},[]),onClose:f.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,n)},[n]),isPointerInTransitRef:s,onPointerInTransitChange:f.useCallback(l=>{s.current=l},[]),disableHoverableContent:o,children:i})};jw.displayName=Mw;var ei="Tooltip",[Vj,xc]=yc(ei),kw=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,c=pp(ei,e.__scopeTooltip),l=bc(t),[u,d]=f.useState(null),p=dt(),m=f.useRef(0),g=a??c.disableHoverableContent,v=s??c.delayDuration,y=f.useRef(!1),[b,x]=Xt({prop:n,defaultProp:o??!1,onChange:O=>{O?(c.onOpen(),document.dispatchEvent(new CustomEvent(Pd))):c.onClose(),i?.(O)},caller:ei}),w=f.useMemo(()=>b?y.current?"delayed-open":"instant-open":"closed",[b]),C=f.useCallback(()=>{window.clearTimeout(m.current),m.current=0,y.current=!1,x(!0)},[x]),E=f.useCallback(()=>{window.clearTimeout(m.current),m.current=0,x(!1)},[x]),S=f.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{y.current=!0,x(!0),m.current=0},v)},[v,x]);return f.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),h.jsx(Ci,{...l,children:h.jsx(Vj,{scope:t,contentId:p,open:b,stateAttribute:w,trigger:u,onTriggerChange:d,onTriggerEnter:f.useCallback(()=>{c.isOpenDelayedRef.current?S():C()},[c.isOpenDelayedRef,S,C]),onTriggerLeave:f.useCallback(()=>{g?E():(window.clearTimeout(m.current),m.current=0)},[E,g]),onOpen:C,onClose:E,disableHoverableContent:g,children:r})})};kw.displayName=ei;var Nd="TooltipTrigger",Iw=f.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=xc(Nd,r),i=pp(Nd,r),a=bc(r),s=f.useRef(null),c=ce(t,s,o.onTriggerChange),l=f.useRef(!1),u=f.useRef(!1),d=f.useCallback(()=>l.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),h.jsx(Ei,{asChild:!0,...a,children:h.jsx(ne.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:c,onPointerMove:G(e.onPointerMove,p=>{p.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:G(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:G(e.onPointerDown,()=>{o.open&&o.onClose(),l.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:G(e.onFocus,()=>{l.current||o.onOpen()}),onBlur:G(e.onBlur,o.onClose),onClick:G(e.onClick,o.onClose)})})});Iw.displayName=Nd;var zj="TooltipPortal",[lQ,Wj]=yc(zj,{forceMount:void 0}),oo="TooltipContent",Tw=f.forwardRef((e,t)=>{const r=Wj(oo,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...i}=e,a=xc(oo,e.__scopeTooltip);return h.jsx(kt,{present:n||a.open,children:a.disableHoverableContent?h.jsx(_w,{side:o,...i,ref:t}):h.jsx(Hj,{side:o,...i,ref:t})})}),Hj=f.forwardRef((e,t)=>{const r=xc(oo,e.__scopeTooltip),n=pp(oo,e.__scopeTooltip),o=f.useRef(null),i=ce(t,o),[a,s]=f.useState(null),{trigger:c,onClose:l}=r,u=o.current,{onPointerInTransitChange:d}=n,p=f.useCallback(()=>{s(null),d(!1)},[d]),m=f.useCallback((g,v)=>{const y=g.currentTarget,b={x:g.clientX,y:g.clientY},x=Yj(b,y.getBoundingClientRect()),w=Zj(b,x),C=Qj(v.getBoundingClientRect()),E=Jj([...w,...C]);s(E),d(!0)},[d]);return f.useEffect(()=>()=>p(),[p]),f.useEffect(()=>{if(c&&u){const g=y=>m(y,u),v=y=>m(y,c);return c.addEventListener("pointerleave",g),u.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",g),u.removeEventListener("pointerleave",v)}}},[c,u,m,p]),f.useEffect(()=>{if(a){const g=v=>{const y=v.target,b={x:v.clientX,y:v.clientY},x=c?.contains(y)||u?.contains(y),w=!Xj(b,a);x?p():w&&(p(),l())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[c,u,a,l,p]),h.jsx(_w,{...e,ref:i})}),[Kj,Uj]=yc(ei,{isInside:!1}),Gj=Fj("TooltipContent"),_w=f.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,c=xc(oo,r),l=bc(r),{onClose:u}=c;return f.useEffect(()=>(document.addEventListener(Pd,u),()=>document.removeEventListener(Pd,u)),[u]),f.useEffect(()=>{if(c.trigger){const d=p=>{p.target?.contains(c.trigger)&&u()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[c.trigger,u]),h.jsx(yo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:d=>d.preventDefault(),onDismiss:u,children:h.jsxs(nc,{"data-state":c.stateAttribute,...l,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[h.jsx(Gj,{children:n}),h.jsx(Kj,{scope:r,isInside:!0,children:h.jsx(aP,{id:c.contentId,role:"tooltip",children:o||n})})]})})});Tw.displayName=oo;var Rw="TooltipArrow",qj=f.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=bc(r);return Uj(Rw,r).isInside?null:h.jsx(oc,{...o,...n,ref:t})});qj.displayName=Rw;function Yj(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,o,i)){case i:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function Zj(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Qj(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function Xj(e,t){const{x:r,y:n}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i],c=t[a],l=s.x,u=s.y,d=c.x,p=c.y;u>n!=p>n&&r<(d-l)*(n-u)/(p-u)+l&&(o=!o)}return o}function Jj(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),ek(t)}function ek(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const i=r[r.length-1],a=r[r.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var tk=jw,rk=kw,nk=Iw,Dw=Tw;const Lw=tk,Md=rk,jd=nk,Ja=f.forwardRef(({className:e,sideOffset:t=4,...r},n)=>h.jsx(Dw,{ref:n,sideOffset:t,className:B("z-50 overflow-hidden rounded-md bg-strong px-3 py-1.5 text-xs text-white animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));Ja.displayName=Dw.displayName;const Fw=f.forwardRef(({options:e,value:t,onChange:r,placeholder:n="Placeholder text...",label:o,helperText:i,error:a=!1,disabled:s=!1,required:c=!1,multi:l=!1,className:u,...d},p)=>{const[m,g]=f.useState(!1),[v,y]=f.useState(""),b=f.useRef(null),x=f.useMemo(()=>Array.isArray(t)?t:t?[t]:[],[t]),w=P=>{if(l){const j=x.includes(P)?x.filter(D=>D!==P):[...x,P];r?.(j),y("")}else r?.(P),g(!1),y("")},C=P=>{l&&Array.isArray(t)&&r?.(t.filter(j=>j!==P))},E=P=>{P.stopPropagation(),r?.(l?[]:void 0),y("")},S=f.useMemo(()=>[...e].sort((P,j)=>P.label.localeCompare(j.label)),[e]),O=f.useMemo(()=>v?S.filter(P=>P.label.toLowerCase().includes(v.toLowerCase())):S,[S,v]);return f.useEffect(()=>{m&&b.current?.focus()},[m]),h.jsx(Lw,{delayDuration:200,children:h.jsxs("div",{className:B("w-full space-y-2",u),ref:p,children:[o&&h.jsxs(Ce,{size:"small",fontWeight:"medium",className:"text-sub",children:[o,c&&h.jsx("span",{className:"ml-1 text-red-500",children:"*"})]}),h.jsxs(qN,{open:m,onOpenChange:P=>{g(P),P||y("")},children:[h.jsx("div",{className:"relative w-full",children:h.jsx(YN,{asChild:!0,children:h.jsxs("div",{className:B("flex min-h-[40px] w-full items-center justify-between gap-2 rounded-lg border border-gray-200 bg-white px-3 py-[7px] !text-label-sm font-regular text-strong shadow-sm transition-all duration-200 cursor-text outline-none","hover:bg-weak","focus-within:bg-weak focus-within:border-primary focus-within:ring-1 focus-within:ring-primary",m&&"border-primary ring-1 ring-primary",s&&"bg-soft-1 border-soft-1 cursor-not-allowed opacity-60 pointer-events-none",a&&"!bg-white !border-red-500"),onClick:()=>{s||(g(!0),b.current?.focus())},children:[h.jsxs("div",{className:"flex flex-1 flex-wrap items-center gap-1.5 overflow-hidden",children:[l&&x.length>0&&h.jsx("div",{className:"flex flex-wrap gap-1.5",children:x.map(P=>{const j=e.find(D=>D.value===P);return h.jsx(xx,{label:j?.label||P,size:"sm",font:"medium",fontFamily:"primary",className:"bg-soft border-gray-100",endIcon:h.jsxs(Md,{children:[h.jsx(jd,{asChild:!0,children:h.jsx(Qo,{size:16,className:"cursor-pointer hover:text-red-500",onClick:D=>{D.stopPropagation(),C(P)}})}),h.jsx(Ja,{children:"Remove"})]})},P)})}),h.jsx("input",{ref:b,type:"text",className:B("flex-1 bg-transparent outline-none !text-label-sm font-medium placeholder:text-sub-1 min-w-[50px] text-sub h-6",!l&&x.length>0&&!m&&"text-strong font-medium",s&&"cursor-not-allowed",!m&&"cursor-pointer"),placeholder:x.length===0?n:"",value:m?v:l?"":e.find(P=>P.value===x[0])?.label||"",onChange:P=>y(P.target.value),onFocus:()=>!s&&g(!0),disabled:s,readOnly:!m})]}),h.jsxs("div",{className:"flex items-center gap-1 shrink-0 ml-1",children:[!s&&x.length>0&&h.jsxs(Md,{children:[h.jsx(jd,{asChild:!0,children:h.jsx(Qo,{className:"h-3.5 w-3.5 text-sub-1 hover:text-red-500 cursor-pointer transition-colors",onClick:E})}),h.jsx(Ja,{children:"Clear"})]}),h.jsx(qs,{className:B("h-4 w-4 text-sub-1 transition-transform duration-200",m&&"rotate-180")})]})]})})}),h.jsx(Tx,{className:"w-[calc(var(--radix-popover-trigger-width)-2px)] p-0 shadow-lg border-gray-200 mt-1",align:"start",sideOffset:0,onOpenAutoFocus:P=>P.preventDefault(),children:h.jsx(Sw,{shouldFilter:!1,className:"bg-white",children:h.jsx(Aw,{className:"max-h-[300px] overflow-auto",children:O.length===0?h.jsx(Ow,{className:"py-2 text-center text-sub-1",children:"No results found."}):h.jsx(Pw,{children:O.map(P=>{const j=x.includes(P.value);return h.jsxs(Nw,{value:P.label,onSelect:()=>w(P.value),className:B("flex items-center px-4 py-2 cursor-pointer transition-colors","hover:bg-weak data-[selected=true]:bg-weak",j&&"bg-weak/50"),children:[h.jsx("span",{className:B("flex-1 text-sm text-sub",j&&"font-semibold text-strong"),children:P.label}),j&&h.jsx(Wf,{className:"h-4 w-4 text-primary shrink-0"})]},P.value)})})})})})]}),i&&h.jsx("p",{className:B("text-xs",a?"text-red-500":"text-sub"),children:i})]})})});Fw.displayName="Autocomplete";function ok({open:e,onOpenChange:t,title:r,description:n,confirmLabel:o="",cancelLabel:i="",onConfirm:a,onCancel:s,className:c,children:l}){return h.jsx(Tj,{open:e,onOpenChange:t,children:h.jsx(bw,{className:B("sm:max-w-[425px] p-0 gap-0 overflow-hidden flex flex-col",c),children:l||h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"flex flex-col items-start gap-4 px-5 py-6",children:h.jsxs(xw,{className:"p-0 text-left space-y-0 gap-2",children:[h.jsx(Cw,{className:"text-xl font-semibold leading-none tracking-tight text-strong",children:h.jsx(gy,{variant:"h4",children:r})}),n&&h.jsx(Ew,{children:h.jsx(Hf,{variant:"small",children:n})})]})}),o!==""&&i!==""&&h.jsxs(ww,{className:"flex flex-row gap-2 px-5 py-4 border-t border-border bg-weak sm:justify-start",children:[o!==""&&h.jsx(Jn,{variant:"primary",className:"flex-1",onClick:a,startIconOverride:!1,endIconOverride:!1,children:o}),i!==""&&h.jsx(Jn,{variant:"outlined",className:"flex-1 border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground",onClick:s,startIconOverride:!1,endIconOverride:!1,children:i})]})]})})})}function ik(e){const t=ak(e),r=f.forwardRef((n,o)=>{const{children:i,...a}=n,s=f.Children.toArray(i),c=s.find(ck);if(c){const l=c.props.children,u=s.map(d=>d===c?f.Children.count(l)>1?f.Children.only(null):f.isValidElement(l)?l.props.children:null:d);return h.jsx(t,{...a,ref:o,children:f.isValidElement(l)?f.cloneElement(l,void 0,u):null})}return h.jsx(t,{...a,ref:o,children:i})});return r.displayName=`${e}.Slot`,r}function ak(e){const t=f.forwardRef((r,n)=>{const{children:o,...i}=r;if(f.isValidElement(o)){const a=uk(o),s=lk(i,o.props);return o.type!==f.Fragment&&(s.ref=n?nr(n,a):a),f.cloneElement(o,s)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var sk=Symbol("radix.slottable");function ck(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===sk}function lk(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...s)=>{const c=i(...s);return o(...s),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function uk(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var kd=["Enter"," "],dk=["ArrowDown","PageUp","Home"],Bw=["ArrowUp","PageDown","End"],fk=[...dk,...Bw],pk={ltr:[...kd,"ArrowRight"],rtl:[...kd,"ArrowLeft"]},mk={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ki="Menu",[ti,hk,vk]=Gf(ki),[jn,$w]=Ht(ki,[vk,Gr,Zs]),Ii=Gr(),Vw=Zs(),[zw,Qr]=jn(ki),[gk,Ti]=jn(ki),Ww=e=>{const{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:i,modal:a=!0}=e,s=Ii(t),[c,l]=f.useState(null),u=f.useRef(!1),d=Ft(i),p=Ys(o);return f.useEffect(()=>{const m=()=>{u.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>u.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),h.jsx(Ci,{...s,children:h.jsx(zw,{scope:t,open:r,onOpenChange:d,content:c,onContentChange:l,children:h.jsx(gk,{scope:t,onClose:f.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:u,dir:p,modal:a,children:n})})})};Ww.displayName=ki;var yk="MenuAnchor",mp=f.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,o=Ii(r);return h.jsx(Ei,{...o,...n,ref:t})});mp.displayName=yk;var hp="MenuPortal",[bk,Hw]=jn(hp,{forceMount:void 0}),Kw=e=>{const{__scopeMenu:t,forceMount:r,children:n,container:o}=e,i=Qr(hp,t);return h.jsx(bk,{scope:t,forceMount:r,children:h.jsx(kt,{present:r||i.open,children:h.jsx(Si,{asChild:!0,container:o,children:n})})})};Kw.displayName=hp;var Pt="MenuContent",[xk,vp]=jn(Pt),Uw=f.forwardRef((e,t)=>{const r=Hw(Pt,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,i=Qr(Pt,e.__scopeMenu),a=Ti(Pt,e.__scopeMenu);return h.jsx(ti.Provider,{scope:e.__scopeMenu,children:h.jsx(kt,{present:n||i.open,children:h.jsx(ti.Slot,{scope:e.__scopeMenu,children:a.modal?h.jsx(wk,{...o,ref:t}):h.jsx(Ck,{...o,ref:t})})})})}),wk=f.forwardRef((e,t)=>{const r=Qr(Pt,e.__scopeMenu),n=f.useRef(null),o=ce(t,n);return f.useEffect(()=>{const i=n.current;if(i)return Ai(i)},[]),h.jsx(gp,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:G(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),Ck=f.forwardRef((e,t)=>{const r=Qr(Pt,e.__scopeMenu);return h.jsx(gp,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),Ek=ik("MenuContent.ScrollLock"),gp=f.forwardRef((e,t)=>{const{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:p,onDismiss:m,disableOutsideScroll:g,...v}=e,y=Qr(Pt,r),b=Ti(Pt,r),x=Ii(r),w=Vw(r),C=hk(r),[E,S]=f.useState(null),O=f.useRef(null),P=ce(t,O,y.onContentChange),j=f.useRef(0),D=f.useRef(""),L=f.useRef(0),M=f.useRef(null),k=f.useRef("right"),$=f.useRef(0),U=g?Oi:f.Fragment,W=g?{as:Ek,allowPinchZoom:!0}:void 0,H=N=>{const z=D.current+N,X=C().filter(V=>!V.disabled),K=document.activeElement,J=X.find(V=>V.ref.current===K)?.textValue,ee=X.map(V=>V.textValue),fe=Rk(ee,z,J),xe=X.find(V=>V.textValue===fe)?.ref.current;(function V(se){D.current=se,window.clearTimeout(j.current),se!==""&&(j.current=window.setTimeout(()=>V(""),1e3))})(z),xe&&setTimeout(()=>xe.focus())};f.useEffect(()=>()=>window.clearTimeout(j.current),[]),Xs();const T=f.useCallback(N=>k.current===M.current?.side&&Lk(N,M.current?.area),[]);return h.jsx(xk,{scope:r,searchRef:D,onItemEnter:f.useCallback(N=>{T(N)&&N.preventDefault()},[T]),onItemLeave:f.useCallback(N=>{T(N)||(O.current?.focus(),S(null))},[T]),onTriggerLeave:f.useCallback(N=>{T(N)&&N.preventDefault()},[T]),pointerGraceTimerRef:L,onPointerGraceIntentChange:f.useCallback(N=>{M.current=N},[]),children:h.jsx(U,{...W,children:h.jsx(xi,{asChild:!0,trapped:o,onMountAutoFocus:G(i,N=>{N.preventDefault(),O.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:h.jsx(yo,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:p,onDismiss:m,children:h.jsx(ky,{asChild:!0,...w,dir:b.dir,orientation:"vertical",loop:n,currentTabStopId:E,onCurrentTabStopIdChange:S,onEntryFocus:G(c,N=>{b.isUsingKeyboardRef.current||N.preventDefault()}),preventScrollOnEntryFocus:!0,children:h.jsx(nc,{role:"menu","aria-orientation":"vertical","data-state":l4(y.open),"data-radix-menu-content":"",dir:b.dir,...x,...v,ref:P,style:{outline:"none",...v.style},onKeyDown:G(v.onKeyDown,N=>{const X=N.target.closest("[data-radix-menu-content]")===N.currentTarget,K=N.ctrlKey||N.altKey||N.metaKey,J=N.key.length===1;X&&(N.key==="Tab"&&N.preventDefault(),!K&&J&&H(N.key));const ee=O.current;if(N.target!==ee||!fk.includes(N.key))return;N.preventDefault();const xe=C().filter(V=>!V.disabled).map(V=>V.ref.current);Bw.includes(N.key)&&xe.reverse(),Tk(xe)}),onBlur:G(e.onBlur,N=>{N.currentTarget.contains(N.target)||(window.clearTimeout(j.current),D.current="")}),onPointerMove:G(e.onPointerMove,ri(N=>{const z=N.target,X=$.current!==N.clientX;if(N.currentTarget.contains(z)&&X){const K=N.clientX>$.current?"right":"left";k.current=K,$.current=N.clientX}}))})})})})})})});Uw.displayName=Pt;var Sk="MenuGroup",yp=f.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return h.jsx(ne.div,{role:"group",...n,ref:t})});yp.displayName=Sk;var Ak="MenuLabel",Gw=f.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return h.jsx(ne.div,{...n,ref:t})});Gw.displayName=Ak;var es="MenuItem",nh="menu.itemSelect",wc=f.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:n,...o}=e,i=f.useRef(null),a=Ti(es,e.__scopeMenu),s=vp(es,e.__scopeMenu),c=ce(t,i),l=f.useRef(!1),u=()=>{const d=i.current;if(!r&&d){const p=new CustomEvent(nh,{bubbles:!0,cancelable:!0});d.addEventListener(nh,m=>n?.(m),{once:!0}),Ay(d,p),p.defaultPrevented?l.current=!1:a.onClose()}};return h.jsx(qw,{...o,ref:c,disabled:r,onClick:G(e.onClick,u),onPointerDown:d=>{e.onPointerDown?.(d),l.current=!0},onPointerUp:G(e.onPointerUp,d=>{l.current||d.currentTarget?.click()}),onKeyDown:G(e.onKeyDown,d=>{const p=s.searchRef.current!=="";r||p&&d.key===" "||kd.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});wc.displayName=es;var qw=f.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:n=!1,textValue:o,...i}=e,a=vp(es,r),s=Vw(r),c=f.useRef(null),l=ce(t,c),[u,d]=f.useState(!1),[p,m]=f.useState("");return f.useEffect(()=>{const g=c.current;g&&m((g.textContent??"").trim())},[i.children]),h.jsx(ti.ItemSlot,{scope:r,disabled:n,textValue:o??p,children:h.jsx(Iy,{asChild:!0,...s,focusable:!n,children:h.jsx(ne.div,{role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...i,ref:l,onPointerMove:G(e.onPointerMove,ri(g=>{n?a.onItemLeave(g):(a.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:G(e.onPointerLeave,ri(g=>a.onItemLeave(g))),onFocus:G(e.onFocus,()=>d(!0)),onBlur:G(e.onBlur,()=>d(!1))})})})}),Ok="MenuCheckboxItem",Yw=f.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:n,...o}=e;return h.jsx(e4,{scope:e.__scopeMenu,checked:r,children:h.jsx(wc,{role:"menuitemcheckbox","aria-checked":ts(r)?"mixed":r,...o,ref:t,"data-state":wp(r),onSelect:G(o.onSelect,()=>n?.(ts(r)?!0:!r),{checkForDefaultPrevented:!1})})})});Yw.displayName=Ok;var Zw="MenuRadioGroup",[Pk,Nk]=jn(Zw,{value:void 0,onValueChange:()=>{}}),Qw=f.forwardRef((e,t)=>{const{value:r,onValueChange:n,...o}=e,i=Ft(n);return h.jsx(Pk,{scope:e.__scopeMenu,value:r,onValueChange:i,children:h.jsx(yp,{...o,ref:t})})});Qw.displayName=Zw;var Xw="MenuRadioItem",Jw=f.forwardRef((e,t)=>{const{value:r,...n}=e,o=Nk(Xw,e.__scopeMenu),i=r===o.value;return h.jsx(e4,{scope:e.__scopeMenu,checked:i,children:h.jsx(wc,{role:"menuitemradio","aria-checked":i,...n,ref:t,"data-state":wp(i),onSelect:G(n.onSelect,()=>o.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});Jw.displayName=Xw;var bp="MenuItemIndicator",[e4,Mk]=jn(bp,{checked:!1}),t4=f.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:n,...o}=e,i=Mk(bp,r);return h.jsx(kt,{present:n||ts(i.checked)||i.checked===!0,children:h.jsx(ne.span,{...o,ref:t,"data-state":wp(i.checked)})})});t4.displayName=bp;var jk="MenuSeparator",r4=f.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return h.jsx(ne.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});r4.displayName=jk;var kk="MenuArrow",n4=f.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,o=Ii(r);return h.jsx(oc,{...o,...n,ref:t})});n4.displayName=kk;var xp="MenuSub",[Ik,o4]=jn(xp),i4=e=>{const{__scopeMenu:t,children:r,open:n=!1,onOpenChange:o}=e,i=Qr(xp,t),a=Ii(t),[s,c]=f.useState(null),[l,u]=f.useState(null),d=Ft(o);return f.useEffect(()=>(i.open===!1&&d(!1),()=>d(!1)),[i.open,d]),h.jsx(Ci,{...a,children:h.jsx(zw,{scope:t,open:n,onOpenChange:d,content:l,onContentChange:u,children:h.jsx(Ik,{scope:t,contentId:dt(),triggerId:dt(),trigger:s,onTriggerChange:c,children:r})})})};i4.displayName=xp;var Ho="MenuSubTrigger",a4=f.forwardRef((e,t)=>{const r=Qr(Ho,e.__scopeMenu),n=Ti(Ho,e.__scopeMenu),o=o4(Ho,e.__scopeMenu),i=vp(Ho,e.__scopeMenu),a=f.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=i,l={__scopeMenu:e.__scopeMenu},u=f.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return f.useEffect(()=>u,[u]),f.useEffect(()=>{const d=s.current;return()=>{window.clearTimeout(d),c(null)}},[s,c]),h.jsx(mp,{asChild:!0,...l,children:h.jsx(qw,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":l4(r.open),...e,ref:nr(t,o.onTriggerChange),onClick:d=>{e.onClick?.(d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:G(e.onPointerMove,ri(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!r.open&&!a.current&&(i.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{r.onOpenChange(!0),u()},100))})),onPointerLeave:G(e.onPointerLeave,ri(d=>{u();const p=r.content?.getBoundingClientRect();if(p){const m=r.content?.dataset.side,g=m==="right",v=g?-5:5,y=p[g?"left":"right"],b=p[g?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+v,y:d.clientY},{x:y,y:p.top},{x:b,y:p.top},{x:b,y:p.bottom},{x:y,y:p.bottom}],side:m}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:G(e.onKeyDown,d=>{const p=i.searchRef.current!=="";e.disabled||p&&d.key===" "||pk[n.dir].includes(d.key)&&(r.onOpenChange(!0),r.content?.focus(),d.preventDefault())})})})});a4.displayName=Ho;var s4="MenuSubContent",c4=f.forwardRef((e,t)=>{const r=Hw(Pt,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,i=Qr(Pt,e.__scopeMenu),a=Ti(Pt,e.__scopeMenu),s=o4(s4,e.__scopeMenu),c=f.useRef(null),l=ce(t,c);return h.jsx(ti.Provider,{scope:e.__scopeMenu,children:h.jsx(kt,{present:n||i.open,children:h.jsx(ti.Slot,{scope:e.__scopeMenu,children:h.jsx(gp,{id:s.contentId,"aria-labelledby":s.triggerId,...o,ref:l,align:"start",side:a.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:u=>{a.isUsingKeyboardRef.current&&c.current?.focus(),u.preventDefault()},onCloseAutoFocus:u=>u.preventDefault(),onFocusOutside:G(e.onFocusOutside,u=>{u.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:G(e.onEscapeKeyDown,u=>{a.onClose(),u.preventDefault()}),onKeyDown:G(e.onKeyDown,u=>{const d=u.currentTarget.contains(u.target),p=mk[a.dir].includes(u.key);d&&p&&(i.onOpenChange(!1),s.trigger?.focus(),u.preventDefault())})})})})})});c4.displayName=s4;function l4(e){return e?"open":"closed"}function ts(e){return e==="indeterminate"}function wp(e){return ts(e)?"indeterminate":e?"checked":"unchecked"}function Tk(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function _k(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function Rk(e,t,r){const o=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let a=_k(e,Math.max(i,0));o.length===1&&(a=a.filter(l=>l!==r));const c=a.find(l=>l.toLowerCase().startsWith(o.toLowerCase()));return c!==r?c:void 0}function Dk(e,t){const{x:r,y:n}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i],c=t[a],l=s.x,u=s.y,d=c.x,p=c.y;u>n!=p>n&&r<(d-l)*(n-u)/(p-u)+l&&(o=!o)}return o}function Lk(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return Dk(r,t)}function ri(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Fk=Ww,Bk=mp,$k=Kw,Vk=Uw,zk=yp,Wk=Gw,Hk=wc,Kk=Yw,Uk=Qw,Gk=Jw,qk=t4,Yk=r4,Zk=n4,Qk=i4,Xk=a4,Jk=c4,Cc="DropdownMenu",[eI]=Ht(Cc,[$w]),rt=$w(),[tI,u4]=eI(Cc),d4=e=>{const{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:i,onOpenChange:a,modal:s=!0}=e,c=rt(t),l=f.useRef(null),[u,d]=Xt({prop:o,defaultProp:i??!1,onChange:a,caller:Cc});return h.jsx(tI,{scope:t,triggerId:dt(),triggerRef:l,contentId:dt(),open:u,onOpenChange:d,onOpenToggle:f.useCallback(()=>d(p=>!p),[d]),modal:s,children:h.jsx(Fk,{...c,open:u,onOpenChange:d,dir:n,modal:s,children:r})})};d4.displayName=Cc;var f4="DropdownMenuTrigger",p4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,i=u4(f4,r),a=rt(r);return h.jsx(Bk,{asChild:!0,...a,children:h.jsx(ne.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:nr(t,i.triggerRef),onPointerDown:G(e.onPointerDown,s=>{!n&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:G(e.onKeyDown,s=>{n||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});p4.displayName=f4;var rI="DropdownMenuPortal",m4=e=>{const{__scopeDropdownMenu:t,...r}=e,n=rt(t);return h.jsx($k,{...n,...r})};m4.displayName=rI;var h4="DropdownMenuContent",v4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=u4(h4,r),i=rt(r),a=f.useRef(!1);return h.jsx(Vk,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...n,ref:t,onCloseAutoFocus:G(e.onCloseAutoFocus,s=>{a.current||o.triggerRef.current?.focus(),a.current=!1,s.preventDefault()}),onInteractOutside:G(e.onInteractOutside,s=>{const c=s.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0,u=c.button===2||l;(!o.modal||u)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});v4.displayName=h4;var nI="DropdownMenuGroup",g4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(zk,{...o,...n,ref:t})});g4.displayName=nI;var oI="DropdownMenuLabel",y4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(Wk,{...o,...n,ref:t})});y4.displayName=oI;var iI="DropdownMenuItem",b4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(Hk,{...o,...n,ref:t})});b4.displayName=iI;var aI="DropdownMenuCheckboxItem",x4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(Kk,{...o,...n,ref:t})});x4.displayName=aI;var sI="DropdownMenuRadioGroup",w4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(Uk,{...o,...n,ref:t})});w4.displayName=sI;var cI="DropdownMenuRadioItem",C4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(Gk,{...o,...n,ref:t})});C4.displayName=cI;var lI="DropdownMenuItemIndicator",E4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(qk,{...o,...n,ref:t})});E4.displayName=lI;var uI="DropdownMenuSeparator",S4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(Yk,{...o,...n,ref:t})});S4.displayName=uI;var dI="DropdownMenuArrow",fI=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(Zk,{...o,...n,ref:t})});fI.displayName=dI;var pI=e=>{const{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:i}=e,a=rt(t),[s,c]=Xt({prop:n,defaultProp:i??!1,onChange:o,caller:"DropdownMenuSub"});return h.jsx(Qk,{...a,open:s,onOpenChange:c,children:r})},mI="DropdownMenuSubTrigger",A4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(Xk,{...o,...n,ref:t})});A4.displayName=mI;var hI="DropdownMenuSubContent",O4=f.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,o=rt(r);return h.jsx(Jk,{...o,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});O4.displayName=hI;var vI=d4,gI=p4,P4=m4,N4=v4,yI=g4,M4=y4,j4=b4,k4=x4,bI=w4,I4=C4,T4=E4,_4=S4,xI=pI,R4=A4,D4=O4;const Cp=vI,Ep=gI,L4=yI,wI=P4,CI=xI,EI=bI,F4=f.forwardRef(({className:e,inset:t,children:r,...n},o)=>h.jsxs(R4,{ref:o,className:B("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...n,children:[r,h.jsx(my,{className:"ml-auto h-4 w-4"})]}));F4.displayName=R4.displayName;const B4=f.forwardRef(({className:e,...t},r)=>h.jsx(D4,{ref:r,className:B("z-50 min-w-[8rem] flex flex-col gap-1 overflow-hidden rounded-md border bg-popover p-2 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));B4.displayName=D4.displayName;const Ec=f.forwardRef(({className:e,sideOffset:t=4,...r},n)=>h.jsx(P4,{children:h.jsx(N4,{ref:n,sideOffset:t,className:B("z-50 min-w-[12rem] flex flex-col gap-1 overflow-hidden rounded-md border border-border bg-popover px-3 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));Ec.displayName=N4.displayName;const ni=f.forwardRef(({className:e,inset:t,...r},n)=>h.jsx(j4,{ref:n,className:B("group relative flex cursor-default select-none items-center rounded-sm px-2 py-2 gap-2 text-sm outline-none transition-colors","focus:bg-soft focus:text-sub","hover:[&>svg]:text-black hover:[&>svg]:fill-black","data-[state=active]:bg-soft data-[state=active]:text-strong","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...r}));ni.displayName=j4.displayName;const $4=f.forwardRef(({className:e,children:t,checked:r,...n},o)=>h.jsxs(k4,{ref:o,className:B("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-soft focus:text-sub data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:r,...n,children:[h.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:h.jsx(T4,{children:h.jsx(Wf,{className:"h-4 w-4"})})}),t]}));$4.displayName=k4.displayName;const V4=f.forwardRef(({className:e,children:t,...r},n)=>h.jsxs(I4,{ref:n,className:B("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-soft focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[h.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:h.jsx(T4,{children:h.jsx(I9,{className:"h-2 w-2 fill-current"})})}),t]}));V4.displayName=I4.displayName;const Sp=f.forwardRef(({className:e,inset:t,...r},n)=>h.jsx(M4,{ref:n,className:B("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...r}));Sp.displayName=M4.displayName;const z4=f.forwardRef(({className:e,...t},r)=>h.jsx(_4,{ref:r,className:B("-mx-1 my-1 h-px bg-muted",e),...t}));z4.displayName=_4.displayName;const W4=({className:e,...t})=>h.jsx("span",{className:B("ml-auto text-xs tracking-widest opacity-60",e),...t});W4.displayName="DropdownMenuShortcut";function SI({trigger:e,items:t,className:r,contentClassName:n,align:o="center"}){const i=o==="left"?"end":o==="right"?"start":o;return h.jsxs(Cp,{children:[h.jsx(Ep,{asChild:!0,children:e}),h.jsx(Ec,{align:i,className:B("w-56",n),children:t.map((a,s)=>h.jsxs(ni,{disabled:a.disabled,onClick:a.onClick,"data-state":a.active?"active":void 0,className:"gap-3 px-3 py-2",children:[a.icon&&h.jsx(ke,{name:a.icon,size:"sm",className:"text-sub group-focus:text-sub group-data-[state=active]:text-strong group-data-[state=active]:fill-strong "}),h.jsx(Ce,{size:"small",fontFamily:"primary",fontWeight:"medium",className:"text-sub group-focus:text-sub group-data-[state=active]:text-strong cursor-pointer",children:a.label})]},s))})]})}const AI=Wt("flex w-full items-center gap-2 border transition-all duration-200 shadow-sm",{variants:{variant:{outlined:"bg-white border-gray-200 hover:bg-weak focus-within:border-primary focus-within:bg-weak",filled:"bg-soft border-transparent hover:bg-soft-1 focus-within:border-primary focus-within:bg-white",ghost:"bg-transparent border-transparent hover:bg-weak focus-within:border-primary focus-within:bg-weak"},size:{sm:"h-[34px] px-3 rounded-md",md:"h-10 px-3 py-[7px] rounded-md",lg:"h-12 px-5 rounded-md"},error:{true:"!border-red-500 !bg-white"},success:{true:"!border-green-500 !bg-white"},disabled:{true:"bg-soft-1 border-soft-1 cursor-not-allowed opacity-60 pointer-events-none"}},defaultVariants:{variant:"outlined",size:"md"}}),H4=f.forwardRef(({className:e,variant:t,size:r,error:n,success:o,disabled:i,label:a,helperText:s,startIcon:c,endIcon:l,showPasswordToggle:u,type:d="text",required:p,...m},g)=>{const[v,y]=f.useState(!1),b=d==="password",x=b&&u&&v?"text":d;return h.jsxs("div",{className:"w-full",children:[a&&h.jsxs(Ce,{size:"small",fontWeight:"medium",className:"mb-2 block text-sub",children:[a,p&&h.jsx("span",{className:"ml-1 text-red-500",children:"*"})]}),h.jsxs("div",{className:B(AI({variant:t,size:r,error:n,success:o,disabled:i}),e),children:[c&&h.jsx("div",{className:"flex shrink-0 items-center text-sub-1",children:c}),h.jsx("input",{ref:g,type:x,disabled:i??void 0,className:B("flex-1 min-w-0 bg-transparent !text-label-sm font-medium text-strong outline-none placeholder:text-sub-1","disabled:cursor-not-allowed"),...m}),b&&u&&h.jsx("button",{type:"button",onClick:()=>y(!v),disabled:i??void 0,className:"flex shrink-0 items-center text-sub-1 transition-colors hover:text-strong",children:v?h.jsx($9,{className:"h-4 w-4"}):h.jsx(z9,{className:"h-4 w-4"})}),!b&&l&&h.jsx("div",{className:"flex shrink-0 items-center text-sub-1",children:l})]}),s&&h.jsx("p",{className:B("mt-1 text-xs",n?"text-red-500":o?"text-green-500":"text-sub"),children:s})]})});H4.displayName="TextField";const pa=["bg-blue-600","bg-orange-600","bg-teal-600","bg-yellow-600"],K4="px-2",Id="grid grid-cols-[80px_1fr_48px] sm:grid-cols-[80px_1fr_48px]";function OI(e,t){return!e||e==="empty"||e==="cogs"?"--":{$:`$${t}`,"%":`${t}%`,"#":String(t??""),empty:"--",cogs:"--"}[e]}function oh({scale:e,dashed:t=!1}){return h.jsx("div",{className:`grid ${K4}`,style:{gridTemplateColumns:`repeat(${e.length}, minmax(0, 1fr))`},children:e.map((r,n)=>h.jsx("div",{className:"relative text-center",children:t?h.jsx("div",{className:"absolute inset-y-0 left-1/2 -translate-x-1/2 border-l border-dashed border-border/70"}):h.jsx(Qe,{variant:"xs",font:"medium",fontFamily:"mono",className:"text-sub-1",children:r})},n))})}function PI({row:e,index:t,valueType:r}){return h.jsxs("div",{className:`${Id} items-center`,children:[h.jsx(Qe,{variant:"xs",font:"medium",fontFamily:"mono",className:"text-sub truncate",children:e.label}),h.jsx("div",{className:`relative ${K4}`,children:h.jsxs("div",{className:"relative h-5 w-full rounded-l-sm bg-muted overflow-visible",children:[h.jsx("div",{className:`h-full ${pa[t%pa.length]} rounded-l-sm`,style:{width:`${e.value}%`}}),h.jsx("span",{className:`absolute top-[-4px] h-7 w-[2px] ${pa[t%pa.length]}`,style:{left:`${e.value}%`,transform:"translateX(-50%)"}})]})}),h.jsx(Qe,{variant:"xs",font:"medium",fontFamily:"mono",className:"text-sub text-right",children:OI(r,e.displayValue)})]})}function NI({title:e,percentage:t,timeframe:r,estimatedOrders:n,valueType:o,scale:i=[],data:a=[]}){const s=o==="empty"||o==="cogs";return h.jsxs("div",{className:"rounded border bg-background px-[14px] pt-[10px] pb-4 w-[548px]",children:[h.jsxs("div",{className:"mb-6 flex items-end justify-between",children:[h.jsxs("div",{className:"flex flex-col gap-2",children:[h.jsx(Ce,{size:"verySmall",fontWeight:"semibold",className:"text-sub",children:e}),s?h.jsx(Qe,{variant:"lg",font:"medium",children:"-"}):h.jsxs(h.Fragment,{children:[t&&h.jsx(ap,{value:parseFloat(t),percentage:!0,variant:"text"}),r&&h.jsx(Ce,{size:"verySmall",className:"text-sub",children:r})]})]}),n&&h.jsxs("div",{className:"flex items-center gap-1",children:[h.jsx(Qe,{variant:"xs",className:"text-sub",font:"regular",children:"EST"}),h.jsxs(Qe,{variant:"xs",font:"bold",fontFamily:"mono",className:"text-surface",children:[Number(n).toLocaleString("en-US")," ORDERS MONTHLY"]})]})]}),!s&&i.length>0&&h.jsxs("div",{className:`mb-3 ${Id} text-xs text-muted-foreground`,children:[h.jsx("div",{}),h.jsx(oh,{scale:i}),h.jsx("div",{})]}),s?h.jsx(U4,{title:o==="cogs"?"Please enter COGS to show this data":"No data yet"}):h.jsxs("div",{className:"relative space-y-4",children:[h.jsx("div",{className:"absolute inset-0 pointer-events-none",children:h.jsxs("div",{className:`${Id} h-full`,children:[h.jsx("div",{}),h.jsx(oh,{scale:i,dashed:!0}),h.jsx("div",{})]})}),a.map((c,l)=>h.jsx(PI,{row:c,index:l,valueType:o},c.label)),h.jsxs("div",{className:"mt-6 flex items-center justify-center gap-1 text-sm text-muted-foreground",children:[h.jsx(ke,{name:"conversion",size:"xs",className:"text-strong"}),h.jsx("span",{className:"font-semibold text-strong !text-h6",children:"Conversion.io"})]})]})]})}function U4({title:e}){return h.jsx("div",{className:"flex h-[240px] py-9 px-0.5 items-center justify-center",children:h.jsxs("div",{className:"flex flex-col items-center gap-3",children:[h.jsx("div",{className:"flex h-24 w-24 items-center justify-center rounded-full bg-muted",children:h.jsx(ke,{name:e==="No data yet"?"noData":"cogs",size:"lg",className:"text-sub-1"})}),h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-sub-1",children:e}),e!=="No data yet"&&h.jsx("div",{children:h.jsx(Jn,{variant:"outlined",size:"sm",children:"Provide COGS"})})]})})}var MI=["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 Ap(e){if(typeof e!="string")return!1;var t=MI;return t.includes(e)}var jI=["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"],kI=new Set(jI);function G4(e){return typeof e!="string"?!1:kI.has(e)}function q4(e){return typeof e=="string"&&e.startsWith("data-")}function Hr(e){if(typeof e!="object"||e===null)return{};var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(G4(r)||q4(r))&&(t[r]=e[r]);return t}function Op(e){if(e==null)return null;if(A.isValidElement(e)&&typeof e.props=="object"&&e.props!==null){var t=e.props;return Hr(t)}return typeof e=="object"&&!Array.isArray(e)?Hr(e):null}function Nt(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(G4(r)||q4(r)||Ap(r))&&(t[r]=e[r]);return t}var II=["children","width","height","viewBox","className","style","title","desc"];function Td(){return Td=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},Td.apply(null,arguments)}function TI(e,t){if(e==null)return{};var r,n,o=_I(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function _I(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 Y4=A.forwardRef((e,t)=>{var{children:r,width:n,height:o,viewBox:i,className:a,style:s,title:c,desc:l}=e,u=TI(e,II),d=i||{width:n,height:o,x:0,y:0},p=be("recharts-surface",a);return f.createElement("svg",Td({},Nt(u),{className:p,width:n,height:o,style:s,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height),ref:t}),f.createElement("title",null,c),f.createElement("desc",null,l),r)}),RI=["children","className"];function _d(){return _d=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},_d.apply(null,arguments)}function DI(e,t){if(e==null)return{};var r,n,o=LI(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function LI(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 mr=f.forwardRef((e,t)=>{var{children:r,className:n}=e,o=DI(e,RI),i=be("recharts-layer",n);return f.createElement("g",_d({className:i},Nt(o),{ref:t}),r)}),FI=A.createContext(null);function we(e){return function(){return e}}const Z4=Math.cos,rs=Math.sin,Ut=Math.sqrt,ns=Math.PI,Sc=2*ns,Rd=Math.PI,Dd=2*Rd,nn=1e-6,BI=Dd-nn;function Q4(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function $I(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Q4;const r=10**t;return function(n){this._+=n[0];for(let o=1,i=n.length;o<i;++o)this._+=Math.round(arguments[o]*r)/r+n[o]}}class VI{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?Q4:$I(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,o){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+o}`}bezierCurveTo(t,r,n,o,i,a){this._append`C${+t},${+r},${+n},${+o},${this._x1=+i},${this._y1=+a}`}arcTo(t,r,n,o,i){if(t=+t,r=+r,n=+n,o=+o,i=+i,i<0)throw new Error(`negative radius: ${i}`);let a=this._x1,s=this._y1,c=n-t,l=o-r,u=a-t,d=s-r,p=u*u+d*d;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(p>nn)if(!(Math.abs(d*c-l*u)>nn)||!i)this._append`L${this._x1=t},${this._y1=r}`;else{let m=n-a,g=o-s,v=c*c+l*l,y=m*m+g*g,b=Math.sqrt(v),x=Math.sqrt(p),w=i*Math.tan((Rd-Math.acos((v+p-y)/(2*b*x)))/2),C=w/x,E=w/b;Math.abs(C-1)>nn&&this._append`L${t+C*u},${r+C*d}`,this._append`A${i},${i},0,0,${+(d*m>u*g)},${this._x1=t+E*c},${this._y1=r+E*l}`}}arc(t,r,n,o,i,a){if(t=+t,r=+r,n=+n,a=!!a,n<0)throw new Error(`negative radius: ${n}`);let s=n*Math.cos(o),c=n*Math.sin(o),l=t+s,u=r+c,d=1^a,p=a?o-i:i-o;this._x1===null?this._append`M${l},${u}`:(Math.abs(this._x1-l)>nn||Math.abs(this._y1-u)>nn)&&this._append`L${l},${u}`,n&&(p<0&&(p=p%Dd+Dd),p>BI?this._append`A${n},${n},0,1,${d},${t-s},${r-c}A${n},${n},0,1,${d},${this._x1=l},${this._y1=u}`:p>nn&&this._append`A${n},${n},0,${+(p>=Rd)},${d},${this._x1=t+n*Math.cos(i)},${this._y1=r+n*Math.sin(i)}`)}rect(t,r,n,o){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+o}h${-n}Z`}toString(){return this._}}function Pp(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 VI(t)}function Np(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function X4(e){this._context=e}X4.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 Ac(e){return new X4(e)}function J4(e){return e[0]}function e3(e){return e[1]}function t3(e,t){var r=we(!0),n=null,o=Ac,i=null,a=Pp(s);e=typeof e=="function"?e:e===void 0?J4:we(e),t=typeof t=="function"?t:t===void 0?e3:we(t);function s(c){var l,u=(c=Np(c)).length,d,p=!1,m;for(n==null&&(i=o(m=a())),l=0;l<=u;++l)!(l<u&&r(d=c[l],l,c))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+e(d,l,c),+t(d,l,c));if(m)return i=null,m+""||null}return s.x=function(c){return arguments.length?(e=typeof c=="function"?c:we(+c),s):e},s.y=function(c){return arguments.length?(t=typeof c=="function"?c:we(+c),s):t},s.defined=function(c){return arguments.length?(r=typeof c=="function"?c:we(!!c),s):r},s.curve=function(c){return arguments.length?(o=c,n!=null&&(i=o(n)),s):o},s.context=function(c){return arguments.length?(c==null?n=i=null:i=o(n=c),s):n},s}function ma(e,t,r){var n=null,o=we(!0),i=null,a=Ac,s=null,c=Pp(l);e=typeof e=="function"?e:e===void 0?J4:we(+e),t=typeof t=="function"?t:we(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?e3:we(+r);function l(d){var p,m,g,v=(d=Np(d)).length,y,b=!1,x,w=new Array(v),C=new Array(v);for(i==null&&(s=a(x=c())),p=0;p<=v;++p){if(!(p<v&&o(y=d[p],p,d))===b)if(b=!b)m=p,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),g=p-1;g>=m;--g)s.point(w[g],C[g]);s.lineEnd(),s.areaEnd()}b&&(w[p]=+e(y,p,d),C[p]=+t(y,p,d),s.point(n?+n(y,p,d):w[p],r?+r(y,p,d):C[p]))}if(x)return s=null,x+""||null}function u(){return t3().defined(o).curve(a).context(i)}return l.x=function(d){return arguments.length?(e=typeof d=="function"?d:we(+d),n=null,l):e},l.x0=function(d){return arguments.length?(e=typeof d=="function"?d:we(+d),l):e},l.x1=function(d){return arguments.length?(n=d==null?null:typeof d=="function"?d:we(+d),l):n},l.y=function(d){return arguments.length?(t=typeof d=="function"?d:we(+d),r=null,l):t},l.y0=function(d){return arguments.length?(t=typeof d=="function"?d:we(+d),l):t},l.y1=function(d){return arguments.length?(r=d==null?null:typeof d=="function"?d:we(+d),l):r},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(r)},l.lineX1=function(){return u().x(n).y(t)},l.defined=function(d){return arguments.length?(o=typeof d=="function"?d:we(!!d),l):o},l.curve=function(d){return arguments.length?(a=d,i!=null&&(s=a(i)),l):a},l.context=function(d){return arguments.length?(d==null?i=s=null:s=a(i=d),l):i},l}class r3{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 zI(e){return new r3(e,!0)}function WI(e){return new r3(e,!1)}const Mp={draw(e,t){const r=Ut(t/ns);e.moveTo(r,0),e.arc(0,0,r,0,Sc)}},HI={draw(e,t){const r=Ut(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},n3=Ut(1/3),KI=n3*2,UI={draw(e,t){const r=Ut(t/KI),n=r*n3;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},GI={draw(e,t){const r=Ut(t),n=-r/2;e.rect(n,n,r,r)}},qI=.8908130915292852,o3=rs(ns/10)/rs(7*ns/10),YI=rs(Sc/10)*o3,ZI=-Z4(Sc/10)*o3,QI={draw(e,t){const r=Ut(t*qI),n=YI*r,o=ZI*r;e.moveTo(0,-r),e.lineTo(n,o);for(let i=1;i<5;++i){const a=Sc*i/5,s=Z4(a),c=rs(a);e.lineTo(c*r,-s*r),e.lineTo(s*n-c*o,c*n+s*o)}e.closePath()}},jl=Ut(3),XI={draw(e,t){const r=-Ut(t/(jl*3));e.moveTo(0,r*2),e.lineTo(-jl*r,-r),e.lineTo(jl*r,-r),e.closePath()}},Et=-.5,St=Ut(3)/2,Ld=1/Ut(12),JI=(Ld/2+1)*3,eT={draw(e,t){const r=Ut(t/JI),n=r/2,o=r*Ld,i=n,a=r*Ld+r,s=-i,c=a;e.moveTo(n,o),e.lineTo(i,a),e.lineTo(s,c),e.lineTo(Et*n-St*o,St*n+Et*o),e.lineTo(Et*i-St*a,St*i+Et*a),e.lineTo(Et*s-St*c,St*s+Et*c),e.lineTo(Et*n+St*o,Et*o-St*n),e.lineTo(Et*i+St*a,Et*a-St*i),e.lineTo(Et*s+St*c,Et*c-St*s),e.closePath()}};function tT(e,t){let r=null,n=Pp(o);e=typeof e=="function"?e:we(e||Mp),t=typeof t=="function"?t:we(t===void 0?64:+t);function o(){let i;if(r||(r=i=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),i)return r=null,i+""||null}return o.type=function(i){return arguments.length?(e=typeof i=="function"?i:we(i),o):e},o.size=function(i){return arguments.length?(t=typeof i=="function"?i:we(+i),o):t},o.context=function(i){return arguments.length?(r=i??null,o):r},o}function os(){}function is(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 i3(e){this._context=e}i3.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:is(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:is(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function rT(e){return new i3(e)}function a3(e){this._context=e}a3.prototype={areaStart:os,areaEnd:os,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:is(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function nT(e){return new a3(e)}function s3(e){this._context=e}s3.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:is(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function oT(e){return new s3(e)}function c3(e){this._context=e}c3.prototype={areaStart:os,areaEnd:os,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 iT(e){return new c3(e)}function ih(e){return e<0?-1:1}function ah(e,t,r){var n=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(n||o<0&&-0),a=(r-e._y1)/(o||n<0&&-0),s=(i*o+a*n)/(n+o);return(ih(i)+ih(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function sh(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function kl(e,t,r){var n=e._x0,o=e._y0,i=e._x1,a=e._y1,s=(i-n)/3;e._context.bezierCurveTo(n+s,o+s*t,i-s,a-s*r,i,a)}function as(e){this._context=e}as.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:kl(this,this._t0,sh(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,kl(this,sh(this,r=ah(this,e,t)),r);break;default:kl(this,this._t0,r=ah(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function l3(e){this._context=new u3(e)}(l3.prototype=Object.create(as.prototype)).point=function(e,t){as.prototype.point.call(this,t,e)};function u3(e){this._context=e}u3.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,o,i){this._context.bezierCurveTo(t,e,n,r,i,o)}};function aT(e){return new as(e)}function sT(e){return new l3(e)}function d3(e){this._context=e}d3.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=ch(e),o=ch(t),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],e[a],t[a]);(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 ch(e){var t,r=e.length-1,n,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function cT(e){return new d3(e)}function Oc(e,t){this._context=e,this._t=t}Oc.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 lT(e){return new Oc(e,.5)}function uT(e){return new Oc(e,0)}function dT(e){return new Oc(e,1)}function wn(e,t){if((a=e.length)>1)for(var r=1,n,o,i=e[t[0]],a,s=i.length;r<a;++r)for(o=i,i=e[t[r]],n=0;n<s;++n)i[n][1]+=i[n][0]=isNaN(o[n][1])?o[n][0]:o[n][1]}function Fd(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function fT(e,t){return e[t]}function pT(e){const t=[];return t.key=e,t}function mT(){var e=we([]),t=Fd,r=wn,n=fT;function o(i){var a=Array.from(e.apply(this,arguments),pT),s,c=a.length,l=-1,u;for(const d of i)for(s=0,++l;s<c;++s)(a[s][l]=[0,+n(d,a[s].key,l,i)]).data=d;for(s=0,u=Np(t(a));s<c;++s)a[u[s]].index=s;return r(a,u),a}return o.keys=function(i){return arguments.length?(e=typeof i=="function"?i:we(Array.from(i)),o):e},o.value=function(i){return arguments.length?(n=typeof i=="function"?i:we(+i),o):n},o.order=function(i){return arguments.length?(t=i==null?Fd:typeof i=="function"?i:we(Array.from(i)),o):t},o.offset=function(i){return arguments.length?(r=i??wn,o):r},o}function hT(e,t){if((n=e.length)>0){for(var r,n,o=0,i=e[0].length,a;o<i;++o){for(a=r=0;r<n;++r)a+=e[r][o][1]||0;if(a)for(r=0;r<n;++r)e[r][o][1]/=a}wn(e,t)}}function vT(e,t){if((o=e.length)>0){for(var r=0,n=e[t[0]],o,i=n.length;r<i;++r){for(var a=0,s=0;a<o;++a)s+=e[a][r][1]||0;n[r][1]+=n[r][0]=-s/2}wn(e,t)}}function gT(e,t){if(!(!((a=e.length)>0)||!((i=(o=e[t[0]]).length)>0))){for(var r=0,n=1,o,i,a;n<i;++n){for(var s=0,c=0,l=0;s<a;++s){for(var u=e[t[s]],d=u[n][1]||0,p=u[n-1][1]||0,m=(d-p)/2,g=0;g<s;++g){var v=e[t[g]],y=v[n][1]||0,b=v[n-1][1]||0;m+=y-b}c+=d,l+=m*d}o[n-1][1]+=o[n-1][0]=r,c&&(r-=l/c)}o[n-1][1]+=o[n-1][0]=r,wn(e,t)}}var Il={},Tl={},lh;function yT(){return lh||(lh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r==="__proto__"}e.isUnsafeProperty=t})(Tl)),Tl}var _l={},uh;function f3(){return uh||(uh=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})(_l)),_l}var Rl={},dh;function jp(){return dh||(dh=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})(Rl)),Rl}var Dl={},Ll={},fh;function bT(){return fh||(fh=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})(Ll)),Ll}var ph;function kp(){return ph||(ph=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=bT(),r=jp();function n(o){if(Array.isArray(o))return o.map(r.toKey);if(typeof o=="symbol")return[o];o=t.toString(o);const i=[],a=o.length;if(a===0)return i;let s=0,c="",l="",u=!1;for(o.charCodeAt(0)===46&&(i.push(""),s++);s<a;){const d=o[s];l?d==="\\"&&s+1<a?(s++,c+=o[s]):d===l?l="":c+=d:u?d==='"'||d==="'"?l=d:d==="]"?(u=!1,i.push(c),c=""):c+=d:d==="["?(u=!0,c&&(i.push(c),c="")):d==="."?c&&(i.push(c),c=""):c+=d,s++}return c&&i.push(c),i}e.toPath=n})(Dl)),Dl}var mh;function Ip(){return mh||(mh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=yT(),r=f3(),n=jp(),o=kp();function i(s,c,l){if(s==null)return l;switch(typeof c){case"string":{if(t.isUnsafeProperty(c))return l;const u=s[c];return u===void 0?r.isDeepKey(c)?i(s,o.toPath(c),l):l:u}case"number":case"symbol":{typeof c=="number"&&(c=n.toKey(c));const u=s[c];return u===void 0?l:u}default:{if(Array.isArray(c))return a(s,c,l);if(Object.is(c?.valueOf(),-0)?c="-0":c=String(c),t.isUnsafeProperty(c))return l;const u=s[c];return u===void 0?l:u}}}function a(s,c,l){if(c.length===0)return l;let u=s;for(let d=0;d<c.length;d++){if(u==null||t.isUnsafeProperty(c[d]))return l;u=u[c[d]]}return u===void 0?l:u}e.get=i})(Il)),Il}var Fl,hh;function xT(){return hh||(hh=1,Fl=Ip().get),Fl}var wT=xT();const io=Cr(wT);var CT=4;function $r(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:CT,r=10**t,n=Math.round(e*r)/r;return Object.is(n,-0)?0:n}function Pe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e.reduce((o,i,a)=>{var s=r[a-1];return typeof s=="string"?o+s+i:s!==void 0?o+$r(s)+i:o+i},"")}var yt=e=>e===0?0:e>0?1:-1,er=e=>typeof e=="number"&&e!=+e,hr=e=>typeof e=="string"&&e.indexOf("%")===e.length-1,te=e=>(typeof e=="number"||e instanceof Number)&&!er(e),tr=e=>te(e)||typeof e=="string",ET=0,oi=e=>{var t=++ET;return"".concat(e||"").concat(t)},Vt=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!te(t)&&typeof t!="string")return n;var i;if(hr(t)){if(r==null)return n;var a=t.indexOf("%");i=r*parseFloat(t.slice(0,a))/100}else i=+t;return er(i)&&(i=n),o&&r!=null&&i>r&&(i=r),i},p3=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++)if(!r[String(e[n])])r[String(e[n])]=!0;else return!0;return!1};function Ye(e,t,r){return te(e)&&te(t)?$r(e+r*(t-e)):t}function ST(e,t,r){if(!(!e||!e.length))return e.find(n=>n&&(typeof t=="function"?t(n):io(n,t))===r)}var ze=e=>e===null||typeof e>"u",_i=e=>ze(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function AT(e){return e!=null}function Ri(){}var OT=["type","size","sizeType"];function Bd(){return Bd=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},Bd.apply(null,arguments)}function vh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function gh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vh(Object(r),!0).forEach(function(n){PT(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function PT(e,t,r){return(t=NT(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NT(e){var t=MT(e,"string");return typeof t=="symbol"?t:t+""}function MT(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 jT(e,t){if(e==null)return{};var r,n,o=kT(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function kT(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 m3={symbolCircle:Mp,symbolCross:HI,symbolDiamond:UI,symbolSquare:GI,symbolStar:QI,symbolTriangle:XI,symbolWye:eT},IT=Math.PI/180,TT=e=>{var t="symbol".concat(_i(e));return m3[t]||Mp},_T=(e,t,r)=>{if(t==="area")return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var n=18*IT;return 1.25*e*e*(Math.tan(n)-Math.tan(n*2)*Math.tan(n)**2)}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},RT=(e,t)=>{m3["symbol".concat(_i(e))]=t},h3=e=>{var{type:t="circle",size:r=64,sizeType:n="area"}=e,o=jT(e,OT),i=gh(gh({},o),{},{type:t,size:r,sizeType:n}),a="circle";typeof t=="string"&&(a=t);var s=()=>{var p=TT(a),m=tT().type(p).size(_T(r,n,a)),g=m();if(g!==null)return g},{className:c,cx:l,cy:u}=i,d=Nt(i);return te(l)&&te(u)&&te(r)?f.createElement("path",Bd({},d,{className:be("recharts-symbols",c),transform:"translate(".concat(l,", ").concat(u,")"),d:s()})):null};h3.registerSymbol=RT;var v3=e=>"radius"in e&&"startAngle"in e&&"endAngle"in e,DT=(e,t)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var r=e;if(A.isValidElement(e)&&(r=e.props),typeof r!="object"&&typeof r!="function")return null;var n={};return Object.keys(r).forEach(o=>{Ap(o)&&(n[o]=(i=>r[o](r,i)))}),n},LT=(e,t,r)=>n=>(e(t,r,n),null),Tp=(e,t,r)=>{if(e===null||typeof e!="object"&&typeof e!="function")return null;var n=null;return Object.keys(e).forEach(o=>{var i=e[o];Ap(o)&&typeof i=="function"&&(n||(n={}),n[o]=LT(i,t,r))}),n};function yh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function FT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yh(Object(r),!0).forEach(function(n){BT(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function BT(e,t,r){return(t=$T(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $T(e){var t=VT(e,"string");return typeof t=="symbol"?t:t+""}function VT(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 It(e,t){var r=FT({},e),n=t,o=Object.keys(t),i=o.reduce((a,s)=>(a[s]===void 0&&n[s]!==void 0&&(a[s]=n[s]),a),r);return i}var Bl={},$l={},bh;function zT(){return bh||(bh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n){const o=new Map;for(let i=0;i<r.length;i++){const a=r[i],s=n(a);o.has(s)||o.set(s,a)}return Array.from(o.values())}e.uniqBy=t})($l)),$l}var Vl={},xh;function g3(){return xh||(xh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r}e.identity=t})(Vl)),Vl}var zl={},Wl={},Hl={},wh;function WT(){return wh||(wh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return Number.isSafeInteger(r)&&r>=0}e.isLength=t})(Hl)),Hl}var Ch;function _p(){return Ch||(Ch=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=WT();function r(n){return n!=null&&typeof n!="function"&&t.isLength(n.length)}e.isArrayLike=r})(Wl)),Wl}var Kl={},Eh;function HT(){return Eh||(Eh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return typeof r=="object"&&r!==null}e.isObjectLike=t})(Kl)),Kl}var Sh;function KT(){return Sh||(Sh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=_p(),r=HT();function n(o){return r.isObjectLike(o)&&t.isArrayLike(o)}e.isArrayLikeObject=n})(zl)),zl}var Ul={},Gl={},Ah;function UT(){return Ah||(Ah=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Ip();function r(n){return function(o){return t.get(o,n)}}e.property=r})(Gl)),Gl}var ql={},Yl={},Zl={},Ql={},Oh;function y3(){return Oh||(Oh=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})(Ql)),Ql}var Xl={},Ph;function b3(){return Ph||(Ph=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})(Xl)),Xl}var Jl={},Nh;function x3(){return Nh||(Nh=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})(Jl)),Jl}var Mh;function GT(){return Mh||(Mh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=y3(),r=b3(),n=x3();function o(u,d,p){return typeof p!="function"?o(u,d,()=>{}):i(u,d,function m(g,v,y,b,x,w){const C=p(g,v,y,b,x,w);return C!==void 0?!!C:i(g,v,m,w)},new Map)}function i(u,d,p,m){if(d===u)return!0;switch(typeof d){case"object":return a(u,d,p,m);case"function":return Object.keys(d).length>0?i(u,{...d},p,m):n.eq(u,d);default:return t.isObject(u)?typeof d=="string"?d==="":!0:n.eq(u,d)}}function a(u,d,p,m){if(d==null)return!0;if(Array.isArray(d))return c(u,d,p,m);if(d instanceof Map)return s(u,d,p,m);if(d instanceof Set)return l(u,d,p,m);const g=Object.keys(d);if(u==null||r.isPrimitive(u))return g.length===0;if(g.length===0)return!0;if(m?.has(d))return m.get(d)===u;m?.set(d,u);try{for(let v=0;v<g.length;v++){const y=g[v];if(!r.isPrimitive(u)&&!(y in u)||d[y]===void 0&&u[y]!==void 0||d[y]===null&&u[y]!==null||!p(u[y],d[y],y,u,d,m))return!1}return!0}finally{m?.delete(d)}}function s(u,d,p,m){if(d.size===0)return!0;if(!(u instanceof Map))return!1;for(const[g,v]of d.entries()){const y=u.get(g);if(p(y,v,g,u,d,m)===!1)return!1}return!0}function c(u,d,p,m){if(d.length===0)return!0;if(!Array.isArray(u))return!1;const g=new Set;for(let v=0;v<d.length;v++){const y=d[v];let b=!1;for(let x=0;x<u.length;x++){if(g.has(x))continue;const w=u[x];let C=!1;if(p(w,y,v,u,d,m)&&(C=!0),C){g.add(x),b=!0;break}}if(!b)return!1}return!0}function l(u,d,p,m){return d.size===0?!0:u instanceof Set?c([...u],[...d],p,m):!1}e.isMatchWith=o,e.isSetMatch=l})(Zl)),Zl}var jh;function w3(){return jh||(jh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=GT();function r(n,o){return t.isMatchWith(n,o,()=>{})}e.isMatch=r})(Yl)),Yl}var eu={},tu={},ru={},kh;function qT(){return kh||(kh=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})(ru)),ru}var nu={},Ih;function C3(){return Ih||(Ih=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})(nu)),nu}var ou={},Th;function E3(){return Th||(Th=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t="[object RegExp]",r="[object String]",n="[object Number]",o="[object Boolean]",i="[object Arguments]",a="[object Symbol]",s="[object Date]",c="[object Map]",l="[object Set]",u="[object Array]",d="[object Function]",p="[object ArrayBuffer]",m="[object Object]",g="[object Error]",v="[object DataView]",y="[object Uint8Array]",b="[object Uint8ClampedArray]",x="[object Uint16Array]",w="[object Uint32Array]",C="[object BigUint64Array]",E="[object Int8Array]",S="[object Int16Array]",O="[object Int32Array]",P="[object BigInt64Array]",j="[object Float32Array]",D="[object Float64Array]";e.argumentsTag=i,e.arrayBufferTag=p,e.arrayTag=u,e.bigInt64ArrayTag=P,e.bigUint64ArrayTag=C,e.booleanTag=o,e.dataViewTag=v,e.dateTag=s,e.errorTag=g,e.float32ArrayTag=j,e.float64ArrayTag=D,e.functionTag=d,e.int16ArrayTag=S,e.int32ArrayTag=O,e.int8ArrayTag=E,e.mapTag=c,e.numberTag=n,e.objectTag=m,e.regexpTag=t,e.setTag=l,e.stringTag=r,e.symbolTag=a,e.uint16ArrayTag=x,e.uint32ArrayTag=w,e.uint8ArrayTag=y,e.uint8ClampedArrayTag=b})(ou)),ou}var iu={},_h;function YT(){return _h||(_h=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}e.isTypedArray=t})(iu)),iu}var Rh;function S3(){return Rh||(Rh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=qT(),r=C3(),n=E3(),o=b3(),i=YT();function a(u,d){return s(u,void 0,u,new Map,d)}function s(u,d,p,m=new Map,g=void 0){const v=g?.(u,d,p,m);if(v!==void 0)return v;if(o.isPrimitive(u))return u;if(m.has(u))return m.get(u);if(Array.isArray(u)){const y=new Array(u.length);m.set(u,y);for(let b=0;b<u.length;b++)y[b]=s(u[b],b,p,m,g);return Object.hasOwn(u,"index")&&(y.index=u.index),Object.hasOwn(u,"input")&&(y.input=u.input),y}if(u instanceof Date)return new Date(u.getTime());if(u instanceof RegExp){const y=new RegExp(u.source,u.flags);return y.lastIndex=u.lastIndex,y}if(u instanceof Map){const y=new Map;m.set(u,y);for(const[b,x]of u)y.set(b,s(x,b,p,m,g));return y}if(u instanceof Set){const y=new Set;m.set(u,y);for(const b of u)y.add(s(b,void 0,p,m,g));return y}if(typeof Buffer<"u"&&Buffer.isBuffer(u))return u.subarray();if(i.isTypedArray(u)){const y=new(Object.getPrototypeOf(u)).constructor(u.length);m.set(u,y);for(let b=0;b<u.length;b++)y[b]=s(u[b],b,p,m,g);return y}if(u instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&u instanceof SharedArrayBuffer)return u.slice(0);if(u instanceof DataView){const y=new DataView(u.buffer.slice(0),u.byteOffset,u.byteLength);return m.set(u,y),c(y,u,p,m,g),y}if(typeof File<"u"&&u instanceof File){const y=new File([u],u.name,{type:u.type});return m.set(u,y),c(y,u,p,m,g),y}if(typeof Blob<"u"&&u instanceof Blob){const y=new Blob([u],{type:u.type});return m.set(u,y),c(y,u,p,m,g),y}if(u instanceof Error){const y=new u.constructor;return m.set(u,y),y.message=u.message,y.name=u.name,y.stack=u.stack,y.cause=u.cause,c(y,u,p,m,g),y}if(u instanceof Boolean){const y=new Boolean(u.valueOf());return m.set(u,y),c(y,u,p,m,g),y}if(u instanceof Number){const y=new Number(u.valueOf());return m.set(u,y),c(y,u,p,m,g),y}if(u instanceof String){const y=new String(u.valueOf());return m.set(u,y),c(y,u,p,m,g),y}if(typeof u=="object"&&l(u)){const y=Object.create(Object.getPrototypeOf(u));return m.set(u,y),c(y,u,p,m,g),y}return u}function c(u,d,p=u,m,g){const v=[...Object.keys(d),...t.getSymbols(d)];for(let y=0;y<v.length;y++){const b=v[y],x=Object.getOwnPropertyDescriptor(u,b);(x==null||x.writable)&&(u[b]=s(d[b],b,p,m,g))}}function l(u){switch(r.getTag(u)){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=a,e.cloneDeepWithImpl=s,e.copyProperties=c})(tu)),tu}var Dh;function ZT(){return Dh||(Dh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=S3();function r(n){return t.cloneDeepWithImpl(n,void 0,n,new Map,void 0)}e.cloneDeep=r})(eu)),eu}var Lh;function QT(){return Lh||(Lh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=w3(),r=ZT();function n(o){return o=r.cloneDeep(o),i=>t.isMatch(i,o)}e.matches=n})(ql)),ql}var au={},su={},cu={},Fh;function XT(){return Fh||(Fh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=S3(),r=E3();function n(o,i){return t.cloneDeepWith(o,(a,s,c,l)=>{const u=i?.(a,s,c,l);if(u!==void 0)return u;if(typeof o=="object")switch(Object.prototype.toString.call(o)){case r.numberTag:case r.stringTag:case r.booleanTag:{const d=new o.constructor(o?.valueOf());return t.copyProperties(d,o),d}case r.argumentsTag:{const d={};return t.copyProperties(d,o),d.length=o.length,d[Symbol.iterator]=o[Symbol.iterator],d}default:return}})}e.cloneDeepWith=n})(cu)),cu}var Bh;function JT(){return Bh||(Bh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=XT();function r(n){return t.cloneDeepWith(n)}e.cloneDeep=r})(su)),su}var lu={},uu={},$h;function A3(){return $h||($h=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=/^(?:0|[1-9]\d*)$/;function r(n,o=Number.MAX_SAFE_INTEGER){switch(typeof n){case"number":return Number.isInteger(n)&&n>=0&&n<o;case"symbol":return!1;case"string":return t.test(n)}}e.isIndex=r})(uu)),uu}var du={},Vh;function e_(){return Vh||(Vh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=C3();function r(n){return n!==null&&typeof n=="object"&&t.getTag(n)==="[object Arguments]"}e.isArguments=r})(du)),du}var zh;function t_(){return zh||(zh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=f3(),r=A3(),n=e_(),o=kp();function i(a,s){let c;if(Array.isArray(s)?c=s:typeof s=="string"&&t.isDeepKey(s)&&a?.[s]==null?c=o.toPath(s):c=[s],c.length===0)return!1;let l=a;for(let u=0;u<c.length;u++){const d=c[u];if((l==null||!Object.hasOwn(l,d))&&!((Array.isArray(l)||n.isArguments(l))&&r.isIndex(d)&&d<l.length))return!1;l=l[d]}return!0}e.has=i})(lu)),lu}var Wh;function r_(){return Wh||(Wh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=w3(),r=jp(),n=JT(),o=Ip(),i=t_();function a(s,c){switch(typeof s){case"object":{Object.is(s?.valueOf(),-0)&&(s="-0");break}case"number":{s=r.toKey(s);break}}return c=n.cloneDeep(c),function(l){const u=o.get(l,s);return u===void 0?i.has(l,s):c===void 0?u===void 0:t.isMatch(u,c)}}e.matchesProperty=a})(au)),au}var Hh;function n_(){return Hh||(Hh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=g3(),r=UT(),n=QT(),o=r_();function i(a){if(a==null)return t.identity;switch(typeof a){case"function":return a;case"object":return Array.isArray(a)&&a.length===2?o.matchesProperty(a[0],a[1]):n.matches(a);case"string":case"symbol":case"number":return r.property(a)}}e.iteratee=i})(Ul)),Ul}var Kh;function o_(){return Kh||(Kh=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=zT(),r=g3(),n=KT(),o=n_();function i(a,s=r.identity){return n.isArrayLikeObject(a)?t.uniqBy(Array.from(a),o.iteratee(s)):[]}e.uniqBy=i})(Bl)),Bl}var fu,Uh;function i_(){return Uh||(Uh=1,fu=o_().uniqBy),fu}var a_=i_();const Gh=Cr(a_);function s_(e,t,r){return t===!0?Gh(e,r):typeof t=="function"?Gh(e,t):e}var ha={exports:{}},pu={},va={exports:{}},mu={};var qh;function c_(){if(qh)return mu;qh=1;var e=A;function t(d,p){return d===p&&(d!==0||1/d===1/p)||d!==d&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(d,p){var m=p(),g=n({inst:{value:m,getSnapshot:p}}),v=g[0].inst,y=g[1];return i(function(){v.value=m,v.getSnapshot=p,c(v)&&y({inst:v})},[d,m,p]),o(function(){return c(v)&&y({inst:v}),d(function(){c(v)&&y({inst:v})})},[d]),a(m),m}function c(d){var p=d.getSnapshot;d=d.value;try{var m=p();return!r(d,m)}catch{return!0}}function l(d,p){return p()}var u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:s;return mu.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:u,mu}var hu={};var Yh;function l_(){return Yh||(Yh=1,process.env.NODE_ENV!=="production"&&(function(){function e(m,g){return m===g&&(m!==0||1/m===1/g)||m!==m&&g!==g}function t(m,g){u||o.startTransition===void 0||(u=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var v=g();if(!d){var y=g();i(v,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),d=!0)}y=a({inst:{value:v,getSnapshot:g}});var b=y[0].inst,x=y[1];return c(function(){b.value=v,b.getSnapshot=g,r(b)&&x({inst:b})},[m,v,g]),s(function(){return r(b)&&x({inst:b}),m(function(){r(b)&&x({inst:b})})},[m]),l(v),v}function r(m){var g=m.getSnapshot;m=m.value;try{var v=g();return!i(m,v)}catch{return!0}}function n(m,g){return g()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=A,i=typeof Object.is=="function"?Object.is:e,a=o.useState,s=o.useEffect,c=o.useLayoutEffect,l=o.useDebugValue,u=!1,d=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;hu.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),hu}var Zh;function O3(){return Zh||(Zh=1,process.env.NODE_ENV==="production"?va.exports=c_():va.exports=l_()),va.exports}var Qh;function u_(){if(Qh)return pu;Qh=1;var e=A,t=O3();function r(l,u){return l===u&&(l!==0||1/l===1/u)||l!==l&&u!==u}var n=typeof Object.is=="function"?Object.is:r,o=t.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,c=e.useDebugValue;return pu.useSyncExternalStoreWithSelector=function(l,u,d,p,m){var g=i(null);if(g.current===null){var v={hasValue:!1,value:null};g.current=v}else v=g.current;g=s(function(){function b(S){if(!x){if(x=!0,w=S,S=p(S),m!==void 0&&v.hasValue){var O=v.value;if(m(O,S))return C=O}return C=S}if(O=C,n(w,S))return O;var P=p(S);return m!==void 0&&m(O,P)?(w=S,O):(w=S,C=P)}var x=!1,w,C,E=d===void 0?null:d;return[function(){return b(u())},E===null?void 0:function(){return b(E())}]},[u,d,p,m]);var y=o(l,g[0],g[1]);return a(function(){v.hasValue=!0,v.value=y},[y]),c(y),y},pu}var vu={};var Xh;function d_(){return Xh||(Xh=1,process.env.NODE_ENV!=="production"&&(function(){function e(l,u){return l===u&&(l!==0||1/l===1/u)||l!==l&&u!==u}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=A,r=O3(),n=typeof Object.is=="function"?Object.is:e,o=r.useSyncExternalStore,i=t.useRef,a=t.useEffect,s=t.useMemo,c=t.useDebugValue;vu.useSyncExternalStoreWithSelector=function(l,u,d,p,m){var g=i(null);if(g.current===null){var v={hasValue:!1,value:null};g.current=v}else v=g.current;g=s(function(){function b(S){if(!x){if(x=!0,w=S,S=p(S),m!==void 0&&v.hasValue){var O=v.value;if(m(O,S))return C=O}return C=S}if(O=C,n(w,S))return O;var P=p(S);return m!==void 0&&m(O,P)?(w=S,O):(w=S,C=P)}var x=!1,w,C,E=d===void 0?null:d;return[function(){return b(u())},E===null?void 0:function(){return b(E())}]},[u,d,p,m]);var y=o(l,g[0],g[1]);return a(function(){v.hasValue=!0,v.value=y},[y]),c(y),y},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),vu}var Jh;function f_(){return Jh||(Jh=1,process.env.NODE_ENV==="production"?ha.exports=u_():ha.exports=d_()),ha.exports}var p_=f_(),Rp=A.createContext(null),m_=e=>e,Me=()=>{var e=A.useContext(Rp);return e?e.store.dispatch:m_},La=()=>{},h_=()=>La,v_=(e,t)=>e===t;function re(e){var t=A.useContext(Rp);return p_.useSyncExternalStoreWithSelector(t?t.subscription.addNestedSub:h_,t?t.store.getState:La,t?t.store.getState:La,t?e:La,v_)}var g_=(e,t,r)=>{if(t.length===1&&t[0]===r){let n=!1;try{const o={};e(o)===o&&(n=!0)}catch{}if(n){let o;try{throw new Error}catch(i){({stack:o}=i)}console.warn(`The result function returned its own inputs without modification. e.g
|
|
61
|
+
\`createSelector([state => state.todos], todos => todos)\`
|
|
62
|
+
This could lead to inefficient memoization and unnecessary re-renders.
|
|
63
|
+
Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,{stack:o})}}},y_=(e,t,r)=>{const{memoize:n,memoizeOptions:o}=t,{inputSelectorResults:i,inputSelectorResultsCopy:a}=e,s=n(()=>({}),...o);if(!(s.apply(null,i)===s.apply(null,a))){let l;try{throw new Error}catch(u){({stack:l}=u)}console.warn(`An input selector returned a different result when passed same arguments.
|
|
64
|
+
This means your output selector will likely run more frequently than intended.
|
|
65
|
+
Avoid returning a new reference inside your input selector, e.g.
|
|
66
|
+
\`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,{arguments:r,firstInputs:i,secondInputs:a,stack:l})}},b_={inputStabilityCheck:"once",identityFunctionCheck:"once"};function x_(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function w_(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function C_(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 e1=e=>Array.isArray(e)?e:[e];function E_(e){const t=Array.isArray(e[0])?e[0]:e;return C_(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function t1(e,t){const r=[],{length:n}=e;for(let o=0;o<n;o++)r.push(e[o].apply(null,t));return r}var S_=(e,t)=>{const{identityFunctionCheck:r,inputStabilityCheck:n}={...b_,...t};return{identityFunctionCheck:{shouldRun:r==="always"||r==="once"&&e,run:g_},inputStabilityCheck:{shouldRun:n==="always"||n==="once"&&e,run:y_}}},A_=class{constructor(e){this.value=e}deref(){return this.value}},O_=typeof WeakRef<"u"?WeakRef:A_,P_=0,r1=1;function ga(){return{s:P_,v:void 0,o:null,p:null}}function P3(e,t={}){let r=ga();const{resultEqualityCheck:n}=t;let o,i=0;function a(){let s=r;const{length:c}=arguments;for(let d=0,p=c;d<p;d++){const m=arguments[d];if(typeof m=="function"||typeof m=="object"&&m!==null){let g=s.o;g===null&&(s.o=g=new WeakMap);const v=g.get(m);v===void 0?(s=ga(),g.set(m,s)):s=v}else{let g=s.p;g===null&&(s.p=g=new Map);const v=g.get(m);v===void 0?(s=ga(),g.set(m,s)):s=v}}const l=s;let u;if(s.s===r1)u=s.v;else if(u=e.apply(null,arguments),i++,n){const d=o?.deref?.()??o;d!=null&&n(d,u)&&(u=d,i!==0&&i--),o=typeof u=="object"&&u!==null||typeof u=="function"?new O_(u):u}return l.s=r1,l.v=u,u}return a.clearCache=()=>{r=ga(),a.resetResultsCount()},a.resultsCount=()=>i,a.resetResultsCount=()=>{i=0},a}function N_(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...o)=>{let i=0,a=0,s,c={},l=o.pop();typeof l=="object"&&(c=l,l=o.pop()),x_(l,`createSelector expects an output function after the inputs, but received: [${typeof l}]`);const u={...r,...c},{memoize:d,memoizeOptions:p=[],argsMemoize:m=P3,argsMemoizeOptions:g=[],devModeChecks:v={}}=u,y=e1(p),b=e1(g),x=E_(o),w=d(function(){return i++,l.apply(null,arguments)},...y);let C=!0;const E=m(function(){a++;const O=t1(x,arguments);if(s=w.apply(null,O),process.env.NODE_ENV!=="production"){const{identityFunctionCheck:P,inputStabilityCheck:j}=S_(C,v);if(P.shouldRun&&P.run(l,O,s),j.shouldRun){const D=t1(x,arguments);j.run({inputSelectorResults:O,inputSelectorResultsCopy:D},{memoize:d,memoizeOptions:y},arguments)}C&&(C=!1)}return s},...b);return Object.assign(E,{resultFunc:l,memoizedResultFunc:w,dependencies:x,dependencyRecomputations:()=>a,resetDependencyRecomputations:()=>{a=0},lastResult:()=>s,recomputations:()=>i,resetRecomputations:()=>{i=0},memoize:d,argsMemoize:m})};return Object.assign(n,{withTypes:()=>n}),n}var I=N_(P3),M_=Object.assign((e,t=I)=>{w_(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(i=>e[i]);return t(n,(...i)=>i.reduce((a,s,c)=>(a[r[c]]=s,a),{}))},{withTypes:()=>M_}),gu={},yu={},bu={},n1;function j_(){return n1||(n1=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,o,i)=>{if(n!==o){const a=t(n),s=t(o);if(a===s&&a===0){if(n<o)return i==="desc"?1:-1;if(n>o)return i==="desc"?-1:1}return i==="desc"?s-a:a-s}return 0};e.compareValues=r})(bu)),bu}var xu={},wu={},o1;function N3(){return o1||(o1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return typeof r=="symbol"||r instanceof Symbol}e.isSymbol=t})(wu)),wu}var i1;function k_(){return i1||(i1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=N3(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function o(i,a){return Array.isArray(i)?!1:typeof i=="number"||typeof i=="boolean"||i==null||t.isSymbol(i)?!0:typeof i=="string"&&(n.test(i)||!r.test(i))||a!=null&&Object.hasOwn(a,i)}e.isKey=o})(xu)),xu}var a1;function I_(){return a1||(a1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=j_(),r=k_(),n=kp();function o(i,a,s,c){if(i==null)return[];s=c?void 0:s,Array.isArray(i)||(i=Object.values(i)),Array.isArray(a)||(a=a==null?[null]:[a]),a.length===0&&(a=[null]),Array.isArray(s)||(s=s==null?[]:[s]),s=s.map(m=>String(m));const l=(m,g)=>{let v=m;for(let y=0;y<g.length&&v!=null;++y)v=v[g[y]];return v},u=(m,g)=>g==null||m==null?g:typeof m=="object"&&"key"in m?Object.hasOwn(g,m.key)?g[m.key]:l(g,m.path):typeof m=="function"?m(g):Array.isArray(m)?l(g,m):typeof g=="object"?g[m]:g,d=a.map(m=>(Array.isArray(m)&&m.length===1&&(m=m[0]),m==null||typeof m=="function"||Array.isArray(m)||r.isKey(m)?m:{key:m,path:n.toPath(m)}));return i.map(m=>({original:m,criteria:d.map(g=>u(g,m))})).slice().sort((m,g)=>{for(let v=0;v<d.length;v++){const y=t.compareValues(m.criteria[v],g.criteria[v],s[v]);if(y!==0)return y}return 0}).map(m=>m.original)}e.orderBy=o})(yu)),yu}var Cu={},s1;function T_(){return s1||(s1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n=1){const o=[],i=Math.floor(n),a=(s,c)=>{for(let l=0;l<s.length;l++){const u=s[l];Array.isArray(u)&&c<i?a(u,c+1):o.push(u)}};return a(r,0),o}e.flatten=t})(Cu)),Cu}var Eu={},c1;function M3(){return c1||(c1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=A3(),r=_p(),n=y3(),o=x3();function i(a,s,c){return n.isObject(c)&&(typeof s=="number"&&r.isArrayLike(c)&&t.isIndex(s)&&s<c.length||typeof s=="string"&&s in c)?o.eq(c[s],a):!1}e.isIterateeCall=i})(Eu)),Eu}var l1;function __(){return l1||(l1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=I_(),r=T_(),n=M3();function o(i,...a){const s=a.length;return s>1&&n.isIterateeCall(i,a[0],a[1])?a=[]:s>2&&n.isIterateeCall(a[0],a[1],a[2])&&(a=[a[0]]),t.orderBy(i,r.flatten(a),["asc"])}e.sortBy=o})(gu)),gu}var Su,u1;function R_(){return u1||(u1=1,Su=__().sortBy),Su}var D_=R_();const Pc=Cr(D_);var j3=e=>e.legend.settings,L_=e=>e.legend.size,F_=e=>e.legend.payload;I([F_,j3],(e,t)=>{var{itemSorter:r}=t,n=e.flat(1);return r?Pc(n,r):n});var ya=1;function B_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],[t,r]=A.useState({height:0,left:0,top:0,width:0}),n=A.useCallback(o=>{if(o!=null){var i=o.getBoundingClientRect(),a={height:i.height,left:i.left,top:i.top,width:i.width};(Math.abs(a.height-t.height)>ya||Math.abs(a.left-t.left)>ya||Math.abs(a.top-t.top)>ya||Math.abs(a.width-t.width)>ya)&&r({height:a.height,left:a.left,top:a.top,width:a.width})}},[t.width,t.height,t.top,t.left,...e]);return[t,n]}function Ge(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 $_=typeof Symbol=="function"&&Symbol.observable||"@@observable",d1=$_,Au=()=>Math.random().toString(36).substring(7).split("").join("."),V_={INIT:`@@redux/INIT${Au()}`,REPLACE:`@@redux/REPLACE${Au()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Au()}`},dn=V_;function Di(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 z_(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(K_(e))return"date";if(H_(e))return"error";const r=W_(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 W_(e){return typeof e.constructor=="function"?e.constructor.name:null}function H_(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function K_(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Tr(e){let t=typeof e;return process.env.NODE_ENV!=="production"&&(t=z_(e)),t}function k3(e,t,r){if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Ge(2):`Expected the root reducer to be a function. Instead, received: '${Tr(e)}'`);if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Ge(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"?Ge(1):`Expected the enhancer to be a function. Instead, received: '${Tr(r)}'`);return r(k3)(e,t)}let n=e,o=t,i=new Map,a=i,s=0,c=!1;function l(){a===i&&(a=new Map,i.forEach((y,b)=>{a.set(b,y)}))}function u(){if(c)throw new Error(process.env.NODE_ENV==="production"?Ge(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 o}function d(y){if(typeof y!="function")throw new Error(process.env.NODE_ENV==="production"?Ge(4):`Expected the listener to be a function. Instead, received: '${Tr(y)}'`);if(c)throw new Error(process.env.NODE_ENV==="production"?Ge(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 b=!0;l();const x=s++;return a.set(x,y),function(){if(b){if(c)throw new Error(process.env.NODE_ENV==="production"?Ge(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.");b=!1,l(),a.delete(x),i=null}}}function p(y){if(!Di(y))throw new Error(process.env.NODE_ENV==="production"?Ge(7):`Actions must be plain objects. Instead, the actual type was: '${Tr(y)}'. 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 y.type>"u")throw new Error(process.env.NODE_ENV==="production"?Ge(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof y.type!="string")throw new Error(process.env.NODE_ENV==="production"?Ge(17):`Action "type" property must be a string. Instead, the actual type was: '${Tr(y.type)}'. Value was: '${y.type}' (stringified)`);if(c)throw new Error(process.env.NODE_ENV==="production"?Ge(9):"Reducers may not dispatch actions.");try{c=!0,o=n(o,y)}finally{c=!1}return(i=a).forEach(x=>{x()}),y}function m(y){if(typeof y!="function")throw new Error(process.env.NODE_ENV==="production"?Ge(10):`Expected the nextReducer to be a function. Instead, received: '${Tr(y)}`);n=y,p({type:dn.REPLACE})}function g(){const y=d;return{subscribe(b){if(typeof b!="object"||b===null)throw new Error(process.env.NODE_ENV==="production"?Ge(11):`Expected the observer to be an object. Instead, received: '${Tr(b)}'`);function x(){const C=b;C.next&&C.next(u())}return x(),{unsubscribe:y(x)}},[d1](){return this}}}return p({type:dn.INIT}),{dispatch:p,subscribe:d,getState:u,replaceReducer:m,[d1]:g}}function f1(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function U_(e,t,r,n){const o=Object.keys(t),i=r&&r.type===dn.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.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(!Di(e))return`The ${i} has unexpected type of "${Tr(e)}". Expected argument to be an object with the following keys: "${o.join('", "')}"`;const a=Object.keys(e).filter(s=>!t.hasOwnProperty(s)&&!n[s]);if(a.forEach(s=>{n[s]=!0}),!(r&&r.type===dn.REPLACE)&&a.length>0)return`Unexpected ${a.length>1?"keys":"key"} "${a.join('", "')}" found in ${i}. Expected to find one of the known reducer keys instead: "${o.join('", "')}". Unexpected keys will be ignored.`}function G_(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:dn.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?Ge(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:dn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Ge(13):`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${dn.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 I3(e){const t=Object.keys(e),r={};for(let a=0;a<t.length;a++){const s=t[a];process.env.NODE_ENV!=="production"&&typeof e[s]>"u"&&f1(`No reducer provided for key "${s}"`),typeof e[s]=="function"&&(r[s]=e[s])}const n=Object.keys(r);let o;process.env.NODE_ENV!=="production"&&(o={});let i;try{G_(r)}catch(a){i=a}return function(s={},c){if(i)throw i;if(process.env.NODE_ENV!=="production"){const d=U_(s,r,c,o);d&&f1(d)}let l=!1;const u={};for(let d=0;d<n.length;d++){const p=n[d],m=r[p],g=s[p],v=m(g,c);if(typeof v>"u"){const y=c&&c.type;throw new Error(process.env.NODE_ENV==="production"?Ge(14):`When called with an action of type ${y?`"${String(y)}"`:"(unknown type)"}, the slice reducer for key "${p}" 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.`)}u[p]=v,l=l||v!==g}return l=l||n.length!==Object.keys(s).length,l?u:s}}function ss(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function q_(...e){return t=>(r,n)=>{const o=t(r,n);let i=()=>{throw new Error(process.env.NODE_ENV==="production"?Ge(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const a={getState:o.getState,dispatch:(c,...l)=>i(c,...l)},s=e.map(c=>c(a));return i=ss(...s)(o.dispatch),{...o,dispatch:i}}}function Dp(e){return Di(e)&&"type"in e&&typeof e.type=="string"}var T3=Symbol.for("immer-nothing"),p1=Symbol.for("immer-draftable"),at=Symbol.for("immer-state"),Y_=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 vt(e,...t){if(process.env.NODE_ENV!=="production"){const r=Y_[e],n=sn(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 bt=Object,ao=bt.getPrototypeOf,cs="constructor",Nc="prototype",$d="configurable",ls="enumerable",Fa="writable",ii="value",vr=e=>!!e&&!!e[at];function zt(e){return e?_3(e)||jc(e)||!!e[p1]||!!e[cs]?.[p1]||kc(e)||Ic(e):!1}var Z_=bt[Nc][cs].toString(),m1=new WeakMap;function _3(e){if(!e||!Lp(e))return!1;const t=ao(e);if(t===null||t===bt[Nc])return!0;const r=bt.hasOwnProperty.call(t,cs)&&t[cs];if(r===Object)return!0;if(!sn(r))return!1;let n=m1.get(r);return n===void 0&&(n=Function.toString.call(r),m1.set(r,n)),n===Z_}function Mc(e,t,r=!0){Li(e)===0?(r?Reflect.ownKeys(e):bt.keys(e)).forEach(o=>{t(o,e[o],e)}):e.forEach((n,o)=>t(o,n,e))}function Li(e){const t=e[at];return t?t.type_:jc(e)?1:kc(e)?2:Ic(e)?3:0}var h1=(e,t,r=Li(e))=>r===2?e.has(t):bt[Nc].hasOwnProperty.call(e,t),Vd=(e,t,r=Li(e))=>r===2?e.get(t):e[t],us=(e,t,r,n=Li(e))=>{n===2?e.set(t,r):n===3?e.add(r):e[t]=r};function Q_(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var jc=Array.isArray,kc=e=>e instanceof Map,Ic=e=>e instanceof Set,Lp=e=>typeof e=="object",sn=e=>typeof e=="function",Ou=e=>typeof e=="boolean";function X_(e){const t=+e;return Number.isInteger(t)&&String(t)===e}var ar=e=>e.copy_||e.base_,Fp=e=>e.modified_?e.copy_:e.base_;function zd(e,t){if(kc(e))return new Map(e);if(Ic(e))return new Set(e);if(jc(e))return Array[Nc].slice.call(e);const r=_3(e);if(t===!0||t==="class_only"&&!r){const n=bt.getOwnPropertyDescriptors(e);delete n[at];let o=Reflect.ownKeys(n);for(let i=0;i<o.length;i++){const a=o[i],s=n[a];s[Fa]===!1&&(s[Fa]=!0,s[$d]=!0),(s.get||s.set)&&(n[a]={[$d]:!0,[Fa]:!0,[ls]:s[ls],[ii]:e[a]})}return bt.create(ao(e),n)}else{const n=ao(e);if(n!==null&&r)return{...e};const o=bt.create(n);return bt.assign(o,e)}}function Bp(e,t=!1){return Tc(e)||vr(e)||!zt(e)||(Li(e)>1&&bt.defineProperties(e,{set:ba,add:ba,clear:ba,delete:ba}),bt.freeze(e),t&&Mc(e,(r,n)=>{Bp(n,!0)},!1)),e}function J_(){vt(2)}var ba={[ii]:J_};function Tc(e){return e===null||!Lp(e)?!0:bt.isFrozen(e)}var ds="MapSet",Wd="Patches",v1="ArrayMethods",R3={};function Cn(e){const t=R3[e];return t||vt(0,e),t}var g1=e=>!!R3[e],ai,D3=()=>ai,eR=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:g1(ds)?Cn(ds):void 0,arrayMethodsPlugin_:g1(v1)?Cn(v1):void 0});function y1(e,t){t&&(e.patchPlugin_=Cn(Wd),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Hd(e){Kd(e),e.drafts_.forEach(tR),e.drafts_=null}function Kd(e){e===ai&&(ai=e.parent_)}var b1=e=>ai=eR(ai,e);function tR(e){const t=e[at];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function x1(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];if(e!==void 0&&e!==r){r[at].modified_&&(Hd(t),vt(4)),zt(e)&&(e=w1(t,e));const{patchPlugin_:o}=t;o&&o.generateReplacementPatches_(r[at].base_,e,t)}else e=w1(t,r);return rR(t,e,!0),Hd(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==T3?e:void 0}function w1(e,t){if(Tc(t))return t;const r=t[at];if(!r)return fs(t,e.handledSet_,e);if(!_c(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);B3(r,e)}return r.copy_}function rR(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Bp(t,r)}function L3(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var _c=(e,t)=>e.scope_===t,nR=[];function F3(e,t,r,n){const o=ar(e),i=e.type_;if(n!==void 0&&Vd(o,n,i)===t){us(o,n,r,i);return}if(!e.draftLocations_){const s=e.draftLocations_=new Map;Mc(o,(c,l)=>{if(vr(l)){const u=s.get(l)||[];u.push(c),s.set(l,u)}})}const a=e.draftLocations_.get(t)??nR;for(const s of a)us(o,s,r,i)}function oR(e,t,r){e.callbacks_.push(function(o){const i=t;if(!i||!_c(i,o))return;o.mapSetPlugin_?.fixSetContents(i);const a=Fp(i);F3(e,i.draft_??i,a,r),B3(i,o)})}function B3(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){const{patchPlugin_:n}=t;if(n){const o=n.getPath(e);o&&n.generatePatches_(e,o,t)}L3(e)}}function iR(e,t,r){const{scope_:n}=e;if(vr(r)){const o=r[at];_c(o,n)&&o.callbacks_.push(function(){Ba(e);const a=Fp(o);F3(e,r,a,t)})}else zt(r)&&e.callbacks_.push(function(){const i=ar(e);e.type_===3?i.has(r)&&fs(r,n.handledSet_,n):Vd(i,t,e.type_)===r&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&fs(Vd(e.copy_,t,e.type_),n.handledSet_,n)})}function fs(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||vr(e)||t.has(e)||!zt(e)||Tc(e)||(t.add(e),Mc(e,(n,o)=>{if(vr(o)){const i=o[at];if(_c(i,r)){const a=Fp(i);us(e,n,a,e.type_),L3(i)}}else zt(o)&&fs(o,t,r)})),e}function aR(e,t){const r=jc(e),n={type_:r?1:0,scope_:t?t.scope_:D3(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=n,i=ps;r&&(o=[n],i=si);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return n.draft_=s,n.revoke_=a,[s,n]}var ps={get(e,t){if(t===at)return e;let r=e.scope_.arrayMethodsPlugin_;const n=e.type_===1&&typeof t=="string";if(n&&r?.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);const o=ar(e);if(!h1(o,t,e.type_))return sR(e,o,t);const i=o[t];if(e.finalized_||!zt(i)||n&&e.operationMethod&&r?.isMutatingArrayMethod(e.operationMethod)&&X_(t))return i;if(i===Pu(e.base_,t)){Ba(e);const a=e.type_===1?+t:t,s=Gd(e.scope_,i,e,a);return e.copy_[a]=s}return i},has(e,t){return t in ar(e)},ownKeys(e){return Reflect.ownKeys(ar(e))},set(e,t,r){const n=$3(ar(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const o=Pu(ar(e),t),i=o?.[at];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_.set(t,!1),!0;if(Q_(r,o)&&(r!==void 0||h1(e.base_,t,e.type_)))return!0;Ba(e),Ud(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),iR(e,t,r)),!0},deleteProperty(e,t){return Ba(e),Pu(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Ud(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=ar(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{[Fa]:!0,[$d]:e.type_!==1||t!=="length",[ls]:n[ls],[ii]:r[t]}},defineProperty(){vt(11)},getPrototypeOf(e){return ao(e.base_)},setPrototypeOf(){vt(12)}},si={};for(let e in ps){let t=ps[e];si[e]=function(){const r=arguments;return r[0]=r[0][0],t.apply(this,r)}}si.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&vt(13),si.set.call(this,e,t,void 0)};si.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&vt(14),ps.set.call(this,e[0],t,r,e[0])};function Pu(e,t){const r=e[at];return(r?ar(r):e)[t]}function sR(e,t,r){const n=$3(t,r);return n?ii in n?n[ii]:n.get?.call(e.draft_):void 0}function $3(e,t){if(!(t in e))return;let r=ao(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=ao(r)}}function Ud(e){e.modified_||(e.modified_=!0,e.parent_&&Ud(e.parent_))}function Ba(e){e.copy_||(e.assigned_=new Map,e.copy_=zd(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var cR=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(r,n,o)=>{if(sn(r)&&!sn(n)){const a=n;n=r;const s=this;return function(l=a,...u){return s.produce(l,d=>n.call(this,d,...u))}}sn(n)||vt(6),o!==void 0&&!sn(o)&&vt(7);let i;if(zt(r)){const a=b1(this),s=Gd(a,r,void 0);let c=!0;try{i=n(s),c=!1}finally{c?Hd(a):Kd(a)}return y1(a,o),x1(i,a)}else if(!r||!Lp(r)){if(i=n(r),i===void 0&&(i=r),i===T3&&(i=void 0),this.autoFreeze_&&Bp(i,!0),o){const a=[],s=[];Cn(Wd).generateReplacementPatches_(r,i,{patches_:a,inversePatches_:s}),o(a,s)}return i}else vt(1,r)},this.produceWithPatches=(r,n)=>{if(sn(r))return(s,...c)=>this.produceWithPatches(s,l=>r(l,...c));let o,i;return[this.produce(r,n,(s,c)=>{o=s,i=c}),o,i]},Ou(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),Ou(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),Ou(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){zt(t)||vt(8),vr(t)&&(t=Lt(t));const r=b1(this),n=Gd(r,t,void 0);return n[at].isManual_=!0,Kd(r),n}finishDraft(t,r){const n=t&&t[at];(!n||!n.isManual_)&&vt(9);const{scope_:o}=n;return y1(o,r),x1(void 0,o)}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 i=r[n];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}n>-1&&(r=r.slice(n+1));const o=Cn(Wd).applyPatches_;return vr(t)?o(t,r):this.produce(t,i=>o(i,r))}};function Gd(e,t,r,n){const[o,i]=kc(t)?Cn(ds).proxyMap_(t,r):Ic(t)?Cn(ds).proxySet_(t,r):aR(t,r);return(r?.scope_??D3()).drafts_.push(o),i.callbacks_=r?.callbacks_??[],i.key_=n,r&&n!==void 0?oR(r,i,n):i.callbacks_.push(function(c){c.mapSetPlugin_?.fixSetContents(i);const{patchPlugin_:l}=c;i.modified_&&l&&l.generatePatches_(i,[],c)}),o}function Lt(e){return vr(e)||vt(10,e),V3(e)}function V3(e){if(!zt(e)||Tc(e))return e;const t=e[at];let r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=zd(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=zd(e,!0);return Mc(r,(o,i)=>{us(r,o,V3(i))},n),t&&(t.finalized_=!1),r}var lR=new cR,z3=lR.produce;function W3(e){return({dispatch:r,getState:n})=>o=>i=>typeof i=="function"?i(r,n,e):o(i)}var uR=W3(),dR=W3,fR=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ss:ss.apply(null,arguments)},pR=e=>e&&typeof e.match=="function";function Mt(e,t){function r(...n){if(t){let o=t(...n);if(!o)throw new Error(process.env.NODE_ENV==="production"?de(0):"prepareAction did not return an object");return{type:e,payload:o.payload,..."meta"in o&&{meta:o.meta},..."error"in o&&{error:o.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>Dp(n)&&n.type===e,r}function mR(e){return typeof e=="function"&&"type"in e&&pR(e)}function hR(e){const t=e?`${e}`.split("/"):[],r=t[t.length-1]||"actionCreator";return`Detected an action creator with type "${e||"unknown"}" being dispatched.
|
|
67
|
+
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 vR(e={}){if(process.env.NODE_ENV==="production")return()=>r=>n=>r(n);const{isActionCreator:t=mR}=e;return()=>r=>n=>(t(n)&&console.warn(hR(n.type)),r(n))}function H3(e,t){let r=0;return{measureTime(n){const o=Date.now();try{return n()}finally{const i=Date.now();r+=i-o}},warnIfExceeded(){r>e&&console.warn(`${t} took ${r}ms, which is more than the warning threshold of ${e}ms.
|
|
68
|
+
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.
|
|
69
|
+
It is disabled in production builds, so you don't need to worry about that.`)}}}var K3=class Ko extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Ko.prototype)}static get[Symbol.species](){return Ko}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Ko(...t[0].concat(this)):new Ko(...t.concat(this))}};function C1(e){return zt(e)?z3(e,()=>{}):e}function xa(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function gR(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function yR(e,t,r){const n=U3(e,t,r);return{detectMutations(){return G3(e,t,n,r)}}}function U3(e,t=[],r,n="",o=new Set){const i={value:r};if(!e(r)&&!o.has(r)){o.add(r),i.children={};const a=t.length>0;for(const s in r){const c=n?n+"."+s:s;a&&t.some(u=>u instanceof RegExp?u.test(c):c===u)||(i.children[s]=U3(e,t,r[s],c))}}return i}function G3(e,t=[],r,n,o=!1,i=""){const a=r?r.value:void 0,s=a===n;if(o&&!s&&!Number.isNaN(n))return{wasMutated:!0,path:i};if(e(a)||e(n))return{wasMutated:!1};const c={};for(let u in r.children)c[u]=!0;for(let u in n)c[u]=!0;const l=t.length>0;for(let u in c){const d=i?i+"."+u:u;if(l&&t.some(g=>g instanceof RegExp?g.test(d):d===g))continue;const p=G3(e,t,r.children[u],n[u],s,d);if(p.wasMutated)return p}return{wasMutated:!1}}function bR(e={}){if(process.env.NODE_ENV==="production")return()=>t=>r=>t(r);{let t=function(s,c,l,u){return JSON.stringify(s,r(c,u),l)},r=function(s,c){let l=[],u=[];return c||(c=function(d,p){return l[0]===p?"[Circular ~]":"[Circular ~."+u.slice(0,l.indexOf(p)).join(".")+"]"}),function(d,p){if(l.length>0){var m=l.indexOf(this);~m?l.splice(m+1):l.push(this),~m?u.splice(m,1/0,d):u.push(d),~l.indexOf(p)&&(p=c.call(this,d,p))}else l.push(p);return s==null?p:s.call(this,d,p)}},{isImmutable:n=gR,ignoredPaths:o,warnAfter:i=32}=e;const a=yR.bind(null,n,o);return({getState:s})=>{let c=s(),l=a(c),u;return d=>p=>{const m=H3(i,"ImmutableStateInvariantMiddleware");m.measureTime(()=>{if(c=s(),u=l.detectMutations(),l=a(c),u.wasMutated)throw new Error(process.env.NODE_ENV==="production"?de(19):`A state mutation was detected between dispatches, in the path '${u.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const g=d(p);return m.measureTime(()=>{if(c=s(),u=l.detectMutations(),l=a(c),u.wasMutated)throw new Error(process.env.NODE_ENV==="production"?de(20):`A state mutation was detected inside a dispatch, in the path: ${u.path||""}. Take a look at the reducer(s) handling the action ${t(p)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),m.warnIfExceeded(),g}}}}function q3(e){const t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||Di(e)}function qd(e,t="",r=q3,n,o=[],i){let a;if(!r(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null||i?.has(e))return!1;const s=n!=null?n(e):Object.entries(e),c=o.length>0;for(const[l,u]of s){const d=t?t+"."+l:l;if(!(c&&o.some(m=>m instanceof RegExp?m.test(d):d===m))){if(!r(u))return{keyPath:d,value:u};if(typeof u=="object"&&(a=qd(u,d,r,n,o,i),a))return a}}return i&&Y3(e)&&i.add(e),!1}function Y3(e){if(!Object.isFrozen(e))return!1;for(const t of Object.values(e))if(!(typeof t!="object"||t===null)&&!Y3(t))return!1;return!0}function xR(e={}){if(process.env.NODE_ENV==="production")return()=>t=>r=>t(r);{const{isSerializable:t=q3,getEntries:r,ignoredActions:n=[],ignoredActionPaths:o=["meta.arg","meta.baseQueryMeta"],ignoredPaths:i=[],warnAfter:a=32,ignoreState:s=!1,ignoreActions:c=!1,disableCache:l=!1}=e,u=!l&&WeakSet?new WeakSet:void 0;return d=>p=>m=>{if(!Dp(m))return p(m);const g=p(m),v=H3(a,"SerializableStateInvariantMiddleware");return!c&&!(n.length&&n.indexOf(m.type)!==-1)&&v.measureTime(()=>{const y=qd(m,"",t,r,o,u);if(y){const{keyPath:b,value:x}=y;console.error(`A non-serializable value was detected in an action, in the path: \`${b}\`. Value:`,x,`
|
|
70
|
+
Take a look at the logic that dispatched this action: `,m,`
|
|
71
|
+
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
|
72
|
+
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),s||(v.measureTime(()=>{const y=d.getState(),b=qd(y,"",t,r,i,u);if(b){const{keyPath:x,value:w}=b;console.error(`A non-serializable value was detected in the state, in the path: \`${x}\`. Value:`,w,`
|
|
73
|
+
Take a look at the reducer(s) handling this action type: ${m.type}.
|
|
74
|
+
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),v.warnIfExceeded()),g}}}function wa(e){return typeof e=="boolean"}var wR=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:o=!0,actionCreatorCheck:i=!0}=t??{};let a=new K3;if(r&&(wa(r)?a.push(uR):a.push(dR(r.extraArgument))),process.env.NODE_ENV!=="production"){if(n){let s={};wa(n)||(s=n),a.unshift(bR(s))}if(o){let s={};wa(o)||(s=o),a.push(xR(s))}if(i){let s={};wa(i)||(s=i),a.unshift(vR(s))}}return a},Z3="RTK_autoBatch",Se=()=>e=>({payload:e,meta:{[Z3]:!0}}),E1=e=>t=>{setTimeout(t,e)},Q3=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let o=!0,i=!1,a=!1;const s=new Set,c=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:E1(10):e.type==="callback"?e.queueNotification:E1(e.timeout),l=()=>{a=!1,i&&(i=!1,s.forEach(u=>u()))};return Object.assign({},n,{subscribe(u){const d=()=>o&&u(),p=n.subscribe(d);return s.add(u),()=>{p(),s.delete(u)}},dispatch(u){try{return o=!u?.meta?.[Z3],i=!o,i&&(a||(a=!0,c(l))),n.dispatch(u)}finally{o=!0}}})},CR=e=>function(r){const{autoBatch:n=!0}=r??{};let o=new K3(e);return n&&o.push(Q3(typeof n=="object"?n:void 0)),o};function ER(e){const t=wR(),{reducer:r=void 0,middleware:n,devTools:o=!0,duplicateMiddlewareCheck:i=!0,preloadedState:a=void 0,enhancers:s=void 0}=e||{};let c;if(typeof r=="function")c=r;else if(Di(r))c=I3(r);else throw new Error(process.env.NODE_ENV==="production"?de(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"?de(2):"`middleware` field must be a callback");let l;if(typeof n=="function"){if(l=n(t),process.env.NODE_ENV!=="production"&&!Array.isArray(l))throw new Error(process.env.NODE_ENV==="production"?de(3):"when using a middleware builder function, an array of middleware must be returned")}else l=t();if(process.env.NODE_ENV!=="production"&&l.some(v=>typeof v!="function"))throw new Error(process.env.NODE_ENV==="production"?de(4):"each middleware provided to configureStore must be a function");if(process.env.NODE_ENV!=="production"&&i){let v=new Set;l.forEach(y=>{if(v.has(y))throw new Error(process.env.NODE_ENV==="production"?de(42):"Duplicate middleware references found when creating the store. Ensure that each middleware is only included once.");v.add(y)})}let u=ss;o&&(u=fR({trace:process.env.NODE_ENV!=="production",...typeof o=="object"&&o}));const d=q_(...l),p=CR(d);if(process.env.NODE_ENV!=="production"&&s&&typeof s!="function")throw new Error(process.env.NODE_ENV==="production"?de(5):"`enhancers` field must be a callback");let m=typeof s=="function"?s(p):p();if(process.env.NODE_ENV!=="production"&&!Array.isArray(m))throw new Error(process.env.NODE_ENV==="production"?de(6):"`enhancers` callback must return an array");if(process.env.NODE_ENV!=="production"&&m.some(v=>typeof v!="function"))throw new Error(process.env.NODE_ENV==="production"?de(7):"each enhancer provided to configureStore must be a function");process.env.NODE_ENV!=="production"&&l.length&&!m.includes(d)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const g=u(...m);return k3(c,a,g)}function X3(e){const t={},r=[];let n;const o={addCase(i,a){if(process.env.NODE_ENV!=="production"){if(r.length>0)throw new Error(process.env.NODE_ENV==="production"?de(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(n)throw new Error(process.env.NODE_ENV==="production"?de(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const s=typeof i=="string"?i:i.type;if(!s)throw new Error(process.env.NODE_ENV==="production"?de(28):"`builder.addCase` cannot be called with an empty action type");if(s in t)throw new Error(process.env.NODE_ENV==="production"?de(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${s}'`);return t[s]=a,o},addAsyncThunk(i,a){if(process.env.NODE_ENV!=="production"&&n)throw new Error(process.env.NODE_ENV==="production"?de(43):"`builder.addAsyncThunk` should only be called before calling `builder.addDefaultCase`");return a.pending&&(t[i.pending.type]=a.pending),a.rejected&&(t[i.rejected.type]=a.rejected),a.fulfilled&&(t[i.fulfilled.type]=a.fulfilled),a.settled&&r.push({matcher:i.settled,reducer:a.settled}),o},addMatcher(i,a){if(process.env.NODE_ENV!=="production"&&n)throw new Error(process.env.NODE_ENV==="production"?de(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:i,reducer:a}),o},addDefaultCase(i){if(process.env.NODE_ENV!=="production"&&n)throw new Error(process.env.NODE_ENV==="production"?de(31):"`builder.addDefaultCase` can only be called once");return n=i,o}};return e(o),[t,r,n]}function SR(e){return typeof e=="function"}function AR(e,t){if(process.env.NODE_ENV!=="production"&&typeof t=="object")throw new Error(process.env.NODE_ENV==="production"?de(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,o]=X3(t),i;if(SR(e))i=()=>C1(e());else{const s=C1(e);i=()=>s}function a(s=i(),c){let l=[r[c.type],...n.filter(({matcher:u})=>u(c)).map(({reducer:u})=>u)];return l.filter(u=>!!u).length===0&&(l=[o]),l.reduce((u,d)=>{if(d)if(vr(u)){const m=d(u,c);return m===void 0?u:m}else{if(zt(u))return z3(u,p=>d(p,c));{const p=d(u,c);if(p===void 0){if(u===null)return u;throw Error("A case reducer on a non-draftable value must not return undefined")}return p}}return u},s)}return a.getInitialState=i,a}var OR="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",PR=(e=21)=>{let t="",r=e;for(;r--;)t+=OR[Math.random()*64|0];return t},NR=Symbol.for("rtk-slice-createasyncthunk");function MR(e,t){return`${e}/${t}`}function jR({creators:e}={}){const t=e?.asyncThunk?.[NR];return function(n){const{name:o,reducerPath:i=o}=n;if(!o)throw new Error(process.env.NODE_ENV==="production"?de(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 a=(typeof n.reducers=="function"?n.reducers(IR()):n.reducers)||{},s=Object.keys(a),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},l={addCase(w,C){const E=typeof w=="string"?w:w.type;if(!E)throw new Error(process.env.NODE_ENV==="production"?de(12):"`context.addCase` cannot be called with an empty action type");if(E in c.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?de(13):"`context.addCase` cannot be called with two reducers for the same action type: "+E);return c.sliceCaseReducersByType[E]=C,l},addMatcher(w,C){return c.sliceMatchers.push({matcher:w,reducer:C}),l},exposeAction(w,C){return c.actionCreators[w]=C,l},exposeCaseReducer(w,C){return c.sliceCaseReducersByName[w]=C,l}};s.forEach(w=>{const C=a[w],E={reducerName:w,type:MR(o,w),createNotation:typeof n.reducers=="function"};_R(C)?DR(E,C,l,t):TR(E,C,l)});function u(){if(process.env.NODE_ENV!=="production"&&typeof n.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?de(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[w={},C=[],E=void 0]=typeof n.extraReducers=="function"?X3(n.extraReducers):[n.extraReducers],S={...w,...c.sliceCaseReducersByType};return AR(n.initialState,O=>{for(let P in S)O.addCase(P,S[P]);for(let P of c.sliceMatchers)O.addMatcher(P.matcher,P.reducer);for(let P of C)O.addMatcher(P.matcher,P.reducer);E&&O.addDefaultCase(E)})}const d=w=>w,p=new Map,m=new WeakMap;let g;function v(w,C){return g||(g=u()),g(w,C)}function y(){return g||(g=u()),g.getInitialState()}function b(w,C=!1){function E(O){let P=O[w];if(typeof P>"u"){if(C)P=xa(m,E,y);else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?de(15):"selectSlice returned undefined for an uninjected slice reducer")}return P}function S(O=d){const P=xa(p,C,()=>new WeakMap);return xa(P,O,()=>{const j={};for(const[D,L]of Object.entries(n.selectors??{}))j[D]=kR(L,O,()=>xa(m,O,y),C);return j})}return{reducerPath:w,getSelectors:S,get selectors(){return S(E)},selectSlice:E}}const x={name:o,reducer:v,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:y,...b(i),injectInto(w,{reducerPath:C,...E}={}){const S=C??i;return w.inject({reducerPath:S,reducer:v},E),{...x,...b(S,!0)}}};return x}}function kR(e,t,r,n){function o(i,...a){let s=t(i);if(typeof s>"u"){if(n)s=r();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?de(16):"selectState returned undefined for an uninjected slice reducer")}return e(s,...a)}return o.unwrapped=e,o}var pt=jR();function IR(){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 TR({type:e,reducerName:t,createNotation:r},n,o){let i,a;if("reducer"in n){if(r&&!RR(n))throw new Error(process.env.NODE_ENV==="production"?de(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");i=n.reducer,a=n.prepare}else i=n;o.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,a?Mt(e,a):Mt(e))}function _R(e){return e._reducerDefinitionType==="asyncThunk"}function RR(e){return e._reducerDefinitionType==="reducerWithPrepare"}function DR({type:e,reducerName:t},r,n,o){if(!o)throw new Error(process.env.NODE_ENV==="production"?de(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:i,fulfilled:a,pending:s,rejected:c,settled:l,options:u}=r,d=o(e,i,u);n.exposeAction(t,d),a&&n.addCase(d.fulfilled,a),s&&n.addCase(d.pending,s),c&&n.addCase(d.rejected,c),l&&n.addMatcher(d.settled,l),n.exposeCaseReducer(t,{fulfilled:a||Ca,pending:s||Ca,rejected:c||Ca,settled:l||Ca})}function Ca(){}var LR="task",J3="listener",e5="completed",$p="cancelled",FR=`task-${$p}`,BR=`task-${e5}`,Yd=`${J3}-${$p}`,$R=`${J3}-${e5}`,Rc=class{constructor(e){this.code=e,this.message=`${LR} ${$p} (reason: ${e})`}name="TaskAbortError";message},Vp=(e,t)=>{if(typeof e!="function")throw new TypeError(process.env.NODE_ENV==="production"?de(32):`${t} is not a function`)},ms=()=>{},t5=(e,t=ms)=>(e.catch(t),e),r5=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),fn=e=>{if(e.aborted)throw new Rc(e.reason)};function n5(e,t){let r=ms;return new Promise((n,o)=>{const i=()=>o(new Rc(e.reason));if(e.aborted){i();return}r=r5(e,i),t.finally(()=>r()).then(n,o)}).finally(()=>{r=ms})}var VR=async(e,t)=>{try{return await Promise.resolve(),{status:"ok",value:await e()}}catch(r){return{status:r instanceof Rc?"cancelled":"rejected",error:r}}finally{t?.()}},hs=e=>t=>t5(n5(e,t).then(r=>(fn(e),r))),o5=e=>{const t=hs(e);return r=>t(new Promise(n=>setTimeout(n,r)))},{assign:Qn}=Object,S1={},Fi="listenerMiddleware",zR=(e,t)=>{const r=n=>r5(e,()=>n.abort(e.reason));return(n,o)=>{Vp(n,"taskExecutor");const i=new AbortController;r(i);const a=VR(async()=>{fn(e),fn(i.signal);const s=await n({pause:hs(i.signal),delay:o5(i.signal),signal:i.signal});return fn(i.signal),s},()=>i.abort(BR));return o?.autoJoin&&t.push(a.catch(ms)),{result:hs(e)(a),cancel(){i.abort(FR)}}}},WR=(e,t)=>{const r=async(n,o)=>{fn(t);let i=()=>{};const s=[new Promise((c,l)=>{let u=e({predicate:n,effect:(d,p)=>{p.unsubscribe(),c([d,p.getState(),p.getOriginalState()])}});i=()=>{u(),l()}})];o!=null&&s.push(new Promise(c=>setTimeout(c,o,null)));try{const c=await n5(t,Promise.race(s));return fn(t),c}finally{i()}};return(n,o)=>t5(r(n,o))},i5=e=>{let{type:t,actionCreator:r,matcher:n,predicate:o,effect:i}=e;if(t)o=Mt(t).match;else if(r)t=r.type,o=r.match;else if(n)o=n;else if(!o)throw new Error(process.env.NODE_ENV==="production"?de(21):"Creating or removing a listener requires one of the known fields for matching an action");return Vp(i,"options.listener"),{predicate:o,type:t,effect:i}},a5=Qn(e=>{const{type:t,predicate:r,effect:n}=i5(e);return{id:PR(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw new Error(process.env.NODE_ENV==="production"?de(22):"Unsubscribe not initialized")}}},{withTypes:()=>a5}),A1=(e,t)=>{const{type:r,effect:n,predicate:o}=i5(t);return Array.from(e.values()).find(i=>(typeof r=="string"?i.type===r:i.predicate===o)&&i.effect===n)},Zd=e=>{e.pending.forEach(t=>{t.abort(Yd)})},HR=(e,t)=>()=>{for(const r of t.keys())Zd(r);e.clear()},O1=(e,t,r)=>{try{e(t,r)}catch(n){setTimeout(()=>{throw n},0)}},s5=Qn(Mt(`${Fi}/add`),{withTypes:()=>s5}),KR=Mt(`${Fi}/removeAll`),c5=Qn(Mt(`${Fi}/remove`),{withTypes:()=>c5}),UR=(...e)=>{console.error(`${Fi}/error`,...e)},Bi=(e={})=>{const t=new Map,r=new Map,n=m=>{const g=r.get(m)??0;r.set(m,g+1)},o=m=>{const g=r.get(m)??1;g===1?r.delete(m):r.set(m,g-1)},{extra:i,onError:a=UR}=e;Vp(a,"onError");const s=m=>(m.unsubscribe=()=>t.delete(m.id),t.set(m.id,m),g=>{m.unsubscribe(),g?.cancelActive&&Zd(m)}),c=m=>{const g=A1(t,m)??a5(m);return s(g)};Qn(c,{withTypes:()=>c});const l=m=>{const g=A1(t,m);return g&&(g.unsubscribe(),m.cancelActive&&Zd(g)),!!g};Qn(l,{withTypes:()=>l});const u=async(m,g,v,y)=>{const b=new AbortController,x=WR(c,b.signal),w=[];try{m.pending.add(b),n(m),await Promise.resolve(m.effect(g,Qn({},v,{getOriginalState:y,condition:(C,E)=>x(C,E).then(Boolean),take:x,delay:o5(b.signal),pause:hs(b.signal),extra:i,signal:b.signal,fork:zR(b.signal,w),unsubscribe:m.unsubscribe,subscribe:()=>{t.set(m.id,m)},cancelActiveListeners:()=>{m.pending.forEach((C,E,S)=>{C!==b&&(C.abort(Yd),S.delete(C))})},cancel:()=>{b.abort(Yd),m.pending.delete(b)},throwIfCancelled:()=>{fn(b.signal)}})))}catch(C){C instanceof Rc||O1(a,C,{raisedBy:"effect"})}finally{await Promise.all(w),b.abort($R),o(m),m.pending.delete(b)}},d=HR(t,r);return{middleware:m=>g=>v=>{if(!Dp(v))return g(v);if(s5.match(v))return c(v.payload);if(KR.match(v)){d();return}if(c5.match(v))return l(v.payload);let y=m.getState();const b=()=>{if(y===S1)throw new Error(process.env.NODE_ENV==="production"?de(23):`${Fi}: getOriginalState can only be called synchronously`);return y};let x;try{if(x=g(v),t.size>0){const w=m.getState(),C=Array.from(t.values());for(const E of C){let S=!1;try{S=E.predicate(v,w,y)}catch(O){S=!1,O1(a,O,{raisedBy:"predicate"})}S&&u(E,v,m,b)}}}finally{y=S1}return x},startListening:c,stopListening:l,clearListeners:d}};function de(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 GR={layoutType:"horizontal",width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},l5=pt({name:"chartLayout",initialState:GR,reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){var r,n,o,i;e.margin.top=(r=t.payload.top)!==null&&r!==void 0?r:0,e.margin.right=(n=t.payload.right)!==null&&n!==void 0?n:0,e.margin.bottom=(o=t.payload.bottom)!==null&&o!==void 0?o:0,e.margin.left=(i=t.payload.left)!==null&&i!==void 0?i:0},setScale(e,t){e.scale=t.payload}}}),{setMargin:qR,setLayout:YR,setChartSize:ZR,setScale:QR}=l5.actions,XR=l5.reducer;function u5(e,t,r){return Array.isArray(e)&&e&&t+r!==0?e.slice(t,r+1):e}function Oe(e){return Number.isFinite(e)}function Kr(e){return typeof e=="number"&&e>0&&Number.isFinite(e)}function P1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Un(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){JR(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 JR(e,t,r){return(t=eD(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eD(e){var t=tD(e,"string");return typeof t=="symbol"?t:t+""}function tD(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 Xe(e,t,r){return ze(e)||ze(t)?r:tr(t)?io(e,t,r):typeof t=="function"?t(e):r}var rD=(e,t,r)=>{if(t&&r){var{width:n,height:o}=r,{align:i,verticalAlign:a,layout:s}=t;if((s==="vertical"||s==="horizontal"&&a==="middle")&&i!=="center"&&te(e[i]))return Un(Un({},e),{},{[i]:e[i]+(n||0)});if((s==="horizontal"||s==="vertical"&&i==="center")&&a!=="middle"&&te(e[a]))return Un(Un({},e),{},{[a]:e[a]+(o||0)})}return e},kn=(e,t)=>e==="horizontal"&&t==="xAxis"||e==="vertical"&&t==="yAxis"||e==="centric"&&t==="angleAxis"||e==="radial"&&t==="radiusAxis",N1=1e-4,nD=e=>{var t=e.domain();if(!(!t||t.length<=2)){var r=t.length,n=e.range(),o=Math.min(n[0],n[1])-N1,i=Math.max(n[0],n[1])+N1,a=e(t[0]),s=e(t[r-1]);(a<o||a>i||s<o||s>i)&&e.domain([t[0],t[r-1]])}},oD=(e,t)=>{if(!t||t.length!==2||!te(t[0])||!te(t[1]))return e;var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]),o=[e[0],e[1]];return(!te(e[0])||e[0]<r)&&(o[0]=r),(!te(e[1])||e[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o},iD=e=>{var t,r=e.length;if(!(r<=0)){var n=(t=e[0])===null||t===void 0?void 0:t.length;if(!(n==null||n<=0))for(var o=0;o<n;++o)for(var i=0,a=0,s=0;s<r;++s){var c=e[s],l=c?.[o];if(l!=null){var u=l[1],d=l[0],p=er(u)?d:u;p>=0?(l[0]=i,l[1]=i+p,i=u):(l[0]=a,l[1]=a+p,a=u)}}}},aD=e=>{var t,r=e.length;if(!(r<=0)){var n=(t=e[0])===null||t===void 0?void 0:t.length;if(!(n==null||n<=0))for(var o=0;o<n;++o)for(var i=0,a=0;a<r;++a){var s=e[a],c=s?.[o];if(c!=null){var l=er(c[1])?c[0]:c[1];l>=0?(c[0]=i,c[1]=i+l,i=c[1]):(c[0]=0,c[1]=0)}}}},sD={sign:iD,expand:hT,none:wn,silhouette:vT,wiggle:gT,positive:aD},cD=(e,t,r)=>{var n,o=(n=sD[r])!==null&&n!==void 0?n:wn,i=mT().keys(t).value((s,c)=>Number(Xe(s,c,0))).order(Fd).offset(o),a=i(e);return a.forEach((s,c)=>{s.forEach((l,u)=>{var d=Xe(e[u],t[c],0);Array.isArray(d)&&d.length===2&&te(d[0])&&te(d[1])&&(l[0]=d[0],l[1]=d[1])})}),a};function lD(e){return e==null?void 0:String(e)}var M1=e=>{var{axis:t,ticks:r,offset:n,bandSize:o,entry:i,index:a}=e;if(t.type==="category")return r[a]?r[a].coordinate+n:null;var s=Xe(i,t.dataKey,t.scale.domain()[a]);return ze(s)?null:t.scale(s)-o/2+n},uD=e=>{var{numericAxis:t}=e,r=t.scale.domain();if(t.type==="number"){var n=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return n<=0&&o>=0?0:o<0?o:n}return r[0]},dD=e=>{var t=e.flat(2).filter(te);return[Math.min(...t),Math.max(...t)]},fD=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],pD=(e,t,r)=>{if(e!=null)return fD(Object.keys(e).reduce((n,o)=>{var i=e[o];if(!i)return n;var{stackedData:a}=i,s=a.reduce((c,l)=>{var u=u5(l,t,r),d=dD(u);return!Oe(d[0])||!Oe(d[1])?c:[Math.min(c[0],d[0]),Math.max(c[1],d[1])]},[1/0,-1/0]);return[Math.min(s[0],n[0]),Math.max(s[1],n[1])]},[1/0,-1/0]))},j1=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,k1=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,vs=(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 o=Pc(t,u=>u.coordinate),i=1/0,a=1,s=o.length;a<s;a++){var c=o[a],l=o[a-1];i=Math.min((c?.coordinate||0)-(l?.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0};function I1(e){var{tooltipEntrySettings:t,dataKey:r,payload:n,value:o,name:i}=e;return Un(Un({},t),{},{dataKey:r,payload:n,value:o,name:i})}function d5(e,t){if(e)return String(e);if(typeof t=="string")return t}var mD=(e,t)=>{if(t==="horizontal")return e.chartX;if(t==="vertical")return e.chartY},hD=(e,t)=>t==="centric"?e.angle:e.radius,Er=e=>e.layout.width,Sr=e=>e.layout.height,vD=e=>e.layout.scale,f5=e=>e.layout.margin,Dc=I(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),Lc=I(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),gD="data-recharts-item-index",yD="data-recharts-item-id",$i=60;function T1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ea(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?T1(Object(r),!0).forEach(function(n){bD(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function bD(e,t,r){return(t=xD(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xD(e){var t=wD(e,"string");return typeof t=="symbol"?t:t+""}function wD(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 CD=e=>e.brush.height;function ED(e){var t=Lc(e);return t.reduce((r,n)=>{if(n.orientation==="left"&&!n.mirror&&!n.hide){var o=typeof n.width=="number"?n.width:$i;return r+o}return r},0)}function SD(e){var t=Lc(e);return t.reduce((r,n)=>{if(n.orientation==="right"&&!n.mirror&&!n.hide){var o=typeof n.width=="number"?n.width:$i;return r+o}return r},0)}function AD(e){var t=Dc(e);return t.reduce((r,n)=>n.orientation==="top"&&!n.mirror&&!n.hide?r+n.height:r,0)}function OD(e){var t=Dc(e);return t.reduce((r,n)=>n.orientation==="bottom"&&!n.mirror&&!n.hide?r+n.height:r,0)}var We=I([Er,Sr,f5,CD,ED,SD,AD,OD,j3,L_],(e,t,r,n,o,i,a,s,c,l)=>{var u={left:(r.left||0)+o,right:(r.right||0)+i},d={top:(r.top||0)+a,bottom:(r.bottom||0)+s},p=Ea(Ea({},d),u),m=p.bottom;p.bottom+=n,p=rD(p,c,l);var g=e-p.left-p.right,v=t-p.top-p.bottom;return Ea(Ea({brushBottom:m},p),{},{width:Math.max(g,0),height:Math.max(v,0)})}),PD=I(We,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),zp=I(Er,Sr,(e,t)=>({x:0,y:0,width:e,height:t})),ND=A.createContext(null),Ct=()=>A.useContext(ND)!=null,Fc=e=>e.brush,Bc=I([Fc,We,f5],(e,t,r)=>({height:e.height,x:te(e.x)?e.x:t.left,y:te(e.y)?e.y:t.top+t.height+t.brushBottom-(r?.bottom||0),width:te(e.width)?e.width:t.width})),Nu={},Mu={},ju={},_1;function MD(){return _1||(_1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n,{signal:o,edges:i}={}){let a,s=null;const c=i!=null&&i.includes("leading"),l=i==null||i.includes("trailing"),u=()=>{s!==null&&(r.apply(a,s),a=void 0,s=null)},d=()=>{l&&u(),v()};let p=null;const m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},n)},g=()=>{p!==null&&(clearTimeout(p),p=null)},v=()=>{g(),a=void 0,s=null},y=()=>{u()},b=function(...x){if(o?.aborted)return;a=this,s=x;const w=p==null;m(),c&&w&&u()};return b.schedule=m,b.cancel=v,b.flush=y,o?.addEventListener("abort",v,{once:!0}),b}e.debounce=t})(ju)),ju}var R1;function jD(){return R1||(R1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=MD();function r(n,o=0,i={}){typeof i!="object"&&(i={});const{leading:a=!1,trailing:s=!0,maxWait:c}=i,l=Array(2);a&&(l[0]="leading"),s&&(l[1]="trailing");let u,d=null;const p=t.debounce(function(...v){u=n.apply(this,v),d=null},o,{edges:l}),m=function(...v){return c!=null&&(d===null&&(d=Date.now()),Date.now()-d>=c)?(u=n.apply(this,v),d=Date.now(),p.cancel(),p.schedule(),u):(p.apply(this,v),u)},g=()=>(p.flush(),u);return m.cancel=p.cancel,m.flush=g,m}e.debounce=r})(Mu)),Mu}var D1;function kD(){return D1||(D1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=jD();function r(n,o=0,i={}){const{leading:a=!0,trailing:s=!0}=i;return t.debounce(n,o,{leading:a,maxWait:o,trailing:s})}e.throttle=r})(Nu)),Nu}var ku,L1;function ID(){return L1||(L1=1,ku=kD().throttle),ku}var TD=ID();const _D=Cr(TD);var F1=function(t,r){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];if(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 a=0;console.warn(r.replace(/%s/g,()=>o[a++]))}},p5=(e,t,r)=>{var{width:n="100%",height:o="100%",aspect:i,maxHeight:a}=r,s=hr(n)?e:Number(n),c=hr(o)?t:Number(o);return i&&i>0&&(s?c=s/i:c&&(s=c*i),a&&c!=null&&c>a&&(c=a)),{calculatedWidth:s,calculatedHeight:c}},RD={width:0,height:0,overflow:"visible"},DD={width:0,overflowX:"visible"},LD={height:0,overflowY:"visible"},FD={},BD=e=>{var{width:t,height:r}=e,n=hr(t),o=hr(r);return n&&o?RD:n?DD:o?LD:FD};function $D(e){var{width:t,height:r,aspect:n}=e,o=t,i=r;return o===void 0&&i===void 0?(o="100%",i="100%"):o===void 0?o=n&&n>0?void 0:"100%":i===void 0&&(i=n&&n>0?void 0:"100%"),{width:o,height:i}}function Qd(){return Qd=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},Qd.apply(null,arguments)}function B1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function $1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?B1(Object(r),!0).forEach(function(n){VD(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function VD(e,t,r){return(t=zD(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zD(e){var t=WD(e,"string");return typeof t=="symbol"?t:t+""}function WD(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 m5=A.createContext({width:-1,height:-1});function HD(e){return Kr(e.width)&&Kr(e.height)}function h5(e){var{children:t,width:r,height:n}=e,o=A.useMemo(()=>({width:r,height:n}),[r,n]);return HD(o)?f.createElement(m5.Provider,{value:o},t):null}var Wp=()=>A.useContext(m5),KD=A.forwardRef((e,t)=>{var{aspect:r,initialDimension:n={width:-1,height:-1},width:o,height:i,minWidth:a=0,minHeight:s,maxHeight:c,children:l,debounce:u=0,id:d,className:p,onResize:m,style:g={}}=e,v=A.useRef(null),y=A.useRef();y.current=m,A.useImperativeHandle(t,()=>v.current);var[b,x]=A.useState({containerWidth:n.width,containerHeight:n.height}),w=A.useCallback((P,j)=>{x(D=>{var L=Math.round(P),M=Math.round(j);return D.containerWidth===L&&D.containerHeight===M?D:{containerWidth:L,containerHeight:M}})},[]);A.useEffect(()=>{if(v.current==null||typeof ResizeObserver>"u")return Ri;var P=M=>{var k,{width:$,height:U}=M[0].contentRect;w($,U),(k=y.current)===null||k===void 0||k.call(y,$,U)};u>0&&(P=_D(P,u,{trailing:!0,leading:!1}));var j=new ResizeObserver(P),{width:D,height:L}=v.current.getBoundingClientRect();return w(D,L),j.observe(v.current),()=>{j.disconnect()}},[w,u]);var{containerWidth:C,containerHeight:E}=b;F1(!r||r>0,"The aspect(%s) must be greater than zero.",r);var{calculatedWidth:S,calculatedHeight:O}=p5(C,E,{width:o,height:i,aspect:r,maxHeight:c});return F1(S!=null&&S>0||O!=null&&O>0,`The width(%s) and height(%s) of chart should be greater than 0,
|
|
75
|
+
please check the style of container, or the props width(%s) and height(%s),
|
|
76
|
+
or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
|
|
77
|
+
height and width.`,S,O,o,i,a,s,r),f.createElement("div",{id:d?"".concat(d):void 0,className:be("recharts-responsive-container",p),style:$1($1({},g),{},{width:o,height:i,minWidth:a,minHeight:s,maxHeight:c}),ref:v},f.createElement("div",{style:BD({width:o,height:i})},f.createElement(h5,{width:S,height:O},l)))}),UD=A.forwardRef((e,t)=>{var r=Wp();if(Kr(r.width)&&Kr(r.height))return e.children;var{width:n,height:o}=$D({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:i,calculatedHeight:a}=p5(void 0,void 0,{width:n,height:o,aspect:e.aspect,maxHeight:e.maxHeight});return te(i)&&te(a)?f.createElement(h5,{width:i,height:a},e.children):f.createElement(KD,Qd({},e,{width:n,height:o,ref:t}))});function v5(e){if(e)return{x:e.x,y:e.y,upperWidth:"upperWidth"in e?e.upperWidth:e.width,lowerWidth:"lowerWidth"in e?e.lowerWidth:e.width,width:e.width,height:e.height}}var $c=()=>{var e,t=Ct(),r=re(PD),n=re(Bc),o=(e=re(Fc))===null||e===void 0?void 0:e.padding;return!t||!n||!o?r:{width:n.width-o.left-o.right,height:n.height-o.top-o.bottom,x:o.left,y:o.top}},GD={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},qD=()=>{var e;return(e=re(We))!==null&&e!==void 0?e:GD},YD=()=>re(Er),ZD=()=>re(Sr),he=e=>e.layout.layoutType,Vi=()=>re(he),QD=()=>{var e=Vi();return e!==void 0},Vc=e=>{var t=Me(),r=Ct(),{width:n,height:o}=e,i=Wp(),a=n,s=o;return i&&(a=i.width>0?i.width:n,s=i.height>0?i.height:o),A.useEffect(()=>{!r&&Kr(a)&&Kr(s)&&t(ZR({width:a,height:s}))},[t,r,a,s]),null},g5=Symbol.for("immer-nothing"),V1=Symbol.for("immer-draftable"),wt=Symbol.for("immer-state"),XD=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 ct(e,...t){if(process.env.NODE_ENV!=="production"){const r=XD[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 ci=Object.getPrototypeOf;function so(e){return!!e&&!!e[wt]}function En(e){return e?y5(e)||Array.isArray(e)||!!e[V1]||!!e.constructor?.[V1]||zi(e)||Wc(e):!1}var JD=Object.prototype.constructor.toString(),z1=new WeakMap;function y5(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=z1.get(r);return n===void 0&&(n=Function.toString.call(r),z1.set(r,n)),n===JD}function gs(e,t,r=!0){zc(e)===0?(r?Reflect.ownKeys(e):Object.keys(e)).forEach(o=>{t(o,e[o],e)}):e.forEach((n,o)=>t(o,n,e))}function zc(e){const t=e[wt];return t?t.type_:Array.isArray(e)?1:zi(e)?2:Wc(e)?3:0}function Xd(e,t){return zc(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function b5(e,t,r){const n=zc(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function eL(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function zi(e){return e instanceof Map}function Wc(e){return e instanceof Set}function on(e){return e.copy_||e.base_}function Jd(e,t){if(zi(e))return new Map(e);if(Wc(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=y5(e);if(t===!0||t==="class_only"&&!r){const n=Object.getOwnPropertyDescriptors(e);delete n[wt];let o=Reflect.ownKeys(n);for(let i=0;i<o.length;i++){const a=o[i],s=n[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(n[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(ci(e),n)}else{const n=ci(e);if(n!==null&&r)return{...e};const o=Object.create(n);return Object.assign(o,e)}}function Hp(e,t=!1){return Hc(e)||so(e)||!En(e)||(zc(e)>1&&Object.defineProperties(e,{set:Sa,add:Sa,clear:Sa,delete:Sa}),Object.freeze(e),t&&Object.values(e).forEach(r=>Hp(r,!0))),e}function tL(){ct(2)}var Sa={value:tL};function Hc(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var rL={};function Sn(e){const t=rL[e];return t||ct(0,e),t}var li;function x5(){return li}function nL(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function W1(e,t){t&&(Sn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ef(e){tf(e),e.drafts_.forEach(oL),e.drafts_=null}function tf(e){e===li&&(li=e.parent_)}function H1(e){return li=nL(li,e)}function oL(e){const t=e[wt];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function K1(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[wt].modified_&&(ef(t),ct(4)),En(e)&&(e=ys(t,e),t.parent_||bs(t,e)),t.patches_&&Sn("Patches").generateReplacementPatches_(r[wt].base_,e,t.patches_,t.inversePatches_)):e=ys(t,r,[]),ef(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==g5?e:void 0}function ys(e,t,r){if(Hc(t))return t;const n=e.immer_.shouldUseStrictIteration(),o=t[wt];if(!o)return gs(t,(i,a)=>U1(e,o,t,i,a,r),n),t;if(o.scope_!==e)return t;if(!o.modified_)return bs(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const i=o.copy_;let a=i,s=!1;o.type_===3&&(a=new Set(i),i.clear(),s=!0),gs(a,(c,l)=>U1(e,o,i,c,l,r,s),n),bs(e,i,!1),r&&e.patches_&&Sn("Patches").generatePatches_(o,r,e.patches_,e.inversePatches_)}return o.copy_}function U1(e,t,r,n,o,i,a){if(o==null||typeof o!="object"&&!a)return;const s=Hc(o);if(!(s&&!a)){if(process.env.NODE_ENV!=="production"&&o===r&&ct(5),so(o)){const c=i&&t&&t.type_!==3&&!Xd(t.assigned_,n)?i.concat(n):void 0,l=ys(e,o,c);if(b5(r,n,l),so(l))e.canAutoFreeze_=!1;else return}else a&&r.add(o);if(En(o)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[n]===o&&s)return;ys(e,o),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&(zi(r)?r.has(n):Object.prototype.propertyIsEnumerable.call(r,n))&&bs(e,o)}}}function bs(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Hp(t,r)}function iL(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:x5(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,i=Kp;r&&(o=[n],i=ui);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return n.draft_=s,n.revoke_=a,s}var Kp={get(e,t){if(t===wt)return e;const r=on(e);if(!Xd(r,t))return aL(e,r,t);const n=r[t];return e.finalized_||!En(n)?n:n===Iu(e.base_,t)?(Tu(e),e.copy_[t]=nf(n,e)):n},has(e,t){return t in on(e)},ownKeys(e){return Reflect.ownKeys(on(e))},set(e,t,r){const n=w5(on(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const o=Iu(on(e),t),i=o?.[wt];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(eL(r,o)&&(r!==void 0||Xd(e.base_,t)))return!0;Tu(e),rf(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 Iu(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Tu(e),rf(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=on(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){ct(11)},getPrototypeOf(e){return ci(e.base_)},setPrototypeOf(){ct(12)}},ui={};gs(Kp,(e,t)=>{ui[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});ui.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&ct(13),ui.set.call(this,e,t,void 0)};ui.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&ct(14),Kp.set.call(this,e[0],t,r,e[0])};function Iu(e,t){const r=e[wt];return(r?on(r):e)[t]}function aL(e,t,r){const n=w5(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}function w5(e,t){if(!(t in e))return;let r=ci(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=ci(r)}}function rf(e){e.modified_||(e.modified_=!0,e.parent_&&rf(e.parent_))}function Tu(e){e.copy_||(e.copy_=Jd(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var sL=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 i=r;r=t;const a=this;return function(c=i,...l){return a.produce(c,u=>r.call(this,u,...l))}}typeof r!="function"&&ct(6),n!==void 0&&typeof n!="function"&&ct(7);let o;if(En(t)){const i=H1(this),a=nf(t,void 0);let s=!0;try{o=r(a),s=!1}finally{s?ef(i):tf(i)}return W1(i,n),K1(o,i)}else if(!t||typeof t!="object"){if(o=r(t),o===void 0&&(o=t),o===g5&&(o=void 0),this.autoFreeze_&&Hp(o,!0),n){const i=[],a=[];Sn("Patches").generateReplacementPatches_(t,o,i,a),n(i,a)}return o}else ct(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,c=>t(c,...s));let n,o;return[this.produce(t,r,(a,s)=>{n=a,o=s}),n,o]},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){En(e)||ct(8),so(e)&&(e=cL(e));const t=H1(this),r=nf(e,void 0);return r[wt].isManual_=!0,tf(t),r}finishDraft(e,t){const r=e&&e[wt];(!r||!r.isManual_)&&ct(9);const{scope_:n}=r;return W1(n,t),K1(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 o=t[r];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}r>-1&&(t=t.slice(r+1));const n=Sn("Patches").applyPatches_;return so(e)?n(e,t):this.produce(e,o=>n(o,t))}};function nf(e,t){const r=zi(e)?Sn("MapSet").proxyMap_(e,t):Wc(e)?Sn("MapSet").proxySet_(e,t):iL(e,t);return(t?t.scope_:x5()).drafts_.push(r),r}function cL(e){return so(e)||ct(10,e),C5(e)}function C5(e){if(!En(e)||Hc(e))return e;const t=e[wt];let r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Jd(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=Jd(e,!0);return gs(r,(o,i)=>{b5(r,o,C5(i))},n),t&&(t.finalized_=!1),r}var lL=new sL;lL.produce;var uL={settings:{layout:"horizontal",align:"center",verticalAlign:"middle",itemSorter:"value"},size:{width:0,height:0},payload:[]},E5=pt({name:"legend",initialState:uL,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:{reducer(e,t){e.payload.push(t.payload)},prepare:Se()},replaceLegendPayload:{reducer(e,t){var{prev:r,next:n}=t.payload,o=Lt(e).payload.indexOf(r);o>-1&&(e.payload[o]=n)},prepare:Se()},removeLegendPayload:{reducer(e,t){var r=Lt(e).payload.indexOf(t.payload);r>-1&&e.payload.splice(r,1)},prepare:Se()}}}),{setLegendSize:dQ,setLegendSettings:fQ,addLegendPayload:dL,replaceLegendPayload:fL,removeLegendPayload:pL}=E5.actions,mL=E5.reducer;function of(){return of=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},of.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(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function _u(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){hL(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 hL(e,t,r){return(t=vL(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vL(e){var t=gL(e,"string");return typeof t=="symbol"?t:t+""}function gL(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 yL(e){return Array.isArray(e)&&tr(e[0])&&tr(e[1])?e.join(" ~ "):e}var bL=e=>{var{separator:t=" : ",contentStyle:r={},itemStyle:n={},labelStyle:o={},payload:i,formatter:a,itemSorter:s,wrapperClassName:c,labelClassName:l,label:u,labelFormatter:d,accessibilityLayer:p=!1}=e,m=()=>{if(i&&i.length){var E={padding:0,margin:0},S=(s?Pc(i,s):i).map((O,P)=>{if(O.type==="none")return null;var j=O.formatter||a||yL,{value:D,name:L}=O,M=D,k=L;if(j){var $=j(D,L,O,P,i);if(Array.isArray($))[M,k]=$;else if($!=null)M=$;else return null}var U=_u({display:"block",paddingTop:4,paddingBottom:4,color:O.color||"#000"},n);return f.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(P),style:U},tr(k)?f.createElement("span",{className:"recharts-tooltip-item-name"},k):null,tr(k)?f.createElement("span",{className:"recharts-tooltip-item-separator"},t):null,f.createElement("span",{className:"recharts-tooltip-item-value"},M),f.createElement("span",{className:"recharts-tooltip-item-unit"},O.unit||""))});return f.createElement("ul",{className:"recharts-tooltip-item-list",style:E},S)}return null},g=_u({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),v=_u({margin:0},o),y=!ze(u),b=y?u:"",x=be("recharts-default-tooltip",c),w=be("recharts-tooltip-label",l);y&&d&&i!==void 0&&i!==null&&(b=d(u,i));var C=p?{role:"status","aria-live":"assertive"}:{};return f.createElement("div",of({className:x,style:g},C),f.createElement("p",{className:w,style:v},f.isValidElement(b)?b:"".concat(b)),m())},_o="recharts-tooltip-wrapper",xL={visibility:"hidden"};function wL(e){var{coordinate:t,translateX:r,translateY:n}=e;return be(_o,{["".concat(_o,"-right")]:te(r)&&t&&te(t.x)&&r>=t.x,["".concat(_o,"-left")]:te(r)&&t&&te(t.x)&&r<t.x,["".concat(_o,"-bottom")]:te(n)&&t&&te(t.y)&&n>=t.y,["".concat(_o,"-top")]:te(n)&&t&&te(t.y)&&n<t.y})}function q1(e){var{allowEscapeViewBox:t,coordinate:r,key:n,offsetTopLeft:o,position:i,reverseDirection:a,tooltipDimension:s,viewBox:c,viewBoxDimension:l}=e;if(i&&te(i[n]))return i[n];var u=r[n]-s-(o>0?o:0),d=r[n]+o;if(t[n])return a[n]?u:d;var p=c[n];if(p==null)return 0;if(a[n]){var m=u,g=p;return m<g?Math.max(d,p):Math.max(u,p)}if(l==null)return 0;var v=d+s,y=p+l;return v>y?Math.max(u,p):Math.max(d,p)}function CL(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 EL(e){var{allowEscapeViewBox:t,coordinate:r,offsetTopLeft:n,position:o,reverseDirection:i,tooltipBox:a,useTranslate3d:s,viewBox:c}=e,l,u,d;return a.height>0&&a.width>0&&r?(u=q1({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:n,position:o,reverseDirection:i,tooltipDimension:a.width,viewBox:c,viewBoxDimension:c.width}),d=q1({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:n,position:o,reverseDirection:i,tooltipDimension:a.height,viewBox:c,viewBoxDimension:c.height}),l=CL({translateX:u,translateY:d,useTranslate3d:s})):l=xL,{cssProperties:l,cssClasses:wL({translateX:u,translateY:d,coordinate:r})}}function Y1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Aa(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){af(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 af(e,t,r){return(t=SL(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SL(e){var t=AL(e,"string");return typeof t=="symbol"?t:t+""}function AL(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 OL extends A.PureComponent{constructor(){super(...arguments),af(this,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),af(this,"handleKeyDown",t=>{if(t.key==="Escape"){var r,n,o,i;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:(o=(i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==null&&o!==void 0?o: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:o,children:i,coordinate:a,hasPayload:s,isAnimationActive:c,offset:l,position:u,reverseDirection:d,useTranslate3d:p,viewBox:m,wrapperStyle:g,lastBoundingBox:v,innerRef:y,hasPortalFromProps:b}=this.props,{cssClasses:x,cssProperties:w}=EL({allowEscapeViewBox:r,coordinate:a,offsetTopLeft:l,position:u,reverseDirection:d,tooltipBox:{height:v.height,width:v.width},useTranslate3d:p,viewBox:m}),C=b?{}:Aa(Aa({transition:c&&t?"transform ".concat(n,"ms ").concat(o):void 0},w),{},{pointerEvents:"none",visibility:!this.state.dismissed&&t&&s?"visible":"hidden",position:"absolute",top:0,left:0}),E=Aa(Aa({},C),{},{visibility:!this.state.dismissed&&t&&s?"visible":"hidden"},g);return f.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",tabIndex:-1,className:x,style:E,ref:y},i)}}var S5=()=>{var e;return(e=re(t=>t.rootProps.accessibilityLayer))!==null&&e!==void 0?e:!0};function sf(){return sf=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},sf.apply(null,arguments)}function Z1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Q1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Z1(Object(r),!0).forEach(function(n){PL(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function PL(e,t,r){return(t=NL(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NL(e){var t=ML(e,"string");return typeof t=="symbol"?t:t+""}function ML(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 X1={curveBasisClosed:nT,curveBasisOpen:oT,curveBasis:rT,curveBumpX:zI,curveBumpY:WI,curveLinearClosed:iT,curveLinear:Ac,curveMonotoneX:aT,curveMonotoneY:sT,curveNatural:cT,curveStep:lT,curveStepAfter:dT,curveStepBefore:uT},xs=e=>Oe(e.x)&&Oe(e.y),J1=e=>e.base!=null&&xs(e.base)&&xs(e),Ro=e=>e.x,Do=e=>e.y,jL=(e,t)=>{if(typeof e=="function")return e;var r="curve".concat(_i(e));return(r==="curveMonotone"||r==="curveBump")&&t?X1["".concat(r).concat(t==="vertical"?"Y":"X")]:X1[r]||Ac},kL=e=>{var{type:t="linear",points:r=[],baseLine:n,layout:o,connectNulls:i=!1}=e,a=jL(t,o),s=i?r.filter(xs):r,c;if(Array.isArray(n)){var l=r.map((m,g)=>Q1(Q1({},m),{},{base:n[g]}));o==="vertical"?c=ma().y(Do).x1(Ro).x0(m=>m.base.x):c=ma().x(Ro).y1(Do).y0(m=>m.base.y);var u=c.defined(J1).curve(a),d=i?l.filter(J1):l;return u(d)}o==="vertical"&&te(n)?c=ma().y(Do).x1(Ro).x0(n):te(n)?c=ma().x(Ro).y1(Do).y0(n):c=t3().x(Ro).y(Do);var p=c.defined(xs).curve(a);return p(s)},A5=e=>{var{className:t,points:r,path:n,pathRef:o}=e,i=Vi();if((!r||!r.length)&&!n)return null;var a={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||i,connectNulls:e.connectNulls},s=r&&r.length?kL(a):n;return f.createElement("path",sf({},Hr(e),DT(e),{className:be("recharts-curve",t),d:s===null?void 0:s,ref:o}))},IL=["x","y","top","left","width","height","className"];function cf(){return cf=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},cf.apply(null,arguments)}function ev(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).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?ev(Object(r),!0).forEach(function(n){_L(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ev(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function _L(e,t,r){return(t=RL(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function RL(e){var t=DL(e,"string");return typeof t=="symbol"?t:t+""}function DL(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 LL(e,t){if(e==null)return{};var r,n,o=FL(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function FL(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 BL=(e,t,r,n,o,i)=>"M".concat(e,",").concat(o,"v").concat(n,"M").concat(i,",").concat(t,"h").concat(r),$L=e=>{var{x:t=0,y:r=0,top:n=0,left:o=0,width:i=0,height:a=0,className:s}=e,c=LL(e,IL),l=TL({x:t,y:r,top:n,left:o,width:i,height:a},c);return!te(t)||!te(r)||!te(i)||!te(a)||!te(n)||!te(o)?null:f.createElement("path",cf({},Nt(l),{className:be("recharts-cross",s),d:BL(t,r,i,a,n,o)}))};function VL(e,t,r,n){var o=n/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-o:r.left+.5,y:e==="horizontal"?r.top+.5:t.y-o,width:e==="horizontal"?n:r.width-1,height:e==="horizontal"?r.height-1:n}}function tv(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function rv(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tv(Object(r),!0).forEach(function(n){zL(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tv(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function zL(e,t,r){return(t=WL(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function WL(e){var t=HL(e,"string");return typeof t=="symbol"?t:t+""}function HL(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 KL=e=>e.replace(/([A-Z])/g,t=>"-".concat(t.toLowerCase())),O5=(e,t,r)=>e.map(n=>"".concat(KL(n)," ").concat(t,"ms ").concat(r)).join(","),UL=(e,t)=>[Object.keys(e),Object.keys(t)].reduce((r,n)=>r.filter(o=>n.includes(o))),di=(e,t)=>Object.keys(t).reduce((r,n)=>rv(rv({},r),{},{[n]:e(n,t[n])}),{});function nv(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).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?nv(Object(r),!0).forEach(function(n){GL(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nv(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function GL(e,t,r){return(t=qL(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qL(e){var t=YL(e,"string");return typeof t=="symbol"?t:t+""}function YL(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 ws=(e,t,r)=>e+(t-e)*r,lf=e=>{var{from:t,to:r}=e;return t!==r},P5=(e,t,r)=>{var n=di((o,i)=>{if(lf(i)){var[a,s]=e(i.from,i.to,i.velocity);return _e(_e({},i),{},{from:a,velocity:s})}return i},t);return r<1?di((o,i)=>lf(i)&&n[o]!=null?_e(_e({},i),{},{velocity:ws(i.velocity,n[o].velocity,r),from:ws(i.from,n[o].from,r)}):i,t):P5(e,n,r-1)};function ZL(e,t,r,n,o,i){var a,s=n.reduce((p,m)=>_e(_e({},p),{},{[m]:{from:e[m],velocity:0,to:t[m]}}),{}),c=()=>di((p,m)=>m.from,s),l=()=>!Object.values(s).filter(lf).length,u=null,d=p=>{a||(a=p);var m=p-a,g=m/r.dt;s=P5(r,s,g),o(_e(_e(_e({},e),t),c())),a=p,l()||(u=i.setTimeout(d))};return()=>(u=i.setTimeout(d),()=>{var p;(p=u)===null||p===void 0||p()})}function QL(e,t,r,n,o,i,a){var s=null,c=o.reduce((d,p)=>{var m=e[p],g=t[p];return m==null||g==null?d:_e(_e({},d),{},{[p]:[m,g]})},{}),l,u=d=>{l||(l=d);var p=(d-l)/n,m=di((v,y)=>ws(...y,r(p)),c);if(i(_e(_e(_e({},e),t),m)),p<1)s=a.setTimeout(u);else{var g=di((v,y)=>ws(...y,r(1)),c);i(_e(_e(_e({},e),t),g))}};return()=>(s=a.setTimeout(u),()=>{var d;(d=s)===null||d===void 0||d()})}const XL=(e,t,r,n,o,i)=>{var a=UL(e,t);return r==null?()=>(o(_e(_e({},e),t)),()=>{}):r.isStepper===!0?ZL(e,t,r,a,o,i):QL(e,t,r,n,a,o,i)};var Cs=1e-4,N5=(e,t)=>[0,3*e,3*t-6*e,3*e-3*t+1],M5=(e,t)=>e.map((r,n)=>r*t**n).reduce((r,n)=>r+n),ov=(e,t)=>r=>{var n=N5(e,t);return M5(n,r)},JL=(e,t)=>r=>{var n=N5(e,t),o=[...n.map((i,a)=>i*a).slice(1),0];return M5(o,r)},eF=e=>{var t,r=e.split("(");if(r.length!==2||r[0]!=="cubic-bezier")return null;var n=(t=r[1])===null||t===void 0||(t=t.split(")")[0])===null||t===void 0?void 0:t.split(",");if(n==null||n.length!==4)return null;var o=n.map(i=>parseFloat(i));return[o[0],o[1],o[2],o[3]]},tF=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(r.length===1)switch(r[0]){case"linear":return[0,0,1,1];case"ease":return[.25,.1,.25,1];case"ease-in":return[.42,0,1,1];case"ease-out":return[.42,0,.58,1];case"ease-in-out":return[0,0,.58,1];default:{var o=eF(r[0]);if(o)return o}}return r.length===4?r:[0,0,1,1]},rF=(e,t,r,n)=>{var o=ov(e,r),i=ov(t,n),a=JL(e,r),s=l=>l>1?1:l<0?0:l,c=l=>{for(var u=l>1?1:l,d=u,p=0;p<8;++p){var m=o(d)-u,g=a(d);if(Math.abs(m-u)<Cs||g<Cs)return i(d);d=s(d-m/g)}return i(d)};return c.isStepper=!1,c},iv=function(){return rF(...tF(...arguments))},nF=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{stiff:r=100,damping:n=8,dt:o=17}=t,i=(a,s,c)=>{var l=-(a-s)*r,u=c*n,d=c+(l-u)*o/1e3,p=c*o/1e3+a;return Math.abs(p-s)<Cs&&Math.abs(d)<Cs?[s,0]:[p,d]};return i.isStepper=!0,i.dt=o,i},oF=e=>{if(typeof e=="string")switch(e){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return iv(e);case"spring":return nF();default:if(e.split("(")[0]==="cubic-bezier")return iv(e)}return typeof e=="function"?e:null};function iF(e){var t,r=()=>null,n=!1,o=null,i=a=>{if(!n){if(Array.isArray(a)){if(!a.length)return;var s=a,[c,...l]=s;if(typeof c=="number"){o=e.setTimeout(i.bind(null,l),c);return}i(c),o=e.setTimeout(i.bind(null,l));return}typeof a=="string"&&(t=a,r(t)),typeof a=="object"&&(t=a,r(t)),typeof a=="function"&&a()}};return{stop:()=>{n=!0},start:a=>{n=!1,o&&(o(),o=null),i(a)},subscribe:a=>(r=a,()=>{r=()=>null}),getTimeoutController:()=>e}}class aF{setTimeout(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=performance.now(),o=null,i=a=>{a-n>=r?t(a):typeof requestAnimationFrame=="function"&&(o=requestAnimationFrame(i))};return o=requestAnimationFrame(i),()=>{o!=null&&cancelAnimationFrame(o)}}}function sF(){return iF(new aF)}var cF=A.createContext(sF);function lF(e,t){var r=A.useContext(cF);return A.useMemo(()=>t??r(e),[e,t,r])}var uF=()=>!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout),Kc={isSsr:uF()},dF={begin:0,duration:1e3,easing:"ease",isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}},av={t:0},Ru={t:1};function Up(e){var t=It(e,dF),{isActive:r,canBegin:n,duration:o,easing:i,begin:a,onAnimationEnd:s,onAnimationStart:c,children:l}=t,u=r==="auto"?!Kc.isSsr:r,d=lF(t.animationId,t.animationManager),[p,m]=A.useState(u?av:Ru),g=A.useRef(null);return A.useEffect(()=>{u||m(Ru)},[u]),A.useEffect(()=>{if(!u||!n)return Ri;var v=XL(av,Ru,oF(i),o,m,d.getTimeoutController()),y=()=>{g.current=v()};return d.start([c,a,y,o,s]),()=>{d.stop(),g.current&&g.current(),s()}},[u,n,o,i,a,c,s,d]),l(p.t)}function Gp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"animation-",r=A.useRef(oi(t)),n=A.useRef(e);return n.current!==e&&(r.current=oi(t),n.current=e),r.current}var fF=["radius"],pF=["radius"],sv,cv,lv,uv,dv,fv,pv,mv,hv,vv;function gv(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function yv(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gv(Object(r),!0).forEach(function(n){mF(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gv(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mF(e,t,r){return(t=hF(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hF(e){var t=vF(e,"string");return typeof t=="symbol"?t:t+""}function vF(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 Es(){return Es=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},Es.apply(null,arguments)}function bv(e,t){if(e==null)return{};var r,n,o=gF(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function gF(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 Gt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var xv=(e,t,r,n,o)=>{var i=$r(r),a=$r(n),s=Math.min(Math.abs(i)/2,Math.abs(a)/2),c=a>=0?1:-1,l=i>=0?1:-1,u=a>=0&&i>=0||a<0&&i<0?1:0,d;if(s>0&&o instanceof Array){for(var p=[0,0,0,0],m=0,g=4;m<g;m++)p[m]=o[m]>s?s:o[m];d=Pe(sv||(sv=Gt(["M",",",""])),e,t+c*p[0]),p[0]>0&&(d+=Pe(cv||(cv=Gt(["A ",",",",0,0,",",",",",""])),p[0],p[0],u,e+l*p[0],t)),d+=Pe(lv||(lv=Gt(["L ",",",""])),e+r-l*p[1],t),p[1]>0&&(d+=Pe(uv||(uv=Gt(["A ",",",",0,0,",`,
|
|
78
|
+
`,",",""])),p[1],p[1],u,e+r,t+c*p[1])),d+=Pe(dv||(dv=Gt(["L ",",",""])),e+r,t+n-c*p[2]),p[2]>0&&(d+=Pe(fv||(fv=Gt(["A ",",",",0,0,",`,
|
|
79
|
+
`,",",""])),p[2],p[2],u,e+r-l*p[2],t+n)),d+=Pe(pv||(pv=Gt(["L ",",",""])),e+l*p[3],t+n),p[3]>0&&(d+=Pe(mv||(mv=Gt(["A ",",",",0,0,",`,
|
|
80
|
+
`,",",""])),p[3],p[3],u,e,t+n-c*p[3])),d+="Z"}else if(s>0&&o===+o&&o>0){var v=Math.min(s,o);d=Pe(hv||(hv=Gt(["M ",",",`
|
|
81
|
+
A `,",",",0,0,",",",",",`
|
|
82
|
+
L `,",",`
|
|
83
|
+
A `,",",",0,0,",",",",",`
|
|
84
|
+
L `,",",`
|
|
85
|
+
A `,",",",0,0,",",",",",`
|
|
86
|
+
L `,",",`
|
|
87
|
+
A `,",",",0,0,",",",","," Z"])),e,t+c*v,v,v,u,e+l*v,t,e+r-l*v,t,v,v,u,e+r,t+c*v,e+r,t+n-c*v,v,v,u,e+r-l*v,t+n,e+l*v,t+n,v,v,u,e,t+n-c*v)}else d=Pe(vv||(vv=Gt(["M ",","," h "," v "," h "," Z"])),e,t,r,n,-r);return d},wv={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},j5=e=>{var t=It(e,wv),r=A.useRef(null),[n,o]=A.useState(-1);A.useEffect(()=>{if(r.current&&r.current.getTotalLength)try{var H=r.current.getTotalLength();H&&o(H)}catch{}},[]);var{x:i,y:a,width:s,height:c,radius:l,className:u}=t,{animationEasing:d,animationDuration:p,animationBegin:m,isAnimationActive:g,isUpdateAnimationActive:v}=t,y=A.useRef(s),b=A.useRef(c),x=A.useRef(i),w=A.useRef(a),C=A.useMemo(()=>({x:i,y:a,width:s,height:c,radius:l}),[i,a,s,c,l]),E=Gp(C,"rectangle-");if(i!==+i||a!==+a||s!==+s||c!==+c||s===0||c===0)return null;var S=be("recharts-rectangle",u);if(!v){var O=Nt(t),{radius:P}=O,j=bv(O,fF);return f.createElement("path",Es({},j,{x:$r(i),y:$r(a),width:$r(s),height:$r(c),radius:typeof l=="number"?l:void 0,className:S,d:xv(i,a,s,c,l)}))}var D=y.current,L=b.current,M=x.current,k=w.current,$="0px ".concat(n===-1?1:n,"px"),U="".concat(n,"px 0px"),W=O5(["strokeDasharray"],p,typeof d=="string"?d:wv.animationEasing);return f.createElement(Up,{animationId:E,key:E,canBegin:n>0,duration:p,easing:d,isActive:v,begin:m},H=>{var T=Ye(D,s,H),N=Ye(L,c,H),z=Ye(M,i,H),X=Ye(k,a,H);r.current&&(y.current=T,b.current=N,x.current=z,w.current=X);var K;g?H>0?K={transition:W,strokeDasharray:U}:K={strokeDasharray:$}:K={strokeDasharray:U};var J=Nt(t),{radius:ee}=J,fe=bv(J,pF);return f.createElement("path",Es({},fe,{radius:typeof l=="number"?l:void 0,className:S,d:xv(z,X,T,N,l),ref:r,style:yv(yv({},K),t.style)}))})};function Cv(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ev(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Cv(Object(r),!0).forEach(function(n){yF(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cv(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function yF(e,t,r){return(t=bF(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bF(e){var t=xF(e,"string");return typeof t=="symbol"?t:t+""}function xF(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 Ss=Math.PI/180,wF=e=>e*180/Math.PI,Ze=(e,t,r,n)=>({x:e+Math.cos(-Ss*n)*r,y:t+Math.sin(-Ss*n)*r}),CF=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},EF=(e,t)=>{var{x:r,y:n}=e,{x:o,y:i}=t;return Math.sqrt((r-o)**2+(n-i)**2)},SF=(e,t)=>{var{x:r,y:n}=e,{cx:o,cy:i}=t,a=EF({x:r,y:n},{x:o,y:i});if(a<=0)return{radius:a,angle:0};var s=(r-o)/a,c=Math.acos(s);return n>i&&(c=2*Math.PI-c),{radius:a,angle:wF(c),angleInRadian:c}},AF=e=>{var{startAngle:t,endAngle:r}=e,n=Math.floor(t/360),o=Math.floor(r/360),i=Math.min(n,o);return{startAngle:t-i*360,endAngle:r-i*360}},OF=(e,t)=>{var{startAngle:r,endAngle:n}=t,o=Math.floor(r/360),i=Math.floor(n/360),a=Math.min(o,i);return e+a*360},PF=(e,t)=>{var{chartX:r,chartY:n}=e,{radius:o,angle:i}=SF({x:r,y:n},t),{innerRadius:a,outerRadius:s}=t;if(o<a||o>s||o===0)return null;var{startAngle:c,endAngle:l}=AF(t),u=i,d;if(c<=l){for(;u>l;)u-=360;for(;u<c;)u+=360;d=u>=c&&u<=l}else{for(;u>c;)u-=360;for(;u<l;)u+=360;d=u>=l&&u<=c}return d?Ev(Ev({},t),{},{radius:o,angle:OF(u,t)}):null};function k5(e){var{cx:t,cy:r,radius:n,startAngle:o,endAngle:i}=e,a=Ze(t,r,n,o),s=Ze(t,r,n,i);return{points:[a,s],cx:t,cy:r,radius:n,startAngle:o,endAngle:i}}var Sv,Av,Ov,Pv,Nv,Mv,jv;function uf(){return uf=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},uf.apply(null,arguments)}function cn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var NF=(e,t)=>{var r=yt(t-e),n=Math.min(Math.abs(t-e),359.999);return r*n},Oa=e=>{var{cx:t,cy:r,radius:n,angle:o,sign:i,isExternal:a,cornerRadius:s,cornerIsExternal:c}=e,l=s*(a?1:-1)+n,u=Math.asin(s/l)/Ss,d=c?o:o+i*u,p=Ze(t,r,l,d),m=Ze(t,r,n,d),g=c?o-i*u:o,v=Ze(t,r,l*Math.cos(u*Ss),g);return{center:p,circleTangency:m,lineTangency:v,theta:u}},I5=e=>{var{cx:t,cy:r,innerRadius:n,outerRadius:o,startAngle:i,endAngle:a}=e,s=NF(i,a),c=i+s,l=Ze(t,r,o,i),u=Ze(t,r,o,c),d=Pe(Sv||(Sv=cn(["M ",",",`
|
|
88
|
+
A `,",",`,0,
|
|
89
|
+
`,",",`,
|
|
90
|
+
`,",",`
|
|
91
|
+
`])),l.x,l.y,o,o,+(Math.abs(s)>180),+(i>c),u.x,u.y);if(n>0){var p=Ze(t,r,n,i),m=Ze(t,r,n,c);d+=Pe(Av||(Av=cn(["L ",",",`
|
|
92
|
+
A `,",",`,0,
|
|
93
|
+
`,",",`,
|
|
94
|
+
`,","," Z"])),m.x,m.y,n,n,+(Math.abs(s)>180),+(i<=c),p.x,p.y)}else d+=Pe(Ov||(Ov=cn(["L ",","," Z"])),t,r);return d},MF=e=>{var{cx:t,cy:r,innerRadius:n,outerRadius:o,cornerRadius:i,forceCornerRadius:a,cornerIsExternal:s,startAngle:c,endAngle:l}=e,u=yt(l-c),{circleTangency:d,lineTangency:p,theta:m}=Oa({cx:t,cy:r,radius:o,angle:c,sign:u,cornerRadius:i,cornerIsExternal:s}),{circleTangency:g,lineTangency:v,theta:y}=Oa({cx:t,cy:r,radius:o,angle:l,sign:-u,cornerRadius:i,cornerIsExternal:s}),b=s?Math.abs(c-l):Math.abs(c-l)-m-y;if(b<0)return a?Pe(Pv||(Pv=cn(["M ",",",`
|
|
95
|
+
a`,",",",0,0,1,",`,0
|
|
96
|
+
a`,",",",0,0,1,",`,0
|
|
97
|
+
`])),p.x,p.y,i,i,i*2,i,i,-i*2):I5({cx:t,cy:r,innerRadius:n,outerRadius:o,startAngle:c,endAngle:l});var x=Pe(Nv||(Nv=cn(["M ",",",`
|
|
98
|
+
A`,",",",0,0,",",",",",`
|
|
99
|
+
A`,",",",0,",",",",",",",`
|
|
100
|
+
A`,",",",0,0,",",",",",`
|
|
101
|
+
`])),p.x,p.y,i,i,+(u<0),d.x,d.y,o,o,+(b>180),+(u<0),g.x,g.y,i,i,+(u<0),v.x,v.y);if(n>0){var{circleTangency:w,lineTangency:C,theta:E}=Oa({cx:t,cy:r,radius:n,angle:c,sign:u,isExternal:!0,cornerRadius:i,cornerIsExternal:s}),{circleTangency:S,lineTangency:O,theta:P}=Oa({cx:t,cy:r,radius:n,angle:l,sign:-u,isExternal:!0,cornerRadius:i,cornerIsExternal:s}),j=s?Math.abs(c-l):Math.abs(c-l)-E-P;if(j<0&&i===0)return"".concat(x,"L").concat(t,",").concat(r,"Z");x+=Pe(Mv||(Mv=cn(["L",",",`
|
|
102
|
+
A`,",",",0,0,",",",",",`
|
|
103
|
+
A`,",",",0,",",",",",",",`
|
|
104
|
+
A`,",",",0,0,",",",",","Z"])),O.x,O.y,i,i,+(u<0),S.x,S.y,n,n,+(j>180),+(u>0),w.x,w.y,i,i,+(u<0),C.x,C.y)}else x+=Pe(jv||(jv=cn(["L",",","Z"])),t,r);return x},jF={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},T5=e=>{var t=It(e,jF),{cx:r,cy:n,innerRadius:o,outerRadius:i,cornerRadius:a,forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u,className:d}=t;if(i<o||l===u)return null;var p=be("recharts-sector",d),m=i-o,g=Vt(a,m,0,!0),v;return g>0&&Math.abs(l-u)<360?v=MF({cx:r,cy:n,innerRadius:o,outerRadius:i,cornerRadius:Math.min(g,m/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u}):v=I5({cx:r,cy:n,innerRadius:o,outerRadius:i,startAngle:l,endAngle:u}),f.createElement("path",uf({},Nt(t),{className:p,d:v}))};function kF(e,t,r){if(e==="horizontal")return[{x:t.x,y:r.top},{x:t.x,y:r.top+r.height}];if(e==="vertical")return[{x:r.left,y:t.y},{x:r.left+r.width,y:t.y}];if(v3(t)){if(e==="centric"){var{cx:n,cy:o,innerRadius:i,outerRadius:a,angle:s}=t,c=Ze(n,o,i,s),l=Ze(n,o,a,s);return[{x:c.x,y:c.y},{x:l.x,y:l.y}]}return k5(t)}}var Du={},Lu={},Fu={},kv;function IF(){return kv||(kv=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=N3();function r(n){return t.isSymbol(n)?NaN:Number(n)}e.toNumber=r})(Fu)),Fu}var Iv;function TF(){return Iv||(Iv=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=IF();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})(Lu)),Lu}var Tv;function _F(){return Tv||(Tv=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=M3(),r=TF();function n(o,i,a){a&&typeof a!="number"&&t.isIterateeCall(o,i,a)&&(i=a=void 0),o=r.toFinite(o),i===void 0?(i=o,o=0):i=r.toFinite(i),a=a===void 0?o<i?1:-1:r.toFinite(a);const s=Math.max(Math.ceil((i-o)/(a||1)),0),c=new Array(s);for(let l=0;l<s;l++)c[l]=o,o+=a;return c}e.range=n})(Du)),Du}var Bu,_v;function RF(){return _v||(_v=1,Bu=_F().range),Bu}var DF=RF();const _5=Cr(DF);function Vr(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function LF(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function qp(e){let t,r,n;e.length!==2?(t=Vr,r=(s,c)=>Vr(e(s),c),n=(s,c)=>e(s)-c):(t=e===Vr||e===LF?e:FF,r=e,n=e);function o(s,c,l=0,u=s.length){if(l<u){if(t(c,c)!==0)return u;do{const d=l+u>>>1;r(s[d],c)<0?l=d+1:u=d}while(l<u)}return l}function i(s,c,l=0,u=s.length){if(l<u){if(t(c,c)!==0)return u;do{const d=l+u>>>1;r(s[d],c)<=0?l=d+1:u=d}while(l<u)}return l}function a(s,c,l=0,u=s.length){const d=o(s,c,l,u-1);return d>l&&n(s[d-1],c)>-n(s[d],c)?d-1:d}return{left:o,center:a,right:i}}function FF(){return 0}function R5(e){return e===null?NaN:+e}function*BF(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const $F=qp(Vr),Wi=$F.right;qp(R5).center;class Rv extends Map{constructor(t,r=WF){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,o]of t)this.set(n,o)}get(t){return super.get(Dv(this,t))}has(t){return super.has(Dv(this,t))}set(t,r){return super.set(VF(this,t),r)}delete(t){return super.delete(zF(this,t))}}function Dv({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function VF({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function zF({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function WF(e){return e!==null&&typeof e=="object"?e.valueOf():e}function HF(e=Vr){if(e===Vr)return D5;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 D5(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const KF=Math.sqrt(50),UF=Math.sqrt(10),GF=Math.sqrt(2);function As(e,t,r){const n=(t-e)/Math.max(0,r),o=Math.floor(Math.log10(n)),i=n/Math.pow(10,o),a=i>=KF?10:i>=UF?5:i>=GF?2:1;let s,c,l;return o<0?(l=Math.pow(10,-o)/a,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=Math.pow(10,o)*a,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=r&&r<2?As(e,t,r*2):[s,c,l]}function df(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[o,i,a]=n?As(t,e,r):As(e,t,r);if(!(i>=o))return[];const s=i-o+1,c=new Array(s);if(n)if(a<0)for(let l=0;l<s;++l)c[l]=(i-l)/-a;else for(let l=0;l<s;++l)c[l]=(i-l)*a;else if(a<0)for(let l=0;l<s;++l)c[l]=(o+l)/-a;else for(let l=0;l<s;++l)c[l]=(o+l)*a;return c}function ff(e,t,r){return t=+t,e=+e,r=+r,As(e,t,r)[2]}function pf(e,t,r){t=+t,e=+e,r=+r;const n=t<e,o=n?ff(t,e,r):ff(e,t,r);return(n?-1:1)*(o<0?1/-o:o)}function Lv(e,t){let r;for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);return r}function Fv(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function L5(e,t,r=0,n=1/0,o){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(o=o===void 0?D5:HF(o);n>r;){if(n-r>600){const c=n-r+1,l=t-r+1,u=Math.log(c),d=.5*Math.exp(2*u/3),p=.5*Math.sqrt(u*d*(c-d)/c)*(l-c/2<0?-1:1),m=Math.max(r,Math.floor(t-l*d/c+p)),g=Math.min(n,Math.floor(t+(c-l)*d/c+p));L5(e,t,m,g,o)}const i=e[t];let a=r,s=n;for(Lo(e,r,t),o(e[n],i)>0&&Lo(e,r,n);a<s;){for(Lo(e,a,s),++a,--s;o(e[a],i)<0;)++a;for(;o(e[s],i)>0;)--s}o(e[r],i)===0?Lo(e,r,s):(++s,Lo(e,s,n)),s<=t&&(r=s+1),t<=s&&(n=s-1)}return e}function Lo(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function qF(e,t,r){if(e=Float64Array.from(BF(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return Fv(e);if(t>=1)return Lv(e);var n,o=(n-1)*t,i=Math.floor(o),a=Lv(L5(e,i).subarray(0,i+1)),s=Fv(e.subarray(i+1));return a+(s-a)*(o-i)}}function YF(e,t,r=R5){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,o=(n-1)*t,i=Math.floor(o),a=+r(e[i],i,e),s=+r(e[i+1],i+1,e);return a+(s-a)*(o-i)}}function ZF(e,t,r){e=+e,t=+t,r=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+r;for(var n=-1,o=Math.max(0,Math.ceil((t-e)/r))|0,i=new Array(o);++n<o;)i[n]=e+n*r;return i}function Tt(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function Ar(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 mf=Symbol("implicit");function Yp(){var e=new Rv,t=[],r=[],n=mf;function o(i){let a=e.get(i);if(a===void 0){if(n!==mf)return n;e.set(i,a=t.push(i)-1)}return r[a%r.length]}return o.domain=function(i){if(!arguments.length)return t.slice();t=[],e=new Rv;for(const a of i)e.has(a)||e.set(a,t.push(a)-1);return o},o.range=function(i){return arguments.length?(r=Array.from(i),o):r.slice()},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return Yp(t,r).unknown(n)},Tt.apply(o,arguments),o}function Zp(){var e=Yp().unknown(void 0),t=e.domain,r=e.range,n=0,o=1,i,a,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var p=t().length,m=o<n,g=m?o:n,v=m?n:o;i=(v-g)/Math.max(1,p-c+l*2),s&&(i=Math.floor(i)),g+=(v-g-i*(p-c))*u,a=i*(1-c),s&&(g=Math.round(g),a=Math.round(a));var y=ZF(p).map(function(b){return g+i*b});return r(m?y.reverse():y)}return e.domain=function(p){return arguments.length?(t(p),d()):t()},e.range=function(p){return arguments.length?([n,o]=p,n=+n,o=+o,d()):[n,o]},e.rangeRound=function(p){return[n,o]=p,n=+n,o=+o,s=!0,d()},e.bandwidth=function(){return a},e.step=function(){return i},e.round=function(p){return arguments.length?(s=!!p,d()):s},e.padding=function(p){return arguments.length?(c=Math.min(1,l=+p),d()):c},e.paddingInner=function(p){return arguments.length?(c=Math.min(1,p),d()):c},e.paddingOuter=function(p){return arguments.length?(l=+p,d()):l},e.align=function(p){return arguments.length?(u=Math.max(0,Math.min(1,p)),d()):u},e.copy=function(){return Zp(t(),[n,o]).round(s).paddingInner(c).paddingOuter(l).align(u)},Tt.apply(d(),arguments)}function F5(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return F5(t())},e}function QF(){return F5(Zp.apply(null,arguments).paddingInner(1))}function Qp(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function B5(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Hi(){}var fi=.7,Os=1/fi,Xn="\\s*([+-]?\\d+)\\s*",pi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Qt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",XF=/^#([0-9a-f]{3,8})$/,JF=new RegExp(`^rgb\\(${Xn},${Xn},${Xn}\\)$`),eB=new RegExp(`^rgb\\(${Qt},${Qt},${Qt}\\)$`),tB=new RegExp(`^rgba\\(${Xn},${Xn},${Xn},${pi}\\)$`),rB=new RegExp(`^rgba\\(${Qt},${Qt},${Qt},${pi}\\)$`),nB=new RegExp(`^hsl\\(${pi},${Qt},${Qt}\\)$`),oB=new RegExp(`^hsla\\(${pi},${Qt},${Qt},${pi}\\)$`),Bv={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};Qp(Hi,mi,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:$v,formatHex:$v,formatHex8:iB,formatHsl:aB,formatRgb:Vv,toString:Vv});function $v(){return this.rgb().formatHex()}function iB(){return this.rgb().formatHex8()}function aB(){return $5(this).formatHsl()}function Vv(){return this.rgb().formatRgb()}function mi(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=XF.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?zv(t):r===3?new lt(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Pa(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Pa(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=JF.exec(e))?new lt(t[1],t[2],t[3],1):(t=eB.exec(e))?new lt(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=tB.exec(e))?Pa(t[1],t[2],t[3],t[4]):(t=rB.exec(e))?Pa(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=nB.exec(e))?Kv(t[1],t[2]/100,t[3]/100,1):(t=oB.exec(e))?Kv(t[1],t[2]/100,t[3]/100,t[4]):Bv.hasOwnProperty(e)?zv(Bv[e]):e==="transparent"?new lt(NaN,NaN,NaN,0):null}function zv(e){return new lt(e>>16&255,e>>8&255,e&255,1)}function Pa(e,t,r,n){return n<=0&&(e=t=r=NaN),new lt(e,t,r,n)}function sB(e){return e instanceof Hi||(e=mi(e)),e?(e=e.rgb(),new lt(e.r,e.g,e.b,e.opacity)):new lt}function hf(e,t,r,n){return arguments.length===1?sB(e):new lt(e,t,r,n??1)}function lt(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}Qp(lt,hf,B5(Hi,{brighter(e){return e=e==null?Os:Math.pow(Os,e),new lt(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?fi:Math.pow(fi,e),new lt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new lt(pn(this.r),pn(this.g),pn(this.b),Ps(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:Wv,formatHex:Wv,formatHex8:cB,formatRgb:Hv,toString:Hv}));function Wv(){return`#${ln(this.r)}${ln(this.g)}${ln(this.b)}`}function cB(){return`#${ln(this.r)}${ln(this.g)}${ln(this.b)}${ln((isNaN(this.opacity)?1:this.opacity)*255)}`}function Hv(){const e=Ps(this.opacity);return`${e===1?"rgb(":"rgba("}${pn(this.r)}, ${pn(this.g)}, ${pn(this.b)}${e===1?")":`, ${e})`}`}function Ps(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function pn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ln(e){return e=pn(e),(e<16?"0":"")+e.toString(16)}function Kv(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Dt(e,t,r,n)}function $5(e){if(e instanceof Dt)return new Dt(e.h,e.s,e.l,e.opacity);if(e instanceof Hi||(e=mi(e)),!e)return new Dt;if(e instanceof Dt)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,s=i-o,c=(i+o)/2;return s?(t===i?a=(r-n)/s+(r<n)*6:r===i?a=(n-t)/s+2:a=(t-r)/s+4,s/=c<.5?i+o:2-i-o,a*=60):s=c>0&&c<1?0:a,new Dt(a,s,c,e.opacity)}function lB(e,t,r,n){return arguments.length===1?$5(e):new Dt(e,t,r,n??1)}function Dt(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}Qp(Dt,lB,B5(Hi,{brighter(e){return e=e==null?Os:Math.pow(Os,e),new Dt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?fi:Math.pow(fi,e),new Dt(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,o=2*r-n;return new lt($u(e>=240?e-240:e+120,o,n),$u(e,o,n),$u(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new Dt(Uv(this.h),Na(this.s),Na(this.l),Ps(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=Ps(this.opacity);return`${e===1?"hsl(":"hsla("}${Uv(this.h)}, ${Na(this.s)*100}%, ${Na(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Uv(e){return e=(e||0)%360,e<0?e+360:e}function Na(e){return Math.max(0,Math.min(1,e||0))}function $u(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 Xp=e=>()=>e;function uB(e,t){return function(r){return e+r*t}}function dB(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 fB(e){return(e=+e)==1?V5:function(t,r){return r-t?dB(t,r,e):Xp(isNaN(t)?r:t)}}function V5(e,t){var r=t-e;return r?uB(e,r):Xp(isNaN(e)?t:e)}const Gv=(function e(t){var r=fB(t);function n(o,i){var a=r((o=hf(o)).r,(i=hf(i)).r),s=r(o.g,i.g),c=r(o.b,i.b),l=V5(o.opacity,i.opacity);return function(u){return o.r=a(u),o.g=s(u),o.b=c(u),o.opacity=l(u),o+""}}return n.gamma=e,n})(1);function pB(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),o;return function(i){for(o=0;o<r;++o)n[o]=e[o]*(1-i)+t[o]*i;return n}}function mB(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function hB(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,o=new Array(n),i=new Array(r),a;for(a=0;a<n;++a)o[a]=Eo(e[a],t[a]);for(;a<r;++a)i[a]=t[a];return function(s){for(a=0;a<n;++a)i[a]=o[a](s);return i}}function vB(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Ns(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function gB(e,t){var r={},n={},o;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(o in t)o in e?r[o]=Eo(e[o],t[o]):n[o]=t[o];return function(i){for(o in r)n[o]=r[o](i);return n}}var vf=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Vu=new RegExp(vf.source,"g");function yB(e){return function(){return e}}function bB(e){return function(t){return e(t)+""}}function xB(e,t){var r=vf.lastIndex=Vu.lastIndex=0,n,o,i,a=-1,s=[],c=[];for(e=e+"",t=t+"";(n=vf.exec(e))&&(o=Vu.exec(t));)(i=o.index)>r&&(i=t.slice(r,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(o=o[0])?s[a]?s[a]+=o:s[++a]=o:(s[++a]=null,c.push({i:a,x:Ns(n,o)})),r=Vu.lastIndex;return r<t.length&&(i=t.slice(r),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?bB(c[0].x):yB(t):(t=c.length,function(l){for(var u=0,d;u<t;++u)s[(d=c[u]).i]=d.x(l);return s.join("")})}function Eo(e,t){var r=typeof t,n;return t==null||r==="boolean"?Xp(t):(r==="number"?Ns:r==="string"?(n=mi(t))?(t=n,Gv):xB:t instanceof mi?Gv:t instanceof Date?vB:mB(t)?pB:Array.isArray(t)?hB:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?gB:Ns)(e,t)}function Jp(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function wB(e,t){t===void 0&&(t=e,e=Eo);for(var r=0,n=t.length-1,o=t[0],i=new Array(n<0?0:n);r<n;)i[r]=e(o,o=t[++r]);return function(a){var s=Math.max(0,Math.min(n-1,Math.floor(a*=n)));return i[s](a-s)}}function CB(e){return function(){return e}}function Ms(e){return+e}var qv=[0,1];function ot(e){return e}function gf(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:CB(isNaN(t)?NaN:.5)}function EB(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function SB(e,t,r){var n=e[0],o=e[1],i=t[0],a=t[1];return o<n?(n=gf(o,n),i=r(a,i)):(n=gf(n,o),i=r(i,a)),function(s){return i(n(s))}}function AB(e,t,r){var n=Math.min(e.length,t.length)-1,o=new Array(n),i=new Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)o[a]=gf(e[a],e[a+1]),i[a]=r(t[a],t[a+1]);return function(s){var c=Wi(e,s,1,n)-1;return i[c](o[c](s))}}function Ki(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Uc(){var e=qv,t=qv,r=Eo,n,o,i,a=ot,s,c,l;function u(){var p=Math.min(e.length,t.length);return a!==ot&&(a=EB(e[0],e[p-1])),s=p>2?AB:SB,c=l=null,d}function d(p){return p==null||isNaN(p=+p)?i:(c||(c=s(e.map(n),t,r)))(n(a(p)))}return d.invert=function(p){return a(o((l||(l=s(t,e.map(n),Ns)))(p)))},d.domain=function(p){return arguments.length?(e=Array.from(p,Ms),u()):e.slice()},d.range=function(p){return arguments.length?(t=Array.from(p),u()):t.slice()},d.rangeRound=function(p){return t=Array.from(p),r=Jp,u()},d.clamp=function(p){return arguments.length?(a=p?!0:ot,u()):a!==ot},d.interpolate=function(p){return arguments.length?(r=p,u()):r},d.unknown=function(p){return arguments.length?(i=p,d):i},function(p,m){return n=p,o=m,u()}}function e0(){return Uc()(ot,ot)}function OB(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function js(e,t){if(!isFinite(e)||e===0)return null;var r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function co(e){return e=js(Math.abs(e)),e?e[1]:NaN}function PB(e,t){return function(r,n){for(var o=r.length,i=[],a=0,s=e[0],c=0;o>0&&s>0&&(c+s+1>n&&(s=Math.max(1,n-c)),i.push(r.substring(o-=s,o+s)),!((c+=s+1)>n));)s=e[a=(a+1)%e.length];return i.reverse().join(t)}}function NB(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var MB=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function hi(e){if(!(t=MB.exec(e)))throw new Error("invalid format: "+e);var t;return new t0({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]})}hi.prototype=t0.prototype;function t0(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+""}t0.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 jB(e){e:for(var t=e.length,r=1,n=-1,o;r<t;++r)switch(e[r]){case".":n=o=r;break;case"0":n===0&&(n=r),o=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(o+1):e}var ks;function kB(e,t){var r=js(e,t);if(!r)return ks=void 0,e.toPrecision(t);var n=r[0],o=r[1],i=o-(ks=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,a=n.length;return i===a?n:i>a?n+new Array(i-a+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+js(e,Math.max(0,t+i-1))[0]}function Yv(e,t){var r=js(e,t);if(!r)return e+"";var n=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}const Zv={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:OB,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)=>Yv(e*100,t),r:Yv,s:kB,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Qv(e){return e}var Xv=Array.prototype.map,Jv=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function IB(e){var t=e.grouping===void 0||e.thousands===void 0?Qv:PB(Xv.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",o=e.decimal===void 0?".":e.decimal+"",i=e.numerals===void 0?Qv:NB(Xv.call(e.numerals,String)),a=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"−":e.minus+"",c=e.nan===void 0?"NaN":e.nan+"";function l(d,p){d=hi(d);var m=d.fill,g=d.align,v=d.sign,y=d.symbol,b=d.zero,x=d.width,w=d.comma,C=d.precision,E=d.trim,S=d.type;S==="n"?(w=!0,S="g"):Zv[S]||(C===void 0&&(C=12),E=!0,S="g"),(b||m==="0"&&g==="=")&&(b=!0,m="0",g="=");var O=(p?.prefix!==void 0?p.prefix:"")+(y==="$"?r:y==="#"&&/[boxX]/.test(S)?"0"+S.toLowerCase():""),P=(y==="$"?n:/[%p]/.test(S)?a:"")+(p?.suffix!==void 0?p.suffix:""),j=Zv[S],D=/[defgprs%]/.test(S);C=C===void 0?6:/[gprs]/.test(S)?Math.max(1,Math.min(21,C)):Math.max(0,Math.min(20,C));function L(M){var k=O,$=P,U,W,H;if(S==="c")$=j(M)+$,M="";else{M=+M;var T=M<0||1/M<0;if(M=isNaN(M)?c:j(Math.abs(M),C),E&&(M=jB(M)),T&&+M==0&&v!=="+"&&(T=!1),k=(T?v==="("?v:s:v==="-"||v==="("?"":v)+k,$=(S==="s"&&!isNaN(M)&&ks!==void 0?Jv[8+ks/3]:"")+$+(T&&v==="("?")":""),D){for(U=-1,W=M.length;++U<W;)if(H=M.charCodeAt(U),48>H||H>57){$=(H===46?o+M.slice(U+1):M.slice(U))+$,M=M.slice(0,U);break}}}w&&!b&&(M=t(M,1/0));var N=k.length+M.length+$.length,z=N<x?new Array(x-N+1).join(m):"";switch(w&&b&&(M=t(z+M,z.length?x-$.length:1/0),z=""),g){case"<":M=k+M+$+z;break;case"=":M=k+z+M+$;break;case"^":M=z.slice(0,N=z.length>>1)+k+M+$+z.slice(N);break;default:M=z+k+M+$;break}return i(M)}return L.toString=function(){return d+""},L}function u(d,p){var m=Math.max(-8,Math.min(8,Math.floor(co(p)/3)))*3,g=Math.pow(10,-m),v=l((d=hi(d),d.type="f",d),{suffix:Jv[8+m/3]});return function(y){return v(g*y)}}return{format:l,formatPrefix:u}}var Ma,r0,z5;TB({thousands:",",grouping:[3],currency:["$",""]});function TB(e){return Ma=IB(e),r0=Ma.format,z5=Ma.formatPrefix,Ma}function _B(e){return Math.max(0,-co(Math.abs(e)))}function RB(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(co(t)/3)))*3-co(Math.abs(e)))}function DB(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,co(t)-co(e))+1}function W5(e,t,r,n){var o=pf(e,t,r),i;switch(n=hi(n??",f"),n.type){case"s":{var a=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(i=RB(o,a))&&(n.precision=i),z5(n,a)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(i=DB(o,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=i-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(i=_B(o))&&(n.precision=i-(n.type==="%")*2);break}}return r0(n)}function Xr(e){var t=e.domain;return e.ticks=function(r){var n=t();return df(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var o=t();return W5(o[0],o[o.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),o=0,i=n.length-1,a=n[o],s=n[i],c,l,u=10;for(s<a&&(l=a,a=s,s=l,l=o,o=i,i=l);u-- >0;){if(l=ff(a,s,r),l===c)return n[o]=a,n[i]=s,t(n);if(l>0)a=Math.floor(a/l)*l,s=Math.ceil(s/l)*l;else if(l<0)a=Math.ceil(a*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function H5(){var e=e0();return e.copy=function(){return Ki(e,H5())},Tt.apply(e,arguments),Xr(e)}function K5(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,Ms),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return K5(e).unknown(t)},e=arguments.length?Array.from(e,Ms):[0,1],Xr(r)}function U5(e,t){e=e.slice();var r=0,n=e.length-1,o=e[r],i=e[n],a;return i<o&&(a=r,r=n,n=a,a=o,o=i,i=a),e[r]=t.floor(o),e[n]=t.ceil(i),e}function eg(e){return Math.log(e)}function tg(e){return Math.exp(e)}function LB(e){return-Math.log(-e)}function FB(e){return-Math.exp(-e)}function BB(e){return isFinite(e)?+("1e"+e):e<0?0:e}function $B(e){return e===10?BB:e===Math.E?Math.exp:t=>Math.pow(e,t)}function VB(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 rg(e){return(t,r)=>-e(-t,r)}function n0(e){const t=e(eg,tg),r=t.domain;let n=10,o,i;function a(){return o=VB(n),i=$B(n),r()[0]<0?(o=rg(o),i=rg(i),e(LB,FB)):e(eg,tg),t}return t.base=function(s){return arguments.length?(n=+s,a()):n},t.domain=function(s){return arguments.length?(r(s),a()):r()},t.ticks=s=>{const c=r();let l=c[0],u=c[c.length-1];const d=u<l;d&&([l,u]=[u,l]);let p=o(l),m=o(u),g,v;const y=s==null?10:+s;let b=[];if(!(n%1)&&m-p<y){if(p=Math.floor(p),m=Math.ceil(m),l>0){for(;p<=m;++p)for(g=1;g<n;++g)if(v=p<0?g/i(-p):g*i(p),!(v<l)){if(v>u)break;b.push(v)}}else for(;p<=m;++p)for(g=n-1;g>=1;--g)if(v=p>0?g/i(-p):g*i(p),!(v<l)){if(v>u)break;b.push(v)}b.length*2<y&&(b=df(l,u,y))}else b=df(p,m,Math.min(m-p,y)).map(i);return d?b.reverse():b},t.tickFormat=(s,c)=>{if(s==null&&(s=10),c==null&&(c=n===10?"s":","),typeof c!="function"&&(!(n%1)&&(c=hi(c)).precision==null&&(c.trim=!0),c=r0(c)),s===1/0)return c;const l=Math.max(1,n*s/t.ticks().length);return u=>{let d=u/i(Math.round(o(u)));return d*n<n-.5&&(d*=n),d<=l?c(u):""}},t.nice=()=>r(U5(r(),{floor:s=>i(Math.floor(o(s))),ceil:s=>i(Math.ceil(o(s)))})),t}function G5(){const e=n0(Uc()).domain([1,10]);return e.copy=()=>Ki(e,G5()).base(e.base()),Tt.apply(e,arguments),e}function ng(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function og(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function o0(e){var t=1,r=e(ng(t),og(t));return r.constant=function(n){return arguments.length?e(ng(t=+n),og(t)):t},Xr(r)}function q5(){var e=o0(Uc());return e.copy=function(){return Ki(e,q5()).constant(e.constant())},Tt.apply(e,arguments)}function ig(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function zB(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function WB(e){return e<0?-e*e:e*e}function i0(e){var t=e(ot,ot),r=1;function n(){return r===1?e(ot,ot):r===.5?e(zB,WB):e(ig(r),ig(1/r))}return t.exponent=function(o){return arguments.length?(r=+o,n()):r},Xr(t)}function a0(){var e=i0(Uc());return e.copy=function(){return Ki(e,a0()).exponent(e.exponent())},Tt.apply(e,arguments),e}function HB(){return a0.apply(null,arguments).exponent(.5)}function ag(e){return Math.sign(e)*e*e}function KB(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function Y5(){var e=e0(),t=[0,1],r=!1,n;function o(i){var a=KB(e(i));return isNaN(a)?n:r?Math.round(a):a}return o.invert=function(i){return e.invert(ag(i))},o.domain=function(i){return arguments.length?(e.domain(i),o):e.domain()},o.range=function(i){return arguments.length?(e.range((t=Array.from(i,Ms)).map(ag)),o):t.slice()},o.rangeRound=function(i){return o.range(i).round(!0)},o.round=function(i){return arguments.length?(r=!!i,o):r},o.clamp=function(i){return arguments.length?(e.clamp(i),o):e.clamp()},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return Y5(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},Tt.apply(o,arguments),Xr(o)}function Z5(){var e=[],t=[],r=[],n;function o(){var a=0,s=Math.max(1,t.length);for(r=new Array(s-1);++a<s;)r[a-1]=YF(e,a/s);return i}function i(a){return a==null||isNaN(a=+a)?n:t[Wi(r,a)]}return i.invertExtent=function(a){var s=t.indexOf(a);return s<0?[NaN,NaN]:[s>0?r[s-1]:e[0],s<r.length?r[s]:e[e.length-1]]},i.domain=function(a){if(!arguments.length)return e.slice();e=[];for(let s of a)s!=null&&!isNaN(s=+s)&&e.push(s);return e.sort(Vr),o()},i.range=function(a){return arguments.length?(t=Array.from(a),o()):t.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.quantiles=function(){return r.slice()},i.copy=function(){return Z5().domain(e).range(t).unknown(n)},Tt.apply(i,arguments)}function Q5(){var e=0,t=1,r=1,n=[.5],o=[0,1],i;function a(c){return c!=null&&c<=c?o[Wi(n,c,0,r)]:i}function s(){var c=-1;for(n=new Array(r);++c<r;)n[c]=((c+1)*t-(c-r)*e)/(r+1);return a}return a.domain=function(c){return arguments.length?([e,t]=c,e=+e,t=+t,s()):[e,t]},a.range=function(c){return arguments.length?(r=(o=Array.from(c)).length-1,s()):o.slice()},a.invertExtent=function(c){var l=o.indexOf(c);return l<0?[NaN,NaN]:l<1?[e,n[0]]:l>=r?[n[r-1],t]:[n[l-1],n[l]]},a.unknown=function(c){return arguments.length&&(i=c),a},a.thresholds=function(){return n.slice()},a.copy=function(){return Q5().domain([e,t]).range(o).unknown(i)},Tt.apply(Xr(a),arguments)}function X5(){var e=[.5],t=[0,1],r,n=1;function o(i){return i!=null&&i<=i?t[Wi(e,i,0,n)]:r}return o.domain=function(i){return arguments.length?(e=Array.from(i),n=Math.min(e.length,t.length-1),o):e.slice()},o.range=function(i){return arguments.length?(t=Array.from(i),n=Math.min(e.length,t.length-1),o):t.slice()},o.invertExtent=function(i){var a=t.indexOf(i);return[e[a-1],e[a]]},o.unknown=function(i){return arguments.length?(r=i,o):r},o.copy=function(){return X5().domain(e).range(t).unknown(r)},Tt.apply(o,arguments)}const zu=new Date,Wu=new Date;function Re(e,t,r,n){function o(i){return e(i=arguments.length===0?new Date:new Date(+i)),i}return o.floor=i=>(e(i=new Date(+i)),i),o.ceil=i=>(e(i=new Date(i-1)),t(i,1),e(i),i),o.round=i=>{const a=o(i),s=o.ceil(i);return i-a<s-i?a:s},o.offset=(i,a)=>(t(i=new Date(+i),a==null?1:Math.floor(a)),i),o.range=(i,a,s)=>{const c=[];if(i=o.ceil(i),s=s==null?1:Math.floor(s),!(i<a)||!(s>0))return c;let l;do c.push(l=new Date(+i)),t(i,s),e(i);while(l<i&&i<a);return c},o.filter=i=>Re(a=>{if(a>=a)for(;e(a),!i(a);)a.setTime(a-1)},(a,s)=>{if(a>=a)if(s<0)for(;++s<=0;)for(;t(a,-1),!i(a););else for(;--s>=0;)for(;t(a,1),!i(a););}),r&&(o.count=(i,a)=>(zu.setTime(+i),Wu.setTime(+a),e(zu),e(Wu),Math.floor(r(zu,Wu))),o.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?o.filter(n?a=>n(a)%i===0:a=>o.count(0,a)%i===0):o)),o}const Is=Re(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Is.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Re(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):Is);Is.range;const lr=1e3,Ot=lr*60,ur=Ot*60,gr=ur*24,s0=gr*7,sg=gr*30,Hu=gr*365,un=Re(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*lr)},(e,t)=>(t-e)/lr,e=>e.getUTCSeconds());un.range;const c0=Re(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*lr)},(e,t)=>{e.setTime(+e+t*Ot)},(e,t)=>(t-e)/Ot,e=>e.getMinutes());c0.range;const l0=Re(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Ot)},(e,t)=>(t-e)/Ot,e=>e.getUTCMinutes());l0.range;const u0=Re(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*lr-e.getMinutes()*Ot)},(e,t)=>{e.setTime(+e+t*ur)},(e,t)=>(t-e)/ur,e=>e.getHours());u0.range;const d0=Re(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*ur)},(e,t)=>(t-e)/ur,e=>e.getUTCHours());d0.range;const Ui=Re(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Ot)/gr,e=>e.getDate()-1);Ui.range;const Gc=Re(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/gr,e=>e.getUTCDate()-1);Gc.range;const J5=Re(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/gr,e=>Math.floor(e/gr));J5.range;function In(e){return Re(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())*Ot)/s0)}const qc=In(0),Ts=In(1),UB=In(2),GB=In(3),lo=In(4),qB=In(5),YB=In(6);qc.range;Ts.range;UB.range;GB.range;lo.range;qB.range;YB.range;function Tn(e){return Re(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)/s0)}const Yc=Tn(0),_s=Tn(1),ZB=Tn(2),QB=Tn(3),uo=Tn(4),XB=Tn(5),JB=Tn(6);Yc.range;_s.range;ZB.range;QB.range;uo.range;XB.range;JB.range;const f0=Re(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());f0.range;const p0=Re(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());p0.range;const yr=Re(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());yr.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Re(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)});yr.range;const br=Re(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());br.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Re(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)});br.range;function e6(e,t,r,n,o,i){const a=[[un,1,lr],[un,5,5*lr],[un,15,15*lr],[un,30,30*lr],[i,1,Ot],[i,5,5*Ot],[i,15,15*Ot],[i,30,30*Ot],[o,1,ur],[o,3,3*ur],[o,6,6*ur],[o,12,12*ur],[n,1,gr],[n,2,2*gr],[r,1,s0],[t,1,sg],[t,3,3*sg],[e,1,Hu]];function s(l,u,d){const p=u<l;p&&([l,u]=[u,l]);const m=d&&typeof d.range=="function"?d:c(l,u,d),g=m?m.range(l,+u+1):[];return p?g.reverse():g}function c(l,u,d){const p=Math.abs(u-l)/d,m=qp(([,,y])=>y).right(a,p);if(m===a.length)return e.every(pf(l/Hu,u/Hu,d));if(m===0)return Is.every(Math.max(pf(l,u,d),1));const[g,v]=a[p/a[m-1][2]<a[m][2]/p?m-1:m];return g.every(v)}return[s,c]}const[e$,t$]=e6(br,p0,Yc,J5,d0,l0),[r$,n$]=e6(yr,f0,qc,Ui,u0,c0);function Ku(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 Uu(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 Fo(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function o$(e){var t=e.dateTime,r=e.date,n=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,l=Bo(o),u=$o(o),d=Bo(i),p=$o(i),m=Bo(a),g=$o(a),v=Bo(s),y=$o(s),b=Bo(c),x=$o(c),w={a:H,A:T,b:N,B:z,c:null,d:pg,e:pg,f:P$,g:L$,G:B$,H:S$,I:A$,j:O$,L:t6,m:N$,M:M$,p:X,q:K,Q:vg,s:gg,S:j$,u:k$,U:I$,V:T$,w:_$,W:R$,x:null,X:null,y:D$,Y:F$,Z:$$,"%":hg},C={a:J,A:ee,b:fe,B:xe,c:null,d:mg,e:mg,f:H$,g:eV,G:rV,H:V$,I:z$,j:W$,L:n6,m:K$,M:U$,p:V,q:se,Q:vg,s:gg,S:G$,u:q$,U:Y$,V:Z$,w:Q$,W:X$,x:null,X:null,y:J$,Y:tV,Z:nV,"%":hg},E={a:D,A:L,b:M,B:k,c:$,d:dg,e:dg,f:x$,g:ug,G:lg,H:fg,I:fg,j:v$,L:b$,m:h$,M:g$,p:j,q:m$,Q:C$,s:E$,S:y$,u:l$,U:u$,V:d$,w:c$,W:f$,x:U,X:W,y:ug,Y:lg,Z:p$,"%":w$};w.x=S(r,w),w.X=S(n,w),w.c=S(t,w),C.x=S(r,C),C.X=S(n,C),C.c=S(t,C);function S(_,q){return function(F){var R=[],le=-1,ae=0,Ke=_.length,Ue,_t,im;for(F instanceof Date||(F=new Date(+F));++le<Ke;)_.charCodeAt(le)===37&&(R.push(_.slice(ae,le)),(_t=cg[Ue=_.charAt(++le)])!=null?Ue=_.charAt(++le):_t=Ue==="e"?" ":"0",(im=q[Ue])&&(Ue=im(F,_t)),R.push(Ue),ae=le+1);return R.push(_.slice(ae,le)),R.join("")}}function O(_,q){return function(F){var R=Fo(1900,void 0,1),le=P(R,_,F+="",0),ae,Ke;if(le!=F.length)return null;if("Q"in R)return new Date(R.Q);if("s"in R)return new Date(R.s*1e3+("L"in R?R.L:0));if(q&&!("Z"in R)&&(R.Z=0),"p"in R&&(R.H=R.H%12+R.p*12),R.m===void 0&&(R.m="q"in R?R.q:0),"V"in R){if(R.V<1||R.V>53)return null;"w"in R||(R.w=1),"Z"in R?(ae=Uu(Fo(R.y,0,1)),Ke=ae.getUTCDay(),ae=Ke>4||Ke===0?_s.ceil(ae):_s(ae),ae=Gc.offset(ae,(R.V-1)*7),R.y=ae.getUTCFullYear(),R.m=ae.getUTCMonth(),R.d=ae.getUTCDate()+(R.w+6)%7):(ae=Ku(Fo(R.y,0,1)),Ke=ae.getDay(),ae=Ke>4||Ke===0?Ts.ceil(ae):Ts(ae),ae=Ui.offset(ae,(R.V-1)*7),R.y=ae.getFullYear(),R.m=ae.getMonth(),R.d=ae.getDate()+(R.w+6)%7)}else("W"in R||"U"in R)&&("w"in R||(R.w="u"in R?R.u%7:"W"in R?1:0),Ke="Z"in R?Uu(Fo(R.y,0,1)).getUTCDay():Ku(Fo(R.y,0,1)).getDay(),R.m=0,R.d="W"in R?(R.w+6)%7+R.W*7-(Ke+5)%7:R.w+R.U*7-(Ke+6)%7);return"Z"in R?(R.H+=R.Z/100|0,R.M+=R.Z%100,Uu(R)):Ku(R)}}function P(_,q,F,R){for(var le=0,ae=q.length,Ke=F.length,Ue,_t;le<ae;){if(R>=Ke)return-1;if(Ue=q.charCodeAt(le++),Ue===37){if(Ue=q.charAt(le++),_t=E[Ue in cg?q.charAt(le++):Ue],!_t||(R=_t(_,F,R))<0)return-1}else if(Ue!=F.charCodeAt(R++))return-1}return R}function j(_,q,F){var R=l.exec(q.slice(F));return R?(_.p=u.get(R[0].toLowerCase()),F+R[0].length):-1}function D(_,q,F){var R=m.exec(q.slice(F));return R?(_.w=g.get(R[0].toLowerCase()),F+R[0].length):-1}function L(_,q,F){var R=d.exec(q.slice(F));return R?(_.w=p.get(R[0].toLowerCase()),F+R[0].length):-1}function M(_,q,F){var R=b.exec(q.slice(F));return R?(_.m=x.get(R[0].toLowerCase()),F+R[0].length):-1}function k(_,q,F){var R=v.exec(q.slice(F));return R?(_.m=y.get(R[0].toLowerCase()),F+R[0].length):-1}function $(_,q,F){return P(_,t,q,F)}function U(_,q,F){return P(_,r,q,F)}function W(_,q,F){return P(_,n,q,F)}function H(_){return a[_.getDay()]}function T(_){return i[_.getDay()]}function N(_){return c[_.getMonth()]}function z(_){return s[_.getMonth()]}function X(_){return o[+(_.getHours()>=12)]}function K(_){return 1+~~(_.getMonth()/3)}function J(_){return a[_.getUTCDay()]}function ee(_){return i[_.getUTCDay()]}function fe(_){return c[_.getUTCMonth()]}function xe(_){return s[_.getUTCMonth()]}function V(_){return o[+(_.getUTCHours()>=12)]}function se(_){return 1+~~(_.getUTCMonth()/3)}return{format:function(_){var q=S(_+="",w);return q.toString=function(){return _},q},parse:function(_){var q=O(_+="",!1);return q.toString=function(){return _},q},utcFormat:function(_){var q=S(_+="",C);return q.toString=function(){return _},q},utcParse:function(_){var q=O(_+="",!0);return q.toString=function(){return _},q}}}var cg={"-":"",_:" ",0:"0"},He=/^\s*\d+/,i$=/^%/,a$=/[\\^$*+?|[\]().{}]/g;function ue(e,t,r){var n=e<0?"-":"",o=(n?-e:e)+"",i=o.length;return n+(i<r?new Array(r-i+1).join(t)+o:o)}function s$(e){return e.replace(a$,"\\$&")}function Bo(e){return new RegExp("^(?:"+e.map(s$).join("|")+")","i")}function $o(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function c$(e,t,r){var n=He.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function l$(e,t,r){var n=He.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function u$(e,t,r){var n=He.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function d$(e,t,r){var n=He.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function f$(e,t,r){var n=He.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function lg(e,t,r){var n=He.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function ug(e,t,r){var n=He.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function p$(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 m$(e,t,r){var n=He.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function h$(e,t,r){var n=He.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function dg(e,t,r){var n=He.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function v$(e,t,r){var n=He.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function fg(e,t,r){var n=He.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function g$(e,t,r){var n=He.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function y$(e,t,r){var n=He.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function b$(e,t,r){var n=He.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function x$(e,t,r){var n=He.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function w$(e,t,r){var n=i$.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function C$(e,t,r){var n=He.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function E$(e,t,r){var n=He.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function pg(e,t){return ue(e.getDate(),t,2)}function S$(e,t){return ue(e.getHours(),t,2)}function A$(e,t){return ue(e.getHours()%12||12,t,2)}function O$(e,t){return ue(1+Ui.count(yr(e),e),t,3)}function t6(e,t){return ue(e.getMilliseconds(),t,3)}function P$(e,t){return t6(e,t)+"000"}function N$(e,t){return ue(e.getMonth()+1,t,2)}function M$(e,t){return ue(e.getMinutes(),t,2)}function j$(e,t){return ue(e.getSeconds(),t,2)}function k$(e){var t=e.getDay();return t===0?7:t}function I$(e,t){return ue(qc.count(yr(e)-1,e),t,2)}function r6(e){var t=e.getDay();return t>=4||t===0?lo(e):lo.ceil(e)}function T$(e,t){return e=r6(e),ue(lo.count(yr(e),e)+(yr(e).getDay()===4),t,2)}function _$(e){return e.getDay()}function R$(e,t){return ue(Ts.count(yr(e)-1,e),t,2)}function D$(e,t){return ue(e.getFullYear()%100,t,2)}function L$(e,t){return e=r6(e),ue(e.getFullYear()%100,t,2)}function F$(e,t){return ue(e.getFullYear()%1e4,t,4)}function B$(e,t){var r=e.getDay();return e=r>=4||r===0?lo(e):lo.ceil(e),ue(e.getFullYear()%1e4,t,4)}function $$(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ue(t/60|0,"0",2)+ue(t%60,"0",2)}function mg(e,t){return ue(e.getUTCDate(),t,2)}function V$(e,t){return ue(e.getUTCHours(),t,2)}function z$(e,t){return ue(e.getUTCHours()%12||12,t,2)}function W$(e,t){return ue(1+Gc.count(br(e),e),t,3)}function n6(e,t){return ue(e.getUTCMilliseconds(),t,3)}function H$(e,t){return n6(e,t)+"000"}function K$(e,t){return ue(e.getUTCMonth()+1,t,2)}function U$(e,t){return ue(e.getUTCMinutes(),t,2)}function G$(e,t){return ue(e.getUTCSeconds(),t,2)}function q$(e){var t=e.getUTCDay();return t===0?7:t}function Y$(e,t){return ue(Yc.count(br(e)-1,e),t,2)}function o6(e){var t=e.getUTCDay();return t>=4||t===0?uo(e):uo.ceil(e)}function Z$(e,t){return e=o6(e),ue(uo.count(br(e),e)+(br(e).getUTCDay()===4),t,2)}function Q$(e){return e.getUTCDay()}function X$(e,t){return ue(_s.count(br(e)-1,e),t,2)}function J$(e,t){return ue(e.getUTCFullYear()%100,t,2)}function eV(e,t){return e=o6(e),ue(e.getUTCFullYear()%100,t,2)}function tV(e,t){return ue(e.getUTCFullYear()%1e4,t,4)}function rV(e,t){var r=e.getUTCDay();return e=r>=4||r===0?uo(e):uo.ceil(e),ue(e.getUTCFullYear()%1e4,t,4)}function nV(){return"+0000"}function hg(){return"%"}function vg(e){return+e}function gg(e){return Math.floor(+e/1e3)}var zn,i6,a6;oV({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 oV(e){return zn=o$(e),i6=zn.format,zn.parse,a6=zn.utcFormat,zn.utcParse,zn}function iV(e){return new Date(e)}function aV(e){return e instanceof Date?+e:+new Date(+e)}function m0(e,t,r,n,o,i,a,s,c,l){var u=e0(),d=u.invert,p=u.domain,m=l(".%L"),g=l(":%S"),v=l("%I:%M"),y=l("%I %p"),b=l("%a %d"),x=l("%b %d"),w=l("%B"),C=l("%Y");function E(S){return(c(S)<S?m:s(S)<S?g:a(S)<S?v:i(S)<S?y:n(S)<S?o(S)<S?b:x:r(S)<S?w:C)(S)}return u.invert=function(S){return new Date(d(S))},u.domain=function(S){return arguments.length?p(Array.from(S,aV)):p().map(iV)},u.ticks=function(S){var O=p();return e(O[0],O[O.length-1],S??10)},u.tickFormat=function(S,O){return O==null?E:l(O)},u.nice=function(S){var O=p();return(!S||typeof S.range!="function")&&(S=t(O[0],O[O.length-1],S??10)),S?p(U5(O,S)):u},u.copy=function(){return Ki(u,m0(e,t,r,n,o,i,a,s,c,l))},u}function sV(){return Tt.apply(m0(r$,n$,yr,f0,qc,Ui,u0,c0,un,i6).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function cV(){return Tt.apply(m0(e$,t$,br,p0,Yc,Gc,d0,l0,un,a6).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Zc(){var e=0,t=1,r,n,o,i,a=ot,s=!1,c;function l(d){return d==null||isNaN(d=+d)?c:a(o===0?.5:(d=(i(d)-r)*o,s?Math.max(0,Math.min(1,d)):d))}l.domain=function(d){return arguments.length?([e,t]=d,r=i(e=+e),n=i(t=+t),o=r===n?0:1/(n-r),l):[e,t]},l.clamp=function(d){return arguments.length?(s=!!d,l):s},l.interpolator=function(d){return arguments.length?(a=d,l):a};function u(d){return function(p){var m,g;return arguments.length?([m,g]=p,a=d(m,g),l):[a(0),a(1)]}}return l.range=u(Eo),l.rangeRound=u(Jp),l.unknown=function(d){return arguments.length?(c=d,l):c},function(d){return i=d,r=d(e),n=d(t),o=r===n?0:1/(n-r),l}}function Jr(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function s6(){var e=Xr(Zc()(ot));return e.copy=function(){return Jr(e,s6())},Ar.apply(e,arguments)}function c6(){var e=n0(Zc()).domain([1,10]);return e.copy=function(){return Jr(e,c6()).base(e.base())},Ar.apply(e,arguments)}function l6(){var e=o0(Zc());return e.copy=function(){return Jr(e,l6()).constant(e.constant())},Ar.apply(e,arguments)}function h0(){var e=i0(Zc());return e.copy=function(){return Jr(e,h0()).exponent(e.exponent())},Ar.apply(e,arguments)}function lV(){return h0.apply(null,arguments).exponent(.5)}function u6(){var e=[],t=ot;function r(n){if(n!=null&&!isNaN(n=+n))return t((Wi(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let o of n)o!=null&&!isNaN(o=+o)&&e.push(o);return e.sort(Vr),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,o)=>t(o/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(o,i)=>qF(e,i/n))},r.copy=function(){return u6(t).domain(e)},Ar.apply(r,arguments)}function Qc(){var e=0,t=.5,r=1,n=1,o,i,a,s,c,l=ot,u,d=!1,p;function m(v){return isNaN(v=+v)?p:(v=.5+((v=+u(v))-i)*(n*v<n*i?s:c),l(d?Math.max(0,Math.min(1,v)):v))}m.domain=function(v){return arguments.length?([e,t,r]=v,o=u(e=+e),i=u(t=+t),a=u(r=+r),s=o===i?0:.5/(i-o),c=i===a?0:.5/(a-i),n=i<o?-1:1,m):[e,t,r]},m.clamp=function(v){return arguments.length?(d=!!v,m):d},m.interpolator=function(v){return arguments.length?(l=v,m):l};function g(v){return function(y){var b,x,w;return arguments.length?([b,x,w]=y,l=wB(v,[b,x,w]),m):[l(0),l(.5),l(1)]}}return m.range=g(Eo),m.rangeRound=g(Jp),m.unknown=function(v){return arguments.length?(p=v,m):p},function(v){return u=v,o=v(e),i=v(t),a=v(r),s=o===i?0:.5/(i-o),c=i===a?0:.5/(a-i),n=i<o?-1:1,m}}function d6(){var e=Xr(Qc()(ot));return e.copy=function(){return Jr(e,d6())},Ar.apply(e,arguments)}function f6(){var e=n0(Qc()).domain([.1,1,10]);return e.copy=function(){return Jr(e,f6()).base(e.base())},Ar.apply(e,arguments)}function p6(){var e=o0(Qc());return e.copy=function(){return Jr(e,p6()).constant(e.constant())},Ar.apply(e,arguments)}function v0(){var e=i0(Qc());return e.copy=function(){return Jr(e,v0()).exponent(e.exponent())},Ar.apply(e,arguments)}function uV(){return v0.apply(null,arguments).exponent(.5)}const Uo=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:Zp,scaleDiverging:d6,scaleDivergingLog:f6,scaleDivergingPow:v0,scaleDivergingSqrt:uV,scaleDivergingSymlog:p6,scaleIdentity:K5,scaleImplicit:mf,scaleLinear:H5,scaleLog:G5,scaleOrdinal:Yp,scalePoint:QF,scalePow:a0,scaleQuantile:Z5,scaleQuantize:Q5,scaleRadial:Y5,scaleSequential:s6,scaleSequentialLog:c6,scaleSequentialPow:h0,scaleSequentialQuantile:u6,scaleSequentialSqrt:lV,scaleSequentialSymlog:l6,scaleSqrt:HB,scaleSymlog:q5,scaleThreshold:X5,scaleTime:sV,scaleUtc:cV,tickFormat:W5},Symbol.toStringTag,{value:"Module"}));var Or=e=>e.chartData,m6=I([Or],e=>{var t=e.chartData!=null?e.chartData.length-1:0;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:t,dataStartIndex:0}}),h6=(e,t,r,n)=>n?m6(e):Or(e),dV=(e,t,r)=>r?m6(e):Or(e);function Ur(e){if(Array.isArray(e)&&e.length===2){var[t,r]=e;if(Oe(t)&&Oe(r))return!0}return!1}function yg(e,t,r){return r?e:[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}function v6(e,t){if(t&&typeof e!="function"&&Array.isArray(e)&&e.length===2){var[r,n]=e,o,i;if(Oe(r))o=r;else if(typeof r=="function")return;if(Oe(n))i=n;else if(typeof n=="function")return;var a=[o,i];if(Ur(a))return a}}function fV(e,t,r){if(!(!r&&t==null)){if(typeof e=="function"&&t!=null)try{var n=e(t,r);if(Ur(n))return yg(n,t,r)}catch{}if(Array.isArray(e)&&e.length===2){var[o,i]=e,a,s;if(o==="auto")t!=null&&(a=Math.min(...t));else if(te(o))a=o;else if(typeof o=="function")try{t!=null&&(a=o(t?.[0]))}catch{}else if(typeof o=="string"&&j1.test(o)){var c=j1.exec(o);if(c==null||c[1]==null||t==null)a=void 0;else{var l=+c[1];a=t[0]-l}}else a=t?.[0];if(i==="auto")t!=null&&(s=Math.max(...t));else if(te(i))s=i;else if(typeof i=="function")try{t!=null&&(s=i(t?.[1]))}catch{}else if(typeof i=="string"&&k1.test(i)){var u=k1.exec(i);if(u==null||u[1]==null||t==null)s=void 0;else{var d=+u[1];s=t[1]+d}}else s=t?.[1];var p=[a,s];if(Ur(p))return t==null?p:yg(p,t,r)}}}var So=1e9,pV={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},y0,Ae=!0,jt="[DecimalError] ",mn=jt+"Invalid argument: ",g0=jt+"Exponent out of range: ",Ao=Math.floor,an=Math.pow,mV=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,gt,Ve=1e7,Ee=7,g6=9007199254740991,Rs=Ao(g6/Ee),Y={};Y.absoluteValue=Y.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};Y.comparedTo=Y.cmp=function(e){var t,r,n,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(n=i.d.length,o=e.d.length,t=0,r=n<o?n:o;t<r;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return n===o?0:n>o^i.s<0?1:-1};Y.decimalPlaces=Y.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*Ee;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};Y.dividedBy=Y.div=function(e){return dr(this,new this.constructor(e))};Y.dividedToIntegerBy=Y.idiv=function(e){var t=this,r=t.constructor;return ye(dr(t,new r(e),0,1),r.precision)};Y.equals=Y.eq=function(e){return!this.cmp(e)};Y.exponent=function(){return Ie(this)};Y.greaterThan=Y.gt=function(e){return this.cmp(e)>0};Y.greaterThanOrEqualTo=Y.gte=function(e){return this.cmp(e)>=0};Y.isInteger=Y.isint=function(){return this.e>this.d.length-2};Y.isNegative=Y.isneg=function(){return this.s<0};Y.isPositive=Y.ispos=function(){return this.s>0};Y.isZero=function(){return this.s===0};Y.lessThan=Y.lt=function(e){return this.cmp(e)<0};Y.lessThanOrEqualTo=Y.lte=function(e){return this.cmp(e)<1};Y.logarithm=Y.log=function(e){var t,r=this,n=r.constructor,o=n.precision,i=o+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(gt))throw Error(jt+"NaN");if(r.s<1)throw Error(jt+(r.s?"NaN":"-Infinity"));return r.eq(gt)?new n(0):(Ae=!1,t=dr(vi(r,i),vi(e,i),i),Ae=!0,ye(t,o))};Y.minus=Y.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?x6(t,e):y6(t,(e.s=-e.s,e))};Y.modulo=Y.mod=function(e){var t,r=this,n=r.constructor,o=n.precision;if(e=new n(e),!e.s)throw Error(jt+"NaN");return r.s?(Ae=!1,t=dr(r,e,0,1).times(e),Ae=!0,r.minus(t)):ye(new n(r),o)};Y.naturalExponential=Y.exp=function(){return b6(this)};Y.naturalLogarithm=Y.ln=function(){return vi(this)};Y.negated=Y.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};Y.plus=Y.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?y6(t,e):x6(t,(e.s=-e.s,e))};Y.precision=Y.sd=function(e){var t,r,n,o=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(mn+e);if(t=Ie(o)+1,n=o.d.length-1,r=n*Ee+1,n=o.d[n],n){for(;n%10==0;n/=10)r--;for(n=o.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};Y.squareRoot=Y.sqrt=function(){var e,t,r,n,o,i,a,s=this,c=s.constructor;if(s.s<1){if(!s.s)return new c(0);throw Error(jt+"NaN")}for(e=Ie(s),Ae=!1,o=Math.sqrt(+s),o==0||o==1/0?(t=Yt(s.d),(t.length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=Ao((e+1)/2)-(e<0||e%2),o==1/0?t="5e"+e:(t=o.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new c(t)):n=new c(o.toString()),r=c.precision,o=a=r+3;;)if(i=n,n=i.plus(dr(s,i,a+2)).times(.5),Yt(i.d).slice(0,a)===(t=Yt(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&t=="4999"){if(ye(i,r+1,0),i.times(i).eq(s)){n=i;break}}else if(t!="9999")break;a+=4}return Ae=!0,ye(n,r)};Y.times=Y.mul=function(e){var t,r,n,o,i,a,s,c,l,u=this,d=u.constructor,p=u.d,m=(e=new d(e)).d;if(!u.s||!e.s)return new d(0);for(e.s*=u.s,r=u.e+e.e,c=p.length,l=m.length,c<l&&(i=p,p=m,m=i,a=c,c=l,l=a),i=[],a=c+l,n=a;n--;)i.push(0);for(n=l;--n>=0;){for(t=0,o=c+n;o>n;)s=i[o]+m[n]*p[o-n-1]+t,i[o--]=s%Ve|0,t=s/Ve|0;i[o]=(i[o]+t)%Ve|0}for(;!i[--a];)i.pop();return t?++r:i.shift(),e.d=i,e.e=r,Ae?ye(e,d.precision):e};Y.toDecimalPlaces=Y.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(rr(e,0,So),t===void 0?t=n.rounding:rr(t,0,8),ye(r,e+Ie(r)+1,t))};Y.toExponential=function(e,t){var r,n=this,o=n.constructor;return e===void 0?r=An(n,!0):(rr(e,0,So),t===void 0?t=o.rounding:rr(t,0,8),n=ye(new o(n),e+1,t),r=An(n,!0,e+1)),r};Y.toFixed=function(e,t){var r,n,o=this,i=o.constructor;return e===void 0?An(o):(rr(e,0,So),t===void 0?t=i.rounding:rr(t,0,8),n=ye(new i(o),e+Ie(o)+1,t),r=An(n.abs(),!1,e+Ie(n)+1),o.isneg()&&!o.isZero()?"-"+r:r)};Y.toInteger=Y.toint=function(){var e=this,t=e.constructor;return ye(new t(e),Ie(e)+1,t.rounding)};Y.toNumber=function(){return+this};Y.toPower=Y.pow=function(e){var t,r,n,o,i,a,s=this,c=s.constructor,l=12,u=+(e=new c(e));if(!e.s)return new c(gt);if(s=new c(s),!s.s){if(e.s<1)throw Error(jt+"Infinity");return s}if(s.eq(gt))return s;if(n=c.precision,e.eq(gt))return ye(s,n);if(t=e.e,r=e.d.length-1,a=t>=r,i=s.s,a){if((r=u<0?-u:u)<=g6){for(o=new c(gt),t=Math.ceil(n/Ee+4),Ae=!1;r%2&&(o=o.times(s),xg(o.d,t)),r=Ao(r/2),r!==0;)s=s.times(s),xg(s.d,t);return Ae=!0,e.s<0?new c(gt).div(o):ye(o,n)}}else if(i<0)throw Error(jt+"NaN");return i=i<0&&e.d[Math.max(t,r)]&1?-1:1,s.s=1,Ae=!1,o=e.times(vi(s,n+l)),Ae=!0,o=b6(o),o.s=i,o};Y.toPrecision=function(e,t){var r,n,o=this,i=o.constructor;return e===void 0?(r=Ie(o),n=An(o,r<=i.toExpNeg||r>=i.toExpPos)):(rr(e,1,So),t===void 0?t=i.rounding:rr(t,0,8),o=ye(new i(o),e,t),r=Ie(o),n=An(o,e<=r||r<=i.toExpNeg,e)),n};Y.toSignificantDigits=Y.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(rr(e,1,So),t===void 0?t=n.rounding:rr(t,0,8)),ye(new n(r),e,t)};Y.toString=Y.valueOf=Y.val=Y.toJSON=Y[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Ie(e),r=e.constructor;return An(e,t<=r.toExpNeg||t>=r.toExpPos)};function y6(e,t){var r,n,o,i,a,s,c,l,u=e.constructor,d=u.precision;if(!e.s||!t.s)return t.s||(t=new u(e)),Ae?ye(t,d):t;if(c=e.d,l=t.d,a=e.e,o=t.e,c=c.slice(),i=a-o,i){for(i<0?(n=c,i=-i,s=l.length):(n=l,o=a,s=c.length),a=Math.ceil(d/Ee),s=a>s?a+1:s+1,i>s&&(i=s,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for(s=c.length,i=l.length,s-i<0&&(i=s,n=l,l=c,c=n),r=0;i;)r=(c[--i]=c[i]+l[i]+r)/Ve|0,c[i]%=Ve;for(r&&(c.unshift(r),++o),s=c.length;c[--s]==0;)c.pop();return t.d=c,t.e=o,Ae?ye(t,d):t}function rr(e,t,r){if(e!==~~e||e<t||e>r)throw Error(mn+e)}function Yt(e){var t,r,n,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)n=e[t]+"",r=Ee-n.length,r&&(i+=_r(r)),i+=n;a=e[t],n=a+"",r=Ee-n.length,r&&(i+=_r(r))}else if(a===0)return"0";for(;a%10===0;)a/=10;return i+a}var dr=(function(){function e(n,o){var i,a=0,s=n.length;for(n=n.slice();s--;)i=n[s]*o+a,n[s]=i%Ve|0,a=i/Ve|0;return a&&n.unshift(a),n}function t(n,o,i,a){var s,c;if(i!=a)c=i>a?1:-1;else for(s=c=0;s<i;s++)if(n[s]!=o[s]){c=n[s]>o[s]?1:-1;break}return c}function r(n,o,i){for(var a=0;i--;)n[i]-=a,a=n[i]<o[i]?1:0,n[i]=a*Ve+n[i]-o[i];for(;!n[0]&&n.length>1;)n.shift()}return function(n,o,i,a){var s,c,l,u,d,p,m,g,v,y,b,x,w,C,E,S,O,P,j=n.constructor,D=n.s==o.s?1:-1,L=n.d,M=o.d;if(!n.s)return new j(n);if(!o.s)throw Error(jt+"Division by zero");for(c=n.e-o.e,O=M.length,E=L.length,m=new j(D),g=m.d=[],l=0;M[l]==(L[l]||0);)++l;if(M[l]>(L[l]||0)&&--c,i==null?x=i=j.precision:a?x=i+(Ie(n)-Ie(o))+1:x=i,x<0)return new j(0);if(x=x/Ee+2|0,l=0,O==1)for(u=0,M=M[0],x++;(l<E||u)&&x--;l++)w=u*Ve+(L[l]||0),g[l]=w/M|0,u=w%M|0;else{for(u=Ve/(M[0]+1)|0,u>1&&(M=e(M,u),L=e(L,u),O=M.length,E=L.length),C=O,v=L.slice(0,O),y=v.length;y<O;)v[y++]=0;P=M.slice(),P.unshift(0),S=M[0],M[1]>=Ve/2&&++S;do u=0,s=t(M,v,O,y),s<0?(b=v[0],O!=y&&(b=b*Ve+(v[1]||0)),u=b/S|0,u>1?(u>=Ve&&(u=Ve-1),d=e(M,u),p=d.length,y=v.length,s=t(d,v,p,y),s==1&&(u--,r(d,O<p?P:M,p))):(u==0&&(s=u=1),d=M.slice()),p=d.length,p<y&&d.unshift(0),r(v,d,y),s==-1&&(y=v.length,s=t(M,v,O,y),s<1&&(u++,r(v,O<y?P:M,y))),y=v.length):s===0&&(u++,v=[0]),g[l++]=u,s&&v[0]?v[y++]=L[C]||0:(v=[L[C]],y=1);while((C++<E||v[0]!==void 0)&&x--)}return g[0]||g.shift(),m.e=c,ye(m,a?i+Ie(m)+1:i)}})();function b6(e,t){var r,n,o,i,a,s,c=0,l=0,u=e.constructor,d=u.precision;if(Ie(e)>16)throw Error(g0+Ie(e));if(!e.s)return new u(gt);for(Ae=!1,s=d,a=new u(.03125);e.abs().gte(.1);)e=e.times(a),l+=5;for(n=Math.log(an(2,l))/Math.LN10*2+5|0,s+=n,r=o=i=new u(gt),u.precision=s;;){if(o=ye(o.times(e),s),r=r.times(++c),a=i.plus(dr(o,r,s)),Yt(a.d).slice(0,s)===Yt(i.d).slice(0,s)){for(;l--;)i=ye(i.times(i),s);return u.precision=d,t==null?(Ae=!0,ye(i,d)):i}i=a}}function Ie(e){for(var t=e.e*Ee,r=e.d[0];r>=10;r/=10)t++;return t}function Gu(e,t,r){if(t>e.LN10.sd())throw Ae=!0,r&&(e.precision=r),Error(jt+"LN10 precision limit exceeded");return ye(new e(e.LN10),t)}function _r(e){for(var t="";e--;)t+="0";return t}function vi(e,t){var r,n,o,i,a,s,c,l,u,d=1,p=10,m=e,g=m.d,v=m.constructor,y=v.precision;if(m.s<1)throw Error(jt+(m.s?"NaN":"-Infinity"));if(m.eq(gt))return new v(0);if(t==null?(Ae=!1,l=y):l=t,m.eq(10))return t==null&&(Ae=!0),Gu(v,l);if(l+=p,v.precision=l,r=Yt(g),n=r.charAt(0),i=Ie(m),Math.abs(i)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)m=m.times(e),r=Yt(m.d),n=r.charAt(0),d++;i=Ie(m),n>1?(m=new v("0."+r),i++):m=new v(n+"."+r.slice(1))}else return c=Gu(v,l+2,y).times(i+""),m=vi(new v(n+"."+r.slice(1)),l-p).plus(c),v.precision=y,t==null?(Ae=!0,ye(m,y)):m;for(s=a=m=dr(m.minus(gt),m.plus(gt),l),u=ye(m.times(m),l),o=3;;){if(a=ye(a.times(u),l),c=s.plus(dr(a,new v(o),l)),Yt(c.d).slice(0,l)===Yt(s.d).slice(0,l))return s=s.times(2),i!==0&&(s=s.plus(Gu(v,l+2,y).times(i+""))),s=dr(s,new v(d),l),v.precision=y,t==null?(Ae=!0,ye(s,y)):s;s=c,o+=2}}function bg(e,t){var r,n,o;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(o=t.length;t.charCodeAt(o-1)===48;)--o;if(t=t.slice(n,o),t){if(o-=n,r=r-n-1,e.e=Ao(r/Ee),e.d=[],n=(r+1)%Ee,r<0&&(n+=Ee),n<o){for(n&&e.d.push(+t.slice(0,n)),o-=Ee;n<o;)e.d.push(+t.slice(n,n+=Ee));t=t.slice(n),n=Ee-t.length}else n-=o;for(;n--;)t+="0";if(e.d.push(+t),Ae&&(e.e>Rs||e.e<-Rs))throw Error(g0+r)}else e.s=0,e.e=0,e.d=[0];return e}function ye(e,t,r){var n,o,i,a,s,c,l,u,d=e.d;for(a=1,i=d[0];i>=10;i/=10)a++;if(n=t-a,n<0)n+=Ee,o=t,l=d[u=0];else{if(u=Math.ceil((n+1)/Ee),i=d.length,u>=i)return e;for(l=i=d[u],a=1;i>=10;i/=10)a++;n%=Ee,o=n-Ee+a}if(r!==void 0&&(i=an(10,a-o-1),s=l/i%10|0,c=t<0||d[u+1]!==void 0||l%i,c=r<4?(s||c)&&(r==0||r==(e.s<0?3:2)):s>5||s==5&&(r==4||c||r==6&&(n>0?o>0?l/an(10,a-o):0:d[u-1])%10&1||r==(e.s<0?8:7))),t<1||!d[0])return c?(i=Ie(e),d.length=1,t=t-i-1,d[0]=an(10,(Ee-t%Ee)%Ee),e.e=Ao(-t/Ee)||0):(d.length=1,d[0]=e.e=e.s=0),e;if(n==0?(d.length=u,i=1,u--):(d.length=u+1,i=an(10,Ee-n),d[u]=o>0?(l/an(10,a-o)%an(10,o)|0)*i:0),c)for(;;)if(u==0){(d[0]+=i)==Ve&&(d[0]=1,++e.e);break}else{if(d[u]+=i,d[u]!=Ve)break;d[u--]=0,i=1}for(n=d.length;d[--n]===0;)d.pop();if(Ae&&(e.e>Rs||e.e<-Rs))throw Error(g0+Ie(e));return e}function x6(e,t){var r,n,o,i,a,s,c,l,u,d,p=e.constructor,m=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),Ae?ye(t,m):t;if(c=e.d,d=t.d,n=t.e,l=e.e,c=c.slice(),a=l-n,a){for(u=a<0,u?(r=c,a=-a,s=d.length):(r=d,n=l,s=c.length),o=Math.max(Math.ceil(m/Ee),s)+2,a>o&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for(o=c.length,s=d.length,u=o<s,u&&(s=o),o=0;o<s;o++)if(c[o]!=d[o]){u=c[o]<d[o];break}a=0}for(u&&(r=c,c=d,d=r,t.s=-t.s),s=c.length,o=d.length-s;o>0;--o)c[s++]=0;for(o=d.length;o>a;){if(c[--o]<d[o]){for(i=o;i&&c[--i]===0;)c[i]=Ve-1;--c[i],c[o]+=Ve}c[o]-=d[o]}for(;c[--s]===0;)c.pop();for(;c[0]===0;c.shift())--n;return c[0]?(t.d=c,t.e=n,Ae?ye(t,m):t):new p(0)}function An(e,t,r){var n,o=Ie(e),i=Yt(e.d),a=i.length;return t?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+_r(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+_r(-o-1)+i,r&&(n=r-a)>0&&(i+=_r(n))):o>=a?(i+=_r(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+_r(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=_r(n))),e.s<0?"-"+i:i}function xg(e,t){if(e.length>t)return e.length=t,!0}function w6(e){var t,r,n;function o(i){var a=this;if(!(a instanceof o))return new o(i);if(a.constructor=o,i instanceof o){a.s=i.s,a.e=i.e,a.d=(i=i.d)?i.slice():i;return}if(typeof i=="number"){if(i*0!==0)throw Error(mn+i);if(i>0)a.s=1;else if(i<0)i=-i,a.s=-1;else{a.s=0,a.e=0,a.d=[0];return}if(i===~~i&&i<1e7){a.e=0,a.d=[i];return}return bg(a,i.toString())}else if(typeof i!="string")throw Error(mn+i);if(i.charCodeAt(0)===45?(i=i.slice(1),a.s=-1):a.s=1,mV.test(i))bg(a,i);else throw Error(mn+i)}if(o.prototype=Y,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=w6,o.config=o.set=hV,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 o.config(e),o}function hV(e){if(!e||typeof e!="object")throw Error(jt+"Object expected");var t,r,n,o=["precision",1,So,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if((n=e[r=o[t]])!==void 0)if(Ao(n)===n&&n>=o[t+1]&&n<=o[t+2])this[r]=n;else throw Error(mn+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(mn+r+": "+n);return this}var y0=w6(pV);gt=new y0(1);const me=y0;var vV=e=>e,C6={},E6=e=>e===C6,wg=e=>function t(){return arguments.length===0||arguments.length===1&&E6(arguments.length<=0?void 0:arguments[0])?t:e(...arguments)},S6=(e,t)=>e===1?t:wg(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=n.filter(a=>a!==C6).length;return i>=e?t(...n):S6(e-i,wg(function(){for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];var l=n.map(u=>E6(u)?s.shift():u);return t(...l,...s)}))}),gV=e=>S6(e.length,e),yf=(e,t)=>{for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},yV=gV((e,t)=>Array.isArray(t)?t.map(e):Object.keys(t).map(r=>t[r]).map(e)),bV=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!r.length)return vV;var o=r.reverse(),i=o[0],a=o.slice(1);return function(){return a.reduce((s,c)=>c(s),i(...arguments))}};function A6(e){var t;return e===0?t=1:t=Math.floor(new me(e).abs().log(10).toNumber())+1,t}function O6(e,t,r){for(var n=new me(e),o=0,i=[];n.lt(t)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i}var P6=e=>{var[t,r]=e,[n,o]=[t,r];return t>r&&([n,o]=[r,t]),[n,o]},N6=(e,t,r)=>{if(e.lte(0))return new me(0);var n=A6(e.toNumber()),o=new me(10).pow(n),i=e.div(o),a=n!==1?.05:.1,s=new me(Math.ceil(i.div(a).toNumber())).add(r).mul(a),c=s.mul(o);return t?new me(c.toNumber()):new me(Math.ceil(c.toNumber()))},xV=(e,t,r)=>{var n=new me(1),o=new me(e);if(!o.isint()&&r){var i=Math.abs(e);i<1?(n=new me(10).pow(A6(e)-1),o=new me(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new me(Math.floor(e)))}else e===0?o=new me(Math.floor((t-1)/2)):r||(o=new me(Math.floor(e)));var a=Math.floor((t-1)/2),s=bV(yV(c=>o.add(new me(c-a).mul(n)).toNumber()),yf);return s(0,t)},M6=function(t,r,n,o){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((r-t)/(n-1)))return{step:new me(0),tickMin:new me(0),tickMax:new me(0)};var a=N6(new me(r).sub(t).div(n-1),o,i),s;t<=0&&r>=0?s=new me(0):(s=new me(t).add(r).div(2),s=s.sub(new me(s).mod(a)));var c=Math.ceil(s.sub(t).div(a).toNumber()),l=Math.ceil(new me(r).sub(s).div(a).toNumber()),u=c+l+1;return u>n?M6(t,r,n,o,i+1):(u<n&&(l=r>0?l+(n-u):l,c=r>0?c:c+(n-u)),{step:a,tickMin:s.sub(new me(c).mul(a)),tickMax:s.add(new me(l).mul(a))})},wV=function(t){var[r,n]=t,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Math.max(o,2),[s,c]=P6([r,n]);if(s===-1/0||c===1/0){var l=c===1/0?[s,...yf(0,o-1).map(()=>1/0)]:[...yf(0,o-1).map(()=>-1/0),c];return r>n?l.reverse():l}if(s===c)return xV(s,o,i);var{step:u,tickMin:d,tickMax:p}=M6(s,c,a,i,0),m=O6(d,p.add(new me(.1).mul(u)),u);return r>n?m.reverse():m},CV=function(t,r){var[n,o]=t,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,[a,s]=P6([n,o]);if(a===-1/0||s===1/0)return[n,o];if(a===s)return[a];var c=Math.max(r,2),l=N6(new me(s).sub(a).div(c-1),i,0),u=[...O6(new me(a),new me(s),l),s];return i===!1&&(u=u.map(d=>Math.round(d))),n>o?u.reverse():u},j6=e=>e.rootProps.maxBarSize,EV=e=>e.rootProps.barGap,k6=e=>e.rootProps.barCategoryGap,SV=e=>e.rootProps.barSize,Xc=e=>e.rootProps.stackOffset,I6=e=>e.rootProps.reverseStackOrder,b0=e=>e.options.chartName,x0=e=>e.rootProps.syncId,T6=e=>e.rootProps.syncMethod,w0=e=>e.options.eventEmitter,ut={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},sr={allowDuplicatedCategory:!0,angleAxisId:0,reversed:!1,scale:"auto",tick:!0,type:"category"},mt={allowDataOverflow:!1,allowDuplicatedCategory:!0,radiusAxisId:0,scale:"auto",tick:!0,tickCount:5,type:"number"},Jc=(e,t)=>{if(!(!e||!t))return e!=null&&e.reversed?[t[1],t[0]]:t},AV={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:sr.angleAxisId,includeHidden:!1,name:void 0,reversed:sr.reversed,scale:sr.scale,tick:sr.tick,tickCount:void 0,ticks:void 0,type:sr.type,unit:void 0},OV={allowDataOverflow:mt.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:mt.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:mt.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:mt.scale,tick:mt.tick,tickCount:mt.tickCount,ticks:void 0,type:mt.type,unit:void 0},PV={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:sr.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:sr.angleAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:sr.scale,tick:sr.tick,tickCount:void 0,ticks:void 0,type:"number",unit:void 0},NV={allowDataOverflow:mt.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:mt.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:mt.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:mt.scale,tick:mt.tick,tickCount:mt.tickCount,ticks:void 0,type:"category",unit:void 0},C0=(e,t)=>e.polarAxis.angleAxis[t]!=null?e.polarAxis.angleAxis[t]:e.layout.layoutType==="radial"?PV:AV,E0=(e,t)=>e.polarAxis.radiusAxis[t]!=null?e.polarAxis.radiusAxis[t]:e.layout.layoutType==="radial"?NV:OV,el=e=>e.polarOptions,S0=I([Er,Sr,We],CF),_6=I([el,S0],(e,t)=>{if(e!=null)return Vt(e.innerRadius,t,0)}),R6=I([el,S0],(e,t)=>{if(e!=null)return Vt(e.outerRadius,t,t*.8)}),MV=e=>{if(e==null)return[0,0];var{startAngle:t,endAngle:r}=e;return[t,r]},D6=I([el],MV);I([C0,D6],Jc);var L6=I([S0,_6,R6],(e,t,r)=>{if(!(e==null||t==null||r==null))return[t,r]});I([E0,L6],Jc);var F6=I([he,el,_6,R6,Er,Sr],(e,t,r,n,o,i)=>{if(!(e!=="centric"&&e!=="radial"||t==null||r==null||n==null)){var{cx:a,cy:s,startAngle:c,endAngle:l}=t;return{cx:Vt(a,o,o/2),cy:Vt(s,i,i/2),innerRadius:r,outerRadius:n,startAngle:c,endAngle:l,clockWise:!1}}}),De=(e,t)=>t,tl=(e,t,r)=>r;function A0(e){return e?.id}function B6(e,t,r){var{chartData:n=[]}=t,{allowDuplicatedCategory:o,dataKey:i}=r,a=new Map;return e.forEach(s=>{var c,l=(c=s.data)!==null&&c!==void 0?c:n;if(!(l==null||l.length===0)){var u=A0(s);l.forEach((d,p)=>{var m=i==null||o?p:String(Xe(d,i,null)),g=Xe(d,s.dataKey,0),v;a.has(m)?v=a.get(m):v={},Object.assign(v,{[u]:g}),a.set(m,v)})}}),Array.from(a.values())}function rl(e){return"stackId"in e&&e.stackId!=null&&e.dataKey!=null}var nl=(e,t)=>e===t?!0:e==null||t==null?!1:e[0]===t[0]&&e[1]===t[1];function ol(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===0&&t.length===0?!0:e===t}function jV(e,t){if(e.length===t.length){for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return!1}var Le=e=>{var t=he(e);return t==="horizontal"?"xAxis":t==="vertical"?"yAxis":t==="centric"?"angleAxis":"radiusAxis"},Oo=e=>e.tooltip.settings.axisId;function Cg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ds(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Cg(Object(r),!0).forEach(function(n){kV(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function kV(e,t,r){return(t=IV(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IV(e){var t=TV(e,"string");return typeof t=="symbol"?t:t+""}function TV(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 bf=[0,"auto"],Be={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},$6=(e,t)=>e.cartesianAxis.xAxis[t],Pr=(e,t)=>{var r=$6(e,t);return r??Be},$e={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:bf,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:$i},V6=(e,t)=>e.cartesianAxis.yAxis[t],Nr=(e,t)=>{var r=V6(e,t);return r??$e},_V={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:""},O0=(e,t)=>{var r=e.cartesianAxis.zAxis[t];return r??_V},st=(e,t,r)=>{switch(t){case"xAxis":return Pr(e,r);case"yAxis":return Nr(e,r);case"zAxis":return O0(e,r);case"angleAxis":return C0(e,r);case"radiusAxis":return E0(e,r);default:throw new Error("Unexpected axis type: ".concat(t))}},RV=(e,t,r)=>{switch(t){case"xAxis":return Pr(e,r);case"yAxis":return Nr(e,r);default:throw new Error("Unexpected axis type: ".concat(t))}},Gi=(e,t,r)=>{switch(t){case"xAxis":return Pr(e,r);case"yAxis":return Nr(e,r);case"angleAxis":return C0(e,r);case"radiusAxis":return E0(e,r);default:throw new Error("Unexpected axis type: ".concat(t))}},z6=e=>e.graphicalItems.cartesianItems.some(t=>t.type==="bar")||e.graphicalItems.polarItems.some(t=>t.type==="radialBar");function W6(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 P0=e=>e.graphicalItems.cartesianItems,DV=I([De,tl],W6),H6=(e,t,r)=>e.filter(r).filter(n=>t?.includeHidden===!0?!0:!n.hide),qi=I([P0,st,DV],H6,{memoizeOptions:{resultEqualityCheck:ol}}),K6=I([qi],e=>e.filter(t=>t.type==="area"||t.type==="bar").filter(rl)),U6=e=>e.filter(t=>!("stackId"in t)||t.stackId===void 0),LV=I([qi],U6),G6=e=>e.map(t=>t.data).filter(Boolean).flat(1),FV=I([qi],G6,{memoizeOptions:{resultEqualityCheck:ol}}),q6=(e,t)=>{var{chartData:r=[],dataStartIndex:n,dataEndIndex:o}=t;return e.length>0?e:r.slice(n,o+1)},N0=I([FV,h6],q6),Y6=(e,t,r)=>t?.dataKey!=null?e.map(n=>({value:Xe(n,t.dataKey)})):r.length>0?r.map(n=>n.dataKey).flatMap(n=>e.map(o=>({value:Xe(o,n)}))):e.map(n=>({value:n})),il=I([N0,st,qi],Y6);function Z6(e,t){switch(e){case"xAxis":return t.direction==="x";case"yAxis":return t.direction==="y";default:return!1}}function $a(e){if(tr(e)||e instanceof Date){var t=Number(e);if(Oe(t))return t}}function Eg(e){if(Array.isArray(e)){var t=[$a(e[0]),$a(e[1])];return Ur(t)?t:void 0}var r=$a(e);if(r!=null)return[r,r]}function xr(e){return e.map($a).filter(AT)}function BV(e,t,r){return!r||typeof t!="number"||er(t)?[]:r.length?xr(r.flatMap(n=>{var o=Xe(e,n.dataKey),i,a;if(Array.isArray(o)?[i,a]=o:i=a=o,!(!Oe(i)||!Oe(a)))return[t-i,t+a]})):[]}var Fe=e=>{var t=Le(e),r=Oo(e);return Gi(e,t,r)},Yi=I([Fe],e=>e?.dataKey),$V=I([K6,h6,Fe],B6),Q6=(e,t,r,n)=>{var o={},i=t.reduce((a,s)=>{if(s.stackId==null)return a;var c=a[s.stackId];return c==null&&(c=[]),c.push(s),a[s.stackId]=c,a},o);return Object.fromEntries(Object.entries(i).map(a=>{var[s,c]=a,l=n?[...c].reverse():c,u=l.map(A0);return[s,{stackedData:cD(e,u,r),graphicalItems:l}]}))},xf=I([$V,K6,Xc,I6],Q6),X6=(e,t,r,n)=>{var{dataStartIndex:o,dataEndIndex:i}=t;if(n==null&&r!=="zAxis"){var a=pD(e,o,i);if(!(a!=null&&a[0]===0&&a[1]===0))return a}},VV=I([st],e=>e.allowDataOverflow),M0=e=>{var t;if(e==null||!("domain"in e))return bf;if(e.domain!=null)return e.domain;if("ticks"in e&&e.ticks!=null){if(e.type==="number"){var r=xr(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:bf},J6=I([st],M0),e8=I([J6,VV],v6),zV=I([xf,Or,De,e8],X6,{memoizeOptions:{resultEqualityCheck:nl}}),j0=e=>e.errorBars,WV=(e,t,r)=>e.flatMap(n=>t[n.id]).filter(Boolean).filter(n=>Z6(r,n)),Ls=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r.filter(Boolean);if(o.length!==0){var i=o.flat(),a=Math.min(...i),s=Math.max(...i);return[a,s]}},t8=(e,t,r,n,o)=>{var i,a;if(r.length>0&&e.forEach(s=>{r.forEach(c=>{var l,u,d=(l=n[c.id])===null||l===void 0?void 0:l.filter(b=>Z6(o,b)),p=Xe(s,(u=t.dataKey)!==null&&u!==void 0?u:c.dataKey),m=BV(s,p,d);if(m.length>=2){var g=Math.min(...m),v=Math.max(...m);(i==null||g<i)&&(i=g),(a==null||v>a)&&(a=v)}var y=Eg(p);y!=null&&(i=i==null?y[0]:Math.min(i,y[0]),a=a==null?y[1]:Math.max(a,y[1]))})}),t?.dataKey!=null&&e.forEach(s=>{var c=Eg(Xe(s,t.dataKey));c!=null&&(i=i==null?c[0]:Math.min(i,c[0]),a=a==null?c[1]:Math.max(a,c[1]))}),Oe(i)&&Oe(a))return[i,a]},HV=I([N0,st,LV,j0,De],t8,{memoizeOptions:{resultEqualityCheck:nl}});function KV(e){var{value:t}=e;if(tr(t)||t instanceof Date)return t}var UV=(e,t,r)=>{var n=e.map(KV).filter(o=>o!=null);return r&&(t.dataKey==null||t.allowDuplicatedCategory&&p3(n))?_5(0,e.length):t.allowDuplicatedCategory?n:Array.from(new Set(n))},r8=e=>e.referenceElements.dots,Po=(e,t,r)=>e.filter(n=>n.ifOverflow==="extendDomain").filter(n=>t==="xAxis"?n.xAxisId===r:n.yAxisId===r),GV=I([r8,De,tl],Po),n8=e=>e.referenceElements.areas,qV=I([n8,De,tl],Po),o8=e=>e.referenceElements.lines,YV=I([o8,De,tl],Po),i8=(e,t)=>{if(e!=null){var r=xr(e.map(n=>t==="xAxis"?n.x:n.y));if(r.length!==0)return[Math.min(...r),Math.max(...r)]}},ZV=I(GV,De,i8),a8=(e,t)=>{if(e!=null){var r=xr(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)]}},QV=I([qV,De],a8);function XV(e){var t;if(e.x!=null)return xr([e.x]);var r=(t=e.segment)===null||t===void 0?void 0:t.map(n=>n.x);return r==null||r.length===0?[]:xr(r)}function JV(e){var t;if(e.y!=null)return xr([e.y]);var r=(t=e.segment)===null||t===void 0?void 0:t.map(n=>n.y);return r==null||r.length===0?[]:xr(r)}var s8=(e,t)=>{if(e!=null){var r=e.flatMap(n=>t==="xAxis"?XV(n):JV(n));if(r.length!==0)return[Math.min(...r),Math.max(...r)]}},ez=I([YV,De],s8),tz=I(ZV,ez,QV,(e,t,r)=>Ls(e,r,t)),c8=(e,t,r,n,o,i,a,s)=>{if(r!=null)return r;var c=a==="vertical"&&s==="xAxis"||a==="horizontal"&&s==="yAxis",l=c?Ls(n,i,o):Ls(i,o);return fV(t,l,e.allowDataOverflow)},rz=I([st,J6,e8,zV,HV,tz,he,De],c8,{memoizeOptions:{resultEqualityCheck:nl}}),nz=[0,1],l8=(e,t,r,n,o,i,a)=>{if(!((e==null||r==null||r.length===0)&&a===void 0)){var{dataKey:s,type:c}=e,l=kn(t,i);if(l&&s==null){var u;return _5(0,(u=r?.length)!==null&&u!==void 0?u:0)}return c==="category"?UV(n,e,l):o==="expand"?nz:a}},k0=I([st,he,N0,il,Xc,De,rz],l8),u8=(e,t,r,n,o)=>{if(e!=null){var{scale:i,type:a}=e;if(i==="auto")return t==="radial"&&o==="radiusAxis"?"band":t==="radial"&&o==="angleAxis"?"linear":a==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?"point":a==="category"?"band":"linear";if(typeof i=="string"){var s="scale".concat(_i(i));return s in Uo?s:"point"}}},Zi=I([st,he,z6,b0,De],u8);function oz(e){if(e!=null){if(e in Uo)return Uo[e]();var t="scale".concat(_i(e));if(t in Uo)return Uo[t]()}}function I0(e,t,r,n){if(!(r==null||n==null)){if(typeof e.scale=="function")return e.scale.copy().domain(r).range(n);var o=oz(t);if(o!=null){var i=o.domain(r).range(n);return nD(i),i}}}var d8=(e,t,r)=>{var n=M0(t);if(!(r!=="auto"&&r!=="linear")){if(t!=null&&t.tickCount&&Array.isArray(n)&&(n[0]==="auto"||n[1]==="auto")&&Ur(e))return wV(e,t.tickCount,t.allowDecimals);if(t!=null&&t.tickCount&&t.type==="number"&&Ur(e))return CV(e,t.tickCount,t.allowDecimals)}},T0=I([k0,Gi,Zi],d8),f8=(e,t,r,n)=>{if(n!=="angleAxis"&&e?.type==="number"&&Ur(t)&&Array.isArray(r)&&r.length>0){var o=t[0],i=r[0],a=t[1],s=r[r.length-1];return[Math.min(o,i),Math.max(a,s)]}return t},iz=I([st,k0,T0,De],f8),az=I(il,st,(e,t)=>{if(!(!t||t.type!=="number")){var r=1/0,n=Array.from(xr(e.map(d=>d.value))).sort((d,p)=>d-p),o=n[0],i=n[n.length-1];if(o==null||i==null)return 1/0;var a=i-o;if(a===0)return 1/0;for(var s=0;s<n.length-1;s++){var c=n[s],l=n[s+1];if(!(c==null||l==null)){var u=l-c;r=Math.min(r,u)}}return r/a}}),p8=I(az,he,k6,We,(e,t,r,n,o)=>o,(e,t,r,n,o)=>{if(!Oe(e))return 0;var i=t==="vertical"?n.height:n.width;if(o==="gap")return e*i/2;if(o==="no-gap"){var a=Vt(r,e*i),s=e*i/2;return s-a-(s-a)/i*a}return 0}),sz=(e,t,r)=>{var n=Pr(e,t);return n==null||typeof n.padding!="string"?0:p8(e,"xAxis",t,r,n.padding)},cz=(e,t,r)=>{var n=Nr(e,t);return n==null||typeof n.padding!="string"?0:p8(e,"yAxis",t,r,n.padding)},lz=I(Pr,sz,(e,t)=>{var r,n;if(e==null)return{left:0,right:0};var{padding:o}=e;return typeof o=="string"?{left:t,right:t}:{left:((r=o.left)!==null&&r!==void 0?r:0)+t,right:((n=o.right)!==null&&n!==void 0?n:0)+t}}),uz=I(Nr,cz,(e,t)=>{var r,n;if(e==null)return{top:0,bottom:0};var{padding:o}=e;return typeof o=="string"?{top:t,bottom:t}:{top:((r=o.top)!==null&&r!==void 0?r:0)+t,bottom:((n=o.bottom)!==null&&n!==void 0?n:0)+t}}),dz=I([We,lz,Bc,Fc,(e,t,r)=>r],(e,t,r,n,o)=>{var{padding:i}=n;return o?[i.left,r.width-i.right]:[e.left+t.left,e.left+e.width-t.right]}),fz=I([We,he,uz,Bc,Fc,(e,t,r)=>r],(e,t,r,n,o,i)=>{var{padding:a}=o;return i?[n.height-a.bottom,a.top]:t==="horizontal"?[e.top+e.height-r.bottom,e.top+r.top]:[e.top+r.top,e.top+e.height-r.bottom]}),Qi=(e,t,r,n)=>{var o;switch(t){case"xAxis":return dz(e,r,n);case"yAxis":return fz(e,r,n);case"zAxis":return(o=O0(e,r))===null||o===void 0?void 0:o.range;case"angleAxis":return D6(e);case"radiusAxis":return L6(e,r);default:return}},m8=I([st,Qi],Jc),al=I([st,Zi,iz,m8],I0);I([qi,j0,De],WV);function h8(e,t){return e.id<t.id?-1:e.id>t.id?1:0}var sl=(e,t)=>t,cl=(e,t,r)=>r,pz=I(Dc,sl,cl,(e,t,r)=>e.filter(n=>n.orientation===t).filter(n=>n.mirror===r).sort(h8)),mz=I(Lc,sl,cl,(e,t,r)=>e.filter(n=>n.orientation===t).filter(n=>n.mirror===r).sort(h8)),v8=(e,t)=>({width:e.width,height:t.height}),hz=(e,t)=>{var r=typeof t.width=="number"?t.width:$i;return{width:r,height:e.height}},g8=I(We,Pr,v8),vz=(e,t,r)=>{switch(t){case"top":return e.top;case"bottom":return r-e.bottom;default:return 0}},gz=(e,t,r)=>{switch(t){case"left":return e.left;case"right":return r-e.right;default:return 0}},yz=I(Sr,We,pz,sl,cl,(e,t,r,n,o)=>{var i={},a;return r.forEach(s=>{var c=v8(t,s);a==null&&(a=vz(t,n,e));var l=n==="top"&&!o||n==="bottom"&&o;i[s.id]=a-Number(l)*c.height,a+=(l?-1:1)*c.height}),i}),bz=I(Er,We,mz,sl,cl,(e,t,r,n,o)=>{var i={},a;return r.forEach(s=>{var c=hz(t,s);a==null&&(a=gz(t,n,e));var l=n==="left"&&!o||n==="right"&&o;i[s.id]=a-Number(l)*c.width,a+=(l?-1:1)*c.width}),i}),xz=(e,t)=>{var r=Pr(e,t);if(r!=null)return yz(e,r.orientation,r.mirror)},wz=I([We,Pr,xz,(e,t)=>t],(e,t,r,n)=>{if(t!=null){var o=r?.[n];return o==null?{x:e.left,y:0}:{x:e.left,y:o}}}),Cz=(e,t)=>{var r=Nr(e,t);if(r!=null)return bz(e,r.orientation,r.mirror)},Ez=I([We,Nr,Cz,(e,t)=>t],(e,t,r,n)=>{if(t!=null){var o=r?.[n];return o==null?{x:0,y:e.top}:{x:o,y:e.top}}}),y8=I(We,Nr,(e,t)=>{var r=typeof t.width=="number"?t.width:$i;return{width:r,height:e.height}}),Sg=(e,t,r)=>{switch(t){case"xAxis":return g8(e,r).width;case"yAxis":return y8(e,r).height;default:return}},b8=(e,t,r,n)=>{if(r!=null){var{allowDuplicatedCategory:o,type:i,dataKey:a}=r,s=kn(e,n),c=t.map(l=>l.value);if(a&&s&&i==="category"&&o&&p3(c))return c}},_0=I([he,il,st,De],b8),x8=(e,t,r,n)=>{if(!(r==null||r.dataKey==null)){var{type:o,scale:i}=r,a=kn(e,n);if(a&&(o==="number"||i!=="auto"))return t.map(s=>s.value)}},R0=I([he,il,Gi,De],x8);I([he,RV,Zi,al,_0,R0,Qi,T0,De],(e,t,r,n,o,i,a,s,c)=>{if(t!=null){var l=kn(e,c);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:c,categoricalDomain:i,duplicateDomain:o,isCategorical:l,niceTicks:s,range:a,realScaleType:r,scale:n}}});var Sz=(e,t,r,n,o,i,a,s,c)=>{if(!(t==null||n==null)){var l=kn(e,c),{type:u,ticks:d,tickCount:p}=t,m=r==="scaleBand"&&typeof n.bandwidth=="function"?n.bandwidth()/2:2,g=u==="category"&&n.bandwidth?n.bandwidth()/m:0;g=c==="angleAxis"&&i!=null&&i.length>=2?yt(i[0]-i[1])*2*g:g;var v=d||o;if(v){var y=v.map((b,x)=>{var w=a?a.indexOf(b):b;return{index:x,coordinate:n(w)+g,value:b,offset:g}});return y.filter(b=>Oe(b.coordinate))}return l&&s?s.map((b,x)=>({coordinate:n(b)+g,value:b,index:x,offset:g})).filter(b=>Oe(b.coordinate)):n.ticks?n.ticks(p).map(b=>({coordinate:n(b)+g,value:b,offset:g})):n.domain().map((b,x)=>({coordinate:n(b)+g,value:a?a[b]:b,index:x,offset:g}))}},w8=I([he,Gi,Zi,al,T0,Qi,_0,R0,De],Sz),Az=(e,t,r,n,o,i,a)=>{if(!(t==null||r==null||n==null||n[0]===n[1])){var s=kn(e,a),{tickCount:c}=t,l=0;return l=a==="angleAxis"&&n?.length>=2?yt(n[0]-n[1])*2*l:l,s&&i?i.map((u,d)=>({coordinate:r(u)+l,value:u,index:d,offset:l})):r.ticks?r.ticks(c).map(u=>({coordinate:r(u)+l,value:u,offset:l})):r.domain().map((u,d)=>({coordinate:r(u)+l,value:o?o[u]:u,index:d,offset:l}))}},fo=I([he,Gi,al,Qi,_0,R0,De],Az),po=I(st,al,(e,t)=>{if(!(e==null||t==null))return Ds(Ds({},e),{},{scale:t})}),Oz=I([st,Zi,k0,m8],I0);I((e,t,r)=>O0(e,r),Oz,(e,t)=>{if(!(e==null||t==null))return Ds(Ds({},e),{},{scale:t})});var Pz=I([he,Dc,Lc],(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}}),C8=e=>e.options.defaultTooltipEventType,E8=e=>e.options.validateTooltipEventTypes;function S8(e,t,r){if(e==null)return t;var n=e?"axis":"item";return r==null?t:r.includes(n)?n:t}function D0(e,t){var r=C8(e),n=E8(e);return S8(t,r,n)}function Nz(e){return re(t=>D0(t,e))}var A8=(e,t)=>{var r,n=Number(t);if(!(er(n)||t==null))return n>=0?e==null||(r=e[n])===null||r===void 0?void 0:r.value:void 0},Mz=e=>e.tooltip.settings,Br={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},jz={itemInteraction:{click:Br,hover:Br},axisInteraction:{click:Br,hover:Br},keyboardInteraction:Br,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0,sourceViewBox:void 0,graphicalItemId:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:"hover",axisId:0,active:!1,defaultIndex:void 0}},O8=pt({name:"tooltip",initialState:jz,reducers:{addTooltipEntrySettings:{reducer(e,t){e.tooltipItemPayloads.push(t.payload)},prepare:Se()},replaceTooltipEntrySettings:{reducer(e,t){var{prev:r,next:n}=t.payload,o=Lt(e).tooltipItemPayloads.indexOf(r);o>-1&&(e.tooltipItemPayloads[o]=n)},prepare:Se()},removeTooltipEntrySettings:{reducer(e,t){var r=Lt(e).tooltipItemPayloads.indexOf(t.payload);r>-1&&e.tooltipItemPayloads.splice(r,1)},prepare:Se()},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.graphicalItemId=t.payload.activeGraphicalItemId,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.graphicalItemId=t.payload.activeGraphicalItemId,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}}}),{addTooltipEntrySettings:kz,replaceTooltipEntrySettings:Iz,removeTooltipEntrySettings:Tz,setTooltipSettingsState:_z,setActiveMouseOverItemIndex:P8,mouseLeaveItem:Rz,mouseLeaveChart:N8,setActiveClickItemIndex:Dz,setMouseOverAxisIndex:M8,setMouseClickAxisIndex:Lz,setSyncInteraction:wf,setKeyboardInteraction:Cf}=O8.actions,Fz=O8.reducer;function Ag(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ja(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ag(Object(r),!0).forEach(function(n){Bz(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ag(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Bz(e,t,r){return(t=$z(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $z(e){var t=Vz(e,"string");return typeof t=="symbol"?t:t+""}function Vz(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 zz(e,t,r){return t==="axis"?r==="click"?e.axisInteraction.click:e.axisInteraction.hover:r==="click"?e.itemInteraction.click:e.itemInteraction.hover}function Wz(e){return e.index!=null}var j8=(e,t,r,n)=>{if(t==null)return Br;var o=zz(e,t,r);if(o==null)return Br;if(o.active)return o;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&&e.syncInteraction.index!=null)return e.syncInteraction;var i=e.settings.active===!0;if(Wz(o)){if(i)return ja(ja({},o),{},{active:!0})}else if(n!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:n,graphicalItemId:void 0};return ja(ja({},Br),{},{coordinate:o.coordinate})};function Hz(e){if(typeof e=="number")return Number.isFinite(e)?e:void 0;if(e instanceof Date){var t=e.valueOf();return Number.isFinite(t)?t:void 0}var r=Number(e);return Number.isFinite(r)?r:void 0}function Kz(e,t){var r=Hz(e),n=t[0],o=t[1];if(r===void 0)return!1;var i=Math.min(n,o),a=Math.max(n,o);return r>=i&&r<=a}function Uz(e,t,r){if(r==null||t==null)return!0;var n=Xe(e,t);return n==null||!Ur(r)?!0:Kz(n,r)}var L0=(e,t,r,n)=>{var o=e?.index;if(o==null)return null;var i=Number(o);if(!Oe(i))return o;var a=0,s=1/0;t.length>0&&(s=t.length-1);var c=Math.max(a,Math.min(i,s)),l=t[c];return l==null||Uz(l,r,n)?String(c):null},k8=(e,t,r,n,o,i,a,s)=>{if(!(i==null||s==null)){var c=a[0],l=c==null?void 0:s(c.positions,i);if(l!=null)return l;var u=o?.[Number(i)];if(u)return r==="horizontal"?{x:u.coordinate,y:(n.top+t)/2}:{x:(n.left+e)/2,y:u.coordinate}}},I8=(e,t,r,n)=>{if(t==="axis")return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var o;if(r==="hover"?o=e.itemInteraction.hover.graphicalItemId:o=e.itemInteraction.click.graphicalItemId,o==null&&n!=null){var i=e.tooltipItemPayloads[0];return i!=null?[i]:[]}return e.tooltipItemPayloads.filter(a=>{var s;return((s=a.settings)===null||s===void 0?void 0:s.graphicalItemId)===o})},Xi=e=>e.options.tooltipPayloadSearcher,No=e=>e.tooltip;function Og(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Pg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Og(Object(r),!0).forEach(function(n){Gz(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Og(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Gz(e,t,r){return(t=qz(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qz(e){var t=Yz(e,"string");return typeof t=="symbol"?t:t+""}function Yz(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 Zz(e,t){return e??t}var T8=(e,t,r,n,o,i,a)=>{if(!(t==null||i==null)){var{chartData:s,computedData:c,dataStartIndex:l,dataEndIndex:u}=r,d=[];return e.reduce((p,m)=>{var g,{dataDefinedOnItem:v,settings:y}=m,b=Zz(v,s),x=Array.isArray(b)?u5(b,l,u):b,w=(g=y?.dataKey)!==null&&g!==void 0?g:n,C=y?.nameKey,E;if(n&&Array.isArray(x)&&!Array.isArray(x[0])&&a==="axis"?E=ST(x,n,o):E=i(x,t,c,C),Array.isArray(E))E.forEach(O=>{var P=Pg(Pg({},y),{},{name:O.name,unit:O.unit,color:void 0,fill:void 0});p.push(I1({tooltipEntrySettings:P,dataKey:O.dataKey,payload:O.payload,value:Xe(O.payload,O.dataKey),name:O.name}))});else{var S;p.push(I1({tooltipEntrySettings:y,dataKey:w,payload:E,value:Xe(E,w),name:(S=Xe(E,C))!==null&&S!==void 0?S:y?.name}))}return p},d)}},F0=I([Fe,he,z6,b0,Le],u8),Qz=I([e=>e.graphicalItems.cartesianItems,e=>e.graphicalItems.polarItems],(e,t)=>[...e,...t]),Xz=I([Le,Oo],W6),Mo=I([Qz,Fe,Xz],H6,{memoizeOptions:{resultEqualityCheck:ol}}),Jz=I([Mo],e=>e.filter(rl)),eW=I([Mo],G6,{memoizeOptions:{resultEqualityCheck:ol}}),jo=I([eW,Or],q6),tW=I([Jz,Or,Fe],B6),B0=I([jo,Fe,Mo],Y6),_8=I([Fe],M0),rW=I([Fe],e=>e.allowDataOverflow),R8=I([_8,rW],v6),nW=I([Mo],e=>e.filter(rl)),oW=I([tW,nW,Xc,I6],Q6),iW=I([oW,Or,Le,R8],X6),aW=I([Mo],U6),sW=I([jo,Fe,aW,j0,Le],t8,{memoizeOptions:{resultEqualityCheck:nl}}),cW=I([r8,Le,Oo],Po),lW=I([cW,Le],i8),uW=I([n8,Le,Oo],Po),dW=I([uW,Le],a8),fW=I([o8,Le,Oo],Po),pW=I([fW,Le],s8),mW=I([lW,pW,dW],Ls),hW=I([Fe,_8,R8,iW,sW,mW,he,Le],c8),Ji=I([Fe,he,jo,B0,Xc,Le,hW],l8),vW=I([Ji,Fe,F0],d8),gW=I([Fe,Ji,vW,Le],f8),D8=e=>{var t=Le(e),r=Oo(e),n=!1;return Qi(e,t,r,n)},L8=I([Fe,D8],Jc),F8=I([Fe,F0,gW,L8],I0),yW=I([he,B0,Fe,Le],b8),bW=I([he,B0,Fe,Le],x8),xW=(e,t,r,n,o,i,a,s)=>{if(t){var{type:c}=t,l=kn(e,s);if(n){var u=r==="scaleBand"&&n.bandwidth?n.bandwidth()/2:2,d=c==="category"&&n.bandwidth?n.bandwidth()/u:0;return d=s==="angleAxis"&&o!=null&&o?.length>=2?yt(o[0]-o[1])*2*d:d,l&&a?a.map((p,m)=>({coordinate:n(p)+d,value:p,index:m,offset:d})):n.domain().map((p,m)=>({coordinate:n(p)+d,value:i?i[p]:p,index:m,offset:d}))}}},Mr=I([he,Fe,F0,F8,D8,yW,bW,Le],xW),$0=I([C8,E8,Mz],(e,t,r)=>S8(r.shared,e,t)),B8=e=>e.tooltip.settings.trigger,V0=e=>e.tooltip.settings.defaultIndex,ea=I([No,$0,B8,V0],j8),mo=I([ea,jo,Yi,Ji],L0),$8=I([Mr,mo],A8),V8=I([ea],e=>{if(e)return e.dataKey});I([ea],e=>{if(e)return e.graphicalItemId});var z8=I([No,$0,B8,V0],I8),wW=I([Er,Sr,he,We,Mr,V0,z8,Xi],k8),CW=I([ea,wW],(e,t)=>e!=null&&e.coordinate?e.coordinate:t),EW=I([ea],e=>{var t;return(t=e?.active)!==null&&t!==void 0?t:!1}),SW=I([z8,mo,Or,Yi,$8,Xi,$0],T8);I([SW],e=>{if(e!=null){var t=e.map(r=>r.payload).filter(r=>r!=null);return Array.from(new Set(t))}});function Ng(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Mg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ng(Object(r),!0).forEach(function(n){AW(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ng(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function AW(e,t,r){return(t=OW(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OW(e){var t=PW(e,"string");return typeof t=="symbol"?t:t+""}function PW(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 NW=()=>re(Fe),MW=()=>{var e=NW(),t=re(Mr),r=re(F8);return vs(!e||!r?void 0:Mg(Mg({},e),{},{scale:r}),t)};function jg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Wn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jg(Object(r),!0).forEach(function(n){jW(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function jW(e,t,r){return(t=kW(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kW(e){var t=IW(e,"string");return typeof t=="symbol"?t:t+""}function IW(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 TW=(e,t,r,n)=>{var o=t.find(i=>i&&i.index===r);if(o){if(e==="horizontal")return{x:o.coordinate,y:n.chartY};if(e==="vertical")return{x:n.chartX,y:o.coordinate}}return{x:0,y:0}},_W=(e,t,r,n)=>{var o=t.find(l=>l&&l.index===r);if(o){if(e==="centric"){var i=o.coordinate,{radius:a}=n;return Wn(Wn(Wn({},n),Ze(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var s=o.coordinate,{angle:c}=n;return Wn(Wn(Wn({},n),Ze(n.cx,n.cy,s,c)),{},{angle:c,radius:s})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}};function RW(e,t){var{chartX:r,chartY:n}=e;return r>=t.left&&r<=t.left+t.width&&n>=t.top&&n<=t.top+t.height}var W8=(e,t,r,n,o)=>{var i,a=(i=t?.length)!==null&&i!==void 0?i:0;if(a<=1||e==null)return 0;if(n==="angleAxis"&&o!=null&&Math.abs(Math.abs(o[1]-o[0])-360)<=1e-6)for(var s=0;s<a;s++){var c,l,u,d,p,m=s>0?(c=r[s-1])===null||c===void 0?void 0:c.coordinate:(l=r[a-1])===null||l===void 0?void 0:l.coordinate,g=(u=r[s])===null||u===void 0?void 0:u.coordinate,v=s>=a-1?(d=r[0])===null||d===void 0?void 0:d.coordinate:(p=r[s+1])===null||p===void 0?void 0:p.coordinate,y=void 0;if(!(m==null||g==null||v==null))if(yt(g-m)!==yt(v-g)){var b=[];if(yt(v-g)===yt(o[1]-o[0])){y=v;var x=g+o[1]-o[0];b[0]=Math.min(x,(x+m)/2),b[1]=Math.max(x,(x+m)/2)}else{y=m;var w=v+o[1]-o[0];b[0]=Math.min(g,(w+g)/2),b[1]=Math.max(g,(w+g)/2)}var C=[Math.min(g,(y+g)/2),Math.max(g,(y+g)/2)];if(e>C[0]&&e<=C[1]||e>=b[0]&&e<=b[1]){var E;return(E=r[s])===null||E===void 0?void 0:E.index}}else{var S=Math.min(m,v),O=Math.max(m,v);if(e>(S+g)/2&&e<=(O+g)/2){var P;return(P=r[s])===null||P===void 0?void 0:P.index}}}else if(t)for(var j=0;j<a;j++){var D=t[j];if(D!=null){var L=t[j+1],M=t[j-1];if(j===0&&L!=null&&e<=(D.coordinate+L.coordinate)/2||j===a-1&&M!=null&&e>(D.coordinate+M.coordinate)/2||j>0&&j<a-1&&M!=null&&L!=null&&e>(D.coordinate+M.coordinate)/2&&e<=(D.coordinate+L.coordinate)/2)return D.index}}return-1},DW=()=>re(b0),z0=(e,t)=>t,H8=(e,t,r)=>r,W0=(e,t,r,n)=>n,LW=I(Mr,e=>Pc(e,t=>t.coordinate)),H0=I([No,z0,H8,W0],j8),K0=I([H0,jo,Yi,Ji],L0),FW=(e,t,r)=>{if(t!=null){var n=No(e);return t==="axis"?r==="hover"?n.axisInteraction.hover.dataKey:n.axisInteraction.click.dataKey:r==="hover"?n.itemInteraction.hover.dataKey:n.itemInteraction.click.dataKey}},K8=I([No,z0,H8,W0],I8),Fs=I([Er,Sr,he,We,Mr,W0,K8,Xi],k8),BW=I([H0,Fs],(e,t)=>{var r;return(r=e.coordinate)!==null&&r!==void 0?r:t}),U8=I([Mr,K0],A8),$W=I([K8,K0,Or,Yi,U8,Xi,z0],T8),VW=I([H0,K0],(e,t)=>({isActive:e.active&&t!=null,activeIndex:t})),zW=(e,t,r,n,o,i,a)=>{if(!(!e||!r||!n||!o)&&RW(e,a)){var s=mD(e,t),c=W8(s,i,o,r,n),l=TW(t,o,c,e);return{activeIndex:String(c),activeCoordinate:l}}},WW=(e,t,r,n,o,i,a)=>{if(!(!e||!n||!o||!i||!r)){var s=PF(e,r);if(s){var c=hD(s,t),l=W8(c,a,i,n,o),u=_W(t,i,l,s);return{activeIndex:String(l),activeCoordinate:u}}}},HW=(e,t,r,n,o,i,a,s)=>{if(!(!e||!t||!n||!o||!i))return t==="horizontal"||t==="vertical"?zW(e,t,n,o,i,a,s):WW(e,t,r,n,o,i,a)},KW=I(e=>e.zIndex.zIndexMap,(e,t)=>t,(e,t,r)=>r,(e,t,r)=>{if(t!=null){var n=e[t];if(n!=null)return r?n.panoramaElement:n.element}}),UW=I(e=>e.zIndex.zIndexMap,e=>{var t=Object.keys(e).map(n=>parseInt(n,10)).concat(Object.values(ut)),r=Array.from(new Set(t));return r.sort((n,o)=>n-o)},{memoizeOptions:{resultEqualityCheck:jV}});function kg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ig(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?kg(Object(r),!0).forEach(function(n){GW(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function GW(e,t,r){return(t=qW(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qW(e){var t=YW(e,"string");return typeof t=="symbol"?t:t+""}function YW(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={},QW={zIndexMap:Object.values(ut).reduce((e,t)=>Ig(Ig({},e),{},{[t]:{element:void 0,panoramaElement:void 0,consumers:0}}),ZW)},XW=new Set(Object.values(ut));function JW(e){return XW.has(e)}var G8=pt({name:"zIndex",initialState:QW,reducers:{registerZIndexPortal:{reducer:(e,t)=>{var{zIndex:r}=t.payload;e.zIndexMap[r]?e.zIndexMap[r].consumers+=1:e.zIndexMap[r]={consumers:1,element:void 0,panoramaElement:void 0}},prepare:Se()},unregisterZIndexPortal:{reducer:(e,t)=>{var{zIndex:r}=t.payload;e.zIndexMap[r]&&(e.zIndexMap[r].consumers-=1,e.zIndexMap[r].consumers<=0&&!JW(r)&&delete e.zIndexMap[r])},prepare:Se()},registerZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:r,element:n,isPanorama:o}=t.payload;e.zIndexMap[r]?o?e.zIndexMap[r].panoramaElement=n:e.zIndexMap[r].element=n:e.zIndexMap[r]={consumers:0,element:o?void 0:n,panoramaElement:o?n:void 0}},prepare:Se()},unregisterZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:r}=t.payload;e.zIndexMap[r]&&(t.payload.isPanorama?e.zIndexMap[r].panoramaElement=void 0:e.zIndexMap[r].element=void 0)},prepare:Se()}}}),{registerZIndexPortal:eH,unregisterZIndexPortal:tH,registerZIndexPortalElement:rH,unregisterZIndexPortalElement:nH}=G8.actions,oH=G8.reducer;function en(e){var{zIndex:t,children:r}=e,n=QD(),o=n&&t!==void 0&&t!==0,i=Ct(),a=Me();A.useLayoutEffect(()=>o?(a(eH({zIndex:t})),()=>{a(tH({zIndex:t}))}):Ri,[a,t,o]);var s=re(c=>KW(c,t,i));return o?s?Nn.createPortal(r,s):null:r}function Ef(){return Ef=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},Ef.apply(null,arguments)}function Tg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ka(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Tg(Object(r),!0).forEach(function(n){iH(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function iH(e,t,r){return(t=aH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aH(e){var t=sH(e,"string");return typeof t=="symbol"?t:t+""}function sH(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 cH(e){var{cursor:t,cursorComp:r,cursorProps:n}=e;return A.isValidElement(t)?A.cloneElement(t,n):A.createElement(r,n)}function lH(e){var t,{coordinate:r,payload:n,index:o,offset:i,tooltipAxisBandSize:a,layout:s,cursor:c,tooltipEventType:l,chartName:u}=e,d=r,p=n,m=o;if(!c||!d||u!=="ScatterChart"&&l!=="axis")return null;var g,v,y;if(u==="ScatterChart")g=d,v=$L,y=ut.cursorLine;else if(u==="BarChart")g=VL(s,d,i,a),v=j5,y=ut.cursorRectangle;else if(s==="radial"&&v3(d)){var{cx:b,cy:x,radius:w,startAngle:C,endAngle:E}=k5(d);g={cx:b,cy:x,startAngle:C,endAngle:E,innerRadius:w,outerRadius:w},v=T5,y=ut.cursorLine}else g={points:kF(s,d,i)},v=A5,y=ut.cursorLine;var S=typeof c=="object"&&"className"in c?c.className:void 0,O=ka(ka(ka(ka({stroke:"#ccc",pointerEvents:"none"},i),g),Op(c)),{},{payload:p,payloadIndex:m,className:be("recharts-tooltip-cursor",S)});return f.createElement(en,{zIndex:(t=e.zIndex)!==null&&t!==void 0?t:y},f.createElement(cH,{cursor:c,cursorComp:v,cursorProps:O}))}function uH(e){var t=MW(),r=qD(),n=Vi(),o=DW();return t==null||r==null||n==null||o==null?null:f.createElement(lH,Ef({},e,{offset:r,layout:n,tooltipAxisBandSize:t,chartName:o}))}var q8=A.createContext(null),dH=()=>A.useContext(q8),qu={exports:{}},_g;function fH(){return _g||(_g=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function o(c,l,u){this.fn=c,this.context=l,this.once=u||!1}function i(c,l,u,d,p){if(typeof u!="function")throw new TypeError("The listener must be a function");var m=new o(u,d||c,p),g=r?r+l:l;return c._events[g]?c._events[g].fn?c._events[g]=[c._events[g],m]:c._events[g].push(m):(c._events[g]=m,c._eventsCount++),c}function a(c,l){--c._eventsCount===0?c._events=new n:delete c._events[l]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var l=[],u,d;if(this._eventsCount===0)return l;for(d in u=this._events)t.call(u,d)&&l.push(r?d.slice(1):d);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(u)):l},s.prototype.listeners=function(l){var u=r?r+l:l,d=this._events[u];if(!d)return[];if(d.fn)return[d.fn];for(var p=0,m=d.length,g=new Array(m);p<m;p++)g[p]=d[p].fn;return g},s.prototype.listenerCount=function(l){var u=r?r+l:l,d=this._events[u];return d?d.fn?1:d.length:0},s.prototype.emit=function(l,u,d,p,m,g){var v=r?r+l:l;if(!this._events[v])return!1;var y=this._events[v],b=arguments.length,x,w;if(y.fn){switch(y.once&&this.removeListener(l,y.fn,void 0,!0),b){case 1:return y.fn.call(y.context),!0;case 2:return y.fn.call(y.context,u),!0;case 3:return y.fn.call(y.context,u,d),!0;case 4:return y.fn.call(y.context,u,d,p),!0;case 5:return y.fn.call(y.context,u,d,p,m),!0;case 6:return y.fn.call(y.context,u,d,p,m,g),!0}for(w=1,x=new Array(b-1);w<b;w++)x[w-1]=arguments[w];y.fn.apply(y.context,x)}else{var C=y.length,E;for(w=0;w<C;w++)switch(y[w].once&&this.removeListener(l,y[w].fn,void 0,!0),b){case 1:y[w].fn.call(y[w].context);break;case 2:y[w].fn.call(y[w].context,u);break;case 3:y[w].fn.call(y[w].context,u,d);break;case 4:y[w].fn.call(y[w].context,u,d,p);break;default:if(!x)for(E=1,x=new Array(b-1);E<b;E++)x[E-1]=arguments[E];y[w].fn.apply(y[w].context,x)}}return!0},s.prototype.on=function(l,u,d){return i(this,l,u,d,!1)},s.prototype.once=function(l,u,d){return i(this,l,u,d,!0)},s.prototype.removeListener=function(l,u,d,p){var m=r?r+l:l;if(!this._events[m])return this;if(!u)return a(this,m),this;var g=this._events[m];if(g.fn)g.fn===u&&(!p||g.once)&&(!d||g.context===d)&&a(this,m);else{for(var v=0,y=[],b=g.length;v<b;v++)(g[v].fn!==u||p&&!g[v].once||d&&g[v].context!==d)&&y.push(g[v]);y.length?this._events[m]=y.length===1?y[0]:y:a(this,m)}return this},s.prototype.removeAllListeners=function(l){var u;return l?(u=r?r+l:l,this._events[u]&&a(this,u)):(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})(qu)),qu.exports}var pH=fH();const mH=Cr(pH);var gi=new mH,Sf="recharts.syncEvent.tooltip",Rg="recharts.syncEvent.brush";function hH(e,t){if(t){var r=Number.parseInt(t,10);if(!er(r))return e?.[r]}}var vH={chartName:"",tooltipPayloadSearcher:void 0,eventEmitter:void 0,defaultTooltipEventType:"axis"},Y8=pt({name:"options",initialState:vH,reducers:{createEventEmitter:e=>{e.eventEmitter==null&&(e.eventEmitter=Symbol("rechartsEventEmitter"))}}}),gH=Y8.reducer,{createEventEmitter:yH}=Y8.actions;function bH(e){return e.tooltip.syncInteraction}var xH={chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},Z8=pt({name:"chartData",initialState:xH,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:Dg,setDataStartEndIndexes:wH,setComputedData:pQ}=Z8.actions,CH=Z8.reducer,EH=["x","y"];function Lg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).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?Lg(Object(r),!0).forEach(function(n){SH(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function SH(e,t,r){return(t=AH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AH(e){var t=OH(e,"string");return typeof t=="symbol"?t:t+""}function OH(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 PH(e,t){if(e==null)return{};var r,n,o=NH(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function NH(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 MH(){var e=re(x0),t=re(w0),r=Me(),n=re(T6),o=re(Mr),i=Vi(),a=$c(),s=re(c=>c.rootProps.className);A.useEffect(()=>{if(e==null)return Ri;var c=(l,u,d)=>{if(t!==d&&e===l){if(n==="index"){var p;if(a&&u!==null&&u!==void 0&&(p=u.payload)!==null&&p!==void 0&&p.coordinate&&u.payload.sourceViewBox){var m=u.payload.coordinate,{x:g,y:v}=m,y=PH(m,EH),{x:b,y:x,width:w,height:C}=u.payload.sourceViewBox,E=Hn(Hn({},y),{},{x:a.x+(w?(g-b)/w:0)*a.width,y:a.y+(C?(v-x)/C:0)*a.height});r(Hn(Hn({},u),{},{payload:Hn(Hn({},u.payload),{},{coordinate:E})}))}else r(u);return}if(o!=null){var S;if(typeof n=="function"){var O={activeTooltipIndex:u.payload.index==null?void 0:Number(u.payload.index),isTooltipActive:u.payload.active,activeIndex:u.payload.index==null?void 0:Number(u.payload.index),activeLabel:u.payload.label,activeDataKey:u.payload.dataKey,activeCoordinate:u.payload.coordinate},P=n(o,O);S=o[P]}else n==="value"&&(S=o.find(W=>String(W.value)===u.payload.label));var{coordinate:j}=u.payload;if(S==null||u.payload.active===!1||j==null||a==null){r(wf({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}var{x:D,y:L}=j,M=Math.min(D,a.x+a.width),k=Math.min(L,a.y+a.height),$={x:i==="horizontal"?S.coordinate:M,y:i==="horizontal"?k:S.coordinate},U=wf({active:u.payload.active,coordinate:$,dataKey:u.payload.dataKey,index:String(S.index),label:u.payload.label,sourceViewBox:u.payload.sourceViewBox,graphicalItemId:u.payload.graphicalItemId});r(U)}}};return gi.on(Sf,c),()=>{gi.off(Sf,c)}},[s,r,t,e,n,o,i,a])}function jH(){var e=re(x0),t=re(w0),r=Me();A.useEffect(()=>{if(e==null)return Ri;var n=(o,i,a)=>{t!==a&&e===o&&r(wH(i))};return gi.on(Rg,n),()=>{gi.off(Rg,n)}},[r,t,e])}function kH(){var e=Me();A.useEffect(()=>{e(yH())},[e]),MH(),jH()}function IH(e,t,r,n,o,i){var a=re(m=>FW(m,e,t)),s=re(w0),c=re(x0),l=re(T6),u=re(bH),d=u?.active,p=$c();A.useEffect(()=>{if(!d&&c!=null&&s!=null){var m=wf({active:i,coordinate:r,dataKey:a,index:o,label:typeof n=="number"?String(n):n,sourceViewBox:p,graphicalItemId:void 0});gi.emit(Sf,c,m,s)}},[d,r,a,o,n,s,c,l,i,p])}function Fg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Bg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Fg(Object(r),!0).forEach(function(n){TH(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function TH(e,t,r){return(t=_H(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _H(e){var t=RH(e,"string");return typeof t=="symbol"?t:t+""}function RH(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 DH(e){return e.dataKey}function LH(e,t){return f.isValidElement(e)?f.cloneElement(e,t):typeof e=="function"?f.createElement(e,t):f.createElement(bL,t)}var $g=[],FH={allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",axisId:0,contentStyle:{},cursor:!0,filterNull:!0,includeHidden:!1,isAnimationActive:"auto",itemSorter:"name",itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,wrapperStyle:{}};function BH(e){var t,r,n=It(e,FH),{active:o,allowEscapeViewBox:i,animationDuration:a,animationEasing:s,content:c,filterNull:l,isAnimationActive:u,offset:d,payloadUniqBy:p,position:m,reverseDirection:g,useTranslate3d:v,wrapperStyle:y,cursor:b,shared:x,trigger:w,defaultIndex:C,portal:E,axisId:S}=n,O=Me(),P=typeof C=="number"?String(C):C;A.useEffect(()=>{O(_z({shared:x,trigger:w,axisId:S,active:o,defaultIndex:P}))},[O,x,w,S,o,P]);var j=$c(),D=S5(),L=Nz(x),{activeIndex:M,isActive:k}=(t=re(V=>VW(V,L,w,P)))!==null&&t!==void 0?t:{},$=re(V=>$W(V,L,w,P)),U=re(V=>U8(V,L,w,P)),W=re(V=>BW(V,L,w,P)),H=$,T=dH(),N=(r=o??k)!==null&&r!==void 0?r:!1,[z,X]=B_([H,N]),K=L==="axis"?U:void 0;IH(L,w,W,K,M,N);var J=E??T;if(J==null||j==null||L==null)return null;var ee=H??$g;N||(ee=$g),l&&ee.length&&(ee=s_(ee.filter(V=>V.value!=null&&(V.hide!==!0||n.includeHidden)),p,DH));var fe=ee.length>0,xe=f.createElement(OL,{allowEscapeViewBox:i,animationDuration:a,animationEasing:s,isAnimationActive:u,active:N,coordinate:W,hasPayload:fe,offset:d,position:m,reverseDirection:g,useTranslate3d:v,viewBox:j,wrapperStyle:y,lastBoundingBox:z,innerRef:X,hasPortalFromProps:!!E},LH(c,Bg(Bg({},n),{},{payload:ee,label:K,active:N,activeIndex:M,coordinate:W,accessibilityLayer:D})));return f.createElement(f.Fragment,null,Nn.createPortal(xe,J),N&&f.createElement(uH,{cursor:b,tooltipEventType:L,coordinate:W,payload:ee,index:M}))}var Q8=e=>null;Q8.displayName="Cell";function $H(e,t,r){return(t=VH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function VH(e){var t=zH(e,"string");return typeof t=="symbol"?t:t+""}function zH(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 WH{constructor(t){$H(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;n!=null&&this.cache.delete(n)}this.cache.set(t,r)}clear(){this.cache.clear()}size(){return this.cache.size}}function Vg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function HH(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vg(Object(r),!0).forEach(function(n){KH(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function KH(e,t,r){return(t=UH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function UH(e){var t=GH(e,"string");return typeof t=="symbol"?t:t+""}function GH(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 qH={cacheSize:2e3,enableCache:!0},X8=HH({},qH),zg=new WH(X8.cacheSize),YH={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},Wg="recharts_measurement_span";function ZH(e,t){var r=t.fontSize||"",n=t.fontFamily||"",o=t.fontWeight||"",i=t.fontStyle||"",a=t.letterSpacing||"",s=t.textTransform||"";return"".concat(e,"|").concat(r,"|").concat(n,"|").concat(o,"|").concat(i,"|").concat(a,"|").concat(s)}var Hg=(e,t)=>{try{var r=document.getElementById(Wg);r||(r=document.createElement("span"),r.setAttribute("id",Wg),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),Object.assign(r.style,YH,t),r.textContent="".concat(e);var n=r.getBoundingClientRect();return{width:n.width,height:n.height}}catch{return{width:0,height:0}}},Zo=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||Kc.isSsr)return{width:0,height:0};if(!X8.enableCache)return Hg(t,r);var n=ZH(t,r),o=zg.get(n);if(o)return o;var i=Hg(t,r);return zg.set(n,i),i},J8;function QH(e,t,r){return(t=XH(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function XH(e){var t=JH(e,"string");return typeof t=="symbol"?t:t+""}function JH(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 Kg=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Ug=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,eK=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,tK=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,rK={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},nK=["cm","mm","pt","pc","in","Q","px"];function oK(e){return nK.includes(e)}var Gn="NaN";function iK(e,t){return e*rK[t]}class qe{static parse(t){var r,[,n,o]=(r=tK.exec(t))!==null&&r!==void 0?r:[];return n==null?qe.NaN:new qe(parseFloat(n),o??"")}constructor(t,r){this.num=t,this.unit=r,this.num=t,this.unit=r,er(t)&&(this.unit=""),r!==""&&!eK.test(r)&&(this.num=NaN,this.unit=""),oK(r)&&(this.num=iK(t,r),this.unit="px")}add(t){return this.unit!==t.unit?new qe(NaN,""):new qe(this.num+t.num,this.unit)}subtract(t){return this.unit!==t.unit?new qe(NaN,""):new qe(this.num-t.num,this.unit)}multiply(t){return this.unit!==""&&t.unit!==""&&this.unit!==t.unit?new qe(NaN,""):new qe(this.num*t.num,this.unit||t.unit)}divide(t){return this.unit!==""&&t.unit!==""&&this.unit!==t.unit?new qe(NaN,""):new qe(this.num/t.num,this.unit||t.unit)}toString(){return"".concat(this.num).concat(this.unit)}isNaN(){return er(this.num)}}J8=qe;QH(qe,"NaN",new J8(NaN,""));function e7(e){if(e==null||e.includes(Gn))return Gn;for(var t=e;t.includes("*")||t.includes("/");){var r,[,n,o,i]=(r=Kg.exec(t))!==null&&r!==void 0?r:[],a=qe.parse(n??""),s=qe.parse(i??""),c=o==="*"?a.multiply(s):a.divide(s);if(c.isNaN())return Gn;t=t.replace(Kg,c.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var l,[,u,d,p]=(l=Ug.exec(t))!==null&&l!==void 0?l:[],m=qe.parse(u??""),g=qe.parse(p??""),v=d==="+"?m.add(g):m.subtract(g);if(v.isNaN())return Gn;t=t.replace(Ug,v.toString())}return t}var Gg=/\(([^()]*)\)/;function aK(e){for(var t=e,r;(r=Gg.exec(t))!=null;){var[,n]=r;t=t.replace(Gg,e7(n))}return t}function sK(e){var t=e.replace(/\s+/g,"");return t=aK(t),t=e7(t),t}function cK(e){try{return sK(e)}catch{return Gn}}function Yu(e){var t=cK(e.slice(5,-1));return t===Gn?"":t}var lK=["x","y","lineHeight","capHeight","fill","scaleToFit","textAnchor","verticalAnchor"],uK=["dx","dy","angle","className","breakAll"];function Af(){return Af=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},Af.apply(null,arguments)}function qg(e,t){if(e==null)return{};var r,n,o=dK(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function dK(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 t7=/[ \f\n\r\t\v\u2028\u2029]+/,r7=e=>{var{children:t,breakAll:r,style:n}=e;try{var o=[];ze(t)||(r?o=t.toString().split(""):o=t.toString().split(t7));var i=o.map(s=>({word:s,width:Zo(s,n).width})),a=r?0:Zo(" ",n).width;return{wordsWithComputedWidth:i,spaceWidth:a}}catch{return null}};function fK(e){return e==="start"||e==="middle"||e==="end"||e==="inherit"}var n7=(e,t,r,n)=>e.reduce((o,i)=>{var{word:a,width:s}=i,c=o[o.length-1];if(c&&s!=null&&(t==null||n||c.width+s+r<Number(t)))c.words.push(a),c.width+=s+r;else{var l={words:[a],width:s};o.push(l)}return o},[]),o7=e=>e.reduce((t,r)=>t.width>r.width?t:r),pK="…",Yg=(e,t,r,n,o,i,a,s)=>{var c=e.slice(0,t),l=r7({breakAll:r,style:n,children:c+pK});if(!l)return[!1,[]];var u=n7(l.wordsWithComputedWidth,i,a,s),d=u.length>o||o7(u).width>Number(i);return[d,u]},mK=(e,t,r,n,o)=>{var{maxLines:i,children:a,style:s,breakAll:c}=e,l=te(i),u=String(a),d=n7(t,n,r,o);if(!l||o)return d;var p=d.length>i||o7(d).width>Number(n);if(!p)return d;for(var m=0,g=u.length-1,v=0,y;m<=g&&v<=u.length-1;){var b=Math.floor((m+g)/2),x=b-1,[w,C]=Yg(u,x,c,s,i,n,r,o),[E]=Yg(u,b,c,s,i,n,r,o);if(!w&&!E&&(m=b+1),w&&E&&(g=b-1),!w&&E){y=C;break}v++}return y||d},Zg=e=>{var t=ze(e)?[]:e.toString().split(t7);return[{words:t,width:void 0}]},hK=e=>{var{width:t,scaleToFit:r,children:n,style:o,breakAll:i,maxLines:a}=e;if((t||r)&&!Kc.isSsr){var s,c,l=r7({breakAll:i,children:n,style:o});if(l){var{wordsWithComputedWidth:u,spaceWidth:d}=l;s=u,c=d}else return Zg(n);return mK({breakAll:i,children:n,maxLines:a,style:o},s,c,t,!!r)}return Zg(n)},i7="#808080",vK={angle:0,breakAll:!1,capHeight:"0.71em",fill:i7,lineHeight:"1em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end",x:0,y:0},U0=A.forwardRef((e,t)=>{var r=It(e,vK),{x:n,y:o,lineHeight:i,capHeight:a,fill:s,scaleToFit:c,textAnchor:l,verticalAnchor:u}=r,d=qg(r,lK),p=A.useMemo(()=>hK({breakAll:d.breakAll,children:d.children,maxLines:d.maxLines,scaleToFit:c,style:d.style,width:d.width}),[d.breakAll,d.children,d.maxLines,c,d.style,d.width]),{dx:m,dy:g,angle:v,className:y,breakAll:b}=d,x=qg(d,uK);if(!tr(n)||!tr(o)||p.length===0)return null;var w=Number(n)+(te(m)?m:0),C=Number(o)+(te(g)?g:0);if(!Oe(w)||!Oe(C))return null;var E;switch(u){case"start":E=Yu("calc(".concat(a,")"));break;case"middle":E=Yu("calc(".concat((p.length-1)/2," * -").concat(i," + (").concat(a," / 2))"));break;default:E=Yu("calc(".concat(p.length-1," * -").concat(i,")"));break}var S=[];if(c){var O=p[0].width,{width:P}=d;S.push("scale(".concat(te(P)&&te(O)?P/O:1,")"))}return v&&S.push("rotate(".concat(v,", ").concat(w,", ").concat(C,")")),S.length&&(x.transform=S.join(" ")),f.createElement("text",Af({},Nt(x),{ref:t,x:w,y:C,className:be("recharts-text",y),textAnchor:l,fill:s.includes("url")?i7:s}),p.map((j,D)=>{var L=j.words.join(b?"":" ");return f.createElement("tspan",{x:w,dy:D===0?E:i,key:"".concat(L,"-").concat(D)},L)}))});U0.displayName="Text";var gK=["labelRef"],yK=["content"];function Qg(e,t){if(e==null)return{};var r,n,o=bK(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function bK(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 Xg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Xg(Object(r),!0).forEach(function(n){xK(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function xK(e,t,r){return(t=wK(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wK(e){var t=CK(e,"string");return typeof t=="symbol"?t:t+""}function CK(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 cr(){return cr=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},cr.apply(null,arguments)}var a7=A.createContext(null),EK=e=>{var{x:t,y:r,upperWidth:n,lowerWidth:o,width:i,height:a,children:s}=e,c=A.useMemo(()=>({x:t,y:r,upperWidth:n,lowerWidth:o,width:i,height:a}),[t,r,n,o,i,a]);return f.createElement(a7.Provider,{value:c},s)},s7=()=>{var e=A.useContext(a7),t=$c();return e||v5(t)},SK=A.createContext(null),AK=()=>{var e=A.useContext(SK),t=re(F6);return e||t},OK=e=>{var{value:t,formatter:r}=e,n=ze(e.children)?t:e.children;return typeof r=="function"?r(n):n},G0=e=>e!=null&&typeof e=="function",PK=(e,t)=>{var r=yt(t-e),n=Math.min(Math.abs(t-e),360);return r*n},NK=(e,t,r,n,o)=>{var{offset:i,className:a}=e,{cx:s,cy:c,innerRadius:l,outerRadius:u,startAngle:d,endAngle:p,clockWise:m}=o,g=(l+u)/2,v=PK(d,p),y=v>=0?1:-1,b,x;switch(t){case"insideStart":b=d+y*i,x=m;break;case"insideEnd":b=p-y*i,x=!m;break;case"end":b=p+y*i,x=m;break;default:throw new Error("Unsupported position ".concat(t))}x=v<=0?x:!x;var w=Ze(s,c,g,b),C=Ze(s,c,g,b+(x?1:-1)*359),E="M".concat(w.x,",").concat(w.y,`
|
|
105
|
+
A`).concat(g,",").concat(g,",0,1,").concat(x?0:1,`,
|
|
106
|
+
`).concat(C.x,",").concat(C.y),S=ze(e.id)?oi("recharts-radial-line-"):e.id;return f.createElement("text",cr({},n,{dominantBaseline:"central",className:be("recharts-radial-bar-label",a)}),f.createElement("defs",null,f.createElement("path",{id:S,d:E})),f.createElement("textPath",{xlinkHref:"#".concat(S)},r))},MK=(e,t,r)=>{var{cx:n,cy:o,innerRadius:i,outerRadius:a,startAngle:s,endAngle:c}=e,l=(s+c)/2;if(r==="outside"){var{x:u,y:d}=Ze(n,o,a+t,l);return{x:u,y:d,textAnchor:u>=n?"start":"end",verticalAnchor:"middle"}}if(r==="center")return{x:n,y:o,textAnchor:"middle",verticalAnchor:"middle"};if(r==="centerTop")return{x:n,y:o,textAnchor:"middle",verticalAnchor:"start"};if(r==="centerBottom")return{x:n,y:o,textAnchor:"middle",verticalAnchor:"end"};var p=(i+a)/2,{x:m,y:g}=Ze(n,o,p,l);return{x:m,y:g,textAnchor:"middle",verticalAnchor:"middle"}},Of=e=>"cx"in e&&te(e.cx),jK=(e,t)=>{var{parentViewBox:r,offset:n,position:o}=e,i;r!=null&&!Of(r)&&(i=r);var{x:a,y:s,upperWidth:c,lowerWidth:l,height:u}=t,d=a,p=a+(c-l)/2,m=(d+p)/2,g=(c+l)/2,v=d+c/2,y=u>=0?1:-1,b=y*n,x=y>0?"end":"start",w=y>0?"start":"end",C=c>=0?1:-1,E=C*n,S=C>0?"end":"start",O=C>0?"start":"end";if(o==="top"){var P={x:d+c/2,y:s-b,textAnchor:"middle",verticalAnchor:x};return Ne(Ne({},P),i?{height:Math.max(s-i.y,0),width:c}:{})}if(o==="bottom"){var j={x:p+l/2,y:s+u+b,textAnchor:"middle",verticalAnchor:w};return Ne(Ne({},j),i?{height:Math.max(i.y+i.height-(s+u),0),width:l}:{})}if(o==="left"){var D={x:m-E,y:s+u/2,textAnchor:S,verticalAnchor:"middle"};return Ne(Ne({},D),i?{width:Math.max(D.x-i.x,0),height:u}:{})}if(o==="right"){var L={x:m+g+E,y:s+u/2,textAnchor:O,verticalAnchor:"middle"};return Ne(Ne({},L),i?{width:Math.max(i.x+i.width-L.x,0),height:u}:{})}var M=i?{width:g,height:u}:{};return o==="insideLeft"?Ne({x:m+E,y:s+u/2,textAnchor:O,verticalAnchor:"middle"},M):o==="insideRight"?Ne({x:m+g-E,y:s+u/2,textAnchor:S,verticalAnchor:"middle"},M):o==="insideTop"?Ne({x:d+c/2,y:s+b,textAnchor:"middle",verticalAnchor:w},M):o==="insideBottom"?Ne({x:p+l/2,y:s+u-b,textAnchor:"middle",verticalAnchor:x},M):o==="insideTopLeft"?Ne({x:d+E,y:s+b,textAnchor:O,verticalAnchor:w},M):o==="insideTopRight"?Ne({x:d+c-E,y:s+b,textAnchor:S,verticalAnchor:w},M):o==="insideBottomLeft"?Ne({x:p+E,y:s+u-b,textAnchor:O,verticalAnchor:x},M):o==="insideBottomRight"?Ne({x:p+l-E,y:s+u-b,textAnchor:S,verticalAnchor:x},M):o&&typeof o=="object"&&(te(o.x)||hr(o.x))&&(te(o.y)||hr(o.y))?Ne({x:a+Vt(o.x,g),y:s+Vt(o.y,u),textAnchor:"end",verticalAnchor:"end"},M):Ne({x:v,y:s+u/2,textAnchor:"middle",verticalAnchor:"middle"},M)},kK={angle:0,offset:5,zIndex:ut.label,position:"middle",textBreakAll:!1};function Rr(e){var t=It(e,kK),{viewBox:r,position:n,value:o,children:i,content:a,className:s="",textBreakAll:c,labelRef:l}=t,u=AK(),d=s7(),p=n==="center"?d:u??d,m,g,v;if(r==null?m=p:Of(r)?m=r:m=v5(r),!m||ze(o)&&ze(i)&&!A.isValidElement(a)&&typeof a!="function")return null;var y=Ne(Ne({},t),{},{viewBox:m});if(A.isValidElement(a)){var{labelRef:b}=y,x=Qg(y,gK);return A.cloneElement(a,x)}if(typeof a=="function"){var{content:w}=y,C=Qg(y,yK);if(g=A.createElement(a,C),A.isValidElement(g))return g}else g=OK(t);var E=Nt(t);if(Of(m)){if(n==="insideStart"||n==="insideEnd"||n==="end")return NK(t,n,g,E,m);v=MK(m,t.offset,t.position)}else v=jK(t,m);return f.createElement(en,{zIndex:t.zIndex},f.createElement(U0,cr({ref:l,className:be("recharts-label",s)},E,v,{textAnchor:fK(E.textAnchor)?E.textAnchor:v.textAnchor,breakAll:c}),g))}Rr.displayName="Label";var IK=(e,t,r)=>{if(!e)return null;var n={viewBox:t,labelRef:r};return e===!0?f.createElement(Rr,cr({key:"label-implicit"},n)):tr(e)?f.createElement(Rr,cr({key:"label-implicit",value:e},n)):A.isValidElement(e)?e.type===Rr?A.cloneElement(e,Ne({key:"label-implicit"},n)):f.createElement(Rr,cr({key:"label-implicit",content:e},n)):G0(e)?f.createElement(Rr,cr({key:"label-implicit",content:e},n)):e&&typeof e=="object"?f.createElement(Rr,cr({},e,{key:"label-implicit"},n)):null};function TK(e){var{label:t,labelRef:r}=e,n=s7();return IK(t,n,r)||null}var Zu={},Qu={},Jg;function _K(){return Jg||(Jg=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r[r.length-1]}e.last=t})(Qu)),Qu}var Xu={},e2;function RK(){return e2||(e2=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return Array.isArray(r)?r:Array.from(r)}e.toArray=t})(Xu)),Xu}var t2;function DK(){return t2||(t2=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=_K(),r=RK(),n=_p();function o(i){if(n.isArrayLike(i))return t.last(r.toArray(i))}e.last=o})(Zu)),Zu}var Ju,r2;function LK(){return r2||(r2=1,Ju=DK().last),Ju}var FK=LK();const BK=Cr(FK);var $K=["valueAccessor"],VK=["dataKey","clockWise","id","textBreakAll","zIndex"];function Bs(){return Bs=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},Bs.apply(null,arguments)}function n2(e,t){if(e==null)return{};var r,n,o=zK(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function zK(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 WK=e=>Array.isArray(e.value)?BK(e.value):e.value,c7=A.createContext(void 0),HK=c7.Provider,l7=A.createContext(void 0);l7.Provider;function KK(){return A.useContext(c7)}function UK(){return A.useContext(l7)}function Va(e){var{valueAccessor:t=WK}=e,r=n2(e,$K),{dataKey:n,clockWise:o,id:i,textBreakAll:a,zIndex:s}=r,c=n2(r,VK),l=KK(),u=UK(),d=l||u;return!d||!d.length?null:f.createElement(en,{zIndex:s??ut.label},f.createElement(mr,{className:"recharts-label-list"},d.map((p,m)=>{var g,v=ze(n)?t(p,m):Xe(p&&p.payload,n),y=ze(i)?{}:{id:"".concat(i,"-").concat(m)};return f.createElement(Rr,Bs({key:"label-".concat(m)},Nt(p),c,y,{fill:(g=r.fill)!==null&&g!==void 0?g:p.fill,parentViewBox:p.parentViewBox,value:v,textBreakAll:a,viewBox:p.viewBox,index:m,zIndex:0}))})))}Va.displayName="LabelList";function GK(e){var{label:t}=e;return t?t===!0?f.createElement(Va,{key:"labelList-implicit"}):f.isValidElement(t)||G0(t)?f.createElement(Va,{key:"labelList-implicit",content:t}):typeof t=="object"?f.createElement(Va,Bs({key:"labelList-implicit"},t,{type:String(t.type)})):null:null}var qK={radiusAxis:{},angleAxis:{}},u7=pt({name:"polarAxis",initialState:qK,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:mQ,removeRadiusAxis:hQ,addAngleAxis:vQ,removeAngleAxis:gQ}=u7.actions,YK=u7.reducer,Ia={exports:{}},ve={};var o2;function ZK(){if(o2)return ve;o2=1;var e=60103,t=60106,r=60107,n=60108,o=60114,i=60109,a=60110,s=60112,c=60113,l=60120,u=60115,d=60116,p=60121,m=60122,g=60117,v=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),n=b("react.strict_mode"),o=b("react.profiler"),i=b("react.provider"),a=b("react.context"),s=b("react.forward_ref"),c=b("react.suspense"),l=b("react.suspense_list"),u=b("react.memo"),d=b("react.lazy"),p=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function x(k){if(typeof k=="object"&&k!==null){var $=k.$$typeof;switch($){case e:switch(k=k.type,k){case r:case o:case n:case c:case l:return k;default:switch(k=k&&k.$$typeof,k){case a:case s:case d:case u:case i:return k;default:return $}}case t:return $}}}var w=i,C=e,E=s,S=r,O=d,P=u,j=t,D=o,L=n,M=c;return ve.ContextConsumer=a,ve.ContextProvider=w,ve.Element=C,ve.ForwardRef=E,ve.Fragment=S,ve.Lazy=O,ve.Memo=P,ve.Portal=j,ve.Profiler=D,ve.StrictMode=L,ve.Suspense=M,ve.isAsyncMode=function(){return!1},ve.isConcurrentMode=function(){return!1},ve.isContextConsumer=function(k){return x(k)===a},ve.isContextProvider=function(k){return x(k)===i},ve.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===e},ve.isForwardRef=function(k){return x(k)===s},ve.isFragment=function(k){return x(k)===r},ve.isLazy=function(k){return x(k)===d},ve.isMemo=function(k){return x(k)===u},ve.isPortal=function(k){return x(k)===t},ve.isProfiler=function(k){return x(k)===o},ve.isStrictMode=function(k){return x(k)===n},ve.isSuspense=function(k){return x(k)===c},ve.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===r||k===o||k===v||k===n||k===c||k===l||k===y||typeof k=="object"&&k!==null&&(k.$$typeof===d||k.$$typeof===u||k.$$typeof===i||k.$$typeof===a||k.$$typeof===s||k.$$typeof===g||k.$$typeof===p||k[0]===m)},ve.typeOf=x,ve}var ge={};var i2;function QK(){return i2||(i2=1,process.env.NODE_ENV!=="production"&&(function(){var e=60103,t=60106,r=60107,n=60108,o=60114,i=60109,a=60110,s=60112,c=60113,l=60120,u=60115,d=60116,p=60121,m=60122,g=60117,v=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),n=b("react.strict_mode"),o=b("react.profiler"),i=b("react.provider"),a=b("react.context"),s=b("react.forward_ref"),c=b("react.suspense"),l=b("react.suspense_list"),u=b("react.memo"),d=b("react.lazy"),p=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),b("react.scope"),b("react.opaque.id"),v=b("react.debug_trace_mode"),b("react.offscreen"),y=b("react.legacy_hidden")}var x=!1;function w(F){return!!(typeof F=="string"||typeof F=="function"||F===r||F===o||F===v||F===n||F===c||F===l||F===y||x||typeof F=="object"&&F!==null&&(F.$$typeof===d||F.$$typeof===u||F.$$typeof===i||F.$$typeof===a||F.$$typeof===s||F.$$typeof===g||F.$$typeof===p||F[0]===m))}function C(F){if(typeof F=="object"&&F!==null){var R=F.$$typeof;switch(R){case e:var le=F.type;switch(le){case r:case o:case n:case c:case l:return le;default:var ae=le&&le.$$typeof;switch(ae){case a:case s:case d:case u:case i:return ae;default:return R}}case t:return R}}}var E=a,S=i,O=e,P=s,j=r,D=d,L=u,M=t,k=o,$=n,U=c,W=!1,H=!1;function T(F){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function N(F){return H||(H=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function z(F){return C(F)===a}function X(F){return C(F)===i}function K(F){return typeof F=="object"&&F!==null&&F.$$typeof===e}function J(F){return C(F)===s}function ee(F){return C(F)===r}function fe(F){return C(F)===d}function xe(F){return C(F)===u}function V(F){return C(F)===t}function se(F){return C(F)===o}function _(F){return C(F)===n}function q(F){return C(F)===c}ge.ContextConsumer=E,ge.ContextProvider=S,ge.Element=O,ge.ForwardRef=P,ge.Fragment=j,ge.Lazy=D,ge.Memo=L,ge.Portal=M,ge.Profiler=k,ge.StrictMode=$,ge.Suspense=U,ge.isAsyncMode=T,ge.isConcurrentMode=N,ge.isContextConsumer=z,ge.isContextProvider=X,ge.isElement=K,ge.isForwardRef=J,ge.isFragment=ee,ge.isLazy=fe,ge.isMemo=xe,ge.isPortal=V,ge.isProfiler=se,ge.isStrictMode=_,ge.isSuspense=q,ge.isValidElementType=w,ge.typeOf=C})()),ge}var a2;function XK(){return a2||(a2=1,process.env.NODE_ENV==="production"?Ia.exports=ZK():Ia.exports=QK()),Ia.exports}var JK=XK(),s2=e=>typeof e=="string"?e:e?e.displayName||e.name||"Component":"",c2=null,ed=null,d7=e=>{if(e===c2&&Array.isArray(ed))return ed;var t=[];return A.Children.forEach(e,r=>{ze(r)||(JK.isFragment(r)?t=t.concat(d7(r.props.children)):t.push(r))}),ed=t,c2=e,t};function eU(e,t){var r=[],n=[];return Array.isArray(t)?n=t.map(o=>s2(o)):n=[s2(t)],d7(e).forEach(o=>{var i=io(o,"type.displayName")||io(o,"type.name");i&&n.indexOf(i)!==-1&&r.push(o)}),r}var td={},l2;function tU(){return l2||(l2=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){if(typeof r!="object"||r==null)return!1;if(Object.getPrototypeOf(r)===null)return!0;if(Object.prototype.toString.call(r)!=="[object Object]"){const o=r[Symbol.toStringTag];return o==null||!Object.getOwnPropertyDescriptor(r,Symbol.toStringTag)?.writable?!1:r.toString()===`[object ${o}]`}let n=r;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(r)===n}e.isPlainObject=t})(td)),td}var rd,u2;function rU(){return u2||(u2=1,rd=tU().isPlainObject),rd}var nU=rU();const oU=Cr(nU);var d2,f2,p2,m2,h2;function v2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function g2(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?v2(Object(r),!0).forEach(function(n){iU(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v2(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function iU(e,t,r){return(t=aU(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aU(e){var t=sU(e,"string");return typeof t=="symbol"?t:t+""}function sU(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 $s(){return $s=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},$s.apply(null,arguments)}function Vo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var y2=(e,t,r,n,o)=>{var i=r-n,a;return a=Pe(d2||(d2=Vo(["M ",",",""])),e,t),a+=Pe(f2||(f2=Vo(["L ",",",""])),e+r,t),a+=Pe(p2||(p2=Vo(["L ",",",""])),e+r-i/2,t+o),a+=Pe(m2||(m2=Vo(["L ",",",""])),e+r-i/2-n,t+o),a+=Pe(h2||(h2=Vo(["L ",","," Z"])),e,t),a},cU={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},lU=e=>{var t=It(e,cU),{x:r,y:n,upperWidth:o,lowerWidth:i,height:a,className:s}=t,{animationEasing:c,animationDuration:l,animationBegin:u,isUpdateAnimationActive:d}=t,p=A.useRef(null),[m,g]=A.useState(-1),v=A.useRef(o),y=A.useRef(i),b=A.useRef(a),x=A.useRef(r),w=A.useRef(n),C=Gp(e,"trapezoid-");if(A.useEffect(()=>{if(p.current&&p.current.getTotalLength)try{var $=p.current.getTotalLength();$&&g($)}catch{}},[]),r!==+r||n!==+n||o!==+o||i!==+i||a!==+a||o===0&&i===0||a===0)return null;var E=be("recharts-trapezoid",s);if(!d)return f.createElement("g",null,f.createElement("path",$s({},Nt(t),{className:E,d:y2(r,n,o,i,a)})));var S=v.current,O=y.current,P=b.current,j=x.current,D=w.current,L="0px ".concat(m===-1?1:m,"px"),M="".concat(m,"px 0px"),k=O5(["strokeDasharray"],l,c);return f.createElement(Up,{animationId:C,key:C,canBegin:m>0,duration:l,easing:c,isActive:d,begin:u},$=>{var U=Ye(S,o,$),W=Ye(O,i,$),H=Ye(P,a,$),T=Ye(j,r,$),N=Ye(D,n,$);p.current&&(v.current=U,y.current=W,b.current=H,x.current=T,w.current=N);var z=$>0?{transition:k,strokeDasharray:M}:{strokeDasharray:L};return f.createElement("path",$s({},Nt(t),{className:E,d:y2(T,N,U,W,H),ref:p,style:g2(g2({},z),t.style)}))})},uU=["option","shapeType","activeClassName"];function dU(e,t){if(e==null)return{};var r,n,o=fU(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function fU(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 b2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Vs(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?b2(Object(r),!0).forEach(function(n){pU(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b2(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function pU(e,t,r){return(t=mU(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mU(e){var t=hU(e,"string");return typeof t=="symbol"?t:t+""}function hU(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 vU(e,t){return Vs(Vs({},t),e)}function gU(e,t){return e==="symbols"}function x2(e){var{shapeType:t,elementProps:r}=e;switch(t){case"rectangle":return f.createElement(j5,r);case"trapezoid":return f.createElement(lU,r);case"sector":return f.createElement(T5,r);case"symbols":if(gU(t))return f.createElement(h3,r);break;case"curve":return f.createElement(A5,r);default:return null}}function yU(e){return A.isValidElement(e)?e.props:e}function bU(e){var{option:t,shapeType:r,activeClassName:n="recharts-active-shape"}=e,o=dU(e,uU),i;if(A.isValidElement(t))i=A.cloneElement(t,Vs(Vs({},o),yU(t)));else if(typeof t=="function")i=t(o,o.index);else if(oU(t)&&typeof t!="boolean"){var a=vU(t,o);i=f.createElement(x2,{shapeType:r,elementProps:a})}else{var s=o;i=f.createElement(x2,{shapeType:r,elementProps:s})}return o.isActive?f.createElement(mr,{className:n},i):i}var f7=(e,t,r)=>{var n=Me();return(o,i)=>a=>{e?.(o,i,a),n(P8({activeIndex:String(i),activeDataKey:t,activeCoordinate:o.tooltipPosition,activeGraphicalItemId:r}))}},p7=e=>{var t=Me();return(r,n)=>o=>{e?.(r,n,o),t(Rz())}},m7=(e,t,r)=>{var n=Me();return(o,i)=>a=>{e?.(o,i,a),n(Dz({activeIndex:String(i),activeDataKey:t,activeCoordinate:o.tooltipPosition,activeGraphicalItemId:r}))}};function xU(e){var{tooltipEntrySettings:t}=e,r=Me(),n=Ct(),o=A.useRef(null);return A.useLayoutEffect(()=>{n||(o.current===null?r(kz(t)):o.current!==t&&r(Iz({prev:o.current,next:t})),o.current=t)},[t,r,n]),A.useLayoutEffect(()=>()=>{o.current&&(r(Tz(o.current)),o.current=null)},[r]),null}function wU(e){var{legendPayload:t}=e,r=Me(),n=Ct(),o=A.useRef(null);return A.useLayoutEffect(()=>{n||(o.current===null?r(dL(t)):o.current!==t&&r(fL({prev:o.current,next:t})),o.current=t)},[r,n,t]),A.useLayoutEffect(()=>()=>{o.current&&(r(pL(o.current)),o.current=null)},[r]),null}var nd,CU=()=>{var[e]=f.useState(()=>oi("uid-"));return e},EU=(nd=f.useId)!==null&&nd!==void 0?nd:CU;function SU(e,t){var r=EU();return t||(e?"".concat(e,"-").concat(r):r)}var AU=A.createContext(void 0),OU=e=>{var{id:t,type:r,children:n}=e,o=SU("recharts-".concat(r),t);return f.createElement(AU.Provider,{value:o},n(o))},PU={cartesianItems:[],polarItems:[]},h7=pt({name:"graphicalItems",initialState:PU,reducers:{addCartesianGraphicalItem:{reducer(e,t){e.cartesianItems.push(t.payload)},prepare:Se()},replaceCartesianGraphicalItem:{reducer(e,t){var{prev:r,next:n}=t.payload,o=Lt(e).cartesianItems.indexOf(r);o>-1&&(e.cartesianItems[o]=n)},prepare:Se()},removeCartesianGraphicalItem:{reducer(e,t){var r=Lt(e).cartesianItems.indexOf(t.payload);r>-1&&e.cartesianItems.splice(r,1)},prepare:Se()},addPolarGraphicalItem:{reducer(e,t){e.polarItems.push(t.payload)},prepare:Se()},removePolarGraphicalItem:{reducer(e,t){var r=Lt(e).polarItems.indexOf(t.payload);r>-1&&e.polarItems.splice(r,1)},prepare:Se()}}}),{addCartesianGraphicalItem:NU,replaceCartesianGraphicalItem:MU,removeCartesianGraphicalItem:jU,addPolarGraphicalItem:yQ,removePolarGraphicalItem:bQ}=h7.actions,kU=h7.reducer,IU=e=>{var t=Me(),r=A.useRef(null);return A.useLayoutEffect(()=>{r.current===null?t(NU(e)):r.current!==e&&t(MU({prev:r.current,next:e})),r.current=e},[t,e]),A.useLayoutEffect(()=>()=>{r.current&&(t(jU(r.current)),r.current=null)},[t]),null},TU=A.memo(IU);function w2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function C2(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?w2(Object(r),!0).forEach(function(n){_U(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w2(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function _U(e,t,r){return(t=RU(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function RU(e){var t=DU(e,"string");return typeof t=="symbol"?t:t+""}function DU(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 v7=0,LU={xAxis:{},yAxis:{},zAxis:{}},g7=pt({name:"cartesianAxis",initialState:LU,reducers:{addXAxis:{reducer(e,t){e.xAxis[t.payload.id]=t.payload},prepare:Se()},replaceXAxis:{reducer(e,t){var{prev:r,next:n}=t.payload;e.xAxis[r.id]!==void 0&&(r.id!==n.id&&delete e.xAxis[r.id],e.xAxis[n.id]=n)},prepare:Se()},removeXAxis:{reducer(e,t){delete e.xAxis[t.payload.id]},prepare:Se()},addYAxis:{reducer(e,t){e.yAxis[t.payload.id]=t.payload},prepare:Se()},replaceYAxis:{reducer(e,t){var{prev:r,next:n}=t.payload;e.yAxis[r.id]!==void 0&&(r.id!==n.id&&delete e.yAxis[r.id],e.yAxis[n.id]=n)},prepare:Se()},removeYAxis:{reducer(e,t){delete e.yAxis[t.payload.id]},prepare:Se()},addZAxis:{reducer(e,t){e.zAxis[t.payload.id]=t.payload},prepare:Se()},replaceZAxis:{reducer(e,t){var{prev:r,next:n}=t.payload;e.zAxis[r.id]!==void 0&&(r.id!==n.id&&delete e.zAxis[r.id],e.zAxis[n.id]=n)},prepare:Se()},removeZAxis:{reducer(e,t){delete e.zAxis[t.payload.id]},prepare:Se()},updateYAxisWidth(e,t){var{id:r,width:n}=t.payload,o=e.yAxis[r];if(o){var i=o.widthHistory||[];if(i.length===3&&i[0]===i[2]&&n===i[1]&&n!==o.width&&Math.abs(n-i[0])<=1)return;var a=[...i,n].slice(-3);e.yAxis[r]=C2(C2({},e.yAxis[r]),{},{width:n,widthHistory:a})}}}}),{addXAxis:FU,replaceXAxis:BU,removeXAxis:$U,addYAxis:VU,replaceYAxis:zU,removeYAxis:WU,addZAxis:xQ,replaceZAxis:wQ,removeZAxis:CQ,updateYAxisWidth:HU}=g7.actions,KU=g7.reducer,UU=I([We],e=>({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),GU=I([UU,Er,Sr],(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)}}),y7=()=>re(GU),E2=(e,t,r)=>{var n=r??e;if(!ze(n))return Vt(n,t,0)},qU=(e,t,r)=>{var n={},o=e.filter(rl),i=e.filter(l=>l.stackId==null),a=o.reduce((l,u)=>(l[u.stackId]||(l[u.stackId]=[]),l[u.stackId].push(u),l),n),s=Object.entries(a).map(l=>{var[u,d]=l,p=d.map(g=>g.dataKey),m=E2(t,r,d[0].barSize);return{stackId:u,dataKeys:p,barSize:m}}),c=i.map(l=>{var u=[l.dataKey].filter(p=>p!=null),d=E2(t,r,l.barSize);return{stackId:void 0,dataKeys:u,barSize:d}});return[...s,...c]};function S2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ta(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?S2(Object(r),!0).forEach(function(n){YU(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S2(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function YU(e,t,r){return(t=ZU(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ZU(e){var t=QU(e,"string");return typeof t=="symbol"?t:t+""}function QU(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function XU(e,t,r,n,o){var i=n.length;if(!(i<1)){var a=Vt(e,r,0,!0),s,c=[];if(Oe(n[0].barSize)){var l=!1,u=r/i,d=n.reduce((b,x)=>b+(x.barSize||0),0);d+=(i-1)*a,d>=r&&(d-=(i-1)*a,a=0),d>=r&&u>0&&(l=!0,u*=.9,d=i*u);var p=(r-d)/2>>0,m={offset:p-a,size:0};s=n.reduce((b,x)=>{var w,C={stackId:x.stackId,dataKeys:x.dataKeys,position:{offset:m.offset+m.size+a,size:l?u:(w=x.barSize)!==null&&w!==void 0?w:0}},E=[...b,C];return m=E[E.length-1].position,E},c)}else{var g=Vt(t,r,0,!0);r-2*g-(i-1)*a<=0&&(a=0);var v=(r-2*g-(i-1)*a)/i;v>1&&(v>>=0);var y=Oe(o)?Math.min(v,o):v;s=n.reduce((b,x,w)=>[...b,{stackId:x.stackId,dataKeys:x.dataKeys,position:{offset:g+(v+a)*w+(v-y)/2,size:y}}],c)}return s}}var JU=(e,t,r,n,o,i,a)=>{var s=ze(a)?t:a,c=XU(r,n,o!==i?o:i,e,s);return o!==i&&c!=null&&(c=c.map(l=>Ta(Ta({},l),{},{position:Ta(Ta({},l.position),{},{offset:l.position.offset-o/2})}))),c},eG=(e,t)=>{var r=A0(t);if(!(!e||r==null||t==null)){var{stackId:n}=t;if(n!=null){var o=e[n];if(o){var{stackedData:i}=o;if(i)return i.find(a=>a.key===r)}}}};function tG(e,t){return e&&typeof e=="object"&&"zIndex"in e&&typeof e.zIndex=="number"&&Oe(e.zIndex)?e.zIndex:t}var rG=e=>{var{chartData:t}=e,r=Me(),n=Ct();return A.useEffect(()=>n?()=>{}:(r(Dg(t)),()=>{r(Dg(void 0))}),[t,r,n]),null},A2={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},b7=pt({name:"brush",initialState:A2,reducers:{setBrushSettings(e,t){return t.payload==null?A2:t.payload}}}),{setBrushSettings:EQ}=b7.actions,nG=b7.reducer;function oG(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=aG(e,"string");return typeof t=="symbol"?t:t+""}function aG(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 q0{static create(t){return new q0(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 o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o}case"end":{var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}default:return this.scale(t)}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}isInRange(t){var r=this.range(),n=r[0],o=r[r.length-1];return n<=o?t>=n&&t<=o:t>=o&&t<=n}}oG(q0,"EPS",1e-4);function sG(e){return(e%180+180)%180}var cG=function(t){var{width:r,height:n}=t,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=sG(o),a=i*Math.PI/180,s=Math.atan(n/r),c=a>s&&a<Math.PI-s?n/Math.sin(a):r/Math.cos(a);return Math.abs(c)},lG={dots:[],areas:[],lines:[]},x7=pt({name:"referenceElements",initialState:lG,reducers:{addDot:(e,t)=>{e.dots.push(t.payload)},removeDot:(e,t)=>{var r=Lt(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=Lt(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=Lt(e).lines.findIndex(n=>n===t.payload);r!==-1&&e.lines.splice(r,1)}}}),{addDot:SQ,removeDot:AQ,addArea:OQ,removeArea:PQ,addLine:NQ,removeLine:MQ}=x7.actions,uG=x7.reducer,dG=A.createContext(void 0),fG=e=>{var{children:t}=e,[r]=A.useState("".concat(oi("recharts"),"-clip")),n=y7();if(n==null)return null;var{x:o,y:i,width:a,height:s}=n;return f.createElement(dG.Provider,{value:r},f.createElement("defs",null,f.createElement("clipPath",{id:r},f.createElement("rect",{x:o,y:i,height:s,width:a}))),t)};function w7(e,t){if(t<1)return[];if(t===1)return e;for(var r=[],n=0;n<e.length;n+=t){var o=e[n];o!==void 0&&r.push(o)}return r}function pG(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return cG(n,r)}function mG(e,t,r){var n=r==="width",{x:o,y:i,width:a,height:s}=e;return t===1?{start:n?o:i,end:n?o+a:i+s}:{start:n?o+a:i+s,end:n?o:i}}function yi(e,t,r,n,o){if(e*t<e*n||e*t>e*o)return!1;var i=r();return e*(t-e*i/2-n)>=0&&e*(t+e*i/2-o)<=0}function hG(e,t){return w7(e,t+1)}function vG(e,t,r,n,o){for(var i=(n||[]).slice(),{start:a,end:s}=t,c=0,l=1,u=a,d=function(){var g=n?.[c];if(g===void 0)return{v:w7(n,l)};var v=c,y,b=()=>(y===void 0&&(y=r(g,v)),y),x=g.coordinate,w=c===0||yi(e,x,b,u,s);w||(c=0,u=a,l+=1),w&&(u=x+e*(b()/2+o),c+=l)},p;l<=i.length;)if(p=d(),p)return p.v;return[]}function gG(e,t,r,n,o){var i=(n||[]).slice(),a=i.length;if(a===0)return[];for(var{start:s,end:c}=t,l=1;l<=a;l++){for(var u=(a-1)%l,d=s,p=!0,m=function(){var x=n[g],w=g,C,E=()=>(C===void 0&&(C=r(x,w)),C),S=x.coordinate,O=g===u||yi(e,S,E,d,c);if(!O)return p=!1,1;O&&(d=S+e*(E()/2+o))},g=u;g<a&&!m();g+=l);if(p){for(var v=[],y=u;y<a;y+=l)v.push(n[y]);return v}}return[]}function O2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?O2(Object(r),!0).forEach(function(n){yG(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O2(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function yG(e,t,r){return(t=bG(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bG(e){var t=xG(e,"string");return typeof t=="symbol"?t:t+""}function xG(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 wG(e,t,r,n,o){for(var i=(n||[]).slice(),a=i.length,{start:s}=t,{end:c}=t,l=function(p){var m=i[p],g,v=()=>(g===void 0&&(g=r(m,p)),g);if(p===a-1){var y=e*(m.coordinate+e*v()/2-c);i[p]=m=Je(Je({},m),{},{tickCoord:y>0?m.coordinate-y*e:m.coordinate})}else i[p]=m=Je(Je({},m),{},{tickCoord:m.coordinate});if(m.tickCoord!=null){var b=yi(e,m.tickCoord,v,s,c);b&&(c=m.tickCoord-e*(v()/2+o),i[p]=Je(Je({},m),{},{isShow:!0}))}},u=a-1;u>=0;u--)l(u);return i}function CG(e,t,r,n,o,i){var a=(n||[]).slice(),s=a.length,{start:c,end:l}=t;if(i){var u=n[s-1],d=r(u,s-1),p=e*(u.coordinate+e*d/2-l);if(a[s-1]=u=Je(Je({},u),{},{tickCoord:p>0?u.coordinate-p*e:u.coordinate}),u.tickCoord!=null){var m=yi(e,u.tickCoord,()=>d,c,l);m&&(l=u.tickCoord-e*(d/2+o),a[s-1]=Je(Je({},u),{},{isShow:!0}))}}for(var g=i?s-1:s,v=function(x){var w=a[x],C,E=()=>(C===void 0&&(C=r(w,x)),C);if(x===0){var S=e*(w.coordinate-e*E()/2-c);a[x]=w=Je(Je({},w),{},{tickCoord:S<0?w.coordinate-S*e:w.coordinate})}else a[x]=w=Je(Je({},w),{},{tickCoord:w.coordinate});if(w.tickCoord!=null){var O=yi(e,w.tickCoord,E,c,l);O&&(c=w.tickCoord+e*(E()/2+o),a[x]=Je(Je({},w),{},{isShow:!0}))}},y=0;y<g;y++)v(y);return a}function EG(e,t,r){var{tick:n,ticks:o,viewBox:i,minTickGap:a,orientation:s,interval:c,tickFormatter:l,unit:u,angle:d}=e;if(!o||!o.length||!n)return[];if(te(c)||Kc.isSsr){var p;return(p=hG(o,te(c)?c:0))!==null&&p!==void 0?p:[]}var m=[],g=s==="top"||s==="bottom"?"width":"height",v=u&&g==="width"?Zo(u,{fontSize:t,letterSpacing:r}):{width:0,height:0},y=(w,C)=>{var E=typeof l=="function"?l(w.value,C):w.value;return g==="width"?pG(Zo(E,{fontSize:t,letterSpacing:r}),v,d):Zo(E,{fontSize:t,letterSpacing:r})[g]},b=o.length>=2?yt(o[1].coordinate-o[0].coordinate):1,x=mG(i,b,g);return c==="equidistantPreserveStart"?vG(b,x,y,o,a):c==="equidistantPreserveEnd"?gG(b,x,y,o,a):(c==="preserveStart"||c==="preserveStartEnd"?m=CG(b,x,y,o,a,c==="preserveStartEnd"):m=wG(b,x,y,o,a),m.filter(w=>w.isShow))}var SG=e=>{var{ticks:t,label:r,labelGapWithTick:n=5,tickSize:o=0,tickMargin:i=0}=e,a=0;if(t){Array.from(t).forEach(u=>{if(u){var d=u.getBoundingClientRect();d.width>a&&(a=d.width)}});var s=r?r.getBoundingClientRect().width:0,c=o+i,l=a+c+s+(r?n:0);return Math.round(l)}return 0},AG=["axisLine","width","height","className","hide","ticks","axisType"];function OG(e,t){if(e==null)return{};var r,n,o=PG(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function PG(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 On(){return On=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},On.apply(null,arguments)}function P2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?P2(Object(r),!0).forEach(function(n){NG(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P2(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function NG(e,t,r){return(t=MG(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function MG(e){var t=jG(e,"string");return typeof t=="symbol"?t:t+""}function jG(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 hn={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",zIndex:ut.axis};function kG(e){var{x:t,y:r,width:n,height:o,orientation:i,mirror:a,axisLine:s,otherSvgProps:c}=e;if(!s)return null;var l=je(je(je({},c),Hr(s)),{},{fill:"none"});if(i==="top"||i==="bottom"){var u=+(i==="top"&&!a||i==="bottom"&&a);l=je(je({},l),{},{x1:t,y1:r+u*o,x2:t+n,y2:r+u*o})}else{var d=+(i==="left"&&!a||i==="right"&&a);l=je(je({},l),{},{x1:t+d*n,y1:r,x2:t+d*n,y2:r+o})}return f.createElement("line",On({},l,{className:be("recharts-cartesian-axis-line",io(s,"className"))}))}function IG(e,t,r,n,o,i,a,s,c){var l,u,d,p,m,g,v=s?-1:1,y=e.tickSize||a,b=te(e.tickCoord)?e.tickCoord:e.coordinate;switch(i){case"top":l=u=e.coordinate,p=r+ +!s*o,d=p-v*y,g=d-v*c,m=b;break;case"left":d=p=e.coordinate,u=t+ +!s*n,l=u-v*y,m=l-v*c,g=b;break;case"right":d=p=e.coordinate,u=t+ +s*n,l=u+v*y,m=l+v*c,g=b;break;default:l=u=e.coordinate,p=r+ +s*o,d=p+v*y,g=d+v*c,m=b;break}return{line:{x1:l,y1:d,x2:u,y2:p},tick:{x:m,y:g}}}function TG(e,t){switch(e){case"left":return t?"start":"end";case"right":return t?"end":"start";default:return"middle"}}function _G(e,t){switch(e){case"left":case"right":return"middle";case"top":return t?"start":"end";default:return t?"end":"start"}}function RG(e){var{option:t,tickProps:r,value:n}=e,o,i=be(r.className,"recharts-cartesian-axis-tick-value");if(f.isValidElement(t))o=f.cloneElement(t,je(je({},r),{},{className:i}));else if(typeof t=="function")o=t(je(je({},r),{},{className:i}));else{var a="recharts-cartesian-axis-tick-value";typeof t!="boolean"&&(a=be(a,t?.className)),o=f.createElement(U0,On({},r,{className:a}),n)}return o}var DG=A.forwardRef((e,t)=>{var{ticks:r=[],tick:n,tickLine:o,stroke:i,tickFormatter:a,unit:s,padding:c,tickTextProps:l,orientation:u,mirror:d,x:p,y:m,width:g,height:v,tickSize:y,tickMargin:b,fontSize:x,letterSpacing:w,getTicksConfig:C,events:E,axisType:S}=e,O=EG(je(je({},C),{},{ticks:r}),x,w),P=TG(u,d),j=_G(u,d),D=Hr(C),L=Op(n),M={};typeof o=="object"&&(M=o);var k=je(je({},D),{},{fill:"none"},M),$=O.map(H=>je({entry:H},IG(H,p,m,g,v,u,y,d,b))),U=$.map(H=>{var{entry:T,line:N}=H;return f.createElement(mr,{className:"recharts-cartesian-axis-tick",key:"tick-".concat(T.value,"-").concat(T.coordinate,"-").concat(T.tickCoord)},o&&f.createElement("line",On({},k,N,{className:be("recharts-cartesian-axis-tick-line",io(o,"className"))})))}),W=$.map((H,T)=>{var{entry:N,tick:z}=H,X=je(je(je(je({textAnchor:P,verticalAnchor:j},D),{},{stroke:"none",fill:i},L),z),{},{index:T,payload:N,visibleTicksCount:O.length,tickFormatter:a,padding:c},l);return f.createElement(mr,On({className:"recharts-cartesian-axis-tick-label",key:"tick-label-".concat(N.value,"-").concat(N.coordinate,"-").concat(N.tickCoord)},Tp(E,N,T)),n&&f.createElement(RG,{option:n,tickProps:X,value:"".concat(typeof a=="function"?a(N.value,T):N.value).concat(s||"")}))});return f.createElement("g",{className:"recharts-cartesian-axis-ticks recharts-".concat(S,"-ticks")},W.length>0&&f.createElement(en,{zIndex:ut.label},f.createElement("g",{className:"recharts-cartesian-axis-tick-labels recharts-".concat(S,"-tick-labels"),ref:t},W)),U.length>0&&f.createElement("g",{className:"recharts-cartesian-axis-tick-lines recharts-".concat(S,"-tick-lines")},U))}),LG=A.forwardRef((e,t)=>{var{axisLine:r,width:n,height:o,className:i,hide:a,ticks:s,axisType:c}=e,l=OG(e,AG),[u,d]=A.useState(""),[p,m]=A.useState(""),g=A.useRef(null);A.useImperativeHandle(t,()=>({getCalculatedWidth:()=>{var y;return SG({ticks:g.current,label:(y=e.labelRef)===null||y===void 0?void 0:y.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}}));var v=A.useCallback(y=>{if(y){var b=y.getElementsByClassName("recharts-cartesian-axis-tick-value");g.current=b;var x=b[0];if(x){var w=window.getComputedStyle(x),C=w.fontSize,E=w.letterSpacing;(C!==u||E!==p)&&(d(C),m(E))}}},[u,p]);return a||n!=null&&n<=0||o!=null&&o<=0?null:f.createElement(en,{zIndex:e.zIndex},f.createElement(mr,{className:be("recharts-cartesian-axis",i)},f.createElement(kG,{x:e.x,y:e.y,width:n,height:o,orientation:e.orientation,mirror:e.mirror,axisLine:r,otherSvgProps:Hr(e)}),f.createElement(DG,{ref:v,axisType:c,events:l,fontSize:u,getTicksConfig:e,height:e.height,letterSpacing:p,mirror:e.mirror,orientation:e.orientation,padding:e.padding,stroke:e.stroke,tick:e.tick,tickFormatter:e.tickFormatter,tickLine:e.tickLine,tickMargin:e.tickMargin,tickSize:e.tickSize,tickTextProps:e.tickTextProps,ticks:s,unit:e.unit,width:e.width,x:e.x,y:e.y}),f.createElement(EK,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},f.createElement(TK,{label:e.label,labelRef:e.labelRef}),e.children)))}),Y0=f.forwardRef((e,t)=>{var r=It(e,hn);return f.createElement(LG,On({},r,{ref:t}))});Y0.displayName="CartesianAxis";var FG={},C7=pt({name:"errorBars",initialState:FG,reducers:{addErrorBar:(e,t)=>{var{itemId:r,errorBar:n}=t.payload;e[r]||(e[r]=[]),e[r].push(n)},replaceErrorBar:(e,t)=>{var{itemId:r,prev:n,next:o}=t.payload;e[r]&&(e[r]=e[r].map(i=>i.dataKey===n.dataKey&&i.direction===n.direction?o:i))},removeErrorBar:(e,t)=>{var{itemId:r,errorBar:n}=t.payload;e[r]&&(e[r]=e[r].filter(o=>o.dataKey!==n.dataKey||o.direction!==n.direction))}}}),{addErrorBar:jQ,replaceErrorBar:kQ,removeErrorBar:IQ}=C7.actions,BG=C7.reducer,$G=["children"];function VG(e,t){if(e==null)return{};var r,n,o=zG(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function zG(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 WG={data:[],xAxisId:"xAxis-0",yAxisId:"yAxis-0",dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0},HG=A.createContext(WG);function KG(e){var{children:t}=e,r=VG(e,$G);return f.createElement(HG.Provider,{value:r},t)}function E7(e,t){var r,n,o=re(l=>Pr(l,e)),i=re(l=>Nr(l,t)),a=(r=o?.allowDataOverflow)!==null&&r!==void 0?r:Be.allowDataOverflow,s=(n=i?.allowDataOverflow)!==null&&n!==void 0?n:$e.allowDataOverflow,c=a||s;return{needClip:c,needClipX:a,needClipY:s}}function UG(e){var{xAxisId:t,yAxisId:r,clipPathId:n}=e,o=y7(),{needClipX:i,needClipY:a,needClip:s}=E7(t,r);if(!s||!o)return null;var{x:c,y:l,width:u,height:d}=o;return f.createElement("clipPath",{id:"clipPath-".concat(n)},f.createElement("rect",{x:i?c:c-u/2,y:a?l:l-d/2,width:i?u:u*2,height:a?d:d*2}))}var _a={exports:{}},od={};var N2;function GG(){if(N2)return od;N2=1;var e=A;function t(c,l){return c===l&&(c!==0||1/c===1/l)||c!==c&&l!==l}var r=typeof Object.is=="function"?Object.is:t,n=e.useSyncExternalStore,o=e.useRef,i=e.useEffect,a=e.useMemo,s=e.useDebugValue;return od.useSyncExternalStoreWithSelector=function(c,l,u,d,p){var m=o(null);if(m.current===null){var g={hasValue:!1,value:null};m.current=g}else g=m.current;m=a(function(){function y(E){if(!b){if(b=!0,x=E,E=d(E),p!==void 0&&g.hasValue){var S=g.value;if(p(S,E))return w=S}return w=E}if(S=w,r(x,E))return S;var O=d(E);return p!==void 0&&p(S,O)?(x=E,S):(x=E,w=O)}var b=!1,x,w,C=u===void 0?null:u;return[function(){return y(l())},C===null?void 0:function(){return y(C())}]},[l,u,d,p]);var v=n(c,m[0],m[1]);return i(function(){g.hasValue=!0,g.value=v},[v]),s(v),v},od}var id={};var M2;function qG(){return M2||(M2=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=A,r=typeof Object.is=="function"?Object.is:e,n=t.useSyncExternalStore,o=t.useRef,i=t.useEffect,a=t.useMemo,s=t.useDebugValue;id.useSyncExternalStoreWithSelector=function(c,l,u,d,p){var m=o(null);if(m.current===null){var g={hasValue:!1,value:null};m.current=g}else g=m.current;m=a(function(){function y(E){if(!b){if(b=!0,x=E,E=d(E),p!==void 0&&g.hasValue){var S=g.value;if(p(S,E))return w=S}return w=E}if(S=w,r(x,E))return S;var O=d(E);return p!==void 0&&p(S,O)?(x=E,S):(x=E,w=O)}var b=!1,x,w,C=u===void 0?null:u;return[function(){return y(l())},C===null?void 0:function(){return y(C())}]},[l,u,d,p]);var v=n(c,m[0],m[1]);return i(function(){g.hasValue=!0,g.value=v},[v]),s(v),v},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),id}var j2;function YG(){return j2||(j2=1,process.env.NODE_ENV==="production"?_a.exports=GG():_a.exports=qG()),_a.exports}YG();function ZG(e){e()}function QG(){let e=null,t=null;return{clear(){e=null,t=null},notify(){ZG(()=>{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 o=t={callback:r,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!n||e===null||(n=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var k2={notify(){},get:()=>[]};function XG(e,t){let r,n=k2,o=0,i=!1;function a(v){u();const y=n.subscribe(v);let b=!1;return()=>{b||(b=!0,y(),d())}}function s(){n.notify()}function c(){g.onStateChange&&g.onStateChange()}function l(){return i}function u(){o++,r||(r=e.subscribe(c),n=QG())}function d(){o--,r&&o===0&&(r(),r=void 0,n.clear(),n=k2)}function p(){i||(i=!0,u())}function m(){i&&(i=!1,d())}const g={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:p,tryUnsubscribe:m,getListeners:()=>n};return g}var JG=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",eq=JG(),tq=()=>typeof navigator<"u"&&navigator.product==="ReactNative",rq=tq(),nq=()=>eq||rq?f.useLayoutEffect:f.useEffect,oq=nq();function I2(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function iq(e,t){if(I2(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let o=0;o<r.length;o++)if(!Object.prototype.hasOwnProperty.call(t,r[o])||!I2(e[r[o]],t[r[o]]))return!1;return!0}var aq=Symbol.for("react-redux-context"),sq=typeof globalThis<"u"?globalThis:{};function cq(){if(!f.createContext)return{};const e=sq[aq]??=new Map;let t=e.get(f.createContext);return t||(t=f.createContext(null),process.env.NODE_ENV!=="production"&&(t.displayName="ReactRedux"),e.set(f.createContext,t)),t}var lq=cq();function uq(e){const{children:t,context:r,serverState:n,store:o}=e,i=f.useMemo(()=>{const c=XG(o),l={store:o,subscription:c,getServerState:n?()=>n:void 0};if(process.env.NODE_ENV==="production")return l;{const{identityFunctionCheck:u="once",stabilityCheck:d="once"}=e;return Object.assign(l,{stabilityCheck:d,identityFunctionCheck:u})}},[o,n]),a=f.useMemo(()=>o.getState(),[o]);oq(()=>{const{subscription:c}=i;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),a!==o.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[i,a]);const s=r||lq;return f.createElement(s.Provider,{value:i},t)}var dq=uq,fq=new Set(["axisLine","tickLine","activeBar","activeDot","activeLabel","activeShape","allowEscapeViewBox","background","cursor","dot","label","line","margin","padding","position","shape","style","tick","wrapperStyle","radius"]);function pq(e,t){return e==null&&t==null?!0:typeof e=="number"&&typeof t=="number"?e===t||e!==e&&t!==t:e===t}function Z0(e,t){var r=new Set([...Object.keys(e),...Object.keys(t)]);for(var n of r)if(fq.has(n)){if(e[n]==null&&t[n]==null)continue;if(!iq(e[n],t[n]))return!1}else if(!pq(e[n],t[n]))return!1;return!0}function _n(e,t){var r,n;return(r=(n=e.graphicalItems.cartesianItems.find(o=>o.id===t))===null||n===void 0?void 0:n.xAxisId)!==null&&r!==void 0?r:v7}function Rn(e,t){var r,n;return(r=(n=e.graphicalItems.cartesianItems.find(o=>o.id===t))===null||n===void 0?void 0:n.yAxisId)!==null&&r!==void 0?r:v7}var mq=process.env.NODE_ENV==="production",ad="Invariant failed";function hq(e,t){if(mq)throw new Error(ad);var r=typeof t=="function"?t():t,n=r?"".concat(ad,": ").concat(r):ad;throw new Error(n)}function Pf(){return Pf=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},Pf.apply(null,arguments)}function zs(e){return f.createElement(bU,Pf({shapeType:"rectangle",activeClassName:"recharts-active-bar"},e))}var vq=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return(n,o)=>{if(te(t))return t;var i=te(n)||ze(n);return i?t(n,o):(i||hq(!1,"minPointSize callback function received a value with type of ".concat(typeof n,". Currently only numbers or null/undefined are supported.")),r)}},gq=(e,t,r)=>r,yq=(e,t)=>t,ta=I([P0,yq],(e,t)=>e.filter(r=>r.type==="bar").find(r=>r.id===t)),bq=I([ta],e=>e?.maxBarSize),xq=(e,t,r,n)=>n,wq=I([he,P0,_n,Rn,gq],(e,t,r,n,o)=>t.filter(i=>e==="horizontal"?i.xAxisId===r:i.yAxisId===n).filter(i=>i.isPanorama===o).filter(i=>i.hide===!1).filter(i=>i.type==="bar")),Cq=(e,t,r)=>{var n=he(e),o=_n(e,t),i=Rn(e,t);if(!(o==null||i==null))return n==="horizontal"?xf(e,"yAxis",i,r):xf(e,"xAxis",o,r)},Eq=(e,t)=>{var r=he(e),n=_n(e,t),o=Rn(e,t);if(!(n==null||o==null))return r==="horizontal"?Sg(e,"xAxis",n):Sg(e,"yAxis",o)},Sq=I([wq,SV,Eq],qU),Aq=(e,t,r)=>{var n,o,i=ta(e,t);if(i!=null){var a=_n(e,t),s=Rn(e,t);if(!(a==null||s==null)){var c=he(e),l=j6(e),{maxBarSize:u}=i,d=ze(u)?l:u,p,m;return c==="horizontal"?(p=po(e,"xAxis",a,r),m=fo(e,"xAxis",a,r)):(p=po(e,"yAxis",s,r),m=fo(e,"yAxis",s,r)),(n=(o=vs(p,m,!0))!==null&&o!==void 0?o:d)!==null&&n!==void 0?n:0}}},S7=(e,t,r)=>{var n=he(e),o=_n(e,t),i=Rn(e,t);if(!(o==null||i==null)){var a,s;return n==="horizontal"?(a=po(e,"xAxis",o,r),s=fo(e,"xAxis",o,r)):(a=po(e,"yAxis",i,r),s=fo(e,"yAxis",i,r)),vs(a,s)}},Oq=I([Sq,j6,EV,k6,Aq,S7,bq],JU),Pq=(e,t,r)=>{var n=_n(e,t);if(n!=null)return po(e,"xAxis",n,r)},Nq=(e,t,r)=>{var n=Rn(e,t);if(n!=null)return po(e,"yAxis",n,r)},Mq=(e,t,r)=>{var n=_n(e,t);if(n!=null)return fo(e,"xAxis",n,r)},jq=(e,t,r)=>{var n=Rn(e,t);if(n!=null)return fo(e,"yAxis",n,r)},kq=I([Oq,ta],(e,t)=>{if(!(e==null||t==null)){var r=e.find(n=>n.stackId===t.stackId&&t.dataKey!=null&&n.dataKeys.includes(t.dataKey));if(r!=null)return r.position}}),Iq=I([Cq,ta],eG),Tq=I([We,zp,Pq,Nq,Mq,jq,kq,he,dV,S7,Iq,ta,xq],(e,t,r,n,o,i,a,s,c,l,u,d,p)=>{var{chartData:m,dataStartIndex:g,dataEndIndex:v}=c;if(!(d==null||a==null||t==null||s!=="horizontal"&&s!=="vertical"||r==null||n==null||o==null||i==null||l==null)){var{data:y}=d,b;if(y!=null&&y.length>0?b=y:b=m?.slice(g,v+1),b!=null)return cY({layout:s,barSettings:d,pos:a,parentViewBox:t,bandSize:l,xAxis:r,yAxis:n,xAxisTicks:o,yAxisTicks:i,stackedData:u,displayedData:b,offset:e,cells:p,dataStartIndex:g})}}),_q=["index"];function Nf(){return Nf=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},Nf.apply(null,arguments)}function Rq(e,t){if(e==null)return{};var r,n,o=Dq(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Dq(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 A7=A.createContext(void 0),Lq=e=>{var t=A.useContext(A7);if(t!=null)return t.stackId;if(e!=null)return lD(e)},Fq=(e,t)=>"recharts-bar-stack-clip-path-".concat(e,"-").concat(t),Bq=e=>{var t=A.useContext(A7);if(t!=null){var{stackId:r}=t;return"url(#".concat(Fq(r,e),")")}},$q=e=>{var{index:t}=e,r=Rq(e,_q),n=Bq(t);return f.createElement(mr,Nf({className:"recharts-bar-stack-layer",clipPath:n},r))},Vq=["onMouseEnter","onMouseLeave","onClick"],zq=["value","background","tooltipPosition"],Wq=["id"],Hq=["onMouseEnter","onClick","onMouseLeave"];function wr(){return wr=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},wr.apply(null,arguments)}function T2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function nt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?T2(Object(r),!0).forEach(function(n){Kq(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T2(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Kq(e,t,r){return(t=Uq(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uq(e){var t=Gq(e,"string");return typeof t=="symbol"?t:t+""}function Gq(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 Ws(e,t){if(e==null)return{};var r,n,o=qq(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function qq(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 Yq=e=>{var{dataKey:t,name:r,fill:n,legendType:o,hide:i}=e;return[{inactive:i,dataKey:t,type:o,color:n,value:d5(r,t),payload:e}]},Zq=f.memo(e=>{var{dataKey:t,stroke:r,strokeWidth:n,fill:o,name:i,hide:a,unit:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:void 0,positions:void 0,settings:{stroke:r,strokeWidth:n,fill:o,dataKey:t,nameKey:void 0,name:d5(i,t),hide:a,type:c,color:o,unit:s,graphicalItemId:l}};return f.createElement(xU,{tooltipEntrySettings:u})});function Qq(e){var t=re(mo),{data:r,dataKey:n,background:o,allOtherBarProps:i}=e,{onMouseEnter:a,onMouseLeave:s,onClick:c}=i,l=Ws(i,Vq),u=f7(a,n,i.id),d=p7(s),p=m7(c,n,i.id);if(!o||r==null)return null;var m=Op(o);return f.createElement(en,{zIndex:tG(o,ut.barBackground)},r.map((g,v)=>{var{value:y,background:b,tooltipPosition:x}=g,w=Ws(g,zq);if(!b)return null;var C=u(g,v),E=d(g,v),S=p(g,v),O=nt(nt(nt(nt(nt({option:o,isActive:String(v)===t},w),{},{fill:"#eee"},b),m),Tp(l,g,v)),{},{onMouseEnter:C,onMouseLeave:E,onClick:S,dataKey:n,index:v,className:"recharts-bar-background-rectangle"});return f.createElement(zs,wr({key:"background-bar-".concat(v)},O))}))}function Xq(e){var{showLabels:t,children:r,rects:n}=e,o=n?.map(i=>{var a={x:i.x,y:i.y,width:i.width,lowerWidth:i.width,upperWidth:i.width,height:i.height};return nt(nt({},a),{},{value:i.value,payload:i.payload,parentViewBox:i.parentViewBox,viewBox:a,fill:i.fill})});return f.createElement(HK,{value:t?o:void 0},r)}function Jq(e){var{shape:t,activeBar:r,baseProps:n,entry:o,index:i,dataKey:a}=e,s=re(mo),c=re(V8),l=r&&String(i)===s&&(c==null||a===c),u=l?r:t;return l?f.createElement(en,{zIndex:ut.activeBar},f.createElement(zs,wr({},n,{name:String(n.name)},o,{isActive:l,option:u,index:i,dataKey:a}))):f.createElement(zs,wr({},n,{name:String(n.name)},o,{isActive:l,option:u,index:i,dataKey:a}))}function eY(e){var{shape:t,baseProps:r,entry:n,index:o,dataKey:i}=e;return f.createElement(zs,wr({},r,{name:String(r.name)},n,{isActive:!1,option:t,index:o,dataKey:i}))}function tY(e){var t,{data:r,props:n}=e,o=(t=Hr(n))!==null&&t!==void 0?t:{},{id:i}=o,a=Ws(o,Wq),{shape:s,dataKey:c,activeBar:l}=n,{onMouseEnter:u,onClick:d,onMouseLeave:p}=n,m=Ws(n,Hq),g=f7(u,c,i),v=p7(p),y=m7(d,c,i);return r?f.createElement(f.Fragment,null,r.map((b,x)=>f.createElement($q,wr({index:x,key:"rectangle-".concat(b?.x,"-").concat(b?.y,"-").concat(b?.value,"-").concat(x),className:"recharts-bar-rectangle"},Tp(m,b,x),{onMouseEnter:g(b,x),onMouseLeave:v(b,x),onClick:y(b,x)}),l?f.createElement(Jq,{shape:s,activeBar:l,baseProps:a,entry:b,index:x,dataKey:c}):f.createElement(eY,{shape:s,baseProps:a,entry:b,index:x,dataKey:c})))):null}function rY(e){var{props:t,previousRectanglesRef:r}=e,{data:n,layout:o,isAnimationActive:i,animationBegin:a,animationDuration:s,animationEasing:c,onAnimationEnd:l,onAnimationStart:u}=t,d=r.current,p=Gp(t,"recharts-bar-"),[m,g]=A.useState(!1),v=!m,y=A.useCallback(()=>{typeof l=="function"&&l(),g(!1)},[l]),b=A.useCallback(()=>{typeof u=="function"&&u(),g(!0)},[u]);return f.createElement(Xq,{showLabels:v,rects:n},f.createElement(Up,{animationId:p,begin:a,duration:s,isActive:i,easing:c,onAnimationEnd:y,onAnimationStart:b,key:p},x=>{var w=x===1?n:n?.map((C,E)=>{var S=d&&d[E];if(S)return nt(nt({},C),{},{x:Ye(S.x,C.x,x),y:Ye(S.y,C.y,x),width:Ye(S.width,C.width,x),height:Ye(S.height,C.height,x)});if(o==="horizontal"){var O=Ye(0,C.height,x),P=Ye(C.stackedBarStart,C.y,x);return nt(nt({},C),{},{y:P,height:O})}var j=Ye(0,C.width,x),D=Ye(C.stackedBarStart,C.x,x);return nt(nt({},C),{},{width:j,x:D})});return x>0&&(r.current=w??null),w==null?null:f.createElement(mr,null,f.createElement(tY,{props:t,data:w}))}),f.createElement(GK,{label:t.label}),t.children)}function nY(e){var t=A.useRef(null);return f.createElement(rY,{previousRectanglesRef:t,props:e})}var O7=0,oY=(e,t)=>{var r=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:r,errorVal:Xe(e,t)}};class iY extends A.PureComponent{render(){var{hide:t,data:r,dataKey:n,className:o,xAxisId:i,yAxisId:a,needClip:s,background:c,id:l}=this.props;if(t||r==null)return null;var u=be("recharts-bar",o),d=l;return f.createElement(mr,{className:u,id:l},s&&f.createElement("defs",null,f.createElement(UG,{clipPathId:d,xAxisId:i,yAxisId:a})),f.createElement(mr,{className:"recharts-bar-rectangles",clipPath:s?"url(#clipPath-".concat(d,")"):void 0},f.createElement(Qq,{data:r,dataKey:n,background:c,allOtherBarProps:this.props}),f.createElement(nY,this.props)))}}var aY={activeBar:!1,animationBegin:0,animationDuration:400,animationEasing:"ease",background:!1,hide:!1,isAnimationActive:"auto",label:!1,legendType:"rect",minPointSize:O7,xAxisId:0,yAxisId:0,zIndex:ut.bar};function sY(e){var{xAxisId:t,yAxisId:r,hide:n,legendType:o,minPointSize:i,activeBar:a,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:u}=e,{needClip:d}=E7(t,r),p=Vi(),m=Ct(),g=eU(e.children,Q8),v=re(x=>Tq(x,e.id,m,g));if(p!=="vertical"&&p!=="horizontal")return null;var y,b=v?.[0];return b==null||b.height==null||b.width==null?y=0:y=p==="vertical"?b.height/2:b.width/2,f.createElement(KG,{xAxisId:t,yAxisId:r,data:v,dataPointFormatter:oY,errorBarOffset:y},f.createElement(iY,wr({},e,{layout:p,needClip:d,data:v,xAxisId:t,yAxisId:r,hide:n,legendType:o,minPointSize:i,activeBar:a,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:u})))}function cY(e){var{layout:t,barSettings:{dataKey:r,minPointSize:n},pos:o,bandSize:i,xAxis:a,yAxis:s,xAxisTicks:c,yAxisTicks:l,stackedData:u,displayedData:d,offset:p,cells:m,parentViewBox:g,dataStartIndex:v}=e,y=t==="horizontal"?s:a,b=u?y.scale.domain():null,x=uD({numericAxis:y}),w=y.scale(x);return d.map((C,E)=>{var S,O,P,j,D,L;if(u){var M=u[E+v];if(M==null)return null;S=oD(M,b)}else S=Xe(C,r),Array.isArray(S)||(S=[x,S]);var k=vq(n,O7)(S[1],E);if(t==="horizontal"){var $,[U,W]=[s.scale(S[0]),s.scale(S[1])];O=M1({axis:a,ticks:c,bandSize:i,offset:o.offset,entry:C,index:E}),P=($=W??U)!==null&&$!==void 0?$:void 0,j=o.size;var H=U-W;if(D=er(H)?0:H,L={x:O,y:p.top,width:j,height:p.height},Math.abs(k)>0&&Math.abs(D)<Math.abs(k)){var T=yt(D||k)*(Math.abs(k)-Math.abs(D));P-=T,D+=T}}else{var[N,z]=[a.scale(S[0]),a.scale(S[1])];if(O=N,P=M1({axis:s,ticks:l,bandSize:i,offset:o.offset,entry:C,index:E}),j=z-N,D=o.size,L={x:p.left,y:P,width:p.width,height:D},Math.abs(k)>0&&Math.abs(j)<Math.abs(k)){var X=yt(j||k)*(Math.abs(k)-Math.abs(j));j+=X}}if(O==null||P==null||j==null||D==null)return null;var K=nt(nt({},C),{},{stackedBarStart:w,x:O,y:P,width:j,height:D,value:u?S:S[1],payload:C,background:L,tooltipPosition:{x:O+j/2,y:P+D/2},parentViewBox:g},m&&m[E]&&m[E].props);return K}).filter(Boolean)}function lY(e){var t=It(e,aY),r=Lq(t.stackId),n=Ct();return f.createElement(OU,{id:t.id,type:"bar"},o=>f.createElement(f.Fragment,null,f.createElement(wU,{legendPayload:Yq(t)}),f.createElement(Zq,{dataKey:t.dataKey,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:o}),f.createElement(TU,{type:"bar",id:o,data:void 0,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,stackId:r,hide:t.hide,barSize:t.barSize,minPointSize:t.minPointSize,maxBarSize:t.maxBarSize,isPanorama:n}),f.createElement(en,{zIndex:t.zIndex},f.createElement(sY,wr({},t,{id:o})))))}var Mf=f.memo(lY,Z0);Mf.displayName="Bar";var uY=["domain","range"],dY=["domain","range"];function _2(e,t){if(e==null)return{};var r,n,o=fY(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function fY(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 R2(e,t){return e===t?!0:Array.isArray(e)&&e.length===2&&Array.isArray(t)&&t.length===2?e[0]===t[0]&&e[1]===t[1]:!1}function P7(e,t){if(e===t)return!0;var{domain:r,range:n}=e,o=_2(e,uY),{domain:i,range:a}=t,s=_2(t,dY);return!R2(r,i)||!R2(n,a)?!1:Z0(o,s)}var pY=["dangerouslySetInnerHTML","ticks","scale"],mY=["id","scale"];function jf(){return jf=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},jf.apply(null,arguments)}function D2(e,t){if(e==null)return{};var r,n,o=hY(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function hY(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 vY(e){var t=Me(),r=A.useRef(null);return A.useLayoutEffect(()=>{r.current===null?t(FU(e)):r.current!==e&&t(BU({prev:r.current,next:e})),r.current=e},[e,t]),A.useLayoutEffect(()=>()=>{r.current&&(t($U(r.current)),r.current=null)},[t]),null}var gY=e=>{var{xAxisId:t,className:r}=e,n=re(zp),o=Ct(),i="xAxis",a=re(b=>w8(b,i,t,o)),s=re(b=>g8(b,t)),c=re(b=>wz(b,t)),l=re(b=>$6(b,t));if(s==null||c==null||l==null)return null;var{dangerouslySetInnerHTML:u,ticks:d,scale:p}=e,m=D2(e,pY),{id:g,scale:v}=l,y=D2(l,mY);return f.createElement(Y0,jf({},m,y,{x:c.x,y:c.y,width:s.width,height:s.height,className:be("recharts-".concat(i," ").concat(i),r),viewBox:n,ticks:a,axisType:i}))},yY={allowDataOverflow:Be.allowDataOverflow,allowDecimals:Be.allowDecimals,allowDuplicatedCategory:Be.allowDuplicatedCategory,angle:Be.angle,axisLine:hn.axisLine,height:Be.height,hide:!1,includeHidden:Be.includeHidden,interval:Be.interval,minTickGap:Be.minTickGap,mirror:Be.mirror,orientation:Be.orientation,padding:Be.padding,reversed:Be.reversed,scale:Be.scale,tick:Be.tick,tickCount:Be.tickCount,tickLine:hn.tickLine,tickSize:hn.tickSize,type:Be.type,xAxisId:0},bY=e=>{var t=It(e,yY);return f.createElement(f.Fragment,null,f.createElement(vY,{allowDataOverflow:t.allowDataOverflow,allowDecimals:t.allowDecimals,allowDuplicatedCategory:t.allowDuplicatedCategory,angle:t.angle,dataKey:t.dataKey,domain:t.domain,height:t.height,hide:t.hide,id:t.xAxisId,includeHidden:t.includeHidden,interval:t.interval,minTickGap:t.minTickGap,mirror:t.mirror,name:t.name,orientation:t.orientation,padding:t.padding,reversed:t.reversed,scale:t.scale,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit}),f.createElement(gY,t))},N7=f.memo(bY,P7);N7.displayName="XAxis";var xY=["dangerouslySetInnerHTML","ticks","scale"],wY=["id","scale"];function kf(){return kf=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},kf.apply(null,arguments)}function L2(e,t){if(e==null)return{};var r,n,o=CY(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function CY(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 EY(e){var t=Me(),r=A.useRef(null);return A.useLayoutEffect(()=>{r.current===null?t(VU(e)):r.current!==e&&t(zU({prev:r.current,next:e})),r.current=e},[e,t]),A.useLayoutEffect(()=>()=>{r.current&&(t(WU(r.current)),r.current=null)},[t]),null}var SY=e=>{var{yAxisId:t,className:r,width:n,label:o}=e,i=A.useRef(null),a=A.useRef(null),s=re(zp),c=Ct(),l=Me(),u="yAxis",d=re(S=>y8(S,t)),p=re(S=>Ez(S,t)),m=re(S=>w8(S,u,t,c)),g=re(S=>V6(S,t));if(A.useLayoutEffect(()=>{if(!(n!=="auto"||!d||G0(o)||A.isValidElement(o)||g==null)){var S=i.current;if(S){var O=S.getCalculatedWidth();Math.round(d.width)!==Math.round(O)&&l(HU({id:t,width:O}))}}},[m,d,l,o,t,n,g]),d==null||p==null||g==null)return null;var{dangerouslySetInnerHTML:v,ticks:y,scale:b}=e,x=L2(e,xY),{id:w,scale:C}=g,E=L2(g,wY);return f.createElement(Y0,kf({},x,E,{ref:i,labelRef:a,x:p.x,y:p.y,tickTextProps:n==="auto"?{width:void 0}:{width:n},width:d.width,height:d.height,className:be("recharts-".concat(u," ").concat(u),r),viewBox:s,ticks:m,axisType:u}))},AY={allowDataOverflow:$e.allowDataOverflow,allowDecimals:$e.allowDecimals,allowDuplicatedCategory:$e.allowDuplicatedCategory,angle:$e.angle,axisLine:hn.axisLine,hide:!1,includeHidden:$e.includeHidden,interval:$e.interval,minTickGap:$e.minTickGap,mirror:$e.mirror,orientation:$e.orientation,padding:$e.padding,reversed:$e.reversed,scale:$e.scale,tick:$e.tick,tickCount:$e.tickCount,tickLine:hn.tickLine,tickSize:hn.tickSize,type:$e.type,width:$e.width,yAxisId:0},OY=e=>{var t=It(e,AY);return f.createElement(f.Fragment,null,f.createElement(EY,{interval:t.interval,id:t.yAxisId,scale:t.scale,type:t.type,domain:t.domain,allowDataOverflow:t.allowDataOverflow,dataKey:t.dataKey,allowDuplicatedCategory:t.allowDuplicatedCategory,allowDecimals:t.allowDecimals,tickCount:t.tickCount,padding:t.padding,includeHidden:t.includeHidden,reversed:t.reversed,ticks:t.ticks,width:t.width,orientation:t.orientation,mirror:t.mirror,hide:t.hide,unit:t.unit,name:t.name,angle:t.angle,minTickGap:t.minTickGap,tick:t.tick,tickFormatter:t.tickFormatter}),f.createElement(SY,t))},M7=f.memo(OY,P7);M7.displayName="YAxis";var PY=(e,t)=>t,Q0=I([PY,he,F6,Le,L8,Mr,LW,We],HW),X0=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)}},j7=Mt("mouseClick"),k7=Bi();k7.startListening({actionCreator:j7,effect:(e,t)=>{var r=e.payload,n=Q0(t.getState(),X0(r));n?.activeIndex!=null&&t.dispatch(Lz({activeIndex:n.activeIndex,activeDataKey:void 0,activeCoordinate:n.activeCoordinate}))}});var If=Mt("mouseMove"),I7=Bi(),Ra=null;I7.startListening({actionCreator:If,effect:(e,t)=>{var r=e.payload;Ra!==null&&cancelAnimationFrame(Ra);var n=X0(r);Ra=requestAnimationFrame(()=>{var o=t.getState(),i=D0(o,o.tooltip.settings.shared);if(i==="axis"){var a=Q0(o,n);a?.activeIndex!=null?t.dispatch(M8({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate})):t.dispatch(N8())}Ra=null})}});function NY(e,t){return t instanceof HTMLElement?"HTMLElement <".concat(t.tagName,' class="').concat(t.className,'">'):t===window?"global.window":e==="children"&&typeof t=="object"&&t!==null?"<<CHILDREN>>":t}var F2={accessibilityLayer:!0,barCategoryGap:"10%",barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:"none",syncId:void 0,syncMethod:"index",baseValue:void 0,reverseStackOrder:!1},T7=pt({name:"rootProps",initialState:F2,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:F2.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,e.baseValue=t.payload.baseValue,e.reverseStackOrder=t.payload.reverseStackOrder}}}),MY=T7.reducer,{updateOptions:jY}=T7.actions,_7=pt({name:"polarOptions",initialState:null,reducers:{updatePolarOptions:(e,t)=>t.payload}}),{updatePolarOptions:TQ}=_7.actions,kY=_7.reducer,R7=Mt("keyDown"),D7=Mt("focus"),J0=Bi();J0.startListening({actionCreator:R7,effect:(e,t)=>{var r=t.getState(),n=r.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:o}=r.tooltip,i=e.payload;if(!(i!=="ArrowRight"&&i!=="ArrowLeft"&&i!=="Enter")){var a=L0(o,jo(r),Yi(r),Ji(r)),s=a==null?-1:Number(a);if(!(!Number.isFinite(s)||s<0)){var c=Mr(r);if(i==="Enter"){var l=Fs(r,"axis","hover",String(o.index));t.dispatch(Cf({active:!o.active,activeIndex:o.index,activeCoordinate:l}));return}var u=Pz(r),d=u==="left-to-right"?1:-1,p=i==="ArrowRight"?1:-1,m=s+p*d;if(!(c==null||m>=c.length||m<0)){var g=Fs(r,"axis","hover",String(m));t.dispatch(Cf({active:!0,activeIndex:m.toString(),activeCoordinate:g}))}}}}}});J0.startListening({actionCreator:D7,effect:(e,t)=>{var r=t.getState(),n=r.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:o}=r.tooltip;if(!o.active&&o.index==null){var i="0",a=Fs(r,"axis","hover",String(i));t.dispatch(Cf({active:!0,activeIndex:i,activeCoordinate:a}))}}}});var At=Mt("externalEvent"),L7=Bi(),sd=new Map;L7.startListening({actionCreator:At,effect:(e,t)=>{var{handler:r,reactEvent:n}=e.payload;if(r!=null){n.persist();var o=n.type,i=sd.get(o);i!==void 0&&cancelAnimationFrame(i);var a=requestAnimationFrame(()=>{try{var s=t.getState(),c={activeCoordinate:CW(s),activeDataKey:V8(s),activeIndex:mo(s),activeLabel:$8(s),activeTooltipIndex:mo(s),isTooltipActive:EW(s)};r(c,n)}finally{sd.delete(o)}});sd.set(o,a)}}});var IY=I([No],e=>e.tooltipItemPayloads),TY=I([IY,Xi,(e,t)=>t,(e,t,r)=>r],(e,t,r,n)=>{var o=e.find(s=>s.settings.graphicalItemId===n);if(o!=null){var{positions:i}=o;if(i!=null){var a=t(i,r);return a}}}),F7=Mt("touchMove"),B7=Bi();B7.startListening({actionCreator:F7,effect:(e,t)=>{var r=e.payload;if(!(r.touches==null||r.touches.length===0)){var n=t.getState(),o=D0(n,n.tooltip.settings.shared);if(o==="axis"){var i=r.touches[0];if(i==null)return;var a=Q0(n,X0({clientX:i.clientX,clientY:i.clientY,currentTarget:r.currentTarget}));a?.activeIndex!=null&&t.dispatch(M8({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate}))}else if(o==="item"){var s,c=r.touches[0];if(document.elementFromPoint==null||c==null)return;var l=document.elementFromPoint(c.clientX,c.clientY);if(!l||!l.getAttribute)return;var u=l.getAttribute(gD),d=(s=l.getAttribute(yD))!==null&&s!==void 0?s:void 0,p=Mo(n).find(v=>v.id===d);if(u==null||p==null||d==null)return;var{dataKey:m}=p,g=TY(n,u,d);t.dispatch(P8({activeDataKey:m,activeIndex:u,activeCoordinate:g,activeGraphicalItemId:d}))}}}});var _Y=I3({brush:nG,cartesianAxis:KU,chartData:CH,errorBars:BG,graphicalItems:kU,layout:XR,legend:mL,options:gH,polarAxis:YK,polarOptions:kY,referenceElements:uG,rootProps:MY,tooltip:Fz,zIndex:oH}),RY=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Chart";return ER({reducer:_Y,preloadedState:t,middleware:n=>{var o;return n({serializableCheck:!1,immutableCheck:!["commonjs","es6","production"].includes((o="es6")!==null&&o!==void 0?o:"")}).concat([k7.middleware,I7.middleware,J0.middleware,L7.middleware,B7.middleware])},enhancers:n=>{var o=n;return typeof n=="function"&&(o=n()),o.concat(Q3({type:"raf"}))},devTools:{serialize:{replacer:NY},name:"recharts-".concat(r)}})};function DY(e){var{preloadedState:t,children:r,reduxStoreName:n}=e,o=Ct(),i=A.useRef(null);if(o)return r;i.current==null&&(i.current=RY(t,n));var a=Rp;return f.createElement(dq,{context:a,store:i.current},r)}function LY(e){var{layout:t,margin:r}=e,n=Me(),o=Ct();return A.useEffect(()=>{o||(n(YR(t)),n(qR(r)))},[n,o,t,r]),null}var FY=A.memo(LY,Z0);function BY(e){var t=Me();return A.useEffect(()=>{t(jY(e))},[t,e]),null}function B2(e){var{zIndex:t,isPanorama:r}=e,n=A.useRef(null),o=Me();return A.useLayoutEffect(()=>(n.current&&o(rH({zIndex:t,element:n.current,isPanorama:r})),()=>{o(nH({zIndex:t,isPanorama:r}))}),[o,t,r]),f.createElement("g",{tabIndex:-1,ref:n})}function $2(e){var{children:t,isPanorama:r}=e,n=re(UW);if(!n||n.length===0)return t;var o=n.filter(a=>a<0),i=n.filter(a=>a>0);return f.createElement(f.Fragment,null,o.map(a=>f.createElement(B2,{key:a,zIndex:a,isPanorama:r})),t,i.map(a=>f.createElement(B2,{key:a,zIndex:a,isPanorama:r})))}var $Y=["children"];function VY(e,t){if(e==null)return{};var r,n,o=zY(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function zY(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 Hs(){return Hs=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},Hs.apply(null,arguments)}var WY={width:"100%",height:"100%",display:"block"},HY=A.forwardRef((e,t)=>{var r=YD(),n=ZD(),o=S5();if(!Kr(r)||!Kr(n))return null;var{children:i,otherAttributes:a,title:s,desc:c}=e,l,u;return a!=null&&(typeof a.tabIndex=="number"?l=a.tabIndex:l=o?0:void 0,typeof a.role=="string"?u=a.role:u=o?"application":void 0),f.createElement(Y4,Hs({},a,{title:s,desc:c,role:u,tabIndex:l,width:r,height:n,style:WY,ref:t}),i)}),KY=e=>{var{children:t}=e,r=re(Bc);if(!r)return null;var{width:n,height:o,y:i,x:a}=r;return f.createElement(Y4,{width:n,height:o,x:a,y:i},t)},V2=A.forwardRef((e,t)=>{var{children:r}=e,n=VY(e,$Y),o=Ct();return o?f.createElement(KY,null,f.createElement($2,{isPanorama:!0},r)):f.createElement(HY,Hs({ref:t},n),f.createElement($2,{isPanorama:!1},r))});function UY(){var e=Me(),[t,r]=A.useState(null),n=re(vD);return A.useEffect(()=>{if(t!=null){var o=t.getBoundingClientRect(),i=o.width/t.offsetWidth;Oe(i)&&i!==n&&e(QR(i))}},[t,e,n]),r}function z2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function GY(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?z2(Object(r),!0).forEach(function(n){qY(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z2(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function qY(e,t,r){return(t=YY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function YY(e){var t=ZY(e,"string");return typeof t=="symbol"?t:t+""}function ZY(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 Pn(){return Pn=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},Pn.apply(null,arguments)}var QY=()=>(kH(),null);function Ks(e){if(typeof e=="number")return e;if(typeof e=="string"){var t=parseFloat(e);if(!Number.isNaN(t))return t}return 0}var XY=A.forwardRef((e,t)=>{var r,n,o=A.useRef(null),[i,a]=A.useState({containerWidth:Ks((r=e.style)===null||r===void 0?void 0:r.width),containerHeight:Ks((n=e.style)===null||n===void 0?void 0:n.height)}),s=A.useCallback((l,u)=>{a(d=>{var p=Math.round(l),m=Math.round(u);return d.containerWidth===p&&d.containerHeight===m?d:{containerWidth:p,containerHeight:m}})},[]),c=A.useCallback(l=>{if(typeof t=="function"&&t(l),l!=null&&typeof ResizeObserver<"u"){var{width:u,height:d}=l.getBoundingClientRect();s(u,d);var p=g=>{var{width:v,height:y}=g[0].contentRect;s(v,y)},m=new ResizeObserver(p);m.observe(l),o.current=m}},[t,s]);return A.useEffect(()=>()=>{var l=o.current;l?.disconnect()},[s]),f.createElement(f.Fragment,null,f.createElement(Vc,{width:i.containerWidth,height:i.containerHeight}),f.createElement("div",Pn({ref:c},e)))}),JY=A.forwardRef((e,t)=>{var{width:r,height:n}=e,[o,i]=A.useState({containerWidth:Ks(r),containerHeight:Ks(n)}),a=A.useCallback((c,l)=>{i(u=>{var d=Math.round(c),p=Math.round(l);return u.containerWidth===d&&u.containerHeight===p?u:{containerWidth:d,containerHeight:p}})},[]),s=A.useCallback(c=>{if(typeof t=="function"&&t(c),c!=null){var{width:l,height:u}=c.getBoundingClientRect();a(l,u)}},[t,a]);return f.createElement(f.Fragment,null,f.createElement(Vc,{width:o.containerWidth,height:o.containerHeight}),f.createElement("div",Pn({ref:s},e)))}),eZ=A.forwardRef((e,t)=>{var{width:r,height:n}=e;return f.createElement(f.Fragment,null,f.createElement(Vc,{width:r,height:n}),f.createElement("div",Pn({ref:t},e)))}),tZ=A.forwardRef((e,t)=>{var{width:r,height:n}=e;return hr(r)||hr(n)?f.createElement(JY,Pn({},e,{ref:t})):f.createElement(eZ,Pn({},e,{ref:t}))});function rZ(e){return e===!0?XY:tZ}var nZ=A.forwardRef((e,t)=>{var{children:r,className:n,height:o,onClick:i,onContextMenu:a,onDoubleClick:s,onMouseDown:c,onMouseEnter:l,onMouseLeave:u,onMouseMove:d,onMouseUp:p,onTouchEnd:m,onTouchMove:g,onTouchStart:v,style:y,width:b,responsive:x,dispatchTouchEvents:w=!0}=e,C=A.useRef(null),E=Me(),[S,O]=A.useState(null),[P,j]=A.useState(null),D=UY(),L=Wp(),M=L?.width>0?L.width:b,k=L?.height>0?L.height:o,$=A.useCallback(_=>{D(_),typeof t=="function"&&t(_),O(_),j(_),_!=null&&(C.current=_)},[D,t,O,j]),U=A.useCallback(_=>{E(j7(_)),E(At({handler:i,reactEvent:_}))},[E,i]),W=A.useCallback(_=>{E(If(_)),E(At({handler:l,reactEvent:_}))},[E,l]),H=A.useCallback(_=>{E(N8()),E(At({handler:u,reactEvent:_}))},[E,u]),T=A.useCallback(_=>{E(If(_)),E(At({handler:d,reactEvent:_}))},[E,d]),N=A.useCallback(()=>{E(D7())},[E]),z=A.useCallback(_=>{E(R7(_.key))},[E]),X=A.useCallback(_=>{E(At({handler:a,reactEvent:_}))},[E,a]),K=A.useCallback(_=>{E(At({handler:s,reactEvent:_}))},[E,s]),J=A.useCallback(_=>{E(At({handler:c,reactEvent:_}))},[E,c]),ee=A.useCallback(_=>{E(At({handler:p,reactEvent:_}))},[E,p]),fe=A.useCallback(_=>{E(At({handler:v,reactEvent:_}))},[E,v]),xe=A.useCallback(_=>{w&&E(F7(_)),E(At({handler:g,reactEvent:_}))},[E,w,g]),V=A.useCallback(_=>{E(At({handler:m,reactEvent:_}))},[E,m]),se=rZ(x);return f.createElement(q8.Provider,{value:S},f.createElement(FI.Provider,{value:P},f.createElement(se,{width:M??y?.width,height:k??y?.height,className:be("recharts-wrapper",n),style:GY({position:"relative",cursor:"default",width:M,height:k},y),onClick:U,onContextMenu:X,onDoubleClick:K,onFocus:N,onKeyDown:z,onMouseDown:J,onMouseEnter:W,onMouseLeave:H,onMouseMove:T,onMouseUp:ee,onTouchEnd:V,onTouchMove:xe,onTouchStart:fe,ref:$},f.createElement(QY,null),r)))}),oZ=["width","height","responsive","children","className","style","compact","title","desc"];function iZ(e,t){if(e==null)return{};var r,n,o=aZ(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function aZ(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 sZ=A.forwardRef((e,t)=>{var{width:r,height:n,responsive:o,children:i,className:a,style:s,compact:c,title:l,desc:u}=e,d=iZ(e,oZ),p=Hr(d);return c?f.createElement(f.Fragment,null,f.createElement(Vc,{width:r,height:n}),f.createElement(V2,{otherAttributes:p,title:l,desc:u},i)):f.createElement(nZ,{className:a,style:s,width:r,height:n,responsive:o??!1,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},f.createElement(V2,{otherAttributes:p,title:l,desc:u,ref:t},f.createElement(fG,null,i)))});function Tf(){return Tf=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},Tf.apply(null,arguments)}var cZ={top:5,right:5,bottom:5,left:5},lZ={accessibilityLayer:!0,barCategoryGap:"10%",barGap:4,layout:"horizontal",margin:cZ,responsive:!1,reverseStackOrder:!1,stackOffset:"none",syncMethod:"index"},uZ=A.forwardRef(function(t,r){var n,o=It(t.categoricalChartProps,lZ),{chartName:i,defaultTooltipEventType:a,validateTooltipEventTypes:s,tooltipPayloadSearcher:c,categoricalChartProps:l}=t,u={chartName:i,defaultTooltipEventType:a,validateTooltipEventTypes:s,tooltipPayloadSearcher:c,eventEmitter:void 0};return f.createElement(DY,{preloadedState:{options:u},reduxStoreName:(n=l.id)!==null&&n!==void 0?n:i},f.createElement(rG,{chartData:l.data}),f.createElement(FY,{layout:o.layout,margin:o.margin}),f.createElement(BY,{baseValue:o.baseValue,accessibilityLayer:o.accessibilityLayer,barCategoryGap:o.barCategoryGap,maxBarSize:o.maxBarSize,stackOffset:o.stackOffset,barGap:o.barGap,barSize:o.barSize,syncId:o.syncId,syncMethod:o.syncMethod,className:o.className,reverseStackOrder:o.reverseStackOrder}),f.createElement(sZ,Tf({},o,{ref:r})))}),dZ=["axis","item"],fZ=A.forwardRef((e,t)=>f.createElement(uZ,{chartName:"BarChart",defaultTooltipEventType:"axis",validateTooltipEventTypes:dZ,tooltipPayloadSearcher:hH,categoricalChartProps:e,ref:t}));const pZ=240,W2={fill:"var(--sub)",fontSize:12,fontFamily:"var(--font-primary)"};function mZ({data:e}){const t=Array.isArray(e)&&e.some(r=>Number(r?.control??0)>0||Number(r?.variation??0)>0);return h.jsxs("div",{className:"relative rounded-md border bg-white p-4 shadow-sm",children:[h.jsxs("div",{className:"pr-10",children:[h.jsxs("div",{className:"mb-3 flex flex-col gap-2",children:[h.jsx(Ce,{size:"verySmall",fontWeight:"medium",className:"text-sub",children:"Unit Quantity Histogram"}),t?h.jsx(vZ,{}):h.jsx(hZ,{})]}),t&&h.jsx("div",{className:`h-[${pZ}px]`,children:h.jsx(UD,{width:"100%",height:"100%",className:"outline-none",children:h.jsxs(fZ,{data:e,barGap:8,margin:{top:16,right:8,bottom:8,left:0},children:[h.jsx(N7,{dataKey:"label",axisLine:!1,tickLine:!1,padding:{left:12,right:12},tick:W2}),h.jsx(M7,{width:30,axisLine:!1,tickLine:!1,tick:W2}),h.jsx(BH,{cursor:!1}),h.jsx(Mf,{dataKey:"control",fill:"var(--blue-600)",barSize:35,radius:[4,4,0,0]}),h.jsx(Mf,{dataKey:"variation",fill:"var(--orange-600)",barSize:35,radius:[4,4,0,0]})]})})})]}),t&&h.jsx($7,{})]})}function hZ(){return h.jsx("div",{className:"flex h-[240px] items-center justify-center",children:h.jsxs("div",{className:"flex flex-col items-center gap-3",children:[h.jsx("div",{className:"flex h-24 w-24 items-center justify-center rounded-full bg-muted",children:h.jsx(ke,{name:"noData",size:"lg",className:"text-sub-1"})}),h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-sub-1",children:"No data yet"})]})})}function vZ(){return h.jsxs("div",{className:"flex items-center gap-4 text-xs text-sub-1",children:[h.jsx(H2,{color:"bg-blue-600",label:"Control"}),h.jsx(H2,{color:"bg-orange-600",label:"Variation 1"})]})}function H2({color:e,label:t}){return h.jsxs("div",{className:"flex items-center gap-1.5",children:[h.jsx("span",{className:`h-2.5 w-2.5 rounded-sm ${e}`}),h.jsx(Ce,{size:"verySmall",className:"text-sub",children:t})]})}function $7(){return h.jsx("div",{className:"pointer-events-none absolute right-2 top-1/2 -translate-y-1/2",children:h.jsxs("div",{className:"flex flex-col items-center gap-1 text-strong",children:[h.jsx(ke,{name:"conversion",size:"xs",className:"!text-strong"}),h.jsx("span",{className:"text-h6 font-semibold leading-none",style:{writingMode:"vertical-rl",textOrientation:"mixed"},children:"Conversion.io"})]})})}const _f=200,K2=["bg-blue-600","bg-orange-600","bg-teal-600","bg-yellow-600"],U2=e=>Number(e.replace(/[^\d.]/g,"")),gZ=(e,t)=>t==="$"?`$${e}`:t==="%"?`${e}%`:e;function yZ(e){const{title:t,percentage:r,timeframe:n,estimatedOrders:o,scale:i,data:a,valueType:s}=e,c=!a?.length,{normalizedScale:l,maxScaleValue:u}=A.useMemo(()=>{const d=i?.length?i:["0"],m=d.some(g=>U2(g)===0)?d:["0",...d];return{normalizedScale:m,maxScaleValue:Math.max(...m.map(U2))}},[i]);return c?h.jsxs("div",{className:"rounded-lg border bg-background p-4 w-[548px]",children:[h.jsx(G2,{title:t,estimatedOrders:o}),h.jsx(U4,{title:s==="cogs"?"Please enter COGS to show this data":"No data yet"})]}):h.jsxs("div",{className:"rounded-lg border bg-background p-4 w-[548px]",children:[h.jsx(G2,{title:t,percentage:r,timeframe:n,estimatedOrders:o}),h.jsxs("div",{className:"flex gap-6 pb-5",children:[h.jsx(bZ,{scale:l}),h.jsxs("div",{className:"relative flex flex-1 justify-center gap-25",style:{height:_f},children:[a.map((d,p)=>{const m=d.value/u*_f;return h.jsxs("div",{className:"relative flex w-[120px] justify-center",children:[h.jsx("div",{className:`absolute bottom-0 flex w-full items-center justify-center rounded text-sm font-semibold text-white ${K2[p%K2.length]}`,style:{height:m},children:gZ(d.value,s)}),h.jsx("span",{className:"absolute -bottom-6",children:h.jsx(Qe,{variant:"xs",font:"regular",fontFamily:"mono",className:"text-sub",children:d.label})})]},d.label)}),h.jsx($7,{})]})]})]})}function G2({title:e,percentage:t,timeframe:r,estimatedOrders:n}){return h.jsxs("div",{className:"mb-6 flex items-end justify-between",children:[h.jsxs("div",{className:"flex flex-col gap-1",children:[h.jsx(Ce,{size:"verySmall",fontWeight:"medium",className:"text-sub",children:e}),!t&&!r&&h.jsx(Qe,{variant:"lg",font:"medium",children:"-"}),t&&h.jsx(ap,{value:parseFloat(t),percentage:!0,variant:"text"}),r&&h.jsx(Ce,{size:"verySmall",className:"text-sub",children:r})]}),n&&h.jsxs("div",{className:"flex items-center gap-1",children:[h.jsx(Qe,{variant:"xs",className:"text-sub",children:"EST"}),h.jsxs(Qe,{variant:"xs",font:"bold",fontFamily:"mono",className:"text-surface",children:[n.toLocaleString("en-US")," ORDERS MONTHLY"]})]})]})}function bZ({scale:e}){return h.jsx("div",{className:"relative flex flex-col justify-between",style:{height:_f},children:[...e].reverse().map(t=>h.jsx(Qe,{variant:"xs",font:"regular",fontFamily:"mono",className:"text-sub text-right",children:t},t))})}function xZ(e){switch(e.variant){case"histogram":return h.jsx(mZ,{...e});case"comparison":return h.jsx(NI,{...e});case"conversion":return h.jsx(yZ,{...e});default:return null}}const wZ="data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='28'%20height='28'%20rx='6'%20fill='url(%23pattern0_777_13939)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_777_13939'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_777_13939'%20transform='scale(0.0025)'/%3e%3c/pattern%3e%3cimage%20id='image0_777_13939'%20width='400'%20height='400'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,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'/%3e%3c/defs%3e%3c/svg%3e",Rf="data:image/svg+xml,%3csvg%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_777_14507)'%3e%3cmask%20id='mask0_777_14507'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='-1'%20y='0'%20width='29'%20height='29'%3e%3cpath%20d='M-0.00293159%200.00128174H27.9971V28.0013H-0.00293159V0.00128174Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_777_14507)'%3e%3cpath%20d='M-0.00293159%200.00128174H27.9971V28.0013H-0.00293159V0.00128174Z'%20fill='%23569AFF'/%3e%3cpath%20d='M9.94503%204.92401C9.19722%205.56241%207.96155%207.80406%207.43717%208.8451C7.43717%208.96671%207.41436%209.31024%207.32315%209.71151C7.20916%2010.2131%208.16676%2010.7375%207.32315%2011.9002C6.64828%2012.8304%206.70758%2013.4734%206.8216%2013.6786C6.91279%2014.1528%207.55878%2015.7153%207.87036%2016.4372C7.86277%2016.8552%207.91139%2017.8827%208.16675%2018.6487C8.48592%2019.6063%209.23832%2019.4239%209.44349%2019.4467C9.6487%2019.4695%2010.5151%2019.8115%2010.857%2020.0167C11.1306%2020.1808%2011.3662%2020.9058%2011.4498%2021.2479C11.389%2021.5062%2011.2629%2022.0732%2011.2446%2022.2738C11.2218%2022.5246%2011.4042%2024.6449%2011.7462%2024.9869C12.0198%2025.2605%2012.5594%2025.4809%2012.795%2025.5569C13.023%2024.8273%2015.1888%2022.8438%2017.1268%2020.7007C18.6771%2018.9862%2019.0799%2018.1776%2019.0875%2017.9876C18.9234%2017.4951%2019.1559%2016.3689%2019.2927%2015.8672L20.4782%2012.9262L20.957%209.20994L16.1464%204.28555C14.3909%204.23235%2010.6929%204.28558%209.94503%204.92401Z'%20fill='white'%20stroke='black'%20stroke-width='0.272222'/%3e%3cpath%20opacity='0.1'%20d='M15.679%207.81112C15.6236%207.26844%2016.0285%206.13712%2016.1024%205.97534L17.7308%206.70188C17.9432%206.84035%2018.5949%207.35272%2019.5033%208.29436C20.4117%209.23603%2020.685%2010.3854%2020.7081%2010.8424C20.5308%2010.3549%2019.9326%2010.1407%2019.6557%2010.0946C19.1128%209.14186%2018.2423%2010.5957%2017.9053%2011.3296L17.0329%2011.2466C16.9637%2010.4434%2015.7482%208.48946%2015.679%207.81112Z'%20fill='black'/%3e%3cpath%20d='M8.90188%2010.3025C8.63171%2010.6973%208.02467%2011.6388%207.81308%2011.9125C7.54861%2012.2545%207.20638%2012.7596%207.81302%2013.164C8.29832%2013.4876%209.00299%2013.4336%209.23632%2013.3973'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.48709%2012.3613C7.27451%2012.4392%206.79316%2012.5678%206.38044%2012.2149C5.96769%2011.8621%205.82289%2010.226%205.74512%209.3912C6.08734%209.24597%206.88845%208.94933%207.35509%208.92444C7.93839%208.89333%208.12188%209.18415%208.27741%209.75968C8.40185%2010.2201%208.29816%2010.9265%208.23074%2011.2221'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.23011%2023.4928C3.28779%2024.4942%201.89891%2027.6645%201.32227%2029.1244L30.3156%2029.8009C29.8053%2028.311%2028.5798%2025.1317%2027.7596%2024.3335C26.7345%2023.3357%2025.1489%2022.4882%2023.6181%2021.5724C22.3934%2020.8398%2020.5017%2020.0188%2019.7089%2019.6999C19.6542%2018.9016%2019.0077%2017.6095%2019.1328%2018.0424C19.0553%2018.3477%2018.4922%2019.1531%2018.0439%2019.6999C17.4835%2020.3833%2014.0581%2023.8893%2013.5114%2024.5591C13.0739%2025.0949%2012.8006%2025.5478%2012.7186%2025.7072C12.3996%2025.5432%2011.7426%2025.1496%2011.6661%2024.8872C11.5704%2024.5591%2011.4982%2024.2381%2011.3574%2023.1447C11.2448%2022.2699%2011.4044%2021.908%2011.4982%2021.8364C11.2828%2020.6402%2010.7944%2020.0596%2010.5772%2019.9189L10.1105%2020.6872C9.81608%2020.773%209.50313%2020.9308%208.29581%2021.2841C6.78664%2021.7258%205.40804%2022.2411%204.23011%2023.4928Z'%20fill='%23569AFF'/%3e%3cpath%20d='M8.24121%209.41058C8.30353%209.27052%208.67988%209.1607%209.05943%209.23658'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.3165%208.56727C11.3012%208.49055%209.79687%208.35488%209.28485%208.97971C8.6005%209.93622%209.47942%2011.6476%209.93827%2011.9042C10.3971%2012.1609%2011.5466%2012.1683%2012.0054%2011.6394C12.3321%2011.2628%2012.3632%209.73391%2012.3165%208.56727ZM12.3165%208.56727C13.9983%208.69402%2017.524%208.98593%2018.172%209.13968C18.9819%209.33189%2019.4899%209.8124%2019.6684%2010.1007'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.99119%2012.5342C6.89061%2012.7203%206.71966%2013.2432%206.84034%2013.8467C6.99119%2014.601%207.79063%2016.1397%207.89622%2016.6525C8.00181%2017.1654%207.71518%2017.98%208.15263%2018.7342C8.28041%2018.9822%208.65393%2019.4399%209.45414%2019.4797M9.45414%2019.4797C9.63051%2019.4885%209.82763%2019.477%2010.0474%2019.4385C11.2642%2019.2252%2011.9762%2018.9419%2012.133%2018.8583M9.45414%2019.4797C9.8453%2019.5862%2010.6934%2019.8776%2010.9569%2020.1912C11.2203%2020.5048%2011.7946%2022.4158%2012.133%2024.2156'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.95322%204.92065C9.61131%205.25249%208.83008%206.28976%208.53969%206.902C8.35635%207.28858%207.75121%208.32262%207.44451%208.85067C7.40883%209.04922%207.3589%209.55649%207.44451%209.99736C7.55151%2010.5484%207.78661%2010.7909%207.58822%2011.3493C7.42952%2011.7961%207.14491%2012.2506%207.02246%2012.4221'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.2004%2010.1953C19.3652%2010.099%2019.7798%209.98648%2020.285%2010.415C21.0027%2011.0238%2020.2706%2013.2819%2019.3641%2013.891C18.6612%2014.3632%2018.1139%2014.5364%2017.8211%2014.6874L17.5176%2015.086'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.0381%2011.8701L18.3379%2013.052'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.1865%2012.3524L19.1886%2012.5584'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.17726%2014.1791C7.60622%2014.4649%207.81111%2014.8564%207.98496%2015.0165L8.22492%2015.2523C8.14136%2015.1537%208.09852%2014.9%208.22492%2014.8281C8.38294%2014.7381%208.63628%2014.8923%209.07336%2014.8281C9.5104%2014.7638%209.99247%2014.8666%2010.5838%2014.963C11.0568%2015.0402%2011.278%2014.9952%2011.3294%2014.963C10.7844%2014.8865%209.43757%2014.4086%208.8291%2014.1791L8.44345%2014.3105L8.17726%2014.1791Z'%20fill='%23FED1D0'/%3e%3cpath%20d='M7.82065%2015.9452C7.85151%2015.6161%208.06976%2015.3455%208.20901%2015.2513C8.18972%2015.3262%208.16275%2015.476%208.20901%2015.5789C8.26688%2015.7074%208.5368%2015.7781%209.03171%2015.7395C9.42763%2015.7087%2010.2893%2015.461%2010.6707%2015.341C10.5743%2015.4674%2010.2916%2015.7652%2010.0602%2015.9452C9.77094%2016.1702%208.83546%2016.5433%208.46266%2016.524C8.08989%2016.5047%207.7821%2016.3566%207.82065%2015.9452Z'%20fill='%23FED1D0'/%3e%3cpath%20d='M8.22922%2015.6987C8.13667%2015.539%208.18794%2015.4077%208.21846%2015.3146C8.17406%2015.2057%208.1058%2014.9173%208.22922%2014.8251C8.3835%2014.7098%208.62769%2014.8251%208.8591%2014.8251C9.09047%2014.8251%209.31543%2014.7737%209.7075%2014.8251C10.0212%2014.8662%2010.8837%2014.9792%2011.2758%2015.0305C11.1258%2015.1719%2010.6433%2015.5035%209.91317%2015.6987C9.0005%2015.9426%208.34492%2015.8982%208.22922%2015.6987Z'%20stroke='%23FED1D0'%20stroke-width='0.272222'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.583%2019.9145C10.3756%2020.3034%209.86744%2021.4506%209.49411%2022.9284C9.12077%2024.4062%209.11819%2025.6571%209.16355%2026.0978C9.34502%2025.8256%209.88296%2025.215%2010.583%2024.9506C10.8034%2025.158%2011.3219%2025.6%2011.6331%2025.7089C11.9442%2025.8178%2012.5145%2026.0136%2012.7608%2026.0978'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.7413%2028.7022L12.5469%2026.8744L12.8774%2026.4077C12.7867%2026.2392%2012.6597%2025.7933%2012.8774%2025.3577C12.9323%2025.248%2013.194%2024.9378%2013.5791%2024.5077M13.5791%2024.5077C15.1055%2022.8033%2018.2693%2019.6465%2018.7281%2018.878C19.0491%2018.3403%2019.2156%2017.903%2019.078%2017.6104C19.2844%2017.8169%2019.508%2019.0932%2019.6203%2019.6536M13.5791%2024.5077C14.2493%2024.3255%2015.7498%2025.6985%2016.4163%2026.4077C17.5182%2024.3402%2019.7102%2020.6561%2019.6635%2019.9716C19.6562%2019.8643%2019.6411%2019.7578%2019.6203%2019.6536M19.6203%2019.6536C20.8662%2020.2263%2023.7974%2021.6555%2025.5552%2022.7911C27.7524%2024.2105%2028.7477%2025.105%2028.9033%2027.4966C29.0277%2029.41%2028.8515%2030.4846%2028.7477%2030.7827'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.937%2013.3266C19.8111%2013.8618%2019.5128%2014.9373%2019.3196%2015.7762C19.7646%2014.7757%2020.7923%2012.5617%2021.3434%2011.71C22.0323%2010.6454%2022.4857%209.26399%2022.5748%208.17445C22.384%207.19993%2022.1012%206.16446%2021.0616%205.27515C19.7621%204.16351%2018.1742%202.50692%2015.2307%202.41298C12.2872%202.31904%2010.0426%203.07065%208.28906%205.38786L8.29964%205.38727C8.77576%205.36104%209.56627%205.31749%2010.0068%204.85913C10.0955%204.89578%2010.2521%205.01226%2010.2897%205.27515C10.7959%205.17071%2011.8992%204.89923%2012.2624%204.64872C12.3407%204.73216%2012.4735%204.8366%2012.4973%205.08711C13.0068%205.04212%2013.679%204.89052%2013.9972%204.60259L14.7832%204.8366V5.27515L15.4877%204.8366C15.5712%205.23324%2015.8703%206.38995%2015.9794%206.58387C16.0663%206.73846%2017.0638%206.87401%2017.7736%207.15379C18.1023%207.28331%2018.8595%207.96405%2019.6737%208.63729C20.4878%209.31054%2020.5762%2010.0973%2020.4666%2010.6296C20.6424%2010.993%2020.8225%2012.0441%2019.937%2013.3266Z'%20fill='black'/%3e%3cpath%20d='M18.999%2018.327C18.9738%2018.0494%2018.9688%2017.2974%2019.1505%2016.5101C19.1961%2016.3123%2019.2547%2016.0578%2019.3196%2015.7762M19.3196%2015.7762C19.5128%2014.9373%2019.8111%2013.8618%2019.937%2013.3266C20.8225%2012.0441%2020.6424%2010.993%2020.4666%2010.6296C20.5762%2010.0973%2020.4878%209.31054%2019.6737%208.63729C18.8595%207.96405%2018.1023%207.2833%2017.7736%207.15379C17.0638%206.87401%2016.0663%206.73846%2015.9794%206.58386C15.8703%206.38995%2015.5712%205.23324%2015.4877%204.8366L14.7832%205.27514V4.8366L13.9972%204.60259C13.679%204.89052%2013.0068%205.04212%2012.4973%205.08711C12.4735%204.8366%2012.3407%204.73216%2012.2624%204.64872C11.8992%204.89923%2010.7959%205.1707%2010.2897%205.27514C10.2521%205.01226%2010.0955%204.89578%2010.0068%204.85913C9.56297%205.32088%208.76397%205.36166%208.28906%205.38786C10.0426%203.07065%2012.2872%202.31904%2015.2307%202.41298C18.1742%202.50692%2019.7621%204.16351%2021.0616%205.27514C22.1012%206.16446%2022.384%207.19993%2022.5748%208.17445C22.4857%209.26399%2022.0323%2010.6454%2021.3434%2011.71C20.7923%2012.5617%2019.7646%2014.7757%2019.3196%2015.7762Z'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.8328%2026.2111C14.1013%2026.2111%2014.3189%2025.9934%2014.3189%2025.7249C14.3189%2025.4565%2014.1013%2025.2388%2013.8328%2025.2388C13.5643%2025.2388%2013.3467%2025.4565%2013.3467%2025.7249C13.3467%2025.9934%2013.5643%2026.2111%2013.8328%2026.2111Z'%20fill='black'/%3e%3cpath%20d='M10.1411%2020.7744C8.98087%2020.9429%206.40173%2021.5393%205.00173%2022.6749C3.60173%2023.8105%201.90357%2027.8406%201.22949%2029.7138'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.761%2025.6122C12.3128%2025.4748%2011.6736%2025.2006%2011.5989%2024.6777C11.4776%2023.8289%2011.3563%2023.0493%2011.2697%2022.4256C11.2004%2021.9267%2011.3217%2021.4439%2011.391%2021.2648'%20stroke='black'%20stroke-width='0.408333'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.55166%2012.3107C7.06698%2012.5602%207.38373%2012.4616%207.47768%2012.3812L8.25446%2011.2474C8.288%2010.7678%208.33498%209.75814%208.25446%209.55685C8.15382%209.30523%208.001%208.94932%207.33672%208.96945C6.80531%208.98556%206.06853%209.28479%205.7666%209.43238C5.81355%2010.2879%206.03634%2012.0613%206.55166%2012.3107Z'%20fill='url(%23paint0_linear_777_14507)'/%3e%3cpath%20d='M9.09602%2010.1364C8.91483%209.25189%209.27805%208.82645%209.48229%208.72428C10.3631%208.36221%2011.6986%208.4375%2012.3248%208.57494C12.3558%209.40987%2012.3514%2011.1916%2012.085%2011.6393C11.7519%2012.1988%2010.4148%2012.1347%209.98853%2011.9082C9.56225%2011.6817%209.32248%2011.2421%209.09602%2010.1364Z'%20fill='url(%23paint1_linear_777_14507)'/%3e%3cpath%20opacity='0.2'%20d='M11.6876%2020.317L9.7168%2019.529L11.4578%2019.1478L15.66%2017.4009C16.0763%2017.2278%2016.4286%2016.9298%2016.6684%2016.548L17.7688%2014.7954L17.2933%2016.6544C17.212%2016.9722%2017.0754%2017.2733%2016.8899%2017.5439L13.5375%2022.4328C13.4068%2022.6234%2013.1212%2022.61%2013.009%2022.4079L12.0005%2020.5926C11.931%2020.4674%2011.8205%2020.3701%2011.6876%2020.317Z'%20fill='black'/%3e%3cpath%20opacity='0.5'%20d='M13.6601%2012.4365C13.5104%2012.08%2012.9842%2011.9611%2012.4848%2012.1708C11.9854%2012.3805%2011.7018%2012.8394%2011.8515%2013.1958C12.0011%2013.5523%2012.4394%2013.8998%2012.9388%2013.6901C13.4383%2013.4804%2013.8097%2012.7929%2013.6601%2012.4365Z'%20fill='%23FED1D0'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_777_14507'%20x1='7.03276'%20y1='12.4699'%20x2='7.03276'%20y2='8.96864'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0.8'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_777_14507'%20x1='10.6924'%20y1='12.0736'%20x2='10.6924'%20y2='8.46123'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0.8'/%3e%3cstop%20offset='1'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_777_14507'%3e%3crect%20width='28'%20height='28'%20rx='14'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",cd=768;function CZ(){const[e,t]=f.useState(void 0);return f.useEffect(()=>{const r=window.matchMedia(`(max-width: ${cd-1}px)`),n=()=>{t(window.innerWidth<cd)};return r.addEventListener("change",n),t(window.innerWidth<cd),()=>r.removeEventListener("change",n)},[]),!!e}const V7=f.forwardRef(({className:e,type:t,...r},n)=>h.jsx("input",{type:t,className:B("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...r}));V7.displayName="Input";var EZ=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],SZ=EZ.reduce((e,t)=>{const r=Vf(`Primitive.${t}`),n=f.forwardRef((o,i)=>{const{asChild:a,...s}=o,c=a?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(c,{...s,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),AZ="Separator",q2="horizontal",OZ=["horizontal","vertical"],z7=f.forwardRef((e,t)=>{const{decorative:r,orientation:n=q2,...o}=e,i=PZ(n)?n:q2,s=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return h.jsx(SZ.div,{"data-orientation":i,...s,...o,ref:t})});z7.displayName=AZ;function PZ(e){return OZ.includes(e)}var W7=z7;const H7=f.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...n},o)=>h.jsx(W7,{ref:o,decorative:r,orientation:t,className:B("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n}));H7.displayName=W7.displayName;const NZ=hw,MZ=vw,K7=f.forwardRef(({className:e,...t},r)=>h.jsx(mc,{className:B("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));K7.displayName=mc.displayName;const jZ=Wt("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),U7=f.forwardRef(({side:e="right",className:t,children:r,...n},o)=>h.jsxs(MZ,{children:[h.jsx(K7,{}),h.jsxs(hc,{ref:o,className:B(jZ({side:e}),t),...n,children:[r,h.jsxs(gw,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[h.jsx(Qo,{className:"h-4 w-4"}),h.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));U7.displayName=hc.displayName;const kZ=f.forwardRef(({className:e,...t},r)=>h.jsx(vc,{ref:r,className:B("text-lg font-semibold text-foreground",e),...t}));kZ.displayName=vc.displayName;const IZ=f.forwardRef(({className:e,...t},r)=>h.jsx(gc,{ref:r,className:B("text-sm text-muted-foreground",e),...t}));IZ.displayName=gc.displayName;function Y2({className:e,...t}){return h.jsx("div",{className:B("animate-pulse rounded-md bg-primary/10",e),...t})}const TZ="sidebar:state",_Z=3600*24*7,RZ="240px",DZ="18rem",LZ="64px",G7=f.createContext(null);function ko(){const e=f.useContext(G7);if(!e)throw new Error("useSidebar must be used within a SidebarProvider");return e}const q7=f.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:r,className:n,style:o,children:i,...a},s)=>{const c=CZ(),[l,u]=f.useState(!1),[d,p]=f.useState(e),m=t??d,g=f.useCallback(x=>{const w=typeof x=="function"?x(m):x;r?r(w):p(w),document.cookie=`${TZ}=${w}; path=/; max-age=${_Z}`},[r,m]),v=f.useCallback(()=>c?u(x=>!x):g(x=>!x),[c,g,u]),y=m?"expanded":"collapsed",b=f.useMemo(()=>({state:y,open:m,setOpen:g,isMobile:c,openMobile:l,setOpenMobile:u,toggleSidebar:v}),[y,m,g,c,l,u,v]);return h.jsx(G7.Provider,{value:b,children:h.jsx(Lw,{delayDuration:0,children:h.jsx("div",{style:{"--sidebar-width":RZ,"--sidebar-width-icon":LZ,...o},className:B("!group/sidebar-wrapper flex min-h-svh w-full !has-[[data-variant=inset]]:!bg-sidebar",n),ref:s,...a,children:i})})})});q7.displayName="SidebarProvider";const Df=f.forwardRef(({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:n,children:o,...i},a)=>{const{isMobile:s,state:c,openMobile:l,setOpenMobile:u}=ko();return r==="none"?h.jsx("div",{className:B("flex h-full !w-[var(--sidebar-width)] flex-col !bg-sidebar !text-sidebar-foreground",n),ref:a,...i,children:o}):s?h.jsx(NZ,{open:l,onOpenChange:u,...i,children:h.jsx(U7,{"data-sidebar":"sidebar","data-mobile":"true",className:"!w-[var(--sidebar-width)] bg-sidebar p-0 !text-sidebar-foreground [&>button]:hidden",style:{"var(--sidebar-width)":DZ},side:e,children:h.jsx("div",{className:"flex h-full w-full flex-col",children:o})})}):h.jsxs("div",{ref:a,className:"group peer !text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?r:"","data-variant":t,"data-side":e,children:[h.jsx("div",{className:B("duration-200 relative h-svh !w-[var(--sidebar-width)] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:!w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:!w-[var(--sidebar-width-icon)]")}),h.jsx("div",{className:B("duration-200 fixed inset-y-0 z-10 h-svh w-[240px] transition-[left,right,width] ease-linear flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:!left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:!right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:!w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+_2px)]":"group-data-[collapsible=icon]:!w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...i,children:h.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col !bg-sidebar group-data-[variant=floating]:rounded-sm group-data-[variant=floating]:border group-data-[variant=floating]:!border-sidebar-border group-data-[variant=floating]:shadow p-3",children:o})})]})});Df.displayName="Sidebar";const Y7=f.forwardRef(({className:e,onClick:t,...r},n)=>{const{toggleSidebar:o}=ko();return h.jsxs(Jn,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:B("h-7 w-7",e),onClick:i=>{t?.(i),o()},...r,children:[h.jsx(ke,{name:"sidebar-right",size:"lg",className:"text-[#9E9994] cursor-pointer"}),h.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})});Y7.displayName="SidebarTrigger";const Z7=f.forwardRef(({className:e,...t},r)=>{const{toggleSidebar:n}=ko();return h.jsx("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:B("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:!bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:!bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});Z7.displayName="SidebarRail";const FZ=f.forwardRef(({className:e,...t},r)=>h.jsx("main",{ref:r,className:B("relative flex min-h-svh flex-1 flex-col bg-background","peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));FZ.displayName="SidebarInset";const BZ=f.forwardRef(({className:e,...t},r)=>h.jsx(V7,{ref:r,"data-sidebar":"input",className:B("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:!ring-sidebar-ring",e),...t}));BZ.displayName="SidebarInput";const Lf=f.forwardRef(({className:e,...t},r)=>h.jsx("div",{ref:r,"data-sidebar":"header",className:B("flex flex-col gap-2",e),...t}));Lf.displayName="SidebarHeader";const Ff=f.forwardRef(({className:e,...t},r)=>h.jsx("div",{ref:r,"data-sidebar":"footer",className:B("flex flex-col gap-1 group-data-[collapsible=icon]:!gap-2",e),...t}));Ff.displayName="SidebarFooter";const $Z=f.forwardRef(({className:e,...t},r)=>h.jsx(H7,{ref:r,"data-sidebar":"separator",className:B("mx-2 w-auto !bg-sidebar-border",e),...t}));$Z.displayName="SidebarSeparator";const Bf=f.forwardRef(({className:e,...t},r)=>h.jsx("div",{ref:r,"data-sidebar":"content",className:B("flex min-h-0 flex-1 flex-col gap-1 group-data-[collapsible=icon]:!gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden custom-scrollbar group-data-[collapsible=icon]:gap-0.5 -mx-3 px-3 py-2",e),...t}));Bf.displayName="SidebarContent";const Go=f.forwardRef(({className:e,...t},r)=>h.jsx("div",{ref:r,"data-sidebar":"group",className:B("relative flex w-full min-w-0 flex-col",e),...t}));Go.displayName="SidebarGroup";const $f=f.forwardRef(({className:e,asChild:t=!1,...r},n)=>{const o=t?ho:"div";return h.jsx(o,{ref:n,"data-sidebar":"group-label",className:B("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium !text-sidebar-foreground/70 outline-none !ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-4 group-data-[collapsible=icon]:opacity-0",e),...r})});$f.displayName="SidebarGroupLabel";const VZ=f.forwardRef(({className:e,asChild:t=!1,...r},n)=>{const o=t?ho:"button";return h.jsx(o,{ref:n,"data-sidebar":"group-action",className:B("absolute right-3 top-3.5 flex aspect-square w-5 cursor-pointer items-center justify-center rounded-md p-0 !text-sidebar-foreground outline-none !ring-sidebar-ring transition-transform hover:!bg-sidebar-accent hover:!text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...r})});VZ.displayName="SidebarGroupAction";const zZ=f.forwardRef(({className:e,...t},r)=>h.jsx("div",{ref:r,"data-sidebar":"group-content",className:B("w-full text-sm",e),...t}));zZ.displayName="SidebarGroupContent";const Dr=f.forwardRef(({className:e,...t},r)=>h.jsx("ul",{ref:r,"data-sidebar":"menu",className:B("flex w-full min-w-0 flex-col gap-1 group-data-[collapsible=icon]:!gap-2 group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:items-center",e),...t}));Dr.displayName="SidebarMenu";const Lr=f.forwardRef(({className:e,...t},r)=>h.jsx("li",{ref:r,"data-sidebar":"menu-item",className:B("group/menu-item relative",e),...t}));Lr.displayName="SidebarMenuItem";const Fr=f.forwardRef(({asChild:e=!1,isActive:t=!1,variant:r="default",size:n="default",tooltip:o,className:i,...a},s)=>{const c=e?ho:"button",{isMobile:l,state:u}=ko(),d=h.jsx(c,{ref:s,"data-sidebar":"menu-button","data-size":n,"data-active":t,className:B("group/menu-button peer/menu-button flex w-full cursor-pointer items-center gap-2 overflow-hidden rounded-sm px-3 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding]","hover:bg-sidebar-accent hover:text-sidebar-accent-foreground","focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground","disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50","data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground","data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground","group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!px-3 group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:gap-0","[&>span:last-child]:truncate","[&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:transition-colors","hover:[&>svg]:text-sidebar-accent-foreground active:[&>svg]:text-sidebar-accent-foreground data-[active=true]:[&>svg]:text-sidebar-accent-foreground","text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground","focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground","disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50","data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground","data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground","group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:gap-0","[&>span:last-child]:truncate","[&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:transition-colors","hover:[&>svg]:text-current active:[&>svg]:text-current data-[active=true]:[&>svg]:text-current",r==="default"&&"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",r==="outline"&&"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]",n==="default"&&"h-8 text-sm",n==="sm"&&"h-7 text-xs",n==="lg"&&"h-12 text-sm group-data-[collapsible=icon]:!p-0",i),...a});return o?(typeof o=="string"&&(o={children:o}),h.jsxs(Md,{children:[h.jsx(jd,{asChild:!0,children:d}),h.jsx(Ja,{side:"right",align:"center",hidden:u!=="collapsed"||l,...o})]})):d});Fr.displayName="SidebarMenuButton";const WZ=f.forwardRef(({className:e,asChild:t=!1,showOnHover:r=!1,...n},o)=>{const i=t?ho:"button";return h.jsx(i,{ref:o,"data-sidebar":"menu-action",className:B("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...n})});WZ.displayName="SidebarMenuAction";const HZ=f.forwardRef(({className:e,...t},r)=>h.jsx("div",{ref:r,"data-sidebar":"menu-badge",className:B("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));HZ.displayName="SidebarMenuBadge";const KZ=f.forwardRef(({className:e,showIcon:t=!1,...r},n)=>h.jsxs("div",{ref:n,"data-sidebar":"menu-skeleton",className:B("rounded-md h-8 flex gap-1 group-data-[collapsible=icon]:!gap-2 px-2 items-center",e),...r,children:[t&&h.jsx(Y2,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),h.jsx(Y2,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":"50%"}})]}));KZ.displayName="SidebarMenuSkeleton";const UZ=f.forwardRef(({className:e,...t},r)=>h.jsx("ul",{ref:r,"data-sidebar":"menu-sub",className:B("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 group-data-[collapsible=icon]:!gap-2 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));UZ.displayName="SidebarMenuSub";const GZ=f.forwardRef(({...e},t)=>h.jsx("li",{ref:t,...e}));GZ.displayName="SidebarMenuSubItem";const qZ=f.forwardRef(({asChild:e=!1,size:t="md",isActive:r,className:n,...o},i)=>{const a=e?ho:"a";return h.jsx(a,{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:B("flex h-7 min-w-0 -translate-x-px items-center gap-1 group-data-[collapsible=icon]:!gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm",n),...o})});qZ.displayName="SidebarMenuSubButton";function YZ({user:e,onSettingsClick:t,dropdownOptions:r}){const{isMobile:n}=ko();return h.jsx(Dr,{children:h.jsx(Lr,{children:h.jsxs(Cp,{children:[h.jsx(Ep,{asChild:!0,children:h.jsxs(Fr,{tooltip:`${e.name}`,className:"hover:bg-accent",children:[typeof e.avatar=="string"||h.jsx("img",{src:e.avatar||Rf,alt:e.name,className:"!h-4 !w-4 rounded-full object-cover group-hover/menu-button:border-1 border-primary"}),h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-sub group-data-[collapsible=icon]:hidden",children:e.name})]})}),h.jsxs(Ec,{className:"w-[--radix-dropdown-menu-trigger-width] w-[240px] min-w-56 rounded-lg",side:n?"bottom":"right",align:"end",sideOffset:4,children:[h.jsx(Sp,{className:"p-0 font-normal",children:h.jsxs("div",{className:"flex items-center gap-2 px-1 py-1.5 text-left text-sm",children:[h.jsx("img",{src:e.avatar||Rf,alt:e.name,className:"!h-7 !w-7 rounded-full object-cover"}),h.jsxs("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-primary",children:e.name}),h.jsx(Ce,{size:"verySmall",fontWeight:"medium",className:"text-sub",children:e.email})]})]})}),h.jsxs(L4,{children:[h.jsxs(ni,{onClick:t,children:[h.jsx(ke,{name:"setting",size:"sm"}),h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-sub group-hover/menu-button:text-black group-focus/menu-button:text-black group-data-[state=active]/menu-button:text-black transition-colors",children:"Setting"})]}),r?.map((o,i)=>h.jsxs(ni,{onClick:()=>{o.onClick?.(),o.onclick?.()},children:[h.jsx(ke,{name:o.icon,size:"sm"}),h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-sub group-hover/menu-button:text-black group-focus/menu-button:text-black group-data-[state=active]/menu-button:text-black transition-colors",children:o.label})]},i))]})]})]})})})}function ZZ({type:e="default",user:t={name:"Rico Oktananda",email:"rico.ok1@gmail.com",avatar:Rf},defaultOptions:r=QZ,settingOptions:n=XZ,defaultFooterOptions:o=[],settingFooterOptions:i=[],dropdownOptions:a=[],codesniper:s,supperhuman:c}){const[l,u]=f.useState(e);return h.jsx(q7,{className:"h-full",children:h.jsx(JZ,{type:l,user:t,onTypeChange:u,defaultOptions:r,settingOptions:n,defaultFooterOptions:o,settingFooterOptions:i,dropdownOptions:a,codesniper:s,supperhuman:c})})}const QZ=[{label:"ANALYTICS",items:[{title:"Dashboard",url:"#",icon:"cells"},{title:"Tests",url:"#",icon:"zap"},{title:"Insights",url:"#",icon:"contentGenerator"},{title:"CVR Reports",url:"#",icon:"pieChart"}]},{label:"TOOLS",items:[{title:"A/B Testing",url:"#",icon:"AiIdea"},{title:"Pre-Calculations",url:"#",icon:"barChat"},{title:"Assets",url:"#",icon:"stackStar"}]}],XZ=[{label:"GENERAL",items:[{title:"Profile",url:"#",icon:"userAccount",isActive:!1},{title:"Workspace",url:"#",icon:"workspace"},{title:"Team",url:"#",icon:"users"},{title:"Billing and Plan",url:"#",icon:"creditCard"}]},{label:"ADVANCED",items:[{title:"General",url:"#",icon:"grid-view"},{title:"Integrations",url:"#",icon:"zap",isActive:!0},{title:"Webhook",url:"#",icon:"webDesign"},{title:"COGS",url:"#",icon:"cells"},{title:"Analytics",url:"#",icon:"barChat"},{title:"Currency",url:"#",icon:"money"}]}];function JZ({type:e,user:t,onTypeChange:r,defaultOptions:n=[],settingOptions:o=[],defaultFooterOptions:i=[],settingFooterOptions:a=[],dropdownOptions:s=[],codesniper:c,supperhuman:l}){const{state:u,toggleSidebar:d}=ko(),[p,m]=f.useState("Integrations"),[g,v]=f.useState("Dashboard"),y=e==="setting"?o:n,b=e==="setting"?a:i;return e==="setting"?h.jsxs(Df,{collapsible:"icon",children:[h.jsx(Lf,{children:h.jsx(Dr,{children:h.jsx(Lr,{children:h.jsxs(Fr,{tooltip:"Back to app",size:"sm",className:"text-sidebar-foreground/70 hover:text-sidebar-foreground hover:bg-accent hover:text-accent-foreground",onClick:()=>r("default"),children:[h.jsx(ke,{name:"arrow-left",size:"lg"}),h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-sub group-data-[collapsible=icon]:hidden group-data-[active=true]/menu-button:text-primary",children:"Back to app"})]})})})}),h.jsx(Bf,{children:y.map((x,w)=>h.jsxs(Go,{children:[h.jsx($f,{children:h.jsx(Qe,{variant:"xs",font:"regular",className:"text-sub",children:x.label})}),h.jsx(Dr,{children:x.items.map(C=>h.jsx(Lr,{children:h.jsxs(Fr,{className:"hover:bg-accent hover:text-accent-foreground data-[active=true]:bg-accent data-[active=true]:text-accent-foreground",isActive:p===C.title,tooltip:C.title,onClick:()=>{m(C.title),C.onClick?.(),C.onclick?.()},children:[h.jsx(ke,{name:C.icon,size:"md",className:"group-data-[active=true]/menu-button:text-primary"}),h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-sub group-data-[collapsible=icon]:hidden group-data-[active=true]/menu-button:text-primary",children:C.title})]})},C.title))})]},w))}),h.jsx(Ff,{children:h.jsx(Go,{children:h.jsx(Dr,{children:b.map((x,w)=>h.jsx(Lr,{children:h.jsxs(Fr,{tooltip:x.title,className:"hover:bg-accent hover:text-accent-foreground data-[active=true]:bg-accent data-[active=true]:text-accent-foreground",onClick:()=>{x.onClick?.(),x.onclick?.()},children:[h.jsx(ke,{name:x.icon,size:"md",className:"group-data-[active=true]/menu-button:text-primary"}),h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-sub group-data-[collapsible=icon]:hidden group-data-[active=true]/menu-button:text-primary",children:x.title})]})},w))})})})]}):h.jsxs(Df,{collapsible:"icon",children:[h.jsxs(Lf,{className:"group-data-[collapsible=icon]:gap-5",children:[h.jsxs("div",{className:"flex items-center justify-center",children:[h.jsxs("div",{className:"flex items-center gap-2 group-data-[collapsible=icon]:gap-0",children:[h.jsx("div",{className:"bg-sidebar-primary text-sidebar-primary-foreground",children:h.jsx(ke,{name:"conversion",size:"md",className:"text-black"})}),h.jsx("div",{className:B("flex items-center gap-2 transition-opacity hover:opacity-80",u==="collapsed"&&"justify-center w-full"),onClick:()=>{u==="collapsed"&&d()},children:h.jsx("span",{className:"group-data-[collapsible=icon]:hidden",children:h.jsx(Ce,{size:"medium",fontWeight:"medium",className:"text-black",children:"Conversion.io"})})})]}),h.jsx(Y7,{className:"ml-auto group-data-[collapsible=icon]:hidden flex items-center justify-end"})]}),l&&h.jsx(Dr,{children:h.jsx(Lr,{children:h.jsxs(Fr,{size:"lg",className:"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground hover:bg-accent hover:text-accent-foreground group-data-[collapsible=icon]:border-none group-data-[collapsible=icon]:shadow-none border rounded-lg shadow-xs",children:[h.jsx("div",{className:"flex aspect-square size-8 items-center justify-center rounded-lg group-data-[collapsible=icon]:hover:border-3",children:h.jsx("img",{src:wZ,alt:"Superhuman",className:"w-7 h-7"})}),h.jsxs("div",{className:"grid flex-1 text-left text-sm leading-tight group-data-[collapsible=icon]:hidden gap-1",children:[h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-black",children:"Superhuman"}),h.jsxs(Qe,{variant:"xs",font:"regular",className:"text-sub",children:[l," MEMBERS"]})]}),h.jsx(N9,{className:"ml-auto group-data-[collapsible=icon]:hidden text-sub-1 group-hover/menu-button:text-black transition-colors"})]})})})]}),h.jsxs(Bf,{children:[y.map((x,w)=>h.jsxs(Go,{children:[h.jsx($f,{children:h.jsx(Qe,{variant:"xs",font:"regular",className:"text-sub font-mono",children:x.label})}),h.jsx(Dr,{children:x.items.map(C=>h.jsx(Lr,{children:h.jsxs(Fr,{className:"hover:bg-accent hover:text-accent-foreground data-[active=true]:bg-accent data-[active=true]:text-accent-foreground",isActive:g===C.title,tooltip:C.title,onClick:()=>{v(C.title),C.onClick?.(),C.onclick?.()},children:[h.jsx(ke,{name:C.icon,size:"md",className:"group-data-[active=true]/menu-button:text-primary"}),h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-sub group-data-[collapsible=icon]:hidden group-data-[active=true]/menu-button:text-primary",children:C.title})]})},C.title))})]},w)),c&&h.jsx(Go,{className:"mt-auto group-data-[collapsible=icon]:hidden",children:h.jsxs("div",{className:"rounded-lg border border-dashed bg-weak p-3 text-left text-xs text-muted-foreground mx-1 mb-1",children:[h.jsx(ke,{name:"cursor",size:"md",className:"mb-3"}),h.jsxs(Hf,{variant:"small",className:"text-strong",children:["Finish setup to launch",h.jsx("br",{})," your first experiment"]}),h.jsx("div",{className:"flex flex-col gap-2",children:h.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"font-medium text-blue-500 hover:underline break-all",children:"Finish the Setup Process"})})]})})]}),h.jsxs(Ff,{className:"gap-0",children:[h.jsx(Dr,{children:b.map((x,w)=>h.jsx(Lr,{children:h.jsxs(Fr,{tooltip:x.title,className:"hover:bg-accent hover:text-accent-foreground",onClick:()=>{x.onClick?.(),x.onclick?.()},children:[h.jsx(ke,{name:x.icon,size:"md",className:"group-data-[active=true]/menu-button:text-primary"}),h.jsx(Ce,{size:"small",fontWeight:"medium",className:"text-sub group-data-[collapsible=icon]:hidden group-data-[active=true]/menu-button:text-primary",children:x.title})]})},w))}),t&&h.jsx(YZ,{user:t,onSettingsClick:()=>r("setting"),dropdownOptions:s})]}),h.jsx(Z7,{})]})}const em=f.forwardRef(({className:e,...t},r)=>h.jsx("div",{className:"relative w-full overflow-auto bg-white rounded-lg border shadow-sm",children:h.jsx("table",{ref:r,className:B("w-full caption-bottom text-sm",e),...t})}));em.displayName="Table";const tm=f.forwardRef(({className:e,...t},r)=>h.jsx("thead",{ref:r,className:B("[&_tr]:border-b",e),...t}));tm.displayName="TableHeader";const rm=f.forwardRef(({className:e,...t},r)=>h.jsx("tbody",{ref:r,className:B("[&_tr:last-child]:border-0",e),...t}));rm.displayName="TableBody";const Q7=f.forwardRef(({className:e,...t},r)=>h.jsx("tfoot",{ref:r,className:B("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));Q7.displayName="TableFooter";const Us=f.forwardRef(({className:e,...t},r)=>h.jsx("tr",{ref:r,className:B("border-b transition-colors bg-weak ",e),...t}));Us.displayName="TableRow";const nm=f.forwardRef(({className:e,...t},r)=>h.jsx("th",{ref:r,className:B("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t}));nm.displayName="TableHead";const om=f.forwardRef(({className:e,...t},r)=>h.jsx("td",{ref:r,className:B("px-3 h-[72px] gap-2 align-middle bg-white [&:has([role=checkbox])]:pr-0",e),...t}));om.displayName="TableCell";const X7=f.forwardRef(({className:e,...t},r)=>h.jsx("caption",{ref:r,className:B("mt-4 text-sm text-muted-foreground",e),...t}));X7.displayName="TableCaption";const eQ=({data:e,columns:t,rowKey:r})=>h.jsx("div",{className:"w-full overflow-auto",children:h.jsxs(em,{className:"table-fixed w-full",children:[h.jsx(tm,{children:h.jsx(Us,{className:"border-b-2 border-purple-100",children:t.map((n,o)=>h.jsx(nm,{style:{width:n.width},className:`text-xs font-semibold text-gray-500 ${n.className??""}`,children:h.jsxs("div",{className:"flex items-center gap-2",children:[n.headerIcon,n.header]})},o))})}),h.jsx(rm,{children:e.map((n,o)=>h.jsx(Us,{className:"group hover:bg-gray-50/50",children:t.map((i,a)=>h.jsx(om,{className:"py-[14px]",children:i.render?i.render(n,o):n[i.key]},a))},r?r(n):o))})]})});var ll="Switch",[tQ]=Ht(ll),[rQ,nQ]=tQ(ll),J7=f.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:i,required:a,disabled:s,value:c="on",onCheckedChange:l,form:u,...d}=e,[p,m]=f.useState(null),g=ce(t,w=>m(w)),v=f.useRef(!1),y=p?u||!!p.closest("form"):!0,[b,x]=Xt({prop:o,defaultProp:i??!1,onChange:l,caller:ll});return h.jsxs(rQ,{scope:r,checked:b,disabled:s,children:[h.jsx(ne.button,{type:"button",role:"switch","aria-checked":b,"aria-required":a,"data-state":nC(b),"data-disabled":s?"":void 0,disabled:s,value:c,...d,ref:g,onClick:G(e.onClick,w=>{x(C=>!C),y&&(v.current=w.isPropagationStopped(),v.current||w.stopPropagation())})}),y&&h.jsx(rC,{control:p,bubbles:!v.current,name:n,value:c,checked:b,required:a,disabled:s,form:u,style:{transform:"translateX(-100%)"}})]})});J7.displayName=ll;var eC="SwitchThumb",tC=f.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=nQ(eC,r);return h.jsx(ne.span,{"data-state":nC(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});tC.displayName=eC;var oQ="SwitchBubbleInput",rC=f.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...o},i)=>{const a=f.useRef(null),s=ce(a,i),c=wb(r),l=db(t);return f.useEffect(()=>{const u=a.current;if(!u)return;const d=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(d,"checked").set;if(c!==r&&m){const g=new Event("click",{bubbles:n});m.call(u,r),u.dispatchEvent(g)}},[c,r,n]),h.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:s,style:{...o.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});rC.displayName=oQ;function nC(e){return e?"checked":"unchecked"}var iQ=J7,aQ=tC;const sQ={xs:{root:"w-[23px] h-[13px] ",thumb:"w-[10px] h-[10px] left-0.5",translate:"data-[state=checked]:translate-x-2.5",dot:"w-[3px] h-[3px]"},sm:{root:"w-[30px] h-[16px]",thumb:"h-[13px] w-[13px] left-1",translate:"data-[state=checked]:translate-x-3",dot:"h-[4px] w-[4px]"},md:{root:"w-[40px] h-[20px]",thumb:"h-[16px] w-[16px] left-1",translate:"data-[state=checked]:translate-x-4.5",dot:"h-[4.8px] w-[4.8px]"}},oC=f.forwardRef(({className:e,size:t="md",...r},n)=>{const o=sQ[t];return h.jsx(iQ,{ref:n,className:B("relative inline-flex cursor-pointer items-center rounded-full transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=unchecked]:bg-soft-1","data-[state=checked]:bg-blue-500",o.root,e),...r,children:h.jsx(aQ,{className:B("group absolute flex items-center justify-center rounded-full bg-white transition-transform shadow-sm",o.thumb,o.translate),children:h.jsx("span",{className:B("rounded-full transition-colors","bg-soft-1 group-data-[state=checked]:bg-blue-500",o.dot)})})})});oC.displayName="Switch";exports.Autocomplete=Fw;exports.Button=Jn;exports.Chart=xZ;exports.Chip=xx;exports.ConversionSidebar=ZZ;exports.DropdownMenu=Cp;exports.DropdownMenuCheckboxItem=$4;exports.DropdownMenuContent=Ec;exports.DropdownMenuGroup=L4;exports.DropdownMenuItem=ni;exports.DropdownMenuLabel=Sp;exports.DropdownMenuPortal=wI;exports.DropdownMenuRadioGroup=EI;exports.DropdownMenuRadioItem=V4;exports.DropdownMenuSeparator=z4;exports.DropdownMenuShortcut=W4;exports.DropdownMenuSub=CI;exports.DropdownMenuSubContent=B4;exports.DropdownMenuSubTrigger=F4;exports.DropdownMenuTrigger=Ep;exports.FilterSelect=xN;exports.Heading=gy;exports.Icon=ke;exports.Label=Ce;exports.Menu=SI;exports.Paragraph=Hf;exports.Popup=ok;exports.Progress=Sy;exports.SearchInput=Yy;exports.StatusBadge=AN;exports.Switch=oC;exports.Table=em;exports.TableBody=rm;exports.TableCaption=X7;exports.TableCell=om;exports.TableComponent=eQ;exports.TableFooter=Q7;exports.TableHead=nm;exports.TableHeader=tm;exports.TableRow=Us;exports.Tabs=hA;exports.TabsContent=qy;exports.TabsList=Gy;exports.TabsTrigger=Uy;exports.Text=Qe;exports.TextArea=wx;exports.TextField=H4;exports.Trend=ap;
|