@pacaf/wizard-ux 3.5.2 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{index-CJCvBXAD.js → index-COjPOI_E.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/server/lib/pac-parse.mjs +55 -0
- package/server/steps/01-prerequisites.mjs +133 -2
- package/server/steps/02-project-and-env.mjs +10 -73
- package/server/steps/04-auth-setup.mjs +42 -286
- package/server/steps/05-environments.mjs +436 -0
- package/server/steps/{05-publisher.mjs → 06-publisher.mjs} +9 -57
- package/server/steps/{06-solution.mjs → 07-solution.mjs} +8 -8
- package/server/steps/{07-scaffold.mjs → 08-scaffold.mjs} +8 -8
- package/server/steps/{08-connectors.mjs → 09-connectors.mjs} +13 -13
- package/server/steps/{09-verify-deploy.mjs → 10-verify-deploy.mjs} +6 -6
- package/server/steps/{10-add-to-solution.mjs → 11-add-to-solution.mjs} +2 -2
- package/server/steps/index.mjs +8 -7
|
@@ -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 mx;function W8(){if(mx)return Lp;mx=1;var e=_d();function o(m,w){return m===w&&(m!==0||1/m===1/w)||m!==m&&w!==w}var n=typeof Object.is=="function"?Object.is:o,a=e.useState,l=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue;function d(m,w){var B=w(),k=a({inst:{value:B,getSnapshot:w}}),x=k[0].inst,C=k[1];return c(function(){x.value=B,x.getSnapshot=w,h(x)&&C({inst:x})},[m,B,w]),l(function(){return h(x)&&C({inst:x}),m(function(){h(x)&&C({inst:x})})},[m]),u(B),B}function h(m){var w=m.getSnapshot;m=m.value;try{var B=w();return!n(m,B)}catch{return!0}}function p(m,w){return w()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:d;return Lp.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,Lp}var vx;function X8(){return vx||(vx=1,Ip.exports=W8()),Ip.exports}var $8=X8();function bx(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 yx=20;function a5(e,o){return Math.sqrt((e[0]-o[0])**2+(e[1]-o[1])**2)}function K8(e,o){const n=a5(e,o);return n===0?[0,0]:[(e[0]-o[0])/n,(e[1]-o[1])/n]}function Q8(e,o,n){const a=[(e[0]+o[0])/2,(e[1]+o[1])/2],l=K8([n[0],n[1]],[a[0],a[1]]),c=a5([a[0],a[1]],[n[0],n[1]]);return[a[0]+l[0]*(c+yx),a[1]+l[1]*(c+yx)]}function Lu(e){return`M ${e} z`}const Z8=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 xx(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 Y8(e,o,n,a){let l=`M 0,0 H ${e} V ${o} H 0 Z `;return l+=xx(n),l+=xx(a),l}const wx={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON(){return""}};function Sx(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 J8(e,o){return e[0]===o[0]&&e[1]===o[1]}const e7=b.memo(e=>{const{debug:o,onMouseEnter:n,onMouseMove:a,onMouseLeave:l,stateStore:c}=e,u=Yt(),d=Z8(),h=$8.useSyncExternalStore(c.subscribe,c.isActive),p=b.useRef(null),[v,m]=b.useState(()=>({containerRect:wx,targetRect:wx,mouseCoordinates:[0,0]}));b.useImperativeHandle(e.imperativeRef,()=>({updateSVG(le){m(Q=>Sx(Q.containerRect,le.containerRect)&&Sx(Q.targetRect,le.targetRect)&&J8(Q.mouseCoordinates,le.mouseCoordinates)?Q:le)}}),[]);const{containerRect:w,targetRect:B,mouseCoordinates:k}=v,x=Math.min(B.top,w.top),C=Math.min(B.left,w.left),_=Math.max(B.bottom,w.bottom),j=Math.max(B.right,w.right),z=bx(w,[C,x]),T=bx(B,[C,x]),E=[k[0]-C,k[1]-x],R=Q8(z.topLeft,z.bottomRight,E),F=[R,z.topLeft,z.topRight],O=[R,z.topRight,z.bottomRight],X=[R,z.bottomRight,z.bottomLeft],ee=[R,z.bottomLeft,z.topLeft],he=j-C,ie=_-x,ue=Y8(he,ie,{x:T.topLeft[0],y:T.topLeft[1],width:B.width,height:B.height},{x:z.topLeft[0],y:z.topLeft[1],width:w.width,height:w.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:p,style:{width:`${he}px`,height:`${ie}px`,transform:`translate(${C}px, ${x}px)`}},b.createElement("g",{className:de(d.triangle,o&&d.triangleDebug),clipPath:`url(#${u})`,onMouseEnter:n,onMouseMove:a,onMouseLeave:l},b.createElement("path",{d:Lu(F)}),b.createElement("path",{d:Lu(O)}),b.createElement("path",{d:Lu(X)}),b.createElement("path",{d:Lu(ee)})),b.createElement("clipPath",{id:u},b.createElement("path",{d:ue})),o&&b.createElement("path",{className:d.rectDebug,d:ue})):null)}),t7=2e3;function o7({debug:e=!1,disabled:o=!1,onSafeZoneEnter:n,onSafeZoneMove:a,onSafeZoneLeave:l,onSafeZoneTimeout:c,timeout:u=1500}={}){const[d]=b.useState(G8),h=b.useRef(null),p=b.useRef(null),v=b.useRef(null),[m,w]=zl(),[B,k]=dC(),x=b.useRef({x:0,y:0}),C=b.useMemo(()=>{if(o)return()=>{};let E=null;function R(){w(),d.toggleActive(!1)}return F=>{F===null&&(E==null||E.removeEventListener("mouseenter",R)),E=F,F==null||F.addEventListener("mouseenter",R)}},[w,o,d]),_=b.useMemo(()=>{if(o)return()=>{};let E=null;function R(F){x.current={x:F.clientX,y:F.clientY},d.isActive()||d.toggleActive(!0),m(()=>{d.toggleActive(!1)},t7)}return F=>{F===null&&(k(),w(),E==null||E.removeEventListener("mousemove",R)),E=F,F==null||F.addEventListener("mousemove",R)}},[k,w,o,d,m]),j=ge(E=>{n==null||n(E),m(()=>{d.toggleActive(!1),c==null||c()},u)}),z=ge(E=>{m(()=>{d.toggleActive(!1),c==null||c()},u),a==null||a(E)}),T=ge(E=>{l==null||l(E)});return b.useEffect(()=>d.subscribe(E=>{if(E){let F=function(){const O=p.current,X=v.current;if(O&&X){var ee;(ee=h.current)===null||ee===void 0||ee.updateSVG({containerRect:O.getBoundingClientRect(),mouseCoordinates:[x.current.x,x.current.y],targetRect:X.getBoundingClientRect()})}B(F)};var R=F;F();return}k()}),[k,B,d]),{containerRef:it(p,C),targetRef:it(v,_),elementToRender:b.useMemo(()=>o?null:b.createElement(e7,{debug:e,onMouseEnter:j,onMouseMove:z,onMouseLeave:T,imperativeRef:h,stateStore:d}),[o,e,j,z,T,d])}}const bm=ei(void 0),i5={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};bm.Provider;const Gt=e=>Tl(bm,(o=i5)=>e(o)),r7=(e,o)=>{const n=Gt(u=>u.size),a=Gt(u=>u.appearance),l=Ld(),c=n7(e,it(o,l));return{appearance:a,size:n,...c}},n7=(e,o)=>{const n=Gt(C=>C.contentRef),a=Gt(C=>C.openOnHover),l=Gt(C=>C.setOpen),c=Gt(C=>C.mountNode),u=Gt(C=>C.arrowRef),d=Gt(C=>C.withArrow),h=Gt(C=>C.trapFocus),p=Gt(C=>C.inertTrapFocus),v=Gt(C=>C.inline),{modalAttributes:m}=Id({trapFocus:h,legacyTrapFocus:!p,alwaysFocusable:!h}),w={inline:v,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ne({ref:it(o,n),role:h?"dialog":"group","aria-modal":h?!0:void 0,...m,...e},{elementType:"div"})},{onMouseEnter:B,onMouseLeave:k,onKeyDown:x}=w.root;return w.root.onMouseEnter=C=>{a&&l(C,!0),B==null||B(C)},w.root.onMouseLeave=C=>{a&&l(C,!1),k==null||k(C)},w.root.onKeyDown=C=>{var _;C.key==="Escape"&&(!((_=n.current)===null||_===void 0)&&_.contains(C.target))&&(C.preventDefault(),l(C,!1)),x==null||x(C)},w};function a7(e){return vr(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const i7=nd.useInsertionEffect?nd.useInsertionEffect:Mt,l5=Symbol.for("fui-portal-style-ref-count"),l7="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",s5="fui-portal-styles";function c5(e){var o;return(o=e[l5])!==null&&o!==void 0?o:0}function Bg(e,o){e[l5]=o}function s7(e){var o;const n=c5(e);if(n>0){Bg(e,n+1);return}const a=e.createElement("style");a.id=s5,e.head.prepend(a),(o=a.sheet)===null||o===void 0||o.insertRule(l7),Bg(e,1)}function c7(e){const o=c5(e);if(o===0)return;const n=o-1;if(n===0){var a;(a=e.head.querySelector(`#${s5}`))===null||a===void 0||a.remove()}Bg(e,n)}function u7(e){const{targetDocument:o}=Qe();i7(()=>{if(!(e||!o))return s7(o),()=>c7(o)},[e,o])}const u5=nd.useInsertionEffect,d7=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},f7=()=>{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}},h7=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,[c]=b.useState(f7),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 p=c.get(l,!0),v=p?p[h]:void 0;return typeof v=="function"?v.bind(p):v},set(d,h,p){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]:p}),!0):!1}}),[c,l,e.disabled]);return u5(()=>{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},p7=u5?h7:d7,g7=e=>{"use no memo";const{targetDocument:o,dir:n}=Qe(),a=lC(),l=Uw(),c=Yz(),u={dir:n,disabled:e.disabled,focusVisibleRef:l,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(o==null?void 0:o.body)};return u7(e.disabled),p7(u)},m7=e=>{const{element:o,className:n}=a7(e.mountNode),a=b.useRef(null),l=g7({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 Ty(c,d),()=>{Ty(c,void 0)}},[a,c]),u},v7=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Xp.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),Ml=e=>{const o=m7(e);return v7(o)};Ml.displayName="Portal";const b7=e=>{const o=lt(e.root,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?o:ne(Ml,{mountNode:e.mountNode,children:o})},y7={root:"fui-PopoverSurface"},x7={small:6,medium:8,large:8},w7=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;}']}),S7=e=>{"use no memo";const o=w7();return e.root.className=de(y7.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},d5=b.forwardRef((e,o)=>{const n=r7(e,o);return S7(n),Xe("usePopoverSurfaceStyles_unstable")(n),b7(n)});d5.displayName="PopoverSurface";const k7=4,kx=Ie.durationSlower,Bx=Ie.curveDecelerateMid,_x=jl(({distance:e=10})=>({enter:[ua({duration:kx,easing:Bx,direction:"enter"}),{...qS({duration:kx,easing:Bx,direction:"enter",outX:`calc(var(${md}, 0px) * ${e})`,outY:`calc(var(${vd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),B7=e=>{const{appearance:o,size:n="medium"}=e,a=Dl(e.positioning),l=e.withArrow&&!a.coverTarget,{targetDocument:c}=Qe(),u=PS({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=_7({...e,positioning:{...a,onPositioningEnd:u,...l?{offset:t5(a.offset,x7[n])}:{}}});return{components:{surfaceMotion:_x},appearance:o,size:n,...d,surfaceMotion:hc(e.surfaceMotion,{elementType:_x,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},_7=e=>{const[o,n]=n5(),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]=z7(a),[p,v]=zl(),m=ge((E,R)=>{if(v(),!(E instanceof Event)&&E.persist&&E.persist(),E.type==="mouseleave"){var F;p(()=>{h(E,R)},(F=e.mouseLeaveDelay)!==null&&F!==void 0?F:500)}else h(E,R)}),w=b.useCallback(E=>{m(E,!d)},[m,d]),B=C7(a),{targetDocument:k}=Qe();var x;Yg({contains:Us,element:k,callback:E=>m(E,!1),refs:[B.triggerRef,B.contentRef],disabled:!d,disabledFocusOnIframe:!(!((x=e.closeOnIframeFocus)!==null&&x!==void 0)||x)});const C=a.openOnContext||a.closeOnScroll;Sw({contains:Us,element:k,callback:E=>m(E,!1),refs:[B.triggerRef,B.contentRef],disabled:!d||!C});const{findFirstFocusable:_}=uc(),j=mT();b.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const E=B.contentRef.current;if(d&&E){var R;const F=!isNaN((R=E.getAttribute("tabIndex"))!==null&&R!==void 0?R:void 0),O=F?E:_(E);O==null||O.focus(),F&&j(E)}},[_,j,d,B.contentRef,e.unstable_disableAutoFocus]);var z,T;return{...a,...B,inertTrapFocus:(z=e.inertTrapFocus)!==null&&z!==void 0?z:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:u,open:d,setOpen:m,toggleOpen:w,setContextTarget:n,contextTarget:o,inline:(T=e.inline)!==null&&T!==void 0?T:!1}};function z7(e){"use no memo";const o=ge((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 C7(e){"use no memo";const o={position:"above",align:"center",arrowPadding:2*k7,target:e.openOnContext?e.contextTarget:void 0,...Dl(e.positioning)};o.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:l}=Kd(o);return{triggerRef:n,contentRef:a,arrowRef:l}}function N7(e){const{appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:p,size:v,toggleOpen:m,trapFocus:w,triggerRef:B,withArrow:k,inertTrapFocus:x}=e;return{popover:b.useMemo(()=>({appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:p,size:v,toggleOpen:m,trapFocus:w,triggerRef:B,withArrow:k,inertTrapFocus:x}),[o,n,a,l,c,u,d,h,p,v,m,w,B,k,x])}}const T7=(e,o)=>{var n;return lt(bm.Provider,{value:(n=o==null?void 0:o.popover)!==null&&n!==void 0?n:i5,children:[e.popoverTrigger,e.popoverSurface&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.popoverSurface})})]})},f5=e=>{const o=B7(e),n=N7(o);return T7(o,n)};f5.displayName="Popover";const E7=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=cc(o),l=Gt(z=>z.open),c=Gt(z=>z.setOpen),u=Gt(z=>z.toggleOpen),d=Gt(z=>z.triggerRef),h=Gt(z=>z.openOnHover),p=Gt(z=>z.openOnContext),{triggerAttributes:v}=Id(),m=z=>{p&&(z.preventDefault(),c(z,!0))},w=z=>{p||u(z)},B=z=>{z.key===El&&l&&!z.isDefaultPrevented()&&(c(z,!1),z.preventDefault())},k=z=>{h&&c(z,!0)},x=z=>{h&&c(z,!1)},C={...v,"aria-expanded":`${l}`,...a==null?void 0:a.props,onMouseEnter:ge(Ae(a==null?void 0:a.props.onMouseEnter,k)),onMouseLeave:ge(Ae(a==null?void 0:a.props.onMouseLeave,x)),onContextMenu:ge(Ae(a==null?void 0:a.props.onContextMenu,m)),ref:it(d,sc(a))},_={...C,onClick:ge(Ae(a==null?void 0:a.props.onClick,w)),onKeyDown:ge(Ae(a==null?void 0:a.props.onKeyDown,B))},j=Za((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",_);return{children:Od(e.children,Za((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",p?C:n?_:j))}},j7=e=>e.children,ym=e=>{const o=E7(e);return j7(o)};ym.displayName="PopoverTrigger";ym.isFluentTriggerComponent=!0;const R7=6,A7=4,D7=e=>-1,M7=e=>{};function O7(e){const{targetDocument:o}=Qe(),n=o==null?void 0:o.defaultView,a=n?n.setTimeout:D7,l=n?n.clearTimeout:M7,c=b.useRef(void 0),u=b.useCallback((h,p)=>(c.current!==void 0&&l(c.current),c.current=a(h,p??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 F7=e=>{"use no memo";var o,n,a,l,c,u,d;const h=tC(),p=mC(),{targetDocument:v}=Qe(),[m,w]=Ao({state:e.visible,initialState:!1}),{children:B,content:k,withArrow:x=!1,positioning:C="above",onVisibleChange:_,relationship:j,showDelay:z=250,hideDelay:T=250,mountNode:E}=e,R={withArrow:x,positioning:C,showDelay:z,hideDelay:T,relationship:j,visible:m,shouldRenderTooltip:m,mountNode:E,components:{content:"div"},content:Ne(k,{defaultProps:{role:"tooltip"},elementType:"div"})};R.content.id=Yt("tooltip-",R.content.id);const F={enabled:R.visible,arrowPadding:2*A7,position:"above",align:"center",offset:4,...Dl(R.positioning)};R.withArrow&&(F.offset=t5(F.offset,R7));const{targetRef:O,containerRef:X,arrowRef:ee}=Kd(F),[he,ie]=O7(X),ue=b.useCallback((U,J)=>{ie(),w(se=>(J.visible!==se&&(_==null||_(U,J)),J.visible))},[ie,w,_]);R.content.ref=it(R.content.ref,X),R.arrowRef=ee,Mt(()=>{if(m){var U;const J={hide:me=>ue(void 0,{visible:!1,documentKeyboardEvent:me})};(U=h.visibleTooltip)===null||U===void 0||U.hide(),h.visibleTooltip=J;const se=me=>{me.key===El&&!me.defaultPrevented&&(J.hide(me),me.preventDefault())};return v==null||v.addEventListener("keydown",se,{capture:!0}),()=>{h.visibleTooltip===J&&(h.visibleTooltip=void 0),v==null||v.removeEventListener("keydown",se,{capture:!0})}}},[h,v,m,ue]);const le=b.useRef(!1),Q=b.useCallback(U=>{if(U.type==="focus"&&le.current){le.current=!1;return}const J=h.visibleTooltip?0:R.showDelay;he(()=>{ue(U,{visible:!0})},J),U.persist()},[he,ue,R.showDelay,h]),L=pT(),[te]=b.useState(()=>{const U=se=>{var me;!((me=se.detail)===null||me===void 0)&&me.isFocusedProgrammatically&&!L()&&(le.current=!0)};let J=null;return se=>{J==null||J.removeEventListener(Do,U),se==null||se.addEventListener(Do,U),J=se}}),oe=b.useCallback(U=>{let J=R.hideDelay;U.type==="blur"&&(J=0,le.current=(v==null?void 0:v.activeElement)===U.target),he(()=>{ue(U,{visible:!1})},J),U.persist()},[he,ue,R.hideDelay,v]);R.content.onPointerEnter=Ae(R.content.onPointerEnter,ie),R.content.onPointerLeave=Ae(R.content.onPointerLeave,oe),R.content.onFocus=Ae(R.content.onFocus,ie),R.content.onBlur=Ae(R.content.onBlur,oe);const fe=cc(B),Se={},q=(fe==null||(o=fe.props)===null||o===void 0?void 0:o["aria-haspopup"])&&((fe==null||(n=fe.props)===null||n===void 0?void 0:n["aria-expanded"])===!0||(fe==null||(a=fe.props)===null||a===void 0?void 0:a["aria-expanded"])==="true");return j==="label"?typeof R.content.children=="string"?Se["aria-label"]=R.content.children:(Se["aria-labelledby"]=R.content.id,R.shouldRenderTooltip=!0):j==="description"&&(Se["aria-describedby"]=R.content.id,R.shouldRenderTooltip=!0),(p||q)&&(R.shouldRenderTooltip=!1),R.children=Od(B,{...Se,...fe==null?void 0:fe.props,ref:it(sc(fe),te,F.target===void 0?O:void 0),onPointerEnter:ge(Ae(fe==null||(l=fe.props)===null||l===void 0?void 0:l.onPointerEnter,Q)),onPointerLeave:ge(Ae(fe==null||(c=fe.props)===null||c===void 0?void 0:c.onPointerLeave,oe)),onFocus:ge(Ae(fe==null||(u=fe.props)===null||u===void 0?void 0:u.onFocus,Q)),onBlur:ge(Ae(fe==null||(d=fe.props)===null||d===void 0?void 0:d.onBlur,oe))}),R},q7=e=>{"use no memo";const{appearance:o="normal",...n}=e,a=F7(n);return{appearance:o,...a}},H7=e=>lt(b.Fragment,{children:[e.children,e.shouldRenderTooltip&&ne(Ml,{mountNode:e.mountNode,children:lt(e.content,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),P7={content:"fui-Tooltip__content"},I7=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;}']}),L7=e=>{"use no memo";const o=I7();return e.content.className=de(P7.content,o.root,e.appearance==="inverted"&&o.inverted,e.visible&&o.visible,e.content.className),e.arrowClassName=o.arrow,e},Qd=e=>{const o=q7(e);return L7(o),Xe("useTooltipStyles_unstable")(o),H7(o)};Qd.displayName="Tooltip";Qd.isFluentTriggerComponent=!0;const U7=e=>{const{iconOnly:o,iconPosition:n}=e;return lt(e.root,{children:[n!=="after"&&e.icon&&ne(e.icon,{}),!o&&e.root.children,n==="after"&&e.icon&&ne(e.icon,{})]})},h5=b.createContext(void 0),V7={};h5.Provider;const G7=()=>{var e;return(e=b.useContext(h5))!==null&&e!==void 0?e:V7},W7=(e,o)=>{const{size:n}=G7(),{appearance:a="secondary",shape:l="rounded",size:c=n??"medium",...u}=e,d=X7(u,o);return{appearance:a,shape:l,size:c,...d}},X7=(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(Za(l.as,l),{elementType:"button",defaultProps:{ref:o,type:e.as!=="a"?"button":void 0}}),icon:c}},zx={root:"fui-Button",icon:"fui-Button__icon"},$7=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;}}"]}),K7=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);}"]),Q7=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)"}]]}),Z7=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)"}]]}),Y7=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;}}"]}),J7=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;}"]}),e9=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);}"]}),t9=e=>{"use no memo";const o=$7(),n=K7(),a=Q7(),l=Z7(),c=Y7(),u=J7(),d=e9(),{appearance:h,disabled:p,disabledFocusable:v,icon:m,iconOnly:w,iconPosition:B,shape:k,size:x}=e;return e.root.className=de(zx.root,o,h&&a[h],a[x],m&&x==="small"&&a.smallWithIcon,m&&x==="large"&&a.largeWithIcon,a[k],(p||v)&&l.base,(p||v)&&l.highContrast,h&&(p||v)&&l[h],h==="primary"&&c.primary,c[x],c[k],w&&u[x],e.root.className),e.icon&&(e.icon.className=de(zx.icon,n,!!e.root.children&&d[B],d[x],e.icon.className)),e},et=b.forwardRef((e,o)=>{const n=W7(e,o);return t9(n),Xe("useButtonStyles_unstable")(n),U7(n)});et.displayName="Button";const p5=b.createContext(void 0),o9=p5.Provider,r9=()=>b.useContext(p5),n9=e=>{var o,n,a,l;const{generatedControlId:c,orientation:u,required:d,size:h,validationState:p}=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,w=(a=e.validationMessage)===null||a===void 0?void 0:a.id,B=(l=e.hint)===null||l===void 0?void 0:l.id;return{field:b.useMemo(()=>({generatedControlId:c,hintId:B,labelFor:v,labelId:m,orientation:u,required:d,size:h,validationMessageId:w,validationState:p}),[c,B,v,m,u,d,h,w,p])}};function ti(e,o){return g5(r9(),e,o)}function g5(e,o,n){if(!e)return o;o={...o};const{generatedControlId:a,hintId:l,labelFor:c,labelId:u,required:d,validationMessageId:h,validationState:p}=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 w,B,k;(k=(w=o)[B="aria-labelledby"])!==null&&k!==void 0||(w[B]=u)}if((h||l)&&(o["aria-describedby"]=[h,l,o==null?void 0:o["aria-describedby"]].filter(Boolean).join(" ")),p==="error"){var x,C,_;(_=(x=o)[C="aria-invalid"])!==null&&_!==void 0||(x[C]=!0)}if(d)if(n!=null&&n.supportsRequired){var j,z;(z=(j=o).required)!==null&&z!==void 0||(j.required=!0)}else{var T,E,R;(R=(T=o)[E="aria-required"])!==null&&R!==void 0||(T[E]=!0)}if(n!=null&&n.supportsSize){var F,O;(O=(F=o).size)!==null&&O!==void 0||(F.size=e.size)}return o}const a9=(e,o)=>{let{children:n}=e;return typeof n=="function"&&(n=n(g5(o.field)||{})),ne(o9,{value:o==null?void 0:o.field,children:lt(e.root,{children:[e.label&&ne(e.label,{}),n,e.validationMessage&<(e.validationMessage,{children:[e.validationMessageIcon&&ne(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&ne(e.hint,{})]})})},i9=(e,o)=>{const{weight:n="regular",size:a="medium",...l}=e,c=l9(l,o);return{weight:n,size:a,...c}},l9=(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"})}},s9=e=>lt(e.root,{children:[e.root.children,e.required&&ne(e.required,{})]}),Cx={root:"fui-Label",required:"fui-Label__required"},c9=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)"}]]}),u9=e=>{"use no memo";const o=c9();return e.root.className=de(Cx.root,o.root,e.disabled&&o.disabled,o[e.size],e.weight==="semibold"&&o.semibold,e.root.className),e.required&&(e.required.className=de(Cx.required,o.required,e.disabled&&o.disabled,e.required.className)),e},xr=b.forwardRef((e,o)=>{const n=i9(e,o);return u9(n),Xe("useLabelStyles_unstable")(n),s9(n)});xr.displayName="Label";const d9=(e,o)=>{const{children:n,required:a=!1,validationState:l=e.validationMessage?"error":"none"}=e,c=Yt("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"}),p=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:p,hint:v}},f9={error:b.createElement(Rj,null),warning:b.createElement(Cj,null),success:b.createElement(Tj,null),none:void 0},h9=(e,o)=>{const{orientation:n="vertical",size:a="medium",...l}=e,c=d9(l,o),u=f9[c.validationState];return{...c,components:{...c.components,label:xr},label:De(e.label,{defaultProps:{size:a,...c.label},elementType:xr}),validationMessageIcon:De(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},As={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},p9=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;}"]}),g9=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;}"]}),m9=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);}"]),v9=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));}"]}),b9=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;}"]),y9=ve({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),x9=e=>{"use no memo";const{validationState:o,size:n}=e,a=e.orientation==="horizontal",l=p9();e.root.className=de(As.root,l.base,a&&l.horizontal,a&&!e.label&&l.horizontalNoLabel,e.root.className);const c=g9();e.label&&(e.label.className=de(As.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=b9(),d=y9();e.validationMessageIcon&&(e.validationMessageIcon.className=de(As.validationMessageIcon,u,o!=="none"&&d[o],e.validationMessageIcon.className));const h=m9(),p=v9();return e.validationMessage&&(e.validationMessage.className=de(As.validationMessage,h,o==="error"&&p.error,!!e.validationMessageIcon&&p.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=de(As.hint,h,e.hint.className)),e},m5=b.forwardRef((e,o)=>{const n=h9(e,o);x9(n),Xe("useFieldStyles_unstable")(n);const a=n9(n);return a9(n,a)});m5.displayName="Field";const w9=(e,o)=>{"use no memo";e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...l}=e,c=S9(l,o),u=c.checked==="mixed";let d;if(u?n==="circular"?d=b.createElement(sm,null):d=a==="large"?b.createElement(jj,null):b.createElement(Ej,null):c.checked&&(d=a==="large"?b.createElement(Nj,null):b.createElement(BS,null)),c.indicator){var h,p;(p=(h=c.indicator).children)!==null&&p!==void 0||(h.children=d)}return{shape:n,size:a,...c,components:{...c.components,label:xr},label:De(e.label,{defaultProps:{...c.label,size:"medium"},elementType:xr})}},S9=(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=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=u==="mixed",v=Yt("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:om(),...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,B=>{const k=B.currentTarget.indeterminate?"mixed":B.currentTarget.checked;c==null||c(B,{checked:k}),d(k)});const w=it(m.input.ref);return m.input.ref=w,Mt(()=>{w.current&&(w.current.indeterminate=p)},[w,p]),m},k9=e=>lt(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,{})]}),Uu={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},B9=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;}}"]}),_9=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)"}]]}),z9=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));}"]),C9=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));}"]}),N9=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;}"]),T9=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}]]}),E9=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);}"]}),j9=e=>{"use no memo";const{checked:o,disabled:n,labelPosition:a,shape:l,size:c}=e,u=B9(),d=_9();e.root.className=de(Uu.root,u,n?d.disabled:o==="mixed"?d.mixed:o?d.checked:d.unchecked,e.root.className);const h=z9(),p=C9();e.input.className=de(Uu.input,h,c==="large"&&p.large,p[a],e.input.className);const v=N9(),m=T9();e.indicator&&(e.indicator.className=de(Uu.indicator,v,c==="large"&&m.large,l==="circular"&&m.circular,e.indicator.className));const w=E9();return e.label&&(e.label.className=de(Uu.label,w.base,w[c],w[a],e.label.className)),e},xm=b.forwardRef((e,o)=>{const n=w9(e,o);return j9(n),Xe("useCheckboxStyles_unstable")(n),k9(n)});xm.displayName="Checkbox";const v5=ei({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});v5.Provider;const R9={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},gc=ei(void 0),Eo=e=>Tl(gc,(o=R9)=>e(o)),A9=gc.Provider;function D9(e){const{appearance:o,open:n,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setOpen:h,size:p,activeDescendantController:v,onOptionClick:m,onActiveDescendantChange:w}=e,B={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:h,size:p},k={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:m,onActiveDescendantChange:w},x=b.useMemo(()=>({controller:v}),[v]);return{combobox:B,activeDescendant:x,listbox:k}}function M9(e){const o=fc(gc),{getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:h}=e,p=Eo(x=>x.registerOption),v=Eo(x=>x.onOptionClick),m=Eo(x=>x.onActiveDescendantChange),B={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:o?p:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:v,onActiveDescendantChange:m},k=b.useMemo(()=>({controller:h}),[h]);return{listbox:B,activeDescendant:k}}function wd(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!==dn&&!c&&!u&&!h?"Type":n?l===Op&&c||l===Zi||!a&&l===dn?"CloseSelect":a&&l===dn?"Select":l===El?"Close":l===bg?"Next":l===Op?"Previous":l===qE?"First":l===FE?"Last":l===PE?"PageUp":l===HE?"PageDown":l===fS?"Tab":"None":l===bg||l===Op||l===Zi||l===dn?"Open":"None"}const b5=()=>{const e=b.useRef(new Map),o=b.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:p=>e.current.get(p),getOptionsMatchingText:p=>Array.from(e.current.values()).filter(({text:v})=>p(v)),getOptionsMatchingValue:p=>{const v=[];for(const m of e.current.values())p(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}},y5=e=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:a}=e,[l,c]=Ao({state:e.selectedOptions,defaultState:o,initialState:[]}),u=b.useCallback((h,p)=>{if(p.disabled)return;let v=[p.value];if(n){const m=l.findIndex(w=>w===p.value);m>-1?v=[...l.slice(0,m),...l.slice(m+1)]:v=[...l,p.value]}c(v),a==null||a(h,{optionValue:p.value,optionText:p.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}},Sd={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},O9=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)"}]]}),F9=e=>{"use no memo";const{disabled:o,multiselect:n,selected:a}=e,l=O9();return e.root.className=de(Sd.root,l.root,l.active,o&&l.disabled,a&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=de(Sd.checkIcon,l.checkIcon,n&&l.multiselectCheck,a&&l.selectedCheck,a&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,e.checkIcon.className)),e},Nx={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},q9=(e,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,l=b5(),{listboxRef:c,activeParentRef:u,controller:d}=vS({matchOption:le=>le.classList.contains(Sd.root)}),h=fc(gc),p=Eo(le=>le.onActiveDescendantChange),v=Eo(le=>le.getOptionById),m=Eo(le=>le.getOptionsMatchingValue),w=h?v:l.getOptionById,B=h?m:l.getOptionsMatchingValue,k=b.useMemo(()=>{let le=null;const Q=L=>{const te=L;p==null||p(te)};return L=>{if(!L){le==null||le.removeEventListener("activedescendantchange",Q);return}le=L,le.addEventListener("activedescendantchange",Q)}},[p]),[x,C]=b.useState(!1);Vw(C);const _=pS(),j=LE(),z=j?_.controller:d,{clearSelection:T,selectedOptions:E,selectOption:R}=y5(e),F=le=>{const Q=wd(le,{open:!0}),L=z.active(),te=L?w(L):null;switch(Q){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":le.preventDefault();break}switch(Q){case"Next":te?z.next():z.first();break;case"Previous":te?z.prev():z.first();break;case"PageUp":case"First":z.first();break;case"PageDown":case"Last":z.last();break;case"Select":case"CloseSelect":te&&R(le,te);break}},O=Eo(le=>le.selectedOptions),X=Eo(le=>le.selectOption),ee=h?{selectedOptions:O,selectOption:X,...Nx}:{selectedOptions:E,selectOption:R,...Nx};b.useEffect(()=>{if(!j){if(z.hideFocusVisibleAttributes(),!a)if(!n&&ee.selectedOptions.length>0){const le=B(Q=>Q===ee.selectedOptions[0]).pop();le!=null&&le.id&&z.focus(le.id)}else z.first();return()=>{z.blur()}}},[]);const he=b.useCallback(()=>{j||(z.showFocusVisibleAttributes(),x&&z.scrollActiveIntoView())},[z,j,x]),ie=b.useCallback(()=>{j||z.hideFocusVisibleAttributes()},[z,j]),ue={components:{root:"div"},root:Ne(Et("div",{ref:it(o,u,c,k),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!h,multiselect:n,clearSelection:T,activeDescendantController:z,onActiveDescendantChange:p,...l,...ee};return ue.root.onKeyDown=ge(Ae(ue.root.onKeyDown,F)),ue.root.onFocus=ge(Ae(ue.root.onFocus,he)),ue.root.onBlur=ge(Ae(ue.root.onBlur,ie)),ue},H9=(e,o)=>ne(hS,{value:o.activeDescendant,children:ne(gc.Provider,{value:o.listbox,children:ne(e.root,{})})}),P9={root:"fui-Listbox"},I9=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);}"]}),L9=e=>{"use no memo";const o=I9();return e.root.className=de(P9.root,o.root,e.root.className),e},wm=b.forwardRef((e,o)=>{const n=q9(e,o),a=M9(n);return L9(n),Xe("useListboxStyles_unstable")(n),H9(n,a)});wm.displayName="Listbox";function U9(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 V9=(e,o)=>{"use no memo";const n=G9(e,o);let a=b.createElement(mj,null);if(n.multiselect&&(a=n.selected?b.createElement(BS,null):""),n.checkIcon){var l,c;(c=(l=n.checkIcon).children)!==null&&c!==void 0||(l.children=a)}return n},G9=(e,o)=>{const{children:n,disabled:a,text:l,value:c}=e,u=b.useRef(null),d=U9(l,n),h=c??d,p=Yt("fluent-option",e.id),v=b.useMemo(()=>({id:p,disabled:a,text:d,value:h}),[p,a,d,h]),{controller:m}=pS(),w=Eo(z=>z.multiselect),B=Eo(z=>z.registerOption),k=Eo(z=>{const T=z.selectedOptions;return h!==void 0&&T.find(E=>E===h)!==void 0}),x=Eo(z=>z.selectOption),C=Eo(z=>z.onOptionClick),_=z=>{var T;if(a){z.preventDefault();return}m.focus(p),x(z,v),C(z),(T=e.onClick)===null||T===void 0||T.call(e,z)};b.useEffect(()=>{if(p&&u.current)return B(v,u.current)},[p,v,B]);const j=w?{role:"menuitemcheckbox","aria-checked":k}:{role:"option","aria-selected":k};return{components:{root:"div",checkIcon:"span"},root:Ne(Et("div",{ref:it(o,u),"aria-disabled":a?"true":void 0,id:p,...j,...e,onClick:_}),{elementType:"div"}),checkIcon:De(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:w,selected:k,focusVisible:!1,active:!1}},W9=e=>lt(e.root,{children:[e.checkIcon&&ne(e.checkIcon,{}),e.root.children]}),x5=b.forwardRef((e,o)=>{const n=V9(e,o);return F9(n),Xe("useOptionStyles_unstable")(n),W9(n)});x5.displayName="Option";const X9=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:p,size:v="medium",activeDescendantController:m,freeform:w=!1,disabled:B=!1,onActiveOptionChange:k=null}=e,x=b5(),{getOptionsMatchingValue:C}=x,{getOptionById:_}=x,j=b.useCallback(()=>{const U=m.active();return U?_(U):void 0},[m,_]),z=j(),T=b.useCallback(U=>{let J;if(typeof U=="function"){const se=j();J=U(se)}J?m.focus(J.id):m.blur()},[m,j]),[E,R]=b.useState(!1),[F,O]=b.useState(!1),X=b.useRef(!1),ee=Zg(),[he,ie]=Ao({state:e.value,initialState:void 0}),{selectedOptions:ue,selectOption:le,clearSelection:Q}=y5(e),L=b.useCallback((U,J)=>{Xp.unstable_batchedUpdates(()=>{ie(void 0),le(U,J)})},[ie,le]),te=b.useMemo(()=>{if(he!==void 0)return he;if(ee&&e.defaultValue!==void 0)return e.defaultValue;const U=C(J=>ue.includes(J)).map(J=>J.text);return h?c?"":U.join(", "):U[0]},[he,c,C,h,ue]),[oe,fe]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),Se=b.useCallback((U,J)=>{B||(p==null||p(U,{open:J}),Xp.unstable_batchedUpdates(()=>{!J&&!w&&ie(void 0),fe(J)}))},[p,fe,ie,w,B]);b.useEffect(()=>{if(oe){if(!h&&ue.length>0){const U=C(J=>J===ue[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 q=ge(U=>{const J=U.detail.previousId?x.getOptionById(U.detail.previousId):null,se=x.getOptionById(U.detail.id);k==null||k(U,{event:U,type:"change",previousOption:J,nextOption:se})});return{...x,freeform:w,disabled:B,selectOption:L,clearSelection:Q,selectedOptions:ue,activeOption:z,appearance:o,clearable:l,focusVisible:E,ignoreNextBlur:X,inlinePopup:u,mountNode:d,open:oe,hasFocus:F,setActiveOption:T,setFocusVisible:R,setHasFocus:O,setOpen:Se,setValue:ie,size:v,value:te,multiselect:h,onOptionClick:ge(U=>{h||Se(U,!1)}),onActiveDescendantChange:q}};function $9(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,...Dl(o)},{targetRef:l,containerRef:c}=Kd(a);return[c,l]}function K9(e,o,n){const{state:{multiselect:a},triggerRef:l,defaultProps:c}=n,u=Yt("fluent-listbox",$g(e)?e.id:void 0),d=De(e,{renderByDefault:!0,elementType:wm,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),h=ti({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&h["aria-labelledby"]&&(d["aria-labelledby"]=h["aria-labelledby"]);const p=ge(Ae(w=>{w.preventDefault()},d==null?void 0:d.onMouseDown)),v=ge(Ae(w=>{var B;w.preventDefault(),(B=l.current)===null||B===void 0||B.focus()},d==null?void 0:d.onClick)),m=it(d==null?void 0:d.ref,o);return d&&(d.ref=m,d.onMouseDown=p,d.onClick=v),d}function Q9(e,o,n){const{state:{open:a,setOpen:l,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:h}=n,p=Ne(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),v=b.useRef(null);return p.ref=it(v,p.ref,o),p.onBlur=Ae(m=>{l(m,!1),c(!1)},p.onBlur),p.onFocus=Ae(m=>{m.target===m.currentTarget&&c(!0)},p.onFocus),p.onClick=Ae(m=>{l(m,!a)},p.onClick),p.onKeyDown=Ae(Z9({activeDescendantController:h,...n.state}),p.onKeyDown),p}function Z9(e){const{activeDescendantController:o,getOptionById:n,setOpen:a,selectOption:l,multiselect:c,open:u}=e,d=b.useCallback(()=>{const x=o.active();return x?n(x):void 0},[o,n]),h=()=>{o.first()},p=()=>{o.last()},v=x=>{x?o.next():o.first()},m=x=>{x?o.prev():o.first()},w=()=>{for(let x=0;x<10;x++)o.prev()},B=()=>{for(let x=0;x<10;x++)o.next()},k=gT();return ge(x=>{const C=wd(x,{open:u,multiselect:c}),_=d();switch(C){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":x.preventDefault();break}switch(k(!0),C){case"First":h();break;case"Last":p();break;case"Next":v(_);break;case"Previous":m(_);break;case"PageDown":B();break;case"PageUp":w();break;case"Open":a(x,!0);break;case"Close":x.stopPropagation(),a(x,!1);break;case"CloseSelect":!c&&!(_!=null&&_.disabled)&&a(x,!1);case"Select":_&&l(x,_);break;case"Tab":!c&&_&&l(x,_);break}})}function Y9(e,o,n){"use no memo";const{state:{open:a,value:l,selectOption:c,setValue:u,multiselect:d,selectedOptions:h,clearSelection:p,getOptionById:v,setOpen:m},freeform:w,defaultProps:B,activeDescendantController:k}=n,x=O=>{if(!a&&!w){const X=k.active(),ee=X?v(X):null;l&&ee&&l.trim().toLowerCase()===(ee==null?void 0:ee.text.toLowerCase())&&c(O,ee),u(void 0)}},C=O=>{const X=O==null?void 0:O.trim().toLowerCase();if(!X||X.length===0){k.blur();return}const ee=ie=>ie.toLowerCase().indexOf(X)===0,he=k.find(ie=>{const ue=v(ie);return!!ue&&ee(ue.text)});if(!he){k.blur();return}return v(he)},_=O=>{const X=O.target.value;u(X);const ee=C(X);!d&&h.length===1&&(X.length<1||!ee)&&p(O)},j=Q9(e,o,{state:n.state,defaultProps:B,elementType:"input",activeDescendantController:k});j.onChange=Ae(j.onChange,_),j.onBlur=Ae(j.onBlur,x);const[z,T]=b.useState(!1),E=b.useRef(!1),R=j.onKeyDown,F=ge(O=>{!a&&wd(O)==="Type"&&m(O,!0),O.key===am||O.key===im?T(!0):T(!1);const X=wd(O,{open:a,multiselect:d});if(X==="Type"?E.current=!0:(X==="Open"&&O.key!==" "||X==="Next"||X==="Previous"||X==="First"||X==="Last"||X==="PageUp"||X==="PageDown")&&(E.current=!1),(E.current||!a)&&O.key===" "){var ee;e==null||(ee=e.onKeyDown)===null||ee===void 0||ee.call(e,O);return}R==null||R(O)});return j.onKeyDown=F,z&&(j["aria-activedescendant"]=void 0),j}const J9=(e,o)=>{"use no memo";var n,a;e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:l,activeParentRef:c,controller:u}=vS({matchOption:me=>me.classList.contains(Sd.root)}),d=X9({...e,editable:!0,activeDescendantController:u}),{appearance:h,size:p,...v}=d,{clearable:m,clearSelection:w,disabled:B,multiselect:k,open:x,selectedOptions:C,setOpen:_,value:j,hasFocus:z}=v,[T,E]=$9(e),{disableAutoFocus:R=!1,freeform:F,inlinePopup:O}=e,X=Yt("combobox-"),{primary:ee,root:he}=_l({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),ie=b.useRef(null),ue=K9(e.listbox,it(T,l),{state:d,triggerRef:ie,defaultProps:{children:e.children,disableAutoFocus:R}});var le;const Q=Y9((le=e.input)!==null&&le!==void 0?le:{},it(ie,c,o),{state:d,freeform:F,defaultProps:{type:"text",value:j??"","aria-controls":x?ue==null?void 0:ue.id:void 0,...ee},activeDescendantController:u}),L=Ne(e.root,{defaultProps:{"aria-owns":!O&&x?ue==null?void 0:ue.id:void 0,...he},elementType:"div"});L.ref=it(L.ref,E);const te=C.length>0&&!B&&m&&!k,oe={components:{root:"div",input:"input",expandIcon:"span",listbox:wm,clearIcon:"span"},root:L,input:Q,listbox:x||z?ue:void 0,clearIcon:De(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:De(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":B?"true":void 0,"aria-expanded":x,role:"button"},elementType:"span"}),showClearIcon:te,activeDescendantController:u,...v},{targetDocument:fe}=Qe();Yg({element:fe,callback:me=>_(me,!1),refs:[ie,T,E],disabled:!x});const{onMouseDown:Se}=oe.expandIcon||{},q=ge(Ae(Se,me=>{var _e;me.preventDefault(),oe.setOpen(me,!oe.open),(_e=ie.current)===null||_e===void 0||_e.focus()}));if(oe.expandIcon){oe.expandIcon.onMouseDown=q;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:`${X}-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 J=ge(Ae((n=oe.clearIcon)===null||n===void 0?void 0:n.onMouseDown,me=>{me.preventDefault()})),se=ge(Ae((a=oe.clearIcon)===null||a===void 0?void 0:a.onClick,me=>{w(me)}));return oe.clearIcon&&(oe.clearIcon.onMouseDown=J,oe.clearIcon.onClick=se),k&&(oe.clearIcon=void 0),oe},eA=(e,o)=>{"use no memo";const{appearance:n="outline",size:a="medium",...l}=e,c=J9(l,o);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=b.createElement(kj,null))}if(c.expandIcon){var h,p;(p=(h=c.expandIcon).children)!==null&&p!==void 0||(h.children=b.createElement(vj,null))}return{...c,appearance:n,size:a}},tA=(e,o)=>ne(e.root,{children:ne(hS,{value:o.activeDescendant,children:ne(A9,{value:o.listbox,children:lt(v5.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(Ml,{mountNode:e.mountNode,children:ne(e.listbox,{})}))]})})})}),Ds={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},oA=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);}"]}),rA=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;}"]}),nA=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;}"]}),aA=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=oA(),h=nA(),p=rA();return e.root.className=de(Ds.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(Ds.input,p.input,p[a],u&&p.disabled,e.input.className),e.listbox&&(e.listbox.className=de(Ds.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=de(Ds.expandIcon,h.icon,h[a],u&&h.disabled,l&&h.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=de(Ds.clearIcon,h.icon,h[a],u&&h.disabled,!l&&h.hidden,e.clearIcon.className)),e},w5=b.forwardRef((e,o)=>{const n=eA(e,o),a=D9(n);return aA(n),Xe("useComboboxStyles_unstable")(n),tA(n,a)});w5.displayName="Combobox";const iA=(e,o)=>{e=ti(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=Kg();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=lA(u,o);return{size:l,appearance:c,...d}},lA=(e,o)=>{const{onChange:n}=e,[a,l]=Ao({state:e.value,defaultState:e.defaultValue,initialState:""}),c=_l({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=ge(d=>{const h=d.target.value;n==null||n(d,{value:h}),l(h)}),u},sA=e=>lt(e.root,{children:[e.contentBefore&&ne(e.contentBefore,{}),ne(e.input,{}),e.contentAfter&&ne(e.contentAfter,{})]}),Vu={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},cA=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;}}"]}),uA=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;}"]}),dA=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;}"]),fA=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);}"]}),hA=Ee("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),pA=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;}"]}),gA=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=uA(),d=fA(),h=pA();e.root.className=de(Vu.root,cA(),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(Vu.input,dA(),d[o],e.contentBefore&&d[`${o}WithContentBefore`],e.contentAfter&&d[`${o}WithContentAfter`],a&&d.disabled,e.input.className);const p=[hA(),a&&h.disabled,h[o]];return e.contentBefore&&(e.contentBefore.className=de(Vu.contentBefore,...p,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=de(Vu.contentAfter,...p,e.contentAfter.className)),e},_g=b.forwardRef((e,o)=>{const n=iA(e,o);return gA(n),Xe("useInputStyles_unstable")(n),sA(n)});_g.displayName="Input";const mA=b.createContext(void 0),vA=mA.Provider,Sm=ei(void 0),bA={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},yA=Sm.Provider,st=e=>Tl(Sm,(o=bA)=>e(o)),S5=b.createContext(void 0),xA=!1,wA=S5.Provider,SA=()=>{var e;return(e=b.useContext(S5))!==null&&e!==void 0?e:xA},km=ei(void 0),kA={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},BA=km.Provider,Qs=e=>Tl(km,(o=kA)=>e(o)),Zs="fuimenuenter",_A=e=>{const{refs:o,callback:n,element:a,disabled:l}=e,c=ge(u=>{const d=o[0],h=u.target;var p;!Us((p=d.current)!==null&&p!==void 0?p:null,h)&&!l&&n(u)});b.useEffect(()=>{if(a!=null)return l||a.addEventListener(Zs,c),()=>{a.removeEventListener(Zs,c)}},[c,a,l])},zA=(e,o)=>{e.dispatchEvent(new CustomEvent(Zs,{bubbles:!0,detail:{nativeEvent:o}}))};function Bm(){const e=st(n=>n.isSubmenu),o=fc(km);return e||o}const k5=e=>{"use no memo";const{targetDocument:o}=Qe();return st(a=>a.triggerRef),st(a=>a.inline),b.useRef(null)},zg="fuimenusafezonetimeout",CA=e=>{const o=b.useRef(null);return b.useCallback(n=>{var a;(a=o.current)===null||a===void 0||a.removeEventListener(zg,e),n==null||n.addEventListener(zg,e),o.current=n},[e])},NA=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;}"]}),TA=e=>{"use no memo";const o=NA();e.checkmark&&(e.checkmark.className=de(o.root,e.checked&&o.rootChecked,e.checkmark.className))},Zn={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"},EA=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;}}"]}),jA=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;}"]),RA=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);}"]),AA=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;}"]),DA=Ee("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),MA=Ee("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),OA=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)"}]]}),FA=ve({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),qA=ve({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),HA=e=>{"use no memo";const o=OA(),n=EA(),a=jA(),l=RA(),c=AA(),u=DA(),d=qA(),h=MA(),p=FA(),v=!!e.subText;return e.root.className=de(Zn.root,n,e.disabled&&o.disabled,e.root.className),e.content&&(e.content.className=de(Zn.content,a,e.content.className,v&&d.content)),e.checkmark&&(e.checkmark.className=de(Zn.checkmark,o.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=de(Zn.secondaryContent,l,e.disabled&&o.disabled,e.secondaryContent.className,v&&d.secondaryContent)),e.icon&&(e.icon.className=de(Zn.icon,c,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=de(Zn.submenuIndicator,u,e.submenuIndicator.className,v&&d.submenuIndicator)),e.subText&&(e.subText.className=de(Zn.subText,e.disabled&&p.disabled,e.subText.className,h)),TA(e),e},Tx=Ie.durationSlower,Ex=Ie.curveDecelerateMid,jx=jl(({distance:e=10})=>({enter:[ua({duration:Tx,easing:Ex,direction:"enter"}),{...qS({duration:Tx,easing:Ex,direction:"enter",outX:`calc(var(${md}, 0px) * ${e})`,outY:`calc(var(${vd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),PA=["after","after-bottom","before-top","before","before-bottom","above"],IA=e=>{const o=Bm(),{hoverDelay:n=500,inline:a=!1,hasCheckmarks:l=!1,hasIcons:c=!1,closeOnScroll:u=!1,openOnContext:d=!1,persistOnItemClick:h=!1,openOnHover:p=o,defaultCheckedValues:v,mountNode:m=null,safeZone:w}=e,{targetDocument:B}=Qe(),k=Yt("menu"),[x,C]=n5(),_=Dl(e.positioning),j=PS({targetDocument:B,onPositioningEnd:_.onPositioningEnd}),z={position:o?"after":"below",align:o?"top":"start",target:e.openOnContext?x:void 0,fallbackPositions:o?PA:void 0,..._,onPositioningEnd:j},T=b.Children.toArray(e.children);let E,R;T.length===2?(E=T[0],R=T[1]):T.length===1&&(R=T[0]);const{targetRef:F,containerRef:O}=Kd(z),X=w&&p,ee=b.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),he=o7({disabled:!X,timeout:typeof w=="object"?w.timeout:300,onSafeZoneEnter:oe=>{Q(oe,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:oe}),ee.current.isInside=!0},onSafeZoneLeave:()=>{ee.current.isInside=!1},onSafeZoneMove:oe=>{ee.current.mouseCoordinates={x:oe.clientX,y:oe.clientY}},onSafeZoneTimeout:()=>{const oe=new CustomEvent(zg);if(Q(oe,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:oe}),ee.current.isInside&&B){const Se=B.elementsFromPoint(ee.current.mouseCoordinates.x,ee.current.mouseCoordinates.y).find(q=>q.classList.contains(Zn.root));Se==null||Se.dispatchEvent(oe)}}}),ie=it(F,he.targetRef),ue=it(O,he.containerRef),[le,Q]=UA({hoverDelay:n,isSubmenu:o,setContextTarget:C,closeOnScroll:u,menuPopoverRef:ue,triggerRef:ie,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[L,te]=LA({checkedValues:e.checkedValues,defaultCheckedValues:v,onCheckedValueChange:e.onCheckedValueChange});return{inline:a,hoverDelay:n,triggerId:k,isSubmenu:o,openOnHover:p,contextTarget:x,setContextTarget:C,hasCheckmarks:l,hasIcons:c,closeOnScroll:u,menuTrigger:E,menuPopover:R,mountNode:m,triggerRef:ie,menuPopoverRef:ue,components:{surfaceMotion:jx},openOnContext:d,open:le,setOpen:Q,checkedValues:L,onCheckedValueChange:te,persistOnItemClick:h,safeZone:he.elementToRender,surfaceMotion:hc(e.surfaceMotion,{elementType:jx,defaultProps:{visible:le,appear:!0,unmountOnExit:!0}})}},LA=e=>{const[o,n]=Ao({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),a=ge((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]},UA=e=>{"use no memo";const{targetDocument:o}=Qe(),n=st(x=>x.setOpen),a=ge((x,C)=>{var _;return(_=e.onOpenChange)===null||_===void 0?void 0:_.call(e,x,C)}),l=b.useRef(!1),[c,u]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=ge((x,C)=>{const _=x instanceof CustomEvent&&x.type===Zs?x.detail.nativeEvent:x;a==null||a(_,{...C}),C.open&&x.type==="contextmenu"&&e.setContextTarget(x),C.open||e.setContextTarget(void 0),C.bubble&&n(x,{...C}),u(C.open)}),[h,p]=zl(),v=ge((x,C)=>{if(p(),!(x instanceof Event)&&x.persist&&x.persist(),!C.ignoreHoverDelay&&(x.type==="mouseleave"||x.type==="mouseover"||x.type==="mousemove"||x.type===Zs)){var j;!((j=e.triggerRef.current)===null||j===void 0)&&j.contains(x.target)&&(l.current=x.type==="mouseover"||x.type==="mousemove"),h(()=>d(x,C),e.hoverDelay)}else d(x,C)});Yg({contains:Us,disabled:!c,element:o,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:x=>v(x,{open:!1,type:"clickOutside",event:x})});const m=e.openOnContext||e.closeOnScroll;Sw({contains:Us,element:o,callback:x=>v(x,{open:!1,type:"scrollOutside",event:x}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!c||!m}),_A({element:o,callback:x=>{l.current||v(x,{open:!1,type:"menuMouseEnter",event:x})},disabled:!c,refs:[e.menuPopoverRef]});const{findFirstFocusable:w}=uc(),B=b.useCallback(()=>{const x=w(e.menuPopoverRef.current);x==null||x.focus()},[w,e.menuPopoverRef]),k=Zg();return b.useEffect(()=>{if(c)B();else if(!k){var x,C;if((o==null?void 0:o.activeElement)===(o==null?void 0:o.body)||!((x=e.menuPopoverRef.current)===null||x===void 0)&&x.contains((C=o==null?void 0:o.activeElement)!==null&&C!==void 0?C:null)){var _;(_=e.triggerRef.current)===null||_===void 0||_.focus()}}},[e.triggerRef,e.isSubmenu,c,B,o,e.menuPopoverRef]),[c,v]};function VA(e){const{checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:p,openOnContext:v,openOnHover:m,persistOnItemClick:w,safeZone:B,setOpen:k,triggerId:x,triggerRef:C}=e;return{menu:b.useMemo(()=>({checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:p,openOnContext:v,openOnHover:m,persistOnItemClick:w,safeZone:B,setOpen:k,triggerId:x,triggerRef:C}),[o,n,a,l,c,u,d,h,p,v,m,w,B,k,x,C])}}const GA=(e,o)=>lt(yA,{value:o.menu,children:[e.menuTrigger,e.menuPopover&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.menuPopover})})]}),B5=e=>{const o=IA(e),n=VA(o);return GA(o,n)};B5.displayName="Menu";const WA=(e,o)=>{"use no memo";const n=Qs(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},_5=b.createContext(void 0),z5={setMultiline:()=>null};_5.Provider;const C5=()=>{var e;return(e=b.useContext(_5))!==null&&e!==void 0?e:z5},N5=()=>C5()!==z5,XA=_S(xj,Xi),$A=_S(bj,yj),KA=(e,o)=>{const{dir:n}=Qe(),a=QA(e,o);if(a.submenuIndicator){var l,c;(c=(l=a.submenuIndicator).children)!==null&&c!==void 0||(l.children=n==="rtl"?b.createElement($A,null):b.createElement(XA,null))}return a},QA=(e,o)=>{const n=SA(),a=st(_=>_.persistOnItemClick),{as:l="div",disabled:c=!1,hasSubmenu:u=n,persistOnClick:d=a,content:h,...p}=e,{hasIcons:v,hasCheckmarks:m}=YA({hasSubmenu:u}),w=st(_=>_.setOpen);ZA({multiline:!!e.subText,hasSubmenu:u});const B=b.useRef(null),k=b.useRef(!1),x=k5(JA(e.role)),C={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,Za(l,{role:"menuitem",...p,disabled:!1,disabledFocusable:c,ref:it(o,B,x),onKeyDown:ge(_=>{var j;(j=e.onKeyDown)===null||j===void 0||j.call(e,_),!_.isDefaultPrevented()&&(_.key===dn||_.key===Zi)&&(k.current=!0)}),onMouseMove:ge(_=>{var j;if(_.currentTarget.ownerDocument.activeElement!==_.currentTarget){var z;(z=B.current)===null||z===void 0||z.focus()}(j=e.onMouseMove)===null||j===void 0||j.call(e,_)}),onClick:ge(_=>{var j;!u&&!d&&(w(_,{open:!1,keyboard:k.current,bubble:!0,type:"menuItemClick",event:_}),k.current=!1),(j=e.onClick)===null||j===void 0||j.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 WA(C,B),C},ZA=e=>{const{hasSubmenu:o,multiline:n}=e,a=N5()&&o,{setMultiline:l}=C5();Mt(()=>{a||l(n)},[l,n,a])},YA=e=>{const{hasSubmenu:o}=e,n=Qs(c=>c.hasIcons),a=Qs(c=>c.hasCheckmarks),l=N5()&&o;return{hasIcons:n&&!l,hasCheckmarks:a&&!l}},JA=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},eD=e=>lt(e.root,{children:[e.checkmark&&ne(e.checkmark,{}),e.icon&&ne(e.icon,{}),e.content&<(e.content,{children:[e.content.children,e.subText&&ne(e.subText,{})]}),e.secondaryContent&&ne(e.secondaryContent,{}),e.submenuIndicator&&ne(e.submenuIndicator,{})]}),Cg=b.forwardRef((e,o)=>{const n=KA(e,o);return HA(n),Xe("useMenuItemStyles_unstable")(n),eD(n)});Cg.displayName="MenuItem";const tD=(e,o)=>{const{findAllFocusable:n}=uc(),{targetDocument:a}=Qe(),l=oD(),c=fc(Sm),u=Pw({circular:!0});rD(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=k5();b.useEffect(()=>{const _=d.current;if(c&&a&&_){const j=z=>{const T=z.detail.next;T&&_.contains(a.activeElement)&&!_.contains(T)&&z.preventDefault()};return a.addEventListener(pg,j),()=>{a.removeEventListener(pg,j)}}},[d,a,c]);const p=b.useCallback((_,j)=>{const z=["menuitem","menuitemcheckbox","menuitemradio"];if(!d.current)return;const T=n(d.current,ee=>ee.hasAttribute("role")&&z.indexOf(ee.getAttribute("role"))!==-1);let E=T.indexOf(j)+1;E===T.length&&(E=0);const R=T.map(ee=>{var he;return(he=ee.textContent)===null||he===void 0?void 0:he.charAt(0).toLowerCase()}),F=_.key.toLowerCase(),O=(ee,he)=>{for(let ie=ee;ie<R.length;ie++)if(F===R[ie])return ie;return-1};let X=O(E);X===-1&&(X=O(0)),X>-1&&T[X].focus()},[n]);var v;const[m,w]=Ao({state:(v=e.checkedValues)!==null&&v!==void 0?v:c?l.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var B;const k=(B=e.onCheckedValueChange)!==null&&B!==void 0?B:c?l.onCheckedValueChange:void 0,x=ge((_,j,z,T)=>{const R=[...(m==null?void 0:m[j])||[]];T?R.splice(R.indexOf(z),1):R.push(z),k==null||k(_,{name:j,checkedItems:R}),w(F=>({...F,[j]:R}))}),C=ge((_,j,z)=>{const T=[z];w(E=>({...E,[j]:T})),k==null||k(_,{name:j,checkedItems:T})});return{components:{root:"div"},root:Ne(Et("div",{ref:it(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:p,selectRadio:C,toggleCheckbox:x}},oD=()=>{const e=st(c=>c.checkedValues),o=st(c=>c.onCheckedValueChange),n=st(c=>c.triggerId),a=st(c=>c.hasIcons),l=st(c=>c.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:o,triggerId:n,hasIcons:a,hasCheckmarks:l}},rD=(e,o,n)=>{let a=!1;for(const l in o)e[l]&&(a=!0);return n&&a},nD=(e,o)=>ne(BA,{value:o.menuList,children:ne(e.root,{})});function aD(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 iD={root:"fui-MenuList"},lD=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%;}"]}),sD=e=>{"use no memo";const o=lD();return e.root.className=de(iD.root,o.root,e.hasMenuContext&&o.hasMenuContext,e.root.className),e},T5=b.forwardRef((e,o)=>{const n=tD(e,o),a=aD(n);return sD(n),Xe("useMenuListStyles_unstable")(n),nD(n,a)});T5.displayName="MenuList";const cD=(e,o)=>{"use no memo";const n=st(F=>F.safeZone),a=st(F=>F.menuPopoverRef),l=st(F=>F.setOpen),c=st(F=>F.open),u=st(F=>F.openOnHover),d=st(F=>F.triggerRef),h=Bm(),p=Qs(F=>{var O;return(O=F.shouldCloseOnArrowLeft)!==null&&O!==void 0?O:!0}),v=b.useRef(!0),m=hT(),[w,B]=zl(),{dir:k}=Qe(),x=k==="ltr"?am:im,C=b.useCallback(F=>{F&&F.addEventListener("mouseover",O=>{v.current&&(v.current=!1,zA(a.current,O),w(()=>{v.current=!0},250))})},[a,w]);b.useEffect(()=>()=>B(),[B]);var _;const j=(_=st(F=>F.inline))!==null&&_!==void 0?_:!1,z=st(F=>F.mountNode),T=Ne(Et("div",{role:"presentation",...m,...e,ref:it(o,a,C,Ld())}),{elementType:"div"}),{onMouseEnter:E,onKeyDown:R}=T;return T.onMouseEnter=ge(F=>{(u||h)&&l(F,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:F}),E==null||E(F)}),T.onKeyDown=ge(F=>{const O=F.key;if(O===El||h&&p&&O===x){var X;c&&(!((X=a.current)===null||X===void 0)&&X.contains(F.target))&&!F.isDefaultPrevented()&&(l(F,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:F}),F.preventDefault())}if(O===fS&&(l(F,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:F}),!h)){var ee;(ee=d.current)===null||ee===void 0||ee.focus()}R==null||R(F)}),{inline:j,mountNode:z,safeZone:n,components:{root:"div"},root:T}},uD={root:"fui-MenuPopover"},dD=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);}"]}),fD=e=>{"use no memo";const o=dD();return e.root.className=de(uD.root,o.root,e.root.className),e},hD=e=>e.inline?lt(b.Fragment,{children:[ne(e.root,{}),e.safeZone]}):lt(Ml,{mountNode:e.mountNode,children:[ne(e.root,{}),e.safeZone]}),E5=b.forwardRef((e,o)=>{const n=cD(e,o);return fD(n),Xe("useMenuPopoverStyles_unstable")(n),hD(n)});E5.displayName="MenuPopover";function pD(){}const gD=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=st(Q=>Q.triggerRef),l=st(Q=>Q.menuPopoverRef),c=st(Q=>Q.setOpen),u=st(Q=>Q.open),d=st(Q=>Q.triggerId),h=st(Q=>Q.openOnHover),p=st(Q=>Q.openOnContext),v=Bm(),m=Qs(Q=>{var L;return(L=Q.shouldOpenOnArrowRight)!==null&&L!==void 0?L:!0}),{findFirstFocusable:w}=uc(),B=b.useCallback(()=>{const Q=w(l.current);Q==null||Q.focus()},[w,l]),k=b.useRef(!1),x=b.useRef(!1),C=b.useRef(!1),{dir:_}=Qe(),j=_==="ltr"?im:am,z=cc(o),T=CA(ge(()=>{v&&(x.current=!0)})),E=Q=>{Vi(Q)||Q.isDefaultPrevented()||p&&(Q.preventDefault(),c(Q,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:Q}))},R=Q=>{Vi(Q)||p||(c(Q,{open:!u,keyboard:k.current,type:"menuTriggerClick",event:Q}),k.current=!1)},F=Q=>{if(Vi(Q)||Q.isDefaultPrevented())return;const L=Q.key;!p&&(v&&m&&L===j||!v&&L===bg)&&c(Q,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),L===El&&!v&&c(Q,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),u&&L===j&&v&&m&&B()},O=Q=>{Vi(Q)||h&&(C.current?c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:Q}):x.current&&(c(Q,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:Q}),x.current=!1))},X=Q=>{Vi(Q)||h&&!C.current&&(c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:Q}),C.current=!0)},ee=Q=>{Vi(Q)||h&&c(Q,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:Q})};var he;const ie={id:d,...z==null?void 0:z.props,ref:it(a,sc(z),T),onMouseEnter:ge((he=z==null?void 0:z.props.onMouseEnter)!==null&&he!==void 0?he:pD),onMouseLeave:ge(Ae(z==null?void 0:z.props.onMouseLeave,ee)),onContextMenu:ge(Ae(z==null?void 0:z.props.onContextMenu,E)),onMouseMove:ge(Ae(z==null?void 0:z.props.onMouseMove,X)),onMouseOver:ge(Ae(z==null?void 0:z.props.onMouseOver,O))},ue={"aria-haspopup":"menu","aria-expanded":!u&&!v?void 0:u,...ie,onClick:ge(Ae(z==null?void 0:z.props.onClick,R)),onKeyDown:ge(Ae(z==null?void 0:z.props.onKeyDown,F))},le=Za((z==null?void 0:z.type)==="button"||(z==null?void 0:z.type)==="a"?z.type:"div",ue);return{isSubmenu:v,children:Od(o,p?ie:n?ue:le)}},Vi=e=>{const o=n=>n.hasAttribute("disabled")||n.hasAttribute("aria-disabled")&&n.getAttribute("aria-disabled")==="true";return vr(e.target)&&o(e.target)?!0:vr(e.currentTarget)&&o(e.currentTarget)},mD=e=>b.createElement(wA,{value:e.isSubmenu},e.children),_m=e=>{const o=gD(e);return mD(o)};_m.displayName="MenuTrigger";_m.isFluentTriggerComponent=!0;const zm=b.createContext(void 0),vD={};zm.Provider;const bD=()=>b.useContext(zm)||vD,yD=(e,o)=>ne(zm.Provider,{value:o.radioGroup,children:ne(e.root,{})}),xD=(e,o)=>{const{layout:n="vertical",...a}=e,l=wD(a,o);return{layout:n,...l}},wD=(e,o)=>{e=ti(e);const n=Yt("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:ge(p=>{d&&vr(p.target,{constructorName:"HTMLInputElement"})&&p.target.type==="radio"&&d(p,{value:p.target.value})})}}},SD={root:"fui-RadioGroup"},kD=ve({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),BD=e=>{"use no memo";const o=kD();return e.root.className=de(SD.root,o.root,e.layout==="vertical"&&o.vertical,e.root.className),e},_D=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])}},j5=b.forwardRef((e,o)=>{const n=xD(e,o),a=_D(n);return BD(n),Xe("useRadioGroupStyles_unstable")(n),yD(n,a)});j5.displayName="RadioGroup";const zD=e=>lt(e.root,{children:[ne(e.input,{}),ne(e.indicator,{}),e.label&&ne(e.label,{})]}),CD=(e,o)=>{const n=ND(e,o);return{...n,components:{...n.components,label:xr},label:De(e.label,{defaultProps:{...n.label},elementType:xr})}},ND=(e,o)=>{const n=bD(),{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":p=n["aria-describedby"],onChange:v}=e,m=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),w=Ne(e.root,{defaultProps:{ref:om(),...m.root},elementType:"span"}),B=Ne(e.input,{defaultProps:{ref:o,type:"radio",id:Yt("radio-",m.primary.id),name:a,checked:l,defaultChecked:c,disabled:d,required:h,"aria-describedby":p,...m.primary},elementType:"input"});B.onChange=Ae(B.onChange,C=>v==null?void 0:v(C,{value:C.currentTarget.value}));const k=De(e.label,{defaultProps:{htmlFor:B.id,disabled:B.disabled},elementType:"label"}),x=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:"label",indicator:"div"},root:w,input:B,label:k,indicator:x}},Gu={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},TD=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;}}"]}),ED=ve({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),jD=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;}}"]}),RD=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;}"]}),AD=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;}"]),DD=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;}"]}),MD=e=>{"use no memo";const{labelPosition:o}=e,n=TD(),a=ED();e.root.className=de(Gu.root,n,o==="below"&&a.vertical,e.root.className);const l=jD(),c=RD();e.input.className=de(Gu.input,l,o==="below"&&c.below,e.indicator.children?c.customIndicator:c.defaultIndicator,e.input.className);const u=AD();e.indicator.className=de(Gu.indicator,u,e.indicator.className);const d=DD();return e.label&&(e.label.className=de(Gu.label,d.base,d[o],e.label.className)),e},Ng=b.forwardRef((e,o)=>{const n=CD(e,o);return MD(n),Xe("useRadioStyles_unstable")(n),zD(n)});Ng.displayName="Radio";const R5=b.createContext(void 0),OD={};R5.Provider;const FD=()=>{var e;return(e=b.useContext(R5))!==null&&e!==void 0?e:OD},qD=(e,o)=>{const{size:n}=FD(),{appearance:a="primary",size:l=n??"medium",...c}=e,u=HD(c,o);return{...u,appearance:a,size:l,components:{...u.components,label:xr},label:De(e.label,{defaultProps:u.label,elementType:xr})}},HD=(e,o)=>{const{delay:n=0,labelPosition:a="after"}=e,l=Yt("spinner"),{role:c="progressbar",...u}=e,d=Ne(Et("div",{ref:o,role:c,...u}),{elementType:"div"}),[h,p]=b.useState(!1),[v,m]=zl();b.useEffect(()=>{if(!(n<=0))return v(()=>{p(!0)},n),()=>{m()}},[v,m,n]);const w=De(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:"label"}),B=De(e.spinner,{renderByDefault:!0,elementType:"span"});return w&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=w.id),{delay:n,labelPosition:a,shouldRenderSpinner:!n||h,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:B,spinnerTail:Ne(e.spinnerTail,{elementType:"span"}),label:w}},PD=e=>{const{labelPosition:o,shouldRenderSpinner:n}=e;return lt(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,{})]})},Wu={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},ID=Ee("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),LD=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),UD=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;}}"]}),VD=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;}}"]}),GD=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)"}]]}),WD=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);}"]}),XD=e=>{"use no memo";const{labelPosition:o,size:n,appearance:a}=e,{dir:l}=Qe(),c=ID(),u=LD(),d=UD(),h=GD(),p=VD(),v=WD();return e.root.className=de(Wu.root,c,(o==="above"||o==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=de(Wu.spinner,d,h[n],a==="inverted"&&h.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=de(Wu.spinnerTail,p,l==="rtl"&&h.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=de(Wu.label,v[n],a==="inverted"&&v.inverted,e.label.className)),e},pn=b.forwardRef((e,o)=>{const n=qD(e,o);return XD(n),Xe("useSpinnerStyles_unstable")(n),PD(n)});pn.displayName="Spinner";const $D=(e,o)=>{var n;const{size:a="medium",...l}=e,c=KD(l,o);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=b.createElement(sm,null)),{...c,components:{...c.components,label:xr},size:a,label:De(e.label,{defaultProps:{size:"medium",...c.label},elementType:xr})}},KD=(e,o)=>{e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:l,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:h}=e,p=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),v=Yt("switch-",p.primary.id),m=Ne(e.root,{defaultProps:{ref:om(),...p.root},elementType:"div"}),w=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),B=Ne(e.input,{defaultProps:{checked:n,defaultChecked:a,id:v,ref:o,role:"switch",type:"checkbox",...p.primary,disabled:l&&!c,...c&&{"aria-disabled":!0}},elementType:"input"});B.onChange=Ae(B.onChange,x=>d==null?void 0:d(x,{checked:x.currentTarget.checked})),B.onClick=Ae(B.onClick,x=>{c&&x.preventDefault()}),B.onKeyDown=Ae(B.onKeyDown,x=>{c&&(x.key===" "||x.key==="Enter")&&x.preventDefault()});const k=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:w,input:B,label:k}},QD=e=>{const{labelPosition:o}=e;return lt(e.root,{children:[ne(e.input,{}),o!=="after"&&e.label&&ne(e.label,{}),ne(e.indicator,{}),o==="after"&&e.label&&ne(e.label,{})]})},Xu={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},ZD=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;}}"]}),YD=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),JD=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;}}"]}),eM=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;}"]}),tM=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;}}']}),oM=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);}"]}),rM=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);}"]}),nM=e=>{"use no memo";const o=ZD(),n=YD(),a=JD(),l=eM(),c=tM(),u=oM(),d=rM(),{label:h,labelPosition:p,size:v}=e;return e.root.className=de(Xu.root,o,p==="above"&&n.vertical,e.root.className),e.indicator.className=de(Xu.indicator,a,h&&p==="above"&&l.labelAbove,v==="small"&&l.sizeSmall,e.indicator.className),e.input.className=de(Xu.input,c,h&&u[p],v==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=de(Xu.label,d.base,d[p],v==="small"&&d.sizeSmall,e.label.className)),e},A5=b.forwardRef((e,o)=>{const n=$D(e,o);return nM(n),Xe("useSwitchStyles_unstable")(n),QD(n)});A5.displayName="Switch";const D5=(e,o)=>{const{wrap:n,truncate:a,block:l,italic:c,underline:u,strikethrough:d,size:h,font:p,weight:v,align:m}=e;return{align:m??"start",block:l??!1,font:p??"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"})}},M5=e=>ne(e.root,{}),aM={root:"fui-Text"},iM=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;}"]}),O5=e=>{"use no memo";const o=iM();return e.root.className=de(aM.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},F5=b.forwardRef((e,o)=>{const n=D5(e,o);return O5(n),Xe("useTextStyles_unstable")(n),M5(n)});F5.displayName="Text";function oi(e){const{useStyles:o,className:n,displayName:a}=e,l=b.forwardRef((c,u)=>{"use no memo";const d=o(),h=D5(c,u);return O5(h),h.root.className=de(n,h.root.className,d.root,c.className),M5(h)});return l.displayName=a,l}const lM={root:"fui-Body1"},sM=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);}"]}),go=oi({useStyles:sM,className:lM.root,displayName:"Body1"}),cM={root:"fui-Body1Strong"},uM=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);}"]}),Xa=oi({useStyles:uM,className:cM.root,displayName:"Body1Strong"}),dM={root:"fui-Body2"},fM=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);}"]}),Ji=oi({useStyles:fM,className:dM.root,displayName:"Body2"}),hM={root:"fui-Caption1"},pM=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);}"]}),Dt=oi({useStyles:pM,className:hM.root,displayName:"Caption1"}),gM={root:"fui-Subtitle2"},mM=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);}"]}),Qo=oi({useStyles:mM,className:gM.root,displayName:"Subtitle2"}),vM={root:"fui-Title2"},bM=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);}"]}),kd=oi({useStyles:bM,className:vM.root,displayName:"Title2"}),yM={root:"fui-Title3"},xM=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);}"]}),fn=oi({useStyles:xM,className:yM.root,displayName:"Title3"}),wM=e=>ne(e.root,{children:ne(e.textarea,{})}),SM=(e,o)=>{const n=Kg();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e;return{...kM(u,o),size:l,appearance:c}},kM=(e,o)=>{e=ti(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=_l({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=ge(h=>{const p=h.target.value;a==null||a(h,{value:p}),c(p)}),d},Rx={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},BM=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);}"]}),_M=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);}"]}),zM=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;}"]}),CM=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=BM();e.root.className=de(Rx.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=_M(),p=zM();return e.textarea.className=de(Rx.textarea,h.base,h[o],p[a],l&&h.disabled,e.textarea.className),e},q5=b.forwardRef((e,o)=>{const n=SM(e,o);return CM(n),Xe("useTextareaStyles_unstable")(n),wM(n)});q5.displayName="Textarea";const NM=Ee("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),TM=Ee("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function EM(){const e=NM(),o=TM(),{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 jM(e,o){const{findFirstFocusable:n}=uc(),{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 RM={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Cm=ei(void 0),AM=Cm.Provider,ur=e=>Tl(Cm,(o=RM)=>e(o)),DM=!1,H5=b.createContext(void 0),P5=H5.Provider,MM=()=>{var e;return(e=b.useContext(H5))!==null&&e!==void 0?e:DM},I5=b.createContext(void 0);I5.Provider;const OM=()=>b.useContext(I5),Ax=ha(dm,{outScale:.85,easing:Ie.curveDecelerateMid,duration:Ie.durationGentle,exitEasing:Ie.curveAccelerateMin,exitDuration:Ie.durationGentle}),FM=e=>{const{children:o,modalType:n="modal",onOpenChange:a,inertTrapFocus:l=!1,unmountOnClose:c=!0}=e,u=Yt("dialog-title-"),[d,h]=qM(o),[p,v]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),m=ge(C=>{a==null||a(C.event,C),C.event.isDefaultPrevented()||v(C.open)}),w=jM(p,n),{modalAttributes:B,triggerAttributes:k}=Id({trapFocus:n!=="non-modal",legacyTrapFocus:!l}),x=fc(Cm);return{components:{surfaceMotion:Ax},inertTrapFocus:l,open:p,modalType:n,content:h,trigger:d,requestOpenChange:m,dialogTitleId:u,isNestedDialog:x,unmountOnClose:c,dialogRef:w,modalAttributes:B,triggerAttributes:k,surfaceMotion:hc(e.surfaceMotion,{elementType:Ax,defaultProps:{visible:p,appear:c,unmountOnExit:c}})}};function qM(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 HM=(e,o)=>ne(AM,{value:o.dialog,children:lt(P5,{value:o.dialogSurface,children:[e.trigger,e.content&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.content})})]})});function PM(e){const{modalType:o,open:n,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,requestOpenChange:d,modalAttributes:h,triggerAttributes:p,unmountOnClose:v}=e;return{dialog:b.useMemo(()=>({open:n,modalType:o,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,modalAttributes:h,triggerAttributes:p,unmountOnClose:v,requestOpenChange:d}),[n,o,a,l,c,u,h,p,v,d]),dialogSurface:!1}}const Nm=b.memo(e=>{const o=FM(e),n=PM(o);return HM(o,n)});Nm.displayName="Dialog";const IM=e=>{const o=MM(),{children:n,disableButtonEnhancement:a=!1,action:l=o?"close":"open"}=e,c=cc(n),u=ur(m=>m.requestOpenChange),{triggerAttributes:d}=Id(),h=ge(m=>{var w,B;c==null||(w=(B=c.props).onClick)===null||w===void 0||w.call(B,m),m.isDefaultPrevented()||u({event:m,type:"triggerClick",open:l==="open"})}),p={...c==null?void 0:c.props,ref:sc(c),onClick:h,...d},v=Za((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...p,type:"button"});return{children:Od(n,a?p:v)}},LM=e=>e.children,el=e=>{const o=IM(e);return LM(o)};el.displayName="DialogTrigger";el.isFluentTriggerComponent=!0;const UM=(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}},VM=e=>ne(e.root,{}),GM={root:"fui-DialogActions"},WM=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;}}"]}),XM=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)"}]]}),$M=e=>{"use no memo";const o=WM(),n=XM();return e.root.className=de(GM.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},Tm=b.forwardRef((e,o)=>{const n=UM(e,o);return $M(n),Xe("useDialogActionsStyles_unstable")(n),VM(n)});Tm.displayName="DialogActions";const KM=(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"})}},QM=e=>ne(e.root,{}),ZM={root:"fui-DialogBody"},YM=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;}}"]}),JM=e=>{"use no memo";const o=YM();return e.root.className=de(ZM.root,o,e.root.className),e},Em=b.forwardRef((e,o)=>{const n=KM(e,o);return JM(n),Xe("useDialogBodyStyles_unstable")(n),QM(n)});Em.displayName="DialogBody";const Dx={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},eO=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;}"]),tO=ve({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),oO=Ee("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),rO=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;}}"]}),nO=e=>{"use no memo";const o=eO(),n=oO(),a=tO();return e.root.className=de(Dx.root,o,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=de(Dx.action,n,e.action.className)),e},aO=(e,o)=>{const{action:n}=e,a=ur(c=>c.modalType),l=rO();return{components:{root:"h2",action:"div"},root:Ne(Et("h2",{ref:o,id:ur(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:De(n,{renderByDefault:a==="non-modal",defaultProps:{children:b.createElement(el,{disableButtonEnhancement:!0,action:"close"},b.createElement("button",{type:"button",className:l,"aria-label":"close"},b.createElement(Aj,null)))},elementType:"div"})}},iO=e=>lt(b.Fragment,{children:[ne(e.root,{children:e.root.children}),e.action&&ne(e.action,{})]}),jm=b.forwardRef((e,o)=>{const n=aO(e,o);return nO(n),Xe("useDialogTitleStyles_unstable")(n),iO(n)});jm.displayName="DialogTitle";const Mx=lR,lO=(e,o)=>{const n=Ld(),a=ur(z=>z.modalType),l=ur(z=>z.isNestedDialog),c=OM(),u=c??l,d=ur(z=>z.modalAttributes),h=ur(z=>z.dialogRef),p=ur(z=>z.requestOpenChange),v=ur(z=>z.dialogTitleId),m=ur(z=>z.open),w=ur(z=>z.unmountOnClose),B=ge(z=>{if($g(e.backdrop)){var T,E;(T=(E=e.backdrop).onClick)===null||T===void 0||T.call(E,z)}a==="modal"&&!z.isDefaultPrevented()&&p({event:z,open:!1,type:"backdropClick"})}),k=ge(z=>{var T;(T=e.onKeyDown)===null||T===void 0||T.call(e,z),z.key===El&&!z.isDefaultPrevented()&&(p({event:z,open:!1,type:"escapeKeyDown"}),z.preventDefault())}),x=De(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),C=x==null?void 0:x.appearance;x&&(x.onClick=B,delete x.appearance);const{disableBodyScroll:_,enableBodyScroll:j}=EM();return Mt(()=>{if(!m){j();return}if(!(l||a==="non-modal"))return _(),()=>j()},[m,a,l,_,j]),{components:{backdrop:"div",root:"div",backdropMotion:Mx},open:m,backdrop:x,isNestedDialog:l,treatBackdropAsNested:u,backdropAppearance:C,unmountOnClose:w,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":!w&&!m?!0:void 0,...e,...d,onKeyDown:k,ref:it(o,n,h)}),{elementType:"div"}),backdropMotion:hc(e.backdropMotion,{elementType:Mx,defaultProps:{appear:w,visible:m}}),transitionStatus:void 0}},sO=(e,o)=>lt(Ml,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ne(e.backdropMotion,{children:ne(e.backdrop,{})}),ne(DS,{children:ne(P5,{value:o.dialogSurface,children:ne(e.root,{})})})]}),Ox={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},cO=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;}}"]}),uO=Ee("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),dO=ve({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),fO=e=>{"use no memo";const{root:o,backdrop:n,open:a,unmountOnClose:l,treatBackdropAsNested:c,backdropAppearance:u}=e,d=cO(),h=uO(),p=dO(),v=u?u==="transparent":c,m=!l&&!a;return o.className=de(Ox.root,d,m&&p.dialogHidden,o.className),n&&(n.className=de(Ox.backdrop,h,m&&p.dialogHidden,v&&p.nestedDialogBackdrop,n.className)),e};function hO(e){return{dialogSurface:!0}}const Rm=b.forwardRef((e,o)=>{const n=lO(e,o),a=hO();return fO(n),Xe("useDialogSurfaceStyles_unstable")(n),sO(n,a)});Rm.displayName="DialogSurface";const pO=(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"})}},gO=e=>ne(e.root,{}),mO={root:"fui-DialogContent"},vO=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;}}"]}),bO=e=>{"use no memo";const o=vO();return e.root.className=de(mO.root,o,e.root.className),e},Am=b.forwardRef((e,o)=>{const n=pO(e,o);return bO(n),Xe("useDialogContentStyles_unstable")(n),gO(n)});Am.displayName="DialogContent";function yO(e){switch(e){case"info":return b.createElement(nj,null);case"warning":return b.createElement(yS,null);case"error":return b.createElement(Sj,null);case"success":return b.createElement(Fr,null);default:return null}}function xO(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 p,v;const m=h[0];var w;const B=(w=m==null||(v=m.borderBoxSize)===null||v===void 0||(p=v[0])===null||p===void 0?void 0:p.inlineSize)!==null&&w!==void 0?w:m==null?void 0:m.target.getBoundingClientRect().width;if(B===void 0||!m)return;const{target:k}=m;if(!vr(k))return;let x;if(a.current)c.current<B&&(x=!1);else{const C=k.scrollWidth;B<C&&(x=!0)}c.current=B,typeof x<"u"&&a.current!==x&&(a.current=x,n())},[n]),d=b.useCallback(h=>{var p;if(!e||!h||!(o!=null&&o.defaultView))return;(p=l.current)===null||p===void 0||p.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 L5=b.createContext(void 0),wO={className:"",nodeRef:b.createRef()};L5.Provider;const SO=()=>{var e;return(e=b.useContext(L5))!==null&&e!==void 0?e:wO},kO=(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}=xO(u),p=u?h?"multiline":"singleline":n,{className:v,nodeRef:m}=SO(),w=Ld(),B=b.useRef(null),k=b.useRef(null),{announce:x}=sC(),C=Yt();return b.useEffect(()=>{var _,j;const z=(_=k.current)===null||_===void 0?void 0:_.textContent,T=(j=B.current)===null||j===void 0?void 0:j.textContent,E=[z,T].filter(Boolean).join(",");x(E,{polite:c==="polite",alert:c==="assertive"})},[k,B,x,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ne(Et("div",{ref:it(o,d,m,w),role:"group","aria-labelledby":C,...e}),{elementType:"div"}),icon:De(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:De(e.bottomReflowSpacer,{renderByDefault:p==="multiline",elementType:"div"}),layout:p,intent:a,transitionClassName:v,actionsRef:B,bodyRef:k,titleId:C}},BO=(e,o)=>{const{shape:n="rounded",...a}=e,l=kO(a,o);return{...l,shape:n,icon:De(e.icon,{defaultProps:{children:yO(l.intent)},renderByDefault:!0,elementType:"div"})}},U5=b.createContext(void 0),_O={titleId:"",layout:"singleline",actionsRef:b.createRef(),bodyRef:b.createRef()},zO=U5.Provider,V5=()=>{var e;return(e=b.useContext(U5))!==null&&e!==void 0?e:_O},CO=(e,o)=>ne(zO,{value:o.messageBar,children:lt(e.root,{children:[e.icon&&ne(e.icon,{}),e.root.children,e.bottomReflowSpacer&&ne(e.bottomReflowSpacer,{})]})}),Up={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},NO=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);}']),TO=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;}"]),EO=Ee("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),jO=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}]]}),RO=ve({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),AO=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);}"]}),DO=e=>{"use no memo";const o=NO(),n=TO(),a=RO(),l=AO(),c=EO(),u=jO();return e.root.className=de(Up.root,o,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,l[e.intent],e.root.className),e.icon&&(e.icon.className=de(Up.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=de(Up.bottomReflowSpacer,c)),e};function MO(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 or=b.forwardRef((e,o)=>{const n=BO(e,o);return DO(n),Xe("useMessageBarStyles_unstable")(n),CO(n,MO(n))});or.displayName="MessageBar";const OO=(e,o)=>{const{titleId:n}=V5();return{components:{root:"span"},root:Ne(Et("span",{ref:o,id:n,...e}),{elementType:"span"})}},FO=e=>ne(e.root,{}),qO={root:"fui-MessageBarTitle"},HO=Ee("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),PO=e=>{"use no memo";const o=HO();return e.root.className=de(qO.root,o,e.root.className),e},Ja=b.forwardRef((e,o)=>{const n=OO(e,o);return PO(n),Xe("useMessageBarTitleStyles_unstable")(n),FO(n)});Ja.displayName="MessageBarTitle";const IO=(e,o)=>{const{bodyRef:n}=V5();return{components:{root:"div"},root:Ne(Et("div",{ref:it(o,n),...e}),{elementType:"div"})}},LO=(e,o)=>ne(vA,{value:o.link,children:ne(e.root,{})}),UO={root:"fui-MessageBarBody"},VO=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);}"]),GO=e=>{"use no memo";const o=VO();return e.root.className=de(UO.root,o,e.root.className),e};function WO(e){return{link:b.useMemo(()=>({inline:!0}),[])}}const rr=b.forwardRef((e,o)=>{const n=IO(e,o),a=WO();return GO(n),Xe("useMessageBarBodyStyles_unstable")(n),LO(n,a)});rr.displayName="MessageBarBody";const G5={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"},Zt={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},XO={...oE(G5)},mc={...aE(G5)};mc.colorNeutralBackground1="#0E1620";mc.colorNeutralBackground2="#131F2D";mc.colorNeutralBackground3="#1A2838";mc.colorNeutralBackground4="#223145";const Fx="wizardux.theme",W5=b.createContext(null);function qx(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function $O({children:e}){const[o,n]=b.useState(()=>localStorage.getItem(Fx)||"system"),[a,l]=b.useState(qx);b.useEffect(()=>{const h=window.matchMedia("(prefers-color-scheme: dark)"),p=()=>l(qx());return h.addEventListener("change",p),()=>h.removeEventListener("change",p)},[]),b.useEffect(()=>{localStorage.setItem(Fx,o)},[o]);const c=o==="system"?a:o,u=c==="dark"?mc:XO;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 y.jsx(W5.Provider,{value:d,children:y.jsx(iS,{theme:u,style:{height:"100%"},children:e})})}function KO(){const e=b.useContext(W5);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}let $u=null;async function QO(){if($u)return $u;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return $u=(await e.json()).csrfToken,$u}async function Nr(e,o,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await QO());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 gr={state:()=>Nr("GET","/api/state"),saveState:e=>Nr("PUT","/api/state",e),resetState:()=>Nr("POST","/api/state/reset",{}),jumpTo:e=>Nr("POST","/api/state/jump",{step:e}),system:()=>Nr("GET","/api/system"),steps:()=>Nr("GET","/api/steps"),questions:e=>Nr("GET",`/api/steps/${e}/questions`),apply:(e,o)=>Nr("POST",`/api/steps/${e}/apply`,{answers:o}),configSeedKeys:()=>Nr("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")=>Nr("POST","/api/config-seed/import",{seed:e,mode:o})},ZO=Oo({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 ${A.colorNeutralStroke3}`,fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200},key:{color:A.colorNeutralForeground1,whiteSpace:"nowrap"},value:{color:A.colorNeutralForeground3,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"320px"},section:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"12px"}});function Hx(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 YO(){const e=ZO(),o=ic(),n=b.useRef(null),[a,l]=b.useState("idle"),[c,u]=b.useState(null),[d,h]=b.useState(null),[p,v]=b.useState("merge"),[m,w]=b.useState(null),[B,k]=b.useState(null);async function x(){try{const{blob:E,filename:R}=await gr.exportConfigSeed(),F=URL.createObjectURL(E),O=document.createElement("a");O.href=F,O.download=R,O.click(),URL.revokeObjectURL(F)}catch(E){const R=E instanceof Error?E.message:"Export failed.";u(R),l("error")}}function C(){var E;u(null),w(null),h(null),k(null),(E=n.current)==null||E.click()}async function _(E){var F;const R=(F=E.target.files)==null?void 0:F[0];if(E.target.value="",!!R){if(R.size>64*1024){u(`File too large (${R.size} bytes; max 65536).`),l("error");return}try{const O=await R.text(),X=JSON.parse(O);if(!X||typeof X!="object"||!X.values||typeof X.values!="object")throw new Error("Not a valid PACAF wizard config — missing `values` object.");if(X.version!==void 0&&Number(X.version)>1)throw new Error(`Seed version ${X.version} is newer than this wizard supports.`);h(X);try{const he=(await gr.state()).state,ie=[];for(const ue of["PP_ENV_DEV","PP_ENV_TEST","PP_ENV_PROD"]){const le=String(he[ue]??"").trim(),Q=String(X.values[ue]??"").trim();le&&Q&&le!==Q&&ie.push(ue)}ie.length>0&&k(`This seed targets different environment URLs than the current project: ${ie.join(", ")}. Connection IDs from this seed will likely not work in your current environments.`)}catch{}l("preview")}catch(O){const X=O instanceof Error?O.message:"Could not read file.";u(X),l("error")}}}async function j(){if(d){l("applying");try{const E=await gr.importConfigSeed(d,p);w(E),l("done"),o.invalidateQueries({queryKey:["state"]}),o.invalidateQueries({queryKey:["questions"]})}catch(E){const R=E instanceof Error?E.message:"Import failed.";u(R),l("error")}}}function z(){l("idle"),h(null),w(null),u(null),k(null),v("merge")}const T=a==="preview"||a==="applying"||a==="done"||a==="error";return y.jsxs(y.Fragment,{children:[y.jsx("input",{ref:n,type:"file",accept:"application/json,.json",style:{display:"none"},onChange:_}),y.jsxs(B5,{children:[y.jsx(_m,{disableButtonEnhancement:!0,children:y.jsx(Qd,{relationship:"label",content:"Configuration",children:y.jsx(et,{appearance:"subtle",icon:y.jsx(JE,{}),"aria-label":"Configuration"})})}),y.jsx(E5,{children:y.jsxs(T5,{children:[y.jsx(Cg,{icon:y.jsx(wS,{}),onClick:x,children:"Export configuration…"}),y.jsx(Cg,{icon:y.jsx(fj,{}),onClick:C,children:"Import configuration…"})]})})]}),y.jsx(Nm,{open:T,onOpenChange:(E,R)=>{R.open||z()},children:y.jsx(Rm,{children:y.jsxs(Em,{children:[y.jsx(jm,{children:a==="done"?"Configuration imported":a==="error"?"Import failed":"Import configuration"}),y.jsxs(Am,{children:[a==="preview"&&d&&y.jsx(JO,{seed:d,mode:p,onModeChange:v,envWarning:B,styles:e}),a==="applying"&&y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[y.jsx(pn,{size:"tiny"})," ",y.jsx(F5,{children:"Writing configuration…"})]}),a==="done"&&m&&y.jsx(eF,{result:m,styles:e}),a==="error"&&y.jsx(or,{intent:"error",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Import failed"}),c]})})]}),y.jsxs(Tm,{children:[a==="preview"&&y.jsxs(y.Fragment,{children:[y.jsx(et,{appearance:"secondary",onClick:z,children:"Cancel"}),y.jsx(et,{appearance:"primary",onClick:j,children:"Apply"})]}),(a==="done"||a==="error")&&y.jsx(et,{appearance:"primary",onClick:z,children:"Close"}),a==="applying"&&y.jsx(et,{appearance:"secondary",disabled:!0,children:"Working…"})]})]})})})]})}function JO({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 y.jsxs("div",{className:l.section,children:[y.jsx(or,{intent:"info",children:y.jsxs(rr,{children:["Secrets are never included. App Registration secrets remain in 1Password or",y.jsx("code",{children:" .env.local"})," — only references to them ship in this file."]})}),u&&y.jsx(or,{intent:"info",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"1Password references imported"}),"This seed includes ",y.jsx("code",{children:"OP_VAULT"})," / ",y.jsx("code",{children:"OP_ITEM"})," pointers. You'll still need access to that vault on this machine to retrieve the actual secret."]})}),a&&y.jsx(or,{intent:"warning",icon:y.jsx(tj,{}),children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Environment mismatch"}),a]})}),y.jsxs(Xa,{children:["Values in this seed (",c.length,")"]}),y.jsxs("ul",{className:l.list,children:[c.map(([d,h])=>y.jsxs("li",{className:l.row,children:[y.jsx("span",{className:l.key,children:d}),y.jsx("span",{className:l.value,title:Hx(h),children:Hx(h)})]},d)),c.length===0&&y.jsx(Dt,{children:"(empty)"})]}),y.jsx(Xa,{children:"How to apply"}),y.jsxs(j5,{value:o,onChange:(d,h)=>n(h.value),children:[y.jsx(Ng,{value:"merge",label:"Merge (recommended) — only fill values that are currently empty"}),y.jsx(Ng,{value:"replace-allowlisted",label:"Overwrite — replace existing values with values from the seed"})]})]})}function eF({result:e,styles:o}){return y.jsxs("div",{className:o.section,children:[y.jsx(or,{intent:"success",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Done"}),e.written.length," value",e.written.length===1?"":"s"," written,"," ",e.preserved.length," preserved,"," ",e.skipped.length," skipped."]})}),e.written.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Written"}),y.jsx("ul",{className:o.list,children:e.written.map(n=>y.jsx("li",{className:o.row,children:y.jsx("span",{className:o.key,children:n.key})},n.key))})]}),e.preserved.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Preserved (already set)"}),y.jsx("ul",{className:o.list,children:e.preserved.map(n=>y.jsxs("li",{className:o.row,children:[y.jsx("span",{className:o.key,children:n.key}),y.jsx("span",{className:o.value,children:n.reason})]},n.key))})]}),e.skipped.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Skipped"}),y.jsx("ul",{className:o.list,children:e.skipped.map(n=>y.jsxs("li",{className:o.row,children:[y.jsx("span",{className:o.key,children:n.key}),y.jsx("span",{className:o.value,children:n.reason})]},n.key))})]})]})}const tF=Oo({root:{display:"flex",alignItems:"center",gap:"16px",padding:"0 24px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground1Hover,backdropFilter:"blur(20px) saturate(180%)"},brand:{display:"flex",alignItems:"center",gap:"12px",color:A.colorNeutralForeground1,textDecoration:"none"},badge:{width:"32px",height:"32px",borderRadius:"8px",background:Zt.accent,display:"grid",placeItems:"center",color:"#ffffff",fontWeight:700,boxShadow:A.shadow8},spacer:{flex:1},navLinks:{display:"flex",gap:"4px"},navLink:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"6px",color:A.colorNeutralForeground2,textDecoration:"none",fontSize:A.fontSizeBase300},navLinkActive:{backgroundColor:A.colorNeutralBackground3,color:A.colorNeutralForeground1}});function oF(){const e=tF(),{mode:o,setMode:n}=KO(),a=nr(),l=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=o==="system"?"light":o==="light"?"dark":"system",u=o==="dark"?oj:o==="light"?rj:bS;return y.jsxs("header",{className:e.root,children:[y.jsxs(un,{to:"/",className:e.brand,children:[y.jsx("div",{className:e.badge,children:"F"}),y.jsx(Xa,{children:"Foundations"})]}),y.jsx("div",{className:e.spacer}),y.jsxs("nav",{className:e.navLinks,children:[y.jsxs(un,{to:"/",className:de(e.navLink,l("/")&&e.navLinkActive),children:[y.jsx(kS,{})," Home"]}),y.jsxs(un,{to:"/summary",className:de(e.navLink,l("/summary")&&e.navLinkActive),children:[y.jsx(wj,{})," Summary"]}),y.jsxs(un,{to:"/diagnostics",className:de(e.navLink,l("/diagnostics")&&e.navLinkActive),children:[y.jsx(gd,{})," Diagnostics"]})]}),y.jsx(Qd,{relationship:"label",content:`Theme: ${o}. Click to cycle.`,children:y.jsx(et,{appearance:"subtle",icon:y.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})}),y.jsx(YO,{})]})}const rF=Oo({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function X5(){const e=rF(),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 p=n.clientWidth,v=n.clientHeight;a.clearRect(0,0,p,v);const m=l?0:h/6e3,w=p*(.28+.15*Math.sin(m)),B=v*(.38+.1*Math.cos(m*1.2)),k=a.createRadialGradient(w,B,0,w,B,Math.max(p,v)*.7);k.addColorStop(0,"rgba(0, 120, 212, 0.55)"),k.addColorStop(1,"rgba(0, 120, 212, 0)"),a.fillStyle=k,a.fillRect(0,0,p,v);const x=p*(.72+.1*Math.cos(m*.8)),C=v*(.55+.12*Math.sin(m*1.5)),_=a.createRadialGradient(x,C,0,x,C,Math.max(p,v)*.6);_.addColorStop(0,"rgba(92, 45, 145, 0.45)"),_.addColorStop(1,"rgba(92, 45, 145, 0)"),a.fillStyle=_,a.fillRect(0,0,p,v);const j=p*(.4+.18*Math.cos(m*.6+1.7)),z=v*(.85+.1*Math.sin(m*.9)),T=a.createRadialGradient(j,z,0,j,z,Math.max(p,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,p,v),l||(c=requestAnimationFrame(d))}return c=requestAnimationFrame(d),()=>{cancelAnimationFrame(c),window.removeEventListener("resize",u)}},[]),y.jsx("canvas",{ref:o,className:e.canvas,"aria-hidden":"true"})}function Zd(){return Td({queryKey:["state"],queryFn:()=>gr.state(),refetchInterval:5e3})}function $5(){return Td({queryKey:["system"],queryFn:()=>gr.system(),staleTime:3e4})}function Dm(){return Td({queryKey:["steps"],queryFn:()=>gr.steps(),refetchInterval:5e3})}function nF(e){return Td({queryKey:["questions",e],queryFn:()=>gr.questions(e),enabled:e!=null})}const aF=Oo({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:A.colorNeutralBackground1,border:`1px solid ${A.colorNeutralStroke2}`,boxShadow:A.shadow4,fontSize:A.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:A.colorBrandForeground1,alignSelf:"center"},title:{margin:0,background:Zt.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:A.colorNeutralForeground2,fontSize:A.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:Zt.accentSoft,border:`1px solid ${A.colorNeutralStroke2}`,boxShadow:A.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:Zt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow8,minWidth:"180px",height:"44px",fontSize:A.fontSizeBase400,fontWeight:600},ctaTrack:{width:"100%",height:"6px",borderRadius:"999px",background:A.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},ctaFill:{height:"100%",background:Zt.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 ${A.colorNeutralStroke2}`},stepRow:{display:"flex",alignItems:"center",gap:"12px",padding:"12px 16px",background:A.colorNeutralBackground1,cursor:"pointer",transition:"background-color 120ms",":hover":{backgroundColor:A.colorNeutralBackground1Hover}},stepIcon:{fontSize:"16px",flexShrink:0},stepDone:{color:A.colorPaletteGreenForeground1},stepCurrent:{color:A.colorBrandForeground1},stepPending:{color:A.colorNeutralForeground4},stepLabel:{flex:1,fontSize:A.fontSizeBase300,fontWeight:A.fontWeightSemibold,color:A.colorNeutralForeground1},stepLabelDim:{flex:1,fontSize:A.fontSizeBase300,fontWeight:A.fontWeightRegular,color:A.colorNeutralForeground3},stepBadge:{fontSize:A.fontSizeBase200,color:A.colorNeutralForeground3},footer:{textAlign:"center",color:A.colorNeutralForeground3,fontSize:A.fontSizeBase200}});function iF(){var B,k,x,C,_,j,z,T;const e=aF(),o=nc(),n=Zd(),a=Dm(),l=$5(),c=ic(),u=M2({mutationFn:()=>gr.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((B=n.data)==null?void 0:B.completed)??0,h=((k=n.data)==null?void 0:k.next)??1,p=((x=n.data)==null?void 0:x.totalSteps)??9,v=((_=(C=n.data)==null?void 0:C.state)==null?void 0:_.APP_NAME)||"",m=d>0,w=Math.round(d/Math.max(1,p)*100);return y.jsxs("div",{className:e.root,children:[y.jsxs("div",{className:e.hero,children:[y.jsx(X5,{}),y.jsxs("div",{className:e.heroInner,children:[y.jsxs("div",{className:e.pill,children:[y.jsx(_j,{})," Foundations"]}),y.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),y.jsx(go,{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."})]})]}),y.jsxs("div",{className:e.body,children:[y.jsx("div",{className:e.ctaCard,children:y.jsxs("div",{className:e.ctaInner,children:[y.jsx("div",{className:e.ctaText,children:m?y.jsxs(y.Fragment,{children:[y.jsxs(Qo,{style:{display:"block",color:A.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",v?`, ${v}`:""]}),y.jsxs(kd,{style:{margin:0},children:["Pick up at step ",h," of ",p]}),y.jsxs(go,{style:{marginTop:"6px",color:A.colorNeutralForeground3},children:[d," of ",p," steps complete · ",w,"%"]}),y.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:y.jsx("div",{className:e.ctaFill,style:{width:`${w}%`}})})]}):y.jsxs(y.Fragment,{children:[y.jsx(kd,{style:{margin:0},children:"Ready when you are"}),y.jsx(go,{style:{marginTop:"6px",color:A.colorNeutralForeground2},children:"Each step is self-contained. You'll end with a deployable app."})]})}),y.jsxs("div",{className:e.ctaActions,children:[y.jsx(et,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:y.jsx(Dr,{}),onClick:()=>o(`/step/${h}`),children:m?"Resume":"Get started"}),m&&y.jsxs(Nm,{children:[y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"subtle",icon:y.jsx(uj,{}),children:"Start over"})}),y.jsx(Rm,{children:y.jsxs(Em,{children:[y.jsx(jm,{children:"Reset wizard state?"}),y.jsx(Am,{children:"This clears all collected answers. Your project files are not affected."}),y.jsxs(Tm,{children:[y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"secondary",children:"Cancel"})}),y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?y.jsx(pn,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),l.data&&y.jsxs("div",{className:e.systemBar,children:[y.jsxs(Yo,{appearance:"filled",color:l.data.node?"success":"danger",children:["Node ",l.data.node||"—"]}),y.jsxs(Yo,{appearance:"filled",color:l.data.git?"success":"danger",children:["Git ",l.data.git||"missing"]}),y.jsxs(Yo,{appearance:"filled",color:l.data.dotnet?"success":"danger",children:[".NET ",l.data.dotnet||"missing"]}),y.jsxs(Yo,{appearance:"filled",color:l.data.pac?"success":"danger",children:["PAC ",l.data.pac||"missing"]}),y.jsx(Yo,{appearance:"filled",color:l.data.op?"success":"informative",children:l.data.op?`1Password ${l.data.op}`:"1Password (optional)"})]}),a.data&&y.jsx("div",{className:e.stepSection,children:a.data.steps.map(E=>{const R=E.status==="done",F=E.status==="current";return y.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:[R?y.jsx(Fr,{className:`${e.stepIcon} ${e.stepDone}`}):F?y.jsx(dj,{className:`${e.stepIcon} ${e.stepCurrent}`}):y.jsx(cm,{className:`${e.stepIcon} ${e.stepPending}`}),y.jsxs("span",{className:R||F?e.stepLabel:e.stepLabelDim,children:[E.number,". ",E.title]}),R&&y.jsx("span",{className:e.stepBadge,children:"Done"}),F&&y.jsx(Yo,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},E.number)})}),((j=l.data)==null?void 0:j.rootDir)&&y.jsxs("div",{className:e.footer,children:[y.jsx(cj,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",y.jsx("code",{children:l.data.rootDir})]}),((T=(z=l.data)==null?void 0:z.cloudSync)==null?void 0:T.detected)&&y.jsx(or,{intent:"warning",children:y.jsxs(rr,{children:[y.jsxs(Ja,{children:["Project is inside ",l.data.cloudSync.provider]}),"Cloud-sync providers upload every file in this folder, regardless of ",y.jsx("code",{children:".gitignore"}),". They may raise DLP alerts on encrypted secrets in ",y.jsx("code",{children:".env.local"}),". We strongly recommend moving the project out of ",l.data.cloudSync.provider,", or choosing ",y.jsx("strong",{children:"1Password"})," storage in Step 4. See ",y.jsx("code",{children:"TROUBLESHOOTING.md"}),' → "Authentication & Secrets".']})}),u.isError&&y.jsx(or,{intent:"error",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Reset failed"}),u.error.message]})})]})]})}function lF(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 sF=Oo({root:{width:"220px",height:"100%",overflowY:"auto",padding:"12px",borderRight:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground2},heading:{color:A.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:A.colorNeutralBackground3}},itemActive:{backgroundColor:A.colorBrandBackground2,border:`1px solid ${A.colorBrandStroke2}`},iconCol:{flex:"0 0 18px",fontSize:"18px",display:"grid",placeItems:"center"},done:{color:A.colorPaletteGreenForeground1},current:{color:A.colorBrandForeground1},pending:{color:A.colorNeutralForeground3},terminal:{color:A.colorNeutralForeground3},title:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:A.fontWeightSemibold,fontSize:A.fontSizeBase300}});function Px({steps:e,current:o}){const n=sF(),a=nc(),l=nr();return y.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[y.jsx(Dt,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===o&&l.pathname.includes("/step/"),d=c.status==="done"?Fr:c.status==="current"?Dr:c.manual?pd:c.canRunInBrowser?cm:xS,h=c.status==="done"?n.done:c.status==="current"||c.manual?n.current:c.canRunInBrowser?n.pending:n.terminal;return y.jsxs("div",{className:[n.item,u&&n.itemActive].filter(Boolean).join(" "),onClick:()=>a(`/step/${c.number}`),role:"button",tabIndex:0,onKeyDown:p=>{(p.key==="Enter"||p.key===" ")&&a(`/step/${c.number}`)},"aria-current":u?"step":void 0,children:[y.jsx("div",{className:`${n.iconCol} ${h}`,children:y.jsx(d,{})}),y.jsxs(Ji,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}const K5=Oo({wrap:{display:"flex",flexDirection:"column",gap:"20px"},requiredBanner:{display:"flex",alignItems:"center",gap:"12px",padding:"14px 18px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(193,99,12,0.12), rgba(255,185,0,0.08))",border:`1px solid ${A.colorPaletteDarkOrangeBorderActive}`},requiredIcon:{fontSize:"22px",color:A.colorPaletteDarkOrangeForeground1,flexShrink:0},intro:{color:A.colorNeutralForeground2},steps:{display:"flex",flexDirection:"column",gap:"16px"},stepRow:{display:"flex",gap:"14px",alignItems:"flex-start"},stepNum:{width:"28px",height:"28px",borderRadius:"50%",background:Zt.accent,color:"#fff",display:"grid",placeItems:"center",fontWeight:700,fontSize:"14px",flexShrink:0,marginTop:"2px"},stepBody:{flex:1,display:"flex",flexDirection:"column",gap:"8px",minWidth:0},ctaPrimary:{background:Zt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow4,minWidth:"260px",height:"44px",fontWeight:600,alignSelf:"flex-start"},pill:{display:"inline-flex",alignItems:"center",gap:"6px",padding:"3px 10px",borderRadius:"6px",background:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,fontWeight:600},outsidePill:{background:"rgba(0,120,212,0.10)",border:`1px solid ${A.colorBrandStroke1}`,color:A.colorBrandForeground1},figure:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"4px"},illo:{border:`1px solid ${A.colorNeutralStroke2}`,borderRadius:"12px",overflow:"hidden",background:A.colorNeutralBackground1,boxShadow:A.shadow8,maxWidth:"620px"},toolbar:{display:"flex",alignItems:"center",gap:"18px",padding:"10px 16px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,background:A.colorNeutralBackground2,fontSize:A.fontSizeBase200,color:A.colorNeutralForeground2},toolbarItem:{display:"inline-flex",alignItems:"center",gap:"5px",whiteSpace:"nowrap"},toolbarActive:{color:A.colorBrandForeground1,fontWeight:700,position:"relative"},menus:{display:"flex",alignItems:"flex-start",padding:"14px 16px",gap:"8px",flexWrap:"wrap"},menu:{minWidth:"170px",borderRadius:"8px",border:`1px solid ${A.colorNeutralStroke2}`,background:A.colorNeutralBackground1,boxShadow:A.shadow16,overflow:"hidden",paddingTop:"4px",paddingBottom:"4px"},menuItem:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"12px",padding:"7px 12px",fontSize:A.fontSizeBase200,color:A.colorNeutralForeground1},menuItemActive:{background:A.colorBrandBackground2,color:A.colorBrandForeground1,fontWeight:600},menuItemHighlight:{position:"relative",background:A.colorNeutralBackground1,outline:`2px solid ${A.colorPaletteRedBorderActive}`,outlineOffset:"-2px",borderRadius:"6px",fontWeight:700,color:A.colorPaletteRedForeground1},connector:{alignSelf:"center",color:A.colorNeutralForeground3,fontSize:"18px",flexShrink:0},caption:{color:A.colorNeutralForeground3},confirmRow:{display:"flex",flexDirection:"column",gap:"10px",padding:"16px 18px",borderRadius:"10px",background:A.colorNeutralBackground2,border:`1px solid ${A.colorNeutralStroke2}`},actions:{display:"flex",gap:"8px",alignItems:"center",paddingTop:"16px",borderTop:`1px solid ${A.colorNeutralStroke2}`,marginTop:"4px"},spacer:{flex:1}});function cF(){const e=K5();return y.jsxs("div",{className:e.figure,children:[y.jsxs("div",{className:e.illo,role:"img","aria-label":"Solution toolbar: Add existing, then App, then Code app",children:[y.jsxs("div",{className:e.toolbar,children:[y.jsxs("span",{className:e.toolbarItem,children:[y.jsx(yg,{})," New"]}),y.jsxs("span",{className:[e.toolbarItem,e.toolbarActive].join(" "),children:[y.jsx(yg,{})," Add existing ⌄"]}),y.jsx("span",{className:e.toolbarItem,children:"↥ Publish all customizations"}),y.jsx("span",{className:e.toolbarItem,children:"•••"})]}),y.jsxs("div",{className:e.menus,children:[y.jsxs("div",{className:e.menu,children:[y.jsx("div",{className:e.menuItem,children:"Automation"}),y.jsxs("div",{className:[e.menuItem,e.menuItemActive].join(" "),children:[y.jsx("span",{children:"App"}),y.jsx(Xi,{})]}),y.jsx("div",{className:e.menuItem,children:"Dashboard"}),y.jsxs("div",{className:e.menuItem,children:["Table ",y.jsx(Xi,{})]}),y.jsxs("div",{className:e.menuItem,children:["More ",y.jsx(Xi,{})]})]}),y.jsx(Xi,{className:e.connector}),y.jsxs("div",{className:e.menu,children:[y.jsx("div",{className:e.menuItem,children:"Canvas app"}),y.jsx("div",{className:[e.menuItem,e.menuItemHighlight].join(" "),children:"Code app"}),y.jsx("div",{className:e.menuItem,children:"Model-driven app"}),y.jsx("div",{className:e.menuItem,children:"Page"})]})]})]}),y.jsxs(Dt,{className:e.caption,children:["In your solution, select ",y.jsx("strong",{children:"+ Add existing → App → Code app"}),"."]})]})}function uF({solution:e,stepNumber:o,totalSteps:n,onBack:a,onFinish:l}){const c=K5(),[u,d]=b.useState(!1),h=e.appName||"your Code app",p=e.displayName||e.uniqueName||"your target solution",v=e.linkTarget==="solution"?`Open ${p} in the Maker Portal`:e.linkTarget==="solutions"?"Open Solutions in the Maker Portal":"Open the Power Apps Maker Portal";return y.jsxs("div",{className:c.wrap,children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[y.jsx("div",{className:c.stepNum,style:{width:36,height:36,borderRadius:10},children:o}),y.jsxs("div",{style:{flex:1},children:[y.jsx(kd,{style:{margin:0},children:"Add your Code app to your solution"}),y.jsxs(Dt,{style:{color:A.colorNeutralForeground3},children:["Step ",o," of ",n," · required manual step"]})]})]}),y.jsxs("div",{className:c.requiredBanner,children:[y.jsx(yS,{className:c.requiredIcon}),y.jsxs(go,{style:{fontWeight:600},children:["This step is required and can’t be done from the terminal — you must add the Code app to your solution by hand in the Maker Portal. A deployed Code app is ",y.jsx("em",{children:"not"})," automatically included in your solution."]})]}),y.jsxs(go,{className:c.intro,children:["Your app is deployed, but Power Platform does not reliably bind a Code app to its solution during ",y.jsx("code",{children:"pac code push"}),". Follow the three steps below to add it yourself — it takes under a minute."]}),y.jsxs("div",{className:c.steps,children:[y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"1"}),y.jsxs("div",{className:c.stepBody,children:[y.jsx(fn,{children:"Open your solution"}),y.jsx(Ji,{style:{color:A.colorNeutralForeground2},children:e.linkTarget==="solution"?y.jsxs(y.Fragment,{children:["This link opens ",y.jsx("strong",{children:p})," directly."]}):e.linkTarget==="solutions"?y.jsxs(y.Fragment,{children:["This opens the Solutions list — find and open ",y.jsx("strong",{children:p}),"."]}):y.jsxs(y.Fragment,{children:["Open the Maker Portal, switch to your target environment, then open ",y.jsx("strong",{children:p}),"."]})}),y.jsx(et,{className:c.ctaPrimary,icon:y.jsx(pd,{}),as:"a",href:e.makerPortalUrl,target:"_blank",rel:"noopener noreferrer",children:v})]})]}),y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"2"}),y.jsxs("div",{className:c.stepBody,children:[y.jsx(fn,{children:"Choose “Add existing → App → Code app”"}),y.jsxs(Ji,{style:{color:A.colorNeutralForeground2},children:["On the solution toolbar, select ",y.jsxs("span",{className:c.pill,children:[y.jsx(yg,{}),"Add existing"]}),", then ",y.jsx("span",{className:c.pill,children:"App"}),", then ",y.jsx("span",{className:c.pill,children:"Code app"}),"."]}),y.jsx(cF,{})]})]}),y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"3"}),y.jsxs("div",{className:c.stepBody,children:[y.jsxs(fn,{children:["Switch to ",y.jsx("span",{className:[c.pill,c.outsidePill].join(" "),children:"Outside Dataverse"})," and add your app"]}),y.jsxs(Ji,{style:{color:A.colorNeutralForeground2},children:["Code apps are ",y.jsx("strong",{children:"not"})," stored in Dataverse, so the picker won’t show them under the default tab. Select the ",y.jsx("span",{className:[c.pill,c.outsidePill].join(" "),children:"Outside Dataverse"})," ","filter, then ",y.jsx(YE,{style:{verticalAlign:"middle"}})," search for"," ",y.jsx(Yo,{appearance:"tint",color:"brand",children:h}),", select it, and click ",y.jsx("strong",{children:"Add"}),"."]})]})]})]}),y.jsxs("div",{className:c.confirmRow,children:[y.jsx(xm,{checked:u,onChange:(m,w)=>d(!!w.checked),label:y.jsxs(go,{children:["I’ve added ",y.jsx("strong",{children:h})," to ",y.jsx("strong",{children:p})," using the “Outside Dataverse” filter."]})}),u&&y.jsxs(Dt,{style:{color:A.colorPaletteGreenForeground1,display:"flex",alignItems:"center",gap:6},children:[y.jsx(Fr,{})," Nicely done — your Code app now travels with your solution."]})]}),y.jsxs("div",{className:c.actions,children:[y.jsx(et,{appearance:"subtle",icon:y.jsx(SS,{}),onClick:a,children:"Back"}),y.jsx("div",{className:c.spacer}),y.jsx(et,{className:c.ctaPrimary,style:{minWidth:"160px",height:"40px"},iconPosition:"after",icon:y.jsx(Dr,{}),onClick:l,disabled:!u,children:"Finish"})]})]})}function Ix(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(y.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 Mm=Oo({card:{padding:"16px",borderRadius:"10px",backgroundColor:A.colorNeutralBackground2,border:`1px solid ${A.colorNeutralStroke2}`,display:"flex",flexDirection:"column",gap:"8px"},required:{color:A.colorPaletteRedForeground1,marginLeft:"4px"},help:{color:A.colorNeutralForeground3},groupHeader:{display:"flex",flexDirection:"column",gap:"4px",paddingBottom:"4px"},groupTitle:{fontWeight:A.fontWeightSemibold},groupItems:{display:"flex",flexDirection:"column"},groupItem:{padding:"12px 0",borderTop:`1px solid ${A.colorNeutralStroke2}`},firstGroupItem:{paddingTop:"8px"},why:{fontSize:A.fontSizeBase200,color:A.colorNeutralForeground2,whiteSpace:"pre-wrap",lineHeight:1.5,maxWidth:"360px",padding:"4px 0"},whyTrigger:{minWidth:"auto",padding:"2px",height:"auto",color:A.colorNeutralForeground3,":hover":{color:A.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:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,color:A.colorNeutralForeground2,fontSize:A.fontSizeBase200},savedSecretIcon:{color:A.colorPaletteGreenForeground1,fontSize:"16px",flexShrink:0},savedSecretEdit:{marginLeft:"auto",minWidth:"auto",padding:"2px 8px",height:"auto"}});function Lx(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 Om(e,o){return!!(e.showIf&&!Lx(e.showIf,o)||e.hideIf&&Lx(e.hideIf,o))}function dF(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 fF(e,o,n){return e.required&&(o==null||o==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof o=="string"?dF(o):null}function Q5({question:e,value:o,onChange:n,showError:a,answers:l}){var z;const c=Mm(),u=fF(e,o,a),[d,h]=b.useState(!1),p=e.type==="secret"&&e.savedHint&&!o&&!d,v=e.dynamicOptions,m=v?String(l[v.dependsOn]??""):"",[w,B]=b.useState([]),[k,x]=b.useState(!1),C=b.useRef(m);b.useEffect(()=>{if(!v)return;if(!m||m==="false"||m==="0"||m.startsWith("__")){B([]),C.current=m;return}if(m===C.current&&w.length>0)return;C.current=m,x(!0);const E=new AbortController;return fetch(`${v.endpoint}?${v.param}=${encodeURIComponent(m)}`,{signal:E.signal}).then(R=>R.json()).then(R=>{const F=R[v.responseKey]||[];B(F),x(!1)}).catch(()=>{E.signal.aborted||x(!1)}),()=>E.abort()},[v,m]);const _=b.useMemo(()=>{if(!v)return e.options||[];const T=(e.options||[]).filter(E=>E.value.startsWith("__"));return[...w,...T]},[v,e.options,w]),j=y.jsxs("span",{className:c.labelRow,children:[e.label,e.required?y.jsx("span",{className:c.required,"aria-hidden":!0,children:"*"}):null,e.why&&y.jsxs(f5,{withArrow:!0,children:[y.jsx(ym,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"transparent",icon:y.jsx(zj,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),y.jsx(d5,{children:y.jsx("div",{className:c.why,children:Ix(e.why)})})]})]});return y.jsxs(y.Fragment,{children:[y.jsx(m5,{label:j,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?y.jsx(_g,{value:o??"",onChange:(T,E)=>n(e.id,E.value),"aria-required":e.required||void 0}):e.type==="secret"?p?y.jsxs("div",{className:c.savedSecret,children:[y.jsx(sj,{className:c.savedSecretIcon}),y.jsx("span",{children:e.savedHint}),y.jsx(et,{appearance:"subtle",size:"small",icon:y.jsx(lj,{}),className:c.savedSecretEdit,onClick:()=>h(!0),children:"Change"})]}):y.jsx(_g,{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"?y.jsx(A5,{checked:!!o,onChange:(T,E)=>n(e.id,E.checked)}):e.type==="select"?k?y.jsx(pn,{size:"tiny",label:"Loading options…"}):y.jsx(w5,{value:((z=_.find(T=>T.value===o))==null?void 0:z.label)??"",selectedOptions:o?[String(o)]:[],onOptionSelect:(T,E)=>n(e.id,E.optionValue),children:_.map(T=>y.jsx(x5,{value:T.value,children:T.label},T.value))}):e.type==="multiselect"?y.jsx(q5,{value:Array.isArray(o)?o.join(", "):"",onChange:(T,E)=>n(e.id,E.value.split(",").map(R=>R.trim()).filter(Boolean))}):e.type==="checkboxes"?y.jsx("div",{className:c.checkboxList,children:(e.options||[]).map(T=>{const E=Array.isArray(o)&&o.includes(T.value);return y.jsx(xm,{label:T.label,checked:E,onChange:(R,F)=>{const O=Array.isArray(o)?[...o]:[];n(e.id,F.checked?Array.from(new Set([...O,T.value])):O.filter(X=>X!==T.value))}},T.value)})}):y.jsxs(Dt,{children:["Unsupported question type: ",e.type]})}),e.help&&y.jsx(Ji,{className:c.help,children:Ix(e.help)})]})}function hF({question:e,answers:o,value:n,onChange:a,showError:l}){const c=Mm();return Om(e,o)?null:y.jsx("div",{className:c.card,children:y.jsx(Q5,{question:e,answers:o,value:n,onChange:a,showError:l})})}function pF({group:e,questions:o,answers:n,onChange:a,showError:l}){const c=Mm(),u=o.filter(d=>!Om(d,n));return u.length===0?null:y.jsxs("div",{className:c.card,children:[y.jsxs("div",{className:c.groupHeader,children:[y.jsx(go,{className:c.groupTitle,children:e.label}),e.help&&y.jsx(Ji,{className:c.help,children:e.help})]}),y.jsx("div",{className:c.groupItems,children:u.map((d,h)=>y.jsx("div",{className:`${c.groupItem} ${h===0?c.firstGroupItem:""}`,children:y.jsx(Q5,{question:d,answers:n,value:n[d.id],onChange:a,showError:l})},d.id))})]})}const gF=Oo({root:{height:"100%",display:"grid",gridTemplateRows:"auto 1fr auto",backgroundColor:A.colorNeutralBackground3,borderRadius:"10px",overflow:"hidden",border:`1px solid ${A.colorNeutralStroke2}`},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground4},spacer:{flex:1},output:{margin:0,padding:"12px 16px",overflowY:"auto",fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,lineHeight:A.lineHeightBase200,color:A.colorNeutralForeground1,whiteSpace:"pre-wrap",wordBreak:"break-word"},err:{color:A.colorPaletteRedForeground1},info:{color:A.colorNeutralForeground3,fontStyle:"italic"},footer:{display:"flex",alignItems:"center",gap:"8px",padding:"6px 12px",borderTop:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground4,color:A.colorNeutralForeground3,minHeight:"28px"},footerIdle:{color:A.colorPaletteDarkOrangeForeground1}});function Ux(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 mF({lines:e,status:o,onClear:n}){var x;const a=gF(),l=b.useRef(null);b.useEffect(()=>{l.current&&(l.current.scrollTop=l.current.scrollHeight)},[e]);const c=e.length,u=((x=e[c-1])==null?void 0:x.text)??"",[d,h]=b.useState(null),[p,v]=b.useState(()=>Date.now()),[m,w]=b.useState(()=>Date.now());b.useEffect(()=>{o==="running"?(h(C=>C??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 C=window.setInterval(()=>w(Date.now()),1e3);return()=>window.clearInterval(C)},[o]);const B=b.useMemo(()=>{if(o!=="running"||d===null)return null;const C=m-d,j=m-p>2e4;return{label:j?`Still working — waiting on npm / network… (running for ${Ux(C)})`:`Running for ${Ux(C)}`,idle:j}},[o,d,m,p]);function k(){const C=e.map(T=>T.text).join(""),_=new Blob([C],{type:"text/plain"}),j=URL.createObjectURL(_),z=document.createElement("a");z.href=j,z.download=`wizardux-log-${Date.now()}.txt`,z.click(),URL.revokeObjectURL(j)}return y.jsxs("div",{className:a.root,children:[y.jsxs("div",{className:a.toolbar,children:[y.jsx(Xa,{children:"Live output"}),y.jsx(Dt,{style:{color:o==="error"?A.colorPaletteRedForeground1:o==="done"?A.colorPaletteGreenForeground1:A.colorNeutralForeground3},children:o==="idle"?"Idle":o==="running"?"Running…":o==="done"?"Complete":"Failed"}),y.jsx("div",{className:a.spacer}),y.jsx(et,{appearance:"subtle",size:"small",icon:y.jsx(wS,{}),onClick:k,disabled:e.length===0,children:"Save"}),n&&y.jsx(et,{appearance:"subtle",size:"small",icon:y.jsx(pj,{}),onClick:n,disabled:e.length===0,children:"Clear"})]}),y.jsx("pre",{ref:l,className:a.output,"aria-live":"polite",children:e.length===0?y.jsx("span",{className:a.info,children:"No output yet. Save the form to begin."}):e.map((C,_)=>y.jsx("span",{className:C.stream==="stderr"?a.err:void 0,children:C.text},_))}),B&&y.jsx("div",{className:`${a.footer}${B.idle?` ${a.footerIdle}`:""}`,"aria-live":"polite",children:y.jsx(Dt,{style:{color:"inherit"},children:B.label})})]})}const vF=Oo({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 ${A.colorNeutralStroke2}`,marginBottom:"8px"},stepBadge:{width:"36px",height:"36px",borderRadius:"10px",display:"grid",placeItems:"center",fontWeight:700,fontSize:"15px",flexShrink:0},stepBadgePending:{background:A.colorNeutralBackground3,color:A.colorNeutralForeground2},stepBadgeDone:{background:A.colorPaletteGreenBackground2,color:A.colorPaletteGreenForeground1},stepBadgeBrand:{background:Zt.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 ${A.colorNeutralStroke2}`,marginTop:"8px"},spacer:{flex:1},inlineLog:{marginTop:"4px",border:`1px solid ${A.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 ${A.colorPaletteGreenBorder1}`},successIcon:{fontSize:"24px",color:A.colorPaletteGreenForeground1,flexShrink:0},successText:{flex:1},ctaPrimary:{background:Zt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow4,minWidth:"160px",height:"40px",fontWeight:600},terminalNote:{display:"flex",alignItems:"center",gap:"10px",padding:"14px 16px",borderRadius:"10px",background:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,color:A.colorNeutralForeground2},terminalIcon:{fontSize:"20px",color:A.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 ${A.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:A.colorBrandForeground1,padding:"8px 16px",background:A.colorNeutralBackground1,borderRadius:"8px",border:`1px solid ${A.colorNeutralStroke2}`,userSelect:"all"}});function bF(){var J,se,me,_e,Fe,Bt,ft,kn,pa,ri,Ol,Sr;const e=vF(),o=v4(),n=Math.max(1,Math.min(10,parseInt(o.n||"1",10))),a=nc(),l=ic(),c=Dm(),u=Zd(),d=nF(n),[h,p]=b.useState({}),[v,m]=b.useState({}),[w,B]=b.useState(!1),[k,x]=b.useState(null),C=b.useRef(null),_=b.useMemo(()=>{var qe;return JSON.stringify((((qe=d.data)==null?void 0:qe.questions)??[]).map(tt=>[tt.id,tt.defaultValue??""]))},[(J=d.data)==null?void 0:J.questions]);b.useEffect(()=>{if(!d.data)return;const qe={};for(const tt of d.data.questions)qe[tt.id]=tt.defaultValue??"";p(qe),m(qe),B(!1)},[(se=d.data)==null?void 0:se.meta.number,_]),b.useEffect(()=>{x(null)},[n]);const j=M2({mutationFn:qe=>gr.apply(n,qe),onSuccess:qe=>{x(qe.runId)}}),z=lF(n,k);b.useEffect(()=>{z.status==="done"&&(C.current&&(m(C.current),C.current=null),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["steps"]}),l.invalidateQueries({queryKey:["questions"]}))},[z.status,l,n]);const T=b.useMemo(()=>z.lines.some(qe=>qe.stream==="stderr"),[z.lines]),E=b.useRef(null);b.useEffect(()=>{var qe,tt,Wt;if(z.status==="done"&&!T){const Fo=((qe=c.data)==null?void 0:qe.totalSteps)??9;if(n>=Fo||(Wt=(tt=d.data)==null?void 0:tt.meta)!=null&&Wt.noAutoAdvance)return;E.current=setTimeout(()=>{a(`/step/${n+1}`)},1500)}return()=>{E.current&&clearTimeout(E.current)}},[z.status,n,(me=c.data)==null?void 0:me.totalSteps,a,T,(Fe=(_e=d.data)==null?void 0:_e.meta)==null?void 0:Fe.noAutoAdvance]);const R=(Bt=d.data)==null?void 0:Bt.meta,F=(R==null?void 0:R.manual)===!0,O=((ft=d.data)==null?void 0:ft.questions)??[],{primaryBlocks:X,advancedBlocks:ee}=b.useMemo(()=>{const qe=Fo=>{const ar=[];for(const kr of Fo){if(!kr.group){ar.push({kind:"question",question:kr});continue}const Hr=ar[ar.length-1];(Hr==null?void 0:Hr.kind)==="group"&&Hr.group.id===kr.group.id?Hr.questions.push(kr):ar.push({kind:"group",group:kr.group,questions:[kr]})}return ar},tt=O.filter(Fo=>!Fo.advanced),Wt=O.filter(Fo=>Fo.advanced);return{primaryBlocks:qe(tt),advancedBlocks:qe(Wt)}},[O]),he=b.useMemo(()=>JSON.stringify(h)!==JSON.stringify(v),[h,v]),ie=b.useRef(null);b.useEffect(()=>{if(d.data&&he)return ie.current&&clearTimeout(ie.current),ie.current=setTimeout(()=>{const qe={};for(const tt of Object.keys(h))JSON.stringify(h[tt])!==JSON.stringify(v[tt])&&(qe[tt]=h[tt]);Object.keys(qe).length>0&&gr.saveState(qe).catch(()=>{})},600),()=>{ie.current&&clearTimeout(ie.current)}},[h,v,he,d.data]);const ue=b.useMemo(()=>{if(!(R!=null&&R.canRunInBrowser))return[];const qe=[];for(const tt of O)Om(tt,h)||tt.required&&(h[tt.id]==null||h[tt.id]==="")&&qe.push(tt.label);return qe},[O,h,R]);function le(){if(R!=null&&R.canRunInBrowser){if(O.length>0&&ue.length>0){B(!0);return}C.current=h,j.mutate(h)}}const Q=((pa=(kn=c.data)==null?void 0:kn.steps.find(qe=>qe.number===n))==null?void 0:pa.status)??"pending",L=j.isPending||z.status==="running",te=z.status==="done",oe=((ri=c.data)==null?void 0:ri.totalSteps)??9,fe=n>=oe,Se=R==null?void 0:R.canRunInBrowser,q=L?R!=null&&R.readOnly?"Checking…":"Running…":te&&T?fe?"Finish":"Continue":te?fe?"Finish":"Continuing…":Q==="done"&&he?"Save & re-run":R!=null&&R.readOnly?"Run checks":Q==="done"?"Re-run":O.length===0?"Run":"Save & run";function U(){if(te){E.current&&clearTimeout(E.current),a(fe?"/summary":`/step/${n+1}`);return}le()}if(F){const qe=((Ol=u.data)==null?void 0:Ol.solution)??{displayName:"",uniqueName:"",appName:"",makerPortalUrl:"https://make.powerapps.com/",linkTarget:"portal"};return y.jsxs("div",{className:e.root,children:[c.data&&y.jsx(Px,{steps:c.data.steps,current:n}),y.jsx("div",{className:e.main,children:y.jsx("div",{className:e.pane,children:y.jsx("div",{className:e.formWrap,children:y.jsx(uF,{solution:qe,stepNumber:n,totalSteps:oe,onBack:()=>a(n<=1?"/":`/step/${n-1}`),onFinish:async()=>{try{await gr.saveState({COMPLETED_STEP:n}),await l.invalidateQueries({queryKey:["state"]}),await l.invalidateQueries({queryKey:["steps"]})}catch{}a("/summary")}})})})})]})}return y.jsxs("div",{className:e.root,children:[c.data&&y.jsx(Px,{steps:c.data.steps,current:n}),y.jsx("div",{className:e.main,children:y.jsx("div",{className:e.pane,children:y.jsxs("div",{className:e.formWrap,children:[y.jsxs("div",{className:e.header,children:[y.jsx("div",{className:[e.stepBadge,Q==="done"?e.stepBadgeDone:Q==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:Q==="done"?y.jsx(Fr,{}):n}),y.jsxs("div",{className:e.headerText,children:[y.jsx(kd,{style:{margin:0},children:(R==null?void 0:R.title)||"Loading…"}),y.jsxs(Dt,{style:{color:A.colorNeutralForeground3},children:["Step ",n," of ",oe,R!=null&&R.optional?" · optional":""]})]})]}),(R==null?void 0:R.description)&&y.jsx(go,{style:{color:A.colorNeutralForeground2},children:R.description}),d.isLoading&&(n===8?y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[y.jsx(pn,{size:"small"}),y.jsx(Dt,{style:{color:A.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):y.jsx(pn,{size:"small"})),R&&!Se&&y.jsxs("div",{className:e.terminalNote,children:[y.jsx(xS,{className:e.terminalIcon}),y.jsx(go,{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."})]}),Se&&O.length>0&&y.jsx("div",{className:e.questions,children:(()=>{const qe=(Wt,Fo)=>p(ar=>({...ar,[Wt]:Fo})),tt=Wt=>Wt.kind==="group"?y.jsx(pF,{group:Wt.group,questions:Wt.questions,answers:h,onChange:qe,showError:w},Wt.group.id):y.jsx(hF,{question:Wt.question,answers:h,value:h[Wt.question.id],onChange:qe,showError:w},Wt.question.id);return y.jsxs(y.Fragment,{children:[X.map(tt),ee.length>0&&y.jsx(sS,{collapsible:!0,children:y.jsxs(dS,{value:"advanced",children:[y.jsx(MS,{children:"Advanced options"}),y.jsx(HS,{children:y.jsx("div",{className:e.questions,children:ee.map(tt)})})]})})]})})()}),j.isError&&y.jsx(or,{intent:"error",children:y.jsx(rr,{children:j.error.message})}),z.status==="error"&&y.jsx(or,{intent:"error",children:y.jsx(rr,{children:z.error||"Step failed — see output above."})}),((Sr=z.deviceCode)==null?void 0:Sr.code)&&z.status==="running"&&y.jsxs("div",{className:e.deviceCodeCard,children:[y.jsxs("div",{className:e.deviceCodeHeader,children:[y.jsx(pd,{style:{color:A.colorBrandForeground1}}),y.jsx(go,{children:"Sign in with a device code"})]}),y.jsx(Dt,{style:{color:A.colorNeutralForeground3},children:"Open the link below, then enter the code to authenticate."}),y.jsxs("div",{className:e.deviceCodeBody,children:[y.jsx("span",{className:e.deviceCodeValue,children:z.deviceCode.code}),y.jsx(et,{appearance:"subtle",icon:y.jsx(ej,{}),onClick:()=>navigator.clipboard.writeText(z.deviceCode.code),children:"Copy code"})]}),y.jsxs(et,{appearance:"primary",icon:y.jsx(pd,{}),as:"a",href:z.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",z.deviceCode.url]})]}),te&&y.jsxs("div",{className:e.successBanner,children:[y.jsx(Fr,{className:e.successIcon}),y.jsxs("div",{className:e.successText,children:[y.jsx(go,{style:{fontWeight:600},children:fe?"All steps complete!":T?"Step complete — review items above":"Step complete"}),y.jsx(Dt,{style:{color:A.colorNeutralForeground3},children:fe?"Review the deploy log above, then click View summary when ready.":R!=null&&R.noAutoAdvance?"Review the deploy log above, then continue to the final step.":T?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),y.jsx(et,{className:e.ctaPrimary,iconPosition:"after",icon:y.jsx(Dr,{}),onClick:()=>{E.current&&clearTimeout(E.current),a(fe?"/summary":`/step/${n+1}`)},children:fe?"View summary":"Continue now"})]}),n===7&&L&&y.jsx(or,{intent:"info",children:y.jsxs(rr,{children:[y.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."]})}),Se&&(z.status==="running"||z.lines.length>0)&&y.jsx("div",{className:e.inlineLog,children:y.jsx(mF,{lines:z.lines,status:z.status})}),y.jsxs("div",{className:e.actions,children:[y.jsx(et,{appearance:"subtle",icon:y.jsx(SS,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),y.jsx("div",{className:e.spacer}),Se?y.jsx(et,{appearance:"primary",icon:L?y.jsx(pn,{size:"tiny"}):te?y.jsx(Dr,{}):y.jsx(aj,{}),iconPosition:te?"after":"before",onClick:U,disabled:L,children:q}):y.jsx(et,{appearance:"primary",iconPosition:"after",icon:y.jsx(Dr,{}),onClick:()=>{a(fe?"/summary":`/step/${n+1}`)},children:fe?"Finish":"Next"})]})]})})})]})}const yF=Oo({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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow4,fontSize:A.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:A.colorBrandForeground1},title:{margin:0,background:Zt.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:A.colorNeutralForeground2,fontSize:A.fontSizeBase400,lineHeight:1.55,maxWidth:"620px"}});function Z5({eyebrowIcon:e,eyebrow:o,title:n,subtitle:a}){const l=yF();return y.jsxs("div",{className:l.hero,children:[y.jsx(X5,{}),y.jsxs("div",{className:l.inner,children:[y.jsxs("div",{className:l.pill,children:[e,o]}),y.jsx("h1",{className:l.title,children:n}),a&&y.jsx(go,{className:l.subtitle,children:a})]})]})}const Y5=Oo({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:Zt.accentSoft,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow8,display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},progressText:{flex:1,minWidth:"240px"},progressBar:{width:"100%",height:"6px",borderRadius:"999px",background:A.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},progressFill:{height:"100%",background:Zt.accent,transition:"width 280ms ease"},sectionLabel:{display:"block",color:A.colorBrandForeground1,fontSize:A.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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,transition:"transform 220ms cubic-bezier(0.1,0.9,0.2,1), box-shadow 220ms",":hover":{transform:"translateY(-2px)",boxShadow:A.shadow8}},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:A.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:Zt.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:A.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},fieldLabel:{color:A.colorNeutralForeground3,fontWeight:500},fieldVal:{fontFamily:A.fontFamilyMonospace,color:A.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},fieldEmpty:{color:A.colorNeutralForeground4,fontStyle:"italic",fontFamily:A.fontFamilyBase},stepRow:{display:"flex",alignItems:"center",gap:"10px",paddingTop:"8px",paddingBottom:"8px"},stepIconDone:{color:A.colorPaletteGreenForeground1,fontSize:"18px"},stepIconCurrent:{color:A.colorBrandForeground1,fontSize:"12px"},stepIconPending:{color:A.colorNeutralForeground4,fontSize:"14px"},actions:{display:"flex",justifyContent:"center",gap:"12px",flexWrap:"wrap",marginTop:"8px"},ctaPrimary:{background:Zt.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:A.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:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow8,display:"grid",gap:"14px"},launchTitle:{margin:0,color:A.colorNeutralForeground1,letterSpacing:"-0.01em"},launchUrl:{display:"block",padding:"12px 14px",borderRadius:"10px",textDecorationLine:"none",fontFamily:A.fontFamilyMonospace,background:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,color:A.colorBrandForeground1,overflowWrap:"anywhere",":hover":{textDecorationLine:"underline"}},launchActions:{display:"flex",gap:"10px",flexWrap:"wrap"},launchBtn:{background:Zt.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:A.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function eo({label:e,value:o}){const n=Y5(),a=!o||o.trim()==="";return y.jsxs("div",{className:n.field,children:[y.jsx(Dt,{className:n.fieldLabel,children:e}),y.jsx(Dt,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":o})]})}function xF(){var m,w,B,k,x,C,_,j,z;const e=Y5(),o=Zd(),n=Dm(),a=((m=o.data)==null?void 0:m.state)??{},l=((w=o.data)==null?void 0:w.completed)??0,c=((B=o.data)==null?void 0:B.totalSteps)??9,u=((k=o.data)==null?void 0:k.next)??1,d=Math.round(l/Math.max(1,c)*100),h=l>=c,p=((C=(x=o.data)==null?void 0:x.powerApp)==null?void 0:C.launchUrl)||"",v=((j=(_=o.data)==null?void 0:_.powerApp)==null?void 0:j.targetEnv)||a.WIZARD_TARGET_ENV||"dev";return y.jsxs("div",{className:e.root,children:[y.jsx(Z5,{eyebrowIcon:y.jsx(Ui,{}),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."}),y.jsxs("div",{className:e.body,children:[y.jsxs("div",{className:e.progressCard,children:[y.jsxs("div",{className:e.progressText,children:[y.jsx(Qo,{style:{display:"block",color:A.colorBrandForeground1,marginBottom:"4px"},children:h?"Setup complete":"In progress"}),y.jsxs(fn,{style:{margin:0},children:[l," of ",c," steps complete · ",d,"%"]}),y.jsx("div",{className:e.progressBar,"aria-hidden":!0,children:y.jsx("div",{className:e.progressFill,style:{width:`${d}%`}})})]}),!h&&y.jsx(un,{to:`/step/${u}`,children:y.jsx(et,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:y.jsx(Dr,{}),children:"Continue setup"})}),h&&p&&y.jsx(et,{className:e.ctaPrimary,size:"large",as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:y.jsx(Dr,{}),children:"Open Power App"})]}),h&&y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Launch"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"You did it. Your app is ready to launch."}),y.jsx("div",{className:e.launchCard,style:{marginTop:"16px"},children:p?y.jsxs(y.Fragment,{children:[y.jsxs(Qo,{className:e.launchTitle,children:["Power Apps URL (",String(v).toUpperCase(),")"]}),y.jsx("a",{className:e.launchUrl,href:p,target:"_blank",rel:"noopener noreferrer",children:p}),y.jsx("div",{className:e.launchActions,children:y.jsx(et,{className:e.launchBtn,as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:y.jsx(Dr,{}),children:"Launch App Now"})})]}):y.jsxs(y.Fragment,{children:[y.jsx(Qo,{className:e.launchTitle,children:"Power Apps URL not available yet"}),y.jsx(Dt,{children:'Complete Step 9 with "Push to Power Platform" enabled to generate and surface your launch URL here.'})]})})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Project values"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"What the wizard knows about your app"}),y.jsxs("div",{className:e.grid,style:{marginTop:"20px"},children:[y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Project"})]}),y.jsx(eo,{label:"App name",value:a.APP_NAME}),y.jsx(eo,{label:"Project dir",value:a.PROJECT_DIR})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Environments"})]}),y.jsx(eo,{label:"Dev",value:a.PP_ENV_DEV}),y.jsx(eo,{label:"Test",value:a.PP_ENV_TEST}),y.jsx(eo,{label:"Prod",value:a.PP_ENV_PROD}),y.jsx(eo,{label:"Active target",value:a.WIZARD_TARGET_ENV})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Identity"})]}),y.jsx(eo,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"Credential storage",value:a.AUTH_MODE})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Publisher"})]}),y.jsx(eo,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),y.jsx(eo,{label:"Prefix",value:a.PUBLISHER_PREFIX}),y.jsx(eo,{label:"Choice value prefix",value:a.CHOICE_VALUE_PREFIX})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Solution"})]}),y.jsx(eo,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),y.jsx(eo,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),y.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&y.jsx(pn,{size:"small"}),(z=n.data)==null?void 0:z.steps.map(T=>y.jsxs("div",{className:e.stepRow,children:[T.status==="done"&&y.jsx(Fr,{className:e.stepIconDone}),T.status==="current"&&y.jsx(sm,{className:e.stepIconCurrent}),T.status==="pending"&&y.jsx(cm,{className:e.stepIconPending}),y.jsxs(go,{style:{flex:1},children:[y.jsx("span",{style:{color:A.colorNeutralForeground3,marginRight:"8px"},children:String(T.number).padStart(2,"0")}),T.title]}),T.status==="done"&&y.jsx(Yo,{appearance:"filled",color:"success",size:"small",children:"Done"}),T.status==="current"&&y.jsx(Yo,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},T.number))]})]}),!o.data&&y.jsx(or,{intent:"info",children:y.jsx(rr,{children:"Loading state…"})}),y.jsxs("div",{className:e.actions,children:[y.jsx(un,{to:"/",children:y.jsx(et,{appearance:"subtle",icon:y.jsx(kS,{}),children:"Home"})}),!h&&y.jsx(un,{to:`/step/${u}`,children:y.jsx(et,{className:e.ctaPrimary,iconPosition:"after",icon:y.jsx(Dr,{}),children:"Continue setup"})})]})]})]})}const J5=Oo({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:A.colorBrandForeground1,fontSize:A.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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:A.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:Zt.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:A.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},rowLabel:{color:A.colorNeutralForeground3,display:"flex",alignItems:"center",gap:"6px"},rowVal:{fontFamily:A.fontFamilyMonospace,color:A.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},rowValMissing:{color:A.colorPaletteRedForeground1,fontStyle:"italic",fontFamily:A.fontFamilyBase},pre:{margin:0,padding:"16px",background:A.colorNeutralBackground3,borderRadius:"10px",overflowX:"auto",fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,lineHeight:1.6,color:A.colorNeutralForeground1,maxHeight:"480px",overflowY:"auto"}});function Da({icon:e,label:o,value:n,ok:a,neutral:l}){const c=J5(),u=!n,d=l?y.jsx(gd,{style:{color:A.colorBrandForeground1}}):a?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(Bj,{style:{color:A.colorPaletteRedForeground1}});return y.jsxs("div",{className:c.row,children:[y.jsxs(Dt,{className:c.rowLabel,children:[d,e,o]}),y.jsx(Dt,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function wF(){var l;const e=J5(),o=$5(),n=Zd(),a=o.data;return y.jsxs("div",{className:e.root,children:[y.jsx(Z5,{eyebrowIcon:y.jsx(ij,{}),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."}),y.jsxs("div",{className:e.body,children:[!a&&y.jsx(pn,{size:"medium"}),a&&y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Environment"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"Tooling and host detection"}),y.jsxs("div",{className:e.grid,children:[y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(bS,{})}),y.jsx(Qo,{children:"Host"})]}),y.jsx(Da,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),y.jsx(Da,{ok:!!a.node,label:"Node.js",value:a.node}),y.jsx(Da,{ok:!!a.git,label:"Git",value:a.git}),y.jsx(Da,{ok:!!a.dotnet,label:".NET SDK",value:a.dotnet})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(gj,{})}),y.jsx(Qo,{children:"Power Platform tooling"})]}),y.jsx(Da,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),y.jsxs("div",{className:e.row,children:[y.jsxs(Dt,{className:e.rowLabel,children:[a.op?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(gd,{style:{color:A.colorBrandForeground1}}),"1Password CLI"]}),y.jsx(Yo,{appearance:"filled",color:a.op?"success":"informative",children:a.op?a.op:"optional · not installed"})]})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(hj,{})}),y.jsx(Qo,{children:"Repository"})]}),y.jsx(Da,{neutral:!0,label:"Branch",value:a.branch}),y.jsxs("div",{className:e.row,children:[y.jsxs(Dt,{className:e.rowLabel,children:[a.repoIsClean?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(gd,{style:{color:A.colorPaletteYellowForeground1}}),"Working tree"]}),y.jsx(Yo,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),y.jsx(Da,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Raw state"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),y.jsx(go,{style:{color:A.colorNeutralForeground2,marginTop:"8px",marginBottom:"16px"},children:"The exact contents the server sees on disk. This is what every step reads from and writes to."}),y.jsx("pre",{className:e.pre,children:JSON.stringify(((l=n.data)==null?void 0:l.state)??{},null,2)})]})]})]})}const SF=Oo({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:A.colorNeutralBackground1,color:A.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function kF(){const e=SF();return y.jsxs("div",{className:e.root,children:[y.jsx(oF,{}),y.jsx("div",{className:e.body,children:y.jsxs(A4,{children:[y.jsx(Gi,{path:"/",element:y.jsx(iF,{})}),y.jsx(Gi,{path:"/step/:n",element:y.jsx(bF,{})}),y.jsx(Gi,{path:"/summary",element:y.jsx(xF,{})}),y.jsx(Gi,{path:"/diagnostics",element:y.jsx(wF,{})}),y.jsx(Gi,{path:"*",element:y.jsx(j4,{to:"/",replace:!0})})]})})]})}const BF=new q_({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),_F=document.getElementById("root");AB.createRoot(_F).render(y.jsx(b.StrictMode,{children:y.jsx(H_,{client:BF,children:y.jsx($O,{children:y.jsx(r_,{children:y.jsx(kF,{})})})})}));
|
|
141
|
+
*/var mx;function W8(){if(mx)return Lp;mx=1;var e=_d();function o(m,w){return m===w&&(m!==0||1/m===1/w)||m!==m&&w!==w}var n=typeof Object.is=="function"?Object.is:o,a=e.useState,l=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue;function d(m,w){var B=w(),k=a({inst:{value:B,getSnapshot:w}}),x=k[0].inst,C=k[1];return c(function(){x.value=B,x.getSnapshot=w,h(x)&&C({inst:x})},[m,B,w]),l(function(){return h(x)&&C({inst:x}),m(function(){h(x)&&C({inst:x})})},[m]),u(B),B}function h(m){var w=m.getSnapshot;m=m.value;try{var B=w();return!n(m,B)}catch{return!0}}function p(m,w){return w()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:d;return Lp.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,Lp}var vx;function X8(){return vx||(vx=1,Ip.exports=W8()),Ip.exports}var $8=X8();function bx(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 yx=20;function a5(e,o){return Math.sqrt((e[0]-o[0])**2+(e[1]-o[1])**2)}function K8(e,o){const n=a5(e,o);return n===0?[0,0]:[(e[0]-o[0])/n,(e[1]-o[1])/n]}function Q8(e,o,n){const a=[(e[0]+o[0])/2,(e[1]+o[1])/2],l=K8([n[0],n[1]],[a[0],a[1]]),c=a5([a[0],a[1]],[n[0],n[1]]);return[a[0]+l[0]*(c+yx),a[1]+l[1]*(c+yx)]}function Lu(e){return`M ${e} z`}const Z8=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 xx(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 Y8(e,o,n,a){let l=`M 0,0 H ${e} V ${o} H 0 Z `;return l+=xx(n),l+=xx(a),l}const wx={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON(){return""}};function Sx(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 J8(e,o){return e[0]===o[0]&&e[1]===o[1]}const e7=b.memo(e=>{const{debug:o,onMouseEnter:n,onMouseMove:a,onMouseLeave:l,stateStore:c}=e,u=Yt(),d=Z8(),h=$8.useSyncExternalStore(c.subscribe,c.isActive),p=b.useRef(null),[v,m]=b.useState(()=>({containerRect:wx,targetRect:wx,mouseCoordinates:[0,0]}));b.useImperativeHandle(e.imperativeRef,()=>({updateSVG(le){m(Q=>Sx(Q.containerRect,le.containerRect)&&Sx(Q.targetRect,le.targetRect)&&J8(Q.mouseCoordinates,le.mouseCoordinates)?Q:le)}}),[]);const{containerRect:w,targetRect:B,mouseCoordinates:k}=v,x=Math.min(B.top,w.top),C=Math.min(B.left,w.left),_=Math.max(B.bottom,w.bottom),j=Math.max(B.right,w.right),z=bx(w,[C,x]),T=bx(B,[C,x]),E=[k[0]-C,k[1]-x],R=Q8(z.topLeft,z.bottomRight,E),F=[R,z.topLeft,z.topRight],O=[R,z.topRight,z.bottomRight],X=[R,z.bottomRight,z.bottomLeft],ee=[R,z.bottomLeft,z.topLeft],he=j-C,ie=_-x,ue=Y8(he,ie,{x:T.topLeft[0],y:T.topLeft[1],width:B.width,height:B.height},{x:z.topLeft[0],y:z.topLeft[1],width:w.width,height:w.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:p,style:{width:`${he}px`,height:`${ie}px`,transform:`translate(${C}px, ${x}px)`}},b.createElement("g",{className:de(d.triangle,o&&d.triangleDebug),clipPath:`url(#${u})`,onMouseEnter:n,onMouseMove:a,onMouseLeave:l},b.createElement("path",{d:Lu(F)}),b.createElement("path",{d:Lu(O)}),b.createElement("path",{d:Lu(X)}),b.createElement("path",{d:Lu(ee)})),b.createElement("clipPath",{id:u},b.createElement("path",{d:ue})),o&&b.createElement("path",{className:d.rectDebug,d:ue})):null)}),t7=2e3;function o7({debug:e=!1,disabled:o=!1,onSafeZoneEnter:n,onSafeZoneMove:a,onSafeZoneLeave:l,onSafeZoneTimeout:c,timeout:u=1500}={}){const[d]=b.useState(G8),h=b.useRef(null),p=b.useRef(null),v=b.useRef(null),[m,w]=zl(),[B,k]=dC(),x=b.useRef({x:0,y:0}),C=b.useMemo(()=>{if(o)return()=>{};let E=null;function R(){w(),d.toggleActive(!1)}return F=>{F===null&&(E==null||E.removeEventListener("mouseenter",R)),E=F,F==null||F.addEventListener("mouseenter",R)}},[w,o,d]),_=b.useMemo(()=>{if(o)return()=>{};let E=null;function R(F){x.current={x:F.clientX,y:F.clientY},d.isActive()||d.toggleActive(!0),m(()=>{d.toggleActive(!1)},t7)}return F=>{F===null&&(k(),w(),E==null||E.removeEventListener("mousemove",R)),E=F,F==null||F.addEventListener("mousemove",R)}},[k,w,o,d,m]),j=ge(E=>{n==null||n(E),m(()=>{d.toggleActive(!1),c==null||c()},u)}),z=ge(E=>{m(()=>{d.toggleActive(!1),c==null||c()},u),a==null||a(E)}),T=ge(E=>{l==null||l(E)});return b.useEffect(()=>d.subscribe(E=>{if(E){let F=function(){const O=p.current,X=v.current;if(O&&X){var ee;(ee=h.current)===null||ee===void 0||ee.updateSVG({containerRect:O.getBoundingClientRect(),mouseCoordinates:[x.current.x,x.current.y],targetRect:X.getBoundingClientRect()})}B(F)};var R=F;F();return}k()}),[k,B,d]),{containerRef:it(p,C),targetRef:it(v,_),elementToRender:b.useMemo(()=>o?null:b.createElement(e7,{debug:e,onMouseEnter:j,onMouseMove:z,onMouseLeave:T,imperativeRef:h,stateStore:d}),[o,e,j,z,T,d])}}const bm=ei(void 0),i5={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};bm.Provider;const Gt=e=>Tl(bm,(o=i5)=>e(o)),r7=(e,o)=>{const n=Gt(u=>u.size),a=Gt(u=>u.appearance),l=Ld(),c=n7(e,it(o,l));return{appearance:a,size:n,...c}},n7=(e,o)=>{const n=Gt(C=>C.contentRef),a=Gt(C=>C.openOnHover),l=Gt(C=>C.setOpen),c=Gt(C=>C.mountNode),u=Gt(C=>C.arrowRef),d=Gt(C=>C.withArrow),h=Gt(C=>C.trapFocus),p=Gt(C=>C.inertTrapFocus),v=Gt(C=>C.inline),{modalAttributes:m}=Id({trapFocus:h,legacyTrapFocus:!p,alwaysFocusable:!h}),w={inline:v,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ne({ref:it(o,n),role:h?"dialog":"group","aria-modal":h?!0:void 0,...m,...e},{elementType:"div"})},{onMouseEnter:B,onMouseLeave:k,onKeyDown:x}=w.root;return w.root.onMouseEnter=C=>{a&&l(C,!0),B==null||B(C)},w.root.onMouseLeave=C=>{a&&l(C,!1),k==null||k(C)},w.root.onKeyDown=C=>{var _;C.key==="Escape"&&(!((_=n.current)===null||_===void 0)&&_.contains(C.target))&&(C.preventDefault(),l(C,!1)),x==null||x(C)},w};function a7(e){return vr(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const i7=nd.useInsertionEffect?nd.useInsertionEffect:Mt,l5=Symbol.for("fui-portal-style-ref-count"),l7="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",s5="fui-portal-styles";function c5(e){var o;return(o=e[l5])!==null&&o!==void 0?o:0}function Bg(e,o){e[l5]=o}function s7(e){var o;const n=c5(e);if(n>0){Bg(e,n+1);return}const a=e.createElement("style");a.id=s5,e.head.prepend(a),(o=a.sheet)===null||o===void 0||o.insertRule(l7),Bg(e,1)}function c7(e){const o=c5(e);if(o===0)return;const n=o-1;if(n===0){var a;(a=e.head.querySelector(`#${s5}`))===null||a===void 0||a.remove()}Bg(e,n)}function u7(e){const{targetDocument:o}=Qe();i7(()=>{if(!(e||!o))return s7(o),()=>c7(o)},[e,o])}const u5=nd.useInsertionEffect,d7=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},f7=()=>{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}},h7=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,[c]=b.useState(f7),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 p=c.get(l,!0),v=p?p[h]:void 0;return typeof v=="function"?v.bind(p):v},set(d,h,p){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]:p}),!0):!1}}),[c,l,e.disabled]);return u5(()=>{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},p7=u5?h7:d7,g7=e=>{"use no memo";const{targetDocument:o,dir:n}=Qe(),a=lC(),l=Uw(),c=Yz(),u={dir:n,disabled:e.disabled,focusVisibleRef:l,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(o==null?void 0:o.body)};return u7(e.disabled),p7(u)},m7=e=>{const{element:o,className:n}=a7(e.mountNode),a=b.useRef(null),l=g7({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 Ty(c,d),()=>{Ty(c,void 0)}},[a,c]),u},v7=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Xp.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),Ml=e=>{const o=m7(e);return v7(o)};Ml.displayName="Portal";const b7=e=>{const o=lt(e.root,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?o:ne(Ml,{mountNode:e.mountNode,children:o})},y7={root:"fui-PopoverSurface"},x7={small:6,medium:8,large:8},w7=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;}']}),S7=e=>{"use no memo";const o=w7();return e.root.className=de(y7.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},d5=b.forwardRef((e,o)=>{const n=r7(e,o);return S7(n),Xe("usePopoverSurfaceStyles_unstable")(n),b7(n)});d5.displayName="PopoverSurface";const k7=4,kx=Ie.durationSlower,Bx=Ie.curveDecelerateMid,_x=jl(({distance:e=10})=>({enter:[ua({duration:kx,easing:Bx,direction:"enter"}),{...qS({duration:kx,easing:Bx,direction:"enter",outX:`calc(var(${md}, 0px) * ${e})`,outY:`calc(var(${vd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),B7=e=>{const{appearance:o,size:n="medium"}=e,a=Dl(e.positioning),l=e.withArrow&&!a.coverTarget,{targetDocument:c}=Qe(),u=PS({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=_7({...e,positioning:{...a,onPositioningEnd:u,...l?{offset:t5(a.offset,x7[n])}:{}}});return{components:{surfaceMotion:_x},appearance:o,size:n,...d,surfaceMotion:hc(e.surfaceMotion,{elementType:_x,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},_7=e=>{const[o,n]=n5(),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]=z7(a),[p,v]=zl(),m=ge((E,R)=>{if(v(),!(E instanceof Event)&&E.persist&&E.persist(),E.type==="mouseleave"){var F;p(()=>{h(E,R)},(F=e.mouseLeaveDelay)!==null&&F!==void 0?F:500)}else h(E,R)}),w=b.useCallback(E=>{m(E,!d)},[m,d]),B=C7(a),{targetDocument:k}=Qe();var x;Yg({contains:Us,element:k,callback:E=>m(E,!1),refs:[B.triggerRef,B.contentRef],disabled:!d,disabledFocusOnIframe:!(!((x=e.closeOnIframeFocus)!==null&&x!==void 0)||x)});const C=a.openOnContext||a.closeOnScroll;Sw({contains:Us,element:k,callback:E=>m(E,!1),refs:[B.triggerRef,B.contentRef],disabled:!d||!C});const{findFirstFocusable:_}=uc(),j=mT();b.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const E=B.contentRef.current;if(d&&E){var R;const F=!isNaN((R=E.getAttribute("tabIndex"))!==null&&R!==void 0?R:void 0),O=F?E:_(E);O==null||O.focus(),F&&j(E)}},[_,j,d,B.contentRef,e.unstable_disableAutoFocus]);var z,T;return{...a,...B,inertTrapFocus:(z=e.inertTrapFocus)!==null&&z!==void 0?z:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:u,open:d,setOpen:m,toggleOpen:w,setContextTarget:n,contextTarget:o,inline:(T=e.inline)!==null&&T!==void 0?T:!1}};function z7(e){"use no memo";const o=ge((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 C7(e){"use no memo";const o={position:"above",align:"center",arrowPadding:2*k7,target:e.openOnContext?e.contextTarget:void 0,...Dl(e.positioning)};o.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:l}=Kd(o);return{triggerRef:n,contentRef:a,arrowRef:l}}function N7(e){const{appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:p,size:v,toggleOpen:m,trapFocus:w,triggerRef:B,withArrow:k,inertTrapFocus:x}=e;return{popover:b.useMemo(()=>({appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:p,size:v,toggleOpen:m,trapFocus:w,triggerRef:B,withArrow:k,inertTrapFocus:x}),[o,n,a,l,c,u,d,h,p,v,m,w,B,k,x])}}const T7=(e,o)=>{var n;return lt(bm.Provider,{value:(n=o==null?void 0:o.popover)!==null&&n!==void 0?n:i5,children:[e.popoverTrigger,e.popoverSurface&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.popoverSurface})})]})},f5=e=>{const o=B7(e),n=N7(o);return T7(o,n)};f5.displayName="Popover";const E7=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=cc(o),l=Gt(z=>z.open),c=Gt(z=>z.setOpen),u=Gt(z=>z.toggleOpen),d=Gt(z=>z.triggerRef),h=Gt(z=>z.openOnHover),p=Gt(z=>z.openOnContext),{triggerAttributes:v}=Id(),m=z=>{p&&(z.preventDefault(),c(z,!0))},w=z=>{p||u(z)},B=z=>{z.key===El&&l&&!z.isDefaultPrevented()&&(c(z,!1),z.preventDefault())},k=z=>{h&&c(z,!0)},x=z=>{h&&c(z,!1)},C={...v,"aria-expanded":`${l}`,...a==null?void 0:a.props,onMouseEnter:ge(Ae(a==null?void 0:a.props.onMouseEnter,k)),onMouseLeave:ge(Ae(a==null?void 0:a.props.onMouseLeave,x)),onContextMenu:ge(Ae(a==null?void 0:a.props.onContextMenu,m)),ref:it(d,sc(a))},_={...C,onClick:ge(Ae(a==null?void 0:a.props.onClick,w)),onKeyDown:ge(Ae(a==null?void 0:a.props.onKeyDown,B))},j=Za((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",_);return{children:Od(e.children,Za((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",p?C:n?_:j))}},j7=e=>e.children,ym=e=>{const o=E7(e);return j7(o)};ym.displayName="PopoverTrigger";ym.isFluentTriggerComponent=!0;const R7=6,A7=4,D7=e=>-1,M7=e=>{};function O7(e){const{targetDocument:o}=Qe(),n=o==null?void 0:o.defaultView,a=n?n.setTimeout:D7,l=n?n.clearTimeout:M7,c=b.useRef(void 0),u=b.useCallback((h,p)=>(c.current!==void 0&&l(c.current),c.current=a(h,p??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 F7=e=>{"use no memo";var o,n,a,l,c,u,d;const h=tC(),p=mC(),{targetDocument:v}=Qe(),[m,w]=Ao({state:e.visible,initialState:!1}),{children:B,content:k,withArrow:x=!1,positioning:C="above",onVisibleChange:_,relationship:j,showDelay:z=250,hideDelay:T=250,mountNode:E}=e,R={withArrow:x,positioning:C,showDelay:z,hideDelay:T,relationship:j,visible:m,shouldRenderTooltip:m,mountNode:E,components:{content:"div"},content:Ne(k,{defaultProps:{role:"tooltip"},elementType:"div"})};R.content.id=Yt("tooltip-",R.content.id);const F={enabled:R.visible,arrowPadding:2*A7,position:"above",align:"center",offset:4,...Dl(R.positioning)};R.withArrow&&(F.offset=t5(F.offset,R7));const{targetRef:O,containerRef:X,arrowRef:ee}=Kd(F),[he,ie]=O7(X),ue=b.useCallback((U,J)=>{ie(),w(se=>(J.visible!==se&&(_==null||_(U,J)),J.visible))},[ie,w,_]);R.content.ref=it(R.content.ref,X),R.arrowRef=ee,Mt(()=>{if(m){var U;const J={hide:me=>ue(void 0,{visible:!1,documentKeyboardEvent:me})};(U=h.visibleTooltip)===null||U===void 0||U.hide(),h.visibleTooltip=J;const se=me=>{me.key===El&&!me.defaultPrevented&&(J.hide(me),me.preventDefault())};return v==null||v.addEventListener("keydown",se,{capture:!0}),()=>{h.visibleTooltip===J&&(h.visibleTooltip=void 0),v==null||v.removeEventListener("keydown",se,{capture:!0})}}},[h,v,m,ue]);const le=b.useRef(!1),Q=b.useCallback(U=>{if(U.type==="focus"&&le.current){le.current=!1;return}const J=h.visibleTooltip?0:R.showDelay;he(()=>{ue(U,{visible:!0})},J),U.persist()},[he,ue,R.showDelay,h]),L=pT(),[te]=b.useState(()=>{const U=se=>{var me;!((me=se.detail)===null||me===void 0)&&me.isFocusedProgrammatically&&!L()&&(le.current=!0)};let J=null;return se=>{J==null||J.removeEventListener(Do,U),se==null||se.addEventListener(Do,U),J=se}}),oe=b.useCallback(U=>{let J=R.hideDelay;U.type==="blur"&&(J=0,le.current=(v==null?void 0:v.activeElement)===U.target),he(()=>{ue(U,{visible:!1})},J),U.persist()},[he,ue,R.hideDelay,v]);R.content.onPointerEnter=Ae(R.content.onPointerEnter,ie),R.content.onPointerLeave=Ae(R.content.onPointerLeave,oe),R.content.onFocus=Ae(R.content.onFocus,ie),R.content.onBlur=Ae(R.content.onBlur,oe);const fe=cc(B),Se={},q=(fe==null||(o=fe.props)===null||o===void 0?void 0:o["aria-haspopup"])&&((fe==null||(n=fe.props)===null||n===void 0?void 0:n["aria-expanded"])===!0||(fe==null||(a=fe.props)===null||a===void 0?void 0:a["aria-expanded"])==="true");return j==="label"?typeof R.content.children=="string"?Se["aria-label"]=R.content.children:(Se["aria-labelledby"]=R.content.id,R.shouldRenderTooltip=!0):j==="description"&&(Se["aria-describedby"]=R.content.id,R.shouldRenderTooltip=!0),(p||q)&&(R.shouldRenderTooltip=!1),R.children=Od(B,{...Se,...fe==null?void 0:fe.props,ref:it(sc(fe),te,F.target===void 0?O:void 0),onPointerEnter:ge(Ae(fe==null||(l=fe.props)===null||l===void 0?void 0:l.onPointerEnter,Q)),onPointerLeave:ge(Ae(fe==null||(c=fe.props)===null||c===void 0?void 0:c.onPointerLeave,oe)),onFocus:ge(Ae(fe==null||(u=fe.props)===null||u===void 0?void 0:u.onFocus,Q)),onBlur:ge(Ae(fe==null||(d=fe.props)===null||d===void 0?void 0:d.onBlur,oe))}),R},q7=e=>{"use no memo";const{appearance:o="normal",...n}=e,a=F7(n);return{appearance:o,...a}},H7=e=>lt(b.Fragment,{children:[e.children,e.shouldRenderTooltip&&ne(Ml,{mountNode:e.mountNode,children:lt(e.content,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),P7={content:"fui-Tooltip__content"},I7=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;}']}),L7=e=>{"use no memo";const o=I7();return e.content.className=de(P7.content,o.root,e.appearance==="inverted"&&o.inverted,e.visible&&o.visible,e.content.className),e.arrowClassName=o.arrow,e},Qd=e=>{const o=q7(e);return L7(o),Xe("useTooltipStyles_unstable")(o),H7(o)};Qd.displayName="Tooltip";Qd.isFluentTriggerComponent=!0;const U7=e=>{const{iconOnly:o,iconPosition:n}=e;return lt(e.root,{children:[n!=="after"&&e.icon&&ne(e.icon,{}),!o&&e.root.children,n==="after"&&e.icon&&ne(e.icon,{})]})},h5=b.createContext(void 0),V7={};h5.Provider;const G7=()=>{var e;return(e=b.useContext(h5))!==null&&e!==void 0?e:V7},W7=(e,o)=>{const{size:n}=G7(),{appearance:a="secondary",shape:l="rounded",size:c=n??"medium",...u}=e,d=X7(u,o);return{appearance:a,shape:l,size:c,...d}},X7=(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(Za(l.as,l),{elementType:"button",defaultProps:{ref:o,type:e.as!=="a"?"button":void 0}}),icon:c}},zx={root:"fui-Button",icon:"fui-Button__icon"},$7=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;}}"]}),K7=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);}"]),Q7=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)"}]]}),Z7=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)"}]]}),Y7=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;}}"]}),J7=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;}"]}),e9=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);}"]}),t9=e=>{"use no memo";const o=$7(),n=K7(),a=Q7(),l=Z7(),c=Y7(),u=J7(),d=e9(),{appearance:h,disabled:p,disabledFocusable:v,icon:m,iconOnly:w,iconPosition:B,shape:k,size:x}=e;return e.root.className=de(zx.root,o,h&&a[h],a[x],m&&x==="small"&&a.smallWithIcon,m&&x==="large"&&a.largeWithIcon,a[k],(p||v)&&l.base,(p||v)&&l.highContrast,h&&(p||v)&&l[h],h==="primary"&&c.primary,c[x],c[k],w&&u[x],e.root.className),e.icon&&(e.icon.className=de(zx.icon,n,!!e.root.children&&d[B],d[x],e.icon.className)),e},et=b.forwardRef((e,o)=>{const n=W7(e,o);return t9(n),Xe("useButtonStyles_unstable")(n),U7(n)});et.displayName="Button";const p5=b.createContext(void 0),o9=p5.Provider,r9=()=>b.useContext(p5),n9=e=>{var o,n,a,l;const{generatedControlId:c,orientation:u,required:d,size:h,validationState:p}=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,w=(a=e.validationMessage)===null||a===void 0?void 0:a.id,B=(l=e.hint)===null||l===void 0?void 0:l.id;return{field:b.useMemo(()=>({generatedControlId:c,hintId:B,labelFor:v,labelId:m,orientation:u,required:d,size:h,validationMessageId:w,validationState:p}),[c,B,v,m,u,d,h,w,p])}};function ti(e,o){return g5(r9(),e,o)}function g5(e,o,n){if(!e)return o;o={...o};const{generatedControlId:a,hintId:l,labelFor:c,labelId:u,required:d,validationMessageId:h,validationState:p}=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 w,B,k;(k=(w=o)[B="aria-labelledby"])!==null&&k!==void 0||(w[B]=u)}if((h||l)&&(o["aria-describedby"]=[h,l,o==null?void 0:o["aria-describedby"]].filter(Boolean).join(" ")),p==="error"){var x,C,_;(_=(x=o)[C="aria-invalid"])!==null&&_!==void 0||(x[C]=!0)}if(d)if(n!=null&&n.supportsRequired){var j,z;(z=(j=o).required)!==null&&z!==void 0||(j.required=!0)}else{var T,E,R;(R=(T=o)[E="aria-required"])!==null&&R!==void 0||(T[E]=!0)}if(n!=null&&n.supportsSize){var F,O;(O=(F=o).size)!==null&&O!==void 0||(F.size=e.size)}return o}const a9=(e,o)=>{let{children:n}=e;return typeof n=="function"&&(n=n(g5(o.field)||{})),ne(o9,{value:o==null?void 0:o.field,children:lt(e.root,{children:[e.label&&ne(e.label,{}),n,e.validationMessage&<(e.validationMessage,{children:[e.validationMessageIcon&&ne(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&ne(e.hint,{})]})})},i9=(e,o)=>{const{weight:n="regular",size:a="medium",...l}=e,c=l9(l,o);return{weight:n,size:a,...c}},l9=(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"})}},s9=e=>lt(e.root,{children:[e.root.children,e.required&&ne(e.required,{})]}),Cx={root:"fui-Label",required:"fui-Label__required"},c9=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)"}]]}),u9=e=>{"use no memo";const o=c9();return e.root.className=de(Cx.root,o.root,e.disabled&&o.disabled,o[e.size],e.weight==="semibold"&&o.semibold,e.root.className),e.required&&(e.required.className=de(Cx.required,o.required,e.disabled&&o.disabled,e.required.className)),e},xr=b.forwardRef((e,o)=>{const n=i9(e,o);return u9(n),Xe("useLabelStyles_unstable")(n),s9(n)});xr.displayName="Label";const d9=(e,o)=>{const{children:n,required:a=!1,validationState:l=e.validationMessage?"error":"none"}=e,c=Yt("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"}),p=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:p,hint:v}},f9={error:b.createElement(Rj,null),warning:b.createElement(Cj,null),success:b.createElement(Tj,null),none:void 0},h9=(e,o)=>{const{orientation:n="vertical",size:a="medium",...l}=e,c=d9(l,o),u=f9[c.validationState];return{...c,components:{...c.components,label:xr},label:De(e.label,{defaultProps:{size:a,...c.label},elementType:xr}),validationMessageIcon:De(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},As={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},p9=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;}"]}),g9=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;}"]}),m9=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);}"]),v9=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));}"]}),b9=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;}"]),y9=ve({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),x9=e=>{"use no memo";const{validationState:o,size:n}=e,a=e.orientation==="horizontal",l=p9();e.root.className=de(As.root,l.base,a&&l.horizontal,a&&!e.label&&l.horizontalNoLabel,e.root.className);const c=g9();e.label&&(e.label.className=de(As.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=b9(),d=y9();e.validationMessageIcon&&(e.validationMessageIcon.className=de(As.validationMessageIcon,u,o!=="none"&&d[o],e.validationMessageIcon.className));const h=m9(),p=v9();return e.validationMessage&&(e.validationMessage.className=de(As.validationMessage,h,o==="error"&&p.error,!!e.validationMessageIcon&&p.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=de(As.hint,h,e.hint.className)),e},m5=b.forwardRef((e,o)=>{const n=h9(e,o);x9(n),Xe("useFieldStyles_unstable")(n);const a=n9(n);return a9(n,a)});m5.displayName="Field";const w9=(e,o)=>{"use no memo";e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...l}=e,c=S9(l,o),u=c.checked==="mixed";let d;if(u?n==="circular"?d=b.createElement(sm,null):d=a==="large"?b.createElement(jj,null):b.createElement(Ej,null):c.checked&&(d=a==="large"?b.createElement(Nj,null):b.createElement(BS,null)),c.indicator){var h,p;(p=(h=c.indicator).children)!==null&&p!==void 0||(h.children=d)}return{shape:n,size:a,...c,components:{...c.components,label:xr},label:De(e.label,{defaultProps:{...c.label,size:"medium"},elementType:xr})}},S9=(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=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=u==="mixed",v=Yt("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:om(),...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,B=>{const k=B.currentTarget.indeterminate?"mixed":B.currentTarget.checked;c==null||c(B,{checked:k}),d(k)});const w=it(m.input.ref);return m.input.ref=w,Mt(()=>{w.current&&(w.current.indeterminate=p)},[w,p]),m},k9=e=>lt(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,{})]}),Uu={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},B9=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;}}"]}),_9=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)"}]]}),z9=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));}"]),C9=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));}"]}),N9=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;}"]),T9=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}]]}),E9=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);}"]}),j9=e=>{"use no memo";const{checked:o,disabled:n,labelPosition:a,shape:l,size:c}=e,u=B9(),d=_9();e.root.className=de(Uu.root,u,n?d.disabled:o==="mixed"?d.mixed:o?d.checked:d.unchecked,e.root.className);const h=z9(),p=C9();e.input.className=de(Uu.input,h,c==="large"&&p.large,p[a],e.input.className);const v=N9(),m=T9();e.indicator&&(e.indicator.className=de(Uu.indicator,v,c==="large"&&m.large,l==="circular"&&m.circular,e.indicator.className));const w=E9();return e.label&&(e.label.className=de(Uu.label,w.base,w[c],w[a],e.label.className)),e},xm=b.forwardRef((e,o)=>{const n=w9(e,o);return j9(n),Xe("useCheckboxStyles_unstable")(n),k9(n)});xm.displayName="Checkbox";const v5=ei({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});v5.Provider;const R9={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},gc=ei(void 0),Eo=e=>Tl(gc,(o=R9)=>e(o)),A9=gc.Provider;function D9(e){const{appearance:o,open:n,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setOpen:h,size:p,activeDescendantController:v,onOptionClick:m,onActiveDescendantChange:w}=e,B={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:h,size:p},k={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:m,onActiveDescendantChange:w},x=b.useMemo(()=>({controller:v}),[v]);return{combobox:B,activeDescendant:x,listbox:k}}function M9(e){const o=fc(gc),{getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:h}=e,p=Eo(x=>x.registerOption),v=Eo(x=>x.onOptionClick),m=Eo(x=>x.onActiveDescendantChange),B={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:o?p:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:v,onActiveDescendantChange:m},k=b.useMemo(()=>({controller:h}),[h]);return{listbox:B,activeDescendant:k}}function wd(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!==dn&&!c&&!u&&!h?"Type":n?l===Op&&c||l===Zi||!a&&l===dn?"CloseSelect":a&&l===dn?"Select":l===El?"Close":l===bg?"Next":l===Op?"Previous":l===qE?"First":l===FE?"Last":l===PE?"PageUp":l===HE?"PageDown":l===fS?"Tab":"None":l===bg||l===Op||l===Zi||l===dn?"Open":"None"}const b5=()=>{const e=b.useRef(new Map),o=b.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:p=>e.current.get(p),getOptionsMatchingText:p=>Array.from(e.current.values()).filter(({text:v})=>p(v)),getOptionsMatchingValue:p=>{const v=[];for(const m of e.current.values())p(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}},y5=e=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:a}=e,[l,c]=Ao({state:e.selectedOptions,defaultState:o,initialState:[]}),u=b.useCallback((h,p)=>{if(p.disabled)return;let v=[p.value];if(n){const m=l.findIndex(w=>w===p.value);m>-1?v=[...l.slice(0,m),...l.slice(m+1)]:v=[...l,p.value]}c(v),a==null||a(h,{optionValue:p.value,optionText:p.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}},Sd={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},O9=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)"}]]}),F9=e=>{"use no memo";const{disabled:o,multiselect:n,selected:a}=e,l=O9();return e.root.className=de(Sd.root,l.root,l.active,o&&l.disabled,a&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=de(Sd.checkIcon,l.checkIcon,n&&l.multiselectCheck,a&&l.selectedCheck,a&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,e.checkIcon.className)),e},Nx={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},q9=(e,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,l=b5(),{listboxRef:c,activeParentRef:u,controller:d}=vS({matchOption:le=>le.classList.contains(Sd.root)}),h=fc(gc),p=Eo(le=>le.onActiveDescendantChange),v=Eo(le=>le.getOptionById),m=Eo(le=>le.getOptionsMatchingValue),w=h?v:l.getOptionById,B=h?m:l.getOptionsMatchingValue,k=b.useMemo(()=>{let le=null;const Q=L=>{const te=L;p==null||p(te)};return L=>{if(!L){le==null||le.removeEventListener("activedescendantchange",Q);return}le=L,le.addEventListener("activedescendantchange",Q)}},[p]),[x,C]=b.useState(!1);Vw(C);const _=pS(),j=LE(),z=j?_.controller:d,{clearSelection:T,selectedOptions:E,selectOption:R}=y5(e),F=le=>{const Q=wd(le,{open:!0}),L=z.active(),te=L?w(L):null;switch(Q){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":le.preventDefault();break}switch(Q){case"Next":te?z.next():z.first();break;case"Previous":te?z.prev():z.first();break;case"PageUp":case"First":z.first();break;case"PageDown":case"Last":z.last();break;case"Select":case"CloseSelect":te&&R(le,te);break}},O=Eo(le=>le.selectedOptions),X=Eo(le=>le.selectOption),ee=h?{selectedOptions:O,selectOption:X,...Nx}:{selectedOptions:E,selectOption:R,...Nx};b.useEffect(()=>{if(!j){if(z.hideFocusVisibleAttributes(),!a)if(!n&&ee.selectedOptions.length>0){const le=B(Q=>Q===ee.selectedOptions[0]).pop();le!=null&&le.id&&z.focus(le.id)}else z.first();return()=>{z.blur()}}},[]);const he=b.useCallback(()=>{j||(z.showFocusVisibleAttributes(),x&&z.scrollActiveIntoView())},[z,j,x]),ie=b.useCallback(()=>{j||z.hideFocusVisibleAttributes()},[z,j]),ue={components:{root:"div"},root:Ne(Et("div",{ref:it(o,u,c,k),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!h,multiselect:n,clearSelection:T,activeDescendantController:z,onActiveDescendantChange:p,...l,...ee};return ue.root.onKeyDown=ge(Ae(ue.root.onKeyDown,F)),ue.root.onFocus=ge(Ae(ue.root.onFocus,he)),ue.root.onBlur=ge(Ae(ue.root.onBlur,ie)),ue},H9=(e,o)=>ne(hS,{value:o.activeDescendant,children:ne(gc.Provider,{value:o.listbox,children:ne(e.root,{})})}),P9={root:"fui-Listbox"},I9=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);}"]}),L9=e=>{"use no memo";const o=I9();return e.root.className=de(P9.root,o.root,e.root.className),e},wm=b.forwardRef((e,o)=>{const n=q9(e,o),a=M9(n);return L9(n),Xe("useListboxStyles_unstable")(n),H9(n,a)});wm.displayName="Listbox";function U9(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 V9=(e,o)=>{"use no memo";const n=G9(e,o);let a=b.createElement(mj,null);if(n.multiselect&&(a=n.selected?b.createElement(BS,null):""),n.checkIcon){var l,c;(c=(l=n.checkIcon).children)!==null&&c!==void 0||(l.children=a)}return n},G9=(e,o)=>{const{children:n,disabled:a,text:l,value:c}=e,u=b.useRef(null),d=U9(l,n),h=c??d,p=Yt("fluent-option",e.id),v=b.useMemo(()=>({id:p,disabled:a,text:d,value:h}),[p,a,d,h]),{controller:m}=pS(),w=Eo(z=>z.multiselect),B=Eo(z=>z.registerOption),k=Eo(z=>{const T=z.selectedOptions;return h!==void 0&&T.find(E=>E===h)!==void 0}),x=Eo(z=>z.selectOption),C=Eo(z=>z.onOptionClick),_=z=>{var T;if(a){z.preventDefault();return}m.focus(p),x(z,v),C(z),(T=e.onClick)===null||T===void 0||T.call(e,z)};b.useEffect(()=>{if(p&&u.current)return B(v,u.current)},[p,v,B]);const j=w?{role:"menuitemcheckbox","aria-checked":k}:{role:"option","aria-selected":k};return{components:{root:"div",checkIcon:"span"},root:Ne(Et("div",{ref:it(o,u),"aria-disabled":a?"true":void 0,id:p,...j,...e,onClick:_}),{elementType:"div"}),checkIcon:De(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:w,selected:k,focusVisible:!1,active:!1}},W9=e=>lt(e.root,{children:[e.checkIcon&&ne(e.checkIcon,{}),e.root.children]}),x5=b.forwardRef((e,o)=>{const n=V9(e,o);return F9(n),Xe("useOptionStyles_unstable")(n),W9(n)});x5.displayName="Option";const X9=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:p,size:v="medium",activeDescendantController:m,freeform:w=!1,disabled:B=!1,onActiveOptionChange:k=null}=e,x=b5(),{getOptionsMatchingValue:C}=x,{getOptionById:_}=x,j=b.useCallback(()=>{const U=m.active();return U?_(U):void 0},[m,_]),z=j(),T=b.useCallback(U=>{let J;if(typeof U=="function"){const se=j();J=U(se)}J?m.focus(J.id):m.blur()},[m,j]),[E,R]=b.useState(!1),[F,O]=b.useState(!1),X=b.useRef(!1),ee=Zg(),[he,ie]=Ao({state:e.value,initialState:void 0}),{selectedOptions:ue,selectOption:le,clearSelection:Q}=y5(e),L=b.useCallback((U,J)=>{Xp.unstable_batchedUpdates(()=>{ie(void 0),le(U,J)})},[ie,le]),te=b.useMemo(()=>{if(he!==void 0)return he;if(ee&&e.defaultValue!==void 0)return e.defaultValue;const U=C(J=>ue.includes(J)).map(J=>J.text);return h?c?"":U.join(", "):U[0]},[he,c,C,h,ue]),[oe,fe]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),Se=b.useCallback((U,J)=>{B||(p==null||p(U,{open:J}),Xp.unstable_batchedUpdates(()=>{!J&&!w&&ie(void 0),fe(J)}))},[p,fe,ie,w,B]);b.useEffect(()=>{if(oe){if(!h&&ue.length>0){const U=C(J=>J===ue[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 q=ge(U=>{const J=U.detail.previousId?x.getOptionById(U.detail.previousId):null,se=x.getOptionById(U.detail.id);k==null||k(U,{event:U,type:"change",previousOption:J,nextOption:se})});return{...x,freeform:w,disabled:B,selectOption:L,clearSelection:Q,selectedOptions:ue,activeOption:z,appearance:o,clearable:l,focusVisible:E,ignoreNextBlur:X,inlinePopup:u,mountNode:d,open:oe,hasFocus:F,setActiveOption:T,setFocusVisible:R,setHasFocus:O,setOpen:Se,setValue:ie,size:v,value:te,multiselect:h,onOptionClick:ge(U=>{h||Se(U,!1)}),onActiveDescendantChange:q}};function $9(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,...Dl(o)},{targetRef:l,containerRef:c}=Kd(a);return[c,l]}function K9(e,o,n){const{state:{multiselect:a},triggerRef:l,defaultProps:c}=n,u=Yt("fluent-listbox",$g(e)?e.id:void 0),d=De(e,{renderByDefault:!0,elementType:wm,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),h=ti({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&h["aria-labelledby"]&&(d["aria-labelledby"]=h["aria-labelledby"]);const p=ge(Ae(w=>{w.preventDefault()},d==null?void 0:d.onMouseDown)),v=ge(Ae(w=>{var B;w.preventDefault(),(B=l.current)===null||B===void 0||B.focus()},d==null?void 0:d.onClick)),m=it(d==null?void 0:d.ref,o);return d&&(d.ref=m,d.onMouseDown=p,d.onClick=v),d}function Q9(e,o,n){const{state:{open:a,setOpen:l,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:h}=n,p=Ne(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),v=b.useRef(null);return p.ref=it(v,p.ref,o),p.onBlur=Ae(m=>{l(m,!1),c(!1)},p.onBlur),p.onFocus=Ae(m=>{m.target===m.currentTarget&&c(!0)},p.onFocus),p.onClick=Ae(m=>{l(m,!a)},p.onClick),p.onKeyDown=Ae(Z9({activeDescendantController:h,...n.state}),p.onKeyDown),p}function Z9(e){const{activeDescendantController:o,getOptionById:n,setOpen:a,selectOption:l,multiselect:c,open:u}=e,d=b.useCallback(()=>{const x=o.active();return x?n(x):void 0},[o,n]),h=()=>{o.first()},p=()=>{o.last()},v=x=>{x?o.next():o.first()},m=x=>{x?o.prev():o.first()},w=()=>{for(let x=0;x<10;x++)o.prev()},B=()=>{for(let x=0;x<10;x++)o.next()},k=gT();return ge(x=>{const C=wd(x,{open:u,multiselect:c}),_=d();switch(C){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":x.preventDefault();break}switch(k(!0),C){case"First":h();break;case"Last":p();break;case"Next":v(_);break;case"Previous":m(_);break;case"PageDown":B();break;case"PageUp":w();break;case"Open":a(x,!0);break;case"Close":x.stopPropagation(),a(x,!1);break;case"CloseSelect":!c&&!(_!=null&&_.disabled)&&a(x,!1);case"Select":_&&l(x,_);break;case"Tab":!c&&_&&l(x,_);break}})}function Y9(e,o,n){"use no memo";const{state:{open:a,value:l,selectOption:c,setValue:u,multiselect:d,selectedOptions:h,clearSelection:p,getOptionById:v,setOpen:m},freeform:w,defaultProps:B,activeDescendantController:k}=n,x=O=>{if(!a&&!w){const X=k.active(),ee=X?v(X):null;l&&ee&&l.trim().toLowerCase()===(ee==null?void 0:ee.text.toLowerCase())&&c(O,ee),u(void 0)}},C=O=>{const X=O==null?void 0:O.trim().toLowerCase();if(!X||X.length===0){k.blur();return}const ee=ie=>ie.toLowerCase().indexOf(X)===0,he=k.find(ie=>{const ue=v(ie);return!!ue&&ee(ue.text)});if(!he){k.blur();return}return v(he)},_=O=>{const X=O.target.value;u(X);const ee=C(X);!d&&h.length===1&&(X.length<1||!ee)&&p(O)},j=Q9(e,o,{state:n.state,defaultProps:B,elementType:"input",activeDescendantController:k});j.onChange=Ae(j.onChange,_),j.onBlur=Ae(j.onBlur,x);const[z,T]=b.useState(!1),E=b.useRef(!1),R=j.onKeyDown,F=ge(O=>{!a&&wd(O)==="Type"&&m(O,!0),O.key===am||O.key===im?T(!0):T(!1);const X=wd(O,{open:a,multiselect:d});if(X==="Type"?E.current=!0:(X==="Open"&&O.key!==" "||X==="Next"||X==="Previous"||X==="First"||X==="Last"||X==="PageUp"||X==="PageDown")&&(E.current=!1),(E.current||!a)&&O.key===" "){var ee;e==null||(ee=e.onKeyDown)===null||ee===void 0||ee.call(e,O);return}R==null||R(O)});return j.onKeyDown=F,z&&(j["aria-activedescendant"]=void 0),j}const J9=(e,o)=>{"use no memo";var n,a;e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:l,activeParentRef:c,controller:u}=vS({matchOption:me=>me.classList.contains(Sd.root)}),d=X9({...e,editable:!0,activeDescendantController:u}),{appearance:h,size:p,...v}=d,{clearable:m,clearSelection:w,disabled:B,multiselect:k,open:x,selectedOptions:C,setOpen:_,value:j,hasFocus:z}=v,[T,E]=$9(e),{disableAutoFocus:R=!1,freeform:F,inlinePopup:O}=e,X=Yt("combobox-"),{primary:ee,root:he}=_l({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),ie=b.useRef(null),ue=K9(e.listbox,it(T,l),{state:d,triggerRef:ie,defaultProps:{children:e.children,disableAutoFocus:R}});var le;const Q=Y9((le=e.input)!==null&&le!==void 0?le:{},it(ie,c,o),{state:d,freeform:F,defaultProps:{type:"text",value:j??"","aria-controls":x?ue==null?void 0:ue.id:void 0,...ee},activeDescendantController:u}),L=Ne(e.root,{defaultProps:{"aria-owns":!O&&x?ue==null?void 0:ue.id:void 0,...he},elementType:"div"});L.ref=it(L.ref,E);const te=C.length>0&&!B&&m&&!k,oe={components:{root:"div",input:"input",expandIcon:"span",listbox:wm,clearIcon:"span"},root:L,input:Q,listbox:x||z?ue:void 0,clearIcon:De(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:De(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":B?"true":void 0,"aria-expanded":x,role:"button"},elementType:"span"}),showClearIcon:te,activeDescendantController:u,...v},{targetDocument:fe}=Qe();Yg({element:fe,callback:me=>_(me,!1),refs:[ie,T,E],disabled:!x});const{onMouseDown:Se}=oe.expandIcon||{},q=ge(Ae(Se,me=>{var _e;me.preventDefault(),oe.setOpen(me,!oe.open),(_e=ie.current)===null||_e===void 0||_e.focus()}));if(oe.expandIcon){oe.expandIcon.onMouseDown=q;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:`${X}-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 J=ge(Ae((n=oe.clearIcon)===null||n===void 0?void 0:n.onMouseDown,me=>{me.preventDefault()})),se=ge(Ae((a=oe.clearIcon)===null||a===void 0?void 0:a.onClick,me=>{w(me)}));return oe.clearIcon&&(oe.clearIcon.onMouseDown=J,oe.clearIcon.onClick=se),k&&(oe.clearIcon=void 0),oe},eA=(e,o)=>{"use no memo";const{appearance:n="outline",size:a="medium",...l}=e,c=J9(l,o);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=b.createElement(kj,null))}if(c.expandIcon){var h,p;(p=(h=c.expandIcon).children)!==null&&p!==void 0||(h.children=b.createElement(vj,null))}return{...c,appearance:n,size:a}},tA=(e,o)=>ne(e.root,{children:ne(hS,{value:o.activeDescendant,children:ne(A9,{value:o.listbox,children:lt(v5.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(Ml,{mountNode:e.mountNode,children:ne(e.listbox,{})}))]})})})}),Ds={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},oA=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);}"]}),rA=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;}"]}),nA=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;}"]}),aA=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=oA(),h=nA(),p=rA();return e.root.className=de(Ds.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(Ds.input,p.input,p[a],u&&p.disabled,e.input.className),e.listbox&&(e.listbox.className=de(Ds.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=de(Ds.expandIcon,h.icon,h[a],u&&h.disabled,l&&h.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=de(Ds.clearIcon,h.icon,h[a],u&&h.disabled,!l&&h.hidden,e.clearIcon.className)),e},w5=b.forwardRef((e,o)=>{const n=eA(e,o),a=D9(n);return aA(n),Xe("useComboboxStyles_unstable")(n),tA(n,a)});w5.displayName="Combobox";const iA=(e,o)=>{e=ti(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=Kg();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=lA(u,o);return{size:l,appearance:c,...d}},lA=(e,o)=>{const{onChange:n}=e,[a,l]=Ao({state:e.value,defaultState:e.defaultValue,initialState:""}),c=_l({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=ge(d=>{const h=d.target.value;n==null||n(d,{value:h}),l(h)}),u},sA=e=>lt(e.root,{children:[e.contentBefore&&ne(e.contentBefore,{}),ne(e.input,{}),e.contentAfter&&ne(e.contentAfter,{})]}),Vu={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},cA=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;}}"]}),uA=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;}"]}),dA=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;}"]),fA=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);}"]}),hA=Ee("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),pA=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;}"]}),gA=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=uA(),d=fA(),h=pA();e.root.className=de(Vu.root,cA(),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(Vu.input,dA(),d[o],e.contentBefore&&d[`${o}WithContentBefore`],e.contentAfter&&d[`${o}WithContentAfter`],a&&d.disabled,e.input.className);const p=[hA(),a&&h.disabled,h[o]];return e.contentBefore&&(e.contentBefore.className=de(Vu.contentBefore,...p,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=de(Vu.contentAfter,...p,e.contentAfter.className)),e},_g=b.forwardRef((e,o)=>{const n=iA(e,o);return gA(n),Xe("useInputStyles_unstable")(n),sA(n)});_g.displayName="Input";const mA=b.createContext(void 0),vA=mA.Provider,Sm=ei(void 0),bA={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},yA=Sm.Provider,st=e=>Tl(Sm,(o=bA)=>e(o)),S5=b.createContext(void 0),xA=!1,wA=S5.Provider,SA=()=>{var e;return(e=b.useContext(S5))!==null&&e!==void 0?e:xA},km=ei(void 0),kA={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},BA=km.Provider,Qs=e=>Tl(km,(o=kA)=>e(o)),Zs="fuimenuenter",_A=e=>{const{refs:o,callback:n,element:a,disabled:l}=e,c=ge(u=>{const d=o[0],h=u.target;var p;!Us((p=d.current)!==null&&p!==void 0?p:null,h)&&!l&&n(u)});b.useEffect(()=>{if(a!=null)return l||a.addEventListener(Zs,c),()=>{a.removeEventListener(Zs,c)}},[c,a,l])},zA=(e,o)=>{e.dispatchEvent(new CustomEvent(Zs,{bubbles:!0,detail:{nativeEvent:o}}))};function Bm(){const e=st(n=>n.isSubmenu),o=fc(km);return e||o}const k5=e=>{"use no memo";const{targetDocument:o}=Qe();return st(a=>a.triggerRef),st(a=>a.inline),b.useRef(null)},zg="fuimenusafezonetimeout",CA=e=>{const o=b.useRef(null);return b.useCallback(n=>{var a;(a=o.current)===null||a===void 0||a.removeEventListener(zg,e),n==null||n.addEventListener(zg,e),o.current=n},[e])},NA=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;}"]}),TA=e=>{"use no memo";const o=NA();e.checkmark&&(e.checkmark.className=de(o.root,e.checked&&o.rootChecked,e.checkmark.className))},Zn={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"},EA=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;}}"]}),jA=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;}"]),RA=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);}"]),AA=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;}"]),DA=Ee("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),MA=Ee("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),OA=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)"}]]}),FA=ve({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),qA=ve({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),HA=e=>{"use no memo";const o=OA(),n=EA(),a=jA(),l=RA(),c=AA(),u=DA(),d=qA(),h=MA(),p=FA(),v=!!e.subText;return e.root.className=de(Zn.root,n,e.disabled&&o.disabled,e.root.className),e.content&&(e.content.className=de(Zn.content,a,e.content.className,v&&d.content)),e.checkmark&&(e.checkmark.className=de(Zn.checkmark,o.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=de(Zn.secondaryContent,l,e.disabled&&o.disabled,e.secondaryContent.className,v&&d.secondaryContent)),e.icon&&(e.icon.className=de(Zn.icon,c,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=de(Zn.submenuIndicator,u,e.submenuIndicator.className,v&&d.submenuIndicator)),e.subText&&(e.subText.className=de(Zn.subText,e.disabled&&p.disabled,e.subText.className,h)),TA(e),e},Tx=Ie.durationSlower,Ex=Ie.curveDecelerateMid,jx=jl(({distance:e=10})=>({enter:[ua({duration:Tx,easing:Ex,direction:"enter"}),{...qS({duration:Tx,easing:Ex,direction:"enter",outX:`calc(var(${md}, 0px) * ${e})`,outY:`calc(var(${vd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),PA=["after","after-bottom","before-top","before","before-bottom","above"],IA=e=>{const o=Bm(),{hoverDelay:n=500,inline:a=!1,hasCheckmarks:l=!1,hasIcons:c=!1,closeOnScroll:u=!1,openOnContext:d=!1,persistOnItemClick:h=!1,openOnHover:p=o,defaultCheckedValues:v,mountNode:m=null,safeZone:w}=e,{targetDocument:B}=Qe(),k=Yt("menu"),[x,C]=n5(),_=Dl(e.positioning),j=PS({targetDocument:B,onPositioningEnd:_.onPositioningEnd}),z={position:o?"after":"below",align:o?"top":"start",target:e.openOnContext?x:void 0,fallbackPositions:o?PA:void 0,..._,onPositioningEnd:j},T=b.Children.toArray(e.children);let E,R;T.length===2?(E=T[0],R=T[1]):T.length===1&&(R=T[0]);const{targetRef:F,containerRef:O}=Kd(z),X=w&&p,ee=b.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),he=o7({disabled:!X,timeout:typeof w=="object"?w.timeout:300,onSafeZoneEnter:oe=>{Q(oe,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:oe}),ee.current.isInside=!0},onSafeZoneLeave:()=>{ee.current.isInside=!1},onSafeZoneMove:oe=>{ee.current.mouseCoordinates={x:oe.clientX,y:oe.clientY}},onSafeZoneTimeout:()=>{const oe=new CustomEvent(zg);if(Q(oe,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:oe}),ee.current.isInside&&B){const Se=B.elementsFromPoint(ee.current.mouseCoordinates.x,ee.current.mouseCoordinates.y).find(q=>q.classList.contains(Zn.root));Se==null||Se.dispatchEvent(oe)}}}),ie=it(F,he.targetRef),ue=it(O,he.containerRef),[le,Q]=UA({hoverDelay:n,isSubmenu:o,setContextTarget:C,closeOnScroll:u,menuPopoverRef:ue,triggerRef:ie,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[L,te]=LA({checkedValues:e.checkedValues,defaultCheckedValues:v,onCheckedValueChange:e.onCheckedValueChange});return{inline:a,hoverDelay:n,triggerId:k,isSubmenu:o,openOnHover:p,contextTarget:x,setContextTarget:C,hasCheckmarks:l,hasIcons:c,closeOnScroll:u,menuTrigger:E,menuPopover:R,mountNode:m,triggerRef:ie,menuPopoverRef:ue,components:{surfaceMotion:jx},openOnContext:d,open:le,setOpen:Q,checkedValues:L,onCheckedValueChange:te,persistOnItemClick:h,safeZone:he.elementToRender,surfaceMotion:hc(e.surfaceMotion,{elementType:jx,defaultProps:{visible:le,appear:!0,unmountOnExit:!0}})}},LA=e=>{const[o,n]=Ao({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),a=ge((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]},UA=e=>{"use no memo";const{targetDocument:o}=Qe(),n=st(x=>x.setOpen),a=ge((x,C)=>{var _;return(_=e.onOpenChange)===null||_===void 0?void 0:_.call(e,x,C)}),l=b.useRef(!1),[c,u]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=ge((x,C)=>{const _=x instanceof CustomEvent&&x.type===Zs?x.detail.nativeEvent:x;a==null||a(_,{...C}),C.open&&x.type==="contextmenu"&&e.setContextTarget(x),C.open||e.setContextTarget(void 0),C.bubble&&n(x,{...C}),u(C.open)}),[h,p]=zl(),v=ge((x,C)=>{if(p(),!(x instanceof Event)&&x.persist&&x.persist(),!C.ignoreHoverDelay&&(x.type==="mouseleave"||x.type==="mouseover"||x.type==="mousemove"||x.type===Zs)){var j;!((j=e.triggerRef.current)===null||j===void 0)&&j.contains(x.target)&&(l.current=x.type==="mouseover"||x.type==="mousemove"),h(()=>d(x,C),e.hoverDelay)}else d(x,C)});Yg({contains:Us,disabled:!c,element:o,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:x=>v(x,{open:!1,type:"clickOutside",event:x})});const m=e.openOnContext||e.closeOnScroll;Sw({contains:Us,element:o,callback:x=>v(x,{open:!1,type:"scrollOutside",event:x}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!c||!m}),_A({element:o,callback:x=>{l.current||v(x,{open:!1,type:"menuMouseEnter",event:x})},disabled:!c,refs:[e.menuPopoverRef]});const{findFirstFocusable:w}=uc(),B=b.useCallback(()=>{const x=w(e.menuPopoverRef.current);x==null||x.focus()},[w,e.menuPopoverRef]),k=Zg();return b.useEffect(()=>{if(c)B();else if(!k){var x,C;if((o==null?void 0:o.activeElement)===(o==null?void 0:o.body)||!((x=e.menuPopoverRef.current)===null||x===void 0)&&x.contains((C=o==null?void 0:o.activeElement)!==null&&C!==void 0?C:null)){var _;(_=e.triggerRef.current)===null||_===void 0||_.focus()}}},[e.triggerRef,e.isSubmenu,c,B,o,e.menuPopoverRef]),[c,v]};function VA(e){const{checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:p,openOnContext:v,openOnHover:m,persistOnItemClick:w,safeZone:B,setOpen:k,triggerId:x,triggerRef:C}=e;return{menu:b.useMemo(()=>({checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:p,openOnContext:v,openOnHover:m,persistOnItemClick:w,safeZone:B,setOpen:k,triggerId:x,triggerRef:C}),[o,n,a,l,c,u,d,h,p,v,m,w,B,k,x,C])}}const GA=(e,o)=>lt(yA,{value:o.menu,children:[e.menuTrigger,e.menuPopover&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.menuPopover})})]}),B5=e=>{const o=IA(e),n=VA(o);return GA(o,n)};B5.displayName="Menu";const WA=(e,o)=>{"use no memo";const n=Qs(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},_5=b.createContext(void 0),z5={setMultiline:()=>null};_5.Provider;const C5=()=>{var e;return(e=b.useContext(_5))!==null&&e!==void 0?e:z5},N5=()=>C5()!==z5,XA=_S(xj,Xi),$A=_S(bj,yj),KA=(e,o)=>{const{dir:n}=Qe(),a=QA(e,o);if(a.submenuIndicator){var l,c;(c=(l=a.submenuIndicator).children)!==null&&c!==void 0||(l.children=n==="rtl"?b.createElement($A,null):b.createElement(XA,null))}return a},QA=(e,o)=>{const n=SA(),a=st(_=>_.persistOnItemClick),{as:l="div",disabled:c=!1,hasSubmenu:u=n,persistOnClick:d=a,content:h,...p}=e,{hasIcons:v,hasCheckmarks:m}=YA({hasSubmenu:u}),w=st(_=>_.setOpen);ZA({multiline:!!e.subText,hasSubmenu:u});const B=b.useRef(null),k=b.useRef(!1),x=k5(JA(e.role)),C={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,Za(l,{role:"menuitem",...p,disabled:!1,disabledFocusable:c,ref:it(o,B,x),onKeyDown:ge(_=>{var j;(j=e.onKeyDown)===null||j===void 0||j.call(e,_),!_.isDefaultPrevented()&&(_.key===dn||_.key===Zi)&&(k.current=!0)}),onMouseMove:ge(_=>{var j;if(_.currentTarget.ownerDocument.activeElement!==_.currentTarget){var z;(z=B.current)===null||z===void 0||z.focus()}(j=e.onMouseMove)===null||j===void 0||j.call(e,_)}),onClick:ge(_=>{var j;!u&&!d&&(w(_,{open:!1,keyboard:k.current,bubble:!0,type:"menuItemClick",event:_}),k.current=!1),(j=e.onClick)===null||j===void 0||j.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 WA(C,B),C},ZA=e=>{const{hasSubmenu:o,multiline:n}=e,a=N5()&&o,{setMultiline:l}=C5();Mt(()=>{a||l(n)},[l,n,a])},YA=e=>{const{hasSubmenu:o}=e,n=Qs(c=>c.hasIcons),a=Qs(c=>c.hasCheckmarks),l=N5()&&o;return{hasIcons:n&&!l,hasCheckmarks:a&&!l}},JA=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},eD=e=>lt(e.root,{children:[e.checkmark&&ne(e.checkmark,{}),e.icon&&ne(e.icon,{}),e.content&<(e.content,{children:[e.content.children,e.subText&&ne(e.subText,{})]}),e.secondaryContent&&ne(e.secondaryContent,{}),e.submenuIndicator&&ne(e.submenuIndicator,{})]}),Cg=b.forwardRef((e,o)=>{const n=KA(e,o);return HA(n),Xe("useMenuItemStyles_unstable")(n),eD(n)});Cg.displayName="MenuItem";const tD=(e,o)=>{const{findAllFocusable:n}=uc(),{targetDocument:a}=Qe(),l=oD(),c=fc(Sm),u=Pw({circular:!0});rD(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=k5();b.useEffect(()=>{const _=d.current;if(c&&a&&_){const j=z=>{const T=z.detail.next;T&&_.contains(a.activeElement)&&!_.contains(T)&&z.preventDefault()};return a.addEventListener(pg,j),()=>{a.removeEventListener(pg,j)}}},[d,a,c]);const p=b.useCallback((_,j)=>{const z=["menuitem","menuitemcheckbox","menuitemradio"];if(!d.current)return;const T=n(d.current,ee=>ee.hasAttribute("role")&&z.indexOf(ee.getAttribute("role"))!==-1);let E=T.indexOf(j)+1;E===T.length&&(E=0);const R=T.map(ee=>{var he;return(he=ee.textContent)===null||he===void 0?void 0:he.charAt(0).toLowerCase()}),F=_.key.toLowerCase(),O=(ee,he)=>{for(let ie=ee;ie<R.length;ie++)if(F===R[ie])return ie;return-1};let X=O(E);X===-1&&(X=O(0)),X>-1&&T[X].focus()},[n]);var v;const[m,w]=Ao({state:(v=e.checkedValues)!==null&&v!==void 0?v:c?l.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var B;const k=(B=e.onCheckedValueChange)!==null&&B!==void 0?B:c?l.onCheckedValueChange:void 0,x=ge((_,j,z,T)=>{const R=[...(m==null?void 0:m[j])||[]];T?R.splice(R.indexOf(z),1):R.push(z),k==null||k(_,{name:j,checkedItems:R}),w(F=>({...F,[j]:R}))}),C=ge((_,j,z)=>{const T=[z];w(E=>({...E,[j]:T})),k==null||k(_,{name:j,checkedItems:T})});return{components:{root:"div"},root:Ne(Et("div",{ref:it(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:p,selectRadio:C,toggleCheckbox:x}},oD=()=>{const e=st(c=>c.checkedValues),o=st(c=>c.onCheckedValueChange),n=st(c=>c.triggerId),a=st(c=>c.hasIcons),l=st(c=>c.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:o,triggerId:n,hasIcons:a,hasCheckmarks:l}},rD=(e,o,n)=>{let a=!1;for(const l in o)e[l]&&(a=!0);return n&&a},nD=(e,o)=>ne(BA,{value:o.menuList,children:ne(e.root,{})});function aD(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 iD={root:"fui-MenuList"},lD=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%;}"]}),sD=e=>{"use no memo";const o=lD();return e.root.className=de(iD.root,o.root,e.hasMenuContext&&o.hasMenuContext,e.root.className),e},T5=b.forwardRef((e,o)=>{const n=tD(e,o),a=aD(n);return sD(n),Xe("useMenuListStyles_unstable")(n),nD(n,a)});T5.displayName="MenuList";const cD=(e,o)=>{"use no memo";const n=st(F=>F.safeZone),a=st(F=>F.menuPopoverRef),l=st(F=>F.setOpen),c=st(F=>F.open),u=st(F=>F.openOnHover),d=st(F=>F.triggerRef),h=Bm(),p=Qs(F=>{var O;return(O=F.shouldCloseOnArrowLeft)!==null&&O!==void 0?O:!0}),v=b.useRef(!0),m=hT(),[w,B]=zl(),{dir:k}=Qe(),x=k==="ltr"?am:im,C=b.useCallback(F=>{F&&F.addEventListener("mouseover",O=>{v.current&&(v.current=!1,zA(a.current,O),w(()=>{v.current=!0},250))})},[a,w]);b.useEffect(()=>()=>B(),[B]);var _;const j=(_=st(F=>F.inline))!==null&&_!==void 0?_:!1,z=st(F=>F.mountNode),T=Ne(Et("div",{role:"presentation",...m,...e,ref:it(o,a,C,Ld())}),{elementType:"div"}),{onMouseEnter:E,onKeyDown:R}=T;return T.onMouseEnter=ge(F=>{(u||h)&&l(F,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:F}),E==null||E(F)}),T.onKeyDown=ge(F=>{const O=F.key;if(O===El||h&&p&&O===x){var X;c&&(!((X=a.current)===null||X===void 0)&&X.contains(F.target))&&!F.isDefaultPrevented()&&(l(F,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:F}),F.preventDefault())}if(O===fS&&(l(F,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:F}),!h)){var ee;(ee=d.current)===null||ee===void 0||ee.focus()}R==null||R(F)}),{inline:j,mountNode:z,safeZone:n,components:{root:"div"},root:T}},uD={root:"fui-MenuPopover"},dD=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);}"]}),fD=e=>{"use no memo";const o=dD();return e.root.className=de(uD.root,o.root,e.root.className),e},hD=e=>e.inline?lt(b.Fragment,{children:[ne(e.root,{}),e.safeZone]}):lt(Ml,{mountNode:e.mountNode,children:[ne(e.root,{}),e.safeZone]}),E5=b.forwardRef((e,o)=>{const n=cD(e,o);return fD(n),Xe("useMenuPopoverStyles_unstable")(n),hD(n)});E5.displayName="MenuPopover";function pD(){}const gD=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=st(Q=>Q.triggerRef),l=st(Q=>Q.menuPopoverRef),c=st(Q=>Q.setOpen),u=st(Q=>Q.open),d=st(Q=>Q.triggerId),h=st(Q=>Q.openOnHover),p=st(Q=>Q.openOnContext),v=Bm(),m=Qs(Q=>{var L;return(L=Q.shouldOpenOnArrowRight)!==null&&L!==void 0?L:!0}),{findFirstFocusable:w}=uc(),B=b.useCallback(()=>{const Q=w(l.current);Q==null||Q.focus()},[w,l]),k=b.useRef(!1),x=b.useRef(!1),C=b.useRef(!1),{dir:_}=Qe(),j=_==="ltr"?im:am,z=cc(o),T=CA(ge(()=>{v&&(x.current=!0)})),E=Q=>{Vi(Q)||Q.isDefaultPrevented()||p&&(Q.preventDefault(),c(Q,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:Q}))},R=Q=>{Vi(Q)||p||(c(Q,{open:!u,keyboard:k.current,type:"menuTriggerClick",event:Q}),k.current=!1)},F=Q=>{if(Vi(Q)||Q.isDefaultPrevented())return;const L=Q.key;!p&&(v&&m&&L===j||!v&&L===bg)&&c(Q,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),L===El&&!v&&c(Q,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),u&&L===j&&v&&m&&B()},O=Q=>{Vi(Q)||h&&(C.current?c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:Q}):x.current&&(c(Q,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:Q}),x.current=!1))},X=Q=>{Vi(Q)||h&&!C.current&&(c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:Q}),C.current=!0)},ee=Q=>{Vi(Q)||h&&c(Q,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:Q})};var he;const ie={id:d,...z==null?void 0:z.props,ref:it(a,sc(z),T),onMouseEnter:ge((he=z==null?void 0:z.props.onMouseEnter)!==null&&he!==void 0?he:pD),onMouseLeave:ge(Ae(z==null?void 0:z.props.onMouseLeave,ee)),onContextMenu:ge(Ae(z==null?void 0:z.props.onContextMenu,E)),onMouseMove:ge(Ae(z==null?void 0:z.props.onMouseMove,X)),onMouseOver:ge(Ae(z==null?void 0:z.props.onMouseOver,O))},ue={"aria-haspopup":"menu","aria-expanded":!u&&!v?void 0:u,...ie,onClick:ge(Ae(z==null?void 0:z.props.onClick,R)),onKeyDown:ge(Ae(z==null?void 0:z.props.onKeyDown,F))},le=Za((z==null?void 0:z.type)==="button"||(z==null?void 0:z.type)==="a"?z.type:"div",ue);return{isSubmenu:v,children:Od(o,p?ie:n?ue:le)}},Vi=e=>{const o=n=>n.hasAttribute("disabled")||n.hasAttribute("aria-disabled")&&n.getAttribute("aria-disabled")==="true";return vr(e.target)&&o(e.target)?!0:vr(e.currentTarget)&&o(e.currentTarget)},mD=e=>b.createElement(wA,{value:e.isSubmenu},e.children),_m=e=>{const o=gD(e);return mD(o)};_m.displayName="MenuTrigger";_m.isFluentTriggerComponent=!0;const zm=b.createContext(void 0),vD={};zm.Provider;const bD=()=>b.useContext(zm)||vD,yD=(e,o)=>ne(zm.Provider,{value:o.radioGroup,children:ne(e.root,{})}),xD=(e,o)=>{const{layout:n="vertical",...a}=e,l=wD(a,o);return{layout:n,...l}},wD=(e,o)=>{e=ti(e);const n=Yt("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:ge(p=>{d&&vr(p.target,{constructorName:"HTMLInputElement"})&&p.target.type==="radio"&&d(p,{value:p.target.value})})}}},SD={root:"fui-RadioGroup"},kD=ve({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),BD=e=>{"use no memo";const o=kD();return e.root.className=de(SD.root,o.root,e.layout==="vertical"&&o.vertical,e.root.className),e},_D=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])}},j5=b.forwardRef((e,o)=>{const n=xD(e,o),a=_D(n);return BD(n),Xe("useRadioGroupStyles_unstable")(n),yD(n,a)});j5.displayName="RadioGroup";const zD=e=>lt(e.root,{children:[ne(e.input,{}),ne(e.indicator,{}),e.label&&ne(e.label,{})]}),CD=(e,o)=>{const n=ND(e,o);return{...n,components:{...n.components,label:xr},label:De(e.label,{defaultProps:{...n.label},elementType:xr})}},ND=(e,o)=>{const n=bD(),{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":p=n["aria-describedby"],onChange:v}=e,m=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),w=Ne(e.root,{defaultProps:{ref:om(),...m.root},elementType:"span"}),B=Ne(e.input,{defaultProps:{ref:o,type:"radio",id:Yt("radio-",m.primary.id),name:a,checked:l,defaultChecked:c,disabled:d,required:h,"aria-describedby":p,...m.primary},elementType:"input"});B.onChange=Ae(B.onChange,C=>v==null?void 0:v(C,{value:C.currentTarget.value}));const k=De(e.label,{defaultProps:{htmlFor:B.id,disabled:B.disabled},elementType:"label"}),x=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:"label",indicator:"div"},root:w,input:B,label:k,indicator:x}},Gu={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},TD=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;}}"]}),ED=ve({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),jD=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;}}"]}),RD=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;}"]}),AD=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;}"]),DD=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;}"]}),MD=e=>{"use no memo";const{labelPosition:o}=e,n=TD(),a=ED();e.root.className=de(Gu.root,n,o==="below"&&a.vertical,e.root.className);const l=jD(),c=RD();e.input.className=de(Gu.input,l,o==="below"&&c.below,e.indicator.children?c.customIndicator:c.defaultIndicator,e.input.className);const u=AD();e.indicator.className=de(Gu.indicator,u,e.indicator.className);const d=DD();return e.label&&(e.label.className=de(Gu.label,d.base,d[o],e.label.className)),e},Ng=b.forwardRef((e,o)=>{const n=CD(e,o);return MD(n),Xe("useRadioStyles_unstable")(n),zD(n)});Ng.displayName="Radio";const R5=b.createContext(void 0),OD={};R5.Provider;const FD=()=>{var e;return(e=b.useContext(R5))!==null&&e!==void 0?e:OD},qD=(e,o)=>{const{size:n}=FD(),{appearance:a="primary",size:l=n??"medium",...c}=e,u=HD(c,o);return{...u,appearance:a,size:l,components:{...u.components,label:xr},label:De(e.label,{defaultProps:u.label,elementType:xr})}},HD=(e,o)=>{const{delay:n=0,labelPosition:a="after"}=e,l=Yt("spinner"),{role:c="progressbar",...u}=e,d=Ne(Et("div",{ref:o,role:c,...u}),{elementType:"div"}),[h,p]=b.useState(!1),[v,m]=zl();b.useEffect(()=>{if(!(n<=0))return v(()=>{p(!0)},n),()=>{m()}},[v,m,n]);const w=De(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:"label"}),B=De(e.spinner,{renderByDefault:!0,elementType:"span"});return w&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=w.id),{delay:n,labelPosition:a,shouldRenderSpinner:!n||h,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:B,spinnerTail:Ne(e.spinnerTail,{elementType:"span"}),label:w}},PD=e=>{const{labelPosition:o,shouldRenderSpinner:n}=e;return lt(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,{})]})},Wu={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},ID=Ee("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),LD=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),UD=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;}}"]}),VD=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;}}"]}),GD=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)"}]]}),WD=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);}"]}),XD=e=>{"use no memo";const{labelPosition:o,size:n,appearance:a}=e,{dir:l}=Qe(),c=ID(),u=LD(),d=UD(),h=GD(),p=VD(),v=WD();return e.root.className=de(Wu.root,c,(o==="above"||o==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=de(Wu.spinner,d,h[n],a==="inverted"&&h.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=de(Wu.spinnerTail,p,l==="rtl"&&h.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=de(Wu.label,v[n],a==="inverted"&&v.inverted,e.label.className)),e},pn=b.forwardRef((e,o)=>{const n=qD(e,o);return XD(n),Xe("useSpinnerStyles_unstable")(n),PD(n)});pn.displayName="Spinner";const $D=(e,o)=>{var n;const{size:a="medium",...l}=e,c=KD(l,o);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=b.createElement(sm,null)),{...c,components:{...c.components,label:xr},size:a,label:De(e.label,{defaultProps:{size:"medium",...c.label},elementType:xr})}},KD=(e,o)=>{e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:l,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:h}=e,p=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),v=Yt("switch-",p.primary.id),m=Ne(e.root,{defaultProps:{ref:om(),...p.root},elementType:"div"}),w=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),B=Ne(e.input,{defaultProps:{checked:n,defaultChecked:a,id:v,ref:o,role:"switch",type:"checkbox",...p.primary,disabled:l&&!c,...c&&{"aria-disabled":!0}},elementType:"input"});B.onChange=Ae(B.onChange,x=>d==null?void 0:d(x,{checked:x.currentTarget.checked})),B.onClick=Ae(B.onClick,x=>{c&&x.preventDefault()}),B.onKeyDown=Ae(B.onKeyDown,x=>{c&&(x.key===" "||x.key==="Enter")&&x.preventDefault()});const k=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:w,input:B,label:k}},QD=e=>{const{labelPosition:o}=e;return lt(e.root,{children:[ne(e.input,{}),o!=="after"&&e.label&&ne(e.label,{}),ne(e.indicator,{}),o==="after"&&e.label&&ne(e.label,{})]})},Xu={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},ZD=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;}}"]}),YD=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),JD=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;}}"]}),eM=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;}"]}),tM=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;}}']}),oM=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);}"]}),rM=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);}"]}),nM=e=>{"use no memo";const o=ZD(),n=YD(),a=JD(),l=eM(),c=tM(),u=oM(),d=rM(),{label:h,labelPosition:p,size:v}=e;return e.root.className=de(Xu.root,o,p==="above"&&n.vertical,e.root.className),e.indicator.className=de(Xu.indicator,a,h&&p==="above"&&l.labelAbove,v==="small"&&l.sizeSmall,e.indicator.className),e.input.className=de(Xu.input,c,h&&u[p],v==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=de(Xu.label,d.base,d[p],v==="small"&&d.sizeSmall,e.label.className)),e},A5=b.forwardRef((e,o)=>{const n=$D(e,o);return nM(n),Xe("useSwitchStyles_unstable")(n),QD(n)});A5.displayName="Switch";const D5=(e,o)=>{const{wrap:n,truncate:a,block:l,italic:c,underline:u,strikethrough:d,size:h,font:p,weight:v,align:m}=e;return{align:m??"start",block:l??!1,font:p??"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"})}},M5=e=>ne(e.root,{}),aM={root:"fui-Text"},iM=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;}"]}),O5=e=>{"use no memo";const o=iM();return e.root.className=de(aM.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},F5=b.forwardRef((e,o)=>{const n=D5(e,o);return O5(n),Xe("useTextStyles_unstable")(n),M5(n)});F5.displayName="Text";function oi(e){const{useStyles:o,className:n,displayName:a}=e,l=b.forwardRef((c,u)=>{"use no memo";const d=o(),h=D5(c,u);return O5(h),h.root.className=de(n,h.root.className,d.root,c.className),M5(h)});return l.displayName=a,l}const lM={root:"fui-Body1"},sM=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);}"]}),go=oi({useStyles:sM,className:lM.root,displayName:"Body1"}),cM={root:"fui-Body1Strong"},uM=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);}"]}),Xa=oi({useStyles:uM,className:cM.root,displayName:"Body1Strong"}),dM={root:"fui-Body2"},fM=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);}"]}),Ji=oi({useStyles:fM,className:dM.root,displayName:"Body2"}),hM={root:"fui-Caption1"},pM=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);}"]}),Dt=oi({useStyles:pM,className:hM.root,displayName:"Caption1"}),gM={root:"fui-Subtitle2"},mM=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);}"]}),Qo=oi({useStyles:mM,className:gM.root,displayName:"Subtitle2"}),vM={root:"fui-Title2"},bM=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);}"]}),kd=oi({useStyles:bM,className:vM.root,displayName:"Title2"}),yM={root:"fui-Title3"},xM=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);}"]}),fn=oi({useStyles:xM,className:yM.root,displayName:"Title3"}),wM=e=>ne(e.root,{children:ne(e.textarea,{})}),SM=(e,o)=>{const n=Kg();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e;return{...kM(u,o),size:l,appearance:c}},kM=(e,o)=>{e=ti(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=_l({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=ge(h=>{const p=h.target.value;a==null||a(h,{value:p}),c(p)}),d},Rx={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},BM=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);}"]}),_M=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);}"]}),zM=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;}"]}),CM=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=BM();e.root.className=de(Rx.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=_M(),p=zM();return e.textarea.className=de(Rx.textarea,h.base,h[o],p[a],l&&h.disabled,e.textarea.className),e},q5=b.forwardRef((e,o)=>{const n=SM(e,o);return CM(n),Xe("useTextareaStyles_unstable")(n),wM(n)});q5.displayName="Textarea";const NM=Ee("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),TM=Ee("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function EM(){const e=NM(),o=TM(),{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 jM(e,o){const{findFirstFocusable:n}=uc(),{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 RM={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Cm=ei(void 0),AM=Cm.Provider,ur=e=>Tl(Cm,(o=RM)=>e(o)),DM=!1,H5=b.createContext(void 0),P5=H5.Provider,MM=()=>{var e;return(e=b.useContext(H5))!==null&&e!==void 0?e:DM},I5=b.createContext(void 0);I5.Provider;const OM=()=>b.useContext(I5),Ax=ha(dm,{outScale:.85,easing:Ie.curveDecelerateMid,duration:Ie.durationGentle,exitEasing:Ie.curveAccelerateMin,exitDuration:Ie.durationGentle}),FM=e=>{const{children:o,modalType:n="modal",onOpenChange:a,inertTrapFocus:l=!1,unmountOnClose:c=!0}=e,u=Yt("dialog-title-"),[d,h]=qM(o),[p,v]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),m=ge(C=>{a==null||a(C.event,C),C.event.isDefaultPrevented()||v(C.open)}),w=jM(p,n),{modalAttributes:B,triggerAttributes:k}=Id({trapFocus:n!=="non-modal",legacyTrapFocus:!l}),x=fc(Cm);return{components:{surfaceMotion:Ax},inertTrapFocus:l,open:p,modalType:n,content:h,trigger:d,requestOpenChange:m,dialogTitleId:u,isNestedDialog:x,unmountOnClose:c,dialogRef:w,modalAttributes:B,triggerAttributes:k,surfaceMotion:hc(e.surfaceMotion,{elementType:Ax,defaultProps:{visible:p,appear:c,unmountOnExit:c}})}};function qM(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 HM=(e,o)=>ne(AM,{value:o.dialog,children:lt(P5,{value:o.dialogSurface,children:[e.trigger,e.content&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.content})})]})});function PM(e){const{modalType:o,open:n,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,requestOpenChange:d,modalAttributes:h,triggerAttributes:p,unmountOnClose:v}=e;return{dialog:b.useMemo(()=>({open:n,modalType:o,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,modalAttributes:h,triggerAttributes:p,unmountOnClose:v,requestOpenChange:d}),[n,o,a,l,c,u,h,p,v,d]),dialogSurface:!1}}const Nm=b.memo(e=>{const o=FM(e),n=PM(o);return HM(o,n)});Nm.displayName="Dialog";const IM=e=>{const o=MM(),{children:n,disableButtonEnhancement:a=!1,action:l=o?"close":"open"}=e,c=cc(n),u=ur(m=>m.requestOpenChange),{triggerAttributes:d}=Id(),h=ge(m=>{var w,B;c==null||(w=(B=c.props).onClick)===null||w===void 0||w.call(B,m),m.isDefaultPrevented()||u({event:m,type:"triggerClick",open:l==="open"})}),p={...c==null?void 0:c.props,ref:sc(c),onClick:h,...d},v=Za((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...p,type:"button"});return{children:Od(n,a?p:v)}},LM=e=>e.children,el=e=>{const o=IM(e);return LM(o)};el.displayName="DialogTrigger";el.isFluentTriggerComponent=!0;const UM=(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}},VM=e=>ne(e.root,{}),GM={root:"fui-DialogActions"},WM=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;}}"]}),XM=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)"}]]}),$M=e=>{"use no memo";const o=WM(),n=XM();return e.root.className=de(GM.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},Tm=b.forwardRef((e,o)=>{const n=UM(e,o);return $M(n),Xe("useDialogActionsStyles_unstable")(n),VM(n)});Tm.displayName="DialogActions";const KM=(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"})}},QM=e=>ne(e.root,{}),ZM={root:"fui-DialogBody"},YM=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;}}"]}),JM=e=>{"use no memo";const o=YM();return e.root.className=de(ZM.root,o,e.root.className),e},Em=b.forwardRef((e,o)=>{const n=KM(e,o);return JM(n),Xe("useDialogBodyStyles_unstable")(n),QM(n)});Em.displayName="DialogBody";const Dx={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},eO=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;}"]),tO=ve({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),oO=Ee("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),rO=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;}}"]}),nO=e=>{"use no memo";const o=eO(),n=oO(),a=tO();return e.root.className=de(Dx.root,o,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=de(Dx.action,n,e.action.className)),e},aO=(e,o)=>{const{action:n}=e,a=ur(c=>c.modalType),l=rO();return{components:{root:"h2",action:"div"},root:Ne(Et("h2",{ref:o,id:ur(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:De(n,{renderByDefault:a==="non-modal",defaultProps:{children:b.createElement(el,{disableButtonEnhancement:!0,action:"close"},b.createElement("button",{type:"button",className:l,"aria-label":"close"},b.createElement(Aj,null)))},elementType:"div"})}},iO=e=>lt(b.Fragment,{children:[ne(e.root,{children:e.root.children}),e.action&&ne(e.action,{})]}),jm=b.forwardRef((e,o)=>{const n=aO(e,o);return nO(n),Xe("useDialogTitleStyles_unstable")(n),iO(n)});jm.displayName="DialogTitle";const Mx=lR,lO=(e,o)=>{const n=Ld(),a=ur(z=>z.modalType),l=ur(z=>z.isNestedDialog),c=OM(),u=c??l,d=ur(z=>z.modalAttributes),h=ur(z=>z.dialogRef),p=ur(z=>z.requestOpenChange),v=ur(z=>z.dialogTitleId),m=ur(z=>z.open),w=ur(z=>z.unmountOnClose),B=ge(z=>{if($g(e.backdrop)){var T,E;(T=(E=e.backdrop).onClick)===null||T===void 0||T.call(E,z)}a==="modal"&&!z.isDefaultPrevented()&&p({event:z,open:!1,type:"backdropClick"})}),k=ge(z=>{var T;(T=e.onKeyDown)===null||T===void 0||T.call(e,z),z.key===El&&!z.isDefaultPrevented()&&(p({event:z,open:!1,type:"escapeKeyDown"}),z.preventDefault())}),x=De(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),C=x==null?void 0:x.appearance;x&&(x.onClick=B,delete x.appearance);const{disableBodyScroll:_,enableBodyScroll:j}=EM();return Mt(()=>{if(!m){j();return}if(!(l||a==="non-modal"))return _(),()=>j()},[m,a,l,_,j]),{components:{backdrop:"div",root:"div",backdropMotion:Mx},open:m,backdrop:x,isNestedDialog:l,treatBackdropAsNested:u,backdropAppearance:C,unmountOnClose:w,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":!w&&!m?!0:void 0,...e,...d,onKeyDown:k,ref:it(o,n,h)}),{elementType:"div"}),backdropMotion:hc(e.backdropMotion,{elementType:Mx,defaultProps:{appear:w,visible:m}}),transitionStatus:void 0}},sO=(e,o)=>lt(Ml,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ne(e.backdropMotion,{children:ne(e.backdrop,{})}),ne(DS,{children:ne(P5,{value:o.dialogSurface,children:ne(e.root,{})})})]}),Ox={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},cO=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;}}"]}),uO=Ee("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),dO=ve({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),fO=e=>{"use no memo";const{root:o,backdrop:n,open:a,unmountOnClose:l,treatBackdropAsNested:c,backdropAppearance:u}=e,d=cO(),h=uO(),p=dO(),v=u?u==="transparent":c,m=!l&&!a;return o.className=de(Ox.root,d,m&&p.dialogHidden,o.className),n&&(n.className=de(Ox.backdrop,h,m&&p.dialogHidden,v&&p.nestedDialogBackdrop,n.className)),e};function hO(e){return{dialogSurface:!0}}const Rm=b.forwardRef((e,o)=>{const n=lO(e,o),a=hO();return fO(n),Xe("useDialogSurfaceStyles_unstable")(n),sO(n,a)});Rm.displayName="DialogSurface";const pO=(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"})}},gO=e=>ne(e.root,{}),mO={root:"fui-DialogContent"},vO=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;}}"]}),bO=e=>{"use no memo";const o=vO();return e.root.className=de(mO.root,o,e.root.className),e},Am=b.forwardRef((e,o)=>{const n=pO(e,o);return bO(n),Xe("useDialogContentStyles_unstable")(n),gO(n)});Am.displayName="DialogContent";function yO(e){switch(e){case"info":return b.createElement(nj,null);case"warning":return b.createElement(yS,null);case"error":return b.createElement(Sj,null);case"success":return b.createElement(Fr,null);default:return null}}function xO(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 p,v;const m=h[0];var w;const B=(w=m==null||(v=m.borderBoxSize)===null||v===void 0||(p=v[0])===null||p===void 0?void 0:p.inlineSize)!==null&&w!==void 0?w:m==null?void 0:m.target.getBoundingClientRect().width;if(B===void 0||!m)return;const{target:k}=m;if(!vr(k))return;let x;if(a.current)c.current<B&&(x=!1);else{const C=k.scrollWidth;B<C&&(x=!0)}c.current=B,typeof x<"u"&&a.current!==x&&(a.current=x,n())},[n]),d=b.useCallback(h=>{var p;if(!e||!h||!(o!=null&&o.defaultView))return;(p=l.current)===null||p===void 0||p.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 L5=b.createContext(void 0),wO={className:"",nodeRef:b.createRef()};L5.Provider;const SO=()=>{var e;return(e=b.useContext(L5))!==null&&e!==void 0?e:wO},kO=(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}=xO(u),p=u?h?"multiline":"singleline":n,{className:v,nodeRef:m}=SO(),w=Ld(),B=b.useRef(null),k=b.useRef(null),{announce:x}=sC(),C=Yt();return b.useEffect(()=>{var _,j;const z=(_=k.current)===null||_===void 0?void 0:_.textContent,T=(j=B.current)===null||j===void 0?void 0:j.textContent,E=[z,T].filter(Boolean).join(",");x(E,{polite:c==="polite",alert:c==="assertive"})},[k,B,x,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ne(Et("div",{ref:it(o,d,m,w),role:"group","aria-labelledby":C,...e}),{elementType:"div"}),icon:De(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:De(e.bottomReflowSpacer,{renderByDefault:p==="multiline",elementType:"div"}),layout:p,intent:a,transitionClassName:v,actionsRef:B,bodyRef:k,titleId:C}},BO=(e,o)=>{const{shape:n="rounded",...a}=e,l=kO(a,o);return{...l,shape:n,icon:De(e.icon,{defaultProps:{children:yO(l.intent)},renderByDefault:!0,elementType:"div"})}},U5=b.createContext(void 0),_O={titleId:"",layout:"singleline",actionsRef:b.createRef(),bodyRef:b.createRef()},zO=U5.Provider,V5=()=>{var e;return(e=b.useContext(U5))!==null&&e!==void 0?e:_O},CO=(e,o)=>ne(zO,{value:o.messageBar,children:lt(e.root,{children:[e.icon&&ne(e.icon,{}),e.root.children,e.bottomReflowSpacer&&ne(e.bottomReflowSpacer,{})]})}),Up={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},NO=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);}']),TO=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;}"]),EO=Ee("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),jO=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}]]}),RO=ve({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),AO=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);}"]}),DO=e=>{"use no memo";const o=NO(),n=TO(),a=RO(),l=AO(),c=EO(),u=jO();return e.root.className=de(Up.root,o,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,l[e.intent],e.root.className),e.icon&&(e.icon.className=de(Up.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=de(Up.bottomReflowSpacer,c)),e};function MO(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 or=b.forwardRef((e,o)=>{const n=BO(e,o);return DO(n),Xe("useMessageBarStyles_unstable")(n),CO(n,MO(n))});or.displayName="MessageBar";const OO=(e,o)=>{const{titleId:n}=V5();return{components:{root:"span"},root:Ne(Et("span",{ref:o,id:n,...e}),{elementType:"span"})}},FO=e=>ne(e.root,{}),qO={root:"fui-MessageBarTitle"},HO=Ee("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),PO=e=>{"use no memo";const o=HO();return e.root.className=de(qO.root,o,e.root.className),e},Ja=b.forwardRef((e,o)=>{const n=OO(e,o);return PO(n),Xe("useMessageBarTitleStyles_unstable")(n),FO(n)});Ja.displayName="MessageBarTitle";const IO=(e,o)=>{const{bodyRef:n}=V5();return{components:{root:"div"},root:Ne(Et("div",{ref:it(o,n),...e}),{elementType:"div"})}},LO=(e,o)=>ne(vA,{value:o.link,children:ne(e.root,{})}),UO={root:"fui-MessageBarBody"},VO=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);}"]),GO=e=>{"use no memo";const o=VO();return e.root.className=de(UO.root,o,e.root.className),e};function WO(e){return{link:b.useMemo(()=>({inline:!0}),[])}}const rr=b.forwardRef((e,o)=>{const n=IO(e,o),a=WO();return GO(n),Xe("useMessageBarBodyStyles_unstable")(n),LO(n,a)});rr.displayName="MessageBarBody";const G5={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"},Zt={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},XO={...oE(G5)},mc={...aE(G5)};mc.colorNeutralBackground1="#0E1620";mc.colorNeutralBackground2="#131F2D";mc.colorNeutralBackground3="#1A2838";mc.colorNeutralBackground4="#223145";const Fx="wizardux.theme",W5=b.createContext(null);function qx(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function $O({children:e}){const[o,n]=b.useState(()=>localStorage.getItem(Fx)||"system"),[a,l]=b.useState(qx);b.useEffect(()=>{const h=window.matchMedia("(prefers-color-scheme: dark)"),p=()=>l(qx());return h.addEventListener("change",p),()=>h.removeEventListener("change",p)},[]),b.useEffect(()=>{localStorage.setItem(Fx,o)},[o]);const c=o==="system"?a:o,u=c==="dark"?mc:XO;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 y.jsx(W5.Provider,{value:d,children:y.jsx(iS,{theme:u,style:{height:"100%"},children:e})})}function KO(){const e=b.useContext(W5);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}let $u=null;async function QO(){if($u)return $u;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return $u=(await e.json()).csrfToken,$u}async function Nr(e,o,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await QO());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 gr={state:()=>Nr("GET","/api/state"),saveState:e=>Nr("PUT","/api/state",e),resetState:()=>Nr("POST","/api/state/reset",{}),jumpTo:e=>Nr("POST","/api/state/jump",{step:e}),system:()=>Nr("GET","/api/system"),steps:()=>Nr("GET","/api/steps"),questions:e=>Nr("GET",`/api/steps/${e}/questions`),apply:(e,o)=>Nr("POST",`/api/steps/${e}/apply`,{answers:o}),configSeedKeys:()=>Nr("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")=>Nr("POST","/api/config-seed/import",{seed:e,mode:o})},ZO=Oo({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 ${A.colorNeutralStroke3}`,fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200},key:{color:A.colorNeutralForeground1,whiteSpace:"nowrap"},value:{color:A.colorNeutralForeground3,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"320px"},section:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"12px"}});function Hx(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 YO(){const e=ZO(),o=ic(),n=b.useRef(null),[a,l]=b.useState("idle"),[c,u]=b.useState(null),[d,h]=b.useState(null),[p,v]=b.useState("merge"),[m,w]=b.useState(null),[B,k]=b.useState(null);async function x(){try{const{blob:E,filename:R}=await gr.exportConfigSeed(),F=URL.createObjectURL(E),O=document.createElement("a");O.href=F,O.download=R,O.click(),URL.revokeObjectURL(F)}catch(E){const R=E instanceof Error?E.message:"Export failed.";u(R),l("error")}}function C(){var E;u(null),w(null),h(null),k(null),(E=n.current)==null||E.click()}async function _(E){var F;const R=(F=E.target.files)==null?void 0:F[0];if(E.target.value="",!!R){if(R.size>64*1024){u(`File too large (${R.size} bytes; max 65536).`),l("error");return}try{const O=await R.text(),X=JSON.parse(O);if(!X||typeof X!="object"||!X.values||typeof X.values!="object")throw new Error("Not a valid PACAF wizard config — missing `values` object.");if(X.version!==void 0&&Number(X.version)>1)throw new Error(`Seed version ${X.version} is newer than this wizard supports.`);h(X);try{const he=(await gr.state()).state,ie=[];for(const ue of["PP_ENV_DEV","PP_ENV_TEST","PP_ENV_PROD"]){const le=String(he[ue]??"").trim(),Q=String(X.values[ue]??"").trim();le&&Q&&le!==Q&&ie.push(ue)}ie.length>0&&k(`This seed targets different environment URLs than the current project: ${ie.join(", ")}. Connection IDs from this seed will likely not work in your current environments.`)}catch{}l("preview")}catch(O){const X=O instanceof Error?O.message:"Could not read file.";u(X),l("error")}}}async function j(){if(d){l("applying");try{const E=await gr.importConfigSeed(d,p);w(E),l("done"),o.invalidateQueries({queryKey:["state"]}),o.invalidateQueries({queryKey:["questions"]})}catch(E){const R=E instanceof Error?E.message:"Import failed.";u(R),l("error")}}}function z(){l("idle"),h(null),w(null),u(null),k(null),v("merge")}const T=a==="preview"||a==="applying"||a==="done"||a==="error";return y.jsxs(y.Fragment,{children:[y.jsx("input",{ref:n,type:"file",accept:"application/json,.json",style:{display:"none"},onChange:_}),y.jsxs(B5,{children:[y.jsx(_m,{disableButtonEnhancement:!0,children:y.jsx(Qd,{relationship:"label",content:"Configuration",children:y.jsx(et,{appearance:"subtle",icon:y.jsx(JE,{}),"aria-label":"Configuration"})})}),y.jsx(E5,{children:y.jsxs(T5,{children:[y.jsx(Cg,{icon:y.jsx(wS,{}),onClick:x,children:"Export configuration…"}),y.jsx(Cg,{icon:y.jsx(fj,{}),onClick:C,children:"Import configuration…"})]})})]}),y.jsx(Nm,{open:T,onOpenChange:(E,R)=>{R.open||z()},children:y.jsx(Rm,{children:y.jsxs(Em,{children:[y.jsx(jm,{children:a==="done"?"Configuration imported":a==="error"?"Import failed":"Import configuration"}),y.jsxs(Am,{children:[a==="preview"&&d&&y.jsx(JO,{seed:d,mode:p,onModeChange:v,envWarning:B,styles:e}),a==="applying"&&y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[y.jsx(pn,{size:"tiny"})," ",y.jsx(F5,{children:"Writing configuration…"})]}),a==="done"&&m&&y.jsx(eF,{result:m,styles:e}),a==="error"&&y.jsx(or,{intent:"error",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Import failed"}),c]})})]}),y.jsxs(Tm,{children:[a==="preview"&&y.jsxs(y.Fragment,{children:[y.jsx(et,{appearance:"secondary",onClick:z,children:"Cancel"}),y.jsx(et,{appearance:"primary",onClick:j,children:"Apply"})]}),(a==="done"||a==="error")&&y.jsx(et,{appearance:"primary",onClick:z,children:"Close"}),a==="applying"&&y.jsx(et,{appearance:"secondary",disabled:!0,children:"Working…"})]})]})})})]})}function JO({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 y.jsxs("div",{className:l.section,children:[y.jsx(or,{intent:"info",children:y.jsxs(rr,{children:["Secrets are never included. App Registration secrets remain in 1Password or",y.jsx("code",{children:" .env.local"})," — only references to them ship in this file."]})}),u&&y.jsx(or,{intent:"info",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"1Password references imported"}),"This seed includes ",y.jsx("code",{children:"OP_VAULT"})," / ",y.jsx("code",{children:"OP_ITEM"})," pointers. You'll still need access to that vault on this machine to retrieve the actual secret."]})}),a&&y.jsx(or,{intent:"warning",icon:y.jsx(tj,{}),children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Environment mismatch"}),a]})}),y.jsxs(Xa,{children:["Values in this seed (",c.length,")"]}),y.jsxs("ul",{className:l.list,children:[c.map(([d,h])=>y.jsxs("li",{className:l.row,children:[y.jsx("span",{className:l.key,children:d}),y.jsx("span",{className:l.value,title:Hx(h),children:Hx(h)})]},d)),c.length===0&&y.jsx(Dt,{children:"(empty)"})]}),y.jsx(Xa,{children:"How to apply"}),y.jsxs(j5,{value:o,onChange:(d,h)=>n(h.value),children:[y.jsx(Ng,{value:"merge",label:"Merge (recommended) — only fill values that are currently empty"}),y.jsx(Ng,{value:"replace-allowlisted",label:"Overwrite — replace existing values with values from the seed"})]})]})}function eF({result:e,styles:o}){return y.jsxs("div",{className:o.section,children:[y.jsx(or,{intent:"success",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Done"}),e.written.length," value",e.written.length===1?"":"s"," written,"," ",e.preserved.length," preserved,"," ",e.skipped.length," skipped."]})}),e.written.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Written"}),y.jsx("ul",{className:o.list,children:e.written.map(n=>y.jsx("li",{className:o.row,children:y.jsx("span",{className:o.key,children:n.key})},n.key))})]}),e.preserved.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Preserved (already set)"}),y.jsx("ul",{className:o.list,children:e.preserved.map(n=>y.jsxs("li",{className:o.row,children:[y.jsx("span",{className:o.key,children:n.key}),y.jsx("span",{className:o.value,children:n.reason})]},n.key))})]}),e.skipped.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Skipped"}),y.jsx("ul",{className:o.list,children:e.skipped.map(n=>y.jsxs("li",{className:o.row,children:[y.jsx("span",{className:o.key,children:n.key}),y.jsx("span",{className:o.value,children:n.reason})]},n.key))})]})]})}const tF=Oo({root:{display:"flex",alignItems:"center",gap:"16px",padding:"0 24px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground1Hover,backdropFilter:"blur(20px) saturate(180%)"},brand:{display:"flex",alignItems:"center",gap:"12px",color:A.colorNeutralForeground1,textDecoration:"none"},badge:{width:"32px",height:"32px",borderRadius:"8px",background:Zt.accent,display:"grid",placeItems:"center",color:"#ffffff",fontWeight:700,boxShadow:A.shadow8},spacer:{flex:1},navLinks:{display:"flex",gap:"4px"},navLink:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"6px",color:A.colorNeutralForeground2,textDecoration:"none",fontSize:A.fontSizeBase300},navLinkActive:{backgroundColor:A.colorNeutralBackground3,color:A.colorNeutralForeground1}});function oF(){const e=tF(),{mode:o,setMode:n}=KO(),a=nr(),l=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=o==="system"?"light":o==="light"?"dark":"system",u=o==="dark"?oj:o==="light"?rj:bS;return y.jsxs("header",{className:e.root,children:[y.jsxs(un,{to:"/",className:e.brand,children:[y.jsx("div",{className:e.badge,children:"F"}),y.jsx(Xa,{children:"Foundations"})]}),y.jsx("div",{className:e.spacer}),y.jsxs("nav",{className:e.navLinks,children:[y.jsxs(un,{to:"/",className:de(e.navLink,l("/")&&e.navLinkActive),children:[y.jsx(kS,{})," Home"]}),y.jsxs(un,{to:"/summary",className:de(e.navLink,l("/summary")&&e.navLinkActive),children:[y.jsx(wj,{})," Summary"]}),y.jsxs(un,{to:"/diagnostics",className:de(e.navLink,l("/diagnostics")&&e.navLinkActive),children:[y.jsx(gd,{})," Diagnostics"]})]}),y.jsx(Qd,{relationship:"label",content:`Theme: ${o}. Click to cycle.`,children:y.jsx(et,{appearance:"subtle",icon:y.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})}),y.jsx(YO,{})]})}const rF=Oo({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function X5(){const e=rF(),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 p=n.clientWidth,v=n.clientHeight;a.clearRect(0,0,p,v);const m=l?0:h/6e3,w=p*(.28+.15*Math.sin(m)),B=v*(.38+.1*Math.cos(m*1.2)),k=a.createRadialGradient(w,B,0,w,B,Math.max(p,v)*.7);k.addColorStop(0,"rgba(0, 120, 212, 0.55)"),k.addColorStop(1,"rgba(0, 120, 212, 0)"),a.fillStyle=k,a.fillRect(0,0,p,v);const x=p*(.72+.1*Math.cos(m*.8)),C=v*(.55+.12*Math.sin(m*1.5)),_=a.createRadialGradient(x,C,0,x,C,Math.max(p,v)*.6);_.addColorStop(0,"rgba(92, 45, 145, 0.45)"),_.addColorStop(1,"rgba(92, 45, 145, 0)"),a.fillStyle=_,a.fillRect(0,0,p,v);const j=p*(.4+.18*Math.cos(m*.6+1.7)),z=v*(.85+.1*Math.sin(m*.9)),T=a.createRadialGradient(j,z,0,j,z,Math.max(p,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,p,v),l||(c=requestAnimationFrame(d))}return c=requestAnimationFrame(d),()=>{cancelAnimationFrame(c),window.removeEventListener("resize",u)}},[]),y.jsx("canvas",{ref:o,className:e.canvas,"aria-hidden":"true"})}function Zd(){return Td({queryKey:["state"],queryFn:()=>gr.state(),refetchInterval:5e3})}function $5(){return Td({queryKey:["system"],queryFn:()=>gr.system(),staleTime:3e4})}function Dm(){return Td({queryKey:["steps"],queryFn:()=>gr.steps(),refetchInterval:5e3})}function nF(e){return Td({queryKey:["questions",e],queryFn:()=>gr.questions(e),enabled:e!=null})}const aF=Oo({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:A.colorNeutralBackground1,border:`1px solid ${A.colorNeutralStroke2}`,boxShadow:A.shadow4,fontSize:A.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:A.colorBrandForeground1,alignSelf:"center"},title:{margin:0,background:Zt.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:A.colorNeutralForeground2,fontSize:A.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:Zt.accentSoft,border:`1px solid ${A.colorNeutralStroke2}`,boxShadow:A.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:Zt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow8,minWidth:"180px",height:"44px",fontSize:A.fontSizeBase400,fontWeight:600},ctaTrack:{width:"100%",height:"6px",borderRadius:"999px",background:A.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},ctaFill:{height:"100%",background:Zt.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 ${A.colorNeutralStroke2}`},stepRow:{display:"flex",alignItems:"center",gap:"12px",padding:"12px 16px",background:A.colorNeutralBackground1,cursor:"pointer",transition:"background-color 120ms",":hover":{backgroundColor:A.colorNeutralBackground1Hover}},stepIcon:{fontSize:"16px",flexShrink:0},stepDone:{color:A.colorPaletteGreenForeground1},stepCurrent:{color:A.colorBrandForeground1},stepPending:{color:A.colorNeutralForeground4},stepLabel:{flex:1,fontSize:A.fontSizeBase300,fontWeight:A.fontWeightSemibold,color:A.colorNeutralForeground1},stepLabelDim:{flex:1,fontSize:A.fontSizeBase300,fontWeight:A.fontWeightRegular,color:A.colorNeutralForeground3},stepBadge:{fontSize:A.fontSizeBase200,color:A.colorNeutralForeground3},footer:{textAlign:"center",color:A.colorNeutralForeground3,fontSize:A.fontSizeBase200}});function iF(){var B,k,x,C,_,j,z,T;const e=aF(),o=nc(),n=Zd(),a=Dm(),l=$5(),c=ic(),u=M2({mutationFn:()=>gr.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((B=n.data)==null?void 0:B.completed)??0,h=((k=n.data)==null?void 0:k.next)??1,p=((x=n.data)==null?void 0:x.totalSteps)??9,v=((_=(C=n.data)==null?void 0:C.state)==null?void 0:_.APP_NAME)||"",m=d>0,w=Math.round(d/Math.max(1,p)*100);return y.jsxs("div",{className:e.root,children:[y.jsxs("div",{className:e.hero,children:[y.jsx(X5,{}),y.jsxs("div",{className:e.heroInner,children:[y.jsxs("div",{className:e.pill,children:[y.jsx(_j,{})," Foundations"]}),y.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),y.jsx(go,{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."})]})]}),y.jsxs("div",{className:e.body,children:[y.jsx("div",{className:e.ctaCard,children:y.jsxs("div",{className:e.ctaInner,children:[y.jsx("div",{className:e.ctaText,children:m?y.jsxs(y.Fragment,{children:[y.jsxs(Qo,{style:{display:"block",color:A.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",v?`, ${v}`:""]}),y.jsxs(kd,{style:{margin:0},children:["Pick up at step ",h," of ",p]}),y.jsxs(go,{style:{marginTop:"6px",color:A.colorNeutralForeground3},children:[d," of ",p," steps complete · ",w,"%"]}),y.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:y.jsx("div",{className:e.ctaFill,style:{width:`${w}%`}})})]}):y.jsxs(y.Fragment,{children:[y.jsx(kd,{style:{margin:0},children:"Ready when you are"}),y.jsx(go,{style:{marginTop:"6px",color:A.colorNeutralForeground2},children:"Each step is self-contained. You'll end with a deployable app."})]})}),y.jsxs("div",{className:e.ctaActions,children:[y.jsx(et,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:y.jsx(Dr,{}),onClick:()=>o(`/step/${h}`),children:m?"Resume":"Get started"}),m&&y.jsxs(Nm,{children:[y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"subtle",icon:y.jsx(uj,{}),children:"Start over"})}),y.jsx(Rm,{children:y.jsxs(Em,{children:[y.jsx(jm,{children:"Reset wizard state?"}),y.jsx(Am,{children:"This clears all collected answers. Your project files are not affected."}),y.jsxs(Tm,{children:[y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"secondary",children:"Cancel"})}),y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?y.jsx(pn,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),l.data&&y.jsxs("div",{className:e.systemBar,children:[y.jsxs(Yo,{appearance:"filled",color:l.data.node?"success":"danger",children:["Node ",l.data.node||"—"]}),y.jsxs(Yo,{appearance:"filled",color:l.data.git?"success":"danger",children:["Git ",l.data.git||"missing"]}),y.jsxs(Yo,{appearance:"filled",color:l.data.dotnet?"success":"danger",children:[".NET ",l.data.dotnet||"missing"]}),y.jsxs(Yo,{appearance:"filled",color:l.data.pac?"success":"danger",children:["PAC ",l.data.pac||"missing"]}),y.jsx(Yo,{appearance:"filled",color:l.data.op?"success":"informative",children:l.data.op?`1Password ${l.data.op}`:"1Password (optional)"})]}),a.data&&y.jsx("div",{className:e.stepSection,children:a.data.steps.map(E=>{const R=E.status==="done",F=E.status==="current";return y.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:[R?y.jsx(Fr,{className:`${e.stepIcon} ${e.stepDone}`}):F?y.jsx(dj,{className:`${e.stepIcon} ${e.stepCurrent}`}):y.jsx(cm,{className:`${e.stepIcon} ${e.stepPending}`}),y.jsxs("span",{className:R||F?e.stepLabel:e.stepLabelDim,children:[E.number,". ",E.title]}),R&&y.jsx("span",{className:e.stepBadge,children:"Done"}),F&&y.jsx(Yo,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},E.number)})}),((j=l.data)==null?void 0:j.rootDir)&&y.jsxs("div",{className:e.footer,children:[y.jsx(cj,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",y.jsx("code",{children:l.data.rootDir})]}),((T=(z=l.data)==null?void 0:z.cloudSync)==null?void 0:T.detected)&&y.jsx(or,{intent:"warning",children:y.jsxs(rr,{children:[y.jsxs(Ja,{children:["Project is inside ",l.data.cloudSync.provider]}),"Cloud-sync providers upload every file in this folder, regardless of ",y.jsx("code",{children:".gitignore"}),". They may raise DLP alerts on encrypted secrets in ",y.jsx("code",{children:".env.local"}),". We strongly recommend moving the project out of ",l.data.cloudSync.provider,", or choosing ",y.jsx("strong",{children:"1Password"})," storage in Step 4. See ",y.jsx("code",{children:"TROUBLESHOOTING.md"}),' → "Authentication & Secrets".']})}),u.isError&&y.jsx(or,{intent:"error",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Reset failed"}),u.error.message]})})]})]})}function lF(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 sF=Oo({root:{width:"220px",height:"100%",overflowY:"auto",padding:"12px",borderRight:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground2},heading:{color:A.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:A.colorNeutralBackground3}},itemActive:{backgroundColor:A.colorBrandBackground2,border:`1px solid ${A.colorBrandStroke2}`},iconCol:{flex:"0 0 18px",fontSize:"18px",display:"grid",placeItems:"center"},done:{color:A.colorPaletteGreenForeground1},current:{color:A.colorBrandForeground1},pending:{color:A.colorNeutralForeground3},terminal:{color:A.colorNeutralForeground3},title:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:A.fontWeightSemibold,fontSize:A.fontSizeBase300}});function Px({steps:e,current:o}){const n=sF(),a=nc(),l=nr();return y.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[y.jsx(Dt,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===o&&l.pathname.includes("/step/"),d=c.status==="done"?Fr:c.status==="current"?Dr:c.manual?pd:c.canRunInBrowser?cm:xS,h=c.status==="done"?n.done:c.status==="current"||c.manual?n.current:c.canRunInBrowser?n.pending:n.terminal;return y.jsxs("div",{className:[n.item,u&&n.itemActive].filter(Boolean).join(" "),onClick:()=>a(`/step/${c.number}`),role:"button",tabIndex:0,onKeyDown:p=>{(p.key==="Enter"||p.key===" ")&&a(`/step/${c.number}`)},"aria-current":u?"step":void 0,children:[y.jsx("div",{className:`${n.iconCol} ${h}`,children:y.jsx(d,{})}),y.jsxs(Ji,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}const K5=Oo({wrap:{display:"flex",flexDirection:"column",gap:"20px"},requiredBanner:{display:"flex",alignItems:"center",gap:"12px",padding:"14px 18px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(193,99,12,0.12), rgba(255,185,0,0.08))",border:`1px solid ${A.colorPaletteDarkOrangeBorderActive}`},requiredIcon:{fontSize:"22px",color:A.colorPaletteDarkOrangeForeground1,flexShrink:0},intro:{color:A.colorNeutralForeground2},steps:{display:"flex",flexDirection:"column",gap:"16px"},stepRow:{display:"flex",gap:"14px",alignItems:"flex-start"},stepNum:{width:"28px",height:"28px",borderRadius:"50%",background:Zt.accent,color:"#fff",display:"grid",placeItems:"center",fontWeight:700,fontSize:"14px",flexShrink:0,marginTop:"2px"},stepBody:{flex:1,display:"flex",flexDirection:"column",gap:"8px",minWidth:0},ctaPrimary:{background:Zt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow4,minWidth:"260px",height:"44px",fontWeight:600,alignSelf:"flex-start"},pill:{display:"inline-flex",alignItems:"center",gap:"6px",padding:"3px 10px",borderRadius:"6px",background:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,fontWeight:600},outsidePill:{background:"rgba(0,120,212,0.10)",border:`1px solid ${A.colorBrandStroke1}`,color:A.colorBrandForeground1},figure:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"4px"},illo:{border:`1px solid ${A.colorNeutralStroke2}`,borderRadius:"12px",overflow:"hidden",background:A.colorNeutralBackground1,boxShadow:A.shadow8,maxWidth:"620px"},toolbar:{display:"flex",alignItems:"center",gap:"18px",padding:"10px 16px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,background:A.colorNeutralBackground2,fontSize:A.fontSizeBase200,color:A.colorNeutralForeground2},toolbarItem:{display:"inline-flex",alignItems:"center",gap:"5px",whiteSpace:"nowrap"},toolbarActive:{color:A.colorBrandForeground1,fontWeight:700,position:"relative"},menus:{display:"flex",alignItems:"flex-start",padding:"14px 16px",gap:"8px",flexWrap:"wrap"},menu:{minWidth:"170px",borderRadius:"8px",border:`1px solid ${A.colorNeutralStroke2}`,background:A.colorNeutralBackground1,boxShadow:A.shadow16,overflow:"hidden",paddingTop:"4px",paddingBottom:"4px"},menuItem:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"12px",padding:"7px 12px",fontSize:A.fontSizeBase200,color:A.colorNeutralForeground1},menuItemActive:{background:A.colorBrandBackground2,color:A.colorBrandForeground1,fontWeight:600},menuItemHighlight:{position:"relative",background:A.colorNeutralBackground1,outline:`2px solid ${A.colorPaletteRedBorderActive}`,outlineOffset:"-2px",borderRadius:"6px",fontWeight:700,color:A.colorPaletteRedForeground1},connector:{alignSelf:"center",color:A.colorNeutralForeground3,fontSize:"18px",flexShrink:0},caption:{color:A.colorNeutralForeground3},confirmRow:{display:"flex",flexDirection:"column",gap:"10px",padding:"16px 18px",borderRadius:"10px",background:A.colorNeutralBackground2,border:`1px solid ${A.colorNeutralStroke2}`},actions:{display:"flex",gap:"8px",alignItems:"center",paddingTop:"16px",borderTop:`1px solid ${A.colorNeutralStroke2}`,marginTop:"4px"},spacer:{flex:1}});function cF(){const e=K5();return y.jsxs("div",{className:e.figure,children:[y.jsxs("div",{className:e.illo,role:"img","aria-label":"Solution toolbar: Add existing, then App, then Code app",children:[y.jsxs("div",{className:e.toolbar,children:[y.jsxs("span",{className:e.toolbarItem,children:[y.jsx(yg,{})," New"]}),y.jsxs("span",{className:[e.toolbarItem,e.toolbarActive].join(" "),children:[y.jsx(yg,{})," Add existing ⌄"]}),y.jsx("span",{className:e.toolbarItem,children:"↥ Publish all customizations"}),y.jsx("span",{className:e.toolbarItem,children:"•••"})]}),y.jsxs("div",{className:e.menus,children:[y.jsxs("div",{className:e.menu,children:[y.jsx("div",{className:e.menuItem,children:"Automation"}),y.jsxs("div",{className:[e.menuItem,e.menuItemActive].join(" "),children:[y.jsx("span",{children:"App"}),y.jsx(Xi,{})]}),y.jsx("div",{className:e.menuItem,children:"Dashboard"}),y.jsxs("div",{className:e.menuItem,children:["Table ",y.jsx(Xi,{})]}),y.jsxs("div",{className:e.menuItem,children:["More ",y.jsx(Xi,{})]})]}),y.jsx(Xi,{className:e.connector}),y.jsxs("div",{className:e.menu,children:[y.jsx("div",{className:e.menuItem,children:"Canvas app"}),y.jsx("div",{className:[e.menuItem,e.menuItemHighlight].join(" "),children:"Code app"}),y.jsx("div",{className:e.menuItem,children:"Model-driven app"}),y.jsx("div",{className:e.menuItem,children:"Page"})]})]})]}),y.jsxs(Dt,{className:e.caption,children:["In your solution, select ",y.jsx("strong",{children:"+ Add existing → App → Code app"}),"."]})]})}function uF({solution:e,stepNumber:o,totalSteps:n,onBack:a,onFinish:l}){const c=K5(),[u,d]=b.useState(!1),h=e.appName||"your Code app",p=e.displayName||e.uniqueName||"your target solution",v=e.linkTarget==="solution"?`Open ${p} in the Maker Portal`:e.linkTarget==="solutions"?"Open Solutions in the Maker Portal":"Open the Power Apps Maker Portal";return y.jsxs("div",{className:c.wrap,children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[y.jsx("div",{className:c.stepNum,style:{width:36,height:36,borderRadius:10},children:o}),y.jsxs("div",{style:{flex:1},children:[y.jsx(kd,{style:{margin:0},children:"Add your Code app to your solution"}),y.jsxs(Dt,{style:{color:A.colorNeutralForeground3},children:["Step ",o," of ",n," · required manual step"]})]})]}),y.jsxs("div",{className:c.requiredBanner,children:[y.jsx(yS,{className:c.requiredIcon}),y.jsxs(go,{style:{fontWeight:600},children:["This step is required and can’t be done from the terminal — you must add the Code app to your solution by hand in the Maker Portal. A deployed Code app is ",y.jsx("em",{children:"not"})," automatically included in your solution."]})]}),y.jsxs(go,{className:c.intro,children:["Your app is deployed, but Power Platform does not reliably bind a Code app to its solution during ",y.jsx("code",{children:"pac code push"}),". Follow the three steps below to add it yourself — it takes under a minute."]}),y.jsxs("div",{className:c.steps,children:[y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"1"}),y.jsxs("div",{className:c.stepBody,children:[y.jsx(fn,{children:"Open your solution"}),y.jsx(Ji,{style:{color:A.colorNeutralForeground2},children:e.linkTarget==="solution"?y.jsxs(y.Fragment,{children:["This link opens ",y.jsx("strong",{children:p})," directly."]}):e.linkTarget==="solutions"?y.jsxs(y.Fragment,{children:["This opens the Solutions list — find and open ",y.jsx("strong",{children:p}),"."]}):y.jsxs(y.Fragment,{children:["Open the Maker Portal, switch to your target environment, then open ",y.jsx("strong",{children:p}),"."]})}),y.jsx(et,{className:c.ctaPrimary,icon:y.jsx(pd,{}),as:"a",href:e.makerPortalUrl,target:"_blank",rel:"noopener noreferrer",children:v})]})]}),y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"2"}),y.jsxs("div",{className:c.stepBody,children:[y.jsx(fn,{children:"Choose “Add existing → App → Code app”"}),y.jsxs(Ji,{style:{color:A.colorNeutralForeground2},children:["On the solution toolbar, select ",y.jsxs("span",{className:c.pill,children:[y.jsx(yg,{}),"Add existing"]}),", then ",y.jsx("span",{className:c.pill,children:"App"}),", then ",y.jsx("span",{className:c.pill,children:"Code app"}),"."]}),y.jsx(cF,{})]})]}),y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"3"}),y.jsxs("div",{className:c.stepBody,children:[y.jsxs(fn,{children:["Switch to ",y.jsx("span",{className:[c.pill,c.outsidePill].join(" "),children:"Outside Dataverse"})," and add your app"]}),y.jsxs(Ji,{style:{color:A.colorNeutralForeground2},children:["Code apps are ",y.jsx("strong",{children:"not"})," stored in Dataverse, so the picker won’t show them under the default tab. Select the ",y.jsx("span",{className:[c.pill,c.outsidePill].join(" "),children:"Outside Dataverse"})," ","filter, then ",y.jsx(YE,{style:{verticalAlign:"middle"}})," search for"," ",y.jsx(Yo,{appearance:"tint",color:"brand",children:h}),", select it, and click ",y.jsx("strong",{children:"Add"}),"."]})]})]})]}),y.jsxs("div",{className:c.confirmRow,children:[y.jsx(xm,{checked:u,onChange:(m,w)=>d(!!w.checked),label:y.jsxs(go,{children:["I’ve added ",y.jsx("strong",{children:h})," to ",y.jsx("strong",{children:p})," using the “Outside Dataverse” filter."]})}),u&&y.jsxs(Dt,{style:{color:A.colorPaletteGreenForeground1,display:"flex",alignItems:"center",gap:6},children:[y.jsx(Fr,{})," Nicely done — your Code app now travels with your solution."]})]}),y.jsxs("div",{className:c.actions,children:[y.jsx(et,{appearance:"subtle",icon:y.jsx(SS,{}),onClick:a,children:"Back"}),y.jsx("div",{className:c.spacer}),y.jsx(et,{className:c.ctaPrimary,style:{minWidth:"160px",height:"40px"},iconPosition:"after",icon:y.jsx(Dr,{}),onClick:l,disabled:!u,children:"Finish"})]})]})}function Ix(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(y.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 Mm=Oo({card:{padding:"16px",borderRadius:"10px",backgroundColor:A.colorNeutralBackground2,border:`1px solid ${A.colorNeutralStroke2}`,display:"flex",flexDirection:"column",gap:"8px"},required:{color:A.colorPaletteRedForeground1,marginLeft:"4px"},help:{color:A.colorNeutralForeground3},groupHeader:{display:"flex",flexDirection:"column",gap:"4px",paddingBottom:"4px"},groupTitle:{fontWeight:A.fontWeightSemibold},groupItems:{display:"flex",flexDirection:"column"},groupItem:{padding:"12px 0",borderTop:`1px solid ${A.colorNeutralStroke2}`},firstGroupItem:{paddingTop:"8px"},why:{fontSize:A.fontSizeBase200,color:A.colorNeutralForeground2,whiteSpace:"pre-wrap",lineHeight:1.5,maxWidth:"360px",padding:"4px 0"},whyTrigger:{minWidth:"auto",padding:"2px",height:"auto",color:A.colorNeutralForeground3,":hover":{color:A.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:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,color:A.colorNeutralForeground2,fontSize:A.fontSizeBase200},savedSecretIcon:{color:A.colorPaletteGreenForeground1,fontSize:"16px",flexShrink:0},savedSecretEdit:{marginLeft:"auto",minWidth:"auto",padding:"2px 8px",height:"auto"}});function Lx(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 Om(e,o){return!!(e.showIf&&!Lx(e.showIf,o)||e.hideIf&&Lx(e.hideIf,o))}function dF(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 fF(e,o,n){return e.required&&(o==null||o==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof o=="string"?dF(o):null}function Q5({question:e,value:o,onChange:n,showError:a,answers:l}){var z;const c=Mm(),u=fF(e,o,a),[d,h]=b.useState(!1),p=e.type==="secret"&&e.savedHint&&!o&&!d,v=e.dynamicOptions,m=v?String(l[v.dependsOn]??""):"",[w,B]=b.useState([]),[k,x]=b.useState(!1),C=b.useRef(m);b.useEffect(()=>{if(!v)return;if(!m||m==="false"||m==="0"||m.startsWith("__")){B([]),C.current=m;return}if(m===C.current&&w.length>0)return;C.current=m,x(!0);const E=new AbortController;return fetch(`${v.endpoint}?${v.param}=${encodeURIComponent(m)}`,{signal:E.signal}).then(R=>R.json()).then(R=>{const F=R[v.responseKey]||[];B(F),x(!1)}).catch(()=>{E.signal.aborted||x(!1)}),()=>E.abort()},[v,m]);const _=b.useMemo(()=>{if(!v)return e.options||[];const T=(e.options||[]).filter(E=>E.value.startsWith("__"));return[...w,...T]},[v,e.options,w]),j=y.jsxs("span",{className:c.labelRow,children:[e.label,e.required?y.jsx("span",{className:c.required,"aria-hidden":!0,children:"*"}):null,e.why&&y.jsxs(f5,{withArrow:!0,children:[y.jsx(ym,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"transparent",icon:y.jsx(zj,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),y.jsx(d5,{children:y.jsx("div",{className:c.why,children:Ix(e.why)})})]})]});return y.jsxs(y.Fragment,{children:[y.jsx(m5,{label:j,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?y.jsx(_g,{value:o??"",onChange:(T,E)=>n(e.id,E.value),"aria-required":e.required||void 0}):e.type==="secret"?p?y.jsxs("div",{className:c.savedSecret,children:[y.jsx(sj,{className:c.savedSecretIcon}),y.jsx("span",{children:e.savedHint}),y.jsx(et,{appearance:"subtle",size:"small",icon:y.jsx(lj,{}),className:c.savedSecretEdit,onClick:()=>h(!0),children:"Change"})]}):y.jsx(_g,{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"?y.jsx(A5,{checked:!!o,onChange:(T,E)=>n(e.id,E.checked)}):e.type==="select"?k?y.jsx(pn,{size:"tiny",label:"Loading options…"}):y.jsx(w5,{value:((z=_.find(T=>T.value===o))==null?void 0:z.label)??"",selectedOptions:o?[String(o)]:[],onOptionSelect:(T,E)=>n(e.id,E.optionValue),children:_.map(T=>y.jsx(x5,{value:T.value,children:T.label},T.value))}):e.type==="multiselect"?y.jsx(q5,{value:Array.isArray(o)?o.join(", "):"",onChange:(T,E)=>n(e.id,E.value.split(",").map(R=>R.trim()).filter(Boolean))}):e.type==="checkboxes"?y.jsx("div",{className:c.checkboxList,children:(e.options||[]).map(T=>{const E=Array.isArray(o)&&o.includes(T.value);return y.jsx(xm,{label:T.label,checked:E,onChange:(R,F)=>{const O=Array.isArray(o)?[...o]:[];n(e.id,F.checked?Array.from(new Set([...O,T.value])):O.filter(X=>X!==T.value))}},T.value)})}):y.jsxs(Dt,{children:["Unsupported question type: ",e.type]})}),e.help&&y.jsx(Ji,{className:c.help,children:Ix(e.help)})]})}function hF({question:e,answers:o,value:n,onChange:a,showError:l}){const c=Mm();return Om(e,o)?null:y.jsx("div",{className:c.card,children:y.jsx(Q5,{question:e,answers:o,value:n,onChange:a,showError:l})})}function pF({group:e,questions:o,answers:n,onChange:a,showError:l}){const c=Mm(),u=o.filter(d=>!Om(d,n));return u.length===0?null:y.jsxs("div",{className:c.card,children:[y.jsxs("div",{className:c.groupHeader,children:[y.jsx(go,{className:c.groupTitle,children:e.label}),e.help&&y.jsx(Ji,{className:c.help,children:e.help})]}),y.jsx("div",{className:c.groupItems,children:u.map((d,h)=>y.jsx("div",{className:`${c.groupItem} ${h===0?c.firstGroupItem:""}`,children:y.jsx(Q5,{question:d,answers:n,value:n[d.id],onChange:a,showError:l})},d.id))})]})}const gF=Oo({root:{height:"100%",display:"grid",gridTemplateRows:"auto 1fr auto",backgroundColor:A.colorNeutralBackground3,borderRadius:"10px",overflow:"hidden",border:`1px solid ${A.colorNeutralStroke2}`},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground4},spacer:{flex:1},output:{margin:0,padding:"12px 16px",overflowY:"auto",fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,lineHeight:A.lineHeightBase200,color:A.colorNeutralForeground1,whiteSpace:"pre-wrap",wordBreak:"break-word"},err:{color:A.colorPaletteRedForeground1},info:{color:A.colorNeutralForeground3,fontStyle:"italic"},footer:{display:"flex",alignItems:"center",gap:"8px",padding:"6px 12px",borderTop:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground4,color:A.colorNeutralForeground3,minHeight:"28px"},footerIdle:{color:A.colorPaletteDarkOrangeForeground1}});function Ux(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 mF({lines:e,status:o,onClear:n}){var x;const a=gF(),l=b.useRef(null);b.useEffect(()=>{l.current&&(l.current.scrollTop=l.current.scrollHeight)},[e]);const c=e.length,u=((x=e[c-1])==null?void 0:x.text)??"",[d,h]=b.useState(null),[p,v]=b.useState(()=>Date.now()),[m,w]=b.useState(()=>Date.now());b.useEffect(()=>{o==="running"?(h(C=>C??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 C=window.setInterval(()=>w(Date.now()),1e3);return()=>window.clearInterval(C)},[o]);const B=b.useMemo(()=>{if(o!=="running"||d===null)return null;const C=m-d,j=m-p>2e4;return{label:j?`Still working — waiting on npm / network… (running for ${Ux(C)})`:`Running for ${Ux(C)}`,idle:j}},[o,d,m,p]);function k(){const C=e.map(T=>T.text).join(""),_=new Blob([C],{type:"text/plain"}),j=URL.createObjectURL(_),z=document.createElement("a");z.href=j,z.download=`wizardux-log-${Date.now()}.txt`,z.click(),URL.revokeObjectURL(j)}return y.jsxs("div",{className:a.root,children:[y.jsxs("div",{className:a.toolbar,children:[y.jsx(Xa,{children:"Live output"}),y.jsx(Dt,{style:{color:o==="error"?A.colorPaletteRedForeground1:o==="done"?A.colorPaletteGreenForeground1:A.colorNeutralForeground3},children:o==="idle"?"Idle":o==="running"?"Running…":o==="done"?"Complete":"Failed"}),y.jsx("div",{className:a.spacer}),y.jsx(et,{appearance:"subtle",size:"small",icon:y.jsx(wS,{}),onClick:k,disabled:e.length===0,children:"Save"}),n&&y.jsx(et,{appearance:"subtle",size:"small",icon:y.jsx(pj,{}),onClick:n,disabled:e.length===0,children:"Clear"})]}),y.jsx("pre",{ref:l,className:a.output,"aria-live":"polite",children:e.length===0?y.jsx("span",{className:a.info,children:"No output yet. Save the form to begin."}):e.map((C,_)=>y.jsx("span",{className:C.stream==="stderr"?a.err:void 0,children:C.text},_))}),B&&y.jsx("div",{className:`${a.footer}${B.idle?` ${a.footerIdle}`:""}`,"aria-live":"polite",children:y.jsx(Dt,{style:{color:"inherit"},children:B.label})})]})}const vF=Oo({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 ${A.colorNeutralStroke2}`,marginBottom:"8px"},stepBadge:{width:"36px",height:"36px",borderRadius:"10px",display:"grid",placeItems:"center",fontWeight:700,fontSize:"15px",flexShrink:0},stepBadgePending:{background:A.colorNeutralBackground3,color:A.colorNeutralForeground2},stepBadgeDone:{background:A.colorPaletteGreenBackground2,color:A.colorPaletteGreenForeground1},stepBadgeBrand:{background:Zt.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 ${A.colorNeutralStroke2}`,marginTop:"8px"},spacer:{flex:1},inlineLog:{marginTop:"4px",border:`1px solid ${A.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 ${A.colorPaletteGreenBorder1}`},successIcon:{fontSize:"24px",color:A.colorPaletteGreenForeground1,flexShrink:0},successText:{flex:1},ctaPrimary:{background:Zt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow4,minWidth:"160px",height:"40px",fontWeight:600},terminalNote:{display:"flex",alignItems:"center",gap:"10px",padding:"14px 16px",borderRadius:"10px",background:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,color:A.colorNeutralForeground2},terminalIcon:{fontSize:"20px",color:A.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 ${A.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:A.colorBrandForeground1,padding:"8px 16px",background:A.colorNeutralBackground1,borderRadius:"8px",border:`1px solid ${A.colorNeutralStroke2}`,userSelect:"all"}});function bF(){var J,se,me,_e,Fe,Bt,ft,kn,pa,ri,Ol,Sr;const e=vF(),o=v4(),n=Math.max(1,Math.min(11,parseInt(o.n||"1",10))),a=nc(),l=ic(),c=Dm(),u=Zd(),d=nF(n),[h,p]=b.useState({}),[v,m]=b.useState({}),[w,B]=b.useState(!1),[k,x]=b.useState(null),C=b.useRef(null),_=b.useMemo(()=>{var qe;return JSON.stringify((((qe=d.data)==null?void 0:qe.questions)??[]).map(tt=>[tt.id,tt.defaultValue??""]))},[(J=d.data)==null?void 0:J.questions]);b.useEffect(()=>{if(!d.data)return;const qe={};for(const tt of d.data.questions)qe[tt.id]=tt.defaultValue??"";p(qe),m(qe),B(!1)},[(se=d.data)==null?void 0:se.meta.number,_]),b.useEffect(()=>{x(null)},[n]);const j=M2({mutationFn:qe=>gr.apply(n,qe),onSuccess:qe=>{x(qe.runId)}}),z=lF(n,k);b.useEffect(()=>{z.status==="done"&&(C.current&&(m(C.current),C.current=null),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["steps"]}),l.invalidateQueries({queryKey:["questions"]}))},[z.status,l,n]);const T=b.useMemo(()=>z.lines.some(qe=>qe.stream==="stderr"),[z.lines]),E=b.useRef(null);b.useEffect(()=>{var qe,tt,Wt;if(z.status==="done"&&!T){const Fo=((qe=c.data)==null?void 0:qe.totalSteps)??9;if(n>=Fo||(Wt=(tt=d.data)==null?void 0:tt.meta)!=null&&Wt.noAutoAdvance)return;E.current=setTimeout(()=>{a(`/step/${n+1}`)},1500)}return()=>{E.current&&clearTimeout(E.current)}},[z.status,n,(me=c.data)==null?void 0:me.totalSteps,a,T,(Fe=(_e=d.data)==null?void 0:_e.meta)==null?void 0:Fe.noAutoAdvance]);const R=(Bt=d.data)==null?void 0:Bt.meta,F=(R==null?void 0:R.manual)===!0,O=((ft=d.data)==null?void 0:ft.questions)??[],{primaryBlocks:X,advancedBlocks:ee}=b.useMemo(()=>{const qe=Fo=>{const ar=[];for(const kr of Fo){if(!kr.group){ar.push({kind:"question",question:kr});continue}const Hr=ar[ar.length-1];(Hr==null?void 0:Hr.kind)==="group"&&Hr.group.id===kr.group.id?Hr.questions.push(kr):ar.push({kind:"group",group:kr.group,questions:[kr]})}return ar},tt=O.filter(Fo=>!Fo.advanced),Wt=O.filter(Fo=>Fo.advanced);return{primaryBlocks:qe(tt),advancedBlocks:qe(Wt)}},[O]),he=b.useMemo(()=>JSON.stringify(h)!==JSON.stringify(v),[h,v]),ie=b.useRef(null);b.useEffect(()=>{if(d.data&&he)return ie.current&&clearTimeout(ie.current),ie.current=setTimeout(()=>{const qe={};for(const tt of Object.keys(h))JSON.stringify(h[tt])!==JSON.stringify(v[tt])&&(qe[tt]=h[tt]);Object.keys(qe).length>0&&gr.saveState(qe).catch(()=>{})},600),()=>{ie.current&&clearTimeout(ie.current)}},[h,v,he,d.data]);const ue=b.useMemo(()=>{if(!(R!=null&&R.canRunInBrowser))return[];const qe=[];for(const tt of O)Om(tt,h)||tt.required&&(h[tt.id]==null||h[tt.id]==="")&&qe.push(tt.label);return qe},[O,h,R]);function le(){if(R!=null&&R.canRunInBrowser){if(O.length>0&&ue.length>0){B(!0);return}C.current=h,j.mutate(h)}}const Q=((pa=(kn=c.data)==null?void 0:kn.steps.find(qe=>qe.number===n))==null?void 0:pa.status)??"pending",L=j.isPending||z.status==="running",te=z.status==="done",oe=((ri=c.data)==null?void 0:ri.totalSteps)??9,fe=n>=oe,Se=R==null?void 0:R.canRunInBrowser,q=L?R!=null&&R.readOnly?"Checking…":"Running…":te&&T?fe?"Finish":"Continue":te?fe?"Finish":"Continuing…":Q==="done"&&he?"Save & re-run":R!=null&&R.readOnly?"Run checks":Q==="done"?"Re-run":O.length===0?"Run":"Save & run";function U(){if(te){E.current&&clearTimeout(E.current),a(fe?"/summary":`/step/${n+1}`);return}le()}if(F){const qe=((Ol=u.data)==null?void 0:Ol.solution)??{displayName:"",uniqueName:"",appName:"",makerPortalUrl:"https://make.powerapps.com/",linkTarget:"portal"};return y.jsxs("div",{className:e.root,children:[c.data&&y.jsx(Px,{steps:c.data.steps,current:n}),y.jsx("div",{className:e.main,children:y.jsx("div",{className:e.pane,children:y.jsx("div",{className:e.formWrap,children:y.jsx(uF,{solution:qe,stepNumber:n,totalSteps:oe,onBack:()=>a(n<=1?"/":`/step/${n-1}`),onFinish:async()=>{try{await gr.saveState({COMPLETED_STEP:n}),await l.invalidateQueries({queryKey:["state"]}),await l.invalidateQueries({queryKey:["steps"]})}catch{}a("/summary")}})})})})]})}return y.jsxs("div",{className:e.root,children:[c.data&&y.jsx(Px,{steps:c.data.steps,current:n}),y.jsx("div",{className:e.main,children:y.jsx("div",{className:e.pane,children:y.jsxs("div",{className:e.formWrap,children:[y.jsxs("div",{className:e.header,children:[y.jsx("div",{className:[e.stepBadge,Q==="done"?e.stepBadgeDone:Q==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:Q==="done"?y.jsx(Fr,{}):n}),y.jsxs("div",{className:e.headerText,children:[y.jsx(kd,{style:{margin:0},children:(R==null?void 0:R.title)||"Loading…"}),y.jsxs(Dt,{style:{color:A.colorNeutralForeground3},children:["Step ",n," of ",oe,R!=null&&R.optional?" · optional":""]})]})]}),(R==null?void 0:R.description)&&y.jsx(go,{style:{color:A.colorNeutralForeground2},children:R.description}),d.isLoading&&(n===8?y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[y.jsx(pn,{size:"small"}),y.jsx(Dt,{style:{color:A.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):y.jsx(pn,{size:"small"})),R&&!Se&&y.jsxs("div",{className:e.terminalNote,children:[y.jsx(xS,{className:e.terminalIcon}),y.jsx(go,{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."})]}),Se&&O.length>0&&y.jsx("div",{className:e.questions,children:(()=>{const qe=(Wt,Fo)=>p(ar=>({...ar,[Wt]:Fo})),tt=Wt=>Wt.kind==="group"?y.jsx(pF,{group:Wt.group,questions:Wt.questions,answers:h,onChange:qe,showError:w},Wt.group.id):y.jsx(hF,{question:Wt.question,answers:h,value:h[Wt.question.id],onChange:qe,showError:w},Wt.question.id);return y.jsxs(y.Fragment,{children:[X.map(tt),ee.length>0&&y.jsx(sS,{collapsible:!0,children:y.jsxs(dS,{value:"advanced",children:[y.jsx(MS,{children:"Advanced options"}),y.jsx(HS,{children:y.jsx("div",{className:e.questions,children:ee.map(tt)})})]})})]})})()}),j.isError&&y.jsx(or,{intent:"error",children:y.jsx(rr,{children:j.error.message})}),z.status==="error"&&y.jsx(or,{intent:"error",children:y.jsx(rr,{children:z.error||"Step failed — see output above."})}),((Sr=z.deviceCode)==null?void 0:Sr.code)&&z.status==="running"&&y.jsxs("div",{className:e.deviceCodeCard,children:[y.jsxs("div",{className:e.deviceCodeHeader,children:[y.jsx(pd,{style:{color:A.colorBrandForeground1}}),y.jsx(go,{children:"Sign in with a device code"})]}),y.jsx(Dt,{style:{color:A.colorNeutralForeground3},children:"Open the link below, then enter the code to authenticate."}),y.jsxs("div",{className:e.deviceCodeBody,children:[y.jsx("span",{className:e.deviceCodeValue,children:z.deviceCode.code}),y.jsx(et,{appearance:"subtle",icon:y.jsx(ej,{}),onClick:()=>navigator.clipboard.writeText(z.deviceCode.code),children:"Copy code"})]}),y.jsxs(et,{appearance:"primary",icon:y.jsx(pd,{}),as:"a",href:z.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",z.deviceCode.url]})]}),te&&y.jsxs("div",{className:e.successBanner,children:[y.jsx(Fr,{className:e.successIcon}),y.jsxs("div",{className:e.successText,children:[y.jsx(go,{style:{fontWeight:600},children:fe?"All steps complete!":T?"Step complete — review items above":"Step complete"}),y.jsx(Dt,{style:{color:A.colorNeutralForeground3},children:fe?"Review the deploy log above, then click View summary when ready.":R!=null&&R.noAutoAdvance?"Review the deploy log above, then continue to the final step.":T?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),y.jsx(et,{className:e.ctaPrimary,iconPosition:"after",icon:y.jsx(Dr,{}),onClick:()=>{E.current&&clearTimeout(E.current),a(fe?"/summary":`/step/${n+1}`)},children:fe?"View summary":"Continue now"})]}),n===7&&L&&y.jsx(or,{intent:"info",children:y.jsxs(rr,{children:[y.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."]})}),Se&&(z.status==="running"||z.lines.length>0)&&y.jsx("div",{className:e.inlineLog,children:y.jsx(mF,{lines:z.lines,status:z.status})}),y.jsxs("div",{className:e.actions,children:[y.jsx(et,{appearance:"subtle",icon:y.jsx(SS,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),y.jsx("div",{className:e.spacer}),Se?y.jsx(et,{appearance:"primary",icon:L?y.jsx(pn,{size:"tiny"}):te?y.jsx(Dr,{}):y.jsx(aj,{}),iconPosition:te?"after":"before",onClick:U,disabled:L,children:q}):y.jsx(et,{appearance:"primary",iconPosition:"after",icon:y.jsx(Dr,{}),onClick:()=>{a(fe?"/summary":`/step/${n+1}`)},children:fe?"Finish":"Next"})]})]})})})]})}const yF=Oo({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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow4,fontSize:A.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:A.colorBrandForeground1},title:{margin:0,background:Zt.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:A.colorNeutralForeground2,fontSize:A.fontSizeBase400,lineHeight:1.55,maxWidth:"620px"}});function Z5({eyebrowIcon:e,eyebrow:o,title:n,subtitle:a}){const l=yF();return y.jsxs("div",{className:l.hero,children:[y.jsx(X5,{}),y.jsxs("div",{className:l.inner,children:[y.jsxs("div",{className:l.pill,children:[e,o]}),y.jsx("h1",{className:l.title,children:n}),a&&y.jsx(go,{className:l.subtitle,children:a})]})]})}const Y5=Oo({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:Zt.accentSoft,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow8,display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},progressText:{flex:1,minWidth:"240px"},progressBar:{width:"100%",height:"6px",borderRadius:"999px",background:A.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},progressFill:{height:"100%",background:Zt.accent,transition:"width 280ms ease"},sectionLabel:{display:"block",color:A.colorBrandForeground1,fontSize:A.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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,transition:"transform 220ms cubic-bezier(0.1,0.9,0.2,1), box-shadow 220ms",":hover":{transform:"translateY(-2px)",boxShadow:A.shadow8}},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:A.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:Zt.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:A.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},fieldLabel:{color:A.colorNeutralForeground3,fontWeight:500},fieldVal:{fontFamily:A.fontFamilyMonospace,color:A.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},fieldEmpty:{color:A.colorNeutralForeground4,fontStyle:"italic",fontFamily:A.fontFamilyBase},stepRow:{display:"flex",alignItems:"center",gap:"10px",paddingTop:"8px",paddingBottom:"8px"},stepIconDone:{color:A.colorPaletteGreenForeground1,fontSize:"18px"},stepIconCurrent:{color:A.colorBrandForeground1,fontSize:"12px"},stepIconPending:{color:A.colorNeutralForeground4,fontSize:"14px"},actions:{display:"flex",justifyContent:"center",gap:"12px",flexWrap:"wrap",marginTop:"8px"},ctaPrimary:{background:Zt.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:A.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:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow8,display:"grid",gap:"14px"},launchTitle:{margin:0,color:A.colorNeutralForeground1,letterSpacing:"-0.01em"},launchUrl:{display:"block",padding:"12px 14px",borderRadius:"10px",textDecorationLine:"none",fontFamily:A.fontFamilyMonospace,background:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,color:A.colorBrandForeground1,overflowWrap:"anywhere",":hover":{textDecorationLine:"underline"}},launchActions:{display:"flex",gap:"10px",flexWrap:"wrap"},launchBtn:{background:Zt.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:A.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function eo({label:e,value:o}){const n=Y5(),a=!o||o.trim()==="";return y.jsxs("div",{className:n.field,children:[y.jsx(Dt,{className:n.fieldLabel,children:e}),y.jsx(Dt,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":o})]})}function xF(){var m,w,B,k,x,C,_,j,z;const e=Y5(),o=Zd(),n=Dm(),a=((m=o.data)==null?void 0:m.state)??{},l=((w=o.data)==null?void 0:w.completed)??0,c=((B=o.data)==null?void 0:B.totalSteps)??9,u=((k=o.data)==null?void 0:k.next)??1,d=Math.round(l/Math.max(1,c)*100),h=l>=c,p=((C=(x=o.data)==null?void 0:x.powerApp)==null?void 0:C.launchUrl)||"",v=((j=(_=o.data)==null?void 0:_.powerApp)==null?void 0:j.targetEnv)||a.WIZARD_TARGET_ENV||"dev";return y.jsxs("div",{className:e.root,children:[y.jsx(Z5,{eyebrowIcon:y.jsx(Ui,{}),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."}),y.jsxs("div",{className:e.body,children:[y.jsxs("div",{className:e.progressCard,children:[y.jsxs("div",{className:e.progressText,children:[y.jsx(Qo,{style:{display:"block",color:A.colorBrandForeground1,marginBottom:"4px"},children:h?"Setup complete":"In progress"}),y.jsxs(fn,{style:{margin:0},children:[l," of ",c," steps complete · ",d,"%"]}),y.jsx("div",{className:e.progressBar,"aria-hidden":!0,children:y.jsx("div",{className:e.progressFill,style:{width:`${d}%`}})})]}),!h&&y.jsx(un,{to:`/step/${u}`,children:y.jsx(et,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:y.jsx(Dr,{}),children:"Continue setup"})}),h&&p&&y.jsx(et,{className:e.ctaPrimary,size:"large",as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:y.jsx(Dr,{}),children:"Open Power App"})]}),h&&y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Launch"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"You did it. Your app is ready to launch."}),y.jsx("div",{className:e.launchCard,style:{marginTop:"16px"},children:p?y.jsxs(y.Fragment,{children:[y.jsxs(Qo,{className:e.launchTitle,children:["Power Apps URL (",String(v).toUpperCase(),")"]}),y.jsx("a",{className:e.launchUrl,href:p,target:"_blank",rel:"noopener noreferrer",children:p}),y.jsx("div",{className:e.launchActions,children:y.jsx(et,{className:e.launchBtn,as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:y.jsx(Dr,{}),children:"Launch App Now"})})]}):y.jsxs(y.Fragment,{children:[y.jsx(Qo,{className:e.launchTitle,children:"Power Apps URL not available yet"}),y.jsx(Dt,{children:'Complete Step 9 with "Push to Power Platform" enabled to generate and surface your launch URL here.'})]})})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Project values"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"What the wizard knows about your app"}),y.jsxs("div",{className:e.grid,style:{marginTop:"20px"},children:[y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Project"})]}),y.jsx(eo,{label:"App name",value:a.APP_NAME}),y.jsx(eo,{label:"Project dir",value:a.PROJECT_DIR})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Environments"})]}),y.jsx(eo,{label:"Dev",value:a.PP_ENV_DEV}),y.jsx(eo,{label:"Test",value:a.PP_ENV_TEST}),y.jsx(eo,{label:"Prod",value:a.PP_ENV_PROD}),y.jsx(eo,{label:"Active target",value:a.WIZARD_TARGET_ENV})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Identity"})]}),y.jsx(eo,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"Credential storage",value:a.AUTH_MODE})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Publisher"})]}),y.jsx(eo,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),y.jsx(eo,{label:"Prefix",value:a.PUBLISHER_PREFIX}),y.jsx(eo,{label:"Choice value prefix",value:a.CHOICE_VALUE_PREFIX})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Solution"})]}),y.jsx(eo,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),y.jsx(eo,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),y.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&y.jsx(pn,{size:"small"}),(z=n.data)==null?void 0:z.steps.map(T=>y.jsxs("div",{className:e.stepRow,children:[T.status==="done"&&y.jsx(Fr,{className:e.stepIconDone}),T.status==="current"&&y.jsx(sm,{className:e.stepIconCurrent}),T.status==="pending"&&y.jsx(cm,{className:e.stepIconPending}),y.jsxs(go,{style:{flex:1},children:[y.jsx("span",{style:{color:A.colorNeutralForeground3,marginRight:"8px"},children:String(T.number).padStart(2,"0")}),T.title]}),T.status==="done"&&y.jsx(Yo,{appearance:"filled",color:"success",size:"small",children:"Done"}),T.status==="current"&&y.jsx(Yo,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},T.number))]})]}),!o.data&&y.jsx(or,{intent:"info",children:y.jsx(rr,{children:"Loading state…"})}),y.jsxs("div",{className:e.actions,children:[y.jsx(un,{to:"/",children:y.jsx(et,{appearance:"subtle",icon:y.jsx(kS,{}),children:"Home"})}),!h&&y.jsx(un,{to:`/step/${u}`,children:y.jsx(et,{className:e.ctaPrimary,iconPosition:"after",icon:y.jsx(Dr,{}),children:"Continue setup"})})]})]})]})}const J5=Oo({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:A.colorBrandForeground1,fontSize:A.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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:A.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:Zt.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:A.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},rowLabel:{color:A.colorNeutralForeground3,display:"flex",alignItems:"center",gap:"6px"},rowVal:{fontFamily:A.fontFamilyMonospace,color:A.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},rowValMissing:{color:A.colorPaletteRedForeground1,fontStyle:"italic",fontFamily:A.fontFamilyBase},pre:{margin:0,padding:"16px",background:A.colorNeutralBackground3,borderRadius:"10px",overflowX:"auto",fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,lineHeight:1.6,color:A.colorNeutralForeground1,maxHeight:"480px",overflowY:"auto"}});function Da({icon:e,label:o,value:n,ok:a,neutral:l}){const c=J5(),u=!n,d=l?y.jsx(gd,{style:{color:A.colorBrandForeground1}}):a?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(Bj,{style:{color:A.colorPaletteRedForeground1}});return y.jsxs("div",{className:c.row,children:[y.jsxs(Dt,{className:c.rowLabel,children:[d,e,o]}),y.jsx(Dt,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function wF(){var l;const e=J5(),o=$5(),n=Zd(),a=o.data;return y.jsxs("div",{className:e.root,children:[y.jsx(Z5,{eyebrowIcon:y.jsx(ij,{}),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."}),y.jsxs("div",{className:e.body,children:[!a&&y.jsx(pn,{size:"medium"}),a&&y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Environment"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"Tooling and host detection"}),y.jsxs("div",{className:e.grid,children:[y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(bS,{})}),y.jsx(Qo,{children:"Host"})]}),y.jsx(Da,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),y.jsx(Da,{ok:!!a.node,label:"Node.js",value:a.node}),y.jsx(Da,{ok:!!a.git,label:"Git",value:a.git}),y.jsx(Da,{ok:!!a.dotnet,label:".NET SDK",value:a.dotnet})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(gj,{})}),y.jsx(Qo,{children:"Power Platform tooling"})]}),y.jsx(Da,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),y.jsxs("div",{className:e.row,children:[y.jsxs(Dt,{className:e.rowLabel,children:[a.op?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(gd,{style:{color:A.colorBrandForeground1}}),"1Password CLI"]}),y.jsx(Yo,{appearance:"filled",color:a.op?"success":"informative",children:a.op?a.op:"optional · not installed"})]})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(hj,{})}),y.jsx(Qo,{children:"Repository"})]}),y.jsx(Da,{neutral:!0,label:"Branch",value:a.branch}),y.jsxs("div",{className:e.row,children:[y.jsxs(Dt,{className:e.rowLabel,children:[a.repoIsClean?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(gd,{style:{color:A.colorPaletteYellowForeground1}}),"Working tree"]}),y.jsx(Yo,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),y.jsx(Da,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Raw state"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),y.jsx(go,{style:{color:A.colorNeutralForeground2,marginTop:"8px",marginBottom:"16px"},children:"The exact contents the server sees on disk. This is what every step reads from and writes to."}),y.jsx("pre",{className:e.pre,children:JSON.stringify(((l=n.data)==null?void 0:l.state)??{},null,2)})]})]})]})}const SF=Oo({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:A.colorNeutralBackground1,color:A.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function kF(){const e=SF();return y.jsxs("div",{className:e.root,children:[y.jsx(oF,{}),y.jsx("div",{className:e.body,children:y.jsxs(A4,{children:[y.jsx(Gi,{path:"/",element:y.jsx(iF,{})}),y.jsx(Gi,{path:"/step/:n",element:y.jsx(bF,{})}),y.jsx(Gi,{path:"/summary",element:y.jsx(xF,{})}),y.jsx(Gi,{path:"/diagnostics",element:y.jsx(wF,{})}),y.jsx(Gi,{path:"*",element:y.jsx(j4,{to:"/",replace:!0})})]})})]})}const BF=new q_({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),_F=document.getElementById("root");AB.createRoot(_F).render(y.jsx(b.StrictMode,{children:y.jsx(H_,{client:BF,children:y.jsx($O,{children:y.jsx(r_,{children:y.jsx(kF,{})})})})}));
|