freemium-ui 2.0.0-beta.70 → 2.0.0-beta.72

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