freemium-ui 2.0.0-beta.71 → 2.0.0-beta.73

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.
@@ -1856,16 +1856,120 @@ const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n
1856
1856
  })),Tc=e.forwardRef(((t,n)=>{const{__scopeDropdownMenu:r,...a}=t,o=_c(r)
1857
1857
  ;return e.createElement(zc,un({},o,a,{ref:n}))})),Rc=e.forwardRef(((t,n)=>{
1858
1858
  const{__scopeDropdownMenu:r,...a}=t,o=_c(r)
1859
- ;return e.createElement(Mc,un({},o,a,{ref:n}))
1860
- })),Pc=on(Vc)``,Ic=on(Lc)``,Oc=on(Ac)``,Nc=on(Rc)`
1859
+ ;return e.createElement(Mc,un({},o,a,{ref:n}))})),Pc={elephant:"#12344d",
1860
+ smoke:"#ebeff3",milk:"#ffffff",E900:"#12344d",E800:"#264966",E700:"#345c7c",
1861
+ E600:"#447093",E500:"#527fa5",E400:"#6b92b6",E300:"#83a6c8",E200:"#a2c0de",
1862
+ E100:"#bedbf5",E50:"#dff0ff",S900:"#27313a",S800:"#384551",S700:"#475867",
1863
+ S600:"#576c7d",S500:"#647a8e",S400:"#7b8e9f",S300:"#92a2b1",S200:"#b1bdc8",
1864
+ S100:"#cfd7df",S75:"#e6e8eb",S50:"#ebeff3",S25:"#f5f7f9",S10:"#f7f9fa"},Ic={
1865
+ jungle:"#005c3f",J900:"#005c3f",J800:"#00795b",J700:"#008969",J600:"#009a79",
1866
+ J500:"#00a886",J400:"#1cb697",J300:"#4dc4aa",J200:"#82d5c2",J100:"#b4e5da",
1867
+ J50:"#e0f5f1",azure:"#2c5cc5",A900:"#283da5",A800:"#2c5cc5",A700:"#2e6ed8",
1868
+ A600:"#2f80eb",A500:"#2e8efa",A400:"#459ffc",A300:"#64b0fc",A200:"#90c6fe",
1869
+ A100:"#bbdcfe",A50:"#e5f2fd",persimmon:"#e43538",P900:"#c82124",P800:"#d72d30",
1870
+ P700:"#e43538",P600:"#f73f3e",P500:"#ff473e",P400:"#ff5959",P300:"#f2797b",
1871
+ P200:"#f89fa1",P100:"#ffd0d6",P50:"#ffecf0",casablanca:"#e86f25",C900:"#d7461f",
1872
+ C800:"#e16023",C700:"#e86f25",C600:"#ef7e27",C500:"#f48928",C400:"#f69a3c",
1873
+ C300:"#f8ab59",C200:"#fac386",C100:"#fddbb5",C50:"#fef1e1"},Oc={black:"#000000",
1874
+ white:"#ffffff"
1875
+ },Nc="-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial, sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol'",Fc=(e,t=1)=>{
1876
+ let n=t,r=e.replace(/^#/,"")
1877
+ ;8===e.length||4===e.length?(n=parseInt(e.slice(-2),16)/255,
1878
+ r=e.slice(0,-2)):3===r.length&&(r=r.replace(/(.)/g,"$1$1"))
1879
+ ;const[a,o,i]=[0,2,4].map((e=>parseInt(r.slice(e,e+2),16)))
1880
+ ;return`rgba(${a}, ${o}, ${i}, ${n.toFixed(2)})`},Bc={mode:"light",breakpoints:{
1881
+ keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:900,lg:1200,xl:1536},
1882
+ unit:"px"},colors:{common:{black:Oc.black,white:Oc.white,accent:Ic.A800},text:{
1883
+ link:Ic.A800,primary:Pc.E900,secondary:Pc.S700,disabled:Pc.S400,
1884
+ placeholder:Pc.S300,error:Ic.P800,inverse:Oc.white,semantic:{success:Ic.J500,
1885
+ warning:Ic.C500,error:Ic.P500,info:Ic.A500}},fill:{base:Pc.S25,medium:Pc.S50,
1886
+ dark:Pc.S100,surface:Oc.white,inverse:Pc.E900,hover:Pc.S50,disabled:Pc.S50,
1887
+ hilight:Ic.A50},semantic:{error:{bg:Ic.P50,border:Ic.P100},warning:{bg:Ic.C50,
1888
+ border:Ic.C100},info:{bg:Ic.A50,border:Ic.A100},success:{bg:Ic.J50,
1889
+ border:Ic.J100}},border:{light:Pc.S50,normal:Pc.S100,divider:Pc.S100,
1890
+ hover:Pc.S300,active:Ic.A800,disabled:Pc.S50,error:Ic.P800},shadow:Pc.E900,
1891
+ scrim:Pc.E900},typography:{fontFamily:Nc,fontWeight:{bold:700,"semi-bold":600,
1892
+ regular:400},primary:{fontSize:"14px",fontWeight:400,lineHeight:1.5},secondary:{
1893
+ fontSize:"12px",fontWeight:400,lineHeight:1.5},heading:{fontSize:"16px",
1894
+ fontWeight:400,lineHeight:1.25},heading1:{fontSize:"44px",fontWeight:400,
1895
+ lineHeight:1.25},heading2:{fontSize:"32px",fontWeight:400,lineHeight:1.25},
1896
+ heading3:{fontSize:"24px",fontWeight:400,lineHeight:1.25},heading4:{
1897
+ fontSize:"18px",fontWeight:400,lineHeight:1.25},caption:{fontSize:"12px",
1898
+ fontWeight:400,lineHeight:1}},
1899
+ shadows:["none","0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12)","0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12)","0px 3px 3px -2px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 1px 8px 0px rgba(0,0,0,0.12)"],
1900
+ transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",
1901
+ easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.16, 1, 0.3, 1)",
1902
+ sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{short:"250ms",standard:"300ms",
1903
+ complex:"450ms"}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,
1904
+ drawer:1200,modal:1300,snackbar:1400,tooltip:1500},components:{button:{primary:{
1905
+ backgroundFrom:Pc.E800,backgroundTo:Pc.E900,color:Oc.white,disabledColor:Pc.S10,
1906
+ activeBackgroundColor:Pc.E800,hoverColor:Pc.E900,borderColor:Pc.E900,
1907
+ activeBorderColor:Pc.E900,disabledBorderColor:Pc.S400,
1908
+ disabledBackgroundFrom:Pc.S300,disabledBackgroundTo:Pc.S400},secondary:{
1909
+ backgroundFrom:Oc.white,backgroundTo:Pc.S25,color:Pc.E900,disabledColor:Pc.S300,
1910
+ activeBackgroundColor:Pc.S25,hoverColor:Pc.S25,borderColor:Pc.S100,
1911
+ activeBorderColor:Pc.S25,disabledBorderColor:Pc.S100,
1912
+ disabledBackgroundFrom:Pc.S50,disabledBackgroundTo:Pc.S50},danger:{
1913
+ backgroundFrom:Ic.P800,backgroundTo:Ic.P900,color:Oc.white,
1914
+ disabledColor:Ic.P100,activeBackgroundColor:Ic.P800,hoverColor:Ic.P900,
1915
+ borderColor:Ic.P900,activeBorderColor:Ic.P200,disabledBorderColor:Ic.P300,
1916
+ disabledBackgroundFrom:Ic.P200,disabledBackgroundTo:Ic.P300},link:{
1917
+ backgroundFrom:Oc.white,backgroundTo:Oc.white,color:Ic.A800,
1918
+ disabledColor:Ic.A100,activeBackgroundColor:Pc.S25,hoverColor:Pc.S50,
1919
+ borderColor:Oc.white,activeBorderColor:Pc.S25,disabledBorderColor:Oc.white,
1920
+ disabledBackgroundFrom:Oc.white,disabledBackgroundTo:Oc.white}}}},jc={
1921
+ mode:"dark",breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,
1922
+ md:900,lg:1200,xl:1536},unit:"px"},colors:{common:{black:Oc.black,
1923
+ white:Oc.white,accent:Ic.A800},text:{link:Ic.A800,primary:Pc.S100,
1924
+ secondary:Pc.S300,disabled:Pc.S400,placeholder:Pc.S300,error:Ic.P400,
1925
+ inverse:Oc.black,semantic:{success:Ic.J400,warning:Ic.C400,error:Ic.P400,
1926
+ info:Ic.A400}},fill:{base:Pc.S900,medium:Pc.S800,dark:Pc.S100,surface:Oc.black,
1927
+ inverse:Pc.E100,hover:Pc.S700,disabled:Pc.S50,hilight:Ic.A50},semantic:{error:{
1928
+ bg:Ic.P800,border:Ic.P300},warning:{bg:Ic.C800,border:Ic.C300},info:{bg:Ic.A800,
1929
+ border:Ic.A300},success:{bg:Ic.J800,border:Ic.J50}},border:{light:Pc.S800,
1930
+ normal:Pc.S800,divider:Pc.S500,hover:Pc.S500,active:Ic.A500,disabled:Pc.S50,
1931
+ error:Ic.P500},shadow:Pc.E50,scrim:Pc.E50},typography:{fontFamily:Nc,
1932
+ fontWeight:{bold:700,"semi-bold":600,regular:400},primary:{fontSize:"14px",
1933
+ fontWeight:400,lineHeight:1.5},secondary:{fontSize:"12px",fontWeight:400,
1934
+ lineHeight:1.5},heading:{fontSize:"16px",fontWeight:400,lineHeight:1.25},
1935
+ heading1:{fontSize:"44px",fontWeight:400,lineHeight:1.25},heading2:{
1936
+ fontSize:"32px",fontWeight:400,lineHeight:1.25},heading3:{fontSize:"24px",
1937
+ fontWeight:400,lineHeight:1.25},heading4:{fontSize:"18px",fontWeight:400,
1938
+ lineHeight:1.25},caption:{fontSize:"12px",fontWeight:400,lineHeight:1}},
1939
+ shadows:["none",`0px 2px 1px -1px ${Fc(Oc.black,.2)},0px 1px 1px 0px ${Fc(Oc.black,.14)},0px 1px 3px 0px ${Fc(Oc.black,.12)}`,`0px 3px 1px -2px ${Fc(Oc.black,.2)},0px 2px 2px 0px ${Fc(Oc.black,.14)},0px 1px 5px 0px ${Fc(Oc.black,.12)}`,`0px 3px 3px -2px ${Fc(Oc.black,.2)},0px 3px 4px 0px ${Fc(Oc.black,.14)},0px 1px 8px 0px ${Fc(Oc.black,.12)}`],
1940
+ transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",
1941
+ easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.16, 1, 0.3, 1)",
1942
+ sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{short:"250ms",standard:"300ms",
1943
+ complex:"450ms"}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,
1944
+ drawer:1200,modal:1300,snackbar:1400,tooltip:1500},components:{button:{primary:{
1945
+ backgroundFrom:Ic.A400,backgroundTo:Ic.A400,color:Oc.white,disabledColor:Ic.A50,
1946
+ activeBackgroundColor:Ic.A400,hoverColor:Ic.A500,borderColor:Ic.A500,
1947
+ activeBorderColor:Ic.A500,disabledBorderColor:Ic.A50,
1948
+ disabledBackgroundFrom:Ic.A50,disabledBackgroundTo:Ic.A50},secondary:{
1949
+ backgroundFrom:Pc.S500,backgroundTo:Pc.S500,color:Pc.S100,disabledColor:Pc.S800,
1950
+ activeBackgroundColor:Pc.S800,hoverColor:Pc.S800,borderColor:Pc.S800,
1951
+ activeBorderColor:Pc.S800,disabledBorderColor:Pc.S800,
1952
+ disabledBackgroundFrom:Pc.S800,disabledBackgroundTo:Pc.S800},danger:{
1953
+ backgroundFrom:Ic.P800,backgroundTo:Ic.P900,color:Oc.white,
1954
+ disabledColor:Ic.P100,activeBackgroundColor:Ic.P800,hoverColor:Ic.P900,
1955
+ borderColor:Ic.P900,activeBorderColor:Ic.P200,disabledBorderColor:Ic.P300,
1956
+ disabledBackgroundFrom:Ic.P100,disabledBackgroundTo:Ic.P100},link:{
1957
+ backgroundFrom:Oc.white,backgroundTo:Oc.white,color:Ic.A800,
1958
+ disabledColor:Ic.A100,activeBackgroundColor:Pc.S25,hoverColor:Pc.S50,
1959
+ borderColor:Oc.white,activeBorderColor:Pc.S25,disabledBorderColor:Oc.white,
1960
+ disabledBackgroundFrom:Oc.white,disabledBackgroundTo:Oc.white}}}}
1961
+ ;var $c=Object.freeze({__proto__:null,dark:jc,hextoRGB:Fc,light:Bc})
1962
+ ;const Uc=on(Vc)``,Yc=on(Lc)``,Wc=on(Ac)``,Gc=on(Rc)`
1861
1963
  fill: ${({theme:e})=>e.colors.border.light};
1862
- `,Fc=on(kc)`
1964
+ `,Kc=on(kc)`
1863
1965
  padding: 8px;
1864
1966
  z-index: 1000;
1865
- border-radius: 2px 2px 8px 8px;
1967
+ border-radius: 6px;
1866
1968
  border: 1px solid ${({theme:e})=>e.colors.border.light};
1867
1969
  background: ${({theme:e})=>e.colors.fill.surface};
1868
- box-shadow: -15px 20px 40px 0px rgba(0, 0, 0, 0.04);
1970
+ box-shadow:
1971
+ ${({theme:e})=>Fc(e.colors.shadow,.06)} 0px 2px 3px,
1972
+ ${({theme:e})=>Fc(e.colors.shadow,.16)} 0px 4px 20px;
1869
1973
  &[data-side='top'],
1870
1974
  &[data-side='top'] {
1871
1975
  animation-name: ${ua};
@@ -1885,7 +1989,7 @@ const{__scopeDropdownMenu:r,...a}=t,o=_c(r)
1885
1989
  animation-duration: ${({theme:e})=>e.transitions.duration.standard};
1886
1990
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
1887
1991
  will-change: transform, opacity;
1888
- `,Bc=on(Tc)`
1992
+ `,qc=on(Tc)`
1889
1993
  padding: 8px 12px;
1890
1994
  border-radius: 4px;
1891
1995
  display: flex;
@@ -1903,55 +2007,55 @@ const{__scopeDropdownMenu:r,...a}=t,o=_c(r)
1903
2007
  &:hover {
1904
2008
  background: ${({disabled:e,theme:t})=>e?t.colors.fill.disabled:t.colors.fill.hilight};
1905
2009
  }
1906
- `;function jc(t){const n=e.useRef({value:t,previous:t})
2010
+ `;function Zc(t){const n=e.useRef({value:t,previous:t})
1907
2011
  ;return e.useMemo((()=>(n.current.value!==t&&(n.current.previous=n.current.value,
1908
2012
  n.current.value=t),n.current.previous)),[t])}
1909
- const $c="Radio",[Uc,Yc]=dn($c),[Wc,Gc]=Uc($c),Kc=e.forwardRef(((t,n)=>{
2013
+ const Xc="Radio",[Qc,Jc]=dn(Xc),[es,ts]=Qc(Xc),ns=e.forwardRef(((t,n)=>{
1910
2014
  const{__scopeRadio:r,name:a,checked:o=!1,required:i,disabled:l,value:c="on",onCheck:s,...u}=t,[d,h]=e.useState(null),p=fn(n,(e=>h(e))),f=e.useRef(!1),m=!d||Boolean(d.closest("form"))
1911
- ;return e.createElement(Wc,{scope:r,checked:o,disabled:l
2015
+ ;return e.createElement(es,{scope:r,checked:o,disabled:l
1912
2016
  },e.createElement(xn.button,un({type:"button",role:"radio","aria-checked":o,
1913
- "data-state":Xc(o),"data-disabled":l?"":void 0,disabled:l,value:c},u,{ref:p,
2017
+ "data-state":os(o),"data-disabled":l?"":void 0,disabled:l,value:c},u,{ref:p,
1914
2018
  onClick:Cn(t.onClick,(e=>{
1915
2019
  o||null==s||s(),m&&(f.current=e.isPropagationStopped(),
1916
- f.current||e.stopPropagation())}))})),m&&e.createElement(Zc,{control:d,
2020
+ f.current||e.stopPropagation())}))})),m&&e.createElement(as,{control:d,
1917
2021
  bubbles:!f.current,name:a,value:c,checked:o,required:i,disabled:l,style:{
1918
- transform:"translateX(-100%)"}}))})),qc=e.forwardRef(((t,n)=>{
1919
- const{__scopeRadio:r,forceMount:a,...o}=t,i=Gc("RadioIndicator",r)
2022
+ transform:"translateX(-100%)"}}))})),rs=e.forwardRef(((t,n)=>{
2023
+ const{__scopeRadio:r,forceMount:a,...o}=t,i=ts("RadioIndicator",r)
1920
2024
  ;return e.createElement(_n,{present:a||i.checked},e.createElement(xn.span,un({
1921
- "data-state":Xc(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:n})))
1922
- })),Zc=t=>{
1923
- const{control:n,checked:r,bubbles:a=!0,...o}=t,i=e.useRef(null),l=jc(r),c=fi(n)
2025
+ "data-state":os(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:n})))
2026
+ })),as=t=>{
2027
+ const{control:n,checked:r,bubbles:a=!0,...o}=t,i=e.useRef(null),l=Zc(r),c=fi(n)
1924
2028
  ;return e.useEffect((()=>{
1925
2029
  const e=i.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set
1926
2030
  ;if(l!==r&&n){const t=new Event("click",{bubbles:a})
1927
2031
  ;n.call(e,r),e.dispatchEvent(t)}}),[l,r,a]),e.createElement("input",un({
1928
2032
  type:"radio","aria-hidden":!0,defaultChecked:r},o,{tabIndex:-1,ref:i,style:{
1929
2033
  ...t.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))}
1930
- ;function Xc(e){return e?"checked":"unchecked"}
1931
- const Qc=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Jc="RadioGroup",[es,ts]=dn(Jc,[$i,Yc]),ns=$i(),rs=Yc(),[as,os]=es(Jc),is=e.forwardRef(((t,n)=>{
1932
- const{__scopeRadioGroup:r,name:a,defaultValue:o,value:i,required:l=!1,disabled:c=!1,orientation:s,dir:u,loop:d=!0,onValueChange:h,...p}=t,f=ns(r),m=Gn(u),[v,g]=Mn({
1933
- prop:i,defaultProp:o,onChange:h});return e.createElement(as,{scope:r,name:a,
2034
+ ;function os(e){return e?"checked":"unchecked"}
2035
+ const is=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],ls="RadioGroup",[cs,ss]=dn(ls,[$i,Jc]),us=$i(),ds=Jc(),[hs,ps]=cs(ls),fs=e.forwardRef(((t,n)=>{
2036
+ const{__scopeRadioGroup:r,name:a,defaultValue:o,value:i,required:l=!1,disabled:c=!1,orientation:s,dir:u,loop:d=!0,onValueChange:h,...p}=t,f=us(r),m=Gn(u),[v,g]=Mn({
2037
+ prop:i,defaultProp:o,onChange:h});return e.createElement(hs,{scope:r,name:a,
1934
2038
  required:l,disabled:c,value:v,onValueChange:g},e.createElement(Xi,un({asChild:!0
1935
2039
  },f,{orientation:s,dir:m,loop:d}),e.createElement(xn.div,un({role:"radiogroup",
1936
2040
  "aria-required":l,"aria-orientation":s,"data-disabled":c?"":void 0,dir:m},p,{
1937
- ref:n}))))})),ls=is,cs=e.forwardRef(((t,n)=>{
1938
- const{__scopeRadioGroup:r,disabled:a,...o}=t,i=os("RadioGroupItem",r),l=i.disabled||a,c=ns(r),s=rs(r),u=e.useRef(null),d=fn(n,u),h=i.value===o.value,p=e.useRef(!1)
1939
- ;return e.useEffect((()=>{const e=e=>{Qc.includes(e.key)&&(p.current=!0)
2041
+ ref:n}))))})),ms=fs,vs=e.forwardRef(((t,n)=>{
2042
+ const{__scopeRadioGroup:r,disabled:a,...o}=t,i=ps("RadioGroupItem",r),l=i.disabled||a,c=us(r),s=ds(r),u=e.useRef(null),d=fn(n,u),h=i.value===o.value,p=e.useRef(!1)
2043
+ ;return e.useEffect((()=>{const e=e=>{is.includes(e.key)&&(p.current=!0)
1940
2044
  },t=()=>p.current=!1
1941
2045
  ;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),
1942
2046
  ()=>{
1943
2047
  document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)
1944
2048
  }}),[]),e.createElement(Qi,un({asChild:!0},c,{focusable:!l,active:h
1945
- }),e.createElement(Kc,un({disabled:l,required:i.required,checked:h},s,o,{
2049
+ }),e.createElement(ns,un({disabled:l,required:i.required,checked:h},s,o,{
1946
2050
  name:i.name,ref:d,onCheck:()=>i.onValueChange(o.value),onKeyDown:Cn((e=>{
1947
2051
  "Enter"===e.key&&e.preventDefault()})),onFocus:Cn(o.onFocus,(()=>{var e
1948
2052
  ;p.current&&(null===(e=u.current)||void 0===e||e.click())}))})))
1949
- })),ss=e.forwardRef(((t,n)=>{const{__scopeRadioGroup:r,...a}=t,o=rs(r)
1950
- ;return e.createElement(qc,un({},o,a,{ref:n}))})),us=on.div``,ds=on(ls)`
2053
+ })),gs=e.forwardRef(((t,n)=>{const{__scopeRadioGroup:r,...a}=t,o=ds(r)
2054
+ ;return e.createElement(rs,un({},o,a,{ref:n}))})),ys=on.div``,bs=on(ms)`
1951
2055
  display: flex;
1952
2056
  gap: 8px;
1953
2057
  width: 100%;
1954
- `,hs=on.div`
2058
+ `,ws=on.div`
1955
2059
  width: 14px;
1956
2060
  height: 14px;
1957
2061
  border-radius: 50%;
@@ -1962,13 +2066,13 @@ name:i.name,ref:d,onCheck:()=>i.onValueChange(o.value),onKeyDown:Cn((e=>{
1962
2066
  display: grid;
1963
2067
  place-content: center;
1964
2068
  background-color: ${({theme:e})=>e.colors.common.accent};
1965
- `,ps=on(ss)`
2069
+ `,Cs=on(gs)`
1966
2070
  display: block;
1967
2071
  width: 6px;
1968
2072
  height: 6px;
1969
2073
  border-radius: 50%;
1970
2074
  background-color: ${({theme:e})=>e.colors.common.white};
1971
- `,fs=on(cs)`
2075
+ `,zs=on(vs)`
1972
2076
  padding: 0;
1973
2077
  margin: 0;
1974
2078
  outline: none;
@@ -1995,7 +2099,7 @@ name:i.name,ref:d,onCheck:()=>i.onValueChange(o.value),onKeyDown:Cn((e=>{
1995
2099
  box-shadow: 0 0 0 3px ${({theme:e})=>e.colors.border.hover}30;
1996
2100
  }
1997
2101
  }
1998
- `,ms=on.div`
2102
+ `,Ms=on.div`
1999
2103
  display: flex;
2000
2104
  border-radius: 4px;
2001
2105
  flex: 1;
@@ -2023,21 +2127,21 @@ name:i.name,ref:d,onCheck:()=>i.onValueChange(o.value),onKeyDown:Cn((e=>{
2023
2127
  0px 0px 0px 1px;
2024
2128
  border-color: ${({theme:e,$isErrored:t})=>t?e.colors.border.error:e.colors.border.active};
2025
2129
  }
2026
- `,vs=on.span`
2130
+ `,xs=on.span`
2027
2131
  color: ${({theme:e})=>e.colors.text.primary};
2028
2132
  font-weight: ${({theme:e})=>e.typography.fontWeight["semi-bold"]};
2029
2133
  line-height: ${({theme:e})=>e.typography.primary.lineHeight};
2030
2134
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
2031
2135
  white-space: nowrap;
2032
2136
  overflow: hidden;
2033
- `,gs=on.span`
2137
+ `,Es=on.span`
2034
2138
  color: ${({theme:e})=>e.colors.text.secondary};
2035
2139
  font-weight: ${({theme:e})=>e.typography.fontWeight.regular};
2036
2140
  line-height: ${({theme:e})=>e.typography.secondary.lineHeight};
2037
2141
  font-size: ${({theme:e})=>e.typography.secondary.fontSize};
2038
2142
  white-space: normal;
2039
2143
  margin: 4px 0;
2040
- `,ys=on.label`
2144
+ `,Ss=on.label`
2041
2145
  padding: 12px 12px 12px 6px;
2042
2146
  flex: 1;
2043
2147
  display: flex;
@@ -2049,43 +2153,43 @@ name:i.name,ref:d,onCheck:()=>i.onValueChange(o.value),onKeyDown:Cn((e=>{
2049
2153
  color: ${({theme:e})=>e.colors.text.secondary};
2050
2154
  white-space: nowrap;
2051
2155
  overflow: hidden;
2052
- `,bs=on.span`
2156
+ `,_s=on.span`
2053
2157
  color: ${({theme:e})=>e.colors.text.error};
2054
2158
  font-family: ${({theme:e})=>e.typography.fontFamily};
2055
2159
  font-size: 12px;
2056
2160
  font-weight: 400;
2057
2161
  line-height: 20px;
2058
- `,ws=t=>e.createElement(bs,{"aria-live":"polite",role:"status",...t,
2162
+ `,Hs=t=>e.createElement(_s,{"aria-live":"polite",role:"status",...t,
2059
2163
  className:`input-helper ${t.className??""}`.trim()
2060
- },t.children),Cs="Checkbox",[zs,Ms]=dn(Cs),[xs,Es]=zs(Cs),Ss=e.forwardRef(((t,n)=>{
2164
+ },t.children),Ds="Checkbox",[Vs,Ls]=dn(Ds),[As,ks]=Vs(Ds),Ts=e.forwardRef(((t,n)=>{
2061
2165
  const{__scopeCheckbox:r,name:a,checked:o,defaultChecked:i,required:l,disabled:c,value:s="on",onCheckedChange:u,...d}=t,[h,p]=e.useState(null),f=fn(n,(e=>p(e))),m=e.useRef(!1),v=!h||Boolean(h.closest("form")),[g=!1,y]=Mn({
2062
2166
  prop:o,defaultProp:i,onChange:u}),b=e.useRef(g);return e.useEffect((()=>{
2063
2167
  const e=null==h?void 0:h.form;if(e){const t=()=>y(b.current)
2064
2168
  ;return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}
2065
- }),[h,y]),e.createElement(xs,{scope:r,state:g,disabled:c
2169
+ }),[h,y]),e.createElement(As,{scope:r,state:g,disabled:c
2066
2170
  },e.createElement(xn.button,un({type:"button",role:"checkbox",
2067
- "aria-checked":Hs(g)?"mixed":g,"aria-required":l,"data-state":Ds(g),
2171
+ "aria-checked":Ps(g)?"mixed":g,"aria-required":l,"data-state":Is(g),
2068
2172
  "data-disabled":c?"":void 0,disabled:c,value:s},d,{ref:f,
2069
2173
  onKeyDown:Cn(t.onKeyDown,(e=>{"Enter"===e.key&&e.preventDefault()})),
2070
2174
  onClick:Cn(t.onClick,(e=>{
2071
- y((e=>!!Hs(e)||!e)),v&&(m.current=e.isPropagationStopped(),
2072
- m.current||e.stopPropagation())}))})),v&&e.createElement(_s,{control:h,
2175
+ y((e=>!!Ps(e)||!e)),v&&(m.current=e.isPropagationStopped(),
2176
+ m.current||e.stopPropagation())}))})),v&&e.createElement(Rs,{control:h,
2073
2177
  bubbles:!m.current,name:a,value:s,checked:g,required:l,disabled:c,style:{
2074
- transform:"translateX(-100%)"}}))})),_s=t=>{
2075
- const{control:n,checked:r,bubbles:a=!0,...o}=t,i=e.useRef(null),l=jc(r),c=fi(n)
2178
+ transform:"translateX(-100%)"}}))})),Rs=t=>{
2179
+ const{control:n,checked:r,bubbles:a=!0,...o}=t,i=e.useRef(null),l=Zc(r),c=fi(n)
2076
2180
  ;return e.useEffect((()=>{
2077
2181
  const e=i.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set
2078
2182
  ;if(l!==r&&n){const t=new Event("click",{bubbles:a})
2079
- ;e.indeterminate=Hs(r),n.call(e,!Hs(r)&&r),e.dispatchEvent(t)}
2183
+ ;e.indeterminate=Ps(r),n.call(e,!Ps(r)&&r),e.dispatchEvent(t)}
2080
2184
  }),[l,r,a]),e.createElement("input",un({type:"checkbox","aria-hidden":!0,
2081
- defaultChecked:!Hs(r)&&r},o,{tabIndex:-1,ref:i,style:{...t.style,...c,
2082
- position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Hs(e){
2083
- return"indeterminate"===e}function Ds(e){
2084
- return Hs(e)?"indeterminate":e?"checked":"unchecked"}
2085
- const Vs=Ss,Ls=on(e.forwardRef(((t,n)=>{
2086
- const{__scopeCheckbox:r,forceMount:a,...o}=t,i=Es("CheckboxIndicator",r)
2087
- ;return e.createElement(_n,{present:a||Hs(i.state)||!0===i.state
2088
- },e.createElement(xn.span,un({"data-state":Ds(i.state),
2185
+ defaultChecked:!Ps(r)&&r},o,{tabIndex:-1,ref:i,style:{...t.style,...c,
2186
+ position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Ps(e){
2187
+ return"indeterminate"===e}function Is(e){
2188
+ return Ps(e)?"indeterminate":e?"checked":"unchecked"}
2189
+ const Os=Ts,Ns=on(e.forwardRef(((t,n)=>{
2190
+ const{__scopeCheckbox:r,forceMount:a,...o}=t,i=ks("CheckboxIndicator",r)
2191
+ ;return e.createElement(_n,{present:a||Ps(i.state)||!0===i.state
2192
+ },e.createElement(xn.span,un({"data-state":Is(i.state),
2089
2193
  "data-disabled":i.disabled?"":void 0},o,{ref:n,style:{pointerEvents:"none",
2090
2194
  ...t.style}})))})))`
2091
2195
  display: grid;
@@ -2100,10 +2204,10 @@ const{__scopeCheckbox:r,forceMount:a,...o}=t,i=Es("CheckboxIndicator",r)
2100
2204
  display: none;
2101
2205
  }
2102
2206
  }
2103
- `,As=on.div`
2207
+ `,Fs=on.div`
2104
2208
  display: flex;
2105
2209
  align-items: center;
2106
- `,ks=on(Vs)`
2210
+ `,Bs=on(Os)`
2107
2211
  margin: 0;
2108
2212
  padding: 0;
2109
2213
  width: 14px;
@@ -2132,41 +2236,41 @@ const{__scopeCheckbox:r,forceMount:a,...o}=t,i=Es("CheckboxIndicator",r)
2132
2236
  box-shadow: 0 0 0 3px ${({theme:e})=>e.colors.border.hover}30;
2133
2237
  }
2134
2238
  }
2135
- `,Ts=({isRequired:t,isErrored:n,className:r,readOnly:a,label:o,...i})=>{
2136
- const l=qt();return e.createElement(As,null,e.createElement(ks,{
2239
+ `,js=({isRequired:t,isErrored:n,className:r,readOnly:a,label:o,...i})=>{
2240
+ const l=qt();return e.createElement(Fs,null,e.createElement(Bs,{
2137
2241
  className:`CheckboxRoot ${r??""}`.trim(),required:t,"aria-invalid":n,
2138
2242
  "aria-label":o||"Checkbox","aria-required":t,"aria-readonly":a,
2139
- "aria-disabled":i.disabled,...i},e.createElement(Ls,{
2243
+ "aria-disabled":i.disabled,...i},e.createElement(Ns,{
2140
2244
  className:"CheckboxIndicator"},"indeterminate"===i.checked?e.createElement(Dr,{
2141
2245
  className:"toggle-indeterminate",width:8,height:6,fill:l.colors.common.accent
2142
2246
  }):e.createElement(xr,{className:"toggle-on",width:8,height:6,
2143
2247
  fill:l.colors.common.accent}))),o&&e.createElement(Br,{
2144
2248
  className:"CheckboxLabel",htmlFor:i.id},o,o&&t&&e.createElement(jr,null,"*")))
2145
- },Rs="Dialog",[Ps,Is]=dn(Rs),[Os,Ns]=Ps(Rs),Fs="DialogPortal",[Bs,js]=Ps(Fs,{
2146
- forceMount:void 0}),$s="DialogOverlay",Us=e.forwardRef(((t,n)=>{
2147
- const r=js($s,t.__scopeDialog),{forceMount:a=r.forceMount,...o}=t,i=Ns($s,t.__scopeDialog)
2249
+ },$s="Dialog",[Us,Ys]=dn($s),[Ws,Gs]=Us($s),Ks="DialogPortal",[qs,Zs]=Us(Ks,{
2250
+ forceMount:void 0}),Xs="DialogOverlay",Qs=e.forwardRef(((t,n)=>{
2251
+ const r=Zs(Xs,t.__scopeDialog),{forceMount:a=r.forceMount,...o}=t,i=Gs(Xs,t.__scopeDialog)
2148
2252
  ;return i.modal?e.createElement(_n,{present:a||i.open
2149
- },e.createElement(Ys,un({},o,{ref:n}))):null})),Ys=e.forwardRef(((t,n)=>{
2150
- const{__scopeDialog:r,...a}=t,o=Ns($s,r);return e.createElement(Nl,{as:mn,
2253
+ },e.createElement(Js,un({},o,{ref:n}))):null})),Js=e.forwardRef(((t,n)=>{
2254
+ const{__scopeDialog:r,...a}=t,o=Gs(Xs,r);return e.createElement(Nl,{as:mn,
2151
2255
  allowPinchZoom:!0,shards:[o.contentRef]},e.createElement(xn.div,un({
2152
- "data-state":ru(o.open)},a,{ref:n,style:{pointerEvents:"auto",...a.style}})))
2153
- })),Ws="DialogContent",Gs=e.forwardRef(((t,n)=>{
2154
- const r=js(Ws,t.__scopeDialog),{forceMount:a=r.forceMount,...o}=t,i=Ns(Ws,t.__scopeDialog)
2256
+ "data-state":du(o.open)},a,{ref:n,style:{pointerEvents:"auto",...a.style}})))
2257
+ })),eu="DialogContent",tu=e.forwardRef(((t,n)=>{
2258
+ const r=Zs(eu,t.__scopeDialog),{forceMount:a=r.forceMount,...o}=t,i=Gs(eu,t.__scopeDialog)
2155
2259
  ;return e.createElement(_n,{present:a||i.open
2156
- },i.modal?e.createElement(Ks,un({},o,{ref:n})):e.createElement(qs,un({},o,{ref:n
2157
- })))})),Ks=e.forwardRef(((t,n)=>{
2158
- const r=Ns(Ws,t.__scopeDialog),a=e.useRef(null),o=fn(n,r.contentRef,a)
2260
+ },i.modal?e.createElement(nu,un({},o,{ref:n})):e.createElement(ru,un({},o,{ref:n
2261
+ })))})),nu=e.forwardRef(((t,n)=>{
2262
+ const r=Gs(eu,t.__scopeDialog),a=e.useRef(null),o=fn(n,r.contentRef,a)
2159
2263
  ;return e.useEffect((()=>{const e=a.current;if(e)return ol(e)
2160
- }),[]),e.createElement(Zs,un({},t,{ref:o,trapFocus:r.open,
2264
+ }),[]),e.createElement(au,un({},t,{ref:o,trapFocus:r.open,
2161
2265
  disableOutsidePointerEvents:!0,onCloseAutoFocus:Cn(t.onCloseAutoFocus,(e=>{var t
2162
2266
  ;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()})),
2163
2267
  onPointerDownOutside:Cn(t.onPointerDownOutside,(e=>{
2164
2268
  const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey
2165
2269
  ;(2===t.button||n)&&e.preventDefault()})),
2166
2270
  onFocusOutside:Cn(t.onFocusOutside,(e=>e.preventDefault()))}))
2167
- })),qs=e.forwardRef(((t,n)=>{
2168
- const r=Ns(Ws,t.__scopeDialog),a=e.useRef(!1),o=e.useRef(!1)
2169
- ;return e.createElement(Zs,un({},t,{ref:n,trapFocus:!1,
2271
+ })),ru=e.forwardRef(((t,n)=>{
2272
+ const r=Gs(eu,t.__scopeDialog),a=e.useRef(!1),o=e.useRef(!1)
2273
+ ;return e.createElement(au,un({},t,{ref:n,trapFocus:!1,
2170
2274
  disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{var n,i
2171
2275
  ;(null===(n=t.onCloseAutoFocus)||void 0===n||n.call(t,e),
2172
2276
  e.defaultPrevented)||(a.current||null===(i=r.triggerRef.current)||void 0===i||i.focus(),
@@ -2176,58 +2280,58 @@ e.defaultPrevented||(a.current=!0,
2176
2280
  "pointerdown"===e.detail.originalEvent.type&&(o.current=!0));const l=e.target
2177
2281
  ;(null===(i=r.triggerRef.current)||void 0===i?void 0:i.contains(l))&&e.preventDefault(),
2178
2282
  "focusin"===e.detail.originalEvent.type&&o.current&&e.preventDefault()}}))
2179
- })),Zs=e.forwardRef(((t,n)=>{
2180
- const{__scopeDialog:r,trapFocus:a,onOpenAutoFocus:o,onCloseAutoFocus:i,...l}=t,c=Ns(Ws,r),s=fn(n,e.useRef(null))
2283
+ })),au=e.forwardRef(((t,n)=>{
2284
+ const{__scopeDialog:r,trapFocus:a,onOpenAutoFocus:o,onCloseAutoFocus:i,...l}=t,c=Gs(eu,r),s=fn(n,e.useRef(null))
2181
2285
  ;return Ia(),e.createElement(e.Fragment,null,e.createElement(ja,{asChild:!0,
2182
2286
  loop:!0,trapped:a,onMountAutoFocus:o,onUnmountAutoFocus:i
2183
2287
  },e.createElement(Va,un({role:"dialog",id:c.contentId,
2184
2288
  "aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,
2185
- "data-state":ru(c.open)},l,{ref:s,onDismiss:()=>c.onOpenChange(!1)}))),!1)
2186
- })),Xs="DialogTitle",Qs=e.forwardRef(((t,n)=>{
2187
- const{__scopeDialog:r,...a}=t,o=Ns(Xs,r);return e.createElement(xn.h2,un({
2188
- id:o.titleId},a,{ref:n}))})),Js="DialogDescription",eu=e.forwardRef(((t,n)=>{
2189
- const{__scopeDialog:r,...a}=t,o=Ns(Js,r);return e.createElement(xn.p,un({
2190
- id:o.descriptionId},a,{ref:n}))})),tu="DialogClose",nu=e.forwardRef(((t,n)=>{
2191
- const{__scopeDialog:r,...a}=t,o=Ns(tu,r);return e.createElement(xn.button,un({
2289
+ "data-state":du(c.open)},l,{ref:s,onDismiss:()=>c.onOpenChange(!1)}))),!1)
2290
+ })),ou="DialogTitle",iu=e.forwardRef(((t,n)=>{
2291
+ const{__scopeDialog:r,...a}=t,o=Gs(ou,r);return e.createElement(xn.h2,un({
2292
+ id:o.titleId},a,{ref:n}))})),lu="DialogDescription",cu=e.forwardRef(((t,n)=>{
2293
+ const{__scopeDialog:r,...a}=t,o=Gs(lu,r);return e.createElement(xn.p,un({
2294
+ id:o.descriptionId},a,{ref:n}))})),su="DialogClose",uu=e.forwardRef(((t,n)=>{
2295
+ const{__scopeDialog:r,...a}=t,o=Gs(su,r);return e.createElement(xn.button,un({
2192
2296
  type:"button"},a,{ref:n,onClick:Cn(t.onClick,(()=>o.onOpenChange(!1)))}))}))
2193
- ;function ru(e){return e?"open":"closed"}const[au,ou]=function(t,n){
2297
+ ;function du(e){return e?"open":"closed"}const[hu,pu]=function(t,n){
2194
2298
  const r=e.createContext(n);function a(t){
2195
2299
  const{children:n,...a}=t,o=e.useMemo((()=>a),Object.values(a))
2196
2300
  ;return e.createElement(r.Provider,{value:o},n)}
2197
2301
  return a.displayName=t+"Provider",[a,function(a){const o=e.useContext(r)
2198
2302
  ;if(o)return o;if(void 0!==n)return n
2199
2303
  ;throw new Error(`\`${a}\` must be used within \`${t}\``)}]
2200
- }("DialogTitleWarning",{contentName:Ws,titleName:Xs,docsSlug:"dialog"}),iu=t=>{
2304
+ }("DialogTitleWarning",{contentName:eu,titleName:ou,docsSlug:"dialog"}),fu=t=>{
2201
2305
  const{__scopeDialog:n,children:r,open:a,defaultOpen:o,onOpenChange:i,modal:l=!0}=t,c=e.useRef(null),s=e.useRef(null),[u=!1,d]=Mn({
2202
- prop:a,defaultProp:o,onChange:i});return e.createElement(Os,{scope:n,
2306
+ prop:a,defaultProp:o,onChange:i});return e.createElement(Ws,{scope:n,
2203
2307
  triggerRef:c,contentRef:s,contentId:Ln(),titleId:Ln(),descriptionId:Ln(),open:u,
2204
2308
  onOpenChange:d,onOpenToggle:e.useCallback((()=>d((e=>!e))),[d]),modal:l},r)
2205
- },lu=t=>{const{__scopeDialog:n,forceMount:r,children:a,container:o}=t,i=Ns(Fs,n)
2206
- ;return e.createElement(Bs,{scope:n,forceMount:r
2309
+ },mu=t=>{const{__scopeDialog:n,forceMount:r,children:a,container:o}=t,i=Gs(Ks,n)
2310
+ ;return e.createElement(qs,{scope:n,forceMount:r
2207
2311
  },e.Children.map(a,(t=>e.createElement(_n,{present:r||i.open
2208
2312
  },e.createElement(Ri,{asChild:!0,container:o},t)))))
2209
- },cu=Us,su=Gs,uu=Qs,du=eu,hu=nu,[pu,fu]=dn("AlertDialog",[Is]),mu=Is(),vu=e.forwardRef(((t,n)=>{
2210
- const{__scopeAlertDialog:r,...a}=t,o=mu(r);return e.createElement(cu,un({},o,a,{
2211
- ref:n}))})),gu="AlertDialogContent",[yu,bu]=pu(gu),wu=e.forwardRef(((t,n)=>{
2212
- const{__scopeAlertDialog:r,children:a,...o}=t,i=mu(r),l=fn(n,e.useRef(null)),c=e.useRef(null)
2213
- ;return e.createElement(au,{contentName:gu,titleName:Cu,docsSlug:"alert-dialog"
2214
- },e.createElement(yu,{scope:r,cancelRef:c},e.createElement(su,un({
2313
+ },vu=Qs,gu=tu,yu=iu,bu=cu,wu=uu,[Cu,zu]=dn("AlertDialog",[Ys]),Mu=Ys(),xu=e.forwardRef(((t,n)=>{
2314
+ const{__scopeAlertDialog:r,...a}=t,o=Mu(r);return e.createElement(vu,un({},o,a,{
2315
+ ref:n}))})),Eu="AlertDialogContent",[Su,_u]=Cu(Eu),Hu=e.forwardRef(((t,n)=>{
2316
+ const{__scopeAlertDialog:r,children:a,...o}=t,i=Mu(r),l=fn(n,e.useRef(null)),c=e.useRef(null)
2317
+ ;return e.createElement(hu,{contentName:Eu,titleName:Du,docsSlug:"alert-dialog"
2318
+ },e.createElement(Su,{scope:r,cancelRef:c},e.createElement(gu,un({
2215
2319
  role:"alertdialog"},i,o,{ref:l,onOpenAutoFocus:Cn(o.onOpenAutoFocus,(e=>{var t
2216
2320
  ;e.preventDefault(),null===(t=c.current)||void 0===t||t.focus({preventScroll:!0
2217
2321
  })})),onPointerDownOutside:e=>e.preventDefault(),
2218
2322
  onInteractOutside:e=>e.preventDefault()}),e.createElement(gn,null,a),!1)))
2219
- })),Cu="AlertDialogTitle",zu=e.forwardRef(((t,n)=>{
2220
- const{__scopeAlertDialog:r,...a}=t,o=mu(r);return e.createElement(uu,un({},o,a,{
2221
- ref:n}))})),Mu=e.forwardRef(((t,n)=>{const{__scopeAlertDialog:r,...a}=t,o=mu(r)
2222
- ;return e.createElement(du,un({},o,a,{ref:n}))})),xu=t=>{
2223
- const{__scopeAlertDialog:n,...r}=t,a=mu(n);return e.createElement(lu,un({},a,r))
2224
- },Eu=vu,Su=wu,_u=e.forwardRef(((t,n)=>{
2225
- const{__scopeAlertDialog:r,...a}=t,o=mu(r);return e.createElement(hu,un({},o,a,{
2226
- ref:n}))})),Hu=e.forwardRef(((t,n)=>{
2227
- const{__scopeAlertDialog:r,...a}=t,{cancelRef:o}=bu("AlertDialogCancel",r),i=mu(r),l=fn(n,o)
2228
- ;return e.createElement(hu,un({},i,a,{ref:l}))})),Du=zu,Vu=Mu,Lu=on((t=>{
2229
- const{__scopeAlertDialog:n,...r}=t,a=mu(n);return e.createElement(iu,un({},a,r,{
2230
- modal:!0}))}))``,Au=on(xu)``,ku=on(Hu)``,Tu=on(_u)``,Ru=on(Eu)`
2323
+ })),Du="AlertDialogTitle",Vu=e.forwardRef(((t,n)=>{
2324
+ const{__scopeAlertDialog:r,...a}=t,o=Mu(r);return e.createElement(yu,un({},o,a,{
2325
+ ref:n}))})),Lu=e.forwardRef(((t,n)=>{const{__scopeAlertDialog:r,...a}=t,o=Mu(r)
2326
+ ;return e.createElement(bu,un({},o,a,{ref:n}))})),Au=t=>{
2327
+ const{__scopeAlertDialog:n,...r}=t,a=Mu(n);return e.createElement(mu,un({},a,r))
2328
+ },ku=xu,Tu=Hu,Ru=e.forwardRef(((t,n)=>{
2329
+ const{__scopeAlertDialog:r,...a}=t,o=Mu(r);return e.createElement(wu,un({},o,a,{
2330
+ ref:n}))})),Pu=e.forwardRef(((t,n)=>{
2331
+ const{__scopeAlertDialog:r,...a}=t,{cancelRef:o}=_u("AlertDialogCancel",r),i=Mu(r),l=fn(n,o)
2332
+ ;return e.createElement(wu,un({},i,a,{ref:l}))})),Iu=Vu,Ou=Lu,Nu=on((t=>{
2333
+ const{__scopeAlertDialog:n,...r}=t,a=Mu(n);return e.createElement(fu,un({},a,r,{
2334
+ modal:!0}))}))``,Fu=on(Au)``,Bu=on(Pu)``,ju=on(Ru)``,$u=on(ku)`
2231
2335
  background-color: ${({theme:e})=>e.colors.common.black}40;
2232
2336
  position: fixed;
2233
2337
  inset: 0;
@@ -2240,7 +2344,7 @@ modal:!0}))}))``,Au=on(xu)``,ku=on(Hu)``,Tu=on(_u)``,Ru=on(Eu)`
2240
2344
  &[data-state='closed'] {
2241
2345
  animation-name: ${Qr};
2242
2346
  }
2243
- `,Pu=on(Su)`
2347
+ `,Uu=on(Tu)`
2244
2348
  background: white;
2245
2349
  box-shadow: 0 2px 18px 0 rgba(18, 52, 77, 0.2);
2246
2350
  outline: none;
@@ -2265,7 +2369,7 @@ modal:!0}))}))``,Au=on(xu)``,ku=on(Hu)``,Tu=on(_u)``,Ru=on(Eu)`
2265
2369
  &[data-state='closed'] {
2266
2370
  animation-name: ${na};
2267
2371
  }
2268
- `,Iu=on(Du)`
2372
+ `,Yu=on(Iu)`
2269
2373
  color: ${({theme:e})=>e.colors.text.primary};
2270
2374
  font-family: ${({theme:e})=>e.typography.fontFamily};
2271
2375
  font-size: ${({theme:e})=>e.typography.heading4.fontSize};
@@ -2274,7 +2378,7 @@ modal:!0}))}))``,Au=on(xu)``,ku=on(Hu)``,Tu=on(_u)``,Ru=on(Eu)`
2274
2378
  margin: 0;
2275
2379
  padding: 32px 32px
2276
2380
  ${({$hasdescription:e})=>e?"0px":"16px"} 32px;
2277
- `,Ou=on(Vu)`
2381
+ `,Wu=on(Ou)`
2278
2382
  font-family: ${({theme:e})=>e.typography.fontFamily};
2279
2383
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
2280
2384
  font-weight: ${({theme:e})=>e.typography.fontWeight.regular};
@@ -2282,7 +2386,7 @@ modal:!0}))}))``,Au=on(xu)``,ku=on(Hu)``,Tu=on(_u)``,Ru=on(Eu)`
2282
2386
  letter-spacing: 0px;
2283
2387
  text-align: left;
2284
2388
  padding: 0 32px 0px 32px;
2285
- `,Nu=on.div`
2389
+ `,Gu=on.div`
2286
2390
  border-top: 1px solid ${({theme:e})=>e.colors.border.light};
2287
2391
  border-bottom-right-radius: 8px;
2288
2392
  border-bottom-left-radius: 8px;
@@ -2291,9 +2395,9 @@ modal:!0}))}))``,Au=on(xu)``,ku=on(Hu)``,Tu=on(_u)``,Ru=on(Eu)`
2291
2395
  padding: 16px;
2292
2396
  gap: 12px;
2293
2397
  justify-content: flex-end;
2294
- `,Fu={right:{x:"0",right:"0",top:"0"},left:{x:"0",left:"0",top:"0"}},Bu={
2398
+ `,Ku={right:{x:"0",right:"0",top:"0"},left:{x:"0",left:"0",top:"0"}},qu={
2295
2399
  small:"424px",default:"600px",medium:"720px",large:"800px","x-large":"1200px"
2296
- },ju=cn`
2400
+ },Zu=cn`
2297
2401
  from {
2298
2402
  opacity: 1;
2299
2403
  transform: translate(0px, 0px);
@@ -2302,7 +2406,7 @@ small:"424px",default:"600px",medium:"720px",large:"800px","x-large":"1200px"
2302
2406
  opacity: 0;
2303
2407
  transform: translate(100%, 0px);
2304
2408
  }
2305
- `,$u=cn`
2409
+ `,Xu=cn`
2306
2410
  from {
2307
2411
  opacity: 0;
2308
2412
  transform: translate(100%, 0px);
@@ -2311,7 +2415,7 @@ small:"424px",default:"600px",medium:"720px",large:"800px","x-large":"1200px"
2311
2415
  opacity: 1;
2312
2416
  transform: translate(0px, 0px);
2313
2417
  }
2314
- `,Uu=on(cu)`
2418
+ `,Qu=on(vu)`
2315
2419
  background-color: ${({theme:e})=>e.colors.common.black}40;
2316
2420
  position: fixed;
2317
2421
  inset: 0;
@@ -2324,11 +2428,11 @@ small:"424px",default:"600px",medium:"720px",large:"800px","x-large":"1200px"
2324
2428
  &[data-state='closed'] {
2325
2429
  animation-name: ${Qr};
2326
2430
  }
2327
- `,Yu=on(su)`
2431
+ `,Ju=on(gu)`
2328
2432
  background-color: ${({theme:e})=>e.colors.fill.surface};
2329
2433
  box-shadow: 0 2px 18px 0 rgba(18, 52, 77, 0.2);
2330
2434
  outline: none;
2331
- max-width: ${({size:e})=>Bu[e]};
2435
+ max-width: ${({size:e})=>qu[e]};
2332
2436
  height: ${({isFullHeight:e})=>e?"100vh":"unset"};
2333
2437
  position: fixed;
2334
2438
  right: 0;
@@ -2336,19 +2440,19 @@ small:"424px",default:"600px",medium:"720px",large:"800px","x-large":"1200px"
2336
2440
  z-index: 120;
2337
2441
  display: flex;
2338
2442
  flex-direction: column;
2339
- top: ${({placement:e})=>Fu[e].top};
2340
- bottom: ${({placement:e})=>Fu[e].bottom};
2341
- left: ${({placement:e})=>Fu[e].left};
2342
- right: ${({placement:e})=>Fu[e].right};
2443
+ top: ${({placement:e})=>Ku[e].top};
2444
+ bottom: ${({placement:e})=>Ku[e].bottom};
2445
+ left: ${({placement:e})=>Ku[e].left};
2446
+ right: ${({placement:e})=>Ku[e].right};
2343
2447
  animation-duration: ${({theme:e})=>e.transitions.duration.standard};
2344
2448
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
2345
2449
  &[data-state='open'] {
2346
- animation-name: ${$u};
2450
+ animation-name: ${Xu};
2347
2451
  }
2348
2452
  &[data-state='closed'] {
2349
- animation-name: ${ju};
2453
+ animation-name: ${Zu};
2350
2454
  }
2351
- `,Wu=on.button`
2455
+ `,ed=on.button`
2352
2456
  display: grid;
2353
2457
  place-content: center;
2354
2458
  position: absolute;
@@ -2361,21 +2465,21 @@ small:"424px",default:"600px",medium:"720px",large:"800px","x-large":"1200px"
2361
2465
  left: -24px;
2362
2466
  top: 0px;
2363
2467
  cursor: pointer;
2364
- `,Gu=on(hu)``,Ku=on(iu)``,qu=on(lu)``;function Zu(e,[t,n]){
2468
+ `,td=on(wu)``,nd=on(fu)``,rd=on(mu)``;function ad(e,[t,n]){
2365
2469
  return Math.min(n,Math.max(t,e))}
2366
- const Xu=e.forwardRef(((t,n)=>e.createElement(xn.span,un({},t,{ref:n,style:{
2470
+ const od=e.forwardRef(((t,n)=>e.createElement(xn.span,un({},t,{ref:n,style:{
2367
2471
  position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,
2368
2472
  overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",
2369
2473
  ...t.style}
2370
- })))),Qu=Xu,Ju=[" ","Enter","ArrowUp","ArrowDown"],ed=[" ","Enter"],td="Select",[nd,rd,ad]=wn(td),[od,id]=dn(td,[ad,gi]),ld=gi(),[cd,sd]=od(td),[ud,dd]=od(td),hd=e.forwardRef(((t,n)=>{
2371
- const{__scopeSelect:r,disabled:a=!1,...o}=t,i=ld(r),l=sd("SelectTrigger",r),c=l.disabled||a,s=fn(n,l.onTriggerChange),u=rd(r),[d,h,p]=Yd((e=>{
2372
- const t=u().filter((e=>!e.disabled)),n=t.find((e=>e.value===l.value)),r=Wd(t,e,n)
2474
+ })))),id=od,ld=[" ","Enter","ArrowUp","ArrowDown"],cd=[" ","Enter"],sd="Select",[ud,dd,hd]=wn(sd),[pd,fd]=dn(sd,[hd,gi]),md=gi(),[vd,gd]=pd(sd),[yd,bd]=pd(sd),wd=e.forwardRef(((t,n)=>{
2475
+ const{__scopeSelect:r,disabled:a=!1,...o}=t,i=md(r),l=gd("SelectTrigger",r),c=l.disabled||a,s=fn(n,l.onTriggerChange),u=dd(r),[d,h,p]=Jd((e=>{
2476
+ const t=u().filter((e=>!e.disabled)),n=t.find((e=>e.value===l.value)),r=eh(t,e,n)
2373
2477
  ;void 0!==r&&l.onValueChange(r.value)})),f=()=>{c||(l.onOpenChange(!0),p())}
2374
2478
  ;return e.createElement(Ai,un({asChild:!0},i),e.createElement(xn.button,un({
2375
2479
  type:"button",role:"combobox","aria-controls":l.contentId,
2376
2480
  "aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",
2377
2481
  dir:l.dir,"data-state":l.open?"open":"closed",disabled:c,
2378
- "data-disabled":c?"":void 0,"data-placeholder":$d(l.value)?"":void 0},o,{ref:s,
2482
+ "data-disabled":c?"":void 0,"data-placeholder":Xd(l.value)?"":void 0},o,{ref:s,
2379
2483
  onClick:Cn(o.onClick,(e=>{e.currentTarget.focus()})),
2380
2484
  onPointerDown:Cn(o.onPointerDown,(e=>{const t=e.target
2381
2485
  ;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),
@@ -2383,22 +2487,22 @@ onPointerDown:Cn(o.onPointerDown,(e=>{const t=e.target
2383
2487
  x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())})),
2384
2488
  onKeyDown:Cn(o.onKeyDown,(e=>{const t=""!==d.current
2385
2489
  ;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||h(e.key),
2386
- t&&" "===e.key||Ju.includes(e.key)&&(f(),e.preventDefault())}))})))
2387
- })),pd=e.forwardRef(((t,n)=>{
2388
- const{__scopeSelect:r,className:a,style:o,children:i,placeholder:l="",...c}=t,s=sd("SelectValue",r),{onValueNodeHasChildrenChange:u}=s,d=void 0!==i,h=fn(n,s.onValueNodeChange)
2490
+ t&&" "===e.key||ld.includes(e.key)&&(f(),e.preventDefault())}))})))
2491
+ })),Cd=e.forwardRef(((t,n)=>{
2492
+ const{__scopeSelect:r,className:a,style:o,children:i,placeholder:l="",...c}=t,s=gd("SelectValue",r),{onValueNodeHasChildrenChange:u}=s,d=void 0!==i,h=fn(n,s.onValueNodeChange)
2389
2493
  ;return Sn((()=>{u(d)}),[u,d]),e.createElement(xn.span,un({},c,{ref:h,style:{
2390
- pointerEvents:"none"}}),$d(s.value)?e.createElement(e.Fragment,null,l):i)
2391
- })),fd=e.forwardRef(((t,n)=>{const{__scopeSelect:r,children:a,...o}=t
2494
+ pointerEvents:"none"}}),Xd(s.value)?e.createElement(e.Fragment,null,l):i)
2495
+ })),zd=e.forwardRef(((t,n)=>{const{__scopeSelect:r,children:a,...o}=t
2392
2496
  ;return e.createElement(xn.span,un({"aria-hidden":!0},o,{ref:n}),a||"▼")
2393
- })),md="SelectContent",vd=e.forwardRef(((n,r)=>{
2394
- const a=sd(md,n.__scopeSelect),[o,i]=e.useState();if(Sn((()=>{
2497
+ })),Md="SelectContent",xd=e.forwardRef(((n,r)=>{
2498
+ const a=gd(Md,n.__scopeSelect),[o,i]=e.useState();if(Sn((()=>{
2395
2499
  i(new DocumentFragment)}),[]),!a.open){const r=o
2396
- ;return r?t.createPortal(e.createElement(yd,{scope:n.__scopeSelect
2397
- },e.createElement(nd.Slot,{scope:n.__scopeSelect
2500
+ ;return r?t.createPortal(e.createElement(Sd,{scope:n.__scopeSelect
2501
+ },e.createElement(ud.Slot,{scope:n.__scopeSelect
2398
2502
  },e.createElement("div",null,n.children))),r):null}
2399
- return e.createElement(wd,un({},n,{ref:r}))
2400
- })),gd=10,[yd,bd]=od(md),wd=e.forwardRef(((t,n)=>{
2401
- const{__scopeSelect:r,position:a="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:l,side:c,sideOffset:s,align:u,alignOffset:d,arrowPadding:h,collisionBoundary:p,collisionPadding:f,sticky:m,hideWhenDetached:v,avoidCollisions:g,...y}=t,b=sd(md,r),[w,C]=e.useState(null),[z,M]=e.useState(null),x=fn(n,(e=>C(e))),[E,S]=e.useState(null),[_,H]=e.useState(null),D=rd(r),[V,L]=e.useState(!1),A=e.useRef(!1)
2503
+ return e.createElement(Hd,un({},n,{ref:r}))
2504
+ })),Ed=10,[Sd,_d]=pd(Md),Hd=e.forwardRef(((t,n)=>{
2505
+ const{__scopeSelect:r,position:a="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:l,side:c,sideOffset:s,align:u,alignOffset:d,arrowPadding:h,collisionBoundary:p,collisionPadding:f,sticky:m,hideWhenDetached:v,avoidCollisions:g,...y}=t,b=gd(Md,r),[w,C]=e.useState(null),[z,M]=e.useState(null),x=fn(n,(e=>C(e))),[E,S]=e.useState(null),[_,H]=e.useState(null),D=dd(r),[V,L]=e.useState(!1),A=e.useRef(!1)
2402
2506
  ;e.useEffect((()=>{if(w)return ol(w)}),[w]),Ia();const k=e.useCallback((e=>{
2403
2507
  const[t,...n]=D().map((e=>e.ref.current)),[r]=n.slice(-1),a=document.activeElement
2404
2508
  ;for(const n of e){if(n===a)return;if(null==n||n.scrollIntoView({block:"nearest"
@@ -2421,16 +2525,16 @@ document.removeEventListener("pointerup",n,{capture:!0})}}
2421
2525
  ;return window.addEventListener("blur",e),
2422
2526
  window.addEventListener("resize",e),()=>{
2423
2527
  window.removeEventListener("blur",e),window.removeEventListener("resize",e)}
2424
- }),[R]);const[I,O]=Yd((e=>{
2425
- const t=D().filter((e=>!e.disabled)),n=t.find((e=>e.ref.current===document.activeElement)),r=Wd(t,e,n)
2528
+ }),[R]);const[I,O]=Jd((e=>{
2529
+ const t=D().filter((e=>!e.disabled)),n=t.find((e=>e.ref.current===document.activeElement)),r=eh(t,e,n)
2426
2530
  ;r&&setTimeout((()=>r.ref.current.focus()))})),N=e.useCallback(((e,t,n)=>{
2427
2531
  const r=!A.current&&!n
2428
2532
  ;(void 0!==b.value&&b.value===t||r)&&(S(e),r&&(A.current=!0))
2429
2533
  }),[b.value]),F=e.useCallback((()=>null==w?void 0:w.focus()),[w]),B=e.useCallback(((e,t,n)=>{
2430
2534
  const r=!A.current&&!n;(void 0!==b.value&&b.value===t||r)&&H(e)
2431
- }),[b.value]),j="popper"===a?zd:Cd,$=j===zd?{side:c,sideOffset:s,align:u,
2535
+ }),[b.value]),j="popper"===a?Vd:Dd,$=j===Vd?{side:c,sideOffset:s,align:u,
2432
2536
  alignOffset:d,arrowPadding:h,collisionBoundary:p,collisionPadding:f,sticky:m,
2433
- hideWhenDetached:v,avoidCollisions:g}:{};return e.createElement(yd,{scope:r,
2537
+ hideWhenDetached:v,avoidCollisions:g}:{};return e.createElement(Sd,{scope:r,
2434
2538
  content:w,viewport:z,onViewportChange:M,itemRefCallback:N,selectedItem:E,
2435
2539
  onItemLeave:F,itemTextRefCallback:B,focusSelectedItem:T,selectedItemText:_,
2436
2540
  position:a,isPositioned:V,searchRef:I},e.createElement(Nl,{as:mn,
@@ -2451,32 +2555,32 @@ let t=D().filter((e=>!e.disabled)).map((e=>e.ref.current))
2451
2555
  ;if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),
2452
2556
  ["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n)
2453
2557
  ;t=t.slice(r+1)}setTimeout((()=>k(t))),e.preventDefault()}}))}))))))
2454
- })),Cd=e.forwardRef(((t,n)=>{
2455
- const{__scopeSelect:r,onPlaced:a,...o}=t,i=sd(md,r),l=bd(md,r),[c,s]=e.useState(null),[u,d]=e.useState(null),h=fn(n,(e=>d(e))),p=rd(r),f=e.useRef(!1),m=e.useRef(!0),{viewport:v,selectedItem:g,selectedItemText:y,focusSelectedItem:b}=l,w=e.useCallback((()=>{
2558
+ })),Dd=e.forwardRef(((t,n)=>{
2559
+ const{__scopeSelect:r,onPlaced:a,...o}=t,i=gd(Md,r),l=_d(Md,r),[c,s]=e.useState(null),[u,d]=e.useState(null),h=fn(n,(e=>d(e))),p=dd(r),f=e.useRef(!1),m=e.useRef(!0),{viewport:v,selectedItem:g,selectedItemText:y,focusSelectedItem:b}=l,w=e.useCallback((()=>{
2456
2560
  if(i.trigger&&i.valueNode&&c&&u&&v&&g&&y){
2457
2561
  const e=i.trigger.getBoundingClientRect(),t=u.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),r=y.getBoundingClientRect()
2458
2562
  ;if("rtl"!==i.dir){
2459
- const a=r.left-t.left,o=n.left-a,i=e.left-o,l=e.width+i,s=Math.max(l,t.width),u=window.innerWidth-gd,d=Zu(o,[gd,u-s])
2563
+ const a=r.left-t.left,o=n.left-a,i=e.left-o,l=e.width+i,s=Math.max(l,t.width),u=window.innerWidth-Ed,d=ad(o,[Ed,u-s])
2460
2564
  ;c.style.minWidth=l+"px",c.style.left=d+"px"}else{
2461
- const a=t.right-r.right,o=window.innerWidth-n.right-a,i=window.innerWidth-e.right-o,l=e.width+i,s=Math.max(l,t.width),u=window.innerWidth-gd,d=Zu(o,[gd,u-s])
2565
+ const a=t.right-r.right,o=window.innerWidth-n.right-a,i=window.innerWidth-e.right-o,l=e.width+i,s=Math.max(l,t.width),u=window.innerWidth-Ed,d=ad(o,[Ed,u-s])
2462
2566
  ;c.style.minWidth=l+"px",c.style.right=d+"px"}
2463
- const o=p(),l=window.innerHeight-2*gd,s=v.scrollHeight,d=window.getComputedStyle(u),h=parseInt(d.borderTopWidth,10),m=parseInt(d.paddingTop,10),b=parseInt(d.borderBottomWidth,10),w=h+m+s+parseInt(d.paddingBottom,10)+b,C=Math.min(5*g.offsetHeight,w),z=window.getComputedStyle(v),M=parseInt(z.paddingTop,10),x=parseInt(z.paddingBottom,10),E=e.top+e.height/2-gd,S=l-E,_=g.offsetHeight/2,H=h+m+(g.offsetTop+_),D=w-H
2567
+ const o=p(),l=window.innerHeight-2*Ed,s=v.scrollHeight,d=window.getComputedStyle(u),h=parseInt(d.borderTopWidth,10),m=parseInt(d.paddingTop,10),b=parseInt(d.borderBottomWidth,10),w=h+m+s+parseInt(d.paddingBottom,10)+b,C=Math.min(5*g.offsetHeight,w),z=window.getComputedStyle(v),M=parseInt(z.paddingTop,10),x=parseInt(z.paddingBottom,10),E=e.top+e.height/2-Ed,S=l-E,_=g.offsetHeight/2,H=h+m+(g.offsetTop+_),D=w-H
2464
2568
  ;if(H<=E){const e=g===o[o.length-1].ref.current;c.style.bottom="0px"
2465
2569
  ;const t=u.clientHeight-v.offsetTop-v.offsetHeight,n=H+Math.max(S,_+(e?x:0)+t+b)
2466
2570
  ;c.style.height=n+"px"}else{const e=g===o[0].ref.current;c.style.top="0px"
2467
2571
  ;const t=Math.max(E,h+v.offsetTop+(e?M:0)+_)+D
2468
2572
  ;c.style.height=t+"px",v.scrollTop=H-E+v.offsetTop}
2469
- c.style.margin=`${gd}px 0`,c.style.minHeight=C+"px",
2573
+ c.style.margin=`${Ed}px 0`,c.style.minHeight=C+"px",
2470
2574
  c.style.maxHeight=l+"px",null==a||a(),requestAnimationFrame((()=>f.current=!0))}
2471
2575
  }),[p,i.trigger,i.valueNode,c,u,v,g,y,i.dir,a]);Sn((()=>w()),[w])
2472
2576
  ;const[C,z]=e.useState();Sn((()=>{u&&z(window.getComputedStyle(u).zIndex)}),[u])
2473
2577
  ;const M=e.useCallback((e=>{e&&!0===m.current&&(w(),null==b||b(),m.current=!1)
2474
- }),[w,b]);return e.createElement(Md,{scope:r,contentWrapper:c,
2578
+ }),[w,b]);return e.createElement(Ld,{scope:r,contentWrapper:c,
2475
2579
  shouldExpandOnScrollRef:f,onScrollButtonChange:M},e.createElement("div",{ref:s,
2476
2580
  style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C}
2477
2581
  },e.createElement(xn.div,un({},o,{ref:h,style:{boxSizing:"border-box",
2478
- maxHeight:"100%",...o.style}}))))})),zd=e.forwardRef(((t,n)=>{
2479
- const{__scopeSelect:r,align:a="start",collisionPadding:o=gd,...i}=t,l=ld(r)
2582
+ maxHeight:"100%",...o.style}}))))})),Vd=e.forwardRef(((t,n)=>{
2583
+ const{__scopeSelect:r,align:a="start",collisionPadding:o=Ed,...i}=t,l=md(r)
2480
2584
  ;return e.createElement(ki,un({},l,i,{ref:n,align:a,collisionPadding:o,style:{
2481
2585
  boxSizing:"border-box",...i.style,
2482
2586
  "--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)",
@@ -2484,35 +2588,35 @@ boxSizing:"border-box",...i.style,
2484
2588
  "--radix-select-content-available-height":"var(--radix-popper-available-height)",
2485
2589
  "--radix-select-trigger-width":"var(--radix-popper-anchor-width)",
2486
2590
  "--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))
2487
- })),[Md,xd]=od(md,{}),Ed="SelectViewport",Sd=e.forwardRef(((t,n)=>{
2488
- const{__scopeSelect:r,...a}=t,o=bd(Ed,r),i=xd(Ed,r),l=fn(n,o.onViewportChange),c=e.useRef(0)
2591
+ })),[Ld,Ad]=pd(Md,{}),kd="SelectViewport",Td=e.forwardRef(((t,n)=>{
2592
+ const{__scopeSelect:r,...a}=t,o=_d(kd,r),i=Ad(kd,r),l=fn(n,o.onViewportChange),c=e.useRef(0)
2489
2593
  ;return e.createElement(e.Fragment,null,e.createElement("style",{
2490
2594
  dangerouslySetInnerHTML:{
2491
2595
  __html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"
2492
- }}),e.createElement(nd.Slot,{scope:r},e.createElement(xn.div,un({
2596
+ }}),e.createElement(ud.Slot,{scope:r},e.createElement(xn.div,un({
2493
2597
  "data-radix-select-viewport":"",role:"presentation"},a,{ref:l,style:{
2494
2598
  position:"relative",flex:1,overflow:"auto",...a.style},
2495
2599
  onScroll:Cn(a.onScroll,(e=>{
2496
2600
  const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=i
2497
2601
  ;if(null!=r&&r.current&&n){const e=Math.abs(c.current-t.scrollTop);if(e>0){
2498
- const r=window.innerHeight-2*gd,a=parseFloat(n.style.minHeight),o=parseFloat(n.style.height),i=Math.max(a,o)
2602
+ const r=window.innerHeight-2*Ed,a=parseFloat(n.style.minHeight),o=parseFloat(n.style.height),i=Math.max(a,o)
2499
2603
  ;if(i<r){const a=i+e,o=Math.min(r,a),l=a-o
2500
2604
  ;n.style.height=o+"px","0px"===n.style.bottom&&(t.scrollTop=l>0?l:0,
2501
2605
  n.style.justifyContent="flex-end")}}}c.current=t.scrollTop}))}))))
2502
- })),[_d,Hd]=od("SelectGroup"),Dd=e.forwardRef(((t,n)=>{
2503
- const{__scopeSelect:r,...a}=t,o=Ln();return e.createElement(_d,{scope:r,id:o
2606
+ })),[Rd,Pd]=pd("SelectGroup"),Id=e.forwardRef(((t,n)=>{
2607
+ const{__scopeSelect:r,...a}=t,o=Ln();return e.createElement(Rd,{scope:r,id:o
2504
2608
  },e.createElement(xn.div,un({role:"group","aria-labelledby":o},a,{ref:n})))
2505
- })),Vd=e.forwardRef(((t,n)=>{const{__scopeSelect:r,...a}=t,o=Hd("SelectLabel",r)
2609
+ })),Od=e.forwardRef(((t,n)=>{const{__scopeSelect:r,...a}=t,o=Pd("SelectLabel",r)
2506
2610
  ;return e.createElement(xn.div,un({id:o.id},a,{ref:n}))
2507
- })),Ld="SelectItem",[Ad,kd]=od(Ld),Td=e.forwardRef(((t,n)=>{
2508
- const{__scopeSelect:r,value:a,disabled:o=!1,textValue:i,...l}=t,c=sd(Ld,r),s=bd(Ld,r),u=c.value===a,[d,h]=e.useState(null!=i?i:""),[p,f]=e.useState(!1),m=fn(n,(e=>{
2611
+ })),Nd="SelectItem",[Fd,Bd]=pd(Nd),jd=e.forwardRef(((t,n)=>{
2612
+ const{__scopeSelect:r,value:a,disabled:o=!1,textValue:i,...l}=t,c=gd(Nd,r),s=_d(Nd,r),u=c.value===a,[d,h]=e.useState(null!=i?i:""),[p,f]=e.useState(!1),m=fn(n,(e=>{
2509
2613
  var t;return null===(t=s.itemRefCallback)||void 0===t?void 0:t.call(s,e,a,o)
2510
2614
  })),v=Ln(),g=()=>{o||(c.onValueChange(a),c.onOpenChange(!1))}
2511
2615
  ;if(""===a)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.")
2512
- ;return e.createElement(Ad,{scope:r,value:a,disabled:o,textId:v,isSelected:u,
2616
+ ;return e.createElement(Fd,{scope:r,value:a,disabled:o,textId:v,isSelected:u,
2513
2617
  onItemTextChange:e.useCallback((e=>{h((t=>{var n
2514
2618
  ;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))
2515
- }),[])},e.createElement(nd.ItemSlot,{scope:r,value:a,disabled:o,textValue:d
2619
+ }),[])},e.createElement(ud.ItemSlot,{scope:r,value:a,disabled:o,textValue:d
2516
2620
  },e.createElement(xn.div,un({role:"option","aria-labelledby":v,
2517
2621
  "data-highlighted":p?"":void 0,"aria-selected":u&&p,
2518
2622
  "data-state":u?"checked":"unchecked","aria-disabled":o||void 0,
@@ -2523,10 +2627,10 @@ onPointerUp:Cn(l.onPointerUp,g),onPointerMove:Cn(l.onPointerMove,(e=>{var t
2523
2627
  preventScroll:!0})})),onPointerLeave:Cn(l.onPointerLeave,(e=>{var t
2524
2628
  ;e.currentTarget===document.activeElement&&(null===(t=s.onItemLeave)||void 0===t||t.call(s))
2525
2629
  })),onKeyDown:Cn(l.onKeyDown,(e=>{var t
2526
- ;""!==(null===(t=s.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(ed.includes(e.key)&&g(),
2630
+ ;""!==(null===(t=s.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(cd.includes(e.key)&&g(),
2527
2631
  " "===e.key&&e.preventDefault())}))}))))
2528
- })),Rd="SelectItemText",Pd=e.forwardRef(((n,r)=>{
2529
- const{__scopeSelect:a,className:o,style:i,...l}=n,c=sd(Rd,a),s=bd(Rd,a),u=kd(Rd,a),d=dd(Rd,a),[h,p]=e.useState(null),f=fn(r,(e=>p(e)),u.onItemTextChange,(e=>{
2632
+ })),$d="SelectItemText",Ud=e.forwardRef(((n,r)=>{
2633
+ const{__scopeSelect:a,className:o,style:i,...l}=n,c=gd($d,a),s=_d($d,a),u=Bd($d,a),d=bd($d,a),[h,p]=e.useState(null),f=fn(r,(e=>p(e)),u.onItemTextChange,(e=>{
2530
2634
  var t
2531
2635
  ;return null===(t=s.itemTextRefCallback)||void 0===t?void 0:t.call(s,e,u.value,u.disabled)
2532
2636
  })),m=null==h?void 0:h.textContent,v=e.useMemo((()=>e.createElement("option",{
@@ -2536,27 +2640,27 @@ key:u.value,value:u.value,disabled:u.disabled
2536
2640
  ()=>y(v))),[g,y,v]),e.createElement(e.Fragment,null,e.createElement(xn.span,un({
2537
2641
  id:u.textId},l,{ref:f
2538
2642
  })),u.isSelected&&c.valueNode&&!c.valueNodeHasChildren?t.createPortal(l.children,c.valueNode):null)
2539
- })),Id=e.forwardRef(((t,n)=>{const{__scopeSelect:r,...a}=t
2540
- ;return kd("SelectItemIndicator",r).isSelected?e.createElement(xn.span,un({
2643
+ })),Yd=e.forwardRef(((t,n)=>{const{__scopeSelect:r,...a}=t
2644
+ ;return Bd("SelectItemIndicator",r).isSelected?e.createElement(xn.span,un({
2541
2645
  "aria-hidden":!0},a,{ref:n})):null
2542
- })),Od="SelectScrollUpButton",Nd=e.forwardRef(((t,n)=>{
2543
- const r=bd(Od,t.__scopeSelect),a=xd(Od,t.__scopeSelect),[o,i]=e.useState(!1),l=fn(n,a.onScrollButtonChange)
2646
+ })),Wd="SelectScrollUpButton",Gd=e.forwardRef(((t,n)=>{
2647
+ const r=_d(Wd,t.__scopeSelect),a=Ad(Wd,t.__scopeSelect),[o,i]=e.useState(!1),l=fn(n,a.onScrollButtonChange)
2544
2648
  ;return Sn((()=>{if(r.viewport&&r.isPositioned){const e=r.viewport;function t(){
2545
2649
  const t=e.scrollTop>0;i(t)}
2546
2650
  return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}
2547
- }),[r.viewport,r.isPositioned]),o?e.createElement(jd,un({},t,{ref:l,
2651
+ }),[r.viewport,r.isPositioned]),o?e.createElement(Zd,un({},t,{ref:l,
2548
2652
  onAutoScroll:()=>{const{viewport:e,selectedItem:t}=r
2549
2653
  ;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null
2550
- })),Fd="SelectScrollDownButton",Bd=e.forwardRef(((t,n)=>{
2551
- const r=bd(Fd,t.__scopeSelect),a=xd(Fd,t.__scopeSelect),[o,i]=e.useState(!1),l=fn(n,a.onScrollButtonChange)
2654
+ })),Kd="SelectScrollDownButton",qd=e.forwardRef(((t,n)=>{
2655
+ const r=_d(Kd,t.__scopeSelect),a=Ad(Kd,t.__scopeSelect),[o,i]=e.useState(!1),l=fn(n,a.onScrollButtonChange)
2552
2656
  ;return Sn((()=>{if(r.viewport&&r.isPositioned){const e=r.viewport;function t(){
2553
2657
  const t=e.scrollHeight-e.clientHeight,n=Math.ceil(e.scrollTop)<t;i(n)}
2554
2658
  return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}
2555
- }),[r.viewport,r.isPositioned]),o?e.createElement(jd,un({},t,{ref:l,
2659
+ }),[r.viewport,r.isPositioned]),o?e.createElement(Zd,un({},t,{ref:l,
2556
2660
  onAutoScroll:()=>{const{viewport:e,selectedItem:t}=r
2557
2661
  ;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null
2558
- })),jd=e.forwardRef(((t,n)=>{
2559
- const{__scopeSelect:r,onAutoScroll:a,...o}=t,i=bd("SelectScrollButton",r),l=e.useRef(null),c=rd(r),s=e.useCallback((()=>{
2662
+ })),Zd=e.forwardRef(((t,n)=>{
2663
+ const{__scopeSelect:r,onAutoScroll:a,...o}=t,i=_d("SelectScrollButton",r),l=e.useRef(null),c=dd(r),s=e.useCallback((()=>{
2560
2664
  null!==l.current&&(window.clearInterval(l.current),l.current=null)}),[])
2561
2665
  ;return e.useEffect((()=>()=>s()),[s]),Sn((()=>{var e
2562
2666
  ;const t=c().find((e=>e.ref.current===document.activeElement))
@@ -2567,145 +2671,42 @@ null===l.current&&(l.current=window.setInterval(a,50))})),
2567
2671
  onPointerMove:Cn(o.onPointerMove,(()=>{var e
2568
2672
  ;null===(e=i.onItemLeave)||void 0===e||e.call(i),
2569
2673
  null===l.current&&(l.current=window.setInterval(a,50))})),
2570
- onPointerLeave:Cn(o.onPointerLeave,(()=>{s()}))}))}));function $d(e){
2571
- return""===e||void 0===e}const Ud=e.forwardRef(((t,n)=>{
2572
- const{value:r,...a}=t,o=e.useRef(null),i=fn(n,o),l=jc(r)
2674
+ onPointerLeave:Cn(o.onPointerLeave,(()=>{s()}))}))}));function Xd(e){
2675
+ return""===e||void 0===e}const Qd=e.forwardRef(((t,n)=>{
2676
+ const{value:r,...a}=t,o=e.useRef(null),i=fn(n,o),l=Zc(r)
2573
2677
  ;return e.useEffect((()=>{
2574
2678
  const e=o.current,t=window.HTMLSelectElement.prototype,n=Object.getOwnPropertyDescriptor(t,"value").set
2575
2679
  ;if(l!==r&&n){const t=new Event("change",{bubbles:!0})
2576
- ;n.call(e,r),e.dispatchEvent(t)}}),[l,r]),e.createElement(Xu,{asChild:!0
2577
- },e.createElement("select",un({},a,{ref:i,defaultValue:r})))}));function Yd(t){
2680
+ ;n.call(e,r),e.dispatchEvent(t)}}),[l,r]),e.createElement(od,{asChild:!0
2681
+ },e.createElement("select",un({},a,{ref:i,defaultValue:r})))}));function Jd(t){
2578
2682
  const n=zn(t),r=e.useRef(""),a=e.useRef(0),o=e.useCallback((e=>{
2579
2683
  const t=r.current+e;n(t),function e(t){
2580
2684
  r.current=t,window.clearTimeout(a.current),
2581
2685
  ""!==t&&(a.current=window.setTimeout((()=>e("")),1e3))}(t)
2582
2686
  }),[n]),i=e.useCallback((()=>{r.current="",window.clearTimeout(a.current)}),[])
2583
2687
  ;return e.useEffect((()=>()=>window.clearTimeout(a.current)),[]),[r,o,i]}
2584
- function Wd(e,t,n){
2688
+ function eh(e,t,n){
2585
2689
  const r=t.length>1&&Array.from(t).every((e=>e===t[0])),a=r?t[0]:t,o=n?e.indexOf(n):-1
2586
2690
  ;let i=function(e,t){return e.map(((n,r)=>e[(t+r)%e.length]))}(e,Math.max(o,0))
2587
2691
  ;1===a.length&&(i=i.filter((e=>e!==n)))
2588
2692
  ;const l=i.find((e=>e.textValue.toLowerCase().startsWith(a.toLowerCase())))
2589
- ;return l!==n?l:void 0}Ud.displayName="BubbleSelect";const Gd=t=>{
2590
- const{__scopeSelect:n,children:r,open:a,defaultOpen:o,onOpenChange:i,value:l,defaultValue:c,onValueChange:s,dir:u,name:d,autoComplete:h,disabled:p,required:f}=t,m=ld(n),[v,g]=e.useState(null),[y,b]=e.useState(null),[w,C]=e.useState(!1),z=Gn(u),[M=!1,x]=Mn({
2693
+ ;return l!==n?l:void 0}Qd.displayName="BubbleSelect";const th=t=>{
2694
+ const{__scopeSelect:n,children:r,open:a,defaultOpen:o,onOpenChange:i,value:l,defaultValue:c,onValueChange:s,dir:u,name:d,autoComplete:h,disabled:p,required:f}=t,m=md(n),[v,g]=e.useState(null),[y,b]=e.useState(null),[w,C]=e.useState(!1),z=Gn(u),[M=!1,x]=Mn({
2591
2695
  prop:a,defaultProp:o,onChange:i}),[E,S]=Mn({prop:l,defaultProp:c,onChange:s
2592
2696
  }),_=e.useRef(null),H=!v||Boolean(v.closest("form")),[D,V]=e.useState(new Set),L=Array.from(D).map((e=>e.props.value)).join(";")
2593
- ;return e.createElement(Li,m,e.createElement(cd,{required:f,scope:n,trigger:v,
2697
+ ;return e.createElement(Li,m,e.createElement(vd,{required:f,scope:n,trigger:v,
2594
2698
  onTriggerChange:g,valueNode:y,onValueNodeChange:b,valueNodeHasChildren:w,
2595
2699
  onValueNodeHasChildrenChange:C,contentId:Ln(),value:E,onValueChange:S,open:M,
2596
2700
  onOpenChange:x,dir:z,triggerPointerDownPosRef:_,disabled:p
2597
- },e.createElement(nd.Provider,{scope:n},e.createElement(ud,{
2701
+ },e.createElement(ud.Provider,{scope:n},e.createElement(yd,{
2598
2702
  scope:t.__scopeSelect,onNativeOptionAdd:e.useCallback((e=>{
2599
2703
  V((t=>new Set(t).add(e)))}),[]),onNativeOptionRemove:e.useCallback((e=>{V((t=>{
2600
- const n=new Set(t);return n.delete(e),n}))}),[])},r)),H?e.createElement(Ud,{
2704
+ const n=new Set(t);return n.delete(e),n}))}),[])},r)),H?e.createElement(Qd,{
2601
2705
  key:L,"aria-hidden":!0,required:f,tabIndex:-1,name:d,autoComplete:h,value:E,
2602
2706
  onChange:e=>S(e.target.value),disabled:p},void 0===E?e.createElement("option",{
2603
2707
  value:""}):null,Array.from(D)):null))
2604
- },Kd=hd,qd=pd,Zd=fd,Xd=t=>e.createElement(Ri,un({asChild:!0
2605
- },t)),Qd=vd,Jd=Sd,eh=Dd,th=Vd,nh=Td,rh=Pd,ah=Id,oh=Nd,ih=Bd,lh={
2606
- elephant:"#12344d",smoke:"#ebeff3",milk:"#ffffff",E900:"#12344d",E800:"#264966",
2607
- E700:"#345c7c",E600:"#447093",E500:"#527fa5",E400:"#6b92b6",E300:"#83a6c8",
2608
- E200:"#a2c0de",E100:"#bedbf5",E50:"#dff0ff",S900:"#27313a",S800:"#384551",
2609
- S700:"#475867",S600:"#576c7d",S500:"#647a8e",S400:"#7b8e9f",S300:"#92a2b1",
2610
- S200:"#b1bdc8",S100:"#cfd7df",S75:"#e6e8eb",S50:"#ebeff3",S25:"#f5f7f9",
2611
- S10:"#f7f9fa"},ch={jungle:"#005c3f",J900:"#005c3f",J800:"#00795b",
2612
- J700:"#008969",J600:"#009a79",J500:"#00a886",J400:"#1cb697",J300:"#4dc4aa",
2613
- J200:"#82d5c2",J100:"#b4e5da",J50:"#e0f5f1",azure:"#2c5cc5",A900:"#283da5",
2614
- A800:"#2c5cc5",A700:"#2e6ed8",A600:"#2f80eb",A500:"#2e8efa",A400:"#459ffc",
2615
- A300:"#64b0fc",A200:"#90c6fe",A100:"#bbdcfe",A50:"#e5f2fd",persimmon:"#e43538",
2616
- P900:"#c82124",P800:"#d72d30",P700:"#e43538",P600:"#f73f3e",P500:"#ff473e",
2617
- P400:"#ff5959",P300:"#f2797b",P200:"#f89fa1",P100:"#ffd0d6",P50:"#ffecf0",
2618
- casablanca:"#e86f25",C900:"#d7461f",C800:"#e16023",C700:"#e86f25",
2619
- C600:"#ef7e27",C500:"#f48928",C400:"#f69a3c",C300:"#f8ab59",C200:"#fac386",
2620
- C100:"#fddbb5",C50:"#fef1e1"},sh={black:"#000000",white:"#ffffff"
2621
- },uh="-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial, sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol'",dh=(e,t=1)=>{
2622
- let n=t,r=e.replace(/^#/,"")
2623
- ;8===e.length||4===e.length?(n=parseInt(e.slice(-2),16)/255,
2624
- r=e.slice(0,-2)):3===r.length&&(r=r.replace(/(.)/g,"$1$1"))
2625
- ;const[a,o,i]=[0,2,4].map((e=>parseInt(r.slice(e,e+2),16)))
2626
- ;return`rgba(${a}, ${o}, ${i}, ${n.toFixed(2)})`},hh={mode:"light",breakpoints:{
2627
- keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:900,lg:1200,xl:1536},
2628
- unit:"px"},colors:{common:{black:sh.black,white:sh.white,accent:ch.A800},text:{
2629
- link:ch.A800,primary:lh.E900,secondary:lh.S700,disabled:lh.S400,
2630
- placeholder:lh.S300,error:ch.P800,inverse:sh.white,semantic:{success:ch.J500,
2631
- warning:ch.C500,error:ch.P500,info:ch.A500}},fill:{base:lh.S25,medium:lh.S50,
2632
- dark:lh.S100,surface:sh.white,inverse:lh.E900,hover:lh.S50,disabled:lh.S50,
2633
- hilight:ch.A50},semantic:{error:{bg:ch.P50,border:ch.P100},warning:{bg:ch.C50,
2634
- border:ch.C100},info:{bg:ch.A50,border:ch.A100},success:{bg:ch.J50,
2635
- border:ch.J100}},border:{light:lh.S50,normal:lh.S100,divider:lh.S100,
2636
- hover:lh.S300,active:ch.A800,disabled:lh.S50,error:ch.P800},shadow:lh.E900,
2637
- scrim:lh.E900},typography:{fontFamily:uh,fontWeight:{bold:700,"semi-bold":600,
2638
- regular:400},primary:{fontSize:"14px",fontWeight:400,lineHeight:1.5},secondary:{
2639
- fontSize:"12px",fontWeight:400,lineHeight:1.5},heading:{fontSize:"16px",
2640
- fontWeight:400,lineHeight:1.25},heading1:{fontSize:"44px",fontWeight:400,
2641
- lineHeight:1.25},heading2:{fontSize:"32px",fontWeight:400,lineHeight:1.25},
2642
- heading3:{fontSize:"24px",fontWeight:400,lineHeight:1.25},heading4:{
2643
- fontSize:"18px",fontWeight:400,lineHeight:1.25},caption:{fontSize:"12px",
2644
- fontWeight:400,lineHeight:1}},
2645
- shadows:["none","0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12)","0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12)","0px 3px 3px -2px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 1px 8px 0px rgba(0,0,0,0.12)"],
2646
- transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",
2647
- easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.16, 1, 0.3, 1)",
2648
- sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{short:"250ms",standard:"300ms",
2649
- complex:"450ms"}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,
2650
- drawer:1200,modal:1300,snackbar:1400,tooltip:1500},components:{button:{primary:{
2651
- backgroundFrom:lh.E800,backgroundTo:lh.E900,color:sh.white,disabledColor:lh.S10,
2652
- activeBackgroundColor:lh.E800,hoverColor:lh.E900,borderColor:lh.E900,
2653
- activeBorderColor:lh.E900,disabledBorderColor:lh.S400,
2654
- disabledBackgroundFrom:lh.S300,disabledBackgroundTo:lh.S400},secondary:{
2655
- backgroundFrom:sh.white,backgroundTo:lh.S25,color:lh.E900,disabledColor:lh.S300,
2656
- activeBackgroundColor:lh.S25,hoverColor:lh.S25,borderColor:lh.S100,
2657
- activeBorderColor:lh.S25,disabledBorderColor:lh.S100,
2658
- disabledBackgroundFrom:lh.S50,disabledBackgroundTo:lh.S50},danger:{
2659
- backgroundFrom:ch.P800,backgroundTo:ch.P900,color:sh.white,
2660
- disabledColor:ch.P100,activeBackgroundColor:ch.P800,hoverColor:ch.P900,
2661
- borderColor:ch.P900,activeBorderColor:ch.P200,disabledBorderColor:ch.P300,
2662
- disabledBackgroundFrom:ch.P200,disabledBackgroundTo:ch.P300},link:{
2663
- backgroundFrom:sh.white,backgroundTo:sh.white,color:ch.A800,
2664
- disabledColor:ch.A100,activeBackgroundColor:lh.S25,hoverColor:lh.S50,
2665
- borderColor:sh.white,activeBorderColor:lh.S25,disabledBorderColor:sh.white,
2666
- disabledBackgroundFrom:sh.white,disabledBackgroundTo:sh.white}}}},ph={
2667
- mode:"dark",breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,
2668
- md:900,lg:1200,xl:1536},unit:"px"},colors:{common:{black:sh.black,
2669
- white:sh.white,accent:ch.A800},text:{link:ch.A800,primary:lh.S100,
2670
- secondary:lh.S300,disabled:lh.S400,placeholder:lh.S300,error:ch.P400,
2671
- inverse:sh.black,semantic:{success:ch.J400,warning:ch.C400,error:ch.P400,
2672
- info:ch.A400}},fill:{base:lh.S900,medium:lh.S800,dark:lh.S100,surface:sh.black,
2673
- inverse:lh.E100,hover:lh.S700,disabled:lh.S50,hilight:ch.A50},semantic:{error:{
2674
- bg:ch.P800,border:ch.P300},warning:{bg:ch.C800,border:ch.C300},info:{bg:ch.A800,
2675
- border:ch.A300},success:{bg:ch.J800,border:ch.J50}},border:{light:lh.S800,
2676
- normal:lh.S800,divider:lh.S500,hover:lh.S500,active:ch.A500,disabled:lh.S50,
2677
- error:ch.P500},shadow:lh.E50,scrim:lh.E50},typography:{fontFamily:uh,
2678
- fontWeight:{bold:700,"semi-bold":600,regular:400},primary:{fontSize:"14px",
2679
- fontWeight:400,lineHeight:1.5},secondary:{fontSize:"12px",fontWeight:400,
2680
- lineHeight:1.5},heading:{fontSize:"16px",fontWeight:400,lineHeight:1.25},
2681
- heading1:{fontSize:"44px",fontWeight:400,lineHeight:1.25},heading2:{
2682
- fontSize:"32px",fontWeight:400,lineHeight:1.25},heading3:{fontSize:"24px",
2683
- fontWeight:400,lineHeight:1.25},heading4:{fontSize:"18px",fontWeight:400,
2684
- lineHeight:1.25},caption:{fontSize:"12px",fontWeight:400,lineHeight:1}},
2685
- shadows:["none",`0px 2px 1px -1px ${dh(sh.black,.2)},0px 1px 1px 0px ${dh(sh.black,.14)},0px 1px 3px 0px ${dh(sh.black,.12)}`,`0px 3px 1px -2px ${dh(sh.black,.2)},0px 2px 2px 0px ${dh(sh.black,.14)},0px 1px 5px 0px ${dh(sh.black,.12)}`,`0px 3px 3px -2px ${dh(sh.black,.2)},0px 3px 4px 0px ${dh(sh.black,.14)},0px 1px 8px 0px ${dh(sh.black,.12)}`],
2686
- transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",
2687
- easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.16, 1, 0.3, 1)",
2688
- sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{short:"250ms",standard:"300ms",
2689
- complex:"450ms"}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,
2690
- drawer:1200,modal:1300,snackbar:1400,tooltip:1500},components:{button:{primary:{
2691
- backgroundFrom:ch.A400,backgroundTo:ch.A400,color:sh.white,disabledColor:ch.A50,
2692
- activeBackgroundColor:ch.A400,hoverColor:ch.A500,borderColor:ch.A500,
2693
- activeBorderColor:ch.A500,disabledBorderColor:ch.A50,
2694
- disabledBackgroundFrom:ch.A50,disabledBackgroundTo:ch.A50},secondary:{
2695
- backgroundFrom:lh.S500,backgroundTo:lh.S500,color:lh.S100,disabledColor:lh.S800,
2696
- activeBackgroundColor:lh.S800,hoverColor:lh.S800,borderColor:lh.S800,
2697
- activeBorderColor:lh.S800,disabledBorderColor:lh.S800,
2698
- disabledBackgroundFrom:lh.S800,disabledBackgroundTo:lh.S800},danger:{
2699
- backgroundFrom:ch.P800,backgroundTo:ch.P900,color:sh.white,
2700
- disabledColor:ch.P100,activeBackgroundColor:ch.P800,hoverColor:ch.P900,
2701
- borderColor:ch.P900,activeBorderColor:ch.P200,disabledBorderColor:ch.P300,
2702
- disabledBackgroundFrom:ch.P100,disabledBackgroundTo:ch.P100},link:{
2703
- backgroundFrom:sh.white,backgroundTo:sh.white,color:ch.A800,
2704
- disabledColor:ch.A100,activeBackgroundColor:lh.S25,hoverColor:lh.S50,
2705
- borderColor:sh.white,activeBorderColor:lh.S25,disabledBorderColor:sh.white,
2706
- disabledBackgroundFrom:sh.white,disabledBackgroundTo:sh.white}}}}
2707
- ;var fh=Object.freeze({__proto__:null,dark:ph,hextoRGB:dh,light:hh})
2708
- ;const mh=on(zr)`
2708
+ },nh=wd,rh=Cd,ah=zd,oh=t=>e.createElement(Ri,un({asChild:!0
2709
+ },t)),ih=xd,lh=Td,ch=Id,sh=Od,uh=jd,dh=Ud,hh=Yd,ph=Gd,fh=qd,mh=on(zr)`
2709
2710
  transform: rotate(${({$isOpen:e})=>e?"0deg":"-180deg"});
2710
2711
  transition: transform 0.2s ease-in-out;
2711
2712
  `,vh=on.div`
@@ -2769,8 +2770,8 @@ disabledBackgroundFrom:sh.white,disabledBackgroundTo:sh.white}}}}
2769
2770
  border: 1px solid ${({theme:e})=>e.colors.border.light};
2770
2771
  background: ${({theme:e})=>e.colors.fill.surface};
2771
2772
  box-shadow:
2772
- ${({theme:e})=>dh(e.colors.shadow,.06)} 0px 2px 3px,
2773
- ${({theme:e})=>dh(e.colors.shadow,.16)} 0px 4px 20px;
2773
+ ${({theme:e})=>Fc(e.colors.shadow,.06)} 0px 2px 3px,
2774
+ ${({theme:e})=>Fc(e.colors.shadow,.16)} 0px 4px 20px;
2774
2775
  max-height: 200px;
2775
2776
  `,bh=on.li`
2776
2777
  padding: 8px 12px;
@@ -2801,9 +2802,9 @@ disabledBackgroundFrom:sh.white,disabledBackgroundTo:sh.white}}}}
2801
2802
  height: 100%;
2802
2803
  `,Mh=on.div``,xh=on.div`
2803
2804
  height: ${({theme:e})=>`calc(1.5 * ${e.typography.primary.fontSize})`};
2804
- `,Eh=on(Gd)``,Sh=on(eh)``,_h=on(qd)`
2805
+ `,Eh=on(th)``,Sh=on(ch)``,_h=on(rh)`
2805
2806
  flex: 1;
2806
- `,Hh=on(Xd)``,Dh=on(nh)`
2807
+ `,Hh=on(oh)``,Dh=on(uh)`
2807
2808
  padding: 8px 12px;
2808
2809
  border-radius: 4px;
2809
2810
  display: flex;
@@ -2835,7 +2836,7 @@ disabledBackgroundFrom:sh.white,disabledBackgroundTo:sh.white}}}}
2835
2836
  border-left: unset;
2836
2837
  border-bottom: 1px solid ${({theme:e})=>e.colors.border.light};
2837
2838
  margin: 0;
2838
- `,Lh=on(th)`
2839
+ `,Lh=on(sh)`
2839
2840
  font-family: ${({theme:e})=>e.typography.fontFamily};
2840
2841
  font-size: ${({theme:e})=>e.typography.secondary.fontSize};
2841
2842
  line-height: ${({theme:e})=>e.typography.secondary.lineHeight};
@@ -2844,7 +2845,7 @@ disabledBackgroundFrom:sh.white,disabledBackgroundTo:sh.white}}}}
2844
2845
  display: flex;
2845
2846
  gap: 8px;
2846
2847
  align-items: center;
2847
- `,Ah=on(Qd)`
2848
+ `,Ah=on(ih)`
2848
2849
  padding: 8px;
2849
2850
  overflow: auto;
2850
2851
  list-style: none;
@@ -2853,8 +2854,8 @@ disabledBackgroundFrom:sh.white,disabledBackgroundTo:sh.white}}}}
2853
2854
  border: 1px solid ${({theme:e})=>e.colors.border.light};
2854
2855
  background: ${({theme:e})=>e.colors.fill.surface};
2855
2856
  box-shadow:
2856
- ${({theme:e})=>dh(e.colors.shadow,.06)} 0px 2px 3px,
2857
- ${({theme:e})=>dh(e.colors.shadow,.16)} 0px 4px 20px;
2857
+ ${({theme:e})=>Fc(e.colors.shadow,.06)} 0px 2px 3px,
2858
+ ${({theme:e})=>Fc(e.colors.shadow,.16)} 0px 4px 20px;
2858
2859
  width: ${({$matchButtonWidth:e})=>e?"var(--radix-select-trigger-width)":"auto"};
2859
2860
  max-height: min(var(--radix-select-content-available-height), 232px);
2860
2861
  animation-duration: ${({theme:e})=>e.transitions.duration.standard};
@@ -2865,27 +2866,27 @@ disabledBackgroundFrom:sh.white,disabledBackgroundTo:sh.white}}}}
2865
2866
  &[data-state='closed'] {
2866
2867
  animation-name: ${Qr};
2867
2868
  }
2868
- `,kh=on(rh)`
2869
+ `,kh=on(dh)`
2869
2870
  display: flex;
2870
2871
  align-items: center;
2871
- `,Th=on(Jd)`
2872
+ `,Th=on(lh)`
2872
2873
  scrollbar-width: thin !important;
2873
- `,Rh=on(ah)``;on(oh)`
2874
+ `,Rh=on(hh)``;on(ph)`
2874
2875
  display: grid;
2875
2876
  place-content: center;
2876
2877
  margin-bottom: 8px;
2877
- `,on(ih)`
2878
+ `,on(fh)`
2878
2879
  display: grid;
2879
2880
  place-content: center;
2880
2881
  margin-top: 8px;
2881
2882
  transform: rotate(-180deg);
2882
- `;const Ph=on(Zd)`
2883
+ `;const Ph=on(ah)`
2883
2884
  cursor: pointer;
2884
2885
  transform: rotate(-180deg);
2885
2886
  transition: transform 0.2s ease-in-out;
2886
2887
  display: grid;
2887
2888
  place-content: center;
2888
- `,Ih=on(Kd)`
2889
+ `,Ih=on(nh)`
2889
2890
  font-family: ${({theme:e})=>e.typography.fontFamily};
2890
2891
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
2891
2892
  line-height: ${({theme:e})=>e.typography.primary.lineHeight};
@@ -3516,12 +3517,12 @@ environment:"undefined"==typeof window?void 0:window};function Vf(e,t,n){
3516
3517
  void 0===n&&(n=wf);var r=e["default"+Sf(t)];return void 0!==r?r:n[t]}
3517
3518
  function Lf(e,t,n){void 0===n&&(n=wf);var r=e[t];if(void 0!==r)return r
3518
3519
  ;var a=e["initial"+Sf(t)];return void 0!==a?a:Vf(e,t,n)}function Af(e,t,n){
3519
- var r=e.items,a=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,i=e.itemToKey,l=t.selectedItem,c=t.highlightedIndex
3520
- ;return 0===r.length?-1:void 0!==a&&c===a?a:void 0!==o?o:l?r.findIndex((function(e){
3521
- return i(l)===i(e)})):0===n?-1:n<0?r.length-1:0}var kf=function(){return Ep}
3522
- ;function Tf(t,n,r,a){void 0===a&&(a={});var o=a.document,i=Of()
3523
- ;e.useEffect((function(){if(t&&!i&&o){var e=t(n);zf(e,o)}
3524
- }),[r]),e.useEffect((function(){return function(){var e,t
3520
+ var r=e.items,a=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,i=e.isItemDisabled,l=e.itemToKey,c=t.selectedItem,s=t.highlightedIndex
3521
+ ;return 0===r.length?-1:void 0===a||s!==a||i(r[a])?void 0===o||i(r[o])?c?r.findIndex((function(e){
3522
+ return l(c)===l(e)})):n<0&&!i(r[r.length-1])?r.length-1:n>0&&!i(r[0])?0:-1:o:a}
3523
+ var kf=function(){return Ep};function Tf(t,n,r,a){void 0===a&&(a={})
3524
+ ;var o=a.document,i=Of();e.useEffect((function(){if(t&&!i&&o){var e=t(n);zf(e,o)
3525
+ }}),r),e.useEffect((function(){return function(){var e,t
3525
3526
  ;zf.cancel(),(t=null==(e=o)?void 0:e.getElementById("a11y-status-message"))&&t.remove()
3526
3527
  }}),[o])}"production"!==process.env.NODE_ENV&&(kf=function(){
3527
3528
  for(var t=e.useRef(!0),n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a]
@@ -3901,7 +3902,7 @@ className:"input-basic"},a&&e.createElement("div",{className:"start-adornment"
3901
3902
  }),s&&(p||0)>0&&e.createElement("div",{className:"end-max-length"
3902
3903
  },`${"string"==typeof v.value?v.value.length:`${v.value||""}`.length}/${p||0}`),i&&e.createElement("div",{
3903
3904
  className:"end-adornment"},i)),o&&e.createElement("div",{className:"end-label"
3904
- },o)),c&&h&&e.createElement(ws,null,h)))),tv=e.forwardRef((({label:t,inline:n,startLabel:r,startAdornment:a,endLabel:o,endAdornment:i,isRequired:l,isErrored:c,showCount:s,inputStyle:u,style:d,errorText:h,maxLength:p,...f},m)=>e.createElement(Jm,{
3905
+ },o)),c&&h&&e.createElement(Hs,null,h)))),tv=e.forwardRef((({label:t,inline:n,startLabel:r,startAdornment:a,endLabel:o,endAdornment:i,isRequired:l,isErrored:c,showCount:s,inputStyle:u,style:d,errorText:h,maxLength:p,...f},m)=>e.createElement(Jm,{
3905
3906
  $inline:n,$isErrored:c,disabled:f.disabled,style:d},e.createElement(Fr,{
3906
3907
  htmlFor:f.id,className:"input-label"
3907
3908
  },t,t&&l&&e.createElement(jr,null,"*")),e.createElement(Qm,{
@@ -3913,7 +3914,7 @@ maxLength:p,...f,"aria-invalid":c,ref:m,style:u
3913
3914
  }),s&&(p||0)>0&&e.createElement(Xm,{isTa:!0,className:"end-max-length"
3914
3915
  },`${"string"==typeof f.value?f.value.length:`${f.value||""}`.length}/${p||0}`),i&&e.createElement("div",{
3915
3916
  className:"end-adornment"},i)),o&&e.createElement("div",{className:"end-label"
3916
- },o)),c&&h&&e.createElement(ws,null,h)))),nv={mini:2,small:2.5,medium:4,big:5
3917
+ },o)),c&&h&&e.createElement(Hs,null,h)))),nv={mini:2,small:2.5,medium:4,big:5
3917
3918
  },rv={slow:1,medium:.7,fast:.4},av={mini:12,small:16,medium:24,big:32},ov=cn`
3918
3919
  to { transform: rotate(360deg); }
3919
3920
  `,iv=on.div`
@@ -3956,52 +3957,52 @@ const a="string"==typeof t?t:t?.[r],o=t?.[r]??""
3956
3957
  ;return o&&""!==o||console.warn("No value for item",t),
3957
3958
  e.createElement(e.Fragment,null,m?m(t,{key:a,value:o??a,disabled:!!t.disabled,
3958
3959
  showTick:h}):e.createElement(dv,{key:a,value:o||a,disabled:!!t.disabled,
3959
- showTick:h},p(t,"list-item")))})))))))))),w&&z&&e.createElement(ws,null,z))
3960
- },uv=({itemIdentifier:t="id",label:n,id:r,items:a=[],placeholder:o,readOnly:i=!1,disabled:l=!1,isRequired:c=!1,hideClear:s=!1,itemToString:u,name:d,filterKey:h,width:p,customValues:f,onCustomValueAdd:m,itemComponent:v,emptyItemsText:g,getCustomMessage:y,style:b,onChange:w,useComboboxProps:C,isErrored:z,errorText:M,defaultSelectedItem:x,isMenuLoading:E})=>{
3961
- const S=qt(),[_,H]=e.useState(a),{isOpen:D,selectedItem:V,getToggleButtonProps:L,getLabelProps:A,getMenuProps:k,openMenu:T,highlightedIndex:R,setHighlightedIndex:P,setInputValue:I,inputValue:O,getItemProps:N,getInputProps:F}=wm({
3962
- id:r,selectedItem:x,items:_,onSelectedItemChange:({selectedItem:e})=>{
3960
+ showTick:h},p(t,"list-item")))})))))))))),w&&z&&e.createElement(Hs,null,z))
3961
+ },uv=({itemIdentifier:t="id",label:n,id:r,items:a=[],placeholder:o,readOnly:i=!1,disabled:l=!1,isRequired:c=!1,hideClear:s=!1,itemToString:u,name:d,filterKey:h,width:p,customValues:f,onCustomValueAdd:m,itemComponent:v,emptyItemsText:g,getCustomMessage:y,style:b,onChange:w,useComboboxProps:C,isErrored:z,errorText:M,defaultSelectedItem:x,isMenuLoading:E,clearInputOnselect:S=!1})=>{
3962
+ const _=qt(),[H,D]=e.useState(a),{isOpen:V,selectedItem:L,getToggleButtonProps:A,getLabelProps:k,getMenuProps:T,openMenu:R,highlightedIndex:P,setHighlightedIndex:I,setInputValue:O,inputValue:N,getItemProps:F,getInputProps:B}=wm({
3963
+ id:r,selectedItem:x,items:H,onSelectedItemChange:({selectedItem:e})=>{
3963
3964
  console.log("onSelectedItemChange",{sI:e}),w?.(e??null)},
3964
3965
  onIsOpenChange:({isOpen:e})=>{
3965
- if(e&&(""===O||V&&h&&(O||"").toLowerCase()===`${V?.[h||t]||""}`.toLowerCase()))H(a),
3966
- P(V?a.indexOf(V):-1);else{const t=V?u(V):"";V&&!e&&t!==O&&I(t)}e||H(a)},
3967
- onInputValueChange:({inputValue:e})=>{
3968
- D&&(""===e||V&&h&&(e||"").toLowerCase()===`${V?.[h||t]||""}`.toLowerCase())?H(a):H((n=>n.filter((n=>!e||("string"==typeof n?n:n?.[h||t]).toLowerCase().includes(e.toLowerCase())))))
3969
- },itemToString:e=>e?u(e,"downshift"):"",...C}),B=!l&&!i&&D
3966
+ if(e&&(""===N||L&&h&&(N||"").toLowerCase()===`${L?.[h||t]||""}`.toLowerCase()))D(a),
3967
+ I(L?a.indexOf(L):-1);else{const t=L?u(L):"";L&&!e&&t!==N&&O(t)}e||D(a),S&&O("")
3968
+ },onInputValueChange:({inputValue:e})=>{
3969
+ V&&(""===e||L&&h&&(e||"").toLowerCase()===`${L?.[h||t]||""}`.toLowerCase())?D(a):D((n=>n.filter((n=>!e||("string"==typeof n?n:n?.[h||t]).toLowerCase().includes(e.toLowerCase())))))
3970
+ },itemToString:e=>e?u(e,"downshift"):"",...C}),j=!l&&!i&&V
3970
3971
  ;return e.createElement(vh,{width:p},e.createElement(Fr,{
3971
- className:"input-label",...A({disabled:l,readOnly:i})
3972
- },n,n&&c&&e.createElement(jr,null,"*")),e.createElement(ev,{...F({name:d,
3972
+ className:"input-label",...k({disabled:l,readOnly:i})
3973
+ },n,n&&c&&e.createElement(jr,null,"*")),e.createElement(ev,{...B({name:d,
3973
3974
  readOnly:i,disabled:l}),placeholder:o,
3974
- endAdornment:e.createElement(zh,null,!l&&!i&&!s&&V&&e.createElement($r,{
3975
- "aria-label":"close",onClick:e=>{console.log("onClick WORKING"),I(""),w?.(null),
3976
- T(),e.stopPropagation()},style:{borderRadius:"50%"}},e.createElement(Mr,{
3977
- fill:S.colors.text.primary})),e.createElement($r,{...L({disabled:l,readOnly:i,
3978
- "aria-label":"toggle-button"})},e.createElement(mh,{$isOpen:B,
3979
- fill:S.colors.text.primary,width:8,height:8}))),style:b
3980
- }),!i&&!l&&e.createElement(yh,{$isOpen:D,...k({disabled:l,readOnly:i})
3981
- },E?e.createElement(Ch,null,e.createElement(lv,null)):e.createElement(e.Fragment,null,D&&0===_.length&&e.createElement(e.Fragment,null,f?e.createElement(bh,null,e.createElement(wh,{
3982
- onClick:e=>{e.stopPropagation(),m&&m({inputValue:O,customValues:!0}),I("")}
3983
- },y?.(O)||"Click to add")):e.createElement(bh,{readOnly:!0
3984
- },g||"No items")),D&&_.map(((n,r)=>{const a="string"==typeof n?n:n?.[t]
3985
- ;return e.createElement(e.Fragment,{key:a},v?v(n,{isHilighted:R===r,
3986
- isSelected:V===n,key:a,...N({item:n,index:r})}):e.createElement(bh,{
3987
- $isHilighted:R===r,$isSelected:V===n,key:a,...N({item:n,index:r})
3988
- },u(n),V===n&&e.createElement(xr,{fill:S.colors.common.accent})))
3989
- })))),z&&M&&e.createElement(ws,null,M))
3975
+ endAdornment:e.createElement(zh,null,!l&&!i&&!s&&L&&e.createElement($r,{
3976
+ "aria-label":"close",onClick:e=>{O(""),w?.(null),R(),e.stopPropagation()},
3977
+ style:{borderRadius:"50%"}},e.createElement(Mr,{fill:_.colors.text.primary
3978
+ })),e.createElement($r,{...A({disabled:l,readOnly:i,"aria-label":"toggle-button"
3979
+ })},e.createElement(mh,{$isOpen:j,fill:_.colors.text.primary,width:8,height:8
3980
+ }))),style:b}),!i&&!l&&e.createElement(yh,{$isOpen:V,...T({disabled:l,readOnly:i
3981
+ })
3982
+ },E?e.createElement(Ch,null,e.createElement(lv,null)):e.createElement(e.Fragment,null,V&&0===H.length&&e.createElement(e.Fragment,null,f?e.createElement(bh,null,e.createElement(wh,{
3983
+ onClick:e=>{e.stopPropagation(),m&&m({inputValue:N,customValues:!0}),O("")}
3984
+ },y?.(N)||"Click to add")):e.createElement(bh,{readOnly:!0
3985
+ },g||"No items")),V&&H.map(((n,r)=>{const a="string"==typeof n?n:n?.[t]
3986
+ ;return e.createElement(e.Fragment,{key:a},v?v(n,{isHilighted:P===r,
3987
+ isSelected:L===n,key:a,...F({item:n,index:r})}):e.createElement(bh,{
3988
+ $isHilighted:P===r,$isSelected:L===n,key:a,...F({item:n,index:r})
3989
+ },u(n),L===n&&e.createElement(xr,{fill:_.colors.common.accent})))
3990
+ })))),z&&M&&e.createElement(Hs,null,M))
3990
3991
  },dv=e.forwardRef((({children:t,showTick:n=!0,...r},a)=>{const o=qt()
3991
3992
  ;return e.createElement(Dh,{className:"SelectItem",...r,ref:a
3992
3993
  },e.createElement(kh,{className:"SelectItemText"},t),n&&e.createElement(Rh,{
3993
3994
  className:"SelectItemIndicator"},e.createElement(xr,{fill:o.colors.common.accent
3994
3995
  })))})),hv=t=>{
3995
3996
  const{isOpen:n,trigger:r,closeMenuCallback:a,idAccessor:o="id",nameAccessor:i="name",onSelect:l,itemComponent:c,showArrow:s=!1,options:u=[],value:d,side:h="bottom",align:p="center",sideOffset:f=4,alignOffset:m,arrowPadding:v,avoidCollisions:g}=t
3996
- ;return e.createElement(Pc,{open:n,onOpenChange:e=>{e||a?.()}
3997
- },e.createElement(Ic,{asChild:!0
3998
- },e.createElement(Zr,null,r)),e.createElement(Oc,null,e.createElement(Fc,{
3997
+ ;return e.createElement(Uc,{open:n,onOpenChange:e=>{e||a?.()}
3998
+ },e.createElement(Yc,{asChild:!0
3999
+ },e.createElement(Zr,null,r)),e.createElement(Wc,null,e.createElement(Kc,{
3999
4000
  side:h,sideOffset:f,align:p,alignOffset:m,arrowPadding:v,avoidCollisions:g,
4000
4001
  className:"DropdownMenuContent"},u.map((t=>c?c(t,{disabled:t?.disabled,
4001
4002
  className:"DropdownMenuItem",key:t?.[o],onSelect:()=>l?.(t),
4002
- isSelected:d?.[o]===t?.[o]}):e.createElement(Bc,{id:t?.[o],disabled:t?.disabled,
4003
+ isSelected:d?.[o]===t?.[o]}):e.createElement(qc,{id:t?.[o],disabled:t?.disabled,
4003
4004
  className:"DropdownMenuItem",key:t?.[o],onSelect:()=>l?.(t),
4004
- $isSelected:d?.[o]===t?.[o]},t?.[i]))),s&&e.createElement(Nc,{
4005
+ $isSelected:d?.[o]===t?.[o]},t?.[i]))),s&&e.createElement(Gc,{
4005
4006
  className:"DropdownMenuArrow"}))))},pv={"top-center":{from:{left:"50%",
4006
4007
  top:"16px",y:"-8px",x:"-50%"},enter:{left:"50%",top:"16px",y:"0",x:"-50%"},
4007
4008
  leave:{left:"50%",top:"16px",y:"8px",x:"-50%"}},"top-left":{from:{left:"16px",
@@ -4085,7 +4086,7 @@ medium:"600px",large:"800px","x-large":"1200px"},mv={"top-center":cn`
4085
4086
  to {
4086
4087
  transform: translate(0, 0);
4087
4088
  }
4088
- `},vv=on(iu)``,gv=on(lu)``,yv=on(cu)`
4089
+ `},vv=on(fu)``,gv=on(mu)``,yv=on(vu)`
4089
4090
  background-color: ${({theme:e})=>e.colors.common.black}40;
4090
4091
  position: fixed;
4091
4092
  inset: 0;
@@ -4098,7 +4099,7 @@ medium:"600px",large:"800px","x-large":"1200px"},mv={"top-center":cn`
4098
4099
  &[data-state='closed'] {
4099
4100
  animation-name: ${Qr};
4100
4101
  }
4101
- `,bv=on(su)`
4102
+ `,bv=on(gu)`
4102
4103
  background-color: white;
4103
4104
  border-radius: 8px;
4104
4105
  box-shadow: 0 2px 18px 0 rgba(18, 52, 77, 0.2);
@@ -9051,7 +9052,7 @@ void 0!==t.handleDocumentFocus&&document.addEventListener("focus",t.handleDocume
9051
9052
  }),[A,k,X,Q,q]),re=null!==(a=function(e){var t=r.useRef()
9052
9053
  ;return r.useEffect((function(){t.current=e}),[e]),t.current}(y))&&void 0!==a&&a
9053
9054
  ;r.useEffect((function(){y&&B(!0),!re&&y&&te(),re&&!y&&ne()
9054
- }),[y,te,ne,re]),r.useEffect((function(){return function(){y&&ne()}}),[])
9055
+ }),[y,te,ne,re]),r.useEffect((function(){return function(){ne()}}),[])
9055
9056
  ;var ae=r.useCallback((function(e){var t=PM(j)
9056
9057
  ;_&&t instanceof HTMLElement&&t.focus(),null==C||C(e)
9057
9058
  }),[C,_]),oe=r.useCallback((function(){}),[]),ie=r.useCallback((function(e){
@@ -12921,11 +12922,11 @@ className:"TriggerButtonWrapper",onMouseEnter:()=>{i&&b(!0)}
12921
12922
  },n)),e.createElement(EI,null,e.createElement(CI,{forceMount:!0,
12922
12923
  className:"PopoverContent",onMouseLeave:()=>{a&&(b(!1),d?.())},
12923
12924
  onInteractOutside:()=>{b(!1),d?.()},side:w,align:o,sideOffset:8,
12924
- avoidCollisions:l,...h},t,r&&e.createElement(zI,null))))},HI=on.div``,DI=on(ls)`
12925
+ avoidCollisions:l,...h},t,r&&e.createElement(zI,null))))},HI=on.div``,DI=on(ms)`
12925
12926
  display: flex;
12926
12927
  flex-direction: column;
12927
12928
  gap: 4px;
12928
- `,VI=on(ss)`
12929
+ `,VI=on(gs)`
12929
12930
  display: flex;
12930
12931
  align-items: center;
12931
12932
  justify-content: center;
@@ -12940,7 +12941,7 @@ avoidCollisions:l,...h},t,r&&e.createElement(zI,null))))},HI=on.div``,DI=on(ls)`
12940
12941
  border-radius: 50%;
12941
12942
  background-color: ${({theme:e})=>e.colors.common.white};
12942
12943
  }
12943
- `,LI=on(cs)`
12944
+ `,LI=on(vs)`
12944
12945
  background-color: ${({theme:e})=>e.colors.common.white};
12945
12946
  width: 14px;
12946
12947
  height: 14px;
@@ -14883,8 +14884,8 @@ uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length
14883
14884
  getDefaultOptions:e=>({onGroupingChange:xF("grouping",e),
14884
14885
  groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{
14885
14886
  t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))
14886
- },e.getCanGroup=()=>{var n,r,a,o
14887
- ;return null!=(n=null==(r=null!=(a=null==(o=e.columnDef.enableGrouping)||o)?a:t.options.enableGrouping)||r)?n:!!e.accessorFn
14887
+ },e.getCanGroup=()=>{var n,r
14888
+ ;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)
14888
14889
  },e.getIsGrouped=()=>{var n
14889
14890
  ;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)
14890
14891
  },e.getGroupedIndex=()=>{var n
@@ -15090,15 +15091,8 @@ e.getGlobalAutoFilterFn=()=>$F.includesString,e.getGlobalFilterFn=()=>{var t,n
15090
15091
  },e.setGlobalFilter=t=>{
15091
15092
  null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)
15092
15093
  },e.resetGlobalFilter=t=>{
15093
- e.setGlobalFilter(t?void 0:e.initialState.globalFilter)
15094
- },e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),
15095
- e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),
15096
- e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),
15097
- e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,
15098
- e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),
15099
- e.getGlobalFacetedMinMaxValues=()=>{
15100
- if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}
15101
- },aB={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({
15094
+ e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},aB={
15095
+ getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({
15102
15096
  onExpandedChange:xF("expanded",e),paginateExpandedRows:!0}),createTable:e=>{
15103
15097
  let t=!1,n=!1;e._autoResetExpanded=()=>{var r,a;if(t){
15104
15098
  if(null!=(r=null!=(a=e.options.autoResetAll)?a:e.options.autoResetExpanded)?r:!e.options.manualExpanding){
@@ -15298,10 +15292,18 @@ e.resetSorting=t=>{var n,r
15298
15292
  },e.getPreSortedRowModel=()=>e.getGroupedRowModel(),
15299
15293
  e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),
15300
15294
  e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())
15301
- }},gB=[VF,tB,qF,ZF,kF,YF,rB,vB,KF,aB,{getInitialState:e=>({...e,pagination:{
15302
- pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),
15303
- getDefaultOptions:e=>({onPaginationChange:xF("pagination",e)}),createTable:e=>{
15304
- let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,a;if(t){
15295
+ }},gB=[VF,tB,qF,ZF,kF,YF,{createTable:e=>{
15296
+ e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),
15297
+ e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),
15298
+ e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),
15299
+ e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,
15300
+ e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),
15301
+ e.getGlobalFacetedMinMaxValues=()=>{
15302
+ if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}
15303
+ },rB,vB,KF,aB,{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,
15304
+ ...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({
15305
+ onPaginationChange:xF("pagination",e)}),createTable:e=>{let t=!1,n=!1
15306
+ ;e._autoResetPageIndex=()=>{var r,a;if(t){
15305
15307
  if(null!=(r=null!=(a=e.options.autoResetAll)?a:e.options.autoResetPageIndex)?r:!e.options.manualPagination){
15306
15308
  if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{
15307
15309
  t=!0}))
@@ -15622,7 +15624,7 @@ onClick:()=>{const e={};t.getAllColumns().forEach((t=>{e[t.id]=t.getIsVisible()
15622
15624
  },"Reset")),e.createElement(jB,null,e.createElement(UB,null,e.createElement(ev,{
15623
15625
  startAdornment:e.createElement(ZB,{viewBox:"0 0 18px 18px"}),
15624
15626
  placeholder:"Search columns"}),e.createElement(fa,{weight:"semi-bold"
15625
- },"Choose columns"),e.createElement(YB,null,t.getAllColumns().filter((e=>!XB.includes(e.id))).map((n=>e.createElement(Ts,{
15627
+ },"Choose columns"),e.createElement(YB,null,t.getAllColumns().filter((e=>!XB.includes(e.id))).map((n=>e.createElement(js,{
15626
15628
  key:n.id,label:n.columnDef.header?.toString(),checked:!!r[n.id],
15627
15629
  onCheckedChange:e=>{const r=t.getAllColumns().find((e=>e.id===n.id));a((t=>({
15628
15630
  ...t,[n.id]:!0===e
@@ -15749,7 +15751,7 @@ onFocusFromOutsideViewport:()=>{Uj(v({tabbingDirection:"forwards"}))}
15749
15751
  ref:p}))),m&&e.createElement(Dj,{ref:d,onFocusFromOutsideViewport:()=>{Uj(v({
15750
15752
  tabbingDirection:"backwards"}))}}))})),Dj=e.forwardRef(((t,n)=>{
15751
15753
  const{__scopeToast:r,onFocusFromOutsideViewport:a,...o}=t,i=Mj("ToastFocusProxy",r)
15752
- ;return e.createElement(Xu,un({"aria-hidden":!0,tabIndex:0},o,{ref:n,style:{
15754
+ ;return e.createElement(od,un({"aria-hidden":!0,tabIndex:0},o,{ref:n,style:{
15753
15755
  position:"fixed"},onFocus:e=>{var t;const n=e.relatedTarget
15754
15756
  ;!(null!==(t=i.viewport)&&void 0!==t&&t.contains(n))&&a()}}))
15755
15757
  })),Vj="Toast",Lj=e.forwardRef(((t,n)=>{
@@ -15826,7 +15828,7 @@ const{__scopeToast:n,children:r,...a}=t,o=Mj(Vj,n),[i,l]=e.useState(!1),[c,s]=e.
15826
15828
  ()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(n)}}),[t])
15827
15829
  }((()=>l(!0))),e.useEffect((()=>{const e=window.setTimeout((()=>s(!0)),1e3)
15828
15830
  ;return()=>window.clearTimeout(e)}),[]),c?null:e.createElement(Ri,{asChild:!0
15829
- },e.createElement(Xu,a,i&&e.createElement(e.Fragment,null,o.label," ",r)))
15831
+ },e.createElement(od,a,i&&e.createElement(e.Fragment,null,o.label," ",r)))
15830
15832
  },Pj=e.forwardRef(((t,n)=>{const{__scopeToast:r,...a}=t
15831
15833
  ;return e.createElement(xn.div,un({},a,{ref:n}))})),Ij=e.forwardRef(((t,n)=>{
15832
15834
  const{altText:r,...a}=t;return r?e.createElement(Nj,{altText:r,asChild:!0
@@ -16043,7 +16045,7 @@ y((e=>!e)),v&&(m.current=e.isPropagationStopped(),m.current||e.stopPropagation()
16043
16045
  }))})),v&&e.createElement(y$,{control:h,bubbles:!m.current,name:a,value:s,
16044
16046
  checked:g,required:l,disabled:c,style:{transform:"translateX(-100%)"}}))
16045
16047
  })),y$=t=>{
16046
- const{control:n,checked:r,bubbles:a=!0,...o}=t,i=e.useRef(null),l=jc(r),c=fi(n)
16048
+ const{control:n,checked:r,bubbles:a=!0,...o}=t,i=e.useRef(null),l=Zc(r),c=fi(n)
16047
16049
  ;return e.useEffect((()=>{
16048
16050
  const e=i.current,t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set
16049
16051
  ;if(l!==r&&n){const t=new Event("click",{bubbles:a})
@@ -16197,7 +16199,7 @@ style:{...c.style,
16197
16199
  "--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)",
16198
16200
  "--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}
16199
16201
  }),e.createElement(gn,null,a),e.createElement(U$,{scope:r,isInside:!0
16200
- },e.createElement(Qu,{id:s.contentId,role:"tooltip"},o||a))))}));const G$=t=>{
16202
+ },e.createElement(id,{id:s.contentId,role:"tooltip"},o||a))))}));const G$=t=>{
16201
16203
  const{__scopeTooltip:n,delayDuration:r=D$,skipDelayDuration:a=300,disableHoverableContent:o=!1,children:i}=t,[l,c]=e.useState(!0),s=e.useRef(!1),u=e.useRef(0)
16202
16204
  ;return e.useEffect((()=>{const e=u.current;return()=>window.clearTimeout(e)
16203
16205
  }),[]),e.createElement(L$,{scope:n,isOpenDelayed:l,delayDuration:r,
@@ -16290,55 +16292,55 @@ fill:h.colors.text.semantic[r]
16290
16292
  target:"_blank",rel:"noreferrer",href:o?.href??"#"
16291
16293
  },o.linkText)),s&&e.createElement($r,{onClick:()=>{m(!1),t?.()}
16292
16294
  },e.createElement(Mr,{fill:h.colors.text.primary}))):null
16293
- },exports.BoxedRadio=({options:t,defaultValue:n,idAccessor:r="id",onChange:a,isErrored:o,errorText:i,disabled:l=!1,getTextContent:c,className:s,id:u,isRequired:d,readOnly:h,itemComponent:p,label:f,value:m,customIndicator:v,...g})=>e.createElement(us,{
16295
+ },exports.BoxedRadio=({options:t,defaultValue:n,idAccessor:r="id",onChange:a,isErrored:o,errorText:i,disabled:l=!1,getTextContent:c,className:s,id:u,isRequired:d,readOnly:h,itemComponent:p,label:f,value:m,customIndicator:v,...g})=>e.createElement(ys,{
16294
16296
  className:"StyledBoxedRadio"},f&&e.createElement(Fr,{htmlFor:u,
16295
16297
  className:"input-label"
16296
- },f,f&&d&&e.createElement(jr,null,"*")),e.createElement(ds,{defaultValue:n,
16298
+ },f,f&&d&&e.createElement(jr,null,"*")),e.createElement(bs,{defaultValue:n,
16297
16299
  value:m,onValueChange:e=>a?.(e),"aria-readonly":h,id:u,"aria-label":f,
16298
16300
  "aria-labelledby":u,"aria-invalid":o,
16299
16301
  className:`BoxedRadioGroupRoot ${s??""}`.trim(),...g},t?.map((t=>{
16300
- const n=c?.(t,"name")??"",a=c?.(t,"description")??"";return e.createElement(ms,{
16302
+ const n=c?.(t,"name")??"",a=c?.(t,"description")??"";return e.createElement(Ms,{
16301
16303
  $isErrored:!1,disabled:t.disabled||l,key:t?.[r],
16302
16304
  className:("BoxedRadioContainer "+(m===t?.[r]?"selected":"")).trim()
16303
- },e.createElement(fs,{className:"BoxedRadioGroupItem",disabled:t.disabled||l,
16304
- value:t?.[r],id:t?.[r],"aria-label":n,hasDescription:!!a},e.createElement(hs,{
16305
+ },e.createElement(zs,{className:"BoxedRadioGroupItem",disabled:t.disabled||l,
16306
+ value:t?.[r],id:t?.[r],"aria-label":n,hasDescription:!!a},e.createElement(ws,{
16305
16307
  hasDescription:!!a,className:"BoxedRadioGroupIndicatorHolder"
16306
- },v??e.createElement(ps,{className:"BoxedRadioGroupIndicator"
16307
- }))),e.createElement(ys,{className:"BoxedRadioLabel",htmlFor:t?.[r]
16308
- },p?p(t):e.createElement(e.Fragment,null,a?e.createElement(vs,{
16308
+ },v??e.createElement(Cs,{className:"BoxedRadioGroupIndicator"
16309
+ }))),e.createElement(Ss,{className:"BoxedRadioLabel",htmlFor:t?.[r]
16310
+ },p?p(t):e.createElement(e.Fragment,null,a?e.createElement(xs,{
16309
16311
  className:"BoxedRadioLabelHeading"
16310
- },n):e.createElement(e.Fragment,null,n),a&&e.createElement(gs,{
16312
+ },n):e.createElement(e.Fragment,null,n),a&&e.createElement(Es,{
16311
16313
  className:"BoxedRadioLabelDescription"},a))))
16312
- }))),o&&i&&e.createElement(ws,null,i)),
16314
+ }))),o&&i&&e.createElement(Hs,null,i)),
16313
16315
  exports.Button=wa,exports.ButtonDropdown=({size:t="normal",variant:n="primary",loading:r=!1,inline:a=!0,defaultSelectedItem:o,idAccessor:i="id",nameAccessor:l="name",onClick:c,options:s,side:u="bottom",sideOffset:d=4,align:h="end",alignOffset:p,arrowPadding:f,avoidCollisions:m,disabled:v,id:g,name:y})=>e.createElement("div",{
16314
16316
  style:{display:"flex"}},e.createElement(Ma,{id:g,name:y,size:t,variant:n,
16315
16317
  inline:a,disabled:v||r,"aria-disabled":v||r,onClick:e=>c?.(o,e),
16316
16318
  "aria-describedby":"string"===(typeof o?.[l]??s?.[0]?.[l])?o?.[l]??s?.[0]?.[l]:void 0
16317
- },e.createElement("span",null,o?.[l]??s?.[0]?.[l]??"")),e.createElement(Pc,null,e.createElement(Ic,{
16319
+ },e.createElement("span",null,o?.[l]??s?.[0]?.[l]??"")),e.createElement(Uc,null,e.createElement(Yc,{
16318
16320
  asChild:!0},e.createElement(xa,{id:`${g}-more`,name:`${y}-more`,size:t,
16319
16321
  variant:n,inline:a,disabled:v||r,"aria-disabled":v||r,
16320
16322
  "aria-label":"Additional options"},e.createElement(za,{variant:n
16321
- }))),e.createElement(Oc,null,e.createElement(Fc,{side:u,sideOffset:d,align:h,
16323
+ }))),e.createElement(Wc,null,e.createElement(Kc,{side:u,sideOffset:d,align:h,
16322
16324
  alignOffset:p,arrowPadding:f,avoidCollisions:m,className:"DropdownMenuContent"
16323
- },(s?.filter((e=>e?.[i]!==o?.[i]))??[]).map((t=>e.createElement(Bc,{id:t?.[i],
16325
+ },(s?.filter((e=>e?.[i]!==o?.[i]))??[]).map((t=>e.createElement(qc,{id:t?.[i],
16324
16326
  disabled:t?.disabled,className:"DropdownMenuItem",key:t?.[i],onSelect:()=>c?.(t)
16325
16327
  },t?.[l]))))))),
16326
16328
  exports.CardActions=Wr,exports.CardContent=Yr,exports.CardDescription=Kr,
16327
16329
  exports.CardText=qr,
16328
- exports.CardTitle=Gr,exports.Checkbox=Ts,exports.Checkmark=_r,
16330
+ exports.CardTitle=Gr,exports.Checkbox=js,exports.Checkmark=_r,
16329
16331
  exports.ChevronUp=zr,
16330
- exports.Confirmation=({isOpen:t,title:n,description:r,onConfirm:a,onDismiss:o,cancelButtonText:i,children:l,cancelButtonDisabled:c,confirmButtonDisabled:s,confirmButtonText:u,clickOutToClose:d=!1,bodyStyles:h,contentStyles:p,footerStyles:f,width:m="520px"})=>e.createElement(Lu,{
16332
+ exports.Confirmation=({isOpen:t,title:n,description:r,onConfirm:a,onDismiss:o,cancelButtonText:i,children:l,cancelButtonDisabled:c,confirmButtonDisabled:s,confirmButtonText:u,clickOutToClose:d=!1,bodyStyles:h,contentStyles:p,footerStyles:f,width:m="520px"})=>e.createElement(Nu,{
16331
16333
  open:t,onOpenChange:e=>{e||o?.("root")}
16332
- },e.createElement(Au,null,e.createElement(Ru,{forceMount:!0,style:h,
16334
+ },e.createElement(Fu,null,e.createElement($u,{forceMount:!0,style:h,
16333
16335
  className:"AlertDialogOverlay",onClick:e=>{d&&o?.("overlay",e)}
16334
- }),e.createElement(Pu,{forceMount:!0,className:"AlertDialogContent",style:{...p,
16335
- width:m}},n&&e.createElement(Iu,{$hasdescription:!!r,
16336
- className:"AlertDialogTitle"},n),r&&e.createElement(Ou,{$hasChildren:!!l,
16336
+ }),e.createElement(Uu,{forceMount:!0,className:"AlertDialogContent",style:{...p,
16337
+ width:m}},n&&e.createElement(Yu,{$hasdescription:!!r,
16338
+ className:"AlertDialogTitle"},n),r&&e.createElement(Wu,{$hasChildren:!!l,
16337
16339
  className:"AlertDialogDescription"
16338
- },r),l?e.createElement(e.Fragment,null,l):null,e.createElement(Nu,{style:f
16339
- },i&&e.createElement(ku,{asChild:!0},e.createElement(wa,{variant:"secondary",
16340
+ },r),l?e.createElement(e.Fragment,null,l):null,e.createElement(Gu,{style:f
16341
+ },i&&e.createElement(Bu,{asChild:!0},e.createElement(wa,{variant:"secondary",
16340
16342
  autoFocus:!0,"aria-disabled":c,disabled:c,onClick:e=>{
16341
- e.preventDefault(),o?.("button",e)},"aria-label":i},i)),u&&e.createElement(Tu,{
16343
+ e.preventDefault(),o?.("button",e)},"aria-label":i},i)),u&&e.createElement(ju,{
16342
16344
  asChild:!0},e.createElement(wa,{variant:"primary","aria-disabled":s,disabled:s,
16343
16345
  onClick:e=>{e.preventDefault(),a?.(e)},"aria-label":u
16344
16346
  },u)))))),exports.CrossIcon=Mr,exports.DatePicker=t=>{
@@ -16353,7 +16355,7 @@ fill:!0,highlightCurrentDay:!0,inputProps:{placeholder:n||u,name:r,id:c,
16353
16355
  Dropdown:t=>e.createElement(QP,{...t,disabled:s})}},showActionsBar:!0,
16354
16356
  popoverProps:{minimal:!1,placement:"bottom-start",usePortal:!0},
16355
16357
  parseDate:e=>e?Ov(e).toDate():new Date,formatDate:e=>e?Ov(e).format(u):"",...d
16356
- }),i&&l&&e.createElement(ws,null,l))},exports.DateRangePicker=t=>{
16358
+ }),i&&l&&e.createElement(Hs,null,l))},exports.DateRangePicker=t=>{
16357
16359
  const{placeholder:n,name:r,isRequired:a,label:o,isErrored:i,errorText:l,id:c,disabled:s,displayFormat:u="YYYY-MM-DD",...d}=t
16358
16360
  ;return e.createElement(qP,{id:`date-picker-container-${c??""}`.trim(),
16359
16361
  "aria-invalid":i},o&&e.createElement(Fr,{htmlFor:t.id,className:"input-label"
@@ -16367,7 +16369,7 @@ Dropdown:t=>e.createElement(QP,{...t,disabled:s})}},
16367
16369
  footerElement:e.createElement(KP,null,e.createElement(GP,{onClick:()=>{
16368
16370
  d.onChange?.([null,null])}},"Clear")),popoverProps:{minimal:!1,
16369
16371
  placement:"bottom-start",usePortal:!0},parseDate:e=>e?Ov(e).toDate():new Date,
16370
- formatDate:e=>e?Ov(e).format(u):"",...d}),i&&l&&e.createElement(ws,null,l))
16372
+ formatDate:e=>e?Ov(e).format(u):"",...d}),i&&l&&e.createElement(Hs,null,l))
16371
16373
  },exports.DateTimePicker=t=>{
16372
16374
  const{placeholder:n,name:r,isRequired:a,label:o,isErrored:i,errorText:l,id:c,disabled:s,displayFormat:u="YYYY-MM-DD hh:mm A",...d}=t
16373
16375
  ;return e.createElement(qP,{id:`datetime-picker-container-${c??""}`.trim(),
@@ -16382,7 +16384,7 @@ Dropdown:t=>e.createElement(QP,{...t,disabled:s})}},showActionsBar:!0,
16382
16384
  timePrecision:"minute",timePickerProps:{useAmPm:!0,showArrowButtons:!1},
16383
16385
  showTimezoneSelect:!1,disableTimezoneSelect:!0,popoverProps:{minimal:!1,
16384
16386
  placement:"bottom-start",usePortal:!0},parseDate:e=>e?Ov(e).toDate():new Date,
16385
- formatDate:e=>e?Ov(e).format(u):"",...d}),i&&l&&e.createElement(ws,null,l))
16387
+ formatDate:e=>e?Ov(e).format(u):"",...d}),i&&l&&e.createElement(Hs,null,l))
16386
16388
  },exports.DateTimeRangePicker=t=>{
16387
16389
  const{placeholder:n,name:r,isRequired:a,label:o,isErrored:i,errorText:l,id:c,disabled:s,displayFormat:u="YYYY-MM-DD hh:mm A",...d}=t
16388
16390
  ;return e.createElement(qP,{id:`date-picker-container-${c??""}`.trim(),
@@ -16398,16 +16400,16 @@ timePickerProps:{useAmPm:!0,showArrowButtons:!1},
16398
16400
  footerElement:e.createElement(KP,null,e.createElement(GP,{onClick:()=>{
16399
16401
  d.onChange?.([null,null])}},"Clear")),popoverProps:{minimal:!1,
16400
16402
  placement:"bottom-start",usePortal:!0},parseDate:e=>e?Ov(e).toDate():new Date,
16401
- formatDate:e=>e?Ov(e).format(u):"",...d}),i&&l&&e.createElement(ws,null,l))
16403
+ formatDate:e=>e?Ov(e).format(u):"",...d}),i&&l&&e.createElement(Hs,null,l))
16402
16404
  },exports.Drawer=({isOpen:t,children:n,hideDismissIcon:r,customClass:a="",size:o="default",isFullHeight:i=!0,placement:l="right",clickOutToClose:c=!1,onDismiss:s})=>{
16403
- const u=qt();return e.createElement(Ku,{open:t,onOpenChange:e=>{e||s?.()}
16404
- },e.createElement(qu,null,e.createElement(Uu,{forceMount:!0,
16405
- className:"DialogOverlay",onClick:()=>{c&&s?.()}}),e.createElement(Yu,{
16405
+ const u=qt();return e.createElement(nd,{open:t,onOpenChange:e=>{e||s?.()}
16406
+ },e.createElement(rd,null,e.createElement(Qu,{forceMount:!0,
16407
+ className:"DialogOverlay",onClick:()=>{c&&s?.()}}),e.createElement(Ju,{
16406
16408
  forceMount:!0,className:`DialogContent ${a??""}`.trim(),isFullHeight:i,size:o,
16407
- placement:l},!r&&e.createElement(Gu,{asChild:!0},e.createElement(Wu,{
16409
+ placement:l},!r&&e.createElement(td,{asChild:!0},e.createElement(ed,{
16408
16410
  "aria-label":"Close"},e.createElement(Mr,{fill:u.colors.text.inverse}))),n)))
16409
16411
  },exports.Dropdown=cv,
16410
- exports.DropdownInputItem=bh,exports.DropdownItem=dv,exports.DropdownMenuItem=Bc,
16412
+ exports.DropdownInputItem=bh,exports.DropdownItem=dv,exports.DropdownMenuItem=qc,
16411
16413
  exports.ErrorIcon=Sr,
16412
16414
  exports.FreshLink=Ur,exports.IconButton=$r,exports.InfoIcon=Hr,exports.Input=ev,
16413
16415
  exports.InputLabel=Br,
@@ -16463,7 +16465,7 @@ const a="string"==typeof n?`${n}${r}`.trim():`${n?.[t]??""}${r}`.trim(),o=$.map(
16463
16465
  ;return e.createElement(bh,{$isHilighted:J===r,$isSelected:o,key:a,...ee({
16464
16466
  item:n,index:r})
16465
16467
  },V?V(n):e.createElement(e.Fragment,null,u?.(n)??"",o&&e.createElement(xr,{
16466
- fill:O.colors.common.accent})))})))),S&&H&&e.createElement(ws,null,H))
16468
+ fill:O.colors.common.accent})))})))),S&&H&&e.createElement(Hs,null,H))
16467
16469
  },exports.Popover=_I,
16468
16470
  exports.PopoverClose=SI,exports.PopoverTrigger=xI,exports.Radio=({checked:t,className:n,disabled:r,id:a,isRequired:o,label:i,name:l,readOnly:c,...s})=>e.createElement(DI,{
16469
16471
  className:`RadioGroupRoot ${n??""}`.trim(),id:a,name:l,
@@ -16485,19 +16487,19 @@ className:"RadioGroupItem",disabled:t.disabled,value:t?.[r],id:t?.[r],
16485
16487
  "aria-label":t?.[a]},e.createElement(VI,{className:"RadioGroupIndicator"
16486
16488
  })),e.createElement(Br,{className:"RadioLabel",disabled:t.disabled,
16487
16489
  htmlFor:t?.[r]
16488
- },t?.[a]))))),c&&s&&e.createElement(ws,null,s)),exports.RadixMenuItem=Tc,
16489
- exports.RadixSelectItem=nh,
16490
+ },t?.[a]))))),c&&s&&e.createElement(Hs,null,s)),exports.RadixMenuItem=Tc,
16491
+ exports.RadixSelectItem=uh,
16490
16492
  exports.Reorder=CF,exports.RequiredIndicator=jr,exports.StyledLabel=Fr,
16491
16493
  exports.Table=t=>{
16492
16494
  const{data:n,columns:a,showFooter:o=!1,infoComponent:i,isLoading:l,isFetching:c,emptyComponent:s,loadingComponent:u,actionComponent:d,headerComponent:h,filterComponent:p,hideTableOnEmpty:f,hideTopPagination:m,hideFilters:v,showTableOnLoading:g,hideLoaderOnTopPagination:y,hideActions:b,count:w,pageIndex:C=0,pageSize:z=20,enablePreviousPage:M,enableNextPage:x,hideColumnSettings:E=!0,hideBottomPagination:S,rowMenuOptions:_,onPreviousPageClick:H,onNextPageClick:D,disableRowSelect:V,hideSelectAllInTable:L,onSelectAllRows:A,onRowSelect:k,onMenuOptionSelect:T,onRowClick:R,columnOrder:P,setColumnOrder:I,setHiddenColumns:O,hiddenColumns:N,selectedRowIds:F={},setSelectedRowIds:B,dataKey:j="id",cellPropGetter:$,setPageIndex:U,rowPropGetter:Y}=t,W=qt(),[G,K]=e.useState(!v),q={
16493
16495
  accessor:(e,t)=>"function"==typeof e?{...t,accessorFn:e}:{...t,accessorKey:e},
16494
16496
  display:e=>e,group:e=>e},Z=-1===w||void 0===w,X=e.useMemo((()=>[...V?[]:[{
16495
16497
  id:"select",
16496
- header:({table:t})=>L?e.createElement("div",null):e.createElement(Ts,{
16498
+ header:({table:t})=>L?e.createElement("div",null):e.createElement(js,{
16497
16499
  checked:t.getIsSomeRowsSelected()?"indeterminate":t.getIsAllRowsSelected(),
16498
16500
  indeterminate:t.getIsSomeRowsSelected(),onCheckedChange:e=>{
16499
16501
  t.toggleAllPageRowsSelected(!0===e),A?.(!0===e)}}),
16500
- cell:({row:t})=>e.createElement(Ts,{checked:t.getIsSelected(),
16502
+ cell:({row:t})=>e.createElement(js,{checked:t.getIsSelected(),
16501
16503
  disabled:!t.getCanSelect(),indeterminate:t.getIsSomeSelected(),
16502
16504
  onCheckedChange:e=>{t.toggleSelected(!0===e),k?.(t.original,!0===e)}})
16503
16505
  }],...a.map((e=>q.accessor(e.id,{header:e.Header,id:e.id??e.Header,
@@ -16590,7 +16592,7 @@ exports.TabsList=pj,exports.TabsRoot=dj,
16590
16592
  exports.TabsTrigger=fj,exports.Tag=Tv,exports.TextArea=tv,
16591
16593
  exports.ThemeProvider=t=>e.createElement(Zt,{theme:t.theme
16592
16594
  },e.createElement(d$,null,t.children)),
16593
- exports.Themes=fh,exports.TickIcon=xr,exports.TimePicker=t=>{
16595
+ exports.Themes=$c,exports.TickIcon=xr,exports.TimePicker=t=>{
16594
16596
  const{isRequired:n,label:r,isErrored:a,errorText:o,id:i,disabled:l,precision:c="minute",useAmPm:s,value:u="",onChange:d}=t
16595
16597
  ;return e.createElement(UP,{id:`datetime-picker-container-${i??""}`.trim()
16596
16598
  },r&&e.createElement(Fr,{htmlFor:t.id,className:"input-label"
@@ -16625,7 +16627,7 @@ itemToString:e=>e?.name??"",placeholder:"--",style:{marginLeft:"4px"},
16625
16627
  showTick:!1,defaultSelectedItem:u?JP.find((e=>e.id===Ov(u).format("A"))):null,
16626
16628
  width:"65px",itemIdentifier:"id",items:JP,onChange:e=>{
16627
16629
  const t=Ov(new Date(u)).hour(Ov(u).hour()+("AM"===e?.id?-12:12))
16628
- ;d?.(t.toISOString())}})),a&&o&&e.createElement(ws,null,o))
16630
+ ;d?.(t.toISOString())}})),a&&o&&e.createElement(Hs,null,o))
16629
16631
  },exports.ToastProvider=d$,
16630
16632
  exports.Toggle=({handleChange:t,hasIcon:n=!1,on:r,isErrored:a,isRequired:o,size:i="md",thumbProps:l,...c})=>{
16631
16633
  const s=qt();return e.createElement(z$,{checked:r,onCheckedChange:e=>{t?.(e)},