@qssolutions/ssas-registration-form 2.0.1 → 2.0.2

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.
@@ -106,5 +106,5 @@ class mk{constructor(e){this._isUncontrolledCompletely=e}isUncontrolledCompletel
106
106
  /*!
107
107
  * Copyright (c) Microsoft Corporation. All rights reserved.
108
108
  * Licensed under the MIT License.
109
- */(i);const e=i.document;xk(e,_k,c),xk(e,"mousedown",d),xk(i,"keydown",f),xk(e,"touchstart",u),xk(e,"touchend",u),xk(e,"touchcancel",u),i=void 0},get isNavigatingWithKeyboard(){return l},set isNavigatingWithKeyboard(e){s(e)}}}function Ck(e,t){const r=e,n="k"+ ++Bk;let o,a=r;const i=[],l=r.__keyborg;o=l?l.core:Ek(r,t);const s={isNavigatingWithKeyboard:()=>!!o?.isNavigatingWithKeyboard,subscribe(e){i.push(e)},unsubscribe(e){const t=i.indexOf(e);t>=0&&i.splice(t,1)},setVal(e){o&&(o.isNavigatingWithKeyboard=e)},_cb:i,dispose(){const e=a?.__keyborg;e?.refs[n]&&(delete e.refs[n],0===Object.keys(e.refs).length&&(e.core.dispose(),delete a.__keyborg)),i.length=0,o=void 0,a=void 0}};return l?l.refs[n]=s:r.__keyborg={core:o,refs:{[n]:s}},s}function zk(e){e.dispose()}const Nk="data-fui-focus-visible",Tk="data-fui-focus-within";function Fk(e,t){if(Rk(e))return()=>{};const r={current:void 0},n=Ck(t);function o(e){n.isNavigatingWithKeyboard()&&nw(e)&&(r.current=e,e.setAttribute(Nk,""))}function a(){r.current&&(r.current.removeAttribute(Nk),r.current=void 0)}n.subscribe(e=>{e?o(t.document.activeElement):a()});const i=e=>{a();o(e.composedPath()[0])},l=t=>{(!t.relatedTarget||nw(t.relatedTarget)&&!e.contains(t.relatedTarget))&&a()};return e.addEventListener(_k,i),e.addEventListener("focusout",l),e.focusVisible=!0,e.contains(t.document.activeElement)&&o(t.document.activeElement),()=>{a(),e.removeEventListener(_k,i),e.removeEventListener("focusout",l),e.focusVisible=void 0,zk(n)}}function Rk(e){return!!e&&(!!e.focusVisible||Rk(null==e?void 0:e.parentElement))}function Pk(e={}){const t=Ny(),r=L.useRef(null);var n;const o=null!==(n=e.targetDocument)&&void 0!==n?n:t.targetDocument;return L.useEffect(()=>{if((null==o?void 0:o.defaultView)&&r.current)return Fk(r.current,o.defaultView)},[r,o]),r}function Ok(e,t){const r=Ck(t);r.subscribe(t=>{t||jk(e)});const n=t=>{r.isNavigatingWithKeyboard()&&Dk(t.target)&&function(e){e.setAttribute(Tk,"")}(e)},o=t=>{(!t.relatedTarget||Dk(t.relatedTarget)&&!e.contains(t.relatedTarget))&&jk(e)};return e.addEventListener(_k,n),e.addEventListener("focusout",o),()=>{e.removeEventListener(_k,n),e.removeEventListener("focusout",o),zk(r)}}function jk(e){e.removeAttribute(Tk)}function Dk(e){return!!e&&Boolean(e&&"object"==typeof e&&"classList"in e&&"contains"in e)}function Ak(){const{targetDocument:e}=Ny(),t=L.useRef(null);return L.useEffect(()=>{if((null==e?void 0:e.defaultView)&&t.current)return Ok(t.current,e.defaultView)},[t,e]),t}function Ik(){const{targetDocument:e}=Ny(),t=L.useRef(null);return L.useEffect(()=>{const r=null==e?void 0:e.defaultView;if(r){const e=Ck(r);return t.current=e,()=>{zk(e),t.current=null}}},[e]),t}function qk(e){const t=Ik(),r=Wy(e);L.useEffect(()=>{const e=t.current;if(e){const t=e=>{r(e)};return e.subscribe(t),t(e.isNavigatingWithKeyboard()),()=>{e.unsubscribe(t)}}},[t,r])}const Lk="\0",Mk=e=>{if(0!==e.length)return 1===e.length?e[0]:JSON.stringify(Object.assign({},...e.map(Hk)))},Hk=e=>{try{return JSON.parse(e)}catch{return{}}};const Vk="#1f1f1f",Wk="#242424",Uk="#292929",$k="#333333",Xk="#383838",Gk="#3d3d3d",Kk="#424242",Qk="#4d4d4d",Jk="#575757",Yk="#616161",Zk="#707070",ex="#b3b3b3",tx="#bdbdbd",rx="#c7c7c7",nx="#d1d1d1",ox="#d6d6d6",ax="#dbdbdb",ix="#e0e0e0",lx="#e6e6e6",sx="#ebebeb",cx="#f0f0f0",ux="#f5f5f5",dx="#fafafa",fx="#fcfcfc",px="rgba(255, 255, 255, 0.1)",hx="rgba(255, 255, 255, 0.2)",mx="rgba(255, 255, 255, 0.4)",gx="rgba(255, 255, 255, 0.5)",vx="rgba(255, 255, 255, 0.7)",bx="rgba(255, 255, 255, 0.8)",yx="rgba(0, 0, 0, 0.05)",wx="rgba(0, 0, 0, 0.1)",kx="rgba(0, 0, 0, 0.2)",xx="rgba(0, 0, 0, 0.3)",_x="rgba(0, 0, 0, 0.4)",Sx="rgba(0, 0, 0, 0.5)",Bx="#ffffff",Ex={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},Cx={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},zx={red:{shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},green:Cx,darkOrange:{shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},yellow:{shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},berry:{shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},lightGreen:{shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},marigold:{shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"}},Nx={darkRed:{shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},cranberry:Ex,pumpkin:{shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},peach:{shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},gold:{shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},brass:{shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},brown:{shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},forest:{shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},seafoam:{shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},darkGreen:{shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},lightTeal:{shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},teal:{shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},steel:{shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},blue:{shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},royalBlue:{shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},cornflower:{shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},navy:{shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},lavender:{shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},purple:{shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},grape:{shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},lilac:{shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},pink:{shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},magenta:{shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},plum:{shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},beige:{shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},mink:{shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},platinum:{shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},anchor:{shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"}},Tx={cranberry:Ex,green:Cx,orange:{shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"}},Fx={success:"green",warning:"orange",danger:"cranberry"},Rx=["red","green","darkOrange","yellow","berry","lightGreen","marigold"].reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background1`]:zx[t].tint60,[`colorPalette${r}Background2`]:zx[t].tint40,[`colorPalette${r}Background3`]:zx[t].primary,[`colorPalette${r}Foreground1`]:zx[t].shade10,[`colorPalette${r}Foreground2`]:zx[t].shade30,[`colorPalette${r}Foreground3`]:zx[t].primary,[`colorPalette${r}BorderActive`]:zx[t].primary,[`colorPalette${r}Border1`]:zx[t].tint40,[`colorPalette${r}Border2`]:zx[t].primary};return Object.assign(e,n)},{});Rx.colorPaletteYellowForeground1=zx.yellow.shade30,Rx.colorPaletteRedForegroundInverted=zx.red.tint20,Rx.colorPaletteGreenForegroundInverted=zx.green.tint20,Rx.colorPaletteYellowForegroundInverted=zx.yellow.tint40;const Px=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"].reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background2`]:Nx[t].tint40,[`colorPalette${r}Foreground2`]:Nx[t].shade30,[`colorPalette${r}BorderActive`]:Nx[t].primary};return Object.assign(e,n)},{}),Ox={...Rx,...Px},jx=Object.entries(Fx).reduce((e,[t,r])=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${n}Background1`]:Tx[r].tint60,[`colorStatus${n}Background2`]:Tx[r].tint40,[`colorStatus${n}Background3`]:Tx[r].primary,[`colorStatus${n}Foreground1`]:Tx[r].shade10,[`colorStatus${n}Foreground2`]:Tx[r].shade30,[`colorStatus${n}Foreground3`]:Tx[r].primary,[`colorStatus${n}ForegroundInverted`]:Tx[r].tint30,[`colorStatus${n}BorderActive`]:Tx[r].primary,[`colorStatus${n}Border1`]:Tx[r].tint40,[`colorStatus${n}Border2`]:Tx[r].primary};return Object.assign(e,o)},{});jx.colorStatusDangerBackground3Hover=Tx[Fx.danger].shade10,jx.colorStatusDangerBackground3Pressed=Tx[Fx.danger].shade20,jx.colorStatusWarningForeground1=Tx[Fx.warning].shade20,jx.colorStatusWarningForeground3=Tx[Fx.warning].shade20,jx.colorStatusWarningBorder2=Tx[Fx.warning].shade20;const Dx={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Ax={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},Ix={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},qx={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Lx={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Mx={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Hx={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},Vx="0",Wx="2px",Ux="4px",$x="6px",Xx="8px",Gx="10px",Kx="12px",Qx="16px",Jx="20px",Yx="24px",Zx="32px",e_={spacingHorizontalNone:Vx,spacingHorizontalXXS:Wx,spacingHorizontalXS:Ux,spacingHorizontalSNudge:$x,spacingHorizontalS:Xx,spacingHorizontalMNudge:Gx,spacingHorizontalM:Kx,spacingHorizontalL:Qx,spacingHorizontalXL:Jx,spacingHorizontalXXL:Yx,spacingHorizontalXXXL:Zx},t_={spacingVerticalNone:Vx,spacingVerticalXXS:Wx,spacingVerticalXS:Ux,spacingVerticalSNudge:$x,spacingVerticalS:Xx,spacingVerticalMNudge:Gx,spacingVerticalM:Kx,spacingVerticalL:Qx,spacingVerticalXL:Jx,spacingVerticalXXL:Yx,spacingVerticalXXXL:Zx},r_={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},n_="var(--colorBrandStroke1)",o_="var(--colorPaletteRedBorder2)";function a_(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const i_=e=>{const t=(e=>({colorNeutralForeground1:Wk,colorNeutralForeground1Hover:Wk,colorNeutralForeground1Pressed:Wk,colorNeutralForeground1Selected:Wk,colorNeutralForeground2:Kk,colorNeutralForeground2Hover:Wk,colorNeutralForeground2Pressed:Wk,colorNeutralForeground2Selected:Wk,colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:Yk,colorNeutralForeground3Hover:Kk,colorNeutralForeground3Pressed:Kk,colorNeutralForeground3Selected:Kk,colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:Zk,colorNeutralForeground5:Yk,colorNeutralForeground5Hover:Wk,colorNeutralForeground5Pressed:Wk,colorNeutralForeground5Selected:Wk,colorNeutralForegroundDisabled:tx,colorNeutralForegroundInvertedDisabled:mx,colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:Kk,colorNeutralForeground2LinkHover:Wk,colorNeutralForeground2LinkPressed:Wk,colorNeutralForeground2LinkSelected:Wk,colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:Wk,colorNeutralForegroundStaticInverted:Bx,colorNeutralForegroundInverted:Bx,colorNeutralForegroundInvertedHover:Bx,colorNeutralForegroundInvertedPressed:Bx,colorNeutralForegroundInvertedSelected:Bx,colorNeutralForegroundInverted2:Bx,colorNeutralForegroundOnBrand:Bx,colorNeutralForegroundInvertedLink:Bx,colorNeutralForegroundInvertedLinkHover:Bx,colorNeutralForegroundInvertedLinkPressed:Bx,colorNeutralForegroundInvertedLinkSelected:Bx,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Bx,colorNeutralBackground1Hover:ux,colorNeutralBackground1Pressed:ix,colorNeutralBackground1Selected:sx,colorNeutralBackground2:dx,colorNeutralBackground2Hover:cx,colorNeutralBackground2Pressed:ax,colorNeutralBackground2Selected:lx,colorNeutralBackground3:ux,colorNeutralBackground3Hover:sx,colorNeutralBackground3Pressed:ox,colorNeutralBackground3Selected:ix,colorNeutralBackground4:cx,colorNeutralBackground4Hover:dx,colorNeutralBackground4Pressed:ux,colorNeutralBackground4Selected:Bx,colorNeutralBackground5:sx,colorNeutralBackground5Hover:ux,colorNeutralBackground5Pressed:cx,colorNeutralBackground5Selected:dx,colorNeutralBackground6:lx,colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:sx,colorNeutralBackground7Pressed:ox,colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:fx,colorNeutralBackgroundInverted:Uk,colorNeutralBackgroundInvertedHover:Gk,colorNeutralBackgroundInvertedPressed:Vk,colorNeutralBackgroundInvertedSelected:Xk,colorNeutralBackgroundStatic:$k,colorNeutralBackgroundAlpha:gx,colorNeutralBackgroundAlpha2:bx,colorSubtleBackground:"transparent",colorSubtleBackgroundHover:ux,colorSubtleBackgroundPressed:ix,colorSubtleBackgroundSelected:sx,colorSubtleBackgroundLightAlphaHover:vx,colorSubtleBackgroundLightAlphaPressed:gx,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:wx,colorSubtleBackgroundInvertedPressed:xx,colorSubtleBackgroundInvertedSelected:kx,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:cx,colorNeutralBackgroundDisabled2:Bx,colorNeutralBackgroundInvertedDisabled:px,colorNeutralStencil1:lx,colorNeutralStencil2:dx,colorNeutralStencil1Alpha:wx,colorNeutralStencil2Alpha:yx,colorBackgroundOverlay:_x,colorScrollbarOverlay:Sx,colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Bx,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:dx,colorNeutralCardBackgroundHover:Bx,colorNeutralCardBackgroundPressed:ux,colorNeutralCardBackgroundSelected:sx,colorNeutralCardBackgroundDisabled:cx,colorNeutralStrokeAccessible:Yk,colorNeutralStrokeAccessibleHover:Jk,colorNeutralStrokeAccessiblePressed:Qk,colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:nx,colorNeutralStroke1Hover:rx,colorNeutralStroke1Pressed:ex,colorNeutralStroke1Selected:tx,colorNeutralStroke2:ix,colorNeutralStroke3:cx,colorNeutralStroke4:sx,colorNeutralStroke4Hover:ix,colorNeutralStroke4Pressed:ox,colorNeutralStroke4Selected:sx,colorNeutralStrokeSubtle:ix,colorNeutralStrokeOnBrand:Bx,colorNeutralStrokeOnBrand2:Bx,colorNeutralStrokeOnBrand2Hover:Bx,colorNeutralStrokeOnBrand2Pressed:Bx,colorNeutralStrokeOnBrand2Selected:Bx,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:ix,colorNeutralStrokeDisabled2:sx,colorNeutralStrokeInvertedDisabled:mx,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:yx,colorNeutralStrokeAlpha2:hx,colorStrokeFocus1:Bx,colorStrokeFocus2:"#000000",colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...Dx,...qx,...Lx,...Hx,...Mx,...r_,...e_,...t_,...Ix,...Ax,...t,...Ox,...jx,...a_(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...a_(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},l_="fui-FluentProvider",s_=Bb({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),c_=H.useInsertionEffect?H.useInsertionEffect:Vy,u_=e=>{const{targetDocument:t,theme:r,rendererAttributes:n}=e,o=L.useRef(void 0),a=$y(l_),i=n,l=L.useMemo(()=>function(e,t){const r=Kb(e);if(t)return`${r} { ${Kb(Object.keys(t).reduce((e,r)=>`${e}--${r}: ${t[r]}; `,""))} }`;return`${r} {}`}(`.${a}`,r),[r,a]);return function(e,t){L.useState(()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)})}(t,a),c_(()=>{const e=null==t?void 0:t.getElementById(a);return e?o.current=e:(o.current=((e,t)=>{if(!(null==e?void 0:e.head))return;const r=e.createElement("style");return Object.keys(t).forEach(e=>{r.setAttribute(e,t[e])}),e.head.appendChild(r),r})(t,{...i,id:a}),o.current&&((e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))})(o.current,l)),()=>{var e;null===(e=o.current)||void 0===e||e.remove()}},[a,t,l,i]),{styleTagId:a,rule:l}};const d_={},f_={},p_=(e,t)=>{const r=Ny(),n=L.useContext(ky),o=Ry(),a=L.useContext(Py)||d_,{applyStylesToPortals:i=!0,customStyleHooks_unstable:l,dir:s=r.dir,targetDocument:c=r.targetDocument,theme:u,overrides_unstable:d={}}=e,f=h_(n,u),p=h_(o,d),h=h_(a,l),m=Mb();var g;const{styleTagId:v,rule:b}=u_({theme:f,targetDocument:c,rendererAttributes:null!==(g=m.styleElementAttributes)&&void 0!==g?g:f_});return{applyStylesToPortals:i,customStyleHooks_unstable:h,dir:s,targetDocument:c,theme:f,overrides_unstable:p,themeClassName:v,components:{root:"div"},root:Zb(wy("div",{...e,dir:s,ref:Xy(t,Pk({targetDocument:c}))}),{elementType:"div"}),serverStyleProps:{cssRule:b,attributes:{...m.styleElementAttributes,id:v}}}};function h_(e,t){return e&&t?{...e,...t}:e||t}const m_=L.forwardRef((e,t)=>{const r=p_(e,t);(e=>{const t=Mb(),r=s_({dir:e.dir,renderer:t});e.root.className=bg(l_,e.themeClassName,r.root,e.root.className)})(r);const n=function(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:n,root:o,targetDocument:a,theme:i,themeClassName:l,overrides_unstable:s}=e,c=L.useMemo(()=>({dir:n,targetDocument:a}),[n,a]),[u]=L.useState(()=>({})),d=L.useMemo(()=>({textDirection:n}),[n]);return{customStyleHooks_unstable:r,overrides_unstable:s,provider:c,textDirection:n,iconDirection:d,tooltip:u,theme:i,themeClassName:t?o.className:l}}(r);return((e,t)=>cw(zy,{value:t.provider,children:cw(xy,{value:t.theme,children:cw(Sy,{value:t.themeClassName,children:cw(jy,{value:t.customStyleHooks_unstable,children:cw(By,{value:t.tooltip,children:cw(Vb,{dir:t.textDirection,children:cw(pw,{value:t.iconDirection,children:cw(Fy,{value:t.overrides_unstable,children:uw(e.root,{children:[Ly()?null:cw("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}))(r,n)});m_.displayName="FluentProvider";const g_=e=>{const t=L.createContext({value:{current:e},listeners:[],isDefault:!0});var r;return t.Provider=(r=t.Provider,e=>{const t=L.useRef(e.value),n=L.useRef(null);return n.current||(n.current={value:t,listeners:[]}),Vy(()=>{t.current=e.value,G.unstable_runWithPriority(G.unstable_NormalPriority,()=>{n.current.listeners.forEach(t=>{t(e.value)})})},[e.value]),L.createElement(r,{value:n.current},e.children)}),delete t.Consumer,t};function v_(e){return!L.useContext(e).isDefault}const b_="Enter",y_=" ",w_="ArrowDown",k_="ArrowUp";function x_(e,t){const{disabled:r,disabledFocusable:n=!1,"aria-disabled":o,onClick:a,onKeyDown:i,onKeyUp:l,...s}=null!=t?t:{},c="string"==typeof o?"true"===o:o,u=r||n||c,d=Wy(e=>{u?(e.preventDefault(),e.stopPropagation()):null==a||a(e)}),f=Wy(e=>{if(null==i||i(e),e.isDefaultPrevented())return;const t=e.key;if(u&&(t===b_||t===y_))return e.preventDefault(),void e.stopPropagation();t!==y_?t===b_&&(e.preventDefault(),e.currentTarget.click()):e.preventDefault()}),p=Wy(e=>{if(null==l||l(e),e.isDefaultPrevented())return;const t=e.key;if(u&&(t===b_||t===y_))return e.preventDefault(),void e.stopPropagation();t===y_&&(e.preventDefault(),e.currentTarget.click())});if("button"===e||void 0===e)return{...s,disabled:r&&!n,"aria-disabled":!!n||c,onClick:n?void 0:d,onKeyUp:n?void 0:l,onKeyDown:n?void 0:i};{const t=!!s.href;let o=t?void 0:"button";!o&&u&&(o="link");const a={role:o,tabIndex:n||!t&&!r?0:void 0,...s,onClick:d,onKeyUp:p,onKeyDown:f,"aria-disabled":u};return"a"===e&&u&&(a.href=void 0),a}}const __=()=>{},S_={controller:{active:__,blur:__,find:__,first:__,focus:__,focusLastActive:__,scrollActiveIntoView:__,last:__,next:__,prev:__,showAttributes:__,hideAttributes:__,showFocusVisibleAttributes:__,hideFocusVisibleAttributes:__}},B_=L.createContext(void 0),E_=B_.Provider,C_=()=>{var e;return null!==(e=L.useContext(B_))&&void 0!==e?e:S_};const z_="data-activedescendant",N_="data-activedescendant-focusvisible",T_=e=>{if(!e)return;const t=F_(e.parentElement);if(!t)return;const{offsetHeight:r}=e,n=R_(e,t),{scrollMarginTop:o,scrollMarginBottom:a}=P_(e),{offsetHeight:i,scrollTop:l}=t,s=n+r+a>l+i;n-o<l?t.scrollTo(0,n-o-2):s&&t.scrollTo(0,n+r+a-i+2)},F_=e=>e?e.scrollHeight>e.offsetHeight?e:F_(e.parentElement):null,R_=(e,t)=>e&&e!==t?e.contains(t)?-1*t.offsetTop:e.offsetTop+R_(e.offsetParent,t):0,P_=e=>{var t;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!r)return{scrollMarginTop:0,scrollMarginBottom:0};const n=r.getComputedStyle(e);var o;var a;return{scrollMarginTop:null!==(o=O_(n.scrollMarginTop))&&void 0!==o?o:O_(n.scrollMarginBlockStart),scrollMarginBottom:null!==(a=O_(n.scrollMarginBottom))&&void 0!==a?a:O_(n.scrollMarginBlockEnd)}},O_=e=>e?parseInt(e,10):0;function j_(e){const{imperativeRef:t,matchOption:r}=e,n=L.useRef(!1),o=L.useRef(!0),a=L.useRef(null),i=L.useRef(null),l=L.useRef(null),s=L.useRef(!0),c=L.useCallback(()=>{var e;null===(e=l.current)||void 0===e||e.removeAttribute("aria-activedescendant")},[]),u=L.useCallback(e=>{var t;(e&&(a.current=e),s.current&&a.current)&&(null===(t=l.current)||void 0===t||t.setAttribute("aria-activedescendant",a.current))},[]);qk(e=>{n.current=e;const t=m();t&&(e&&o.current?t.setAttribute(N_,""):t.removeAttribute(N_))});const d=Wy(r),f=L.useRef(null),{optionWalker:p,listboxCallbackRef:h}=function(e){const{matchOption:t}=e,{targetDocument:r}=Ny(),n=L.useRef(null),o=L.useRef(null),a=L.useCallback(e=>nw(e)&&t(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[t]),i=L.useCallback(e=>{e&&r?(o.current=e,n.current=r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a)):(o.current=null,n.current=null)},[r,a]),l=L.useMemo(()=>({first:()=>n.current&&o.current?(n.current.currentNode=o.current,n.current.firstChild()):null,last:()=>n.current&&o.current?(n.current.currentNode=o.current,n.current.lastChild()):null,next:()=>n.current?n.current.nextNode():null,prev:()=>n.current?n.current.previousNode():null,find:(e,t)=>{if(!n.current||!o.current)return null;const a=t?null==r?void 0:r.getElementById(t):null;n.current.currentNode=null!=a?a:o.current;let i=n.current.currentNode;for(;i&&!e(i.id);)i=n.current.nextNode();return i},setCurrent:e=>{n.current&&(n.current.currentNode=e)}}),[r]);return{optionWalker:l,listboxCallbackRef:i}}({matchOption:d}),m=L.useCallback(()=>{var e;return null===(e=f.current)||void 0===e?void 0:e.querySelector(`#${a.current}`)},[f]),g=L.useCallback(e=>{o.current=e;const t=m();t&&(e&&n.current?t.setAttribute(N_,""):t.removeAttribute(N_))},[m]),v=L.useCallback(()=>{const e=m();var t;return e&&(e.removeAttribute(z_),e.removeAttribute(N_)),c(),i.current=a.current,a.current=null,null!==(t=null==e?void 0:e.id)&&void 0!==t?t:null},[m,c]),b=L.useCallback(e=>{if(!e)return;const t=v();T_(e),u(e.id),e.setAttribute(z_,""),n.current&&o.current&&e.setAttribute(N_,"");const r=(a={id:e.id,previousId:t},new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:a}));var a;e.dispatchEvent(r)},[v,u]),y=L.useMemo(()=>({first:({passive:e}={})=>{const t=p.first();return e||b(t),null==t?void 0:t.id},last:({passive:e}={})=>{const t=p.last();return e||b(t),null==t?void 0:t.id},next:({passive:e}={})=>{const t=m();if(!t)return;p.setCurrent(t);const r=p.next();return e||b(r),null==r?void 0:r.id},prev:({passive:e}={})=>{const t=m();if(!t)return;p.setCurrent(t);const r=p.prev();return e||b(r),null==r?void 0:r.id},blur:()=>{v()},active:()=>{var e;return null===(e=m())||void 0===e?void 0:e.id},focus:e=>{if(!f.current)return;const t=f.current.querySelector(`#${e}`);t&&b(t)},focusLastActive:()=>{if(!f.current||!i.current)return;const e=f.current.querySelector(`#${i.current}`);return e?(b(e),!0):void 0},find(e,{passive:t,startFrom:r}={}){const n=p.find(e,r);return t||b(n),null==n?void 0:n.id},scrollActiveIntoView:()=>{if(!f.current)return;const e=m();e&&T_(e)},showAttributes(){s.current=!0,u()},hideAttributes(){s.current=!1,c()},showFocusVisibleAttributes(){g(!0)},hideFocusVisibleAttributes(){g(!1)}}),[p,f,u,c,b,v,m,g]);return L.useImperativeHandle(t,()=>y),{listboxRef:Xy(f,h),activeParentRef:l,controller:y}}const D_=$b({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),A_=(e,t)=>{const{filled:r,title:n,primaryFill:o="currentColor",...a}=e,i={...a,fill:o},l=D_(),s=(()=>{const e=L.useContext(dw);return null!=e?e:fw})();return i.className=bg(l.root,(null==t?void 0:t.flipInRtl)&&"rtl"===(null==s?void 0:s.textDirection)&&l.rtl,i.className),n&&(i["aria-label"]=n),i["aria-label"]||i["aria-labelledby"]?i.role="img":i["aria-hidden"]=!0,i},I_=$b({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),q_=(e,t,r,n)=>{const o="1em"===t?"20":t,a=L.forwardRef((e,a)=>{const i=I_(),l=A_(e,{flipInRtl:null==n?void 0:n.flipInRtl}),s={...l,className:bg("fui-Icon",l.className,i.root),ref:a,width:t,height:t,viewBox:`0 0 ${o} ${o}`,xmlns:"http://www.w3.org/2000/svg"};return"string"==typeof r?L.createElement("svg",{...s,dangerouslySetInnerHTML:{__html:r}}):L.createElement("svg",s,...r.map(e=>L.createElement("path",{d:e,fill:s.fill})))});return a.displayName=e,a},L_=q_("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),M_=q_("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),H_=q_("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),V_=q_("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),W_=q_("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),U_=q_("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),$_=q_("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]),X_=q_("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),G_=q_("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),K_=q_("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),Q_=q_("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),J_=q_("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),Y_=q_("DiamondDismiss12Filled","12",["M4.58 1.58a2 2 0 0 1 2.83 0l3 3a2 2 0 0 1 0 2.83l-3 3a2 2 0 0 1-2.83 0l-3-3a2 2 0 0 1-.14-2.68l.14-.15 3-3Zm3.27 2.57a.5.5 0 0 0-.7 0L6 5.29 4.85 4.15l-.07-.07a.5.5 0 0 0-.7.7l.07.07L5.29 6 4.15 7.15a.5.5 0 0 0 .7.7L6 6.71l1.15 1.14.07.07a.5.5 0 0 0 .7-.7l-.07-.07L6.71 6l1.14-1.15a.5.5 0 0 0 0-.7Z"]),Z_="data-popper-is-intersecting",eS="data-popper-escaped",tS="data-popper-reference-hidden",rS="fui-positioningend",nS=({options:e})=>e,oS=L.createContext(void 0);oS.Provider;const aS=["top","right","bottom","left"],iS=Math.min,lS=Math.max,sS=Math.round,cS=e=>({x:e,y:e}),uS={left:"right",right:"left",bottom:"top",top:"bottom"};function dS(e,t,r){return lS(e,iS(t,r))}function fS(e,t){return"function"==typeof e?e(t):e}function pS(e){return e.split("-")[0]}function hS(e){return e.split("-")[1]}function mS(e){return"x"===e?"y":"x"}function gS(e){return"y"===e?"height":"width"}function vS(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function bS(e){return mS(vS(e))}function yS(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const wS=["left","right"],kS=["right","left"],xS=["top","bottom"],_S=["bottom","top"];function SS(e,t,r,n){const o=hS(e);let a=function(e,t,r){switch(e){case"top":case"bottom":return r?t?kS:wS:t?wS:kS;case"left":case"right":return t?xS:_S;default:return[]}}(pS(e),"start"===r,n);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(yS)))),a}function BS(e){const t=pS(e);return uS[t]+e.slice(t.length)}function ES(e){return"number"!=typeof e?function(e){var t,r,n,o;return{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(o=e.left)?o:0}}(e):{top:e,right:e,bottom:e,left:e}}function CS(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function zS(e,t,r){let{reference:n,floating:o}=e;const a=vS(t),i=bS(t),l=gS(i),s=pS(t),c="y"===a,u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,f=n[l]/2-o[l]/2;let p;switch(s){case"top":p={x:u,y:n.y-o.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-o.width,y:d};break;default:p={x:n.x,y:n.y}}const h=hS(t);return h&&(p[i]+=f*("end"===h?1:-1)*(r&&c?-1:1)),p}async function NS(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=fS(t,e),h=ES(p),m=l[f?"floating"===d?"reference":"floating":d],g=CS(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(m)))||r?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),v="floating"===d?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),y=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},w=CS(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:b,strategy:s}):v);return{top:(g.top-w.top+h.top)/y.y,bottom:(w.bottom-g.bottom+h.bottom)/y.y,left:(g.left-w.left+h.left)/y.x,right:(w.right-g.right+h.right)/y.x}}function TS(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function FS(e){return aS.some(t=>e[t]>=0)}const RS=new Set(["left","top"]);function PS(){return"undefined"!=typeof window}function OS(e){return AS(e)?(e.nodeName||"").toLowerCase():"#document"}function jS(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function DS(e){var t;return null==(t=(AS(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function AS(e){return!!PS()&&(e instanceof Node||e instanceof jS(e).Node)}function IS(e){return!!PS()&&(e instanceof Element||e instanceof jS(e).Element)}function qS(e){return!!PS()&&(e instanceof HTMLElement||e instanceof jS(e).HTMLElement)}function LS(e){return!(!PS()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof jS(e).ShadowRoot)}function MS(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=JS(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==o&&"contents"!==o}function HS(e){return/^(table|td|th)$/.test(OS(e))}function VS(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const WS=/transform|translate|scale|rotate|perspective|filter/,US=/paint|layout|strict|content/,$S=e=>!!e&&"none"!==e;let XS;function GS(e){const t=IS(e)?JS(e):e;return $S(t.transform)||$S(t.translate)||$S(t.scale)||$S(t.rotate)||$S(t.perspective)||!KS()&&($S(t.backdropFilter)||$S(t.filter))||WS.test(t.willChange||"")||US.test(t.contain||"")}function KS(){return null==XS&&(XS="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),XS}function QS(e){return/^(html|body|#document)$/.test(OS(e))}function JS(e){return jS(e).getComputedStyle(e)}function YS(e){return IS(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ZS(e){if("html"===OS(e))return e;const t=e.assignedSlot||e.parentNode||LS(e)&&e.host||DS(e);return LS(t)?t.host:t}function eB(e){const t=ZS(e);return QS(t)?(e.ownerDocument||e).body:qS(t)&&MS(t)?t:eB(t)}function tB(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=eB(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),i=jS(o);if(a){const e=rB(i);return t.concat(i,i.visualViewport||[],MS(o)?o:[],e&&r?tB(e):[])}return t.concat(o,tB(o,[],r))}function rB(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nB(e){const t=JS(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=qS(e),a=o?e.offsetWidth:r,i=o?e.offsetHeight:n,l=sS(r)!==a||sS(n)!==i;return l&&(r=a,n=i),{width:r,height:n,$:l}}function oB(e){return IS(e)?e:e.contextElement}function aB(e){const t=oB(e);if(!qS(t))return cS(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=nB(t);let i=(a?sS(r.width):r.width)/n,l=(a?sS(r.height):r.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const iB=cS(0);function lB(e){const t=jS(e);return KS()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:iB}function sB(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),a=oB(e);let i=cS(1);t&&(n?IS(n)&&(i=aB(n)):i=aB(e));const l=function(e,t,r){return void 0===t&&(t=!1),!!r&&t&&r===jS(e)}(a,r,n)?lB(a):cS(0);let s=(o.left+l.x)/i.x,c=(o.top+l.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(a&&n){const e=jS(a),t=IS(n)?jS(n):n;let r=e,o=rB(r);for(;o&&t!==r;){const e=aB(o),t=o.getBoundingClientRect(),n=JS(o),a=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=a,c+=i,r=jS(o),o=rB(r)}}return CS({width:u,height:d,x:s,y:c})}function cB(e,t){const r=YS(e).scrollLeft;return t?t.left+r:sB(DS(e)).left+r}function uB(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-cB(e,r),y:r.top+t.scrollTop}}function dB(e,t,r){let n;if("viewport"===t||"layoutViewport"===t)n=function(e,t,r){void 0===r&&(r="viewport");const n="layoutViewport"===r,o=jS(e),a=DS(e),i=o.visualViewport;let l=a.clientWidth,s=a.clientHeight,c=0,u=0;if(i){const e=!KS()||"fixed"===t;n?e||(c=-i.offsetLeft,u=-i.offsetTop):(l=i.width,s=i.height,e&&(c=i.offsetLeft,u=i.offsetTop))}if(cB(a)<=0){const e=a.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,o=Math.abs(a.clientWidth-t.clientWidth-n),i="stable both-edges"===getComputedStyle(a).scrollbarGutter?o/2:o;i<=25&&(l-=i)}return{width:l,height:s,x:c,y:u}}(e,r,t);else if("document"===t)n=function(e){const t=YS(e),r=e.ownerDocument.body,n=lS(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=lS(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-t.scrollLeft+cB(e);const i=-t.scrollTop;return"rtl"===JS(r).direction&&(a+=lS(e.clientWidth,r.clientWidth)-n),{width:n,height:o,x:a,y:i}}(DS(e));else if(IS(t))n=function(e,t){const r=sB(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=aB(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:n*a.y}}(t,r);else{const r=lB(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return CS(n)}function fB(e,t,r){const n=qS(t),o=DS(t),a="fixed"===r,i=sB(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=cS(0);if((n||!a)&&(("body"!==OS(t)||MS(o))&&(l=YS(t)),n)){const e=sB(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}!n&&o&&(s.x=cB(o));const c=!o||n||a?cS(0):uB(o,l);return{x:i.left+l.scrollLeft-s.x-c.x,y:i.top+l.scrollTop-s.y-c.y,width:i.width,height:i.height}}function pB(e){return"static"===JS(e).position}function hB(e,t){if(!qS(e)||"fixed"===JS(e).position)return null;if(t)return t(e);let r=e.offsetParent;return DS(e)===r&&(r=r.ownerDocument.body),r}function mB(e,t){const r=jS(e);if(VS(e))return r;if(!qS(e)){let t=ZS(e);for(;t&&!QS(t);){if(IS(t)&&!pB(t))return t;t=ZS(t)}return r}let n=hB(e,t);for(;n&&HS(n)&&pB(n);)n=hB(n,t);return n&&QS(n)&&pB(n)&&!GS(n)?r:n||function(e){let t=ZS(e);for(;qS(t)&&!QS(t);){if(GS(t))return t;if(VS(t))return null;t=ZS(t)}return null}(e)||r}const gB={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const a="fixed"===o,i=DS(n),l=!!t&&VS(t.floating);if(n===i||l&&a)return r;let s={scrollLeft:0,scrollTop:0},c=cS(1);const u=cS(0),d=qS(n);if((d||!a)&&(("body"!==OS(n)||MS(i))&&(s=YS(n)),d)){const e=sB(n);c=aB(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}const f=!i||d||a?cS(0):uB(i,s);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:r.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:DS,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a="clippingAncestors"===r?VS(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=tB(e,[],!1).filter(e=>IS(e)&&"body"!==OS(e)),o=null;const a="fixed"===JS(e).position;let i=a?ZS(e):e;for(;IS(i)&&!QS(i);){const e=JS(i),t=GS(i),r=o?o.position:a?"fixed":"";t||"fixed"!==r&&("absolute"!==r||"static"!==e.position)?o=e:n=n.filter(e=>e!==i),i=ZS(i)}return t.set(e,n),n}(t,this._c):[].concat(r),i=[...a,n],l=dB(t,i[0],o);let s=l.top,c=l.right,u=l.bottom,d=l.left;for(let e=1;e<i.length;e++){const r=dB(t,i[e],o);s=lS(r.top,s),c=iS(r.right,c),u=iS(r.bottom,u),d=lS(r.left,d)}return{width:c-d,height:u-s,x:d,y:s}},getOffsetParent:mB,getElementRects:async function(e){const t=this.getOffsetParent||mB,r=this.getDimensions,n=await r(e.floating);return{reference:fB(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){const{width:t,height:r}=nB(e);return{width:t,height:r}},getScale:aB,isElement:IS,isRTL:function(e){return"rtl"===JS(e).direction}},vB=NS,bB=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:a,placement:i,middlewareData:l}=t,s=await async function(e,t){const{placement:r,platform:n,elements:o}=e,a=await(null==n.isRTL?void 0:n.isRTL(o.floating)),i=pS(r),l=hS(r),s="y"===vS(r),c=RS.has(i)?-1:1,u=a&&s?-1:1,d=fS(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return i===(null==(r=l.offset)?void 0:r.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}},yB=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o,platform:a}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=fS(e,t),u={x:r,y:n},d=await a.detectOverflow(t,c),f=vS(o),p=mS(f);let h=u[p],m=u[f];const g=(e,t)=>dS(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);i&&(h=g(p,h)),l&&(m=g(f,m));const v=s.fn({...t,[p]:h,[f]:m});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[p]:i,[f]:l}}}}}},wB=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:i,initialPlacement:l,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=fS(e,t);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};const v=pS(o),b=vS(l),y=pS(l)===l,w=await(null==s.isRTL?void 0:s.isRTL(c.floating)),k=f||(y||!m?[BS(l)]:function(e){const t=BS(e);return[yS(e),t,yS(t)]}(l)),x="none"!==h;!f&&x&&k.push(...SS(l,m,h,w));const _=[l,...k],S=await s.detectOverflow(t,g),B=[];let E=(null==(n=a.flip)?void 0:n.overflows)||[];if(u&&B.push(S[v]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=hS(e),o=bS(e),a=gS(o);let i="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=BS(i)),[i,BS(i)]}(o,i,w);B.push(S[e[0]],S[e[1]])}if(E=[...E,{placement:o,overflows:B}],!B.every(e=>e<=0)){var C,z;const e=((null==(C=a.flip)?void 0:C.index)||0)+1,t=_[e];if(t){if(!("alignment"===d&&b!==vS(t))||E.every(e=>vS(e.placement)!==b||e.overflows[0]>0))return{data:{index:e,overflows:E},reset:{placement:t}}}let r=null==(z=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:z.placement;if(!r)switch(p){case"bestFit":{var N;const e=null==(N=E.filter(e=>{if(x){const t=vS(e.placement);return t===b||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:N[0];e&&(r=e);break}case"initialPlacement":r=l}if(o!==r)return{reset:{placement:r}}}return{}}}},kB=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:i=()=>{},...l}=fS(e,t),s=await o.detectOverflow(t,l),c=pS(r),u=hS(r),d="y"===vS(r),{width:f,height:p}=n.floating;let h,m;"top"===c||"bottom"===c?(h=c,m=u===(await(null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=c,h="end"===u?"top":"bottom");const g=p-s.top-s.bottom,v=f-s.left-s.right,b=iS(p-s[h],g),y=iS(f-s[m],v),w=t.middlewareData.shift,k=!w;let x=b,_=y;null!=w&&w.enabled.x&&(_=v),null!=w&&w.enabled.y&&(x=g),k&&!u&&(d?_=f-2*lS(s.left,s.right):x=p-2*lS(s.top,s.bottom)),await i({...t,availableWidth:_,availableHeight:x});const S=await o.getDimensions(a.floating);return f!==S.width||p!==S.height?{reset:{rects:!0}}:{}}}},xB=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...a}=fS(e,t);switch(o){case"referenceHidden":{const e=TS(await n.detectOverflow(t,{...a,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:FS(e)}}}case"escaped":{const e=TS(await n.detectOverflow(t,{...a,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:FS(e)}}}default:return{}}}}},_B=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:i,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=fS(e,t)||{};if(null==c)return{};const d=ES(u),f={x:r,y:n},p=bS(o),h=gS(p),m=await i.getDimensions(c),g="y"===p,v=g?"top":"left",b=g?"bottom":"right",y=g?"clientHeight":"clientWidth",w=a.reference[h]+a.reference[p]-f[p]-a.floating[h],k=f[p]-a.reference[p],x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let _=x?x[y]:0;_&&await(null==i.isElement?void 0:i.isElement(x))||(_=l.floating[y]||a.floating[h]);const S=w/2-k/2,B=_/2-m[h]/2-1,E=iS(d[v],B),C=iS(d[b],B),z=_-m[h]-C,N=_/2-m[h]/2+S,T=dS(E,N,z),F=!s.arrow&&null!=hS(o)&&N!==T&&a.reference[h]/2-(N<E?E:C)-m[h]/2<0,R=F?N<E?N-E:N-z:0;return{[p]:f[p]+R,data:{[p]:T,centerOffset:N-T-R,...F&&{alignmentOffset:R}},reset:F}}}),SB=function(e){return void 0===e&&(e={}),{options:e,fn(t){var r,n;const{x:o,y:a,placement:i,rects:l,middlewareData:s}=t,{offset:c=0,mainAxis:u=!0,crossAxis:d=!0}=fS(e,t),f={x:o,y:a},p=vS(i),h=mS(p);let m=f[h],g=f[p];const v=fS(c,t),b="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:null!=(r=v.mainAxis)?r:0,crossAxis:null!=(n=v.crossAxis)?n:0};if(u){const e="y"===h?"height":"width",t=l.reference[h]-l.floating[e]+b.mainAxis,r=l.reference[h]+l.reference[e]-b.mainAxis;m<t?m=t:m>r&&(m=r)}if(d){var y,w;const e="y"===h?"width":"height",t=RS.has(pS(i)),r=l.reference[p]-l.floating[e]+(t&&(null==(y=s.offset)?void 0:y[p])||0)+(t?0:b.crossAxis),n=l.reference[p]+l.reference[e]+(t?0:(null==(w=s.offset)?void 0:w[p])||0)-(t?b.crossAxis:0);g<r?g=r:g>n&&(g=n)}return{[h]:m,[p]:g}}}},BB=(e,t,r)=>{const n=new Map,o=null!=r?r:{},a={...gB,...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,l=i.detectOverflow?i:{...i,detectOverflow:NS},s=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=zS(c,n,s),f=n,p=0;const h={};for(let r=0;r<a.length;r++){const m=a[r];if(!m)continue;const{name:g,fn:v}=m,{x:b,y:y,data:w,reset:k}=await v({x:u,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:h,rects:c,platform:l,elements:{reference:e,floating:t}});u=null!=b?b:u,d=null!=y?y:d,h[g]={...h[g],...w},k&&p<50&&(p++,"object"==typeof k&&(k.placement&&(f=k.placement),k.rects&&(c=!0===k.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):k.rects),({x:u,y:d}=zS(c,f,s))),r=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:h}})(e,t,{...o,platform:a})};function EB(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const CB=e=>{const t=e&&(e=>"HTML"===e.nodeName?e:e.parentNode||e.host)(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:n,overflowY:o}=(e=>{var t;if(1!==e.nodeType)return{};const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}})(t);return/(auto|scroll|overlay)/.test(r+o+n)?t:CB(t)};function zB(e,t){if("window"===t)return null==e?void 0:e.ownerDocument.documentElement;if("clippingParents"===t)return"clippingAncestors";if("scrollParent"===t){let t=CB(e);return"BODY"===t.nodeName&&(t=null==e?void 0:e.ownerDocument.documentElement),t}return t}function NB(e,t){if("number"==typeof e)return e;const{start:r,end:n,...o}=e,a=o,i=t?"end":"start",l=t?"start":"end";return e[i]&&(a.left=e[i]),e[l]&&(a.right=e[l]),a}const TB=(e,t,r)=>{const n=((e,t)=>{const r="above"===e||"below"===e,n="top"===t||"bottom"===t;return r&&n||!r&&!n})(t,e)?"center":e,o=t&&(e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}))(r)[t],a=n&&{start:"start",end:"end",top:"start",bottom:"end",center:void 0}[n];return o&&a?`${o}-${a}`:o},FB={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function RB(e){return null==e?{}:"string"==typeof e?FB[e]:e}function PB(e,t,r){const n=L.useRef(!0),[o]=L.useState(()=>({value:e,callback:t,facade:{get current(){return o.value},set current(e){const t=o.value;if(t!==e){if(o.value=e,r&&n.current)return;o.callback(e,t)}}}}));return Vy(()=>{n.current=!1},[]),o.callback=t,o.facade}function OB(e){const t=[];let r=e;for(;r;){const n=CB(r);if(e.ownerDocument.body===n){t.push(n);break}if("BODY"===n.nodeName&&n!==e.ownerDocument.body)break;t.push(n),r=n}return t}function jB(e){let t=!1;const{container:r,target:n,arrow:o,strategy:a,middleware:i,placement:l,useTransform:s=!0,disableUpdateOnResize:c=!1}=e,u=r.ownerDocument.defaultView;if(!n||!r||!u)return{updatePosition:()=>{},dispose:()=>{}};const d=c?null:function(e,t){return new e.ResizeObserver(t)}(u,e=>{e.every(e=>e.contentRect.width>0&&e.contentRect.height>0)&&m()});let f=!0;const p=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const h=()=>{t||(f&&(OB(r).forEach(e=>p.add(e)),nw(n)&&OB(n).forEach(e=>p.add(e)),p.forEach(e=>{e.addEventListener("scroll",m,{passive:!0})}),null==d||d.observe(r),nw(n)&&(null==d||d.observe(n)),f=!1),Object.assign(r.style,{position:a}),BB(n,r,{placement:l,middleware:i,strategy:a}).then(({x:e,y:n,middlewareData:i,placement:l})=>{var c,d;if(t)return;const f=function(e){const{clientWidth:t,clientHeight:r}=e.ownerDocument.documentElement;return 0===t&&0===r}(r)?{...i,hide:{...i.hide,escaped:!1,referenceHidden:!1}}:i;var p,h;!function(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:n,y:o}=r.arrow;Object.assign(t.style,{left:null!=n?`${n}px`:"",top:null!=o?`${o}px`:""})}({arrow:o,middlewareData:f}),function(e){var t,r,n;const{container:o,placement:a,middlewareData:i,strategy:l,lowPPI:s,coordinates:c,useTransform:u=!0}=e;if(!o)return;o.setAttribute("data-popper-placement",a),o.removeAttribute(Z_),i.intersectionObserver.intersecting&&o.setAttribute(Z_,""),o.removeAttribute(eS),(null===(t=i.hide)||void 0===t?void 0:t.escaped)&&o.setAttribute(eS,""),o.removeAttribute(tS),(null===(r=i.hide)||void 0===r?void 0:r.referenceHidden)&&o.setAttribute(tS,"");const d=(null===(n=o.ownerDocument.defaultView)||void 0===n?void 0:n.devicePixelRatio)||1,f=Math.round(c.x*d)/d,p=Math.round(c.y*d)/d;Object.assign(o.style,{position:l}),u?Object.assign(o.style,{transform:s?`translate(${f}px, ${p}px)`:`translate3d(${f}px, ${p}px, 0)`}):Object.assign(o.style,{left:`${f}px`,top:`${p}px`})}({container:r,middlewareData:f,placement:l,coordinates:{x:e,y:n},lowPPI:((null==u?void 0:u.devicePixelRatio)||1)<=1,strategy:a,useTransform:s}),r.dispatchEvent(new CustomEvent(rS,{detail:{placement:l,escaped:null!==(p=null===(c=f.hide)||void 0===c?void 0:c.escaped)&&void 0!==p&&p,referenceHidden:null!==(h=null===(d=f.hide)||void 0===d?void 0:d.referenceHidden)&&void 0!==h&&h}}))}).catch(e=>{}))},m=function(e){let t;return()=>(t||(t=new Promise(r=>{Promise.resolve().then(()=>{t=void 0,r(e())})})),t)}(()=>h());return u&&(u.addEventListener("scroll",m,{passive:!0}),u.addEventListener("resize",m)),m(),{updatePosition:m,dispose:()=>{t=!0,u&&(u.removeEventListener("scroll",m),u.removeEventListener("resize",m)),p.forEach(e=>{e.removeEventListener("scroll",m)}),p.clear(),null==d||d.disconnect()}}}function DB(e){const{hasScrollableElement:t,flipBoundary:r,container:n,fallbackPositions:o=[],isRtl:a}=e,i=o.reduce((e,t)=>{const{position:r,align:n}=RB(t),o=TB(n,r,a);return o&&e.push(o),e},[]);return wB({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:zB(n,r)},fallbackStrategy:"bestFit",...i.length&&{fallbackPlacements:i}})}const AB=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var n;if(null===(n=t.resetMaxSize)||void 0===n?void 0:n.maxSizeAlreadyReset)return{};const{applyMaxWidth:o,applyMaxHeight:a}=e;return o&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),a&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function IB(e,t){const{container:r,overflowBoundary:n,overflowBoundaryPadding:o,isRtl:a}=t;return kB({...o&&{padding:NB(o,a)},...n&&{altBoundary:!0,boundary:zB(r,n)},apply({availableHeight:t,availableWidth:r,elements:n,rects:o}){const a=(e,t,r)=>{if(e&&(n.floating.style.setProperty("box-sizing","border-box"),n.floating.style.setProperty(`max-${t}`,`${r}px`),o.floating[t]>r)){n.floating.style.setProperty(t,`${r}px`);const e="width"===t?"x":"y";n.floating.style.getPropertyValue(`overflow-${e}`)||n.floating.style.setProperty(`overflow-${e}`,"auto")}},{applyMaxWidth:i,applyMaxHeight:l}=e;a(i,"width",r),a(l,"height",t)}})}function qB(e){return e?"number"==typeof e||"object"==typeof e?e:({rects:{floating:t,reference:r},placement:n})=>{const{position:o,alignment:a}=(e=>{const{side:t,alignment:r}=EB(e),n={top:"above",bottom:"below",right:"after",left:"before"}[t],o=r&&(e=>"above"===e||"below"===e?{start:"start",end:"end"}:{start:"top",end:"bottom"})(n)[r];return{position:n,alignment:o}})(n);return e({positionedRect:t,targetRect:r,position:o,alignment:a})}:e}function LB(e){const t=qB(e);return bB(t)}function MB(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:n,overflowBoundary:o,container:a,overflowBoundaryPadding:i,isRtl:l}=e;return yB({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:SB({crossAxis:!0,mainAxis:!1})},...n&&{crossAxis:"all"===n,limiter:SB({crossAxis:"all"!==n,mainAxis:!1})},...i&&{padding:NB(i,l)},...o&&{altBoundary:!0,boundary:zB(a,o)}})}const HB="--fui-match-target-size";function VB(e){const{dir:t,targetDocument:r}=Ny(),n="rtl"===t,o=function(e,t){const{align:r,arrowPadding:n,autoSize:o,coverTarget:a,disableUpdateOnResize:i,flipBoundary:l,offset:s,overflowBoundary:c,pinned:u,position:d,unstable_disableTether:f,strategy:p,overflowBoundaryPadding:h,fallbackPositions:m,useTransform:g,matchTargetSize:v,shiftToCoverTarget:b}=t;return L.useCallback((t,y)=>e({container:t,arrow:y,options:{autoSize:o,disableUpdateOnResize:i,matchTargetSize:v,offset:s,strategy:p,coverTarget:a,flipBoundary:l,overflowBoundary:c,useTransform:g,overflowBoundaryPadding:h,pinned:u,arrowPadding:n,align:r,fallbackPositions:m,shiftToCoverTarget:b,position:d,unstable_disableTether:f}}),[o,i,v,s,p,a,l,c,g,h,u,n,r,m,b,d,f,e])}(null!==(a=L.useContext(oS))&&void 0!==a?a:nS,e);var a;const{positionFixed:i}=e;return L.useCallback((e,t)=>{const r=(e=>{var t;const r=CB(e);return!!r&&r!==(null===(t=r.ownerDocument)||void 0===t?void 0:t.body)})(e),a=o(e,t),{autoSize:l,disableUpdateOnResize:s,matchTargetSize:c,offset:u,coverTarget:d,flipBoundary:f,overflowBoundary:p,useTransform:h,overflowBoundaryPadding:m,pinned:g,position:v,arrowPadding:b,strategy:y,align:w,fallbackPositions:k,shiftToCoverTarget:x,unstable_disableTether:_}=a,S=(e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}})(l),B=[S&&AB(S),c&&{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:n},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:o=!1}={}}}=e;if(t.width===r.width||o)return{};const{width:a}=t;return n.style.setProperty(HB,`${a}px`),n.style.width||(n.style.width=`var(${HB})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}},u&&LB(u),d&&{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:n,y:o}=e,a={x:n,y:o};switch(EB(t).side){case"bottom":a.y-=r.reference.height;break;case"top":a.y+=r.reference.height;break;case"left":a.x+=r.reference.width;break;case"right":a.x-=r.reference.width}return a}},!g&&DB({container:e,flipBoundary:f,hasScrollableElement:r,isRtl:n,fallbackPositions:k}),MB({container:e,hasScrollableElement:r,overflowBoundary:p,disableTether:_,overflowBoundaryPadding:m,isRtl:n,shiftToCoverTarget:x}),S&&IB(S,{container:e,overflowBoundary:p,overflowBoundaryPadding:m,isRtl:n}),{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await vB(e,{altBoundary:!0}),n=r.top<t.height&&r.top>0,o=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:n||o}}}},t&&_B({element:t,padding:b}),xB({strategy:"referenceHidden"}),xB({strategy:"escaped"}),!1].filter(Boolean);return{placement:TB(w,v,n),middleware:B,strategy:(null!=y?y:i)?"fixed":"absolute",disableUpdateOnResize:s,useTransform:h}},[o,n,r,i])}const WB=$b({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),UB=H.useInsertionEffect,$B=()=>{let e;return{get:function(t,r){return e||(r&&(e=t.ownerDocument.createElement("div"),t.appendChild(e)),e)},dispose:function(){e&&(e.remove(),e=void 0)}}},XB=UB?e=>{const{className:t,dir:r,focusVisibleRef:n,targetNode:o}=e,[a]=L.useState($B),i=L.useMemo(()=>void 0===o||e.disabled?null:new Proxy({},{get(e,t){if("nodeType"===t)return 1;if("remove"===t){const e=a.get(o,!1);if(e){0===e.childNodes.length&&a.dispose()}return()=>{}}const r=a.get(o,!0),n=r?r[t]:void 0;return"function"==typeof n?n.bind(r):n},set(e,t,r){const n="_virtual"===t||"focusVisible"===t,i=n?a.get(o,!1):a.get(o,!0);return!(!n||i)||!!i&&(Object.assign(i,{[t]:r}),!0)}}),[a,o,e.disabled]);return UB(()=>{if(!i)return;const e=t.split(" ").filter(Boolean);return i.classList.add(...e),i.setAttribute("dir",r),i.setAttribute("data-portal-node","true"),n.current=i,()=>{i.classList.remove(...e),i.removeAttribute("dir")}},[t,r,i,n]),L.useEffect(()=>()=>{null==i||i.remove()},[i]),i}:e=>{const{className:t,dir:r,focusVisibleRef:n,targetNode:o}=e,a=L.useMemo(()=>{if(void 0===o||e.disabled)return null;const t=o.ownerDocument.createElement("div");return o.appendChild(t),t},[o,e.disabled]);return L.useMemo(()=>{a&&(a.className=t,a.setAttribute("dir",r),a.setAttribute("data-portal-node","true"),n.current=a)},[t,r,a,n]),L.useEffect(()=>()=>{null==a||a.remove()},[a]),a},GB=e=>{const{targetDocument:t,dir:r}=Ny(),n=L.useContext(Ay),o=Pk(),a=WB(),i=null!==(l=L.useContext(_y))&&void 0!==l?l:"";var l;const s={dir:r,disabled:e.disabled,focusVisibleRef:o,className:bg(i,a.root,e.className),targetNode:null!=n?n:null==t?void 0:t.body};return XB(s)},KB=e=>{const{element:t,className:r}=function(e){return nw(e)?{element:e}:"object"==typeof e?null===e?{element:null}:e:{}}(e.mountNode),n=L.useRef(null),o=GB({disabled:!!t,className:r}),a=null!=t?t:o,i={children:e.children,mountNode:a,virtualParentRootRef:n};return L.useEffect(()=>{if(!a)return;const e=n.current,t=a.contains(e);return e&&!t?(aw(a,e),()=>{aw(a,void 0)}):void 0},[n,a]),i},QB=e=>(e=>L.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Qu.createPortal(L.createElement(L.Fragment,null,e.children,L.createElement("span",{hidden:!0})),e.mountNode)))(KB(e));QB.displayName="Portal";const JB=L.createContext(void 0),YB={};JB.Provider;const ZB=(e,t)=>{const{size:r}=null!==(n=L.useContext(JB))&&void 0!==n?n:YB;var n;const{appearance:o="secondary",shape:a="rounded",size:i=(null!=r?r:"medium"),...l}=e;return{appearance:o,shape:a,size:i,...eE(l,t)}},eE=(e,t)=>{const{icon:r,iconPosition:n="before",...o}=e,a=ey(r,{elementType:"span"});var i,l;return{disabled:null!==(i=e.disabled)&&void 0!==i&&i,disabledFocusable:null!==(l=e.disabledFocusable)&&void 0!==l&&l,iconPosition:n,iconOnly:Boolean((null==a?void 0:a.children)&&!e.children),components:{root:"button",icon:"span"},root:Zb(x_(o.as,o),{elementType:"button",defaultProps:{ref:t,type:"a"!==e.as?"button":void 0}}),icon:a}},tE="fui-Button",rE="fui-Button__icon",nE=Xb("r1f29ykk",null,{r:[".r1f29ykk{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),oE=Xb("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),aE=$b({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),iE=$b({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),lE=$b({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),sE=$b({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),cE=$b({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),uE=L.forwardRef((e,t)=>{const r=ZB(e,t);return(e=>{const t=nE(),r=oE(),n=aE(),o=iE(),a=lE(),i=sE(),l=cE(),{appearance:s,disabled:c,disabledFocusable:u,icon:d,iconOnly:f,iconPosition:p,shape:h,size:m}=e;e.root.className=bg(tE,t,s&&n[s],n[m],d&&"small"===m&&n.smallWithIcon,d&&"large"===m&&n.largeWithIcon,n[h],(c||u)&&o.base,(c||u)&&o.highContrast,s&&(c||u)&&o[s],"primary"===s&&a.primary,a[m],a[h],f&&i[m],e.root.className),e.icon&&(e.icon.className=bg(rE,r,!!e.root.children&&l[p],l[m],e.icon.className))})(r),Dy("useButtonStyles_unstable")(r),(e=>{const{iconOnly:t,iconPosition:r}=e;return uw(e.root,{children:["after"!==r&&e.icon&&cw(e.icon,{}),!t&&e.root.children,"after"===r&&e.icon&&cw(e.icon,{})]})})(r)});uE.displayName="Button";const dE=L.createContext(void 0),fE=dE.Provider,pE=()=>L.useContext(dE);function hE(e,t){return mE(pE(),e,t)}function mE(e,t,r){if(!e)return t;t={...t};const{generatedControlId:n,hintId:o,labelFor:a,labelId:i,required:l,validationMessageId:s,validationState:c}=e;var u,d,f,p,h,m,g,v,b,y,w,k;n&&(null!==(d=(u=t).id)&&void 0!==d||(u.id=n));!i||(null==r?void 0:r.supportsLabelFor)&&a===t.id||(null!==(p=(f=t)["aria-labelledby"])&&void 0!==p||(f["aria-labelledby"]=i));((s||o)&&(t["aria-describedby"]=[s,o,null==t?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),"error"===c)&&(null!==(m=(h=t)["aria-invalid"])&&void 0!==m||(h["aria-invalid"]=!0));l&&((null==r?void 0:r.supportsRequired)?null!==(v=(g=t).required)&&void 0!==v||(g.required=!0):null!==(y=(b=t)["aria-required"])&&void 0!==y||(b["aria-required"]=!0));(null==r?void 0:r.supportsSize)&&(null!==(k=(w=t).size)&&void 0!==k||(w.size=e.size));return t}const gE=(e,t)=>{const{disabled:r=!1,required:n=!1,...o}=e;return{disabled:r,required:ey(!0===n?"*":n||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Zb(wy("label",{ref:t,...o}),{elementType:"label"})}},vE="fui-Label",bE="fui-Label__required",yE=$b({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),wE=L.forwardRef((e,t)=>{const r=((e,t)=>{const{weight:r="regular",size:n="medium",...o}=e;return{weight:r,size:n,...gE(o,t)}})(e,t);return(e=>{const t=yE();e.root.className=bg(vE,t.root,e.disabled&&t.disabled,t[e.size],"semibold"===e.weight&&t.semibold,e.root.className),e.required&&(e.required.className=bg(bE,t.required,e.disabled&&t.disabled,e.required.className))})(r),Dy("useLabelStyles_unstable")(r),(e=>uw(e.root,{children:[e.root.children,e.required&&cw(e.required,{})]}))(r)});wE.displayName="Label";const kE={error:L.createElement(Y_,null),warning:L.createElement($_,null),success:L.createElement(K_,null),none:void 0},xE=(e,t)=>{const{orientation:r="vertical",size:n="medium",...o}=e,a=((e,t)=>{const{children:r,required:n=!1,validationState:o=(e.validationMessage?"error":"none")}=e,a=$y("field-"),i=a+"__control",l=Zb(wy("div",{...e,ref:t},["children"]),{elementType:"div"}),s=ey(e.label,{defaultProps:{htmlFor:i,id:a+"__label",required:n},elementType:"label"}),c=ey(e.validationMessage,{defaultProps:{id:a+"__validationMessage",role:"error"===o||"warning"===o?"alert":void 0},elementType:"div"}),u=ey(e.hint,{defaultProps:{id:a+"__hint"},elementType:"div"});return{children:r,generatedControlId:i,required:n,validationState:o,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:l,label:s,validationMessageIcon:ey(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"}),validationMessage:c,hint:u}})(o,t),i=kE[a.validationState];return{...a,components:{...a.components,label:wE},label:ey(e.label,{defaultProps:{size:n,...a.label},elementType:wE}),validationMessageIcon:ey(e.validationMessageIcon,{renderByDefault:!!i,defaultProps:{children:i},elementType:"span"}),orientation:r,size:n}},_E={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},SE=$b({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),BE=$b({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),EE=Xb("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),CE=$b({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),zE=Xb("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),NE=$b({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),TE=L.forwardRef((e,t)=>{const r=xE(e,t);(e=>{const{validationState:t,size:r}=e,n="horizontal"===e.orientation,o=SE();e.root.className=bg(_E.root,o.base,n&&o.horizontal,n&&!e.label&&o.horizontalNoLabel,e.root.className);const a=BE();e.label&&(e.label.className=bg(_E.label,a.base,n&&a.horizontal,n&&"small"===r&&a.horizontalSmall,n&&"large"===r&&a.horizontalLarge,!n&&a.vertical,!n&&"large"===r&&a.verticalLarge,e.label.className));const i=zE(),l=NE();e.validationMessageIcon&&(e.validationMessageIcon.className=bg(_E.validationMessageIcon,i,"none"!==t&&l[t],e.validationMessageIcon.className));const s=EE(),c=CE();e.validationMessage&&(e.validationMessage.className=bg(_E.validationMessage,s,"error"===t&&c.error,!!e.validationMessageIcon&&c.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=bg(_E.hint,s,e.hint.className))})(r),Dy("useFieldStyles_unstable")(r);const n=(e=>{var t,r,n,o;const{generatedControlId:a,orientation:i,required:l,size:s,validationState:c}=e,u=null===(t=e.label)||void 0===t?void 0:t.htmlFor,d=null===(r=e.label)||void 0===r?void 0:r.id,f=null===(n=e.validationMessage)||void 0===n?void 0:n.id,p=null===(o=e.hint)||void 0===o?void 0:o.id;return{field:L.useMemo(()=>({generatedControlId:a,hintId:p,labelFor:u,labelId:d,orientation:i,required:l,size:s,validationMessageId:f,validationState:c}),[a,p,u,d,i,l,s,f,c])}})(r);return((e,t)=>{let{children:r}=e;return"function"==typeof r&&(r=r(mE(t.field)||{})),cw(fE,{value:null==t?void 0:t.field,children:uw(e.root,{children:[e.label&&cw(e.label,{}),r,e.validationMessage&&uw(e.validationMessage,{children:[e.validationMessageIcon&&cw(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&cw(e.hint,{})]})})})(r,n)});TE.displayName="Field";const FE=(e,t)=>{e=hE(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:r=!1,required:n,labelPosition:o="after",onChange:a}=e,[i,l]=Iy({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),s=yy({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),c="mixed"===i,u=$y("checkbox-",s.primary.id),d={checked:i,disabled:r,labelPosition:o,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Zb(e.root,{defaultProps:{ref:Ak(),...s.root},elementType:"span"}),input:Zb(e.input,{defaultProps:{type:"checkbox",id:u,ref:t,checked:!0===i,...s.primary},elementType:"input"}),label:ey(e.label,{defaultProps:{htmlFor:u,disabled:r,required:n},elementType:"label"}),indicator:ey(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};d.input.onChange=rw(d.input.onChange,e=>{const t=e.currentTarget.indeterminate?"mixed":e.currentTarget.checked;null==a||a(e,{checked:t}),l(t)});const f=Xy(d.input.ref);return d.input.ref=f,Vy(()=>{f.current&&(f.current.indeterminate=c)},[f,c]),d},RE="fui-Checkbox",PE="fui-Checkbox__label",OE="fui-Checkbox__input",jE="fui-Checkbox__indicator",DE=Xb("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),AE=$b({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),IE=Xb("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),qE=$b({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),LE=Xb("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),ME=$b({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),HE=$b({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),VE=L.forwardRef((e,t)=>{const r=((e,t)=>{const{shape:r="square",size:n="medium",...o}=e,a=FE(o,t);let i;var l,s;return"mixed"===a.checked?i="circular"===r?L.createElement(L_,null):"large"===n?L.createElement(J_,null):L.createElement(Q_,null):a.checked&&(i="large"===n?L.createElement(G_,null):L.createElement(X_,null)),a.indicator&&(null!==(s=(l=a.indicator).children)&&void 0!==s||(l.children=i)),{shape:r,size:n,...a,components:{...a.components,label:wE},label:ey(e.label,{defaultProps:{...a.label,size:"medium"},elementType:wE})}})(e,t);return(e=>{const{checked:t,disabled:r,labelPosition:n,shape:o,size:a}=e,i=DE(),l=AE();e.root.className=bg(RE,i,r?l.disabled:"mixed"===t?l.mixed:t?l.checked:l.unchecked,e.root.className);const s=IE(),c=qE();e.input.className=bg(OE,s,"large"===a&&c.large,c[n],e.input.className);const u=LE(),d=ME();e.indicator&&(e.indicator.className=bg(jE,u,"large"===a&&d.large,"circular"===o&&d.circular,e.indicator.className));const f=HE();e.label&&(e.label.className=bg(PE,f.base,f[a],f[n],e.label.className))})(r),Dy("useCheckboxStyles_unstable")(r),(e=>uw(e.root,{children:[cw(e.input,{}),"before"===e.labelPosition&&e.label&&cw(e.label,{}),e.indicator&&cw(e.indicator,{}),"after"===e.labelPosition&&e.label&&cw(e.label,{})]}))(r)});VE.displayName="Checkbox";const WE=g_({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption:()=>()=>{},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});WE.Provider;const UE={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue:()=>[],registerOption:()=>()=>{},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},$E=g_(void 0),XE=e=>((e,t)=>{const r=L.useContext(e),{value:n,listeners:o}=r,a=t(n.current),[,i]=L.useReducer(e=>e+1,0),l=L.useRef(t),s=L.useRef(a);return Vy(()=>{l.current=t,s.current=a}),Vy(()=>{const e=e=>{try{const t=l.current(e);Object.is(s.current,t)||i()}catch{}};return o.push(e),e(n.current),()=>{const t=o.indexOf(e);-1!==t&&o.splice(t,1)}},[o,n]),a})($E,(t=UE)=>e(t)),GE=$E.Provider;function KE(e){const{appearance:t,open:r,getOptionById:n,getOptionsMatchingValue:o,registerOption:a,selectedOptions:i,selectOption:l,setOpen:s,size:c,activeDescendantController:u,onOptionClick:d,onActiveDescendantChange:f}=e,p={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:o,registerOption:a,selectedOptions:i,selectOption:l,setActiveOption:()=>null,onOptionClick:d,onActiveDescendantChange:f};return{combobox:{activeOption:void 0,appearance:t,focusVisible:!1,open:r,registerOption:a,selectedOptions:i,selectOption:l,setActiveOption:()=>null,setOpen:s,size:c},activeDescendant:L.useMemo(()=>({controller:u}),[u]),listbox:p}}function QE(e,t={}){const{open:r=!0,multiselect:n=!1}=t,o=e.key,{altKey:a,ctrlKey:i,key:l,metaKey:s}=e;return 1!==l.length||o===y_||a||i||s?r?o===k_&&a||o===b_||!n&&o===y_?"CloseSelect":n&&o===y_?"Select":"Escape"===o?"Close":o===w_?"Next":o===k_?"Previous":"Home"===o?"First":"End"===o?"Last":"PageUp"===o?"PageUp":"PageDown"===o?"PageDown":"Tab"===o?"Tab":"None":o===w_||o===k_||o===b_||o===y_?"Open":"None":"Type"}const JE=()=>{const e=L.useRef(new Map),t=L.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:t=>e.current.get(t),getOptionsMatchingText:t=>Array.from(e.current.values()).filter(({text:e})=>t(e)),getOptionsMatchingValue:t=>{const r=[];for(const n of e.current.values())t(n.value)&&r.push(n);return r}}),[]),r=L.useCallback(t=>(e.current.set(t.id,t),()=>e.current.delete(t.id)),[]);return{...t,options:Array.from(e.current.values()),registerOption:r}},YE=e=>{const{defaultSelectedOptions:t,multiselect:r,onOptionSelect:n}=e,[o,a]=Iy({state:e.selectedOptions,defaultState:t,initialState:[]});return{clearSelection:e=>{a([]),null==n||n(e,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:L.useCallback((e,t)=>{if(t.disabled)return;let i=[t.value];if(r){const e=o.findIndex(e=>e===t.value);i=e>-1?[...o.slice(0,e),...o.slice(e+1)]:[...o,t.value]}a(i),null==n||n(e,{optionValue:t.value,optionText:t.text,selectedOptions:i})},[n,r,o,a]),selectedOptions:o}};function ZE(e){return"option"===e.role||"menuitemcheckbox"===e.role}const eC={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},tC=(e,t)=>{const{multiselect:r,disableAutoFocus:n=!1}=e,o=JE(),{listboxRef:a,activeParentRef:i,controller:l}=j_({matchOption:ZE}),s=v_($E),c=XE(e=>e.onActiveDescendantChange),u=XE(e=>e.getOptionById),d=XE(e=>e.getOptionsMatchingValue),f=s?u:o.getOptionById,p=s?d:o.getOptionsMatchingValue,h=L.useMemo(()=>{let e=null;const t=e=>{null==c||c(e)};return r=>{r?(e=r,e.addEventListener("activedescendantchange",t)):null==e||e.removeEventListener("activedescendantchange",t)}},[c]),[m,g]=L.useState(!1);qk(g);const v=C_(),b=!!L.useContext(B_),y=b?v.controller:l,{clearSelection:w,selectedOptions:k,selectOption:x}=YE(e),_=XE(e=>e.selectedOptions),S=XE(e=>e.selectOption),B=s?{selectedOptions:_,selectOption:S,...eC}:{selectedOptions:k,selectOption:x,...eC};L.useEffect(()=>{if(!b){if(y.hideFocusVisibleAttributes(),!n)if(!r&&B.selectedOptions.length>0){const e=p(e=>e===B.selectedOptions[0]).pop();(null==e?void 0:e.id)&&y.focus(e.id)}else y.first();return()=>{y.blur()}}},[]);const E=L.useCallback(()=>{b||(y.showFocusVisibleAttributes(),m&&y.scrollActiveIntoView())},[y,b,m]),C=L.useCallback(()=>{b||y.hideFocusVisibleAttributes()},[y,b]),z={components:{root:"div"},root:Zb(wy("div",{ref:Xy(t,i,a,h),role:r?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!s,multiselect:r,clearSelection:w,activeDescendantController:y,onActiveDescendantChange:c,...o,...B};return z.root.onKeyDown=Wy(rw(z.root.onKeyDown,e=>{const t=QE(e,{open:!0}),r=y.active(),n=r?f(r):null;switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":e.preventDefault()}switch(t){case"Next":n?y.next():y.first();break;case"Previous":n?y.prev():y.first();break;case"PageUp":case"First":y.first();break;case"PageDown":case"Last":y.last();break;case"Select":case"CloseSelect":n&&x(e,n)}})),z.root.onFocus=Wy(rw(z.root.onFocus,E)),z.root.onBlur=Wy(rw(z.root.onBlur,C)),z},rC="fui-Listbox",nC=$b({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),oC=L.forwardRef((e,t)=>{const r=tC(e,t),n=function(e){const t=v_($E),{getOptionById:r,getOptionsMatchingValue:n,multiselect:o,registerOption:a,selectedOptions:i,selectOption:l,activeDescendantController:s}=e,c=XE(e=>e.registerOption);return{listbox:{activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:n,multiselect:o,registerOption:t?c:a,selectedOptions:i,selectOption:l,setActiveOption:()=>{},onOptionClick:XE(e=>e.onOptionClick),onActiveDescendantChange:XE(e=>e.onActiveDescendantChange)},activeDescendant:L.useMemo(()=>({controller:s}),[s])}}(r);return(e=>{const t=nC();e.root.className=bg(rC,t.root,e.root.className)})(r),Dy("useListboxStyles_unstable")(r),((e,t)=>cw(E_,{value:t.activeDescendant,children:cw($E.Provider,{value:t.listbox,children:cw(e.root,{})})}))(r,n)});oC.displayName="Listbox";const aC=(e,t)=>{const{children:r,disabled:n,text:o,value:a}=e,i=L.useRef(null),l=function(e,t){if(void 0!==e)return e;let r="",n=!1;return L.Children.forEach(t,e=>{"string"==typeof e?r+=e:n=!0}),n&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),r}(o,r),s=null!=a?a:l,c=$y("fluent-option",e.id),u=L.useMemo(()=>({id:c,disabled:n,text:l,value:s}),[c,n,l,s]),{controller:d}=C_(),f=XE(e=>e.multiselect),p=XE(e=>e.registerOption),h=XE(e=>{const t=e.selectedOptions;return void 0!==s&&void 0!==t.find(e=>e===s)}),m=XE(e=>e.selectOption),g=XE(e=>e.onOptionClick);L.useEffect(()=>{if(c&&i.current)return p(u,i.current)},[c,u,p]);const v=f?{role:"menuitemcheckbox","aria-checked":h}:{role:"option","aria-selected":h};return{components:{root:"div",checkIcon:"span"},root:Zb(wy("div",{ref:Xy(t,i),"aria-disabled":n?"true":void 0,id:c,...v,...e,onClick:t=>{var r;n?t.preventDefault():(d.focus(c),m(t,u),g(t),null===(r=e.onClick)||void 0===r||r.call(e,t))}}),{elementType:"div"}),checkIcon:ey(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:n,multiselect:f,selected:h,focusVisible:!1,active:!1}},iC="fui-Option",lC="fui-Option__checkIcon",sC=$b({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n"},interactive:{Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"f158kwzp",B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f158kwzp{cursor:default;}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),cC=L.forwardRef((e,t)=>{const r=((e,t)=>{const r=aC(e,t);let n=L.createElement(M_,null);var o,a;return r.multiselect&&(n=r.selected?L.createElement(X_,null):""),r.checkIcon&&(null!==(a=(o=r.checkIcon).children)&&void 0!==a||(o.children=n)),r})(e,t);return(e=>{const{disabled:t,multiselect:r,selected:n}=e,o=sC();e.root.className=bg(iC,o.root,!t&&o.interactive,o.active,t&&o.disabled,n&&o.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=bg(lC,o.checkIcon,r&&o.multiselectCheck,n&&o.selectedCheck,n&&r&&o.selectedMultiselectCheck,t&&o.checkDisabled,t&&r&&o.multiselectCheckDisabled,e.checkIcon.className))})(r),Dy("useOptionStyles_unstable")(r),(e=>uw(e.root,{children:[e.checkIcon&&cw(e.checkIcon,{}),e.root.children]}))(r)});cC.displayName="Option";const uC=e=>{const{appearance:t="outline",disableAutoFocus:r,children:n,clearable:o=!1,editable:a=!1,inlinePopup:i=!1,mountNode:l,multiselect:s,onOpenChange:c,size:u="medium",activeDescendantController:d,freeform:f=!1,disabled:p=!1,onActiveOptionChange:h=null}=e,m=JE(),{getOptionsMatchingValue:g}=m,{getOptionById:v}=m,b=L.useCallback(()=>{const e=d.active();return e?v(e):void 0},[d,v]),y=b(),w=L.useCallback(e=>{let t;if("function"==typeof e){t=e(b())}t?d.focus(t.id):d.blur()},[d,b]),[k,x]=L.useState(!1),[_,S]=L.useState(!1),B=L.useRef(!1),E=function(){const e=L.useRef(!0);return L.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}(),[C,z]=Iy({state:e.value,initialState:void 0}),{selectedOptions:N,selectOption:T,clearSelection:F}=YE(e),R=L.useCallback((e,t)=>{Qu.unstable_batchedUpdates(()=>{z(void 0),T(e,t)})},[z,T]),P=L.useMemo(()=>{if(void 0!==C)return C;if(E&&void 0!==e.defaultValue)return e.defaultValue;const t=g(e=>N.includes(e)).map(e=>e.text);return s?a?"":t.join(", "):t[0]},[C,a,g,s,N]),[O,j]=Iy({state:e.open,defaultState:e.defaultOpen,initialState:!1}),D=L.useCallback((e,t)=>{p||(null==c||c(e,{open:t}),Qu.unstable_batchedUpdates(()=>{t||f||z(void 0),j(t)}))},[c,j,z,f,p]);L.useEffect(()=>{if(O){if(!s&&N.length>0){const e=g(e=>e===N[0]).pop();(null==e?void 0:e.id)&&d.focus(e.id)}}else d.blur()},[O,d]),L.useEffect(()=>{!O||r||d.active()||d.first()},[O,n,r,d,v]);const A=Wy(e=>{const t=e.detail.previousId?m.getOptionById(e.detail.previousId):null,r=m.getOptionById(e.detail.id);null==h||h(e,{event:e,type:"change",previousOption:t,nextOption:r})});return{...m,freeform:f,disabled:p,selectOption:R,clearSelection:F,selectedOptions:N,activeOption:y,appearance:t,clearable:o,focusVisible:k,ignoreNextBlur:B,inlinePopup:i,mountNode:l,open:O,hasFocus:_,setActiveOption:w,setFocusVisible:x,setHasFocus:S,setOpen:D,setValue:z,size:u,value:P,multiselect:s,onOptionClick:Wy(e=>{s||D(e,!1)}),onActiveDescendantChange:A}};function dC(e){const{positioning:t}=e,r={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...RB(t)},{targetRef:n,containerRef:o}=function(e){const t=L.useRef(null),r=L.useRef(null),n=L.useRef(null),o=L.useRef(null),a=L.useRef(null),{enabled:i=!0}=e,l=VB(e),s=L.useCallback(()=>{var e;t.current&&t.current.dispose(),t.current=null;const s=null!==(e=n.current)&&void 0!==e?e:r.current;i&&Ly()&&s&&o.current&&(t.current=jB({container:o.current,target:s,arrow:a.current,...l(o.current,a.current)}))},[i,l]),c=Wy(e=>{n.current=e,s()});L.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.updatePosition()},setTarget:t=>{e.target,c(t)}}),[e.target,c]),Vy(()=>{var t;c(null!==(t=e.target)&&void 0!==t?t:null)},[e.target,c]),Vy(()=>{s()},[s]);const u=PB(null,e=>{r.current!==e&&(r.current=e,s())}),d=Wy(t=>{var r;return null===(r=e.onPositioningEnd)||void 0===r?void 0:r.call(e,t)}),f=PB(null,e=>{var t;o.current!==e&&(null===(t=o.current)||void 0===t||t.removeEventListener(rS,d),null==e||e.addEventListener(rS,d),o.current=e,s())}),p=PB(null,e=>{a.current!==e&&(a.current=e,s())});return{targetRef:u,containerRef:f,arrowRef:p}}(r);return[o,n]}function fC(e,t,r){const{state:{multiselect:n},triggerRef:o,defaultProps:a}=r,i=$y("fluent-listbox",null===(l=e)||"object"!=typeof l||Array.isArray(l)||L.isValidElement(l)?void 0:e.id);var l;const s=ey(e,{renderByDefault:!0,elementType:oC,defaultProps:{id:i,multiselect:n,tabIndex:void 0,...a}}),c=hE({id:i},{supportsLabelFor:!0});s&&!s["aria-label"]&&!s["aria-labelledby"]&&c["aria-labelledby"]&&(s["aria-labelledby"]=c["aria-labelledby"]);const u=Wy(rw(e=>{e.preventDefault()},null==s?void 0:s.onMouseDown)),d=Wy(rw(e=>{var t;e.preventDefault(),null===(t=o.current)||void 0===t||t.focus()},null==s?void 0:s.onClick)),f=Xy(null==s?void 0:s.ref,t);return s&&(s.ref=f,s.onMouseDown=u,s.onClick=d),s}function pC(e,t,r){const{state:{open:n,setOpen:o,setHasFocus:a},defaultProps:i,elementType:l,activeDescendantController:s}=r,c=Zb(e,{defaultProps:{type:"text","aria-expanded":n,role:"combobox",..."object"==typeof i&&i},elementType:l}),u=L.useRef(null);return c.ref=Xy(u,c.ref,t),c.onBlur=rw(e=>{o(e,!1),a(!1)},c.onBlur),c.onFocus=rw(e=>{e.target===e.currentTarget&&a(!0)},c.onFocus),c.onClick=rw(e=>{o(e,!n)},c.onClick),c.onKeyDown=rw(function(e){const{activeDescendantController:t,getOptionById:r,setOpen:n,selectOption:o,multiselect:a,open:i}=e,l=L.useCallback(()=>{const e=t.active();return e?r(e):void 0},[t,r]),s=()=>{t.first()},c=()=>{t.last()},u=e=>{e?t.next():t.first()},d=e=>{e?t.prev():t.first()},f=()=>{for(let e=0;e<10;e++)t.prev()},p=()=>{for(let e=0;e<10;e++)t.next()},h=function(){const e=Ik();return L.useCallback(t=>{var r;null===(r=e.current)||void 0===r||r.setVal(t)},[e])}();return Wy(e=>{const t=QE(e,{open:i,multiselect:a}),r=l();switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":e.preventDefault()}switch(h(!0),t){case"First":s();break;case"Last":c();break;case"Next":u(r);break;case"Previous":d(r);break;case"PageDown":p();break;case"PageUp":f();break;case"Open":n(e,!0);break;case"Close":e.stopPropagation(),n(e,!1);break;case"CloseSelect":!a&&!(null==r?void 0:r.disabled)&&n(e,!1);case"Select":r&&o(e,r);break;case"Tab":!a&&r&&o(e,r)}})}({activeDescendantController:s,...r.state}),c.onKeyDown),c}function hC(e,t,r){const{state:{open:n,value:o,selectOption:a,setValue:i,multiselect:l,selectedOptions:s,clearSelection:c,getOptionById:u,setOpen:d},freeform:f,defaultProps:p,activeDescendantController:h}=r,m=e=>{const t=null==e?void 0:e.trim().toLowerCase();if(!t||0===t.length)return void h.blur();const r=h.find(e=>{const r=u(e);return!!r&&0===r.text.toLowerCase().indexOf(t)});if(r)return u(r);h.blur()},g=pC(e,t,{state:r.state,defaultProps:p,elementType:"input",activeDescendantController:h});g.onChange=rw(g.onChange,e=>{const t=e.target.value;i(t);const r=m(t);l||1!==s.length||!(t.length<1)&&r||c(e)}),g.onBlur=rw(g.onBlur,e=>{if(!n&&!f){const t=h.active(),r=t?u(t):null;o&&r&&o.trim().toLowerCase()===(null==r?void 0:r.text.toLowerCase())&&a(e,r),i(void 0)}});const[v,b]=L.useState(!1),y=L.useRef(!1),w=g.onKeyDown,k=Wy(t=>{n||"Type"!==QE(t)||d(t,!0),"ArrowLeft"===t.key||"ArrowRight"===t.key?b(!0):b(!1);const r=QE(t,{open:n,multiselect:l});var o;("Type"===r?y.current=!0:("Open"===r&&" "!==t.key||"Next"===r||"Previous"===r||"First"===r||"Last"===r||"PageUp"===r||"PageDown"===r)&&(y.current=!1),!y.current&&n||" "!==t.key)?null==w||w(t):null==e||null===(o=e.onKeyDown)||void 0===o||o.call(e,t)});return g.onKeyDown=k,v&&(g["aria-activedescendant"]=void 0),g}function mC(e,t){return((...e)=>{const t=[];let r="";for(const n of e){const e=null==n?void 0:n[hw];e&&(t.push(e),r+=e+Lk)}return L.useMemo(()=>({[hw]:Mk(t)}),[r])})(wk({focusable:{ignoreKeydown:{Escape:t}}}),"object"==typeof e?e:{})}const gC=(e,t)=>{const r=pE();var n;const{appearance:o="outline",size:a=(null!==(n=null==r?void 0:r.size)&&void 0!==n?n:"medium"),...i}=e,l=((e,t)=>{var r,n;e=hE(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:o,activeParentRef:a,controller:i}=j_({matchOption:ZE}),l=uC({...e,editable:!0,activeDescendantController:i}),{appearance:s,size:c,...u}=l,{clearable:d,clearSelection:f,disabled:p,multiselect:h,open:m,selectedOptions:g,setOpen:v,value:b,hasFocus:y}=u,[w,k]=dC(e),{disableAutoFocus:x=!1,freeform:_,inlinePopup:S}=e,B=$y("combobox-"),{primary:E,root:C}=yy({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),z=L.useRef(null),N=fC(e.listbox,Xy(w,o),{state:l,triggerRef:z,defaultProps:{children:e.children,disableAutoFocus:x}});var T;const F=hC(null!==(T=e.input)&&void 0!==T?T:{},Xy(z,a,t),{state:l,freeform:_,defaultProps:{type:"text",value:null!=b?b:"","aria-controls":m?null==N?void 0:N.id:void 0,...E},activeDescendantController:i}),R=Zb(e.root,{defaultProps:{"aria-owns":!S&&m?null==N?void 0:N.id:void 0,...C},elementType:"div"});R.ref=Xy(R.ref,k);const P=g.length>0&&!p&&d&&!h,O={components:{root:"div",input:"input",expandIcon:"span",listbox:oC,clearIcon:"span"},root:R,input:F,listbox:m||y?N:void 0,clearIcon:ey(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:ey(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":p?"true":void 0,"aria-expanded":m,role:"button"},elementType:"span"}),showClearIcon:P,activeDescendantController:i,...u},{targetDocument:j}=Ny();Ky({element:j,callback:e=>v(e,!1),refs:[z,w,k],disabled:!m});const{onMouseDown:D}=O.expandIcon||{},A=Wy(rw(D,e=>{var t;e.preventDefault(),O.setOpen(e,!O.open),null===(t=z.current)||void 0===t||t.focus()}));if(O.expandIcon){O.expandIcon.onMouseDown=A;const t="Open";if(!O.expandIcon["aria-label"]&&!O.expandIcon["aria-labelledby"])if(e["aria-labelledby"]){var I;const e=null!==(I=O.expandIcon.id)&&void 0!==I?I:`${B}-chevron`,r=`${e} ${O.input["aria-labelledby"]}`;O.expandIcon["aria-label"]=t,O.expandIcon.id=e,O.expandIcon["aria-labelledby"]=r}else e["aria-label"]?O.expandIcon["aria-label"]=`${t} ${e["aria-label"]}`:O.expandIcon["aria-label"]=t}const q=Wy(rw(null===(r=O.clearIcon)||void 0===r?void 0:r.onMouseDown,e=>{e.preventDefault()})),M=Wy(rw(null===(n=O.clearIcon)||void 0===n?void 0:n.onClick,e=>{f(e)}));return O.clearIcon&&(O.clearIcon.onMouseDown=q,O.clearIcon.onClick=M),h&&(O.clearIcon=void 0),O})(i,t);var s,c,u,d;l.clearIcon&&(null!==(c=(s=l.clearIcon).children)&&void 0!==c||(s.children=L.createElement(U_,null)));l.expandIcon&&(null!==(d=(u=l.expandIcon).children)&&void 0!==d||(u.children=L.createElement(H_,null)));return{...l,appearance:o,size:a,input:{...mC(l.input,l.open),...l.input}}},vC="fui-Combobox",bC="fui-Combobox__input",yC="fui-Combobox__expandIcon",wC="fui-Combobox__clearIcon",kC="fui-Combobox__listbox",xC=$b({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),_C=$b({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),SC=$b({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",qhf8xq:"f10pi13n",Bo70h7d:"fvc9v3g",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["f1gwjbcf","f1rbysb6"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["fpsl3z4","f1po37t9"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],B1piin3:["f1je5ipm","fb53jzl"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f10pi13n{position:relative;}",".fvc9v3g svg{display:block;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1gwjbcf::after{right:calc(-1 * var(--spacingHorizontalSNudge));}",".f1rbysb6::after{left:calc(-1 * var(--spacingHorizontalSNudge));}",".fe5j1ua{font-size:20px;}",".fpsl3z4::after{right:calc(-1 * var(--spacingHorizontalMNudge));}",".f1po37t9::after{left:calc(-1 * var(--spacingHorizontalMNudge));}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1je5ipm::after{right:calc(-1 * var(--spacingHorizontalM));}",".fb53jzl::after{left:calc(-1 * var(--spacingHorizontalM));}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),BC=L.forwardRef((e,t)=>{const r=gC(e,t),n=KE(r);return(e=>{const{appearance:t,open:r,size:n,showClearIcon:o}=e,a="true"==`${e.input["aria-invalid"]}`,i=e.input.disabled,l=xC(),s=SC(),c=_C();e.root.className=bg(vC,l.root,l[t],l[n],!i&&"outline"===t&&l.outlineInteractive,a&&"underline"!==t&&l.invalid,a&&"underline"===t&&l.invalidUnderline,i&&l.disabled,e.root.className),e.input.className=bg(bC,c.input,c[n],i&&c.disabled,e.input.className),e.listbox&&(e.listbox.className=bg(kC,l.listbox,e.inlinePopup&&l.inlineListbox,!r&&l.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=bg(yC,s.icon,s[n],i&&s.disabled,o&&s.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=bg(wC,s.icon,s[n],i&&s.disabled,!o&&s.hidden,e.clearIcon.className))})(r),Dy("useComboboxStyles_unstable")(r),((e,t)=>cw(e.root,{children:cw(E_,{value:t.activeDescendant,children:cw(GE,{value:t.listbox,children:uw(WE.Provider,{value:t.combobox,children:[cw(e.input,{}),e.clearIcon&&cw(e.clearIcon,{}),e.expandIcon&&cw(e.expandIcon,{}),e.listbox&&(e.inlinePopup?cw(e.listbox,{}):cw(QB,{mountNode:e.mountNode,children:cw(e.listbox,{})}))]})})})}))(r,n)});function EC(e,t,r){const{state:{open:n,setOpen:o,getOptionById:a},defaultProps:i,activeDescendantController:l}=r,s=L.useRef(""),[c,u]=tw(),d=(e,t={startFromNext:!1})=>{const{startFromNext:r}=t,n=l.active(),o=l.find(t=>{const r=a(t);return!!r&&e(r.text)},{startFrom:r?l.next({passive:!0}):n});return o||l.find(t=>{const r=a(t);return!!r&&e(r.text)})},f=pC(e,t,{state:r.state,defaultProps:i,elementType:"button",activeDescendantController:l});return f.onKeyDown=rw(e=>{u(),"Type"===QE(e)&&(s.current+=e.key.toLowerCase(),c(()=>{s.current=""},500),n&&(d(e=>0===e.toLocaleLowerCase().indexOf(s.current),{startFromNext:1===s.current.length})||function(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}(s.current)&&d(e=>0===e.toLocaleLowerCase().indexOf(s.current[0]),{startFromNext:!0})||l.blur()),!n&&o(e,!0))},f.onKeyDown),f}BC.displayName="Combobox";const CC=(e,t)=>{const r=pE();var n;const{appearance:o="outline",size:a=(null!==(n=null==r?void 0:r.size)&&void 0!==n?n:"medium"),...i}=e,l=((e,t)=>{var r;e=hE(e,{supportsLabelFor:!0});const{listboxRef:n,activeParentRef:o,controller:a}=j_({matchOption:ZE}),i=uC({...e,activeDescendantController:a,freeform:!1}),{appearance:l,size:s,freeform:c,...u}=i,{clearable:d,clearSelection:f,disabled:p,hasFocus:h,multiselect:m,open:g,selectedOptions:v,setOpen:b}=u,{primary:y,root:w}=yy({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[k,x]=dC(e),_=L.useRef(null),S=fC(e.listbox,Xy(k,n),{state:i,triggerRef:_,defaultProps:{children:e.children}}),{targetDocument:B}=Ny();var E;Ky({element:B,callback:e=>b(e,!1),refs:[_,k,x],disabled:!g});const C=EC(null!==(E=e.button)&&void 0!==E?E:{},Xy(_,o,t),{state:i,defaultProps:{type:"button",tabIndex:y.disabled?void 0:0,children:u.value||e.placeholder,"aria-controls":g?null==S?void 0:S.id:void 0,...y},activeDescendantController:a}),z=Zb(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&g?null==S?void 0:S.id:void 0,children:e.children,...w},elementType:"div"});z.ref=Xy(z.ref,x);const N=v.length>0&&!p&&d&&!m,T={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:oC},root:z,button:C,listbox:g||h?S:void 0,clearButton:ey(e.clearButton,{defaultProps:{"aria-label":"Clear selection",tabIndex:N?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:ey(e.expandIcon,{renderByDefault:!0,elementType:"span"}),placeholderVisible:!u.value&&!!e.placeholder,showClearButton:N,activeDescendantController:a,...u},F=Wy(rw(null===(r=T.clearButton)||void 0===r?void 0:r.onClick,e=>{var t;f(e),null===(t=_.current)||void 0===t||t.focus()}));return T.clearButton&&(T.clearButton.onClick=F),m&&(T.clearButton=void 0),T})(i,t);var s,c,u,d;l.clearButton&&(null!==(c=(s=l.clearButton).children)&&void 0!==c||(s.children=L.createElement(U_,null)));l.expandIcon&&(null!==(d=(u=l.expandIcon).children)&&void 0!==d||(u.children=L.createElement(H_,null)));return{...l,appearance:o,size:a,button:{...mC(l.button,l.open),...l.button}}},zC="fui-Dropdown",NC="fui-Dropdown__button",TC="fui-Dropdown__clearButton",FC="fui-Dropdown__expandIcon",RC="fui-Dropdown__listbox",PC=$b({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),OC=$b({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),jC=Xb("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),DC=L.forwardRef((e,t)=>{const r=CC(e,t),n=KE(r);return(e=>{const{appearance:t,open:r,placeholderVisible:n,showClearButton:o,size:a}=e,i="true"==`${e.button["aria-invalid"]}`,l=e.button.disabled,s=PC(),c=OC(),u=jC();e.root.className=bg(zC,s.root,s[t],!l&&"outline"===t&&s.outlineInteractive,i&&"underline"!==t&&s.invalid,i&&"underline"===t&&s.invalidUnderline,l&&s.disabled,e.root.className),e.button.className=bg(NC,s.button,s[a],n&&s.placeholder,l&&s.disabledText,e.button.className),e.listbox&&(e.listbox.className=bg(RC,s.listbox,e.inlinePopup&&s.inlineListbox,!r&&s.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=bg(FC,c.icon,c[a],l&&c.disabled,o&&s.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=bg(TC,u,c.icon,c[a],l&&c.disabled,!o&&s.hidden,e.clearButton.className))})(r),Dy("useDropdownStyles_unstable")(r),((e,t)=>cw(e.root,{children:cw(E_,{value:t.activeDescendant,children:cw($E.Provider,{value:t.listbox,children:uw(WE.Provider,{value:t.combobox,children:[uw(e.button,{children:[e.button.children,e.expandIcon&&cw(e.expandIcon,{})]}),e.clearButton&&cw(e.clearButton,{}),e.listbox&&(e.inlinePopup?cw(e.listbox,{}):cw(QB,{mountNode:e.mountNode,children:cw(e.listbox,{})}))]})})})}))(r,n)});DC.displayName="Dropdown";const AC=(e,t)=>{const r=hE(e,{supportsLabelFor:!0,supportsRequired:!0}),[n,o]=Iy({state:r.value,defaultState:r.defaultValue,initialState:""}),a=yy({props:r,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),i={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Zb(r.input,{defaultProps:{type:"text",ref:t,...a.primary},elementType:"input"}),contentAfter:ey(r.contentAfter,{elementType:"span"}),contentBefore:ey(r.contentBefore,{elementType:"span"}),root:Zb(r.root,{defaultProps:a.root,elementType:"span"})};return i.input.value=n,i.input.onChange=Wy(e=>{var t;const n=e.target.value;null===(t=r.onChange)||void 0===t||t.call(r,e,{value:n}),o(n)}),i},IC="fui-Input",qC="fui-Input__input",LC="fui-Input__contentBefore",MC="fui-Input__contentAfter",HC=Xb("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),VC=$b({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),WC=Xb("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),UC=$b({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),$C=Xb("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),XC=$b({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),GC=L.forwardRef((e,t)=>{const r=((e,t)=>{const r=Ry(),n=pE();var o,a;const{size:i=(null!==(o=null==n?void 0:n.size)&&void 0!==o?o:"medium"),appearance:l=(null!==(a=r.inputDefaultAppearance)&&void 0!==a?a:"outline"),...s}=e;return{size:i,appearance:l,...AC(s,t)}})(e,t);return(e=>{const{size:t,appearance:r}=e,n=e.input.disabled,o="true"==`${e.input["aria-invalid"]}`,a=r.startsWith("filled"),i=VC(),l=UC(),s=XC();e.root.className=bg(IC,HC(),i[t],e.contentBefore&&i[`${t}WithContentBefore`],e.contentAfter&&i[`${t}WithContentAfter`],i[r],!n&&"outline"===r&&i.outlineInteractive,!n&&"underline"===r&&i.underlineInteractive,!n&&a&&i.filledInteractive,a&&i.filled,!n&&o&&i.invalid,n&&i.disabled,e.root.className),e.input.className=bg(qC,WC(),l[t],e.contentBefore&&l[`${t}WithContentBefore`],e.contentAfter&&l[`${t}WithContentAfter`],n&&l.disabled,e.input.className);const c=[$C(),n&&s.disabled,s[t]];e.contentBefore&&(e.contentBefore.className=bg(LC,...c,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=bg(MC,...c,e.contentAfter.className))})(r),Dy("useInputStyles_unstable")(r),(e=>uw(e.root,{children:[e.contentBefore&&cw(e.contentBefore,{}),cw(e.input,{}),e.contentAfter&&cw(e.contentAfter,{})]}))(r)});GC.displayName="Input";const KC=L.createContext(void 0),QC={};KC.Provider;const JC=(e,t)=>{e=hE(e);const r=$y("radiogroup-"),{name:n=r,value:o,defaultValue:a,disabled:i,onChange:l,required:s}=e;return{name:n,value:o,defaultValue:a,disabled:i,required:s,components:{root:"div"},root:{ref:t,role:"radiogroup",...Zb(wy("div",e,["onChange","name"]),{elementType:"div"}),onChange:Wy(e=>{l&&nw(e.target,{constructorName:"HTMLInputElement"})&&"radio"===e.target.type&&l(e,{value:e.target.value})})}}},YC="fui-RadioGroup",ZC=$b({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),ez=L.forwardRef((e,t)=>{const r=((e,t)=>{const{layout:r="vertical",...n}=e;return{layout:r,...JC(n,t)}})(e,t),n=(e=>{const{name:t,value:r,defaultValue:n,disabled:o,layout:a,required:i}=e,l=e.root["aria-describedby"];return{radioGroup:L.useMemo(()=>({name:t,value:r,defaultValue:n,disabled:o,layout:a,required:i,"aria-describedby":l}),[t,r,n,o,a,i,l])}})(r);return(e=>{const t=ZC();e.root.className=bg(YC,t.root,"vertical"===e.layout&&t.vertical,e.root.className)})(r),Dy("useRadioGroupStyles_unstable")(r),((e,t)=>cw(KC.Provider,{value:t.radioGroup,children:cw(e.root,{})}))(r,n)});ez.displayName="RadioGroup";const tz=(e,t)=>{const r=L.useContext(KC)||QC,{name:n=r.name,checked:o=(void 0!==r.value?r.value===e.value:void 0),defaultChecked:a=(void 0!==r.defaultValue?r.defaultValue===e.value:void 0),labelPosition:i=("horizontal-stacked"===r.layout?"below":"after"),disabled:l=r.disabled,required:s=r.required,"aria-describedby":c=r["aria-describedby"],onChange:u}=e,d=yy({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),f=Zb(e.root,{defaultProps:{ref:Ak(),...d.root},elementType:"span"}),p=Zb(e.input,{defaultProps:{ref:t,type:"radio",id:$y("radio-",d.primary.id),name:n,checked:o,defaultChecked:a,disabled:l,required:s,"aria-describedby":c,...d.primary},elementType:"input"});p.onChange=rw(p.onChange,e=>null==u?void 0:u(e,{value:e.currentTarget.value}));return{labelPosition:i,components:{root:"span",input:"input",label:"label",indicator:"div"},root:f,input:p,label:ey(e.label,{defaultProps:{htmlFor:p.id,disabled:p.disabled},elementType:"label"}),indicator:Zb(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"})}},rz="fui-Radio",nz="fui-Radio__indicator",oz="fui-Radio__input",az="fui-Radio__label",iz=Xb("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),lz=$b({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),sz=Xb("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),cz=$b({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),uz=Xb("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),dz=$b({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),fz=L.forwardRef((e,t)=>{const r=((e,t)=>{const r=tz(e,t);return{...r,components:{...r.components,label:wE},label:ey(e.label,{defaultProps:{...r.label},elementType:wE})}})(e,t);return(e=>{const{labelPosition:t}=e,r=iz(),n=lz();e.root.className=bg(rz,r,"below"===t&&n.vertical,e.root.className);const o=sz(),a=cz();e.input.className=bg(oz,o,"below"===t&&a.below,e.indicator.children?a.customIndicator:a.defaultIndicator,e.input.className);const i=uz();e.indicator.className=bg(nz,i,e.indicator.className);const l=dz();e.label&&(e.label.className=bg(az,l.base,l[t],e.label.className))})(r),Dy("useRadioStyles_unstable")(r),(e=>uw(e.root,{children:[cw(e.input,{}),cw(e.indicator,{}),e.label&&cw(e.label,{})]}))(r)});fz.displayName="Radio";const pz=L.createContext(void 0),hz={};pz.Provider;const mz=(e,t)=>{const{size:r}=null!==(n=L.useContext(pz))&&void 0!==n?n:hz;var n;const{appearance:o="primary",size:a=(null!=r?r:"medium"),...i}=e,l=gz(i,t);return{...l,appearance:o,size:a,components:{...l.components,label:wE},label:ey(e.label,{defaultProps:l.label,elementType:wE})}},gz=(e,t)=>{const{delay:r=0,labelPosition:n="after"}=e,o=$y("spinner"),{role:a="progressbar",...i}=e,l=Zb(wy("div",{ref:t,role:a,...i}),{elementType:"div"}),[s,c]=L.useState(!1),[u,d]=tw();L.useEffect(()=>{if(!(r<=0))return u(()=>{c(!0)},r),()=>{d()}},[u,d,r]);const f=ey(e.label,{defaultProps:{id:o},renderByDefault:!1,elementType:"label"}),p=ey(e.spinner,{renderByDefault:!0,elementType:"span"});f&&l&&!l["aria-labelledby"]&&(l["aria-labelledby"]=f.id);return{delay:r,labelPosition:n,shouldRenderSpinner:!r||s,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:l,spinner:p,spinnerTail:Zb(e.spinnerTail,{elementType:"span"}),label:f}},vz="fui-Spinner",bz="fui-Spinner__spinner",yz="fui-Spinner__spinnerTail",wz="fui-Spinner__label",kz=Xb("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),xz=$b({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),_z=Xb("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),Sz=Xb("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),Bz=$b({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Ez=$b({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),Cz=L.forwardRef((e,t)=>{const r=mz(e,t);return(e=>{const{labelPosition:t,size:r,appearance:n}=e,{dir:o}=Ny(),a=kz(),i=xz(),l=_z(),s=Bz(),c=Sz(),u=Ez();e.root.className=bg(vz,a,("above"===t||"below"===t)&&i.vertical,e.root.className),e.spinner&&(e.spinner.className=bg(bz,l,s[r],"inverted"===n&&s.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=bg(yz,c,"rtl"===o&&s.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=bg(wz,u[r],"inverted"===n&&u.inverted,e.label.className))})(r),Dy("useSpinnerStyles_unstable")(r),(e=>{const{labelPosition:t,shouldRenderSpinner:r}=e;return uw(e.root,{children:[e.label&&r&&("above"===t||"before"===t)&&cw(e.label,{}),e.spinner&&r&&cw(e.spinner,{children:e.spinnerTail&&cw(e.spinnerTail,{})}),e.label&&r&&("below"===t||"after"===t)&&cw(e.label,{})]})})(r)});Cz.displayName="Spinner";const zz=Ub({mainContainer:{WebkitFontSmoothing:"antialiased"},topWrapper:{display:"flex",flexDirection:"column",alignItems:"center",...Eb.padding("5%","25%"),"@media (max-width: 768px)":{...Eb.padding("5%","10%")}},thankyouTopWrapper:{display:"flex",flexDirection:"column",alignItems:"center",...Eb.padding("5%","15%"),"@media (max-width: 768px)":{...Eb.padding("5%","10%")}},formWrapper:{backgroundColor:"#fff",minWidth:"600px",...Eb.padding("5%"),...Eb.border("1px","solid","#ADADAD"),...Eb.borderRadius("8px"),textAlign:"left","@media (max-width: 768px)":{minWidth:"100%",width:"100%"}},inputFieldContainer:{display:"grid",gridTemplateColumns:"minmax(0, 5fr) minmax(0, 3fr)",...Eb.gap("15px","20px"),marginBottom:"20px","@media (max-width: 768px)":{gridTemplateColumns:"1fr"}},checkboxIsSharedMail:{gridColumn:"span 2",...Eb.margin("10px","0"),"@media (max-width: 768px)":{gridColumn:"span 1"}},bigColumn:{gridColumn:"1 / span 1"},recaptchaWrapper:{...Eb.margin("20px","0")},finalStepContainer:{width:"100%",maxWidth:"800px",...Eb.margin("0","auto"),textAlign:"center"},textBlock:{...Eb.padding("40px"),backgroundColor:"#fff",...Eb.borderRadius("8px"),...Eb.border("1px","solid","#ADADAD")}}),Nz=[10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160],Tz=(e,t,r)=>{const n=t/100,o=r/100,a=(1-Math.abs(2*o-1))*n,i=a*(1-Math.abs(e/60%2-1)),l=o-a/2,[s,c,u]=e<60?[a,i,0]:e<120?[i,a,0]:e<180?[0,a,i]:e<240?[0,i,a]:e<300?[i,0,a]:[a,0,i],d=e=>Math.round(255*(e+l)).toString(16).padStart(2,"0").toUpperCase();return`#${d(s)}${d(c)}${d(u)}`},Fz=e=>{const[t,r,n]=(e=>{const t=e.replace("#",""),r=3===t.length?t.split("").map(e=>e+e).join(""):t,n=parseInt(r.slice(0,2),16)/255,o=parseInt(r.slice(2,4),16)/255,a=parseInt(r.slice(4,6),16)/255,i=Math.max(n,o,a),l=Math.min(n,o,a),s=(i+l)/2,c=i-l;if(0===c)return[0,0,100*s];let u;return u=i===n?(o-a)/c%6:i===o?(a-n)/c+2:(n-o)/c+4,[(60*u+360)%360,c/(1-Math.abs(2*s-1))*100,100*s]})(e),o={};return Nz.forEach(e=>{if(80===e)return void(o[e]=Tz(t,r,n));const a=e<80?8.5+(n-8.5)*(e-Nz[0])/(80-Nz[0]):n+(96.5-n)*(e-80)/(Nz[Nz.length-1]-80),i=a>65?r*(1-(a-65)/100):r;o[e]=Tz(t,i,a)}),o},Rz=(e=Cm,t)=>{const r=i_(Fz(e));return t?.family?{...r,fontFamilyBase:t.family}:r},Pz=({primaryColor:e,fonts:t,dir:r="ltr",children:n})=>{const o=t?.family,a=L.useMemo(()=>Rz(e,{family:o}),[e,o]);return M.createElement(m_,{theme:a,dir:r,style:{display:"contents"}},n)};const Oz="[aria-invalid='true']",jz=Ub({input:{backgroundColor:"#FCFCFF",...Eb.border("1px","solid","#8A8A8A"),...Eb.borderRadius("5px"),height:"50px",transitionProperty:"border-color, background-color",transitionDuration:"0.15s","& input, & .fui-Dropdown__button":{fontSize:"16px"},":focus-within":{backgroundColor:"#fff"},[`:hover:not(:focus-within):not(${Oz}):not(:has(${Oz})):not(:has(:disabled))`]:{...Eb.borderColor("#424242")},[`:focus-within:not(${Oz}):not(:has(${Oz}))`]:{...Eb.borderColor(n_)},[`&${Oz}, &:has(${Oz})`]:{...Eb.borderColor(`${o_} !important`)},"&:has(:disabled)":{backgroundColor:"#F5F5F5",...Eb.borderColor("#DDDDDD")}},fill:{width:"100%",minWidth:0,maxWidth:"none",boxSizing:"border-box"}}),Dz=e=>({fontSize:e?.sizes?.body||16,fontWeight:"normal",textAlign:"left",WebkitFontSmoothing:"antialiased"}),Az=(e,t)=>({fontSize:e,fontWeight:t?600:400,margin:0,paddingTop:0,paddingBottom:0}),Iz=L.forwardRef(({label:e,errorMessage:t,hint:r,fonts:n,required:o,className:a,...i},l)=>{const s=jz();return M.createElement(TE,{label:e?{children:e,style:Dz(n)}:void 0,hint:r,required:!!o,validationState:t?"error":"none",validationMessage:t},M.createElement(GC,{ref:l,className:bg(s.input,s.fill,a),...i}))});Iz.displayName="SSASTextInput";const qz=({name:e,control:t,rules:r,defaultValue:n,...o})=>M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{onChange:e,onBlur:t,name:r,value:n},fieldState:{error:a}})=>M.createElement(Iz,{...o,onChange:(t,r)=>e(r.value),value:n,onBlur:t,name:r,errorMessage:a&&a.message,defaultValue:void 0})}),Lz=({name:e,control:t,rules:r,defaultValue:n,setValue:o,setError:a,clearErrors:i,trigger:l,setIsValidating:s,translation:c,validateEmail:u,config:d,apiService:f,...p})=>{const[h,m]=L.useState(null),g=L.useCallback(async e=>{if(!e)return s(!1),c.EmailError;s(!0);try{let t=!1;if(u)t=await u(e);else if(d?.onValidateEmail)t=await d.onValidateEmail(e);else if(f)t=await f.validateEmail(e);else{t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e)}return s(!1),!!t||c.EmailInvalid}catch(e){return s(!1),c.EmailInvalid}},[u,d,f,c,s]),v=(e,t)=>{h&&clearTimeout(h);const r=setTimeout(async()=>{const t=await g(e);i("email"),!0!==t?a("email",{type:"manual",message:t}):i("email")},900);m(r)};return M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{name:e,value:t,onChange:r},fieldState:{error:n}})=>M.createElement(Iz,{...p,onChange:(e,t)=>{s(!0),r(t.value),v(t.value)},onBlur:e=>{s(!0),v(t)},value:t,name:e,errorMessage:n?n.message:void 0,defaultValue:void 0})})},Mz=({name:e,control:t,rules:r,defaultValue:n,...o})=>M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{onChange:e,value:t}})=>M.createElement(VE,{...o,label:"string"==typeof o.label?{children:o.label,style:Az(16)}:o.label,checked:!!t,onChange:(t,r)=>e(r.checked),indicator:{style:{borderRadius:3}}})}),Hz=({label:e,options:t,value:r,errorMessage:n,required:o,fonts:a,className:i,...l})=>{const s=jz(),c=t.find(e=>String(e.key)===r);return M.createElement(TE,{label:e?{children:e,style:Dz(a)}:void 0,required:o,validationState:n?"error":"none",validationMessage:n},M.createElement(DC,{...l,className:bg(s.input,s.fill,i),value:r,button:c?.text},t.map(e=>M.createElement(cC,{key:e.key,value:String(e.key),text:e.text},e.text))))},Vz=({name:t,control:r,rules:n,defaultValue:o,options:a,...i})=>{const l="string"==typeof a[0]?.key||t===e.FormModel.CompanySize||t===e.FormModel.OrgIndustryId,s=e=>l?e:a.find(t=>t.text===e)?.key;return M.createElement(Kd,{name:t,control:r,rules:n,defaultValue:o||"",render:({field:{onChange:e,onBlur:t,value:r},fieldState:{error:n}})=>M.createElement(Hz,{...i,options:a,value:String(s(r)??""),onOptionSelect:(t,r)=>{const n=a.find(e=>String(e.key)===r.optionValue);e(l?n?.key:n?.text)},onBlur:t,errorMessage:n&&n.message})})},Wz=({value:e,onChange:t,onBlur:r,errorMessage:n,options:o,label:a,placeholder:i,required:l,disabled:s,autoComplete:c,style:u,className:d,fonts:f})=>{const p=jz(),h=o.find(t=>String(t.key)===String(e)),m=L.useRef(null),[g,v]=L.useState(null),b=e=>{m.current=e,v(e)},y=e=>{t(e?"string"==typeof e.key?e.key:e.text:""),b(null)};return M.createElement(TE,{label:a?{children:a,style:Dz(f)}:void 0,required:l,validationState:n?"error":"none",validationMessage:n},M.createElement(BC,{freeform:!0,value:g??h?.text??"",selectedOptions:h?[String(h.key)]:[],placeholder:i,disabled:s,autoComplete:c,style:u,className:bg(p.input,p.fill,d),onOptionSelect:(e,t)=>{const r=o.find(e=>String(e.key)===t.optionValue);r&&y(r)},onChange:e=>b(e.target.value),onBlur:()=>{const e=m.current;if(null!==e){const t=e.trim().toLowerCase();y(t?o.find(e=>e.text.toLowerCase()===t):void 0)}r()}},o.map(e=>M.createElement(cC,{key:e.key,value:String(e.key),text:e.text},e.text))))},Uz=({name:e,control:t,rules:r,defaultValue:n,...o})=>M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{onChange:e,onBlur:t,value:r},fieldState:{error:n}})=>M.createElement(Wz,{...o,value:r,onChange:e,onBlur:t,errorMessage:n?.message})});var $z;e.FormDataModels=void 0,($z=e.FormDataModels||(e.FormDataModels={})).CompanySizeDropdownOptions=[{key:1,text:"1-9"},{key:2,text:"10-24"},{key:3,text:"25-49"},{key:4,text:"50-99"},{key:5,text:"100-199"},{key:6,text:"200-299"},{key:7,text:"300-499"},{key:8,text:"500-999"},{key:9,text:"1000-2499"},{key:10,text:"2500-4999"},{key:11,text:"5000+"}],$z.IndustryOptions=[{key:1,text:"Agriculture, Forestry, Fishing, and Hunting"},{key:2,text:"Mining, Quarrying, and Oil and Gas Extraction"},{key:3,text:"Utilities"},{key:4,text:"Construction"},{key:5,text:"Manufacturing"},{key:6,text:"Wholesale Trade"},{key:7,text:"Retail Trade"},{key:8,text:"Transportation and Warehousing"},{key:9,text:"Information, Media, and Publishing"},{key:10,text:"Telecommunications"},{key:11,text:"Finance and Insurance"},{key:12,text:"Real Estate and Rental and Leasing"},{key:13,text:"Professional, Scientific, and Technical Services"},{key:14,text:"Management of Companies and Enterprises"},{key:15,text:"Administrative and Support and Waste Management and Remediation Services"},{key:16,text:"Educational Services"},{key:17,text:"Health Care and Social Assistance"},{key:18,text:"Arts, Entertainment, and Recreation"},{key:19,text:"Accommodation and Food Services"},{key:20,text:"E-commerce and Digital Services"},{key:21,text:"Defense and Aerospace"},{key:22,text:"Other Services (except Public Administration)"},{key:23,text:"Public Administration"}],$z.HearAboutOptions=[{key:1,text:"Microsoft Partner"},{key:2,text:"Search Engine"},{key:3,text:"Social Media"},{key:4,text:"Microsoft Website"},{key:5,text:"Microsoft Event"},{key:6,text:"Email Newsletter"},{key:7,text:"Colleague or Friend"},{key:8,text:"Advertisement"},{key:9,text:"Blog or Article"},{key:10,text:"Other"}];const Xz=Ub({validating:{alignItems:"flex-end",justifyContent:"flex-start"}}),Gz=({formModels:t,isRegistering:r,control:n,setValue:o,setError:a,clearErrors:i,errors:l,trigger:s,performByPartner:c,watchFormField:u,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:b,partnerData:y})=>{const w=Xz(),[k,x]=L.useState({}),_=t.reduce((t,r)=>{const n=((t,r,n)=>[{name:e.FormModel.CustomerPartnerName,type:e.FormType.Text,label:t.PartnerName,placeholder:t.PartnerNamePlaceholder,rules:{required:!!r&&t.PartnerNameError}},{name:e.FormModel.CustomerPartnerMail,type:e.FormType.Text,label:t.PartnerEmail,placeholder:t.PartnerEmailPlaceholder,rules:{required:!!r&&t.PartnerEmailError,pattern:{value:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,message:t.EmailInvalid}}},{name:e.FormModel.FirstName,type:e.FormType.Text,label:t.FirstName,placeholder:t.FirstNamePlaceholder,rules:{required:t.FirstNameError}},{name:e.FormModel.LastName,type:e.FormType.Text,label:t.LastName,placeholder:t.LastNamePlaceholder,rules:{required:t.LastNameError}},{name:e.FormModel.Email,type:e.FormType.AsyncText,label:t.EmailAddress,placeholder:t.EmailPlaceholder,description:t.EmailDesc,rules:{required:t.EmailError}},{name:e.FormModel.JobRole,type:e.FormType.Text,label:t.JobRole,placeholder:t.JobRolePlaceholder},{name:e.FormModel.IsSharedMail,type:e.FormType.CheckBox,label:t.IsSharedMailTerm},{name:e.FormModel.CompanyName,type:e.FormType.Text,label:t.CompanyName,placeholder:t.CompanyNamePlaceholder,rules:{required:t.CompanyNameError}},{name:e.FormModel.CompanySize,type:e.FormType.Dropdown,label:t.CompanySize},{name:e.FormModel.Country,type:e.FormType.ComboBox,label:t.Country,placeholder:t.CountryPlaceholder,rules:{required:t.CountryError}},{name:e.FormModel.PreferredLanguage,type:e.FormType.Dropdown,label:t.SelectPreferredLanguage},{name:e.FormModel.HearAbout,type:e.FormType.Dropdown,label:t.HearAbout,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0},{name:e.FormModel.OrgIndustryId,type:e.FormType.Dropdown,label:t.Industry,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0}].find(e=>e.name===n)||null)(d,c,r);return n?[...t,n]:t},[]),S=t=>{switch(t){case e.FormModel.CompanySize:return g||e.FormDataModels.CompanySizeDropdownOptions;case e.FormModel.OrgIndustryId:return v||e.FormDataModels.IndustryOptions;case e.FormModel.HearAbout:return b||e.FormDataModels.HearAboutOptions;case e.FormModel.PreferredLanguage:{const e=y?.supportedLanguages||[];return 0===e.length?zm:zm.filter(t=>e.includes(t.data.code))}case e.FormModel.Country:return m||[];default:return[]}};return M.createElement(M.Fragment,null,_.map(t=>((t,c)=>{const g=k[t.name]||!1;switch(t.type){case e.FormType.Text:return M.createElement(qz,{name:t.name,control:n,rules:t.rules,label:t.label,placeholder:t.placeholder,required:t.rules?.required,disabled:r,fonts:f.theme?.fonts,key:c});case e.FormType.AsyncText:return M.createElement("div",{key:c},M.createElement(Lz,{label:t.label,placeholder:t.placeholder,control:n,setValue:o,setError:a,clearErrors:i,name:t.name,fonts:f.theme?.fonts,trigger:s,setIsValidating:(b=t.name,e=>{x(t=>{const r=t[b]||!1,n="function"==typeof e?e(r):e;return{...t,[b]:n}})}),translation:d,config:f,apiService:p,rules:{required:d.EmailError},required:t.rules?.required,hint:t.name in l||g?void 0:t.description,disabled:r}),g&&M.createElement(Cz,{size:"tiny",className:w.validating,label:d.ValidatingMessage}));case e.FormType.Dropdown:return M.createElement(Vz,{key:c,required:void 0!==t.rules?.required,options:S(t.name),label:t.label,rules:t.rules,control:n,name:t.name,placeholder:t.placeholder,disabled:(v=t.name,v===e.FormModel.PreferredLanguage&&"AU"===u(e.FormModel.Country)&&"Microsoft"===y?.partnerName||r),className:t.bigColumn?h.bigColumn:"",fonts:f.theme?.fonts});case e.FormType.ComboBox:return M.createElement(Uz,{key:c,options:m||[],label:t.label,control:n,rules:t.rules,name:t.name,placeholder:t.placeholder,required:""!==t.rules?.required,disabled:r,autoComplete:"off",fonts:f.theme?.fonts});case e.FormType.CheckBox:return M.createElement(Mz,{key:c,name:t.name,label:t.label,rules:t.rules,disabled:r,control:n,className:h.checkboxIsSharedMail});default:return null}var v,b})(t,t.name)))},Kz=Ub({root:{marginBottom:"30px"}}),Qz=({isRegistering:t,performByPartner:r,setPerformByPartner:n,setValue:o,setError:a,clearErrors:i,control:l,errors:s,trigger:c,watch:u,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:b,partnerData:y,primaryColor:w})=>{const k=w||"#00BAE4",x=Kz(),_=[{key:"ByCustomer",text:d.ByCustomer},{key:"ByPartner",text:d.ByPartner}],S=b&&b.length>0,B=[r&&e.FormModel.CustomerPartnerName,r&&e.FormModel.CustomerPartnerMail,e.FormModel.FirstName,e.FormModel.LastName,e.FormModel.Email,e.FormModel.JobRole,e.FormModel.IsSharedMail,e.FormModel.CompanyName,e.FormModel.CompanySize,e.FormModel.Country,e.FormModel.PreferredLanguage,!r&&e.FormModel.CustomerPartnerName,!r&&e.FormModel.CustomerPartnerMail,e.FormModel.OrgIndustryId,!!S&&e.FormModel.HearAbout];return M.createElement(M.Fragment,null,M.createElement(ez,{defaultValue:"ByCustomer",className:x.root,onChange:(t,r)=>{o(e.FormModel.CustomerPartnerMail,""),o(e.FormModel.CustomerPartnerName,""),i(e.FormModel.CustomerPartnerMail),i(e.FormModel.CustomerPartnerName),n("ByPartner"===r.value)}},_.map(e=>M.createElement(fz,{key:e.key,value:e.key,label:{children:e.text,style:Az(f.theme?.fonts?.sizes?.body||16)}}))),M.createElement("div",{className:h.inputFieldContainer},M.createElement(Gz,{formModels:B,isRegistering:t,control:l,setValue:o,setError:a,clearErrors:i,errors:s,trigger:c,performByPartner:r,watchFormField:u,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:b,partnerData:y,primaryColor:k})))};var Jz={exports:{}};function Yz(){}function Zz(){}Zz.resetWarningCache=Yz;Jz.exports=function(){function e(e,t,r,n,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Zz,resetWarningCache:Yz};return r.PropTypes=r,r}();var eN=n(Jz.exports),tN=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function rN(){return rN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rN.apply(this,arguments)}function nN(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oN(e,t){return oN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oN(e,t)}var aN=function(e){var t,r;function n(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(nN(t)),t.handleErrored=t.handleErrored.bind(nN(t)),t.handleChange=t.handleChange.bind(nN(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(nN(t)),t}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,oN(t,r);var o=n.prototype;return o.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},o.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},o.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},o.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},o.executeAsync=function(){var e=this;return new Promise(function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()})},o.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},o.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},o.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},o.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},o.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},o.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},o.componentDidMount=function(){this.explicitRender()},o.componentDidUpdate=function(){this.explicitRender()},o.handleRecaptchaRef=function(e){this.captcha=e},o.render=function(){var e=this.props;e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated;var t=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,tN);return L.createElement("div",rN({},t,{ref:this.handleRecaptchaRef}))},n}(L.Component);aN.displayName="ReCAPTCHA",aN.propTypes={sitekey:eN.string.isRequired,onChange:eN.func,grecaptcha:eN.object,theme:eN.oneOf(["dark","light"]),type:eN.oneOf(["image","audio"]),tabindex:eN.number,onExpired:eN.func,onErrored:eN.func,size:eN.oneOf(["compact","normal","invisible"]),stoken:eN.string,hl:eN.string,badge:eN.oneOf(["bottomright","bottomleft","inline"]),isolated:eN.bool},aN.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var iN={exports:{}},lN={},sN="function"==typeof Symbol&&Symbol.for,cN=sN?Symbol.for("react.element"):60103,uN=sN?Symbol.for("react.portal"):60106,dN=sN?Symbol.for("react.fragment"):60107,fN=sN?Symbol.for("react.strict_mode"):60108,pN=sN?Symbol.for("react.profiler"):60114,hN=sN?Symbol.for("react.provider"):60109,mN=sN?Symbol.for("react.context"):60110,gN=sN?Symbol.for("react.async_mode"):60111,vN=sN?Symbol.for("react.concurrent_mode"):60111,bN=sN?Symbol.for("react.forward_ref"):60112,yN=sN?Symbol.for("react.suspense"):60113,wN=sN?Symbol.for("react.suspense_list"):60120,kN=sN?Symbol.for("react.memo"):60115,xN=sN?Symbol.for("react.lazy"):60116,_N=sN?Symbol.for("react.block"):60121,SN=sN?Symbol.for("react.fundamental"):60117,BN=sN?Symbol.for("react.responder"):60118,EN=sN?Symbol.for("react.scope"):60119;function CN(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case cN:switch(e=e.type){case gN:case vN:case dN:case pN:case fN:case yN:return e;default:switch(e=e&&e.$$typeof){case mN:case bN:case xN:case kN:case hN:return e;default:return t}}case uN:return t}}}function zN(e){return CN(e)===vN}lN.AsyncMode=gN,lN.ConcurrentMode=vN,lN.ContextConsumer=mN,lN.ContextProvider=hN,lN.Element=cN,lN.ForwardRef=bN,lN.Fragment=dN,lN.Lazy=xN,lN.Memo=kN,lN.Portal=uN,lN.Profiler=pN,lN.StrictMode=fN,lN.Suspense=yN,lN.isAsyncMode=function(e){return zN(e)||CN(e)===gN},lN.isConcurrentMode=zN,lN.isContextConsumer=function(e){return CN(e)===mN},lN.isContextProvider=function(e){return CN(e)===hN},lN.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===cN},lN.isForwardRef=function(e){return CN(e)===bN},lN.isFragment=function(e){return CN(e)===dN},lN.isLazy=function(e){return CN(e)===xN},lN.isMemo=function(e){return CN(e)===kN},lN.isPortal=function(e){return CN(e)===uN},lN.isProfiler=function(e){return CN(e)===pN},lN.isStrictMode=function(e){return CN(e)===fN},lN.isSuspense=function(e){return CN(e)===yN},lN.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===dN||e===vN||e===pN||e===fN||e===yN||e===wN||"object"==typeof e&&null!==e&&(e.$$typeof===xN||e.$$typeof===kN||e.$$typeof===hN||e.$$typeof===mN||e.$$typeof===bN||e.$$typeof===SN||e.$$typeof===BN||e.$$typeof===EN||e.$$typeof===_N)},lN.typeOf=CN,iN.exports=lN;var NN=iN.exports,TN={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},FN={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},RN={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},PN={};function ON(e){return NN.isMemo(e)?RN:PN[e.$$typeof]||TN}PN[NN.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},PN[NN.Memo]=RN;var jN=Object.defineProperty,DN=Object.getOwnPropertyNames,AN=Object.getOwnPropertySymbols,IN=Object.getOwnPropertyDescriptor,qN=Object.getPrototypeOf,LN=Object.prototype;var MN=function e(t,r,n){if("string"!=typeof r){if(LN){var o=qN(r);o&&o!==LN&&e(t,o,n)}var a=DN(r);AN&&(a=a.concat(AN(r)));for(var i=ON(t),l=ON(r),s=0;s<a.length;++s){var c=a[s];if(!(FN[c]||n&&n[c]||l&&l[c]||i&&i[c])){var u=IN(r,c);try{jN(t,c,u)}catch(e){}}}}return t},HN=n(MN);function VN(){return VN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},VN.apply(this,arguments)}var WN={},UN=0;var $N="onloadcallback";function XN(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var GN,KN,QN=(GN=function(){var e=XN(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+$N+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+$N+"&render=explicit"},KN=(KN={callbackName:$N,globalName:"grecaptcha",attributes:XN().nonce?{nonce:XN().nonce}:{}})||{},function(e){var t=e.displayName||e.name||"Component",r=function(t){var r,n;function o(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}n=t,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n;var a=o.prototype;return a.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+UN++),this.__scriptLoaderID},a.setupScriptURL=function(){return this.__scriptURL="function"==typeof GN?GN():GN,this.__scriptURL},a.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},a.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=WN[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[KN.callbackName]},a.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=KN,o=n.globalName,a=n.callbackName,i=n.scriptId;if(o&&void 0!==window[o]&&(WN[t]={loaded:!0,observers:{}}),WN[t]){var l=WN[t];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var s={};s[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},WN[t]={loaded:!1,observers:s};var c=document.createElement("script");for(var u in c.src=t,c.async=!0,KN.attributes)c.setAttribute(u,KN.attributes[u]);i&&(c.id=i);var d=function(e){if(WN[t]){var r=WN[t].observers;for(var n in r)e(r[n])&&delete r[n]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),c.onload=function(){var e=WN[t];e&&(e.loaded=!0,d(function(t){return!a&&(t(e),!0)}))},c.onerror=function(){var e=WN[t];e&&(e.errored=!0,d(function(t){return t(e),!0}))},document.body.appendChild(c)},a.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===KN.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=WN[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===KN.removeOnUnmount&&delete WN[e])},a.render=function(){var t=KN.globalName,r=this.props;r.asyncScriptOnLoad;var n=r.forwardedRef,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(o[t]=void 0!==window[t]?window[t]:void 0),o.ref=n,L.createElement(e,o)},o}(L.Component),n=L.forwardRef(function(e,t){return L.createElement(r,VN({},e,{forwardedRef:t}))});return n.displayName="AsyncScriptLoader("+t+")",n.propTypes={asyncScriptOnLoad:eN.func},HN(n,e)})(aN);const JN=e=>{const{styles:t,description:r,label:n,checked:o,defaultChecked:a,disabled:i,onChange:l,onRenderLabel:s,labelFontSize:c}=e,u=s?s(e):n;return M.createElement("div",null,M.createElement(VE,{label:{children:u,style:Az(c??18,o)},indicator:{style:{borderRadius:3}},checked:o,defaultChecked:a,disabled:i,onChange:l?(e,t)=>{l?.(e,"mixed"===t.checked||t.checked)}:void 0,style:{margin:"10px 0 5px 0",...t?.root}}),r&&M.createElement("div",{style:{margin:"0 28px",cursor:"default"},className:"checkboxDescription"},r))},YN="--ssas-primary-button-color",ZN=Ub({interactive:{":hover:where(:not(:disabled, [aria-disabled='true']))":{backgroundColor:`color-mix(in srgb, var(${YN}), #000 10%) !important`},":active:where(:not(:disabled, [aria-disabled='true']))":{backgroundColor:`color-mix(in srgb, var(${YN}), #000 15%) !important`},":focus-visible":{outline:"2px solid #000 !important",outlineOffset:"2px",boxShadow:"inset 0 0 0 2px #fff !important"}}}),eT=(e,t)=>({borderRadius:8,height:60,boxShadow:e?"none":"0px 2px 5px 0px #b1b1b1f2",border:"none",maxWidth:"none",fontSize:"18px",fontWeight:600,...t?{backgroundColor:"#cecece",color:"#fff"}:{}}),tT=e=>{const t=ZN(),{dir:r}=Ny(),{styles:n,primaryColor:o,noShadow:a,iconProps:i,noIcon:l,iconName:s,loadingIcon:c,onRenderMenuIcon:u,text:d,className:f,style:p,disabled:h,type:m,onClick:g,children:v}=e,b=o||Cm,y=h||c,w=!!c&&!h,k={...{[YN]:b,...y?{}:{backgroundColor:`var(${YN})`,color:"#fff"}},...eT(a,y),...n?.root,...p},x=((e,t)=>{const r=(e=>({fontSize:25,...e?{color:"#fff"}:{}}))(t);switch(e){case"ChevronRight":return L.createElement(W_,{style:r});case"ChevronLeft":return L.createElement(V_,{style:r});default:return}})(s??("rtl"===r?"ChevronLeft":"ChevronRight"),y),_=u?u(e,()=>x??null)??void 0:c?L.createElement(Cz,{"aria-label":"Loading",size:"tiny"}):l?void 0:x,S=i?"before":"after",B={..._&&"after"===S?{paddingInlineStart:20}:{},...k};return L.createElement(uE,{appearance:"primary",className:bg(t.interactive,f),style:B,icon:_,iconPosition:S,disabled:h,disabledFocusable:w,type:m,onClick:g},d??v)},rT=({setValue:t,isRegistering:r,errors:n,translation:o,submissionError:a,primaryColor:i,partnerData:l})=>{const[s,c]=L.useState(!1),[u,d]=L.useState(!1),[f,p]=L.useState(!1),h=i||Cm,m=l?`https://${l.domain}/terms-and-conditions`:"",g=o.PrivacyStatementLink,v=g&&!/^https?:\/\//.test(g)&&l?`https://${l.domain}${g}`:g;return M.createElement("div",null,M.createElement("div",{style:{margin:"20px 0"}},M.createElement(QN,{sitekey:"6LeSgOkgAAAAAG820G9BYrck3obgjOBn05IdJhom",onChange:e=>c(!!e)})),M.createElement(JN,{onRenderLabel:()=>M.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptPrivacy," ",M.createElement("a",{href:v,target:"_blank",rel:"noopener noreferrer",style:{color:h}},o.PrivacyNotice)),onChange:(r,n)=>{t(e.FormModel.IsConsented,n),p(n)},disabled:r}),M.createElement(JN,{onRenderLabel:()=>M.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptTerm," ",M.createElement("a",{href:m,target:"_blank",rel:"noopener noreferrer",style:{color:h}},o.TermCondition)),onChange:(r,n)=>{n?(d(!0),t(e.FormModel.ConsentedDate,new Date)):(d(!1),t(e.FormModel.ConsentedDate,void 0))},disabled:r}),a&&M.createElement("div",{style:{backgroundColor:"#FDE7E9",border:"1px solid #DC3545",borderRadius:4,padding:"12px 16px",marginBottom:20,color:"#DC3545",fontSize:14,display:"flex",alignItems:"center",gap:8}},M.createElement("span",{style:{fontSize:16,fontWeight:600}},"⚠"),M.createElement("span",null,a)),M.createElement(tT,{text:o.SubmitRequest,primaryColor:h,styles:{root:{display:"flex",width:"100%"}},type:"submit",disabled:Object.keys(n).length>0||r||!u||!f||!s,onRenderMenuIcon:(e,t)=>r?M.createElement(Cz,{"aria-label":"Submitting",size:"tiny"}):t?t():null}))},nT="ColorWidget",oT="KnownProductFrom",aT=({config:t})=>{const[r,n]=L.useState(),[o,a]=L.useState(),i=Vf(t),l=i.apiBaseUrl||"https://portal.selfserviceassessment.com",s=L.useMemo(()=>new qm(l,i.partnerGuid),[l,i.partnerGuid]),c=L.useMemo(()=>new qm(r?.domain?new URL(`https://${r?.domain}`).toString():"",i.partnerGuid),[r?.domain,i.partnerGuid]),u=zz(),d={backgroundColor:i.theme?.backgroundColor||"#FCFCFF"},[f,p]=L.useState(!1),[h,m]=L.useState(!1),[g,v]=L.useState(""),[b,y]=L.useState(),[w,k]=L.useState(),[x,_]=L.useState(e.FormDataModels.CompanySizeDropdownOptions),[S,B]=L.useState(e.FormDataModels.IndustryOptions),[E,C]=L.useState(),[z,N]=L.useState(),[T,F]=L.useState(!1),[R,P]=L.useState(!1),[O,j]=L.useState(!1),[D,A]=L.useState(!1),[I,q]=L.useState(!1),[H,V]=L.useState(!1),[W,U]=L.useState(!1),$=T||R||O||D||I,X=L.useMemo(()=>{const e=r?.supportedLanguages?r.supportedLanguages.split(",").map(e=>e.trim()):[];return Hf.isEmpty(e)?zm:zm.filter(t=>e.includes(t.data.code))},[r?.supportedLanguages]),G=L.useMemo(()=>{const e=i.languageCode||r?.languageCode||"en";return X.find(t=>t.data.code===e)?.text||"English"},[i.languageCode,r?.languageCode,X]),K=(Q=i.languageCode||r?.languageCode)&&["ar","he"].includes(Q.toLowerCase())?"rtl":"ltr";var Q;const{handleSubmit:J,setValue:Y,setError:Z,control:ee,watch:te,clearErrors:re,trigger:ne,formState:{errors:oe}}=function(e={}){const t=M.useRef(void 0),r=M.useRef(void 0),n=M.useRef(e.formControl),[o,a]=M.useState(()=>({...sd(Df),isLoading:Dd(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Dd(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&n.current!==e.formControl)if(n.current=e.formControl,e.formControl)t.current={...e.formControl,formState:o},e.defaultValues&&!Dd(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:r,...n}=Af(e);t.current={...n,formState:o}}const i=t.current.control;return i._options=e,Md(()=>{const e=i._subscribe({formState:i._proxyFormState,callback:()=>a({...i._formState,defaultValues:i._defaultValues}),reRenderRoot:!0});return a(e=>({...e,isReady:!0})),i._formState.isReady=!0,e},[i]),M.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),M.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),M.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),M.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),M.useEffect(()=>{if(i._proxyFormState.isDirty){const e=i._getDirty();e!==o.isDirty&&i._subjects.state.next({isDirty:e})}},[i,o.isDirty]),M.useEffect(()=>{var t;e.values&&!$d(e.values,r.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),(null===(t=i._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||i._setValid(),r.current=e.values,a(e=>({...e}))):i._resetDefaultValues()},[i,e.values]),M.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),t.current.formState=M.useMemo(()=>Ld(o,i),[i,o]),t.current}({defaultValues:{orgSizingId:1,isSharedMail:!0,isConsented:!1,consentedDate:void 0,preferredLanguage:G,assessmentProgresses:[]},mode:"all"});L.useEffect(()=>{A(!0),s.getPartnerByGuid(i.partnerGuid).then(e=>{e?n(e):V(!0)}).catch(e=>{console.error("Failed to load partner:",e),V(!0)}).finally(()=>{A(!1)})},[i.partnerGuid,s]),L.useEffect(()=>{if(!r)return;F(!0),c.getCountries().then(e=>{k(e.sort((e,t)=>e.name.localeCompare(t.name)).map(e=>({key:e.alpha2Code,text:e.name})))}).catch(e=>{console.error("Failed to load countries:",e),403===e.status&&U(!0)}).finally(()=>{F(!1)}),P(!0),c.getOrgSizes().then(e=>{_(e.filter(e=>null!=e.microsoftSizingId).sort((e,t)=>e.sortOrder-t.sortOrder).map(t=>({key:t.id,text:t.label||(t.sortOrder!==e.length-1?`${t.sizeLowerBound}-${t.sizeUpperBound}`:`${t.sizeLowerBound}+`)})))}).catch(e=>{console.error("Failed to load org sizes:",e),403===e.status&&U(!0)}).finally(()=>{P(!1)}),j(!0),c.getIndustries().then(e=>{B(e.map(e=>({key:e.id,text:e.name})))}).catch(e=>{console.error("Failed to load industries:",e),403===e.status&&U(!0)}).finally(()=>{j(!1)}),q(!0);const e=i.languageCode||r.languageCode||"en";c.getFormScreenLocalization(e,r.id).then(e=>{C(e)}).catch(e=>{console.error("Failed to load localization:",e)}).finally(()=>{q(!1)})},[c,r,i.languageCode]);const ae=Xd({control:ee,name:e.FormModel.Country});L.useEffect(()=>{"AU"===ae&&"Microsoft"===r?.partnerName&&Y(e.FormModel.PreferredLanguage,"English")},[ae,Y,r]);const ie=L.useMemo(()=>{if(!E)return Nm.en.formScreen;const e=Nm.en.formScreen,t={},r=E;for(const[n,o]of Object.entries(e))t[n]=r[o]||o;return t},[E]);return L.useEffect(()=>{if(!r)return void a(void 0);const e=r.partnerSettings?.find(e=>e.settingKey===nT);if(e?.settingValue)try{const t=JSON.parse(e.settingValue);a(t)}catch(e){console.error("Failed to parse ColorWidget setting:",e),a(void 0)}else a(void 0)},[r]),L.useEffect(()=>{if(!r||!E)return void N(void 0);const e=r.partnerSettings?.filter(e=>e.settingKey===oT),t=e&&e.length>0?e[0].settingValue:void 0;if(!t)return void N(void 0);const n=parseInt(t,10);if(isNaN(n)||n<=0)return void N(void 0);const o=[],a=E;for(let e=1;e<=n;e++){const t=`hear_about_${e}`,r=a[t]||`Option ${e}`;o.push({key:t,text:r})}N(o)},[r,E]),g?M.createElement(Pz,{primaryColor:i.theme?.primaryColor||o?.column1,fonts:i.theme?.fonts,dir:K},M.createElement("div",{className:u.mainContainer,style:d},M.createElement("div",{className:u.thankyouTopWrapper},M.createElement("div",{className:u.finalStepContainer},M.createElement("div",{className:u.textBlock},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading,fontWeight:700}},ie.ThankYou),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading,margin:"20px 0",lineHeight:"30px"}},ie.ThankYouDesc),M.createElement("div",{style:{fontSize:18,margin:"20px 0",color:i.theme?.primaryColor||o?.column1||"#00BAE4",textUnderlinePosition:"under"}},g)))))):M.createElement(Pz,{primaryColor:i.theme?.primaryColor||o?.column1,fonts:i.theme?.fonts,dir:K},M.createElement("div",{className:u.mainContainer,style:d},M.createElement("div",{className:u.topWrapper,style:i.customStyles?.topWrapper},$?M.createElement(Cz,{size:"tiny",labelPosition:"below",label:"Loading form data...",style:{marginBottom:"20px"}}):H?M.createElement("div",{style:{textAlign:"center",padding:"40px 20px",color:"#605e5c"}},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading||24,fontWeight:700,marginBottom:16}},"Access Not Available"),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading||16,lineHeight:"28px"}},"Your company is not eligible to use this form. Please contact your administrator for assistance.")):W?M.createElement("div",{style:{textAlign:"center",padding:"40px 20px",color:"#605e5c"}},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading||24,fontWeight:700,marginBottom:16}},"Domain Not Whitelisted"),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading||16,lineHeight:"28px"}},"Your company has not registered this domain into the whitelist. Please contact QSSolutions admin to add it.")):M.createElement("form",{className:u.formWrapper,style:i.customStyles?.formWrapper,onSubmit:J(async t=>{p(!0),y(void 0);if(await c.checkMaintenanceStatus()){const e="System is under maintenance, please try again later";return i.onError&&i.onError(e),void p(!1)}Y(e.FormModel.Partner,r),Y(e.FormModel.PerfromedByPartner,h),c.addUser(te(),r?.partnerName||"",window.location.hostname).then(t=>{const r=te(e.FormModel.Email);v(r),i.onSuccess&&i.onSuccess(r)}).catch(e=>{const t=e?.response?.data;let r;if(t?.errors)r=Object.values(t.errors).flat().join(" ");else{const n=t?.title||e?.message||e;r=E?.[n]||n||"Registration failed"}i.onError&&i.onError(r),y(r)}).finally(()=>{p(!1)})}),noValidate:!0},M.createElement("div",{style:{textAlign:"center"}},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading,fontWeight:700}},ie.AppForm),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading,margin:"12px auto 24px",width:"85%",lineHeight:"30px"}},ie.AppFormDesc)),M.createElement(Qz,{isRegistering:f,setPerformByPartner:m,performByPartner:h,setValue:Y,setError:Z,clearErrors:re,control:ee,errors:oe,trigger:ne,watch:te,translation:ie,config:i,apiService:c,styles:u,countryOptions:w,orgSizingOptions:x,orgIndustryOptions:S,hearAboutOptions:z,partnerData:r,primaryColor:i.theme?.primaryColor||o?.column1}),M.createElement(rT,{setValue:Y,isRegistering:f,errors:oe,translation:ie,config:i,submissionError:b,primaryColor:i.theme?.primaryColor||o?.column1,partnerData:r})))))};class iT extends HTMLElement{constructor(){super(),this.root=null,this._config=null}static get observedAttributes(){return["config"]}connectedCallback(){this._config&&this.render()}disconnectedCallback(){this.root&&(this.root.unmount(),this.root=null)}attributeChangedCallback(e,t,r){if("config"===e&&t!==r)try{this._config=JSON.parse(r),this.render()}catch(e){console.error("Invalid config JSON:",e)}}set config(e){this._config=e,this.render()}render(){let e=this.querySelector("div.ssas-form-container");e||(e=document.createElement("div"),e.className="ssas-form-container",e.style.width="100%",e.style.height="100%",this.appendChild(e));let t=this._config;if(!t){const e=this.getAttribute("config");if(e)try{t=JSON.parse(e)}catch(e){return void console.error("Invalid config attribute:",e)}}t?(this.root||(this.root=V.createRoot(e)),this.root.render(M.createElement(aT,{config:t})),this.dispatchEvent(new CustomEvent("ssas-form-ready",{bubbles:!0,composed:!0,detail:{config:t}}))):console.error("No configuration provided to ssas-registration-form")}}return"undefined"==typeof window||customElements.get("ssas-registration-form")||customElements.define("ssas-registration-form",iT),e.ApiService=qm,e.DEFAULT_TRANSLATIONS=Nm,e.EMAIL_PATTERN=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,e.LANGUAGE_OPTIONS=zm,e.SSASFormElement=iT,e.SSASRegistrationForm=aT,e.createBrandRamp=Fz,e.createFormTheme=Rz,e.useFormConfig=Vf,e}({});
109
+ */(i);const e=i.document;xk(e,_k,c),xk(e,"mousedown",d),xk(i,"keydown",f),xk(e,"touchstart",u),xk(e,"touchend",u),xk(e,"touchcancel",u),i=void 0},get isNavigatingWithKeyboard(){return l},set isNavigatingWithKeyboard(e){s(e)}}}function Ck(e,t){const r=e,n="k"+ ++Bk;let o,a=r;const i=[],l=r.__keyborg;o=l?l.core:Ek(r,t);const s={isNavigatingWithKeyboard:()=>!!o?.isNavigatingWithKeyboard,subscribe(e){i.push(e)},unsubscribe(e){const t=i.indexOf(e);t>=0&&i.splice(t,1)},setVal(e){o&&(o.isNavigatingWithKeyboard=e)},_cb:i,dispose(){const e=a?.__keyborg;e?.refs[n]&&(delete e.refs[n],0===Object.keys(e.refs).length&&(e.core.dispose(),delete a.__keyborg)),i.length=0,o=void 0,a=void 0}};return l?l.refs[n]=s:r.__keyborg={core:o,refs:{[n]:s}},s}function zk(e){e.dispose()}const Nk="data-fui-focus-visible",Tk="data-fui-focus-within";function Fk(e,t){if(Rk(e))return()=>{};const r={current:void 0},n=Ck(t);function o(e){n.isNavigatingWithKeyboard()&&nw(e)&&(r.current=e,e.setAttribute(Nk,""))}function a(){r.current&&(r.current.removeAttribute(Nk),r.current=void 0)}n.subscribe(e=>{e?o(t.document.activeElement):a()});const i=e=>{a();o(e.composedPath()[0])},l=t=>{(!t.relatedTarget||nw(t.relatedTarget)&&!e.contains(t.relatedTarget))&&a()};return e.addEventListener(_k,i),e.addEventListener("focusout",l),e.focusVisible=!0,e.contains(t.document.activeElement)&&o(t.document.activeElement),()=>{a(),e.removeEventListener(_k,i),e.removeEventListener("focusout",l),e.focusVisible=void 0,zk(n)}}function Rk(e){return!!e&&(!!e.focusVisible||Rk(null==e?void 0:e.parentElement))}function Pk(e={}){const t=Ny(),r=L.useRef(null);var n;const o=null!==(n=e.targetDocument)&&void 0!==n?n:t.targetDocument;return L.useEffect(()=>{if((null==o?void 0:o.defaultView)&&r.current)return Fk(r.current,o.defaultView)},[r,o]),r}function Ok(e,t){const r=Ck(t);r.subscribe(t=>{t||jk(e)});const n=t=>{r.isNavigatingWithKeyboard()&&Dk(t.target)&&function(e){e.setAttribute(Tk,"")}(e)},o=t=>{(!t.relatedTarget||Dk(t.relatedTarget)&&!e.contains(t.relatedTarget))&&jk(e)};return e.addEventListener(_k,n),e.addEventListener("focusout",o),()=>{e.removeEventListener(_k,n),e.removeEventListener("focusout",o),zk(r)}}function jk(e){e.removeAttribute(Tk)}function Dk(e){return!!e&&Boolean(e&&"object"==typeof e&&"classList"in e&&"contains"in e)}function Ak(){const{targetDocument:e}=Ny(),t=L.useRef(null);return L.useEffect(()=>{if((null==e?void 0:e.defaultView)&&t.current)return Ok(t.current,e.defaultView)},[t,e]),t}function Ik(){const{targetDocument:e}=Ny(),t=L.useRef(null);return L.useEffect(()=>{const r=null==e?void 0:e.defaultView;if(r){const e=Ck(r);return t.current=e,()=>{zk(e),t.current=null}}},[e]),t}function qk(e){const t=Ik(),r=Wy(e);L.useEffect(()=>{const e=t.current;if(e){const t=e=>{r(e)};return e.subscribe(t),t(e.isNavigatingWithKeyboard()),()=>{e.unsubscribe(t)}}},[t,r])}const Lk="\0",Mk=e=>{if(0!==e.length)return 1===e.length?e[0]:JSON.stringify(Object.assign({},...e.map(Hk)))},Hk=e=>{try{return JSON.parse(e)}catch{return{}}};const Vk="#1f1f1f",Wk="#242424",Uk="#292929",$k="#333333",Xk="#383838",Gk="#3d3d3d",Kk="#424242",Qk="#4d4d4d",Jk="#575757",Yk="#616161",Zk="#707070",ex="#b3b3b3",tx="#bdbdbd",rx="#c7c7c7",nx="#d1d1d1",ox="#d6d6d6",ax="#dbdbdb",ix="#e0e0e0",lx="#e6e6e6",sx="#ebebeb",cx="#f0f0f0",ux="#f5f5f5",dx="#fafafa",fx="#fcfcfc",px="rgba(255, 255, 255, 0.1)",hx="rgba(255, 255, 255, 0.2)",mx="rgba(255, 255, 255, 0.4)",gx="rgba(255, 255, 255, 0.5)",vx="rgba(255, 255, 255, 0.7)",bx="rgba(255, 255, 255, 0.8)",yx="rgba(0, 0, 0, 0.05)",wx="rgba(0, 0, 0, 0.1)",kx="rgba(0, 0, 0, 0.2)",xx="rgba(0, 0, 0, 0.3)",_x="rgba(0, 0, 0, 0.4)",Sx="rgba(0, 0, 0, 0.5)",Bx="#ffffff",Ex={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},Cx={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},zx={red:{shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},green:Cx,darkOrange:{shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},yellow:{shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},berry:{shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},lightGreen:{shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},marigold:{shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"}},Nx={darkRed:{shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},cranberry:Ex,pumpkin:{shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},peach:{shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},gold:{shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},brass:{shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},brown:{shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},forest:{shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},seafoam:{shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},darkGreen:{shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},lightTeal:{shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},teal:{shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},steel:{shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},blue:{shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},royalBlue:{shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},cornflower:{shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},navy:{shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},lavender:{shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},purple:{shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},grape:{shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},lilac:{shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},pink:{shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},magenta:{shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},plum:{shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},beige:{shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},mink:{shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},platinum:{shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},anchor:{shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"}},Tx={cranberry:Ex,green:Cx,orange:{shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"}},Fx={success:"green",warning:"orange",danger:"cranberry"},Rx=["red","green","darkOrange","yellow","berry","lightGreen","marigold"].reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background1`]:zx[t].tint60,[`colorPalette${r}Background2`]:zx[t].tint40,[`colorPalette${r}Background3`]:zx[t].primary,[`colorPalette${r}Foreground1`]:zx[t].shade10,[`colorPalette${r}Foreground2`]:zx[t].shade30,[`colorPalette${r}Foreground3`]:zx[t].primary,[`colorPalette${r}BorderActive`]:zx[t].primary,[`colorPalette${r}Border1`]:zx[t].tint40,[`colorPalette${r}Border2`]:zx[t].primary};return Object.assign(e,n)},{});Rx.colorPaletteYellowForeground1=zx.yellow.shade30,Rx.colorPaletteRedForegroundInverted=zx.red.tint20,Rx.colorPaletteGreenForegroundInverted=zx.green.tint20,Rx.colorPaletteYellowForegroundInverted=zx.yellow.tint40;const Px=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"].reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background2`]:Nx[t].tint40,[`colorPalette${r}Foreground2`]:Nx[t].shade30,[`colorPalette${r}BorderActive`]:Nx[t].primary};return Object.assign(e,n)},{}),Ox={...Rx,...Px},jx=Object.entries(Fx).reduce((e,[t,r])=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${n}Background1`]:Tx[r].tint60,[`colorStatus${n}Background2`]:Tx[r].tint40,[`colorStatus${n}Background3`]:Tx[r].primary,[`colorStatus${n}Foreground1`]:Tx[r].shade10,[`colorStatus${n}Foreground2`]:Tx[r].shade30,[`colorStatus${n}Foreground3`]:Tx[r].primary,[`colorStatus${n}ForegroundInverted`]:Tx[r].tint30,[`colorStatus${n}BorderActive`]:Tx[r].primary,[`colorStatus${n}Border1`]:Tx[r].tint40,[`colorStatus${n}Border2`]:Tx[r].primary};return Object.assign(e,o)},{});jx.colorStatusDangerBackground3Hover=Tx[Fx.danger].shade10,jx.colorStatusDangerBackground3Pressed=Tx[Fx.danger].shade20,jx.colorStatusWarningForeground1=Tx[Fx.warning].shade20,jx.colorStatusWarningForeground3=Tx[Fx.warning].shade20,jx.colorStatusWarningBorder2=Tx[Fx.warning].shade20;const Dx={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Ax={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},Ix={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},qx={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Lx={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Mx={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Hx={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},Vx="0",Wx="2px",Ux="4px",$x="6px",Xx="8px",Gx="10px",Kx="12px",Qx="16px",Jx="20px",Yx="24px",Zx="32px",e_={spacingHorizontalNone:Vx,spacingHorizontalXXS:Wx,spacingHorizontalXS:Ux,spacingHorizontalSNudge:$x,spacingHorizontalS:Xx,spacingHorizontalMNudge:Gx,spacingHorizontalM:Kx,spacingHorizontalL:Qx,spacingHorizontalXL:Jx,spacingHorizontalXXL:Yx,spacingHorizontalXXXL:Zx},t_={spacingVerticalNone:Vx,spacingVerticalXXS:Wx,spacingVerticalXS:Ux,spacingVerticalSNudge:$x,spacingVerticalS:Xx,spacingVerticalMNudge:Gx,spacingVerticalM:Kx,spacingVerticalL:Qx,spacingVerticalXL:Jx,spacingVerticalXXL:Yx,spacingVerticalXXXL:Zx},r_={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},n_="var(--colorBrandStroke1)",o_="var(--colorPaletteRedBorder2)";function a_(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const i_=e=>{const t=(e=>({colorNeutralForeground1:Wk,colorNeutralForeground1Hover:Wk,colorNeutralForeground1Pressed:Wk,colorNeutralForeground1Selected:Wk,colorNeutralForeground2:Kk,colorNeutralForeground2Hover:Wk,colorNeutralForeground2Pressed:Wk,colorNeutralForeground2Selected:Wk,colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:Yk,colorNeutralForeground3Hover:Kk,colorNeutralForeground3Pressed:Kk,colorNeutralForeground3Selected:Kk,colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:Zk,colorNeutralForeground5:Yk,colorNeutralForeground5Hover:Wk,colorNeutralForeground5Pressed:Wk,colorNeutralForeground5Selected:Wk,colorNeutralForegroundDisabled:tx,colorNeutralForegroundInvertedDisabled:mx,colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:Kk,colorNeutralForeground2LinkHover:Wk,colorNeutralForeground2LinkPressed:Wk,colorNeutralForeground2LinkSelected:Wk,colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:Wk,colorNeutralForegroundStaticInverted:Bx,colorNeutralForegroundInverted:Bx,colorNeutralForegroundInvertedHover:Bx,colorNeutralForegroundInvertedPressed:Bx,colorNeutralForegroundInvertedSelected:Bx,colorNeutralForegroundInverted2:Bx,colorNeutralForegroundOnBrand:Bx,colorNeutralForegroundInvertedLink:Bx,colorNeutralForegroundInvertedLinkHover:Bx,colorNeutralForegroundInvertedLinkPressed:Bx,colorNeutralForegroundInvertedLinkSelected:Bx,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Bx,colorNeutralBackground1Hover:ux,colorNeutralBackground1Pressed:ix,colorNeutralBackground1Selected:sx,colorNeutralBackground2:dx,colorNeutralBackground2Hover:cx,colorNeutralBackground2Pressed:ax,colorNeutralBackground2Selected:lx,colorNeutralBackground3:ux,colorNeutralBackground3Hover:sx,colorNeutralBackground3Pressed:ox,colorNeutralBackground3Selected:ix,colorNeutralBackground4:cx,colorNeutralBackground4Hover:dx,colorNeutralBackground4Pressed:ux,colorNeutralBackground4Selected:Bx,colorNeutralBackground5:sx,colorNeutralBackground5Hover:ux,colorNeutralBackground5Pressed:cx,colorNeutralBackground5Selected:dx,colorNeutralBackground6:lx,colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:sx,colorNeutralBackground7Pressed:ox,colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:fx,colorNeutralBackgroundInverted:Uk,colorNeutralBackgroundInvertedHover:Gk,colorNeutralBackgroundInvertedPressed:Vk,colorNeutralBackgroundInvertedSelected:Xk,colorNeutralBackgroundStatic:$k,colorNeutralBackgroundAlpha:gx,colorNeutralBackgroundAlpha2:bx,colorSubtleBackground:"transparent",colorSubtleBackgroundHover:ux,colorSubtleBackgroundPressed:ix,colorSubtleBackgroundSelected:sx,colorSubtleBackgroundLightAlphaHover:vx,colorSubtleBackgroundLightAlphaPressed:gx,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:wx,colorSubtleBackgroundInvertedPressed:xx,colorSubtleBackgroundInvertedSelected:kx,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:cx,colorNeutralBackgroundDisabled2:Bx,colorNeutralBackgroundInvertedDisabled:px,colorNeutralStencil1:lx,colorNeutralStencil2:dx,colorNeutralStencil1Alpha:wx,colorNeutralStencil2Alpha:yx,colorBackgroundOverlay:_x,colorScrollbarOverlay:Sx,colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Bx,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:dx,colorNeutralCardBackgroundHover:Bx,colorNeutralCardBackgroundPressed:ux,colorNeutralCardBackgroundSelected:sx,colorNeutralCardBackgroundDisabled:cx,colorNeutralStrokeAccessible:Yk,colorNeutralStrokeAccessibleHover:Jk,colorNeutralStrokeAccessiblePressed:Qk,colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:nx,colorNeutralStroke1Hover:rx,colorNeutralStroke1Pressed:ex,colorNeutralStroke1Selected:tx,colorNeutralStroke2:ix,colorNeutralStroke3:cx,colorNeutralStroke4:sx,colorNeutralStroke4Hover:ix,colorNeutralStroke4Pressed:ox,colorNeutralStroke4Selected:sx,colorNeutralStrokeSubtle:ix,colorNeutralStrokeOnBrand:Bx,colorNeutralStrokeOnBrand2:Bx,colorNeutralStrokeOnBrand2Hover:Bx,colorNeutralStrokeOnBrand2Pressed:Bx,colorNeutralStrokeOnBrand2Selected:Bx,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:ix,colorNeutralStrokeDisabled2:sx,colorNeutralStrokeInvertedDisabled:mx,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:yx,colorNeutralStrokeAlpha2:hx,colorStrokeFocus1:Bx,colorStrokeFocus2:"#000000",colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...Dx,...qx,...Lx,...Hx,...Mx,...r_,...e_,...t_,...Ix,...Ax,...t,...Ox,...jx,...a_(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...a_(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},l_="fui-FluentProvider",s_=Bb({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),c_=H.useInsertionEffect?H.useInsertionEffect:Vy,u_=e=>{const{targetDocument:t,theme:r,rendererAttributes:n}=e,o=L.useRef(void 0),a=$y(l_),i=n,l=L.useMemo(()=>function(e,t){const r=Kb(e);if(t)return`${r} { ${Kb(Object.keys(t).reduce((e,r)=>`${e}--${r}: ${t[r]}; `,""))} }`;return`${r} {}`}(`.${a}`,r),[r,a]);return function(e,t){L.useState(()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)})}(t,a),c_(()=>{const e=null==t?void 0:t.getElementById(a);return e?o.current=e:(o.current=((e,t)=>{if(!(null==e?void 0:e.head))return;const r=e.createElement("style");return Object.keys(t).forEach(e=>{r.setAttribute(e,t[e])}),e.head.appendChild(r),r})(t,{...i,id:a}),o.current&&((e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))})(o.current,l)),()=>{var e;null===(e=o.current)||void 0===e||e.remove()}},[a,t,l,i]),{styleTagId:a,rule:l}};const d_={},f_={},p_=(e,t)=>{const r=Ny(),n=L.useContext(ky),o=Ry(),a=L.useContext(Py)||d_,{applyStylesToPortals:i=!0,customStyleHooks_unstable:l,dir:s=r.dir,targetDocument:c=r.targetDocument,theme:u,overrides_unstable:d={}}=e,f=h_(n,u),p=h_(o,d),h=h_(a,l),m=Mb();var g;const{styleTagId:v,rule:b}=u_({theme:f,targetDocument:c,rendererAttributes:null!==(g=m.styleElementAttributes)&&void 0!==g?g:f_});return{applyStylesToPortals:i,customStyleHooks_unstable:h,dir:s,targetDocument:c,theme:f,overrides_unstable:p,themeClassName:v,components:{root:"div"},root:Zb(wy("div",{...e,dir:s,ref:Xy(t,Pk({targetDocument:c}))}),{elementType:"div"}),serverStyleProps:{cssRule:b,attributes:{...m.styleElementAttributes,id:v}}}};function h_(e,t){return e&&t?{...e,...t}:e||t}const m_=L.forwardRef((e,t)=>{const r=p_(e,t);(e=>{const t=Mb(),r=s_({dir:e.dir,renderer:t});e.root.className=bg(l_,e.themeClassName,r.root,e.root.className)})(r);const n=function(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:n,root:o,targetDocument:a,theme:i,themeClassName:l,overrides_unstable:s}=e,c=L.useMemo(()=>({dir:n,targetDocument:a}),[n,a]),[u]=L.useState(()=>({})),d=L.useMemo(()=>({textDirection:n}),[n]);return{customStyleHooks_unstable:r,overrides_unstable:s,provider:c,textDirection:n,iconDirection:d,tooltip:u,theme:i,themeClassName:t?o.className:l}}(r);return((e,t)=>cw(zy,{value:t.provider,children:cw(xy,{value:t.theme,children:cw(Sy,{value:t.themeClassName,children:cw(jy,{value:t.customStyleHooks_unstable,children:cw(By,{value:t.tooltip,children:cw(Vb,{dir:t.textDirection,children:cw(pw,{value:t.iconDirection,children:cw(Fy,{value:t.overrides_unstable,children:uw(e.root,{children:[Ly()?null:cw("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}))(r,n)});m_.displayName="FluentProvider";const g_=e=>{const t=L.createContext({value:{current:e},listeners:[],isDefault:!0});var r;return t.Provider=(r=t.Provider,e=>{const t=L.useRef(e.value),n=L.useRef(null);return n.current||(n.current={value:t,listeners:[]}),Vy(()=>{t.current=e.value,G.unstable_runWithPriority(G.unstable_NormalPriority,()=>{n.current.listeners.forEach(t=>{t(e.value)})})},[e.value]),L.createElement(r,{value:n.current},e.children)}),delete t.Consumer,t};function v_(e){return!L.useContext(e).isDefault}const b_="Enter",y_=" ",w_="ArrowDown",k_="ArrowUp";function x_(e,t){const{disabled:r,disabledFocusable:n=!1,"aria-disabled":o,onClick:a,onKeyDown:i,onKeyUp:l,...s}=null!=t?t:{},c="string"==typeof o?"true"===o:o,u=r||n||c,d=Wy(e=>{u?(e.preventDefault(),e.stopPropagation()):null==a||a(e)}),f=Wy(e=>{if(null==i||i(e),e.isDefaultPrevented())return;const t=e.key;if(u&&(t===b_||t===y_))return e.preventDefault(),void e.stopPropagation();t!==y_?t===b_&&(e.preventDefault(),e.currentTarget.click()):e.preventDefault()}),p=Wy(e=>{if(null==l||l(e),e.isDefaultPrevented())return;const t=e.key;if(u&&(t===b_||t===y_))return e.preventDefault(),void e.stopPropagation();t===y_&&(e.preventDefault(),e.currentTarget.click())});if("button"===e||void 0===e)return{...s,disabled:r&&!n,"aria-disabled":!!n||c,onClick:n?void 0:d,onKeyUp:n?void 0:l,onKeyDown:n?void 0:i};{const t=!!s.href;let o=t?void 0:"button";!o&&u&&(o="link");const a={role:o,tabIndex:n||!t&&!r?0:void 0,...s,onClick:d,onKeyUp:p,onKeyDown:f,"aria-disabled":u};return"a"===e&&u&&(a.href=void 0),a}}const __=()=>{},S_={controller:{active:__,blur:__,find:__,first:__,focus:__,focusLastActive:__,scrollActiveIntoView:__,last:__,next:__,prev:__,showAttributes:__,hideAttributes:__,showFocusVisibleAttributes:__,hideFocusVisibleAttributes:__}},B_=L.createContext(void 0),E_=B_.Provider,C_=()=>{var e;return null!==(e=L.useContext(B_))&&void 0!==e?e:S_};const z_="data-activedescendant",N_="data-activedescendant-focusvisible",T_=e=>{if(!e)return;const t=F_(e.parentElement);if(!t)return;const{offsetHeight:r}=e,n=R_(e,t),{scrollMarginTop:o,scrollMarginBottom:a}=P_(e),{offsetHeight:i,scrollTop:l}=t,s=n+r+a>l+i;n-o<l?t.scrollTo(0,n-o-2):s&&t.scrollTo(0,n+r+a-i+2)},F_=e=>e?e.scrollHeight>e.offsetHeight?e:F_(e.parentElement):null,R_=(e,t)=>e&&e!==t?e.contains(t)?-1*t.offsetTop:e.offsetTop+R_(e.offsetParent,t):0,P_=e=>{var t;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!r)return{scrollMarginTop:0,scrollMarginBottom:0};const n=r.getComputedStyle(e);var o;var a;return{scrollMarginTop:null!==(o=O_(n.scrollMarginTop))&&void 0!==o?o:O_(n.scrollMarginBlockStart),scrollMarginBottom:null!==(a=O_(n.scrollMarginBottom))&&void 0!==a?a:O_(n.scrollMarginBlockEnd)}},O_=e=>e?parseInt(e,10):0;function j_(e){const{imperativeRef:t,matchOption:r}=e,n=L.useRef(!1),o=L.useRef(!0),a=L.useRef(null),i=L.useRef(null),l=L.useRef(null),s=L.useRef(!0),c=L.useCallback(()=>{var e;null===(e=l.current)||void 0===e||e.removeAttribute("aria-activedescendant")},[]),u=L.useCallback(e=>{var t;(e&&(a.current=e),s.current&&a.current)&&(null===(t=l.current)||void 0===t||t.setAttribute("aria-activedescendant",a.current))},[]);qk(e=>{n.current=e;const t=m();t&&(e&&o.current?t.setAttribute(N_,""):t.removeAttribute(N_))});const d=Wy(r),f=L.useRef(null),{optionWalker:p,listboxCallbackRef:h}=function(e){const{matchOption:t}=e,{targetDocument:r}=Ny(),n=L.useRef(null),o=L.useRef(null),a=L.useCallback(e=>nw(e)&&t(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[t]),i=L.useCallback(e=>{e&&r?(o.current=e,n.current=r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a)):(o.current=null,n.current=null)},[r,a]),l=L.useMemo(()=>({first:()=>n.current&&o.current?(n.current.currentNode=o.current,n.current.firstChild()):null,last:()=>n.current&&o.current?(n.current.currentNode=o.current,n.current.lastChild()):null,next:()=>n.current?n.current.nextNode():null,prev:()=>n.current?n.current.previousNode():null,find:(e,t)=>{if(!n.current||!o.current)return null;const a=t?null==r?void 0:r.getElementById(t):null;n.current.currentNode=null!=a?a:o.current;let i=n.current.currentNode;for(;i&&!e(i.id);)i=n.current.nextNode();return i},setCurrent:e=>{n.current&&(n.current.currentNode=e)}}),[r]);return{optionWalker:l,listboxCallbackRef:i}}({matchOption:d}),m=L.useCallback(()=>{var e;return null===(e=f.current)||void 0===e?void 0:e.querySelector(`#${a.current}`)},[f]),g=L.useCallback(e=>{o.current=e;const t=m();t&&(e&&n.current?t.setAttribute(N_,""):t.removeAttribute(N_))},[m]),v=L.useCallback(()=>{const e=m();var t;return e&&(e.removeAttribute(z_),e.removeAttribute(N_)),c(),i.current=a.current,a.current=null,null!==(t=null==e?void 0:e.id)&&void 0!==t?t:null},[m,c]),b=L.useCallback(e=>{if(!e)return;const t=v();T_(e),u(e.id),e.setAttribute(z_,""),n.current&&o.current&&e.setAttribute(N_,"");const r=(a={id:e.id,previousId:t},new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:a}));var a;e.dispatchEvent(r)},[v,u]),y=L.useMemo(()=>({first:({passive:e}={})=>{const t=p.first();return e||b(t),null==t?void 0:t.id},last:({passive:e}={})=>{const t=p.last();return e||b(t),null==t?void 0:t.id},next:({passive:e}={})=>{const t=m();if(!t)return;p.setCurrent(t);const r=p.next();return e||b(r),null==r?void 0:r.id},prev:({passive:e}={})=>{const t=m();if(!t)return;p.setCurrent(t);const r=p.prev();return e||b(r),null==r?void 0:r.id},blur:()=>{v()},active:()=>{var e;return null===(e=m())||void 0===e?void 0:e.id},focus:e=>{if(!f.current)return;const t=f.current.querySelector(`#${e}`);t&&b(t)},focusLastActive:()=>{if(!f.current||!i.current)return;const e=f.current.querySelector(`#${i.current}`);return e?(b(e),!0):void 0},find(e,{passive:t,startFrom:r}={}){const n=p.find(e,r);return t||b(n),null==n?void 0:n.id},scrollActiveIntoView:()=>{if(!f.current)return;const e=m();e&&T_(e)},showAttributes(){s.current=!0,u()},hideAttributes(){s.current=!1,c()},showFocusVisibleAttributes(){g(!0)},hideFocusVisibleAttributes(){g(!1)}}),[p,f,u,c,b,v,m,g]);return L.useImperativeHandle(t,()=>y),{listboxRef:Xy(f,h),activeParentRef:l,controller:y}}const D_=$b({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),A_=(e,t)=>{const{filled:r,title:n,primaryFill:o="currentColor",...a}=e,i={...a,fill:o},l=D_(),s=(()=>{const e=L.useContext(dw);return null!=e?e:fw})();return i.className=bg(l.root,(null==t?void 0:t.flipInRtl)&&"rtl"===(null==s?void 0:s.textDirection)&&l.rtl,i.className),n&&(i["aria-label"]=n),i["aria-label"]||i["aria-labelledby"]?i.role="img":i["aria-hidden"]=!0,i},I_=$b({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),q_=(e,t,r,n)=>{const o="1em"===t?"20":t,a=L.forwardRef((e,a)=>{const i=I_(),l=A_(e,{flipInRtl:null==n?void 0:n.flipInRtl}),s={...l,className:bg("fui-Icon",l.className,i.root),ref:a,width:t,height:t,viewBox:`0 0 ${o} ${o}`,xmlns:"http://www.w3.org/2000/svg"};return"string"==typeof r?L.createElement("svg",{...s,dangerouslySetInnerHTML:{__html:r}}):L.createElement("svg",s,...r.map(e=>L.createElement("path",{d:e,fill:s.fill})))});return a.displayName=e,a},L_=q_("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),M_=q_("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),H_=q_("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),V_=q_("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),W_=q_("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),U_=q_("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),$_=q_("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]),X_=q_("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),G_=q_("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),K_=q_("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),Q_=q_("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),J_=q_("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),Y_=q_("DiamondDismiss12Filled","12",["M4.58 1.58a2 2 0 0 1 2.83 0l3 3a2 2 0 0 1 0 2.83l-3 3a2 2 0 0 1-2.83 0l-3-3a2 2 0 0 1-.14-2.68l.14-.15 3-3Zm3.27 2.57a.5.5 0 0 0-.7 0L6 5.29 4.85 4.15l-.07-.07a.5.5 0 0 0-.7.7l.07.07L5.29 6 4.15 7.15a.5.5 0 0 0 .7.7L6 6.71l1.15 1.14.07.07a.5.5 0 0 0 .7-.7l-.07-.07L6.71 6l1.14-1.15a.5.5 0 0 0 0-.7Z"]),Z_="data-popper-is-intersecting",eS="data-popper-escaped",tS="data-popper-reference-hidden",rS="fui-positioningend",nS=({options:e})=>e,oS=L.createContext(void 0);oS.Provider;const aS=["top","right","bottom","left"],iS=Math.min,lS=Math.max,sS=Math.round,cS=e=>({x:e,y:e}),uS={left:"right",right:"left",bottom:"top",top:"bottom"};function dS(e,t,r){return lS(e,iS(t,r))}function fS(e,t){return"function"==typeof e?e(t):e}function pS(e){return e.split("-")[0]}function hS(e){return e.split("-")[1]}function mS(e){return"x"===e?"y":"x"}function gS(e){return"y"===e?"height":"width"}function vS(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function bS(e){return mS(vS(e))}function yS(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const wS=["left","right"],kS=["right","left"],xS=["top","bottom"],_S=["bottom","top"];function SS(e,t,r,n){const o=hS(e);let a=function(e,t,r){switch(e){case"top":case"bottom":return r?t?kS:wS:t?wS:kS;case"left":case"right":return t?xS:_S;default:return[]}}(pS(e),"start"===r,n);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(yS)))),a}function BS(e){const t=pS(e);return uS[t]+e.slice(t.length)}function ES(e){return"number"!=typeof e?function(e){var t,r,n,o;return{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(o=e.left)?o:0}}(e):{top:e,right:e,bottom:e,left:e}}function CS(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function zS(e,t,r){let{reference:n,floating:o}=e;const a=vS(t),i=bS(t),l=gS(i),s=pS(t),c="y"===a,u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,f=n[l]/2-o[l]/2;let p;switch(s){case"top":p={x:u,y:n.y-o.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-o.width,y:d};break;default:p={x:n.x,y:n.y}}const h=hS(t);return h&&(p[i]+=f*("end"===h?1:-1)*(r&&c?-1:1)),p}async function NS(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=fS(t,e),h=ES(p),m=l[f?"floating"===d?"reference":"floating":d],g=CS(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(m)))||r?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),v="floating"===d?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),y=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},w=CS(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:b,strategy:s}):v);return{top:(g.top-w.top+h.top)/y.y,bottom:(w.bottom-g.bottom+h.bottom)/y.y,left:(g.left-w.left+h.left)/y.x,right:(w.right-g.right+h.right)/y.x}}function TS(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function FS(e){return aS.some(t=>e[t]>=0)}const RS=new Set(["left","top"]);function PS(){return"undefined"!=typeof window}function OS(e){return AS(e)?(e.nodeName||"").toLowerCase():"#document"}function jS(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function DS(e){var t;return null==(t=(AS(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function AS(e){return!!PS()&&(e instanceof Node||e instanceof jS(e).Node)}function IS(e){return!!PS()&&(e instanceof Element||e instanceof jS(e).Element)}function qS(e){return!!PS()&&(e instanceof HTMLElement||e instanceof jS(e).HTMLElement)}function LS(e){return!(!PS()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof jS(e).ShadowRoot)}function MS(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=JS(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==o&&"contents"!==o}function HS(e){return/^(table|td|th)$/.test(OS(e))}function VS(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const WS=/transform|translate|scale|rotate|perspective|filter/,US=/paint|layout|strict|content/,$S=e=>!!e&&"none"!==e;let XS;function GS(e){const t=IS(e)?JS(e):e;return $S(t.transform)||$S(t.translate)||$S(t.scale)||$S(t.rotate)||$S(t.perspective)||!KS()&&($S(t.backdropFilter)||$S(t.filter))||WS.test(t.willChange||"")||US.test(t.contain||"")}function KS(){return null==XS&&(XS="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),XS}function QS(e){return/^(html|body|#document)$/.test(OS(e))}function JS(e){return jS(e).getComputedStyle(e)}function YS(e){return IS(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ZS(e){if("html"===OS(e))return e;const t=e.assignedSlot||e.parentNode||LS(e)&&e.host||DS(e);return LS(t)?t.host:t}function eB(e){const t=ZS(e);return QS(t)?(e.ownerDocument||e).body:qS(t)&&MS(t)?t:eB(t)}function tB(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=eB(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),i=jS(o);if(a){const e=rB(i);return t.concat(i,i.visualViewport||[],MS(o)?o:[],e&&r?tB(e):[])}return t.concat(o,tB(o,[],r))}function rB(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nB(e){const t=JS(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=qS(e),a=o?e.offsetWidth:r,i=o?e.offsetHeight:n,l=sS(r)!==a||sS(n)!==i;return l&&(r=a,n=i),{width:r,height:n,$:l}}function oB(e){return IS(e)?e:e.contextElement}function aB(e){const t=oB(e);if(!qS(t))return cS(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=nB(t);let i=(a?sS(r.width):r.width)/n,l=(a?sS(r.height):r.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const iB=cS(0);function lB(e){const t=jS(e);return KS()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:iB}function sB(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),a=oB(e);let i=cS(1);t&&(n?IS(n)&&(i=aB(n)):i=aB(e));const l=function(e,t,r){return void 0===t&&(t=!1),!!r&&t&&r===jS(e)}(a,r,n)?lB(a):cS(0);let s=(o.left+l.x)/i.x,c=(o.top+l.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(a&&n){const e=jS(a),t=IS(n)?jS(n):n;let r=e,o=rB(r);for(;o&&t!==r;){const e=aB(o),t=o.getBoundingClientRect(),n=JS(o),a=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=a,c+=i,r=jS(o),o=rB(r)}}return CS({width:u,height:d,x:s,y:c})}function cB(e,t){const r=YS(e).scrollLeft;return t?t.left+r:sB(DS(e)).left+r}function uB(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-cB(e,r),y:r.top+t.scrollTop}}function dB(e,t,r){let n;if("viewport"===t||"layoutViewport"===t)n=function(e,t,r){void 0===r&&(r="viewport");const n="layoutViewport"===r,o=jS(e),a=DS(e),i=o.visualViewport;let l=a.clientWidth,s=a.clientHeight,c=0,u=0;if(i){const e=!KS()||"fixed"===t;n?e||(c=-i.offsetLeft,u=-i.offsetTop):(l=i.width,s=i.height,e&&(c=i.offsetLeft,u=i.offsetTop))}if(cB(a)<=0){const e=a.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,o=Math.abs(a.clientWidth-t.clientWidth-n),i="stable both-edges"===getComputedStyle(a).scrollbarGutter?o/2:o;i<=25&&(l-=i)}return{width:l,height:s,x:c,y:u}}(e,r,t);else if("document"===t)n=function(e){const t=YS(e),r=e.ownerDocument.body,n=lS(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=lS(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-t.scrollLeft+cB(e);const i=-t.scrollTop;return"rtl"===JS(r).direction&&(a+=lS(e.clientWidth,r.clientWidth)-n),{width:n,height:o,x:a,y:i}}(DS(e));else if(IS(t))n=function(e,t){const r=sB(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=aB(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:n*a.y}}(t,r);else{const r=lB(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return CS(n)}function fB(e,t,r){const n=qS(t),o=DS(t),a="fixed"===r,i=sB(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=cS(0);if((n||!a)&&(("body"!==OS(t)||MS(o))&&(l=YS(t)),n)){const e=sB(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}!n&&o&&(s.x=cB(o));const c=!o||n||a?cS(0):uB(o,l);return{x:i.left+l.scrollLeft-s.x-c.x,y:i.top+l.scrollTop-s.y-c.y,width:i.width,height:i.height}}function pB(e){return"static"===JS(e).position}function hB(e,t){if(!qS(e)||"fixed"===JS(e).position)return null;if(t)return t(e);let r=e.offsetParent;return DS(e)===r&&(r=r.ownerDocument.body),r}function mB(e,t){const r=jS(e);if(VS(e))return r;if(!qS(e)){let t=ZS(e);for(;t&&!QS(t);){if(IS(t)&&!pB(t))return t;t=ZS(t)}return r}let n=hB(e,t);for(;n&&HS(n)&&pB(n);)n=hB(n,t);return n&&QS(n)&&pB(n)&&!GS(n)?r:n||function(e){let t=ZS(e);for(;qS(t)&&!QS(t);){if(GS(t))return t;if(VS(t))return null;t=ZS(t)}return null}(e)||r}const gB={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const a="fixed"===o,i=DS(n),l=!!t&&VS(t.floating);if(n===i||l&&a)return r;let s={scrollLeft:0,scrollTop:0},c=cS(1);const u=cS(0),d=qS(n);if((d||!a)&&(("body"!==OS(n)||MS(i))&&(s=YS(n)),d)){const e=sB(n);c=aB(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}const f=!i||d||a?cS(0):uB(i,s);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:r.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:DS,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a="clippingAncestors"===r?VS(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=tB(e,[],!1).filter(e=>IS(e)&&"body"!==OS(e)),o=null;const a="fixed"===JS(e).position;let i=a?ZS(e):e;for(;IS(i)&&!QS(i);){const e=JS(i),t=GS(i),r=o?o.position:a?"fixed":"";t||"fixed"!==r&&("absolute"!==r||"static"!==e.position)?o=e:n=n.filter(e=>e!==i),i=ZS(i)}return t.set(e,n),n}(t,this._c):[].concat(r),i=[...a,n],l=dB(t,i[0],o);let s=l.top,c=l.right,u=l.bottom,d=l.left;for(let e=1;e<i.length;e++){const r=dB(t,i[e],o);s=lS(r.top,s),c=iS(r.right,c),u=iS(r.bottom,u),d=lS(r.left,d)}return{width:c-d,height:u-s,x:d,y:s}},getOffsetParent:mB,getElementRects:async function(e){const t=this.getOffsetParent||mB,r=this.getDimensions,n=await r(e.floating);return{reference:fB(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){const{width:t,height:r}=nB(e);return{width:t,height:r}},getScale:aB,isElement:IS,isRTL:function(e){return"rtl"===JS(e).direction}},vB=NS,bB=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:a,placement:i,middlewareData:l}=t,s=await async function(e,t){const{placement:r,platform:n,elements:o}=e,a=await(null==n.isRTL?void 0:n.isRTL(o.floating)),i=pS(r),l=hS(r),s="y"===vS(r),c=RS.has(i)?-1:1,u=a&&s?-1:1,d=fS(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return i===(null==(r=l.offset)?void 0:r.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}},yB=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o,platform:a}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=fS(e,t),u={x:r,y:n},d=await a.detectOverflow(t,c),f=vS(o),p=mS(f);let h=u[p],m=u[f];const g=(e,t)=>dS(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);i&&(h=g(p,h)),l&&(m=g(f,m));const v=s.fn({...t,[p]:h,[f]:m});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[p]:i,[f]:l}}}}}},wB=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:i,initialPlacement:l,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=fS(e,t);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};const v=pS(o),b=vS(l),y=pS(l)===l,w=await(null==s.isRTL?void 0:s.isRTL(c.floating)),k=f||(y||!m?[BS(l)]:function(e){const t=BS(e);return[yS(e),t,yS(t)]}(l)),x="none"!==h;!f&&x&&k.push(...SS(l,m,h,w));const _=[l,...k],S=await s.detectOverflow(t,g),B=[];let E=(null==(n=a.flip)?void 0:n.overflows)||[];if(u&&B.push(S[v]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=hS(e),o=bS(e),a=gS(o);let i="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=BS(i)),[i,BS(i)]}(o,i,w);B.push(S[e[0]],S[e[1]])}if(E=[...E,{placement:o,overflows:B}],!B.every(e=>e<=0)){var C,z;const e=((null==(C=a.flip)?void 0:C.index)||0)+1,t=_[e];if(t){if(!("alignment"===d&&b!==vS(t))||E.every(e=>vS(e.placement)!==b||e.overflows[0]>0))return{data:{index:e,overflows:E},reset:{placement:t}}}let r=null==(z=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:z.placement;if(!r)switch(p){case"bestFit":{var N;const e=null==(N=E.filter(e=>{if(x){const t=vS(e.placement);return t===b||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:N[0];e&&(r=e);break}case"initialPlacement":r=l}if(o!==r)return{reset:{placement:r}}}return{}}}},kB=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:i=()=>{},...l}=fS(e,t),s=await o.detectOverflow(t,l),c=pS(r),u=hS(r),d="y"===vS(r),{width:f,height:p}=n.floating;let h,m;"top"===c||"bottom"===c?(h=c,m=u===(await(null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=c,h="end"===u?"top":"bottom");const g=p-s.top-s.bottom,v=f-s.left-s.right,b=iS(p-s[h],g),y=iS(f-s[m],v),w=t.middlewareData.shift,k=!w;let x=b,_=y;null!=w&&w.enabled.x&&(_=v),null!=w&&w.enabled.y&&(x=g),k&&!u&&(d?_=f-2*lS(s.left,s.right):x=p-2*lS(s.top,s.bottom)),await i({...t,availableWidth:_,availableHeight:x});const S=await o.getDimensions(a.floating);return f!==S.width||p!==S.height?{reset:{rects:!0}}:{}}}},xB=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...a}=fS(e,t);switch(o){case"referenceHidden":{const e=TS(await n.detectOverflow(t,{...a,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:FS(e)}}}case"escaped":{const e=TS(await n.detectOverflow(t,{...a,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:FS(e)}}}default:return{}}}}},_B=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:i,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=fS(e,t)||{};if(null==c)return{};const d=ES(u),f={x:r,y:n},p=bS(o),h=gS(p),m=await i.getDimensions(c),g="y"===p,v=g?"top":"left",b=g?"bottom":"right",y=g?"clientHeight":"clientWidth",w=a.reference[h]+a.reference[p]-f[p]-a.floating[h],k=f[p]-a.reference[p],x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let _=x?x[y]:0;_&&await(null==i.isElement?void 0:i.isElement(x))||(_=l.floating[y]||a.floating[h]);const S=w/2-k/2,B=_/2-m[h]/2-1,E=iS(d[v],B),C=iS(d[b],B),z=_-m[h]-C,N=_/2-m[h]/2+S,T=dS(E,N,z),F=!s.arrow&&null!=hS(o)&&N!==T&&a.reference[h]/2-(N<E?E:C)-m[h]/2<0,R=F?N<E?N-E:N-z:0;return{[p]:f[p]+R,data:{[p]:T,centerOffset:N-T-R,...F&&{alignmentOffset:R}},reset:F}}}),SB=function(e){return void 0===e&&(e={}),{options:e,fn(t){var r,n;const{x:o,y:a,placement:i,rects:l,middlewareData:s}=t,{offset:c=0,mainAxis:u=!0,crossAxis:d=!0}=fS(e,t),f={x:o,y:a},p=vS(i),h=mS(p);let m=f[h],g=f[p];const v=fS(c,t),b="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:null!=(r=v.mainAxis)?r:0,crossAxis:null!=(n=v.crossAxis)?n:0};if(u){const e="y"===h?"height":"width",t=l.reference[h]-l.floating[e]+b.mainAxis,r=l.reference[h]+l.reference[e]-b.mainAxis;m<t?m=t:m>r&&(m=r)}if(d){var y,w;const e="y"===h?"width":"height",t=RS.has(pS(i)),r=l.reference[p]-l.floating[e]+(t&&(null==(y=s.offset)?void 0:y[p])||0)+(t?0:b.crossAxis),n=l.reference[p]+l.reference[e]+(t?0:(null==(w=s.offset)?void 0:w[p])||0)-(t?b.crossAxis:0);g<r?g=r:g>n&&(g=n)}return{[h]:m,[p]:g}}}},BB=(e,t,r)=>{const n=new Map,o=null!=r?r:{},a={...gB,...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,l=i.detectOverflow?i:{...i,detectOverflow:NS},s=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=zS(c,n,s),f=n,p=0;const h={};for(let r=0;r<a.length;r++){const m=a[r];if(!m)continue;const{name:g,fn:v}=m,{x:b,y:y,data:w,reset:k}=await v({x:u,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:h,rects:c,platform:l,elements:{reference:e,floating:t}});u=null!=b?b:u,d=null!=y?y:d,h[g]={...h[g],...w},k&&p<50&&(p++,"object"==typeof k&&(k.placement&&(f=k.placement),k.rects&&(c=!0===k.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):k.rects),({x:u,y:d}=zS(c,f,s))),r=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:h}})(e,t,{...o,platform:a})};function EB(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const CB=e=>{const t=e&&(e=>"HTML"===e.nodeName?e:e.parentNode||e.host)(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:n,overflowY:o}=(e=>{var t;if(1!==e.nodeType)return{};const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}})(t);return/(auto|scroll|overlay)/.test(r+o+n)?t:CB(t)};function zB(e,t){if("window"===t)return null==e?void 0:e.ownerDocument.documentElement;if("clippingParents"===t)return"clippingAncestors";if("scrollParent"===t){let t=CB(e);return"BODY"===t.nodeName&&(t=null==e?void 0:e.ownerDocument.documentElement),t}return t}function NB(e,t){if("number"==typeof e)return e;const{start:r,end:n,...o}=e,a=o,i=t?"end":"start",l=t?"start":"end";return e[i]&&(a.left=e[i]),e[l]&&(a.right=e[l]),a}const TB=(e,t,r)=>{const n=((e,t)=>{const r="above"===e||"below"===e,n="top"===t||"bottom"===t;return r&&n||!r&&!n})(t,e)?"center":e,o=t&&(e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}))(r)[t],a=n&&{start:"start",end:"end",top:"start",bottom:"end",center:void 0}[n];return o&&a?`${o}-${a}`:o},FB={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function RB(e){return null==e?{}:"string"==typeof e?FB[e]:e}function PB(e,t,r){const n=L.useRef(!0),[o]=L.useState(()=>({value:e,callback:t,facade:{get current(){return o.value},set current(e){const t=o.value;if(t!==e){if(o.value=e,r&&n.current)return;o.callback(e,t)}}}}));return Vy(()=>{n.current=!1},[]),o.callback=t,o.facade}function OB(e){const t=[];let r=e;for(;r;){const n=CB(r);if(e.ownerDocument.body===n){t.push(n);break}if("BODY"===n.nodeName&&n!==e.ownerDocument.body)break;t.push(n),r=n}return t}function jB(e){let t=!1;const{container:r,target:n,arrow:o,strategy:a,middleware:i,placement:l,useTransform:s=!0,disableUpdateOnResize:c=!1}=e,u=r.ownerDocument.defaultView;if(!n||!r||!u)return{updatePosition:()=>{},dispose:()=>{}};const d=c?null:function(e,t){return new e.ResizeObserver(t)}(u,e=>{e.every(e=>e.contentRect.width>0&&e.contentRect.height>0)&&m()});let f=!0;const p=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const h=()=>{t||(f&&(OB(r).forEach(e=>p.add(e)),nw(n)&&OB(n).forEach(e=>p.add(e)),p.forEach(e=>{e.addEventListener("scroll",m,{passive:!0})}),null==d||d.observe(r),nw(n)&&(null==d||d.observe(n)),f=!1),Object.assign(r.style,{position:a}),BB(n,r,{placement:l,middleware:i,strategy:a}).then(({x:e,y:n,middlewareData:i,placement:l})=>{var c,d;if(t)return;const f=function(e){const{clientWidth:t,clientHeight:r}=e.ownerDocument.documentElement;return 0===t&&0===r}(r)?{...i,hide:{...i.hide,escaped:!1,referenceHidden:!1}}:i;var p,h;!function(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:n,y:o}=r.arrow;Object.assign(t.style,{left:null!=n?`${n}px`:"",top:null!=o?`${o}px`:""})}({arrow:o,middlewareData:f}),function(e){var t,r,n;const{container:o,placement:a,middlewareData:i,strategy:l,lowPPI:s,coordinates:c,useTransform:u=!0}=e;if(!o)return;o.setAttribute("data-popper-placement",a),o.removeAttribute(Z_),i.intersectionObserver.intersecting&&o.setAttribute(Z_,""),o.removeAttribute(eS),(null===(t=i.hide)||void 0===t?void 0:t.escaped)&&o.setAttribute(eS,""),o.removeAttribute(tS),(null===(r=i.hide)||void 0===r?void 0:r.referenceHidden)&&o.setAttribute(tS,"");const d=(null===(n=o.ownerDocument.defaultView)||void 0===n?void 0:n.devicePixelRatio)||1,f=Math.round(c.x*d)/d,p=Math.round(c.y*d)/d;Object.assign(o.style,{position:l}),u?Object.assign(o.style,{transform:s?`translate(${f}px, ${p}px)`:`translate3d(${f}px, ${p}px, 0)`}):Object.assign(o.style,{left:`${f}px`,top:`${p}px`})}({container:r,middlewareData:f,placement:l,coordinates:{x:e,y:n},lowPPI:((null==u?void 0:u.devicePixelRatio)||1)<=1,strategy:a,useTransform:s}),r.dispatchEvent(new CustomEvent(rS,{detail:{placement:l,escaped:null!==(p=null===(c=f.hide)||void 0===c?void 0:c.escaped)&&void 0!==p&&p,referenceHidden:null!==(h=null===(d=f.hide)||void 0===d?void 0:d.referenceHidden)&&void 0!==h&&h}}))}).catch(e=>{}))},m=function(e){let t;return()=>(t||(t=new Promise(r=>{Promise.resolve().then(()=>{t=void 0,r(e())})})),t)}(()=>h());return u&&(u.addEventListener("scroll",m,{passive:!0}),u.addEventListener("resize",m)),m(),{updatePosition:m,dispose:()=>{t=!0,u&&(u.removeEventListener("scroll",m),u.removeEventListener("resize",m)),p.forEach(e=>{e.removeEventListener("scroll",m)}),p.clear(),null==d||d.disconnect()}}}function DB(e){const{hasScrollableElement:t,flipBoundary:r,container:n,fallbackPositions:o=[],isRtl:a}=e,i=o.reduce((e,t)=>{const{position:r,align:n}=RB(t),o=TB(n,r,a);return o&&e.push(o),e},[]);return wB({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:zB(n,r)},fallbackStrategy:"bestFit",...i.length&&{fallbackPlacements:i}})}const AB=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var n;if(null===(n=t.resetMaxSize)||void 0===n?void 0:n.maxSizeAlreadyReset)return{};const{applyMaxWidth:o,applyMaxHeight:a}=e;return o&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),a&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function IB(e,t){const{container:r,overflowBoundary:n,overflowBoundaryPadding:o,isRtl:a}=t;return kB({...o&&{padding:NB(o,a)},...n&&{altBoundary:!0,boundary:zB(r,n)},apply({availableHeight:t,availableWidth:r,elements:n,rects:o}){const a=(e,t,r)=>{if(e&&(n.floating.style.setProperty("box-sizing","border-box"),n.floating.style.setProperty(`max-${t}`,`${r}px`),o.floating[t]>r)){n.floating.style.setProperty(t,`${r}px`);const e="width"===t?"x":"y";n.floating.style.getPropertyValue(`overflow-${e}`)||n.floating.style.setProperty(`overflow-${e}`,"auto")}},{applyMaxWidth:i,applyMaxHeight:l}=e;a(i,"width",r),a(l,"height",t)}})}function qB(e){return e?"number"==typeof e||"object"==typeof e?e:({rects:{floating:t,reference:r},placement:n})=>{const{position:o,alignment:a}=(e=>{const{side:t,alignment:r}=EB(e),n={top:"above",bottom:"below",right:"after",left:"before"}[t],o=r&&(e=>"above"===e||"below"===e?{start:"start",end:"end"}:{start:"top",end:"bottom"})(n)[r];return{position:n,alignment:o}})(n);return e({positionedRect:t,targetRect:r,position:o,alignment:a})}:e}function LB(e){const t=qB(e);return bB(t)}function MB(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:n,overflowBoundary:o,container:a,overflowBoundaryPadding:i,isRtl:l}=e;return yB({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:SB({crossAxis:!0,mainAxis:!1})},...n&&{crossAxis:"all"===n,limiter:SB({crossAxis:"all"!==n,mainAxis:!1})},...i&&{padding:NB(i,l)},...o&&{altBoundary:!0,boundary:zB(a,o)}})}const HB="--fui-match-target-size";function VB(e){const{dir:t,targetDocument:r}=Ny(),n="rtl"===t,o=function(e,t){const{align:r,arrowPadding:n,autoSize:o,coverTarget:a,disableUpdateOnResize:i,flipBoundary:l,offset:s,overflowBoundary:c,pinned:u,position:d,unstable_disableTether:f,strategy:p,overflowBoundaryPadding:h,fallbackPositions:m,useTransform:g,matchTargetSize:v,shiftToCoverTarget:b}=t;return L.useCallback((t,y)=>e({container:t,arrow:y,options:{autoSize:o,disableUpdateOnResize:i,matchTargetSize:v,offset:s,strategy:p,coverTarget:a,flipBoundary:l,overflowBoundary:c,useTransform:g,overflowBoundaryPadding:h,pinned:u,arrowPadding:n,align:r,fallbackPositions:m,shiftToCoverTarget:b,position:d,unstable_disableTether:f}}),[o,i,v,s,p,a,l,c,g,h,u,n,r,m,b,d,f,e])}(null!==(a=L.useContext(oS))&&void 0!==a?a:nS,e);var a;const{positionFixed:i}=e;return L.useCallback((e,t)=>{const r=(e=>{var t;const r=CB(e);return!!r&&r!==(null===(t=r.ownerDocument)||void 0===t?void 0:t.body)})(e),a=o(e,t),{autoSize:l,disableUpdateOnResize:s,matchTargetSize:c,offset:u,coverTarget:d,flipBoundary:f,overflowBoundary:p,useTransform:h,overflowBoundaryPadding:m,pinned:g,position:v,arrowPadding:b,strategy:y,align:w,fallbackPositions:k,shiftToCoverTarget:x,unstable_disableTether:_}=a,S=(e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}})(l),B=[S&&AB(S),c&&{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:n},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:o=!1}={}}}=e;if(t.width===r.width||o)return{};const{width:a}=t;return n.style.setProperty(HB,`${a}px`),n.style.width||(n.style.width=`var(${HB})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}},u&&LB(u),d&&{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:n,y:o}=e,a={x:n,y:o};switch(EB(t).side){case"bottom":a.y-=r.reference.height;break;case"top":a.y+=r.reference.height;break;case"left":a.x+=r.reference.width;break;case"right":a.x-=r.reference.width}return a}},!g&&DB({container:e,flipBoundary:f,hasScrollableElement:r,isRtl:n,fallbackPositions:k}),MB({container:e,hasScrollableElement:r,overflowBoundary:p,disableTether:_,overflowBoundaryPadding:m,isRtl:n,shiftToCoverTarget:x}),S&&IB(S,{container:e,overflowBoundary:p,overflowBoundaryPadding:m,isRtl:n}),{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await vB(e,{altBoundary:!0}),n=r.top<t.height&&r.top>0,o=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:n||o}}}},t&&_B({element:t,padding:b}),xB({strategy:"referenceHidden"}),xB({strategy:"escaped"}),!1].filter(Boolean);return{placement:TB(w,v,n),middleware:B,strategy:(null!=y?y:i)?"fixed":"absolute",disableUpdateOnResize:s,useTransform:h}},[o,n,r,i])}const WB=$b({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),UB=H.useInsertionEffect,$B=()=>{let e;return{get:function(t,r){return e||(r&&(e=t.ownerDocument.createElement("div"),t.appendChild(e)),e)},dispose:function(){e&&(e.remove(),e=void 0)}}},XB=UB?e=>{const{className:t,dir:r,focusVisibleRef:n,targetNode:o}=e,[a]=L.useState($B),i=L.useMemo(()=>void 0===o||e.disabled?null:new Proxy({},{get(e,t){if("nodeType"===t)return 1;if("remove"===t){const e=a.get(o,!1);if(e){0===e.childNodes.length&&a.dispose()}return()=>{}}const r=a.get(o,!0),n=r?r[t]:void 0;return"function"==typeof n?n.bind(r):n},set(e,t,r){const n="_virtual"===t||"focusVisible"===t,i=n?a.get(o,!1):a.get(o,!0);return!(!n||i)||!!i&&(Object.assign(i,{[t]:r}),!0)}}),[a,o,e.disabled]);return UB(()=>{if(!i)return;const e=t.split(" ").filter(Boolean);return i.classList.add(...e),i.setAttribute("dir",r),i.setAttribute("data-portal-node","true"),n.current=i,()=>{i.classList.remove(...e),i.removeAttribute("dir")}},[t,r,i,n]),L.useEffect(()=>()=>{null==i||i.remove()},[i]),i}:e=>{const{className:t,dir:r,focusVisibleRef:n,targetNode:o}=e,a=L.useMemo(()=>{if(void 0===o||e.disabled)return null;const t=o.ownerDocument.createElement("div");return o.appendChild(t),t},[o,e.disabled]);return L.useMemo(()=>{a&&(a.className=t,a.setAttribute("dir",r),a.setAttribute("data-portal-node","true"),n.current=a)},[t,r,a,n]),L.useEffect(()=>()=>{null==a||a.remove()},[a]),a},GB=e=>{const{targetDocument:t,dir:r}=Ny(),n=L.useContext(Ay),o=Pk(),a=WB(),i=null!==(l=L.useContext(_y))&&void 0!==l?l:"";var l;const s={dir:r,disabled:e.disabled,focusVisibleRef:o,className:bg(i,a.root,e.className),targetNode:null!=n?n:null==t?void 0:t.body};return XB(s)},KB=e=>{const{element:t,className:r}=function(e){return nw(e)?{element:e}:"object"==typeof e?null===e?{element:null}:e:{}}(e.mountNode),n=L.useRef(null),o=GB({disabled:!!t,className:r}),a=null!=t?t:o,i={children:e.children,mountNode:a,virtualParentRootRef:n};return L.useEffect(()=>{if(!a)return;const e=n.current,t=a.contains(e);return e&&!t?(aw(a,e),()=>{aw(a,void 0)}):void 0},[n,a]),i},QB=e=>(e=>L.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Qu.createPortal(L.createElement(L.Fragment,null,e.children,L.createElement("span",{hidden:!0})),e.mountNode)))(KB(e));QB.displayName="Portal";const JB=L.createContext(void 0),YB={};JB.Provider;const ZB=(e,t)=>{const{size:r}=null!==(n=L.useContext(JB))&&void 0!==n?n:YB;var n;const{appearance:o="secondary",shape:a="rounded",size:i=(null!=r?r:"medium"),...l}=e;return{appearance:o,shape:a,size:i,...eE(l,t)}},eE=(e,t)=>{const{icon:r,iconPosition:n="before",...o}=e,a=ey(r,{elementType:"span"});var i,l;return{disabled:null!==(i=e.disabled)&&void 0!==i&&i,disabledFocusable:null!==(l=e.disabledFocusable)&&void 0!==l&&l,iconPosition:n,iconOnly:Boolean((null==a?void 0:a.children)&&!e.children),components:{root:"button",icon:"span"},root:Zb(x_(o.as,o),{elementType:"button",defaultProps:{ref:t,type:"a"!==e.as?"button":void 0}}),icon:a}},tE="fui-Button",rE="fui-Button__icon",nE=Xb("r1f29ykk",null,{r:[".r1f29ykk{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),oE=Xb("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),aE=$b({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),iE=$b({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),lE=$b({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),sE=$b({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),cE=$b({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),uE=L.forwardRef((e,t)=>{const r=ZB(e,t);return(e=>{const t=nE(),r=oE(),n=aE(),o=iE(),a=lE(),i=sE(),l=cE(),{appearance:s,disabled:c,disabledFocusable:u,icon:d,iconOnly:f,iconPosition:p,shape:h,size:m}=e;e.root.className=bg(tE,t,s&&n[s],n[m],d&&"small"===m&&n.smallWithIcon,d&&"large"===m&&n.largeWithIcon,n[h],(c||u)&&o.base,(c||u)&&o.highContrast,s&&(c||u)&&o[s],"primary"===s&&a.primary,a[m],a[h],f&&i[m],e.root.className),e.icon&&(e.icon.className=bg(rE,r,!!e.root.children&&l[p],l[m],e.icon.className))})(r),Dy("useButtonStyles_unstable")(r),(e=>{const{iconOnly:t,iconPosition:r}=e;return uw(e.root,{children:["after"!==r&&e.icon&&cw(e.icon,{}),!t&&e.root.children,"after"===r&&e.icon&&cw(e.icon,{})]})})(r)});uE.displayName="Button";const dE=L.createContext(void 0),fE=dE.Provider,pE=()=>L.useContext(dE);function hE(e,t){return mE(pE(),e,t)}function mE(e,t,r){if(!e)return t;t={...t};const{generatedControlId:n,hintId:o,labelFor:a,labelId:i,required:l,validationMessageId:s,validationState:c}=e;var u,d,f,p,h,m,g,v,b,y,w,k;n&&(null!==(d=(u=t).id)&&void 0!==d||(u.id=n));!i||(null==r?void 0:r.supportsLabelFor)&&a===t.id||(null!==(p=(f=t)["aria-labelledby"])&&void 0!==p||(f["aria-labelledby"]=i));((s||o)&&(t["aria-describedby"]=[s,o,null==t?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),"error"===c)&&(null!==(m=(h=t)["aria-invalid"])&&void 0!==m||(h["aria-invalid"]=!0));l&&((null==r?void 0:r.supportsRequired)?null!==(v=(g=t).required)&&void 0!==v||(g.required=!0):null!==(y=(b=t)["aria-required"])&&void 0!==y||(b["aria-required"]=!0));(null==r?void 0:r.supportsSize)&&(null!==(k=(w=t).size)&&void 0!==k||(w.size=e.size));return t}const gE=(e,t)=>{const{disabled:r=!1,required:n=!1,...o}=e;return{disabled:r,required:ey(!0===n?"*":n||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Zb(wy("label",{ref:t,...o}),{elementType:"label"})}},vE="fui-Label",bE="fui-Label__required",yE=$b({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),wE=L.forwardRef((e,t)=>{const r=((e,t)=>{const{weight:r="regular",size:n="medium",...o}=e;return{weight:r,size:n,...gE(o,t)}})(e,t);return(e=>{const t=yE();e.root.className=bg(vE,t.root,e.disabled&&t.disabled,t[e.size],"semibold"===e.weight&&t.semibold,e.root.className),e.required&&(e.required.className=bg(bE,t.required,e.disabled&&t.disabled,e.required.className))})(r),Dy("useLabelStyles_unstable")(r),(e=>uw(e.root,{children:[e.root.children,e.required&&cw(e.required,{})]}))(r)});wE.displayName="Label";const kE={error:L.createElement(Y_,null),warning:L.createElement($_,null),success:L.createElement(K_,null),none:void 0},xE=(e,t)=>{const{orientation:r="vertical",size:n="medium",...o}=e,a=((e,t)=>{const{children:r,required:n=!1,validationState:o=(e.validationMessage?"error":"none")}=e,a=$y("field-"),i=a+"__control",l=Zb(wy("div",{...e,ref:t},["children"]),{elementType:"div"}),s=ey(e.label,{defaultProps:{htmlFor:i,id:a+"__label",required:n},elementType:"label"}),c=ey(e.validationMessage,{defaultProps:{id:a+"__validationMessage",role:"error"===o||"warning"===o?"alert":void 0},elementType:"div"}),u=ey(e.hint,{defaultProps:{id:a+"__hint"},elementType:"div"});return{children:r,generatedControlId:i,required:n,validationState:o,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:l,label:s,validationMessageIcon:ey(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"}),validationMessage:c,hint:u}})(o,t),i=kE[a.validationState];return{...a,components:{...a.components,label:wE},label:ey(e.label,{defaultProps:{size:n,...a.label},elementType:wE}),validationMessageIcon:ey(e.validationMessageIcon,{renderByDefault:!!i,defaultProps:{children:i},elementType:"span"}),orientation:r,size:n}},_E={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},SE=$b({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),BE=$b({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),EE=Xb("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),CE=$b({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),zE=Xb("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),NE=$b({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),TE=L.forwardRef((e,t)=>{const r=xE(e,t);(e=>{const{validationState:t,size:r}=e,n="horizontal"===e.orientation,o=SE();e.root.className=bg(_E.root,o.base,n&&o.horizontal,n&&!e.label&&o.horizontalNoLabel,e.root.className);const a=BE();e.label&&(e.label.className=bg(_E.label,a.base,n&&a.horizontal,n&&"small"===r&&a.horizontalSmall,n&&"large"===r&&a.horizontalLarge,!n&&a.vertical,!n&&"large"===r&&a.verticalLarge,e.label.className));const i=zE(),l=NE();e.validationMessageIcon&&(e.validationMessageIcon.className=bg(_E.validationMessageIcon,i,"none"!==t&&l[t],e.validationMessageIcon.className));const s=EE(),c=CE();e.validationMessage&&(e.validationMessage.className=bg(_E.validationMessage,s,"error"===t&&c.error,!!e.validationMessageIcon&&c.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=bg(_E.hint,s,e.hint.className))})(r),Dy("useFieldStyles_unstable")(r);const n=(e=>{var t,r,n,o;const{generatedControlId:a,orientation:i,required:l,size:s,validationState:c}=e,u=null===(t=e.label)||void 0===t?void 0:t.htmlFor,d=null===(r=e.label)||void 0===r?void 0:r.id,f=null===(n=e.validationMessage)||void 0===n?void 0:n.id,p=null===(o=e.hint)||void 0===o?void 0:o.id;return{field:L.useMemo(()=>({generatedControlId:a,hintId:p,labelFor:u,labelId:d,orientation:i,required:l,size:s,validationMessageId:f,validationState:c}),[a,p,u,d,i,l,s,f,c])}})(r);return((e,t)=>{let{children:r}=e;return"function"==typeof r&&(r=r(mE(t.field)||{})),cw(fE,{value:null==t?void 0:t.field,children:uw(e.root,{children:[e.label&&cw(e.label,{}),r,e.validationMessage&&uw(e.validationMessage,{children:[e.validationMessageIcon&&cw(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&cw(e.hint,{})]})})})(r,n)});TE.displayName="Field";const FE=(e,t)=>{e=hE(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:r=!1,required:n,labelPosition:o="after",onChange:a}=e,[i,l]=Iy({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),s=yy({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),c="mixed"===i,u=$y("checkbox-",s.primary.id),d={checked:i,disabled:r,labelPosition:o,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Zb(e.root,{defaultProps:{ref:Ak(),...s.root},elementType:"span"}),input:Zb(e.input,{defaultProps:{type:"checkbox",id:u,ref:t,checked:!0===i,...s.primary},elementType:"input"}),label:ey(e.label,{defaultProps:{htmlFor:u,disabled:r,required:n},elementType:"label"}),indicator:ey(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};d.input.onChange=rw(d.input.onChange,e=>{const t=e.currentTarget.indeterminate?"mixed":e.currentTarget.checked;null==a||a(e,{checked:t}),l(t)});const f=Xy(d.input.ref);return d.input.ref=f,Vy(()=>{f.current&&(f.current.indeterminate=c)},[f,c]),d},RE="fui-Checkbox",PE="fui-Checkbox__label",OE="fui-Checkbox__input",jE="fui-Checkbox__indicator",DE=Xb("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),AE=$b({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),IE=Xb("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),qE=$b({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),LE=Xb("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),ME=$b({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),HE=$b({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),VE=L.forwardRef((e,t)=>{const r=((e,t)=>{const{shape:r="square",size:n="medium",...o}=e,a=FE(o,t);let i;var l,s;return"mixed"===a.checked?i="circular"===r?L.createElement(L_,null):"large"===n?L.createElement(J_,null):L.createElement(Q_,null):a.checked&&(i="large"===n?L.createElement(G_,null):L.createElement(X_,null)),a.indicator&&(null!==(s=(l=a.indicator).children)&&void 0!==s||(l.children=i)),{shape:r,size:n,...a,components:{...a.components,label:wE},label:ey(e.label,{defaultProps:{...a.label,size:"medium"},elementType:wE})}})(e,t);return(e=>{const{checked:t,disabled:r,labelPosition:n,shape:o,size:a}=e,i=DE(),l=AE();e.root.className=bg(RE,i,r?l.disabled:"mixed"===t?l.mixed:t?l.checked:l.unchecked,e.root.className);const s=IE(),c=qE();e.input.className=bg(OE,s,"large"===a&&c.large,c[n],e.input.className);const u=LE(),d=ME();e.indicator&&(e.indicator.className=bg(jE,u,"large"===a&&d.large,"circular"===o&&d.circular,e.indicator.className));const f=HE();e.label&&(e.label.className=bg(PE,f.base,f[a],f[n],e.label.className))})(r),Dy("useCheckboxStyles_unstable")(r),(e=>uw(e.root,{children:[cw(e.input,{}),"before"===e.labelPosition&&e.label&&cw(e.label,{}),e.indicator&&cw(e.indicator,{}),"after"===e.labelPosition&&e.label&&cw(e.label,{})]}))(r)});VE.displayName="Checkbox";const WE=g_({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption:()=>()=>{},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});WE.Provider;const UE={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue:()=>[],registerOption:()=>()=>{},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},$E=g_(void 0),XE=e=>((e,t)=>{const r=L.useContext(e),{value:n,listeners:o}=r,a=t(n.current),[,i]=L.useReducer(e=>e+1,0),l=L.useRef(t),s=L.useRef(a);return Vy(()=>{l.current=t,s.current=a}),Vy(()=>{const e=e=>{try{const t=l.current(e);Object.is(s.current,t)||i()}catch{}};return o.push(e),e(n.current),()=>{const t=o.indexOf(e);-1!==t&&o.splice(t,1)}},[o,n]),a})($E,(t=UE)=>e(t)),GE=$E.Provider;function KE(e){const{appearance:t,open:r,getOptionById:n,getOptionsMatchingValue:o,registerOption:a,selectedOptions:i,selectOption:l,setOpen:s,size:c,activeDescendantController:u,onOptionClick:d,onActiveDescendantChange:f}=e,p={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:o,registerOption:a,selectedOptions:i,selectOption:l,setActiveOption:()=>null,onOptionClick:d,onActiveDescendantChange:f};return{combobox:{activeOption:void 0,appearance:t,focusVisible:!1,open:r,registerOption:a,selectedOptions:i,selectOption:l,setActiveOption:()=>null,setOpen:s,size:c},activeDescendant:L.useMemo(()=>({controller:u}),[u]),listbox:p}}function QE(e,t={}){const{open:r=!0,multiselect:n=!1}=t,o=e.key,{altKey:a,ctrlKey:i,key:l,metaKey:s}=e;return 1!==l.length||o===y_||a||i||s?r?o===k_&&a||o===b_||!n&&o===y_?"CloseSelect":n&&o===y_?"Select":"Escape"===o?"Close":o===w_?"Next":o===k_?"Previous":"Home"===o?"First":"End"===o?"Last":"PageUp"===o?"PageUp":"PageDown"===o?"PageDown":"Tab"===o?"Tab":"None":o===w_||o===k_||o===b_||o===y_?"Open":"None":"Type"}const JE=()=>{const e=L.useRef(new Map),t=L.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:t=>e.current.get(t),getOptionsMatchingText:t=>Array.from(e.current.values()).filter(({text:e})=>t(e)),getOptionsMatchingValue:t=>{const r=[];for(const n of e.current.values())t(n.value)&&r.push(n);return r}}),[]),r=L.useCallback(t=>(e.current.set(t.id,t),()=>e.current.delete(t.id)),[]);return{...t,options:Array.from(e.current.values()),registerOption:r}},YE=e=>{const{defaultSelectedOptions:t,multiselect:r,onOptionSelect:n}=e,[o,a]=Iy({state:e.selectedOptions,defaultState:t,initialState:[]});return{clearSelection:e=>{a([]),null==n||n(e,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:L.useCallback((e,t)=>{if(t.disabled)return;let i=[t.value];if(r){const e=o.findIndex(e=>e===t.value);i=e>-1?[...o.slice(0,e),...o.slice(e+1)]:[...o,t.value]}a(i),null==n||n(e,{optionValue:t.value,optionText:t.text,selectedOptions:i})},[n,r,o,a]),selectedOptions:o}};function ZE(e){return"option"===e.role||"menuitemcheckbox"===e.role}const eC={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},tC=(e,t)=>{const{multiselect:r,disableAutoFocus:n=!1}=e,o=JE(),{listboxRef:a,activeParentRef:i,controller:l}=j_({matchOption:ZE}),s=v_($E),c=XE(e=>e.onActiveDescendantChange),u=XE(e=>e.getOptionById),d=XE(e=>e.getOptionsMatchingValue),f=s?u:o.getOptionById,p=s?d:o.getOptionsMatchingValue,h=L.useMemo(()=>{let e=null;const t=e=>{null==c||c(e)};return r=>{r?(e=r,e.addEventListener("activedescendantchange",t)):null==e||e.removeEventListener("activedescendantchange",t)}},[c]),[m,g]=L.useState(!1);qk(g);const v=C_(),b=!!L.useContext(B_),y=b?v.controller:l,{clearSelection:w,selectedOptions:k,selectOption:x}=YE(e),_=XE(e=>e.selectedOptions),S=XE(e=>e.selectOption),B=s?{selectedOptions:_,selectOption:S,...eC}:{selectedOptions:k,selectOption:x,...eC};L.useEffect(()=>{if(!b){if(y.hideFocusVisibleAttributes(),!n)if(!r&&B.selectedOptions.length>0){const e=p(e=>e===B.selectedOptions[0]).pop();(null==e?void 0:e.id)&&y.focus(e.id)}else y.first();return()=>{y.blur()}}},[]);const E=L.useCallback(()=>{b||(y.showFocusVisibleAttributes(),m&&y.scrollActiveIntoView())},[y,b,m]),C=L.useCallback(()=>{b||y.hideFocusVisibleAttributes()},[y,b]),z={components:{root:"div"},root:Zb(wy("div",{ref:Xy(t,i,a,h),role:r?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!s,multiselect:r,clearSelection:w,activeDescendantController:y,onActiveDescendantChange:c,...o,...B};return z.root.onKeyDown=Wy(rw(z.root.onKeyDown,e=>{const t=QE(e,{open:!0}),r=y.active(),n=r?f(r):null;switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":e.preventDefault()}switch(t){case"Next":n?y.next():y.first();break;case"Previous":n?y.prev():y.first();break;case"PageUp":case"First":y.first();break;case"PageDown":case"Last":y.last();break;case"Select":case"CloseSelect":n&&x(e,n)}})),z.root.onFocus=Wy(rw(z.root.onFocus,E)),z.root.onBlur=Wy(rw(z.root.onBlur,C)),z},rC="fui-Listbox",nC=$b({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),oC=L.forwardRef((e,t)=>{const r=tC(e,t),n=function(e){const t=v_($E),{getOptionById:r,getOptionsMatchingValue:n,multiselect:o,registerOption:a,selectedOptions:i,selectOption:l,activeDescendantController:s}=e,c=XE(e=>e.registerOption);return{listbox:{activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:n,multiselect:o,registerOption:t?c:a,selectedOptions:i,selectOption:l,setActiveOption:()=>{},onOptionClick:XE(e=>e.onOptionClick),onActiveDescendantChange:XE(e=>e.onActiveDescendantChange)},activeDescendant:L.useMemo(()=>({controller:s}),[s])}}(r);return(e=>{const t=nC();e.root.className=bg(rC,t.root,e.root.className)})(r),Dy("useListboxStyles_unstable")(r),((e,t)=>cw(E_,{value:t.activeDescendant,children:cw($E.Provider,{value:t.listbox,children:cw(e.root,{})})}))(r,n)});oC.displayName="Listbox";const aC=(e,t)=>{const{children:r,disabled:n,text:o,value:a}=e,i=L.useRef(null),l=function(e,t){if(void 0!==e)return e;let r="",n=!1;return L.Children.forEach(t,e=>{"string"==typeof e?r+=e:n=!0}),n&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),r}(o,r),s=null!=a?a:l,c=$y("fluent-option",e.id),u=L.useMemo(()=>({id:c,disabled:n,text:l,value:s}),[c,n,l,s]),{controller:d}=C_(),f=XE(e=>e.multiselect),p=XE(e=>e.registerOption),h=XE(e=>{const t=e.selectedOptions;return void 0!==s&&void 0!==t.find(e=>e===s)}),m=XE(e=>e.selectOption),g=XE(e=>e.onOptionClick);L.useEffect(()=>{if(c&&i.current)return p(u,i.current)},[c,u,p]);const v=f?{role:"menuitemcheckbox","aria-checked":h}:{role:"option","aria-selected":h};return{components:{root:"div",checkIcon:"span"},root:Zb(wy("div",{ref:Xy(t,i),"aria-disabled":n?"true":void 0,id:c,...v,...e,onClick:t=>{var r;n?t.preventDefault():(d.focus(c),m(t,u),g(t),null===(r=e.onClick)||void 0===r||r.call(e,t))}}),{elementType:"div"}),checkIcon:ey(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:n,multiselect:f,selected:h,focusVisible:!1,active:!1}},iC="fui-Option",lC="fui-Option__checkIcon",sC=$b({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n"},interactive:{Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"f158kwzp",B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f158kwzp{cursor:default;}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),cC=L.forwardRef((e,t)=>{const r=((e,t)=>{const r=aC(e,t);let n=L.createElement(M_,null);var o,a;return r.multiselect&&(n=r.selected?L.createElement(X_,null):""),r.checkIcon&&(null!==(a=(o=r.checkIcon).children)&&void 0!==a||(o.children=n)),r})(e,t);return(e=>{const{disabled:t,multiselect:r,selected:n}=e,o=sC();e.root.className=bg(iC,o.root,!t&&o.interactive,o.active,t&&o.disabled,n&&o.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=bg(lC,o.checkIcon,r&&o.multiselectCheck,n&&o.selectedCheck,n&&r&&o.selectedMultiselectCheck,t&&o.checkDisabled,t&&r&&o.multiselectCheckDisabled,e.checkIcon.className))})(r),Dy("useOptionStyles_unstable")(r),(e=>uw(e.root,{children:[e.checkIcon&&cw(e.checkIcon,{}),e.root.children]}))(r)});cC.displayName="Option";const uC=e=>{const{appearance:t="outline",disableAutoFocus:r,children:n,clearable:o=!1,editable:a=!1,inlinePopup:i=!1,mountNode:l,multiselect:s,onOpenChange:c,size:u="medium",activeDescendantController:d,freeform:f=!1,disabled:p=!1,onActiveOptionChange:h=null}=e,m=JE(),{getOptionsMatchingValue:g}=m,{getOptionById:v}=m,b=L.useCallback(()=>{const e=d.active();return e?v(e):void 0},[d,v]),y=b(),w=L.useCallback(e=>{let t;if("function"==typeof e){t=e(b())}t?d.focus(t.id):d.blur()},[d,b]),[k,x]=L.useState(!1),[_,S]=L.useState(!1),B=L.useRef(!1),E=function(){const e=L.useRef(!0);return L.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}(),[C,z]=Iy({state:e.value,initialState:void 0}),{selectedOptions:N,selectOption:T,clearSelection:F}=YE(e),R=L.useCallback((e,t)=>{Qu.unstable_batchedUpdates(()=>{z(void 0),T(e,t)})},[z,T]),P=L.useMemo(()=>{if(void 0!==C)return C;if(E&&void 0!==e.defaultValue)return e.defaultValue;const t=g(e=>N.includes(e)).map(e=>e.text);return s?a?"":t.join(", "):t[0]},[C,a,g,s,N]),[O,j]=Iy({state:e.open,defaultState:e.defaultOpen,initialState:!1}),D=L.useCallback((e,t)=>{p||(null==c||c(e,{open:t}),Qu.unstable_batchedUpdates(()=>{t||f||z(void 0),j(t)}))},[c,j,z,f,p]);L.useEffect(()=>{if(O){if(!s&&N.length>0){const e=g(e=>e===N[0]).pop();(null==e?void 0:e.id)&&d.focus(e.id)}}else d.blur()},[O,d]),L.useEffect(()=>{!O||r||d.active()||d.first()},[O,n,r,d,v]);const A=Wy(e=>{const t=e.detail.previousId?m.getOptionById(e.detail.previousId):null,r=m.getOptionById(e.detail.id);null==h||h(e,{event:e,type:"change",previousOption:t,nextOption:r})});return{...m,freeform:f,disabled:p,selectOption:R,clearSelection:F,selectedOptions:N,activeOption:y,appearance:t,clearable:o,focusVisible:k,ignoreNextBlur:B,inlinePopup:i,mountNode:l,open:O,hasFocus:_,setActiveOption:w,setFocusVisible:x,setHasFocus:S,setOpen:D,setValue:z,size:u,value:P,multiselect:s,onOptionClick:Wy(e=>{s||D(e,!1)}),onActiveDescendantChange:A}};function dC(e){const{positioning:t}=e,r={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...RB(t)},{targetRef:n,containerRef:o}=function(e){const t=L.useRef(null),r=L.useRef(null),n=L.useRef(null),o=L.useRef(null),a=L.useRef(null),{enabled:i=!0}=e,l=VB(e),s=L.useCallback(()=>{var e;t.current&&t.current.dispose(),t.current=null;const s=null!==(e=n.current)&&void 0!==e?e:r.current;i&&Ly()&&s&&o.current&&(t.current=jB({container:o.current,target:s,arrow:a.current,...l(o.current,a.current)}))},[i,l]),c=Wy(e=>{n.current=e,s()});L.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.updatePosition()},setTarget:t=>{e.target,c(t)}}),[e.target,c]),Vy(()=>{var t;c(null!==(t=e.target)&&void 0!==t?t:null)},[e.target,c]),Vy(()=>{s()},[s]);const u=PB(null,e=>{r.current!==e&&(r.current=e,s())}),d=Wy(t=>{var r;return null===(r=e.onPositioningEnd)||void 0===r?void 0:r.call(e,t)}),f=PB(null,e=>{var t;o.current!==e&&(null===(t=o.current)||void 0===t||t.removeEventListener(rS,d),null==e||e.addEventListener(rS,d),o.current=e,s())}),p=PB(null,e=>{a.current!==e&&(a.current=e,s())});return{targetRef:u,containerRef:f,arrowRef:p}}(r);return[o,n]}function fC(e,t,r){const{state:{multiselect:n},triggerRef:o,defaultProps:a}=r,i=$y("fluent-listbox",null===(l=e)||"object"!=typeof l||Array.isArray(l)||L.isValidElement(l)?void 0:e.id);var l;const s=ey(e,{renderByDefault:!0,elementType:oC,defaultProps:{id:i,multiselect:n,tabIndex:void 0,...a}}),c=hE({id:i},{supportsLabelFor:!0});s&&!s["aria-label"]&&!s["aria-labelledby"]&&c["aria-labelledby"]&&(s["aria-labelledby"]=c["aria-labelledby"]);const u=Wy(rw(e=>{e.preventDefault()},null==s?void 0:s.onMouseDown)),d=Wy(rw(e=>{var t;e.preventDefault(),null===(t=o.current)||void 0===t||t.focus()},null==s?void 0:s.onClick)),f=Xy(null==s?void 0:s.ref,t);return s&&(s.ref=f,s.onMouseDown=u,s.onClick=d),s}function pC(e,t,r){const{state:{open:n,setOpen:o,setHasFocus:a},defaultProps:i,elementType:l,activeDescendantController:s}=r,c=Zb(e,{defaultProps:{type:"text","aria-expanded":n,role:"combobox",..."object"==typeof i&&i},elementType:l}),u=L.useRef(null);return c.ref=Xy(u,c.ref,t),c.onBlur=rw(e=>{o(e,!1),a(!1)},c.onBlur),c.onFocus=rw(e=>{e.target===e.currentTarget&&a(!0)},c.onFocus),c.onClick=rw(e=>{o(e,!n)},c.onClick),c.onKeyDown=rw(function(e){const{activeDescendantController:t,getOptionById:r,setOpen:n,selectOption:o,multiselect:a,open:i}=e,l=L.useCallback(()=>{const e=t.active();return e?r(e):void 0},[t,r]),s=()=>{t.first()},c=()=>{t.last()},u=e=>{e?t.next():t.first()},d=e=>{e?t.prev():t.first()},f=()=>{for(let e=0;e<10;e++)t.prev()},p=()=>{for(let e=0;e<10;e++)t.next()},h=function(){const e=Ik();return L.useCallback(t=>{var r;null===(r=e.current)||void 0===r||r.setVal(t)},[e])}();return Wy(e=>{const t=QE(e,{open:i,multiselect:a}),r=l();switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":e.preventDefault()}switch(h(!0),t){case"First":s();break;case"Last":c();break;case"Next":u(r);break;case"Previous":d(r);break;case"PageDown":p();break;case"PageUp":f();break;case"Open":n(e,!0);break;case"Close":e.stopPropagation(),n(e,!1);break;case"CloseSelect":!a&&!(null==r?void 0:r.disabled)&&n(e,!1);case"Select":r&&o(e,r);break;case"Tab":!a&&r&&o(e,r)}})}({activeDescendantController:s,...r.state}),c.onKeyDown),c}function hC(e,t,r){const{state:{open:n,value:o,selectOption:a,setValue:i,multiselect:l,selectedOptions:s,clearSelection:c,getOptionById:u,setOpen:d},freeform:f,defaultProps:p,activeDescendantController:h}=r,m=e=>{const t=null==e?void 0:e.trim().toLowerCase();if(!t||0===t.length)return void h.blur();const r=h.find(e=>{const r=u(e);return!!r&&0===r.text.toLowerCase().indexOf(t)});if(r)return u(r);h.blur()},g=pC(e,t,{state:r.state,defaultProps:p,elementType:"input",activeDescendantController:h});g.onChange=rw(g.onChange,e=>{const t=e.target.value;i(t);const r=m(t);l||1!==s.length||!(t.length<1)&&r||c(e)}),g.onBlur=rw(g.onBlur,e=>{if(!n&&!f){const t=h.active(),r=t?u(t):null;o&&r&&o.trim().toLowerCase()===(null==r?void 0:r.text.toLowerCase())&&a(e,r),i(void 0)}});const[v,b]=L.useState(!1),y=L.useRef(!1),w=g.onKeyDown,k=Wy(t=>{n||"Type"!==QE(t)||d(t,!0),"ArrowLeft"===t.key||"ArrowRight"===t.key?b(!0):b(!1);const r=QE(t,{open:n,multiselect:l});var o;("Type"===r?y.current=!0:("Open"===r&&" "!==t.key||"Next"===r||"Previous"===r||"First"===r||"Last"===r||"PageUp"===r||"PageDown"===r)&&(y.current=!1),!y.current&&n||" "!==t.key)?null==w||w(t):null==e||null===(o=e.onKeyDown)||void 0===o||o.call(e,t)});return g.onKeyDown=k,v&&(g["aria-activedescendant"]=void 0),g}function mC(e,t){return((...e)=>{const t=[];let r="";for(const n of e){const e=null==n?void 0:n[hw];e&&(t.push(e),r+=e+Lk)}return L.useMemo(()=>({[hw]:Mk(t)}),[r])})(wk({focusable:{ignoreKeydown:{Escape:t}}}),"object"==typeof e?e:{})}const gC=(e,t)=>{const r=pE();var n;const{appearance:o="outline",size:a=(null!==(n=null==r?void 0:r.size)&&void 0!==n?n:"medium"),...i}=e,l=((e,t)=>{var r,n;e=hE(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:o,activeParentRef:a,controller:i}=j_({matchOption:ZE}),l=uC({...e,editable:!0,activeDescendantController:i}),{appearance:s,size:c,...u}=l,{clearable:d,clearSelection:f,disabled:p,multiselect:h,open:m,selectedOptions:g,setOpen:v,value:b,hasFocus:y}=u,[w,k]=dC(e),{disableAutoFocus:x=!1,freeform:_,inlinePopup:S}=e,B=$y("combobox-"),{primary:E,root:C}=yy({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),z=L.useRef(null),N=fC(e.listbox,Xy(w,o),{state:l,triggerRef:z,defaultProps:{children:e.children,disableAutoFocus:x}});var T;const F=hC(null!==(T=e.input)&&void 0!==T?T:{},Xy(z,a,t),{state:l,freeform:_,defaultProps:{type:"text",value:null!=b?b:"","aria-controls":m?null==N?void 0:N.id:void 0,...E},activeDescendantController:i}),R=Zb(e.root,{defaultProps:{"aria-owns":!S&&m?null==N?void 0:N.id:void 0,...C},elementType:"div"});R.ref=Xy(R.ref,k);const P=g.length>0&&!p&&d&&!h,O={components:{root:"div",input:"input",expandIcon:"span",listbox:oC,clearIcon:"span"},root:R,input:F,listbox:m||y?N:void 0,clearIcon:ey(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:ey(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":p?"true":void 0,"aria-expanded":m,role:"button"},elementType:"span"}),showClearIcon:P,activeDescendantController:i,...u},{targetDocument:j}=Ny();Ky({element:j,callback:e=>v(e,!1),refs:[z,w,k],disabled:!m});const{onMouseDown:D}=O.expandIcon||{},A=Wy(rw(D,e=>{var t;e.preventDefault(),O.setOpen(e,!O.open),null===(t=z.current)||void 0===t||t.focus()}));if(O.expandIcon){O.expandIcon.onMouseDown=A;const t="Open";if(!O.expandIcon["aria-label"]&&!O.expandIcon["aria-labelledby"])if(e["aria-labelledby"]){var I;const e=null!==(I=O.expandIcon.id)&&void 0!==I?I:`${B}-chevron`,r=`${e} ${O.input["aria-labelledby"]}`;O.expandIcon["aria-label"]=t,O.expandIcon.id=e,O.expandIcon["aria-labelledby"]=r}else e["aria-label"]?O.expandIcon["aria-label"]=`${t} ${e["aria-label"]}`:O.expandIcon["aria-label"]=t}const q=Wy(rw(null===(r=O.clearIcon)||void 0===r?void 0:r.onMouseDown,e=>{e.preventDefault()})),M=Wy(rw(null===(n=O.clearIcon)||void 0===n?void 0:n.onClick,e=>{f(e)}));return O.clearIcon&&(O.clearIcon.onMouseDown=q,O.clearIcon.onClick=M),h&&(O.clearIcon=void 0),O})(i,t);var s,c,u,d;l.clearIcon&&(null!==(c=(s=l.clearIcon).children)&&void 0!==c||(s.children=L.createElement(U_,null)));l.expandIcon&&(null!==(d=(u=l.expandIcon).children)&&void 0!==d||(u.children=L.createElement(H_,null)));return{...l,appearance:o,size:a,input:{...mC(l.input,l.open),...l.input}}},vC="fui-Combobox",bC="fui-Combobox__input",yC="fui-Combobox__expandIcon",wC="fui-Combobox__clearIcon",kC="fui-Combobox__listbox",xC=$b({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),_C=$b({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),SC=$b({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",qhf8xq:"f10pi13n",Bo70h7d:"fvc9v3g",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["f1gwjbcf","f1rbysb6"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["fpsl3z4","f1po37t9"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],B1piin3:["f1je5ipm","fb53jzl"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f10pi13n{position:relative;}",".fvc9v3g svg{display:block;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1gwjbcf::after{right:calc(-1 * var(--spacingHorizontalSNudge));}",".f1rbysb6::after{left:calc(-1 * var(--spacingHorizontalSNudge));}",".fe5j1ua{font-size:20px;}",".fpsl3z4::after{right:calc(-1 * var(--spacingHorizontalMNudge));}",".f1po37t9::after{left:calc(-1 * var(--spacingHorizontalMNudge));}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1je5ipm::after{right:calc(-1 * var(--spacingHorizontalM));}",".fb53jzl::after{left:calc(-1 * var(--spacingHorizontalM));}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),BC=L.forwardRef((e,t)=>{const r=gC(e,t),n=KE(r);return(e=>{const{appearance:t,open:r,size:n,showClearIcon:o}=e,a="true"==`${e.input["aria-invalid"]}`,i=e.input.disabled,l=xC(),s=SC(),c=_C();e.root.className=bg(vC,l.root,l[t],l[n],!i&&"outline"===t&&l.outlineInteractive,a&&"underline"!==t&&l.invalid,a&&"underline"===t&&l.invalidUnderline,i&&l.disabled,e.root.className),e.input.className=bg(bC,c.input,c[n],i&&c.disabled,e.input.className),e.listbox&&(e.listbox.className=bg(kC,l.listbox,e.inlinePopup&&l.inlineListbox,!r&&l.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=bg(yC,s.icon,s[n],i&&s.disabled,o&&s.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=bg(wC,s.icon,s[n],i&&s.disabled,!o&&s.hidden,e.clearIcon.className))})(r),Dy("useComboboxStyles_unstable")(r),((e,t)=>cw(e.root,{children:cw(E_,{value:t.activeDescendant,children:cw(GE,{value:t.listbox,children:uw(WE.Provider,{value:t.combobox,children:[cw(e.input,{}),e.clearIcon&&cw(e.clearIcon,{}),e.expandIcon&&cw(e.expandIcon,{}),e.listbox&&(e.inlinePopup?cw(e.listbox,{}):cw(QB,{mountNode:e.mountNode,children:cw(e.listbox,{})}))]})})})}))(r,n)});function EC(e,t,r){const{state:{open:n,setOpen:o,getOptionById:a},defaultProps:i,activeDescendantController:l}=r,s=L.useRef(""),[c,u]=tw(),d=(e,t={startFromNext:!1})=>{const{startFromNext:r}=t,n=l.active(),o=l.find(t=>{const r=a(t);return!!r&&e(r.text)},{startFrom:r?l.next({passive:!0}):n});return o||l.find(t=>{const r=a(t);return!!r&&e(r.text)})},f=pC(e,t,{state:r.state,defaultProps:i,elementType:"button",activeDescendantController:l});return f.onKeyDown=rw(e=>{u(),"Type"===QE(e)&&(s.current+=e.key.toLowerCase(),c(()=>{s.current=""},500),n&&(d(e=>0===e.toLocaleLowerCase().indexOf(s.current),{startFromNext:1===s.current.length})||function(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}(s.current)&&d(e=>0===e.toLocaleLowerCase().indexOf(s.current[0]),{startFromNext:!0})||l.blur()),!n&&o(e,!0))},f.onKeyDown),f}BC.displayName="Combobox";const CC=(e,t)=>{const r=pE();var n;const{appearance:o="outline",size:a=(null!==(n=null==r?void 0:r.size)&&void 0!==n?n:"medium"),...i}=e,l=((e,t)=>{var r;e=hE(e,{supportsLabelFor:!0});const{listboxRef:n,activeParentRef:o,controller:a}=j_({matchOption:ZE}),i=uC({...e,activeDescendantController:a,freeform:!1}),{appearance:l,size:s,freeform:c,...u}=i,{clearable:d,clearSelection:f,disabled:p,hasFocus:h,multiselect:m,open:g,selectedOptions:v,setOpen:b}=u,{primary:y,root:w}=yy({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[k,x]=dC(e),_=L.useRef(null),S=fC(e.listbox,Xy(k,n),{state:i,triggerRef:_,defaultProps:{children:e.children}}),{targetDocument:B}=Ny();var E;Ky({element:B,callback:e=>b(e,!1),refs:[_,k,x],disabled:!g});const C=EC(null!==(E=e.button)&&void 0!==E?E:{},Xy(_,o,t),{state:i,defaultProps:{type:"button",tabIndex:y.disabled?void 0:0,children:u.value||e.placeholder,"aria-controls":g?null==S?void 0:S.id:void 0,...y},activeDescendantController:a}),z=Zb(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&g?null==S?void 0:S.id:void 0,children:e.children,...w},elementType:"div"});z.ref=Xy(z.ref,x);const N=v.length>0&&!p&&d&&!m,T={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:oC},root:z,button:C,listbox:g||h?S:void 0,clearButton:ey(e.clearButton,{defaultProps:{"aria-label":"Clear selection",tabIndex:N?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:ey(e.expandIcon,{renderByDefault:!0,elementType:"span"}),placeholderVisible:!u.value&&!!e.placeholder,showClearButton:N,activeDescendantController:a,...u},F=Wy(rw(null===(r=T.clearButton)||void 0===r?void 0:r.onClick,e=>{var t;f(e),null===(t=_.current)||void 0===t||t.focus()}));return T.clearButton&&(T.clearButton.onClick=F),m&&(T.clearButton=void 0),T})(i,t);var s,c,u,d;l.clearButton&&(null!==(c=(s=l.clearButton).children)&&void 0!==c||(s.children=L.createElement(U_,null)));l.expandIcon&&(null!==(d=(u=l.expandIcon).children)&&void 0!==d||(u.children=L.createElement(H_,null)));return{...l,appearance:o,size:a,button:{...mC(l.button,l.open),...l.button}}},zC="fui-Dropdown",NC="fui-Dropdown__button",TC="fui-Dropdown__clearButton",FC="fui-Dropdown__expandIcon",RC="fui-Dropdown__listbox",PC=$b({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),OC=$b({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),jC=Xb("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),DC=L.forwardRef((e,t)=>{const r=CC(e,t),n=KE(r);return(e=>{const{appearance:t,open:r,placeholderVisible:n,showClearButton:o,size:a}=e,i="true"==`${e.button["aria-invalid"]}`,l=e.button.disabled,s=PC(),c=OC(),u=jC();e.root.className=bg(zC,s.root,s[t],!l&&"outline"===t&&s.outlineInteractive,i&&"underline"!==t&&s.invalid,i&&"underline"===t&&s.invalidUnderline,l&&s.disabled,e.root.className),e.button.className=bg(NC,s.button,s[a],n&&s.placeholder,l&&s.disabledText,e.button.className),e.listbox&&(e.listbox.className=bg(RC,s.listbox,e.inlinePopup&&s.inlineListbox,!r&&s.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=bg(FC,c.icon,c[a],l&&c.disabled,o&&s.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=bg(TC,u,c.icon,c[a],l&&c.disabled,!o&&s.hidden,e.clearButton.className))})(r),Dy("useDropdownStyles_unstable")(r),((e,t)=>cw(e.root,{children:cw(E_,{value:t.activeDescendant,children:cw($E.Provider,{value:t.listbox,children:uw(WE.Provider,{value:t.combobox,children:[uw(e.button,{children:[e.button.children,e.expandIcon&&cw(e.expandIcon,{})]}),e.clearButton&&cw(e.clearButton,{}),e.listbox&&(e.inlinePopup?cw(e.listbox,{}):cw(QB,{mountNode:e.mountNode,children:cw(e.listbox,{})}))]})})})}))(r,n)});DC.displayName="Dropdown";const AC=(e,t)=>{const r=hE(e,{supportsLabelFor:!0,supportsRequired:!0}),[n,o]=Iy({state:r.value,defaultState:r.defaultValue,initialState:""}),a=yy({props:r,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),i={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Zb(r.input,{defaultProps:{type:"text",ref:t,...a.primary},elementType:"input"}),contentAfter:ey(r.contentAfter,{elementType:"span"}),contentBefore:ey(r.contentBefore,{elementType:"span"}),root:Zb(r.root,{defaultProps:a.root,elementType:"span"})};return i.input.value=n,i.input.onChange=Wy(e=>{var t;const n=e.target.value;null===(t=r.onChange)||void 0===t||t.call(r,e,{value:n}),o(n)}),i},IC="fui-Input",qC="fui-Input__input",LC="fui-Input__contentBefore",MC="fui-Input__contentAfter",HC=Xb("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),VC=$b({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),WC=Xb("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),UC=$b({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),$C=Xb("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),XC=$b({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),GC=L.forwardRef((e,t)=>{const r=((e,t)=>{const r=Ry(),n=pE();var o,a;const{size:i=(null!==(o=null==n?void 0:n.size)&&void 0!==o?o:"medium"),appearance:l=(null!==(a=r.inputDefaultAppearance)&&void 0!==a?a:"outline"),...s}=e;return{size:i,appearance:l,...AC(s,t)}})(e,t);return(e=>{const{size:t,appearance:r}=e,n=e.input.disabled,o="true"==`${e.input["aria-invalid"]}`,a=r.startsWith("filled"),i=VC(),l=UC(),s=XC();e.root.className=bg(IC,HC(),i[t],e.contentBefore&&i[`${t}WithContentBefore`],e.contentAfter&&i[`${t}WithContentAfter`],i[r],!n&&"outline"===r&&i.outlineInteractive,!n&&"underline"===r&&i.underlineInteractive,!n&&a&&i.filledInteractive,a&&i.filled,!n&&o&&i.invalid,n&&i.disabled,e.root.className),e.input.className=bg(qC,WC(),l[t],e.contentBefore&&l[`${t}WithContentBefore`],e.contentAfter&&l[`${t}WithContentAfter`],n&&l.disabled,e.input.className);const c=[$C(),n&&s.disabled,s[t]];e.contentBefore&&(e.contentBefore.className=bg(LC,...c,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=bg(MC,...c,e.contentAfter.className))})(r),Dy("useInputStyles_unstable")(r),(e=>uw(e.root,{children:[e.contentBefore&&cw(e.contentBefore,{}),cw(e.input,{}),e.contentAfter&&cw(e.contentAfter,{})]}))(r)});GC.displayName="Input";const KC=L.createContext(void 0),QC={};KC.Provider;const JC=(e,t)=>{e=hE(e);const r=$y("radiogroup-"),{name:n=r,value:o,defaultValue:a,disabled:i,onChange:l,required:s}=e;return{name:n,value:o,defaultValue:a,disabled:i,required:s,components:{root:"div"},root:{ref:t,role:"radiogroup",...Zb(wy("div",e,["onChange","name"]),{elementType:"div"}),onChange:Wy(e=>{l&&nw(e.target,{constructorName:"HTMLInputElement"})&&"radio"===e.target.type&&l(e,{value:e.target.value})})}}},YC="fui-RadioGroup",ZC=$b({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),ez=L.forwardRef((e,t)=>{const r=((e,t)=>{const{layout:r="vertical",...n}=e;return{layout:r,...JC(n,t)}})(e,t),n=(e=>{const{name:t,value:r,defaultValue:n,disabled:o,layout:a,required:i}=e,l=e.root["aria-describedby"];return{radioGroup:L.useMemo(()=>({name:t,value:r,defaultValue:n,disabled:o,layout:a,required:i,"aria-describedby":l}),[t,r,n,o,a,i,l])}})(r);return(e=>{const t=ZC();e.root.className=bg(YC,t.root,"vertical"===e.layout&&t.vertical,e.root.className)})(r),Dy("useRadioGroupStyles_unstable")(r),((e,t)=>cw(KC.Provider,{value:t.radioGroup,children:cw(e.root,{})}))(r,n)});ez.displayName="RadioGroup";const tz=(e,t)=>{const r=L.useContext(KC)||QC,{name:n=r.name,checked:o=(void 0!==r.value?r.value===e.value:void 0),defaultChecked:a=(void 0!==r.defaultValue?r.defaultValue===e.value:void 0),labelPosition:i=("horizontal-stacked"===r.layout?"below":"after"),disabled:l=r.disabled,required:s=r.required,"aria-describedby":c=r["aria-describedby"],onChange:u}=e,d=yy({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),f=Zb(e.root,{defaultProps:{ref:Ak(),...d.root},elementType:"span"}),p=Zb(e.input,{defaultProps:{ref:t,type:"radio",id:$y("radio-",d.primary.id),name:n,checked:o,defaultChecked:a,disabled:l,required:s,"aria-describedby":c,...d.primary},elementType:"input"});p.onChange=rw(p.onChange,e=>null==u?void 0:u(e,{value:e.currentTarget.value}));return{labelPosition:i,components:{root:"span",input:"input",label:"label",indicator:"div"},root:f,input:p,label:ey(e.label,{defaultProps:{htmlFor:p.id,disabled:p.disabled},elementType:"label"}),indicator:Zb(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"})}},rz="fui-Radio",nz="fui-Radio__indicator",oz="fui-Radio__input",az="fui-Radio__label",iz=Xb("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),lz=$b({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),sz=Xb("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),cz=$b({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),uz=Xb("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),dz=$b({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),fz=L.forwardRef((e,t)=>{const r=((e,t)=>{const r=tz(e,t);return{...r,components:{...r.components,label:wE},label:ey(e.label,{defaultProps:{...r.label},elementType:wE})}})(e,t);return(e=>{const{labelPosition:t}=e,r=iz(),n=lz();e.root.className=bg(rz,r,"below"===t&&n.vertical,e.root.className);const o=sz(),a=cz();e.input.className=bg(oz,o,"below"===t&&a.below,e.indicator.children?a.customIndicator:a.defaultIndicator,e.input.className);const i=uz();e.indicator.className=bg(nz,i,e.indicator.className);const l=dz();e.label&&(e.label.className=bg(az,l.base,l[t],e.label.className))})(r),Dy("useRadioStyles_unstable")(r),(e=>uw(e.root,{children:[cw(e.input,{}),cw(e.indicator,{}),e.label&&cw(e.label,{})]}))(r)});fz.displayName="Radio";const pz=L.createContext(void 0),hz={};pz.Provider;const mz=(e,t)=>{const{size:r}=null!==(n=L.useContext(pz))&&void 0!==n?n:hz;var n;const{appearance:o="primary",size:a=(null!=r?r:"medium"),...i}=e,l=gz(i,t);return{...l,appearance:o,size:a,components:{...l.components,label:wE},label:ey(e.label,{defaultProps:l.label,elementType:wE})}},gz=(e,t)=>{const{delay:r=0,labelPosition:n="after"}=e,o=$y("spinner"),{role:a="progressbar",...i}=e,l=Zb(wy("div",{ref:t,role:a,...i}),{elementType:"div"}),[s,c]=L.useState(!1),[u,d]=tw();L.useEffect(()=>{if(!(r<=0))return u(()=>{c(!0)},r),()=>{d()}},[u,d,r]);const f=ey(e.label,{defaultProps:{id:o},renderByDefault:!1,elementType:"label"}),p=ey(e.spinner,{renderByDefault:!0,elementType:"span"});f&&l&&!l["aria-labelledby"]&&(l["aria-labelledby"]=f.id);return{delay:r,labelPosition:n,shouldRenderSpinner:!r||s,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:l,spinner:p,spinnerTail:Zb(e.spinnerTail,{elementType:"span"}),label:f}},vz="fui-Spinner",bz="fui-Spinner__spinner",yz="fui-Spinner__spinnerTail",wz="fui-Spinner__label",kz=Xb("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),xz=$b({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),_z=Xb("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),Sz=Xb("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),Bz=$b({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Ez=$b({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),Cz=L.forwardRef((e,t)=>{const r=mz(e,t);return(e=>{const{labelPosition:t,size:r,appearance:n}=e,{dir:o}=Ny(),a=kz(),i=xz(),l=_z(),s=Bz(),c=Sz(),u=Ez();e.root.className=bg(vz,a,("above"===t||"below"===t)&&i.vertical,e.root.className),e.spinner&&(e.spinner.className=bg(bz,l,s[r],"inverted"===n&&s.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=bg(yz,c,"rtl"===o&&s.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=bg(wz,u[r],"inverted"===n&&u.inverted,e.label.className))})(r),Dy("useSpinnerStyles_unstable")(r),(e=>{const{labelPosition:t,shouldRenderSpinner:r}=e;return uw(e.root,{children:[e.label&&r&&("above"===t||"before"===t)&&cw(e.label,{}),e.spinner&&r&&cw(e.spinner,{children:e.spinnerTail&&cw(e.spinnerTail,{})}),e.label&&r&&("below"===t||"after"===t)&&cw(e.label,{})]})})(r)});Cz.displayName="Spinner";const zz=Ub({mainContainer:{WebkitFontSmoothing:"antialiased"},topWrapper:{display:"flex",flexDirection:"column",alignItems:"center",...Eb.padding("5%","25%"),"@media (max-width: 768px)":{...Eb.padding("5%","10%")}},thankyouTopWrapper:{display:"flex",flexDirection:"column",alignItems:"center",...Eb.padding("5%","15%"),"@media (max-width: 768px)":{...Eb.padding("5%","10%")}},formWrapper:{backgroundColor:"#fff",minWidth:"600px",...Eb.padding("5%"),...Eb.border("1px","solid","#ADADAD"),...Eb.borderRadius("8px"),textAlign:"left","@media (max-width: 768px)":{minWidth:"100%",width:"100%"}},inputFieldContainer:{display:"grid",gridTemplateColumns:"minmax(0, 5fr) minmax(0, 3fr)",...Eb.gap("15px","20px"),marginBottom:"20px","@media (max-width: 768px)":{gridTemplateColumns:"1fr"}},checkboxIsSharedMail:{gridColumn:"span 2",...Eb.margin("10px","0"),"@media (max-width: 768px)":{gridColumn:"span 1"}},bigColumn:{gridColumn:"1 / span 1"},recaptchaWrapper:{...Eb.margin("20px","0")},finalStepContainer:{width:"100%",maxWidth:"800px",...Eb.margin("0","auto"),textAlign:"center"},textBlock:{...Eb.padding("40px"),backgroundColor:"#fff",...Eb.borderRadius("8px"),...Eb.border("1px","solid","#ADADAD")}}),Nz=[10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160],Tz=(e,t,r)=>{const n=t/100,o=r/100,a=(1-Math.abs(2*o-1))*n,i=a*(1-Math.abs(e/60%2-1)),l=o-a/2,[s,c,u]=e<60?[a,i,0]:e<120?[i,a,0]:e<180?[0,a,i]:e<240?[0,i,a]:e<300?[i,0,a]:[a,0,i],d=e=>Math.round(255*(e+l)).toString(16).padStart(2,"0").toUpperCase();return`#${d(s)}${d(c)}${d(u)}`},Fz=e=>{const[t,r,n]=(e=>{const t=e.replace("#",""),r=3===t.length?t.split("").map(e=>e+e).join(""):t,n=parseInt(r.slice(0,2),16)/255,o=parseInt(r.slice(2,4),16)/255,a=parseInt(r.slice(4,6),16)/255,i=Math.max(n,o,a),l=Math.min(n,o,a),s=(i+l)/2,c=i-l;if(0===c)return[0,0,100*s];let u;return u=i===n?(o-a)/c%6:i===o?(a-n)/c+2:(n-o)/c+4,[(60*u+360)%360,c/(1-Math.abs(2*s-1))*100,100*s]})(e),o={};return Nz.forEach(e=>{if(80===e)return void(o[e]=Tz(t,r,n));const a=e<80?8.5+(n-8.5)*(e-Nz[0])/(80-Nz[0]):n+(96.5-n)*(e-80)/(Nz[Nz.length-1]-80),i=a>65?r*(1-(a-65)/100):r;o[e]=Tz(t,i,a)}),o},Rz=(e=Cm,t)=>{const r=i_(Fz(e));return t?.family?{...r,fontFamilyBase:t.family}:r},Pz=({primaryColor:e,fonts:t,dir:r="ltr",children:n})=>{const o=t?.family,a=L.useMemo(()=>Rz(e,{family:o}),[e,o]);return M.createElement(m_,{theme:a,dir:r,style:{display:"contents"}},n)};const Oz="[aria-invalid='true']",jz=Ub({input:{backgroundColor:"#FCFCFF",...Eb.border("1px","solid","#8A8A8A"),...Eb.borderRadius("5px"),height:"50px",transitionProperty:"border-color, background-color",transitionDuration:"0.15s","& input, & .fui-Dropdown__button":{fontSize:"16px"},":focus-within":{backgroundColor:"#fff"},[`:hover:not(:focus-within):not(${Oz}):not(:has(${Oz})):not(:has(:disabled))`]:{...Eb.borderColor("#424242")},[`:focus-within:not(${Oz}):not(:has(${Oz}))`]:{...Eb.borderColor(n_)},[`&${Oz}, &:has(${Oz})`]:{...Eb.borderColor(`${o_} !important`)},"&:has(:disabled)":{backgroundColor:"#F5F5F5",...Eb.borderColor("#DDDDDD")}},fill:{width:"100%",minWidth:0,maxWidth:"none",boxSizing:"border-box"}}),Dz=e=>({fontSize:e?.sizes?.body||16,fontWeight:"normal",textAlign:"left",WebkitFontSmoothing:"antialiased"}),Az=(e,t)=>({fontSize:e,fontWeight:t?600:400,margin:0,paddingTop:0,paddingBottom:0}),Iz=L.forwardRef(({label:e,errorMessage:t,hint:r,fonts:n,required:o,className:a,...i},l)=>{const s=jz();return M.createElement(TE,{label:e?{children:e,style:Dz(n)}:void 0,hint:r,required:!!o,validationState:t?"error":"none",validationMessage:t},M.createElement(GC,{ref:l,className:bg(s.input,s.fill,a),...i}))});Iz.displayName="SSASTextInput";const qz=({name:e,control:t,rules:r,defaultValue:n,...o})=>M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{onChange:e,onBlur:t,name:r,value:n},fieldState:{error:a}})=>M.createElement(Iz,{...o,onChange:(t,r)=>e(r.value),value:n,onBlur:t,name:r,errorMessage:a&&a.message,defaultValue:void 0})}),Lz=({name:e,control:t,rules:r,defaultValue:n,setValue:o,setError:a,clearErrors:i,trigger:l,setIsValidating:s,translation:c,validateEmail:u,config:d,apiService:f,...p})=>{const[h,m]=L.useState(null),g=L.useCallback(async e=>{if(!e)return s(!1),c.EmailError;s(!0);try{let t=!1;if(u)t=await u(e);else if(d?.onValidateEmail)t=await d.onValidateEmail(e);else if(f)t=await f.validateEmail(e);else{t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e)}return s(!1),!!t||c.EmailInvalid}catch(e){return s(!1),c.EmailInvalid}},[u,d,f,c,s]),v=(e,t)=>{h&&clearTimeout(h);const r=setTimeout(async()=>{const t=await g(e);i("email"),!0!==t?a("email",{type:"manual",message:t}):i("email")},900);m(r)};return M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{name:e,value:t,onChange:r},fieldState:{error:n}})=>M.createElement(Iz,{...p,onChange:(e,t)=>{s(!0),r(t.value),v(t.value)},onBlur:e=>{s(!0),v(t)},value:t,name:e,errorMessage:n?n.message:void 0,defaultValue:void 0})})},Mz=({name:e,control:t,rules:r,defaultValue:n,...o})=>M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{onChange:e,value:t}})=>M.createElement(VE,{...o,label:"string"==typeof o.label?{children:o.label,style:Az(16)}:o.label,checked:!!t,onChange:(t,r)=>e(r.checked),indicator:{style:{borderRadius:3}}})}),Hz=({label:e,options:t,value:r,errorMessage:n,required:o,fonts:a,className:i,...l})=>{const s=jz(),c=t.find(e=>String(e.key)===r);return M.createElement(TE,{label:e?{children:e,style:Dz(a)}:void 0,required:o,validationState:n?"error":"none",validationMessage:n},M.createElement(DC,{...l,className:bg(s.input,s.fill,i),value:r,button:c?.text},t.map(e=>M.createElement(cC,{key:e.key,value:String(e.key),text:e.text},e.text))))},Vz=({name:t,control:r,rules:n,defaultValue:o,options:a,...i})=>{const l="string"==typeof a[0]?.key||t===e.FormModel.CompanySize||t===e.FormModel.OrgIndustryId,s=e=>l?e:a.find(t=>t.text===e)?.key;return M.createElement(Kd,{name:t,control:r,rules:n,defaultValue:o||"",render:({field:{onChange:e,onBlur:t,value:r},fieldState:{error:n}})=>M.createElement(Hz,{...i,options:a,value:String(s(r)??""),onOptionSelect:(t,r)=>{const n=a.find(e=>String(e.key)===r.optionValue);e(l?n?.key:n?.text)},onBlur:t,errorMessage:n&&n.message})})},Wz=({value:e,onChange:t,onBlur:r,errorMessage:n,options:o,label:a,placeholder:i,required:l,disabled:s,autoComplete:c,style:u,className:d,fonts:f})=>{const p=jz(),h=o.find(t=>String(t.key)===String(e)),m=L.useRef(null),[g,v]=L.useState(null),b=e=>{m.current=e,v(e)},y=e=>{t(e?"string"==typeof e.key?e.key:e.text:""),b(null)};return M.createElement(TE,{label:a?{children:a,style:Dz(f)}:void 0,required:l,validationState:n?"error":"none",validationMessage:n},M.createElement(BC,{freeform:!0,value:g??h?.text??"",selectedOptions:h?[String(h.key)]:[],placeholder:i,disabled:s,autoComplete:c,style:u,className:bg(p.input,p.fill,d),onOptionSelect:(e,t)=>{const r=o.find(e=>String(e.key)===t.optionValue);r&&y(r)},onChange:e=>b(e.target.value),onBlur:()=>{const e=m.current;if(null!==e){const t=e.trim().toLowerCase();y(t?o.find(e=>e.text.toLowerCase()===t):void 0)}r()}},o.map(e=>M.createElement(cC,{key:e.key,value:String(e.key),text:e.text},e.text))))},Uz=({name:e,control:t,rules:r,defaultValue:n,...o})=>M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{onChange:e,onBlur:t,value:r},fieldState:{error:n}})=>M.createElement(Wz,{...o,value:r,onChange:e,onBlur:t,errorMessage:n?.message})});var $z;e.FormDataModels=void 0,($z=e.FormDataModels||(e.FormDataModels={})).CompanySizeDropdownOptions=[{key:1,text:"1-9"},{key:2,text:"10-24"},{key:3,text:"25-49"},{key:4,text:"50-99"},{key:5,text:"100-199"},{key:6,text:"200-299"},{key:7,text:"300-499"},{key:8,text:"500-999"},{key:9,text:"1000-2499"},{key:10,text:"2500-4999"},{key:11,text:"5000+"}],$z.IndustryOptions=[{key:1,text:"Agriculture, Forestry, Fishing, and Hunting"},{key:2,text:"Mining, Quarrying, and Oil and Gas Extraction"},{key:3,text:"Utilities"},{key:4,text:"Construction"},{key:5,text:"Manufacturing"},{key:6,text:"Wholesale Trade"},{key:7,text:"Retail Trade"},{key:8,text:"Transportation and Warehousing"},{key:9,text:"Information, Media, and Publishing"},{key:10,text:"Telecommunications"},{key:11,text:"Finance and Insurance"},{key:12,text:"Real Estate and Rental and Leasing"},{key:13,text:"Professional, Scientific, and Technical Services"},{key:14,text:"Management of Companies and Enterprises"},{key:15,text:"Administrative and Support and Waste Management and Remediation Services"},{key:16,text:"Educational Services"},{key:17,text:"Health Care and Social Assistance"},{key:18,text:"Arts, Entertainment, and Recreation"},{key:19,text:"Accommodation and Food Services"},{key:20,text:"E-commerce and Digital Services"},{key:21,text:"Defense and Aerospace"},{key:22,text:"Other Services (except Public Administration)"},{key:23,text:"Public Administration"}],$z.HearAboutOptions=[{key:1,text:"Microsoft Partner"},{key:2,text:"Search Engine"},{key:3,text:"Social Media"},{key:4,text:"Microsoft Website"},{key:5,text:"Microsoft Event"},{key:6,text:"Email Newsletter"},{key:7,text:"Colleague or Friend"},{key:8,text:"Advertisement"},{key:9,text:"Blog or Article"},{key:10,text:"Other"}];const Xz=Ub({validating:{alignItems:"flex-end",justifyContent:"flex-start"}}),Gz=({formModels:t,isRegistering:r,control:n,setValue:o,setError:a,clearErrors:i,errors:l,trigger:s,performByPartner:c,watchFormField:u,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:b,partnerData:y})=>{const w=Xz(),[k,x]=L.useState({}),_=t.reduce((t,r)=>{const n=((t,r,n)=>[{name:e.FormModel.CustomerPartnerName,type:e.FormType.Text,label:t.PartnerName,placeholder:t.PartnerNamePlaceholder,rules:{required:!!r&&t.PartnerNameError}},{name:e.FormModel.CustomerPartnerMail,type:e.FormType.Text,label:t.PartnerEmail,placeholder:t.PartnerEmailPlaceholder,rules:{required:!!r&&t.PartnerEmailError,pattern:{value:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,message:t.EmailInvalid}}},{name:e.FormModel.FirstName,type:e.FormType.Text,label:t.FirstName,placeholder:t.FirstNamePlaceholder,rules:{required:t.FirstNameError}},{name:e.FormModel.LastName,type:e.FormType.Text,label:t.LastName,placeholder:t.LastNamePlaceholder,rules:{required:t.LastNameError}},{name:e.FormModel.Email,type:e.FormType.AsyncText,label:t.EmailAddress,placeholder:t.EmailPlaceholder,description:t.EmailDesc,rules:{required:t.EmailError}},{name:e.FormModel.JobRole,type:e.FormType.Text,label:t.JobRole,placeholder:t.JobRolePlaceholder},{name:e.FormModel.IsSharedMail,type:e.FormType.CheckBox,label:t.IsSharedMailTerm},{name:e.FormModel.CompanyName,type:e.FormType.Text,label:t.CompanyName,placeholder:t.CompanyNamePlaceholder,rules:{required:t.CompanyNameError}},{name:e.FormModel.CompanySize,type:e.FormType.Dropdown,label:t.CompanySize},{name:e.FormModel.Country,type:e.FormType.ComboBox,label:t.Country,placeholder:t.CountryPlaceholder,rules:{required:t.CountryError}},{name:e.FormModel.PreferredLanguage,type:e.FormType.Dropdown,label:t.SelectPreferredLanguage},{name:e.FormModel.HearAbout,type:e.FormType.Dropdown,label:t.HearAbout,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0},{name:e.FormModel.OrgIndustryId,type:e.FormType.Dropdown,label:t.Industry,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0}].find(e=>e.name===n)||null)(d,c,r);return n?[...t,n]:t},[]),S=t=>{switch(t){case e.FormModel.CompanySize:return g||e.FormDataModels.CompanySizeDropdownOptions;case e.FormModel.OrgIndustryId:return v||e.FormDataModels.IndustryOptions;case e.FormModel.HearAbout:return b||e.FormDataModels.HearAboutOptions;case e.FormModel.PreferredLanguage:{const e=y?.supportedLanguages||[];return 0===e.length?zm:zm.filter(t=>e.includes(t.data.code))}case e.FormModel.Country:return m||[];default:return[]}};return M.createElement(M.Fragment,null,_.map(t=>((t,c)=>{const g=k[t.name]||!1;switch(t.type){case e.FormType.Text:return M.createElement(qz,{name:t.name,control:n,rules:t.rules,label:t.label,placeholder:t.placeholder,required:t.rules?.required,disabled:r,fonts:f.theme?.fonts,key:c});case e.FormType.AsyncText:return M.createElement("div",{key:c},M.createElement(Lz,{label:t.label,placeholder:t.placeholder,control:n,setValue:o,setError:a,clearErrors:i,name:t.name,fonts:f.theme?.fonts,trigger:s,setIsValidating:(b=t.name,e=>{x(t=>{const r=t[b]||!1,n="function"==typeof e?e(r):e;return{...t,[b]:n}})}),translation:d,config:f,apiService:p,rules:{required:d.EmailError},required:t.rules?.required,hint:t.name in l||g?void 0:t.description,disabled:r}),g&&M.createElement(Cz,{size:"tiny",className:w.validating,label:d.ValidatingMessage}));case e.FormType.Dropdown:return M.createElement(Vz,{key:c,required:void 0!==t.rules?.required,options:S(t.name),label:t.label,rules:t.rules,control:n,name:t.name,placeholder:t.placeholder,disabled:(v=t.name,v===e.FormModel.PreferredLanguage&&"AU"===u(e.FormModel.Country)&&"Microsoft"===y?.partnerName||r),className:t.bigColumn?h.bigColumn:"",fonts:f.theme?.fonts});case e.FormType.ComboBox:return M.createElement(Uz,{key:c,options:m||[],label:t.label,control:n,rules:t.rules,name:t.name,placeholder:t.placeholder,required:""!==t.rules?.required,disabled:r,autoComplete:"off",fonts:f.theme?.fonts});case e.FormType.CheckBox:return M.createElement(Mz,{key:c,name:t.name,label:t.label,rules:t.rules,disabled:r,control:n,className:h.checkboxIsSharedMail});default:return null}var v,b})(t,t.name)))},Kz=Ub({root:{marginBottom:"30px"}}),Qz=({isRegistering:t,performByPartner:r,setPerformByPartner:n,setValue:o,setError:a,clearErrors:i,control:l,errors:s,trigger:c,watch:u,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:b,partnerData:y,primaryColor:w})=>{const k=w||"#00BAE4",x=Kz(),_=[{key:"ByCustomer",text:d.ByCustomer},{key:"ByPartner",text:d.ByPartner}],S=b&&b.length>0,B=[r&&e.FormModel.CustomerPartnerName,r&&e.FormModel.CustomerPartnerMail,e.FormModel.FirstName,e.FormModel.LastName,e.FormModel.Email,e.FormModel.JobRole,e.FormModel.IsSharedMail,e.FormModel.CompanyName,e.FormModel.CompanySize,e.FormModel.Country,e.FormModel.PreferredLanguage,!r&&e.FormModel.CustomerPartnerName,!r&&e.FormModel.CustomerPartnerMail,e.FormModel.OrgIndustryId,!!S&&e.FormModel.HearAbout];return M.createElement(M.Fragment,null,M.createElement(ez,{defaultValue:"ByCustomer",className:x.root,onChange:(t,r)=>{o(e.FormModel.CustomerPartnerMail,""),o(e.FormModel.CustomerPartnerName,""),i(e.FormModel.CustomerPartnerMail),i(e.FormModel.CustomerPartnerName),n("ByPartner"===r.value)}},_.map(e=>M.createElement(fz,{key:e.key,value:e.key,label:{children:e.text,style:Az(f.theme?.fonts?.sizes?.body||16)}}))),M.createElement("div",{className:h.inputFieldContainer},M.createElement(Gz,{formModels:B,isRegistering:t,control:l,setValue:o,setError:a,clearErrors:i,errors:s,trigger:c,performByPartner:r,watchFormField:u,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:b,partnerData:y,primaryColor:k})))};var Jz={exports:{}};function Yz(){}function Zz(){}Zz.resetWarningCache=Yz;Jz.exports=function(){function e(e,t,r,n,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Zz,resetWarningCache:Yz};return r.PropTypes=r,r}();var eN=n(Jz.exports),tN=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function rN(){return rN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rN.apply(this,arguments)}function nN(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oN(e,t){return oN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oN(e,t)}var aN=function(e){var t,r;function n(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(nN(t)),t.handleErrored=t.handleErrored.bind(nN(t)),t.handleChange=t.handleChange.bind(nN(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(nN(t)),t}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,oN(t,r);var o=n.prototype;return o.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},o.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},o.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},o.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},o.executeAsync=function(){var e=this;return new Promise(function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()})},o.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},o.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},o.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},o.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},o.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},o.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},o.componentDidMount=function(){this.explicitRender()},o.componentDidUpdate=function(){this.explicitRender()},o.handleRecaptchaRef=function(e){this.captcha=e},o.render=function(){var e=this.props;e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated;var t=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,tN);return L.createElement("div",rN({},t,{ref:this.handleRecaptchaRef}))},n}(L.Component);aN.displayName="ReCAPTCHA",aN.propTypes={sitekey:eN.string.isRequired,onChange:eN.func,grecaptcha:eN.object,theme:eN.oneOf(["dark","light"]),type:eN.oneOf(["image","audio"]),tabindex:eN.number,onExpired:eN.func,onErrored:eN.func,size:eN.oneOf(["compact","normal","invisible"]),stoken:eN.string,hl:eN.string,badge:eN.oneOf(["bottomright","bottomleft","inline"]),isolated:eN.bool},aN.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var iN={exports:{}},lN={},sN="function"==typeof Symbol&&Symbol.for,cN=sN?Symbol.for("react.element"):60103,uN=sN?Symbol.for("react.portal"):60106,dN=sN?Symbol.for("react.fragment"):60107,fN=sN?Symbol.for("react.strict_mode"):60108,pN=sN?Symbol.for("react.profiler"):60114,hN=sN?Symbol.for("react.provider"):60109,mN=sN?Symbol.for("react.context"):60110,gN=sN?Symbol.for("react.async_mode"):60111,vN=sN?Symbol.for("react.concurrent_mode"):60111,bN=sN?Symbol.for("react.forward_ref"):60112,yN=sN?Symbol.for("react.suspense"):60113,wN=sN?Symbol.for("react.suspense_list"):60120,kN=sN?Symbol.for("react.memo"):60115,xN=sN?Symbol.for("react.lazy"):60116,_N=sN?Symbol.for("react.block"):60121,SN=sN?Symbol.for("react.fundamental"):60117,BN=sN?Symbol.for("react.responder"):60118,EN=sN?Symbol.for("react.scope"):60119;function CN(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case cN:switch(e=e.type){case gN:case vN:case dN:case pN:case fN:case yN:return e;default:switch(e=e&&e.$$typeof){case mN:case bN:case xN:case kN:case hN:return e;default:return t}}case uN:return t}}}function zN(e){return CN(e)===vN}lN.AsyncMode=gN,lN.ConcurrentMode=vN,lN.ContextConsumer=mN,lN.ContextProvider=hN,lN.Element=cN,lN.ForwardRef=bN,lN.Fragment=dN,lN.Lazy=xN,lN.Memo=kN,lN.Portal=uN,lN.Profiler=pN,lN.StrictMode=fN,lN.Suspense=yN,lN.isAsyncMode=function(e){return zN(e)||CN(e)===gN},lN.isConcurrentMode=zN,lN.isContextConsumer=function(e){return CN(e)===mN},lN.isContextProvider=function(e){return CN(e)===hN},lN.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===cN},lN.isForwardRef=function(e){return CN(e)===bN},lN.isFragment=function(e){return CN(e)===dN},lN.isLazy=function(e){return CN(e)===xN},lN.isMemo=function(e){return CN(e)===kN},lN.isPortal=function(e){return CN(e)===uN},lN.isProfiler=function(e){return CN(e)===pN},lN.isStrictMode=function(e){return CN(e)===fN},lN.isSuspense=function(e){return CN(e)===yN},lN.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===dN||e===vN||e===pN||e===fN||e===yN||e===wN||"object"==typeof e&&null!==e&&(e.$$typeof===xN||e.$$typeof===kN||e.$$typeof===hN||e.$$typeof===mN||e.$$typeof===bN||e.$$typeof===SN||e.$$typeof===BN||e.$$typeof===EN||e.$$typeof===_N)},lN.typeOf=CN,iN.exports=lN;var NN=iN.exports,TN={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},FN={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},RN={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},PN={};function ON(e){return NN.isMemo(e)?RN:PN[e.$$typeof]||TN}PN[NN.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},PN[NN.Memo]=RN;var jN=Object.defineProperty,DN=Object.getOwnPropertyNames,AN=Object.getOwnPropertySymbols,IN=Object.getOwnPropertyDescriptor,qN=Object.getPrototypeOf,LN=Object.prototype;var MN=function e(t,r,n){if("string"!=typeof r){if(LN){var o=qN(r);o&&o!==LN&&e(t,o,n)}var a=DN(r);AN&&(a=a.concat(AN(r)));for(var i=ON(t),l=ON(r),s=0;s<a.length;++s){var c=a[s];if(!(FN[c]||n&&n[c]||l&&l[c]||i&&i[c])){var u=IN(r,c);try{jN(t,c,u)}catch(e){}}}}return t},HN=n(MN);function VN(){return VN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},VN.apply(this,arguments)}var WN={},UN=0;var $N="onloadcallback";function XN(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var GN,KN,QN=(GN=function(){var e=XN(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+$N+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+$N+"&render=explicit"},KN=(KN={callbackName:$N,globalName:"grecaptcha",attributes:XN().nonce?{nonce:XN().nonce}:{}})||{},function(e){var t=e.displayName||e.name||"Component",r=function(t){var r,n;function o(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}n=t,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n;var a=o.prototype;return a.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+UN++),this.__scriptLoaderID},a.setupScriptURL=function(){return this.__scriptURL="function"==typeof GN?GN():GN,this.__scriptURL},a.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},a.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=WN[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[KN.callbackName]},a.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=KN,o=n.globalName,a=n.callbackName,i=n.scriptId;if(o&&void 0!==window[o]&&(WN[t]={loaded:!0,observers:{}}),WN[t]){var l=WN[t];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var s={};s[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},WN[t]={loaded:!1,observers:s};var c=document.createElement("script");for(var u in c.src=t,c.async=!0,KN.attributes)c.setAttribute(u,KN.attributes[u]);i&&(c.id=i);var d=function(e){if(WN[t]){var r=WN[t].observers;for(var n in r)e(r[n])&&delete r[n]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),c.onload=function(){var e=WN[t];e&&(e.loaded=!0,d(function(t){return!a&&(t(e),!0)}))},c.onerror=function(){var e=WN[t];e&&(e.errored=!0,d(function(t){return t(e),!0}))},document.body.appendChild(c)},a.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===KN.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=WN[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===KN.removeOnUnmount&&delete WN[e])},a.render=function(){var t=KN.globalName,r=this.props;r.asyncScriptOnLoad;var n=r.forwardedRef,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(o[t]=void 0!==window[t]?window[t]:void 0),o.ref=n,L.createElement(e,o)},o}(L.Component),n=L.forwardRef(function(e,t){return L.createElement(r,VN({},e,{forwardedRef:t}))});return n.displayName="AsyncScriptLoader("+t+")",n.propTypes={asyncScriptOnLoad:eN.func},HN(n,e)})(aN);const JN=e=>{const{styles:t,description:r,label:n,checked:o,defaultChecked:a,disabled:i,onChange:l,onRenderLabel:s,labelFontSize:c}=e,u=s?s(e):n;return M.createElement("div",null,M.createElement(VE,{label:{children:u,style:Az(c??18,o)},indicator:{style:{borderRadius:3}},checked:o,defaultChecked:a,disabled:i,onChange:l?(e,t)=>{l?.(e,"mixed"===t.checked||t.checked)}:void 0,style:{margin:"10px 0 5px 0",...t?.root}}),r&&M.createElement("div",{style:{margin:"0 28px",cursor:"default"},className:"checkboxDescription"},r))},YN="--ssas-primary-button-color",ZN=Ub({interactive:{":hover:where(:not(:disabled, [aria-disabled='true']))":{backgroundColor:`color-mix(in srgb, var(${YN}), #000 10%) !important`},":active:where(:not(:disabled, [aria-disabled='true']))":{backgroundColor:`color-mix(in srgb, var(${YN}), #000 15%) !important`},":focus-visible":{outline:"2px solid #000 !important",outlineOffset:"2px",boxShadow:"inset 0 0 0 2px #fff !important"}}}),eT=(e,t)=>({borderRadius:8,height:60,boxShadow:e?"none":"0px 2px 5px 0px #b1b1b1f2",border:"none",maxWidth:"none",fontSize:"18px",fontWeight:600,...t?{backgroundColor:"#cecece",color:"#fff"}:{}}),tT=e=>{const t=ZN(),{dir:r}=Ny(),{styles:n,primaryColor:o,noShadow:a,iconProps:i,noIcon:l,iconName:s,loadingIcon:c,onRenderMenuIcon:u,text:d,className:f,style:p,disabled:h,type:m,onClick:g,children:v}=e,b=o||Cm,y=h||c,w=!!c&&!h,k={...{[YN]:b,...y?{}:{backgroundColor:`var(${YN})`,color:"#fff"}},...eT(a,y),...n?.root,...p},x=((e,t)=>{const r=(e=>({fontSize:25,...e?{color:"#fff"}:{}}))(t);switch(e){case"ChevronRight":return L.createElement(W_,{style:r});case"ChevronLeft":return L.createElement(V_,{style:r});default:return}})(s??("rtl"===r?"ChevronLeft":"ChevronRight"),y),_=u?u(e,()=>x??null)??void 0:c?L.createElement(Cz,{"aria-label":"Loading",size:"tiny"}):l?void 0:x,S=i?"before":"after",B={..._&&"after"===S?{paddingInlineStart:20}:{},...k};return L.createElement(uE,{appearance:"primary",className:bg(t.interactive,f),style:B,icon:_,iconPosition:S,disabled:h,disabledFocusable:w,type:m,onClick:g},d??v)},rT=({setValue:t,isRegistering:r,errors:n,translation:o,submissionError:a,primaryColor:i,partnerData:l})=>{const[s,c]=L.useState(!1),[u,d]=L.useState(!1),[f,p]=L.useState(!1),h=i||Cm,m=l?`https://${l.domain}/terms-and-conditions`:"",g=o.PrivacyStatementLink,v=g&&!/^https?:\/\//.test(g)&&l?`https://${l.domain}${g}`:g;return M.createElement("div",null,M.createElement("div",{style:{margin:"20px 0"}},M.createElement(QN,{sitekey:"6LeSgOkgAAAAAG820G9BYrck3obgjOBn05IdJhom",onChange:e=>c(!!e)})),M.createElement(JN,{onRenderLabel:()=>M.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptPrivacy," ",M.createElement("a",{href:v,target:"_blank",rel:"noopener noreferrer",style:{color:h}},o.PrivacyNotice)),onChange:(r,n)=>{t(e.FormModel.IsConsented,n),p(n)},disabled:r}),M.createElement(JN,{onRenderLabel:()=>M.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptTerm," ",M.createElement("a",{href:m,target:"_blank",rel:"noopener noreferrer",style:{color:h}},o.TermCondition)),onChange:(r,n)=>{n?(d(!0),t(e.FormModel.ConsentedDate,new Date)):(d(!1),t(e.FormModel.ConsentedDate,void 0))},disabled:r}),a&&M.createElement("div",{style:{backgroundColor:"#FDE7E9",border:"1px solid #DC3545",borderRadius:4,padding:"12px 16px",marginBottom:20,color:"#DC3545",fontSize:14,display:"flex",alignItems:"center",gap:8}},M.createElement("span",{style:{fontSize:16,fontWeight:600}},"⚠"),M.createElement("span",null,a)),M.createElement(tT,{text:o.SubmitRequest,primaryColor:h,styles:{root:{display:"flex",width:"100%"}},type:"submit",disabled:Object.keys(n).length>0||r||!u||!f||!s,onRenderMenuIcon:(e,t)=>r?M.createElement(Cz,{"aria-label":"Submitting",size:"tiny"}):t?t():null}))},nT="ColorWidget",oT="KnownProductFrom",aT=({config:t})=>{const[r,n]=L.useState(),[o,a]=L.useState(),i=Vf(t),l=i.apiBaseUrl||"https://portal.selfserviceassessment.com",s=L.useMemo(()=>new qm(l,i.partnerGuid),[l,i.partnerGuid]),c=L.useMemo(()=>new qm(r?.domain?new URL(`https://${r?.domain}`).toString():"",i.partnerGuid),[r?.domain,i.partnerGuid]),u=zz(),d={backgroundColor:i.theme?.backgroundColor||"#FCFCFF"},[f,p]=L.useState(!1),[h,m]=L.useState(!1),[g,v]=L.useState(""),[b,y]=L.useState(),[w,k]=L.useState(),[x,_]=L.useState(e.FormDataModels.CompanySizeDropdownOptions),[S,B]=L.useState(e.FormDataModels.IndustryOptions),[E,C]=L.useState(),[z,N]=L.useState(),[T,F]=L.useState(!1),[R,P]=L.useState(!1),[O,j]=L.useState(!1),[D,A]=L.useState(!1),[I,q]=L.useState(!1),[H,V]=L.useState(!1),[W,U]=L.useState(!1),$=T||R||O||D||I,X=L.useMemo(()=>{const e=r?.supportedLanguages?r.supportedLanguages.split(",").map(e=>e.trim()):[];return Hf.isEmpty(e)?zm:zm.filter(t=>e.includes(t.data.code))},[r?.supportedLanguages]),G=L.useMemo(()=>{const e=i.languageCode||r?.languageCode||"en";return X.find(t=>t.data.code===e)?.text||"English"},[i.languageCode,r?.languageCode,X]),K=(Q=i.languageCode||r?.languageCode)&&["ar","he"].includes(Q.toLowerCase())?"rtl":"ltr";var Q;const{handleSubmit:J,setValue:Y,setError:Z,control:ee,watch:te,clearErrors:re,trigger:ne,formState:{errors:oe}}=function(e={}){const t=M.useRef(void 0),r=M.useRef(void 0),n=M.useRef(e.formControl),[o,a]=M.useState(()=>({...sd(Df),isLoading:Dd(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Dd(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&n.current!==e.formControl)if(n.current=e.formControl,e.formControl)t.current={...e.formControl,formState:o},e.defaultValues&&!Dd(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:r,...n}=Af(e);t.current={...n,formState:o}}const i=t.current.control;return i._options=e,Md(()=>{const e=i._subscribe({formState:i._proxyFormState,callback:()=>a({...i._formState,defaultValues:i._defaultValues}),reRenderRoot:!0});return a(e=>({...e,isReady:!0})),i._formState.isReady=!0,e},[i]),M.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),M.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),M.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),M.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),M.useEffect(()=>{if(i._proxyFormState.isDirty){const e=i._getDirty();e!==o.isDirty&&i._subjects.state.next({isDirty:e})}},[i,o.isDirty]),M.useEffect(()=>{var t;e.values&&!$d(e.values,r.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),(null===(t=i._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||i._setValid(),r.current=e.values,a(e=>({...e}))):i._resetDefaultValues()},[i,e.values]),M.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),t.current.formState=M.useMemo(()=>Ld(o,i),[i,o]),t.current}({defaultValues:{orgSizingId:1,isSharedMail:!0,isConsented:!1,consentedDate:void 0,preferredLanguage:G,assessmentProgresses:[]},mode:"all"});L.useEffect(()=>{A(!0),s.getPartnerByGuid(i.partnerGuid).then(e=>{e?n(e):V(!0)}).catch(e=>{console.error("Failed to load partner:",e),V(!0)}).finally(()=>{A(!1)})},[i.partnerGuid,s]),L.useEffect(()=>{if(!r)return;F(!0),c.getCountries().then(e=>{k(e.sort((e,t)=>e.name.localeCompare(t.name)).map(e=>({key:e.alpha2Code,text:e.name})))}).catch(e=>{console.error("Failed to load countries:",e),403===e.status&&U(!0)}).finally(()=>{F(!1)}),P(!0),c.getOrgSizes().then(e=>{_(e.filter(e=>null!=e.microsoftSizingId).sort((e,t)=>e.sortOrder-t.sortOrder).map(t=>({key:t.id,text:t.label||(t.sortOrder!==e.length-1?`${t.sizeLowerBound}-${t.sizeUpperBound}`:`${t.sizeLowerBound}+`)})))}).catch(e=>{console.error("Failed to load org sizes:",e),403===e.status&&U(!0)}).finally(()=>{P(!1)}),j(!0),c.getIndustries().then(e=>{B(e.map(e=>({key:e.id,text:e.name})))}).catch(e=>{console.error("Failed to load industries:",e),403===e.status&&U(!0)}).finally(()=>{j(!1)}),q(!0);const e=i.languageCode||r.languageCode||"en";c.getFormScreenLocalization(e,r.id).then(e=>{C(e)}).catch(e=>{console.error("Failed to load localization:",e)}).finally(()=>{q(!1)})},[c,r,i.languageCode]);const ae=Xd({control:ee,name:e.FormModel.Country});L.useEffect(()=>{"AU"===ae&&"Microsoft"===r?.partnerName&&Y(e.FormModel.PreferredLanguage,"English")},[ae,Y,r]);const ie=L.useMemo(()=>{if(!E)return Nm.en.formScreen;const e=Nm.en.formScreen,t={},r=E;for(const[n,o]of Object.entries(e))t[n]=r[o]||o;return t},[E]);return L.useEffect(()=>{if(!r)return void a(void 0);const e=r.partnerSettings?.find(e=>e.settingKey===nT);if(e?.settingValue)try{const t=JSON.parse(e.settingValue);a(t)}catch(e){console.error("Failed to parse ColorWidget setting:",e),a(void 0)}else a(void 0)},[r]),L.useEffect(()=>{if(!r||!E)return void N(void 0);const e=r.partnerSettings?.filter(e=>e.settingKey===oT),t=e&&e.length>0?e[0].settingValue:void 0;if(!t)return void N(void 0);const n=parseInt(t,10);if(isNaN(n)||n<=0)return void N(void 0);const o=[],a=E;for(let e=1;e<=n;e++){const t=`hear_about_${e}`,r=a[t]||`Option ${e}`;o.push({key:t,text:r})}N(o)},[r,E]),g?M.createElement(Pz,{primaryColor:i.theme?.primaryColor||o?.column1,fonts:i.theme?.fonts,dir:K},M.createElement("div",{className:u.mainContainer,style:d},M.createElement("div",{className:u.thankyouTopWrapper},M.createElement("div",{className:u.finalStepContainer},M.createElement("div",{className:u.textBlock},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading,fontWeight:700,lineHeight:1.2}},ie.ThankYou),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading,margin:"20px 0",lineHeight:"30px"}},ie.ThankYouDesc),M.createElement("div",{style:{fontSize:18,margin:"20px 0",color:i.theme?.primaryColor||o?.column1||"#00BAE4",textUnderlinePosition:"under"}},g)))))):M.createElement(Pz,{primaryColor:i.theme?.primaryColor||o?.column1,fonts:i.theme?.fonts,dir:K},M.createElement("div",{className:u.mainContainer,style:d},M.createElement("div",{className:u.topWrapper,style:i.customStyles?.topWrapper},$?M.createElement(Cz,{size:"tiny",labelPosition:"below",label:"Loading form data...",style:{marginBottom:"20px"}}):H?M.createElement("div",{style:{textAlign:"center",padding:"40px 20px",color:"#605e5c"}},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading||24,fontWeight:700,lineHeight:1.2,marginBottom:16}},"Access Not Available"),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading||16,lineHeight:"28px"}},"Your company is not eligible to use this form. Please contact your administrator for assistance.")):W?M.createElement("div",{style:{textAlign:"center",padding:"40px 20px",color:"#605e5c"}},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading||24,fontWeight:700,lineHeight:1.2,marginBottom:16}},"Domain Not Whitelisted"),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading||16,lineHeight:"28px"}},"Your company has not registered this domain into the whitelist. Please contact QSSolutions admin to add it.")):M.createElement("form",{className:u.formWrapper,style:i.customStyles?.formWrapper,onSubmit:J(async t=>{p(!0),y(void 0);if(await c.checkMaintenanceStatus()){const e="System is under maintenance, please try again later";return i.onError&&i.onError(e),void p(!1)}Y(e.FormModel.Partner,r),Y(e.FormModel.PerfromedByPartner,h),c.addUser(te(),r?.partnerName||"",window.location.hostname).then(t=>{const r=te(e.FormModel.Email);v(r),i.onSuccess&&i.onSuccess(r)}).catch(e=>{const t=e?.response?.data;let r;if(t?.errors)r=Object.values(t.errors).flat().join(" ");else{const n=t?.title||e?.message||e;r=E?.[n]||n||"Registration failed"}i.onError&&i.onError(r),y(r)}).finally(()=>{p(!1)})}),noValidate:!0},M.createElement("div",{style:{textAlign:"center"}},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading,fontWeight:700,lineHeight:1.2}},ie.AppForm),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading,margin:"12px auto 24px",width:"85%",lineHeight:"30px"}},ie.AppFormDesc)),M.createElement(Qz,{isRegistering:f,setPerformByPartner:m,performByPartner:h,setValue:Y,setError:Z,clearErrors:re,control:ee,errors:oe,trigger:ne,watch:te,translation:ie,config:i,apiService:c,styles:u,countryOptions:w,orgSizingOptions:x,orgIndustryOptions:S,hearAboutOptions:z,partnerData:r,primaryColor:i.theme?.primaryColor||o?.column1}),M.createElement(rT,{setValue:Y,isRegistering:f,errors:oe,translation:ie,config:i,submissionError:b,primaryColor:i.theme?.primaryColor||o?.column1,partnerData:r})))))};class iT extends HTMLElement{constructor(){super(),this.root=null,this._config=null}static get observedAttributes(){return["config"]}connectedCallback(){this._config&&this.render()}disconnectedCallback(){this.root&&(this.root.unmount(),this.root=null)}attributeChangedCallback(e,t,r){if("config"===e&&t!==r)try{this._config=JSON.parse(r),this.render()}catch(e){console.error("Invalid config JSON:",e)}}set config(e){this._config=e,this.render()}render(){let e=this.querySelector("div.ssas-form-container");e||(e=document.createElement("div"),e.className="ssas-form-container",e.style.width="100%",e.style.height="100%",this.appendChild(e));let t=this._config;if(!t){const e=this.getAttribute("config");if(e)try{t=JSON.parse(e)}catch(e){return void console.error("Invalid config attribute:",e)}}t?(this.root||(this.root=V.createRoot(e)),this.root.render(M.createElement(aT,{config:t})),this.dispatchEvent(new CustomEvent("ssas-form-ready",{bubbles:!0,composed:!0,detail:{config:t}}))):console.error("No configuration provided to ssas-registration-form")}}return"undefined"==typeof window||customElements.get("ssas-registration-form")||customElements.define("ssas-registration-form",iT),e.ApiService=qm,e.DEFAULT_TRANSLATIONS=Nm,e.EMAIL_PATTERN=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,e.LANGUAGE_OPTIONS=zm,e.SSASFormElement=iT,e.SSASRegistrationForm=aT,e.createBrandRamp=Fz,e.createFormTheme=Rz,e.useFormConfig=Vf,e}({});
110
110
  //# sourceMappingURL=web-component.min.js.map