@agregio-solutions/design-system 1.68.0 → 1.69.0
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/dist/design-system.cjs
CHANGED
|
@@ -1298,7 +1298,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
1298
1298
|
--color: var(--color-content-neutral-secondary);
|
|
1299
1299
|
--placeholder-color: var(--color-content-neutral-tertiary);
|
|
1300
1300
|
}
|
|
1301
|
-
`,Xw=s.forwardRef((e,t)=>{const n=e["aria-label"]??String(e.label),r=br({nature:e.nature,successHelperText:e.successHelperText,errorHelperText:e.errorHelperText}),a={...e.wrapperProps,htmlForId:e.id,label:e.label,labelIconRight:e.labelIconRight,description:e.description,helperTextIcon:e.helperTextIcon,helperText:e.helperText,errorHelperText:e.errorHelperText,errorHelperTextIcon:e.errorHelperTextIcon,successHelperText:e.successHelperText,successHelperTextIcon:e.successHelperTextIcon,required:e.required};return c.jsx(un,{...a,children:c.jsxs(Uw,{id:e.id,isDisabled:e.disabled,isRequired:e.required,onSelectionChange:
|
|
1301
|
+
`,Xw=s.forwardRef((e,t)=>{var o;const n=e["aria-label"]??String(e.label),r=br({nature:e.nature,successHelperText:e.successHelperText,errorHelperText:e.errorHelperText}),a={...e.wrapperProps,htmlForId:e.id,label:e.label,labelIconRight:e.labelIconRight,description:e.description,helperTextIcon:e.helperTextIcon,helperText:e.helperText,errorHelperText:e.errorHelperText,errorHelperTextIcon:e.errorHelperTextIcon,successHelperText:e.successHelperText,successHelperTextIcon:e.successHelperTextIcon,required:e.required};return c.jsx(un,{...a,children:c.jsxs(Uw,{id:e.id,isDisabled:e.disabled,isRequired:e.required,onSelectionChange:i=>{var u;return(u=e.onChange)==null?void 0:u.call(e,String(i||""))},selectedKey:e.value,disabledKeys:e.disabledIds,"data-fullwidth":e.fullWidth,"aria-label":n,defaultFilter:e.defaultFilter,inputValue:e.inputValue,defaultInputValue:e.defaultInputValue,onInputChange:e.onInputChange,items:e.items,defaultItems:e.defaultItems,children:[c.jsxs(Ww,{children:[c.jsx(up,{...e.inputProps,placeholder:e.placeholder||((o=e.inputProps)==null?void 0:o.placeholder),ref:t,"data-nature":r,"data-fullwidth":e.fullWidth,hasIcon:!0}),c.jsx(Gw,{iconLeft:"expand_more",mode:"tertiary"})]}),c.jsx(qw,{offset:4,placement:"bottom",children:c.jsx(Yw,{children:i=>c.jsx(fr,{...i})})})]})})});/**
|
|
1302
1302
|
* react-table
|
|
1303
1303
|
*
|
|
1304
1304
|
* Copyright (c) TanStack
|
|
@@ -2687,7 +2687,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2687
2687
|
display: none;
|
|
2688
2688
|
}
|
|
2689
2689
|
}
|
|
2690
|
-
`,WP=V.
|
|
2690
|
+
`,WP=V.div`
|
|
2691
2691
|
flex: 1;
|
|
2692
2692
|
|
|
2693
2693
|
@media (min-width: 768px) {
|
|
@@ -2695,20 +2695,20 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2695
2695
|
display: none;
|
|
2696
2696
|
}
|
|
2697
2697
|
}
|
|
2698
|
-
`;function Ui({label:e,href:t,isActive:n,subLinks:r,iconLeft:a,defaultOpen:o,className:i,style:u,onClick:l,...
|
|
2698
|
+
`;function GP({label:e,ariaLabel:t}){return t??String(e)}function Ui({label:e,href:t,isActive:n,subLinks:r,iconLeft:a,defaultOpen:o,className:i,style:u,onClick:l,"aria-label":d,...p}){const{isCollapsed:f,setIsCollapsed:h,currentPath:m}=Fp(),g=Mu(),[v,C]=s.useState(o||!1),D=!!!t&&!!(r!=null&&r.length);s.useEffect(()=>{f&&C(!1)},[f]);const $=Rd({controlledIsActive:n,isDropdown:D,href:t,subLinks:r,currentPath:m});return s.useEffect(()=>{m&&$&&D&&C(!0)},[m,$,D]),c.jsxs(c.Fragment,{children:[c.jsxs(ZP,{"data-active":$,href:t,onPress:()=>{D||g==null||g.setIsCollapsed(!0),l?l():D&&(C(E=>!E),h(!1))},"data-collapsed":f,className:i,style:u,"aria-label":GP({label:e,ariaLabel:d}),...p,children:[a&&c.jsx(_P,{name:a}),c.jsx(WP,{"data-is-collapsed":f,children:e}),D&&c.jsx(UP,{"data-is-collapsed":f,name:"chevron_right","data-open":v})]}),D&&v&&c.jsx(c.Fragment,{children:r.map(E=>c.jsx(Ui,{href:E.href,isActive:Rd({controlledIsActive:E.isActive,isDropdown:!1,href:E.href,currentPath:m}),iconLeft:"tree_item",label:E.label},E.href))})]})}const Rd=({controlledIsActive:e,isDropdown:t,href:n,subLinks:r,currentPath:a})=>{if(e!=null)return e;if(a==null)return!1;const o=T1(a);return t&&r&&r.length>0?r.some(i=>o.startsWith(T1(i.href))):!!(n&&o.startsWith(T1(n)))},T1=e=>e.split("?")[0];function qP({children:e,logo:t,onParametersClick:n,onLogoutClick:r,...a}){const o=Ke(XP),{isCollapsed:i,setIsCollapsed:u}=Fp(),l=Mu(),d=!!n||!!r;return c.jsxs(jP,{"data-collapsed":i,"data-page-layout-collapsed":l==null?void 0:l.isCollapsed,...a,children:[c.jsxs(LP,{"data-collapsed":i,children:[!i&&c.jsx(zP,{title:t,"data-type":t}),c.jsx(Ap,{"data-testid":"navigation-mobile-collapsed-menu",onPress:()=>u(p=>!p),"aria-label":i?o.open:o.close,"data-collapsed":i,children:c.jsx(le,{name:"collapse_menu"})}),c.jsx(OP,{"data-testid":"navigation-mobile-close-menu",onPress:()=>l==null?void 0:l.setIsCollapsed(p=>!p),"aria-label":l!=null&&l.isCollapsed?o.open:o.close,"data-collapsed":l==null?void 0:l.isCollapsed,children:c.jsx(le,{name:"close"})})]}),c.jsx(KP,{children:e}),d&&c.jsxs(c.Fragment,{children:[c.jsx(HP,{"data-collapsed":i,children:c.jsx("hr",{})}),c.jsxs("footer",{children:[!!n&&c.jsx(Ui,{iconLeft:"settings",label:o.settings,onClick:n,"aria-label":o.settings}),!!r&&c.jsx(Ui,{iconLeft:"logout",label:o.logout,onClick:r,"aria-label":o.logout})]})]})]})}function YP({initialIsCollapsed:e,currentPath:t,...n}){return c.jsx(NP,{initialIsCollapsed:e,currentPath:t,children:c.jsx(qP,{...n})})}const XP={en:{close:"Close navigation",open:"Open navigation",settings:"Settings",logout:"Logout"},fr:{close:"Fermer la navigation",open:"Ouvrir la navigation",settings:"Paramètres",logout:"Déconnexion"}},JP=om`
|
|
2699
2699
|
/* This hack is required when using the PageLayout component to avoid a bug in Chrome that creates a double scrollbar on the page */
|
|
2700
2700
|
html {
|
|
2701
2701
|
height: 100vh;
|
|
2702
2702
|
overflow: hidden;
|
|
2703
2703
|
}
|
|
2704
|
-
`,
|
|
2704
|
+
`,QP=V.div`
|
|
2705
2705
|
display: flex;
|
|
2706
2706
|
overflow: hidden;
|
|
2707
|
-
`,
|
|
2707
|
+
`,eA=V.main`
|
|
2708
2708
|
height: 100vh;
|
|
2709
2709
|
flex: 1;
|
|
2710
2710
|
overflow-y: auto;
|
|
2711
|
-
`,
|
|
2711
|
+
`,tA=V.div`
|
|
2712
2712
|
@media screen and (max-width: 767px) {
|
|
2713
2713
|
position: absolute;
|
|
2714
2714
|
z-index: var(--z-index-fixed);
|
|
@@ -2724,7 +2724,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2724
2724
|
transition: none;
|
|
2725
2725
|
}
|
|
2726
2726
|
}
|
|
2727
|
-
`,
|
|
2727
|
+
`,nA=V.div`
|
|
2728
2728
|
@media screen and (max-width: 767px) {
|
|
2729
2729
|
display: none;
|
|
2730
2730
|
|
|
@@ -2737,7 +2737,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2737
2737
|
background: rgba(0 12 51 / 0.7);
|
|
2738
2738
|
}
|
|
2739
2739
|
}
|
|
2740
|
-
`;function
|
|
2740
|
+
`;function rA({navigationComponent:e,children:t}){const n=Mu();return c.jsxs(QP,{children:[c.jsx(JP,{}),c.jsx(nA,{"data-navigation-overlay-collapsed":n==null?void 0:n.isCollapsed,onClick:()=>n==null?void 0:n.setIsCollapsed(r=>!r)}),c.jsx(tA,{"data-page-layout-collapsed":n==null?void 0:n.isCollapsed,children:e}),c.jsx(eA,{children:t})]})}function aA(e){return c.jsx(Wk,{children:c.jsx(rA,{...e})})}const oA=V(Gn)`
|
|
2741
2741
|
padding: var(--spacing-sm);
|
|
2742
2742
|
border-radius: var(--radius-rounded);
|
|
2743
2743
|
color: var(--color-content-neutral-secondary);
|
|
@@ -2788,7 +2788,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2788
2788
|
margin-right: var(--spacing-xs);
|
|
2789
2789
|
--origin: translateX(4px);
|
|
2790
2790
|
}
|
|
2791
|
-
`,
|
|
2791
|
+
`,iA=V(Kf)`
|
|
2792
2792
|
line-height: 0;
|
|
2793
2793
|
|
|
2794
2794
|
&[data-placement="bottom"] svg {
|
|
@@ -2802,7 +2802,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2802
2802
|
&[data-placement="left"] svg {
|
|
2803
2803
|
transform: rotate(-90deg);
|
|
2804
2804
|
}
|
|
2805
|
-
`,
|
|
2805
|
+
`,uA=V($n)`
|
|
2806
2806
|
background: none;
|
|
2807
2807
|
border: none;
|
|
2808
2808
|
padding: 0;
|
|
@@ -2821,19 +2821,19 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2821
2821
|
background-color: transparent;
|
|
2822
2822
|
-webkit-appearance: none;
|
|
2823
2823
|
-moz-appearance: none;
|
|
2824
|
-
`,
|
|
2824
|
+
`,lA=V(pa)`
|
|
2825
2825
|
display: flex;
|
|
2826
2826
|
flex-direction: column;
|
|
2827
2827
|
align-items: flex-start;
|
|
2828
2828
|
gap: var(--spacing-xs);
|
|
2829
2829
|
outline: none;
|
|
2830
|
-
`,
|
|
2830
|
+
`,sA=V.header`
|
|
2831
2831
|
display: flex;
|
|
2832
2832
|
justify-content: space-between;
|
|
2833
2833
|
align-items: center;
|
|
2834
2834
|
gap: var(--spacing-xs);
|
|
2835
2835
|
width: 100%;
|
|
2836
|
-
`,
|
|
2836
|
+
`,dA=V(ho)`
|
|
2837
2837
|
margin: 0;
|
|
2838
2838
|
padding: 0;
|
|
2839
2839
|
color: var(--color-content-neutral-primary);
|
|
@@ -2841,15 +2841,15 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2841
2841
|
font-style: normal;
|
|
2842
2842
|
font-weight: 700;
|
|
2843
2843
|
line-height: var(--text-line-height-lg);
|
|
2844
|
-
`,
|
|
2844
|
+
`,cA=V(ke)`
|
|
2845
2845
|
margin-left: auto;
|
|
2846
|
-
`;function
|
|
2846
|
+
`;function fA({trigger:e,title:t,children:n,defaultOpen:r,isOpen:a,onOpenChange:o,placement:i="top",hideArrow:u=!1,hideCloseButton:l=!1}){const d=!!t||!l;return c.jsxs(Ws,{defaultOpen:r,isOpen:a,onOpenChange:o,children:[e,c.jsxs(oA,{placement:i,children:[!u&&c.jsx(iA,{children:c.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",fill:"#FFF",children:c.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),c.jsx(lA,{children:({close:p})=>c.jsxs(c.Fragment,{children:[d&&c.jsxs(sA,{children:[!!t&&c.jsx(dA,{slot:"title",children:t}),!l&&c.jsx(cA,{iconRight:"close",mode:"tertiary",size:"small",onClick:p})]}),n]})})]})]})}function pA({children:e,triggerButtonProps:t}){return c.jsx(uA,{...t,children:e})}const hA=V.div`
|
|
2847
2847
|
display: flex;
|
|
2848
2848
|
|
|
2849
2849
|
&[data-has-label="true"] {
|
|
2850
2850
|
padding: var(--spacing-xs) var(--spacing-xxs);
|
|
2851
2851
|
}
|
|
2852
|
-
`,
|
|
2852
|
+
`,mA=V.label`
|
|
2853
2853
|
display: flex;
|
|
2854
2854
|
align-items: center;
|
|
2855
2855
|
border-radius: var(--radius-rounded);
|
|
@@ -2873,7 +2873,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2873
2873
|
border-radius: 9999px;
|
|
2874
2874
|
outline-offset: -2px;
|
|
2875
2875
|
}
|
|
2876
|
-
`,
|
|
2876
|
+
`,vA=V.input`
|
|
2877
2877
|
margin: var(--spacing-xxs);
|
|
2878
2878
|
width: 16px;
|
|
2879
2879
|
height: 16px;
|
|
@@ -2887,9 +2887,9 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2887
2887
|
&:disabled {
|
|
2888
2888
|
cursor: not-allowed;
|
|
2889
2889
|
}
|
|
2890
|
-
`,
|
|
2890
|
+
`,gA=V.span`
|
|
2891
2891
|
padding: 0 var(--spacing-xs);
|
|
2892
|
-
`,
|
|
2892
|
+
`,CA=s.forwardRef(({label:e,labelProps:t,wrapperProps:n,disabled:r,...a},o)=>c.jsx(hA,{...n,"data-has-label":!!e,"data-design-system-component":"Radio",children:c.jsxs(mA,{...t,"aria-disabled":!!r,"data-has-label":!!e,children:[c.jsx(vA,{...a,type:"radio",ref:o,disabled:r}),!!e&&c.jsx(gA,{children:e})]})})),bA=pr`
|
|
2893
2893
|
from {
|
|
2894
2894
|
transform: translate(-50%, 50px) scale(0.9);
|
|
2895
2895
|
opacity: 0;
|
|
@@ -2898,10 +2898,10 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2898
2898
|
transform: translate(-50%, 0) scale(1);
|
|
2899
2899
|
opacity: 1;
|
|
2900
2900
|
}
|
|
2901
|
-
`,
|
|
2901
|
+
`,xA=pr`
|
|
2902
2902
|
from { background: rgba(0 0 0 / 0); }
|
|
2903
2903
|
to { background: rgba(0 12 51 / 0.7); }
|
|
2904
|
-
`,
|
|
2904
|
+
`,yA=V(Tu)`
|
|
2905
2905
|
position: fixed;
|
|
2906
2906
|
z-index: var(--z-index-modal);
|
|
2907
2907
|
top: 0;
|
|
@@ -2911,7 +2911,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2911
2911
|
background: rgba(0 12 51 / 0.7);
|
|
2912
2912
|
|
|
2913
2913
|
&[data-entering] {
|
|
2914
|
-
animation: ${
|
|
2914
|
+
animation: ${xA} 100ms;
|
|
2915
2915
|
}
|
|
2916
2916
|
|
|
2917
2917
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -2920,7 +2920,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2920
2920
|
animation: none;
|
|
2921
2921
|
}
|
|
2922
2922
|
}
|
|
2923
|
-
|
|
2923
|
+
`,$A=V(Xs)`
|
|
2924
2924
|
position: fixed;
|
|
2925
2925
|
top: 12vh;
|
|
2926
2926
|
left: 50%;
|
|
@@ -2932,7 +2932,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2932
2932
|
overflow: hidden;
|
|
2933
2933
|
|
|
2934
2934
|
&[data-entering] {
|
|
2935
|
-
animation: ${
|
|
2935
|
+
animation: ${bA} 100ms;
|
|
2936
2936
|
}
|
|
2937
2937
|
|
|
2938
2938
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -2941,12 +2941,12 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2941
2941
|
animation: none;
|
|
2942
2942
|
}
|
|
2943
2943
|
}
|
|
2944
|
-
|
|
2944
|
+
`,DA=V(pa)`
|
|
2945
2945
|
outline: none;
|
|
2946
2946
|
max-height: min(calc(100vh - 12vh - var(--spacing-md)), 632px);
|
|
2947
2947
|
display: flex;
|
|
2948
2948
|
flex-direction: column;
|
|
2949
|
-
`,
|
|
2949
|
+
`,EA=V.div`
|
|
2950
2950
|
padding: var(--spacing-xxs);
|
|
2951
2951
|
|
|
2952
2952
|
div {
|
|
@@ -2959,7 +2959,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2959
2959
|
font-weight: 400;
|
|
2960
2960
|
line-height: var(--text-line-height-md);
|
|
2961
2961
|
}
|
|
2962
|
-
`,
|
|
2962
|
+
`,wA=V.div`
|
|
2963
2963
|
flex: 1;
|
|
2964
2964
|
overflow-y: auto;
|
|
2965
2965
|
display: inline;
|
|
@@ -2986,7 +2986,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2986
2986
|
&:focus-within {
|
|
2987
2987
|
background: var(--color-background-neutral-underground-1);
|
|
2988
2988
|
}
|
|
2989
|
-
`,
|
|
2989
|
+
`,BA=V(le)`
|
|
2990
2990
|
width: 24px;
|
|
2991
2991
|
height: 24px;
|
|
2992
2992
|
color: var(--color-content-neutral-primary);
|
|
@@ -2995,7 +2995,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
2995
2995
|
${Mp}:focus-within & {
|
|
2996
2996
|
color: var(--color-content-action-action);
|
|
2997
2997
|
}
|
|
2998
|
-
`,
|
|
2998
|
+
`,kA=V.input`
|
|
2999
2999
|
flex: 1;
|
|
3000
3000
|
border: none;
|
|
3001
3001
|
outline: none;
|
|
@@ -3015,18 +3015,18 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3015
3015
|
&:focus {
|
|
3016
3016
|
outline: none;
|
|
3017
3017
|
}
|
|
3018
|
-
`,
|
|
3018
|
+
`,SA=V.button`
|
|
3019
3019
|
all: unset;
|
|
3020
3020
|
display: flex;
|
|
3021
3021
|
align-items: center;
|
|
3022
3022
|
justify-content: center;
|
|
3023
3023
|
cursor: pointer;
|
|
3024
|
-
`,
|
|
3024
|
+
`,PA=V(le)`
|
|
3025
3025
|
width: 24px;
|
|
3026
3026
|
height: 24px;
|
|
3027
3027
|
color: var(--color-content-action-action);
|
|
3028
3028
|
flex-shrink: 0;
|
|
3029
|
-
`,
|
|
3029
|
+
`,AA=s.forwardRef(({wrapperProps:e,value:t,onChange:n,onClear:r,withResults:a,...o},i)=>{const u=s.useRef(null),l=i||u,d=Ke(TA);return c.jsxs(Mp,{...e,"data-with-results":a,children:[c.jsx(BA,{name:"search","aria-hidden":"true"}),c.jsx(kA,{...o,ref:l,type:"text",placeholder:o.placeholder||d.placeholder,value:t,onChange:p=>n(p.target.value)}),!!t&&!!r&&c.jsx(SA,{onClick:()=>{var p;r(),l&&"current"in l&&((p=l.current)==null||p.focus())},"aria-label":d.clearButton,children:c.jsx(PA,{name:"close","aria-hidden":"true"})})]})}),TA={en:{placeholder:"Search",clearButton:"Clear"},fr:{placeholder:"Rechercher",clearButton:"Effacer"}},FA=s.memo(AA),MA=V.div`
|
|
3030
3030
|
display: flex;
|
|
3031
3031
|
align-items: center;
|
|
3032
3032
|
width: 100%;
|
|
@@ -3062,7 +3062,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3062
3062
|
height: 16px;
|
|
3063
3063
|
color: var(--color-content-neutral-secondary);
|
|
3064
3064
|
}
|
|
3065
|
-
`,
|
|
3065
|
+
`,VA=V.span`
|
|
3066
3066
|
font-size: 12px;
|
|
3067
3067
|
line-height: 16px;
|
|
3068
3068
|
font-weight: 700;
|
|
@@ -3073,7 +3073,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3073
3073
|
line-height: var(--text-line-height-md);
|
|
3074
3074
|
font-weight: 700;
|
|
3075
3075
|
color: var(--color-content-neutral-secondary);
|
|
3076
|
-
`;function
|
|
3076
|
+
`;function RA({className:e,style:t}){const n=Ke(IA);return c.jsxs(MA,{className:e,style:t,children:[c.jsxs(F1,{children:[c.jsxs(M1,{children:[c.jsx(zo,{"data-type":"icon",children:c.jsx(le,{name:"arrow_upward"})}),c.jsx(zo,{"data-type":"icon",children:c.jsx(le,{name:"arrow_downward"})})]}),c.jsx(V1,{children:n.navigation})]}),c.jsxs(F1,{children:[c.jsx(M1,{children:c.jsx(zo,{"data-type":"icon",children:c.jsx(le,{name:"arrow_enter"})})}),c.jsx(V1,{children:n.choose})]}),c.jsxs(F1,{children:[c.jsx(M1,{children:c.jsx(zo,{"data-type":"text",children:c.jsx(VA,{children:n.esc})})}),c.jsx(V1,{children:n.close})]})]})}const IA={en:{navigation:"Navigation",choose:"Choose",close:"Close",esc:"esc"},fr:{navigation:"Navigation",choose:"Choisir",close:"Fermer",esc:"ech"}};function jA({children:e,isOpen:t,onOpenChange:n,onClear:r,resultsCount:a,width:o,inputProps:i}){const u=Ke(LA),l=s.useRef(null),d=s.useRef(null);s.useEffect(()=>{const f=h=>{(h.metaKey||h.ctrlKey)&&h.key.toLowerCase()==="k"&&(h.preventDefault(),t||n(!0))};return window.addEventListener("keydown",f),()=>window.removeEventListener("keydown",f)},[t,n]),s.useEffect(()=>{const f=h=>{var g,v,C;if(h.target!==document.activeElement)return;const m=(g=d.current)==null?void 0:g.querySelector('[role="option"]:not([data-disabled="true"])');m&&(h.key==="ArrowDown"&&((v=l.current)!=null&&v.contains(h.target))&&(h.preventDefault(),m.focus()),h.key==="ArrowUp"&&m.contains(h.target)&&(h.preventDefault(),(C=l.current)==null||C.focus()))};if(t)return document.addEventListener("keydown",f),()=>document.removeEventListener("keydown",f)},[t]);let p=u.noResults;return a===1?p=`1 ${u.result}`:a>1&&(p=`${a} ${u.results}`),c.jsx(yA,{isOpen:t,onOpenChange:n,isDismissable:!0,children:c.jsx($A,{style:{"--modal-width":o||"800px"},children:c.jsxs(DA,{"aria-label":u.title,children:[c.jsx(FA,{...i,onClear:r,withResults:!!a,autoFocus:!0,ref:l}),!!i.value&&c.jsx(EA,{children:c.jsx("div",{children:p})}),c.jsx(wA,{ref:d,children:e}),!!a&&c.jsx(RA,{})]})})})}const LA={en:{title:"Search",result:"result",results:"results",noResults:"No results found"},fr:{title:"Rechercher",result:"résultat",results:"résultats",noResults:"Aucun résultat trouvé"}},OA=s.forwardRef((e,t)=>{const{children:n,isDisabled:r,selectedKey:a,onSelectionChange:o,defaultSelectedKey:i,className:u,style:l}=e;return c.jsx(Wf,{ref:t,isDisabled:r,selectedKey:a,onSelectionChange:d=>o==null?void 0:o(String(d)),defaultSelectedKey:i,className:u,style:l,children:n})}),KA=V.div``,HA=V(qf)`
|
|
3077
3077
|
appearance: none;
|
|
3078
3078
|
position: relative;
|
|
3079
3079
|
display: inline-flex;
|
|
@@ -3145,15 +3145,15 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3145
3145
|
background: var(--color-content-neutral-tertiary);
|
|
3146
3146
|
color: var(--color-content-neutral-primary);
|
|
3147
3147
|
}
|
|
3148
|
-
`,
|
|
3148
|
+
`,zA=V(le)`
|
|
3149
3149
|
font-size: ${X.large};
|
|
3150
|
-
`,
|
|
3150
|
+
`,NA=s.forwardRef((e,t)=>{const{id:n,href:r,text:a,icon:o,style:i,className:u,isDisabled:l,routerOptions:d,...p}=e;return!a&&!o?null:c.jsxs(HA,{...p,ref:t,id:n,href:r,style:i,className:u,isDisabled:l,routerOptions:d,children:[!!o&&c.jsx(zA,{name:o}),!!a&&c.jsx(KA,{children:a})]})}),ZA=V(Gf)`
|
|
3151
3151
|
display: flex;
|
|
3152
3152
|
align-items: center;
|
|
3153
|
-
`,
|
|
3153
|
+
`,_A=s.forwardRef((e,t)=>{const{children:n,className:r,style:a}=e;return c.jsx(ZA,{ref:t,className:r,style:a,children:n})}),UA=s.forwardRef((e,t)=>c.jsx(Yf,{ref:t,...e})),WA=V(sy)`
|
|
3154
3154
|
flex-direction: column;
|
|
3155
3155
|
width: 100%;
|
|
3156
|
-
`,
|
|
3156
|
+
`,GA=V.div`
|
|
3157
3157
|
width: 100%;
|
|
3158
3158
|
display: flex;
|
|
3159
3159
|
align-items: center;
|
|
@@ -3162,7 +3162,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3162
3162
|
color: var(--color-content-neutral-secondary);
|
|
3163
3163
|
font-size: ${X.extraSmall};
|
|
3164
3164
|
line-height: ${ne.extraSmall};
|
|
3165
|
-
`,
|
|
3165
|
+
`,qA=V(dy)`
|
|
3166
3166
|
position: relative;
|
|
3167
3167
|
display: flex;
|
|
3168
3168
|
width: 100%;
|
|
@@ -3216,7 +3216,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3216
3216
|
&[data-disabled="true"]:before {
|
|
3217
3217
|
cursor: not-allowed;
|
|
3218
3218
|
}
|
|
3219
|
-
`,
|
|
3219
|
+
`,YA=V(cy)`
|
|
3220
3220
|
z-index: 3;
|
|
3221
3221
|
top: 50%;
|
|
3222
3222
|
width: 16px;
|
|
@@ -3246,7 +3246,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3246
3246
|
&[data-disabled="true"] {
|
|
3247
3247
|
cursor: not-allowed;
|
|
3248
3248
|
}
|
|
3249
|
-
`,
|
|
3249
|
+
`,XA=V.div`
|
|
3250
3250
|
position: absolute;
|
|
3251
3251
|
z-index: 2;
|
|
3252
3252
|
top: 50%;
|
|
@@ -3259,7 +3259,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3259
3259
|
&[data-disabled="true"] {
|
|
3260
3260
|
cursor: not-allowed;
|
|
3261
3261
|
}
|
|
3262
|
-
`,
|
|
3262
|
+
`,JA=V.div`
|
|
3263
3263
|
width: 2px;
|
|
3264
3264
|
height: 2px;
|
|
3265
3265
|
flex-shrink: 0;
|
|
@@ -3269,7 +3269,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3269
3269
|
&[data-active="true"] {
|
|
3270
3270
|
background: var(--color-background-neutral-ground);
|
|
3271
3271
|
}
|
|
3272
|
-
`;function
|
|
3272
|
+
`;function QA({id:e,label:t,minValue:n=0,maxValue:r=100,step:a=1,isDisabled:o,style:i,className:u,onChange:l,onChangeEnd:d,value:p,thumbLabels:f,labelIconRight:h,description:m,helperText:g,helperTextIcon:v,errorHelperText:C,errorHelperTextIcon:b,successHelperText:D,successHelperTextIcon:$,isInvalid:E,withTrackDots:B=!1,...k}){const[y,S]=s.useState(p),R=s.useId(),F=e??R,x=k["aria-label"]??String(t),I=Ke(eT),j=y.length>1,[L,Z]=s.useState(y[0]),[w,A]=s.useState(y[1]),T={htmlForId:e,label:t,labelIconRight:h,description:m,helperTextIcon:v,helperText:g,errorHelperText:C,errorHelperTextIcon:b,successHelperText:D,successHelperTextIcon:$};s.useEffect(()=>S(p),[p]),s.useEffect(()=>{Z(y[0]),A(y[1])},[y]);const H=U=>{S(U),l==null||l(U)},M=U=>{S(U),l==null||l(U),d==null||d(U)},P=s.useMemo(()=>{const U=[];for(let N=n;N<=r;N+=a)U.push(N);return U},[n,r,a]),O=s.useMemo(()=>!!(!P.includes(L)||j&&w<L),[L,P,j,w]),z=s.useMemo(()=>!!(!P.includes(w)||j&&w<L),[w,P,j,L]),_=(U,N)=>{const G=parseInt(U.target.value||"0");isNaN(G)||(N==="first"?Z(G):A(G)),P.includes(G)&&(N==="first"&&G>w||N==="second"&&G<L||(N==="first"&&M(j?[G,w]:[G]),N==="second"&&M([L,G])))},Y=c.jsx(Zi,{"aria-label":`${I.valueForInput} ${f==null?void 0:f[0]}`,value:L,onChange:U=>_(U,"first"),nature:O?"negative":"default",disabled:o,style:{width:64,minWidth:64}}),W=c.jsx(Zi,{"aria-label":`${I.valueForInput} ${f==null?void 0:f[1]}`,value:w,onChange:U=>_(U,"second"),nature:z?"negative":"default",disabled:o,style:{width:64,minWidth:64}});return c.jsx(WA,{id:F,isDisabled:o,minValue:n,maxValue:r,step:a,style:i,className:u,onChange:U=>{Array.isArray(U)?H(U):H([U])},onChangeEnd:U=>{Array.isArray(U)?M(U):M([U])},value:y,"aria-label":x,children:({state:U})=>c.jsx(un,{...T,children:c.jsxs(GA,{children:[j&&Y,c.jsx(Id,{children:n}),c.jsxs(qA,{"data-invalid":(E==null?void 0:E(U.values))||!1,"data-range-mode":j,style:{"--thumb-1-percent":U.getThumbPercent(0)*100+"%","--thumb-2-percent":U.getThumbPercent(1)*100+"%"},children:[B&&c.jsx(XA,{"data-disabled":o,children:P.map(N=>c.jsx(JA,{"data-active":tT(N,U.values[0],U.values[1])},N))}),U.values.map((N,G)=>c.jsx(YA,{index:G,"aria-label":f==null?void 0:f[G],"data-invalid":(E==null?void 0:E(U.values))||!1},G))]}),c.jsx(Id,{children:r}),j?W:Y]})})})}const eT={en:{valueForInput:"Value for"},fr:{valueForInput:"Valeur pour"}},tT=(e,t,n)=>n!=null?e>t&&e<n:e<t,Vp=V(le)`
|
|
3273
3273
|
font-size: ${X.small};
|
|
3274
3274
|
`,Fa=V.div`
|
|
3275
3275
|
position: relative;
|
|
@@ -3295,7 +3295,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3295
3295
|
transform: translate3d(0, 0, 0);
|
|
3296
3296
|
transition: all 0.2s linear;
|
|
3297
3297
|
color: var(--color-content-neutral-primary-reversed);
|
|
3298
|
-
`,
|
|
3298
|
+
`,nT=V(Yy)`
|
|
3299
3299
|
display: inline-flex;
|
|
3300
3300
|
align-items: center;
|
|
3301
3301
|
column-gap: var(--spacing-xs);
|
|
@@ -3410,14 +3410,14 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3410
3410
|
}
|
|
3411
3411
|
}
|
|
3412
3412
|
/* End - Handle animation */
|
|
3413
|
-
`,
|
|
3413
|
+
`,rT=s.forwardRef(({label:e,size:t="medium",labelPosition:n="right",...r},a)=>c.jsxs(nT,{...r,inputRef:a,"data-size":t,"data-has-label":!!e,children:[e&&n==="left"&&c.jsx("span",{children:e}),c.jsx(Fa,{"aria-hidden":!0,children:c.jsx(Ut,{children:c.jsx(Vp,{name:"check"})})}),e&&n==="right"&&c.jsx("span",{children:e})]})),Ll=V.div`
|
|
3414
3414
|
color: var(--color-content-neutral-secondary);
|
|
3415
3415
|
font-size: ${X.small};
|
|
3416
3416
|
line-height: ${ne.small};
|
|
3417
3417
|
font-style: normal;
|
|
3418
3418
|
font-weight: 700;
|
|
3419
3419
|
white-space: nowrap;
|
|
3420
|
-
`,Rp=V(n3)``,
|
|
3420
|
+
`,Rp=V(n3)``,aT=V(qf)`
|
|
3421
3421
|
display: flex;
|
|
3422
3422
|
align-items: center;
|
|
3423
3423
|
justify-content: center;
|
|
@@ -3454,20 +3454,20 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3454
3454
|
background-color: var(--color-background-neutral-underground-2);
|
|
3455
3455
|
}
|
|
3456
3456
|
}
|
|
3457
|
-
`,
|
|
3457
|
+
`,oT=s.forwardRef((e,t)=>{const{id:n,hasNotification:r,href:a,children:o,style:i,className:u,isDisabled:l,routerOptions:d,...p}=e;return c.jsxs(aT,{...p,ref:t,id:n,href:a,style:i,className:u,isDisabled:l,routerOptions:d,children:[c.jsx(Ll,{children:o}),r&&c.jsx(Rp,{variant:"dot",nature:"negative"})]})}),iT=V(Gf)`
|
|
3458
3458
|
display: flex;
|
|
3459
3459
|
align-items: center;
|
|
3460
3460
|
border-bottom: 1px solid var(--color-content-neutral-stroke);
|
|
3461
|
-
`,
|
|
3461
|
+
`,uT=V.div`
|
|
3462
3462
|
overflow-x: auto;
|
|
3463
3463
|
width: 100%;
|
|
3464
|
-
`,
|
|
3464
|
+
`,lT=s.forwardRef((e,t)=>{const{children:n,className:r,style:a}=e;return c.jsx(uT,{"data-component":"tab-list",children:c.jsx(iT,{ref:t,className:r,style:a,children:n})})}),sT=s.forwardRef((e,t)=>c.jsx(Yf,{ref:t,...e})),dT=V(Wf)``,cT=s.forwardRef((e,t)=>{const{children:n,isDisabled:r,selectedKey:a,onSelectionChange:o,defaultSelectedKey:i,className:u,style:l}=e;return c.jsx(dT,{ref:t,isDisabled:r,selectedKey:a,onSelectionChange:d=>o==null?void 0:o(String(d)),defaultSelectedKey:i,className:u,style:l,children:n})}),fT=V(By)`
|
|
3465
3465
|
display: flex;
|
|
3466
3466
|
|
|
3467
3467
|
&[data-fullwidth="true"] {
|
|
3468
3468
|
width: 100%;
|
|
3469
3469
|
}
|
|
3470
|
-
`,
|
|
3470
|
+
`,pT=V(qs)`
|
|
3471
3471
|
position: relative;
|
|
3472
3472
|
display: inline-flex;
|
|
3473
3473
|
justify-content: flex-start;
|
|
@@ -3506,13 +3506,13 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3506
3506
|
&[data-nature="positive"] {
|
|
3507
3507
|
outline-color: var(--color-content-message-positive-darker);
|
|
3508
3508
|
}
|
|
3509
|
-
`,
|
|
3509
|
+
`,hT=s.forwardRef(({wrapperProps:e,id:t,label:n,labelIconRight:r,description:a,helperTextIcon:o,helperText:i,errorHelperText:u,errorHelperTextIcon:l,successHelperText:d,successHelperTextIcon:p,required:f,nature:h,fullWidth:m,isDisabled:g,defaultValue:v,onChange:C,value:b,ampm:D,...$},E)=>{const B=$["aria-label"]??String(n),k=br({nature:h,successHelperText:d,errorHelperText:u}),y={...e,htmlForId:t,label:n,labelIconRight:r,description:a,helperTextIcon:o,helperText:i,errorHelperText:u,errorHelperTextIcon:l,successHelperText:d,successHelperTextIcon:p,required:f};let S;return D===!0&&(S=12),D===!1&&(S=24),c.jsx(un,{...y,ref:E,children:c.jsx(fT,{...$,id:t,isDisabled:g,"aria-label":B,isRequired:f,"data-fullwidth":m,defaultValue:v?s4(v):void 0,onChange:R=>C==null?void 0:C((R||"").toString()),value:typeof b=="string"?s4(b):b,hourCycle:S,children:c.jsx(pT,{"data-fullwidth":m,"aria-disabled":g,"data-nature":k,children:R=>c.jsx(Ni,{segment:R})})})})}),mT=Re.div`
|
|
3510
3510
|
display: flex;
|
|
3511
3511
|
align-items: flex-end;
|
|
3512
3512
|
overflow-x: auto;
|
|
3513
|
-
`,mT=Re.div`
|
|
3514
|
-
flex: 1;
|
|
3515
3513
|
`,vT=Re.div`
|
|
3514
|
+
flex: 1;
|
|
3515
|
+
`,gT=Re.div`
|
|
3516
3516
|
position: relative;
|
|
3517
3517
|
overflow: hidden;
|
|
3518
3518
|
`,Ip=142,di=58,Ol=5,jd=Re.div`
|
|
@@ -3543,12 +3543,12 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3543
3543
|
&:last-child[data-type="dot"] div {
|
|
3544
3544
|
transform: none;
|
|
3545
3545
|
}
|
|
3546
|
-
`,
|
|
3546
|
+
`,CT=Re.div`
|
|
3547
3547
|
width: 5px;
|
|
3548
3548
|
height: 5px;
|
|
3549
3549
|
border-radius: 50%;
|
|
3550
3550
|
background-color: var(--color-content-neutral-secondary);
|
|
3551
|
-
`,
|
|
3551
|
+
`,bT=Re.div`
|
|
3552
3552
|
flex-grow: 1;
|
|
3553
3553
|
flex-shrink: 0;
|
|
3554
3554
|
flex-basis: 0;
|
|
@@ -3560,14 +3560,14 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3560
3560
|
&:last-child {
|
|
3561
3561
|
border-right: none;
|
|
3562
3562
|
}
|
|
3563
|
-
`,jp=1e3*60*60,ju=jp*24,
|
|
3563
|
+
`,jp=1e3*60*60,ju=jp*24,xT=ju*7,yT=ju*14;function $T(e){return e<=ju?"hours":e<=xT?"week":e<=yT?"two-weeks":"month"}const DT=({startDate:e,endDate:t})=>{const n=Te(),r=t.getTime()-e.getTime(),a=$T(r);if(a==="hours"){const u=Math.ceil(r/jp);return c.jsx(jd,{children:new Array(u).fill(0).map((l,d)=>{const p=d+1;return p%2===0?c.jsx(Ld,{"data-type":"dot",children:c.jsx(CT,{"data-testid":`hour-dot-${p}`})},p):c.jsx(Ld,{"data-type":"number",children:c.jsxs("span",{children:[p.toString().padStart(2,"0"),"h"]})},p)})})}const o=Math.ceil(r/ju),i=new Array(o).fill(0).map((u,l)=>{const d=new Date(e);return d.setDate(d.getDate()+l),d});return c.jsx(jd,{children:i.map(u=>{const l=u.toLocaleDateString(n.locale,{weekday:"short"}),d=u.toLocaleDateString(n.locale,{day:"2-digit",month:a==="week"?"2-digit":void 0});return c.jsxs(bT,{children:[a!=="month"&&c.jsx("div",{children:l}),c.jsx("div",{children:d})]},u.toISOString())})})},ci=(e,t,n)=>{const r=e.startDate<t?t:e.startDate,a=e.endDate>n?n:e.endDate,o=n.getTime()-t.getTime(),i=a.getTime()-r.getTime(),u=(r.getTime()-t.getTime())/o,l=i/o;return{start:(u*100).toFixed(2),width:(l*100).toFixed(2)}},ET=Re.div`
|
|
3564
3564
|
display: flex;
|
|
3565
|
-
`,
|
|
3565
|
+
`,wT=Re.div`
|
|
3566
3566
|
flex: 1;
|
|
3567
3567
|
position: relative;
|
|
3568
3568
|
border-bottom: 1px solid var(--color-content-neutral-stroke);
|
|
3569
3569
|
overflow: hidden;
|
|
3570
|
-
`,
|
|
3570
|
+
`,BT=Re.div`
|
|
3571
3571
|
position: absolute;
|
|
3572
3572
|
top: var(--spacing-xs);
|
|
3573
3573
|
bottom: var(--spacing-xs);
|
|
@@ -3576,31 +3576,31 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3576
3576
|
display: flex;
|
|
3577
3577
|
flex-direction: column;
|
|
3578
3578
|
gap: var(--spacing-xxs);
|
|
3579
|
-
`,
|
|
3579
|
+
`,kT=Re.div`
|
|
3580
3580
|
position: absolute;
|
|
3581
3581
|
max-width: 100%;
|
|
3582
3582
|
height: 100%;
|
|
3583
3583
|
z-index: calc(var(--z-index-base) + 1);
|
|
3584
3584
|
background-color: rgba(255, 255, 255, 0.6);
|
|
3585
3585
|
pointer-events: none;
|
|
3586
|
-
`,
|
|
3586
|
+
`,ST=Re.div`
|
|
3587
3587
|
position: absolute;
|
|
3588
3588
|
width: 1px;
|
|
3589
3589
|
z-index: calc(var(--z-index-base) + 2);
|
|
3590
3590
|
height: 100%;
|
|
3591
3591
|
border: 1px solid var(--color-content-neutral-primary);
|
|
3592
3592
|
transform: translateX(-50%);
|
|
3593
|
-
`;function
|
|
3593
|
+
`;function PT(e){let t=[];for(const n of e){const r=t.filter(a=>AT(n,a));if(r.length===0&&t.push({start:n.startDate,end:n.endDate,blocks:[n]}),r.length===1){const a=r[0];a.blocks.push(n),n.startDate<a.start&&(a.start=n.startDate),n.endDate>a.end&&(a.end=n.endDate)}if(r.length>1){const a=r.reduce((u,l)=>l.start<u?l.start:u,r[0].start),o=r.reduce((u,l)=>l.end>u?l.end:u,r[0].end),i={start:a,end:o,blocks:[...r.flatMap(u=>u.blocks),n]};t=t.filter(u=>!r.includes(u)),t.push(i)}}return t}const AT=(e,t)=>e.startDate===t.start||e.startDate<t.end&&e.startDate>=t.start||e.endDate>t.start&&e.endDate<=t.end||e.endDate===t.end;function TT(e,t,n){return!(e.startDate<t&&e.endDate<=t||e.startDate>=n)}const FT=V.div`
|
|
3594
3594
|
position: absolute;
|
|
3595
3595
|
bottom: calc(var(--spacing-xs) * -2);
|
|
3596
3596
|
display: flex;
|
|
3597
3597
|
align-items: center;
|
|
3598
3598
|
justify-content: center;
|
|
3599
|
-
`,
|
|
3599
|
+
`,MT=V.button`
|
|
3600
3600
|
all: unset;
|
|
3601
3601
|
cursor: pointer;
|
|
3602
3602
|
padding: var(--spacing-xs);
|
|
3603
|
-
`;function
|
|
3603
|
+
`;function VT(e){const t=Ke(RT);let n=e.lineEndDate,r=e.lineStartDate;for(const i of e.blocks)i.startDate<n&&(n=i.startDate),i.endDate>r&&(r=i.endDate);const{start:a,width:o}=ci({startDate:n,endDate:r},e.lineStartDate,e.lineEndDate);return c.jsx(FT,{style:{left:`${a}%`,width:`${o}%`},children:c.jsx(MT,{onClick:e.onClick,type:"button","data-start":a,"data-width":o,title:t.expand,children:c.jsx("svg",{width:"8",height:"2",viewBox:"0 0 8 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"M0.999878 0C0.449878 0 -0.00012207 0.45 -0.00012207 1C-0.00012207 1.55 0.449878 2 0.999878 2C1.54988 2 1.99988 1.55 1.99988 1C1.99988 0.45 1.54988 0 0.999878 0ZM6.99988 0C6.44988 0 5.99988 0.45 5.99988 1C5.99988 1.55 6.44988 2 6.99988 2C7.54988 2 7.99988 1.55 7.99988 1C7.99988 0.45 7.54988 0 6.99988 0ZM3.99988 0C3.44988 0 2.99988 0.45 2.99988 1C2.99988 1.55 3.44988 2 3.99988 2C4.54988 2 4.99988 1.55 4.99988 1C4.99988 0.45 4.54988 0 3.99988 0Z",fill:"#454545"})})})})}const RT={en:{expand:"Expand"},fr:{expand:"Afficher plus"}};function IT({nbOfBlocks:e,isCollapsed:t}){if(t||e<=Ol)return di;const n=e-Ol;return di+n*9}const jT=Re.div`
|
|
3604
3604
|
display: flex;
|
|
3605
3605
|
align-items: center;
|
|
3606
3606
|
justify-content: flex-start;
|
|
@@ -3609,7 +3609,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3609
3609
|
font-size: 14px;
|
|
3610
3610
|
line-height: 20px;
|
|
3611
3611
|
width: ${Ip}px;
|
|
3612
|
-
`,
|
|
3612
|
+
`,LT=Re.span`
|
|
3613
3613
|
color: var(--color-content-neutral-secondary);
|
|
3614
3614
|
display: -webkit-box;
|
|
3615
3615
|
max-width: 100%;
|
|
@@ -3617,7 +3617,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3617
3617
|
-webkit-box-orient: vertical;
|
|
3618
3618
|
overflow: hidden;
|
|
3619
3619
|
text-overflow: ellipsis;
|
|
3620
|
-
`,LT=({name:e})=>{const t=s.useRef(null),[n,r]=s.useState(!1);return s.useEffect(()=>{const a=t.current;a&&r(a.scrollHeight>di)},[e]),c.jsx(IT,{children:c.jsx(jT,{title:n?e:void 0,ref:t,children:e})})};function OT({name:e,blocks:t,lineStartDate:n,lineEndDate:r,...a}){const[o,i]=s.useState(!0),u=s.useMemo(()=>t.filter(h=>AT(h,n,r)),[t,n,r]),l=s.useMemo(()=>ST(u),[u]),d=ci({startDate:n,endDate:new Date},n,r),p=ci({startDate:new Date,endDate:new Date},n,r),f=Math.max(...l.map(h=>h.blocks.length));return c.jsxs(DT,{...a,children:[c.jsx(LT,{name:e}),c.jsxs(ET,{style:{height:RT({nbOfBlocks:f,isCollapsed:o})},children:[c.jsx(BT,{style:{width:`${d.width}%`}}),l.map((h,m)=>{const g=h.start<n,v=h.end>r,C=g&&v;let b="var(--radius-full)";C?b="0":v?b="var(--radius-full) 0 0 var(--radius-full)":g&&(b="0 var(--radius-full) var(--radius-full) 0");const D=o?h.blocks.slice(0,Ol):h.blocks,$=h.blocks.length>D.length;return c.jsxs(wT,{children:[D.map(E=>{const{start:B,width:k}=ci(E,n,r);return c.jsx(t3,{label:E.hoverText,placement:"top",closeDelay:0,delay:0,children:c.jsx(tp,{triggerButtonProps:{style:{height:"100%",display:"block",position:"relative",width:`calc(${k}% - 1px)`,left:`${B}%`,backgroundColor:E.color,borderRadius:b,zIndex:"var(--z-index-base)"},"data-start":String(B),"data-width":String(k),"data-color":E.color,"data-group-index":String(m),"data-testid":E.hoverText}})},E.id)}),$&&c.jsx(MT,{blocks:h.blocks,lineStartDate:n,lineEndDate:r,onClick:()=>i(!o)})]},`${h.start.toISOString()} - ${m}`)}),c.jsx(kT,{style:{left:`${p.start}%`}})]})]})}function KT({emptyPlaceholder:e,lines:t,startDate:n,endDate:r,...a}){return!t||t.length===0?c.jsx(c.Fragment,{children:e}):c.jsx(hT,{...a,"data-testid":"timeline",children:c.jsxs(mT,{children:[c.jsx($T,{startDate:n,endDate:r}),c.jsx(vT,{"data-testid":"block-chart",children:t.map(({name:o,blocks:i},u)=>c.jsx(OT,{"data-testid":`block-chart-line-${o}-${u}`,name:o,blocks:i,lineStartDate:n,lineEndDate:r},`block-chart-line-${o}-${u}`))})]})})}function HT(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const zT=e=>{switch(e){case"success":return _T;case"info":return WT;case"warning":return UT;case"error":return GT;default:return null}},NT=Array(12).fill(0),ZT=({visible:e,className:t})=>s.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},s.createElement("div",{className:"sonner-spinner"},NT.map((n,r)=>s.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),_T=s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},s.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),UT=s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},s.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),WT=s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},s.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),GT=s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},s.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),qT=s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},s.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),s.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),YT=()=>{const[e,t]=s.useState(document.hidden);return s.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let Kl=1;class XT{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...a}=t,o=typeof(t==null?void 0:t.id)=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:Kl++,i=this.toasts.find(l=>l.id===o),u=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...t,id:o,title:r}),{...l,...t,id:o,dismissible:u,title:r}):l):this.addToast({title:r,...a,dismissible:u,id:o}),o},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let o=r!==void 0,i;const u=a.then(async d=>{if(i=["resolve",d],s.isValidElement(d))o=!1,this.create({id:r,type:"default",message:d});else if(QT(d)&&!d.ok){o=!1;const f=typeof n.error=="function"?await n.error(`HTTP error! status: ${d.status}`):n.error,h=typeof n.description=="function"?await n.description(`HTTP error! status: ${d.status}`):n.description,g=typeof f=="object"&&!s.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...g})}else if(d instanceof Error){o=!1;const f=typeof n.error=="function"?await n.error(d):n.error,h=typeof n.description=="function"?await n.description(d):n.description,g=typeof f=="object"&&!s.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...g})}else if(n.success!==void 0){o=!1;const f=typeof n.success=="function"?await n.success(d):n.success,h=typeof n.description=="function"?await n.description(d):n.description,g=typeof f=="object"&&!s.isValidElement(f)?f:{message:f};this.create({id:r,type:"success",description:h,...g})}}).catch(async d=>{if(i=["reject",d],n.error!==void 0){o=!1;const p=typeof n.error=="function"?await n.error(d):n.error,f=typeof n.description=="function"?await n.description(d):n.description,m=typeof p=="object"&&!s.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:f,...m})}}).finally(()=>{o&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),l=()=>new Promise((d,p)=>u.then(()=>i[0]==="reject"?p(i[1]):d(i[1])).catch(p));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(t,n)=>{const r=(n==null?void 0:n.id)||Kl++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const pt=new XT,JT=(e,t)=>{const n=(t==null?void 0:t.id)||Kl++;return pt.addToast({title:e,...t,id:n}),n},QT=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",eF=JT,tF=()=>pt.toasts,nF=()=>pt.getActiveToasts(),rF=Object.assign(eF,{success:pt.success,info:pt.info,warning:pt.warning,error:pt.error,custom:pt.custom,message:pt.message,promise:pt.promise,dismiss:pt.dismiss,loading:pt.loading},{getHistory:tF,getToasts:nF});HT("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function No(e){return e.label!==void 0}const aF=3,oF="24px",iF="16px",Od=4e3,uF=356,lF=14,sF=45,dF=200;function _t(...e){return e.filter(Boolean).join(" ")}function cF(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const fF=e=>{var t,n,r,a,o,i,u,l,d;const{invert:p,toast:f,unstyled:h,interacting:m,setHeights:g,visibleToasts:v,heights:C,index:b,toasts:D,expanded:$,removeToast:E,defaultRichColors:B,closeButton:k,style:y,cancelButtonStyle:S,actionButtonStyle:R,className:F="",descriptionClassName:x="",duration:I,position:j,gap:L,expandByDefault:Z,classNames:w,icons:A,closeButtonAriaLabel:T="Close toast"}=e,[H,M]=s.useState(null),[P,O]=s.useState(null),[z,_]=s.useState(!1),[Y,W]=s.useState(!1),[U,N]=s.useState(!1),[G,Q]=s.useState(!1),[q,K]=s.useState(!1),[te,xe]=s.useState(0),[oe,jt]=s.useState(0),Ct=s.useRef(f.duration||I||Od),bo=s.useRef(null),re=s.useRef(null),Ee=b===0,Ie=b+1<=v,lt=f.type,xr=f.dismissible!==!1,_p=f.className||"",Up=f.descriptionClassName||"",xo=s.useMemo(()=>C.findIndex(ie=>ie.toastId===f.id)||0,[C,f.id]),Wp=s.useMemo(()=>{var ie;return(ie=f.closeButton)!=null?ie:k},[f.closeButton,k]),p3=s.useMemo(()=>f.duration||I||Od,[f.duration,I]),Uu=s.useRef(0),yr=s.useRef(0),h3=s.useRef(0),$r=s.useRef(null),[Gp,qp]=j.split("-"),m3=s.useMemo(()=>C.reduce((ie,Ge,at)=>at>=xo?ie:ie+Ge.height,0),[C,xo]),v3=YT(),Yp=f.invert||p,Wu=lt==="loading";yr.current=s.useMemo(()=>xo*L+m3,[xo,m3]),s.useEffect(()=>{Ct.current=p3},[p3]),s.useEffect(()=>{_(!0)},[]),s.useEffect(()=>{const ie=re.current;if(ie){const Ge=ie.getBoundingClientRect().height;return jt(Ge),g(at=>[{toastId:f.id,height:Ge,position:f.position},...at]),()=>g(at=>at.filter(bt=>bt.toastId!==f.id))}},[g,f.id]),s.useLayoutEffect(()=>{if(!z)return;const ie=re.current,Ge=ie.style.height;ie.style.height="auto";const at=ie.getBoundingClientRect().height;ie.style.height=Ge,jt(at),g(bt=>bt.find(tt=>tt.toastId===f.id)?bt.map(tt=>tt.toastId===f.id?{...tt,height:at}:tt):[{toastId:f.id,height:at,position:f.position},...bt])},[z,f.title,f.description,g,f.id,f.jsx,f.action,f.cancel]);const Dn=s.useCallback(()=>{W(!0),xe(yr.current),g(ie=>ie.filter(Ge=>Ge.toastId!==f.id)),setTimeout(()=>{E(f)},dF)},[f,E,g,yr]);s.useEffect(()=>{if(f.promise&<==="loading"||f.duration===1/0||f.type==="loading")return;let ie;return $||m||v3?(()=>{if(h3.current<Uu.current){const bt=new Date().getTime()-Uu.current;Ct.current=Ct.current-bt}h3.current=new Date().getTime()})():(()=>{Ct.current!==1/0&&(Uu.current=new Date().getTime(),ie=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),Dn()},Ct.current))})(),()=>clearTimeout(ie)},[$,m,f,lt,v3,Dn]),s.useEffect(()=>{f.delete&&(Dn(),f.onDismiss==null||f.onDismiss.call(f,f))},[Dn,f.delete]);function Xp(){var ie;if(A!=null&&A.loading){var Ge;return s.createElement("div",{className:_t(w==null?void 0:w.loader,f==null||(Ge=f.classNames)==null?void 0:Ge.loader,"sonner-loader"),"data-visible":lt==="loading"},A.loading)}return s.createElement(ZT,{className:_t(w==null?void 0:w.loader,f==null||(ie=f.classNames)==null?void 0:ie.loader),visible:lt==="loading"})}const Jp=f.icon||(A==null?void 0:A[lt])||zT(lt);var g3,C3;return s.createElement("li",{tabIndex:0,ref:re,className:_t(F,_p,w==null?void 0:w.toast,f==null||(t=f.classNames)==null?void 0:t.toast,w==null?void 0:w.default,w==null?void 0:w[lt],f==null||(n=f.classNames)==null?void 0:n[lt]),"data-sonner-toast":"","data-rich-colors":(g3=f.richColors)!=null?g3:B,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":z,"data-promise":!!f.promise,"data-swiped":q,"data-removed":Y,"data-visible":Ie,"data-y-position":Gp,"data-x-position":qp,"data-index":b,"data-front":Ee,"data-swiping":U,"data-dismissible":xr,"data-type":lt,"data-invert":Yp,"data-swipe-out":G,"data-swipe-direction":P,"data-expanded":!!($||Z&&z),style:{"--index":b,"--toasts-before":b,"--z-index":D.length-b,"--offset":`${Y?te:yr.current}px`,"--initial-height":Z?"auto":`${oe}px`,...y,...f.style},onDragEnd:()=>{N(!1),M(null),$r.current=null},onPointerDown:ie=>{Wu||!xr||(bo.current=new Date,xe(yr.current),ie.target.setPointerCapture(ie.pointerId),ie.target.tagName!=="BUTTON"&&(N(!0),$r.current={x:ie.clientX,y:ie.clientY}))},onPointerUp:()=>{var ie,Ge,at;if(G||!xr)return;$r.current=null;const bt=Number(((ie=re.current)==null?void 0:ie.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),yo=Number(((Ge=re.current)==null?void 0:Ge.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),tt=new Date().getTime()-((at=bo.current)==null?void 0:at.getTime()),Bt=H==="x"?bt:yo,$o=Math.abs(Bt)/tt;if(Math.abs(Bt)>=sF||$o>.11){xe(yr.current),f.onDismiss==null||f.onDismiss.call(f,f),O(H==="x"?bt>0?"right":"left":yo>0?"down":"up"),Dn(),Q(!0);return}else{var Lt,Ot;(Lt=re.current)==null||Lt.style.setProperty("--swipe-amount-x","0px"),(Ot=re.current)==null||Ot.style.setProperty("--swipe-amount-y","0px")}K(!1),N(!1),M(null)},onPointerMove:ie=>{var Ge,at,bt;if(!$r.current||!xr||((Ge=window.getSelection())==null?void 0:Ge.toString().length)>0)return;const tt=ie.clientY-$r.current.y,Bt=ie.clientX-$r.current.x;var $o;const Lt=($o=e.swipeDirections)!=null?$o:cF(j);!H&&(Math.abs(Bt)>1||Math.abs(tt)>1)&&M(Math.abs(Bt)>Math.abs(tt)?"x":"y");let Ot={x:0,y:0};const b3=Yn=>1/(1.5+Math.abs(Yn)/20);if(H==="y"){if(Lt.includes("top")||Lt.includes("bottom"))if(Lt.includes("top")&&tt<0||Lt.includes("bottom")&&tt>0)Ot.y=tt;else{const Yn=tt*b3(tt);Ot.y=Math.abs(Yn)<Math.abs(tt)?Yn:tt}}else if(H==="x"&&(Lt.includes("left")||Lt.includes("right")))if(Lt.includes("left")&&Bt<0||Lt.includes("right")&&Bt>0)Ot.x=Bt;else{const Yn=Bt*b3(Bt);Ot.x=Math.abs(Yn)<Math.abs(Bt)?Yn:Bt}(Math.abs(Ot.x)>0||Math.abs(Ot.y)>0)&&K(!0),(at=re.current)==null||at.style.setProperty("--swipe-amount-x",`${Ot.x}px`),(bt=re.current)==null||bt.style.setProperty("--swipe-amount-y",`${Ot.y}px`)}},Wp&&!f.jsx&<!=="loading"?s.createElement("button",{"aria-label":T,"data-disabled":Wu,"data-close-button":!0,onClick:Wu||!xr?()=>{}:()=>{Dn(),f.onDismiss==null||f.onDismiss.call(f,f)},className:_t(w==null?void 0:w.closeButton,f==null||(r=f.classNames)==null?void 0:r.closeButton)},(C3=A==null?void 0:A.close)!=null?C3:qT):null,(lt||f.icon||f.promise)&&f.icon!==null&&((A==null?void 0:A[lt])!==null||f.icon)?s.createElement("div",{"data-icon":"",className:_t(w==null?void 0:w.icon,f==null||(a=f.classNames)==null?void 0:a.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||Xp():null,f.type!=="loading"?Jp:null):null,s.createElement("div",{"data-content":"",className:_t(w==null?void 0:w.content,f==null||(o=f.classNames)==null?void 0:o.content)},s.createElement("div",{"data-title":"",className:_t(w==null?void 0:w.title,f==null||(i=f.classNames)==null?void 0:i.title)},f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title),f.description?s.createElement("div",{"data-description":"",className:_t(x,Up,w==null?void 0:w.description,f==null||(u=f.classNames)==null?void 0:u.description)},typeof f.description=="function"?f.description():f.description):null),s.isValidElement(f.cancel)?f.cancel:f.cancel&&No(f.cancel)?s.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||S,onClick:ie=>{No(f.cancel)&&xr&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,ie),Dn())},className:_t(w==null?void 0:w.cancelButton,f==null||(l=f.classNames)==null?void 0:l.cancelButton)},f.cancel.label):null,s.isValidElement(f.action)?f.action:f.action&&No(f.action)?s.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||R,onClick:ie=>{No(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,ie),!ie.defaultPrevented&&Dn())},className:_t(w==null?void 0:w.actionButton,f==null||(d=f.classNames)==null?void 0:d.actionButton)},f.action.label):null)};function Kd(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function pF(e,t){const n={};return[e,t].forEach((r,a)=>{const o=a===1,i=o?"--mobile-offset":"--offset",u=o?iF:oF;function l(d){["top","right","bottom","left"].forEach(p=>{n[`${i}-${p}`]=typeof d=="number"?`${d}px`:d})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(d=>{r[d]===void 0?n[`${i}-${d}`]=u:n[`${i}-${d}`]=typeof r[d]=="number"?`${r[d]}px`:r[d]}):l(u)}),n}const hF=s.forwardRef(function(t,n){const{invert:r,position:a="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:u,className:l,offset:d,mobileOffset:p,theme:f="light",richColors:h,duration:m,style:g,visibleToasts:v=aF,toastOptions:C,dir:b=Kd(),gap:D=lF,icons:$,containerAriaLabel:E="Notifications"}=t,[B,k]=s.useState([]),y=s.useMemo(()=>Array.from(new Set([a].concat(B.filter(P=>P.position).map(P=>P.position)))),[B,a]),[S,R]=s.useState([]),[F,x]=s.useState(!1),[I,j]=s.useState(!1),[L,Z]=s.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),w=s.useRef(null),A=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),T=s.useRef(null),H=s.useRef(!1),M=s.useCallback(P=>{k(O=>{var z;return(z=O.find(_=>_.id===P.id))!=null&&z.delete||pt.dismiss(P.id),O.filter(({id:_})=>_!==P.id)})},[]);return s.useEffect(()=>pt.subscribe(P=>{if(P.dismiss){requestAnimationFrame(()=>{k(O=>O.map(z=>z.id===P.id?{...z,delete:!0}:z))});return}setTimeout(()=>{zn.flushSync(()=>{k(O=>{const z=O.findIndex(_=>_.id===P.id);return z!==-1?[...O.slice(0,z),{...O[z],...P},...O.slice(z+1)]:[P,...O]})})})}),[B]),s.useEffect(()=>{if(f!=="system"){Z(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Z("dark"):Z("light")),typeof window>"u")return;const P=window.matchMedia("(prefers-color-scheme: dark)");try{P.addEventListener("change",({matches:O})=>{Z(O?"dark":"light")})}catch{P.addListener(({matches:z})=>{try{Z(z?"dark":"light")}catch(_){console.error(_)}})}},[f]),s.useEffect(()=>{B.length<=1&&x(!1)},[B]),s.useEffect(()=>{const P=O=>{var z;if(o.every(W=>O[W]||O.code===W)){var Y;x(!0),(Y=w.current)==null||Y.focus()}O.code==="Escape"&&(document.activeElement===w.current||(z=w.current)!=null&&z.contains(document.activeElement))&&x(!1)};return document.addEventListener("keydown",P),()=>document.removeEventListener("keydown",P)},[o]),s.useEffect(()=>{if(w.current)return()=>{T.current&&(T.current.focus({preventScroll:!0}),T.current=null,H.current=!1)}},[w.current]),s.createElement("section",{ref:n,"aria-label":`${E} ${A}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},y.map((P,O)=>{var z;const[_,Y]=P.split("-");return B.length?s.createElement("ol",{key:P,dir:b==="auto"?Kd():b,tabIndex:-1,ref:w,className:l,"data-sonner-toaster":!0,"data-sonner-theme":L,"data-y-position":_,"data-x-position":Y,style:{"--front-toast-height":`${((z=S[0])==null?void 0:z.height)||0}px`,"--width":`${uF}px`,"--gap":`${D}px`,...g,...pF(d,p)},onBlur:W=>{H.current&&!W.currentTarget.contains(W.relatedTarget)&&(H.current=!1,T.current&&(T.current.focus({preventScroll:!0}),T.current=null))},onFocus:W=>{W.target instanceof HTMLElement&&W.target.dataset.dismissible==="false"||H.current||(H.current=!0,T.current=W.relatedTarget)},onMouseEnter:()=>x(!0),onMouseMove:()=>x(!0),onMouseLeave:()=>{I||x(!1)},onDragEnd:()=>x(!1),onPointerDown:W=>{W.target instanceof HTMLElement&&W.target.dataset.dismissible==="false"||j(!0)},onPointerUp:()=>j(!1)},B.filter(W=>!W.position&&O===0||W.position===P).map((W,U)=>{var N,G;return s.createElement(fF,{key:W.id,icons:$,index:U,toast:W,defaultRichColors:h,duration:(N=C==null?void 0:C.duration)!=null?N:m,className:C==null?void 0:C.className,descriptionClassName:C==null?void 0:C.descriptionClassName,invert:r,visibleToasts:v,closeButton:(G=C==null?void 0:C.closeButton)!=null?G:u,interacting:I,position:P,style:C==null?void 0:C.style,unstyled:C==null?void 0:C.unstyled,classNames:C==null?void 0:C.classNames,cancelButtonStyle:C==null?void 0:C.cancelButtonStyle,actionButtonStyle:C==null?void 0:C.actionButtonStyle,closeButtonAriaLabel:C==null?void 0:C.closeButtonAriaLabel,removeToast:M,toasts:B.filter(Q=>Q.position==W.position),heights:S.filter(Q=>Q.position==W.position),setHeights:R,expandByDefault:i,gap:D,expanded:F,swipeDirections:t.swipeDirections})})):null}))}),mF=V(hF)`
|
|
3620
|
+
`,OT=({name:e})=>{const t=s.useRef(null),[n,r]=s.useState(!1);return s.useEffect(()=>{const a=t.current;a&&r(a.scrollHeight>di)},[e]),c.jsx(jT,{children:c.jsx(LT,{title:n?e:void 0,ref:t,children:e})})};function KT({name:e,blocks:t,lineStartDate:n,lineEndDate:r,...a}){const[o,i]=s.useState(!0),u=s.useMemo(()=>t.filter(h=>TT(h,n,r)),[t,n,r]),l=s.useMemo(()=>PT(u),[u]),d=ci({startDate:n,endDate:new Date},n,r),p=ci({startDate:new Date,endDate:new Date},n,r),f=Math.max(...l.map(h=>h.blocks.length));return c.jsxs(ET,{...a,children:[c.jsx(OT,{name:e}),c.jsxs(wT,{style:{height:IT({nbOfBlocks:f,isCollapsed:o})},children:[c.jsx(kT,{style:{width:`${d.width}%`}}),l.map((h,m)=>{const g=h.start<n,v=h.end>r,C=g&&v;let b="var(--radius-full)";C?b="0":v?b="var(--radius-full) 0 0 var(--radius-full)":g&&(b="0 var(--radius-full) var(--radius-full) 0");const D=o?h.blocks.slice(0,Ol):h.blocks,$=h.blocks.length>D.length;return c.jsxs(BT,{children:[D.map(E=>{const{start:B,width:k}=ci(E,n,r);return c.jsx(t3,{label:E.hoverText,placement:"top",closeDelay:0,delay:0,children:c.jsx(tp,{triggerButtonProps:{style:{height:"100%",display:"block",position:"relative",width:`calc(${k}% - 1px)`,left:`${B}%`,backgroundColor:E.color,borderRadius:b,zIndex:"var(--z-index-base)"},"data-start":String(B),"data-width":String(k),"data-color":E.color,"data-group-index":String(m),"data-testid":E.hoverText}})},E.id)}),$&&c.jsx(VT,{blocks:h.blocks,lineStartDate:n,lineEndDate:r,onClick:()=>i(!o)})]},`${h.start.toISOString()} - ${m}`)}),c.jsx(ST,{style:{left:`${p.start}%`}})]})]})}function HT({emptyPlaceholder:e,lines:t,startDate:n,endDate:r,...a}){return!t||t.length===0?c.jsx(c.Fragment,{children:e}):c.jsx(mT,{...a,"data-testid":"timeline",children:c.jsxs(vT,{children:[c.jsx(DT,{startDate:n,endDate:r}),c.jsx(gT,{"data-testid":"block-chart",children:t.map(({name:o,blocks:i},u)=>c.jsx(KT,{"data-testid":`block-chart-line-${o}-${u}`,name:o,blocks:i,lineStartDate:n,lineEndDate:r},`block-chart-line-${o}-${u}`))})]})})}function zT(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const NT=e=>{switch(e){case"success":return UT;case"info":return GT;case"warning":return WT;case"error":return qT;default:return null}},ZT=Array(12).fill(0),_T=({visible:e,className:t})=>s.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},s.createElement("div",{className:"sonner-spinner"},ZT.map((n,r)=>s.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),UT=s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},s.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),WT=s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},s.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),GT=s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},s.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),qT=s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},s.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),YT=s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},s.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),s.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),XT=()=>{const[e,t]=s.useState(document.hidden);return s.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let Kl=1;class JT{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...a}=t,o=typeof(t==null?void 0:t.id)=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:Kl++,i=this.toasts.find(l=>l.id===o),u=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...t,id:o,title:r}),{...l,...t,id:o,dismissible:u,title:r}):l):this.addToast({title:r,...a,dismissible:u,id:o}),o},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let o=r!==void 0,i;const u=a.then(async d=>{if(i=["resolve",d],s.isValidElement(d))o=!1,this.create({id:r,type:"default",message:d});else if(eF(d)&&!d.ok){o=!1;const f=typeof n.error=="function"?await n.error(`HTTP error! status: ${d.status}`):n.error,h=typeof n.description=="function"?await n.description(`HTTP error! status: ${d.status}`):n.description,g=typeof f=="object"&&!s.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...g})}else if(d instanceof Error){o=!1;const f=typeof n.error=="function"?await n.error(d):n.error,h=typeof n.description=="function"?await n.description(d):n.description,g=typeof f=="object"&&!s.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...g})}else if(n.success!==void 0){o=!1;const f=typeof n.success=="function"?await n.success(d):n.success,h=typeof n.description=="function"?await n.description(d):n.description,g=typeof f=="object"&&!s.isValidElement(f)?f:{message:f};this.create({id:r,type:"success",description:h,...g})}}).catch(async d=>{if(i=["reject",d],n.error!==void 0){o=!1;const p=typeof n.error=="function"?await n.error(d):n.error,f=typeof n.description=="function"?await n.description(d):n.description,m=typeof p=="object"&&!s.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:f,...m})}}).finally(()=>{o&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),l=()=>new Promise((d,p)=>u.then(()=>i[0]==="reject"?p(i[1]):d(i[1])).catch(p));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(t,n)=>{const r=(n==null?void 0:n.id)||Kl++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const pt=new JT,QT=(e,t)=>{const n=(t==null?void 0:t.id)||Kl++;return pt.addToast({title:e,...t,id:n}),n},eF=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",tF=QT,nF=()=>pt.toasts,rF=()=>pt.getActiveToasts(),aF=Object.assign(tF,{success:pt.success,info:pt.info,warning:pt.warning,error:pt.error,custom:pt.custom,message:pt.message,promise:pt.promise,dismiss:pt.dismiss,loading:pt.loading},{getHistory:nF,getToasts:rF});zT("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function No(e){return e.label!==void 0}const oF=3,iF="24px",uF="16px",Od=4e3,lF=356,sF=14,dF=45,cF=200;function _t(...e){return e.filter(Boolean).join(" ")}function fF(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const pF=e=>{var t,n,r,a,o,i,u,l,d;const{invert:p,toast:f,unstyled:h,interacting:m,setHeights:g,visibleToasts:v,heights:C,index:b,toasts:D,expanded:$,removeToast:E,defaultRichColors:B,closeButton:k,style:y,cancelButtonStyle:S,actionButtonStyle:R,className:F="",descriptionClassName:x="",duration:I,position:j,gap:L,expandByDefault:Z,classNames:w,icons:A,closeButtonAriaLabel:T="Close toast"}=e,[H,M]=s.useState(null),[P,O]=s.useState(null),[z,_]=s.useState(!1),[Y,W]=s.useState(!1),[U,N]=s.useState(!1),[G,Q]=s.useState(!1),[q,K]=s.useState(!1),[te,xe]=s.useState(0),[oe,jt]=s.useState(0),Ct=s.useRef(f.duration||I||Od),bo=s.useRef(null),re=s.useRef(null),Ee=b===0,Ie=b+1<=v,lt=f.type,xr=f.dismissible!==!1,_p=f.className||"",Up=f.descriptionClassName||"",xo=s.useMemo(()=>C.findIndex(ie=>ie.toastId===f.id)||0,[C,f.id]),Wp=s.useMemo(()=>{var ie;return(ie=f.closeButton)!=null?ie:k},[f.closeButton,k]),p3=s.useMemo(()=>f.duration||I||Od,[f.duration,I]),Uu=s.useRef(0),yr=s.useRef(0),h3=s.useRef(0),$r=s.useRef(null),[Gp,qp]=j.split("-"),m3=s.useMemo(()=>C.reduce((ie,Ge,at)=>at>=xo?ie:ie+Ge.height,0),[C,xo]),v3=XT(),Yp=f.invert||p,Wu=lt==="loading";yr.current=s.useMemo(()=>xo*L+m3,[xo,m3]),s.useEffect(()=>{Ct.current=p3},[p3]),s.useEffect(()=>{_(!0)},[]),s.useEffect(()=>{const ie=re.current;if(ie){const Ge=ie.getBoundingClientRect().height;return jt(Ge),g(at=>[{toastId:f.id,height:Ge,position:f.position},...at]),()=>g(at=>at.filter(bt=>bt.toastId!==f.id))}},[g,f.id]),s.useLayoutEffect(()=>{if(!z)return;const ie=re.current,Ge=ie.style.height;ie.style.height="auto";const at=ie.getBoundingClientRect().height;ie.style.height=Ge,jt(at),g(bt=>bt.find(tt=>tt.toastId===f.id)?bt.map(tt=>tt.toastId===f.id?{...tt,height:at}:tt):[{toastId:f.id,height:at,position:f.position},...bt])},[z,f.title,f.description,g,f.id,f.jsx,f.action,f.cancel]);const Dn=s.useCallback(()=>{W(!0),xe(yr.current),g(ie=>ie.filter(Ge=>Ge.toastId!==f.id)),setTimeout(()=>{E(f)},cF)},[f,E,g,yr]);s.useEffect(()=>{if(f.promise&<==="loading"||f.duration===1/0||f.type==="loading")return;let ie;return $||m||v3?(()=>{if(h3.current<Uu.current){const bt=new Date().getTime()-Uu.current;Ct.current=Ct.current-bt}h3.current=new Date().getTime()})():(()=>{Ct.current!==1/0&&(Uu.current=new Date().getTime(),ie=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),Dn()},Ct.current))})(),()=>clearTimeout(ie)},[$,m,f,lt,v3,Dn]),s.useEffect(()=>{f.delete&&(Dn(),f.onDismiss==null||f.onDismiss.call(f,f))},[Dn,f.delete]);function Xp(){var ie;if(A!=null&&A.loading){var Ge;return s.createElement("div",{className:_t(w==null?void 0:w.loader,f==null||(Ge=f.classNames)==null?void 0:Ge.loader,"sonner-loader"),"data-visible":lt==="loading"},A.loading)}return s.createElement(_T,{className:_t(w==null?void 0:w.loader,f==null||(ie=f.classNames)==null?void 0:ie.loader),visible:lt==="loading"})}const Jp=f.icon||(A==null?void 0:A[lt])||NT(lt);var g3,C3;return s.createElement("li",{tabIndex:0,ref:re,className:_t(F,_p,w==null?void 0:w.toast,f==null||(t=f.classNames)==null?void 0:t.toast,w==null?void 0:w.default,w==null?void 0:w[lt],f==null||(n=f.classNames)==null?void 0:n[lt]),"data-sonner-toast":"","data-rich-colors":(g3=f.richColors)!=null?g3:B,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":z,"data-promise":!!f.promise,"data-swiped":q,"data-removed":Y,"data-visible":Ie,"data-y-position":Gp,"data-x-position":qp,"data-index":b,"data-front":Ee,"data-swiping":U,"data-dismissible":xr,"data-type":lt,"data-invert":Yp,"data-swipe-out":G,"data-swipe-direction":P,"data-expanded":!!($||Z&&z),style:{"--index":b,"--toasts-before":b,"--z-index":D.length-b,"--offset":`${Y?te:yr.current}px`,"--initial-height":Z?"auto":`${oe}px`,...y,...f.style},onDragEnd:()=>{N(!1),M(null),$r.current=null},onPointerDown:ie=>{Wu||!xr||(bo.current=new Date,xe(yr.current),ie.target.setPointerCapture(ie.pointerId),ie.target.tagName!=="BUTTON"&&(N(!0),$r.current={x:ie.clientX,y:ie.clientY}))},onPointerUp:()=>{var ie,Ge,at;if(G||!xr)return;$r.current=null;const bt=Number(((ie=re.current)==null?void 0:ie.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),yo=Number(((Ge=re.current)==null?void 0:Ge.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),tt=new Date().getTime()-((at=bo.current)==null?void 0:at.getTime()),Bt=H==="x"?bt:yo,$o=Math.abs(Bt)/tt;if(Math.abs(Bt)>=dF||$o>.11){xe(yr.current),f.onDismiss==null||f.onDismiss.call(f,f),O(H==="x"?bt>0?"right":"left":yo>0?"down":"up"),Dn(),Q(!0);return}else{var Lt,Ot;(Lt=re.current)==null||Lt.style.setProperty("--swipe-amount-x","0px"),(Ot=re.current)==null||Ot.style.setProperty("--swipe-amount-y","0px")}K(!1),N(!1),M(null)},onPointerMove:ie=>{var Ge,at,bt;if(!$r.current||!xr||((Ge=window.getSelection())==null?void 0:Ge.toString().length)>0)return;const tt=ie.clientY-$r.current.y,Bt=ie.clientX-$r.current.x;var $o;const Lt=($o=e.swipeDirections)!=null?$o:fF(j);!H&&(Math.abs(Bt)>1||Math.abs(tt)>1)&&M(Math.abs(Bt)>Math.abs(tt)?"x":"y");let Ot={x:0,y:0};const b3=Yn=>1/(1.5+Math.abs(Yn)/20);if(H==="y"){if(Lt.includes("top")||Lt.includes("bottom"))if(Lt.includes("top")&&tt<0||Lt.includes("bottom")&&tt>0)Ot.y=tt;else{const Yn=tt*b3(tt);Ot.y=Math.abs(Yn)<Math.abs(tt)?Yn:tt}}else if(H==="x"&&(Lt.includes("left")||Lt.includes("right")))if(Lt.includes("left")&&Bt<0||Lt.includes("right")&&Bt>0)Ot.x=Bt;else{const Yn=Bt*b3(Bt);Ot.x=Math.abs(Yn)<Math.abs(Bt)?Yn:Bt}(Math.abs(Ot.x)>0||Math.abs(Ot.y)>0)&&K(!0),(at=re.current)==null||at.style.setProperty("--swipe-amount-x",`${Ot.x}px`),(bt=re.current)==null||bt.style.setProperty("--swipe-amount-y",`${Ot.y}px`)}},Wp&&!f.jsx&<!=="loading"?s.createElement("button",{"aria-label":T,"data-disabled":Wu,"data-close-button":!0,onClick:Wu||!xr?()=>{}:()=>{Dn(),f.onDismiss==null||f.onDismiss.call(f,f)},className:_t(w==null?void 0:w.closeButton,f==null||(r=f.classNames)==null?void 0:r.closeButton)},(C3=A==null?void 0:A.close)!=null?C3:YT):null,(lt||f.icon||f.promise)&&f.icon!==null&&((A==null?void 0:A[lt])!==null||f.icon)?s.createElement("div",{"data-icon":"",className:_t(w==null?void 0:w.icon,f==null||(a=f.classNames)==null?void 0:a.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||Xp():null,f.type!=="loading"?Jp:null):null,s.createElement("div",{"data-content":"",className:_t(w==null?void 0:w.content,f==null||(o=f.classNames)==null?void 0:o.content)},s.createElement("div",{"data-title":"",className:_t(w==null?void 0:w.title,f==null||(i=f.classNames)==null?void 0:i.title)},f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title),f.description?s.createElement("div",{"data-description":"",className:_t(x,Up,w==null?void 0:w.description,f==null||(u=f.classNames)==null?void 0:u.description)},typeof f.description=="function"?f.description():f.description):null),s.isValidElement(f.cancel)?f.cancel:f.cancel&&No(f.cancel)?s.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||S,onClick:ie=>{No(f.cancel)&&xr&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,ie),Dn())},className:_t(w==null?void 0:w.cancelButton,f==null||(l=f.classNames)==null?void 0:l.cancelButton)},f.cancel.label):null,s.isValidElement(f.action)?f.action:f.action&&No(f.action)?s.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||R,onClick:ie=>{No(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,ie),!ie.defaultPrevented&&Dn())},className:_t(w==null?void 0:w.actionButton,f==null||(d=f.classNames)==null?void 0:d.actionButton)},f.action.label):null)};function Kd(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function hF(e,t){const n={};return[e,t].forEach((r,a)=>{const o=a===1,i=o?"--mobile-offset":"--offset",u=o?uF:iF;function l(d){["top","right","bottom","left"].forEach(p=>{n[`${i}-${p}`]=typeof d=="number"?`${d}px`:d})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(d=>{r[d]===void 0?n[`${i}-${d}`]=u:n[`${i}-${d}`]=typeof r[d]=="number"?`${r[d]}px`:r[d]}):l(u)}),n}const mF=s.forwardRef(function(t,n){const{invert:r,position:a="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:u,className:l,offset:d,mobileOffset:p,theme:f="light",richColors:h,duration:m,style:g,visibleToasts:v=oF,toastOptions:C,dir:b=Kd(),gap:D=sF,icons:$,containerAriaLabel:E="Notifications"}=t,[B,k]=s.useState([]),y=s.useMemo(()=>Array.from(new Set([a].concat(B.filter(P=>P.position).map(P=>P.position)))),[B,a]),[S,R]=s.useState([]),[F,x]=s.useState(!1),[I,j]=s.useState(!1),[L,Z]=s.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),w=s.useRef(null),A=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),T=s.useRef(null),H=s.useRef(!1),M=s.useCallback(P=>{k(O=>{var z;return(z=O.find(_=>_.id===P.id))!=null&&z.delete||pt.dismiss(P.id),O.filter(({id:_})=>_!==P.id)})},[]);return s.useEffect(()=>pt.subscribe(P=>{if(P.dismiss){requestAnimationFrame(()=>{k(O=>O.map(z=>z.id===P.id?{...z,delete:!0}:z))});return}setTimeout(()=>{zn.flushSync(()=>{k(O=>{const z=O.findIndex(_=>_.id===P.id);return z!==-1?[...O.slice(0,z),{...O[z],...P},...O.slice(z+1)]:[P,...O]})})})}),[B]),s.useEffect(()=>{if(f!=="system"){Z(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Z("dark"):Z("light")),typeof window>"u")return;const P=window.matchMedia("(prefers-color-scheme: dark)");try{P.addEventListener("change",({matches:O})=>{Z(O?"dark":"light")})}catch{P.addListener(({matches:z})=>{try{Z(z?"dark":"light")}catch(_){console.error(_)}})}},[f]),s.useEffect(()=>{B.length<=1&&x(!1)},[B]),s.useEffect(()=>{const P=O=>{var z;if(o.every(W=>O[W]||O.code===W)){var Y;x(!0),(Y=w.current)==null||Y.focus()}O.code==="Escape"&&(document.activeElement===w.current||(z=w.current)!=null&&z.contains(document.activeElement))&&x(!1)};return document.addEventListener("keydown",P),()=>document.removeEventListener("keydown",P)},[o]),s.useEffect(()=>{if(w.current)return()=>{T.current&&(T.current.focus({preventScroll:!0}),T.current=null,H.current=!1)}},[w.current]),s.createElement("section",{ref:n,"aria-label":`${E} ${A}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},y.map((P,O)=>{var z;const[_,Y]=P.split("-");return B.length?s.createElement("ol",{key:P,dir:b==="auto"?Kd():b,tabIndex:-1,ref:w,className:l,"data-sonner-toaster":!0,"data-sonner-theme":L,"data-y-position":_,"data-x-position":Y,style:{"--front-toast-height":`${((z=S[0])==null?void 0:z.height)||0}px`,"--width":`${lF}px`,"--gap":`${D}px`,...g,...hF(d,p)},onBlur:W=>{H.current&&!W.currentTarget.contains(W.relatedTarget)&&(H.current=!1,T.current&&(T.current.focus({preventScroll:!0}),T.current=null))},onFocus:W=>{W.target instanceof HTMLElement&&W.target.dataset.dismissible==="false"||H.current||(H.current=!0,T.current=W.relatedTarget)},onMouseEnter:()=>x(!0),onMouseMove:()=>x(!0),onMouseLeave:()=>{I||x(!1)},onDragEnd:()=>x(!1),onPointerDown:W=>{W.target instanceof HTMLElement&&W.target.dataset.dismissible==="false"||j(!0)},onPointerUp:()=>j(!1)},B.filter(W=>!W.position&&O===0||W.position===P).map((W,U)=>{var N,G;return s.createElement(pF,{key:W.id,icons:$,index:U,toast:W,defaultRichColors:h,duration:(N=C==null?void 0:C.duration)!=null?N:m,className:C==null?void 0:C.className,descriptionClassName:C==null?void 0:C.descriptionClassName,invert:r,visibleToasts:v,closeButton:(G=C==null?void 0:C.closeButton)!=null?G:u,interacting:I,position:P,style:C==null?void 0:C.style,unstyled:C==null?void 0:C.unstyled,classNames:C==null?void 0:C.classNames,cancelButtonStyle:C==null?void 0:C.cancelButtonStyle,actionButtonStyle:C==null?void 0:C.actionButtonStyle,closeButtonAriaLabel:C==null?void 0:C.closeButtonAriaLabel,removeToast:M,toasts:B.filter(Q=>Q.position==W.position),heights:S.filter(Q=>Q.position==W.position),setHeights:R,expandByDefault:i,gap:D,expanded:F,swipeDirections:t.swipeDirections})})):null}))}),vF=V(mF)`
|
|
3621
3621
|
li {
|
|
3622
3622
|
padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-xs)
|
|
3623
3623
|
var(--spacing-sm) !important;
|
|
@@ -3669,7 +3669,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3669
3669
|
height: ${X.large} !important;
|
|
3670
3670
|
}
|
|
3671
3671
|
}
|
|
3672
|
-
`;function
|
|
3672
|
+
`;function gF({position:e="bottom-center",expand:t=!1,visibleToasts:n=3,offset:r=32}){return c.jsx(vF,{position:e,expand:t,visibleToasts:n,offset:r,closeButton:!0,duration:5e3,icons:{error:c.jsx(le,{name:"error_outline"}),success:c.jsx(le,{name:"check"}),info:c.jsx(le,{name:"help_outline"}),warning:c.jsx(le,{name:"warning_amber"}),loading:c.jsx(e3,{})}})}const CF=V($n)`
|
|
3673
3673
|
position: relative;
|
|
3674
3674
|
display: inline-flex;
|
|
3675
3675
|
justify-content: space-between;
|
|
@@ -3734,7 +3734,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3734
3734
|
&[data-nature="positive"] {
|
|
3735
3735
|
outline-color: var(--color-content-message-positive-darker);
|
|
3736
3736
|
}
|
|
3737
|
-
`,
|
|
3737
|
+
`,bF=V(le)`
|
|
3738
3738
|
flex: none;
|
|
3739
3739
|
font-size: ${X.large};
|
|
3740
3740
|
color: var(--color-content-neutral-tertiary);
|
|
@@ -3748,31 +3748,31 @@ See https://s-c.sh/2BAXzed for more info.`),window[Bo]+=1);const im=s.createCont
|
|
|
3748
3748
|
z-index: var(--z-index-dropdown);
|
|
3749
3749
|
outline: none;
|
|
3750
3750
|
width: var(--trigger-width);
|
|
3751
|
-
`;function
|
|
3751
|
+
`;function xF({startYear:e,endYear:t,actualDate:n=new Date,sortYears:r="ascending"}){const a=n.getFullYear(),o=t??a,i=Array.from({length:o-e+1},(u,l)=>(e+l).toString());return r==="descending"&&i.reverse(),i}const yF=s.forwardRef((e,t)=>{var D,$,E,B,k;const n=s.useId(),r=e.id||n,a=e["aria-label"]??String(e.label),[o,i]=s.useState(!1),[u,l]=s.useState(!1),d=br({nature:e.nature,successHelperText:e.successHelperText,errorHelperText:e.errorHelperText}),p=Ke($F),f=(D=Nd.find(({id:y})=>{var S;return y===((S=e.value)==null?void 0:S.month)}))==null?void 0:D.text,h=f?p[f]:"",m=s.useRef(null),[g,v]=s.useState(null),C=s.useCallback(()=>{m.current&&v(m.current.offsetWidth+"px")},[m]);sp({ref:m,onResize:C});const b=xF({startYear:e.firstYear??2e3,endYear:e.lastYear??2050,sortYears:e.sortYears});return c.jsx(un,{...e.wrapperProps,htmlForId:r,label:e.label,labelIconRight:e.labelIconRight,description:e.description,helperTextIcon:e.helperTextIcon,helperText:e.helperText,errorHelperText:e.errorHelperText,errorHelperTextIcon:e.errorHelperTextIcon,successHelperText:e.successHelperText,successHelperTextIcon:e.successHelperTextIcon,required:e.required,ref:t,children:c.jsxs(Ws,{children:[c.jsxs(CF,{...e.buttonProps,type:"button",ref:m,id:r,"aria-label":`${p.open} ${a}`,"data-nature":d,"data-fullwidth":e.fullWidth,isDisabled:e.disabled,onPress:()=>{e.mode==="month"&&i(!0),e.mode==="year"&&l(!0),e.mode==="month-year"&&i(!0)},children:[h&&h,h&&(($=e.value)==null?void 0:$.year)&&" ",((E=e.value)==null?void 0:E.year)&&e.value.year,c.jsx(bF,{name:e.inputIcon??"calendar_today","data-disabled":e.disabled})]}),(e.mode==="month"||e.mode==="month-year")&&c.jsx(Hd,{offset:4,placement:"bottom",isOpen:o,onOpenChange:i,children:c.jsx(zd,{"aria-label":`${p.monthSelectionFor} ${a}`,selectionMode:"single",selectedKeys:(B=e.value)!=null&&B.month?[e.value.month]:[],onSelectionChange:y=>{var R;if(y==="all")return;if(y.size===0)return e.mode==="month-year"&&l(!0),i(!1);const[S]=y;e.mode==="month"&&e.onChange({month:S==null?void 0:S.toString()}),e.mode==="month-year"&&(e.onChange({month:S==null?void 0:S.toString(),year:(R=e.value)==null?void 0:R.year}),l(!0)),i(!1)},style:{"--trigger-width":g},children:Nd.map(({id:y,text:S})=>c.jsx(fr,{text:p[S],id:y},y))})}),(e.mode==="year"||e.mode==="month-year")&&c.jsx(Hd,{offset:4,placement:"bottom",isOpen:u,onOpenChange:l,children:c.jsx(zd,{"aria-label":`${p.yearSelectionFor} ${a}`,selectionMode:"single",selectedKeys:(k=e.value)!=null&&k.year?[e.value.year]:[],onSelectionChange:y=>{var R;if(y==="all")return;if(y.size===0)return l(!1);const[S]=y;e.mode==="year"&&e.onChange({year:S==null?void 0:S.toString()}),e.mode==="month-year"&&e.onChange({month:(R=e.value)==null?void 0:R.month,year:S==null?void 0:S.toString()}),l(!1)},style:{"--trigger-width":g},children:b.map(y=>c.jsx(fr,{text:y,id:y},y))})})]})})}),$F={en:{open:"Open:",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December",monthSelectionFor:"Month selection for",yearSelectionFor:"Year selection for"},fr:{open:"Ouvrir:",january:"Janvier",february:"Février",march:"Mars",april:"Avril",may:"Mai",june:"Juin",july:"Juillet",august:"Août",september:"Septembre",october:"Octobre",november:"Novembre",december:"Décembre",monthSelectionFor:"Sélection du mois pour",yearSelectionFor:"Sélection de l'année pour"}},Nd=[{id:"01",text:"january"},{id:"02",text:"february"},{id:"03",text:"march"},{id:"04",text:"april"},{id:"05",text:"may"},{id:"06",text:"june"},{id:"07",text:"july"},{id:"08",text:"august"},{id:"09",text:"september"},{id:"10",text:"october"},{id:"11",text:"november"},{id:"12",text:"december"}],DF=({children:e,...t})=>c.jsx(Mm,{...t,children:e});function Vr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Lp(e){if(Ft.isValidElement(e)||!Vr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Lp(e[n])}),t}function nn(e,t,n={clone:!0}){const r=n.clone?_e({},e):e;return Vr(e)&&Vr(t)&&Object.keys(t).forEach(a=>{Ft.isValidElement(t[a])?r[a]=t[a]:Vr(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Vr(e[a])?r[a]=nn(e[a],t[a],n):n.clone?r[a]=Vr(t[a])?Lp(t[a]):t[a]:r[a]=t[a]}),r}var Zo={exports:{}},_o={exports:{}},ge={};/** @license React v16.13.1
|
|
3752
3752
|
* react-is.production.min.js
|
|
3753
3753
|
*
|
|
3754
3754
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3755
3755
|
*
|
|
3756
3756
|
* This source code is licensed under the MIT license found in the
|
|
3757
3757
|
* LICENSE file in the root directory of this source tree.
|
|
3758
|
-
*/var Zd;function
|
|
3758
|
+
*/var Zd;function EF(){if(Zd)return ge;Zd=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function $(B){if(typeof B=="object"&&B!==null){var k=B.$$typeof;switch(k){case t:switch(B=B.type,B){case l:case d:case r:case o:case a:case f:return B;default:switch(B=B&&B.$$typeof,B){case u:case p:case g:case m:case i:return B;default:return k}}case n:return k}}}function E(B){return $(B)===d}return ge.AsyncMode=l,ge.ConcurrentMode=d,ge.ContextConsumer=u,ge.ContextProvider=i,ge.Element=t,ge.ForwardRef=p,ge.Fragment=r,ge.Lazy=g,ge.Memo=m,ge.Portal=n,ge.Profiler=o,ge.StrictMode=a,ge.Suspense=f,ge.isAsyncMode=function(B){return E(B)||$(B)===l},ge.isConcurrentMode=E,ge.isContextConsumer=function(B){return $(B)===u},ge.isContextProvider=function(B){return $(B)===i},ge.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===t},ge.isForwardRef=function(B){return $(B)===p},ge.isFragment=function(B){return $(B)===r},ge.isLazy=function(B){return $(B)===g},ge.isMemo=function(B){return $(B)===m},ge.isPortal=function(B){return $(B)===n},ge.isProfiler=function(B){return $(B)===o},ge.isStrictMode=function(B){return $(B)===a},ge.isSuspense=function(B){return $(B)===f},ge.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===r||B===d||B===o||B===a||B===f||B===h||typeof B=="object"&&B!==null&&(B.$$typeof===g||B.$$typeof===m||B.$$typeof===i||B.$$typeof===u||B.$$typeof===p||B.$$typeof===C||B.$$typeof===b||B.$$typeof===D||B.$$typeof===v)},ge.typeOf=$,ge}var Ce={};/** @license React v16.13.1
|
|
3759
3759
|
* react-is.development.js
|
|
3760
3760
|
*
|
|
3761
3761
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3762
3762
|
*
|
|
3763
3763
|
* This source code is licensed under the MIT license found in the
|
|
3764
3764
|
* LICENSE file in the root directory of this source tree.
|
|
3765
|
-
*/var _d;function
|
|
3765
|
+
*/var _d;function wF(){return _d||(_d=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function $(K){return typeof K=="string"||typeof K=="function"||K===r||K===d||K===o||K===a||K===f||K===h||typeof K=="object"&&K!==null&&(K.$$typeof===g||K.$$typeof===m||K.$$typeof===i||K.$$typeof===u||K.$$typeof===p||K.$$typeof===C||K.$$typeof===b||K.$$typeof===D||K.$$typeof===v)}function E(K){if(typeof K=="object"&&K!==null){var te=K.$$typeof;switch(te){case t:var xe=K.type;switch(xe){case l:case d:case r:case o:case a:case f:return xe;default:var oe=xe&&xe.$$typeof;switch(oe){case u:case p:case g:case m:case i:return oe;default:return te}}case n:return te}}}var B=l,k=d,y=u,S=i,R=t,F=p,x=r,I=g,j=m,L=n,Z=o,w=a,A=f,T=!1;function H(K){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),M(K)||E(K)===l}function M(K){return E(K)===d}function P(K){return E(K)===u}function O(K){return E(K)===i}function z(K){return typeof K=="object"&&K!==null&&K.$$typeof===t}function _(K){return E(K)===p}function Y(K){return E(K)===r}function W(K){return E(K)===g}function U(K){return E(K)===m}function N(K){return E(K)===n}function G(K){return E(K)===o}function Q(K){return E(K)===a}function q(K){return E(K)===f}Ce.AsyncMode=B,Ce.ConcurrentMode=k,Ce.ContextConsumer=y,Ce.ContextProvider=S,Ce.Element=R,Ce.ForwardRef=F,Ce.Fragment=x,Ce.Lazy=I,Ce.Memo=j,Ce.Portal=L,Ce.Profiler=Z,Ce.StrictMode=w,Ce.Suspense=A,Ce.isAsyncMode=H,Ce.isConcurrentMode=M,Ce.isContextConsumer=P,Ce.isContextProvider=O,Ce.isElement=z,Ce.isForwardRef=_,Ce.isFragment=Y,Ce.isLazy=W,Ce.isMemo=U,Ce.isPortal=N,Ce.isProfiler=G,Ce.isStrictMode=Q,Ce.isSuspense=q,Ce.isValidElementType=$,Ce.typeOf=E}()),Ce}var Ud;function Op(){return Ud||(Ud=1,process.env.NODE_ENV==="production"?_o.exports=EF():_o.exports=wF()),_o.exports}/*
|
|
3766
3766
|
object-assign
|
|
3767
3767
|
(c) Sindre Sorhus
|
|
3768
3768
|
@license MIT
|
|
3769
|
-
*/var R1,Wd;function
|
|
3770
|
-
Valid keys: `+JSON.stringify(Object.keys(M),null," "));var K=q(U,Q,_,Y,W+"."+Q,n);if(K)return K}return null}return C(P)}function L(M){switch(typeof M){case"number":case"string":case"undefined":return!0;case"boolean":return!M;case"object":if(Array.isArray(M))return M.every(L);if(M===null||u(M))return!0;var P=f(M);if(P){var O=P.call(M),z;if(P!==M.entries){for(;!(z=O.next()).done;)if(!L(z.value))return!1}else for(;!(z=O.next()).done;){var _=z.value;if(_&&!L(_[1]))return!1}}else return!1;return!0;default:return!1}}function Z(M,P){return M==="symbol"?!0:P?P["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&P instanceof Symbol:!1}function w(M){var P=typeof M;return Array.isArray(M)?"array":M instanceof RegExp?"object":Z(P,M)?"symbol":P}function A(M){if(typeof M>"u"||M===null)return""+M;var P=w(M);if(P==="object"){if(M instanceof Date)return"date";if(M instanceof RegExp)return"regexp"}return P}function T(M){var P=A(M);switch(P){case"array":case"object":return"an "+P;case"boolean":case"date":case"regexp":return"a "+P;default:return P}}function H(M){return!M.constructor||!M.constructor.name?h:M.constructor.name}return m.checkPropTypes=a,m.resetWarningCache=a.resetWarningCache,m.PropTypes=m,m},O1}var K1,Jd;function
|
|
3769
|
+
*/var R1,Wd;function BF(){if(Wd)return R1;Wd=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function a(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var i={},u=0;u<10;u++)i["_"+String.fromCharCode(u)]=u;var l=Object.getOwnPropertyNames(i).map(function(p){return i[p]});if(l.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(p){d[p]=p}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return R1=a()?Object.assign:function(o,i){for(var u,l=r(o),d,p=1;p<arguments.length;p++){u=Object(arguments[p]);for(var f in u)t.call(u,f)&&(l[f]=u[f]);if(e){d=e(u);for(var h=0;h<d.length;h++)n.call(u,d[h])&&(l[d[h]]=u[d[h]])}}return l},R1}var I1,Gd;function l3(){if(Gd)return I1;Gd=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return I1=e,I1}var j1,qd;function Kp(){return qd||(qd=1,j1=Function.call.bind(Object.prototype.hasOwnProperty)),j1}var L1,Yd;function kF(){if(Yd)return L1;Yd=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=l3(),n={},r=Kp();e=function(o){var i="Warning: "+o;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function a(o,i,u,l,d){if(process.env.NODE_ENV!=="production"){for(var p in o)if(r(o,p)){var f;try{if(typeof o[p]!="function"){var h=Error((l||"React class")+": "+u+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}f=o[p](i,p,l,u,null,t)}catch(g){f=g}if(f&&!(f instanceof Error)&&e((l||"React class")+": type specification of "+u+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var m=d?d():"";e("Failed "+u+" type: "+f.message+(m??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},L1=a,L1}var O1,Xd;function SF(){if(Xd)return O1;Xd=1;var e=Op(),t=BF(),n=l3(),r=Kp(),a=kF(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(u){var l="Warning: "+u;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function i(){return null}return O1=function(u,l){var d=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function f(M){var P=M&&(d&&M[d]||M[p]);if(typeof P=="function")return P}var h="<<anonymous>>",m={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:D(),arrayOf:$,element:E(),elementType:B(),instanceOf:k,node:F(),objectOf:S,oneOf:y,oneOfType:R,shape:I,exact:j};function g(M,P){return M===P?M!==0||1/M===1/P:M!==M&&P!==P}function v(M,P){this.message=M,this.data=P&&typeof P=="object"?P:{},this.stack=""}v.prototype=Error.prototype;function C(M){if(process.env.NODE_ENV!=="production")var P={},O=0;function z(Y,W,U,N,G,Q,q){if(N=N||h,Q=Q||U,q!==n){if(l){var K=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw K.name="Invariant Violation",K}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var te=N+":"+U;!P[te]&&O<3&&(o("You are manually calling a React.PropTypes validation function for the `"+Q+"` prop on `"+N+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),P[te]=!0,O++)}}return W[U]==null?Y?W[U]===null?new v("The "+G+" `"+Q+"` is marked as required "+("in `"+N+"`, but its value is `null`.")):new v("The "+G+" `"+Q+"` is marked as required in "+("`"+N+"`, but its value is `undefined`.")):null:M(W,U,N,G,Q)}var _=z.bind(null,!1);return _.isRequired=z.bind(null,!0),_}function b(M){function P(O,z,_,Y,W,U){var N=O[z],G=w(N);if(G!==M){var Q=A(N);return new v("Invalid "+Y+" `"+W+"` of type "+("`"+Q+"` supplied to `"+_+"`, expected ")+("`"+M+"`."),{expectedType:M})}return null}return C(P)}function D(){return C(i)}function $(M){function P(O,z,_,Y,W){if(typeof M!="function")return new v("Property `"+W+"` of component `"+_+"` has invalid PropType notation inside arrayOf.");var U=O[z];if(!Array.isArray(U)){var N=w(U);return new v("Invalid "+Y+" `"+W+"` of type "+("`"+N+"` supplied to `"+_+"`, expected an array."))}for(var G=0;G<U.length;G++){var Q=M(U,G,_,Y,W+"["+G+"]",n);if(Q instanceof Error)return Q}return null}return C(P)}function E(){function M(P,O,z,_,Y){var W=P[O];if(!u(W)){var U=w(W);return new v("Invalid "+_+" `"+Y+"` of type "+("`"+U+"` supplied to `"+z+"`, expected a single ReactElement."))}return null}return C(M)}function B(){function M(P,O,z,_,Y){var W=P[O];if(!e.isValidElementType(W)){var U=w(W);return new v("Invalid "+_+" `"+Y+"` of type "+("`"+U+"` supplied to `"+z+"`, expected a single ReactElement type."))}return null}return C(M)}function k(M){function P(O,z,_,Y,W){if(!(O[z]instanceof M)){var U=M.name||h,N=H(O[z]);return new v("Invalid "+Y+" `"+W+"` of type "+("`"+N+"` supplied to `"+_+"`, expected ")+("instance of `"+U+"`."))}return null}return C(P)}function y(M){if(!Array.isArray(M))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),i;function P(O,z,_,Y,W){for(var U=O[z],N=0;N<M.length;N++)if(g(U,M[N]))return null;var G=JSON.stringify(M,function(q,K){var te=A(K);return te==="symbol"?String(K):K});return new v("Invalid "+Y+" `"+W+"` of value `"+String(U)+"` "+("supplied to `"+_+"`, expected one of "+G+"."))}return C(P)}function S(M){function P(O,z,_,Y,W){if(typeof M!="function")return new v("Property `"+W+"` of component `"+_+"` has invalid PropType notation inside objectOf.");var U=O[z],N=w(U);if(N!=="object")return new v("Invalid "+Y+" `"+W+"` of type "+("`"+N+"` supplied to `"+_+"`, expected an object."));for(var G in U)if(r(U,G)){var Q=M(U,G,_,Y,W+"."+G,n);if(Q instanceof Error)return Q}return null}return C(P)}function R(M){if(!Array.isArray(M))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var P=0;P<M.length;P++){var O=M[P];if(typeof O!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+T(O)+" at index "+P+"."),i}function z(_,Y,W,U,N){for(var G=[],Q=0;Q<M.length;Q++){var q=M[Q],K=q(_,Y,W,U,N,n);if(K==null)return null;K.data&&r(K.data,"expectedType")&&G.push(K.data.expectedType)}var te=G.length>0?", expected one of type ["+G.join(", ")+"]":"";return new v("Invalid "+U+" `"+N+"` supplied to "+("`"+W+"`"+te+"."))}return C(z)}function F(){function M(P,O,z,_,Y){return L(P[O])?null:new v("Invalid "+_+" `"+Y+"` supplied to "+("`"+z+"`, expected a ReactNode."))}return C(M)}function x(M,P,O,z,_){return new v((M||"React class")+": "+P+" type `"+O+"."+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+_+"`.")}function I(M){function P(O,z,_,Y,W){var U=O[z],N=w(U);if(N!=="object")return new v("Invalid "+Y+" `"+W+"` of type `"+N+"` "+("supplied to `"+_+"`, expected `object`."));for(var G in M){var Q=M[G];if(typeof Q!="function")return x(_,Y,W,G,A(Q));var q=Q(U,G,_,Y,W+"."+G,n);if(q)return q}return null}return C(P)}function j(M){function P(O,z,_,Y,W){var U=O[z],N=w(U);if(N!=="object")return new v("Invalid "+Y+" `"+W+"` of type `"+N+"` "+("supplied to `"+_+"`, expected `object`."));var G=t({},O[z],M);for(var Q in G){var q=M[Q];if(r(M,Q)&&typeof q!="function")return x(_,Y,W,Q,A(q));if(!q)return new v("Invalid "+Y+" `"+W+"` key `"+Q+"` supplied to `"+_+"`.\nBad object: "+JSON.stringify(O[z],null," ")+`
|
|
3770
|
+
Valid keys: `+JSON.stringify(Object.keys(M),null," "));var K=q(U,Q,_,Y,W+"."+Q,n);if(K)return K}return null}return C(P)}function L(M){switch(typeof M){case"number":case"string":case"undefined":return!0;case"boolean":return!M;case"object":if(Array.isArray(M))return M.every(L);if(M===null||u(M))return!0;var P=f(M);if(P){var O=P.call(M),z;if(P!==M.entries){for(;!(z=O.next()).done;)if(!L(z.value))return!1}else for(;!(z=O.next()).done;){var _=z.value;if(_&&!L(_[1]))return!1}}else return!1;return!0;default:return!1}}function Z(M,P){return M==="symbol"?!0:P?P["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&P instanceof Symbol:!1}function w(M){var P=typeof M;return Array.isArray(M)?"array":M instanceof RegExp?"object":Z(P,M)?"symbol":P}function A(M){if(typeof M>"u"||M===null)return""+M;var P=w(M);if(P==="object"){if(M instanceof Date)return"date";if(M instanceof RegExp)return"regexp"}return P}function T(M){var P=A(M);switch(P){case"array":case"object":return"an "+P;case"boolean":case"date":case"regexp":return"a "+P;default:return P}}function H(M){return!M.constructor||!M.constructor.name?h:M.constructor.name}return m.checkPropTypes=a,m.resetWarningCache=a.resetWarningCache,m.PropTypes=m,m},O1}var K1,Jd;function PF(){if(Jd)return K1;Jd=1;var e=l3();function t(){}function n(){}return n.resetWarningCache=t,K1=function(){function r(i,u,l,d,p,f){if(f!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}r.isRequired=r;function a(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},K1}var Qd;function AF(){if(Qd)return Zo.exports;if(Qd=1,process.env.NODE_ENV!=="production"){var e=Op(),t=!0;Zo.exports=SF()(e.isElement,t)}else Zo.exports=PF()();return Zo.exports}var TF=AF();const wa=rh(TF);function Qa(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const FF=Object.freeze(Object.defineProperty({__proto__:null,default:Qa},Symbol.toStringTag,{value:"Module"}));function Hp(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Qa(7));return e.charAt(0).toUpperCase()+e.slice(1)}const ec=e=>e,MF=()=>{let e=ec;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ec}}},VF=MF(),RF={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function IF(e,t,n="Mui"){const r=RF[t];return r?`${n}-${r}`:`${VF.generate(e)}-${t}`}function jF(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const LF=Object.freeze(Object.defineProperty({__proto__:null,default:jF},Symbol.toStringTag,{value:"Module"}));function ma(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}const OF=["values","unit","step"],KF=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>_e({},n,{[r.key]:r.val}),{})};function HF(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,a=ma(e,OF),o=KF(t),i=Object.keys(o);function u(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function l(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function d(h,m){const g=i.indexOf(m);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(g!==-1&&typeof t[i[g]]=="number"?t[i[g]]:m)-r/100}${n})`}function p(h){return i.indexOf(h)+1<i.length?d(h,i[i.indexOf(h)+1]):u(h)}function f(h){const m=i.indexOf(h);return m===0?u(i[1]):m===i.length-1?l(i[m]):d(h,i[i.indexOf(h)+1]).replace("@media","@media not all and")}return _e({keys:i,values:o,up:u,down:l,between:d,only:p,not:f,unit:n},a)}const zF={borderRadius:4},qn=process.env.NODE_ENV!=="production"?wa.oneOfType([wa.number,wa.string,wa.object,wa.array]):{};function ja(e,t){return t?nn(e,t,{clone:!1}):e}const s3={xs:0,sm:600,md:900,lg:1200,xl:1536},tc={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${s3[e]}px)`};function Cn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||tc;return t.reduce((i,u,l)=>(i[o.up(o.keys[l])]=n(t[l]),i),{})}if(typeof t=="object"){const o=r.breakpoints||tc;return Object.keys(t).reduce((i,u)=>{if(Object.keys(o.values||s3).indexOf(u)!==-1){const l=o.up(u);i[l]=n(t[u],u)}else{const l=u;i[l]=t[l]}return i},{})}return n(t)}function NF(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,a)=>{const o=e.up(a);return r[o]={},r},{}))||{}}function ZF(e,t){return e.reduce((n,r)=>{const a=n[r];return(!a||Object.keys(a).length===0)&&delete n[r],n},t)}function Lu(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,a)=>r&&r[a]!=null?r[a]:null,e)}function Wi(e,t,n,r=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||r:a=Lu(e,n)||r,t&&(a=t(a,r,e)),a}function He(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:a}=e,o=i=>{if(i[t]==null)return null;const u=i[t],l=i.theme,d=Lu(l,r)||{};return Cn(i,u,f=>{let h=Wi(d,a,f);return f===h&&typeof f=="string"&&(h=Wi(d,a,`${t}${f==="default"?"":Hp(f)}`,f)),n===!1?h:{[n]:h}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[t]:qn}:{},o.filterProps=[t],o}function _F(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const UF={m:"margin",p:"padding"},WF={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},nc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},GF=_F(e=>{if(e.length>2)if(nc[e])e=nc[e];else return[e];const[t,n]=e.split(""),r=UF[t],a=WF[n]||"";return Array.isArray(a)?a.map(o=>r+o):[r+a]}),Ou=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ku=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],qF=[...Ou,...Ku];function go(e,t,n,r){var a;const o=(a=Lu(e,t,!1))!=null?a:n;return typeof o=="number"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${i}.`),o*i):Array.isArray(o)?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>o.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${i} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
3771
3771
|
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
3772
3772
|
`))),o[i]):typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
3773
|
-
`)),()=>{})}function zp(e){return go(e,"spacing",8,"spacing")}function Co(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function qF(e,t){return n=>e.reduce((r,a)=>(r[a]=Co(t,n),r),{})}function YF(e,t,n,r){if(t.indexOf(n)===-1)return null;const a=WF(n),o=qF(a,r),i=e[n];return Cn(e,i,o)}function Np(e,t){const n=zp(e.theme);return Object.keys(e).map(r=>YF(e,t,r,n)).reduce(ja,{})}function Me(e){return Np(e,Ou)}Me.propTypes=process.env.NODE_ENV!=="production"?Ou.reduce((e,t)=>(e[t]=qn,e),{}):{};Me.filterProps=Ou;function Ve(e){return Np(e,Ku)}Ve.propTypes=process.env.NODE_ENV!=="production"?Ku.reduce((e,t)=>(e[t]=qn,e),{}):{};Ve.filterProps=Ku;process.env.NODE_ENV!=="production"&&GF.reduce((e,t)=>(e[t]=qn,e),{});function XF(e=8){if(e.mui)return e;const t=zp({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(o=>{const i=t(o);return typeof i=="number"?`${i}px`:i}).join(" "));return n.mui=!0,n}function Hu(...e){const t=e.reduce((r,a)=>(a.filterProps.forEach(o=>{r[o]=a}),r),{}),n=r=>Object.keys(r).reduce((a,o)=>t[o]?ja(a,t[o](r)):a,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,a)=>Object.assign(r,a.propTypes),{}):{},n.filterProps=e.reduce((r,a)=>r.concat(a.filterProps),[]),n}function Tt(e){return typeof e!="number"?e:`${e}px solid`}function It(e,t){return He({prop:e,themeKey:"borders",transform:t})}const JF=It("border",Tt),QF=It("borderTop",Tt),eM=It("borderRight",Tt),tM=It("borderBottom",Tt),nM=It("borderLeft",Tt),rM=It("borderColor"),aM=It("borderTopColor"),oM=It("borderRightColor"),iM=It("borderBottomColor"),uM=It("borderLeftColor"),lM=It("outline",Tt),sM=It("outlineColor"),zu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=go(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Co(t,r)});return Cn(e,e.borderRadius,n)}return null};zu.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:qn}:{};zu.filterProps=["borderRadius"];Hu(JF,QF,eM,tM,nM,rM,aM,oM,iM,uM,zu,lM,sM);const Nu=e=>{if(e.gap!==void 0&&e.gap!==null){const t=go(e.theme,"spacing",8,"gap"),n=r=>({gap:Co(t,r)});return Cn(e,e.gap,n)}return null};Nu.propTypes=process.env.NODE_ENV!=="production"?{gap:qn}:{};Nu.filterProps=["gap"];const Zu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=go(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Co(t,r)});return Cn(e,e.columnGap,n)}return null};Zu.propTypes=process.env.NODE_ENV!=="production"?{columnGap:qn}:{};Zu.filterProps=["columnGap"];const _u=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=go(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Co(t,r)});return Cn(e,e.rowGap,n)}return null};_u.propTypes=process.env.NODE_ENV!=="production"?{rowGap:qn}:{};_u.filterProps=["rowGap"];const dM=He({prop:"gridColumn"}),cM=He({prop:"gridRow"}),fM=He({prop:"gridAutoFlow"}),pM=He({prop:"gridAutoColumns"}),hM=He({prop:"gridAutoRows"}),mM=He({prop:"gridTemplateColumns"}),vM=He({prop:"gridTemplateRows"}),gM=He({prop:"gridTemplateAreas"}),CM=He({prop:"gridArea"});Hu(Nu,Zu,_u,dM,cM,fM,pM,hM,mM,vM,gM,CM);function Wr(e,t){return t==="grey"?t:e}const bM=He({prop:"color",themeKey:"palette",transform:Wr}),xM=He({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Wr}),yM=He({prop:"backgroundColor",themeKey:"palette",transform:Wr});Hu(bM,xM,yM);function xt(e){return e<=1&&e!==0?`${e*100}%`:e}const $M=He({prop:"width",transform:xt}),d3=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,a;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||s3[n];return o?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:xt(n)}};return Cn(e,e.maxWidth,t)}return null};d3.filterProps=["maxWidth"];const DM=He({prop:"minWidth",transform:xt}),EM=He({prop:"height",transform:xt}),wM=He({prop:"maxHeight",transform:xt}),BM=He({prop:"minHeight",transform:xt});He({prop:"size",cssProperty:"width",transform:xt});He({prop:"size",cssProperty:"height",transform:xt});const kM=He({prop:"boxSizing"});Hu($M,d3,DM,EM,wM,BM,kM);const c3={border:{themeKey:"borders",transform:Tt},borderTop:{themeKey:"borders",transform:Tt},borderRight:{themeKey:"borders",transform:Tt},borderBottom:{themeKey:"borders",transform:Tt},borderLeft:{themeKey:"borders",transform:Tt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Tt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zu},color:{themeKey:"palette",transform:Wr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Wr},backgroundColor:{themeKey:"palette",transform:Wr},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:Me},mt:{style:Me},mr:{style:Me},mb:{style:Me},ml:{style:Me},mx:{style:Me},my:{style:Me},margin:{style:Me},marginTop:{style:Me},marginRight:{style:Me},marginBottom:{style:Me},marginLeft:{style:Me},marginX:{style:Me},marginY:{style:Me},marginInline:{style:Me},marginInlineStart:{style:Me},marginInlineEnd:{style:Me},marginBlock:{style:Me},marginBlockStart:{style:Me},marginBlockEnd:{style:Me},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Nu},rowGap:{style:_u},columnGap:{style:Zu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:xt},maxWidth:{style:d3},minWidth:{transform:xt},height:{transform:xt},maxHeight:{transform:xt},minHeight:{transform:xt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function SM(...e){const t=e.reduce((r,a)=>r.concat(Object.keys(a)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function PM(e,t){return typeof e=="function"?e(t):e}function AM(){function e(n,r,a,o){const i={[n]:r,theme:a},u=o[n];if(!u)return{[n]:r};const{cssProperty:l=n,themeKey:d,transform:p,style:f}=u;if(r==null)return null;if(d==="typography"&&r==="inherit")return{[n]:r};const h=Lu(a,d)||{};return f?f(i):Cn(i,r,g=>{let v=Wi(h,p,g);return g===v&&typeof g=="string"&&(v=Wi(h,p,`${n}${g==="default"?"":Hp(g)}`,g)),l===!1?v:{[l]:v}})}function t(n){var r;const{sx:a,theme:o={}}=n||{};if(!a)return null;const i=(r=o.unstable_sxConfig)!=null?r:c3;function u(l){let d=l;if(typeof l=="function")d=l(o);else if(typeof l!="object")return l;if(!d)return null;const p=zF(o.breakpoints),f=Object.keys(p);let h=p;return Object.keys(d).forEach(m=>{const g=PM(d[m],o);if(g!=null)if(typeof g=="object")if(i[m])h=ja(h,e(m,g,o,i));else{const v=Cn({theme:o},g,C=>({[m]:C}));SM(v,g)?h[m]=t({sx:g,theme:o}):h=ja(h,v)}else h=ja(h,e(m,g,o,i))}),NF(f,h)}return Array.isArray(a)?a.map(u):u(a)}return t}const f3=AM();f3.filterProps=["sx"];function TM(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const FM=["breakpoints","palette","spacing","shape"];function MM(e={},...t){const{breakpoints:n={},palette:r={},spacing:a,shape:o={}}=e,i=ma(e,FM),u=KF(n),l=XF(a);let d=nn({breakpoints:u,direction:"ltr",components:{},palette:_e({mode:"light"},r),spacing:l,shape:_e({},HF,o)},i);return d.applyStyles=TM,d=t.reduce((p,f)=>nn(p,f),d),d.unstable_sxConfig=_e({},c3,i==null?void 0:i.unstable_sxConfig),d.unstable_sx=function(f){return f3({sx:f,theme:this})},d}function VM(e,t){return _e({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Fe={},H1={exports:{}},rc;function RM(){return rc||(rc=1,function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(H1)),H1.exports}const IM=dc(TF),jM=dc(jF);var ac;function LM(){if(ac)return Fe;ac=1;var e=RM();Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.alpha=g,Fe.blend=k,Fe.colorChannel=void 0,Fe.darken=C,Fe.decomposeColor=i,Fe.emphasize=E,Fe.getContrastRatio=m,Fe.getLuminance=h,Fe.hexToRgb=a,Fe.hslToRgb=f,Fe.lighten=D,Fe.private_safeAlpha=v,Fe.private_safeColorChannel=void 0,Fe.private_safeDarken=b,Fe.private_safeEmphasize=B,Fe.private_safeLighten=$,Fe.recomposeColor=d,Fe.rgbToHex=p;var t=e(IM),n=e(jM);function r(y,S=0,R=1){return process.env.NODE_ENV!=="production"&&(y<S||y>R)&&console.error(`MUI: The value provided ${y} is out of range [${S}, ${R}].`),(0,n.default)(y,S,R)}function a(y){y=y.slice(1);const S=new RegExp(`.{1,${y.length>=6?2:1}}`,"g");let R=y.match(S);return R&&R[0].length===1&&(R=R.map(F=>F+F)),R?`rgb${R.length===4?"a":""}(${R.map((F,x)=>x<3?parseInt(F,16):Math.round(parseInt(F,16)/255*1e3)/1e3).join(", ")})`:""}function o(y){const S=y.toString(16);return S.length===1?`0${S}`:S}function i(y){if(y.type)return y;if(y.charAt(0)==="#")return i(a(y));const S=y.indexOf("("),R=y.substring(0,S);if(["rgb","rgba","hsl","hsla","color"].indexOf(R)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${y}\` color.
|
|
3773
|
+
`)),()=>{})}function zp(e){return go(e,"spacing",8,"spacing")}function Co(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function YF(e,t){return n=>e.reduce((r,a)=>(r[a]=Co(t,n),r),{})}function XF(e,t,n,r){if(t.indexOf(n)===-1)return null;const a=GF(n),o=YF(a,r),i=e[n];return Cn(e,i,o)}function Np(e,t){const n=zp(e.theme);return Object.keys(e).map(r=>XF(e,t,r,n)).reduce(ja,{})}function Me(e){return Np(e,Ou)}Me.propTypes=process.env.NODE_ENV!=="production"?Ou.reduce((e,t)=>(e[t]=qn,e),{}):{};Me.filterProps=Ou;function Ve(e){return Np(e,Ku)}Ve.propTypes=process.env.NODE_ENV!=="production"?Ku.reduce((e,t)=>(e[t]=qn,e),{}):{};Ve.filterProps=Ku;process.env.NODE_ENV!=="production"&&qF.reduce((e,t)=>(e[t]=qn,e),{});function JF(e=8){if(e.mui)return e;const t=zp({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(o=>{const i=t(o);return typeof i=="number"?`${i}px`:i}).join(" "));return n.mui=!0,n}function Hu(...e){const t=e.reduce((r,a)=>(a.filterProps.forEach(o=>{r[o]=a}),r),{}),n=r=>Object.keys(r).reduce((a,o)=>t[o]?ja(a,t[o](r)):a,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,a)=>Object.assign(r,a.propTypes),{}):{},n.filterProps=e.reduce((r,a)=>r.concat(a.filterProps),[]),n}function Tt(e){return typeof e!="number"?e:`${e}px solid`}function It(e,t){return He({prop:e,themeKey:"borders",transform:t})}const QF=It("border",Tt),eM=It("borderTop",Tt),tM=It("borderRight",Tt),nM=It("borderBottom",Tt),rM=It("borderLeft",Tt),aM=It("borderColor"),oM=It("borderTopColor"),iM=It("borderRightColor"),uM=It("borderBottomColor"),lM=It("borderLeftColor"),sM=It("outline",Tt),dM=It("outlineColor"),zu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=go(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Co(t,r)});return Cn(e,e.borderRadius,n)}return null};zu.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:qn}:{};zu.filterProps=["borderRadius"];Hu(QF,eM,tM,nM,rM,aM,oM,iM,uM,lM,zu,sM,dM);const Nu=e=>{if(e.gap!==void 0&&e.gap!==null){const t=go(e.theme,"spacing",8,"gap"),n=r=>({gap:Co(t,r)});return Cn(e,e.gap,n)}return null};Nu.propTypes=process.env.NODE_ENV!=="production"?{gap:qn}:{};Nu.filterProps=["gap"];const Zu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=go(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Co(t,r)});return Cn(e,e.columnGap,n)}return null};Zu.propTypes=process.env.NODE_ENV!=="production"?{columnGap:qn}:{};Zu.filterProps=["columnGap"];const _u=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=go(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Co(t,r)});return Cn(e,e.rowGap,n)}return null};_u.propTypes=process.env.NODE_ENV!=="production"?{rowGap:qn}:{};_u.filterProps=["rowGap"];const cM=He({prop:"gridColumn"}),fM=He({prop:"gridRow"}),pM=He({prop:"gridAutoFlow"}),hM=He({prop:"gridAutoColumns"}),mM=He({prop:"gridAutoRows"}),vM=He({prop:"gridTemplateColumns"}),gM=He({prop:"gridTemplateRows"}),CM=He({prop:"gridTemplateAreas"}),bM=He({prop:"gridArea"});Hu(Nu,Zu,_u,cM,fM,pM,hM,mM,vM,gM,CM,bM);function Wr(e,t){return t==="grey"?t:e}const xM=He({prop:"color",themeKey:"palette",transform:Wr}),yM=He({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Wr}),$M=He({prop:"backgroundColor",themeKey:"palette",transform:Wr});Hu(xM,yM,$M);function xt(e){return e<=1&&e!==0?`${e*100}%`:e}const DM=He({prop:"width",transform:xt}),d3=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,a;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||s3[n];return o?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:xt(n)}};return Cn(e,e.maxWidth,t)}return null};d3.filterProps=["maxWidth"];const EM=He({prop:"minWidth",transform:xt}),wM=He({prop:"height",transform:xt}),BM=He({prop:"maxHeight",transform:xt}),kM=He({prop:"minHeight",transform:xt});He({prop:"size",cssProperty:"width",transform:xt});He({prop:"size",cssProperty:"height",transform:xt});const SM=He({prop:"boxSizing"});Hu(DM,d3,EM,wM,BM,kM,SM);const c3={border:{themeKey:"borders",transform:Tt},borderTop:{themeKey:"borders",transform:Tt},borderRight:{themeKey:"borders",transform:Tt},borderBottom:{themeKey:"borders",transform:Tt},borderLeft:{themeKey:"borders",transform:Tt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Tt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zu},color:{themeKey:"palette",transform:Wr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Wr},backgroundColor:{themeKey:"palette",transform:Wr},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:Me},mt:{style:Me},mr:{style:Me},mb:{style:Me},ml:{style:Me},mx:{style:Me},my:{style:Me},margin:{style:Me},marginTop:{style:Me},marginRight:{style:Me},marginBottom:{style:Me},marginLeft:{style:Me},marginX:{style:Me},marginY:{style:Me},marginInline:{style:Me},marginInlineStart:{style:Me},marginInlineEnd:{style:Me},marginBlock:{style:Me},marginBlockStart:{style:Me},marginBlockEnd:{style:Me},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Nu},rowGap:{style:_u},columnGap:{style:Zu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:xt},maxWidth:{style:d3},minWidth:{transform:xt},height:{transform:xt},maxHeight:{transform:xt},minHeight:{transform:xt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function PM(...e){const t=e.reduce((r,a)=>r.concat(Object.keys(a)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function AM(e,t){return typeof e=="function"?e(t):e}function TM(){function e(n,r,a,o){const i={[n]:r,theme:a},u=o[n];if(!u)return{[n]:r};const{cssProperty:l=n,themeKey:d,transform:p,style:f}=u;if(r==null)return null;if(d==="typography"&&r==="inherit")return{[n]:r};const h=Lu(a,d)||{};return f?f(i):Cn(i,r,g=>{let v=Wi(h,p,g);return g===v&&typeof g=="string"&&(v=Wi(h,p,`${n}${g==="default"?"":Hp(g)}`,g)),l===!1?v:{[l]:v}})}function t(n){var r;const{sx:a,theme:o={}}=n||{};if(!a)return null;const i=(r=o.unstable_sxConfig)!=null?r:c3;function u(l){let d=l;if(typeof l=="function")d=l(o);else if(typeof l!="object")return l;if(!d)return null;const p=NF(o.breakpoints),f=Object.keys(p);let h=p;return Object.keys(d).forEach(m=>{const g=AM(d[m],o);if(g!=null)if(typeof g=="object")if(i[m])h=ja(h,e(m,g,o,i));else{const v=Cn({theme:o},g,C=>({[m]:C}));PM(v,g)?h[m]=t({sx:g,theme:o}):h=ja(h,v)}else h=ja(h,e(m,g,o,i))}),ZF(f,h)}return Array.isArray(a)?a.map(u):u(a)}return t}const f3=TM();f3.filterProps=["sx"];function FM(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const MM=["breakpoints","palette","spacing","shape"];function VM(e={},...t){const{breakpoints:n={},palette:r={},spacing:a,shape:o={}}=e,i=ma(e,MM),u=HF(n),l=JF(a);let d=nn({breakpoints:u,direction:"ltr",components:{},palette:_e({mode:"light"},r),spacing:l,shape:_e({},zF,o)},i);return d.applyStyles=FM,d=t.reduce((p,f)=>nn(p,f),d),d.unstable_sxConfig=_e({},c3,i==null?void 0:i.unstable_sxConfig),d.unstable_sx=function(f){return f3({sx:f,theme:this})},d}function RM(e,t){return _e({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Fe={},H1={exports:{}},rc;function IM(){return rc||(rc=1,function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(H1)),H1.exports}const jM=dc(FF),LM=dc(LF);var ac;function OM(){if(ac)return Fe;ac=1;var e=IM();Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.alpha=g,Fe.blend=k,Fe.colorChannel=void 0,Fe.darken=C,Fe.decomposeColor=i,Fe.emphasize=E,Fe.getContrastRatio=m,Fe.getLuminance=h,Fe.hexToRgb=a,Fe.hslToRgb=f,Fe.lighten=D,Fe.private_safeAlpha=v,Fe.private_safeColorChannel=void 0,Fe.private_safeDarken=b,Fe.private_safeEmphasize=B,Fe.private_safeLighten=$,Fe.recomposeColor=d,Fe.rgbToHex=p;var t=e(jM),n=e(LM);function r(y,S=0,R=1){return process.env.NODE_ENV!=="production"&&(y<S||y>R)&&console.error(`MUI: The value provided ${y} is out of range [${S}, ${R}].`),(0,n.default)(y,S,R)}function a(y){y=y.slice(1);const S=new RegExp(`.{1,${y.length>=6?2:1}}`,"g");let R=y.match(S);return R&&R[0].length===1&&(R=R.map(F=>F+F)),R?`rgb${R.length===4?"a":""}(${R.map((F,x)=>x<3?parseInt(F,16):Math.round(parseInt(F,16)/255*1e3)/1e3).join(", ")})`:""}function o(y){const S=y.toString(16);return S.length===1?`0${S}`:S}function i(y){if(y.type)return y;if(y.charAt(0)==="#")return i(a(y));const S=y.indexOf("("),R=y.substring(0,S);if(["rgb","rgba","hsl","hsla","color"].indexOf(R)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${y}\` color.
|
|
3774
3774
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,t.default)(9,y));let F=y.substring(S+1,y.length-1),x;if(R==="color"){if(F=F.split(" "),x=F.shift(),F.length===4&&F[3].charAt(0)==="/"&&(F[3]=F[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(x)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${x}\` color space.
|
|
3775
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,t.default)(10,x))}else F=F.split(",");return F=F.map(I=>parseFloat(I)),{type:R,values:F,colorSpace:x}}const u=y=>{const S=i(y);return S.values.slice(0,3).map((R,F)=>S.type.indexOf("hsl")!==-1&&F!==0?`${R}%`:R).join(" ")};Fe.colorChannel=u;const l=(y,S)=>{try{return u(y)}catch{return S&&process.env.NODE_ENV!=="production"&&console.warn(S),y}};Fe.private_safeColorChannel=l;function d(y){const{type:S,colorSpace:R}=y;let{values:F}=y;return S.indexOf("rgb")!==-1?F=F.map((x,I)=>I<3?parseInt(x,10):x):S.indexOf("hsl")!==-1&&(F[1]=`${F[1]}%`,F[2]=`${F[2]}%`),S.indexOf("color")!==-1?F=`${R} ${F.join(" ")}`:F=`${F.join(", ")}`,`${S}(${F})`}function p(y){if(y.indexOf("#")===0)return y;const{values:S}=i(y);return`#${S.map((R,F)=>o(F===3?Math.round(255*R):R)).join("")}`}function f(y){y=i(y);const{values:S}=y,R=S[0],F=S[1]/100,x=S[2]/100,I=F*Math.min(x,1-x),j=(w,A=(w+R/30)%12)=>x-I*Math.max(Math.min(A-3,9-A,1),-1);let L="rgb";const Z=[Math.round(j(0)*255),Math.round(j(8)*255),Math.round(j(4)*255)];return y.type==="hsla"&&(L+="a",Z.push(S[3])),d({type:L,values:Z})}function h(y){y=i(y);let S=y.type==="hsl"||y.type==="hsla"?i(f(y)).values:y.values;return S=S.map(R=>(y.type!=="color"&&(R/=255),R<=.03928?R/12.92:((R+.055)/1.055)**2.4)),Number((.2126*S[0]+.7152*S[1]+.0722*S[2]).toFixed(3))}function m(y,S){const R=h(y),F=h(S);return(Math.max(R,F)+.05)/(Math.min(R,F)+.05)}function g(y,S){return y=i(y),S=r(S),(y.type==="rgb"||y.type==="hsl")&&(y.type+="a"),y.type==="color"?y.values[3]=`/${S}`:y.values[3]=S,d(y)}function v(y,S,R){try{return g(y,S)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),y}}function C(y,S){if(y=i(y),S=r(S),y.type.indexOf("hsl")!==-1)y.values[2]*=1-S;else if(y.type.indexOf("rgb")!==-1||y.type.indexOf("color")!==-1)for(let R=0;R<3;R+=1)y.values[R]*=1-S;return d(y)}function b(y,S,R){try{return C(y,S)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),y}}function D(y,S){if(y=i(y),S=r(S),y.type.indexOf("hsl")!==-1)y.values[2]+=(100-y.values[2])*S;else if(y.type.indexOf("rgb")!==-1)for(let R=0;R<3;R+=1)y.values[R]+=(255-y.values[R])*S;else if(y.type.indexOf("color")!==-1)for(let R=0;R<3;R+=1)y.values[R]+=(1-y.values[R])*S;return d(y)}function $(y,S,R){try{return D(y,S)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),y}}function E(y,S=.15){return h(y)>.5?C(y,S):D(y,S)}function B(y,S,R){try{return E(y,S)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),y}}function k(y,S,R,F=1){const x=(Z,w)=>Math.round((Z**(1/F)*(1-R)+w**(1/F)*R)**F),I=i(y),j=i(S),L=[x(I.values[0],j.values[0]),x(I.values[1],j.values[1]),x(I.values[2],j.values[2])];return d({type:"rgb",values:L})}return Fe}var Gi=
|
|
3775
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,t.default)(10,x))}else F=F.split(",");return F=F.map(I=>parseFloat(I)),{type:R,values:F,colorSpace:x}}const u=y=>{const S=i(y);return S.values.slice(0,3).map((R,F)=>S.type.indexOf("hsl")!==-1&&F!==0?`${R}%`:R).join(" ")};Fe.colorChannel=u;const l=(y,S)=>{try{return u(y)}catch{return S&&process.env.NODE_ENV!=="production"&&console.warn(S),y}};Fe.private_safeColorChannel=l;function d(y){const{type:S,colorSpace:R}=y;let{values:F}=y;return S.indexOf("rgb")!==-1?F=F.map((x,I)=>I<3?parseInt(x,10):x):S.indexOf("hsl")!==-1&&(F[1]=`${F[1]}%`,F[2]=`${F[2]}%`),S.indexOf("color")!==-1?F=`${R} ${F.join(" ")}`:F=`${F.join(", ")}`,`${S}(${F})`}function p(y){if(y.indexOf("#")===0)return y;const{values:S}=i(y);return`#${S.map((R,F)=>o(F===3?Math.round(255*R):R)).join("")}`}function f(y){y=i(y);const{values:S}=y,R=S[0],F=S[1]/100,x=S[2]/100,I=F*Math.min(x,1-x),j=(w,A=(w+R/30)%12)=>x-I*Math.max(Math.min(A-3,9-A,1),-1);let L="rgb";const Z=[Math.round(j(0)*255),Math.round(j(8)*255),Math.round(j(4)*255)];return y.type==="hsla"&&(L+="a",Z.push(S[3])),d({type:L,values:Z})}function h(y){y=i(y);let S=y.type==="hsl"||y.type==="hsla"?i(f(y)).values:y.values;return S=S.map(R=>(y.type!=="color"&&(R/=255),R<=.03928?R/12.92:((R+.055)/1.055)**2.4)),Number((.2126*S[0]+.7152*S[1]+.0722*S[2]).toFixed(3))}function m(y,S){const R=h(y),F=h(S);return(Math.max(R,F)+.05)/(Math.min(R,F)+.05)}function g(y,S){return y=i(y),S=r(S),(y.type==="rgb"||y.type==="hsl")&&(y.type+="a"),y.type==="color"?y.values[3]=`/${S}`:y.values[3]=S,d(y)}function v(y,S,R){try{return g(y,S)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),y}}function C(y,S){if(y=i(y),S=r(S),y.type.indexOf("hsl")!==-1)y.values[2]*=1-S;else if(y.type.indexOf("rgb")!==-1||y.type.indexOf("color")!==-1)for(let R=0;R<3;R+=1)y.values[R]*=1-S;return d(y)}function b(y,S,R){try{return C(y,S)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),y}}function D(y,S){if(y=i(y),S=r(S),y.type.indexOf("hsl")!==-1)y.values[2]+=(100-y.values[2])*S;else if(y.type.indexOf("rgb")!==-1)for(let R=0;R<3;R+=1)y.values[R]+=(255-y.values[R])*S;else if(y.type.indexOf("color")!==-1)for(let R=0;R<3;R+=1)y.values[R]+=(1-y.values[R])*S;return d(y)}function $(y,S,R){try{return D(y,S)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),y}}function E(y,S=.15){return h(y)>.5?C(y,S):D(y,S)}function B(y,S,R){try{return E(y,S)}catch{return R&&process.env.NODE_ENV!=="production"&&console.warn(R),y}}function k(y,S,R,F=1){const x=(Z,w)=>Math.round((Z**(1/F)*(1-R)+w**(1/F)*R)**F),I=i(y),j=i(S),L=[x(I.values[0],j.values[0]),x(I.values[1],j.values[1]),x(I.values[2],j.values[2])];return d({type:"rgb",values:L})}return Fe}var Gi=OM();const eo={black:"#000",white:"#fff"},KM={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Sr={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Pr={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ba={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ar={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Tr={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Fr={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},HM=["mode","contrastThreshold","tonalOffset"],oc={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:eo.white,default:eo.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},z1={text:{primary:eo.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:eo.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function ic(e,t,n,r){const a=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Gi.lighten(e.main,a):t==="dark"&&(e.dark=Gi.darken(e.main,o)))}function zM(e="light"){return e==="dark"?{main:Ar[200],light:Ar[50],dark:Ar[400]}:{main:Ar[700],light:Ar[400],dark:Ar[800]}}function NM(e="light"){return e==="dark"?{main:Sr[200],light:Sr[50],dark:Sr[400]}:{main:Sr[500],light:Sr[300],dark:Sr[700]}}function ZM(e="light"){return e==="dark"?{main:Pr[500],light:Pr[300],dark:Pr[700]}:{main:Pr[700],light:Pr[400],dark:Pr[800]}}function _M(e="light"){return e==="dark"?{main:Tr[400],light:Tr[300],dark:Tr[700]}:{main:Tr[700],light:Tr[500],dark:Tr[900]}}function UM(e="light"){return e==="dark"?{main:Fr[400],light:Fr[300],dark:Fr[700]}:{main:Fr[800],light:Fr[500],dark:Fr[900]}}function WM(e="light"){return e==="dark"?{main:Ba[400],light:Ba[300],dark:Ba[700]}:{main:"#ed6c02",light:Ba[500],dark:Ba[900]}}function GM(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,a=ma(e,HM),o=e.primary||zM(t),i=e.secondary||NM(t),u=e.error||ZM(t),l=e.info||_M(t),d=e.success||UM(t),p=e.warning||WM(t);function f(v){const C=Gi.getContrastRatio(v,z1.text.primary)>=n?z1.text.primary:oc.text.primary;if(process.env.NODE_ENV!=="production"){const b=Gi.getContrastRatio(v,C);b<3&&console.error([`MUI: The contrast ratio of ${b}:1 for ${C} on ${v}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
3776
3776
|
`))}return C}const h=({color:v,name:C,mainShade:b=500,lightShade:D=300,darkShade:$=700})=>{if(v=_e({},v),!v.main&&v[b]&&(v.main=v[b]),!v.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${C?` (${C})`:""} provided to augmentColor(color) is invalid.
|
|
3777
3777
|
The color object needs to have a \`main\` property or a \`${b}\` property.`:Qa(11,C?` (${C})`:"",b));if(typeof v.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${C?` (${C})`:""} provided to augmentColor(color) is invalid.
|
|
3778
3778
|
\`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
|
|
@@ -3787,6 +3787,6 @@ const theme1 = createTheme({ palette: {
|
|
|
3787
3787
|
|
|
3788
3788
|
const theme2 = createTheme({ palette: {
|
|
3789
3789
|
primary: { main: green[500] },
|
|
3790
|
-
} });`:Qa(12,C?` (${C})`:"",JSON.stringify(v.main)));return ic(v,"light",D,r),ic(v,"dark",$,r),v.contrastText||(v.contrastText=f(v.main)),v},m={dark:z1,light:oc};return process.env.NODE_ENV!=="production"&&(m[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),nn(_e({common:_e({},eo),mode:t,primary:h({color:o,name:"primary"}),secondary:h({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:u,name:"error"}),warning:h({color:p,name:"warning"}),info:h({color:l,name:"info"}),success:h({color:d,name:"success"}),grey:
|
|
3791
|
-
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(p=>`${p} ${typeof i=="string"?i:sc(i)} ${u} ${typeof l=="string"?l:sc(l)}`).join(",")}},e,{easing:t,duration:n})}const
|
|
3792
|
-
`))}h[g]={}}}};Object.keys(d.components).forEach(h=>{const m=d.components[h].styleOverrides;m&&h.indexOf("Mui")===0&&f(m,h)})}return d.unstable_sxConfig=_e({},c3,i==null?void 0:i.unstable_sxConfig),d.unstable_sx=function(f){return f3({sx:f,theme:this})},d}const
|
|
3790
|
+
} });`:Qa(12,C?` (${C})`:"",JSON.stringify(v.main)));return ic(v,"light",D,r),ic(v,"dark",$,r),v.contrastText||(v.contrastText=f(v.main)),v},m={dark:z1,light:oc};return process.env.NODE_ENV!=="production"&&(m[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),nn(_e({common:_e({},eo),mode:t,primary:h({color:o,name:"primary"}),secondary:h({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:u,name:"error"}),warning:h({color:p,name:"warning"}),info:h({color:l,name:"info"}),success:h({color:d,name:"success"}),grey:KM,contrastThreshold:n,getContrastText:f,augmentColor:h,tonalOffset:r},m[t]),a)}const qM=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function YM(e){return Math.round(e*1e5)/1e5}const uc={textTransform:"uppercase"},lc='"Roboto", "Helvetica", "Arial", sans-serif';function XM(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=lc,fontSize:a=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:u=500,fontWeightBold:l=700,htmlFontSize:d=16,allVariants:p,pxToRem:f}=n,h=ma(n,qM);process.env.NODE_ENV!=="production"&&(typeof a!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=a/14,g=f||(b=>`${b/d*m}rem`),v=(b,D,$,E,B)=>_e({fontFamily:r,fontWeight:b,fontSize:g(D),lineHeight:$},r===lc?{letterSpacing:`${YM(E/D)}em`}:{},B,p),C={h1:v(o,96,1.167,-1.5),h2:v(o,60,1.2,-.5),h3:v(i,48,1.167,0),h4:v(i,34,1.235,.25),h5:v(i,24,1.334,0),h6:v(u,20,1.6,.15),subtitle1:v(i,16,1.75,.15),subtitle2:v(u,14,1.57,.1),body1:v(i,16,1.5,.15),body2:v(i,14,1.43,.15),button:v(u,14,1.75,.4,uc),caption:v(i,12,1.66,.4),overline:v(i,12,2.66,1,uc),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return nn(_e({htmlFontSize:d,pxToRem:g,fontFamily:r,fontSize:a,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:u,fontWeightBold:l},C),h,{clone:!1})}const JM=.2,QM=.14,eV=.12;function Se(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${JM})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${QM})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${eV})`].join(",")}const tV=["none",Se(0,2,1,-1,0,1,1,0,0,1,3,0),Se(0,3,1,-2,0,2,2,0,0,1,5,0),Se(0,3,3,-2,0,3,4,0,0,1,8,0),Se(0,2,4,-1,0,4,5,0,0,1,10,0),Se(0,3,5,-1,0,5,8,0,0,1,14,0),Se(0,3,5,-1,0,6,10,0,0,1,18,0),Se(0,4,5,-2,0,7,10,1,0,2,16,1),Se(0,5,5,-3,0,8,10,1,0,3,14,2),Se(0,5,6,-3,0,9,12,1,0,3,16,2),Se(0,6,6,-3,0,10,14,1,0,4,18,3),Se(0,6,7,-4,0,11,15,1,0,4,20,3),Se(0,7,8,-4,0,12,17,2,0,5,22,4),Se(0,7,8,-4,0,13,19,2,0,5,24,4),Se(0,7,9,-4,0,14,21,2,0,5,26,4),Se(0,8,9,-5,0,15,22,2,0,6,28,5),Se(0,8,10,-5,0,16,24,2,0,6,30,5),Se(0,8,11,-5,0,17,26,2,0,6,32,5),Se(0,9,11,-5,0,18,28,2,0,7,34,6),Se(0,9,12,-6,0,19,29,2,0,7,36,6),Se(0,10,13,-6,0,20,31,3,0,8,38,7),Se(0,10,13,-6,0,21,33,3,0,8,40,7),Se(0,10,14,-6,0,22,35,3,0,8,42,7),Se(0,11,14,-7,0,23,36,3,0,9,44,8),Se(0,11,15,-7,0,24,38,3,0,9,46,8)],nV=["duration","easing","delay"],rV={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},aV={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function sc(e){return`${Math.round(e)}ms`}function oV(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function iV(e){const t=_e({},rV,e.easing),n=_e({},aV,e.duration);return _e({getAutoHeightDuration:oV,create:(a=["all"],o={})=>{const{duration:i=n.standard,easing:u=t.easeInOut,delay:l=0}=o,d=ma(o,nV);if(process.env.NODE_ENV!=="production"){const p=h=>typeof h=="string",f=h=>!isNaN(parseFloat(h));!p(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(i)&&!p(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),p(u)||console.error('MUI: Argument "easing" must be a string.'),!f(l)&&!p(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof o!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
3791
|
+
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(p=>`${p} ${typeof i=="string"?i:sc(i)} ${u} ${typeof l=="string"?l:sc(l)}`).join(",")}},e,{easing:t,duration:n})}const uV={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},lV=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function sV(e={},...t){const{mixins:n={},palette:r={},transitions:a={},typography:o={}}=e,i=ma(e,lV);if(e.vars&&e.generateCssVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Qa(18));const u=GM(r),l=VM(e);let d=nn(l,{mixins:RM(l.breakpoints,n),palette:u,shadows:tV.slice(),typography:XM(u,o),transitions:iV(a),zIndex:_e({},uV)});if(d=nn(d,i),d=t.reduce((p,f)=>nn(p,f),d),process.env.NODE_ENV!=="production"){const p=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(h,m)=>{let g;for(g in h){const v=h[g];if(p.indexOf(g)!==-1&&Object.keys(v).length>0){if(process.env.NODE_ENV!=="production"){const C=IF("",g);console.error([`MUI: The \`${m}\` component increases the CSS specificity of the \`${g}\` internal state.`,"You can not override it like this: ",JSON.stringify(h,null,2),"",`Instead, you need to use the '&.${C}' syntax:`,JSON.stringify({root:{[`&.${C}`]:v}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
3792
|
+
`))}h[g]={}}}};Object.keys(d.components).forEach(h=>{const m=d.components[h].styleOverrides;m&&h.indexOf("Mui")===0&&f(m,h)})}return d.unstable_sxConfig=_e({},c3,i==null?void 0:i.unstable_sxConfig),d.unstable_sx=function(f){return f3({sx:f,theme:this})},d}const dV={palette:{primary:{main:Be.color.content.action.action,light:Be.color.content.action.actionLighter,dark:Be.color.content.action.actionDarker,contrastText:Be.color.content.neutral.primaryReversed},info:{main:Be.color.content.message.informative,light:Be.color.content.message.informativeLighter,dark:Be.color.content.message.informativeDarker,contrastText:Be.color.content.neutral.primaryReversed},secondary:{main:Be.color.content.message.informative,light:Be.color.content.message.informativeLighter,dark:Be.color.content.message.informativeDarker,contrastText:Be.color.content.neutral.primaryReversed},error:{main:Be.color.content.message.negative,light:Be.color.content.message.negativeLighter,dark:Be.color.content.message.negativeDarker,contrastText:Be.color.content.neutral.primaryReversed},success:{main:Be.color.content.message.positive,light:Be.color.content.message.positiveLighter,dark:Be.color.content.message.positiveDarker,contrastText:Be.color.content.neutral.primaryReversed},warning:{main:Be.color.content.message.warning,light:Be.color.content.message.warningLighter,dark:Be.color.content.message.warningDarker,contrastText:Be.color.content.neutral.primaryReversed}},typography:{fontFamily:["EDF2020","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue"].join(",")},components:{MuiButtonBase:{defaultProps:{disableRipple:!0}}}};function Zp(e){const t=nn(dV,e||{});return sV(t)}Zp();exports.Accordion=dw;exports.Badge=n3;exports.Breadcrumbs=$w;exports.Button=ke;exports.Calendar=a3;exports.CalendarCell=ii;exports.ChartLegend=Fw;exports.Checkbox=np;exports.CheckboxGroup=Mw;exports.Chip=op;exports.Combobox=Xw;exports.DataTable=$B;exports.DataTableCell=BB;exports.DataTableHeader=AB;exports.DataTableRoot=cp;exports.DataTableRow=lp;exports.DatePicker=VB;exports.DateRangePicker=KB;exports.Drawer=pp;exports.Dropdown=rp;exports.EmptyState=rk;exports.FileUpload=mk;exports.Filter=kk;exports.Header=Gk;exports.I18nProvider=Mv;exports.Icon=le;exports.Label=ip;exports.LinearProgressBar=JS;exports.Link=tP;exports.List=cP;exports.Loader=e3;exports.Menu=mP;exports.MenuItem=vP;exports.Message=EP;exports.Modal=IP;exports.ModalActions=RP;exports.ModalContent=VP;exports.ModalForm=AP;exports.Navigation=YP;exports.NavigationItem=Ui;exports.PageLayout=aA;exports.Pagination=dp;exports.Popover=fA;exports.PopoverTrigger=pA;exports.Radio=CA;exports.RouterProvider=DF;exports.SearchBar=jA;exports.SegmentedControl=OA;exports.SegmentedControlButton=NA;exports.SegmentedControlList=_A;exports.SegmentedControlPanel=UA;exports.Select=Vl;exports.SelectItem=fr;exports.Slider=QA;exports.Switch=rT;exports.Tab=oT;exports.TabList=lT;exports.TabPanel=sT;exports.Tabs=cT;exports.Tag=Pp;exports.TextInput=Zi;exports.TimeField=hT;exports.Timeline=HT;exports.Toaster=gF;exports.Tooltip=t3;exports.TooltipTrigger=tp;exports.YearMonthPicker=yF;exports.createMuiTheme=Zp;exports.fontSize=X;exports.lineHeight=ne;exports.toast=aF;exports.tokens=Be;
|