@pacaf/wizard-ux 3.4.2 → 3.4.3

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.
@@ -138,4 +138,4 @@ Please change the parent <Route path="${_}"> to <Route path="${_==="/"?"*":`${_}
138
138
  *
139
139
  * This source code is licensed under the MIT license found in the
140
140
  * LICENSE file in the root directory of this source tree.
141
- */var fx;function I7(){if(fx)return Mg;fx=1;var e=md();function o(m,x){return m===x&&(m!==0||1/m===1/x)||m!==m&&x!==x}var n=typeof Object.is=="function"?Object.is:o,a=e.useState,l=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue;function d(m,x){var k=x(),w=a({inst:{value:k,getSnapshot:x}}),y=w[0].inst,z=w[1];return c(function(){y.value=k,y.getSnapshot=x,h(y)&&z({inst:y})},[m,k,x]),l(function(){return h(y)&&z({inst:y}),m(function(){h(y)&&z({inst:y})})},[m]),u(k),k}function h(m){var x=m.getSnapshot;m=m.value;try{var k=x();return!n(m,k)}catch{return!0}}function g(m,x){return x()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:d;return Mg.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,Mg}var hx;function U7(){return hx||(hx=1,Dg.exports=I7()),Dg.exports}var V7=U7();function gx(e,o){return{topLeft:[e.left-o[0],e.top-o[1]],topRight:[e.right-o[0],e.top-o[1]],bottomRight:[e.right-o[0],e.bottom-o[1]],bottomLeft:[e.left-o[0],e.bottom-o[1]]}}const px=20;function J5(e,o){return Math.sqrt((e[0]-o[0])**2+(e[1]-o[1])**2)}function G7(e,o){const n=J5(e,o);return n===0?[0,0]:[(e[0]-o[0])/n,(e[1]-o[1])/n]}function W7(e,o,n){const a=[(e[0]+o[0])/2,(e[1]+o[1])/2],l=G7([n[0],n[1]],[a[0],a[1]]),c=J5([a[0],a[1]],[n[0],n[1]]);return[a[0]+l[0]*(c+px),a[1]+l[1]*(c+px)]}function Mu(e){return`M ${e} z`}const X7=ve({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},triangle:{Bkecrkj:"f1cguypg"},triangleDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function mx(e){if(e.width<=0||e.height<=0)return"";let o="";return o+=`M ${e.x},${e.y} `,o+=`V ${e.y+e.height} `,o+=`H ${e.x+e.width} `,o+=`V ${e.y} `,o+=`H ${e.x} `,o+="Z ",o}function $7(e,o,n,a){let l=`M 0,0 H ${e} V ${o} H 0 Z `;return l+=mx(n),l+=mx(a),l}const vx={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON(){return""}};function bx(e,o){return e.top===o.top&&e.right===o.right&&e.bottom===o.bottom&&e.left===o.left&&e.width===o.width&&e.height===o.height}function K7(e,o){return e[0]===o[0]&&e[1]===o[1]}const Q7=b.memo(e=>{const{debug:o,onMouseEnter:n,onMouseMove:a,onMouseLeave:l,stateStore:c}=e,u=Qt(),d=X7(),h=V7.useSyncExternalStore(c.subscribe,c.isActive),g=b.useRef(null),[v,m]=b.useState(()=>({containerRect:vx,targetRect:vx,mouseCoordinates:[0,0]}));b.useImperativeHandle(e.imperativeRef,()=>({updateSVG(ie){m(Q=>bx(Q.containerRect,ie.containerRect)&&bx(Q.targetRect,ie.targetRect)&&K7(Q.mouseCoordinates,ie.mouseCoordinates)?Q:ie)}}),[]);const{containerRect:x,targetRect:k,mouseCoordinates:w}=v,y=Math.min(k.top,x.top),z=Math.min(k.left,x.left),_=Math.max(k.bottom,x.bottom),R=Math.max(k.right,x.right),C=gx(x,[z,y]),T=gx(k,[z,y]),E=[w[0]-z,w[1]-y],j=W7(C.topLeft,C.bottomRight,E),M=[j,C.topLeft,C.topRight],O=[j,C.topRight,C.bottomRight],W=[j,C.bottomRight,C.bottomLeft],Y=[j,C.bottomLeft,C.topLeft],fe=R-z,le=_-y,se=$7(fe,le,{x:T.topLeft[0],y:T.topLeft[1],width:k.width,height:k.height},{x:C.topLeft[0],y:C.topLeft[1],width:x.width,height:x.height});return b.createElement("div",{className:de(d.wrapper,h&&d.wrapperActive),"data-safe-zone":""},h?b.createElement("svg",{"aria-hidden":!0,className:d.svg,xmlns:"http://www.w3.org/2000/svg",ref:g,style:{width:`${fe}px`,height:`${le}px`,transform:`translate(${z}px, ${y}px)`}},b.createElement("g",{className:de(d.triangle,o&&d.triangleDebug),clipPath:`url(#${u})`,onMouseEnter:n,onMouseMove:a,onMouseLeave:l},b.createElement("path",{d:Mu(M)}),b.createElement("path",{d:Mu(O)}),b.createElement("path",{d:Mu(W)}),b.createElement("path",{d:Mu(Y)})),b.createElement("clipPath",{id:u},b.createElement("path",{d:se})),o&&b.createElement("path",{className:d.rectDebug,d:se})):null)}),Z7=2e3;function Y7({debug:e=!1,disabled:o=!1,onSafeZoneEnter:n,onSafeZoneMove:a,onSafeZoneLeave:l,onSafeZoneTimeout:c,timeout:u=1500}={}){const[d]=b.useState(L7),h=b.useRef(null),g=b.useRef(null),v=b.useRef(null),[m,x]=xl(),[k,w]=iC(),y=b.useRef({x:0,y:0}),z=b.useMemo(()=>{if(o)return()=>{};let E=null;function j(){x(),d.toggleActive(!1)}return M=>{M===null&&(E==null||E.removeEventListener("mouseenter",j)),E=M,M==null||M.addEventListener("mouseenter",j)}},[x,o,d]),_=b.useMemo(()=>{if(o)return()=>{};let E=null;function j(M){y.current={x:M.clientX,y:M.clientY},d.isActive()||d.toggleActive(!0),m(()=>{d.toggleActive(!1)},Z7)}return M=>{M===null&&(w(),x(),E==null||E.removeEventListener("mousemove",j)),E=M,M==null||M.addEventListener("mousemove",j)}},[w,x,o,d,m]),R=pe(E=>{n==null||n(E),m(()=>{d.toggleActive(!1),c==null||c()},u)}),C=pe(E=>{m(()=>{d.toggleActive(!1),c==null||c()},u),a==null||a(E)}),T=pe(E=>{l==null||l(E)});return b.useEffect(()=>d.subscribe(E=>{if(E){let M=function(){const O=g.current,W=v.current;if(O&&W){var Y;(Y=h.current)===null||Y===void 0||Y.updateSVG({containerRect:O.getBoundingClientRect(),mouseCoordinates:[y.current.x,y.current.y],targetRect:W.getBoundingClientRect()})}k(M)};var j=M;M();return}w()}),[w,k,d]),{containerRef:at(g,z),targetRef:at(v,_),elementToRender:b.useMemo(()=>o?null:b.createElement(Q7,{debug:e,onMouseEnter:R,onMouseMove:C,onMouseLeave:T,imperativeRef:h,stateStore:d}),[o,e,R,C,T,d])}}const dm=Qa(void 0),eS={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1};dm.Provider;const Vt=e=>kl(dm,(o=eS)=>e(o)),J7=(e,o)=>{const n=Vt(u=>u.size),a=Vt(u=>u.appearance),l=Ad(),c=e8(e,at(o,l));return{appearance:a,size:n,...c}},e8=(e,o)=>{const n=Vt(z=>z.contentRef),a=Vt(z=>z.openOnHover),l=Vt(z=>z.setOpen),c=Vt(z=>z.mountNode),u=Vt(z=>z.arrowRef),d=Vt(z=>z.withArrow),h=Vt(z=>z.trapFocus),g=Vt(z=>z.inertTrapFocus),v=Vt(z=>z.inline),{modalAttributes:m}=jd({trapFocus:h,legacyTrapFocus:!g,alwaysFocusable:!h}),x={inline:v,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ne({ref:at(o,n),role:h?"dialog":"group","aria-modal":h?!0:void 0,...m,...e},{elementType:"div"})},{onMouseEnter:k,onMouseLeave:w,onKeyDown:y}=x.root;return x.root.onMouseEnter=z=>{a&&l(z,!0),k==null||k(z)},x.root.onMouseLeave=z=>{a&&l(z,!1),w==null||w(z)},x.root.onKeyDown=z=>{var _;z.key==="Escape"&&(!((_=n.current)===null||_===void 0)&&_.contains(z.target))&&(z.preventDefault(),l(z,!1)),y==null||y(z)},x};function t8(e){return pr(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const o8=Zu.useInsertionEffect?Zu.useInsertionEffect:Dt,tS=Symbol.for("fui-portal-style-ref-count"),r8="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",oS="fui-portal-styles";function rS(e){var o;return(o=e[tS])!==null&&o!==void 0?o:0}function mp(e,o){e[tS]=o}function n8(e){var o;const n=rS(e);if(n>0){mp(e,n+1);return}const a=e.createElement("style");a.id=oS,e.head.prepend(a),(o=a.sheet)===null||o===void 0||o.insertRule(r8),mp(e,1)}function a8(e){const o=rS(e);if(o===0)return;const n=o-1;if(n===0){var a;(a=e.head.querySelector(`#${oS}`))===null||a===void 0||a.remove()}mp(e,n)}function i8(e){const{targetDocument:o}=Qe();o8(()=>{if(!(e||!o))return n8(o),()=>a8(o)},[e,o])}const nS=Zu.useInsertionEffect,l8=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,c=b.useMemo(()=>{if(l===void 0||e.disabled)return null;const u=l.ownerDocument.createElement("div");return l.appendChild(u),u},[l,e.disabled]);return b.useMemo(()=>{c&&(c.className=o,c.setAttribute("dir",n),c.setAttribute("data-portal-node","true"),a.current=c)},[o,n,c,a]),b.useEffect(()=>()=>{c==null||c.remove()},[c]),c},s8=()=>{let e;function o(a,l){return e||(l&&(e=a.ownerDocument.createElement("div"),a.appendChild(e)),e)}function n(){e&&(e.remove(),e=void 0)}return{get:o,dispose:n}},c8=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,[c]=b.useState(s8),u=b.useMemo(()=>l===void 0||e.disabled?null:new Proxy({},{get(d,h){if(h==="nodeType")return 1;if(h==="remove"){const m=c.get(l,!1);return m&&m.childNodes.length===0&&c.dispose(),()=>{}}const g=c.get(l,!0),v=g?g[h]:void 0;return typeof v=="function"?v.bind(g):v},set(d,h,g){const v=h==="_virtual"||h==="focusVisible",m=v?c.get(l,!1):c.get(l,!0);return v&&!m?!0:m?(Object.assign(m,{[h]:g}),!0):!1}}),[c,l,e.disabled]);return nS(()=>{if(u)return u.setAttribute("class",o),u.setAttribute("dir",n),u.setAttribute("data-portal-node","true"),a.current=u,()=>{u.removeAttribute("class"),u.removeAttribute("dir")}},[o,n,u,a]),b.useEffect(()=>()=>{u==null||u.remove()},[u]),u},u8=nS?c8:l8,d8=e=>{"use no memo";const{targetDocument:o,dir:n}=Qe(),a=oC(),l=qw(),c=X6(),u={dir:n,disabled:e.disabled,focusVisibleRef:l,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(o==null?void 0:o.body)};return i8(e.disabled),u8(u)},f8=e=>{const{element:o,className:n}=t8(e.mountNode),a=b.useRef(null),l=d8({disabled:!!o,className:n}),c=o??l,u={children:e.children,mountNode:c,virtualParentRootRef:a};return b.useEffect(()=>{if(!c)return;const d=a.current,h=c.contains(d);if(d&&!h)return By(c,d),()=>{By(c,void 0)}},[a,c]),u},h8=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Pg.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),Tl=e=>{const o=f8(e);return h8(o)};Tl.displayName="Portal";const g8=e=>{const o=it(e.root,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?o:ne(Tl,{mountNode:e.mountNode,children:o})},p8={root:"fui-PopoverSurface"},m8={small:6,medium:8,large:8},v8=ve({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",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:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),b8=e=>{"use no memo";const o=v8();return e.root.className=de(p8.root,o.root,e.inline&&o.inline,e.size==="small"&&o.smallPadding,e.size==="medium"&&o.mediumPadding,e.size==="large"&&o.largePadding,e.appearance==="inverted"&&o.inverted,e.appearance==="brand"&&o.brand,e.root.className),e.arrowClassName=de(o.arrow,e.size==="small"?o.smallArrow:o.mediumLargeArrow),e},aS=b.forwardRef((e,o)=>{const n=J7(e,o);return b8(n),Xe("usePopoverSurfaceStyles_unstable")(n),g8(n)});aS.displayName="PopoverSurface";const y8=4,yx=Le.durationSlower,xx=Le.curveDecelerateMid,wx=_l(({distance:e=10})=>({enter:[la({duration:yx,easing:xx,direction:"enter"}),{...j5({duration:yx,easing:xx,direction:"enter",outX:`calc(var(${sd}, 0px) * ${e})`,outY:`calc(var(${cd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),x8=e=>{const{appearance:o,size:n="medium"}=e,a=Nl(e.positioning),l=e.withArrow&&!a.coverTarget,{targetDocument:c}=Qe(),u=D5({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=w8({...e,positioning:{...a,onPositioningEnd:u,...l?{offset:K5(a.offset,m8[n])}:{}}});return{components:{surfaceMotion:wx},appearance:o,size:n,...d,surfaceMotion:ic(e.surfaceMotion,{elementType:wx,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},w8=e=>{const[o,n]=Y5(),a={contextTarget:o,setContextTarget:n,...e},l=b.Children.toArray(e.children);let c,u;l.length===2?(c=l[0],u=l[1]):l.length===1&&(u=l[0]);const[d,h]=S8(a),[g,v]=xl(),m=pe((E,j)=>{if(v(),!(E instanceof Event)&&E.persist&&E.persist(),E.type==="mouseleave"){var M;g(()=>{h(E,j)},(M=e.mouseLeaveDelay)!==null&&M!==void 0?M:500)}else h(E,j)}),x=b.useCallback(E=>{m(E,!d)},[m,d]),k=k8(a),{targetDocument:w}=Qe();var y;Gp({contains:Os,element:w,callback:E=>m(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d,disabledFocusOnIframe:!(!((y=e.closeOnIframeFocus)!==null&&y!==void 0)||y)});const z=a.openOnContext||a.closeOnScroll;vw({contains:Os,element:w,callback:E=>m(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d||!z});const{findFirstFocusable:_}=rc(),R=dT();b.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const E=k.contentRef.current;if(d&&E){var j;const M=!isNaN((j=E.getAttribute("tabIndex"))!==null&&j!==void 0?j:void 0),O=M?E:_(E);O==null||O.focus(),M&&R(E)}},[_,R,d,k.contentRef,e.unstable_disableAutoFocus]);var C,T;return{...a,...k,inertTrapFocus:(C=e.inertTrapFocus)!==null&&C!==void 0?C:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:u,open:d,setOpen:m,toggleOpen:x,setContextTarget:n,contextTarget:o,inline:(T=e.inline)!==null&&T!==void 0?T:!1}};function S8(e){"use no memo";const o=pe((u,d)=>{var h;return(h=e.onOpenChange)===null||h===void 0?void 0:h.call(e,u,d)}),[n,a]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=n!==void 0?n:e.open;const l=e.setContextTarget,c=b.useCallback((u,d)=>{d&&u.type==="contextmenu"&&l(u),d||l(void 0),a(d),o==null||o(u,{open:d})},[a,o,l]);return[n,c]}function k8(e){"use no memo";const o={position:"above",align:"center",arrowPadding:2*y8,target:e.openOnContext?e.contextTarget:void 0,...Nl(e.positioning)};o.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:l}=Pd(o);return{triggerRef:n,contentRef:a,arrowRef:l}}function B8(e){const{appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:g,size:v,toggleOpen:m,trapFocus:x,triggerRef:k,withArrow:w,inertTrapFocus:y}=e;return{popover:b.useMemo(()=>({appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:g,size:v,toggleOpen:m,trapFocus:x,triggerRef:k,withArrow:w,inertTrapFocus:y}),[o,n,a,l,c,u,d,h,g,v,m,x,k,w,y])}}const _8=(e,o)=>{var n;return it(dm.Provider,{value:(n=o==null?void 0:o.popover)!==null&&n!==void 0?n:eS,children:[e.popoverTrigger,e.popoverSurface&&ne(e.surfaceMotion,{children:ne(Dd,{children:e.popoverSurface})})]})},iS=e=>{const o=x8(e),n=B8(o);return _8(o,n)};iS.displayName="Popover";const z8=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=oc(o),l=Vt(C=>C.open),c=Vt(C=>C.setOpen),u=Vt(C=>C.toggleOpen),d=Vt(C=>C.triggerRef),h=Vt(C=>C.openOnHover),g=Vt(C=>C.openOnContext),{triggerAttributes:v}=jd(),m=C=>{g&&(C.preventDefault(),c(C,!0))},x=C=>{g||u(C)},k=C=>{C.key===Bl&&l&&!C.isDefaultPrevented()&&(c(C,!1),C.preventDefault())},w=C=>{h&&c(C,!0)},y=C=>{h&&c(C,!1)},z={...v,"aria-expanded":`${l}`,...a==null?void 0:a.props,onMouseEnter:pe(Ae(a==null?void 0:a.props.onMouseEnter,w)),onMouseLeave:pe(Ae(a==null?void 0:a.props.onMouseLeave,y)),onContextMenu:pe(Ae(a==null?void 0:a.props.onContextMenu,m)),ref:at(d,tc(a))},_={...z,onClick:pe(Ae(a==null?void 0:a.props.onClick,x)),onKeyDown:pe(Ae(a==null?void 0:a.props.onKeyDown,k))},R=Xa((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",_);return{children:Cd(e.children,Xa((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",g?z:n?_:R))}},C8=e=>e.children,fm=e=>{const o=z8(e);return C8(o)};fm.displayName="PopoverTrigger";fm.isFluentTriggerComponent=!0;const N8=6,T8=4,E8=e=>-1,R8=e=>{};function j8(e){const{targetDocument:o}=Qe(),n=o==null?void 0:o.defaultView,a=n?n.setTimeout:E8,l=n?n.clearTimeout:R8,c=b.useRef(void 0),u=b.useCallback((h,g)=>(c.current!==void 0&&l(c.current),c.current=a(h,g??0),c.current),[l,a]),d=b.useCallback(()=>{c.current!==void 0&&(l(c.current),c.current=void 0)},[l]);return b.useEffect(()=>{const h=e.current;return()=>{(!h||!h.isConnected)&&d()}},[d,e]),[u,d]}const A8=e=>{"use no memo";var o,n,a,l,c,u,d;const h=Q6(),g=dC(),{targetDocument:v}=Qe(),[m,x]=Ao({state:e.visible,initialState:!1}),{children:k,content:w,withArrow:y=!1,positioning:z="above",onVisibleChange:_,relationship:R,showDelay:C=250,hideDelay:T=250,mountNode:E}=e,j={withArrow:y,positioning:z,showDelay:C,hideDelay:T,relationship:R,visible:m,shouldRenderTooltip:m,mountNode:E,components:{content:"div"},content:Ne(w,{defaultProps:{role:"tooltip"},elementType:"div"})};j.content.id=Qt("tooltip-",j.content.id);const M={enabled:j.visible,arrowPadding:2*T8,position:"above",align:"center",offset:4,...Nl(j.positioning)};j.withArrow&&(M.offset=K5(M.offset,N8));const{targetRef:O,containerRef:W,arrowRef:Y}=Pd(M),[fe,le]=j8(W),se=b.useCallback((U,te)=>{le(),x(ce=>(te.visible!==ce&&(_==null||_(U,te)),te.visible))},[le,x,_]);j.content.ref=at(j.content.ref,W),j.arrowRef=Y,Dt(()=>{if(m){var U;const te={hide:me=>se(void 0,{visible:!1,documentKeyboardEvent:me})};(U=h.visibleTooltip)===null||U===void 0||U.hide(),h.visibleTooltip=te;const ce=me=>{me.key===Bl&&!me.defaultPrevented&&(te.hide(me),me.preventDefault())};return v==null||v.addEventListener("keydown",ce,{capture:!0}),()=>{h.visibleTooltip===te&&(h.visibleTooltip=void 0),v==null||v.removeEventListener("keydown",ce,{capture:!0})}}},[h,v,m,se]);const ie=b.useRef(!1),Q=b.useCallback(U=>{if(U.type==="focus"&&ie.current){ie.current=!1;return}const te=h.visibleTooltip?0:j.showDelay;fe(()=>{se(U,{visible:!0})},te),U.persist()},[fe,se,j.showDelay,h]),I=cT(),[ee]=b.useState(()=>{const U=ce=>{var me;!((me=ce.detail)===null||me===void 0)&&me.isFocusedProgrammatically&&!I()&&(ie.current=!0)};let te=null;return ce=>{te==null||te.removeEventListener(Do,U),ce==null||ce.addEventListener(Do,U),te=ce}}),oe=b.useCallback(U=>{let te=j.hideDelay;U.type==="blur"&&(te=0,ie.current=(v==null?void 0:v.activeElement)===U.target),fe(()=>{se(U,{visible:!1})},te),U.persist()},[fe,se,j.hideDelay,v]);j.content.onPointerEnter=Ae(j.content.onPointerEnter,le),j.content.onPointerLeave=Ae(j.content.onPointerLeave,oe),j.content.onFocus=Ae(j.content.onFocus,le),j.content.onBlur=Ae(j.content.onBlur,oe);const he=oc(k),Se={},F=(he==null||(o=he.props)===null||o===void 0?void 0:o["aria-haspopup"])&&((he==null||(n=he.props)===null||n===void 0?void 0:n["aria-expanded"])===!0||(he==null||(a=he.props)===null||a===void 0?void 0:a["aria-expanded"])==="true");return R==="label"?typeof j.content.children=="string"?Se["aria-label"]=j.content.children:(Se["aria-labelledby"]=j.content.id,j.shouldRenderTooltip=!0):R==="description"&&(Se["aria-describedby"]=j.content.id,j.shouldRenderTooltip=!0),(g||F)&&(j.shouldRenderTooltip=!1),j.children=Cd(k,{...Se,...he==null?void 0:he.props,ref:at(tc(he),ee,M.target===void 0?O:void 0),onPointerEnter:pe(Ae(he==null||(l=he.props)===null||l===void 0?void 0:l.onPointerEnter,Q)),onPointerLeave:pe(Ae(he==null||(c=he.props)===null||c===void 0?void 0:c.onPointerLeave,oe)),onFocus:pe(Ae(he==null||(u=he.props)===null||u===void 0?void 0:u.onFocus,Q)),onBlur:pe(Ae(he==null||(d=he.props)===null||d===void 0?void 0:d.onBlur,oe))}),j},D8=e=>{"use no memo";const{appearance:o="normal",...n}=e,a=A8(n);return{appearance:o,...a}},M8=e=>it(b.Fragment,{children:[e.children,e.shouldRenderTooltip&&ne(Tl,{mountNode:e.mountNode,children:it(e.content,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),O8={content:"fui-Tooltip__content"},F8=ve({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",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:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),q8=e=>{"use no memo";const o=F8();return e.content.className=de(O8.content,o.root,e.appearance==="inverted"&&o.inverted,e.visible&&o.visible,e.content.className),e.arrowClassName=o.arrow,e},Ld=e=>{const o=D8(e);return q8(o),Xe("useTooltipStyles_unstable")(o),M8(o)};Ld.displayName="Tooltip";Ld.isFluentTriggerComponent=!0;const H8=e=>{const{iconOnly:o,iconPosition:n}=e;return it(e.root,{children:[n!=="after"&&e.icon&&ne(e.icon,{}),!o&&e.root.children,n==="after"&&e.icon&&ne(e.icon,{})]})},lS=b.createContext(void 0),P8={};lS.Provider;const L8=()=>{var e;return(e=b.useContext(lS))!==null&&e!==void 0?e:P8},I8=(e,o)=>{const{size:n}=L8(),{appearance:a="secondary",shape:l="rounded",size:c=n??"medium",...u}=e,d=U8(u,o);return{appearance:a,shape:l,size:c,...d}},U8=(e,o)=>{const{icon:n,iconPosition:a="before",...l}=e,c=De(n,{elementType:"span"});var u,d;return{disabled:(u=e.disabled)!==null&&u!==void 0?u:!1,disabledFocusable:(d=e.disabledFocusable)!==null&&d!==void 0?d:!1,iconPosition:a,iconOnly:!!(c!=null&&c.children&&!e.children),components:{root:"button",icon:"span"},root:Ne(Xa(l.as,l),{elementType:"button",defaultProps:{ref:o,type:e.as!=="a"?"button":void 0}}),icon:c}},Sx={root:"fui-Button",icon:"fui-Button__icon"},V8=Ee("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;}}"]}),G8=Ee("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);}"]),W8=ve({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)"}]]}),X8=ve({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)"}]]}),$8=ve({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;}}"]}),K8=ve({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;}"]}),Q8=ve({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);}"]}),Z8=e=>{"use no memo";const o=V8(),n=G8(),a=W8(),l=X8(),c=$8(),u=K8(),d=Q8(),{appearance:h,disabled:g,disabledFocusable:v,icon:m,iconOnly:x,iconPosition:k,shape:w,size:y}=e;return e.root.className=de(Sx.root,o,h&&a[h],a[y],m&&y==="small"&&a.smallWithIcon,m&&y==="large"&&a.largeWithIcon,a[w],(g||v)&&l.base,(g||v)&&l.highContrast,h&&(g||v)&&l[h],h==="primary"&&c.primary,c[y],c[w],x&&u[y],e.root.className),e.icon&&(e.icon.className=de(Sx.icon,n,!!e.root.children&&d[k],d[y],e.icon.className)),e},st=b.forwardRef((e,o)=>{const n=I8(e,o);return Z8(n),Xe("useButtonStyles_unstable")(n),H8(n)});st.displayName="Button";const sS=b.createContext(void 0),Y8=sS.Provider,J8=()=>b.useContext(sS),e9=e=>{var o,n,a,l;const{generatedControlId:c,orientation:u,required:d,size:h,validationState:g}=e,v=(o=e.label)===null||o===void 0?void 0:o.htmlFor,m=(n=e.label)===null||n===void 0?void 0:n.id,x=(a=e.validationMessage)===null||a===void 0?void 0:a.id,k=(l=e.hint)===null||l===void 0?void 0:l.id;return{field:b.useMemo(()=>({generatedControlId:c,hintId:k,labelFor:v,labelId:m,orientation:u,required:d,size:h,validationMessageId:x,validationState:g}),[c,k,v,m,u,d,h,x,g])}};function Za(e,o){return cS(J8(),e,o)}function cS(e,o,n){if(!e)return o;o={...o};const{generatedControlId:a,hintId:l,labelFor:c,labelId:u,required:d,validationMessageId:h,validationState:g}=e;if(a){var v,m;(m=(v=o).id)!==null&&m!==void 0||(v.id=a)}if(u&&(!(n!=null&&n.supportsLabelFor)||c!==o.id)){var x,k,w;(w=(x=o)[k="aria-labelledby"])!==null&&w!==void 0||(x[k]=u)}if((h||l)&&(o["aria-describedby"]=[h,l,o==null?void 0:o["aria-describedby"]].filter(Boolean).join(" ")),g==="error"){var y,z,_;(_=(y=o)[z="aria-invalid"])!==null&&_!==void 0||(y[z]=!0)}if(d)if(n!=null&&n.supportsRequired){var R,C;(C=(R=o).required)!==null&&C!==void 0||(R.required=!0)}else{var T,E,j;(j=(T=o)[E="aria-required"])!==null&&j!==void 0||(T[E]=!0)}if(n!=null&&n.supportsSize){var M,O;(O=(M=o).size)!==null&&O!==void 0||(M.size=e.size)}return o}const t9=(e,o)=>{let{children:n}=e;return typeof n=="function"&&(n=n(cS(o.field)||{})),ne(Y8,{value:o==null?void 0:o.field,children:it(e.root,{children:[e.label&&ne(e.label,{}),n,e.validationMessage&&it(e.validationMessage,{children:[e.validationMessageIcon&&ne(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&ne(e.hint,{})]})})},o9=(e,o)=>{const{weight:n="regular",size:a="medium",...l}=e,c=r9(l,o);return{weight:n,size:a,...c}},r9=(e,o)=>{const{disabled:n=!1,required:a=!1,...l}=e;return{disabled:n,required:De(a===!0?"*":a||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Ne(Et("label",{ref:o,...l}),{elementType:"label"})}},n9=e=>it(e.root,{children:[e.root.children,e.required&&ne(e.required,{})]}),kx={root:"fui-Label",required:"fui-Label__required"},a9=ve({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)"}]]}),i9=e=>{"use no memo";const o=a9();return e.root.className=de(kx.root,o.root,e.disabled&&o.disabled,o[e.size],e.weight==="semibold"&&o.semibold,e.root.className),e.required&&(e.required.className=de(kx.required,o.required,e.disabled&&o.disabled,e.required.className)),e},br=b.forwardRef((e,o)=>{const n=o9(e,o);return i9(n),Xe("useLabelStyles_unstable")(n),n9(n)});br.displayName="Label";const l9=(e,o)=>{const{children:n,required:a=!1,validationState:l=e.validationMessage?"error":"none"}=e,c=Qt("field-"),u=c+"__control",d=Ne(Et("div",{...e,ref:o},["children"]),{elementType:"div"}),h=De(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:a},elementType:"label"}),g=De(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:l==="error"||l==="warning"?"alert":void 0},elementType:"div"}),v=De(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),m=De(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"});return{children:n,generatedControlId:u,required:a,validationState:l,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:d,label:h,validationMessageIcon:m,validationMessage:g,hint:v}},s9={error:b.createElement(NR,null),warning:b.createElement(kR,null),success:b.createElement(_R,null),none:void 0},c9=(e,o)=>{const{orientation:n="vertical",size:a="medium",...l}=e,c=l9(l,o),u=s9[c.validationState];return{...c,components:{...c.components,label:br},label:De(e.label,{defaultProps:{size:a,...c.label},elementType:br}),validationMessageIcon:De(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},zs={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},u9=ve({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;}"]}),d9=ve({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;}"]}),f9=Ee("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);}"]),h9=ve({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));}"]}),g9=Ee("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;}"]),p9=ve({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),m9=e=>{"use no memo";const{validationState:o,size:n}=e,a=e.orientation==="horizontal",l=u9();e.root.className=de(zs.root,l.base,a&&l.horizontal,a&&!e.label&&l.horizontalNoLabel,e.root.className);const c=d9();e.label&&(e.label.className=de(zs.label,c.base,a&&c.horizontal,a&&n==="small"&&c.horizontalSmall,a&&n==="large"&&c.horizontalLarge,!a&&c.vertical,!a&&n==="large"&&c.verticalLarge,e.label.className));const u=g9(),d=p9();e.validationMessageIcon&&(e.validationMessageIcon.className=de(zs.validationMessageIcon,u,o!=="none"&&d[o],e.validationMessageIcon.className));const h=f9(),g=h9();return e.validationMessage&&(e.validationMessage.className=de(zs.validationMessage,h,o==="error"&&g.error,!!e.validationMessageIcon&&g.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=de(zs.hint,h,e.hint.className)),e},uS=b.forwardRef((e,o)=>{const n=c9(e,o);m9(n),Xe("useFieldStyles_unstable")(n);const a=e9(n);return t9(n,a)});uS.displayName="Field";const v9=(e,o)=>{"use no memo";e=Za(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...l}=e,c=b9(l,o),u=c.checked==="mixed";let d;if(u?n==="circular"?d=b.createElement(tm,null):d=a==="large"?b.createElement(CR,null):b.createElement(zR,null):c.checked&&(d=a==="large"?b.createElement(BR,null):b.createElement(b5,null)),c.indicator){var h,g;(g=(h=c.indicator).children)!==null&&g!==void 0||(h.children=d)}return{shape:n,size:a,...c,components:{...c.components,label:br},label:De(e.label,{defaultProps:{...c.label,size:"medium"},elementType:br})}},b9=(e,o)=>{"use no memo";const{disabled:n=!1,required:a,labelPosition:l="after",onChange:c}=e,[u,d]=Ao({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),h=yl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),g=u==="mixed",v=Qt("checkbox-",h.primary.id),m={checked:u,disabled:n,labelPosition:l,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Ne(e.root,{defaultProps:{ref:Kp(),...h.root},elementType:"span"}),input:Ne(e.input,{defaultProps:{type:"checkbox",id:v,ref:o,checked:u===!0,...h.primary},elementType:"input"}),label:De(e.label,{defaultProps:{htmlFor:v,disabled:n,required:a},elementType:"label"}),indicator:De(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};m.input.onChange=Ae(m.input.onChange,k=>{const w=k.currentTarget.indeterminate?"mixed":k.currentTarget.checked;c==null||c(k,{checked:w}),d(w)});const x=at(m.input.ref);return m.input.ref=x,Dt(()=>{x.current&&(x.current.indeterminate=g)},[x,g]),m},y9=e=>it(e.root,{children:[ne(e.input,{}),e.labelPosition==="before"&&e.label&&ne(e.label,{}),e.indicator&&ne(e.indicator,{}),e.labelPosition==="after"&&e.label&&ne(e.label,{})]}),Ou={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},x9=Ee("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;}}"]}),w9=ve({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)"}]]}),S9=Ee("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));}"]),k9=ve({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));}"]}),B9=Ee("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;}"]),_9=ve({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}]]}),z9=ve({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);}"]}),C9=e=>{"use no memo";const{checked:o,disabled:n,labelPosition:a,shape:l,size:c}=e,u=x9(),d=w9();e.root.className=de(Ou.root,u,n?d.disabled:o==="mixed"?d.mixed:o?d.checked:d.unchecked,e.root.className);const h=S9(),g=k9();e.input.className=de(Ou.input,h,c==="large"&&g.large,g[a],e.input.className);const v=B9(),m=_9();e.indicator&&(e.indicator.className=de(Ou.indicator,v,c==="large"&&m.large,l==="circular"&&m.circular,e.indicator.className));const x=z9();return e.label&&(e.label.className=de(Ou.label,x.base,x[c],x[a],e.label.className)),e},dS=b.forwardRef((e,o)=>{const n=v9(e,o);return C9(n),Xe("useCheckboxStyles_unstable")(n),y9(n)});dS.displayName="Checkbox";const fS=Qa({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});fS.Provider;const N9={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},sc=Qa(void 0),Eo=e=>kl(sc,(o=N9)=>e(o)),T9=sc.Provider;function E9(e){const{appearance:o,open:n,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setOpen:h,size:g,activeDescendantController:v,onOptionClick:m,onActiveDescendantChange:x}=e,k={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:h,size:g},w={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:m,onActiveDescendantChange:x},y=b.useMemo(()=>({controller:v}),[v]);return{combobox:k,activeDescendant:y,listbox:w}}function R9(e){const o=ac(sc),{getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:h}=e,g=Eo(y=>y.registerOption),v=Eo(y=>y.onOptionClick),m=Eo(y=>y.onActiveDescendantChange),k={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:o?g:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:v,onActiveDescendantChange:m},w=b.useMemo(()=>({controller:h}),[h]);return{listbox:k,activeDescendant:w}}function hd(e,o={}){const{open:n=!0,multiselect:a=!1}=o,l=e.key,{altKey:c,ctrlKey:u,key:d,metaKey:h}=e;return d.length===1&&l!==sn&&!c&&!u&&!h?"Type":n?l===Tg&&c||l===Wi||!a&&l===sn?"CloseSelect":a&&l===sn?"Select":l===Bl?"Close":l===dp?"Next":l===Tg?"Previous":l===AE?"First":l===jE?"Last":l===ME?"PageUp":l===DE?"PageDown":l===l5?"Tab":"None":l===dp||l===Tg||l===Wi||l===sn?"Open":"None"}const hS=()=>{const e=b.useRef(new Map),o=b.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:g=>e.current.get(g),getOptionsMatchingText:g=>Array.from(e.current.values()).filter(({text:v})=>g(v)),getOptionsMatchingValue:g=>{const v=[];for(const m of e.current.values())g(m.value)&&v.push(m);return v}}),[]),n=b.useCallback(a=>(e.current.set(a.id,a),()=>e.current.delete(a.id)),[]);return{...o,options:Array.from(e.current.values()),registerOption:n}},gS=e=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:a}=e,[l,c]=Ao({state:e.selectedOptions,defaultState:o,initialState:[]}),u=b.useCallback((h,g)=>{if(g.disabled)return;let v=[g.value];if(n){const m=l.findIndex(x=>x===g.value);m>-1?v=[...l.slice(0,m),...l.slice(m+1)]:v=[...l,g.value]}c(v),a==null||a(h,{optionValue:g.value,optionText:g.text,selectedOptions:v})},[a,n,l,c]);return{clearSelection:h=>{c([]),a==null||a(h,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u,selectedOptions:l}},gd={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},j9=ve({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",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",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],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);}",".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);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],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);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),A9=e=>{"use no memo";const{disabled:o,multiselect:n,selected:a}=e,l=j9();return e.root.className=de(gd.root,l.root,l.active,o&&l.disabled,a&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=de(gd.checkIcon,l.checkIcon,n&&l.multiselectCheck,a&&l.selectedCheck,a&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,e.checkIcon.className)),e},Bx={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},D9=(e,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,l=hS(),{listboxRef:c,activeParentRef:u,controller:d}=f5({matchOption:ie=>ie.classList.contains(gd.root)}),h=ac(sc),g=Eo(ie=>ie.onActiveDescendantChange),v=Eo(ie=>ie.getOptionById),m=Eo(ie=>ie.getOptionsMatchingValue),x=h?v:l.getOptionById,k=h?m:l.getOptionsMatchingValue,w=b.useMemo(()=>{let ie=null;const Q=I=>{const ee=I;g==null||g(ee)};return I=>{if(!I){ie==null||ie.removeEventListener("activedescendantchange",Q);return}ie=I,ie.addEventListener("activedescendantchange",Q)}},[g]),[y,z]=b.useState(!1);Hw(z);const _=c5(),R=FE(),C=R?_.controller:d,{clearSelection:T,selectedOptions:E,selectOption:j}=gS(e),M=ie=>{const Q=hd(ie,{open:!0}),I=C.active(),ee=I?x(I):null;switch(Q){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":ie.preventDefault();break}switch(Q){case"Next":ee?C.next():C.first();break;case"Previous":ee?C.prev():C.first();break;case"PageUp":case"First":C.first();break;case"PageDown":case"Last":C.last();break;case"Select":case"CloseSelect":ee&&j(ie,ee);break}},O=Eo(ie=>ie.selectedOptions),W=Eo(ie=>ie.selectOption),Y=h?{selectedOptions:O,selectOption:W,...Bx}:{selectedOptions:E,selectOption:j,...Bx};b.useEffect(()=>{if(!R){if(C.hideFocusVisibleAttributes(),!a)if(!n&&Y.selectedOptions.length>0){const ie=k(Q=>Q===Y.selectedOptions[0]).pop();ie!=null&&ie.id&&C.focus(ie.id)}else C.first();return()=>{C.blur()}}},[]);const fe=b.useCallback(()=>{R||(C.showFocusVisibleAttributes(),y&&C.scrollActiveIntoView())},[C,R,y]),le=b.useCallback(()=>{R||C.hideFocusVisibleAttributes()},[C,R]),se={components:{root:"div"},root:Ne(Et("div",{ref:at(o,u,c,w),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!h,multiselect:n,clearSelection:T,activeDescendantController:C,onActiveDescendantChange:g,...l,...Y};return se.root.onKeyDown=pe(Ae(se.root.onKeyDown,M)),se.root.onFocus=pe(Ae(se.root.onFocus,fe)),se.root.onBlur=pe(Ae(se.root.onBlur,le)),se},M9=(e,o)=>ne(s5,{value:o.activeDescendant,children:ne(sc.Provider,{value:o.listbox,children:ne(e.root,{})})}),O9={root:"fui-Listbox"},F9=ve({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);}"]}),q9=e=>{"use no memo";const o=F9();return e.root.className=de(O9.root,o.root,e.root.className),e},hm=b.forwardRef((e,o)=>{const n=D9(e,o),a=R9(n);return q9(n),Xe("useListboxStyles_unstable")(n),M9(n,a)});hm.displayName="Listbox";function H9(e,o){if(e!==void 0)return e;let n="",a=!1;return b.Children.forEach(o,l=>{typeof l=="string"?n+=l:a=!0}),a&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}const P9=(e,o)=>{"use no memo";const n=L9(e,o);let a=b.createElement(fR,null);if(n.multiselect&&(a=n.selected?b.createElement(b5,null):""),n.checkIcon){var l,c;(c=(l=n.checkIcon).children)!==null&&c!==void 0||(l.children=a)}return n},L9=(e,o)=>{const{children:n,disabled:a,text:l,value:c}=e,u=b.useRef(null),d=H9(l,n),h=c??d,g=Qt("fluent-option",e.id),v=b.useMemo(()=>({id:g,disabled:a,text:d,value:h}),[g,a,d,h]),{controller:m}=c5(),x=Eo(C=>C.multiselect),k=Eo(C=>C.registerOption),w=Eo(C=>{const T=C.selectedOptions;return h!==void 0&&T.find(E=>E===h)!==void 0}),y=Eo(C=>C.selectOption),z=Eo(C=>C.onOptionClick),_=C=>{var T;if(a){C.preventDefault();return}m.focus(g),y(C,v),z(C),(T=e.onClick)===null||T===void 0||T.call(e,C)};b.useEffect(()=>{if(g&&u.current)return k(v,u.current)},[g,v,k]);const R=x?{role:"menuitemcheckbox","aria-checked":w}:{role:"option","aria-selected":w};return{components:{root:"div",checkIcon:"span"},root:Ne(Et("div",{ref:at(o,u),"aria-disabled":a?"true":void 0,id:g,...R,...e,onClick:_}),{elementType:"div"}),checkIcon:De(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:x,selected:w,focusVisible:!1,active:!1}},I9=e=>it(e.root,{children:[e.checkIcon&&ne(e.checkIcon,{}),e.root.children]}),pS=b.forwardRef((e,o)=>{const n=P9(e,o);return A9(n),Xe("useOptionStyles_unstable")(n),I9(n)});pS.displayName="Option";const U9=e=>{"use no memo";const{appearance:o="outline",disableAutoFocus:n,children:a,clearable:l=!1,editable:c=!1,inlinePopup:u=!1,mountNode:d=void 0,multiselect:h,onOpenChange:g,size:v="medium",activeDescendantController:m,freeform:x=!1,disabled:k=!1,onActiveOptionChange:w=null}=e,y=hS(),{getOptionsMatchingValue:z}=y,{getOptionById:_}=y,R=b.useCallback(()=>{const U=m.active();return U?_(U):void 0},[m,_]),C=R(),T=b.useCallback(U=>{let te;if(typeof U=="function"){const ce=R();te=U(ce)}te?m.focus(te.id):m.blur()},[m,R]),[E,j]=b.useState(!1),[M,O]=b.useState(!1),W=b.useRef(!1),Y=Vp(),[fe,le]=Ao({state:e.value,initialState:void 0}),{selectedOptions:se,selectOption:ie,clearSelection:Q}=gS(e),I=b.useCallback((U,te)=>{Pg.unstable_batchedUpdates(()=>{le(void 0),ie(U,te)})},[le,ie]),ee=b.useMemo(()=>{if(fe!==void 0)return fe;if(Y&&e.defaultValue!==void 0)return e.defaultValue;const U=z(te=>se.includes(te)).map(te=>te.text);return h?c?"":U.join(", "):U[0]},[fe,c,z,h,se]),[oe,he]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),Se=b.useCallback((U,te)=>{k||(g==null||g(U,{open:te}),Pg.unstable_batchedUpdates(()=>{!te&&!x&&le(void 0),he(te)}))},[g,he,le,x,k]);b.useEffect(()=>{if(oe){if(!h&&se.length>0){const U=z(te=>te===se[0]).pop();U!=null&&U.id&&m.focus(U.id)}}else m.blur()},[oe,m]),b.useEffect(()=>{oe&&!n&&!m.active()&&m.first()},[oe,a,n,m,_]);const F=pe(U=>{const te=U.detail.previousId?y.getOptionById(U.detail.previousId):null,ce=y.getOptionById(U.detail.id);w==null||w(U,{event:U,type:"change",previousOption:te,nextOption:ce})});return{...y,freeform:x,disabled:k,selectOption:I,clearSelection:Q,selectedOptions:se,activeOption:C,appearance:o,clearable:l,focusVisible:E,ignoreNextBlur:W,inlinePopup:u,mountNode:d,open:oe,hasFocus:M,setActiveOption:T,setFocusVisible:j,setHasFocus:O,setOpen:Se,setValue:le,size:v,value:ee,multiselect:h,onOptionClick:pe(U=>{h||Se(U,!1)}),onActiveDescendantChange:F}};function V9(e){const{positioning:o}=e,a={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Nl(o)},{targetRef:l,containerRef:c}=Pd(a);return[c,l]}function G9(e,o,n){const{state:{multiselect:a},triggerRef:l,defaultProps:c}=n,u=Qt("fluent-listbox",Lp(e)?e.id:void 0),d=De(e,{renderByDefault:!0,elementType:hm,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),h=Za({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&h["aria-labelledby"]&&(d["aria-labelledby"]=h["aria-labelledby"]);const g=pe(Ae(x=>{x.preventDefault()},d==null?void 0:d.onMouseDown)),v=pe(Ae(x=>{var k;x.preventDefault(),(k=l.current)===null||k===void 0||k.focus()},d==null?void 0:d.onClick)),m=at(d==null?void 0:d.ref,o);return d&&(d.ref=m,d.onMouseDown=g,d.onClick=v),d}function W9(e,o,n){const{state:{open:a,setOpen:l,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:h}=n,g=Ne(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),v=b.useRef(null);return g.ref=at(v,g.ref,o),g.onBlur=Ae(m=>{l(m,!1),c(!1)},g.onBlur),g.onFocus=Ae(m=>{m.target===m.currentTarget&&c(!0)},g.onFocus),g.onClick=Ae(m=>{l(m,!a)},g.onClick),g.onKeyDown=Ae(X9({activeDescendantController:h,...n.state}),g.onKeyDown),g}function X9(e){const{activeDescendantController:o,getOptionById:n,setOpen:a,selectOption:l,multiselect:c,open:u}=e,d=b.useCallback(()=>{const y=o.active();return y?n(y):void 0},[o,n]),h=()=>{o.first()},g=()=>{o.last()},v=y=>{y?o.next():o.first()},m=y=>{y?o.prev():o.first()},x=()=>{for(let y=0;y<10;y++)o.prev()},k=()=>{for(let y=0;y<10;y++)o.next()},w=uT();return pe(y=>{const z=hd(y,{open:u,multiselect:c}),_=d();switch(z){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":y.preventDefault();break}switch(w(!0),z){case"First":h();break;case"Last":g();break;case"Next":v(_);break;case"Previous":m(_);break;case"PageDown":k();break;case"PageUp":x();break;case"Open":a(y,!0);break;case"Close":y.stopPropagation(),a(y,!1);break;case"CloseSelect":!c&&!(_!=null&&_.disabled)&&a(y,!1);case"Select":_&&l(y,_);break;case"Tab":!c&&_&&l(y,_);break}})}function $9(e,o,n){"use no memo";const{state:{open:a,value:l,selectOption:c,setValue:u,multiselect:d,selectedOptions:h,clearSelection:g,getOptionById:v,setOpen:m},freeform:x,defaultProps:k,activeDescendantController:w}=n,y=O=>{if(!a&&!x){const W=w.active(),Y=W?v(W):null;l&&Y&&l.trim().toLowerCase()===(Y==null?void 0:Y.text.toLowerCase())&&c(O,Y),u(void 0)}},z=O=>{const W=O==null?void 0:O.trim().toLowerCase();if(!W||W.length===0){w.blur();return}const Y=le=>le.toLowerCase().indexOf(W)===0,fe=w.find(le=>{const se=v(le);return!!se&&Y(se.text)});if(!fe){w.blur();return}return v(fe)},_=O=>{const W=O.target.value;u(W);const Y=z(W);!d&&h.length===1&&(W.length<1||!Y)&&g(O)},R=W9(e,o,{state:n.state,defaultProps:k,elementType:"input",activeDescendantController:w});R.onChange=Ae(R.onChange,_),R.onBlur=Ae(R.onBlur,y);const[C,T]=b.useState(!1),E=b.useRef(!1),j=R.onKeyDown,M=pe(O=>{!a&&hd(O)==="Type"&&m(O,!0),O.key===Yp||O.key===Jp?T(!0):T(!1);const W=hd(O,{open:a,multiselect:d});if(W==="Type"?E.current=!0:(W==="Open"&&O.key!==" "||W==="Next"||W==="Previous"||W==="First"||W==="Last"||W==="PageUp"||W==="PageDown")&&(E.current=!1),(E.current||!a)&&O.key===" "){var Y;e==null||(Y=e.onKeyDown)===null||Y===void 0||Y.call(e,O);return}j==null||j(O)});return R.onKeyDown=M,C&&(R["aria-activedescendant"]=void 0),R}const K9=(e,o)=>{"use no memo";var n,a;e=Za(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:l,activeParentRef:c,controller:u}=f5({matchOption:me=>me.classList.contains(gd.root)}),d=U9({...e,editable:!0,activeDescendantController:u}),{appearance:h,size:g,...v}=d,{clearable:m,clearSelection:x,disabled:k,multiselect:w,open:y,selectedOptions:z,setOpen:_,value:R,hasFocus:C}=v,[T,E]=V9(e),{disableAutoFocus:j=!1,freeform:M,inlinePopup:O}=e,W=Qt("combobox-"),{primary:Y,root:fe}=yl({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),le=b.useRef(null),se=G9(e.listbox,at(T,l),{state:d,triggerRef:le,defaultProps:{children:e.children,disableAutoFocus:j}});var ie;const Q=$9((ie=e.input)!==null&&ie!==void 0?ie:{},at(le,c,o),{state:d,freeform:M,defaultProps:{type:"text",value:R??"","aria-controls":y?se==null?void 0:se.id:void 0,...Y},activeDescendantController:u}),I=Ne(e.root,{defaultProps:{"aria-owns":!O&&y?se==null?void 0:se.id:void 0,...fe},elementType:"div"});I.ref=at(I.ref,E);const ee=z.length>0&&!k&&m&&!w,oe={components:{root:"div",input:"input",expandIcon:"span",listbox:hm,clearIcon:"span"},root:I,input:Q,listbox:y||C?se:void 0,clearIcon:De(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:De(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":k?"true":void 0,"aria-expanded":y,role:"button"},elementType:"span"}),showClearIcon:ee,activeDescendantController:u,...v},{targetDocument:he}=Qe();Gp({element:he,callback:me=>_(me,!1),refs:[le,T,E],disabled:!y});const{onMouseDown:Se}=oe.expandIcon||{},F=pe(Ae(Se,me=>{var _e;me.preventDefault(),oe.setOpen(me,!oe.open),(_e=le.current)===null||_e===void 0||_e.focus()}));if(oe.expandIcon){oe.expandIcon.onMouseDown=F;const me=oe.expandIcon["aria-label"]||oe.expandIcon["aria-labelledby"],_e="Open";if(!me)if(e["aria-labelledby"]){var U;const Fe=(U=oe.expandIcon.id)!==null&&U!==void 0?U:`${W}-chevron`,Bt=`${Fe} ${oe.input["aria-labelledby"]}`;oe.expandIcon["aria-label"]=_e,oe.expandIcon.id=Fe,oe.expandIcon["aria-labelledby"]=Bt}else e["aria-label"]?oe.expandIcon["aria-label"]=`${_e} ${e["aria-label"]}`:oe.expandIcon["aria-label"]=_e}const te=pe(Ae((n=oe.clearIcon)===null||n===void 0?void 0:n.onMouseDown,me=>{me.preventDefault()})),ce=pe(Ae((a=oe.clearIcon)===null||a===void 0?void 0:a.onClick,me=>{x(me)}));return oe.clearIcon&&(oe.clearIcon.onMouseDown=te,oe.clearIcon.onClick=ce),w&&(oe.clearIcon=void 0),oe},Q9=(e,o)=>{"use no memo";const{appearance:n="outline",size:a="medium",...l}=e,c=K9(l,o);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=b.createElement(yR,null))}if(c.expandIcon){var h,g;(g=(h=c.expandIcon).children)!==null&&g!==void 0||(h.children=b.createElement(hR,null))}return{...c,appearance:n,size:a}},Z9=(e,o)=>ne(e.root,{children:ne(s5,{value:o.activeDescendant,children:ne(T9,{value:o.listbox,children:it(fS.Provider,{value:o.combobox,children:[ne(e.input,{}),e.clearIcon&&ne(e.clearIcon,{}),e.expandIcon&&ne(e.expandIcon,{}),e.listbox&&(e.inlinePopup?ne(e.listbox,{}):ne(Tl,{mountNode:e.mountNode,children:ne(e.listbox,{})}))]})})})}),Cs={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},Y9=ve({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);}"]}),J9=ve({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;}"]}),eA=ve({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;}"]}),tA=e=>{"use no memo";const{appearance:o,open:n,size:a,showClearIcon:l}=e,c=`${e.input["aria-invalid"]}`=="true",u=e.input.disabled,d=Y9(),h=eA(),g=J9();return e.root.className=de(Cs.root,d.root,d[o],d[a],!u&&o==="outline"&&d.outlineInteractive,c&&o!=="underline"&&d.invalid,c&&o==="underline"&&d.invalidUnderline,u&&d.disabled,e.root.className),e.input.className=de(Cs.input,g.input,g[a],u&&g.disabled,e.input.className),e.listbox&&(e.listbox.className=de(Cs.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=de(Cs.expandIcon,h.icon,h[a],u&&h.disabled,l&&h.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=de(Cs.clearIcon,h.icon,h[a],u&&h.disabled,!l&&h.hidden,e.clearIcon.className)),e},mS=b.forwardRef((e,o)=>{const n=Q9(e,o),a=E9(n);return tA(n),Xe("useComboboxStyles_unstable")(n),Z9(n,a)});mS.displayName="Combobox";const oA=(e,o)=>{e=Za(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=Ip();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=rA(u,o);return{size:l,appearance:c,...d}},rA=(e,o)=>{const{onChange:n}=e,[a,l]=Ao({state:e.value,defaultState:e.defaultValue,initialState:""}),c=yl({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),u={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Ne(e.input,{defaultProps:{type:"text",ref:o,...c.primary},elementType:"input"}),contentAfter:De(e.contentAfter,{elementType:"span"}),contentBefore:De(e.contentBefore,{elementType:"span"}),root:Ne(e.root,{defaultProps:c.root,elementType:"span"})};return u.input.value=a,u.input.onChange=pe(d=>{const h=d.target.value;n==null||n(d,{value:h}),l(h)}),u},nA=e=>it(e.root,{children:[e.contentBefore&&ne(e.contentBefore,{}),ne(e.input,{}),e.contentAfter&&ne(e.contentAfter,{})]}),Fu={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},aA=Ee("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;}}"]}),iA=ve({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;}"]}),lA=Ee("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;}"]),sA=ve({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);}"]}),cA=Ee("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),uA=ve({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;}"]}),dA=e=>{"use no memo";const{size:o,appearance:n}=e,a=e.input.disabled,l=`${e.input["aria-invalid"]}`=="true",c=n.startsWith("filled"),u=iA(),d=sA(),h=uA();e.root.className=de(Fu.root,aA(),u[o],e.contentBefore&&u[`${o}WithContentBefore`],e.contentAfter&&u[`${o}WithContentAfter`],u[n],!a&&n==="outline"&&u.outlineInteractive,!a&&n==="underline"&&u.underlineInteractive,!a&&c&&u.filledInteractive,c&&u.filled,!a&&l&&u.invalid,a&&u.disabled,e.root.className),e.input.className=de(Fu.input,lA(),d[o],e.contentBefore&&d[`${o}WithContentBefore`],e.contentAfter&&d[`${o}WithContentAfter`],a&&d.disabled,e.input.className);const g=[cA(),a&&h.disabled,h[o]];return e.contentBefore&&(e.contentBefore.className=de(Fu.contentBefore,...g,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=de(Fu.contentAfter,...g,e.contentAfter.className)),e},vp=b.forwardRef((e,o)=>{const n=oA(e,o);return dA(n),Xe("useInputStyles_unstable")(n),nA(n)});vp.displayName="Input";const fA=b.createContext(void 0),hA=fA.Provider,gm=Qa(void 0),gA={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},pA=gm.Provider,lt=e=>kl(gm,(o=gA)=>e(o)),vS=b.createContext(void 0),mA=!1,vA=vS.Provider,bA=()=>{var e;return(e=b.useContext(vS))!==null&&e!==void 0?e:mA},pm=Qa(void 0),yA={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},xA=pm.Provider,Us=e=>kl(pm,(o=yA)=>e(o)),Vs="fuimenuenter",wA=e=>{const{refs:o,callback:n,element:a,disabled:l}=e,c=pe(u=>{const d=o[0],h=u.target;var g;!Os((g=d.current)!==null&&g!==void 0?g:null,h)&&!l&&n(u)});b.useEffect(()=>{if(a!=null)return l||a.addEventListener(Vs,c),()=>{a.removeEventListener(Vs,c)}},[c,a,l])},SA=(e,o)=>{e.dispatchEvent(new CustomEvent(Vs,{bubbles:!0,detail:{nativeEvent:o}}))};function mm(){const e=lt(n=>n.isSubmenu),o=ac(pm);return e||o}const bS=e=>{"use no memo";const{targetDocument:o}=Qe();return lt(a=>a.triggerRef),lt(a=>a.inline),b.useRef(null)},bp="fuimenusafezonetimeout",kA=e=>{const o=b.useRef(null);return b.useCallback(n=>{var a;(a=o.current)===null||a===void 0||a.removeEventListener(bp,e),n==null||n.addEventListener(bp,e),o.current=n},[e])},BA=ve({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),_A=e=>{"use no memo";const o=BA();e.checkmark&&(e.checkmark.className=de(o.root,e.checked&&o.rootChecked,e.checkmark.className))},$n={root:"fui-MenuItem",icon:"fui-MenuItem__icon",checkmark:"fui-MenuItem__checkmark",submenuIndicator:"fui-MenuItem__submenuIndicator",content:"fui-MenuItem__content",secondaryContent:"fui-MenuItem__secondaryContent",subText:"fui-MenuItem__subText"},zA=Ee("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[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);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[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){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[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){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),CA=Ee("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),NA=Ee("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),TA=Ee("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),EA=Ee("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),RA=Ee("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),jA=ve({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Bbkh6qg:"f1wzezsb",B3ejlan:"f1egomlm",B41git9:"f1wf2001",Boq1n10:"fied5gk",Dcq74g:"f1efp33f",rxnm8d:"f1m2zpi7",wxluhh:"fei14nx",idgcvv:"f12hmwa5",j9xr24:"f1hzwxd0"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wzezsb:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1egomlm:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wf2001:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fied5gk:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2zpi7:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fei14nx:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12hmwa5:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1hzwxd0:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),AA=ve({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),DA=ve({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),MA=e=>{"use no memo";const o=jA(),n=zA(),a=CA(),l=NA(),c=TA(),u=EA(),d=DA(),h=RA(),g=AA(),v=!!e.subText;return e.root.className=de($n.root,n,e.disabled&&o.disabled,e.root.className),e.content&&(e.content.className=de($n.content,a,e.content.className,v&&d.content)),e.checkmark&&(e.checkmark.className=de($n.checkmark,o.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=de($n.secondaryContent,l,e.disabled&&o.disabled,e.secondaryContent.className,v&&d.secondaryContent)),e.icon&&(e.icon.className=de($n.icon,c,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=de($n.submenuIndicator,u,e.submenuIndicator.className,v&&d.submenuIndicator)),e.subText&&(e.subText.className=de($n.subText,e.disabled&&g.disabled,e.subText.className,h)),_A(e),e},_x=Le.durationSlower,zx=Le.curveDecelerateMid,Cx=_l(({distance:e=10})=>({enter:[la({duration:_x,easing:zx,direction:"enter"}),{...j5({duration:_x,easing:zx,direction:"enter",outX:`calc(var(${sd}, 0px) * ${e})`,outY:`calc(var(${cd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),OA=["after","after-bottom","before-top","before","before-bottom","above"],FA=e=>{const o=mm(),{hoverDelay:n=500,inline:a=!1,hasCheckmarks:l=!1,hasIcons:c=!1,closeOnScroll:u=!1,openOnContext:d=!1,persistOnItemClick:h=!1,openOnHover:g=o,defaultCheckedValues:v,mountNode:m=null,safeZone:x}=e,{targetDocument:k}=Qe(),w=Qt("menu"),[y,z]=Y5(),_=Nl(e.positioning),R=D5({targetDocument:k,onPositioningEnd:_.onPositioningEnd}),C={position:o?"after":"below",align:o?"top":"start",target:e.openOnContext?y:void 0,fallbackPositions:o?OA:void 0,..._,onPositioningEnd:R},T=b.Children.toArray(e.children);let E,j;T.length===2?(E=T[0],j=T[1]):T.length===1&&(j=T[0]);const{targetRef:M,containerRef:O}=Pd(C),W=x&&g,Y=b.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),fe=Y7({disabled:!W,timeout:typeof x=="object"?x.timeout:300,onSafeZoneEnter:oe=>{Q(oe,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:oe}),Y.current.isInside=!0},onSafeZoneLeave:()=>{Y.current.isInside=!1},onSafeZoneMove:oe=>{Y.current.mouseCoordinates={x:oe.clientX,y:oe.clientY}},onSafeZoneTimeout:()=>{const oe=new CustomEvent(bp);if(Q(oe,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:oe}),Y.current.isInside&&k){const Se=k.elementsFromPoint(Y.current.mouseCoordinates.x,Y.current.mouseCoordinates.y).find(F=>F.classList.contains($n.root));Se==null||Se.dispatchEvent(oe)}}}),le=at(M,fe.targetRef),se=at(O,fe.containerRef),[ie,Q]=HA({hoverDelay:n,isSubmenu:o,setContextTarget:z,closeOnScroll:u,menuPopoverRef:se,triggerRef:le,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[I,ee]=qA({checkedValues:e.checkedValues,defaultCheckedValues:v,onCheckedValueChange:e.onCheckedValueChange});return{inline:a,hoverDelay:n,triggerId:w,isSubmenu:o,openOnHover:g,contextTarget:y,setContextTarget:z,hasCheckmarks:l,hasIcons:c,closeOnScroll:u,menuTrigger:E,menuPopover:j,mountNode:m,triggerRef:le,menuPopoverRef:se,components:{surfaceMotion:Cx},openOnContext:d,open:ie,setOpen:Q,checkedValues:I,onCheckedValueChange:ee,persistOnItemClick:h,safeZone:fe.elementToRender,surfaceMotion:ic(e.surfaceMotion,{elementType:Cx,defaultProps:{visible:ie,appear:!0,unmountOnExit:!0}})}},qA=e=>{const[o,n]=Ao({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),a=pe((l,{name:c,checkedItems:u})=>{var d;(d=e.onCheckedValueChange)===null||d===void 0||d.call(e,l,{name:c,checkedItems:u}),n(h=>({...h,[c]:u}))});return[o,a]},HA=e=>{"use no memo";const{targetDocument:o}=Qe(),n=lt(y=>y.setOpen),a=pe((y,z)=>{var _;return(_=e.onOpenChange)===null||_===void 0?void 0:_.call(e,y,z)}),l=b.useRef(!1),[c,u]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=pe((y,z)=>{const _=y instanceof CustomEvent&&y.type===Vs?y.detail.nativeEvent:y;a==null||a(_,{...z}),z.open&&y.type==="contextmenu"&&e.setContextTarget(y),z.open||e.setContextTarget(void 0),z.bubble&&n(y,{...z}),u(z.open)}),[h,g]=xl(),v=pe((y,z)=>{if(g(),!(y instanceof Event)&&y.persist&&y.persist(),!z.ignoreHoverDelay&&(y.type==="mouseleave"||y.type==="mouseover"||y.type==="mousemove"||y.type===Vs)){var R;!((R=e.triggerRef.current)===null||R===void 0)&&R.contains(y.target)&&(l.current=y.type==="mouseover"||y.type==="mousemove"),h(()=>d(y,z),e.hoverDelay)}else d(y,z)});Gp({contains:Os,disabled:!c,element:o,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:y=>v(y,{open:!1,type:"clickOutside",event:y})});const m=e.openOnContext||e.closeOnScroll;vw({contains:Os,element:o,callback:y=>v(y,{open:!1,type:"scrollOutside",event:y}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!c||!m}),wA({element:o,callback:y=>{l.current||v(y,{open:!1,type:"menuMouseEnter",event:y})},disabled:!c,refs:[e.menuPopoverRef]});const{findFirstFocusable:x}=rc(),k=b.useCallback(()=>{const y=x(e.menuPopoverRef.current);y==null||y.focus()},[x,e.menuPopoverRef]),w=Vp();return b.useEffect(()=>{if(c)k();else if(!w){var y,z;if((o==null?void 0:o.activeElement)===(o==null?void 0:o.body)||!((y=e.menuPopoverRef.current)===null||y===void 0)&&y.contains((z=o==null?void 0:o.activeElement)!==null&&z!==void 0?z:null)){var _;(_=e.triggerRef.current)===null||_===void 0||_.focus()}}},[e.triggerRef,e.isSubmenu,c,k,o,e.menuPopoverRef]),[c,v]};function PA(e){const{checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:g,openOnContext:v,openOnHover:m,persistOnItemClick:x,safeZone:k,setOpen:w,triggerId:y,triggerRef:z}=e;return{menu:b.useMemo(()=>({checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:g,openOnContext:v,openOnHover:m,persistOnItemClick:x,safeZone:k,setOpen:w,triggerId:y,triggerRef:z}),[o,n,a,l,c,u,d,h,g,v,m,x,k,w,y,z])}}const LA=(e,o)=>it(pA,{value:o.menu,children:[e.menuTrigger,e.menuPopover&&ne(e.surfaceMotion,{children:ne(Dd,{children:e.menuPopover})})]}),yS=e=>{const o=FA(e),n=PA(o);return LA(o,n)};yS.displayName="Menu";const IA=(e,o)=>{"use no memo";const n=Us(l=>l.setFocusByFirstCharacter),{onKeyDown:a}=e.root;return e.root.onKeyDown=l=>{var c;a==null||a(l),!(((c=l.key)===null||c===void 0?void 0:c.length)>1)&&o.current&&(n==null||n(l,o.current))},e},xS=b.createContext(void 0),wS={setMultiline:()=>null};xS.Provider;const SS=()=>{var e;return(e=b.useContext(xS))!==null&&e!==void 0?e:wS},kS=()=>SS()!==wS,UA=y5(mR,m5),VA=y5(gR,pR),GA=(e,o)=>{const{dir:n}=Qe(),a=WA(e,o);if(a.submenuIndicator){var l,c;(c=(l=a.submenuIndicator).children)!==null&&c!==void 0||(l.children=n==="rtl"?b.createElement(VA,null):b.createElement(UA,null))}return a},WA=(e,o)=>{const n=bA(),a=lt(_=>_.persistOnItemClick),{as:l="div",disabled:c=!1,hasSubmenu:u=n,persistOnClick:d=a,content:h,...g}=e,{hasIcons:v,hasCheckmarks:m}=$A({hasSubmenu:u}),x=lt(_=>_.setOpen);XA({multiline:!!e.subText,hasSubmenu:u});const k=b.useRef(null),w=b.useRef(!1),y=bS(KA(e.role)),z={hasSubmenu:u,disabled:c,persistOnClick:d,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:Ne(Et(l,Xa(l,{role:"menuitem",...g,disabled:!1,disabledFocusable:c,ref:at(o,k,y),onKeyDown:pe(_=>{var R;(R=e.onKeyDown)===null||R===void 0||R.call(e,_),!_.isDefaultPrevented()&&(_.key===sn||_.key===Wi)&&(w.current=!0)}),onMouseMove:pe(_=>{var R;if(_.currentTarget.ownerDocument.activeElement!==_.currentTarget){var C;(C=k.current)===null||C===void 0||C.focus()}(R=e.onMouseMove)===null||R===void 0||R.call(e,_)}),onClick:pe(_=>{var R;!u&&!d&&(x(_,{open:!1,keyboard:w.current,bubble:!0,type:"menuItemClick",event:_}),w.current=!1),(R=e.onClick)===null||R===void 0||R.call(e,_)})})),{elementType:"div"}),icon:De(e.icon,{renderByDefault:v,elementType:"span"}),checkmark:De(e.checkmark,{renderByDefault:m,elementType:"span"}),submenuIndicator:De(e.submenuIndicator,{renderByDefault:u,elementType:"span"}),content:De(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:De(e.secondaryContent,{elementType:"span"}),subText:De(e.subText,{elementType:"span"})};return IA(z,k),z},XA=e=>{const{hasSubmenu:o,multiline:n}=e,a=kS()&&o,{setMultiline:l}=SS();Dt(()=>{a||l(n)},[l,n,a])},$A=e=>{const{hasSubmenu:o}=e,n=Us(c=>c.hasIcons),a=Us(c=>c.hasCheckmarks),l=kS()&&o;return{hasIcons:n&&!l,hasCheckmarks:a&&!l}},KA=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},QA=e=>it(e.root,{children:[e.checkmark&&ne(e.checkmark,{}),e.icon&&ne(e.icon,{}),e.content&&it(e.content,{children:[e.content.children,e.subText&&ne(e.subText,{})]}),e.secondaryContent&&ne(e.secondaryContent,{}),e.submenuIndicator&&ne(e.submenuIndicator,{})]}),yp=b.forwardRef((e,o)=>{const n=GA(e,o);return MA(n),Xe("useMenuItemStyles_unstable")(n),QA(n)});yp.displayName="MenuItem";const ZA=(e,o)=>{const{findAllFocusable:n}=rc(),{targetDocument:a}=Qe(),l=YA(),c=ac(gm),u=Mw({circular:!0});JA(e,l,c)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const d=b.useRef(null),h=bS();b.useEffect(()=>{const _=d.current;if(c&&a&&_){const R=C=>{const T=C.detail.next;T&&_.contains(a.activeElement)&&!_.contains(T)&&C.preventDefault()};return a.addEventListener(lp,R),()=>{a.removeEventListener(lp,R)}}},[d,a,c]);const g=b.useCallback((_,R)=>{const C=["menuitem","menuitemcheckbox","menuitemradio"];if(!d.current)return;const T=n(d.current,Y=>Y.hasAttribute("role")&&C.indexOf(Y.getAttribute("role"))!==-1);let E=T.indexOf(R)+1;E===T.length&&(E=0);const j=T.map(Y=>{var fe;return(fe=Y.textContent)===null||fe===void 0?void 0:fe.charAt(0).toLowerCase()}),M=_.key.toLowerCase(),O=(Y,fe)=>{for(let le=Y;le<j.length;le++)if(M===j[le])return le;return-1};let W=O(E);W===-1&&(W=O(0)),W>-1&&T[W].focus()},[n]);var v;const[m,x]=Ao({state:(v=e.checkedValues)!==null&&v!==void 0?v:c?l.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var k;const w=(k=e.onCheckedValueChange)!==null&&k!==void 0?k:c?l.onCheckedValueChange:void 0,y=pe((_,R,C,T)=>{const j=[...(m==null?void 0:m[R])||[]];T?j.splice(j.indexOf(C),1):j.push(C),w==null||w(_,{name:R,checkedItems:j}),x(M=>({...M,[R]:j}))}),z=pe((_,R,C)=>{const T=[C];x(E=>({...E,[R]:T})),w==null||w(_,{name:R,checkedItems:T})});return{components:{root:"div"},root:Ne(Et("div",{ref:at(o,d,h),role:"menu","aria-labelledby":l.triggerId,...u,...e}),{elementType:"div"}),hasIcons:l.hasIcons||!1,hasCheckmarks:l.hasCheckmarks||!1,checkedValues:m,hasMenuContext:c,setFocusByFirstCharacter:g,selectRadio:z,toggleCheckbox:y}},YA=()=>{const e=lt(c=>c.checkedValues),o=lt(c=>c.onCheckedValueChange),n=lt(c=>c.triggerId),a=lt(c=>c.hasIcons),l=lt(c=>c.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:o,triggerId:n,hasIcons:a,hasCheckmarks:l}},JA=(e,o,n)=>{let a=!1;for(const l in o)e[l]&&(a=!0);return n&&a},eD=(e,o)=>ne(xA,{value:o.menuList,children:ne(e.root,{})});function tD(e){const{checkedValues:o,hasCheckmarks:n,hasIcons:a,selectRadio:l,setFocusByFirstCharacter:c,toggleCheckbox:u}=e;return{menuList:b.useMemo(()=>({checkedValues:o,hasCheckmarks:n,hasIcons:a,selectRadio:l,setFocusByFirstCharacter:c,toggleCheckbox:u}),[o,n,a,l,c,u])}}const oD={root:"fui-MenuList"},rD=ve({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),nD=e=>{"use no memo";const o=rD();return e.root.className=de(oD.root,o.root,e.hasMenuContext&&o.hasMenuContext,e.root.className),e},BS=b.forwardRef((e,o)=>{const n=ZA(e,o),a=tD(n);return nD(n),Xe("useMenuListStyles_unstable")(n),eD(n,a)});BS.displayName="MenuList";const aD=(e,o)=>{"use no memo";const n=lt(M=>M.safeZone),a=lt(M=>M.menuPopoverRef),l=lt(M=>M.setOpen),c=lt(M=>M.open),u=lt(M=>M.openOnHover),d=lt(M=>M.triggerRef),h=mm(),g=Us(M=>{var O;return(O=M.shouldCloseOnArrowLeft)!==null&&O!==void 0?O:!0}),v=b.useRef(!0),m=sT(),[x,k]=xl(),{dir:w}=Qe(),y=w==="ltr"?Yp:Jp,z=b.useCallback(M=>{M&&M.addEventListener("mouseover",O=>{v.current&&(v.current=!1,SA(a.current,O),x(()=>{v.current=!0},250))})},[a,x]);b.useEffect(()=>()=>k(),[k]);var _;const R=(_=lt(M=>M.inline))!==null&&_!==void 0?_:!1,C=lt(M=>M.mountNode),T=Ne(Et("div",{role:"presentation",...m,...e,ref:at(o,a,z,Ad())}),{elementType:"div"}),{onMouseEnter:E,onKeyDown:j}=T;return T.onMouseEnter=pe(M=>{(u||h)&&l(M,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:M}),E==null||E(M)}),T.onKeyDown=pe(M=>{const O=M.key;if(O===Bl||h&&g&&O===y){var W;c&&(!((W=a.current)===null||W===void 0)&&W.contains(M.target))&&!M.isDefaultPrevented()&&(l(M,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:M}),M.preventDefault())}if(O===l5&&(l(M,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:M}),!h)){var Y;(Y=d.current)===null||Y===void 0||Y.focus()}j==null||j(M)}),{inline:R,mountNode:C,safeZone:n,components:{root:"div"},root:T}},iD={root:"fui-MenuPopover"},lD=ve({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",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:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),sD=e=>{"use no memo";const o=lD();return e.root.className=de(iD.root,o.root,e.root.className),e},cD=e=>e.inline?it(b.Fragment,{children:[ne(e.root,{}),e.safeZone]}):it(Tl,{mountNode:e.mountNode,children:[ne(e.root,{}),e.safeZone]}),_S=b.forwardRef((e,o)=>{const n=aD(e,o);return sD(n),Xe("useMenuPopoverStyles_unstable")(n),cD(n)});_S.displayName="MenuPopover";function uD(){}const dD=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=lt(Q=>Q.triggerRef),l=lt(Q=>Q.menuPopoverRef),c=lt(Q=>Q.setOpen),u=lt(Q=>Q.open),d=lt(Q=>Q.triggerId),h=lt(Q=>Q.openOnHover),g=lt(Q=>Q.openOnContext),v=mm(),m=Us(Q=>{var I;return(I=Q.shouldOpenOnArrowRight)!==null&&I!==void 0?I:!0}),{findFirstFocusable:x}=rc(),k=b.useCallback(()=>{const Q=x(l.current);Q==null||Q.focus()},[x,l]),w=b.useRef(!1),y=b.useRef(!1),z=b.useRef(!1),{dir:_}=Qe(),R=_==="ltr"?Jp:Yp,C=oc(o),T=kA(pe(()=>{v&&(y.current=!0)})),E=Q=>{Hi(Q)||Q.isDefaultPrevented()||g&&(Q.preventDefault(),c(Q,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:Q}))},j=Q=>{Hi(Q)||g||(c(Q,{open:!u,keyboard:w.current,type:"menuTriggerClick",event:Q}),w.current=!1)},M=Q=>{if(Hi(Q)||Q.isDefaultPrevented())return;const I=Q.key;!g&&(v&&m&&I===R||!v&&I===dp)&&c(Q,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),I===Bl&&!v&&c(Q,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),u&&I===R&&v&&m&&k()},O=Q=>{Hi(Q)||h&&(z.current?c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:Q}):y.current&&(c(Q,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:Q}),y.current=!1))},W=Q=>{Hi(Q)||h&&!z.current&&(c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:Q}),z.current=!0)},Y=Q=>{Hi(Q)||h&&c(Q,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:Q})};var fe;const le={id:d,...C==null?void 0:C.props,ref:at(a,tc(C),T),onMouseEnter:pe((fe=C==null?void 0:C.props.onMouseEnter)!==null&&fe!==void 0?fe:uD),onMouseLeave:pe(Ae(C==null?void 0:C.props.onMouseLeave,Y)),onContextMenu:pe(Ae(C==null?void 0:C.props.onContextMenu,E)),onMouseMove:pe(Ae(C==null?void 0:C.props.onMouseMove,W)),onMouseOver:pe(Ae(C==null?void 0:C.props.onMouseOver,O))},se={"aria-haspopup":"menu","aria-expanded":!u&&!v?void 0:u,...le,onClick:pe(Ae(C==null?void 0:C.props.onClick,j)),onKeyDown:pe(Ae(C==null?void 0:C.props.onKeyDown,M))},ie=Xa((C==null?void 0:C.type)==="button"||(C==null?void 0:C.type)==="a"?C.type:"div",se);return{isSubmenu:v,children:Cd(o,g?le:n?se:ie)}},Hi=e=>{const o=n=>n.hasAttribute("disabled")||n.hasAttribute("aria-disabled")&&n.getAttribute("aria-disabled")==="true";return pr(e.target)&&o(e.target)?!0:pr(e.currentTarget)&&o(e.currentTarget)},fD=e=>b.createElement(vA,{value:e.isSubmenu},e.children),vm=e=>{const o=dD(e);return fD(o)};vm.displayName="MenuTrigger";vm.isFluentTriggerComponent=!0;const bm=b.createContext(void 0),hD={};bm.Provider;const gD=()=>b.useContext(bm)||hD,pD=(e,o)=>ne(bm.Provider,{value:o.radioGroup,children:ne(e.root,{})}),mD=(e,o)=>{const{layout:n="vertical",...a}=e,l=vD(a,o);return{layout:n,...l}},vD=(e,o)=>{e=Za(e);const n=Qt("radiogroup-"),{name:a=n,value:l,defaultValue:c,disabled:u,onChange:d,required:h}=e;return{name:a,value:l,defaultValue:c,disabled:u,required:h,components:{root:"div"},root:{ref:o,role:"radiogroup",...Ne(Et("div",e,["onChange","name"]),{elementType:"div"}),onChange:pe(g=>{d&&pr(g.target,{constructorName:"HTMLInputElement"})&&g.target.type==="radio"&&d(g,{value:g.target.value})})}}},bD={root:"fui-RadioGroup"},yD=ve({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),xD=e=>{"use no memo";const o=yD();return e.root.className=de(bD.root,o.root,e.layout==="vertical"&&o.vertical,e.root.className),e},wD=e=>{const{name:o,value:n,defaultValue:a,disabled:l,layout:c,required:u}=e,d=e.root["aria-describedby"];return{radioGroup:b.useMemo(()=>({name:o,value:n,defaultValue:a,disabled:l,layout:c,required:u,"aria-describedby":d}),[o,n,a,l,c,u,d])}},zS=b.forwardRef((e,o)=>{const n=mD(e,o),a=wD(n);return xD(n),Xe("useRadioGroupStyles_unstable")(n),pD(n,a)});zS.displayName="RadioGroup";const SD=e=>it(e.root,{children:[ne(e.input,{}),ne(e.indicator,{}),e.label&&ne(e.label,{})]}),kD=(e,o)=>{const n=BD(e,o);return{...n,components:{...n.components,label:br},label:De(e.label,{defaultProps:{...n.label},elementType:br})}},BD=(e,o)=>{const n=gD(),{name:a=n.name,checked:l=n.value!==void 0?n.value===e.value:void 0,defaultChecked:c=n.defaultValue!==void 0?n.defaultValue===e.value:void 0,labelPosition:u=n.layout==="horizontal-stacked"?"below":"after",disabled:d=n.disabled,required:h=n.required,"aria-describedby":g=n["aria-describedby"],onChange:v}=e,m=yl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),x=Ne(e.root,{defaultProps:{ref:Kp(),...m.root},elementType:"span"}),k=Ne(e.input,{defaultProps:{ref:o,type:"radio",id:Qt("radio-",m.primary.id),name:a,checked:l,defaultChecked:c,disabled:d,required:h,"aria-describedby":g,...m.primary},elementType:"input"});k.onChange=Ae(k.onChange,z=>v==null?void 0:v(z,{value:z.currentTarget.value}));const w=De(e.label,{defaultProps:{htmlFor:k.id,disabled:k.disabled},elementType:"label"}),y=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:"label",indicator:"div"},root:x,input:k,label:w,indicator:y}},qu={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},_D=Ee("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;}}"]}),zD=ve({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),CD=Ee("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;}}"]}),ND=ve({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;}"]}),TD=Ee("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;}"]),ED=ve({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;}"]}),RD=e=>{"use no memo";const{labelPosition:o}=e,n=_D(),a=zD();e.root.className=de(qu.root,n,o==="below"&&a.vertical,e.root.className);const l=CD(),c=ND();e.input.className=de(qu.input,l,o==="below"&&c.below,e.indicator.children?c.customIndicator:c.defaultIndicator,e.input.className);const u=TD();e.indicator.className=de(qu.indicator,u,e.indicator.className);const d=ED();return e.label&&(e.label.className=de(qu.label,d.base,d[o],e.label.className)),e},xp=b.forwardRef((e,o)=>{const n=kD(e,o);return RD(n),Xe("useRadioStyles_unstable")(n),SD(n)});xp.displayName="Radio";const CS=b.createContext(void 0),jD={};CS.Provider;const AD=()=>{var e;return(e=b.useContext(CS))!==null&&e!==void 0?e:jD},DD=(e,o)=>{const{size:n}=AD(),{appearance:a="primary",size:l=n??"medium",...c}=e,u=MD(c,o);return{...u,appearance:a,size:l,components:{...u.components,label:br},label:De(e.label,{defaultProps:u.label,elementType:br})}},MD=(e,o)=>{const{delay:n=0,labelPosition:a="after"}=e,l=Qt("spinner"),{role:c="progressbar",...u}=e,d=Ne(Et("div",{ref:o,role:c,...u}),{elementType:"div"}),[h,g]=b.useState(!1),[v,m]=xl();b.useEffect(()=>{if(!(n<=0))return v(()=>{g(!0)},n),()=>{m()}},[v,m,n]);const x=De(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:"label"}),k=De(e.spinner,{renderByDefault:!0,elementType:"span"});return x&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=x.id),{delay:n,labelPosition:a,shouldRenderSpinner:!n||h,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:k,spinnerTail:Ne(e.spinnerTail,{elementType:"span"}),label:x}},OD=e=>{const{labelPosition:o,shouldRenderSpinner:n}=e;return it(e.root,{children:[e.label&&n&&(o==="above"||o==="before")&&ne(e.label,{}),e.spinner&&n&&ne(e.spinner,{children:e.spinnerTail&&ne(e.spinnerTail,{})}),e.label&&n&&(o==="below"||o==="after")&&ne(e.label,{})]})},Hu={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},FD=Ee("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),qD=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),HD=Ee("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;}}"]}),PD=Ee("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;}}"]}),LD=ve({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)"}]]}),ID=ve({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);}"]}),UD=e=>{"use no memo";const{labelPosition:o,size:n,appearance:a}=e,{dir:l}=Qe(),c=FD(),u=qD(),d=HD(),h=LD(),g=PD(),v=ID();return e.root.className=de(Hu.root,c,(o==="above"||o==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=de(Hu.spinner,d,h[n],a==="inverted"&&h.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=de(Hu.spinnerTail,g,l==="rtl"&&h.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=de(Hu.label,v[n],a==="inverted"&&v.inverted,e.label.className)),e},dn=b.forwardRef((e,o)=>{const n=DD(e,o);return UD(n),Xe("useSpinnerStyles_unstable")(n),OD(n)});dn.displayName="Spinner";const VD=(e,o)=>{var n;const{size:a="medium",...l}=e,c=GD(l,o);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=b.createElement(tm,null)),{...c,components:{...c.components,label:br},size:a,label:De(e.label,{defaultProps:{size:"medium",...c.label},elementType:br})}},GD=(e,o)=>{e=Za(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:l,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:h}=e,g=yl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),v=Qt("switch-",g.primary.id),m=Ne(e.root,{defaultProps:{ref:Kp(),...g.root},elementType:"div"}),x=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),k=Ne(e.input,{defaultProps:{checked:n,defaultChecked:a,id:v,ref:o,role:"switch",type:"checkbox",...g.primary,disabled:l&&!c,...c&&{"aria-disabled":!0}},elementType:"input"});k.onChange=Ae(k.onChange,y=>d==null?void 0:d(y,{checked:y.currentTarget.checked})),k.onClick=Ae(k.onClick,y=>{c&&y.preventDefault()}),k.onKeyDown=Ae(k.onKeyDown,y=>{c&&(y.key===" "||y.key==="Enter")&&y.preventDefault()});const w=De(e.label,{defaultProps:{disabled:l||c,htmlFor:v,required:h},elementType:"label"});return{disabledFocusable:c,labelPosition:u,components:{root:"div",indicator:"div",input:"input",label:"label"},root:m,indicator:x,input:k,label:w}},WD=e=>{const{labelPosition:o}=e;return it(e.root,{children:[ne(e.input,{}),o!=="after"&&e.label&&ne(e.label,{}),ne(e.indicator,{}),o==="after"&&e.label&&ne(e.label,{})]})},Pu={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},XD=Ee("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[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);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[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){.r2i81i2[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){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),$D=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),KD=Ee("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),QD=ve({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),ZD=Ee("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),YD=ve({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),JD=ve({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),eM=e=>{"use no memo";const o=XD(),n=$D(),a=KD(),l=QD(),c=ZD(),u=YD(),d=JD(),{label:h,labelPosition:g,size:v}=e;return e.root.className=de(Pu.root,o,g==="above"&&n.vertical,e.root.className),e.indicator.className=de(Pu.indicator,a,h&&g==="above"&&l.labelAbove,v==="small"&&l.sizeSmall,e.indicator.className),e.input.className=de(Pu.input,c,h&&u[g],v==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=de(Pu.label,d.base,d[g],v==="small"&&d.sizeSmall,e.label.className)),e},NS=b.forwardRef((e,o)=>{const n=VD(e,o);return eM(n),Xe("useSwitchStyles_unstable")(n),WD(n)});NS.displayName="Switch";const TS=(e,o)=>{const{wrap:n,truncate:a,block:l,italic:c,underline:u,strikethrough:d,size:h,font:g,weight:v,align:m}=e;return{align:m??"start",block:l??!1,font:g??"base",italic:c??!1,size:h??300,strikethrough:d??!1,truncate:a??!1,underline:u??!1,weight:v??"regular",wrap:n??!0,components:{root:"span"},root:Ne(Et("span",{ref:o,...e}),{elementType:"span"})}},ES=e=>ne(e.root,{}),tM={root:"fui-Text"},oM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),RS=e=>{"use no memo";const o=oM();return e.root.className=de(tM.root,o.root,e.wrap===!1&&o.nowrap,e.truncate&&o.truncate,e.block&&o.block,e.italic&&o.italic,e.underline&&o.underline,e.strikethrough&&o.strikethrough,e.underline&&e.strikethrough&&o.strikethroughUnderline,e.size===100&&o.base100,e.size===200&&o.base200,e.size===400&&o.base400,e.size===500&&o.base500,e.size===600&&o.base600,e.size===700&&o.hero700,e.size===800&&o.hero800,e.size===900&&o.hero900,e.size===1e3&&o.hero1000,e.font==="monospace"&&o.monospace,e.font==="numeric"&&o.numeric,e.weight==="medium"&&o.weightMedium,e.weight==="semibold"&&o.weightSemibold,e.weight==="bold"&&o.weightBold,e.align==="center"&&o.alignCenter,e.align==="end"&&o.alignEnd,e.align==="justify"&&o.alignJustify,e.root.className),e},jS=b.forwardRef((e,o)=>{const n=TS(e,o);return RS(n),Xe("useTextStyles_unstable")(n),ES(n)});jS.displayName="Text";function Ya(e){const{useStyles:o,className:n,displayName:a}=e,l=b.forwardRef((c,u)=>{"use no memo";const d=o(),h=TS(c,u);return RS(h),h.root.className=de(n,h.root.className,d.root,c.className),ES(h)});return l.displayName=a,l}const rM={root:"fui-Body1"},nM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),fr=Ya({useStyles:nM,className:rM.root,displayName:"Body1"}),aM={root:"fui-Body1Strong"},iM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),Ua=Ya({useStyles:iM,className:aM.root,displayName:"Body1Strong"}),lM={root:"fui-Body2"},sM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".figsok6{font-weight:var(--fontWeightRegular);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),ym=Ya({useStyles:sM,className:lM.root,displayName:"Body2"}),cM={root:"fui-Caption1"},uM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),Kt=Ya({useStyles:uM,className:cM.root,displayName:"Caption1"}),dM={root:"fui-Subtitle2"},fM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),$o=Ya({useStyles:fM,className:dM.root,displayName:"Subtitle2"}),hM={root:"fui-Title2"},gM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]}),wp=Ya({useStyles:gM,className:hM.root,displayName:"Title2"}),pM={root:"fui-Title3"},mM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1x0m3f5",Bhrd7zp:"fl43uef",Bg96gwp:"fb86gi6"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fb86gi6{line-height:var(--lineHeightBase600);}"]}),Ii=Ya({useStyles:mM,className:pM.root,displayName:"Title3"}),vM=e=>ne(e.root,{children:ne(e.textarea,{})}),bM=(e,o)=>{const n=Ip();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e;return{...yM(u,o),size:l,appearance:c}},yM=(e,o)=>{e=Za(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:n="none",onChange:a}=e,[l,c]=Ao({state:e.value,defaultState:e.defaultValue,initialState:void 0}),u=yl({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:n,components:{root:"span",textarea:"textarea"},textarea:Ne(e.textarea,{defaultProps:{ref:o,...u.primary},elementType:"textarea"}),root:Ne(e.root,{defaultProps:u.root,elementType:"span"})};return d.textarea.value=l,d.textarea.onChange=pe(h=>{const g=h.target.value;a==null||a(h,{value:g}),c(g)}),d},Nx={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},xM=ve({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{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:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{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:"fj2g8qd",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",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{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",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{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:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{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:"f1gmd7mu",E5pizo:"fyed02w"},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:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".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}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 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);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".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);}"],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)"}],["@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)"}]],w:[".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);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".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);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),wM=ve({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),SM=ve({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),kM=e=>{"use no memo";const{size:o,appearance:n,resize:a}=e,l=e.textarea.disabled,c=`${e.textarea["aria-invalid"]}`=="true",u=n.startsWith("filled"),d=xM();e.root.className=de(Nx.root,d.base,l&&d.disabled,!l&&u&&d.filled,!l&&d[n],!l&&d.interactive,!l&&n==="outline"&&d.outlineInteractive,!l&&c&&d.invalid,e.root.className);const h=wM(),g=SM();return e.textarea.className=de(Nx.textarea,h.base,h[o],g[a],l&&h.disabled,e.textarea.className),e},AS=b.forwardRef((e,o)=>{const n=bM(e,o);return kM(n),Xe("useTextareaStyles_unstable")(n),vM(n)});AS.displayName="Textarea";const BM=Ee("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),_M=Ee("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function zM(){const e=BM(),o=_M(),{targetDocument:n}=Qe(),a=b.useCallback(()=>{var c;if(!n)return;var u;Math.floor(n.body.getBoundingClientRect().height)>((u=(c=n.defaultView)===null||c===void 0?void 0:c.innerHeight)!==null&&u!==void 0?u:0)&&(n.documentElement.classList.add(e),n.body.classList.add(o))},[n,e,o]),l=b.useCallback(()=>{n&&(n.documentElement.classList.remove(e),n.body.classList.remove(o))},[n,e,o]);return{disableBodyScroll:a,enableBodyScroll:l}}function CM(e,o){const{findFirstFocusable:n}=rc(),{targetDocument:a}=Qe(),l=b.useRef(null);return b.useEffect(()=>{if(!e)return;const c=l.current&&n(l.current);if(c)c.focus();else{var u;(u=l.current)===null||u===void 0||u.focus()}},[n,e,o,a]),l}const NM={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},xm=Qa(void 0),TM=xm.Provider,lr=e=>kl(xm,(o=NM)=>e(o)),EM=!1,DS=b.createContext(void 0),MS=DS.Provider,RM=()=>{var e;return(e=b.useContext(DS))!==null&&e!==void 0?e:EM},OS=b.createContext(void 0);OS.Provider;const jM=()=>b.useContext(OS),Tx=ua(nm,{outScale:.85,easing:Le.curveDecelerateMid,duration:Le.durationGentle,exitEasing:Le.curveAccelerateMin,exitDuration:Le.durationGentle}),AM=e=>{const{children:o,modalType:n="modal",onOpenChange:a,inertTrapFocus:l=!1,unmountOnClose:c=!0}=e,u=Qt("dialog-title-"),[d,h]=DM(o),[g,v]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),m=pe(z=>{a==null||a(z.event,z),z.event.isDefaultPrevented()||v(z.open)}),x=CM(g,n),{modalAttributes:k,triggerAttributes:w}=jd({trapFocus:n!=="non-modal",legacyTrapFocus:!l}),y=ac(xm);return{components:{surfaceMotion:Tx},inertTrapFocus:l,open:g,modalType:n,content:h,trigger:d,requestOpenChange:m,dialogTitleId:u,isNestedDialog:y,unmountOnClose:c,dialogRef:x,modalAttributes:k,triggerAttributes:w,surfaceMotion:ic(e.surfaceMotion,{elementType:Tx,defaultProps:{visible:g,appear:c,unmountOnExit:c}})}};function DM(e){const o=b.Children.toArray(e);switch(o.length){case 2:return o;case 1:return[void 0,o[0]];default:return[void 0,void 0]}}const MM=(e,o)=>ne(TM,{value:o.dialog,children:it(MS,{value:o.dialogSurface,children:[e.trigger,e.content&&ne(e.surfaceMotion,{children:ne(Dd,{children:e.content})})]})});function OM(e){const{modalType:o,open:n,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,requestOpenChange:d,modalAttributes:h,triggerAttributes:g,unmountOnClose:v}=e;return{dialog:b.useMemo(()=>({open:n,modalType:o,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,modalAttributes:h,triggerAttributes:g,unmountOnClose:v,requestOpenChange:d}),[n,o,a,l,c,u,h,g,v,d]),dialogSurface:!1}}const wm=b.memo(e=>{const o=AM(e),n=OM(o);return MM(o,n)});wm.displayName="Dialog";const FM=e=>{const o=RM(),{children:n,disableButtonEnhancement:a=!1,action:l=o?"close":"open"}=e,c=oc(n),u=lr(m=>m.requestOpenChange),{triggerAttributes:d}=jd(),h=pe(m=>{var x,k;c==null||(x=(k=c.props).onClick)===null||x===void 0||x.call(k,m),m.isDefaultPrevented()||u({event:m,type:"triggerClick",open:l==="open"})}),g={...c==null?void 0:c.props,ref:tc(c),onClick:h,...d},v=Xa((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...g,type:"button"});return{children:Cd(n,a?g:v)}},qM=e=>e.children,$i=e=>{const o=FM(e);return qM(o)};$i.displayName="DialogTrigger";$i.isFluentTriggerComponent=!0;const HM=(e,o)=>{const{position:n="end",fluid:a=!1}=e;return{components:{root:"div"},root:Ne(Et("div",{ref:o,...e}),{elementType:"div"}),position:n,fluid:a}},PM=e=>ne(e.root,{}),LM={root:"fui-DialogActions"},IM=Ee("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),UM=ve({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),VM=e=>{"use no memo";const o=IM(),n=UM();return e.root.className=de(LM.root,o,e.position==="start"&&n.gridPositionStart,e.position==="end"&&n.gridPositionEnd,e.fluid&&e.position==="start"&&n.fluidStart,e.fluid&&e.position==="end"&&n.fluidEnd,e.root.className),e},Sm=b.forwardRef((e,o)=>{const n=HM(e,o);return VM(n),Xe("useDialogActionsStyles_unstable")(n),PM(n)});Sm.displayName="DialogActions";const GM=(e,o)=>{var n;return{components:{root:"div"},root:Ne(Et((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},WM=e=>ne(e.root,{}),XM={root:"fui-DialogBody"},$M=Ee("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),KM=e=>{"use no memo";const o=$M();return e.root.className=de(XM.root,o,e.root.className),e},km=b.forwardRef((e,o)=>{const n=GM(e,o);return KM(n),Xe("useDialogBodyStyles_unstable")(n),WM(n)});km.displayName="DialogBody";const Ex={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},QM=Ee("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),ZM=ve({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),YM=Ee("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),JM=Ee("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[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);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[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){.r2avt6e[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){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),eO=e=>{"use no memo";const o=QM(),n=YM(),a=ZM();return e.root.className=de(Ex.root,o,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=de(Ex.action,n,e.action.className)),e},tO=(e,o)=>{const{action:n}=e,a=lr(c=>c.modalType),l=JM();return{components:{root:"h2",action:"div"},root:Ne(Et("h2",{ref:o,id:lr(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:De(n,{renderByDefault:a==="non-modal",defaultProps:{children:b.createElement($i,{disableButtonEnhancement:!0,action:"close"},b.createElement("button",{type:"button",className:l,"aria-label":"close"},b.createElement(TR,null)))},elementType:"div"})}},oO=e=>it(b.Fragment,{children:[ne(e.root,{children:e.root.children}),e.action&&ne(e.action,{})]}),Bm=b.forwardRef((e,o)=>{const n=tO(e,o);return eO(n),Xe("useDialogTitleStyles_unstable")(n),oO(n)});Bm.displayName="DialogTitle";const Rx=rj,rO=(e,o)=>{const n=Ad(),a=lr(C=>C.modalType),l=lr(C=>C.isNestedDialog),c=jM(),u=c??l,d=lr(C=>C.modalAttributes),h=lr(C=>C.dialogRef),g=lr(C=>C.requestOpenChange),v=lr(C=>C.dialogTitleId),m=lr(C=>C.open),x=lr(C=>C.unmountOnClose),k=pe(C=>{if(Lp(e.backdrop)){var T,E;(T=(E=e.backdrop).onClick)===null||T===void 0||T.call(E,C)}a==="modal"&&!C.isDefaultPrevented()&&g({event:C,open:!1,type:"backdropClick"})}),w=pe(C=>{var T;(T=e.onKeyDown)===null||T===void 0||T.call(e,C),C.key===Bl&&!C.isDefaultPrevented()&&(g({event:C,open:!1,type:"escapeKeyDown"}),C.preventDefault())}),y=De(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),z=y==null?void 0:y.appearance;y&&(y.onClick=k,delete y.appearance);const{disableBodyScroll:_,enableBodyScroll:R}=zM();return Dt(()=>{if(!m){R();return}if(!(l||a==="non-modal"))return _(),()=>R()},[m,a,l,_,R]),{components:{backdrop:"div",root:"div",backdropMotion:Rx},open:m,backdrop:y,isNestedDialog:l,treatBackdropAsNested:u,backdropAppearance:z,unmountOnClose:x,mountNode:e.mountNode,root:Ne(Et("div",{tabIndex:-1,role:a==="alert"?"alertdialog":"dialog","aria-modal":a!=="non-modal","aria-labelledby":e["aria-label"]?void 0:v,"aria-hidden":!x&&!m?!0:void 0,...e,...d,onKeyDown:w,ref:at(o,n,h)}),{elementType:"div"}),backdropMotion:ic(e.backdropMotion,{elementType:Rx,defaultProps:{appear:x,visible:m}}),transitionStatus:void 0}},nO=(e,o)=>it(Tl,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ne(e.backdropMotion,{children:ne(e.backdrop,{})}),ne(N5,{children:ne(MS,{value:o.dialogSurface,children:ne(e.root,{})})})]}),jx={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},aO=Ee("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[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);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[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){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),iO=Ee("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),lO=ve({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),sO=e=>{"use no memo";const{root:o,backdrop:n,open:a,unmountOnClose:l,treatBackdropAsNested:c,backdropAppearance:u}=e,d=aO(),h=iO(),g=lO(),v=u?u==="transparent":c,m=!l&&!a;return o.className=de(jx.root,d,m&&g.dialogHidden,o.className),n&&(n.className=de(jx.backdrop,h,m&&g.dialogHidden,v&&g.nestedDialogBackdrop,n.className)),e};function cO(e){return{dialogSurface:!0}}const _m=b.forwardRef((e,o)=>{const n=rO(e,o),a=cO();return sO(n),Xe("useDialogSurfaceStyles_unstable")(n),nO(n,a)});_m.displayName="DialogSurface";const uO=(e,o)=>{var n;return{components:{root:"div"},root:Ne(Et((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},dO=e=>ne(e.root,{}),fO={root:"fui-DialogContent"},hO=Ee("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),gO=e=>{"use no memo";const o=hO();return e.root.className=de(fO.root,o,e.root.className),e},zm=b.forwardRef((e,o)=>{const n=uO(e,o);return gO(n),Xe("useDialogContentStyles_unstable")(n),dO(n)});zm.displayName="DialogContent";function pO(e){switch(e){case"info":return b.createElement(JE,null);case"warning":return b.createElement(KE,null);case"error":return b.createElement(bR,null);case"success":return b.createElement(pn,null);default:return null}}function mO(e=!1){const{targetDocument:o}=Qe(),n=b.useReducer(()=>({}),{})[1],a=b.useRef(!1),l=b.useRef(null),c=b.useRef(-1),u=b.useCallback(h=>{var g,v;const m=h[0];var x;const k=(x=m==null||(v=m.borderBoxSize)===null||v===void 0||(g=v[0])===null||g===void 0?void 0:g.inlineSize)!==null&&x!==void 0?x:m==null?void 0:m.target.getBoundingClientRect().width;if(k===void 0||!m)return;const{target:w}=m;if(!pr(w))return;let y;if(a.current)c.current<k&&(y=!1);else{const z=w.scrollWidth;k<z&&(y=!0)}c.current=k,typeof y<"u"&&a.current!==y&&(a.current=y,n())},[n]),d=b.useCallback(h=>{var g;if(!e||!h||!(o!=null&&o.defaultView))return;(g=l.current)===null||g===void 0||g.disconnect();const v=o.defaultView,m=new v.ResizeObserver(u);l.current=m,m.observe(h,{box:"border-box"})},[o,u,e]);return b.useEffect(()=>()=>{var h;(h=l.current)===null||h===void 0||h.disconnect()},[]),{ref:d,reflowing:a.current}}const FS=b.createContext(void 0),vO={className:"",nodeRef:b.createRef()};FS.Provider;const bO=()=>{var e;return(e=b.useContext(FS))!==null&&e!==void 0?e:vO},yO=(e,o)=>{const{layout:n="auto",intent:a="info",politeness:l}=e,c=l??a==="info"?"polite":"assertive",u=n==="auto",{ref:d,reflowing:h}=mO(u),g=u?h?"multiline":"singleline":n,{className:v,nodeRef:m}=bO(),x=Ad(),k=b.useRef(null),w=b.useRef(null),{announce:y}=rC(),z=Qt();return b.useEffect(()=>{var _,R;const C=(_=w.current)===null||_===void 0?void 0:_.textContent,T=(R=k.current)===null||R===void 0?void 0:R.textContent,E=[C,T].filter(Boolean).join(",");y(E,{polite:c==="polite",alert:c==="assertive"})},[w,k,y,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ne(Et("div",{ref:at(o,d,m,x),role:"group","aria-labelledby":z,...e}),{elementType:"div"}),icon:De(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:De(e.bottomReflowSpacer,{renderByDefault:g==="multiline",elementType:"div"}),layout:g,intent:a,transitionClassName:v,actionsRef:k,bodyRef:w,titleId:z}},xO=(e,o)=>{const{shape:n="rounded",...a}=e,l=yO(a,o);return{...l,shape:n,icon:De(e.icon,{defaultProps:{children:pO(l.intent)},renderByDefault:!0,elementType:"div"})}},qS=b.createContext(void 0),wO={titleId:"",layout:"singleline",actionsRef:b.createRef(),bodyRef:b.createRef()},SO=qS.Provider,HS=()=>{var e;return(e=b.useContext(qS))!==null&&e!==void 0?e:wO},kO=(e,o)=>ne(SO,{value:o.messageBar,children:it(e.root,{children:[e.icon&&ne(e.icon,{}),e.root.children,e.bottomReflowSpacer&&ne(e.bottomReflowSpacer,{})]})}),Og={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},BO=Ee("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),_O=Ee("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),zO=Ee("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),CO=ve({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),NO=ve({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),TO=ve({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),EO=e=>{"use no memo";const o=BO(),n=_O(),a=NO(),l=TO(),c=zO(),u=CO();return e.root.className=de(Og.root,o,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,l[e.intent],e.root.className),e.icon&&(e.icon.className=de(Og.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=de(Og.bottomReflowSpacer,c)),e};function RO(e){const{layout:o,actionsRef:n,bodyRef:a,titleId:l}=e;return{messageBar:b.useMemo(()=>({layout:o,actionsRef:n,bodyRef:a,titleId:l}),[o,n,a,l])}}const Jo=b.forwardRef((e,o)=>{const n=xO(e,o);return EO(n),Xe("useMessageBarStyles_unstable")(n),kO(n,RO(n))});Jo.displayName="MessageBar";const jO=(e,o)=>{const{titleId:n}=HS();return{components:{root:"span"},root:Ne(Et("span",{ref:o,id:n,...e}),{elementType:"span"})}},AO=e=>ne(e.root,{}),DO={root:"fui-MessageBarTitle"},MO=Ee("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),OO=e=>{"use no memo";const o=MO();return e.root.className=de(DO.root,o,e.root.className),e},Ka=b.forwardRef((e,o)=>{const n=jO(e,o);return OO(n),Xe("useMessageBarTitleStyles_unstable")(n),AO(n)});Ka.displayName="MessageBarTitle";const FO=(e,o)=>{const{bodyRef:n}=HS();return{components:{root:"div"},root:Ne(Et("div",{ref:at(o,n),...e}),{elementType:"div"})}},qO=(e,o)=>ne(hA,{value:o.link,children:ne(e.root,{})}),HO={root:"fui-MessageBarBody"},PO=Ee("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),LO=e=>{"use no memo";const o=PO();return e.root.className=de(HO.root,o,e.root.className),e};function IO(e){return{link:b.useMemo(()=>({inline:!0}),[])}}const er=b.forwardRef((e,o)=>{const n=FO(e,o),a=IO();return LO(n),Xe("useMessageBarBodyStyles_unstable")(n),qO(n,a)});er.displayName="MessageBarBody";const PS={10:"#001120",20:"#002A4D",30:"#003E70",40:"#005091",50:"#0061AC",60:"#0078D4",70:"#1B8AE0",80:"#3398E8",90:"#4FA7EE",100:"#6BB6F2",110:"#85C3F5",120:"#9FCFF7",130:"#B7DBF9",140:"#CCE5FB",150:"#DEEDFC",160:"#EFF6FE"},po={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},UO={...ZT(PS)},cc={...eE(PS)};cc.colorNeutralBackground1="#0E1620";cc.colorNeutralBackground2="#131F2D";cc.colorNeutralBackground3="#1A2838";cc.colorNeutralBackground4="#223145";const Ax="wizardux.theme",LS=b.createContext(null);function Dx(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function VO({children:e}){const[o,n]=b.useState(()=>localStorage.getItem(Ax)||"system"),[a,l]=b.useState(Dx);b.useEffect(()=>{const h=window.matchMedia("(prefers-color-scheme: dark)"),g=()=>l(Dx());return h.addEventListener("change",g),()=>h.removeEventListener("change",g)},[]),b.useEffect(()=>{localStorage.setItem(Ax,o)},[o]);const c=o==="system"?a:o,u=c==="dark"?cc:UO;b.useEffect(()=>{document.body.style.background=u.colorNeutralBackground1,document.body.style.color=u.colorNeutralForeground1},[u]);const d=b.useMemo(()=>({mode:o,resolved:c,setMode:n}),[o,c]);return B.jsx(LS.Provider,{value:d,children:B.jsx(t5,{theme:u,style:{height:"100%"},children:e})})}function GO(){const e=b.useContext(LS);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}let Lu=null;async function WO(){if(Lu)return Lu;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return Lu=(await e.json()).csrfToken,Lu}async function zr(e,o,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await WO());const l=await fetch(o,{method:e,headers:a,body:n!==void 0?JSON.stringify(n):void 0,credentials:"same-origin"});if(!l.ok){let c=null;try{c=await l.json()}catch{}const u=(c==null?void 0:c.error)||`${e} ${o} failed (${l.status})`,d=new Error(u);throw d.payload=c,d.status=l.status,d}return l.json()}const Dr={state:()=>zr("GET","/api/state"),saveState:e=>zr("PUT","/api/state",e),resetState:()=>zr("POST","/api/state/reset",{}),jumpTo:e=>zr("POST","/api/state/jump",{step:e}),system:()=>zr("GET","/api/system"),steps:()=>zr("GET","/api/steps"),questions:e=>zr("GET",`/api/steps/${e}/questions`),apply:(e,o)=>zr("POST",`/api/steps/${e}/apply`,{answers:o}),configSeedKeys:()=>zr("GET","/api/config-seed/keys"),exportConfigSeed:async()=>{const e=await fetch("/api/config-seed/export",{credentials:"same-origin"});if(!e.ok)throw new Error(`Export failed (${e.status})`);const o=e.headers.get("Content-Disposition")||"",n=/filename="([^"]+)"/i.exec(o),a=(n==null?void 0:n[1])||`pacaf-wizard-config-${new Date().toISOString().slice(0,10)}.json`;return{blob:await e.blob(),filename:a}},importConfigSeed:(e,o="merge")=>zr("POST","/api/config-seed/import",{seed:e,mode:o})},XO=or({list:{display:"flex",flexDirection:"column",gap:"4px",margin:0,padding:0,listStyle:"none",maxHeight:"240px",overflowY:"auto"},row:{display:"flex",justifyContent:"space-between",gap:"12px",padding:"4px 8px",borderBottom:`1px solid ${P.colorNeutralStroke3}`,fontFamily:P.fontFamilyMonospace,fontSize:P.fontSizeBase200},key:{color:P.colorNeutralForeground1,whiteSpace:"nowrap"},value:{color:P.colorNeutralForeground3,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"320px"},section:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"12px"}});function Mx(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.length} item${e.length===1?"":"s"}]`;if(e&&typeof e=="object"){const o=Object.keys(e).length;return`{${o} entr${o===1?"y":"ies"}}`}return String(e)}function $O(){const e=XO(),o=Js(),n=b.useRef(null),[a,l]=b.useState("idle"),[c,u]=b.useState(null),[d,h]=b.useState(null),[g,v]=b.useState("merge"),[m,x]=b.useState(null),[k,w]=b.useState(null);async function y(){try{const{blob:E,filename:j}=await Dr.exportConfigSeed(),M=URL.createObjectURL(E),O=document.createElement("a");O.href=M,O.download=j,O.click(),URL.revokeObjectURL(M)}catch(E){const j=E instanceof Error?E.message:"Export failed.";u(j),l("error")}}function z(){var E;u(null),x(null),h(null),w(null),(E=n.current)==null||E.click()}async function _(E){var M;const j=(M=E.target.files)==null?void 0:M[0];if(E.target.value="",!!j){if(j.size>64*1024){u(`File too large (${j.size} bytes; max 65536).`),l("error");return}try{const O=await j.text(),W=JSON.parse(O);if(!W||typeof W!="object"||!W.values||typeof W.values!="object")throw new Error("Not a valid PACAF wizard config — missing `values` object.");if(W.version!==void 0&&Number(W.version)>1)throw new Error(`Seed version ${W.version} is newer than this wizard supports.`);h(W);try{const fe=(await Dr.state()).state,le=[];for(const se of["PP_ENV_DEV","PP_ENV_TEST","PP_ENV_PROD"]){const ie=String(fe[se]??"").trim(),Q=String(W.values[se]??"").trim();ie&&Q&&ie!==Q&&le.push(se)}le.length>0&&w(`This seed targets different environment URLs than the current project: ${le.join(", ")}. Connection IDs from this seed will likely not work in your current environments.`)}catch{}l("preview")}catch(O){const W=O instanceof Error?O.message:"Could not read file.";u(W),l("error")}}}async function R(){if(d){l("applying");try{const E=await Dr.importConfigSeed(d,g);x(E),l("done"),o.invalidateQueries({queryKey:["state"]}),o.invalidateQueries({queryKey:["questions"]})}catch(E){const j=E instanceof Error?E.message:"Import failed.";u(j),l("error")}}}function C(){l("idle"),h(null),x(null),u(null),w(null),v("merge")}const T=a==="preview"||a==="applying"||a==="done"||a==="error";return B.jsxs(B.Fragment,{children:[B.jsx("input",{ref:n,type:"file",accept:"application/json,.json",style:{display:"none"},onChange:_}),B.jsxs(yS,{children:[B.jsx(vm,{disableButtonEnhancement:!0,children:B.jsx(Ld,{relationship:"label",content:"Configuration",children:B.jsx(st,{appearance:"subtle",icon:B.jsx(XE,{}),"aria-label":"Configuration"})})}),B.jsx(_S,{children:B.jsxs(BS,{children:[B.jsx(yp,{icon:B.jsx(p5,{}),onClick:y,children:"Export configuration…"}),B.jsx(yp,{icon:B.jsx(sR,{}),onClick:z,children:"Import configuration…"})]})})]}),B.jsx(wm,{open:T,onOpenChange:(E,j)=>{j.open||C()},children:B.jsx(_m,{children:B.jsxs(km,{children:[B.jsx(Bm,{children:a==="done"?"Configuration imported":a==="error"?"Import failed":"Import configuration"}),B.jsxs(zm,{children:[a==="preview"&&d&&B.jsx(KO,{seed:d,mode:g,onModeChange:v,envWarning:k,styles:e}),a==="applying"&&B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[B.jsx(dn,{size:"tiny"})," ",B.jsx(jS,{children:"Writing configuration…"})]}),a==="done"&&m&&B.jsx(QO,{result:m,styles:e}),a==="error"&&B.jsx(Jo,{intent:"error",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Import failed"}),c]})})]}),B.jsxs(Sm,{children:[a==="preview"&&B.jsxs(B.Fragment,{children:[B.jsx(st,{appearance:"secondary",onClick:C,children:"Cancel"}),B.jsx(st,{appearance:"primary",onClick:R,children:"Apply"})]}),(a==="done"||a==="error")&&B.jsx(st,{appearance:"primary",onClick:C,children:"Close"}),a==="applying"&&B.jsx(st,{appearance:"secondary",disabled:!0,children:"Working…"})]})]})})})]})}function KO({seed:e,mode:o,onModeChange:n,envWarning:a,styles:l}){const c=Object.entries(e.values),u="OP_VAULT"in e.values||"OP_ITEM"in e.values;return B.jsxs("div",{className:l.section,children:[B.jsx(Jo,{intent:"info",children:B.jsxs(er,{children:["Secrets are never included. App Registration secrets remain in 1Password or",B.jsx("code",{children:" .env.local"})," — only references to them ship in this file."]})}),u&&B.jsx(Jo,{intent:"info",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"1Password references imported"}),"This seed includes ",B.jsx("code",{children:"OP_VAULT"})," / ",B.jsx("code",{children:"OP_ITEM"})," pointers. You'll still need access to that vault on this machine to retrieve the actual secret."]})}),a&&B.jsx(Jo,{intent:"warning",icon:B.jsx(QE,{}),children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Environment mismatch"}),a]})}),B.jsxs(Ua,{children:["Values in this seed (",c.length,")"]}),B.jsxs("ul",{className:l.list,children:[c.map(([d,h])=>B.jsxs("li",{className:l.row,children:[B.jsx("span",{className:l.key,children:d}),B.jsx("span",{className:l.value,title:Mx(h),children:Mx(h)})]},d)),c.length===0&&B.jsx(Kt,{children:"(empty)"})]}),B.jsx(Ua,{children:"How to apply"}),B.jsxs(zS,{value:o,onChange:(d,h)=>n(h.value),children:[B.jsx(xp,{value:"merge",label:"Merge (recommended) — only fill values that are currently empty"}),B.jsx(xp,{value:"replace-allowlisted",label:"Overwrite — replace existing values with values from the seed"})]})]})}function QO({result:e,styles:o}){return B.jsxs("div",{className:o.section,children:[B.jsx(Jo,{intent:"success",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Done"}),e.written.length," value",e.written.length===1?"":"s"," written,"," ",e.preserved.length," preserved,"," ",e.skipped.length," skipped."]})}),e.written.length>0&&B.jsxs(B.Fragment,{children:[B.jsx(Ua,{children:"Written"}),B.jsx("ul",{className:o.list,children:e.written.map(n=>B.jsx("li",{className:o.row,children:B.jsx("span",{className:o.key,children:n.key})},n.key))})]}),e.preserved.length>0&&B.jsxs(B.Fragment,{children:[B.jsx(Ua,{children:"Preserved (already set)"}),B.jsx("ul",{className:o.list,children:e.preserved.map(n=>B.jsxs("li",{className:o.row,children:[B.jsx("span",{className:o.key,children:n.key}),B.jsx("span",{className:o.value,children:n.reason})]},n.key))})]}),e.skipped.length>0&&B.jsxs(B.Fragment,{children:[B.jsx(Ua,{children:"Skipped"}),B.jsx("ul",{className:o.list,children:e.skipped.map(n=>B.jsxs("li",{className:o.row,children:[B.jsx("span",{className:o.key,children:n.key}),B.jsx("span",{className:o.value,children:n.reason})]},n.key))})]})]})}const ZO=or({root:{display:"flex",alignItems:"center",gap:"16px",padding:"0 24px",borderBottom:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground1Hover,backdropFilter:"blur(20px) saturate(180%)"},brand:{display:"flex",alignItems:"center",gap:"12px",color:P.colorNeutralForeground1,textDecoration:"none"},badge:{width:"32px",height:"32px",borderRadius:"8px",background:po.accent,display:"grid",placeItems:"center",color:"#ffffff",fontWeight:700,boxShadow:P.shadow8},spacer:{flex:1},navLinks:{display:"flex",gap:"4px"},navLink:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"6px",color:P.colorNeutralForeground2,textDecoration:"none",fontSize:P.fontSizeBase300},navLinkActive:{backgroundColor:P.colorNeutralBackground3,color:P.colorNeutralForeground1}});function YO(){const e=ZO(),{mode:o,setMode:n}=GO(),a=tr(),l=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=o==="system"?"light":o==="light"?"dark":"system",u=o==="dark"?ZE:o==="light"?YE:h5;return B.jsxs("header",{className:e.root,children:[B.jsxs(ln,{to:"/",className:e.brand,children:[B.jsx("div",{className:e.badge,children:"F"}),B.jsx(Ua,{children:"Foundations"})]}),B.jsx("div",{className:e.spacer}),B.jsxs("nav",{className:e.navLinks,children:[B.jsxs(ln,{to:"/",className:de(e.navLink,l("/")&&e.navLinkActive),children:[B.jsx(v5,{})," Home"]}),B.jsxs(ln,{to:"/summary",className:de(e.navLink,l("/summary")&&e.navLinkActive),children:[B.jsx(vR,{})," Summary"]}),B.jsxs(ln,{to:"/diagnostics",className:de(e.navLink,l("/diagnostics")&&e.navLinkActive),children:[B.jsx(ld,{})," Diagnostics"]})]}),B.jsx(Ld,{relationship:"label",content:`Theme: ${o}. Click to cycle.`,children:B.jsx(st,{appearance:"subtle",icon:B.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})}),B.jsx($O,{})]})}const JO=or({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function IS(){const e=JO(),o=b.useRef(null);return b.useEffect(()=>{const n=o.current;if(!n)return;const a=n.getContext("2d");if(!a)return;const l=window.matchMedia("(prefers-reduced-motion: reduce)").matches;let c=0;function u(){const h=Math.min(window.devicePixelRatio||1,2);n.width=n.clientWidth*h,n.height=n.clientHeight*h,a.scale(h,h)}u(),window.addEventListener("resize",u);function d(h){const g=n.clientWidth,v=n.clientHeight;a.clearRect(0,0,g,v);const m=l?0:h/6e3,x=g*(.28+.15*Math.sin(m)),k=v*(.38+.1*Math.cos(m*1.2)),w=a.createRadialGradient(x,k,0,x,k,Math.max(g,v)*.7);w.addColorStop(0,"rgba(0, 120, 212, 0.55)"),w.addColorStop(1,"rgba(0, 120, 212, 0)"),a.fillStyle=w,a.fillRect(0,0,g,v);const y=g*(.72+.1*Math.cos(m*.8)),z=v*(.55+.12*Math.sin(m*1.5)),_=a.createRadialGradient(y,z,0,y,z,Math.max(g,v)*.6);_.addColorStop(0,"rgba(92, 45, 145, 0.45)"),_.addColorStop(1,"rgba(92, 45, 145, 0)"),a.fillStyle=_,a.fillRect(0,0,g,v);const R=g*(.4+.18*Math.cos(m*.6+1.7)),C=v*(.85+.1*Math.sin(m*.9)),T=a.createRadialGradient(R,C,0,R,C,Math.max(g,v)*.55);T.addColorStop(0,"rgba(0, 130, 114, 0.35)"),T.addColorStop(1,"rgba(0, 130, 114, 0)"),a.fillStyle=T,a.fillRect(0,0,g,v),l||(c=requestAnimationFrame(d))}return c=requestAnimationFrame(d),()=>{cancelAnimationFrame(c),window.removeEventListener("resize",u)}},[]),B.jsx("canvas",{ref:o,className:e.canvas,"aria-hidden":"true"})}function Cm(){return xd({queryKey:["state"],queryFn:()=>Dr.state(),refetchInterval:5e3})}function US(){return xd({queryKey:["system"],queryFn:()=>Dr.system(),staleTime:3e4})}function Nm(){return xd({queryKey:["steps"],queryFn:()=>Dr.steps(),refetchInterval:5e3})}function eF(e){return xd({queryKey:["questions",e],queryFn:()=>Dr.questions(e),enabled:e!=null})}const tF=or({root:{position:"relative",height:"100%",overflowY:"auto"},hero:{position:"relative",minHeight:"340px",display:"grid",placeItems:"center",padding:"64px 32px 40px"},heroInner:{position:"relative",zIndex:1,textAlign:"center",maxWidth:"660px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},pill:{display:"inline-flex",alignItems:"center",gap:"8px",padding:"6px 14px",borderRadius:"999px",background:P.colorNeutralBackground1,border:`1px solid ${P.colorNeutralStroke2}`,boxShadow:P.shadow4,fontSize:P.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:P.colorBrandForeground1,alignSelf:"center"},title:{margin:0,background:po.accent,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",letterSpacing:"-0.02em",fontSize:"clamp(32px, 4.5vw, 48px)",lineHeight:1.1,fontWeight:700,width:"100%"},subtitle:{color:P.colorNeutralForeground2,fontSize:P.fontSizeBase300,lineHeight:1.55,maxWidth:"520px"},body:{position:"relative",zIndex:1,maxWidth:"720px",margin:"0 auto",padding:"0 32px 60px",display:"grid",gap:"32px"},ctaCard:{position:"relative",padding:"28px 32px",borderRadius:"16px",background:po.accentSoft,border:`1px solid ${P.colorNeutralStroke2}`,boxShadow:P.shadow16,overflow:"hidden"},ctaInner:{display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},ctaText:{flex:1,minWidth:"220px"},ctaActions:{display:"flex",gap:"12px",flexWrap:"wrap"},ctaPrimary:{background:po.accent,color:"#ffffff",border:"none",boxShadow:P.shadow8,minWidth:"180px",height:"44px",fontSize:P.fontSizeBase400,fontWeight:600},ctaTrack:{width:"100%",height:"6px",borderRadius:"999px",background:P.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},ctaFill:{height:"100%",background:po.accent,transition:"width 280ms ease"},systemBar:{display:"flex",flexWrap:"wrap",gap:"8px",justifyContent:"center"},stepSection:{display:"grid",gap:"2px",borderRadius:"12px",overflow:"hidden",border:`1px solid ${P.colorNeutralStroke2}`},stepRow:{display:"flex",alignItems:"center",gap:"12px",padding:"12px 16px",background:P.colorNeutralBackground1,cursor:"pointer",transition:"background-color 120ms",":hover":{backgroundColor:P.colorNeutralBackground1Hover}},stepIcon:{fontSize:"16px",flexShrink:0},stepDone:{color:P.colorPaletteGreenForeground1},stepCurrent:{color:P.colorBrandForeground1},stepPending:{color:P.colorNeutralForeground4},stepLabel:{flex:1,fontSize:P.fontSizeBase300,fontWeight:P.fontWeightSemibold,color:P.colorNeutralForeground1},stepLabelDim:{flex:1,fontSize:P.fontSizeBase300,fontWeight:P.fontWeightRegular,color:P.colorNeutralForeground3},stepBadge:{fontSize:P.fontSizeBase200,color:P.colorNeutralForeground3},footer:{textAlign:"center",color:P.colorNeutralForeground3,fontSize:P.fontSizeBase200}});function oF(){var k,w,y,z,_,R,C,T;const e=tF(),o=Zs(),n=Cm(),a=Nm(),l=US(),c=Js(),u=E2({mutationFn:()=>Dr.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((k=n.data)==null?void 0:k.completed)??0,h=((w=n.data)==null?void 0:w.next)??1,g=((y=n.data)==null?void 0:y.totalSteps)??9,v=((_=(z=n.data)==null?void 0:z.state)==null?void 0:_.APP_NAME)||"",m=d>0,x=Math.round(d/Math.max(1,g)*100);return B.jsxs("div",{className:e.root,children:[B.jsxs("div",{className:e.hero,children:[B.jsx(IS,{}),B.jsxs("div",{className:e.heroInner,children:[B.jsxs("div",{className:e.pill,children:[B.jsx(wR,{})," Foundations"]}),B.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),B.jsx(fr,{className:e.subtitle,children:"Nine guided steps from zero to a deployed Power Apps Code App. Every decision is captured and every step is re-runnable."})]})]}),B.jsxs("div",{className:e.body,children:[B.jsx("div",{className:e.ctaCard,children:B.jsxs("div",{className:e.ctaInner,children:[B.jsx("div",{className:e.ctaText,children:m?B.jsxs(B.Fragment,{children:[B.jsxs($o,{style:{display:"block",color:P.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",v?`, ${v}`:""]}),B.jsxs(wp,{style:{margin:0},children:["Pick up at step ",h," of ",g]}),B.jsxs(fr,{style:{marginTop:"6px",color:P.colorNeutralForeground3},children:[d," of ",g," steps complete · ",x,"%"]}),B.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:B.jsx("div",{className:e.ctaFill,style:{width:`${x}%`}})})]}):B.jsxs(B.Fragment,{children:[B.jsx(wp,{style:{margin:0},children:"Ready when you are"}),B.jsx(fr,{style:{marginTop:"6px",color:P.colorNeutralForeground2},children:"Each step is self-contained. You'll end with a deployable app."})]})}),B.jsxs("div",{className:e.ctaActions,children:[B.jsx(st,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(cn,{}),onClick:()=>o(`/step/${h}`),children:m?"Resume":"Get started"}),m&&B.jsxs(wm,{children:[B.jsx($i,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"subtle",icon:B.jsx(iR,{}),children:"Start over"})}),B.jsx(_m,{children:B.jsxs(km,{children:[B.jsx(Bm,{children:"Reset wizard state?"}),B.jsx(zm,{children:"This clears all collected answers. Your project files are not affected."}),B.jsxs(Sm,{children:[B.jsx($i,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"secondary",children:"Cancel"})}),B.jsx($i,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?B.jsx(dn,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),l.data&&B.jsxs("div",{className:e.systemBar,children:[B.jsxs(dr,{appearance:"filled",color:l.data.node?"success":"danger",children:["Node ",l.data.node||"—"]}),B.jsxs(dr,{appearance:"filled",color:l.data.git?"success":"danger",children:["Git ",l.data.git||"missing"]}),B.jsxs(dr,{appearance:"filled",color:l.data.dotnet?"success":"danger",children:[".NET ",l.data.dotnet||"missing"]}),B.jsxs(dr,{appearance:"filled",color:l.data.pac?"success":"danger",children:["PAC ",l.data.pac||"missing"]}),B.jsx(dr,{appearance:"filled",color:l.data.op?"success":"informative",children:l.data.op?`1Password ${l.data.op}`:"1Password (optional)"})]}),a.data&&B.jsx("div",{className:e.stepSection,children:a.data.steps.map(E=>{const j=E.status==="done",M=E.status==="current";return B.jsxs("div",{className:e.stepRow,role:"button",tabIndex:0,onClick:()=>o(`/step/${E.number}`),onKeyDown:O=>{(O.key==="Enter"||O.key===" ")&&o(`/step/${E.number}`)},children:[j?B.jsx(pn,{className:`${e.stepIcon} ${e.stepDone}`}):M?B.jsx(lR,{className:`${e.stepIcon} ${e.stepCurrent}`}):B.jsx(om,{className:`${e.stepIcon} ${e.stepPending}`}),B.jsxs("span",{className:j||M?e.stepLabel:e.stepLabelDim,children:[E.number,". ",E.title]}),j&&B.jsx("span",{className:e.stepBadge,children:"Done"}),M&&B.jsx(dr,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},E.number)})}),((R=l.data)==null?void 0:R.rootDir)&&B.jsxs("div",{className:e.footer,children:[B.jsx(nR,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",B.jsx("code",{children:l.data.rootDir})]}),((T=(C=l.data)==null?void 0:C.cloudSync)==null?void 0:T.detected)&&B.jsx(Jo,{intent:"warning",children:B.jsxs(er,{children:[B.jsxs(Ka,{children:["Project is inside ",l.data.cloudSync.provider]}),"Cloud-sync providers upload every file in this folder, regardless of ",B.jsx("code",{children:".gitignore"}),". They may raise DLP alerts on encrypted secrets in ",B.jsx("code",{children:".env.local"}),". We strongly recommend moving the project out of ",l.data.cloudSync.provider,", or choosing ",B.jsx("strong",{children:"1Password"})," storage in Step 4. See ",B.jsx("code",{children:"TROUBLESHOOTING.md"}),' → "Authentication & Secrets".']})}),u.isError&&B.jsx(Jo,{intent:"error",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Reset failed"}),u.error.message]})})]})]})}function rF(e,o){const[n,a]=b.useState({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return b.useEffect(()=>{if(!o||!e){a({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return}a({lines:[],status:"running",error:null,exitCode:null,deviceCode:null});const l=`/api/steps/${e}/stream?runId=${encodeURIComponent(o)}`,c=new EventSource(l,{withCredentials:!0});return c.addEventListener("line",u=>{try{const d=JSON.parse(u.data);a(h=>({...h,lines:[...h.lines,d]}))}catch{}}),c.addEventListener("deviceCode",u=>{try{const d=JSON.parse(u.data);a(h=>({...h,deviceCode:d}))}catch{}}),c.addEventListener("end",u=>{try{const d=JSON.parse(u.data);a(h=>({...h,status:d.status,exitCode:d.exitCode,error:d.error}))}catch{}c.close()}),c.onerror=()=>{a(u=>({...u,status:u.status==="running"?"error":u.status,error:"Stream connection lost"})),c.close()},()=>c.close()},[e,o]),n}const nF=or({root:{width:"220px",height:"100%",overflowY:"auto",padding:"12px",borderRight:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground2},heading:{color:P.colorNeutralForeground3,paddingLeft:"8px",marginBottom:"6px"},item:{display:"flex",alignItems:"center",gap:"10px",padding:"8px 10px",borderRadius:"8px",cursor:"pointer",border:"1px solid transparent",transition:"background-color 150ms ease-out",":hover":{backgroundColor:P.colorNeutralBackground3}},itemActive:{backgroundColor:P.colorBrandBackground2,border:`1px solid ${P.colorBrandStroke2}`},iconCol:{flex:"0 0 18px",fontSize:"18px",display:"grid",placeItems:"center"},done:{color:P.colorPaletteGreenForeground1},current:{color:P.colorBrandForeground1},pending:{color:P.colorNeutralForeground3},terminal:{color:P.colorNeutralForeground3},title:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:P.fontWeightSemibold,fontSize:P.fontSizeBase300}});function aF({steps:e,current:o}){const n=nF(),a=Zs(),l=tr();return B.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[B.jsx(Kt,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===o&&l.pathname.includes("/step/"),d=c.status==="done"?pn:c.status==="current"?cn:c.canRunInBrowser?om:g5,h=c.status==="done"?n.done:c.status==="current"?n.current:c.canRunInBrowser?n.pending:n.terminal;return B.jsxs("div",{className:[n.item,u&&n.itemActive].filter(Boolean).join(" "),onClick:()=>a(`/step/${c.number}`),role:"button",tabIndex:0,onKeyDown:g=>{(g.key==="Enter"||g.key===" ")&&a(`/step/${c.number}`)},"aria-current":u?"step":void 0,children:[B.jsx("div",{className:`${n.iconCol} ${h}`,children:B.jsx(d,{})}),B.jsxs(ym,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}function Ox(e){const o=/https?:\/\/[^\s)]+/g,n=[];let a=0,l;for(;(l=o.exec(e))!==null;){l.index>a&&n.push(e.slice(a,l.index));const c=l[0].replace(/[.,;:!?]+$/,"");n.push(B.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",children:c},l.index)),a=l.index+l[0].length}return a<e.length&&n.push(e.slice(a)),n}const Tm=or({card:{padding:"16px",borderRadius:"10px",backgroundColor:P.colorNeutralBackground2,border:`1px solid ${P.colorNeutralStroke2}`,display:"flex",flexDirection:"column",gap:"8px"},required:{color:P.colorPaletteRedForeground1,marginLeft:"4px"},help:{color:P.colorNeutralForeground3},groupHeader:{display:"flex",flexDirection:"column",gap:"4px",paddingBottom:"4px"},groupTitle:{fontWeight:P.fontWeightSemibold},groupItems:{display:"flex",flexDirection:"column"},groupItem:{padding:"12px 0",borderTop:`1px solid ${P.colorNeutralStroke2}`},firstGroupItem:{paddingTop:"8px"},why:{fontSize:P.fontSizeBase200,color:P.colorNeutralForeground2,whiteSpace:"pre-wrap",lineHeight:1.5,maxWidth:"360px",padding:"4px 0"},whyTrigger:{minWidth:"auto",padding:"2px",height:"auto",color:P.colorNeutralForeground3,":hover":{color:P.colorBrandForeground1}},labelRow:{display:"flex",alignItems:"center",gap:"4px"},checkboxList:{display:"flex",flexDirection:"column",gap:"6px"},savedSecret:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderRadius:"6px",background:P.colorNeutralBackground3,border:`1px solid ${P.colorNeutralStroke2}`,color:P.colorNeutralForeground2,fontSize:P.fontSizeBase200},savedSecretIcon:{color:P.colorPaletteGreenForeground1,fontSize:"16px",flexShrink:0},savedSecretEdit:{marginLeft:"auto",minWidth:"auto",padding:"2px 8px",height:"auto"}});function Fx(e,o){return(Array.isArray(e)?e:[e]).every(a=>{const l=o[a.id];return"contains"in a?Array.isArray(l)&&l.includes(a.contains):l===a.equals})}function Em(e,o){return!!(e.showIf&&!Fx(e.showIf,o)||e.hideIf&&Fx(e.hideIf,o))}function iF(e){if(!e)return null;const o=/^https?:\/\//i.test(e)?e:`https://${e}`;try{return new URL(o).protocol.startsWith("https")?null:"Must be an https:// URL"}catch{return"Not a valid URL"}}function lF(e,o,n){return e.required&&(o==null||o==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof o=="string"?iF(o):null}function VS({question:e,value:o,onChange:n,showError:a,answers:l}){var C;const c=Tm(),u=lF(e,o,a),[d,h]=b.useState(!1),g=e.type==="secret"&&e.savedHint&&!o&&!d,v=e.dynamicOptions,m=v?String(l[v.dependsOn]??""):"",[x,k]=b.useState([]),[w,y]=b.useState(!1),z=b.useRef(m);b.useEffect(()=>{if(!v)return;if(!m||m==="false"||m==="0"||m.startsWith("__")){k([]),z.current=m;return}if(m===z.current&&x.length>0)return;z.current=m,y(!0);const E=new AbortController;return fetch(`${v.endpoint}?${v.param}=${encodeURIComponent(m)}`,{signal:E.signal}).then(j=>j.json()).then(j=>{const M=j[v.responseKey]||[];k(M),y(!1)}).catch(()=>{E.signal.aborted||y(!1)}),()=>E.abort()},[v,m]);const _=b.useMemo(()=>{if(!v)return e.options||[];const T=(e.options||[]).filter(E=>E.value.startsWith("__"));return[...x,...T]},[v,e.options,x]),R=B.jsxs("span",{className:c.labelRow,children:[e.label,e.required?B.jsx("span",{className:c.required,"aria-hidden":!0,children:"*"}):null,e.why&&B.jsxs(iS,{withArrow:!0,children:[B.jsx(fm,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"transparent",icon:B.jsx(SR,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),B.jsx(aS,{children:B.jsx("div",{className:c.why,children:Ox(e.why)})})]})]});return B.jsxs(B.Fragment,{children:[B.jsx(uS,{label:R,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?B.jsx(vp,{value:o??"",onChange:(T,E)=>n(e.id,E.value),"aria-required":e.required||void 0}):e.type==="secret"?g?B.jsxs("div",{className:c.savedSecret,children:[B.jsx(rR,{className:c.savedSecretIcon}),B.jsx("span",{children:e.savedHint}),B.jsx(st,{appearance:"subtle",size:"small",icon:B.jsx(oR,{}),className:c.savedSecretEdit,onClick:()=>h(!0),children:"Change"})]}):B.jsx(vp,{type:"password",value:o??"",onChange:(T,E)=>n(e.id,E.value),placeholder:e.savedHint?"Enter new value to replace":void 0,"aria-required":e.required||void 0}):e.type==="confirm"?B.jsx(NS,{checked:!!o,onChange:(T,E)=>n(e.id,E.checked)}):e.type==="select"?w?B.jsx(dn,{size:"tiny",label:"Loading options…"}):B.jsx(mS,{value:((C=_.find(T=>T.value===o))==null?void 0:C.label)??"",selectedOptions:o?[String(o)]:[],onOptionSelect:(T,E)=>n(e.id,E.optionValue),children:_.map(T=>B.jsx(pS,{value:T.value,children:T.label},T.value))}):e.type==="multiselect"?B.jsx(AS,{value:Array.isArray(o)?o.join(", "):"",onChange:(T,E)=>n(e.id,E.value.split(",").map(j=>j.trim()).filter(Boolean))}):e.type==="checkboxes"?B.jsx("div",{className:c.checkboxList,children:(e.options||[]).map(T=>{const E=Array.isArray(o)&&o.includes(T.value);return B.jsx(dS,{label:T.label,checked:E,onChange:(j,M)=>{const O=Array.isArray(o)?[...o]:[];n(e.id,M.checked?Array.from(new Set([...O,T.value])):O.filter(W=>W!==T.value))}},T.value)})}):B.jsxs(Kt,{children:["Unsupported question type: ",e.type]})}),e.help&&B.jsx(ym,{className:c.help,children:Ox(e.help)})]})}function sF({question:e,answers:o,value:n,onChange:a,showError:l}){const c=Tm();return Em(e,o)?null:B.jsx("div",{className:c.card,children:B.jsx(VS,{question:e,answers:o,value:n,onChange:a,showError:l})})}function cF({group:e,questions:o,answers:n,onChange:a,showError:l}){const c=Tm(),u=o.filter(d=>!Em(d,n));return u.length===0?null:B.jsxs("div",{className:c.card,children:[B.jsxs("div",{className:c.groupHeader,children:[B.jsx(fr,{className:c.groupTitle,children:e.label}),e.help&&B.jsx(ym,{className:c.help,children:e.help})]}),B.jsx("div",{className:c.groupItems,children:u.map((d,h)=>B.jsx("div",{className:`${c.groupItem} ${h===0?c.firstGroupItem:""}`,children:B.jsx(VS,{question:d,answers:n,value:n[d.id],onChange:a,showError:l})},d.id))})]})}const uF=or({root:{height:"100%",display:"grid",gridTemplateRows:"auto 1fr auto",backgroundColor:P.colorNeutralBackground3,borderRadius:"10px",overflow:"hidden",border:`1px solid ${P.colorNeutralStroke2}`},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderBottom:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground4},spacer:{flex:1},output:{margin:0,padding:"12px 16px",overflowY:"auto",fontFamily:P.fontFamilyMonospace,fontSize:P.fontSizeBase200,lineHeight:P.lineHeightBase200,color:P.colorNeutralForeground1,whiteSpace:"pre-wrap",wordBreak:"break-word"},err:{color:P.colorPaletteRedForeground1},info:{color:P.colorNeutralForeground3,fontStyle:"italic"},footer:{display:"flex",alignItems:"center",gap:"8px",padding:"6px 12px",borderTop:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground4,color:P.colorNeutralForeground3,minHeight:"28px"},footerIdle:{color:P.colorPaletteDarkOrangeForeground1}});function qx(e){const o=Math.max(0,Math.floor(e/1e3)),n=Math.floor(o/60),a=o%60;return n===0?`${a}s`:`${n}m ${a.toString().padStart(2,"0")}s`}function dF({lines:e,status:o,onClear:n}){var y;const a=uF(),l=b.useRef(null);b.useEffect(()=>{l.current&&(l.current.scrollTop=l.current.scrollHeight)},[e]);const c=e.length,u=((y=e[c-1])==null?void 0:y.text)??"",[d,h]=b.useState(null),[g,v]=b.useState(()=>Date.now()),[m,x]=b.useState(()=>Date.now());b.useEffect(()=>{o==="running"?(h(z=>z??Date.now()),v(Date.now())):h(null)},[o]),b.useEffect(()=>{o==="running"&&v(Date.now())},[c,u,o]),b.useEffect(()=>{if(o!=="running")return;const z=window.setInterval(()=>x(Date.now()),1e3);return()=>window.clearInterval(z)},[o]);const k=b.useMemo(()=>{if(o!=="running"||d===null)return null;const z=m-d,R=m-g>2e4;return{label:R?`Still working — waiting on npm / network… (running for ${qx(z)})`:`Running for ${qx(z)}`,idle:R}},[o,d,m,g]);function w(){const z=e.map(T=>T.text).join(""),_=new Blob([z],{type:"text/plain"}),R=URL.createObjectURL(_),C=document.createElement("a");C.href=R,C.download=`wizardux-log-${Date.now()}.txt`,C.click(),URL.revokeObjectURL(R)}return B.jsxs("div",{className:a.root,children:[B.jsxs("div",{className:a.toolbar,children:[B.jsx(Ua,{children:"Live output"}),B.jsx(Kt,{style:{color:o==="error"?P.colorPaletteRedForeground1:o==="done"?P.colorPaletteGreenForeground1:P.colorNeutralForeground3},children:o==="idle"?"Idle":o==="running"?"Running…":o==="done"?"Complete":"Failed"}),B.jsx("div",{className:a.spacer}),B.jsx(st,{appearance:"subtle",size:"small",icon:B.jsx(p5,{}),onClick:w,disabled:e.length===0,children:"Save"}),n&&B.jsx(st,{appearance:"subtle",size:"small",icon:B.jsx(uR,{}),onClick:n,disabled:e.length===0,children:"Clear"})]}),B.jsx("pre",{ref:l,className:a.output,"aria-live":"polite",children:e.length===0?B.jsx("span",{className:a.info,children:"No output yet. Save the form to begin."}):e.map((z,_)=>B.jsx("span",{className:z.stream==="stderr"?a.err:void 0,children:z.text},_))}),k&&B.jsx("div",{className:`${a.footer}${k.idle?` ${a.footerIdle}`:""}`,"aria-live":"polite",children:B.jsx(Kt,{style:{color:"inherit"},children:k.label})})]})}const fF=or({root:{height:"100%",display:"flex"},main:{flex:1,height:"100%",minWidth:0,overflow:"hidden"},pane:{height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"},formWrap:{height:"100%",overflowY:"auto",padding:"24px 32px 32px",display:"flex",flexDirection:"column",gap:"16px",maxWidth:"820px",margin:"0 auto",width:"100%"},header:{display:"flex",alignItems:"center",gap:"12px",paddingBottom:"12px",borderBottom:`1px solid ${P.colorNeutralStroke2}`,marginBottom:"8px"},stepBadge:{width:"36px",height:"36px",borderRadius:"10px",display:"grid",placeItems:"center",fontWeight:700,fontSize:"15px",flexShrink:0},stepBadgePending:{background:P.colorNeutralBackground3,color:P.colorNeutralForeground2},stepBadgeDone:{background:P.colorPaletteGreenBackground2,color:P.colorPaletteGreenForeground1},stepBadgeBrand:{background:po.accent,color:"#ffffff"},headerText:{flex:1,display:"flex",flexDirection:"column",gap:"2px",minWidth:0},questions:{display:"flex",flexDirection:"column",gap:"12px"},actions:{display:"flex",gap:"8px",alignItems:"center",paddingTop:"16px",borderTop:`1px solid ${P.colorNeutralStroke2}`,marginTop:"8px"},spacer:{flex:1},inlineLog:{marginTop:"4px",border:`1px solid ${P.colorNeutralStroke2}`,borderRadius:"10px",overflow:"hidden",minHeight:"180px",maxHeight:"320px",display:"flex",flexDirection:"column"},successBanner:{display:"flex",alignItems:"center",gap:"12px",padding:"16px 20px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(16,124,16,0.10), rgba(0,120,212,0.08))",border:`1px solid ${P.colorPaletteGreenBorder1}`},successIcon:{fontSize:"24px",color:P.colorPaletteGreenForeground1,flexShrink:0},successText:{flex:1},ctaPrimary:{background:po.accent,color:"#ffffff",border:"none",boxShadow:P.shadow4,minWidth:"160px",height:"40px",fontWeight:600},terminalNote:{display:"flex",alignItems:"center",gap:"10px",padding:"14px 16px",borderRadius:"10px",background:P.colorNeutralBackground3,border:`1px solid ${P.colorNeutralStroke2}`,color:P.colorNeutralForeground2},terminalIcon:{fontSize:"20px",color:P.colorBrandForeground1,flexShrink:0},deviceCodeCard:{display:"flex",flexDirection:"column",gap:"12px",padding:"20px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(0,120,212,0.08), rgba(0,150,255,0.04))",border:`1.5px solid ${P.colorBrandStroke1}`},deviceCodeHeader:{display:"flex",alignItems:"center",gap:"8px",fontWeight:600},deviceCodeBody:{display:"flex",alignItems:"center",gap:"16px",flexWrap:"wrap"},deviceCodeValue:{fontFamily:"monospace",fontSize:"28px",fontWeight:700,letterSpacing:"4px",color:P.colorBrandForeground1,padding:"8px 16px",background:P.colorNeutralBackground1,borderRadius:"8px",border:`1px solid ${P.colorNeutralStroke2}`,userSelect:"all"}});function hF(){var F,U,te,ce,me,_e,Fe,Bt,ft;const e=fF(),o=f4(),n=Math.max(1,Math.min(9,parseInt(o.n||"1",10))),a=Zs(),l=Js(),c=Nm(),u=eF(n),[d,h]=b.useState({}),[g,v]=b.useState({}),[m,x]=b.useState(!1),[k,w]=b.useState(null),y=b.useRef(null),z=b.useMemo(()=>{var qe;return JSON.stringify((((qe=u.data)==null?void 0:qe.questions)??[]).map(et=>[et.id,et.defaultValue??""]))},[(F=u.data)==null?void 0:F.questions]);b.useEffect(()=>{if(!u.data)return;const qe={};for(const et of u.data.questions)qe[et.id]=et.defaultValue??"";h(qe),v(qe),x(!1)},[(U=u.data)==null?void 0:U.meta.number,z]),b.useEffect(()=>{w(null)},[n]);const _=E2({mutationFn:qe=>Dr.apply(n,qe),onSuccess:qe=>{w(qe.runId)}}),R=rF(n,k);b.useEffect(()=>{R.status==="done"&&(y.current&&(v(y.current),y.current=null),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["steps"]}),l.invalidateQueries({queryKey:["questions"]}))},[R.status,l,n]);const C=b.useMemo(()=>R.lines.some(qe=>qe.stream==="stderr"),[R.lines]),T=b.useRef(null);b.useEffect(()=>{var qe;if(R.status==="done"&&!C){const et=((qe=c.data)==null?void 0:qe.totalSteps)??9;T.current=setTimeout(()=>{n>=et?a("/summary"):a(`/step/${n+1}`)},1500)}return()=>{T.current&&clearTimeout(T.current)}},[R.status,n,(te=c.data)==null?void 0:te.totalSteps,a]);const E=(ce=u.data)==null?void 0:ce.meta,j=((me=u.data)==null?void 0:me.questions)??[],{primaryBlocks:M,advancedBlocks:O}=b.useMemo(()=>{const qe=xr=>{const Yt=[];for(const wr of xr){if(!wr.group){Yt.push({kind:"question",question:wr});continue}const Or=Yt[Yt.length-1];(Or==null?void 0:Or.kind)==="group"&&Or.group.id===wr.group.id?Or.questions.push(wr):Yt.push({kind:"group",group:wr.group,questions:[wr]})}return Yt},et=j.filter(xr=>!xr.advanced),Zt=j.filter(xr=>xr.advanced);return{primaryBlocks:qe(et),advancedBlocks:qe(Zt)}},[j]),W=b.useMemo(()=>JSON.stringify(d)!==JSON.stringify(g),[d,g]),Y=b.useRef(null);b.useEffect(()=>{if(u.data&&W)return Y.current&&clearTimeout(Y.current),Y.current=setTimeout(()=>{const qe={};for(const et of Object.keys(d))JSON.stringify(d[et])!==JSON.stringify(g[et])&&(qe[et]=d[et]);Object.keys(qe).length>0&&Dr.saveState(qe).catch(()=>{})},600),()=>{Y.current&&clearTimeout(Y.current)}},[d,g,W,u.data]);const fe=b.useMemo(()=>{if(!(E!=null&&E.canRunInBrowser))return[];const qe=[];for(const et of j)Em(et,d)||et.required&&(d[et.id]==null||d[et.id]==="")&&qe.push(et.label);return qe},[j,d,E]);function le(){if(E!=null&&E.canRunInBrowser){if(j.length>0&&fe.length>0){x(!0);return}y.current=d,_.mutate(d)}}const se=((Fe=(_e=c.data)==null?void 0:_e.steps.find(qe=>qe.number===n))==null?void 0:Fe.status)??"pending",ie=_.isPending||R.status==="running",Q=R.status==="done",I=((Bt=c.data)==null?void 0:Bt.totalSteps)??9,ee=n>=I,oe=E==null?void 0:E.canRunInBrowser,he=ie?E!=null&&E.readOnly?"Checking…":"Running…":Q&&C?ee?"Finish":"Continue":Q?ee?"Finish":"Continuing…":se==="done"&&W?"Save & re-run":E!=null&&E.readOnly?"Run checks":se==="done"?"Re-run":j.length===0?"Run":"Save & run";function Se(){if(Q){T.current&&clearTimeout(T.current),a(ee?"/summary":`/step/${n+1}`);return}le()}return B.jsxs("div",{className:e.root,children:[c.data&&B.jsx(aF,{steps:c.data.steps,current:n}),B.jsx("div",{className:e.main,children:B.jsx("div",{className:e.pane,children:B.jsxs("div",{className:e.formWrap,children:[B.jsxs("div",{className:e.header,children:[B.jsx("div",{className:[e.stepBadge,se==="done"?e.stepBadgeDone:se==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:se==="done"?B.jsx(pn,{}):n}),B.jsxs("div",{className:e.headerText,children:[B.jsx(wp,{style:{margin:0},children:(E==null?void 0:E.title)||"Loading…"}),B.jsxs(Kt,{style:{color:P.colorNeutralForeground3},children:["Step ",n," of ",I,E!=null&&E.optional?" · optional":""]})]})]}),(E==null?void 0:E.description)&&B.jsx(fr,{style:{color:P.colorNeutralForeground2},children:E.description}),u.isLoading&&(n===8?B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[B.jsx(dn,{size:"small"}),B.jsx(Kt,{style:{color:P.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):B.jsx(dn,{size:"small"})),E&&!oe&&B.jsxs("div",{className:e.terminalNote,children:[B.jsx(g5,{className:e.terminalIcon}),B.jsx(fr,{children:"This step requires an interactive terminal session. Use the embedded terminal or run the command in your own shell, then come back and advance."})]}),oe&&j.length>0&&B.jsx("div",{className:e.questions,children:(()=>{const qe=(Zt,xr)=>h(Yt=>({...Yt,[Zt]:xr})),et=Zt=>Zt.kind==="group"?B.jsx(cF,{group:Zt.group,questions:Zt.questions,answers:d,onChange:qe,showError:m},Zt.group.id):B.jsx(sF,{question:Zt.question,answers:d,value:d[Zt.question.id],onChange:qe,showError:m},Zt.question.id);return B.jsxs(B.Fragment,{children:[M.map(et),O.length>0&&B.jsx(r5,{collapsible:!0,children:B.jsxs(i5,{value:"advanced",children:[B.jsx(T5,{children:"Advanced options"}),B.jsx(A5,{children:B.jsx("div",{className:e.questions,children:O.map(et)})})]})})]})})()}),_.isError&&B.jsx(Jo,{intent:"error",children:B.jsx(er,{children:_.error.message})}),R.status==="error"&&B.jsx(Jo,{intent:"error",children:B.jsx(er,{children:R.error||"Step failed — see output above."})}),((ft=R.deviceCode)==null?void 0:ft.code)&&R.status==="running"&&B.jsxs("div",{className:e.deviceCodeCard,children:[B.jsxs("div",{className:e.deviceCodeHeader,children:[B.jsx(Gy,{style:{color:P.colorBrandForeground1}}),B.jsx(fr,{children:"Sign in with a device code"})]}),B.jsx(Kt,{style:{color:P.colorNeutralForeground3},children:"Open the link below, then enter the code to authenticate."}),B.jsxs("div",{className:e.deviceCodeBody,children:[B.jsx("span",{className:e.deviceCodeValue,children:R.deviceCode.code}),B.jsx(st,{appearance:"subtle",icon:B.jsx($E,{}),onClick:()=>navigator.clipboard.writeText(R.deviceCode.code),children:"Copy code"})]}),B.jsxs(st,{appearance:"primary",icon:B.jsx(Gy,{}),as:"a",href:R.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",R.deviceCode.url]})]}),Q&&B.jsxs("div",{className:e.successBanner,children:[B.jsx(pn,{className:e.successIcon}),B.jsxs("div",{className:e.successText,children:[B.jsx(fr,{style:{fontWeight:600},children:ee?"All steps complete!":C?"Step complete — review items above":"Step complete"}),B.jsx(Kt,{style:{color:P.colorNeutralForeground3},children:ee?"Heading to summary…":C?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),B.jsx(st,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(cn,{}),onClick:()=>{T.current&&clearTimeout(T.current),a(ee?"/summary":`/step/${n+1}`)},children:ee?"View summary":"Continue now"})]}),n===7&&ie&&B.jsx(Jo,{intent:"info",children:B.jsxs(er,{children:[B.jsx("strong",{children:"Scaffolding can take a few minutes."})," ","`pac code init` downloads templates, installs npm dependencies, and initializes the project. Please keep this browser tab open and stay on your network — closing the tab, sleeping the machine, or dropping VPN / Wi-Fi mid-run can interrupt the PAC CLI authentication and leave the scaffold in an incomplete state."]})}),oe&&(R.status==="running"||R.lines.length>0)&&B.jsx("div",{className:e.inlineLog,children:B.jsx(dF,{lines:R.lines,status:R.status})}),B.jsxs("div",{className:e.actions,children:[B.jsx(st,{appearance:"subtle",icon:B.jsx(aR,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),B.jsx("div",{className:e.spacer}),oe?B.jsx(st,{appearance:"primary",icon:ie?B.jsx(dn,{size:"tiny"}):Q?B.jsx(cn,{}):B.jsx(eR,{}),iconPosition:Q?"after":"before",onClick:Se,disabled:ie,children:he}):B.jsx(st,{appearance:"primary",iconPosition:"after",icon:B.jsx(cn,{}),onClick:()=>{a(ee?"/summary":`/step/${n+1}`)},children:ee?"Finish":"Next"})]})]})})})]})}const gF=or({hero:{position:"relative",minHeight:"260px",display:"grid",placeItems:"center",paddingTop:"56px",paddingRight:"32px",paddingBottom:"36px",paddingLeft:"32px"},inner:{position:"relative",zIndex:1,textAlign:"center",maxWidth:"760px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},pill:{display:"inline-flex",alignItems:"center",gap:"8px",padding:"6px 14px",borderRadius:"999px",background:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,boxShadow:P.shadow4,fontSize:P.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:P.colorBrandForeground1},title:{margin:0,background:po.accent,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",letterSpacing:"-0.02em",fontSize:"clamp(30px, 4.2vw, 44px)",lineHeight:1.1,fontWeight:700,width:"100%"},subtitle:{color:P.colorNeutralForeground2,fontSize:P.fontSizeBase400,lineHeight:1.55,maxWidth:"620px"}});function GS({eyebrowIcon:e,eyebrow:o,title:n,subtitle:a}){const l=gF();return B.jsxs("div",{className:l.hero,children:[B.jsx(IS,{}),B.jsxs("div",{className:l.inner,children:[B.jsxs("div",{className:l.pill,children:[e,o]}),B.jsx("h1",{className:l.title,children:n}),a&&B.jsx(fr,{className:l.subtitle,children:a})]})]})}const WS=or({root:{height:"100%",overflowY:"auto"},body:{position:"relative",zIndex:1,maxWidth:"1080px",margin:"0 auto",padding:"0 32px 80px",display:"grid",gap:"32px"},progressCard:{padding:"24px 28px",borderRadius:"14px",background:po.accentSoft,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,boxShadow:P.shadow8,display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},progressText:{flex:1,minWidth:"240px"},progressBar:{width:"100%",height:"6px",borderRadius:"999px",background:P.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},progressFill:{height:"100%",background:po.accent,transition:"width 280ms ease"},sectionLabel:{display:"block",color:P.colorBrandForeground1,fontSize:P.fontSizeBase200,letterSpacing:"0.08em",textTransform:"uppercase",fontWeight:600,marginBottom:"6px"},sectionTitle:{margin:0,letterSpacing:"-0.01em"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gap:"16px"},card:{padding:"20px",borderRadius:"12px",background:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,transition:"transform 220ms cubic-bezier(0.1,0.9,0.2,1), box-shadow 220ms",":hover":{transform:"translateY(-2px)",boxShadow:P.shadow8}},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:P.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:po.accent,color:"#ffffff",fontSize:"16px",flexShrink:0},field:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:"12px",paddingTop:"8px",paddingBottom:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:P.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},fieldLabel:{color:P.colorNeutralForeground3,fontWeight:500},fieldVal:{fontFamily:P.fontFamilyMonospace,color:P.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},fieldEmpty:{color:P.colorNeutralForeground4,fontStyle:"italic",fontFamily:P.fontFamilyBase},stepRow:{display:"flex",alignItems:"center",gap:"10px",paddingTop:"8px",paddingBottom:"8px"},stepIconDone:{color:P.colorPaletteGreenForeground1,fontSize:"18px"},stepIconCurrent:{color:P.colorBrandForeground1,fontSize:"12px"},stepIconPending:{color:P.colorNeutralForeground4,fontSize:"14px"},actions:{display:"flex",justifyContent:"center",gap:"12px",flexWrap:"wrap",marginTop:"8px"},ctaPrimary:{background:po.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:P.shadow8,minWidth:"200px",height:"44px",fontWeight:600},launchCard:{padding:"22px 24px",borderRadius:"14px",background:"linear-gradient(145deg, rgba(16,124,16,0.12), rgba(0,120,212,0.1))",borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,boxShadow:P.shadow8,display:"grid",gap:"14px"},launchTitle:{margin:0,color:P.colorNeutralForeground1,letterSpacing:"-0.01em"},launchUrl:{display:"block",padding:"12px 14px",borderRadius:"10px",textDecorationLine:"none",fontFamily:P.fontFamilyMonospace,background:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,color:P.colorBrandForeground1,overflowWrap:"anywhere",":hover":{textDecorationLine:"underline"}},launchActions:{display:"flex",gap:"10px",flexWrap:"wrap"},launchBtn:{background:po.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:P.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function eo({label:e,value:o}){const n=WS(),a=!o||o.trim()==="";return B.jsxs("div",{className:n.field,children:[B.jsx(Kt,{className:n.fieldLabel,children:e}),B.jsx(Kt,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":o})]})}function pF(){var m,x,k,w,y,z,_,R,C;const e=WS(),o=Cm(),n=Nm(),a=((m=o.data)==null?void 0:m.state)??{},l=((x=o.data)==null?void 0:x.completed)??0,c=((k=o.data)==null?void 0:k.totalSteps)??9,u=((w=o.data)==null?void 0:w.next)??1,d=Math.round(l/Math.max(1,c)*100),h=l>=c,g=((z=(y=o.data)==null?void 0:y.powerApp)==null?void 0:z.launchUrl)||"",v=((R=(_=o.data)==null?void 0:_.powerApp)==null?void 0:R.targetEnv)||a.WIZARD_TARGET_ENV||"dev";return B.jsxs("div",{className:e.root,children:[B.jsx(GS,{eyebrowIcon:B.jsx(qi,{}),eyebrow:"Project Summary",title:"Everything captured for this project",subtitle:"Live values from .wizard-state.json — the single source of truth for how your Code App is wired together."}),B.jsxs("div",{className:e.body,children:[B.jsxs("div",{className:e.progressCard,children:[B.jsxs("div",{className:e.progressText,children:[B.jsx($o,{style:{display:"block",color:P.colorBrandForeground1,marginBottom:"4px"},children:h?"Setup complete":"In progress"}),B.jsxs(Ii,{style:{margin:0},children:[l," of ",c," steps complete · ",d,"%"]}),B.jsx("div",{className:e.progressBar,"aria-hidden":!0,children:B.jsx("div",{className:e.progressFill,style:{width:`${d}%`}})})]}),!h&&B.jsx(ln,{to:`/step/${u}`,children:B.jsx(st,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(cn,{}),children:"Continue setup"})}),h&&g&&B.jsx(st,{className:e.ctaPrimary,size:"large",as:"a",href:g,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(cn,{}),children:"Open Power App"})]}),h&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Launch"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:"You did it. Your app is ready to launch."}),B.jsx("div",{className:e.launchCard,style:{marginTop:"16px"},children:g?B.jsxs(B.Fragment,{children:[B.jsxs($o,{className:e.launchTitle,children:["Power Apps URL (",String(v).toUpperCase(),")"]}),B.jsx("a",{className:e.launchUrl,href:g,target:"_blank",rel:"noopener noreferrer",children:g}),B.jsx("div",{className:e.launchActions,children:B.jsx(st,{className:e.launchBtn,as:"a",href:g,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(cn,{}),children:"Launch App Now"})})]}):B.jsxs(B.Fragment,{children:[B.jsx($o,{className:e.launchTitle,children:"Power Apps URL not available yet"}),B.jsx(Kt,{children:'Complete Step 9 with "Push to Power Platform" enabled to generate and surface your launch URL here.'})]})})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Project values"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:"What the wizard knows about your app"}),B.jsxs("div",{className:e.grid,style:{marginTop:"20px"},children:[B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(qi,{})}),B.jsx($o,{children:"Project"})]}),B.jsx(eo,{label:"App name",value:a.APP_NAME}),B.jsx(eo,{label:"Project dir",value:a.PROJECT_DIR})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(qi,{})}),B.jsx($o,{children:"Environments"})]}),B.jsx(eo,{label:"Dev",value:a.PP_ENV_DEV}),B.jsx(eo,{label:"Test",value:a.PP_ENV_TEST}),B.jsx(eo,{label:"Prod",value:a.PP_ENV_PROD}),B.jsx(eo,{label:"Active target",value:a.WIZARD_TARGET_ENV})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(qi,{})}),B.jsx($o,{children:"Identity"})]}),B.jsx(eo,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(eo,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(eo,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(eo,{label:"Credential storage",value:a.AUTH_MODE})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(qi,{})}),B.jsx($o,{children:"Publisher"})]}),B.jsx(eo,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),B.jsx(eo,{label:"Prefix",value:a.PUBLISHER_PREFIX}),B.jsx(eo,{label:"Choice value prefix",value:a.CHOICE_VALUE_PREFIX})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(qi,{})}),B.jsx($o,{children:"Solution"})]}),B.jsx(eo,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),B.jsx(eo,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),B.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&B.jsx(dn,{size:"small"}),(C=n.data)==null?void 0:C.steps.map(T=>B.jsxs("div",{className:e.stepRow,children:[T.status==="done"&&B.jsx(pn,{className:e.stepIconDone}),T.status==="current"&&B.jsx(tm,{className:e.stepIconCurrent}),T.status==="pending"&&B.jsx(om,{className:e.stepIconPending}),B.jsxs(fr,{style:{flex:1},children:[B.jsx("span",{style:{color:P.colorNeutralForeground3,marginRight:"8px"},children:String(T.number).padStart(2,"0")}),T.title]}),T.status==="done"&&B.jsx(dr,{appearance:"filled",color:"success",size:"small",children:"Done"}),T.status==="current"&&B.jsx(dr,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},T.number))]})]}),!o.data&&B.jsx(Jo,{intent:"info",children:B.jsx(er,{children:"Loading state…"})}),B.jsxs("div",{className:e.actions,children:[B.jsx(ln,{to:"/",children:B.jsx(st,{appearance:"subtle",icon:B.jsx(v5,{}),children:"Home"})}),!h&&B.jsx(ln,{to:`/step/${u}`,children:B.jsx(st,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(cn,{}),children:"Continue setup"})})]})]})]})}const XS=or({root:{height:"100%",overflowY:"auto"},body:{position:"relative",zIndex:1,maxWidth:"1080px",margin:"0 auto",padding:"0 32px 80px",display:"grid",gap:"32px"},sectionLabel:{display:"block",color:P.colorBrandForeground1,fontSize:P.fontSizeBase200,letterSpacing:"0.08em",textTransform:"uppercase",fontWeight:600,marginBottom:"6px"},sectionTitle:{margin:0,letterSpacing:"-0.01em"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(320px, 1fr))",gap:"16px",marginTop:"20px"},card:{padding:"20px",borderRadius:"12px",background:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:P.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:po.accent,color:"#ffffff",fontSize:"16px",flexShrink:0},row:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",paddingTop:"8px",paddingBottom:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:P.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},rowLabel:{color:P.colorNeutralForeground3,display:"flex",alignItems:"center",gap:"6px"},rowVal:{fontFamily:P.fontFamilyMonospace,color:P.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},rowValMissing:{color:P.colorPaletteRedForeground1,fontStyle:"italic",fontFamily:P.fontFamilyBase},pre:{margin:0,padding:"16px",background:P.colorNeutralBackground3,borderRadius:"10px",overflowX:"auto",fontFamily:P.fontFamilyMonospace,fontSize:P.fontSizeBase200,lineHeight:1.6,color:P.colorNeutralForeground1,maxHeight:"480px",overflowY:"auto"}});function Ea({icon:e,label:o,value:n,ok:a,neutral:l}){const c=XS(),u=!n,d=l?B.jsx(ld,{style:{color:P.colorBrandForeground1}}):a?B.jsx(pn,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(xR,{style:{color:P.colorPaletteRedForeground1}});return B.jsxs("div",{className:c.row,children:[B.jsxs(Kt,{className:c.rowLabel,children:[d,e,o]}),B.jsx(Kt,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function mF(){var l;const e=XS(),o=US(),n=Cm(),a=o.data;return B.jsxs("div",{className:e.root,children:[B.jsx(GS,{eyebrowIcon:B.jsx(tR,{}),eyebrow:"Diagnostics",title:"What the wizard sees on this machine",subtitle:"A read-only view of system tooling and the raw .wizard-state.json. If something looks off, this is where you check first."}),B.jsxs("div",{className:e.body,children:[!a&&B.jsx(dn,{size:"medium"}),a&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Environment"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:"Tooling and host detection"}),B.jsxs("div",{className:e.grid,children:[B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(h5,{})}),B.jsx($o,{children:"Host"})]}),B.jsx(Ea,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),B.jsx(Ea,{ok:!!a.node,label:"Node.js",value:a.node}),B.jsx(Ea,{ok:!!a.git,label:"Git",value:a.git}),B.jsx(Ea,{ok:!!a.dotnet,label:".NET SDK",value:a.dotnet})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(dR,{})}),B.jsx($o,{children:"Power Platform tooling"})]}),B.jsx(Ea,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),B.jsxs("div",{className:e.row,children:[B.jsxs(Kt,{className:e.rowLabel,children:[a.op?B.jsx(pn,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(ld,{style:{color:P.colorBrandForeground1}}),"1Password CLI"]}),B.jsx(dr,{appearance:"filled",color:a.op?"success":"informative",children:a.op?a.op:"optional · not installed"})]})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(cR,{})}),B.jsx($o,{children:"Repository"})]}),B.jsx(Ea,{neutral:!0,label:"Branch",value:a.branch}),B.jsxs("div",{className:e.row,children:[B.jsxs(Kt,{className:e.rowLabel,children:[a.repoIsClean?B.jsx(pn,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(ld,{style:{color:P.colorPaletteYellowForeground1}}),"Working tree"]}),B.jsx(dr,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),B.jsx(Ea,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Raw state"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),B.jsx(fr,{style:{color:P.colorNeutralForeground2,marginTop:"8px",marginBottom:"16px"},children:"The exact contents the server sees on disk. This is what every step reads from and writes to."}),B.jsx("pre",{className:e.pre,children:JSON.stringify(((l=n.data)==null?void 0:l.state)??{},null,2)})]})]})]})}const vF=or({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:P.colorNeutralBackground1,color:P.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function bF(){const e=vF();return B.jsxs("div",{className:e.root,children:[B.jsx(YO,{}),B.jsx("div",{className:e.body,children:B.jsxs(N4,{children:[B.jsx(Pi,{path:"/",element:B.jsx(oF,{})}),B.jsx(Pi,{path:"/step/:n",element:B.jsx(hF,{})}),B.jsx(Pi,{path:"/summary",element:B.jsx(pF,{})}),B.jsx(Pi,{path:"/diagnostics",element:B.jsx(mF,{})}),B.jsx(Pi,{path:"*",element:B.jsx(z4,{to:"/",replace:!0})})]})})]})}const yF=new A_({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),xF=document.getElementById("root");NB.createRoot(xF).render(B.jsx(b.StrictMode,{children:B.jsx(D_,{client:yF,children:B.jsx(VO,{children:B.jsx(Y4,{children:B.jsx(bF,{})})})})}));
141
+ */var fx;function I7(){if(fx)return Mg;fx=1;var e=md();function o(m,x){return m===x&&(m!==0||1/m===1/x)||m!==m&&x!==x}var n=typeof Object.is=="function"?Object.is:o,a=e.useState,l=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue;function d(m,x){var k=x(),w=a({inst:{value:k,getSnapshot:x}}),y=w[0].inst,z=w[1];return c(function(){y.value=k,y.getSnapshot=x,h(y)&&z({inst:y})},[m,k,x]),l(function(){return h(y)&&z({inst:y}),m(function(){h(y)&&z({inst:y})})},[m]),u(k),k}function h(m){var x=m.getSnapshot;m=m.value;try{var k=x();return!n(m,k)}catch{return!0}}function g(m,x){return x()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:d;return Mg.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,Mg}var hx;function U7(){return hx||(hx=1,Dg.exports=I7()),Dg.exports}var V7=U7();function gx(e,o){return{topLeft:[e.left-o[0],e.top-o[1]],topRight:[e.right-o[0],e.top-o[1]],bottomRight:[e.right-o[0],e.bottom-o[1]],bottomLeft:[e.left-o[0],e.bottom-o[1]]}}const px=20;function J5(e,o){return Math.sqrt((e[0]-o[0])**2+(e[1]-o[1])**2)}function G7(e,o){const n=J5(e,o);return n===0?[0,0]:[(e[0]-o[0])/n,(e[1]-o[1])/n]}function W7(e,o,n){const a=[(e[0]+o[0])/2,(e[1]+o[1])/2],l=G7([n[0],n[1]],[a[0],a[1]]),c=J5([a[0],a[1]],[n[0],n[1]]);return[a[0]+l[0]*(c+px),a[1]+l[1]*(c+px)]}function Mu(e){return`M ${e} z`}const X7=ve({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},triangle:{Bkecrkj:"f1cguypg"},triangleDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function mx(e){if(e.width<=0||e.height<=0)return"";let o="";return o+=`M ${e.x},${e.y} `,o+=`V ${e.y+e.height} `,o+=`H ${e.x+e.width} `,o+=`V ${e.y} `,o+=`H ${e.x} `,o+="Z ",o}function $7(e,o,n,a){let l=`M 0,0 H ${e} V ${o} H 0 Z `;return l+=mx(n),l+=mx(a),l}const vx={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON(){return""}};function bx(e,o){return e.top===o.top&&e.right===o.right&&e.bottom===o.bottom&&e.left===o.left&&e.width===o.width&&e.height===o.height}function K7(e,o){return e[0]===o[0]&&e[1]===o[1]}const Q7=b.memo(e=>{const{debug:o,onMouseEnter:n,onMouseMove:a,onMouseLeave:l,stateStore:c}=e,u=Qt(),d=X7(),h=V7.useSyncExternalStore(c.subscribe,c.isActive),g=b.useRef(null),[v,m]=b.useState(()=>({containerRect:vx,targetRect:vx,mouseCoordinates:[0,0]}));b.useImperativeHandle(e.imperativeRef,()=>({updateSVG(ie){m(Q=>bx(Q.containerRect,ie.containerRect)&&bx(Q.targetRect,ie.targetRect)&&K7(Q.mouseCoordinates,ie.mouseCoordinates)?Q:ie)}}),[]);const{containerRect:x,targetRect:k,mouseCoordinates:w}=v,y=Math.min(k.top,x.top),z=Math.min(k.left,x.left),_=Math.max(k.bottom,x.bottom),R=Math.max(k.right,x.right),C=gx(x,[z,y]),T=gx(k,[z,y]),E=[w[0]-z,w[1]-y],j=W7(C.topLeft,C.bottomRight,E),M=[j,C.topLeft,C.topRight],O=[j,C.topRight,C.bottomRight],W=[j,C.bottomRight,C.bottomLeft],Y=[j,C.bottomLeft,C.topLeft],fe=R-z,le=_-y,se=$7(fe,le,{x:T.topLeft[0],y:T.topLeft[1],width:k.width,height:k.height},{x:C.topLeft[0],y:C.topLeft[1],width:x.width,height:x.height});return b.createElement("div",{className:de(d.wrapper,h&&d.wrapperActive),"data-safe-zone":""},h?b.createElement("svg",{"aria-hidden":!0,className:d.svg,xmlns:"http://www.w3.org/2000/svg",ref:g,style:{width:`${fe}px`,height:`${le}px`,transform:`translate(${z}px, ${y}px)`}},b.createElement("g",{className:de(d.triangle,o&&d.triangleDebug),clipPath:`url(#${u})`,onMouseEnter:n,onMouseMove:a,onMouseLeave:l},b.createElement("path",{d:Mu(M)}),b.createElement("path",{d:Mu(O)}),b.createElement("path",{d:Mu(W)}),b.createElement("path",{d:Mu(Y)})),b.createElement("clipPath",{id:u},b.createElement("path",{d:se})),o&&b.createElement("path",{className:d.rectDebug,d:se})):null)}),Z7=2e3;function Y7({debug:e=!1,disabled:o=!1,onSafeZoneEnter:n,onSafeZoneMove:a,onSafeZoneLeave:l,onSafeZoneTimeout:c,timeout:u=1500}={}){const[d]=b.useState(L7),h=b.useRef(null),g=b.useRef(null),v=b.useRef(null),[m,x]=xl(),[k,w]=iC(),y=b.useRef({x:0,y:0}),z=b.useMemo(()=>{if(o)return()=>{};let E=null;function j(){x(),d.toggleActive(!1)}return M=>{M===null&&(E==null||E.removeEventListener("mouseenter",j)),E=M,M==null||M.addEventListener("mouseenter",j)}},[x,o,d]),_=b.useMemo(()=>{if(o)return()=>{};let E=null;function j(M){y.current={x:M.clientX,y:M.clientY},d.isActive()||d.toggleActive(!0),m(()=>{d.toggleActive(!1)},Z7)}return M=>{M===null&&(w(),x(),E==null||E.removeEventListener("mousemove",j)),E=M,M==null||M.addEventListener("mousemove",j)}},[w,x,o,d,m]),R=pe(E=>{n==null||n(E),m(()=>{d.toggleActive(!1),c==null||c()},u)}),C=pe(E=>{m(()=>{d.toggleActive(!1),c==null||c()},u),a==null||a(E)}),T=pe(E=>{l==null||l(E)});return b.useEffect(()=>d.subscribe(E=>{if(E){let M=function(){const O=g.current,W=v.current;if(O&&W){var Y;(Y=h.current)===null||Y===void 0||Y.updateSVG({containerRect:O.getBoundingClientRect(),mouseCoordinates:[y.current.x,y.current.y],targetRect:W.getBoundingClientRect()})}k(M)};var j=M;M();return}w()}),[w,k,d]),{containerRef:at(g,z),targetRef:at(v,_),elementToRender:b.useMemo(()=>o?null:b.createElement(Q7,{debug:e,onMouseEnter:R,onMouseMove:C,onMouseLeave:T,imperativeRef:h,stateStore:d}),[o,e,R,C,T,d])}}const dm=Qa(void 0),eS={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1};dm.Provider;const Vt=e=>kl(dm,(o=eS)=>e(o)),J7=(e,o)=>{const n=Vt(u=>u.size),a=Vt(u=>u.appearance),l=Ad(),c=e8(e,at(o,l));return{appearance:a,size:n,...c}},e8=(e,o)=>{const n=Vt(z=>z.contentRef),a=Vt(z=>z.openOnHover),l=Vt(z=>z.setOpen),c=Vt(z=>z.mountNode),u=Vt(z=>z.arrowRef),d=Vt(z=>z.withArrow),h=Vt(z=>z.trapFocus),g=Vt(z=>z.inertTrapFocus),v=Vt(z=>z.inline),{modalAttributes:m}=jd({trapFocus:h,legacyTrapFocus:!g,alwaysFocusable:!h}),x={inline:v,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ne({ref:at(o,n),role:h?"dialog":"group","aria-modal":h?!0:void 0,...m,...e},{elementType:"div"})},{onMouseEnter:k,onMouseLeave:w,onKeyDown:y}=x.root;return x.root.onMouseEnter=z=>{a&&l(z,!0),k==null||k(z)},x.root.onMouseLeave=z=>{a&&l(z,!1),w==null||w(z)},x.root.onKeyDown=z=>{var _;z.key==="Escape"&&(!((_=n.current)===null||_===void 0)&&_.contains(z.target))&&(z.preventDefault(),l(z,!1)),y==null||y(z)},x};function t8(e){return pr(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const o8=Zu.useInsertionEffect?Zu.useInsertionEffect:Dt,tS=Symbol.for("fui-portal-style-ref-count"),r8="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",oS="fui-portal-styles";function rS(e){var o;return(o=e[tS])!==null&&o!==void 0?o:0}function mp(e,o){e[tS]=o}function n8(e){var o;const n=rS(e);if(n>0){mp(e,n+1);return}const a=e.createElement("style");a.id=oS,e.head.prepend(a),(o=a.sheet)===null||o===void 0||o.insertRule(r8),mp(e,1)}function a8(e){const o=rS(e);if(o===0)return;const n=o-1;if(n===0){var a;(a=e.head.querySelector(`#${oS}`))===null||a===void 0||a.remove()}mp(e,n)}function i8(e){const{targetDocument:o}=Qe();o8(()=>{if(!(e||!o))return n8(o),()=>a8(o)},[e,o])}const nS=Zu.useInsertionEffect,l8=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,c=b.useMemo(()=>{if(l===void 0||e.disabled)return null;const u=l.ownerDocument.createElement("div");return l.appendChild(u),u},[l,e.disabled]);return b.useMemo(()=>{c&&(c.className=o,c.setAttribute("dir",n),c.setAttribute("data-portal-node","true"),a.current=c)},[o,n,c,a]),b.useEffect(()=>()=>{c==null||c.remove()},[c]),c},s8=()=>{let e;function o(a,l){return e||(l&&(e=a.ownerDocument.createElement("div"),a.appendChild(e)),e)}function n(){e&&(e.remove(),e=void 0)}return{get:o,dispose:n}},c8=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,[c]=b.useState(s8),u=b.useMemo(()=>l===void 0||e.disabled?null:new Proxy({},{get(d,h){if(h==="nodeType")return 1;if(h==="remove"){const m=c.get(l,!1);return m&&m.childNodes.length===0&&c.dispose(),()=>{}}const g=c.get(l,!0),v=g?g[h]:void 0;return typeof v=="function"?v.bind(g):v},set(d,h,g){const v=h==="_virtual"||h==="focusVisible",m=v?c.get(l,!1):c.get(l,!0);return v&&!m?!0:m?(Object.assign(m,{[h]:g}),!0):!1}}),[c,l,e.disabled]);return nS(()=>{if(u)return u.setAttribute("class",o),u.setAttribute("dir",n),u.setAttribute("data-portal-node","true"),a.current=u,()=>{u.removeAttribute("class"),u.removeAttribute("dir")}},[o,n,u,a]),b.useEffect(()=>()=>{u==null||u.remove()},[u]),u},u8=nS?c8:l8,d8=e=>{"use no memo";const{targetDocument:o,dir:n}=Qe(),a=oC(),l=qw(),c=X6(),u={dir:n,disabled:e.disabled,focusVisibleRef:l,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(o==null?void 0:o.body)};return i8(e.disabled),u8(u)},f8=e=>{const{element:o,className:n}=t8(e.mountNode),a=b.useRef(null),l=d8({disabled:!!o,className:n}),c=o??l,u={children:e.children,mountNode:c,virtualParentRootRef:a};return b.useEffect(()=>{if(!c)return;const d=a.current,h=c.contains(d);if(d&&!h)return By(c,d),()=>{By(c,void 0)}},[a,c]),u},h8=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Pg.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),Tl=e=>{const o=f8(e);return h8(o)};Tl.displayName="Portal";const g8=e=>{const o=it(e.root,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?o:ne(Tl,{mountNode:e.mountNode,children:o})},p8={root:"fui-PopoverSurface"},m8={small:6,medium:8,large:8},v8=ve({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",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:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),b8=e=>{"use no memo";const o=v8();return e.root.className=de(p8.root,o.root,e.inline&&o.inline,e.size==="small"&&o.smallPadding,e.size==="medium"&&o.mediumPadding,e.size==="large"&&o.largePadding,e.appearance==="inverted"&&o.inverted,e.appearance==="brand"&&o.brand,e.root.className),e.arrowClassName=de(o.arrow,e.size==="small"?o.smallArrow:o.mediumLargeArrow),e},aS=b.forwardRef((e,o)=>{const n=J7(e,o);return b8(n),Xe("usePopoverSurfaceStyles_unstable")(n),g8(n)});aS.displayName="PopoverSurface";const y8=4,yx=Le.durationSlower,xx=Le.curveDecelerateMid,wx=_l(({distance:e=10})=>({enter:[la({duration:yx,easing:xx,direction:"enter"}),{...j5({duration:yx,easing:xx,direction:"enter",outX:`calc(var(${sd}, 0px) * ${e})`,outY:`calc(var(${cd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),x8=e=>{const{appearance:o,size:n="medium"}=e,a=Nl(e.positioning),l=e.withArrow&&!a.coverTarget,{targetDocument:c}=Qe(),u=D5({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=w8({...e,positioning:{...a,onPositioningEnd:u,...l?{offset:K5(a.offset,m8[n])}:{}}});return{components:{surfaceMotion:wx},appearance:o,size:n,...d,surfaceMotion:ic(e.surfaceMotion,{elementType:wx,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},w8=e=>{const[o,n]=Y5(),a={contextTarget:o,setContextTarget:n,...e},l=b.Children.toArray(e.children);let c,u;l.length===2?(c=l[0],u=l[1]):l.length===1&&(u=l[0]);const[d,h]=S8(a),[g,v]=xl(),m=pe((E,j)=>{if(v(),!(E instanceof Event)&&E.persist&&E.persist(),E.type==="mouseleave"){var M;g(()=>{h(E,j)},(M=e.mouseLeaveDelay)!==null&&M!==void 0?M:500)}else h(E,j)}),x=b.useCallback(E=>{m(E,!d)},[m,d]),k=k8(a),{targetDocument:w}=Qe();var y;Gp({contains:Os,element:w,callback:E=>m(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d,disabledFocusOnIframe:!(!((y=e.closeOnIframeFocus)!==null&&y!==void 0)||y)});const z=a.openOnContext||a.closeOnScroll;vw({contains:Os,element:w,callback:E=>m(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d||!z});const{findFirstFocusable:_}=rc(),R=dT();b.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const E=k.contentRef.current;if(d&&E){var j;const M=!isNaN((j=E.getAttribute("tabIndex"))!==null&&j!==void 0?j:void 0),O=M?E:_(E);O==null||O.focus(),M&&R(E)}},[_,R,d,k.contentRef,e.unstable_disableAutoFocus]);var C,T;return{...a,...k,inertTrapFocus:(C=e.inertTrapFocus)!==null&&C!==void 0?C:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:u,open:d,setOpen:m,toggleOpen:x,setContextTarget:n,contextTarget:o,inline:(T=e.inline)!==null&&T!==void 0?T:!1}};function S8(e){"use no memo";const o=pe((u,d)=>{var h;return(h=e.onOpenChange)===null||h===void 0?void 0:h.call(e,u,d)}),[n,a]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=n!==void 0?n:e.open;const l=e.setContextTarget,c=b.useCallback((u,d)=>{d&&u.type==="contextmenu"&&l(u),d||l(void 0),a(d),o==null||o(u,{open:d})},[a,o,l]);return[n,c]}function k8(e){"use no memo";const o={position:"above",align:"center",arrowPadding:2*y8,target:e.openOnContext?e.contextTarget:void 0,...Nl(e.positioning)};o.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:l}=Pd(o);return{triggerRef:n,contentRef:a,arrowRef:l}}function B8(e){const{appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:g,size:v,toggleOpen:m,trapFocus:x,triggerRef:k,withArrow:w,inertTrapFocus:y}=e;return{popover:b.useMemo(()=>({appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:g,size:v,toggleOpen:m,trapFocus:x,triggerRef:k,withArrow:w,inertTrapFocus:y}),[o,n,a,l,c,u,d,h,g,v,m,x,k,w,y])}}const _8=(e,o)=>{var n;return it(dm.Provider,{value:(n=o==null?void 0:o.popover)!==null&&n!==void 0?n:eS,children:[e.popoverTrigger,e.popoverSurface&&ne(e.surfaceMotion,{children:ne(Dd,{children:e.popoverSurface})})]})},iS=e=>{const o=x8(e),n=B8(o);return _8(o,n)};iS.displayName="Popover";const z8=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=oc(o),l=Vt(C=>C.open),c=Vt(C=>C.setOpen),u=Vt(C=>C.toggleOpen),d=Vt(C=>C.triggerRef),h=Vt(C=>C.openOnHover),g=Vt(C=>C.openOnContext),{triggerAttributes:v}=jd(),m=C=>{g&&(C.preventDefault(),c(C,!0))},x=C=>{g||u(C)},k=C=>{C.key===Bl&&l&&!C.isDefaultPrevented()&&(c(C,!1),C.preventDefault())},w=C=>{h&&c(C,!0)},y=C=>{h&&c(C,!1)},z={...v,"aria-expanded":`${l}`,...a==null?void 0:a.props,onMouseEnter:pe(Ae(a==null?void 0:a.props.onMouseEnter,w)),onMouseLeave:pe(Ae(a==null?void 0:a.props.onMouseLeave,y)),onContextMenu:pe(Ae(a==null?void 0:a.props.onContextMenu,m)),ref:at(d,tc(a))},_={...z,onClick:pe(Ae(a==null?void 0:a.props.onClick,x)),onKeyDown:pe(Ae(a==null?void 0:a.props.onKeyDown,k))},R=Xa((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",_);return{children:Cd(e.children,Xa((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",g?z:n?_:R))}},C8=e=>e.children,fm=e=>{const o=z8(e);return C8(o)};fm.displayName="PopoverTrigger";fm.isFluentTriggerComponent=!0;const N8=6,T8=4,E8=e=>-1,R8=e=>{};function j8(e){const{targetDocument:o}=Qe(),n=o==null?void 0:o.defaultView,a=n?n.setTimeout:E8,l=n?n.clearTimeout:R8,c=b.useRef(void 0),u=b.useCallback((h,g)=>(c.current!==void 0&&l(c.current),c.current=a(h,g??0),c.current),[l,a]),d=b.useCallback(()=>{c.current!==void 0&&(l(c.current),c.current=void 0)},[l]);return b.useEffect(()=>{const h=e.current;return()=>{(!h||!h.isConnected)&&d()}},[d,e]),[u,d]}const A8=e=>{"use no memo";var o,n,a,l,c,u,d;const h=Q6(),g=dC(),{targetDocument:v}=Qe(),[m,x]=Ao({state:e.visible,initialState:!1}),{children:k,content:w,withArrow:y=!1,positioning:z="above",onVisibleChange:_,relationship:R,showDelay:C=250,hideDelay:T=250,mountNode:E}=e,j={withArrow:y,positioning:z,showDelay:C,hideDelay:T,relationship:R,visible:m,shouldRenderTooltip:m,mountNode:E,components:{content:"div"},content:Ne(w,{defaultProps:{role:"tooltip"},elementType:"div"})};j.content.id=Qt("tooltip-",j.content.id);const M={enabled:j.visible,arrowPadding:2*T8,position:"above",align:"center",offset:4,...Nl(j.positioning)};j.withArrow&&(M.offset=K5(M.offset,N8));const{targetRef:O,containerRef:W,arrowRef:Y}=Pd(M),[fe,le]=j8(W),se=b.useCallback((U,te)=>{le(),x(ce=>(te.visible!==ce&&(_==null||_(U,te)),te.visible))},[le,x,_]);j.content.ref=at(j.content.ref,W),j.arrowRef=Y,Dt(()=>{if(m){var U;const te={hide:me=>se(void 0,{visible:!1,documentKeyboardEvent:me})};(U=h.visibleTooltip)===null||U===void 0||U.hide(),h.visibleTooltip=te;const ce=me=>{me.key===Bl&&!me.defaultPrevented&&(te.hide(me),me.preventDefault())};return v==null||v.addEventListener("keydown",ce,{capture:!0}),()=>{h.visibleTooltip===te&&(h.visibleTooltip=void 0),v==null||v.removeEventListener("keydown",ce,{capture:!0})}}},[h,v,m,se]);const ie=b.useRef(!1),Q=b.useCallback(U=>{if(U.type==="focus"&&ie.current){ie.current=!1;return}const te=h.visibleTooltip?0:j.showDelay;fe(()=>{se(U,{visible:!0})},te),U.persist()},[fe,se,j.showDelay,h]),I=cT(),[ee]=b.useState(()=>{const U=ce=>{var me;!((me=ce.detail)===null||me===void 0)&&me.isFocusedProgrammatically&&!I()&&(ie.current=!0)};let te=null;return ce=>{te==null||te.removeEventListener(Do,U),ce==null||ce.addEventListener(Do,U),te=ce}}),oe=b.useCallback(U=>{let te=j.hideDelay;U.type==="blur"&&(te=0,ie.current=(v==null?void 0:v.activeElement)===U.target),fe(()=>{se(U,{visible:!1})},te),U.persist()},[fe,se,j.hideDelay,v]);j.content.onPointerEnter=Ae(j.content.onPointerEnter,le),j.content.onPointerLeave=Ae(j.content.onPointerLeave,oe),j.content.onFocus=Ae(j.content.onFocus,le),j.content.onBlur=Ae(j.content.onBlur,oe);const he=oc(k),Se={},F=(he==null||(o=he.props)===null||o===void 0?void 0:o["aria-haspopup"])&&((he==null||(n=he.props)===null||n===void 0?void 0:n["aria-expanded"])===!0||(he==null||(a=he.props)===null||a===void 0?void 0:a["aria-expanded"])==="true");return R==="label"?typeof j.content.children=="string"?Se["aria-label"]=j.content.children:(Se["aria-labelledby"]=j.content.id,j.shouldRenderTooltip=!0):R==="description"&&(Se["aria-describedby"]=j.content.id,j.shouldRenderTooltip=!0),(g||F)&&(j.shouldRenderTooltip=!1),j.children=Cd(k,{...Se,...he==null?void 0:he.props,ref:at(tc(he),ee,M.target===void 0?O:void 0),onPointerEnter:pe(Ae(he==null||(l=he.props)===null||l===void 0?void 0:l.onPointerEnter,Q)),onPointerLeave:pe(Ae(he==null||(c=he.props)===null||c===void 0?void 0:c.onPointerLeave,oe)),onFocus:pe(Ae(he==null||(u=he.props)===null||u===void 0?void 0:u.onFocus,Q)),onBlur:pe(Ae(he==null||(d=he.props)===null||d===void 0?void 0:d.onBlur,oe))}),j},D8=e=>{"use no memo";const{appearance:o="normal",...n}=e,a=A8(n);return{appearance:o,...a}},M8=e=>it(b.Fragment,{children:[e.children,e.shouldRenderTooltip&&ne(Tl,{mountNode:e.mountNode,children:it(e.content,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),O8={content:"fui-Tooltip__content"},F8=ve({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",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:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),q8=e=>{"use no memo";const o=F8();return e.content.className=de(O8.content,o.root,e.appearance==="inverted"&&o.inverted,e.visible&&o.visible,e.content.className),e.arrowClassName=o.arrow,e},Ld=e=>{const o=D8(e);return q8(o),Xe("useTooltipStyles_unstable")(o),M8(o)};Ld.displayName="Tooltip";Ld.isFluentTriggerComponent=!0;const H8=e=>{const{iconOnly:o,iconPosition:n}=e;return it(e.root,{children:[n!=="after"&&e.icon&&ne(e.icon,{}),!o&&e.root.children,n==="after"&&e.icon&&ne(e.icon,{})]})},lS=b.createContext(void 0),P8={};lS.Provider;const L8=()=>{var e;return(e=b.useContext(lS))!==null&&e!==void 0?e:P8},I8=(e,o)=>{const{size:n}=L8(),{appearance:a="secondary",shape:l="rounded",size:c=n??"medium",...u}=e,d=U8(u,o);return{appearance:a,shape:l,size:c,...d}},U8=(e,o)=>{const{icon:n,iconPosition:a="before",...l}=e,c=De(n,{elementType:"span"});var u,d;return{disabled:(u=e.disabled)!==null&&u!==void 0?u:!1,disabledFocusable:(d=e.disabledFocusable)!==null&&d!==void 0?d:!1,iconPosition:a,iconOnly:!!(c!=null&&c.children&&!e.children),components:{root:"button",icon:"span"},root:Ne(Xa(l.as,l),{elementType:"button",defaultProps:{ref:o,type:e.as!=="a"?"button":void 0}}),icon:c}},Sx={root:"fui-Button",icon:"fui-Button__icon"},V8=Ee("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;}}"]}),G8=Ee("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);}"]),W8=ve({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)"}]]}),X8=ve({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)"}]]}),$8=ve({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;}}"]}),K8=ve({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;}"]}),Q8=ve({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);}"]}),Z8=e=>{"use no memo";const o=V8(),n=G8(),a=W8(),l=X8(),c=$8(),u=K8(),d=Q8(),{appearance:h,disabled:g,disabledFocusable:v,icon:m,iconOnly:x,iconPosition:k,shape:w,size:y}=e;return e.root.className=de(Sx.root,o,h&&a[h],a[y],m&&y==="small"&&a.smallWithIcon,m&&y==="large"&&a.largeWithIcon,a[w],(g||v)&&l.base,(g||v)&&l.highContrast,h&&(g||v)&&l[h],h==="primary"&&c.primary,c[y],c[w],x&&u[y],e.root.className),e.icon&&(e.icon.className=de(Sx.icon,n,!!e.root.children&&d[k],d[y],e.icon.className)),e},st=b.forwardRef((e,o)=>{const n=I8(e,o);return Z8(n),Xe("useButtonStyles_unstable")(n),H8(n)});st.displayName="Button";const sS=b.createContext(void 0),Y8=sS.Provider,J8=()=>b.useContext(sS),e9=e=>{var o,n,a,l;const{generatedControlId:c,orientation:u,required:d,size:h,validationState:g}=e,v=(o=e.label)===null||o===void 0?void 0:o.htmlFor,m=(n=e.label)===null||n===void 0?void 0:n.id,x=(a=e.validationMessage)===null||a===void 0?void 0:a.id,k=(l=e.hint)===null||l===void 0?void 0:l.id;return{field:b.useMemo(()=>({generatedControlId:c,hintId:k,labelFor:v,labelId:m,orientation:u,required:d,size:h,validationMessageId:x,validationState:g}),[c,k,v,m,u,d,h,x,g])}};function Za(e,o){return cS(J8(),e,o)}function cS(e,o,n){if(!e)return o;o={...o};const{generatedControlId:a,hintId:l,labelFor:c,labelId:u,required:d,validationMessageId:h,validationState:g}=e;if(a){var v,m;(m=(v=o).id)!==null&&m!==void 0||(v.id=a)}if(u&&(!(n!=null&&n.supportsLabelFor)||c!==o.id)){var x,k,w;(w=(x=o)[k="aria-labelledby"])!==null&&w!==void 0||(x[k]=u)}if((h||l)&&(o["aria-describedby"]=[h,l,o==null?void 0:o["aria-describedby"]].filter(Boolean).join(" ")),g==="error"){var y,z,_;(_=(y=o)[z="aria-invalid"])!==null&&_!==void 0||(y[z]=!0)}if(d)if(n!=null&&n.supportsRequired){var R,C;(C=(R=o).required)!==null&&C!==void 0||(R.required=!0)}else{var T,E,j;(j=(T=o)[E="aria-required"])!==null&&j!==void 0||(T[E]=!0)}if(n!=null&&n.supportsSize){var M,O;(O=(M=o).size)!==null&&O!==void 0||(M.size=e.size)}return o}const t9=(e,o)=>{let{children:n}=e;return typeof n=="function"&&(n=n(cS(o.field)||{})),ne(Y8,{value:o==null?void 0:o.field,children:it(e.root,{children:[e.label&&ne(e.label,{}),n,e.validationMessage&&it(e.validationMessage,{children:[e.validationMessageIcon&&ne(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&ne(e.hint,{})]})})},o9=(e,o)=>{const{weight:n="regular",size:a="medium",...l}=e,c=r9(l,o);return{weight:n,size:a,...c}},r9=(e,o)=>{const{disabled:n=!1,required:a=!1,...l}=e;return{disabled:n,required:De(a===!0?"*":a||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Ne(Et("label",{ref:o,...l}),{elementType:"label"})}},n9=e=>it(e.root,{children:[e.root.children,e.required&&ne(e.required,{})]}),kx={root:"fui-Label",required:"fui-Label__required"},a9=ve({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)"}]]}),i9=e=>{"use no memo";const o=a9();return e.root.className=de(kx.root,o.root,e.disabled&&o.disabled,o[e.size],e.weight==="semibold"&&o.semibold,e.root.className),e.required&&(e.required.className=de(kx.required,o.required,e.disabled&&o.disabled,e.required.className)),e},br=b.forwardRef((e,o)=>{const n=o9(e,o);return i9(n),Xe("useLabelStyles_unstable")(n),n9(n)});br.displayName="Label";const l9=(e,o)=>{const{children:n,required:a=!1,validationState:l=e.validationMessage?"error":"none"}=e,c=Qt("field-"),u=c+"__control",d=Ne(Et("div",{...e,ref:o},["children"]),{elementType:"div"}),h=De(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:a},elementType:"label"}),g=De(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:l==="error"||l==="warning"?"alert":void 0},elementType:"div"}),v=De(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),m=De(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"});return{children:n,generatedControlId:u,required:a,validationState:l,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:d,label:h,validationMessageIcon:m,validationMessage:g,hint:v}},s9={error:b.createElement(NR,null),warning:b.createElement(kR,null),success:b.createElement(_R,null),none:void 0},c9=(e,o)=>{const{orientation:n="vertical",size:a="medium",...l}=e,c=l9(l,o),u=s9[c.validationState];return{...c,components:{...c.components,label:br},label:De(e.label,{defaultProps:{size:a,...c.label},elementType:br}),validationMessageIcon:De(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},zs={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},u9=ve({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;}"]}),d9=ve({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;}"]}),f9=Ee("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);}"]),h9=ve({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));}"]}),g9=Ee("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;}"]),p9=ve({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),m9=e=>{"use no memo";const{validationState:o,size:n}=e,a=e.orientation==="horizontal",l=u9();e.root.className=de(zs.root,l.base,a&&l.horizontal,a&&!e.label&&l.horizontalNoLabel,e.root.className);const c=d9();e.label&&(e.label.className=de(zs.label,c.base,a&&c.horizontal,a&&n==="small"&&c.horizontalSmall,a&&n==="large"&&c.horizontalLarge,!a&&c.vertical,!a&&n==="large"&&c.verticalLarge,e.label.className));const u=g9(),d=p9();e.validationMessageIcon&&(e.validationMessageIcon.className=de(zs.validationMessageIcon,u,o!=="none"&&d[o],e.validationMessageIcon.className));const h=f9(),g=h9();return e.validationMessage&&(e.validationMessage.className=de(zs.validationMessage,h,o==="error"&&g.error,!!e.validationMessageIcon&&g.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=de(zs.hint,h,e.hint.className)),e},uS=b.forwardRef((e,o)=>{const n=c9(e,o);m9(n),Xe("useFieldStyles_unstable")(n);const a=e9(n);return t9(n,a)});uS.displayName="Field";const v9=(e,o)=>{"use no memo";e=Za(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...l}=e,c=b9(l,o),u=c.checked==="mixed";let d;if(u?n==="circular"?d=b.createElement(tm,null):d=a==="large"?b.createElement(CR,null):b.createElement(zR,null):c.checked&&(d=a==="large"?b.createElement(BR,null):b.createElement(b5,null)),c.indicator){var h,g;(g=(h=c.indicator).children)!==null&&g!==void 0||(h.children=d)}return{shape:n,size:a,...c,components:{...c.components,label:br},label:De(e.label,{defaultProps:{...c.label,size:"medium"},elementType:br})}},b9=(e,o)=>{"use no memo";const{disabled:n=!1,required:a,labelPosition:l="after",onChange:c}=e,[u,d]=Ao({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),h=yl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),g=u==="mixed",v=Qt("checkbox-",h.primary.id),m={checked:u,disabled:n,labelPosition:l,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Ne(e.root,{defaultProps:{ref:Kp(),...h.root},elementType:"span"}),input:Ne(e.input,{defaultProps:{type:"checkbox",id:v,ref:o,checked:u===!0,...h.primary},elementType:"input"}),label:De(e.label,{defaultProps:{htmlFor:v,disabled:n,required:a},elementType:"label"}),indicator:De(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};m.input.onChange=Ae(m.input.onChange,k=>{const w=k.currentTarget.indeterminate?"mixed":k.currentTarget.checked;c==null||c(k,{checked:w}),d(w)});const x=at(m.input.ref);return m.input.ref=x,Dt(()=>{x.current&&(x.current.indeterminate=g)},[x,g]),m},y9=e=>it(e.root,{children:[ne(e.input,{}),e.labelPosition==="before"&&e.label&&ne(e.label,{}),e.indicator&&ne(e.indicator,{}),e.labelPosition==="after"&&e.label&&ne(e.label,{})]}),Ou={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},x9=Ee("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;}}"]}),w9=ve({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)"}]]}),S9=Ee("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));}"]),k9=ve({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));}"]}),B9=Ee("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;}"]),_9=ve({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}]]}),z9=ve({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);}"]}),C9=e=>{"use no memo";const{checked:o,disabled:n,labelPosition:a,shape:l,size:c}=e,u=x9(),d=w9();e.root.className=de(Ou.root,u,n?d.disabled:o==="mixed"?d.mixed:o?d.checked:d.unchecked,e.root.className);const h=S9(),g=k9();e.input.className=de(Ou.input,h,c==="large"&&g.large,g[a],e.input.className);const v=B9(),m=_9();e.indicator&&(e.indicator.className=de(Ou.indicator,v,c==="large"&&m.large,l==="circular"&&m.circular,e.indicator.className));const x=z9();return e.label&&(e.label.className=de(Ou.label,x.base,x[c],x[a],e.label.className)),e},dS=b.forwardRef((e,o)=>{const n=v9(e,o);return C9(n),Xe("useCheckboxStyles_unstable")(n),y9(n)});dS.displayName="Checkbox";const fS=Qa({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});fS.Provider;const N9={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},sc=Qa(void 0),Eo=e=>kl(sc,(o=N9)=>e(o)),T9=sc.Provider;function E9(e){const{appearance:o,open:n,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setOpen:h,size:g,activeDescendantController:v,onOptionClick:m,onActiveDescendantChange:x}=e,k={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:h,size:g},w={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:m,onActiveDescendantChange:x},y=b.useMemo(()=>({controller:v}),[v]);return{combobox:k,activeDescendant:y,listbox:w}}function R9(e){const o=ac(sc),{getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:h}=e,g=Eo(y=>y.registerOption),v=Eo(y=>y.onOptionClick),m=Eo(y=>y.onActiveDescendantChange),k={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:o?g:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:v,onActiveDescendantChange:m},w=b.useMemo(()=>({controller:h}),[h]);return{listbox:k,activeDescendant:w}}function hd(e,o={}){const{open:n=!0,multiselect:a=!1}=o,l=e.key,{altKey:c,ctrlKey:u,key:d,metaKey:h}=e;return d.length===1&&l!==sn&&!c&&!u&&!h?"Type":n?l===Tg&&c||l===Wi||!a&&l===sn?"CloseSelect":a&&l===sn?"Select":l===Bl?"Close":l===dp?"Next":l===Tg?"Previous":l===AE?"First":l===jE?"Last":l===ME?"PageUp":l===DE?"PageDown":l===l5?"Tab":"None":l===dp||l===Tg||l===Wi||l===sn?"Open":"None"}const hS=()=>{const e=b.useRef(new Map),o=b.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:g=>e.current.get(g),getOptionsMatchingText:g=>Array.from(e.current.values()).filter(({text:v})=>g(v)),getOptionsMatchingValue:g=>{const v=[];for(const m of e.current.values())g(m.value)&&v.push(m);return v}}),[]),n=b.useCallback(a=>(e.current.set(a.id,a),()=>e.current.delete(a.id)),[]);return{...o,options:Array.from(e.current.values()),registerOption:n}},gS=e=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:a}=e,[l,c]=Ao({state:e.selectedOptions,defaultState:o,initialState:[]}),u=b.useCallback((h,g)=>{if(g.disabled)return;let v=[g.value];if(n){const m=l.findIndex(x=>x===g.value);m>-1?v=[...l.slice(0,m),...l.slice(m+1)]:v=[...l,g.value]}c(v),a==null||a(h,{optionValue:g.value,optionText:g.text,selectedOptions:v})},[a,n,l,c]);return{clearSelection:h=>{c([]),a==null||a(h,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u,selectedOptions:l}},gd={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},j9=ve({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",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",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],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);}",".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);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],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);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),A9=e=>{"use no memo";const{disabled:o,multiselect:n,selected:a}=e,l=j9();return e.root.className=de(gd.root,l.root,l.active,o&&l.disabled,a&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=de(gd.checkIcon,l.checkIcon,n&&l.multiselectCheck,a&&l.selectedCheck,a&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,e.checkIcon.className)),e},Bx={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},D9=(e,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,l=hS(),{listboxRef:c,activeParentRef:u,controller:d}=f5({matchOption:ie=>ie.classList.contains(gd.root)}),h=ac(sc),g=Eo(ie=>ie.onActiveDescendantChange),v=Eo(ie=>ie.getOptionById),m=Eo(ie=>ie.getOptionsMatchingValue),x=h?v:l.getOptionById,k=h?m:l.getOptionsMatchingValue,w=b.useMemo(()=>{let ie=null;const Q=I=>{const ee=I;g==null||g(ee)};return I=>{if(!I){ie==null||ie.removeEventListener("activedescendantchange",Q);return}ie=I,ie.addEventListener("activedescendantchange",Q)}},[g]),[y,z]=b.useState(!1);Hw(z);const _=c5(),R=FE(),C=R?_.controller:d,{clearSelection:T,selectedOptions:E,selectOption:j}=gS(e),M=ie=>{const Q=hd(ie,{open:!0}),I=C.active(),ee=I?x(I):null;switch(Q){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":ie.preventDefault();break}switch(Q){case"Next":ee?C.next():C.first();break;case"Previous":ee?C.prev():C.first();break;case"PageUp":case"First":C.first();break;case"PageDown":case"Last":C.last();break;case"Select":case"CloseSelect":ee&&j(ie,ee);break}},O=Eo(ie=>ie.selectedOptions),W=Eo(ie=>ie.selectOption),Y=h?{selectedOptions:O,selectOption:W,...Bx}:{selectedOptions:E,selectOption:j,...Bx};b.useEffect(()=>{if(!R){if(C.hideFocusVisibleAttributes(),!a)if(!n&&Y.selectedOptions.length>0){const ie=k(Q=>Q===Y.selectedOptions[0]).pop();ie!=null&&ie.id&&C.focus(ie.id)}else C.first();return()=>{C.blur()}}},[]);const fe=b.useCallback(()=>{R||(C.showFocusVisibleAttributes(),y&&C.scrollActiveIntoView())},[C,R,y]),le=b.useCallback(()=>{R||C.hideFocusVisibleAttributes()},[C,R]),se={components:{root:"div"},root:Ne(Et("div",{ref:at(o,u,c,w),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!h,multiselect:n,clearSelection:T,activeDescendantController:C,onActiveDescendantChange:g,...l,...Y};return se.root.onKeyDown=pe(Ae(se.root.onKeyDown,M)),se.root.onFocus=pe(Ae(se.root.onFocus,fe)),se.root.onBlur=pe(Ae(se.root.onBlur,le)),se},M9=(e,o)=>ne(s5,{value:o.activeDescendant,children:ne(sc.Provider,{value:o.listbox,children:ne(e.root,{})})}),O9={root:"fui-Listbox"},F9=ve({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);}"]}),q9=e=>{"use no memo";const o=F9();return e.root.className=de(O9.root,o.root,e.root.className),e},hm=b.forwardRef((e,o)=>{const n=D9(e,o),a=R9(n);return q9(n),Xe("useListboxStyles_unstable")(n),M9(n,a)});hm.displayName="Listbox";function H9(e,o){if(e!==void 0)return e;let n="",a=!1;return b.Children.forEach(o,l=>{typeof l=="string"?n+=l:a=!0}),a&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}const P9=(e,o)=>{"use no memo";const n=L9(e,o);let a=b.createElement(fR,null);if(n.multiselect&&(a=n.selected?b.createElement(b5,null):""),n.checkIcon){var l,c;(c=(l=n.checkIcon).children)!==null&&c!==void 0||(l.children=a)}return n},L9=(e,o)=>{const{children:n,disabled:a,text:l,value:c}=e,u=b.useRef(null),d=H9(l,n),h=c??d,g=Qt("fluent-option",e.id),v=b.useMemo(()=>({id:g,disabled:a,text:d,value:h}),[g,a,d,h]),{controller:m}=c5(),x=Eo(C=>C.multiselect),k=Eo(C=>C.registerOption),w=Eo(C=>{const T=C.selectedOptions;return h!==void 0&&T.find(E=>E===h)!==void 0}),y=Eo(C=>C.selectOption),z=Eo(C=>C.onOptionClick),_=C=>{var T;if(a){C.preventDefault();return}m.focus(g),y(C,v),z(C),(T=e.onClick)===null||T===void 0||T.call(e,C)};b.useEffect(()=>{if(g&&u.current)return k(v,u.current)},[g,v,k]);const R=x?{role:"menuitemcheckbox","aria-checked":w}:{role:"option","aria-selected":w};return{components:{root:"div",checkIcon:"span"},root:Ne(Et("div",{ref:at(o,u),"aria-disabled":a?"true":void 0,id:g,...R,...e,onClick:_}),{elementType:"div"}),checkIcon:De(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:x,selected:w,focusVisible:!1,active:!1}},I9=e=>it(e.root,{children:[e.checkIcon&&ne(e.checkIcon,{}),e.root.children]}),pS=b.forwardRef((e,o)=>{const n=P9(e,o);return A9(n),Xe("useOptionStyles_unstable")(n),I9(n)});pS.displayName="Option";const U9=e=>{"use no memo";const{appearance:o="outline",disableAutoFocus:n,children:a,clearable:l=!1,editable:c=!1,inlinePopup:u=!1,mountNode:d=void 0,multiselect:h,onOpenChange:g,size:v="medium",activeDescendantController:m,freeform:x=!1,disabled:k=!1,onActiveOptionChange:w=null}=e,y=hS(),{getOptionsMatchingValue:z}=y,{getOptionById:_}=y,R=b.useCallback(()=>{const U=m.active();return U?_(U):void 0},[m,_]),C=R(),T=b.useCallback(U=>{let te;if(typeof U=="function"){const ce=R();te=U(ce)}te?m.focus(te.id):m.blur()},[m,R]),[E,j]=b.useState(!1),[M,O]=b.useState(!1),W=b.useRef(!1),Y=Vp(),[fe,le]=Ao({state:e.value,initialState:void 0}),{selectedOptions:se,selectOption:ie,clearSelection:Q}=gS(e),I=b.useCallback((U,te)=>{Pg.unstable_batchedUpdates(()=>{le(void 0),ie(U,te)})},[le,ie]),ee=b.useMemo(()=>{if(fe!==void 0)return fe;if(Y&&e.defaultValue!==void 0)return e.defaultValue;const U=z(te=>se.includes(te)).map(te=>te.text);return h?c?"":U.join(", "):U[0]},[fe,c,z,h,se]),[oe,he]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),Se=b.useCallback((U,te)=>{k||(g==null||g(U,{open:te}),Pg.unstable_batchedUpdates(()=>{!te&&!x&&le(void 0),he(te)}))},[g,he,le,x,k]);b.useEffect(()=>{if(oe){if(!h&&se.length>0){const U=z(te=>te===se[0]).pop();U!=null&&U.id&&m.focus(U.id)}}else m.blur()},[oe,m]),b.useEffect(()=>{oe&&!n&&!m.active()&&m.first()},[oe,a,n,m,_]);const F=pe(U=>{const te=U.detail.previousId?y.getOptionById(U.detail.previousId):null,ce=y.getOptionById(U.detail.id);w==null||w(U,{event:U,type:"change",previousOption:te,nextOption:ce})});return{...y,freeform:x,disabled:k,selectOption:I,clearSelection:Q,selectedOptions:se,activeOption:C,appearance:o,clearable:l,focusVisible:E,ignoreNextBlur:W,inlinePopup:u,mountNode:d,open:oe,hasFocus:M,setActiveOption:T,setFocusVisible:j,setHasFocus:O,setOpen:Se,setValue:le,size:v,value:ee,multiselect:h,onOptionClick:pe(U=>{h||Se(U,!1)}),onActiveDescendantChange:F}};function V9(e){const{positioning:o}=e,a={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Nl(o)},{targetRef:l,containerRef:c}=Pd(a);return[c,l]}function G9(e,o,n){const{state:{multiselect:a},triggerRef:l,defaultProps:c}=n,u=Qt("fluent-listbox",Lp(e)?e.id:void 0),d=De(e,{renderByDefault:!0,elementType:hm,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),h=Za({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&h["aria-labelledby"]&&(d["aria-labelledby"]=h["aria-labelledby"]);const g=pe(Ae(x=>{x.preventDefault()},d==null?void 0:d.onMouseDown)),v=pe(Ae(x=>{var k;x.preventDefault(),(k=l.current)===null||k===void 0||k.focus()},d==null?void 0:d.onClick)),m=at(d==null?void 0:d.ref,o);return d&&(d.ref=m,d.onMouseDown=g,d.onClick=v),d}function W9(e,o,n){const{state:{open:a,setOpen:l,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:h}=n,g=Ne(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),v=b.useRef(null);return g.ref=at(v,g.ref,o),g.onBlur=Ae(m=>{l(m,!1),c(!1)},g.onBlur),g.onFocus=Ae(m=>{m.target===m.currentTarget&&c(!0)},g.onFocus),g.onClick=Ae(m=>{l(m,!a)},g.onClick),g.onKeyDown=Ae(X9({activeDescendantController:h,...n.state}),g.onKeyDown),g}function X9(e){const{activeDescendantController:o,getOptionById:n,setOpen:a,selectOption:l,multiselect:c,open:u}=e,d=b.useCallback(()=>{const y=o.active();return y?n(y):void 0},[o,n]),h=()=>{o.first()},g=()=>{o.last()},v=y=>{y?o.next():o.first()},m=y=>{y?o.prev():o.first()},x=()=>{for(let y=0;y<10;y++)o.prev()},k=()=>{for(let y=0;y<10;y++)o.next()},w=uT();return pe(y=>{const z=hd(y,{open:u,multiselect:c}),_=d();switch(z){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":y.preventDefault();break}switch(w(!0),z){case"First":h();break;case"Last":g();break;case"Next":v(_);break;case"Previous":m(_);break;case"PageDown":k();break;case"PageUp":x();break;case"Open":a(y,!0);break;case"Close":y.stopPropagation(),a(y,!1);break;case"CloseSelect":!c&&!(_!=null&&_.disabled)&&a(y,!1);case"Select":_&&l(y,_);break;case"Tab":!c&&_&&l(y,_);break}})}function $9(e,o,n){"use no memo";const{state:{open:a,value:l,selectOption:c,setValue:u,multiselect:d,selectedOptions:h,clearSelection:g,getOptionById:v,setOpen:m},freeform:x,defaultProps:k,activeDescendantController:w}=n,y=O=>{if(!a&&!x){const W=w.active(),Y=W?v(W):null;l&&Y&&l.trim().toLowerCase()===(Y==null?void 0:Y.text.toLowerCase())&&c(O,Y),u(void 0)}},z=O=>{const W=O==null?void 0:O.trim().toLowerCase();if(!W||W.length===0){w.blur();return}const Y=le=>le.toLowerCase().indexOf(W)===0,fe=w.find(le=>{const se=v(le);return!!se&&Y(se.text)});if(!fe){w.blur();return}return v(fe)},_=O=>{const W=O.target.value;u(W);const Y=z(W);!d&&h.length===1&&(W.length<1||!Y)&&g(O)},R=W9(e,o,{state:n.state,defaultProps:k,elementType:"input",activeDescendantController:w});R.onChange=Ae(R.onChange,_),R.onBlur=Ae(R.onBlur,y);const[C,T]=b.useState(!1),E=b.useRef(!1),j=R.onKeyDown,M=pe(O=>{!a&&hd(O)==="Type"&&m(O,!0),O.key===Yp||O.key===Jp?T(!0):T(!1);const W=hd(O,{open:a,multiselect:d});if(W==="Type"?E.current=!0:(W==="Open"&&O.key!==" "||W==="Next"||W==="Previous"||W==="First"||W==="Last"||W==="PageUp"||W==="PageDown")&&(E.current=!1),(E.current||!a)&&O.key===" "){var Y;e==null||(Y=e.onKeyDown)===null||Y===void 0||Y.call(e,O);return}j==null||j(O)});return R.onKeyDown=M,C&&(R["aria-activedescendant"]=void 0),R}const K9=(e,o)=>{"use no memo";var n,a;e=Za(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:l,activeParentRef:c,controller:u}=f5({matchOption:me=>me.classList.contains(gd.root)}),d=U9({...e,editable:!0,activeDescendantController:u}),{appearance:h,size:g,...v}=d,{clearable:m,clearSelection:x,disabled:k,multiselect:w,open:y,selectedOptions:z,setOpen:_,value:R,hasFocus:C}=v,[T,E]=V9(e),{disableAutoFocus:j=!1,freeform:M,inlinePopup:O}=e,W=Qt("combobox-"),{primary:Y,root:fe}=yl({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),le=b.useRef(null),se=G9(e.listbox,at(T,l),{state:d,triggerRef:le,defaultProps:{children:e.children,disableAutoFocus:j}});var ie;const Q=$9((ie=e.input)!==null&&ie!==void 0?ie:{},at(le,c,o),{state:d,freeform:M,defaultProps:{type:"text",value:R??"","aria-controls":y?se==null?void 0:se.id:void 0,...Y},activeDescendantController:u}),I=Ne(e.root,{defaultProps:{"aria-owns":!O&&y?se==null?void 0:se.id:void 0,...fe},elementType:"div"});I.ref=at(I.ref,E);const ee=z.length>0&&!k&&m&&!w,oe={components:{root:"div",input:"input",expandIcon:"span",listbox:hm,clearIcon:"span"},root:I,input:Q,listbox:y||C?se:void 0,clearIcon:De(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:De(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":k?"true":void 0,"aria-expanded":y,role:"button"},elementType:"span"}),showClearIcon:ee,activeDescendantController:u,...v},{targetDocument:he}=Qe();Gp({element:he,callback:me=>_(me,!1),refs:[le,T,E],disabled:!y});const{onMouseDown:Se}=oe.expandIcon||{},F=pe(Ae(Se,me=>{var _e;me.preventDefault(),oe.setOpen(me,!oe.open),(_e=le.current)===null||_e===void 0||_e.focus()}));if(oe.expandIcon){oe.expandIcon.onMouseDown=F;const me=oe.expandIcon["aria-label"]||oe.expandIcon["aria-labelledby"],_e="Open";if(!me)if(e["aria-labelledby"]){var U;const Fe=(U=oe.expandIcon.id)!==null&&U!==void 0?U:`${W}-chevron`,Bt=`${Fe} ${oe.input["aria-labelledby"]}`;oe.expandIcon["aria-label"]=_e,oe.expandIcon.id=Fe,oe.expandIcon["aria-labelledby"]=Bt}else e["aria-label"]?oe.expandIcon["aria-label"]=`${_e} ${e["aria-label"]}`:oe.expandIcon["aria-label"]=_e}const te=pe(Ae((n=oe.clearIcon)===null||n===void 0?void 0:n.onMouseDown,me=>{me.preventDefault()})),ce=pe(Ae((a=oe.clearIcon)===null||a===void 0?void 0:a.onClick,me=>{x(me)}));return oe.clearIcon&&(oe.clearIcon.onMouseDown=te,oe.clearIcon.onClick=ce),w&&(oe.clearIcon=void 0),oe},Q9=(e,o)=>{"use no memo";const{appearance:n="outline",size:a="medium",...l}=e,c=K9(l,o);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=b.createElement(yR,null))}if(c.expandIcon){var h,g;(g=(h=c.expandIcon).children)!==null&&g!==void 0||(h.children=b.createElement(hR,null))}return{...c,appearance:n,size:a}},Z9=(e,o)=>ne(e.root,{children:ne(s5,{value:o.activeDescendant,children:ne(T9,{value:o.listbox,children:it(fS.Provider,{value:o.combobox,children:[ne(e.input,{}),e.clearIcon&&ne(e.clearIcon,{}),e.expandIcon&&ne(e.expandIcon,{}),e.listbox&&(e.inlinePopup?ne(e.listbox,{}):ne(Tl,{mountNode:e.mountNode,children:ne(e.listbox,{})}))]})})})}),Cs={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},Y9=ve({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);}"]}),J9=ve({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;}"]}),eA=ve({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;}"]}),tA=e=>{"use no memo";const{appearance:o,open:n,size:a,showClearIcon:l}=e,c=`${e.input["aria-invalid"]}`=="true",u=e.input.disabled,d=Y9(),h=eA(),g=J9();return e.root.className=de(Cs.root,d.root,d[o],d[a],!u&&o==="outline"&&d.outlineInteractive,c&&o!=="underline"&&d.invalid,c&&o==="underline"&&d.invalidUnderline,u&&d.disabled,e.root.className),e.input.className=de(Cs.input,g.input,g[a],u&&g.disabled,e.input.className),e.listbox&&(e.listbox.className=de(Cs.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=de(Cs.expandIcon,h.icon,h[a],u&&h.disabled,l&&h.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=de(Cs.clearIcon,h.icon,h[a],u&&h.disabled,!l&&h.hidden,e.clearIcon.className)),e},mS=b.forwardRef((e,o)=>{const n=Q9(e,o),a=E9(n);return tA(n),Xe("useComboboxStyles_unstable")(n),Z9(n,a)});mS.displayName="Combobox";const oA=(e,o)=>{e=Za(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=Ip();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=rA(u,o);return{size:l,appearance:c,...d}},rA=(e,o)=>{const{onChange:n}=e,[a,l]=Ao({state:e.value,defaultState:e.defaultValue,initialState:""}),c=yl({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),u={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Ne(e.input,{defaultProps:{type:"text",ref:o,...c.primary},elementType:"input"}),contentAfter:De(e.contentAfter,{elementType:"span"}),contentBefore:De(e.contentBefore,{elementType:"span"}),root:Ne(e.root,{defaultProps:c.root,elementType:"span"})};return u.input.value=a,u.input.onChange=pe(d=>{const h=d.target.value;n==null||n(d,{value:h}),l(h)}),u},nA=e=>it(e.root,{children:[e.contentBefore&&ne(e.contentBefore,{}),ne(e.input,{}),e.contentAfter&&ne(e.contentAfter,{})]}),Fu={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},aA=Ee("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;}}"]}),iA=ve({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;}"]}),lA=Ee("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;}"]),sA=ve({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);}"]}),cA=Ee("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),uA=ve({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;}"]}),dA=e=>{"use no memo";const{size:o,appearance:n}=e,a=e.input.disabled,l=`${e.input["aria-invalid"]}`=="true",c=n.startsWith("filled"),u=iA(),d=sA(),h=uA();e.root.className=de(Fu.root,aA(),u[o],e.contentBefore&&u[`${o}WithContentBefore`],e.contentAfter&&u[`${o}WithContentAfter`],u[n],!a&&n==="outline"&&u.outlineInteractive,!a&&n==="underline"&&u.underlineInteractive,!a&&c&&u.filledInteractive,c&&u.filled,!a&&l&&u.invalid,a&&u.disabled,e.root.className),e.input.className=de(Fu.input,lA(),d[o],e.contentBefore&&d[`${o}WithContentBefore`],e.contentAfter&&d[`${o}WithContentAfter`],a&&d.disabled,e.input.className);const g=[cA(),a&&h.disabled,h[o]];return e.contentBefore&&(e.contentBefore.className=de(Fu.contentBefore,...g,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=de(Fu.contentAfter,...g,e.contentAfter.className)),e},vp=b.forwardRef((e,o)=>{const n=oA(e,o);return dA(n),Xe("useInputStyles_unstable")(n),nA(n)});vp.displayName="Input";const fA=b.createContext(void 0),hA=fA.Provider,gm=Qa(void 0),gA={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},pA=gm.Provider,lt=e=>kl(gm,(o=gA)=>e(o)),vS=b.createContext(void 0),mA=!1,vA=vS.Provider,bA=()=>{var e;return(e=b.useContext(vS))!==null&&e!==void 0?e:mA},pm=Qa(void 0),yA={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},xA=pm.Provider,Us=e=>kl(pm,(o=yA)=>e(o)),Vs="fuimenuenter",wA=e=>{const{refs:o,callback:n,element:a,disabled:l}=e,c=pe(u=>{const d=o[0],h=u.target;var g;!Os((g=d.current)!==null&&g!==void 0?g:null,h)&&!l&&n(u)});b.useEffect(()=>{if(a!=null)return l||a.addEventListener(Vs,c),()=>{a.removeEventListener(Vs,c)}},[c,a,l])},SA=(e,o)=>{e.dispatchEvent(new CustomEvent(Vs,{bubbles:!0,detail:{nativeEvent:o}}))};function mm(){const e=lt(n=>n.isSubmenu),o=ac(pm);return e||o}const bS=e=>{"use no memo";const{targetDocument:o}=Qe();return lt(a=>a.triggerRef),lt(a=>a.inline),b.useRef(null)},bp="fuimenusafezonetimeout",kA=e=>{const o=b.useRef(null);return b.useCallback(n=>{var a;(a=o.current)===null||a===void 0||a.removeEventListener(bp,e),n==null||n.addEventListener(bp,e),o.current=n},[e])},BA=ve({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),_A=e=>{"use no memo";const o=BA();e.checkmark&&(e.checkmark.className=de(o.root,e.checked&&o.rootChecked,e.checkmark.className))},$n={root:"fui-MenuItem",icon:"fui-MenuItem__icon",checkmark:"fui-MenuItem__checkmark",submenuIndicator:"fui-MenuItem__submenuIndicator",content:"fui-MenuItem__content",secondaryContent:"fui-MenuItem__secondaryContent",subText:"fui-MenuItem__subText"},zA=Ee("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[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);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[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){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[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){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),CA=Ee("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),NA=Ee("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),TA=Ee("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),EA=Ee("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),RA=Ee("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),jA=ve({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Bbkh6qg:"f1wzezsb",B3ejlan:"f1egomlm",B41git9:"f1wf2001",Boq1n10:"fied5gk",Dcq74g:"f1efp33f",rxnm8d:"f1m2zpi7",wxluhh:"fei14nx",idgcvv:"f12hmwa5",j9xr24:"f1hzwxd0"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wzezsb:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1egomlm:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wf2001:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fied5gk:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2zpi7:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fei14nx:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12hmwa5:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1hzwxd0:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),AA=ve({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),DA=ve({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),MA=e=>{"use no memo";const o=jA(),n=zA(),a=CA(),l=NA(),c=TA(),u=EA(),d=DA(),h=RA(),g=AA(),v=!!e.subText;return e.root.className=de($n.root,n,e.disabled&&o.disabled,e.root.className),e.content&&(e.content.className=de($n.content,a,e.content.className,v&&d.content)),e.checkmark&&(e.checkmark.className=de($n.checkmark,o.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=de($n.secondaryContent,l,e.disabled&&o.disabled,e.secondaryContent.className,v&&d.secondaryContent)),e.icon&&(e.icon.className=de($n.icon,c,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=de($n.submenuIndicator,u,e.submenuIndicator.className,v&&d.submenuIndicator)),e.subText&&(e.subText.className=de($n.subText,e.disabled&&g.disabled,e.subText.className,h)),_A(e),e},_x=Le.durationSlower,zx=Le.curveDecelerateMid,Cx=_l(({distance:e=10})=>({enter:[la({duration:_x,easing:zx,direction:"enter"}),{...j5({duration:_x,easing:zx,direction:"enter",outX:`calc(var(${sd}, 0px) * ${e})`,outY:`calc(var(${cd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),OA=["after","after-bottom","before-top","before","before-bottom","above"],FA=e=>{const o=mm(),{hoverDelay:n=500,inline:a=!1,hasCheckmarks:l=!1,hasIcons:c=!1,closeOnScroll:u=!1,openOnContext:d=!1,persistOnItemClick:h=!1,openOnHover:g=o,defaultCheckedValues:v,mountNode:m=null,safeZone:x}=e,{targetDocument:k}=Qe(),w=Qt("menu"),[y,z]=Y5(),_=Nl(e.positioning),R=D5({targetDocument:k,onPositioningEnd:_.onPositioningEnd}),C={position:o?"after":"below",align:o?"top":"start",target:e.openOnContext?y:void 0,fallbackPositions:o?OA:void 0,..._,onPositioningEnd:R},T=b.Children.toArray(e.children);let E,j;T.length===2?(E=T[0],j=T[1]):T.length===1&&(j=T[0]);const{targetRef:M,containerRef:O}=Pd(C),W=x&&g,Y=b.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),fe=Y7({disabled:!W,timeout:typeof x=="object"?x.timeout:300,onSafeZoneEnter:oe=>{Q(oe,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:oe}),Y.current.isInside=!0},onSafeZoneLeave:()=>{Y.current.isInside=!1},onSafeZoneMove:oe=>{Y.current.mouseCoordinates={x:oe.clientX,y:oe.clientY}},onSafeZoneTimeout:()=>{const oe=new CustomEvent(bp);if(Q(oe,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:oe}),Y.current.isInside&&k){const Se=k.elementsFromPoint(Y.current.mouseCoordinates.x,Y.current.mouseCoordinates.y).find(F=>F.classList.contains($n.root));Se==null||Se.dispatchEvent(oe)}}}),le=at(M,fe.targetRef),se=at(O,fe.containerRef),[ie,Q]=HA({hoverDelay:n,isSubmenu:o,setContextTarget:z,closeOnScroll:u,menuPopoverRef:se,triggerRef:le,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[I,ee]=qA({checkedValues:e.checkedValues,defaultCheckedValues:v,onCheckedValueChange:e.onCheckedValueChange});return{inline:a,hoverDelay:n,triggerId:w,isSubmenu:o,openOnHover:g,contextTarget:y,setContextTarget:z,hasCheckmarks:l,hasIcons:c,closeOnScroll:u,menuTrigger:E,menuPopover:j,mountNode:m,triggerRef:le,menuPopoverRef:se,components:{surfaceMotion:Cx},openOnContext:d,open:ie,setOpen:Q,checkedValues:I,onCheckedValueChange:ee,persistOnItemClick:h,safeZone:fe.elementToRender,surfaceMotion:ic(e.surfaceMotion,{elementType:Cx,defaultProps:{visible:ie,appear:!0,unmountOnExit:!0}})}},qA=e=>{const[o,n]=Ao({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),a=pe((l,{name:c,checkedItems:u})=>{var d;(d=e.onCheckedValueChange)===null||d===void 0||d.call(e,l,{name:c,checkedItems:u}),n(h=>({...h,[c]:u}))});return[o,a]},HA=e=>{"use no memo";const{targetDocument:o}=Qe(),n=lt(y=>y.setOpen),a=pe((y,z)=>{var _;return(_=e.onOpenChange)===null||_===void 0?void 0:_.call(e,y,z)}),l=b.useRef(!1),[c,u]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=pe((y,z)=>{const _=y instanceof CustomEvent&&y.type===Vs?y.detail.nativeEvent:y;a==null||a(_,{...z}),z.open&&y.type==="contextmenu"&&e.setContextTarget(y),z.open||e.setContextTarget(void 0),z.bubble&&n(y,{...z}),u(z.open)}),[h,g]=xl(),v=pe((y,z)=>{if(g(),!(y instanceof Event)&&y.persist&&y.persist(),!z.ignoreHoverDelay&&(y.type==="mouseleave"||y.type==="mouseover"||y.type==="mousemove"||y.type===Vs)){var R;!((R=e.triggerRef.current)===null||R===void 0)&&R.contains(y.target)&&(l.current=y.type==="mouseover"||y.type==="mousemove"),h(()=>d(y,z),e.hoverDelay)}else d(y,z)});Gp({contains:Os,disabled:!c,element:o,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:y=>v(y,{open:!1,type:"clickOutside",event:y})});const m=e.openOnContext||e.closeOnScroll;vw({contains:Os,element:o,callback:y=>v(y,{open:!1,type:"scrollOutside",event:y}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!c||!m}),wA({element:o,callback:y=>{l.current||v(y,{open:!1,type:"menuMouseEnter",event:y})},disabled:!c,refs:[e.menuPopoverRef]});const{findFirstFocusable:x}=rc(),k=b.useCallback(()=>{const y=x(e.menuPopoverRef.current);y==null||y.focus()},[x,e.menuPopoverRef]),w=Vp();return b.useEffect(()=>{if(c)k();else if(!w){var y,z;if((o==null?void 0:o.activeElement)===(o==null?void 0:o.body)||!((y=e.menuPopoverRef.current)===null||y===void 0)&&y.contains((z=o==null?void 0:o.activeElement)!==null&&z!==void 0?z:null)){var _;(_=e.triggerRef.current)===null||_===void 0||_.focus()}}},[e.triggerRef,e.isSubmenu,c,k,o,e.menuPopoverRef]),[c,v]};function PA(e){const{checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:g,openOnContext:v,openOnHover:m,persistOnItemClick:x,safeZone:k,setOpen:w,triggerId:y,triggerRef:z}=e;return{menu:b.useMemo(()=>({checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:g,openOnContext:v,openOnHover:m,persistOnItemClick:x,safeZone:k,setOpen:w,triggerId:y,triggerRef:z}),[o,n,a,l,c,u,d,h,g,v,m,x,k,w,y,z])}}const LA=(e,o)=>it(pA,{value:o.menu,children:[e.menuTrigger,e.menuPopover&&ne(e.surfaceMotion,{children:ne(Dd,{children:e.menuPopover})})]}),yS=e=>{const o=FA(e),n=PA(o);return LA(o,n)};yS.displayName="Menu";const IA=(e,o)=>{"use no memo";const n=Us(l=>l.setFocusByFirstCharacter),{onKeyDown:a}=e.root;return e.root.onKeyDown=l=>{var c;a==null||a(l),!(((c=l.key)===null||c===void 0?void 0:c.length)>1)&&o.current&&(n==null||n(l,o.current))},e},xS=b.createContext(void 0),wS={setMultiline:()=>null};xS.Provider;const SS=()=>{var e;return(e=b.useContext(xS))!==null&&e!==void 0?e:wS},kS=()=>SS()!==wS,UA=y5(mR,m5),VA=y5(gR,pR),GA=(e,o)=>{const{dir:n}=Qe(),a=WA(e,o);if(a.submenuIndicator){var l,c;(c=(l=a.submenuIndicator).children)!==null&&c!==void 0||(l.children=n==="rtl"?b.createElement(VA,null):b.createElement(UA,null))}return a},WA=(e,o)=>{const n=bA(),a=lt(_=>_.persistOnItemClick),{as:l="div",disabled:c=!1,hasSubmenu:u=n,persistOnClick:d=a,content:h,...g}=e,{hasIcons:v,hasCheckmarks:m}=$A({hasSubmenu:u}),x=lt(_=>_.setOpen);XA({multiline:!!e.subText,hasSubmenu:u});const k=b.useRef(null),w=b.useRef(!1),y=bS(KA(e.role)),z={hasSubmenu:u,disabled:c,persistOnClick:d,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:Ne(Et(l,Xa(l,{role:"menuitem",...g,disabled:!1,disabledFocusable:c,ref:at(o,k,y),onKeyDown:pe(_=>{var R;(R=e.onKeyDown)===null||R===void 0||R.call(e,_),!_.isDefaultPrevented()&&(_.key===sn||_.key===Wi)&&(w.current=!0)}),onMouseMove:pe(_=>{var R;if(_.currentTarget.ownerDocument.activeElement!==_.currentTarget){var C;(C=k.current)===null||C===void 0||C.focus()}(R=e.onMouseMove)===null||R===void 0||R.call(e,_)}),onClick:pe(_=>{var R;!u&&!d&&(x(_,{open:!1,keyboard:w.current,bubble:!0,type:"menuItemClick",event:_}),w.current=!1),(R=e.onClick)===null||R===void 0||R.call(e,_)})})),{elementType:"div"}),icon:De(e.icon,{renderByDefault:v,elementType:"span"}),checkmark:De(e.checkmark,{renderByDefault:m,elementType:"span"}),submenuIndicator:De(e.submenuIndicator,{renderByDefault:u,elementType:"span"}),content:De(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:De(e.secondaryContent,{elementType:"span"}),subText:De(e.subText,{elementType:"span"})};return IA(z,k),z},XA=e=>{const{hasSubmenu:o,multiline:n}=e,a=kS()&&o,{setMultiline:l}=SS();Dt(()=>{a||l(n)},[l,n,a])},$A=e=>{const{hasSubmenu:o}=e,n=Us(c=>c.hasIcons),a=Us(c=>c.hasCheckmarks),l=kS()&&o;return{hasIcons:n&&!l,hasCheckmarks:a&&!l}},KA=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},QA=e=>it(e.root,{children:[e.checkmark&&ne(e.checkmark,{}),e.icon&&ne(e.icon,{}),e.content&&it(e.content,{children:[e.content.children,e.subText&&ne(e.subText,{})]}),e.secondaryContent&&ne(e.secondaryContent,{}),e.submenuIndicator&&ne(e.submenuIndicator,{})]}),yp=b.forwardRef((e,o)=>{const n=GA(e,o);return MA(n),Xe("useMenuItemStyles_unstable")(n),QA(n)});yp.displayName="MenuItem";const ZA=(e,o)=>{const{findAllFocusable:n}=rc(),{targetDocument:a}=Qe(),l=YA(),c=ac(gm),u=Mw({circular:!0});JA(e,l,c)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const d=b.useRef(null),h=bS();b.useEffect(()=>{const _=d.current;if(c&&a&&_){const R=C=>{const T=C.detail.next;T&&_.contains(a.activeElement)&&!_.contains(T)&&C.preventDefault()};return a.addEventListener(lp,R),()=>{a.removeEventListener(lp,R)}}},[d,a,c]);const g=b.useCallback((_,R)=>{const C=["menuitem","menuitemcheckbox","menuitemradio"];if(!d.current)return;const T=n(d.current,Y=>Y.hasAttribute("role")&&C.indexOf(Y.getAttribute("role"))!==-1);let E=T.indexOf(R)+1;E===T.length&&(E=0);const j=T.map(Y=>{var fe;return(fe=Y.textContent)===null||fe===void 0?void 0:fe.charAt(0).toLowerCase()}),M=_.key.toLowerCase(),O=(Y,fe)=>{for(let le=Y;le<j.length;le++)if(M===j[le])return le;return-1};let W=O(E);W===-1&&(W=O(0)),W>-1&&T[W].focus()},[n]);var v;const[m,x]=Ao({state:(v=e.checkedValues)!==null&&v!==void 0?v:c?l.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var k;const w=(k=e.onCheckedValueChange)!==null&&k!==void 0?k:c?l.onCheckedValueChange:void 0,y=pe((_,R,C,T)=>{const j=[...(m==null?void 0:m[R])||[]];T?j.splice(j.indexOf(C),1):j.push(C),w==null||w(_,{name:R,checkedItems:j}),x(M=>({...M,[R]:j}))}),z=pe((_,R,C)=>{const T=[C];x(E=>({...E,[R]:T})),w==null||w(_,{name:R,checkedItems:T})});return{components:{root:"div"},root:Ne(Et("div",{ref:at(o,d,h),role:"menu","aria-labelledby":l.triggerId,...u,...e}),{elementType:"div"}),hasIcons:l.hasIcons||!1,hasCheckmarks:l.hasCheckmarks||!1,checkedValues:m,hasMenuContext:c,setFocusByFirstCharacter:g,selectRadio:z,toggleCheckbox:y}},YA=()=>{const e=lt(c=>c.checkedValues),o=lt(c=>c.onCheckedValueChange),n=lt(c=>c.triggerId),a=lt(c=>c.hasIcons),l=lt(c=>c.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:o,triggerId:n,hasIcons:a,hasCheckmarks:l}},JA=(e,o,n)=>{let a=!1;for(const l in o)e[l]&&(a=!0);return n&&a},eD=(e,o)=>ne(xA,{value:o.menuList,children:ne(e.root,{})});function tD(e){const{checkedValues:o,hasCheckmarks:n,hasIcons:a,selectRadio:l,setFocusByFirstCharacter:c,toggleCheckbox:u}=e;return{menuList:b.useMemo(()=>({checkedValues:o,hasCheckmarks:n,hasIcons:a,selectRadio:l,setFocusByFirstCharacter:c,toggleCheckbox:u}),[o,n,a,l,c,u])}}const oD={root:"fui-MenuList"},rD=ve({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),nD=e=>{"use no memo";const o=rD();return e.root.className=de(oD.root,o.root,e.hasMenuContext&&o.hasMenuContext,e.root.className),e},BS=b.forwardRef((e,o)=>{const n=ZA(e,o),a=tD(n);return nD(n),Xe("useMenuListStyles_unstable")(n),eD(n,a)});BS.displayName="MenuList";const aD=(e,o)=>{"use no memo";const n=lt(M=>M.safeZone),a=lt(M=>M.menuPopoverRef),l=lt(M=>M.setOpen),c=lt(M=>M.open),u=lt(M=>M.openOnHover),d=lt(M=>M.triggerRef),h=mm(),g=Us(M=>{var O;return(O=M.shouldCloseOnArrowLeft)!==null&&O!==void 0?O:!0}),v=b.useRef(!0),m=sT(),[x,k]=xl(),{dir:w}=Qe(),y=w==="ltr"?Yp:Jp,z=b.useCallback(M=>{M&&M.addEventListener("mouseover",O=>{v.current&&(v.current=!1,SA(a.current,O),x(()=>{v.current=!0},250))})},[a,x]);b.useEffect(()=>()=>k(),[k]);var _;const R=(_=lt(M=>M.inline))!==null&&_!==void 0?_:!1,C=lt(M=>M.mountNode),T=Ne(Et("div",{role:"presentation",...m,...e,ref:at(o,a,z,Ad())}),{elementType:"div"}),{onMouseEnter:E,onKeyDown:j}=T;return T.onMouseEnter=pe(M=>{(u||h)&&l(M,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:M}),E==null||E(M)}),T.onKeyDown=pe(M=>{const O=M.key;if(O===Bl||h&&g&&O===y){var W;c&&(!((W=a.current)===null||W===void 0)&&W.contains(M.target))&&!M.isDefaultPrevented()&&(l(M,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:M}),M.preventDefault())}if(O===l5&&(l(M,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:M}),!h)){var Y;(Y=d.current)===null||Y===void 0||Y.focus()}j==null||j(M)}),{inline:R,mountNode:C,safeZone:n,components:{root:"div"},root:T}},iD={root:"fui-MenuPopover"},lD=ve({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",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:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),sD=e=>{"use no memo";const o=lD();return e.root.className=de(iD.root,o.root,e.root.className),e},cD=e=>e.inline?it(b.Fragment,{children:[ne(e.root,{}),e.safeZone]}):it(Tl,{mountNode:e.mountNode,children:[ne(e.root,{}),e.safeZone]}),_S=b.forwardRef((e,o)=>{const n=aD(e,o);return sD(n),Xe("useMenuPopoverStyles_unstable")(n),cD(n)});_S.displayName="MenuPopover";function uD(){}const dD=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=lt(Q=>Q.triggerRef),l=lt(Q=>Q.menuPopoverRef),c=lt(Q=>Q.setOpen),u=lt(Q=>Q.open),d=lt(Q=>Q.triggerId),h=lt(Q=>Q.openOnHover),g=lt(Q=>Q.openOnContext),v=mm(),m=Us(Q=>{var I;return(I=Q.shouldOpenOnArrowRight)!==null&&I!==void 0?I:!0}),{findFirstFocusable:x}=rc(),k=b.useCallback(()=>{const Q=x(l.current);Q==null||Q.focus()},[x,l]),w=b.useRef(!1),y=b.useRef(!1),z=b.useRef(!1),{dir:_}=Qe(),R=_==="ltr"?Jp:Yp,C=oc(o),T=kA(pe(()=>{v&&(y.current=!0)})),E=Q=>{Hi(Q)||Q.isDefaultPrevented()||g&&(Q.preventDefault(),c(Q,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:Q}))},j=Q=>{Hi(Q)||g||(c(Q,{open:!u,keyboard:w.current,type:"menuTriggerClick",event:Q}),w.current=!1)},M=Q=>{if(Hi(Q)||Q.isDefaultPrevented())return;const I=Q.key;!g&&(v&&m&&I===R||!v&&I===dp)&&c(Q,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),I===Bl&&!v&&c(Q,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),u&&I===R&&v&&m&&k()},O=Q=>{Hi(Q)||h&&(z.current?c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:Q}):y.current&&(c(Q,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:Q}),y.current=!1))},W=Q=>{Hi(Q)||h&&!z.current&&(c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:Q}),z.current=!0)},Y=Q=>{Hi(Q)||h&&c(Q,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:Q})};var fe;const le={id:d,...C==null?void 0:C.props,ref:at(a,tc(C),T),onMouseEnter:pe((fe=C==null?void 0:C.props.onMouseEnter)!==null&&fe!==void 0?fe:uD),onMouseLeave:pe(Ae(C==null?void 0:C.props.onMouseLeave,Y)),onContextMenu:pe(Ae(C==null?void 0:C.props.onContextMenu,E)),onMouseMove:pe(Ae(C==null?void 0:C.props.onMouseMove,W)),onMouseOver:pe(Ae(C==null?void 0:C.props.onMouseOver,O))},se={"aria-haspopup":"menu","aria-expanded":!u&&!v?void 0:u,...le,onClick:pe(Ae(C==null?void 0:C.props.onClick,j)),onKeyDown:pe(Ae(C==null?void 0:C.props.onKeyDown,M))},ie=Xa((C==null?void 0:C.type)==="button"||(C==null?void 0:C.type)==="a"?C.type:"div",se);return{isSubmenu:v,children:Cd(o,g?le:n?se:ie)}},Hi=e=>{const o=n=>n.hasAttribute("disabled")||n.hasAttribute("aria-disabled")&&n.getAttribute("aria-disabled")==="true";return pr(e.target)&&o(e.target)?!0:pr(e.currentTarget)&&o(e.currentTarget)},fD=e=>b.createElement(vA,{value:e.isSubmenu},e.children),vm=e=>{const o=dD(e);return fD(o)};vm.displayName="MenuTrigger";vm.isFluentTriggerComponent=!0;const bm=b.createContext(void 0),hD={};bm.Provider;const gD=()=>b.useContext(bm)||hD,pD=(e,o)=>ne(bm.Provider,{value:o.radioGroup,children:ne(e.root,{})}),mD=(e,o)=>{const{layout:n="vertical",...a}=e,l=vD(a,o);return{layout:n,...l}},vD=(e,o)=>{e=Za(e);const n=Qt("radiogroup-"),{name:a=n,value:l,defaultValue:c,disabled:u,onChange:d,required:h}=e;return{name:a,value:l,defaultValue:c,disabled:u,required:h,components:{root:"div"},root:{ref:o,role:"radiogroup",...Ne(Et("div",e,["onChange","name"]),{elementType:"div"}),onChange:pe(g=>{d&&pr(g.target,{constructorName:"HTMLInputElement"})&&g.target.type==="radio"&&d(g,{value:g.target.value})})}}},bD={root:"fui-RadioGroup"},yD=ve({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),xD=e=>{"use no memo";const o=yD();return e.root.className=de(bD.root,o.root,e.layout==="vertical"&&o.vertical,e.root.className),e},wD=e=>{const{name:o,value:n,defaultValue:a,disabled:l,layout:c,required:u}=e,d=e.root["aria-describedby"];return{radioGroup:b.useMemo(()=>({name:o,value:n,defaultValue:a,disabled:l,layout:c,required:u,"aria-describedby":d}),[o,n,a,l,c,u,d])}},zS=b.forwardRef((e,o)=>{const n=mD(e,o),a=wD(n);return xD(n),Xe("useRadioGroupStyles_unstable")(n),pD(n,a)});zS.displayName="RadioGroup";const SD=e=>it(e.root,{children:[ne(e.input,{}),ne(e.indicator,{}),e.label&&ne(e.label,{})]}),kD=(e,o)=>{const n=BD(e,o);return{...n,components:{...n.components,label:br},label:De(e.label,{defaultProps:{...n.label},elementType:br})}},BD=(e,o)=>{const n=gD(),{name:a=n.name,checked:l=n.value!==void 0?n.value===e.value:void 0,defaultChecked:c=n.defaultValue!==void 0?n.defaultValue===e.value:void 0,labelPosition:u=n.layout==="horizontal-stacked"?"below":"after",disabled:d=n.disabled,required:h=n.required,"aria-describedby":g=n["aria-describedby"],onChange:v}=e,m=yl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),x=Ne(e.root,{defaultProps:{ref:Kp(),...m.root},elementType:"span"}),k=Ne(e.input,{defaultProps:{ref:o,type:"radio",id:Qt("radio-",m.primary.id),name:a,checked:l,defaultChecked:c,disabled:d,required:h,"aria-describedby":g,...m.primary},elementType:"input"});k.onChange=Ae(k.onChange,z=>v==null?void 0:v(z,{value:z.currentTarget.value}));const w=De(e.label,{defaultProps:{htmlFor:k.id,disabled:k.disabled},elementType:"label"}),y=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:"label",indicator:"div"},root:x,input:k,label:w,indicator:y}},qu={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},_D=Ee("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;}}"]}),zD=ve({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),CD=Ee("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;}}"]}),ND=ve({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;}"]}),TD=Ee("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;}"]),ED=ve({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;}"]}),RD=e=>{"use no memo";const{labelPosition:o}=e,n=_D(),a=zD();e.root.className=de(qu.root,n,o==="below"&&a.vertical,e.root.className);const l=CD(),c=ND();e.input.className=de(qu.input,l,o==="below"&&c.below,e.indicator.children?c.customIndicator:c.defaultIndicator,e.input.className);const u=TD();e.indicator.className=de(qu.indicator,u,e.indicator.className);const d=ED();return e.label&&(e.label.className=de(qu.label,d.base,d[o],e.label.className)),e},xp=b.forwardRef((e,o)=>{const n=kD(e,o);return RD(n),Xe("useRadioStyles_unstable")(n),SD(n)});xp.displayName="Radio";const CS=b.createContext(void 0),jD={};CS.Provider;const AD=()=>{var e;return(e=b.useContext(CS))!==null&&e!==void 0?e:jD},DD=(e,o)=>{const{size:n}=AD(),{appearance:a="primary",size:l=n??"medium",...c}=e,u=MD(c,o);return{...u,appearance:a,size:l,components:{...u.components,label:br},label:De(e.label,{defaultProps:u.label,elementType:br})}},MD=(e,o)=>{const{delay:n=0,labelPosition:a="after"}=e,l=Qt("spinner"),{role:c="progressbar",...u}=e,d=Ne(Et("div",{ref:o,role:c,...u}),{elementType:"div"}),[h,g]=b.useState(!1),[v,m]=xl();b.useEffect(()=>{if(!(n<=0))return v(()=>{g(!0)},n),()=>{m()}},[v,m,n]);const x=De(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:"label"}),k=De(e.spinner,{renderByDefault:!0,elementType:"span"});return x&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=x.id),{delay:n,labelPosition:a,shouldRenderSpinner:!n||h,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:k,spinnerTail:Ne(e.spinnerTail,{elementType:"span"}),label:x}},OD=e=>{const{labelPosition:o,shouldRenderSpinner:n}=e;return it(e.root,{children:[e.label&&n&&(o==="above"||o==="before")&&ne(e.label,{}),e.spinner&&n&&ne(e.spinner,{children:e.spinnerTail&&ne(e.spinnerTail,{})}),e.label&&n&&(o==="below"||o==="after")&&ne(e.label,{})]})},Hu={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},FD=Ee("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),qD=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),HD=Ee("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;}}"]}),PD=Ee("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;}}"]}),LD=ve({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)"}]]}),ID=ve({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);}"]}),UD=e=>{"use no memo";const{labelPosition:o,size:n,appearance:a}=e,{dir:l}=Qe(),c=FD(),u=qD(),d=HD(),h=LD(),g=PD(),v=ID();return e.root.className=de(Hu.root,c,(o==="above"||o==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=de(Hu.spinner,d,h[n],a==="inverted"&&h.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=de(Hu.spinnerTail,g,l==="rtl"&&h.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=de(Hu.label,v[n],a==="inverted"&&v.inverted,e.label.className)),e},dn=b.forwardRef((e,o)=>{const n=DD(e,o);return UD(n),Xe("useSpinnerStyles_unstable")(n),OD(n)});dn.displayName="Spinner";const VD=(e,o)=>{var n;const{size:a="medium",...l}=e,c=GD(l,o);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=b.createElement(tm,null)),{...c,components:{...c.components,label:br},size:a,label:De(e.label,{defaultProps:{size:"medium",...c.label},elementType:br})}},GD=(e,o)=>{e=Za(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:l,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:h}=e,g=yl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),v=Qt("switch-",g.primary.id),m=Ne(e.root,{defaultProps:{ref:Kp(),...g.root},elementType:"div"}),x=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),k=Ne(e.input,{defaultProps:{checked:n,defaultChecked:a,id:v,ref:o,role:"switch",type:"checkbox",...g.primary,disabled:l&&!c,...c&&{"aria-disabled":!0}},elementType:"input"});k.onChange=Ae(k.onChange,y=>d==null?void 0:d(y,{checked:y.currentTarget.checked})),k.onClick=Ae(k.onClick,y=>{c&&y.preventDefault()}),k.onKeyDown=Ae(k.onKeyDown,y=>{c&&(y.key===" "||y.key==="Enter")&&y.preventDefault()});const w=De(e.label,{defaultProps:{disabled:l||c,htmlFor:v,required:h},elementType:"label"});return{disabledFocusable:c,labelPosition:u,components:{root:"div",indicator:"div",input:"input",label:"label"},root:m,indicator:x,input:k,label:w}},WD=e=>{const{labelPosition:o}=e;return it(e.root,{children:[ne(e.input,{}),o!=="after"&&e.label&&ne(e.label,{}),ne(e.indicator,{}),o==="after"&&e.label&&ne(e.label,{})]})},Pu={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},XD=Ee("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[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);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[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){.r2i81i2[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){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),$D=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),KD=Ee("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),QD=ve({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),ZD=Ee("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),YD=ve({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),JD=ve({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),eM=e=>{"use no memo";const o=XD(),n=$D(),a=KD(),l=QD(),c=ZD(),u=YD(),d=JD(),{label:h,labelPosition:g,size:v}=e;return e.root.className=de(Pu.root,o,g==="above"&&n.vertical,e.root.className),e.indicator.className=de(Pu.indicator,a,h&&g==="above"&&l.labelAbove,v==="small"&&l.sizeSmall,e.indicator.className),e.input.className=de(Pu.input,c,h&&u[g],v==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=de(Pu.label,d.base,d[g],v==="small"&&d.sizeSmall,e.label.className)),e},NS=b.forwardRef((e,o)=>{const n=VD(e,o);return eM(n),Xe("useSwitchStyles_unstable")(n),WD(n)});NS.displayName="Switch";const TS=(e,o)=>{const{wrap:n,truncate:a,block:l,italic:c,underline:u,strikethrough:d,size:h,font:g,weight:v,align:m}=e;return{align:m??"start",block:l??!1,font:g??"base",italic:c??!1,size:h??300,strikethrough:d??!1,truncate:a??!1,underline:u??!1,weight:v??"regular",wrap:n??!0,components:{root:"span"},root:Ne(Et("span",{ref:o,...e}),{elementType:"span"})}},ES=e=>ne(e.root,{}),tM={root:"fui-Text"},oM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),RS=e=>{"use no memo";const o=oM();return e.root.className=de(tM.root,o.root,e.wrap===!1&&o.nowrap,e.truncate&&o.truncate,e.block&&o.block,e.italic&&o.italic,e.underline&&o.underline,e.strikethrough&&o.strikethrough,e.underline&&e.strikethrough&&o.strikethroughUnderline,e.size===100&&o.base100,e.size===200&&o.base200,e.size===400&&o.base400,e.size===500&&o.base500,e.size===600&&o.base600,e.size===700&&o.hero700,e.size===800&&o.hero800,e.size===900&&o.hero900,e.size===1e3&&o.hero1000,e.font==="monospace"&&o.monospace,e.font==="numeric"&&o.numeric,e.weight==="medium"&&o.weightMedium,e.weight==="semibold"&&o.weightSemibold,e.weight==="bold"&&o.weightBold,e.align==="center"&&o.alignCenter,e.align==="end"&&o.alignEnd,e.align==="justify"&&o.alignJustify,e.root.className),e},jS=b.forwardRef((e,o)=>{const n=TS(e,o);return RS(n),Xe("useTextStyles_unstable")(n),ES(n)});jS.displayName="Text";function Ya(e){const{useStyles:o,className:n,displayName:a}=e,l=b.forwardRef((c,u)=>{"use no memo";const d=o(),h=TS(c,u);return RS(h),h.root.className=de(n,h.root.className,d.root,c.className),ES(h)});return l.displayName=a,l}const rM={root:"fui-Body1"},nM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),fr=Ya({useStyles:nM,className:rM.root,displayName:"Body1"}),aM={root:"fui-Body1Strong"},iM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),Ua=Ya({useStyles:iM,className:aM.root,displayName:"Body1Strong"}),lM={root:"fui-Body2"},sM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".figsok6{font-weight:var(--fontWeightRegular);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),ym=Ya({useStyles:sM,className:lM.root,displayName:"Body2"}),cM={root:"fui-Caption1"},uM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),Kt=Ya({useStyles:uM,className:cM.root,displayName:"Caption1"}),dM={root:"fui-Subtitle2"},fM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),$o=Ya({useStyles:fM,className:dM.root,displayName:"Subtitle2"}),hM={root:"fui-Title2"},gM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]}),wp=Ya({useStyles:gM,className:hM.root,displayName:"Title2"}),pM={root:"fui-Title3"},mM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1x0m3f5",Bhrd7zp:"fl43uef",Bg96gwp:"fb86gi6"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fb86gi6{line-height:var(--lineHeightBase600);}"]}),Ii=Ya({useStyles:mM,className:pM.root,displayName:"Title3"}),vM=e=>ne(e.root,{children:ne(e.textarea,{})}),bM=(e,o)=>{const n=Ip();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e;return{...yM(u,o),size:l,appearance:c}},yM=(e,o)=>{e=Za(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:n="none",onChange:a}=e,[l,c]=Ao({state:e.value,defaultState:e.defaultValue,initialState:void 0}),u=yl({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:n,components:{root:"span",textarea:"textarea"},textarea:Ne(e.textarea,{defaultProps:{ref:o,...u.primary},elementType:"textarea"}),root:Ne(e.root,{defaultProps:u.root,elementType:"span"})};return d.textarea.value=l,d.textarea.onChange=pe(h=>{const g=h.target.value;a==null||a(h,{value:g}),c(g)}),d},Nx={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},xM=ve({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{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:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{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:"fj2g8qd",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",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{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",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{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:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{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:"f1gmd7mu",E5pizo:"fyed02w"},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:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".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}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 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);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".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);}"],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)"}],["@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)"}]],w:[".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);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".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);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),wM=ve({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),SM=ve({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),kM=e=>{"use no memo";const{size:o,appearance:n,resize:a}=e,l=e.textarea.disabled,c=`${e.textarea["aria-invalid"]}`=="true",u=n.startsWith("filled"),d=xM();e.root.className=de(Nx.root,d.base,l&&d.disabled,!l&&u&&d.filled,!l&&d[n],!l&&d.interactive,!l&&n==="outline"&&d.outlineInteractive,!l&&c&&d.invalid,e.root.className);const h=wM(),g=SM();return e.textarea.className=de(Nx.textarea,h.base,h[o],g[a],l&&h.disabled,e.textarea.className),e},AS=b.forwardRef((e,o)=>{const n=bM(e,o);return kM(n),Xe("useTextareaStyles_unstable")(n),vM(n)});AS.displayName="Textarea";const BM=Ee("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),_M=Ee("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function zM(){const e=BM(),o=_M(),{targetDocument:n}=Qe(),a=b.useCallback(()=>{var c;if(!n)return;var u;Math.floor(n.body.getBoundingClientRect().height)>((u=(c=n.defaultView)===null||c===void 0?void 0:c.innerHeight)!==null&&u!==void 0?u:0)&&(n.documentElement.classList.add(e),n.body.classList.add(o))},[n,e,o]),l=b.useCallback(()=>{n&&(n.documentElement.classList.remove(e),n.body.classList.remove(o))},[n,e,o]);return{disableBodyScroll:a,enableBodyScroll:l}}function CM(e,o){const{findFirstFocusable:n}=rc(),{targetDocument:a}=Qe(),l=b.useRef(null);return b.useEffect(()=>{if(!e)return;const c=l.current&&n(l.current);if(c)c.focus();else{var u;(u=l.current)===null||u===void 0||u.focus()}},[n,e,o,a]),l}const NM={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},xm=Qa(void 0),TM=xm.Provider,lr=e=>kl(xm,(o=NM)=>e(o)),EM=!1,DS=b.createContext(void 0),MS=DS.Provider,RM=()=>{var e;return(e=b.useContext(DS))!==null&&e!==void 0?e:EM},OS=b.createContext(void 0);OS.Provider;const jM=()=>b.useContext(OS),Tx=ua(nm,{outScale:.85,easing:Le.curveDecelerateMid,duration:Le.durationGentle,exitEasing:Le.curveAccelerateMin,exitDuration:Le.durationGentle}),AM=e=>{const{children:o,modalType:n="modal",onOpenChange:a,inertTrapFocus:l=!1,unmountOnClose:c=!0}=e,u=Qt("dialog-title-"),[d,h]=DM(o),[g,v]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),m=pe(z=>{a==null||a(z.event,z),z.event.isDefaultPrevented()||v(z.open)}),x=CM(g,n),{modalAttributes:k,triggerAttributes:w}=jd({trapFocus:n!=="non-modal",legacyTrapFocus:!l}),y=ac(xm);return{components:{surfaceMotion:Tx},inertTrapFocus:l,open:g,modalType:n,content:h,trigger:d,requestOpenChange:m,dialogTitleId:u,isNestedDialog:y,unmountOnClose:c,dialogRef:x,modalAttributes:k,triggerAttributes:w,surfaceMotion:ic(e.surfaceMotion,{elementType:Tx,defaultProps:{visible:g,appear:c,unmountOnExit:c}})}};function DM(e){const o=b.Children.toArray(e);switch(o.length){case 2:return o;case 1:return[void 0,o[0]];default:return[void 0,void 0]}}const MM=(e,o)=>ne(TM,{value:o.dialog,children:it(MS,{value:o.dialogSurface,children:[e.trigger,e.content&&ne(e.surfaceMotion,{children:ne(Dd,{children:e.content})})]})});function OM(e){const{modalType:o,open:n,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,requestOpenChange:d,modalAttributes:h,triggerAttributes:g,unmountOnClose:v}=e;return{dialog:b.useMemo(()=>({open:n,modalType:o,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,modalAttributes:h,triggerAttributes:g,unmountOnClose:v,requestOpenChange:d}),[n,o,a,l,c,u,h,g,v,d]),dialogSurface:!1}}const wm=b.memo(e=>{const o=AM(e),n=OM(o);return MM(o,n)});wm.displayName="Dialog";const FM=e=>{const o=RM(),{children:n,disableButtonEnhancement:a=!1,action:l=o?"close":"open"}=e,c=oc(n),u=lr(m=>m.requestOpenChange),{triggerAttributes:d}=jd(),h=pe(m=>{var x,k;c==null||(x=(k=c.props).onClick)===null||x===void 0||x.call(k,m),m.isDefaultPrevented()||u({event:m,type:"triggerClick",open:l==="open"})}),g={...c==null?void 0:c.props,ref:tc(c),onClick:h,...d},v=Xa((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...g,type:"button"});return{children:Cd(n,a?g:v)}},qM=e=>e.children,$i=e=>{const o=FM(e);return qM(o)};$i.displayName="DialogTrigger";$i.isFluentTriggerComponent=!0;const HM=(e,o)=>{const{position:n="end",fluid:a=!1}=e;return{components:{root:"div"},root:Ne(Et("div",{ref:o,...e}),{elementType:"div"}),position:n,fluid:a}},PM=e=>ne(e.root,{}),LM={root:"fui-DialogActions"},IM=Ee("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),UM=ve({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),VM=e=>{"use no memo";const o=IM(),n=UM();return e.root.className=de(LM.root,o,e.position==="start"&&n.gridPositionStart,e.position==="end"&&n.gridPositionEnd,e.fluid&&e.position==="start"&&n.fluidStart,e.fluid&&e.position==="end"&&n.fluidEnd,e.root.className),e},Sm=b.forwardRef((e,o)=>{const n=HM(e,o);return VM(n),Xe("useDialogActionsStyles_unstable")(n),PM(n)});Sm.displayName="DialogActions";const GM=(e,o)=>{var n;return{components:{root:"div"},root:Ne(Et((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},WM=e=>ne(e.root,{}),XM={root:"fui-DialogBody"},$M=Ee("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),KM=e=>{"use no memo";const o=$M();return e.root.className=de(XM.root,o,e.root.className),e},km=b.forwardRef((e,o)=>{const n=GM(e,o);return KM(n),Xe("useDialogBodyStyles_unstable")(n),WM(n)});km.displayName="DialogBody";const Ex={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},QM=Ee("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),ZM=ve({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),YM=Ee("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),JM=Ee("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[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);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[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){.r2avt6e[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){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),eO=e=>{"use no memo";const o=QM(),n=YM(),a=ZM();return e.root.className=de(Ex.root,o,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=de(Ex.action,n,e.action.className)),e},tO=(e,o)=>{const{action:n}=e,a=lr(c=>c.modalType),l=JM();return{components:{root:"h2",action:"div"},root:Ne(Et("h2",{ref:o,id:lr(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:De(n,{renderByDefault:a==="non-modal",defaultProps:{children:b.createElement($i,{disableButtonEnhancement:!0,action:"close"},b.createElement("button",{type:"button",className:l,"aria-label":"close"},b.createElement(TR,null)))},elementType:"div"})}},oO=e=>it(b.Fragment,{children:[ne(e.root,{children:e.root.children}),e.action&&ne(e.action,{})]}),Bm=b.forwardRef((e,o)=>{const n=tO(e,o);return eO(n),Xe("useDialogTitleStyles_unstable")(n),oO(n)});Bm.displayName="DialogTitle";const Rx=rj,rO=(e,o)=>{const n=Ad(),a=lr(C=>C.modalType),l=lr(C=>C.isNestedDialog),c=jM(),u=c??l,d=lr(C=>C.modalAttributes),h=lr(C=>C.dialogRef),g=lr(C=>C.requestOpenChange),v=lr(C=>C.dialogTitleId),m=lr(C=>C.open),x=lr(C=>C.unmountOnClose),k=pe(C=>{if(Lp(e.backdrop)){var T,E;(T=(E=e.backdrop).onClick)===null||T===void 0||T.call(E,C)}a==="modal"&&!C.isDefaultPrevented()&&g({event:C,open:!1,type:"backdropClick"})}),w=pe(C=>{var T;(T=e.onKeyDown)===null||T===void 0||T.call(e,C),C.key===Bl&&!C.isDefaultPrevented()&&(g({event:C,open:!1,type:"escapeKeyDown"}),C.preventDefault())}),y=De(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),z=y==null?void 0:y.appearance;y&&(y.onClick=k,delete y.appearance);const{disableBodyScroll:_,enableBodyScroll:R}=zM();return Dt(()=>{if(!m){R();return}if(!(l||a==="non-modal"))return _(),()=>R()},[m,a,l,_,R]),{components:{backdrop:"div",root:"div",backdropMotion:Rx},open:m,backdrop:y,isNestedDialog:l,treatBackdropAsNested:u,backdropAppearance:z,unmountOnClose:x,mountNode:e.mountNode,root:Ne(Et("div",{tabIndex:-1,role:a==="alert"?"alertdialog":"dialog","aria-modal":a!=="non-modal","aria-labelledby":e["aria-label"]?void 0:v,"aria-hidden":!x&&!m?!0:void 0,...e,...d,onKeyDown:w,ref:at(o,n,h)}),{elementType:"div"}),backdropMotion:ic(e.backdropMotion,{elementType:Rx,defaultProps:{appear:x,visible:m}}),transitionStatus:void 0}},nO=(e,o)=>it(Tl,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ne(e.backdropMotion,{children:ne(e.backdrop,{})}),ne(N5,{children:ne(MS,{value:o.dialogSurface,children:ne(e.root,{})})})]}),jx={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},aO=Ee("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[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);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[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){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),iO=Ee("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),lO=ve({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),sO=e=>{"use no memo";const{root:o,backdrop:n,open:a,unmountOnClose:l,treatBackdropAsNested:c,backdropAppearance:u}=e,d=aO(),h=iO(),g=lO(),v=u?u==="transparent":c,m=!l&&!a;return o.className=de(jx.root,d,m&&g.dialogHidden,o.className),n&&(n.className=de(jx.backdrop,h,m&&g.dialogHidden,v&&g.nestedDialogBackdrop,n.className)),e};function cO(e){return{dialogSurface:!0}}const _m=b.forwardRef((e,o)=>{const n=rO(e,o),a=cO();return sO(n),Xe("useDialogSurfaceStyles_unstable")(n),nO(n,a)});_m.displayName="DialogSurface";const uO=(e,o)=>{var n;return{components:{root:"div"},root:Ne(Et((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},dO=e=>ne(e.root,{}),fO={root:"fui-DialogContent"},hO=Ee("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),gO=e=>{"use no memo";const o=hO();return e.root.className=de(fO.root,o,e.root.className),e},zm=b.forwardRef((e,o)=>{const n=uO(e,o);return gO(n),Xe("useDialogContentStyles_unstable")(n),dO(n)});zm.displayName="DialogContent";function pO(e){switch(e){case"info":return b.createElement(JE,null);case"warning":return b.createElement(KE,null);case"error":return b.createElement(bR,null);case"success":return b.createElement(pn,null);default:return null}}function mO(e=!1){const{targetDocument:o}=Qe(),n=b.useReducer(()=>({}),{})[1],a=b.useRef(!1),l=b.useRef(null),c=b.useRef(-1),u=b.useCallback(h=>{var g,v;const m=h[0];var x;const k=(x=m==null||(v=m.borderBoxSize)===null||v===void 0||(g=v[0])===null||g===void 0?void 0:g.inlineSize)!==null&&x!==void 0?x:m==null?void 0:m.target.getBoundingClientRect().width;if(k===void 0||!m)return;const{target:w}=m;if(!pr(w))return;let y;if(a.current)c.current<k&&(y=!1);else{const z=w.scrollWidth;k<z&&(y=!0)}c.current=k,typeof y<"u"&&a.current!==y&&(a.current=y,n())},[n]),d=b.useCallback(h=>{var g;if(!e||!h||!(o!=null&&o.defaultView))return;(g=l.current)===null||g===void 0||g.disconnect();const v=o.defaultView,m=new v.ResizeObserver(u);l.current=m,m.observe(h,{box:"border-box"})},[o,u,e]);return b.useEffect(()=>()=>{var h;(h=l.current)===null||h===void 0||h.disconnect()},[]),{ref:d,reflowing:a.current}}const FS=b.createContext(void 0),vO={className:"",nodeRef:b.createRef()};FS.Provider;const bO=()=>{var e;return(e=b.useContext(FS))!==null&&e!==void 0?e:vO},yO=(e,o)=>{const{layout:n="auto",intent:a="info",politeness:l}=e,c=l??a==="info"?"polite":"assertive",u=n==="auto",{ref:d,reflowing:h}=mO(u),g=u?h?"multiline":"singleline":n,{className:v,nodeRef:m}=bO(),x=Ad(),k=b.useRef(null),w=b.useRef(null),{announce:y}=rC(),z=Qt();return b.useEffect(()=>{var _,R;const C=(_=w.current)===null||_===void 0?void 0:_.textContent,T=(R=k.current)===null||R===void 0?void 0:R.textContent,E=[C,T].filter(Boolean).join(",");y(E,{polite:c==="polite",alert:c==="assertive"})},[w,k,y,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ne(Et("div",{ref:at(o,d,m,x),role:"group","aria-labelledby":z,...e}),{elementType:"div"}),icon:De(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:De(e.bottomReflowSpacer,{renderByDefault:g==="multiline",elementType:"div"}),layout:g,intent:a,transitionClassName:v,actionsRef:k,bodyRef:w,titleId:z}},xO=(e,o)=>{const{shape:n="rounded",...a}=e,l=yO(a,o);return{...l,shape:n,icon:De(e.icon,{defaultProps:{children:pO(l.intent)},renderByDefault:!0,elementType:"div"})}},qS=b.createContext(void 0),wO={titleId:"",layout:"singleline",actionsRef:b.createRef(),bodyRef:b.createRef()},SO=qS.Provider,HS=()=>{var e;return(e=b.useContext(qS))!==null&&e!==void 0?e:wO},kO=(e,o)=>ne(SO,{value:o.messageBar,children:it(e.root,{children:[e.icon&&ne(e.icon,{}),e.root.children,e.bottomReflowSpacer&&ne(e.bottomReflowSpacer,{})]})}),Og={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},BO=Ee("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),_O=Ee("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),zO=Ee("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),CO=ve({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),NO=ve({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),TO=ve({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),EO=e=>{"use no memo";const o=BO(),n=_O(),a=NO(),l=TO(),c=zO(),u=CO();return e.root.className=de(Og.root,o,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,l[e.intent],e.root.className),e.icon&&(e.icon.className=de(Og.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=de(Og.bottomReflowSpacer,c)),e};function RO(e){const{layout:o,actionsRef:n,bodyRef:a,titleId:l}=e;return{messageBar:b.useMemo(()=>({layout:o,actionsRef:n,bodyRef:a,titleId:l}),[o,n,a,l])}}const Jo=b.forwardRef((e,o)=>{const n=xO(e,o);return EO(n),Xe("useMessageBarStyles_unstable")(n),kO(n,RO(n))});Jo.displayName="MessageBar";const jO=(e,o)=>{const{titleId:n}=HS();return{components:{root:"span"},root:Ne(Et("span",{ref:o,id:n,...e}),{elementType:"span"})}},AO=e=>ne(e.root,{}),DO={root:"fui-MessageBarTitle"},MO=Ee("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),OO=e=>{"use no memo";const o=MO();return e.root.className=de(DO.root,o,e.root.className),e},Ka=b.forwardRef((e,o)=>{const n=jO(e,o);return OO(n),Xe("useMessageBarTitleStyles_unstable")(n),AO(n)});Ka.displayName="MessageBarTitle";const FO=(e,o)=>{const{bodyRef:n}=HS();return{components:{root:"div"},root:Ne(Et("div",{ref:at(o,n),...e}),{elementType:"div"})}},qO=(e,o)=>ne(hA,{value:o.link,children:ne(e.root,{})}),HO={root:"fui-MessageBarBody"},PO=Ee("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),LO=e=>{"use no memo";const o=PO();return e.root.className=de(HO.root,o,e.root.className),e};function IO(e){return{link:b.useMemo(()=>({inline:!0}),[])}}const er=b.forwardRef((e,o)=>{const n=FO(e,o),a=IO();return LO(n),Xe("useMessageBarBodyStyles_unstable")(n),qO(n,a)});er.displayName="MessageBarBody";const PS={10:"#001120",20:"#002A4D",30:"#003E70",40:"#005091",50:"#0061AC",60:"#0078D4",70:"#1B8AE0",80:"#3398E8",90:"#4FA7EE",100:"#6BB6F2",110:"#85C3F5",120:"#9FCFF7",130:"#B7DBF9",140:"#CCE5FB",150:"#DEEDFC",160:"#EFF6FE"},po={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},UO={...ZT(PS)},cc={...eE(PS)};cc.colorNeutralBackground1="#0E1620";cc.colorNeutralBackground2="#131F2D";cc.colorNeutralBackground3="#1A2838";cc.colorNeutralBackground4="#223145";const Ax="wizardux.theme",LS=b.createContext(null);function Dx(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function VO({children:e}){const[o,n]=b.useState(()=>localStorage.getItem(Ax)||"system"),[a,l]=b.useState(Dx);b.useEffect(()=>{const h=window.matchMedia("(prefers-color-scheme: dark)"),g=()=>l(Dx());return h.addEventListener("change",g),()=>h.removeEventListener("change",g)},[]),b.useEffect(()=>{localStorage.setItem(Ax,o)},[o]);const c=o==="system"?a:o,u=c==="dark"?cc:UO;b.useEffect(()=>{document.body.style.background=u.colorNeutralBackground1,document.body.style.color=u.colorNeutralForeground1},[u]);const d=b.useMemo(()=>({mode:o,resolved:c,setMode:n}),[o,c]);return B.jsx(LS.Provider,{value:d,children:B.jsx(t5,{theme:u,style:{height:"100%"},children:e})})}function GO(){const e=b.useContext(LS);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}let Lu=null;async function WO(){if(Lu)return Lu;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return Lu=(await e.json()).csrfToken,Lu}async function zr(e,o,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await WO());const l=await fetch(o,{method:e,headers:a,body:n!==void 0?JSON.stringify(n):void 0,credentials:"same-origin"});if(!l.ok){let c=null;try{c=await l.json()}catch{}const u=(c==null?void 0:c.error)||`${e} ${o} failed (${l.status})`,d=new Error(u);throw d.payload=c,d.status=l.status,d}return l.json()}const Dr={state:()=>zr("GET","/api/state"),saveState:e=>zr("PUT","/api/state",e),resetState:()=>zr("POST","/api/state/reset",{}),jumpTo:e=>zr("POST","/api/state/jump",{step:e}),system:()=>zr("GET","/api/system"),steps:()=>zr("GET","/api/steps"),questions:e=>zr("GET",`/api/steps/${e}/questions`),apply:(e,o)=>zr("POST",`/api/steps/${e}/apply`,{answers:o}),configSeedKeys:()=>zr("GET","/api/config-seed/keys"),exportConfigSeed:async()=>{const e=await fetch("/api/config-seed/export",{credentials:"same-origin"});if(!e.ok)throw new Error(`Export failed (${e.status})`);const o=e.headers.get("Content-Disposition")||"",n=/filename="([^"]+)"/i.exec(o),a=(n==null?void 0:n[1])||`pacaf-wizard-config-${new Date().toISOString().slice(0,10)}.json`;return{blob:await e.blob(),filename:a}},importConfigSeed:(e,o="merge")=>zr("POST","/api/config-seed/import",{seed:e,mode:o})},XO=or({list:{display:"flex",flexDirection:"column",gap:"4px",margin:0,padding:0,listStyle:"none",maxHeight:"240px",overflowY:"auto"},row:{display:"flex",justifyContent:"space-between",gap:"12px",padding:"4px 8px",borderBottom:`1px solid ${P.colorNeutralStroke3}`,fontFamily:P.fontFamilyMonospace,fontSize:P.fontSizeBase200},key:{color:P.colorNeutralForeground1,whiteSpace:"nowrap"},value:{color:P.colorNeutralForeground3,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"320px"},section:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"12px"}});function Mx(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.length} item${e.length===1?"":"s"}]`;if(e&&typeof e=="object"){const o=Object.keys(e).length;return`{${o} entr${o===1?"y":"ies"}}`}return String(e)}function $O(){const e=XO(),o=Js(),n=b.useRef(null),[a,l]=b.useState("idle"),[c,u]=b.useState(null),[d,h]=b.useState(null),[g,v]=b.useState("merge"),[m,x]=b.useState(null),[k,w]=b.useState(null);async function y(){try{const{blob:E,filename:j}=await Dr.exportConfigSeed(),M=URL.createObjectURL(E),O=document.createElement("a");O.href=M,O.download=j,O.click(),URL.revokeObjectURL(M)}catch(E){const j=E instanceof Error?E.message:"Export failed.";u(j),l("error")}}function z(){var E;u(null),x(null),h(null),w(null),(E=n.current)==null||E.click()}async function _(E){var M;const j=(M=E.target.files)==null?void 0:M[0];if(E.target.value="",!!j){if(j.size>64*1024){u(`File too large (${j.size} bytes; max 65536).`),l("error");return}try{const O=await j.text(),W=JSON.parse(O);if(!W||typeof W!="object"||!W.values||typeof W.values!="object")throw new Error("Not a valid PACAF wizard config — missing `values` object.");if(W.version!==void 0&&Number(W.version)>1)throw new Error(`Seed version ${W.version} is newer than this wizard supports.`);h(W);try{const fe=(await Dr.state()).state,le=[];for(const se of["PP_ENV_DEV","PP_ENV_TEST","PP_ENV_PROD"]){const ie=String(fe[se]??"").trim(),Q=String(W.values[se]??"").trim();ie&&Q&&ie!==Q&&le.push(se)}le.length>0&&w(`This seed targets different environment URLs than the current project: ${le.join(", ")}. Connection IDs from this seed will likely not work in your current environments.`)}catch{}l("preview")}catch(O){const W=O instanceof Error?O.message:"Could not read file.";u(W),l("error")}}}async function R(){if(d){l("applying");try{const E=await Dr.importConfigSeed(d,g);x(E),l("done"),o.invalidateQueries({queryKey:["state"]}),o.invalidateQueries({queryKey:["questions"]})}catch(E){const j=E instanceof Error?E.message:"Import failed.";u(j),l("error")}}}function C(){l("idle"),h(null),x(null),u(null),w(null),v("merge")}const T=a==="preview"||a==="applying"||a==="done"||a==="error";return B.jsxs(B.Fragment,{children:[B.jsx("input",{ref:n,type:"file",accept:"application/json,.json",style:{display:"none"},onChange:_}),B.jsxs(yS,{children:[B.jsx(vm,{disableButtonEnhancement:!0,children:B.jsx(Ld,{relationship:"label",content:"Configuration",children:B.jsx(st,{appearance:"subtle",icon:B.jsx(XE,{}),"aria-label":"Configuration"})})}),B.jsx(_S,{children:B.jsxs(BS,{children:[B.jsx(yp,{icon:B.jsx(p5,{}),onClick:y,children:"Export configuration…"}),B.jsx(yp,{icon:B.jsx(sR,{}),onClick:z,children:"Import configuration…"})]})})]}),B.jsx(wm,{open:T,onOpenChange:(E,j)=>{j.open||C()},children:B.jsx(_m,{children:B.jsxs(km,{children:[B.jsx(Bm,{children:a==="done"?"Configuration imported":a==="error"?"Import failed":"Import configuration"}),B.jsxs(zm,{children:[a==="preview"&&d&&B.jsx(KO,{seed:d,mode:g,onModeChange:v,envWarning:k,styles:e}),a==="applying"&&B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[B.jsx(dn,{size:"tiny"})," ",B.jsx(jS,{children:"Writing configuration…"})]}),a==="done"&&m&&B.jsx(QO,{result:m,styles:e}),a==="error"&&B.jsx(Jo,{intent:"error",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Import failed"}),c]})})]}),B.jsxs(Sm,{children:[a==="preview"&&B.jsxs(B.Fragment,{children:[B.jsx(st,{appearance:"secondary",onClick:C,children:"Cancel"}),B.jsx(st,{appearance:"primary",onClick:R,children:"Apply"})]}),(a==="done"||a==="error")&&B.jsx(st,{appearance:"primary",onClick:C,children:"Close"}),a==="applying"&&B.jsx(st,{appearance:"secondary",disabled:!0,children:"Working…"})]})]})})})]})}function KO({seed:e,mode:o,onModeChange:n,envWarning:a,styles:l}){const c=Object.entries(e.values),u="OP_VAULT"in e.values||"OP_ITEM"in e.values;return B.jsxs("div",{className:l.section,children:[B.jsx(Jo,{intent:"info",children:B.jsxs(er,{children:["Secrets are never included. App Registration secrets remain in 1Password or",B.jsx("code",{children:" .env.local"})," — only references to them ship in this file."]})}),u&&B.jsx(Jo,{intent:"info",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"1Password references imported"}),"This seed includes ",B.jsx("code",{children:"OP_VAULT"})," / ",B.jsx("code",{children:"OP_ITEM"})," pointers. You'll still need access to that vault on this machine to retrieve the actual secret."]})}),a&&B.jsx(Jo,{intent:"warning",icon:B.jsx(QE,{}),children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Environment mismatch"}),a]})}),B.jsxs(Ua,{children:["Values in this seed (",c.length,")"]}),B.jsxs("ul",{className:l.list,children:[c.map(([d,h])=>B.jsxs("li",{className:l.row,children:[B.jsx("span",{className:l.key,children:d}),B.jsx("span",{className:l.value,title:Mx(h),children:Mx(h)})]},d)),c.length===0&&B.jsx(Kt,{children:"(empty)"})]}),B.jsx(Ua,{children:"How to apply"}),B.jsxs(zS,{value:o,onChange:(d,h)=>n(h.value),children:[B.jsx(xp,{value:"merge",label:"Merge (recommended) — only fill values that are currently empty"}),B.jsx(xp,{value:"replace-allowlisted",label:"Overwrite — replace existing values with values from the seed"})]})]})}function QO({result:e,styles:o}){return B.jsxs("div",{className:o.section,children:[B.jsx(Jo,{intent:"success",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Done"}),e.written.length," value",e.written.length===1?"":"s"," written,"," ",e.preserved.length," preserved,"," ",e.skipped.length," skipped."]})}),e.written.length>0&&B.jsxs(B.Fragment,{children:[B.jsx(Ua,{children:"Written"}),B.jsx("ul",{className:o.list,children:e.written.map(n=>B.jsx("li",{className:o.row,children:B.jsx("span",{className:o.key,children:n.key})},n.key))})]}),e.preserved.length>0&&B.jsxs(B.Fragment,{children:[B.jsx(Ua,{children:"Preserved (already set)"}),B.jsx("ul",{className:o.list,children:e.preserved.map(n=>B.jsxs("li",{className:o.row,children:[B.jsx("span",{className:o.key,children:n.key}),B.jsx("span",{className:o.value,children:n.reason})]},n.key))})]}),e.skipped.length>0&&B.jsxs(B.Fragment,{children:[B.jsx(Ua,{children:"Skipped"}),B.jsx("ul",{className:o.list,children:e.skipped.map(n=>B.jsxs("li",{className:o.row,children:[B.jsx("span",{className:o.key,children:n.key}),B.jsx("span",{className:o.value,children:n.reason})]},n.key))})]})]})}const ZO=or({root:{display:"flex",alignItems:"center",gap:"16px",padding:"0 24px",borderBottom:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground1Hover,backdropFilter:"blur(20px) saturate(180%)"},brand:{display:"flex",alignItems:"center",gap:"12px",color:P.colorNeutralForeground1,textDecoration:"none"},badge:{width:"32px",height:"32px",borderRadius:"8px",background:po.accent,display:"grid",placeItems:"center",color:"#ffffff",fontWeight:700,boxShadow:P.shadow8},spacer:{flex:1},navLinks:{display:"flex",gap:"4px"},navLink:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"6px",color:P.colorNeutralForeground2,textDecoration:"none",fontSize:P.fontSizeBase300},navLinkActive:{backgroundColor:P.colorNeutralBackground3,color:P.colorNeutralForeground1}});function YO(){const e=ZO(),{mode:o,setMode:n}=GO(),a=tr(),l=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=o==="system"?"light":o==="light"?"dark":"system",u=o==="dark"?ZE:o==="light"?YE:h5;return B.jsxs("header",{className:e.root,children:[B.jsxs(ln,{to:"/",className:e.brand,children:[B.jsx("div",{className:e.badge,children:"F"}),B.jsx(Ua,{children:"Foundations"})]}),B.jsx("div",{className:e.spacer}),B.jsxs("nav",{className:e.navLinks,children:[B.jsxs(ln,{to:"/",className:de(e.navLink,l("/")&&e.navLinkActive),children:[B.jsx(v5,{})," Home"]}),B.jsxs(ln,{to:"/summary",className:de(e.navLink,l("/summary")&&e.navLinkActive),children:[B.jsx(vR,{})," Summary"]}),B.jsxs(ln,{to:"/diagnostics",className:de(e.navLink,l("/diagnostics")&&e.navLinkActive),children:[B.jsx(ld,{})," Diagnostics"]})]}),B.jsx(Ld,{relationship:"label",content:`Theme: ${o}. Click to cycle.`,children:B.jsx(st,{appearance:"subtle",icon:B.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})}),B.jsx($O,{})]})}const JO=or({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function IS(){const e=JO(),o=b.useRef(null);return b.useEffect(()=>{const n=o.current;if(!n)return;const a=n.getContext("2d");if(!a)return;const l=window.matchMedia("(prefers-reduced-motion: reduce)").matches;let c=0;function u(){const h=Math.min(window.devicePixelRatio||1,2);n.width=n.clientWidth*h,n.height=n.clientHeight*h,a.scale(h,h)}u(),window.addEventListener("resize",u);function d(h){const g=n.clientWidth,v=n.clientHeight;a.clearRect(0,0,g,v);const m=l?0:h/6e3,x=g*(.28+.15*Math.sin(m)),k=v*(.38+.1*Math.cos(m*1.2)),w=a.createRadialGradient(x,k,0,x,k,Math.max(g,v)*.7);w.addColorStop(0,"rgba(0, 120, 212, 0.55)"),w.addColorStop(1,"rgba(0, 120, 212, 0)"),a.fillStyle=w,a.fillRect(0,0,g,v);const y=g*(.72+.1*Math.cos(m*.8)),z=v*(.55+.12*Math.sin(m*1.5)),_=a.createRadialGradient(y,z,0,y,z,Math.max(g,v)*.6);_.addColorStop(0,"rgba(92, 45, 145, 0.45)"),_.addColorStop(1,"rgba(92, 45, 145, 0)"),a.fillStyle=_,a.fillRect(0,0,g,v);const R=g*(.4+.18*Math.cos(m*.6+1.7)),C=v*(.85+.1*Math.sin(m*.9)),T=a.createRadialGradient(R,C,0,R,C,Math.max(g,v)*.55);T.addColorStop(0,"rgba(0, 130, 114, 0.35)"),T.addColorStop(1,"rgba(0, 130, 114, 0)"),a.fillStyle=T,a.fillRect(0,0,g,v),l||(c=requestAnimationFrame(d))}return c=requestAnimationFrame(d),()=>{cancelAnimationFrame(c),window.removeEventListener("resize",u)}},[]),B.jsx("canvas",{ref:o,className:e.canvas,"aria-hidden":"true"})}function Cm(){return xd({queryKey:["state"],queryFn:()=>Dr.state(),refetchInterval:5e3})}function US(){return xd({queryKey:["system"],queryFn:()=>Dr.system(),staleTime:3e4})}function Nm(){return xd({queryKey:["steps"],queryFn:()=>Dr.steps(),refetchInterval:5e3})}function eF(e){return xd({queryKey:["questions",e],queryFn:()=>Dr.questions(e),enabled:e!=null})}const tF=or({root:{position:"relative",height:"100%",overflowY:"auto"},hero:{position:"relative",minHeight:"340px",display:"grid",placeItems:"center",padding:"64px 32px 40px"},heroInner:{position:"relative",zIndex:1,textAlign:"center",maxWidth:"660px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},pill:{display:"inline-flex",alignItems:"center",gap:"8px",padding:"6px 14px",borderRadius:"999px",background:P.colorNeutralBackground1,border:`1px solid ${P.colorNeutralStroke2}`,boxShadow:P.shadow4,fontSize:P.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:P.colorBrandForeground1,alignSelf:"center"},title:{margin:0,background:po.accent,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",letterSpacing:"-0.02em",fontSize:"clamp(32px, 4.5vw, 48px)",lineHeight:1.1,fontWeight:700,width:"100%"},subtitle:{color:P.colorNeutralForeground2,fontSize:P.fontSizeBase300,lineHeight:1.55,maxWidth:"520px"},body:{position:"relative",zIndex:1,maxWidth:"720px",margin:"0 auto",padding:"0 32px 60px",display:"grid",gap:"32px"},ctaCard:{position:"relative",padding:"28px 32px",borderRadius:"16px",background:po.accentSoft,border:`1px solid ${P.colorNeutralStroke2}`,boxShadow:P.shadow16,overflow:"hidden"},ctaInner:{display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},ctaText:{flex:1,minWidth:"220px"},ctaActions:{display:"flex",gap:"12px",flexWrap:"wrap"},ctaPrimary:{background:po.accent,color:"#ffffff",border:"none",boxShadow:P.shadow8,minWidth:"180px",height:"44px",fontSize:P.fontSizeBase400,fontWeight:600},ctaTrack:{width:"100%",height:"6px",borderRadius:"999px",background:P.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},ctaFill:{height:"100%",background:po.accent,transition:"width 280ms ease"},systemBar:{display:"flex",flexWrap:"wrap",gap:"8px",justifyContent:"center"},stepSection:{display:"grid",gap:"2px",borderRadius:"12px",overflow:"hidden",border:`1px solid ${P.colorNeutralStroke2}`},stepRow:{display:"flex",alignItems:"center",gap:"12px",padding:"12px 16px",background:P.colorNeutralBackground1,cursor:"pointer",transition:"background-color 120ms",":hover":{backgroundColor:P.colorNeutralBackground1Hover}},stepIcon:{fontSize:"16px",flexShrink:0},stepDone:{color:P.colorPaletteGreenForeground1},stepCurrent:{color:P.colorBrandForeground1},stepPending:{color:P.colorNeutralForeground4},stepLabel:{flex:1,fontSize:P.fontSizeBase300,fontWeight:P.fontWeightSemibold,color:P.colorNeutralForeground1},stepLabelDim:{flex:1,fontSize:P.fontSizeBase300,fontWeight:P.fontWeightRegular,color:P.colorNeutralForeground3},stepBadge:{fontSize:P.fontSizeBase200,color:P.colorNeutralForeground3},footer:{textAlign:"center",color:P.colorNeutralForeground3,fontSize:P.fontSizeBase200}});function oF(){var k,w,y,z,_,R,C,T;const e=tF(),o=Zs(),n=Cm(),a=Nm(),l=US(),c=Js(),u=E2({mutationFn:()=>Dr.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((k=n.data)==null?void 0:k.completed)??0,h=((w=n.data)==null?void 0:w.next)??1,g=((y=n.data)==null?void 0:y.totalSteps)??9,v=((_=(z=n.data)==null?void 0:z.state)==null?void 0:_.APP_NAME)||"",m=d>0,x=Math.round(d/Math.max(1,g)*100);return B.jsxs("div",{className:e.root,children:[B.jsxs("div",{className:e.hero,children:[B.jsx(IS,{}),B.jsxs("div",{className:e.heroInner,children:[B.jsxs("div",{className:e.pill,children:[B.jsx(wR,{})," Foundations"]}),B.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),B.jsx(fr,{className:e.subtitle,children:"Nine guided steps from zero to a deployed Power Apps Code App. Every decision is captured and every step is re-runnable."})]})]}),B.jsxs("div",{className:e.body,children:[B.jsx("div",{className:e.ctaCard,children:B.jsxs("div",{className:e.ctaInner,children:[B.jsx("div",{className:e.ctaText,children:m?B.jsxs(B.Fragment,{children:[B.jsxs($o,{style:{display:"block",color:P.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",v?`, ${v}`:""]}),B.jsxs(wp,{style:{margin:0},children:["Pick up at step ",h," of ",g]}),B.jsxs(fr,{style:{marginTop:"6px",color:P.colorNeutralForeground3},children:[d," of ",g," steps complete · ",x,"%"]}),B.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:B.jsx("div",{className:e.ctaFill,style:{width:`${x}%`}})})]}):B.jsxs(B.Fragment,{children:[B.jsx(wp,{style:{margin:0},children:"Ready when you are"}),B.jsx(fr,{style:{marginTop:"6px",color:P.colorNeutralForeground2},children:"Each step is self-contained. You'll end with a deployable app."})]})}),B.jsxs("div",{className:e.ctaActions,children:[B.jsx(st,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(cn,{}),onClick:()=>o(`/step/${h}`),children:m?"Resume":"Get started"}),m&&B.jsxs(wm,{children:[B.jsx($i,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"subtle",icon:B.jsx(iR,{}),children:"Start over"})}),B.jsx(_m,{children:B.jsxs(km,{children:[B.jsx(Bm,{children:"Reset wizard state?"}),B.jsx(zm,{children:"This clears all collected answers. Your project files are not affected."}),B.jsxs(Sm,{children:[B.jsx($i,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"secondary",children:"Cancel"})}),B.jsx($i,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?B.jsx(dn,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),l.data&&B.jsxs("div",{className:e.systemBar,children:[B.jsxs(dr,{appearance:"filled",color:l.data.node?"success":"danger",children:["Node ",l.data.node||"—"]}),B.jsxs(dr,{appearance:"filled",color:l.data.git?"success":"danger",children:["Git ",l.data.git||"missing"]}),B.jsxs(dr,{appearance:"filled",color:l.data.dotnet?"success":"danger",children:[".NET ",l.data.dotnet||"missing"]}),B.jsxs(dr,{appearance:"filled",color:l.data.pac?"success":"danger",children:["PAC ",l.data.pac||"missing"]}),B.jsx(dr,{appearance:"filled",color:l.data.op?"success":"informative",children:l.data.op?`1Password ${l.data.op}`:"1Password (optional)"})]}),a.data&&B.jsx("div",{className:e.stepSection,children:a.data.steps.map(E=>{const j=E.status==="done",M=E.status==="current";return B.jsxs("div",{className:e.stepRow,role:"button",tabIndex:0,onClick:()=>o(`/step/${E.number}`),onKeyDown:O=>{(O.key==="Enter"||O.key===" ")&&o(`/step/${E.number}`)},children:[j?B.jsx(pn,{className:`${e.stepIcon} ${e.stepDone}`}):M?B.jsx(lR,{className:`${e.stepIcon} ${e.stepCurrent}`}):B.jsx(om,{className:`${e.stepIcon} ${e.stepPending}`}),B.jsxs("span",{className:j||M?e.stepLabel:e.stepLabelDim,children:[E.number,". ",E.title]}),j&&B.jsx("span",{className:e.stepBadge,children:"Done"}),M&&B.jsx(dr,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},E.number)})}),((R=l.data)==null?void 0:R.rootDir)&&B.jsxs("div",{className:e.footer,children:[B.jsx(nR,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",B.jsx("code",{children:l.data.rootDir})]}),((T=(C=l.data)==null?void 0:C.cloudSync)==null?void 0:T.detected)&&B.jsx(Jo,{intent:"warning",children:B.jsxs(er,{children:[B.jsxs(Ka,{children:["Project is inside ",l.data.cloudSync.provider]}),"Cloud-sync providers upload every file in this folder, regardless of ",B.jsx("code",{children:".gitignore"}),". They may raise DLP alerts on encrypted secrets in ",B.jsx("code",{children:".env.local"}),". We strongly recommend moving the project out of ",l.data.cloudSync.provider,", or choosing ",B.jsx("strong",{children:"1Password"})," storage in Step 4. See ",B.jsx("code",{children:"TROUBLESHOOTING.md"}),' → "Authentication & Secrets".']})}),u.isError&&B.jsx(Jo,{intent:"error",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Reset failed"}),u.error.message]})})]})]})}function rF(e,o){const[n,a]=b.useState({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return b.useEffect(()=>{if(!o||!e){a({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return}a({lines:[],status:"running",error:null,exitCode:null,deviceCode:null});const l=`/api/steps/${e}/stream?runId=${encodeURIComponent(o)}`,c=new EventSource(l,{withCredentials:!0});return c.addEventListener("line",u=>{try{const d=JSON.parse(u.data);a(h=>({...h,lines:[...h.lines,d]}))}catch{}}),c.addEventListener("deviceCode",u=>{try{const d=JSON.parse(u.data);a(h=>({...h,deviceCode:d}))}catch{}}),c.addEventListener("end",u=>{try{const d=JSON.parse(u.data);a(h=>({...h,status:d.status,exitCode:d.exitCode,error:d.error}))}catch{}c.close()}),c.onerror=()=>{a(u=>({...u,status:u.status==="running"?"error":u.status,error:"Stream connection lost"})),c.close()},()=>c.close()},[e,o]),n}const nF=or({root:{width:"220px",height:"100%",overflowY:"auto",padding:"12px",borderRight:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground2},heading:{color:P.colorNeutralForeground3,paddingLeft:"8px",marginBottom:"6px"},item:{display:"flex",alignItems:"center",gap:"10px",padding:"8px 10px",borderRadius:"8px",cursor:"pointer",border:"1px solid transparent",transition:"background-color 150ms ease-out",":hover":{backgroundColor:P.colorNeutralBackground3}},itemActive:{backgroundColor:P.colorBrandBackground2,border:`1px solid ${P.colorBrandStroke2}`},iconCol:{flex:"0 0 18px",fontSize:"18px",display:"grid",placeItems:"center"},done:{color:P.colorPaletteGreenForeground1},current:{color:P.colorBrandForeground1},pending:{color:P.colorNeutralForeground3},terminal:{color:P.colorNeutralForeground3},title:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:P.fontWeightSemibold,fontSize:P.fontSizeBase300}});function aF({steps:e,current:o}){const n=nF(),a=Zs(),l=tr();return B.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[B.jsx(Kt,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===o&&l.pathname.includes("/step/"),d=c.status==="done"?pn:c.status==="current"?cn:c.canRunInBrowser?om:g5,h=c.status==="done"?n.done:c.status==="current"?n.current:c.canRunInBrowser?n.pending:n.terminal;return B.jsxs("div",{className:[n.item,u&&n.itemActive].filter(Boolean).join(" "),onClick:()=>a(`/step/${c.number}`),role:"button",tabIndex:0,onKeyDown:g=>{(g.key==="Enter"||g.key===" ")&&a(`/step/${c.number}`)},"aria-current":u?"step":void 0,children:[B.jsx("div",{className:`${n.iconCol} ${h}`,children:B.jsx(d,{})}),B.jsxs(ym,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}function Ox(e){const o=/https?:\/\/[^\s)]+/g,n=[];let a=0,l;for(;(l=o.exec(e))!==null;){l.index>a&&n.push(e.slice(a,l.index));const c=l[0].replace(/[.,;:!?]+$/,"");n.push(B.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",children:c},l.index)),a=l.index+l[0].length}return a<e.length&&n.push(e.slice(a)),n}const Tm=or({card:{padding:"16px",borderRadius:"10px",backgroundColor:P.colorNeutralBackground2,border:`1px solid ${P.colorNeutralStroke2}`,display:"flex",flexDirection:"column",gap:"8px"},required:{color:P.colorPaletteRedForeground1,marginLeft:"4px"},help:{color:P.colorNeutralForeground3},groupHeader:{display:"flex",flexDirection:"column",gap:"4px",paddingBottom:"4px"},groupTitle:{fontWeight:P.fontWeightSemibold},groupItems:{display:"flex",flexDirection:"column"},groupItem:{padding:"12px 0",borderTop:`1px solid ${P.colorNeutralStroke2}`},firstGroupItem:{paddingTop:"8px"},why:{fontSize:P.fontSizeBase200,color:P.colorNeutralForeground2,whiteSpace:"pre-wrap",lineHeight:1.5,maxWidth:"360px",padding:"4px 0"},whyTrigger:{minWidth:"auto",padding:"2px",height:"auto",color:P.colorNeutralForeground3,":hover":{color:P.colorBrandForeground1}},labelRow:{display:"flex",alignItems:"center",gap:"4px"},checkboxList:{display:"flex",flexDirection:"column",gap:"6px"},savedSecret:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderRadius:"6px",background:P.colorNeutralBackground3,border:`1px solid ${P.colorNeutralStroke2}`,color:P.colorNeutralForeground2,fontSize:P.fontSizeBase200},savedSecretIcon:{color:P.colorPaletteGreenForeground1,fontSize:"16px",flexShrink:0},savedSecretEdit:{marginLeft:"auto",minWidth:"auto",padding:"2px 8px",height:"auto"}});function Fx(e,o){return(Array.isArray(e)?e:[e]).every(a=>{const l=o[a.id];return"contains"in a?Array.isArray(l)&&l.includes(a.contains):l===a.equals})}function Em(e,o){return!!(e.showIf&&!Fx(e.showIf,o)||e.hideIf&&Fx(e.hideIf,o))}function iF(e){if(!e)return null;const o=/^https?:\/\//i.test(e)?e:`https://${e}`;try{return new URL(o).protocol.startsWith("https")?null:"Must be an https:// URL"}catch{return"Not a valid URL"}}function lF(e,o,n){return e.required&&(o==null||o==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof o=="string"?iF(o):null}function VS({question:e,value:o,onChange:n,showError:a,answers:l}){var C;const c=Tm(),u=lF(e,o,a),[d,h]=b.useState(!1),g=e.type==="secret"&&e.savedHint&&!o&&!d,v=e.dynamicOptions,m=v?String(l[v.dependsOn]??""):"",[x,k]=b.useState([]),[w,y]=b.useState(!1),z=b.useRef(m);b.useEffect(()=>{if(!v)return;if(!m||m==="false"||m==="0"||m.startsWith("__")){k([]),z.current=m;return}if(m===z.current&&x.length>0)return;z.current=m,y(!0);const E=new AbortController;return fetch(`${v.endpoint}?${v.param}=${encodeURIComponent(m)}`,{signal:E.signal}).then(j=>j.json()).then(j=>{const M=j[v.responseKey]||[];k(M),y(!1)}).catch(()=>{E.signal.aborted||y(!1)}),()=>E.abort()},[v,m]);const _=b.useMemo(()=>{if(!v)return e.options||[];const T=(e.options||[]).filter(E=>E.value.startsWith("__"));return[...x,...T]},[v,e.options,x]),R=B.jsxs("span",{className:c.labelRow,children:[e.label,e.required?B.jsx("span",{className:c.required,"aria-hidden":!0,children:"*"}):null,e.why&&B.jsxs(iS,{withArrow:!0,children:[B.jsx(fm,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"transparent",icon:B.jsx(SR,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),B.jsx(aS,{children:B.jsx("div",{className:c.why,children:Ox(e.why)})})]})]});return B.jsxs(B.Fragment,{children:[B.jsx(uS,{label:R,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?B.jsx(vp,{value:o??"",onChange:(T,E)=>n(e.id,E.value),"aria-required":e.required||void 0}):e.type==="secret"?g?B.jsxs("div",{className:c.savedSecret,children:[B.jsx(rR,{className:c.savedSecretIcon}),B.jsx("span",{children:e.savedHint}),B.jsx(st,{appearance:"subtle",size:"small",icon:B.jsx(oR,{}),className:c.savedSecretEdit,onClick:()=>h(!0),children:"Change"})]}):B.jsx(vp,{type:"password",value:o??"",onChange:(T,E)=>n(e.id,E.value),placeholder:e.savedHint?"Enter new value to replace":void 0,"aria-required":e.required||void 0}):e.type==="confirm"?B.jsx(NS,{checked:!!o,onChange:(T,E)=>n(e.id,E.checked)}):e.type==="select"?w?B.jsx(dn,{size:"tiny",label:"Loading options…"}):B.jsx(mS,{value:((C=_.find(T=>T.value===o))==null?void 0:C.label)??"",selectedOptions:o?[String(o)]:[],onOptionSelect:(T,E)=>n(e.id,E.optionValue),children:_.map(T=>B.jsx(pS,{value:T.value,children:T.label},T.value))}):e.type==="multiselect"?B.jsx(AS,{value:Array.isArray(o)?o.join(", "):"",onChange:(T,E)=>n(e.id,E.value.split(",").map(j=>j.trim()).filter(Boolean))}):e.type==="checkboxes"?B.jsx("div",{className:c.checkboxList,children:(e.options||[]).map(T=>{const E=Array.isArray(o)&&o.includes(T.value);return B.jsx(dS,{label:T.label,checked:E,onChange:(j,M)=>{const O=Array.isArray(o)?[...o]:[];n(e.id,M.checked?Array.from(new Set([...O,T.value])):O.filter(W=>W!==T.value))}},T.value)})}):B.jsxs(Kt,{children:["Unsupported question type: ",e.type]})}),e.help&&B.jsx(ym,{className:c.help,children:Ox(e.help)})]})}function sF({question:e,answers:o,value:n,onChange:a,showError:l}){const c=Tm();return Em(e,o)?null:B.jsx("div",{className:c.card,children:B.jsx(VS,{question:e,answers:o,value:n,onChange:a,showError:l})})}function cF({group:e,questions:o,answers:n,onChange:a,showError:l}){const c=Tm(),u=o.filter(d=>!Em(d,n));return u.length===0?null:B.jsxs("div",{className:c.card,children:[B.jsxs("div",{className:c.groupHeader,children:[B.jsx(fr,{className:c.groupTitle,children:e.label}),e.help&&B.jsx(ym,{className:c.help,children:e.help})]}),B.jsx("div",{className:c.groupItems,children:u.map((d,h)=>B.jsx("div",{className:`${c.groupItem} ${h===0?c.firstGroupItem:""}`,children:B.jsx(VS,{question:d,answers:n,value:n[d.id],onChange:a,showError:l})},d.id))})]})}const uF=or({root:{height:"100%",display:"grid",gridTemplateRows:"auto 1fr auto",backgroundColor:P.colorNeutralBackground3,borderRadius:"10px",overflow:"hidden",border:`1px solid ${P.colorNeutralStroke2}`},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderBottom:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground4},spacer:{flex:1},output:{margin:0,padding:"12px 16px",overflowY:"auto",fontFamily:P.fontFamilyMonospace,fontSize:P.fontSizeBase200,lineHeight:P.lineHeightBase200,color:P.colorNeutralForeground1,whiteSpace:"pre-wrap",wordBreak:"break-word"},err:{color:P.colorPaletteRedForeground1},info:{color:P.colorNeutralForeground3,fontStyle:"italic"},footer:{display:"flex",alignItems:"center",gap:"8px",padding:"6px 12px",borderTop:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground4,color:P.colorNeutralForeground3,minHeight:"28px"},footerIdle:{color:P.colorPaletteDarkOrangeForeground1}});function qx(e){const o=Math.max(0,Math.floor(e/1e3)),n=Math.floor(o/60),a=o%60;return n===0?`${a}s`:`${n}m ${a.toString().padStart(2,"0")}s`}function dF({lines:e,status:o,onClear:n}){var y;const a=uF(),l=b.useRef(null);b.useEffect(()=>{l.current&&(l.current.scrollTop=l.current.scrollHeight)},[e]);const c=e.length,u=((y=e[c-1])==null?void 0:y.text)??"",[d,h]=b.useState(null),[g,v]=b.useState(()=>Date.now()),[m,x]=b.useState(()=>Date.now());b.useEffect(()=>{o==="running"?(h(z=>z??Date.now()),v(Date.now())):h(null)},[o]),b.useEffect(()=>{o==="running"&&v(Date.now())},[c,u,o]),b.useEffect(()=>{if(o!=="running")return;const z=window.setInterval(()=>x(Date.now()),1e3);return()=>window.clearInterval(z)},[o]);const k=b.useMemo(()=>{if(o!=="running"||d===null)return null;const z=m-d,R=m-g>2e4;return{label:R?`Still working — waiting on npm / network… (running for ${qx(z)})`:`Running for ${qx(z)}`,idle:R}},[o,d,m,g]);function w(){const z=e.map(T=>T.text).join(""),_=new Blob([z],{type:"text/plain"}),R=URL.createObjectURL(_),C=document.createElement("a");C.href=R,C.download=`wizardux-log-${Date.now()}.txt`,C.click(),URL.revokeObjectURL(R)}return B.jsxs("div",{className:a.root,children:[B.jsxs("div",{className:a.toolbar,children:[B.jsx(Ua,{children:"Live output"}),B.jsx(Kt,{style:{color:o==="error"?P.colorPaletteRedForeground1:o==="done"?P.colorPaletteGreenForeground1:P.colorNeutralForeground3},children:o==="idle"?"Idle":o==="running"?"Running…":o==="done"?"Complete":"Failed"}),B.jsx("div",{className:a.spacer}),B.jsx(st,{appearance:"subtle",size:"small",icon:B.jsx(p5,{}),onClick:w,disabled:e.length===0,children:"Save"}),n&&B.jsx(st,{appearance:"subtle",size:"small",icon:B.jsx(uR,{}),onClick:n,disabled:e.length===0,children:"Clear"})]}),B.jsx("pre",{ref:l,className:a.output,"aria-live":"polite",children:e.length===0?B.jsx("span",{className:a.info,children:"No output yet. Save the form to begin."}):e.map((z,_)=>B.jsx("span",{className:z.stream==="stderr"?a.err:void 0,children:z.text},_))}),k&&B.jsx("div",{className:`${a.footer}${k.idle?` ${a.footerIdle}`:""}`,"aria-live":"polite",children:B.jsx(Kt,{style:{color:"inherit"},children:k.label})})]})}const fF=or({root:{height:"100%",display:"flex"},main:{flex:1,height:"100%",minWidth:0,overflow:"hidden"},pane:{height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"},formWrap:{height:"100%",overflowY:"auto",padding:"24px 32px 32px",display:"flex",flexDirection:"column",gap:"16px",maxWidth:"820px",margin:"0 auto",width:"100%"},header:{display:"flex",alignItems:"center",gap:"12px",paddingBottom:"12px",borderBottom:`1px solid ${P.colorNeutralStroke2}`,marginBottom:"8px"},stepBadge:{width:"36px",height:"36px",borderRadius:"10px",display:"grid",placeItems:"center",fontWeight:700,fontSize:"15px",flexShrink:0},stepBadgePending:{background:P.colorNeutralBackground3,color:P.colorNeutralForeground2},stepBadgeDone:{background:P.colorPaletteGreenBackground2,color:P.colorPaletteGreenForeground1},stepBadgeBrand:{background:po.accent,color:"#ffffff"},headerText:{flex:1,display:"flex",flexDirection:"column",gap:"2px",minWidth:0},questions:{display:"flex",flexDirection:"column",gap:"12px"},actions:{display:"flex",gap:"8px",alignItems:"center",paddingTop:"16px",borderTop:`1px solid ${P.colorNeutralStroke2}`,marginTop:"8px"},spacer:{flex:1},inlineLog:{marginTop:"4px",border:`1px solid ${P.colorNeutralStroke2}`,borderRadius:"10px",overflow:"hidden",minHeight:"180px",maxHeight:"320px",display:"flex",flexDirection:"column"},successBanner:{display:"flex",alignItems:"center",gap:"12px",padding:"16px 20px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(16,124,16,0.10), rgba(0,120,212,0.08))",border:`1px solid ${P.colorPaletteGreenBorder1}`},successIcon:{fontSize:"24px",color:P.colorPaletteGreenForeground1,flexShrink:0},successText:{flex:1},ctaPrimary:{background:po.accent,color:"#ffffff",border:"none",boxShadow:P.shadow4,minWidth:"160px",height:"40px",fontWeight:600},terminalNote:{display:"flex",alignItems:"center",gap:"10px",padding:"14px 16px",borderRadius:"10px",background:P.colorNeutralBackground3,border:`1px solid ${P.colorNeutralStroke2}`,color:P.colorNeutralForeground2},terminalIcon:{fontSize:"20px",color:P.colorBrandForeground1,flexShrink:0},deviceCodeCard:{display:"flex",flexDirection:"column",gap:"12px",padding:"20px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(0,120,212,0.08), rgba(0,150,255,0.04))",border:`1.5px solid ${P.colorBrandStroke1}`},deviceCodeHeader:{display:"flex",alignItems:"center",gap:"8px",fontWeight:600},deviceCodeBody:{display:"flex",alignItems:"center",gap:"16px",flexWrap:"wrap"},deviceCodeValue:{fontFamily:"monospace",fontSize:"28px",fontWeight:700,letterSpacing:"4px",color:P.colorBrandForeground1,padding:"8px 16px",background:P.colorNeutralBackground1,borderRadius:"8px",border:`1px solid ${P.colorNeutralStroke2}`,userSelect:"all"}});function hF(){var F,U,te,ce,me,_e,Fe,Bt,ft;const e=fF(),o=f4(),n=Math.max(1,Math.min(9,parseInt(o.n||"1",10))),a=Zs(),l=Js(),c=Nm(),u=eF(n),[d,h]=b.useState({}),[g,v]=b.useState({}),[m,x]=b.useState(!1),[k,w]=b.useState(null),y=b.useRef(null),z=b.useMemo(()=>{var qe;return JSON.stringify((((qe=u.data)==null?void 0:qe.questions)??[]).map(et=>[et.id,et.defaultValue??""]))},[(F=u.data)==null?void 0:F.questions]);b.useEffect(()=>{if(!u.data)return;const qe={};for(const et of u.data.questions)qe[et.id]=et.defaultValue??"";h(qe),v(qe),x(!1)},[(U=u.data)==null?void 0:U.meta.number,z]),b.useEffect(()=>{w(null)},[n]);const _=E2({mutationFn:qe=>Dr.apply(n,qe),onSuccess:qe=>{w(qe.runId)}}),R=rF(n,k);b.useEffect(()=>{R.status==="done"&&(y.current&&(v(y.current),y.current=null),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["steps"]}),l.invalidateQueries({queryKey:["questions"]}))},[R.status,l,n]);const C=b.useMemo(()=>R.lines.some(qe=>qe.stream==="stderr"),[R.lines]),T=b.useRef(null);b.useEffect(()=>{var qe;if(R.status==="done"&&!C){const et=((qe=c.data)==null?void 0:qe.totalSteps)??9;if(n>=et)return;T.current=setTimeout(()=>{a(`/step/${n+1}`)},1500)}return()=>{T.current&&clearTimeout(T.current)}},[R.status,n,(te=c.data)==null?void 0:te.totalSteps,a,C]);const E=(ce=u.data)==null?void 0:ce.meta,j=((me=u.data)==null?void 0:me.questions)??[],{primaryBlocks:M,advancedBlocks:O}=b.useMemo(()=>{const qe=xr=>{const Yt=[];for(const wr of xr){if(!wr.group){Yt.push({kind:"question",question:wr});continue}const Or=Yt[Yt.length-1];(Or==null?void 0:Or.kind)==="group"&&Or.group.id===wr.group.id?Or.questions.push(wr):Yt.push({kind:"group",group:wr.group,questions:[wr]})}return Yt},et=j.filter(xr=>!xr.advanced),Zt=j.filter(xr=>xr.advanced);return{primaryBlocks:qe(et),advancedBlocks:qe(Zt)}},[j]),W=b.useMemo(()=>JSON.stringify(d)!==JSON.stringify(g),[d,g]),Y=b.useRef(null);b.useEffect(()=>{if(u.data&&W)return Y.current&&clearTimeout(Y.current),Y.current=setTimeout(()=>{const qe={};for(const et of Object.keys(d))JSON.stringify(d[et])!==JSON.stringify(g[et])&&(qe[et]=d[et]);Object.keys(qe).length>0&&Dr.saveState(qe).catch(()=>{})},600),()=>{Y.current&&clearTimeout(Y.current)}},[d,g,W,u.data]);const fe=b.useMemo(()=>{if(!(E!=null&&E.canRunInBrowser))return[];const qe=[];for(const et of j)Em(et,d)||et.required&&(d[et.id]==null||d[et.id]==="")&&qe.push(et.label);return qe},[j,d,E]);function le(){if(E!=null&&E.canRunInBrowser){if(j.length>0&&fe.length>0){x(!0);return}y.current=d,_.mutate(d)}}const se=((Fe=(_e=c.data)==null?void 0:_e.steps.find(qe=>qe.number===n))==null?void 0:Fe.status)??"pending",ie=_.isPending||R.status==="running",Q=R.status==="done",I=((Bt=c.data)==null?void 0:Bt.totalSteps)??9,ee=n>=I,oe=E==null?void 0:E.canRunInBrowser,he=ie?E!=null&&E.readOnly?"Checking…":"Running…":Q&&C?ee?"Finish":"Continue":Q?ee?"Finish":"Continuing…":se==="done"&&W?"Save & re-run":E!=null&&E.readOnly?"Run checks":se==="done"?"Re-run":j.length===0?"Run":"Save & run";function Se(){if(Q){T.current&&clearTimeout(T.current),a(ee?"/summary":`/step/${n+1}`);return}le()}return B.jsxs("div",{className:e.root,children:[c.data&&B.jsx(aF,{steps:c.data.steps,current:n}),B.jsx("div",{className:e.main,children:B.jsx("div",{className:e.pane,children:B.jsxs("div",{className:e.formWrap,children:[B.jsxs("div",{className:e.header,children:[B.jsx("div",{className:[e.stepBadge,se==="done"?e.stepBadgeDone:se==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:se==="done"?B.jsx(pn,{}):n}),B.jsxs("div",{className:e.headerText,children:[B.jsx(wp,{style:{margin:0},children:(E==null?void 0:E.title)||"Loading…"}),B.jsxs(Kt,{style:{color:P.colorNeutralForeground3},children:["Step ",n," of ",I,E!=null&&E.optional?" · optional":""]})]})]}),(E==null?void 0:E.description)&&B.jsx(fr,{style:{color:P.colorNeutralForeground2},children:E.description}),u.isLoading&&(n===8?B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[B.jsx(dn,{size:"small"}),B.jsx(Kt,{style:{color:P.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):B.jsx(dn,{size:"small"})),E&&!oe&&B.jsxs("div",{className:e.terminalNote,children:[B.jsx(g5,{className:e.terminalIcon}),B.jsx(fr,{children:"This step requires an interactive terminal session. Use the embedded terminal or run the command in your own shell, then come back and advance."})]}),oe&&j.length>0&&B.jsx("div",{className:e.questions,children:(()=>{const qe=(Zt,xr)=>h(Yt=>({...Yt,[Zt]:xr})),et=Zt=>Zt.kind==="group"?B.jsx(cF,{group:Zt.group,questions:Zt.questions,answers:d,onChange:qe,showError:m},Zt.group.id):B.jsx(sF,{question:Zt.question,answers:d,value:d[Zt.question.id],onChange:qe,showError:m},Zt.question.id);return B.jsxs(B.Fragment,{children:[M.map(et),O.length>0&&B.jsx(r5,{collapsible:!0,children:B.jsxs(i5,{value:"advanced",children:[B.jsx(T5,{children:"Advanced options"}),B.jsx(A5,{children:B.jsx("div",{className:e.questions,children:O.map(et)})})]})})]})})()}),_.isError&&B.jsx(Jo,{intent:"error",children:B.jsx(er,{children:_.error.message})}),R.status==="error"&&B.jsx(Jo,{intent:"error",children:B.jsx(er,{children:R.error||"Step failed — see output above."})}),((ft=R.deviceCode)==null?void 0:ft.code)&&R.status==="running"&&B.jsxs("div",{className:e.deviceCodeCard,children:[B.jsxs("div",{className:e.deviceCodeHeader,children:[B.jsx(Gy,{style:{color:P.colorBrandForeground1}}),B.jsx(fr,{children:"Sign in with a device code"})]}),B.jsx(Kt,{style:{color:P.colorNeutralForeground3},children:"Open the link below, then enter the code to authenticate."}),B.jsxs("div",{className:e.deviceCodeBody,children:[B.jsx("span",{className:e.deviceCodeValue,children:R.deviceCode.code}),B.jsx(st,{appearance:"subtle",icon:B.jsx($E,{}),onClick:()=>navigator.clipboard.writeText(R.deviceCode.code),children:"Copy code"})]}),B.jsxs(st,{appearance:"primary",icon:B.jsx(Gy,{}),as:"a",href:R.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",R.deviceCode.url]})]}),Q&&B.jsxs("div",{className:e.successBanner,children:[B.jsx(pn,{className:e.successIcon}),B.jsxs("div",{className:e.successText,children:[B.jsx(fr,{style:{fontWeight:600},children:ee?"All steps complete!":C?"Step complete — review items above":"Step complete"}),B.jsx(Kt,{style:{color:P.colorNeutralForeground3},children:ee?"Review the deploy log above, then click View summary when ready.":C?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),B.jsx(st,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(cn,{}),onClick:()=>{T.current&&clearTimeout(T.current),a(ee?"/summary":`/step/${n+1}`)},children:ee?"View summary":"Continue now"})]}),n===7&&ie&&B.jsx(Jo,{intent:"info",children:B.jsxs(er,{children:[B.jsx("strong",{children:"Scaffolding can take a few minutes."})," ","`pac code init` downloads templates, installs npm dependencies, and initializes the project. Please keep this browser tab open and stay on your network — closing the tab, sleeping the machine, or dropping VPN / Wi-Fi mid-run can interrupt the PAC CLI authentication and leave the scaffold in an incomplete state."]})}),oe&&(R.status==="running"||R.lines.length>0)&&B.jsx("div",{className:e.inlineLog,children:B.jsx(dF,{lines:R.lines,status:R.status})}),B.jsxs("div",{className:e.actions,children:[B.jsx(st,{appearance:"subtle",icon:B.jsx(aR,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),B.jsx("div",{className:e.spacer}),oe?B.jsx(st,{appearance:"primary",icon:ie?B.jsx(dn,{size:"tiny"}):Q?B.jsx(cn,{}):B.jsx(eR,{}),iconPosition:Q?"after":"before",onClick:Se,disabled:ie,children:he}):B.jsx(st,{appearance:"primary",iconPosition:"after",icon:B.jsx(cn,{}),onClick:()=>{a(ee?"/summary":`/step/${n+1}`)},children:ee?"Finish":"Next"})]})]})})})]})}const gF=or({hero:{position:"relative",minHeight:"260px",display:"grid",placeItems:"center",paddingTop:"56px",paddingRight:"32px",paddingBottom:"36px",paddingLeft:"32px"},inner:{position:"relative",zIndex:1,textAlign:"center",maxWidth:"760px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},pill:{display:"inline-flex",alignItems:"center",gap:"8px",padding:"6px 14px",borderRadius:"999px",background:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,boxShadow:P.shadow4,fontSize:P.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:P.colorBrandForeground1},title:{margin:0,background:po.accent,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",letterSpacing:"-0.02em",fontSize:"clamp(30px, 4.2vw, 44px)",lineHeight:1.1,fontWeight:700,width:"100%"},subtitle:{color:P.colorNeutralForeground2,fontSize:P.fontSizeBase400,lineHeight:1.55,maxWidth:"620px"}});function GS({eyebrowIcon:e,eyebrow:o,title:n,subtitle:a}){const l=gF();return B.jsxs("div",{className:l.hero,children:[B.jsx(IS,{}),B.jsxs("div",{className:l.inner,children:[B.jsxs("div",{className:l.pill,children:[e,o]}),B.jsx("h1",{className:l.title,children:n}),a&&B.jsx(fr,{className:l.subtitle,children:a})]})]})}const WS=or({root:{height:"100%",overflowY:"auto"},body:{position:"relative",zIndex:1,maxWidth:"1080px",margin:"0 auto",padding:"0 32px 80px",display:"grid",gap:"32px"},progressCard:{padding:"24px 28px",borderRadius:"14px",background:po.accentSoft,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,boxShadow:P.shadow8,display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},progressText:{flex:1,minWidth:"240px"},progressBar:{width:"100%",height:"6px",borderRadius:"999px",background:P.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},progressFill:{height:"100%",background:po.accent,transition:"width 280ms ease"},sectionLabel:{display:"block",color:P.colorBrandForeground1,fontSize:P.fontSizeBase200,letterSpacing:"0.08em",textTransform:"uppercase",fontWeight:600,marginBottom:"6px"},sectionTitle:{margin:0,letterSpacing:"-0.01em"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gap:"16px"},card:{padding:"20px",borderRadius:"12px",background:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,transition:"transform 220ms cubic-bezier(0.1,0.9,0.2,1), box-shadow 220ms",":hover":{transform:"translateY(-2px)",boxShadow:P.shadow8}},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:P.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:po.accent,color:"#ffffff",fontSize:"16px",flexShrink:0},field:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:"12px",paddingTop:"8px",paddingBottom:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:P.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},fieldLabel:{color:P.colorNeutralForeground3,fontWeight:500},fieldVal:{fontFamily:P.fontFamilyMonospace,color:P.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},fieldEmpty:{color:P.colorNeutralForeground4,fontStyle:"italic",fontFamily:P.fontFamilyBase},stepRow:{display:"flex",alignItems:"center",gap:"10px",paddingTop:"8px",paddingBottom:"8px"},stepIconDone:{color:P.colorPaletteGreenForeground1,fontSize:"18px"},stepIconCurrent:{color:P.colorBrandForeground1,fontSize:"12px"},stepIconPending:{color:P.colorNeutralForeground4,fontSize:"14px"},actions:{display:"flex",justifyContent:"center",gap:"12px",flexWrap:"wrap",marginTop:"8px"},ctaPrimary:{background:po.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:P.shadow8,minWidth:"200px",height:"44px",fontWeight:600},launchCard:{padding:"22px 24px",borderRadius:"14px",background:"linear-gradient(145deg, rgba(16,124,16,0.12), rgba(0,120,212,0.1))",borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,boxShadow:P.shadow8,display:"grid",gap:"14px"},launchTitle:{margin:0,color:P.colorNeutralForeground1,letterSpacing:"-0.01em"},launchUrl:{display:"block",padding:"12px 14px",borderRadius:"10px",textDecorationLine:"none",fontFamily:P.fontFamilyMonospace,background:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,color:P.colorBrandForeground1,overflowWrap:"anywhere",":hover":{textDecorationLine:"underline"}},launchActions:{display:"flex",gap:"10px",flexWrap:"wrap"},launchBtn:{background:po.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:P.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function eo({label:e,value:o}){const n=WS(),a=!o||o.trim()==="";return B.jsxs("div",{className:n.field,children:[B.jsx(Kt,{className:n.fieldLabel,children:e}),B.jsx(Kt,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":o})]})}function pF(){var m,x,k,w,y,z,_,R,C;const e=WS(),o=Cm(),n=Nm(),a=((m=o.data)==null?void 0:m.state)??{},l=((x=o.data)==null?void 0:x.completed)??0,c=((k=o.data)==null?void 0:k.totalSteps)??9,u=((w=o.data)==null?void 0:w.next)??1,d=Math.round(l/Math.max(1,c)*100),h=l>=c,g=((z=(y=o.data)==null?void 0:y.powerApp)==null?void 0:z.launchUrl)||"",v=((R=(_=o.data)==null?void 0:_.powerApp)==null?void 0:R.targetEnv)||a.WIZARD_TARGET_ENV||"dev";return B.jsxs("div",{className:e.root,children:[B.jsx(GS,{eyebrowIcon:B.jsx(qi,{}),eyebrow:"Project Summary",title:"Everything captured for this project",subtitle:"Live values from .wizard-state.json — the single source of truth for how your Code App is wired together."}),B.jsxs("div",{className:e.body,children:[B.jsxs("div",{className:e.progressCard,children:[B.jsxs("div",{className:e.progressText,children:[B.jsx($o,{style:{display:"block",color:P.colorBrandForeground1,marginBottom:"4px"},children:h?"Setup complete":"In progress"}),B.jsxs(Ii,{style:{margin:0},children:[l," of ",c," steps complete · ",d,"%"]}),B.jsx("div",{className:e.progressBar,"aria-hidden":!0,children:B.jsx("div",{className:e.progressFill,style:{width:`${d}%`}})})]}),!h&&B.jsx(ln,{to:`/step/${u}`,children:B.jsx(st,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(cn,{}),children:"Continue setup"})}),h&&g&&B.jsx(st,{className:e.ctaPrimary,size:"large",as:"a",href:g,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(cn,{}),children:"Open Power App"})]}),h&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Launch"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:"You did it. Your app is ready to launch."}),B.jsx("div",{className:e.launchCard,style:{marginTop:"16px"},children:g?B.jsxs(B.Fragment,{children:[B.jsxs($o,{className:e.launchTitle,children:["Power Apps URL (",String(v).toUpperCase(),")"]}),B.jsx("a",{className:e.launchUrl,href:g,target:"_blank",rel:"noopener noreferrer",children:g}),B.jsx("div",{className:e.launchActions,children:B.jsx(st,{className:e.launchBtn,as:"a",href:g,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(cn,{}),children:"Launch App Now"})})]}):B.jsxs(B.Fragment,{children:[B.jsx($o,{className:e.launchTitle,children:"Power Apps URL not available yet"}),B.jsx(Kt,{children:'Complete Step 9 with "Push to Power Platform" enabled to generate and surface your launch URL here.'})]})})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Project values"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:"What the wizard knows about your app"}),B.jsxs("div",{className:e.grid,style:{marginTop:"20px"},children:[B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(qi,{})}),B.jsx($o,{children:"Project"})]}),B.jsx(eo,{label:"App name",value:a.APP_NAME}),B.jsx(eo,{label:"Project dir",value:a.PROJECT_DIR})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(qi,{})}),B.jsx($o,{children:"Environments"})]}),B.jsx(eo,{label:"Dev",value:a.PP_ENV_DEV}),B.jsx(eo,{label:"Test",value:a.PP_ENV_TEST}),B.jsx(eo,{label:"Prod",value:a.PP_ENV_PROD}),B.jsx(eo,{label:"Active target",value:a.WIZARD_TARGET_ENV})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(qi,{})}),B.jsx($o,{children:"Identity"})]}),B.jsx(eo,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(eo,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(eo,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(eo,{label:"Credential storage",value:a.AUTH_MODE})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(qi,{})}),B.jsx($o,{children:"Publisher"})]}),B.jsx(eo,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),B.jsx(eo,{label:"Prefix",value:a.PUBLISHER_PREFIX}),B.jsx(eo,{label:"Choice value prefix",value:a.CHOICE_VALUE_PREFIX})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(qi,{})}),B.jsx($o,{children:"Solution"})]}),B.jsx(eo,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),B.jsx(eo,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),B.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&B.jsx(dn,{size:"small"}),(C=n.data)==null?void 0:C.steps.map(T=>B.jsxs("div",{className:e.stepRow,children:[T.status==="done"&&B.jsx(pn,{className:e.stepIconDone}),T.status==="current"&&B.jsx(tm,{className:e.stepIconCurrent}),T.status==="pending"&&B.jsx(om,{className:e.stepIconPending}),B.jsxs(fr,{style:{flex:1},children:[B.jsx("span",{style:{color:P.colorNeutralForeground3,marginRight:"8px"},children:String(T.number).padStart(2,"0")}),T.title]}),T.status==="done"&&B.jsx(dr,{appearance:"filled",color:"success",size:"small",children:"Done"}),T.status==="current"&&B.jsx(dr,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},T.number))]})]}),!o.data&&B.jsx(Jo,{intent:"info",children:B.jsx(er,{children:"Loading state…"})}),B.jsxs("div",{className:e.actions,children:[B.jsx(ln,{to:"/",children:B.jsx(st,{appearance:"subtle",icon:B.jsx(v5,{}),children:"Home"})}),!h&&B.jsx(ln,{to:`/step/${u}`,children:B.jsx(st,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(cn,{}),children:"Continue setup"})})]})]})]})}const XS=or({root:{height:"100%",overflowY:"auto"},body:{position:"relative",zIndex:1,maxWidth:"1080px",margin:"0 auto",padding:"0 32px 80px",display:"grid",gap:"32px"},sectionLabel:{display:"block",color:P.colorBrandForeground1,fontSize:P.fontSizeBase200,letterSpacing:"0.08em",textTransform:"uppercase",fontWeight:600,marginBottom:"6px"},sectionTitle:{margin:0,letterSpacing:"-0.01em"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(320px, 1fr))",gap:"16px",marginTop:"20px"},card:{padding:"20px",borderRadius:"12px",background:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:P.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:po.accent,color:"#ffffff",fontSize:"16px",flexShrink:0},row:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",paddingTop:"8px",paddingBottom:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:P.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},rowLabel:{color:P.colorNeutralForeground3,display:"flex",alignItems:"center",gap:"6px"},rowVal:{fontFamily:P.fontFamilyMonospace,color:P.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},rowValMissing:{color:P.colorPaletteRedForeground1,fontStyle:"italic",fontFamily:P.fontFamilyBase},pre:{margin:0,padding:"16px",background:P.colorNeutralBackground3,borderRadius:"10px",overflowX:"auto",fontFamily:P.fontFamilyMonospace,fontSize:P.fontSizeBase200,lineHeight:1.6,color:P.colorNeutralForeground1,maxHeight:"480px",overflowY:"auto"}});function Ea({icon:e,label:o,value:n,ok:a,neutral:l}){const c=XS(),u=!n,d=l?B.jsx(ld,{style:{color:P.colorBrandForeground1}}):a?B.jsx(pn,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(xR,{style:{color:P.colorPaletteRedForeground1}});return B.jsxs("div",{className:c.row,children:[B.jsxs(Kt,{className:c.rowLabel,children:[d,e,o]}),B.jsx(Kt,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function mF(){var l;const e=XS(),o=US(),n=Cm(),a=o.data;return B.jsxs("div",{className:e.root,children:[B.jsx(GS,{eyebrowIcon:B.jsx(tR,{}),eyebrow:"Diagnostics",title:"What the wizard sees on this machine",subtitle:"A read-only view of system tooling and the raw .wizard-state.json. If something looks off, this is where you check first."}),B.jsxs("div",{className:e.body,children:[!a&&B.jsx(dn,{size:"medium"}),a&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Environment"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:"Tooling and host detection"}),B.jsxs("div",{className:e.grid,children:[B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(h5,{})}),B.jsx($o,{children:"Host"})]}),B.jsx(Ea,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),B.jsx(Ea,{ok:!!a.node,label:"Node.js",value:a.node}),B.jsx(Ea,{ok:!!a.git,label:"Git",value:a.git}),B.jsx(Ea,{ok:!!a.dotnet,label:".NET SDK",value:a.dotnet})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(dR,{})}),B.jsx($o,{children:"Power Platform tooling"})]}),B.jsx(Ea,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),B.jsxs("div",{className:e.row,children:[B.jsxs(Kt,{className:e.rowLabel,children:[a.op?B.jsx(pn,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(ld,{style:{color:P.colorBrandForeground1}}),"1Password CLI"]}),B.jsx(dr,{appearance:"filled",color:a.op?"success":"informative",children:a.op?a.op:"optional · not installed"})]})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(cR,{})}),B.jsx($o,{children:"Repository"})]}),B.jsx(Ea,{neutral:!0,label:"Branch",value:a.branch}),B.jsxs("div",{className:e.row,children:[B.jsxs(Kt,{className:e.rowLabel,children:[a.repoIsClean?B.jsx(pn,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(ld,{style:{color:P.colorPaletteYellowForeground1}}),"Working tree"]}),B.jsx(dr,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),B.jsx(Ea,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Raw state"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),B.jsx(fr,{style:{color:P.colorNeutralForeground2,marginTop:"8px",marginBottom:"16px"},children:"The exact contents the server sees on disk. This is what every step reads from and writes to."}),B.jsx("pre",{className:e.pre,children:JSON.stringify(((l=n.data)==null?void 0:l.state)??{},null,2)})]})]})]})}const vF=or({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:P.colorNeutralBackground1,color:P.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function bF(){const e=vF();return B.jsxs("div",{className:e.root,children:[B.jsx(YO,{}),B.jsx("div",{className:e.body,children:B.jsxs(N4,{children:[B.jsx(Pi,{path:"/",element:B.jsx(oF,{})}),B.jsx(Pi,{path:"/step/:n",element:B.jsx(hF,{})}),B.jsx(Pi,{path:"/summary",element:B.jsx(pF,{})}),B.jsx(Pi,{path:"/diagnostics",element:B.jsx(mF,{})}),B.jsx(Pi,{path:"*",element:B.jsx(z4,{to:"/",replace:!0})})]})})]})}const yF=new A_({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),xF=document.getElementById("root");NB.createRoot(xF).render(B.jsx(b.StrictMode,{children:B.jsx(D_,{client:yF,children:B.jsx(VO,{children:B.jsx(Y4,{children:B.jsx(bF,{})})})})}));