function dm(n,r){for(var l=0;li[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const f of s)if(f.type==="childList")for(const v of f.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&i(v)}).observe(document,{childList:!0,subtree:!0});function l(s){const f={};return s.integrity&&(f.integrity=s.integrity),s.referrerPolicy&&(f.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?f.credentials="include":s.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function i(s){if(s.ep)return;s.ep=!0;const f=l(s);fetch(s.href,f)}})();function xs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Fc={exports:{}},yr={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Pv;function pp(){if(Pv)return yr;Pv=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function l(i,s,f){var v=null;if(f!==void 0&&(v=""+f),s.key!==void 0&&(v=""+s.key),"key"in s){f={};for(var m in s)m!=="key"&&(f[m]=s[m])}else f=s;return s=f.ref,{$$typeof:n,type:i,key:v,ref:s!==void 0?s:null,props:f}}return yr.Fragment=r,yr.jsx=l,yr.jsxs=l,yr}var Zv;function yp(){return Zv||(Zv=1,Fc.exports=pp()),Fc.exports}var H=yp();const xp=xs(H),Sp=dm({__proto__:null,default:xp},[H]);var Uc={exports:{}},ie={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Xv;function _p(){if(Xv)return ie;Xv=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),v=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),x=Symbol.iterator;function _(B){return B===null||typeof B!="object"?null:(B=x&&B[x]||B["@@iterator"],typeof B=="function"?B:null)}var z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,O={};function D(B,P,K){this.props=B,this.context=P,this.refs=O,this.updater=K||z}D.prototype.isReactComponent={},D.prototype.setState=function(B,P){if(typeof B!="object"&&typeof B!="function"&&B!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,B,P,"setState")},D.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function U(){}U.prototype=D.prototype;function R(B,P,K){this.props=B,this.context=P,this.refs=O,this.updater=K||z}var V=R.prototype=new U;V.constructor=R,k(V,D.prototype),V.isPureReactComponent=!0;var X=Array.isArray;function Y(){}var G={H:null,A:null,T:null,S:null},le=Object.prototype.hasOwnProperty;function Xe(B,P,K){var $=K.ref;return{$$typeof:n,type:B,key:P,ref:$!==void 0?$:null,props:K}}function Ue(B,P){return Xe(B.type,P,B.props)}function et(B){return typeof B=="object"&&B!==null&&B.$$typeof===n}function W(B){var P={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(K){return P[K]})}var pe=/\/+/g;function at(B,P){return typeof B=="object"&&B!==null&&B.key!=null?W(""+B.key):P.toString(36)}function vt(B){switch(B.status){case"fulfilled":return B.value;case"rejected":throw B.reason;default:switch(typeof B.status=="string"?B.then(Y,Y):(B.status="pending",B.then(function(P){B.status==="pending"&&(B.status="fulfilled",B.value=P)},function(P){B.status==="pending"&&(B.status="rejected",B.reason=P)})),B.status){case"fulfilled":return B.value;case"rejected":throw B.reason}}throw B}function M(B,P,K,$,ue){var fe=typeof B;(fe==="undefined"||fe==="boolean")&&(B=null);var ze=!1;if(B===null)ze=!0;else switch(fe){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(B.$$typeof){case n:case r:ze=!0;break;case y:return ze=B._init,M(ze(B._payload),P,K,$,ue)}}if(ze)return ue=ue(B),ze=$===""?"."+at(B,0):$,X(ue)?(K="",ze!=null&&(K=ze.replace(pe,"$&/")+"/"),M(ue,P,K,"",function(Ba){return Ba})):ue!=null&&(et(ue)&&(ue=Ue(ue,K+(ue.key==null||B&&B.key===ue.key?"":(""+ue.key).replace(pe,"$&/")+"/")+ze)),P.push(ue)),1;ze=0;var ht=$===""?".":$+":";if(X(B))for(var Le=0;Le>>1,Be=M[Se];if(0>>1;Ses(K,oe))$s(ue,K)?(M[Se]=ue,M[$]=oe,Se=$):(M[Se]=K,M[P]=oe,Se=P);else if($s(ue,oe))M[Se]=ue,M[$]=oe,Se=$;else break e}}return Q}function s(M,Q){var oe=M.sortIndex-Q.sortIndex;return oe!==0?oe:M.id-Q.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var v=Date,m=v.now();n.unstable_now=function(){return v.now()-m}}var g=[],h=[],y=1,p=null,x=3,_=!1,z=!1,k=!1,O=!1,D=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function V(M){for(var Q=l(h);Q!==null;){if(Q.callback===null)i(h);else if(Q.startTime<=M)i(h),Q.sortIndex=Q.expirationTime,r(g,Q);else break;Q=l(h)}}function X(M){if(k=!1,V(M),!z)if(l(g)!==null)z=!0,Y||(Y=!0,W());else{var Q=l(h);Q!==null&&vt(X,Q.startTime-M)}}var Y=!1,G=-1,le=5,Xe=-1;function Ue(){return O?!0:!(n.unstable_now()-XeM&&Ue());){var Se=p.callback;if(typeof Se=="function"){p.callback=null,x=p.priorityLevel;var Be=Se(p.expirationTime<=M);if(M=n.unstable_now(),typeof Be=="function"){p.callback=Be,V(M),Q=!0;break t}p===l(g)&&i(g),V(M)}else i(g);p=l(g)}if(p!==null)Q=!0;else{var B=l(h);B!==null&&vt(X,B.startTime-M),Q=!1}}break e}finally{p=null,x=oe,_=!1}Q=void 0}}finally{Q?W():Y=!1}}}var W;if(typeof R=="function")W=function(){R(et)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,at=pe.port2;pe.port1.onmessage=et,W=function(){at.postMessage(null)}}else W=function(){D(et,0)};function vt(M,Q){G=D(function(){M(n.unstable_now())},Q)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(M){M.callback=null},n.unstable_forceFrameRate=function(M){0>M||125Se?(M.sortIndex=oe,r(h,M),l(g)===null&&M===l(h)&&(k?(U(G),G=-1):k=!0,vt(X,oe-Se))):(M.sortIndex=Be,r(g,M),z||_||(z=!0,Y||(Y=!0,W()))),M},n.unstable_shouldYield=Ue,n.unstable_wrapCallback=function(M){var Q=x;return function(){var oe=x;x=Q;try{return M.apply(this,arguments)}finally{x=oe}}}})(Pc)),Pc}var Qv;function vm(){return Qv||(Qv=1,Gc.exports=wp()),Gc.exports}var Zc={exports:{}},ft={};/** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Kv;function zp(){if(Kv)return ft;Kv=1;var n=Ss();function r(g){var h="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Zc.exports=zp(),Zc.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Iv;function kp(){if(Iv)return xr;Iv=1;var n=vm(),r=Ss(),l=hm();function i(e){var t="https://react.dev/errors/"+e;if(1Be||(e.current=Se[Be],Se[Be]=null,Be--)}function K(e,t){Be++,Se[Be]=e.current,e.current=t}var $=B(null),ue=B(null),fe=B(null),ze=B(null);function ht(e,t){switch(K(fe,t),K(ue,e),K($,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?dv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=dv(t),e=vv(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}P($),K($,e)}function Le(){P($),P(ue),P(fe)}function Ba(e){e.memoizedState!==null&&K(ze,e);var t=$.current,o=vv(t,e.type);t!==o&&(K(ue,e),K($,o))}function Ar(e){ue.current===e&&(P($),P(ue)),ze.current===e&&(P(ze),mr._currentValue=oe)}var Si,Ls;function ln(e){if(Si===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);Si=t&&t[1]||"",Ls=-1)":-1u||S[a]!==j[u]){var q=` `+S[a].replace(" at new "," at ");return e.displayName&&q.includes("")&&(q=q.replace("",e.displayName)),q}while(1<=a&&0<=u);break}}}finally{_i=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?ln(o):""}function K1(e,t){switch(e.tag){case 26:case 27:case 5:return ln(e.type);case 16:return ln("Lazy");case 13:return e.child!==t&&t!==null?ln("Suspense Fallback"):ln("Suspense");case 19:return ln("SuspenseList");case 0:case 15:return wi(e.type,!1);case 11:return wi(e.type.render,!1);case 1:return wi(e.type,!0);case 31:return ln("Activity");default:return""}}function Gs(e){try{var t="",o=null;do t+=K1(e,o),o=e,e=e.return;while(e);return t}catch(a){return` Error generating stack: `+a.message+` `+a.stack}}var zi=Object.prototype.hasOwnProperty,ki=n.unstable_scheduleCallback,Bi=n.unstable_cancelCallback,W1=n.unstable_shouldYield,I1=n.unstable_requestPaint,Bt=n.unstable_now,J1=n.unstable_getCurrentPriorityLevel,Ps=n.unstable_ImmediatePriority,Zs=n.unstable_UserBlockingPriority,Cr=n.unstable_NormalPriority,$1=n.unstable_LowPriority,Xs=n.unstable_IdlePriority,eg=n.log,tg=n.unstable_setDisableYieldValue,Ta=null,Tt=null;function Ao(e){if(typeof eg=="function"&&tg(e),Tt&&typeof Tt.setStrictMode=="function")try{Tt.setStrictMode(Ta,e)}catch{}}var Et=Math.clz32?Math.clz32:ag,og=Math.log,ng=Math.LN2;function ag(e){return e>>>=0,e===0?32:31-(og(e)/ng|0)|0}var Nr=256,Dr=262144,Rr=4194304;function un(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function qr(e,t,o){var a=e.pendingLanes;if(a===0)return 0;var u=0,c=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var b=a&134217727;return b!==0?(a=b&~c,a!==0?u=un(a):(d&=b,d!==0?u=un(d):o||(o=b&~e,o!==0&&(u=un(o))))):(b=a&~c,b!==0?u=un(b):d!==0?u=un(d):o||(o=a&~e,o!==0&&(u=un(o)))),u===0?0:t!==0&&t!==u&&(t&c)===0&&(c=u&-u,o=t&-t,c>=o||c===32&&(o&4194048)!==0)?t:u}function Ea(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rg(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Vs(){var e=Rr;return Rr<<=1,(Rr&62914560)===0&&(Rr=4194304),e}function Ti(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function ja(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function lg(e,t,o,a,u,c){var d=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var b=e.entanglements,S=e.expirationTimes,j=e.hiddenUpdates;for(o=d&~o;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var dg=/[\n"\\]/g;function Ft(e){return e.replace(dg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Di(e,t,o,a,u,c,d,b){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ht(t)):e.value!==""+Ht(t)&&(e.value=""+Ht(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Ri(e,d,Ht(t)):o!=null?Ri(e,d,Ht(o)):a!=null&&e.removeAttribute("value"),u==null&&c!=null&&(e.defaultChecked=!!c),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Ht(b):e.removeAttribute("name")}function rf(e,t,o,a,u,c,d,b){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||o!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){Ni(e);return}o=o!=null?""+Ht(o):"",t=t!=null?""+Ht(t):o,b||t===e.value||(e.value=t),e.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=b?e.checked:!!a,e.defaultChecked=!!a,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),Ni(e)}function Ri(e,t,o){t==="number"&&Hr(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function On(e,t,o,a){if(e=e.options,t){t={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fi=!1;if(fo)try{var Da={};Object.defineProperty(Da,"passive",{get:function(){Fi=!0}}),window.addEventListener("test",Da,Da),window.removeEventListener("test",Da,Da)}catch{Fi=!1}var No=null,Ui=null,Ur=null;function vf(){if(Ur)return Ur;var e,t=Ui,o=t.length,a,u="value"in No?No.value:No.textContent,c=u.length;for(e=0;e=Ma),yf=" ",xf=!1;function Sf(e,t){switch(e){case"keyup":return Ug.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _f(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ln=!1;function Gg(e,t){switch(e){case"compositionend":return _f(t);case"keypress":return t.which!==32?null:(xf=!0,yf);case"textInput":return e=t.data,e===yf&&xf?null:e;default:return null}}function Pg(e,t){if(Ln)return e==="compositionend"||!Xi&&Sf(e,t)?(e=vf(),Ur=Ui=No=null,Ln=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:o,offset:t-e};e=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Af(o)}}function Nf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Df(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Hr(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Hr(e.document)}return t}function Qi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Ig=fo&&"documentMode"in document&&11>=document.documentMode,Gn=null,Ki=null,Ua=null,Wi=!1;function Rf(e,t,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Wi||Gn==null||Gn!==Hr(a)||(a=Gn,"selectionStart"in a&&Qi(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Ua&&Fa(Ua,a)||(Ua=a,a=Dl(Ki,"onSelect"),0>=d,u-=d,ao=1<<32-Et(t)+u|o<se?(me=ee,ee=null):me=ee.sibling;var xe=C(T,ee,E[se],F);if(xe===null){ee===null&&(ee=me);break}e&&ee&&xe.alternate===null&&t(T,ee),w=c(xe,w,se),ye===null?te=xe:ye.sibling=xe,ye=xe,ee=me}if(se===E.length)return o(T,ee),ge&&ho(T,se),te;if(ee===null){for(;sese?(me=ee,ee=null):me=ee.sibling;var en=C(T,ee,xe.value,F);if(en===null){ee===null&&(ee=me);break}e&&ee&&en.alternate===null&&t(T,ee),w=c(en,w,se),ye===null?te=en:ye.sibling=en,ye=en,ee=me}if(xe.done)return o(T,ee),ge&&ho(T,se),te;if(ee===null){for(;!xe.done;se++,xe=E.next())xe=L(T,xe.value,F),xe!==null&&(w=c(xe,w,se),ye===null?te=xe:ye.sibling=xe,ye=xe);return ge&&ho(T,se),te}for(ee=a(ee);!xe.done;se++,xe=E.next())xe=N(ee,T,se,xe.value,F),xe!==null&&(e&&xe.alternate!==null&&ee.delete(xe.key===null?se:xe.key),w=c(xe,w,se),ye===null?te=xe:ye.sibling=xe,ye=xe);return e&&ee.forEach(function(bp){return t(T,bp)}),ge&&ho(T,se),te}function Ce(T,w,E,F){if(typeof E=="object"&&E!==null&&E.type===k&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case _:e:{for(var te=E.key;w!==null;){if(w.key===te){if(te=E.type,te===k){if(w.tag===7){o(T,w.sibling),F=u(w,E.props.children),F.return=T,T=F;break e}}else if(w.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===le&&yn(te)===w.type){o(T,w.sibling),F=u(w,E.props),Va(F,E),F.return=T,T=F;break e}o(T,w);break}else t(T,w);w=w.sibling}E.type===k?(F=hn(E.props.children,T.mode,F,E.key),F.return=T,T=F):(F=Wr(E.type,E.key,E.props,null,T.mode,F),Va(F,E),F.return=T,T=F)}return d(T);case z:e:{for(te=E.key;w!==null;){if(w.key===te)if(w.tag===4&&w.stateNode.containerInfo===E.containerInfo&&w.stateNode.implementation===E.implementation){o(T,w.sibling),F=u(w,E.children||[]),F.return=T,T=F;break e}else{o(T,w);break}else t(T,w);w=w.sibling}F=nu(E,T.mode,F),F.return=T,T=F}return d(T);case le:return E=yn(E),Ce(T,w,E,F)}if(vt(E))return J(T,w,E,F);if(W(E)){if(te=W(E),typeof te!="function")throw Error(i(150));return E=te.call(E),ne(T,w,E,F)}if(typeof E.then=="function")return Ce(T,w,nl(E),F);if(E.$$typeof===R)return Ce(T,w,$r(T,E),F);al(T,E)}return typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint"?(E=""+E,w!==null&&w.tag===6?(o(T,w.sibling),F=u(w,E),F.return=T,T=F):(o(T,w),F=ou(E,T.mode,F),F.return=T,T=F),d(T)):o(T,w)}return function(T,w,E,F){try{Xa=0;var te=Ce(T,w,E,F);return $n=null,te}catch(ee){if(ee===Jn||ee===tl)throw ee;var ye=At(29,ee,null,T.mode);return ye.lanes=F,ye.return=T,ye}finally{}}}var Sn=nd(!0),ad=nd(!1),Oo=!1;function mu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ho(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Fo(e,t,o){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(_e&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=Kr(e),Lf(e,null,o),t}return Qr(e,a,t,o),Kr(e)}function Ya(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Qs(e,o)}}function bu(e,t){var o=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var u=null,c=null;if(o=o.firstBaseUpdate,o!==null){do{var d={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};c===null?u=c=d:c=c.next=d,o=o.next}while(o!==null);c===null?u=c=t:c=c.next=t}else u=c=t;o={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var pu=!1;function Qa(){if(pu){var e=In;if(e!==null)throw e}}function Ka(e,t,o,a){pu=!1;var u=e.updateQueue;Oo=!1;var c=u.firstBaseUpdate,d=u.lastBaseUpdate,b=u.shared.pending;if(b!==null){u.shared.pending=null;var S=b,j=S.next;S.next=null,d===null?c=j:d.next=j,d=S;var q=e.alternate;q!==null&&(q=q.updateQueue,b=q.lastBaseUpdate,b!==d&&(b===null?q.firstBaseUpdate=j:b.next=j,q.lastBaseUpdate=S))}if(c!==null){var L=u.baseState;d=0,q=j=S=null,b=c;do{var C=b.lane&-536870913,N=C!==b.lane;if(N?(he&C)===C:(a&C)===C){C!==0&&C===Wn&&(pu=!0),q!==null&&(q=q.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var J=e,ne=b;C=t;var Ce=o;switch(ne.tag){case 1:if(J=ne.payload,typeof J=="function"){L=J.call(Ce,L,C);break e}L=J;break e;case 3:J.flags=J.flags&-65537|128;case 0:if(J=ne.payload,C=typeof J=="function"?J.call(Ce,L,C):J,C==null)break e;L=p({},L,C);break e;case 2:Oo=!0}}C=b.callback,C!==null&&(e.flags|=64,N&&(e.flags|=8192),N=u.callbacks,N===null?u.callbacks=[C]:N.push(C))}else N={lane:C,tag:b.tag,payload:b.payload,callback:b.callback,next:null},q===null?(j=q=N,S=L):q=q.next=N,d|=C;if(b=b.next,b===null){if(b=u.shared.pending,b===null)break;N=b,b=N.next,N.next=null,u.lastBaseUpdate=N,u.shared.pending=null}}while(!0);q===null&&(S=L),u.baseState=S,u.firstBaseUpdate=j,u.lastBaseUpdate=q,c===null&&(u.shared.lanes=0),Zo|=d,e.lanes=d,e.memoizedState=L}}function rd(e,t){if(typeof e!="function")throw Error(i(191,e));e.call(t)}function ld(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;ec?c:8;var d=M.T,b={};M.T=b,Ou(e,!1,t,o);try{var S=u(),j=M.S;if(j!==null&&j(b,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var q=lb(S,a);Ja(e,t,q,qt(e))}else Ja(e,t,a,qt(e))}catch(L){Ja(e,t,{then:function(){},status:"rejected",reason:L},qt())}finally{Q.p=c,d!==null&&b.types!==null&&(d.types=b.types),M.T=d}}function db(){}function qu(e,t,o,a){if(e.tag!==5)throw Error(i(476));var u=Hd(e).queue;Od(e,u,t,oe,o===null?db:function(){return Fd(e),o(a)})}function Hd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:po,lastRenderedState:oe},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:po,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Fd(e){var t=Hd(e);t.next===null&&(t=e.alternate.memoizedState),Ja(e,t.next.queue,{},qt())}function Mu(){return it(mr)}function Ud(){return Pe().memoizedState}function Ld(){return Pe().memoizedState}function vb(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=qt();e=Ho(o);var a=Fo(t,e,o);a!==null&&(wt(a,t,o),Ya(a,t,o)),t={cache:fu()},e.payload=t;return}t=t.return}}function hb(e,t,o){var a=qt();o={lane:a,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},hl(e)?Pd(t,o):(o=eu(e,t,o,a),o!==null&&(wt(o,e,a),Zd(o,t,a)))}function Gd(e,t,o){var a=qt();Ja(e,t,o,a)}function Ja(e,t,o,a){var u={lane:a,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(hl(e))Pd(t,u);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var d=t.lastRenderedState,b=c(d,o);if(u.hasEagerState=!0,u.eagerState=b,jt(b,d))return Qr(e,t,u,0),Ne===null&&Yr(),!1}catch{}finally{}if(o=eu(e,t,u,a),o!==null)return wt(o,e,a),Zd(o,t,a),!0}return!1}function Ou(e,t,o,a){if(a={lane:2,revertLane:mc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},hl(e)){if(t)throw Error(i(479))}else t=eu(e,o,a,2),t!==null&&wt(t,e,2)}function hl(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function Pd(e,t){ta=il=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Zd(e,t,o){if((o&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,o|=a,t.lanes=o,Qs(e,o)}}var $a={readContext:it,use:sl,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useLayoutEffect:He,useInsertionEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useSyncExternalStore:He,useId:He,useHostTransitionStatus:He,useFormState:He,useActionState:He,useOptimistic:He,useMemoCache:He,useCacheRefresh:He};$a.useEffectEvent=He;var Xd={readContext:it,use:sl,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:Ed,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,dl(4194308,4,Nd.bind(null,t,e),o)},useLayoutEffect:function(e,t){return dl(4194308,4,e,t)},useInsertionEffect:function(e,t){dl(4,2,e,t)},useMemo:function(e,t){var o=mt();t=t===void 0?null:t;var a=e();if(_n){Ao(!0);try{e()}finally{Ao(!1)}}return o.memoizedState=[a,t],a},useReducer:function(e,t,o){var a=mt();if(o!==void 0){var u=o(t);if(_n){Ao(!0);try{o(t)}finally{Ao(!1)}}}else u=t;return a.memoizedState=a.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},a.queue=e,e=e.dispatch=hb.bind(null,ce,e),[a.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:function(e){e=Au(e);var t=e.queue,o=Gd.bind(null,ce,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:Du,useDeferredValue:function(e,t){var o=mt();return Ru(o,e,t)},useTransition:function(){var e=Au(!1);return e=Od.bind(null,ce,e.queue,!0,!1),mt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var a=ce,u=mt();if(ge){if(o===void 0)throw Error(i(407));o=o()}else{if(o=t(),Ne===null)throw Error(i(349));(he&127)!==0||dd(a,t,o)}u.memoizedState=o;var c={value:o,getSnapshot:t};return u.queue=c,Ed(hd.bind(null,a,c,e),[e]),a.flags|=2048,na(9,{destroy:void 0},vd.bind(null,a,c,o,t),null),o},useId:function(){var e=mt(),t=Ne.identifierPrefix;if(ge){var o=ro,a=ao;o=(a&~(1<<32-Et(a)-1)).toString(32)+o,t="_"+t+"R_"+o,o=ul++,0<\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?d.createElement("select",{is:a.is}):d.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?d.createElement(u,{is:a.is}):d.createElement(u)}}c[rt]=t,c[bt]=a;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)c.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=c;e:switch(ct(c,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&xo(t)}}return qe(t),Iu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&xo(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(i(166));if(e=fe.current,Qn(t)){if(e=t.stateNode,o=t.memoizedProps,a=null,u=lt,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}e[rt]=t,e=!!(e.nodeValue===o||a!==null&&a.suppressHydrationWarning===!0||sv(e.nodeValue,o)),e||qo(t,!0)}else e=Rl(e).createTextNode(a),e[rt]=t,t.stateNode=e}return qe(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(a=Qn(t),o!==null){if(e===null){if(!a)throw Error(i(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(557));e[rt]=t}else mn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),e=!1}else o=iu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(Nt(t),t):(Nt(t),null);if((t.flags&128)!==0)throw Error(i(558))}return qe(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Qn(t),a!==null&&a.dehydrated!==null){if(e===null){if(!u)throw Error(i(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(317));u[rt]=t}else mn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;qe(t),u=!1}else u=iu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(Nt(t),t):(Nt(t),null)}return Nt(t),(t.flags&128)!==0?(t.lanes=o,t):(o=a!==null,e=e!==null&&e.memoizedState!==null,o&&(a=t.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==u&&(a.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),yl(t,t.updateQueue),qe(t),null);case 4:return Le(),e===null&&yc(t.stateNode.containerInfo),qe(t),null;case 10:return go(t.type),qe(t),null;case 19:if(P(Ge),a=t.memoizedState,a===null)return qe(t),null;if(u=(t.flags&128)!==0,c=a.rendering,c===null)if(u)tr(a,!1);else{if(Fe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=ll(e),c!==null){for(t.flags|=128,tr(a,!1),e=c.updateQueue,t.updateQueue=e,yl(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)Gf(o,e),o=o.sibling;return K(Ge,Ge.current&1|2),ge&&ho(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Bt()>zl&&(t.flags|=128,u=!0,tr(a,!1),t.lanes=4194304)}else{if(!u)if(e=ll(c),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,yl(t,e),tr(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!ge)return qe(t),null}else 2*Bt()-a.renderingStartTime>zl&&o!==536870912&&(t.flags|=128,u=!0,tr(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Bt(),e.sibling=null,o=Ge.current,K(Ge,u?o&1|2:o&1),ge&&ho(t,a.treeForkCount),e):(qe(t),null);case 22:case 23:return Nt(t),xu(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(o&536870912)!==0&&(t.flags&128)===0&&(qe(t),t.subtreeFlags&6&&(t.flags|=8192)):qe(t),o=t.updateQueue,o!==null&&yl(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==o&&(t.flags|=2048),e!==null&&P(pn),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),go(Ve),qe(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function yb(e,t){switch(ru(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return go(Ve),Le(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ar(t),null;case 31:if(t.memoizedState!==null){if(Nt(t),t.alternate===null)throw Error(i(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Nt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return P(Ge),null;case 4:return Le(),null;case 10:return go(t.type),null;case 22:case 23:return Nt(t),xu(),e!==null&&P(pn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return go(Ve),null;case 25:return null;default:return null}}function m0(e,t){switch(ru(t),t.tag){case 3:go(Ve),Le();break;case 26:case 27:case 5:Ar(t);break;case 4:Le();break;case 31:t.memoizedState!==null&&Nt(t);break;case 13:Nt(t);break;case 19:P(Ge);break;case 10:go(t.type);break;case 22:case 23:Nt(t),xu(),e!==null&&P(pn);break;case 24:go(Ve)}}function or(e,t){try{var o=t.updateQueue,a=o!==null?o.lastEffect:null;if(a!==null){var u=a.next;o=u;do{if((o.tag&e)===e){a=void 0;var c=o.create,d=o.inst;a=c(),d.destroy=a}o=o.next}while(o!==u)}}catch(b){Ee(t,t.return,b)}}function Go(e,t,o){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var c=u.next;a=c;do{if((a.tag&e)===e){var d=a.inst,b=d.destroy;if(b!==void 0){d.destroy=void 0,u=t;var S=o,j=b;try{j()}catch(q){Ee(u,S,q)}}}a=a.next}while(a!==c)}}catch(q){Ee(t,t.return,q)}}function g0(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{ld(t,o)}catch(a){Ee(e,e.return,a)}}}function b0(e,t,o){o.props=wn(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(a){Ee(e,t,a)}}function nr(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof o=="function"?e.refCleanup=o(a):o.current=a}}catch(u){Ee(e,t,u)}}function lo(e,t){var o=e.ref,a=e.refCleanup;if(o!==null)if(typeof a=="function")try{a()}catch(u){Ee(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(u){Ee(e,t,u)}else o.current=null}function p0(e){var t=e.type,o=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&a.focus();break e;case"img":o.src?a.src=o.src:o.srcSet&&(a.srcset=o.srcSet)}}catch(u){Ee(e,e.return,u)}}function Ju(e,t,o){try{var a=e.stateNode;Lb(a,e.type,o,t),a[bt]=t}catch(u){Ee(e,e.return,u)}}function y0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ko(e.type)||e.tag===4}function $u(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||y0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ko(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ec(e,t,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(e),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=so));else if(a!==4&&(a===27&&Ko(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(ec(e,t,o),e=e.sibling;e!==null;)ec(e,t,o),e=e.sibling}function xl(e,t,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(a!==4&&(a===27&&Ko(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(xl(e,t,o),e=e.sibling;e!==null;)xl(e,t,o),e=e.sibling}function x0(e){var t=e.stateNode,o=e.memoizedProps;try{for(var a=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);ct(t,a,o),t[rt]=e,t[bt]=o}catch(c){Ee(e,e.return,c)}}var So=!1,Ke=!1,tc=!1,S0=typeof WeakSet=="function"?WeakSet:Set,ot=null;function xb(e,t){if(e=e.containerInfo,_c=Ll,e=Df(e),Qi(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var a=o.getSelection&&o.getSelection();if(a&&a.rangeCount!==0){o=a.anchorNode;var u=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{o.nodeType,c.nodeType}catch{o=null;break e}var d=0,b=-1,S=-1,j=0,q=0,L=e,C=null;t:for(;;){for(var N;L!==o||u!==0&&L.nodeType!==3||(b=d+u),L!==c||a!==0&&L.nodeType!==3||(S=d+a),L.nodeType===3&&(d+=L.nodeValue.length),(N=L.firstChild)!==null;)C=L,L=N;for(;;){if(L===e)break t;if(C===o&&++j===u&&(b=d),C===c&&++q===a&&(S=d),(N=L.nextSibling)!==null)break;L=C,C=L.parentNode}L=N}o=b===-1||S===-1?null:{start:b,end:S}}else o=null}o=o||{start:0,end:0}}else o=null;for(wc={focusedElem:e,selectionRange:o},Ll=!1,ot=t;ot!==null;)if(t=ot,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ot=e;else for(;ot!==null;){switch(t=ot,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(o=0;o title"))),ct(c,a,o),c[rt]=e,tt(c),a=c;break e;case"link":var d=Tv("link","href",u).get(a+(o.href||""));if(d){for(var b=0;bCe&&(d=Ce,Ce=ne,ne=d);var T=Cf(b,ne),w=Cf(b,Ce);if(T&&w&&(N.rangeCount!==1||N.anchorNode!==T.node||N.anchorOffset!==T.offset||N.focusNode!==w.node||N.focusOffset!==w.offset)){var E=L.createRange();E.setStart(T.node,T.offset),N.removeAllRanges(),ne>Ce?(N.addRange(E),N.extend(w.node,w.offset)):(E.setEnd(w.node,w.offset),N.addRange(E))}}}}for(L=[],N=b;N=N.parentNode;)N.nodeType===1&&L.push({element:N,left:N.scrollLeft,top:N.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;bo?32:o,M.T=null,o=uc,uc=null;var c=Vo,d=Bo;if(Je=0,ua=Vo=null,Bo=0,(_e&6)!==0)throw Error(i(331));var b=_e;if(_e|=4,N0(c.current),j0(c,c.current,d,o),_e=b,cr(0,!1),Tt&&typeof Tt.onPostCommitFiberRoot=="function")try{Tt.onPostCommitFiberRoot(Ta,c)}catch{}return!0}finally{Q.p=u,M.T=a,W0(e,t)}}function J0(e,t,o){t=Lt(o,t),t=Lu(e.stateNode,t,2),e=Fo(e,t,2),e!==null&&(ja(e,2),io(e))}function Ee(e,t,o){if(e.tag===3)J0(e,e,o);else for(;t!==null;){if(t.tag===3){J0(t,e,o);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Xo===null||!Xo.has(a))){e=Lt(o,e),o=$d(2),a=Fo(t,o,2),a!==null&&(e0(o,a,t,e),ja(a,2),io(a));break}}t=t.return}}function dc(e,t,o){var a=e.pingCache;if(a===null){a=e.pingCache=new wb;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(o)||(ac=!0,u.add(o),e=Eb.bind(null,e,t,o),t.then(e,e))}function Eb(e,t,o){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Ne===e&&(he&o)===o&&(Fe===4||Fe===3&&(he&62914560)===he&&300>Bt()-wl?(_e&2)===0&&ca(e,0):rc|=o,ia===he&&(ia=0)),io(e)}function $0(e,t){t===0&&(t=Vs()),e=vn(e,t),e!==null&&(ja(e,t),io(e))}function jb(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),$0(e,o)}function Ab(e,t){var o=0;switch(e.tag){case 31:case 13:var a=e.stateNode,u=e.memoizedState;u!==null&&(o=u.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(i(314))}a!==null&&a.delete(t),$0(e,o)}function Cb(e,t){return ki(e,t)}var Al=null,fa=null,vc=!1,Cl=!1,hc=!1,Qo=0;function io(e){e!==fa&&e.next===null&&(fa===null?Al=fa=e:fa=fa.next=e),Cl=!0,vc||(vc=!0,Db())}function cr(e,t){if(!hc&&Cl){hc=!0;do for(var o=!1,a=Al;a!==null;){if(e!==0){var u=a.pendingLanes;if(u===0)var c=0;else{var d=a.suspendedLanes,b=a.pingedLanes;c=(1<<31-Et(42|e)+1)-1,c&=u&~(d&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(o=!0,nv(a,c))}else c=he,c=qr(a,a===Ne?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||Ea(a,c)||(o=!0,nv(a,c));a=a.next}while(o);hc=!1}}function Nb(){ev()}function ev(){Cl=vc=!1;var e=0;Qo!==0&&Pb()&&(e=Qo);for(var t=Bt(),o=null,a=Al;a!==null;){var u=a.next,c=tv(a,t);c===0?(a.next=null,o===null?Al=u:o.next=u,u===null&&(fa=o)):(o=a,(e!==0||(c&3)!==0)&&(Cl=!0)),a=u}Je!==0&&Je!==5||cr(e),Qo!==0&&(Qo=0)}function tv(e,t){for(var o=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,c=e.pendingLanes&-62914561;0b)break;var q=S.transferSize,L=S.initiatorType;q&&fv(L)&&(S=S.responseEnd,d+=q*(S"u"?null:document;function wv(e,t,o){var a=da;if(a&&typeof t=="string"&&t){var u=Ft(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof o=="string"&&(u+='[crossorigin="'+o+'"]'),_v.has(u)||(_v.add(u),e={rel:e,crossOrigin:o,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),ct(t,"link",e),tt(t),a.head.appendChild(t)))}}function Jb(e){To.D(e),wv("dns-prefetch",e,null)}function $b(e,t){To.C(e,t),wv("preconnect",e,t)}function ep(e,t,o){To.L(e,t,o);var a=da;if(a&&e&&t){var u='link[rel="preload"][as="'+Ft(t)+'"]';t==="image"&&o&&o.imageSrcSet?(u+='[imagesrcset="'+Ft(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(u+='[imagesizes="'+Ft(o.imageSizes)+'"]')):u+='[href="'+Ft(e)+'"]';var c=u;switch(t){case"style":c=va(e);break;case"script":c=ha(e)}Yt.has(c)||(e=p({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Yt.set(c,e),a.querySelector(u)!==null||t==="style"&&a.querySelector(vr(c))||t==="script"&&a.querySelector(hr(c))||(t=a.createElement("link"),ct(t,"link",e),tt(t),a.head.appendChild(t)))}}function tp(e,t){To.m(e,t);var o=da;if(o&&e){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Ft(a)+'"][href="'+Ft(e)+'"]',c=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=ha(e)}if(!Yt.has(c)&&(e=p({rel:"modulepreload",href:e},t),Yt.set(c,e),o.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(hr(c)))return}a=o.createElement("link"),ct(a,"link",e),tt(a),o.head.appendChild(a)}}}function op(e,t,o){To.S(e,t,o);var a=da;if(a&&e){var u=qn(a).hoistableStyles,c=va(e);t=t||"default";var d=u.get(c);if(!d){var b={loading:0,preload:null};if(d=a.querySelector(vr(c)))b.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Yt.get(c))&&Ac(e,o);var S=d=a.createElement("link");tt(S),ct(S,"link",e),S._p=new Promise(function(j,q){S.onload=j,S.onerror=q}),S.addEventListener("load",function(){b.loading|=1}),S.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Ml(d,t,a)}d={type:"stylesheet",instance:d,count:1,state:b},u.set(c,d)}}}function np(e,t){To.X(e,t);var o=da;if(o&&e){var a=qn(o).hoistableScripts,u=ha(e),c=a.get(u);c||(c=o.querySelector(hr(u)),c||(e=p({src:e,async:!0},t),(t=Yt.get(u))&&Cc(e,t),c=o.createElement("script"),tt(c),ct(c,"link",e),o.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(u,c))}}function ap(e,t){To.M(e,t);var o=da;if(o&&e){var a=qn(o).hoistableScripts,u=ha(e),c=a.get(u);c||(c=o.querySelector(hr(u)),c||(e=p({src:e,async:!0,type:"module"},t),(t=Yt.get(u))&&Cc(e,t),c=o.createElement("script"),tt(c),ct(c,"link",e),o.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(u,c))}}function zv(e,t,o,a){var u=(u=fe.current)?ql(u):null;if(!u)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(t=va(o.href),o=qn(u).hoistableStyles,a=o.get(t),a||(a={type:"style",instance:null,count:0,state:null},o.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=va(o.href);var c=qn(u).hoistableStyles,d=c.get(e);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=u.querySelector(vr(e)))&&!c._p&&(d.instance=c,d.state.loading=5),Yt.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Yt.set(e,o),c||rp(u,e,o,d.state))),t&&a===null)throw Error(i(528,""));return d}if(t&&a!==null)throw Error(i(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ha(o),o=qn(u).hoistableScripts,a=o.get(t),a||(a={type:"script",instance:null,count:0,state:null},o.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function va(e){return'href="'+Ft(e)+'"'}function vr(e){return'link[rel="stylesheet"]['+e+"]"}function kv(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function rp(e,t,o,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ct(t,"link",o),tt(t),e.head.appendChild(t))}function ha(e){return'[src="'+Ft(e)+'"]'}function hr(e){return"script[async]"+e}function Bv(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ft(o.href)+'"]');if(a)return t.instance=a,tt(a),a;var u=p({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),tt(a),ct(a,"style",u),Ml(a,o.precedence,e),t.instance=a;case"stylesheet":u=va(o.href);var c=e.querySelector(vr(u));if(c)return t.state.loading|=4,t.instance=c,tt(c),c;a=kv(o),(u=Yt.get(u))&&Ac(a,u),c=(e.ownerDocument||e).createElement("link"),tt(c);var d=c;return d._p=new Promise(function(b,S){d.onload=b,d.onerror=S}),ct(c,"link",a),t.state.loading|=4,Ml(c,o.precedence,e),t.instance=c;case"script":return c=ha(o.src),(u=e.querySelector(hr(c)))?(t.instance=u,tt(u),u):(a=o,(u=Yt.get(c))&&(a=p({},o),Cc(a,u)),e=e.ownerDocument||e,u=e.createElement("script"),tt(u),ct(u,"link",a),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(i(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Ml(a,o.precedence,e));return t.instance}function Ml(e,t,o){for(var a=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,c=u,d=0;d title"):null)}function lp(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function jv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function ip(e,t,o,a){if(o.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var u=va(a.href),c=t.querySelector(vr(u));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Hl.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=c,tt(c);return}c=t.ownerDocument||t,a=kv(a),(u=Yt.get(u))&&Ac(a,u),c=c.createElement("link"),tt(c);var d=c;d._p=new Promise(function(b,S){d.onload=b,d.onerror=S}),ct(c,"link",a),o.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=Hl.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var Nc=0;function up(e,t){return e.stylesheets&&e.count===0&&Ul(e,e.stylesheets),0Nc?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Hl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ul(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Fl=null;function Ul(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Fl=new Map,t.forEach(cp,e),Fl=null,Hl.call(e))}function cp(e,t){if(!(t.state.loading&4)){var o=Fl.get(e);if(o)var a=o.get(null);else{o=new Map,Fl.set(e,o);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Lc.exports=kp(),Lc.exports}var Tp=Bp();const Ep=xs(Tp),Xc=typeof window>"u"?global:window,Vc="@griffel/";function jp(n,r){return Xc[Symbol.for(Vc+n)]||(Xc[Symbol.for(Vc+n)]=r),Xc[Symbol.for(Vc+n)]}const us=jp("DEFINITION_LOOKUP_TABLE",{}),wr="data-make-styles-bucket",Ap="data-priority",cs="f",ss=7,ws="___",Cp=ws.length+ss,Np=0,Dp=1,Rp={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},fs="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Br(n){for(var r=0,l,i=0,s=n.length;s>=4;++i,s-=4)l=n.charCodeAt(i)&255|(n.charCodeAt(++i)&255)<<8|(n.charCodeAt(++i)&255)<<16|(n.charCodeAt(++i)&255)<<24,l=(l&65535)*1540483477+((l>>>16)*59797<<16),l^=l>>>24,r=(l&65535)*1540483477+((l>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(s){case 3:r^=(n.charCodeAt(i+2)&255)<<16;case 2:r^=(n.charCodeAt(i+1)&255)<<8;case 1:r^=n.charCodeAt(i)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}function qp(n){const r=n.length;if(r===ss)return n;for(let l=r;l0&&(r+=x.slice(0,_)),l+=z,i[p]=z}}}if(l==="")return r.slice(0,-1);const s=$v[l];if(s!==void 0)return r+s;const f=[];for(let p=0;pv.cssText):s}}}const Hp=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],eh=Hp.reduce((n,r,l)=>(n[r]=l,n),{});function Fp(n,r,l){return(n==="m"?n+r:n)+l}function Up(n,r,l,i,s={}){var f,v;const m=n==="m",g=(f=s.m)!==null&&f!==void 0?f:"0",h=(v=s.p)!==null&&v!==void 0?v:0,y=Fp(n,g,h);if(!i.stylesheets[y]){const p=r&&r.createElement("style"),x=Op(p,n,h,Object.assign({},i.styleElementAttributes,m&&{media:g}));i.stylesheets[y]=x,r!=null&&r.head&&p&&r.head.insertBefore(p,Gp(r,l,n,i,s))}return i.stylesheets[y]}function Lp(n,r,l){var i,s;const f=r+((i=l.m)!==null&&i!==void 0?i:""),v=n.getAttribute(wr)+((s=n.media)!==null&&s!==void 0?s:"");return f===v}function Gp(n,r,l,i,s={}){var f,v;const m=eh[l],g=(f=s.m)!==null&&f!==void 0?f:"",h=(v=s.p)!==null&&v!==void 0?v:0;let y=k=>m-eh[k.getAttribute(wr)],p=n.head.querySelectorAll(`[${wr}]`);if(l==="m"){const k=n.head.querySelectorAll(`[${wr}="${l}"]`);k.length&&(p=k,y=O=>i.compareMediaQueries(g,O.media))}const x=k=>Lp(k,l,s)?h-Number(k.getAttribute("data-priority")):y(k),_=p.length;let z=_-1;for(;z>=0;){const k=p.item(z);if(x(k)>0)return k.nextSibling;z--}return _>0?p.item(0):r?r.nextSibling:null}function th(n,r){try{n.insertRule(r)}catch{}}let Pp=0;const Zp=(n,r)=>nr?1:0;function Xp(n=typeof document>"u"?void 0:document,r={}){const{classNameHashSalt:l,unstable_filterCSSRule:i,insertionPoint:s,styleElementAttributes:f,compareMediaQueries:v=Zp}=r,m={classNameHashSalt:l,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(f),compareMediaQueries:v,id:`d${Pp++}`,insertCSSRules(g){for(const h in g){const y=g[h];for(let p=0,x=y.length;p{const n={};return function(l,i){n[l.id]===void 0&&(l.insertCSSRules(i),n[l.id]=!0)}};function bm(n){return n.reduce(function(r,l){var i=l[0],s=l[1];return r[i]=s,r[s]=i,r},{})}function Vp(n){return typeof n=="boolean"}function Yp(n){return typeof n=="function"}function _r(n){return typeof n=="number"}function Qp(n){return n===null||typeof n>"u"}function Kp(n){return n&&typeof n=="object"}function Wp(n){return typeof n=="string"}function oi(n,r){return n.indexOf(r)!==-1}function Ip(n){return parseFloat(n)===0?n:n[0]==="-"?n.slice(1):"-"+n}function Ql(n,r,l,i){return r+Ip(l)+i}function Jp(n){var r=n.indexOf(".");if(r===-1)n=100-parseFloat(n)+"%";else{var l=n.length-r-2;n=100-parseFloat(n),n=n.toFixed(l)+"%"}return n}function pm(n){return n.replace(/ +/g," ").split(" ").map(function(r){return r.trim()}).filter(Boolean).reduce(function(r,l){var i=r.list,s=r.state,f=(l.match(/\(/g)||[]).length,v=(l.match(/\)/g)||[]).length;return s.parensDepth>0?i[i.length-1]=i[i.length-1]+" "+l:i.push(l),s.parensDepth+=f-v,{list:i,state:s}},{list:[],state:{parensDepth:0}}).list}function oh(n){var r=pm(n);if(r.length<=3||r.length>4)return n;var l=r[0],i=r[1],s=r[2],f=r[3];return[l,f,s,i].join(" ")}function $p(n){return!Vp(n)&&!Qp(n)}function ey(n){for(var r=[],l=0,i=0,s=!1;i0?dt(ka,--Mt):0,xa--,Oe===10&&(xa=1,gi--),Oe}function Kt(){return Oe=Mt2||Sa(Oe)>3?"":" "}function Sy(n){for(;Kt();)switch(Sa(Oe)){case 0:Tn(Nm(Mt-1),n);break;case 2:Tn(ai(Oe),n);break;default:Tn(mi(Oe),n)}return n}function _y(n,r){for(;--r&&Kt()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return pi(n,ni()+(r<6&&on()==32&&Kt()==32))}function vs(n){for(;Kt();)switch(Oe){case n:return Mt;case 34:case 39:n!==34&&n!==39&&vs(Oe);break;case 40:n===41&&vs(n);break;case 92:Kt();break}return Mt}function wy(n,r){for(;Kt()&&n+Oe!==57;)if(n+Oe===84&&on()===47)break;return"/*"+pi(r,Mt-1)+"*"+mi(n===47?n:Kt())}function Nm(n){for(;!Sa(on());)Kt();return pi(n,Mt)}function Dm(n){return Cm(ri("",null,null,null,[""],n=Am(n),0,[0],n))}function ri(n,r,l,i,s,f,v,m,g){for(var h=0,y=0,p=v,x=0,_=0,z=0,k=1,O=1,D=1,U=0,R="",V=s,X=f,Y=i,G=R;O;)switch(z=U,U=Kt()){case 40:if(z!=108&&dt(G,p-1)==58){Tm(G+=zt(ai(U),"&","&\f"),"&\f",zm(h?m[h-1]:0))!=-1&&(D=-1);break}case 34:case 39:case 91:G+=ai(U);break;case 9:case 10:case 13:case 32:G+=xy(z);break;case 92:G+=_y(ni()-1,7);continue;case 47:switch(on()){case 42:case 47:Tn(zy(wy(Kt(),ni()),r,l,g),g),(Sa(z||1)==5||Sa(on()||1)==5)&&to(G)&&ya(G,-1,void 0)!==" "&&(G+=" ");break;default:G+="/"}break;case 123*k:m[h++]=to(G)*D;case 125*k:case 59:case 0:switch(U){case 0:case 125:O=0;case 59+y:D==-1&&(G=zt(G,/\f/g,"")),_>0&&(to(G)-p||k===0&&z===47)&&Tn(_>32?rh(G+";",i,l,p-1,g):rh(zt(G," ","")+";",i,l,p-2,g),g);break;case 59:G+=";";default:if(Tn(Y=ah(G,r,l,h,y,s,m,R,V=[],X=[],p,f),f),U===123)if(y===0)ri(G,r,Y,Y,V,f,p,m,X);else{switch(x){case 99:if(dt(G,3)===110)break;case 108:if(dt(G,2)===97)break;default:y=0;case 100:case 109:case 115:}y?ri(n,Y,Y,i&&Tn(ah(n,Y,Y,0,0,s,m,R,s,V=[],p,X),X),s,X,p,m,i?V:X):ri(G,Y,Y,Y,[""],X,0,m,X)}}h=y=_=0,k=D=1,R=G="",p=v;break;case 58:p=1+to(G),_=z;default:if(k<1){if(U==123)--k;else if(U==125&&k++==0&&py()==125)continue}switch(G+=mi(U),U*k){case 38:D=y>0?1:(G+="\f",-1);break;case 44:m[h++]=(to(G)-1)*D,D=1;break;case 64:on()===45&&(G+=ai(Kt())),x=on(),y=p=to(R=G+=Nm(ni())),U++;break;case 45:z===45&&to(G)==2&&(k=0)}}return f}function ah(n,r,l,i,s,f,v,m,g,h,y,p){for(var x=s-1,_=s===0?f:[""],z=Em(_),k=0,O=0,D=0;k0?_[U]+" "+R:zt(R,/&\f/g,_[U])))&&(g[D++]=V);return bi(n,r,l,s===0?hi:m,g,h,y,p)}function zy(n,r,l,i){return bi(n,r,l,_m,mi(by()),ya(n,2,-2),0,i)}function rh(n,r,l,i,s){return bi(n,r,l,ks,ya(n,0,i),ya(n,i+1,-1),i,s)}function _a(n,r){for(var l="",i=0;i{switch(n.type){case hi:if(typeof n.props=="string")return;n.props=n.props.map(r=>r.indexOf(":global(")===-1?r:yy(r).reduce((l,i,s,f)=>{if(i==="")return l;if(i===":"&&f[s+1]==="global"){const v=f[s+2].slice(1,-1)+" ";return l.unshift(v),f[s+1]="",f[s+2]="",l}return l.push(i),l},[]).join(""))}};function Om(n,r,l){switch(my(n,r)){case 5103:return eo+"print-"+n+n;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return eo+n+n;case 4215:if(dt(n,9)===102||dt(n,r+1)===116)return eo+n+n;break;case 4789:return zr+n+n;case 5349:case 4246:case 6968:return eo+n+zr+n+n;case 6187:if(!Bm(n,/grab/))return zt(zt(zt(n,/(zoom-|grab)/,eo+"$1"),/(image-set)/,eo+"$1"),n,"")+n;case 5495:case 3959:return zt(n,/(image-set\([^]*)/,eo+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return zt(n,/(.+)-inline(.+)/,eo+"$1$2")+n;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(to(n)-1-r>6)switch(dt(n,r+1)){case 102:if(dt(n,r+3)===108)return zt(n,/(.+:)(.+)-([^]+)/,"$1"+eo+"$2-$3$1"+zr+(dt(n,r+3)==108?"$3":"$2-$3"))+n;case 115:return~Tm(n,"stretch")?Om(zt(n,"stretch","fill-available"),r)+n:n}break}return n}function Hm(n,r,l,i){if(n.length>-1&&!n.return)switch(n.type){case ks:n.return=Om(n.value,n.length);return;case hi:if(n.length)return gy(n.props,function(s){switch(Bm(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _a([Qc(n,{props:[zt(s,/:(read-\w+)/,":"+zr+"$1")]})],i);case"::placeholder":return _a([Qc(n,{props:[zt(s,/:(plac\w+)/,":"+eo+"input-$1")]}),Qc(n,{props:[zt(s,/:(plac\w+)/,":"+zr+"$1")]})],i)}return""})}}function By(n){switch(n.type){case"@container":case cy:case fy:case wm:return!0}return!1}const Ty=n=>{By(n)&&Array.isArray(n.children)&&n.children.sort((r,l)=>r.props[0]>l.props[0]?1:-1)};function Ey(n,r){const l=[];return _a(Dm(n),qm([ky,Ty,Hm,Rm,Mm(i=>l.push(i))])),l}const jy=/,( *[^ &])/g;function Ay(n){return"&"+Sm(n.replace(jy,",&$1"))}function lh(n,r,l){let i=r;return l.length>0&&(i=l.reduceRight((s,f)=>`${Ay(f)} { ${s} }`,r)),`${n}{${i}}`}function ih(n,r){const{className:l,selectors:i,property:s,rtlClassName:f,rtlProperty:v,rtlValue:m,value:g}=n,{container:h,layer:y,media:p,supports:x}=r,_=`.${l}`,z=Array.isArray(g)?`${g.map(O=>`${ga(s)}: ${O}`).join(";")};`:`${ga(s)}: ${g};`;let k=lh(_,z,i);if(v&&f){const O=`.${f}`,D=Array.isArray(m)?`${m.map(U=>`${ga(v)}: ${U}`).join(";")};`:`${ga(v)}: ${m};`;k+=lh(O,D,i)}return p&&(k=`@media ${p} { ${k} }`),y&&(k=`@layer ${y} { ${k} }`),x&&(k=`@supports ${x} { ${k} }`),h&&(k=`@container ${h} { ${k} }`),Ey(k)}function Cy(n){let r="";for(const l in n){const i=n[l];if(typeof i=="string"||typeof i=="number"){r+=ga(l)+":"+i+";";continue}if(Array.isArray(i))for(const s of i)r+=ga(l)+":"+s+";"}return r}function uh(n){let r="";for(const l in n)r+=`${l}{${Cy(n[l])}}`;return r}function ch(n,r){const l=`@keyframes ${n} {${r}}`,i=[];return _a(Dm(l),qm([Rm,Hm,Mm(s=>i.push(s))])),i}const Ny={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function sh(n,r){return n.length===0?r:`${n} and ${r}`}function Dy(n){return n.substr(0,6)==="@media"}function Ry(n){return n.substr(0,6)==="@layer"}const qy=/^(:|\[|>|&)/;function My(n){return qy.test(n)}function Oy(n){return n.substr(0,9)==="@supports"}function Hy(n){return n.substring(0,10)==="@container"}function Fy(n){return n!=null&&typeof n=="object"&&Array.isArray(n)===!1}const fh={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function dh(n,r){if(r.media)return"m";if(r.layer||r.supports)return"t";if(r.container)return"c";if(n.length>0){const l=n[0].trim();if(l.charCodeAt(0)===58)return fh[l.slice(4,8)]||fh[l.slice(3,5)]||"d"}return"d"}function Kl(n,r){return n&&r+n}function Fm(n){return Kl(n.container,"c")+Kl(n.media,"m")+Kl(n.layer,"l")+Kl(n.supports,"s")}function Kc(n,r,l){const i=n+Fm(l)+r,s=Br(i),f=s.charCodeAt(0);return f>=48&&f<=57?String.fromCharCode(f+17)+s.slice(1):s}function Wl({property:n,selector:r,salt:l,value:i},s){return cs+Br(l+r+Fm(s)+n+i.trim())}function Uy(n){return n===fs}function Wc(n){return n.replace(/>\s+/g,">")}function vh(n){return Ny[n]}function hh(n){var r;return(r=n==null?void 0:n[0])!==null&&r!==void 0?r:0}function Ic(n,r,l,i){n[r]=i?[l,i]:l}function mh(n,r){return r.length>0?[n,Object.fromEntries(r)]:n}function Jc(n,r,l,i,s,f){var v;const m=[];f!==0&&m.push(["p",f]),r==="m"&&s&&m.push(["m",s]),(v=n[r])!==null&&v!==void 0||(n[r]=[]),l&&n[r].push(mh(l,m)),i&&n[r].push(mh(i,m))}function Eo(n,r="",l=[],i={container:"",layer:"",media:"",supports:""},s={},f={},v){for(const m in n){if(Rp.hasOwnProperty(m)){n[m];continue}const g=n[m];if(g!=null){if(Uy(g)){const h=Wc(l.join("")),y=Kc(h,m,i);Ic(s,y,0,void 0);continue}if(typeof g=="string"||typeof g=="number"){const h=Wc(l.join("")),y=vh(m);if(y){const V=y[1],X=Object.fromEntries(V.map(Y=>[Y,fs]));Eo(X,r,l,i,s,f)}const p=Kc(h,m,i),x=Wl({value:g.toString(),salt:r,selector:h,property:m},i),_=v&&{key:m,value:v}||ds(m,g),z=_.key!==m||_.value!==g,k=z?Wl({value:_.value.toString(),property:_.key,salt:r,selector:h},i):void 0,O=z?{rtlClassName:k,rtlProperty:_.key,rtlValue:_.value}:void 0,D=dh(l,i),[U,R]=ih(Object.assign({className:x,selectors:l,property:m,value:g},O),i);Ic(s,p,x,k),Jc(f,D,U,R,i.media,hh(y))}else if(m==="animationName"){const h=Array.isArray(g)?g:[g],y=[],p=[];for(const x of h){const _=uh(x),z=uh(xm(x)),k=cs+Br(_);let O;const D=ch(k,_);let U=[];_===z?O=k:(O=cs+Br(z),U=ch(O,z));for(let R=0;R[G,fs]));Eo(Y,r,l,i,s,f)}const p=Kc(h,m,i),x=Wl({value:g.map(X=>(X??"").toString()).join(";"),salt:r,selector:h,property:m},i),_=g.map(X=>ds(m,X));if(!!_.some(X=>X.key!==_[0].key))continue;const k=_[0].key!==m||_.some((X,Y)=>X.value!==g[Y]),O=k?Wl({value:_.map(X=>{var Y;return((Y=X==null?void 0:X.value)!==null&&Y!==void 0?Y:"").toString()}).join(";"),salt:r,property:_[0].key,selector:h},i):void 0,D=k?{rtlClassName:O,rtlProperty:_[0].key,rtlValue:_.map(X=>X.value)}:void 0,U=dh(l,i),[R,V]=ih(Object.assign({className:x,selectors:l,property:m,value:g},D),i);Ic(s,p,x,O),Jc(f,U,R,V,i.media,hh(y))}else if(Fy(g)){if(My(m))Eo(g,r,l.concat(Sm(m)),i,s,f);else if(Dy(m)){const h=sh(i.media,m.slice(6).trim());Eo(g,r,l,Object.assign({},i,{media:h}),s,f)}else if(Ry(m)){const h=(i.layer?`${i.layer}.`:"")+m.slice(6).trim();Eo(g,r,l,Object.assign({},i,{layer:h}),s,f)}else if(Oy(m)){const h=sh(i.supports,m.slice(9).trim());Eo(g,r,l,Object.assign({},i,{supports:h}),s,f)}else if(Hy(m)){const h=m.slice(10).trim();Eo(g,r,l,Object.assign({},i,{container:h}),s,f)}}}}return[s,f]}function Ly(n,r=""){const l={},i={};for(const s in n){const f=n[s],[v,m]=Eo(f,r);l[s]=v,Object.keys(m).forEach(g=>{i[g]=(i[g]||[]).concat(m[g])})}return[l,i]}function Gy(n,r=zs){const l=r();let i=null,s=null,f=null,v=null;function m(g){const{dir:h,renderer:y}=g;i===null&&([i,s]=Ly(n,y.classNameHashSalt));const p=h==="ltr";return p?f===null&&(f=ci(i,h)):v===null&&(v=ci(i,h)),l(y,s),p?f:v}return m}function Py(n,r,l=zs){const i=l();let s=null,f=null;function v(m){const{dir:g,renderer:h}=m,y=g==="ltr";return y?s===null&&(s=ci(n,g)):f===null&&(f=ci(n,g)),i(h,r),y?s:f}return v}function Zy(n,r,l,i=zs){const s=i();function f(v){const{dir:m,renderer:g}=v,h=m==="ltr"?n:r||n;return s(g,Array.isArray(l)?{r:l}:l),h}return f}function Xy(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const gh=ui.useInsertionEffect?ui.useInsertionEffect:void 0,Bs=()=>{const n={};return function(l,i){if(gh&&Xy()){gh(()=>{l.insertCSSRules(i)},[l,i]);return}n[l.id]===void 0&&(l.insertCSSRules(i),n[l.id]=!0)}},Vy=A.createContext(Xp());function Ts(){return A.useContext(Vy)}const Yy=A.createContext("ltr");function Es(){return A.useContext(Yy)}function Qy(n){const r=Gy(n,Bs);return function(){const i=Es(),s=Ts();return r({dir:i,renderer:s})}}function ke(n,r){const l=Py(n,r,Bs);return function(){const s=Es(),f=Ts();return l({dir:s,renderer:f})}}function Ze(n,r,l){const i=Zy(n,r,l,Bs);return function(){const f=Es(),v=Ts();return i({dir:f,renderer:v})}}const si=Symbol.for("fui.slotRenderFunction"),wa=Symbol.for("fui.slotElementType"),Um=Symbol.for("fui.slotClassNameProp");function st(n,r){const{defaultProps:l,elementType:i}=r,s=Ky(n),f={...l,...s,[wa]:i,[Um]:(s==null?void 0:s.className)||(l==null?void 0:l.className)};return s&&typeof s.children=="function"&&(f[si]=s.children,f.children=l==null?void 0:l.children),f}function kt(n,r){if(!(n===null||n===void 0&&!r.renderByDefault))return st(n,r)}function Ky(n){return typeof n=="string"||typeof n=="number"||Wy(n)||A.isValidElement(n)?{children:n}:n}const Wy=n=>typeof n=="object"&&n!==null&&Symbol.iterator in n;function Iy(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)&&!A.isValidElement(n)}function bh(n){return!!(n!=null&&n.hasOwnProperty(wa))}const De=(...n)=>{const r={};for(const l of n){const i=Array.isArray(l)?l:Object.keys(l);for(const s of i)r[s]=1}return r},Jy=De(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),$y=De(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","ref","role","style","tabIndex","title","translate","spellCheck","name"]),e2=De(["itemID","itemProp","itemRef","itemScope","itemType"]),Ie=De($y,Jy,e2),t2=De(Ie,["form"]),Lm=De(Ie,["height","loop","muted","preload","src","width"]),o2=De(Lm,["poster"]),n2=De(Ie,["start"]),a2=De(Ie,["value"]),r2=De(Ie,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),l2=De(Ie,["dateTime"]),yi=De(Ie,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),i2=De(yi,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),u2=De(yi,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),c2=De(yi,["form","multiple","required"]),s2=De(Ie,["selected","value"]),f2=De(Ie,["cellPadding","cellSpacing"]),d2=Ie,v2=De(Ie,["colSpan","rowSpan","scope"]),h2=De(Ie,["colSpan","headers","rowSpan","scope"]),m2=De(Ie,["span"]),g2=De(Ie,["span"]),b2=De(Ie,["disabled","form"]),p2=De(Ie,["acceptCharset","action","encType","encType","method","noValidate","target"]),y2=De(Ie,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),x2=De(Ie,["alt","crossOrigin","height","src","srcSet","useMap","width"]),S2=De(Ie,["open","onCancel","onClose"]);function _2(n,r,l){const i=Array.isArray(r),s={},f=Object.keys(n);for(const v of f)(!i&&r[v]||i&&r.indexOf(v)>=0||v.indexOf("data-")===0||v.indexOf("aria-")===0)&&(!l||(l==null?void 0:l.indexOf(v))===-1)&&(s[v]=n[v]);return s}const w2={label:t2,audio:Lm,video:o2,ol:n2,li:a2,a:r2,button:yi,input:i2,textarea:u2,select:c2,option:s2,table:f2,tr:d2,th:v2,td:h2,colGroup:m2,col:g2,fieldset:b2,form:p2,iframe:y2,img:x2,time:l2,dialog:S2};function Gm(n,r,l){const i=n&&w2[n]||Ie;return i.as=1,_2(r,i,l)}const Pm=({primarySlotTagName:n,props:r,excludedPropNames:l})=>({root:{style:r.style,className:r.className},primary:Gm(n,r,[...l||[],"style","className"])}),An=(n,r,l)=>{var i;return Gm((i=r.as)!==null&&i!==void 0?i:n,r,l)};function z2(n,r){const l=A.useRef(void 0),i=A.useCallback((f,v)=>(l.current!==void 0&&r(l.current),l.current=n(f,v),l.current),[r,n]),s=A.useCallback(()=>{l.current!==void 0&&(r(l.current),l.current=void 0)},[r]);return A.useEffect(()=>s,[s]),[i,s]}const Zm=A.createContext(void 0),k2="";Zm.Provider;function B2(){var n;return(n=A.useContext(Zm))!==null&&n!==void 0?n:k2}const Xm=A.createContext(void 0),T2={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"};Xm.Provider;function no(){var n;return(n=A.useContext(Xm))!==null&&n!==void 0?n:T2}const Vm=A.createContext(void 0);Vm.Provider;function Ym(){var n;return(n=A.useContext(Vm))!==null&&n!==void 0?n:{}}const Qm=A.createContext(void 0),E2=()=>{};Qm.Provider;const Ot=n=>{var r,l;return(l=(r=A.useContext(Qm))===null||r===void 0?void 0:r[n])!==null&&l!==void 0?l:E2},Km=A.createContext(void 0);Km.Provider;function j2(){return A.useContext(Km)}function A2(n){return typeof n=="function"}const js=n=>{"use no memo";const[r,l]=A.useState(()=>n.defaultState===void 0?n.initialState:C2(n.defaultState)?n.defaultState():n.defaultState),i=A.useRef(n.state);A.useEffect(()=>{i.current=n.state},[n.state]);const s=A.useCallback(f=>{A2(f)&&f(i.current)},[]);return N2(n.state)?[n.state,s]:[r,l]};function C2(n){return typeof n=="function"}const N2=n=>{"use no memo";const[r]=A.useState(()=>n!==void 0);return r};function D2(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const R2={current:0},q2=A.createContext(void 0);function M2(){var n;return(n=A.useContext(q2))!==null&&n!==void 0?n:R2}const uo=D2()?A.useLayoutEffect:A.useEffect,gt=n=>{const r=A.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return uo(()=>{r.current=n},[n]),A.useCallback((...l)=>{const i=r.current;return i(...l)},[r])};function O2(){const n=A.useRef(!0);return A.useEffect(()=>{n.current&&(n.current=!1)},[]),n.current}function H2(){return A.useReducer(n=>n+1,0)[1]}const Wm=A.createContext(void 0);Wm.Provider;function F2(){return A.useContext(Wm)||""}function Er(n="fui-",r){"use no memo";const l=M2(),i=F2(),s=ui.useId;if(s){const f=s(),v=A.useMemo(()=>f.replace(/:/g,""),[f]);return r||`${i}${n}${v}`}return A.useMemo(()=>r||`${i}${n}${++l.current}`,[i,n,r,l])}function Im(...n){"use no memo";const r=A.useCallback(l=>{r.current=l;for(const i of n)typeof i=="function"?i(l):i&&(i.current=l)},[...n]);return r}const U2=n=>-1,L2=n=>{};function G2(){const{targetDocument:n}=no(),r=n==null?void 0:n.defaultView,l=r?r.setTimeout:U2,i=r?r.clearTimeout:L2;return z2(l,i)}const P2=parseInt(A.version,10)>=19;function Z2(n){if(n)return P2?n.props.ref:n.ref}function ph(n,r){return(...l)=>{n==null||n(...l),r==null||r(...l)}}function hs(n,r){var l;const i=n;var s;return!!(!(i==null||(l=i.ownerDocument)===null||l===void 0)&&l.defaultView&&i instanceof i.ownerDocument.defaultView[(s=void 0)!==null&&s!==void 0?s:"HTMLElement"])}function X2(n){return n&&!!n._virtual}function V2(n){return X2(n)&&n._virtual.parent||null}function Y2(n,r={}){if(!n)return null;if(!r.skipVirtual){const i=V2(n);if(i)return i}const l=n.parentNode;return l&&l.nodeType===11?l.host:l}function yh(n,r){n&&Object.assign(n,{_virtual:{parent:r}})}function Q2(n,r){return{...r,[wa]:n}}function Jm(n,r){return function(i,s,f,v,m){return bh(s)?r(Q2(i,s),null,f,v,m):bh(i)?r(i,s,f,v,m):n(i,s,f,v,m)}}function $m(n){const{as:r,[Um]:l,[wa]:i,[si]:s,...f}=n,v=f,m=typeof i=="string"?r??i:i;return typeof m!="string"&&r&&(v.as=r),{elementType:m,props:v,renderFunction:s}}const En=Sp,K2=(n,r,l)=>{const{elementType:i,renderFunction:s,props:f}=$m(n),v={...f,...r};return s?En.jsx(A.Fragment,{children:s(i,v)},l):En.jsx(i,v,l)},W2=(n,r,l)=>{const{elementType:i,renderFunction:s,props:f}=$m(n),v={...f,...r};return s?En.jsx(A.Fragment,{children:s(i,{...v,children:En.jsxs(A.Fragment,{children:v.children},void 0)})},l):En.jsxs(i,v,l)},we=Jm(En.jsx,K2),an=Jm(En.jsxs,W2),e1=A.createContext(void 0),I2={};e1.Provider;const J2=()=>{const n=A.useContext(e1);return n??I2};var $2=typeof WeakRef<"u",xh=class{constructor(n){$2&&typeof n=="object"?this._weakRef=new WeakRef(n):this._instance=n}deref(){var n,r;let l;return this._weakRef?(l=(n=this._weakRef)==null?void 0:n.deref(),l||delete this._weakRef):(l=this._instance,(r=l==null?void 0:l.isDisposed)!=null&&r.call(l)&&delete this._instance),l}},jo="keyborg:focusin",Tr="keyborg:focusout";function e5(n){const r=n.HTMLElement,l=r.prototype.focus;let i=!1;return r.prototype.focus=function(){i=!0},n.document.createElement("button").focus(),r.prototype.focus=l,i}var $c=!1;function jn(n){const r=n.focus;r.__keyborgNativeFocus?r.__keyborgNativeFocus.call(n):n.focus()}function t5(n){const r=n;$c||($c=e5(r));const l=r.HTMLElement.prototype.focus;if(l.__keyborgNativeFocus)return;r.HTMLElement.prototype.focus=g;const i=new Set,s=y=>{const p=y.target;if(!p)return;const x=new CustomEvent(Tr,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:y}});p.dispatchEvent(x)},f=y=>{const p=y.target;if(!p)return;let x=y.composedPath()[0];const _=new Set;for(;x;)x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(_.add(x),x=x.host):x=x.parentNode;for(const z of i){const k=z.deref();(!k||!_.has(k))&&(i.delete(z),k&&(k.removeEventListener("focusin",f,!0),k.removeEventListener("focusout",s,!0)))}v(p,y.relatedTarget||void 0)},v=(y,p,x)=>{var _;const z=y.shadowRoot;if(z){for(const D of i)if(D.deref()===z)return;z.addEventListener("focusin",f,!0),z.addEventListener("focusout",s,!0),i.add(new xh(z));return}const k={relatedTarget:p,originalEvent:x},O=new CustomEvent(jo,{cancelable:!0,bubbles:!0,composed:!0,detail:k});O.details=k,($c||m.lastFocusedProgrammatically)&&(k.isFocusedProgrammatically=y===((_=m.lastFocusedProgrammatically)==null?void 0:_.deref()),m.lastFocusedProgrammatically=void 0),y.dispatchEvent(O)},m=r.__keyborgData={focusInHandler:f,focusOutHandler:s,shadowTargets:i};r.document.addEventListener("focusin",r.__keyborgData.focusInHandler,!0),r.document.addEventListener("focusout",r.__keyborgData.focusOutHandler,!0);function g(){const y=r.__keyborgData;return y&&(y.lastFocusedProgrammatically=new xh(this)),l.apply(this,arguments)}let h=r.document.activeElement;for(;h&&h.shadowRoot;)v(h),h=h.shadowRoot.activeElement;g.__keyborgNativeFocus=l}function o5(n){const r=n,l=r.HTMLElement.prototype,i=l.focus.__keyborgNativeFocus,s=r.__keyborgData;if(s){r.document.removeEventListener("focusin",s.focusInHandler,!0),r.document.removeEventListener("focusout",s.focusOutHandler,!0);for(const f of s.shadowTargets){const v=f.deref();v&&(v.removeEventListener("focusin",s.focusInHandler,!0),v.removeEventListener("focusout",s.focusOutHandler,!0))}s.shadowTargets.clear(),delete r.__keyborgData}i&&(l.focus=i)}var n5=500,t1=0,a5=class{constructor(n,r){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=i=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const s=i.detail;s.relatedTarget&&(s.isFocusedProgrammatically||s.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=i=>{i.buttons===0||i.clientX===0&&i.clientY===0&&i.screenX===0&&i.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const i=this._win;i&&(this._isMouseOrTouchUsedTimer&&i.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=i.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=i=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(i)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(i)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++t1,this._win=n;const l=n.document;if(r){const i=r.triggerKeys,s=r.dismissKeys;i!=null&&i.length&&(this._triggerKeys=new Set(i)),s!=null&&s.length&&(this._dismissKeys=new Set(s))}l.addEventListener(jo,this._onFocusIn,!0),l.addEventListener("mousedown",this._onMouseDown,!0),n.addEventListener("keydown",this._onKeyDown,!0),l.addEventListener("touchstart",this._onMouseOrTouch,!0),l.addEventListener("touchend",this._onMouseOrTouch,!0),l.addEventListener("touchcancel",this._onMouseOrTouch,!0),t5(n)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(n){this._isNavigatingWithKeyboard_DO_NOT_USE!==n&&(this._isNavigatingWithKeyboard_DO_NOT_USE=n,this.update())}dispose(){const n=this._win;if(n){this._isMouseOrTouchUsedTimer&&(n.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(n.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),o5(n);const r=n.document;r.removeEventListener(jo,this._onFocusIn,!0),r.removeEventListener("mousedown",this._onMouseDown,!0),n.removeEventListener("keydown",this._onKeyDown,!0),r.removeEventListener("touchstart",this._onMouseOrTouch,!0),r.removeEventListener("touchend",this._onMouseOrTouch,!0),r.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var n,r;const l=(r=(n=this._win)==null?void 0:n.__keyborg)==null?void 0:r.refs;if(l)for(const i of Object.keys(l))As.update(l[i],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(n){var r;if(n.key==="Tab")return!0;const l=(r=this._win)==null?void 0:r.document.activeElement,i=!this._triggerKeys||this._triggerKeys.has(n.keyCode),s=l&&(l.tagName==="INPUT"||l.tagName==="TEXTAREA"||l.isContentEditable);return i&&!s}_shouldDismissKeyboardNavigation(n){var r;return(r=this._dismissKeys)==null?void 0:r.has(n.keyCode)}_scheduleDismiss(){const n=this._win;if(n){this._dismissTimer&&(n.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const r=n.document.activeElement;this._dismissTimer=n.setTimeout(()=>{this._dismissTimer=void 0;const l=n.document.activeElement;r&&l&&r===l&&(this.isNavigatingWithKeyboard=!1)},n5)}}},As=class o1{constructor(r,l){this._cb=[],this._id="k"+ ++t1,this._win=r;const i=r.__keyborg;i?(this._core=i.core,i.refs[this._id]=this):(this._core=new a5(r,l),r.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(r,l){return new o1(r,l)}static dispose(r){r.dispose()}static update(r,l){r._cb.forEach(i=>i(l))}dispose(){var r;const l=(r=this._win)==null?void 0:r.__keyborg;l!=null&&l.refs[this._id]&&(delete l.refs[this._id],Object.keys(l.refs).length===0&&(l.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var r;return!!((r=this._core)!=null&&r.isNavigatingWithKeyboard)}subscribe(r){this._cb.push(r)}unsubscribe(r){const l=this._cb.indexOf(r);l>=0&&this._cb.splice(l,1)}setVal(r){this._core&&(this._core.isNavigatingWithKeyboard=r)}};function n1(n,r){return As.create(n,r)}function a1(n){As.dispose(n)}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. *//*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */const nn="data-tabster",r5="data-tabster-dummy",r1=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,ba={EscapeGroupper:1,Restorer:2,Deloser:3},za={Source:0,Target:1},l5={Outside:2};/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */function Wt(n,r){var l;return(l=n.storageEntry(r))===null||l===void 0?void 0:l.tabster}function l1(n,r,l){var i,s,f;const v=l||n._noop?void 0:r.getAttribute(nn);let m=n.storageEntry(r),g;if(v)if(v!==((i=m==null?void 0:m.attr)===null||i===void 0?void 0:i.string))try{const x=JSON.parse(v);if(typeof x!="object")throw new Error(`Value is not a JSON object, got '${v}'.`);g={string:v,object:x}}catch{}else return;else if(!m)return;m||(m=n.storageEntry(r,!0)),m.tabster||(m.tabster={});const h=m.tabster||{},y=((s=m.attr)===null||s===void 0?void 0:s.object)||{},p=(g==null?void 0:g.object)||{};for(const x of Object.keys(y))if(!p[x]){if(x==="root"){const _=h[x];_&&n.root.onRoot(_,!0)}switch(x){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const _=h[x];_&&(_.dispose(),delete h[x]);break;case"observed":delete h[x],n.observedElement&&n.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete h[x];break}}for(const x of Object.keys(p)){const _=p.sys;switch(x){case"deloser":h.deloser?h.deloser.setProps(p.deloser):n.deloser&&(h.deloser=n.deloser.createDeloser(r,p.deloser));break;case"root":h.root?h.root.setProps(p.root):h.root=n.root.createRoot(r,p.root,_),n.root.onRoot(h.root);break;case"modalizer":{let z;const k=n.modalizer;if(h.modalizer){const O=p.modalizer,D=O.id;D&&((f=y==null?void 0:y.modalizer)===null||f===void 0?void 0:f.id)!==D?(h.modalizer.dispose(),z=O):h.modalizer.setProps(O)}else k&&(z=p.modalizer);k&&z&&(h.modalizer=k.createModalizer(r,z,_))}break;case"restorer":h.restorer?h.restorer.setProps(p.restorer):n.restorer&&p.restorer&&(h.restorer=n.restorer.createRestorer(r,p.restorer));break;case"focusable":h.focusable=p.focusable;break;case"groupper":h.groupper?h.groupper.setProps(p.groupper):n.groupper&&(h.groupper=n.groupper.createGroupper(r,p.groupper,_));break;case"mover":h.mover?h.mover.setProps(p.mover):n.mover&&(h.mover=n.mover.createMover(r,p.mover,_));break;case"observed":n.observedElement&&(h.observed=p.observed,n.observedElement.onObservedElementUpdate(r));break;case"uncontrolled":h.uncontrolled=p.uncontrolled;break;case"outline":n.outline&&(h.outline=p.outline);break;case"sys":h.sys=p.sys;break;default:console.error(`Unknown key '${x}' in data-tabster attribute value.`)}}g?m.attr=g:(Object.keys(h).length===0&&(delete m.tabster,delete m.attr),n.storageEntry(r,!1))}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */const i5="tabster:focusin",u5="tabster:focusout",c5="tabster:movefocus",s5="tabster:modalizer:active",f5="tabster:modalizer:inactive",ms="tabster:restorer:restore-focus",d5="tabster:root:focus",v5="tabster:root:blur",h5=typeof CustomEvent<"u"?CustomEvent:function(){};class rn extends h5{constructor(r,l){super(r,{bubbles:!0,cancelable:!0,composed:!0,detail:l}),this.details=l}}class m5 extends rn{constructor(r){super(i5,r)}}class g5 extends rn{constructor(r){super(u5,r)}}class kr extends rn{constructor(r){super(c5,r)}}class b5 extends rn{constructor(r){super(s5,r)}}class p5 extends rn{constructor(r){super(f5,r)}}class Sh extends rn{constructor(){super(ms)}}class y5 extends rn{constructor(r){super(d5,r)}}class x5 extends rn{constructor(r){super(v5,r)}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */const S5=n=>new MutationObserver(n),_5=(n,r,l,i)=>n.createTreeWalker(r,l,i),w5=n=>n?n.parentNode:null,z5=n=>n?n.parentElement:null,k5=(n,r)=>!!(r&&(n!=null&&n.contains(r))),B5=n=>n.activeElement,T5=(n,r)=>n.querySelector(r),E5=(n,r)=>Array.prototype.slice.call(n.querySelectorAll(r),0),j5=(n,r)=>n.getElementById(r),A5=n=>(n==null?void 0:n.firstChild)||null,C5=n=>(n==null?void 0:n.lastChild)||null,N5=n=>(n==null?void 0:n.nextSibling)||null,D5=n=>(n==null?void 0:n.previousSibling)||null,R5=n=>(n==null?void 0:n.firstElementChild)||null,q5=n=>(n==null?void 0:n.lastElementChild)||null,M5=n=>(n==null?void 0:n.nextElementSibling)||null,O5=n=>(n==null?void 0:n.previousElementSibling)||null,H5=(n,r)=>n.appendChild(r),F5=(n,r,l)=>n.insertBefore(r,l),U5=n=>{var r;return((r=n.ownerDocument)===null||r===void 0?void 0:r.getSelection())||null},L5=(n,r)=>n.ownerDocument.getElementsByName(r),I={createMutationObserver:S5,createTreeWalker:_5,getParentNode:w5,getParentElement:z5,nodeContains:k5,getActiveElement:B5,querySelector:T5,querySelectorAll:E5,getElementById:j5,getFirstChild:A5,getLastChild:C5,getNextSibling:N5,getPreviousSibling:D5,getFirstElementChild:R5,getLastElementChild:q5,getNextElementSibling:M5,getPreviousElementSibling:O5,appendChild:H5,insertBefore:F5,getSelection:U5,getElementsByName:L5};function G5(n){for(const r of Object.keys(n))I[r]=n[r]}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */let gs,P5=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),gs=!1}catch{gs=!0}const es=100;function Cn(n){const r=n();let l=r.__tabsterInstanceContext;return l||(l={elementByUId:{},basics:{Promise:r.Promise||void 0,WeakRef:r.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},r.__tabsterInstanceContext=l),l}function Z5(n){const r=n.__tabsterInstanceContext;r&&(r.elementByUId={},delete r.WeakRef,r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&n.clearTimeout(r.containerBoundingRectCacheTimer),r.fakeWeakRefsTimer&&n.clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefs=[],delete n.__tabsterInstanceContext)}function X5(n){const r=n.__tabsterInstanceContext;return new((r==null?void 0:r.basics.WeakMap)||WeakMap)}function V5(n){return!!n.querySelector(r1)}class i1{constructor(r){this._target=r}deref(){return this._target}static cleanup(r,l){return r._target?l||!Cs(r._target.ownerDocument,r._target)?(delete r._target,!0):!1:!0}}class oo{constructor(r,l,i){const s=Cn(r);let f;s.WeakRef?f=new s.WeakRef(l):(f=new i1(l),s.fakeWeakRefs.push(f)),this._ref=f,this._data=i}get(){const r=this._ref;let l;return r&&(l=r.deref(),l||delete this._ref),l}getData(){return this._data}}function u1(n,r){const l=Cn(n);l.fakeWeakRefs=l.fakeWeakRefs.filter(i=>!i1.cleanup(i,r))}function c1(n){const r=Cn(n);r.fakeWeakRefsStarted||(r.fakeWeakRefsStarted=!0,r.WeakRef=J5(r)),r.fakeWeakRefsTimer||(r.fakeWeakRefsTimer=n().setTimeout(()=>{r.fakeWeakRefsTimer=void 0,u1(n),c1(n)},120*1e3))}function Y5(n){const r=Cn(n);r.fakeWeakRefsStarted=!1,r.fakeWeakRefsTimer&&(n().clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefsTimer=void 0,r.fakeWeakRefs=[])}function s1(n,r,l){if(r.nodeType!==Node.ELEMENT_NODE)return;const i=gs?l:{acceptNode:l};return I.createTreeWalker(n,r,NodeFilter.SHOW_ELEMENT,i,!1)}function Q5(n){n.__shouldIgnoreFocus=!0}function f1(n){return!!n.__shouldIgnoreFocus}function K5(n){const r=new Uint32Array(4);if(n.crypto&&n.crypto.getRandomValues)n.crypto.getRandomValues(r);else if(n.msCrypto&&n.msCrypto.getRandomValues)n.msCrypto.getRandomValues(r);else for(let i=0;i{if(this._fixedTarget){const x=this._fixedTarget.get();x&&jn(x);return}const p=this.input;if(this.onFocusIn&&p){const x=y.relatedTarget;this.onFocusIn(this,this._isBackward(!0,p,x),x)}},this._focusOut=y=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const p=this.input;if(this.onFocusOut&&p){const x=y.relatedTarget;this.onFocusOut(this,this._isBackward(!1,p,x),x)}};const m=r(),g=m.document.createElement("i");g.tabIndex=0,g.setAttribute("role","none"),g.setAttribute(r5,""),g.setAttribute("aria-hidden","true");const h=g.style;h.position="fixed",h.width=h.height="1px",h.opacity="0.001",h.zIndex="-1",h.setProperty("content-visibility","hidden"),Q5(g),this.input=g,this.isFirst=i.isFirst,this.isOutside=l,this._isPhantom=(v=i.isPhantom)!==null&&v!==void 0?v:!1,this._fixedTarget=f,g.addEventListener("focusin",this._focusIn),g.addEventListener("focusout",this._focusOut),g.__tabsterDummyContainer=s,this._isPhantom&&(this._disposeTimer=m.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(m.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var r;this._clearDisposeTimeout&&this._clearDisposeTimeout();const l=this.input;l&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,l.removeEventListener("focusin",this._focusIn),l.removeEventListener("focusout",this._focusOut),delete l.__tabsterDummyContainer,(r=I.getParentNode(l))===null||r===void 0||r.removeChild(l))}setTopLeft(r,l){var i;const s=(i=this.input)===null||i===void 0?void 0:i.style;s&&(s.top=`${r}px`,s.left=`${l}px`)}_isBackward(r,l,i){return r&&!i?!this.isFirst:!!(i&&l.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING)}}const d1={Root:1,Modalizer:2};class di{constructor(r,l,i,s,f,v){this._element=l,this._instance=new tx(r,l,this,i,s,f,v)}_setHandlers(r,l){this._onFocusIn=r,this._onFocusOut=l}moveOut(r){var l;(l=this._instance)===null||l===void 0||l.moveOut(r)}moveOutWithDefaultAction(r,l){var i;(i=this._instance)===null||i===void 0||i.moveOutWithDefaultAction(r,l)}getHandler(r){return r?this._onFocusIn:this._onFocusOut}setTabbable(r){var l;(l=this._instance)===null||l===void 0||l.setTabbable(this,r)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(r,l,i,s,f){const m=new fi(r.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(m){let g,h;if(l.tagName==="BODY")g=l,h=i&&s||!i&&!s?I.getFirstElementChild(l):null;else{i&&(!s||s&&!r.focusable.isFocusable(l,!1,!0,!0))?(g=l,h=s?l.firstElementChild:null):(g=I.getParentElement(l),h=i&&s||!i&&!s?l:I.getNextElementSibling(l));let y,p;do y=i&&s||!i&&!s?I.getPreviousElementSibling(h):h,p=Ds(y),p===l?h=i&&s||!i&&!s?y:I.getNextElementSibling(y):p=null;while(p)}g!=null&&g.dispatchEvent(new kr({by:"root",owner:g,next:null,relatedEvent:f}))&&(I.insertBefore(g,m,h),jn(m))}}static addPhantomDummyWithTarget(r,l,i,s){const v=new fi(r.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new oo(r.getWindow,s)).input;if(v){let m,g;V5(l)&&!i?(m=l,g=I.getFirstElementChild(l)):(m=I.getParentElement(l),g=i?l:I.getNextElementSibling(l)),m&&I.insertBefore(m,v,g)}}}class ex{constructor(r){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=l=>{var i;this._changedParents.has(l)||(this._changedParents.add(l),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(i=this._win)===null||i===void 0?void 0:i.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const s of this._dummyElements){const f=s.get();if(f){const v=this._dummyCallbacks.get(f);if(v){const m=I.getParentNode(f);(!m||this._changedParents.has(m))&&v()}}}this._changedParents=new WeakSet},es)))},this._win=r}add(r,l){!this._dummyCallbacks.has(r)&&this._win&&(this._dummyElements.push(new oo(this._win,r)),this._dummyCallbacks.set(r,l),this.domChanged=this._domChanged)}remove(r){this._dummyElements=this._dummyElements.filter(l=>{const i=l.get();return i&&i!==r}),this._dummyCallbacks.delete(r),this._dummyElements.length===0&&delete this.domChanged}dispose(){var r;const l=(r=this._win)===null||r===void 0?void 0:r.call(this);this._updateTimer&&(l==null||l.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(l==null||l.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(r){this._win&&(this._updateQueue.add(r),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var r;this._updateTimer||(this._updateTimer=(r=this._win)===null||r===void 0?void 0:r.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+es<=Date.now()){const l=new Map,i=[];for(const s of this._updateQueue)i.push(s(l));this._updateQueue.clear();for(const s of i)s();l.clear()}else this._scheduledUpdatePositions()},es))}}class tx{constructor(r,l,i,s,f,v,m){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(_,z,k)=>{this._onFocus(!0,_,z,k)},this._onFocusOut=(_,z,k)=>{this._onFocus(!1,_,z,k)},this.moveOut=_=>{var z;const k=this._firstDummy,O=this._lastDummy;if(k&&O){this._ensurePosition();const D=k.input,U=O.input,R=(z=this._element)===null||z===void 0?void 0:z.get();if(D&&U&&R){let V;_?(D.tabIndex=0,V=D):(U.tabIndex=0,V=U),V&&jn(V)}}},this.moveOutWithDefaultAction=(_,z)=>{var k;const O=this._firstDummy,D=this._lastDummy;if(O&&D){this._ensurePosition();const U=O.input,R=D.input,V=(k=this._element)===null||k===void 0?void 0:k.get();if(U&&R&&V){let X;_?!O.isOutside&&this._tabster.focusable.isFocusable(V,!0,!0,!0)?X=V:(O.useDefaultAction=!0,U.tabIndex=0,X=U):(D.useDefaultAction=!0,R.tabIndex=0,X=R),X&&V.dispatchEvent(new kr({by:"root",owner:V,next:null,relatedEvent:z}))&&jn(X)}}},this.setTabbable=(_,z)=>{var k,O;for(const U of this._wrappers)if(U.manager===_){U.tabbable=z;break}const D=this._getCurrent();if(D){const U=D.tabbable?0:-1;let R=(k=this._firstDummy)===null||k===void 0?void 0:k.input;R&&(R.tabIndex=U),R=(O=this._lastDummy)===null||O===void 0?void 0:O.input,R&&(R.tabIndex=U)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=_=>{var z,k;const O=((z=this._firstDummy)===null||z===void 0?void 0:z.input)||((k=this._lastDummy)===null||k===void 0?void 0:k.input),D=this._transformElements,U=new Set;let R=0,V=0;const X=this._getWindow();for(let Y=O;Y&&Y.nodeType===Node.ELEMENT_NODE;Y=I.getParentElement(Y)){let G=_.get(Y);if(G===void 0){const le=X.getComputedStyle(Y).transform;le&&le!=="none"&&(G={scrollTop:Y.scrollTop,scrollLeft:Y.scrollLeft}),_.set(Y,G||null)}G&&(U.add(Y),D.has(Y)||Y.addEventListener("scroll",this._addTransformOffsets),R+=G.scrollTop,V+=G.scrollLeft)}for(const Y of D)U.has(Y)||Y.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=U,()=>{var Y,G;(Y=this._firstDummy)===null||Y===void 0||Y.setTopLeft(R,V),(G=this._lastDummy)===null||G===void 0||G.setTopLeft(R,V)}};const g=l.get();if(!g)throw new Error("No element");this._tabster=r,this._getWindow=r.getWindow,this._callForDefaultAction=m;const h=g.__tabsterDummy;if((h||this)._wrappers.push({manager:i,priority:s,tabbable:!0}),h)return h;g.__tabsterDummy=this;const y=f==null?void 0:f.dummyInputsPosition,p=g.tagName;this._isOutside=y?y===l5.Outside:(v||p==="UL"||p==="OL"||p==="TABLE")&&!(p==="LI"||p==="TD"||p==="TH"),this._firstDummy=new fi(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new fi(this._getWindow,this._isOutside,{isFirst:!1},l);const x=this._firstDummy.input;x&&r._dummyObserver.add(x,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=l,this._addDummyInputs()}dispose(r,l){var i,s,f,v;if((this._wrappers=this._wrappers.filter(g=>g.manager!==r&&!l)).length===0){delete((i=this._element)===null||i===void 0?void 0:i.get()).__tabsterDummy;for(const y of this._transformElements)y.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const g=this._getWindow();this._addTimer&&(g.clearTimeout(this._addTimer),delete this._addTimer);const h=(s=this._firstDummy)===null||s===void 0?void 0:s.input;h&&this._tabster._dummyObserver.remove(h),(f=this._firstDummy)===null||f===void 0||f.dispose(),(v=this._lastDummy)===null||v===void 0||v.dispose()}}_onFocus(r,l,i,s){var f;const v=this._getCurrent();v&&(!l.useDefaultAction||this._callForDefaultAction)&&((f=v.manager.getHandler(r))===null||f===void 0||f(l,i,s))}_getCurrent(){return this._wrappers.sort((r,l)=>r.tabbable!==l.tabbable?r.tabbable?-1:1:r.priority-l.priority),this._wrappers[0]}_ensurePosition(){var r,l,i;const s=(r=this._element)===null||r===void 0?void 0:r.get(),f=(l=this._firstDummy)===null||l===void 0?void 0:l.input,v=(i=this._lastDummy)===null||i===void 0?void 0:i.input;if(!(!s||!f||!v))if(this._isOutside){const m=I.getParentNode(s);if(m){const g=I.getNextSibling(s);g!==v&&I.insertBefore(m,v,g),I.getPreviousElementSibling(s)!==f&&I.insertBefore(m,f,s)}}else{I.getLastElementChild(s)!==v&&I.appendChild(s,v);const m=I.getFirstElementChild(s);m&&m!==f&&m.parentNode&&I.insertBefore(m.parentNode,f,m)}}}function v1(n){let r=null;for(let l=I.getLastElementChild(n);l;l=I.getLastElementChild(l))r=l;return r||void 0}function ts(n,r,l,i){const s=n.storageEntry(r,!0);let f=!1;if(!s.aug){if(i===void 0)return f;s.aug={}}if(i===void 0){if(l in s.aug){const v=s.aug[l];delete s.aug[l],v===null?r.removeAttribute(l):r.setAttribute(l,v),f=!0}}else{let v;l in s.aug||(v=r.getAttribute(l)),v!==void 0&&v!==i&&(s.aug[l]=v,i===null?r.removeAttribute(l):r.setAttribute(l,i),f=!0)}return i===void 0&&Object.keys(s.aug).length===0&&(delete s.aug,n.storageEntry(r,!1)),f}function ox(n){var r,l;const i=n.ownerDocument,s=(r=i.defaultView)===null||r===void 0?void 0:r.getComputedStyle(n);return n.offsetParent===null&&i.body!==n&&(s==null?void 0:s.position)!=="fixed"||(s==null?void 0:s.visibility)==="hidden"||(s==null?void 0:s.position)==="fixed"&&(s.display==="none"||((l=n.parentElement)===null||l===void 0?void 0:l.offsetParent)===null&&i.body!==n.parentElement)}function bs(n){return n.tagName==="INPUT"&&!!n.name&&n.type==="radio"}function nx(n){if(!bs(n))return;const r=n.name;let l=Array.from(I.getElementsByName(n,r)),i;return l=l.filter(s=>bs(s)?(s.checked&&(i=s),!0):!1),{name:r,buttons:new Set(l),checked:i}}function Ds(n){var r;return((r=n==null?void 0:n.__tabsterDummyContainer)===null||r===void 0?void 0:r.get())||null}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */function h1(n,r){return JSON.stringify(n)}function ax(n,r){for(const l of Object.keys(r)){const i=r[l];i?n[l]=i:delete n[l]}}function rx(n,r,l){let i;{const s=n.getAttribute(nn);if(s)try{i=JSON.parse(s)}catch{}}i||(i={}),ax(i,r),Object.keys(i).length>0?n.setAttribute(nn,h1(i)):n.removeAttribute(nn)}class wh extends di{constructor(r,l,i,s){super(r,l,d1.Root,s,void 0,!0),this._onDummyInputFocus=f=>{var v;if(f.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const m=this._element.get();if(m){this._setFocused(!0);const g=this._tabster.focusedElement.getFirstOrLastTabbable(f.isFirst,{container:m,ignoreAccessibility:!0});if(g){jn(g);return}}(v=f.input)===null||v===void 0||v.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=r,this._setFocused=i}}class lx extends Ns{constructor(r,l,i,s,f){super(r,l,s),this._isFocused=!1,this._setFocused=h=>{var y;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===h)return;const p=this._element.get();p&&(h?(this._isFocused=!0,(y=this._dummyManager)===null||y===void 0||y.setTabbable(!1),p.dispatchEvent(new y5({element:p}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var x;delete this._setFocusedTimer,this._isFocused=!1,(x=this._dummyManager)===null||x===void 0||x.setTabbable(!0),p.dispatchEvent(new x5({element:p}))},0))},this._onFocusIn=h=>{const y=this._tabster.getParent,p=this._element.get();let x=h.composedPath()[0];do{if(x===p){this._setFocused(!0);return}x=x&&y(x)}while(x)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=i;const v=r.getWindow;this.uid=W5(v,l),this._sys=f,(r.controlTab||r.rootDummyInputs)&&this.addDummyInputs();const g=v().document;g.addEventListener(jo,this._onFocusIn),g.addEventListener(Tr,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new wh(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var r;this._onDispose(this);const l=this._tabster.getWindow(),i=l.document;i.removeEventListener(jo,this._onFocusIn),i.removeEventListener(Tr,this._onFocusOut),this._setFocusedTimer&&(l.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(r=this._dummyManager)===null||r===void 0||r.dispose(),this._remove()}moveOutWithDefaultAction(r,l){const i=this._dummyManager;if(i)i.moveOutWithDefaultAction(r,l);else{const s=this.getElement();s&&wh.moveWithPhantomDummy(this._tabster,s,!0,r,l)}}_add(){}_remove(){}}class We{constructor(r,l){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var i;const s=this._win().document,f=s.body;if(f){this._autoRootUnwait(s);const v=this._autoRoot;if(v)return rx(f,{root:v}),l1(this._tabster,f),(i=Wt(this._tabster,f))===null||i===void 0?void 0:i.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,s.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=i=>{delete this._roots[i.id]},this._tabster=r,this._win=r.getWindow,this._autoRoot=l,r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(l=>{this._roots[l]&&(this._roots[l].dispose(),delete this._roots[l])}),this.rootById={}}createRoot(r,l,i){const s=new lx(this._tabster,r,this._onRootDispose,l,i);return this._roots[s.id]=s,this._forceDummy&&s.addDummyInputs(),s}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const l of Object.keys(r))r[l].addDummyInputs()}static getRootByUId(r,l){const i=r().__tabsterInstance;return i&&i.root.rootById[l]}static getTabsterContext(r,l,i={}){var s,f,v,m;if(!l.ownerDocument)return;const{checkRtl:g,referenceElement:h}=i,y=r.getParent;r.drainInitQueue();let p,x,_,z,k=!1,O,D,U,R,V=h||l;const X={};for(;V&&(!p||g);){const G=Wt(r,V);if(g&&U===void 0){const W=V.dir;W&&(U=W.toLowerCase()==="rtl")}if(!G){V=y(V);continue}const le=V.tagName;(G.uncontrolled||le==="IFRAME"||le==="WEBVIEW")&&r.focusable.isVisible(V)&&(R=V),!z&&(!((s=G.focusable)===null||s===void 0)&&s.excludeFromMover)&&!_&&(k=!0);const Xe=G.modalizer,Ue=G.groupper,et=G.mover;!x&&Xe&&(x=Xe),!_&&Ue&&(!x||Xe)&&(x?(!Ue.isActive()&&Ue.getProps().tabbability&&x.userId!==((f=r.modalizer)===null||f===void 0?void 0:f.activeId)&&(x=void 0,_=Ue),D=Ue):_=Ue),!z&&et&&(!x||Xe)&&(!Ue||V!==l)&&V.contains(l)&&(z=et,O=!!_&&_!==Ue),G.root&&(p=G.root),!((v=G.focusable)===null||v===void 0)&&v.ignoreKeydown&&Object.assign(X,G.focusable.ignoreKeydown),V=y(V)}if(!p){const G=r.root;G._autoRoot&&!((m=l.ownerDocument)===null||m===void 0)&&m.body&&(p=G._autoRootCreate())}return _&&!z&&(O=!0),p?{root:p,modalizer:x,groupper:_,mover:z,groupperBeforeMover:O,modalizerInGroupper:D,rtl:g?!!U:void 0,uncontrolled:R,excludedFromMover:k,ignoreKeydown:G=>!!X[G.key]}:void 0}static getRoot(r,l){var i;const s=r.getParent;for(let f=l;f;f=s(f)){const v=(i=Wt(r,f))===null||i===void 0?void 0:i.root;if(v)return v}}onRoot(r,l){l?delete this.rootById[r.uid]:this.rootById[r.uid]=r}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class m1{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(r){const l=this._callbacks;l.indexOf(r)<0&&l.push(r)}subscribeFirst(r){const l=this._callbacks,i=l.indexOf(r);i>=0&&l.splice(i,1),l.unshift(r)}unsubscribe(r){const l=this._callbacks.indexOf(r);l>=0&&this._callbacks.splice(l,1)}setVal(r,l){this._val!==r&&(this._val=r,this._callCallbacks(r,l))}getVal(){return this._val}trigger(r,l){this._callCallbacks(r,l)}_callCallbacks(r,l){this._callbacks.forEach(i=>i(r,l))}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class ix{constructor(r){this._tabster=r}dispose(){}getProps(r){const l=Wt(this._tabster,r);return l&&l.focusable||{}}isFocusable(r,l,i,s){return I5(r,r1)&&(l||r.tabIndex!==-1)?(i||this.isVisible(r))&&(s||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||ox(r))return!1;const l=r.ownerDocument.body.getBoundingClientRect();return!(l.width===0&&l.height===0)}isAccessible(r){var l;for(let i=r;i;i=I.getParentElement(i)){const s=Wt(this._tabster,i);if(this._isHidden(i)||!((l=s==null?void 0:s.focusable)===null||l===void 0?void 0:l.ignoreAriaDisabled)&&this._isDisabled(i))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var l;const i=r.getAttribute("aria-hidden");return!!(i&&i.toLowerCase()==="true"&&!(!((l=this._tabster.modalizer)===null||l===void 0)&&l.isAugmented(r)))}findFirst(r,l){return this.findElement({...r},l)}findLast(r,l){return this.findElement({isBackward:!0,...r},l)}findNext(r,l){return this.findElement({...r},l)}findPrev(r,l){return this.findElement({...r,isBackward:!0},l)}findDefault(r,l){return this.findElement({...r,acceptCondition:i=>this.isFocusable(i,r.includeProgrammaticallyFocusable)&&!!this.getProps(i).isDefault},l)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,l){const i=this._findElements(!1,r,l);return i&&i[0]}_findElements(r,l,i){var s,f,v;const{container:m,currentElement:g=null,includeProgrammaticallyFocusable:h,useActiveModalizer:y,ignoreAccessibility:p,modalizerId:x,isBackward:_,onElement:z}=l;i||(i={});const k=[];let{acceptCondition:O}=l;const D=!!O;if(!m)return null;O||(O=X=>this.isFocusable(X,h,!1,p));const U={container:m,modalizerUserId:x===void 0&&y?(s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId:x||((v=(f=We.getTabsterContext(this._tabster,m))===null||f===void 0?void 0:f.modalizer)===null||v===void 0?void 0:v.userId),from:g||m,isBackward:_,isFindAll:r,acceptCondition:O,hasCustomCondition:D,includeProgrammaticallyFocusable:h,ignoreAccessibility:p,cachedGrouppers:{},cachedRadioGroups:{}},R=s1(m.ownerDocument,m,X=>this._acceptElement(X,U));if(!R)return null;const V=X=>{var Y,G;const le=(Y=U.foundElement)!==null&&Y!==void 0?Y:U.foundBackward;return le&&k.push(le),r?le&&(U.found=!1,delete U.foundElement,delete U.foundBackward,delete U.fromCtx,U.from=le,z&&!z(le))?!1:!!(le||X):(le&&i&&(i.uncontrolled=(G=We.getTabsterContext(this._tabster,le))===null||G===void 0?void 0:G.uncontrolled),!!(X&&!le))};if(g||(i.outOfDOMOrder=!0),g&&I.nodeContains(m,g))R.currentNode=g;else if(_){const X=v1(m);if(!X)return null;if(this._acceptElement(X,U)===NodeFilter.FILTER_ACCEPT&&!V(!0))return U.skippedFocusable&&(i.outOfDOMOrder=!0),k;R.currentNode=X}do _?R.previousNode():R.nextNode();while(V());return U.skippedFocusable&&(i.outOfDOMOrder=!0),k.length?k:null}_acceptElement(r,l){var i,s,f;if(l.found)return NodeFilter.FILTER_ACCEPT;const v=l.foundBackward;if(v&&(r===v||!I.nodeContains(v,r)))return l.found=!0,l.foundElement=v,NodeFilter.FILTER_ACCEPT;const m=l.container;if(r===m)return NodeFilter.FILTER_SKIP;if(!I.nodeContains(m,r)||Ds(r)||I.nodeContains(l.rejectElementsFrom,r))return NodeFilter.FILTER_REJECT;const g=l.currentCtx=We.getTabsterContext(this._tabster,r);if(!g)return NodeFilter.FILTER_SKIP;if(f1(r))return this.isFocusable(r,void 0,!0,!0)&&(l.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!l.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return this.isVisible(r)&&((i=g.modalizer)===null||i===void 0?void 0:i.userId)===((s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId)?(l.found=!0,l.rejectElementsFrom=l.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!l.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(l.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let h,y=l.fromCtx;y||(y=l.fromCtx=We.getTabsterContext(this._tabster,l.from));const p=y==null?void 0:y.mover;let x=g.groupper,_=g.mover;if(h=(f=this._tabster.modalizer)===null||f===void 0?void 0:f.acceptElement(r,l),h!==void 0&&(l.skippedFocusable=!0),h===void 0&&(x||_||p)){const z=x==null?void 0:x.getElement(),k=p==null?void 0:p.getElement();let O=_==null?void 0:_.getElement();if(O&&I.nodeContains(k,O)&&I.nodeContains(m,k)&&(!z||!_||I.nodeContains(k,z))&&(_=p,O=k),z){if(z===m||!I.nodeContains(m,z))x=void 0;else if(!I.nodeContains(z,r))return NodeFilter.FILTER_REJECT}if(O){if(!I.nodeContains(m,O))_=void 0;else if(!I.nodeContains(O,r))return NodeFilter.FILTER_REJECT}x&&_&&(O&&z&&!I.nodeContains(z,O)?_=void 0:x=void 0),x&&(h=x.acceptElement(r,l)),_&&(h=_.acceptElement(r,l))}if(h===void 0&&(h=l.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,h===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(l.skippedFocusable=!0)),h===NodeFilter.FILTER_ACCEPT&&!l.found){if(!l.isFindAll&&bs(r)&&!r.checked){const z=r.name;let k=l.cachedRadioGroups[z];if(k||(k=nx(r),k&&(l.cachedRadioGroups[z]=k)),k!=null&&k.checked&&k.checked!==r)return NodeFilter.FILTER_SKIP}l.isBackward?(l.foundBackward=r,h=NodeFilter.FILTER_SKIP):(l.found=!0,l.foundElement=r)}return h}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */const g1={Tab:"Tab",Escape:"Escape"};/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */function ux(n,r){var l;const i=n.getParent;let s=r;do{const f=(l=Wt(n,s))===null||l===void 0?void 0:l.uncontrolled;if(f&&n.uncontrolled.isUncontrolledCompletely(s,!!f.completely))return s;s=i(s)}while(s)}const zh={[ba.Restorer]:0,[ba.Deloser]:1,[ba.EscapeGroupper]:2};class $e extends m1{constructor(r,l){super(),this._init=()=>{const i=this._win(),s=i.document;s.addEventListener(jo,this._onFocusIn,!0),s.addEventListener(Tr,this._onFocusOut,!0),i.addEventListener("keydown",this._onKeyDown,!0);const f=I.getActiveElement(s);f&&f!==s.body&&this._setFocusedElement(f),this.subscribe(this._onChanged)},this._onFocusIn=i=>{const s=i.composedPath()[0];s&&this._setFocusedElement(s,i.detail.relatedTarget,i.detail.isFocusedProgrammatically)},this._onFocusOut=i=>{var s;this._setFocusedElement(void 0,(s=i.detail)===null||s===void 0?void 0:s.originalEvent.relatedTarget)},this._validateFocusedElement=i=>{},this._onKeyDown=i=>{if(i.key!==g1.Tab||i.ctrlKey)return;const s=this.getVal();if(!s||!s.ownerDocument||s.contentEditable==="true")return;const f=this._tabster,v=f.controlTab,m=We.getTabsterContext(f,s);if(!m||m.ignoreKeydown(i))return;const g=i.shiftKey,h=$e.findNextTabbable(f,m,void 0,s,void 0,g,!0),y=m.root.getElement();if(!y)return;const p=h==null?void 0:h.element,x=ux(f,s);if(p){const _=h.uncontrolled;if(m.uncontrolled||I.nodeContains(_,s)){if(!h.outOfDOMOrder&&_===m.uncontrolled||x&&!I.nodeContains(x,p))return;di.addPhantomDummyWithTarget(f,s,g,p);return}if(_&&f.focusable.isVisible(_)||p.tagName==="IFRAME"&&f.focusable.isVisible(p)){y.dispatchEvent(new kr({by:"root",owner:y,next:p,relatedEvent:i}))&&di.moveWithPhantomDummy(f,_??p,!1,g,i);return}(v||h!=null&&h.outOfDOMOrder)&&y.dispatchEvent(new kr({by:"root",owner:y,next:p,relatedEvent:i}))&&(i.preventDefault(),i.stopImmediatePropagation(),jn(p))}else!x&&y.dispatchEvent(new kr({by:"root",owner:y,next:null,relatedEvent:i}))&&m.root.moveOutWithDefaultAction(g,i)},this._onChanged=(i,s)=>{var f,v;if(i)i.dispatchEvent(new m5(s));else{const m=(f=this._lastVal)===null||f===void 0?void 0:f.get();if(m){const g={...s},h=We.getTabsterContext(this._tabster,m),y=(v=h==null?void 0:h.modalizer)===null||v===void 0?void 0:v.userId;y&&(g.modalizerId=y),m.dispatchEvent(new g5(g))}}},this._tabster=r,this._win=l,r.queueInit(this._init)}dispose(){super.dispose();const r=this._win(),l=r.document;l.removeEventListener(jo,this._onFocusIn,!0),l.removeEventListener(Tr,this._onFocusOut,!0),r.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const i=this._asyncFocus;i&&(r.clearTimeout(i.timeout),delete this._asyncFocus),delete $e._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(r,l){var i,s;let f=$e._lastResetElement,v=f&&f.get();v&&I.nodeContains(l,v)&&delete $e._lastResetElement,v=(s=(i=r._nextVal)===null||i===void 0?void 0:i.element)===null||s===void 0?void 0:s.get(),v&&I.nodeContains(l,v)&&delete r._nextVal,f=r._lastVal,v=f&&f.get(),v&&I.nodeContains(l,v)&&delete r._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var r;let l=(r=this._lastVal)===null||r===void 0?void 0:r.get();return(!l||l&&!Cs(l.ownerDocument,l))&&(this._lastVal=l=void 0),l}focus(r,l,i,s){return this._tabster.focusable.isFocusable(r,l,!1,i)?(r.focus({preventScroll:s}),!0):!1}focusDefault(r){const l=this._tabster.focusable.findDefault({container:r});return l?(this._tabster.focusedElement.focus(l),!0):!1}getFirstOrLastTabbable(r,l){var i;const{container:s,ignoreAccessibility:f}=l;let v;if(s){const m=We.getTabsterContext(this._tabster,s);m&&(v=(i=$e.findNextTabbable(this._tabster,m,s,void 0,void 0,!r,f))===null||i===void 0?void 0:i.element)}return v&&!I.nodeContains(s,v)&&(v=void 0),v||void 0}_focusFirstOrLast(r,l){const i=this.getFirstOrLastTabbable(r,l);return i?(this.focus(i,!1,!0),!0):!1}focusFirst(r){return this._focusFirstOrLast(!0,r)}focusLast(r){return this._focusFirstOrLast(!1,r)}resetFocus(r){if(!this._tabster.focusable.isVisible(r))return!1;if(this._tabster.focusable.isFocusable(r,!0,!0,!0))this.focus(r);else{const l=r.getAttribute("tabindex"),i=r.getAttribute("aria-hidden");r.tabIndex=-1,r.setAttribute("aria-hidden","true"),$e._lastResetElement=new oo(this._win,r),this.focus(r,!0,!0),this._setOrRemoveAttribute(r,"tabindex",l),this._setOrRemoveAttribute(r,"aria-hidden",i)}return!0}requestAsyncFocus(r,l,i){const s=this._tabster.getWindow(),f=this._asyncFocus;if(f){if(zh[r]>zh[f.source])return;s.clearTimeout(f.timeout)}this._asyncFocus={source:r,callback:l,timeout:s.setTimeout(()=>{this._asyncFocus=void 0,l()},i)}}cancelAsyncFocus(r){const l=this._asyncFocus;(l==null?void 0:l.source)===r&&(this._tabster.getWindow().clearTimeout(l.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(r,l,i){i===null?r.removeAttribute(l):r.setAttribute(l,i)}_setFocusedElement(r,l,i){var s,f;if(this._tabster._noop)return;const v={relatedTarget:l};if(r){const g=(s=$e._lastResetElement)===null||s===void 0?void 0:s.get();if($e._lastResetElement=void 0,g===r||f1(r))return;v.isFocusedProgrammatically=i;const h=We.getTabsterContext(this._tabster,r),y=(f=h==null?void 0:h.modalizer)===null||f===void 0?void 0:f.userId;y&&(v.modalizerId=y)}const m=this._nextVal={element:r?new oo(this._win,r):void 0,detail:v};r&&r!==this._val&&this._validateFocusedElement(r),this._nextVal===m&&this.setVal(r,v),this._nextVal=void 0}setVal(r,l){super.setVal(r,l),r&&(this._lastVal=new oo(this._win,r))}static findNextTabbable(r,l,i,s,f,v,m){const g=i||l.root.getElement();if(!g)return null;let h=null;const y=$e._isTabbingTimer,p=r.getWindow();y&&p.clearTimeout(y),$e.isTabbing=!0,$e._isTabbingTimer=p.setTimeout(()=>{delete $e._isTabbingTimer,$e.isTabbing=!1},0);const x=l.modalizer,_=l.groupper,z=l.mover,k=O=>{if(h=O.findNextTabbable(s,f,v,m),s&&!(h!=null&&h.element)){const D=O!==x&&I.getParentElement(O.getElement());if(D){const U=We.getTabsterContext(r,s,{referenceElement:D});if(U){const R=O.getElement(),V=v?R:R&&v1(R)||R;V&&(h=$e.findNextTabbable(r,U,i,V,D,v,m),h&&(h.outOfDOMOrder=!0))}}}};if(_&&z)k(l.groupperBeforeMover?_:z);else if(_)k(_);else if(z)k(z);else if(x)k(x);else{const O={container:g,currentElement:s,referenceElement:f,ignoreAccessibility:m,useActiveModalizer:!0},D={};h={element:r.focusable[v?"findPrev":"findNext"](O,D),outOfDOMOrder:D.outOfDOMOrder,uncontrolled:D.uncontrolled}}return h}}$e.isTabbing=!1;/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class cx extends m1{constructor(r){super(),this._onChange=l=>{this.setVal(l,void 0)},this._keyborg=n1(r()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),a1(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(r){var l;(l=this._keyborg)===null||l===void 0||l.setVal(r)}isNavigatingWithKeyboard(){var r;return!!(!((r=this._keyborg)===null||r===void 0)&&r.isNavigatingWithKeyboard())}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */let sx=0;const os="aria-hidden";class fx extends di{constructor(r,l,i){super(l,r,d1.Modalizer,i),this._setHandlers((s,f)=>{var v,m;const g=r.get(),h=g&&((v=We.getRoot(l,g))===null||v===void 0?void 0:v.getElement()),y=s.input;let p;if(h&&y){const x=Ds(y),_=We.getTabsterContext(l,x||y);_&&(p=(m=$e.findNextTabbable(l,_,h,y,void 0,f,!0))===null||m===void 0?void 0:m.element),p&&jn(p)}})}}class dx extends Ns{constructor(r,l,i,s,f,v){super(r,l,s),this._wasFocused=0,this.userId=s.id,this._onDispose=i,this._activeElements=v,r.controlTab||(this.dummyManager=new fx(this._element,r,f))}makeActive(r){if(this._isActive!==r){this._isActive=r;const l=this.getElement();if(l){const i=this._activeElements,s=i.map(f=>f.get()).indexOf(l);r?s<0&&i.push(new oo(this._tabster.getWindow,l)):s>=0&&i.splice(s,1)}this._dispatchEvent(r)}}focused(r){return r||(this._wasFocused=++sx),this._wasFocused}setProps(r){r.id&&(this.userId=r.id),this._props={...r}}dispose(){var r;this.makeActive(!1),this._onDispose(this),(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(r){return I.nodeContains(this.getElement(),r)}findNextTabbable(r,l,i,s){var f,v;if(!this.getElement())return null;const g=this._tabster;let h=null,y=!1,p;const x=r&&((f=We.getRoot(g,r))===null||f===void 0?void 0:f.getElement());if(x){const _={container:x,currentElement:r,referenceElement:l,ignoreAccessibility:s,useActiveModalizer:!0},z={};h=g.focusable[i?"findPrev":"findNext"](_,z),!h&&this._props.isTrapped&&(!((v=g.modalizer)===null||v===void 0)&&v.activeId)?(h=g.focusable[i?"findLast":"findFirst"]({container:x,ignoreAccessibility:s,useActiveModalizer:!0},z),h===null&&(h=r),y=!0):y=!!z.outOfDOMOrder,p=z.uncontrolled}return{element:h,uncontrolled:p,outOfDOMOrder:y}}_dispatchEvent(r,l){const i=this.getElement();let s=!1;if(i){const f=l?this._activeElements.map(v=>v.get()):[i];for(const v of f)if(v){const m={id:this.userId,element:i},g=r?new b5(m):new p5(m);v.dispatchEvent(g),g.defaultPrevented&&(s=!0)}}return s}_remove(){}}class vx{constructor(r,l,i){this._onModalizerDispose=f=>{const v=f.id,m=f.userId,g=this._parts[m];if(delete this._modalizers[v],g&&(delete g[v],Object.keys(g).length===0)){delete this._parts[m];const h=this._activationHistory,y=[];let p;for(let x=h.length;x--;){const _=h[x];_!==m&&_!==p&&(p=_,(_||y.length>0)&&y.unshift(_))}if(this._activationHistory=y,this.activeId===m){const x=y[0],_=x?Object.values(this._parts[x])[0]:void 0;this.setActive(_)}}},this._onKeyDown=f=>{var v;if(f.key!==g1.Escape)return;const m=this._tabster,g=m.focusedElement.getFocusedElement();if(g){const h=We.getTabsterContext(m,g),y=h==null?void 0:h.modalizer;if(h&&!h.groupper&&(y!=null&&y.isActive())&&!h.ignoreKeydown(f)){const p=y.userId;if(p){const x=this._parts[p];if(x){const _=Object.keys(x).map(z=>{var k;const O=x[z],D=O.getElement();let U;return D&&(U=(k=Wt(m,D))===null||k===void 0?void 0:k.groupper),O&&D&&U?{el:D,focusedSince:O.focused(!0)}:{focusedSince:0}}).filter(z=>z.focusedSince>0).sort((z,k)=>z.focusedSince>k.focusedSince?-1:z.focusedSince{var m;const g=this._tabster,h=f&&We.getTabsterContext(g,f);if(!h||!f)return;const y=this._augMap;for(let z=f;z;z=I.getParentElement(z))y.has(z)&&(y.delete(z),ts(g,z,os));let p=h.modalizer;const x=Wt(g,f),_=x==null?void 0:x.modalizer;if(_&&(_.focused(),_.userId===this.activeId&&x.groupper)){const z=g.getParent(f),k=z&&((m=We.getTabsterContext(g,z))===null||m===void 0?void 0:m.modalizer);if(k)p=k;else{this.setActive(void 0);return}}if(p==null||p.focused(),(p==null?void 0:p.userId)===this.activeId){this.currentIsOthersAccessible=p==null?void 0:p.getProps().isOthersAccessible;return}if(v.isFocusedProgrammatically||this.currentIsOthersAccessible||p!=null&&p.getProps().isAlwaysAccessible)this.setActive(p);else{const z=this._win();z.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=z.setTimeout(()=>this._restoreModalizerFocus(f),100)}},this._tabster=r,this._win=r.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=l,this._accessibleCheck=i,this._activationHistory=[],this.activeElements=[],r.controlTab||r.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),r.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const r=this._win();r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(l=>{this._modalizers[l]&&(this._modalizers[l].dispose(),delete this._modalizers[l])}),r.clearTimeout(this._restoreModalizerFocusTimer),r.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(r,l,i){var s;const f=new dx(this._tabster,r,this._onModalizerDispose,l,i,this.activeElements),v=f.id,m=l.id;this._modalizers[v]=f;let g=this._parts[m];g||(g=this._parts[m]={}),g[v]=f;const h=(s=this._tabster.focusedElement.getFocusedElement())!==null&&s!==void 0?s:null;return r!==h&&I.nodeContains(r,h)&&(m!==this.activeId?this.setActive(f):f.makeActive(!0)),f}isAugmented(r){return this._augMap.has(r)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(r){const l=r==null?void 0:r.userId,i=this.activeId;if(i===l)return;if(this.activeId=l,i){const f=this._parts[i];if(f)for(const v of Object.keys(f))f[v].makeActive(!1)}if(l){const f=this._parts[l];if(f)for(const v of Object.keys(f))f[v].makeActive(!0)}this.currentIsOthersAccessible=r==null?void 0:r.getProps().isOthersAccessible,this.hiddenUpdate();const s=this._activationHistory;s[0]!==l&&(l!==void 0||s.length>0)&&s.unshift(l)}focus(r,l,i){const s=this._tabster,f=We.getTabsterContext(s,r),v=f==null?void 0:f.modalizer;if(v){this.setActive(v);const m=v.getProps(),g=v.getElement();if(g){if(l===void 0&&(l=m.isNoFocusFirst),!l&&s.keyboardNavigation.isNavigatingWithKeyboard()&&s.focusedElement.focusFirst({container:g})||(i===void 0&&(i=m.isNoFocusDefault),!i&&s.focusedElement.focusDefault(g)))return!0;s.focusedElement.resetFocus(g)}}return!1}activate(r){var l;const i=r?(l=We.getTabsterContext(this._tabster,r))===null||l===void 0?void 0:l.modalizer:void 0;return!r||i?(this.setActive(i),!0):!1}acceptElement(r,l){var i;const s=l.modalizerUserId,f=(i=l.currentCtx)===null||i===void 0?void 0:i.modalizer;if(s)for(const m of this.activeElements){const g=m.get();if(g&&(I.nodeContains(r,g)||g===r))return NodeFilter.FILTER_SKIP}const v=s===(f==null?void 0:f.userId)||!s&&(f!=null&&f.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return v!==void 0&&(l.skippedFocusable=!0),v}_hiddenUpdate(){var r;const l=this._tabster,i=l.getWindow().document.body,s=this.activeId,f=this._parts,v=[],m=[],g=this._alwaysAccessibleSelector,h=g?Array.from(I.querySelectorAll(i,g)):[],y=[];for(const D of Object.keys(f)){const U=f[D];for(const R of Object.keys(U)){const V=U[R],X=V.getElement(),G=V.getProps().isAlwaysAccessible;X&&(D===s?(y.push(X),this.currentIsOthersAccessible||v.push(X)):G?h.push(X):m.push(X))}}const p=this._augMap,x=v.length>0?[...v,...h]:void 0,_=[],z=new WeakMap,k=(D,U)=>{var R;const V=D.tagName;if(V==="SCRIPT"||V==="STYLE")return;let X=!1;p.has(D)?U?X=!0:(p.delete(D),ts(l,D,os)):U&&!(!((R=this._accessibleCheck)===null||R===void 0)&&R.call(this,D,y))&&ts(l,D,os,"true")&&(p.set(D,!0),X=!0),X&&(_.push(new oo(l.getWindow,D)),z.set(D,!0))},O=D=>{var U;for(let R=I.getFirstElementChild(D);R;R=I.getNextElementSibling(R)){let V=!1,X=!1,Y=!1;if(x){const G=l.getParent(R);for(const le of x){if(R===le){V=!0;break}if(I.nodeContains(R,le)){X=!0;break}else I.nodeContains(le,G)&&(Y=!0)}X||!((U=R.__tabsterElementFlags)===null||U===void 0)&&U.noDirectAriaHidden?O(R):!V&&!Y&&k(R,!0)}else k(R,!1)}};x||h.forEach(D=>k(D,!1)),m.forEach(D=>k(D,!0)),i&&O(i),(r=this._aug)===null||r===void 0||r.map(D=>D.get()).forEach(D=>{D&&!z.get(D)&&k(D,!1)}),this._aug=_,this._augMap=z}_restoreModalizerFocus(r){var l;const i=r==null?void 0:r.ownerDocument;if(!r||!i)return;const s=this._tabster.focusedElement.getFocusedElement(),f=s&&((l=We.getTabsterContext(this._tabster,s))===null||l===void 0?void 0:l.modalizer);if(!s||s&&(f==null?void 0:f.userId)===this.activeId)return;const v=this._tabster,m=We.getTabsterContext(v,r),g=m==null?void 0:m.modalizer,h=this.activeId;if(!g&&!h||g&&h===g.userId)return;const y=m==null?void 0:m.root.getElement();if(y){let p=v.focusable.findFirst({container:y,useActiveModalizer:!0});if(p){if(r.compareDocumentPosition(p)&document.DOCUMENT_POSITION_PRECEDING&&(p=v.focusable.findLast({container:y,useActiveModalizer:!0}),!p))throw new Error("Something went wrong.");v.focusedElement.focus(p);return}}r.blur()}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */function hx(n,r,l,i){if(typeof MutationObserver>"u")return()=>{};const s=r.getWindow;let f;const v=y=>{var p,x,_,z,k;const O=new Set;for(const D of y){const U=D.target,R=D.removedNodes,V=D.addedNodes;if(D.type==="attributes")D.attributeName===nn&&(O.has(U)||l(r,U));else{for(let X=0;Xg(_,p));if(x)for(;x.nextNode(););}function g(y,p){var x;if(!y.getAttribute)return NodeFilter.FILTER_SKIP;const _=y.__tabsterElementUID;return _&&f&&(p?delete f[_]:(x=f[_])!==null&&x!==void 0||(f[_]=new oo(s,y))),(Wt(r,y)||y.hasAttribute(nn))&&l(r,y,p),NodeFilter.FILTER_SKIP}const h=I.createMutationObserver(v);return i&&m(s().document.body),h.observe(n,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[nn]}),()=>{h.disconnect()}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class mx{constructor(r){this._isUncontrolledCompletely=r}isUncontrolledCompletely(r,l){var i;const s=(i=this._isUncontrolledCompletely)===null||i===void 0?void 0:i.call(this,r,l);return s===void 0?l:s}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class gx extends Ns{constructor(r,l,i){var s;if(super(r,l,i),this._hasFocus=!1,this._onFocusOut=f=>{var v;const m=(v=this._element)===null||v===void 0?void 0:v.get();m&&f.relatedTarget===null&&m.dispatchEvent(new Sh),m&&!I.nodeContains(m,f.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===za.Source){const f=(s=this._element)===null||s===void 0?void 0:s.get();f==null||f.addEventListener("focusout",this._onFocusOut),f==null||f.addEventListener("focusin",this._onFocusIn),this._hasFocus=I.nodeContains(f,f&&I.getActiveElement(f.ownerDocument))}}dispose(){var r;if(this._props.type===za.Source){const l=(r=this._element)===null||r===void 0?void 0:r.get();l==null||l.removeEventListener("focusout",this._onFocusOut),l==null||l.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new Sh)}}}class xi{constructor(r){this._stack=[],this._getWindow=r}push(r){var l;((l=this._stack[this._stack.length-1])===null||l===void 0?void 0:l.get())!==r&&(this._stack.length>xi.DEPTH&&this._stack.shift(),this._stack.push(new oo(this._getWindow,r)))}pop(r=()=>!0){var l;const i=this._getWindow().document;for(let s=this._stack.length-1;s>=0;s--){const f=(l=this._stack.pop())===null||l===void 0?void 0:l.get();if(f&&I.nodeContains(i.body,I.getParentElement(f))&&r(f))return f}}}xi.DEPTH=10;class bx{constructor(r){this._onRestoreFocus=l=>{var i,s;this._focusedElementState.cancelAsyncFocus(ba.Restorer);const f=l.composedPath()[0];if(f){const v=(s=(i=Wt(this._tabster,f))===null||i===void 0?void 0:i.restorer)===null||s===void 0?void 0:s.getProps().id;this._focusedElementState.requestAsyncFocus(ba.Restorer,()=>this._restoreFocus(f,v),0)}},this._onFocusIn=l=>{var i;if(!l)return;const s=Wt(this._tabster,l);((i=s==null?void 0:s.restorer)===null||i===void 0?void 0:i.getProps().type)===za.Target&&this._history.push(l)},this._restoreFocus=(l,i)=>{var s;const f=this._getWindow().document;if(I.getActiveElement(f)!==f.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&I.nodeContains(f.body,l))return;const v=m=>{var g,h;const y=(h=(g=Wt(this._tabster,m))===null||g===void 0?void 0:g.restorer)===null||h===void 0?void 0:h.getProps();return y?y.id:null};(s=this._history.pop(m=>i===v(m)))===null||s===void 0||s.focus()},this._tabster=r,this._getWindow=r.getWindow,this._getWindow().addEventListener(ms,this._onRestoreFocus),this._history=new xi(this._getWindow),this._keyboardNavState=r.keyboardNavigation,this._focusedElementState=r.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const r=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(ba.Restorer),r.removeEventListener(ms,this._onRestoreFocus)}createRestorer(r,l){const i=new gx(this._tabster,r,l);return l.type===za.Target&&I.getActiveElement(r.ownerDocument)===r&&this._history.push(r),i}}/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */class px{constructor(r){this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class yx{constructor(r,l){var i,s;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.7.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=X5(r),this._win=r;const f=this.getWindow;l!=null&&l.DOMAPI&&G5({...l.DOMAPI}),this.keyboardNavigation=new cx(f),this.focusedElement=new $e(this,f),this.focusable=new ix(this),this.root=new We(this,l==null?void 0:l.autoRoot),this.uncontrolled=new mx((l==null?void 0:l.checkUncontrolledCompletely)||(l==null?void 0:l.checkUncontrolledTrappingFocus)),this.controlTab=(i=l==null?void 0:l.controlTab)!==null&&i!==void 0?i:!0,this.rootDummyInputs=!!(l!=null&&l.rootDummyInputs),this._dummyObserver=new ex(f),this.getParent=(s=l==null?void 0:l.getParent)!==null&&s!==void 0?s:I.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:v=>{if(!this._unobserve){const m=f().document;this._unobserve=hx(m,this,l1,v)}}},c1(f),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){var l;r&&(this.getParent=(l=r.getParent)!==null&&l!==void 0?l:this.getParent)}createTabster(r,l){const i=new px(this);return r||this._wrappers.add(i),this._mergeProps(l),i}disposeTabster(r,l){l?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var r,l,i,s,f,v,m,g;this.internal.stopObserver();const h=this._win;h==null||h.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],h&&this._forgetMemorizedTimer&&(h.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(r=this.outline)===null||r===void 0||r.dispose(),(l=this.crossOrigin)===null||l===void 0||l.dispose(),(i=this.deloser)===null||i===void 0||i.dispose(),(s=this.groupper)===null||s===void 0||s.dispose(),(f=this.mover)===null||f===void 0||f.dispose(),(v=this.modalizer)===null||v===void 0||v.dispose(),(m=this.observedElement)===null||m===void 0||m.dispose(),(g=this.restorer)===null||g===void 0||g.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Y5(this.getWindow),_h(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),h&&(Z5(h),delete h.__tabsterInstance,delete this._win)}storageEntry(r,l){const i=this._storage;let s=i.get(r);return s?l===!1&&Object.keys(s).length===0&&i.delete(r):l===!0&&(s={},i.set(r,s)),s}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())_h(this.getWindow,r),$e.forgetMemorized(this.focusedElement,r)},0),u1(this.getWindow,!0)))}queueInit(r){var l;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(l=this._win)===null||l===void 0?void 0:l.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(l=>l())}}function xx(n,r){let l=zx(n);return l?l.createTabster(!1,r):(l=new yx(n,r),n.__tabsterInstance=l,l.createTabster())}function Sx(n,r,l){const i=n.core;return i.modalizer||(i.modalizer=new vx(i,r,l)),i.modalizer}function _x(n){const r=n.core;return r.restorer||(r.restorer=new bx(r)),r.restorer}function wx(n,r){n.core.disposeTabster(n,r)}function zx(n){return n.__tabsterInstance}const kx=n=>n;function Bx(n){const r=(n==null?void 0:n.defaultView)||void 0,l=r==null?void 0:r.__tabsterShadowDOMAPI;if(r)return xx(r,{autoRoot:{},controlTab:!1,getParent:Y2,checkUncontrolledCompletely:i=>{var s;return((s=i.firstElementChild)===null||s===void 0?void 0:s.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:l})}function Rs(n=kx){const{targetDocument:r}=no(),l=A.useRef(null);return uo(()=>{const i=Bx(r);if(i)return l.current=n(i),()=>{wx(i),l.current=null}},[r,n]),l}const kh=n=>{Rs();const r=h1(n);return A.useMemo(()=>({[nn]:r}),[r])},Tx=()=>{const n=Rs(),{targetDocument:r}=no(),l=A.useCallback((m,g)=>{var h;return m&&((h=n.current)===null||h===void 0?void 0:h.focusable.findAll({container:m,acceptCondition:g}))||[]},[n]),i=A.useCallback(m=>{var g;return m&&((g=n.current)===null||g===void 0?void 0:g.focusable.findFirst({container:m}))},[n]),s=A.useCallback(m=>{var g;return m&&((g=n.current)===null||g===void 0?void 0:g.focusable.findLast({container:m}))},[n]),f=A.useCallback((m,g={})=>{if(!n.current||!r||!m)return null;const{container:h=r.body}=g;return n.current.focusable.findNext({currentElement:m,container:h})},[n,r]),v=A.useCallback((m,g={})=>{if(!n.current||!r||!m)return null;const{container:h=r.body}=g;return n.current.focusable.findPrev({currentElement:m,container:h})},[n,r]);return{findAllFocusable:l,findFirstFocusable:i,findLastFocusable:s,findNextFocusable:f,findPrevFocusable:v}},Bh="data-fui-focus-visible";function Ex(n,r){if(b1(n))return()=>{};const l={current:void 0},i=n1(r);function s(g){i.isNavigatingWithKeyboard()&&hs(g)&&(l.current=g,g.setAttribute(Bh,""))}function f(){l.current&&(l.current.removeAttribute(Bh),l.current=void 0)}i.subscribe(g=>{g?s(r.document.activeElement):f()});const v=g=>{f();const h=g.composedPath()[0];s(h)},m=g=>{(!g.relatedTarget||hs(g.relatedTarget)&&!n.contains(g.relatedTarget))&&f()};return n.addEventListener(jo,v),n.addEventListener("focusout",m),n.focusVisible=!0,n.contains(r.document.activeElement)&&s(r.document.activeElement),()=>{f(),n.removeEventListener(jo,v),n.removeEventListener("focusout",m),n.focusVisible=void 0,a1(i)}}function b1(n){return n?n.focusVisible?!0:b1(n==null?void 0:n.parentElement):!1}function jx(n={}){const r=no(),l=A.useRef(null);var i;const s=(i=n.targetDocument)!==null&&i!==void 0?i:r.targetDocument;return A.useEffect(()=>{if(s!=null&&s.defaultView&&l.current)return Ex(l.current,s.defaultView)},[l,s]),l}const Ax="data-tabster-never-hide",Cx=n=>n.hasAttribute(Ax);function Nx(n){Sx(n,void 0,Cx),_x(n)}const Dx=(n={})=>{const{trapFocus:r,alwaysFocusable:l,legacyTrapFocus:i}=n;Rs(Nx);const s=Er("modal-",n.id),f=kh({restorer:{type:za.Source},...r&&{modalizer:{id:s,isOthersAccessible:!r,isAlwaysAccessible:l,isTrapped:i&&r}}}),v=kh({restorer:{type:za.Target}});return{modalAttributes:f,triggerAttributes:v}},ae={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackground2:"var(--colorBrandBackground2)",colorNeutralStroke2:"var(--colorNeutralStroke2)"};var Th=vm();const Rx=n=>l=>{const i=A.useRef(l.value),s=A.useRef(0),f=A.useRef(null);return f.current||(f.current={value:i,version:s,listeners:[]}),uo(()=>{i.current=l.value,s.current+=1,Th.unstable_runWithPriority(Th.unstable_NormalPriority,()=>{f.current.listeners.forEach(v=>{v([s.current,l.value])})})},[l.value]),A.createElement(n,{value:f.current},l.children)},qx=n=>{const r=A.createContext({value:{current:n},version:{current:-1},listeners:[]});return r.Provider=Rx(r.Provider),delete r.Consumer,r},Mx=(n,r)=>{const l=A.useContext(n),{value:{current:i},version:{current:s},listeners:f}=l,v=r(i),[m,g]=A.useState([i,v]),h=p=>{g(x=>{if(!p)return[i,v];if(p[0]<=s)return Object.is(x[1],v)?x:[i,v];try{if(Object.is(x[0],p[1]))return x;const _=r(p[1]);return Object.is(x[1],_)?x:[p[1],_]}catch{}return[x[0],x[1]]})};Object.is(m[1],v)||h(void 0);const y=gt(h);return uo(()=>(f.push(y),()=>{const p=f.indexOf(y);f.splice(p,1)}),[y,f]),m[1]};function Ox(n){const r=A.useContext(n);return r.version?r.version.current!==-1:!1}const ns="Enter",Il=" ",Hx="Escape";function Fx(n,r){const{disabled:l,disabledFocusable:i=!1,["aria-disabled"]:s,onClick:f,onKeyDown:v,onKeyUp:m,...g}=r??{},h=typeof s=="string"?s==="true":s,y=l||i||h,p=gt(z=>{y?(z.preventDefault(),z.stopPropagation()):f==null||f(z)}),x=gt(z=>{if(v==null||v(z),z.isDefaultPrevented())return;const k=z.key;if(y&&(k===ns||k===Il)){z.preventDefault(),z.stopPropagation();return}if(k===Il){z.preventDefault();return}else k===ns&&(z.preventDefault(),z.currentTarget.click())}),_=gt(z=>{if(m==null||m(z),z.isDefaultPrevented())return;const k=z.key;if(y&&(k===ns||k===Il)){z.preventDefault(),z.stopPropagation();return}k===Il&&(z.preventDefault(),z.currentTarget.click())});if(n==="button"||n===void 0)return{...g,disabled:l&&!i,"aria-disabled":i?!0:h,onClick:i?void 0:p,onKeyUp:i?void 0:m,onKeyDown:i?void 0:v};{const z=!!g.href;let k=z?void 0:"button";!k&&y&&(k="link");const O={role:k,tabIndex:i||!z&&!l?0:void 0,...g,onClick:p,onKeyUp:_,onKeyDown:x,"aria-disabled":y};return n==="a"&&y&&(O.href=void 0),O}}const Ux=ke({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),Lx=(n,r)=>{const{filled:l,title:i,primaryFill:s="currentColor",...f}=n,v={...f,fill:s},m=Ux(),g=J2();return v.className=be(m.root,(r==null?void 0:r.flipInRtl)&&(g==null?void 0:g.textDirection)==="rtl"&&m.rtl,v.className),i&&(v["aria-label"]=i),!v["aria-label"]&&!v["aria-labelledby"]?v["aria-hidden"]=!0:v.role="img",v},Gx=ke({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),Px="fui-Icon",re=(n,r,l,i)=>{const s=r==="1em"?"20":r,f=A.forwardRef((v,m)=>{const g=Gx(),h=Lx(v,{flipInRtl:i==null?void 0:i.flipInRtl}),y={...h,className:be(Px,h.className,g.root),ref:m,width:r,height:r,viewBox:`0 0 ${s} ${s}`,xmlns:"http://www.w3.org/2000/svg"};return typeof l=="string"?A.createElement("svg",{...y,dangerouslySetInnerHTML:{__html:l}}):A.createElement("svg",y,...l.map(p=>A.createElement("path",{d:p,fill:y.fill})))});return f.displayName=n,f},Zx=re("PersonRegular","1em",["M10 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM7 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 10 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0 0 17 13a2 2 0 0 0-2-2H5Zm-1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0 1 10 17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 4 13Z"]),as=re("Compose24Regular","24",["M13.25 4a.75.75 0 0 1 0 1.5h-7c-.97 0-1.75.78-1.75 1.75v10.5c0 .97.78 1.75 1.75 1.75h10.5c.97 0 1.75-.78 1.75-1.75v-7a.75.75 0 0 1 1.5 0v7c0 1.8-1.46 3.25-3.25 3.25H6.25A3.25 3.25 0 0 1 3 17.75V7.25C3 5.45 4.46 4 6.25 4h7Zm6.47-.78a.75.75 0 1 1 1.06 1.06L10.59 14.47 9 15l.53-1.6L19.72 3.23Z"]),Xx=re("Mail24Filled","24",["M22 8.6v8.15a3.25 3.25 0 0 1-3.07 3.24l-.18.01H5.25a3.25 3.25 0 0 1-3.24-3.07L2 16.75V8.61l9.65 5.05c.22.12.48.12.7 0L22 8.61ZM5.25 4h13.5a3.25 3.25 0 0 1 3.23 2.92L12 12.15 2.02 6.92a3.25 3.25 0 0 1 3.04-2.91L5.25 4h13.5-13.5Z"]),Eh=re("Mail24Regular","24",["M5.25 4h13.5a3.25 3.25 0 0 1 3.24 3.07l.01.18v9.5a3.25 3.25 0 0 1-3.07 3.24l-.18.01H5.25a3.25 3.25 0 0 1-3.24-3.07L2 16.75v-9.5a3.25 3.25 0 0 1 3.07-3.24L5.25 4h13.5-13.5ZM20.5 9.37l-8.15 4.3c-.19.1-.4.1-.6.04l-.1-.05L3.5 9.37v7.38c0 .92.7 1.67 1.6 1.74l.15.01h13.5c.92 0 1.67-.7 1.74-1.6l.01-.15V9.37ZM18.75 5.5H5.25c-.92 0-1.67.7-1.74 1.6l-.01.15v.43l8.5 4.47 8.5-4.47v-.43c0-.92-.7-1.67-1.6-1.74l-.15-.01Z"]),Vx=re("MailInbox24Regular","24",["M6.25 3h11.5a3.25 3.25 0 0 1 3.24 3.07l.01.18v11.5a3.25 3.25 0 0 1-3.07 3.24l-.18.01H6.25a3.25 3.25 0 0 1-3.24-3.07L3 17.75V6.25a3.25 3.25 0 0 1 3.07-3.24L6.25 3h11.5-11.5ZM4.5 14.5v3.25c0 .92.7 1.67 1.6 1.74l.15.01h11.5c.92 0 1.67-.7 1.74-1.6l.01-.15V14.5h-3.82a3.75 3.75 0 0 1-3.48 3H12a3.75 3.75 0 0 1-3.63-2.81l-.04-.19H4.5v3.25-3.25Zm13.25-10H6.25c-.92 0-1.67.7-1.74 1.6l-.01.15V13H9c.38 0 .7.28.74.65l.01.1a2.25 2.25 0 0 0 4.5.15v-.15c0-.38.28-.7.65-.74L15 13h4.5V6.25c0-.92-.7-1.67-1.6-1.74l-.15-.01Z"]),Yx=re("Search24Regular","24",["M16.1 17.16a8 8 0 1 1 1.06-1.06l4.62 4.62a.75.75 0 1 1-1.06 1.06l-4.62-4.62ZM17.5 11a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0Z"]),Qx=re("ArrowSync24Regular","24",["M16.25 5.18c-.25.33-.19.8.14 1.05a7.24 7.24 0 0 1-3.6 12.98l.68-.68a.75.75 0 0 0-.98-1.13l-.08.07-2 2a.75.75 0 0 0-.07.98l.07.08 2 2a.75.75 0 0 0 1.13-.98l-.07-.08-.75-.75A8.75 8.75 0 0 0 17.3 5.04a.75.75 0 0 0-1.05.14Zm-5.72-3.71c-.3.3-.3.77 0 1.06l.75.75a8.75 8.75 0 0 0-4.85 15.47.75.75 0 1 0 .96-1.16A7.23 7.23 0 0 1 11.2 4.8l-.68.68a.75.75 0 1 0 1.06 1.06l2-2c.3-.3.3-.77 0-1.06l-2-2a.75.75 0 0 0-1.06 0Z"],{flipInRtl:!0}),Jl=re("Send24Regular","24",["M5.7 12 2.3 3.27a.75.75 0 0 1 .94-.98l.1.04 18 9c.51.26.54.97.1 1.28l-.1.06-18 9a.75.75 0 0 1-1.07-.85l.03-.1L5.7 12 2.3 3.27 5.7 12ZM4.4 4.54l2.61 6.7 6.63.01c.38 0 .7.28.74.65v.1c0 .38-.27.7-.64.74l-.1.01H7l-2.6 6.7L19.31 12 4.4 4.54Z"],{flipInRtl:!0}),jh=re("PresenceAvailable10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm2.1-5.9L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 .7-.7l.65.64 1.9-1.9a.5.5 0 0 1 .7.71Z"]),Ah=re("PresenceAvailable10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.1-1.6c.2.2.2.5 0 .7L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 1 1 .7-.7l.65.64 1.9-1.9c.2-.19.5-.19.7 0Z"]),Kx=re("PresenceAvailable12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.53-6.72L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22a.75.75 0 0 1 1.06 1.06Z"]),Wx=re("PresenceAvailable12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Zm7.03-1.78c.3.3.3.77 0 1.06L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22c.3-.3.77-.3 1.06 0Z"]),Ix=re("PresenceAvailable16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.7-9.3-4 4a1 1 0 0 1-1.41 0l-2-2a1 1 0 1 1 1.42-1.4L7 8.58l3.3-3.3a1 1 0 0 1 1.4 1.42Z"]),Jx=re("PresenceAvailable16Regular","16",["M11.7 6.7a1 1 0 0 0-1.4-1.4L7 8.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Ch=re("PresenceAvailable20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm4.2-11.8-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 1 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 1 1 1.4 1.42Z"]),Nh=re("PresenceAvailable20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm12.2-3.2a1 1 0 0 1 0 1.4l-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 0 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 0 1 1.4 0Z"]),Dh=re("PresenceAway10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm0-7v1.8l1.35 1.35a.5.5 0 1 1-.7.7l-1.5-1.5A.5.5 0 0 1 4 5V3a.5.5 0 0 1 1 0Z"]),$x=re("PresenceAway12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.5-8.75v2.4l1.49 1.28A.75.75 0 1 1 7 8.07l-1.75-1.5A.75.75 0 0 1 5 6V3.25a.75.75 0 0 1 1.5 0Z"]),e3=re("PresenceAway16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm.5-11.5v3.02l2.12 1.7a1 1 0 1 1-1.24 1.56l-2.5-2A1 1 0 0 1 6.5 8V4.5a1 1 0 0 1 2 0Z"]),Rh=re("PresenceAway20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm0-14V9.6l2.7 2.7a1 1 0 0 1-1.4 1.42l-3-3A1 1 0 0 1 8 10V6a1 1 0 1 1 2 0Z"]),qh=re("PresenceBlocked10Regular","10",["M10 5A5 5 0 1 0 0 5a5 5 0 0 0 10 0ZM9 5a4 4 0 0 1-6.45 3.16l5.61-5.61C8.69 3.22 9 4.08 9 5ZM7.45 1.84 1.84 7.45a4 4 0 0 1 5.61-5.61Z"]),t3=re("PresenceBlocked12Regular","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Zm-1.5 0c0-.97-.3-1.87-.83-2.6L3.39 9.66A4.5 4.5 0 0 0 10.5 6ZM8.6 2.33a4.5 4.5 0 0 0-6.28 6.28l6.29-6.28Z"]),o3=re("PresenceBlocked16Regular","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-2 0c0-1.3-.41-2.5-1.1-3.48L4.51 12.9A6 6 0 0 0 14 8Zm-2.52-4.9a6 6 0 0 0-8.37 8.37l8.37-8.36Z"]),Mh=re("PresenceBlocked20Regular","20",["M20 10a10 10 0 1 0-20 0 10 10 0 0 0 20 0Zm-2 0a8 8 0 0 1-12.9 6.32L16.31 5.09A7.97 7.97 0 0 1 18 10Zm-3.1-6.32L3.69 14.91A8 8 0 0 1 14.91 3.68Z"]),Oh=re("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),n3=re("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),a3=re("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),Hh=re("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),Fh=re("PresenceDnd10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10ZM3.5 4.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1Z"]),Uh=re("PresenceDnd10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm2 0c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 3 5Z"]),r3=re("PresenceDnd12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12ZM3.75 5.25h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5Z"]),l3=re("PresenceDnd12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3 6c0-.41.34-.75.75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 3 6Z"]),i3=re("PresenceDnd16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5.25 7h5.5a1 1 0 1 1 0 2h-5.5a1 1 0 1 1 0-2Z"]),u3=re("PresenceDnd16Regular","16",["M5.25 7a1 1 0 0 0 0 2h5.5a1 1 0 1 0 0-2h-5.5ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Lh=re("PresenceDnd20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM7 9h6a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"]),Gh=re("PresenceDnd20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm4 0a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"]),Ph=re("PresenceOffline10Regular","10",["M6.85 3.15c.2.2.2.5 0 .7L5.71 5l1.14 1.15a.5.5 0 1 1-.7.7L5 5.71 3.85 6.85a.5.5 0 1 1-.7-.7L4.29 5 3.15 3.85a.5.5 0 1 1 .7-.7L5 4.29l1.15-1.14c.2-.2.5-.2.7 0ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),c3=re("PresenceOffline12Regular","12",["M8.03 3.97c.3.3.3.77 0 1.06L7.06 6l.97.97a.75.75 0 0 1-1.06 1.06L6 7.06l-.97.97a.75.75 0 0 1-1.06-1.06L4.94 6l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97c.3-.3.77-.3 1.06 0ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm6-4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),s3=re("PresenceOffline16Regular","16",["M10.7 5.3a1 1 0 0 1 0 1.4L9.42 8l1.3 1.3a1 1 0 0 1-1.42 1.4L8 9.42l-1.3 1.3a1 1 0 0 1-1.4-1.42L6.58 8l-1.3-1.3a1 1 0 0 1 1.42-1.4L8 6.58l1.3-1.3a1 1 0 0 1 1.4 0ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Zh=re("PresenceOffline20Regular","20",["M13.7 6.3a1 1 0 0 1 0 1.4L11.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L10 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L8.58 10l-2.3-2.3a1 1 0 0 1 1.42-1.4L10 8.58l2.3-2.3a1 1 0 0 1 1.4 0ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Xh=re("PresenceOof10Regular","10",["M5.35 3.85a.5.5 0 1 0-.7-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7L4.7 5.5h1.8a.5.5 0 1 0 0-1H4.7l.65-.65ZM5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z"]),f3=re("PresenceOof12Regular","12",["M6.28 4.53a.75.75 0 0 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 0 0 1.06-1.06l-.72-.72h2.69a.75.75 0 1 0 0-1.5h-2.7l.73-.72ZM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"]),d3=re("PresenceOof16Regular","16",["M8.2 6.2a1 1 0 1 0-1.4-1.4L4.3 7.3a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 0 0 1.4-1.4L7.42 9H11a1 1 0 1 0 0-2H7.41l.8-.8ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),Vh=re("PresenceOof20Regular","20",["M10.7 7.7A1 1 0 1 0 9.28 6.3l-3 3a1 1 0 0 0 0 1.41l3 3a1 1 0 1 0 1.42-1.41l-1.3-1.3H13a1 1 0 1 0 0-2H9.4l1.3-1.29ZM10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),Yh=re("PresenceUnknown10Regular","10",["M5 1a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Z"]),v3=re("PresenceUnknown12Regular","12",["M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Z"]),h3=re("PresenceUnknown16Regular","16",["M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z"]),Qh=re("PresenceUnknown20Regular","20",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Z"]),m3=re("Archive24Regular","24",["M10.25 11a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5ZM3 5.25C3 4.01 4 3 5.25 3h13.5C19.99 3 21 4 21 5.25v1.5c0 .78-.4 1.47-1 1.87v8.63A3.75 3.75 0 0 1 16.25 21h-8.5A3.75 3.75 0 0 1 4 17.25V8.62c-.6-.4-1-1.09-1-1.87v-1.5ZM5.5 9v8.25c0 1.24 1 2.25 2.25 2.25h8.5c1.24 0 2.25-1 2.25-2.25V9h-13Zm-.25-4.5a.75.75 0 0 0-.75.75v1.5c0 .41.34.75.75.75h13.5c.41 0 .75-.34.75-.75v-1.5a.75.75 0 0 0-.75-.75H5.25Z"]),g3={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},b3={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},nt={...g3,...b3};function p3(n){if(n.playState==="running"){var r;if(n.overallProgress!==void 0){var l;const m=(l=n.overallProgress)!==null&&l!==void 0?l:0;return m>0&&m<1}var i;const f=Number((i=n.currentTime)!==null&&i!==void 0?i:0);var s;const v=Number((s=(r=n.effect)===null||r===void 0?void 0:r.getTiming().duration)!==null&&s!==void 0?s:0);return f>0&&f{l.playbackRate=r})},setMotionEndCallbacks(r,l){const i=n.map(s=>new Promise((f,v)=>{s.onfinish=()=>f(),s.oncancel=()=>v()}));Promise.all(i).then(()=>{r()}).catch(()=>{l()})},isRunning(){return n.some(r=>p3(r))},dispose:()=>{n.length=0},cancel:()=>{n.forEach(r=>{r.cancel()})},pause:()=>{n.forEach(r=>{r.pause()})},play:()=>{n.forEach(r=>{r.play()})},finish:()=>{n.forEach(r=>{r.finish()})},reverse:()=>{n.forEach(r=>{r.reverse()})}}}function _3(){var n;const r=typeof window<"u"&&typeof((n=window.Animation)===null||n===void 0?void 0:n.prototype.persist)=="function";return A.useCallback((l,i,s)=>{const f=Array.isArray(i)?i:[i],{isReducedMotion:v}=s,m=f.map(g=>{const{keyframes:h,reducedMotion:y=x3,...p}=g,{keyframes:x=h,..._}=y,z=v?x:h,k={...y3,...p,...v&&_};try{const D=l.animate(z,k);if(r)D==null||D.persist();else{const U=z[z.length-1];var O;Object.assign((O=l.style)!==null&&O!==void 0?O:{},U)}return D}catch{return null}}).filter(g=>!!g);return S3(m)},[r])}function p1(){"use no memo";return _3()}function y1(n){const r=A.useRef(void 0);return A.useImperativeHandle(n,()=>({setPlayState:l=>{if(l==="running"){var i;(i=r.current)===null||i===void 0||i.play()}if(l==="paused"){var s;(s=r.current)===null||s===void 0||s.pause()}},setPlaybackRate:l=>{r.current&&(r.current.playbackRate=l)}})),r}const w3="screen and (prefers-reduced-motion: reduce)";function x1(){const{targetDocument:n}=no();var r;const l=(r=n==null?void 0:n.defaultView)!==null&&r!==void 0?r:null,i=A.useRef(!1),s=A.useCallback(()=>i.current,[]);return uo(()=>{if(l===null||typeof l.matchMedia!="function")return;const f=l.matchMedia(w3);f.matches&&(i.current=!0);const v=m=>{i.current=m.matches};return f.addEventListener("change",v),()=>{f.removeEventListener("change",v)}},[l]),s}const z3=["@fluentui/react-motion: Invalid child element.",` `,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function S1(n,r=!0){const l=A.useRef(null);A.useEffect(()=>{},[r]);try{const i=A.Children.only(n);if(A.isValidElement(i))return[A.cloneElement(i,{ref:Im(l,Z2(i))}),l]}catch{}throw new Error(z3)}const _1=A.createContext(void 0);_1.Provider;const w1=()=>{var n;return(n=A.useContext(_1))!==null&&n!==void 0?n:"default"},k3=Symbol("MOTION_DEFINITION");function Kh(n){return Object.assign(l=>{"use no memo";const{children:i,imperativeRef:s,onMotionFinish:f,onMotionStart:v,onMotionCancel:m,...g}=l,h=g,[y,p]=S1(i),x=y1(s),_=w1()==="skip",z=A.useRef({skipMotions:_,params:h}),k=p1(),O=x1(),D=gt(()=>{v==null||v(null)}),U=gt(()=>{f==null||f(null)}),R=gt(()=>{m==null||m(null)});return uo(()=>{z.current={skipMotions:_,params:h}}),uo(()=>{const V=p.current;if(V){const X=typeof n=="function"?n({element:V,...z.current.params}):n;D();const Y=k(V,X,{isReducedMotion:O()});return x.current=Y,Y.setMotionEndCallbacks(U,R),z.current.skipMotions&&Y.finish(),()=>{Y.cancel()}}},[k,p,x,O,U,D,R]),y},{[k3]:typeof n=="function"?n:()=>n})}const z1=A.createContext(void 0);z1.Provider;function B3(n=!1,r=!1){const l=A.useRef(r?n:!0),i=H2(),s=A.useCallback(f=>{l.current!==f&&(l.current=f,i())},[i]);return A.useEffect(()=>{n&&(l.current=n)}),[n||l.current,s]}const k1=Symbol("PRESENCE_MOTION_DEFINITION"),T3=Symbol.for("interruptablePresence");function qs(n){return Object.assign(r=>{"use no memo";const i={...A.useContext(z1),...r},s=w1()==="skip",{appear:f,children:v,imperativeRef:m,onExit:g,onMotionFinish:h,onMotionStart:y,onMotionCancel:p,visible:x,unmountOnExit:_,...z}=i,k=z,[O,D]=B3(x,_),[U,R]=S1(v,O),V=y1(m),X=A.useRef({appear:f,params:k,skipMotions:s}),Y=p1(),G=O2(),le=x1(),Xe=gt(W=>{y==null||y(null,{direction:W})}),Ue=gt(W=>{h==null||h(null,{direction:W}),W==="exit"&&_&&(D(!1),g==null||g())}),et=gt(W=>{p==null||p(null,{direction:W})});return uo(()=>{X.current={appear:f,params:k,skipMotions:s}}),uo(()=>{const W=R.current;if(!W)return;let pe;function at(){pe&&(M&&pe.isRunning()||(pe.cancel(),V.current=void 0))}const vt=typeof n=="function"?n({element:W,...X.current.params}):n,M=vt[T3];if(M&&(pe=V.current,pe&&pe.isRunning()))return pe.reverse(),at;const Q=x?vt.enter:vt.exit,oe=x?"enter":"exit",Se=!X.current.appear&&G,Be=X.current.skipMotions;return Se||Xe(oe),pe=Y(W,Q,{isReducedMotion:le()}),Se?(pe.finish(),at):(V.current=pe,pe.setMotionEndCallbacks(()=>Ue(oe),()=>et(oe)),Be&&pe.finish(),at)},[Y,R,V,le,Ue,Xe,et,x]),A.useEffect(()=>{if(_&&!O){var W;(W=V.current)===null||W===void 0||W.dispose()}},[V,_,O]),O?U:null},{[k1]:typeof n=="function"?n:()=>n},{In:Kh(typeof n=="function"?(...r)=>n(...r).enter:n.enter),Out:Kh(typeof n=="function"?(...r)=>n(...r).exit:n.exit)})}function E3(n,r){return i=>n({...r,...i})}function jr(n,r){const l=n[k1],i=E3(l,r);return qs(i)}const Ms=A.createContext(void 0);function j3(){return A.useContext(Ms)}const B1=A.forwardRef((n,r)=>A.createElement(Ms.Provider,{value:r},n.children));B1.displayName="MotionRefForwarder";const T1=n=>A.createElement(Ms.Provider,{value:void 0},n.children);T1.displayName="MotionRefForwarderReset";function E1(n,r){const{as:l,children:i,...s}=n??{};if(n===null){const v=!r.defaultProps.visible&&r.defaultProps.unmountOnExit,m=(g,h)=>v?null:A.createElement(A.Fragment,null,h.children);return{[si]:m,[wa]:r.elementType}}const f={...r.defaultProps,...s,[wa]:r.elementType};return typeof i=="function"&&(f[si]=i),f}const vi=({direction:n,duration:r,easing:l=nt.curveLinear,delay:i=0,outOpacity:s=0,inOpacity:f=1})=>{const v=[{opacity:s},{opacity:f}];return n==="exit"&&v.reverse(),{keyframes:v,duration:r,easing:l,delay:i,fill:"both"}},A3=({duration:n=nt.durationNormal,easing:r=nt.curveEasyEase,delay:l=0,exitDuration:i=n,exitEasing:s=r,exitDelay:f=l,outOpacity:v=0,inOpacity:m=1})=>({enter:vi({direction:"enter",duration:n,easing:r,delay:l,outOpacity:v,inOpacity:m}),exit:vi({direction:"exit",duration:i,easing:s,delay:f,outOpacity:v,inOpacity:m})}),j1=qs(A3);jr(j1,{duration:nt.durationFast});const C3=jr(j1,{duration:nt.durationGentle}),Wh=({direction:n,duration:r,easing:l=nt.curveLinear,delay:i=0,outScale:s=.9,inScale:f=1})=>{const v=[{scale:s},{scale:f}];return n==="exit"&&v.reverse(),{keyframes:v,duration:r,easing:l,delay:i}},N3=({duration:n=nt.durationGentle,easing:r=nt.curveDecelerateMax,delay:l=0,exitDuration:i=nt.durationNormal,exitEasing:s=nt.curveAccelerateMax,exitDelay:f=l,outScale:v=.9,inScale:m=1,animateOpacity:g=!0})=>{const h=[Wh({direction:"enter",duration:n,easing:r,delay:l,outScale:v,inScale:m})],y=[Wh({direction:"exit",duration:i,easing:s,delay:f,outScale:v,inScale:m})];return g&&(h.push(vi({direction:"enter",duration:n,easing:r,delay:l})),y.push(vi({direction:"exit",duration:i,easing:s,delay:f}))),{enter:h,exit:y}},Os=qs(N3);jr(Os,{duration:nt.durationNormal,exitDuration:nt.durationFast});jr(Os,{duration:nt.durationSlow,exitDuration:nt.durationGentle});const D3=n=>an(n.root,{children:[n.initials&&we(n.initials,{}),n.icon&&we(n.icon,{}),n.image&&we(n.image,{}),n.badge&&we(n.badge,{}),n.activeAriaLabelElement]}),R3=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,q3=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uE000-\uFFFF]/g,M3=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,O3=/\s+/g,H3=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]/;function li(n){if(!n)return"";const r=n.codePointAt(0);return r===void 0?"":String.fromCodePoint(r)}function F3(n,r,l){let i="";const s=n.split(" ");if(s.length!==0&&(i+=li(s[0]).toUpperCase()),l||(s.length===2?i+=li(s[1]).toUpperCase():s.length===3&&(i+=li(s[2]).toUpperCase())),r&&[...i].length>1){const f=[...i];return f[1]+f[0]}return i}function U3(n){return n=n.replace(R3,""),n=n.replace(q3,""),n=n.replace(O3," "),n=n.trim(),n}function A1(n,r,l){if(!n)return"";n=U3(n);const i=li(n);return H3.test(i)||!(l!=null&&l.allowPhoneInitials)&&M3.test(n)?"":F3(n,r,l==null?void 0:l.firstInitialOnly)}const L3=(n,r)=>{const{shape:l="circular",size:i="medium",appearance:s="filled",color:f="brand",...v}=n;return{...C1(v,r),shape:l,size:i,appearance:s,color:f}},C1=(n,r)=>{const{iconPosition:l="before"}=n;return{iconPosition:l,components:{root:"div",icon:"span"},root:st(An("div",{ref:r,...n}),{elementType:"div"}),icon:kt(n.icon,{elementType:"span"})}},Ih={root:"fui-Badge",icon:"fui-Badge__icon"},G3=Ze("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),P3=ke({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),Z3=Ze("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),X3=ke({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),V3=n=>{"use no memo";const r=G3(),l=P3(),i=n.size==="small"||n.size==="extra-small"||n.size==="tiny";n.root.className=be(Ih.root,r,i&&l.fontSmallToTiny,l[n.size],l[n.shape],n.shape==="rounded"&&i&&l.roundedSmallToTiny,n.appearance==="ghost"&&l.borderGhost,l[n.appearance],l[`${n.appearance}-${n.color}`],n.root.className);const s=Z3(),f=X3();if(n.icon){let v;A.Children.toArray(n.root.children).length>0&&(n.size==="extra-large"?v=n.iconPosition==="after"?f.afterTextXL:f.beforeTextXL:v=n.iconPosition==="after"?f.afterText:f.beforeText),n.icon.className=be(Ih.icon,s,v,f[n.size],n.icon.className)}return n},N1=n=>an(n.root,{children:[n.iconPosition==="before"&&n.icon&&we(n.icon,{}),n.root.children,n.iconPosition==="after"&&n.icon&&we(n.icon,{})]}),Hs=A.forwardRef((n,r)=>{const l=L3(n,r);return V3(l),Ot("useBadgeStyles_unstable")(l),N1(l)});Hs.displayName="Badge";const Y3={tiny:Dh,"extra-small":Dh,small:$x,medium:e3,large:Rh,"extra-large":Rh},Q3={tiny:Ah,"extra-small":Ah,small:Wx,medium:Jx,large:Nh,"extra-large":Nh},K3={tiny:jh,"extra-small":jh,small:Kx,medium:Ix,large:Ch,"extra-large":Ch},W3={tiny:qh,"extra-small":qh,small:t3,medium:o3,large:Mh,"extra-large":Mh},I3={tiny:Oh,"extra-small":Oh,small:n3,medium:a3,large:Hh,"extra-large":Hh},J3={tiny:Fh,"extra-small":Fh,small:r3,medium:i3,large:Lh,"extra-large":Lh},$3={tiny:Uh,"extra-small":Uh,small:l3,medium:u3,large:Gh,"extra-large":Gh},rs={tiny:Xh,"extra-small":Xh,small:f3,medium:d3,large:Vh,"extra-large":Vh},eS={tiny:Ph,"extra-small":Ph,small:c3,medium:s3,large:Zh,"extra-large":Zh},Jh={tiny:Yh,"extra-small":Yh,small:v3,medium:h3,large:Qh,"extra-large":Qh},tS=(n,r,l)=>{switch(n){case"available":return r?Q3[l]:K3[l];case"away":return r?rs[l]:Y3[l];case"blocked":return W3[l];case"busy":return r?Jh[l]:I3[l];case"do-not-disturb":return r?$3[l]:J3[l];case"offline":return r?rs[l]:eS[l];case"out-of-office":return rs[l];case"unknown":return Jh[l]}},$h={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},oS=(n,r)=>{const{size:l="medium",outOfOffice:i=!1,...s}=n;var f;const v=(f=n.status)!==null&&f!==void 0?f:"available",m=tS(v,i,l),g={...nS(s,r),appearance:"filled",color:"brand",shape:"circular",size:l,outOfOffice:i};if(g.icon){var h,y;(y=(h=g.icon).children)!==null&&y!==void 0||(h.children=A.createElement(m,null))}return g},nS=(n,r)=>{const{status:l="available",outOfOffice:i=!1}=n,s=$h[l],f=n.outOfOffice&&n.status!=="out-of-office"?` ${$h["out-of-office"]}`:"";return{...C1({"aria-label":s+f,role:"img",...n,icon:kt(n.icon,{renderByDefault:!0,elementType:"span"})},r),status:l,outOfOffice:i}},em={root:"fui-PresenceBadge",icon:"fui-PresenceBadge__icon"},aS=n=>n==="busy"||n==="do-not-disturb"||n==="blocked",rS=Ze("r832ydo",null,[".r832ydo{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:var(--borderRadiusCircular);background-color:var(--colorNeutralBackground1);padding:1px;background-clip:content-box;}"]),lS=Ze("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),iS=ke({statusBusy:{sj55zd:"fvi85wt"},statusAway:{sj55zd:"f14k8a89"},statusAvailable:{sj55zd:"fqa5hgp"},statusOffline:{sj55zd:"f11d4kpn"},statusOutOfOffice:{sj55zd:"fdce8r3"},statusUnknown:{sj55zd:"f11d4kpn"},outOfOffice:{sj55zd:"fr0bkrk"},outOfOfficeAvailable:{sj55zd:"fqa5hgp"},outOfOfficeBusy:{sj55zd:"fvi85wt"},outOfOfficeUnknown:{sj55zd:"f11d4kpn"},tiny:{Bubjx69:"f9ikmtg",a9b677:"f16dn6v3",B2eet1l:"f1w2irj7",B5pe6w7:"fab5kbq",p4uzdd:"f1ms1d91"},large:{Bubjx69:"f9ikmtg",a9b677:"f64fuq3",B5pe6w7:"f1vfi1yj",p4uzdd:"f15s34gz"},extraLarge:{Bubjx69:"f9ikmtg",a9b677:"f1w9dchk",B5pe6w7:"f14efy9b",p4uzdd:"fhipgdu"}},{d:[".fvi85wt{color:var(--colorPaletteRedBackground3);}",".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}",".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fdce8r3{color:var(--colorPaletteBerryForeground3);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f9ikmtg{aspect-ratio:1;}",".f16dn6v3{width:6px;}",".f1w2irj7{background-clip:unset;}",".fab5kbq svg{width:6px!important;}",".f1ms1d91 svg{height:6px!important;}",".f64fuq3{width:20px;}",".f1vfi1yj svg{width:20px!important;}",".f15s34gz svg{height:20px!important;}",".f1w9dchk{width:28px;}",".f14efy9b svg{width:28px!important;}",".fhipgdu svg{height:28px!important;}"]}),uS=n=>{"use no memo";const r=rS(),l=lS(),i=iS(),s=aS(n.status);return n.root.className=be(em.root,r,s&&i.statusBusy,n.status==="away"&&i.statusAway,n.status==="available"&&i.statusAvailable,n.status==="offline"&&i.statusOffline,n.status==="out-of-office"&&i.statusOutOfOffice,n.status==="unknown"&&i.statusUnknown,n.outOfOffice&&i.outOfOffice,n.outOfOffice&&n.status==="available"&&i.outOfOfficeAvailable,n.outOfOffice&&s&&i.outOfOfficeBusy,n.outOfOffice&&(n.status==="out-of-office"||n.status==="away"||n.status==="offline")&&i.statusOutOfOffice,n.outOfOffice&&n.status==="unknown"&&i.outOfOfficeUnknown,n.size==="tiny"&&i.tiny,n.size==="large"&&i.large,n.size==="extra-large"&&i.extraLarge,n.root.className),n.icon&&(n.icon.className=be(em.icon,l,n.icon.className)),n},ps=A.forwardRef((n,r)=>{const l=oS(n,r);return uS(l),Ot("usePresenceBadgeStyles_unstable")(l),N1(l)});ps.displayName="PresenceBadge";const D1=A.createContext(void 0),cS={};D1.Provider;const sS=()=>{var n;return(n=A.useContext(D1))!==null&&n!==void 0?n:cS},fS={active:"active",inactive:"inactive"},dS=(n,r)=>{const{dir:l}=no(),{shape:i,size:s}=sS(),{size:f=s??32,shape:v=i??"circular",active:m="unset",activeAppearance:g="ring",idForColor:h,color:y="neutral",...p}=n,x=vS(p,r);var _;const z=y==="colorful"?tm[mS((_=h??n.name)!==null&&_!==void 0?_:"")%tm.length]:y;if(x.initials){var k;x.initials=kt(n.initials,{renderByDefault:!0,defaultProps:{children:A1(n.name,l==="rtl",{firstInitialOnly:f<=16}),id:(k=x.initials)===null||k===void 0?void 0:k.id},elementType:"span"})}if(x.icon){var O,D;(D=(O=x.icon).children)!==null&&D!==void 0||(O.children=A.createElement(Zx,null))}const U=kt(n.badge,{defaultProps:{size:hS(f),id:x.root.id+"__badge"},elementType:ps});let R=x.activeAriaLabelElement;const V=n["aria-label"]!==void 0,X=n["aria-labelledby"]!==void 0;if(!V&&!X&&(n.name?U&&(x.root["aria-labelledby"]=x.root.id+" "+U.id):x.initials&&(x.root["aria-labelledby"]=x.initials.id+(U?" "+U.id:""),delete x.root["aria-label"]),m==="active"||m==="inactive")){const Y=fS[m];if(x.root["aria-labelledby"]){const G=x.root.id+"__active";x.root["aria-labelledby"]+=" "+G,R=A.createElement("span",{hidden:!0,id:G},Y)}else x.root["aria-label"]&&(x.root["aria-label"]+=" "+Y)}return{...x,size:f,shape:v,active:m,activeAppearance:g,activeAriaLabelElement:R,color:z,badge:U,components:{...x.components,badge:ps}}},vS=(n,r)=>{const{dir:l}=no(),{name:i,...s}=n,f=Er("avatar-"),v=st({role:"img",id:f,ref:r,...s},{elementType:"span"}),[m,g]=A.useState(void 0);let h=kt(n.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:m},elementType:"img"});h!=null&&h.src||(h=void 0),h&&(h.onError=ph(h.onError,()=>g(!0)),h.onLoad=ph(h.onLoad,()=>g(void 0)));let y=kt(n.initials,{renderByDefault:!0,defaultProps:{children:A1(i,l==="rtl"),id:f+"__initials"},elementType:"span"});y!=null&&y.children||(y=void 0);let p;!y&&(!h||m)&&(p=kt(n.icon,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"span"}));let x;return!v["aria-label"]&&!v["aria-labelledby"]&&(i?v["aria-label"]=i:y&&(v["aria-labelledby"]=y.id)),{activeAriaLabelElement:x,components:{root:"span",initials:"span",icon:"span",image:"img"},root:v,initials:y,icon:p,image:h}},hS=n=>n>=96?"extra-large":n>=64?"large":n>=56?"medium":n>=40?"small":n>=28?"extra-small":"tiny",tm=["dark-red","cranberry","red","pumpkin","peach","marigold","gold","brass","brown","forest","seafoam","dark-green","light-teal","teal","steel","blue","royal-blue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],mS=n=>{let r=0;for(let l=n.length-1;l>=0;l--){const i=n.charCodeAt(l),s=l%8;r^=(i<>8-s)}return r},Sr={root:"fui-Avatar",image:"fui-Avatar__image",initials:"fui-Avatar__initials",icon:"fui-Avatar__icon",badge:"fui-Avatar__badge"},gS=Ze("r81b29z","r1aatmv",{r:[".r81b29z{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r81b29z::before,.r81b29z::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r81b29z::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}",".r1aatmv{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r1aatmv::before,.r1aatmv::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r1aatmv::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}"],s:["@media screen and (prefers-reduced-motion: reduce){.r81b29z::before,.r81b29z::after{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1aatmv::before,.r1aatmv::after{transition-duration:0.01ms;}}"]}),bS=Ze("r136dc0n","rjly0nl",[".r136dc0n{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}",".rjly0nl{position:absolute;top:0;right:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}"]),pS=Ze("rip04v","r31uzil",[".rip04v{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}",".r31uzil{position:absolute;box-sizing:border-box;top:0;right:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}"]),yS=ke({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},squareMedium:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},squareLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1o0qvyv"},squareXLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu"},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Bg24rqe:"f9ttr0w"},ring:{Ftih45:"f1wl9k8s"},ringBadgeCutout:{f4a502:"fp2gujx"},ringThick:{of393c:"fq1w1vq"},ringThicker:{of393c:"fzg6ace"},ringThickest:{of393c:"f1nu8p71"},shadow:{Bsft5z2:"f13zj6fq"},shadow4:{Be6vj1x:"fcjn15l"},shadow8:{Be6vj1x:"f1tm8t9f"},shadow16:{Be6vj1x:"f1a1aohj"},shadow28:{Be6vj1x:"fond6v5"},inactive:{abs64n:"fp25eh",Bz10aip:"f1clczzi",Bkqvd7p:"f1l3s34x",Bfgortx:0,Bnvr3x9:0,b2tv09:0,Bucmhp4:0,iayac2:"flkahu5",b6ubon:"fw457kn",Bqinb2h:"f1wmllxl"},badge:{qhf8xq:"f1euv43f",B5kzvoi:"f1yab3r1",j35jbq:["f1e31b4d","f1vgc2s3"]},badgeCutout:{btxmck:"f1eugkqs"},badgeAlign:{Dnlfbu:["f1tlnv9o","f1y9kyih"]},tiny:{Bdjeniz:"f1uwoubl",niu6jh:"fid048z"},"extra-small":{Bdjeniz:"f13ar0e0",niu6jh:"fid048z"},small:{Bdjeniz:"fwwuruf",niu6jh:"fid048z"},medium:{Bdjeniz:"f1af27q5",niu6jh:"fid048z"},large:{Bdjeniz:"f18yy57a",niu6jh:"f924bxt"},"extra-large":{Bdjeniz:"f2jg042",niu6jh:"f924bxt"},icon12:{Be2twd7:"f1ugzwwg"},icon16:{Be2twd7:"f4ybsrx"},icon20:{Be2twd7:"fe5j1ua"},icon24:{Be2twd7:"f1rt2boy"},icon28:{Be2twd7:"f24l1pt"},icon32:{Be2twd7:"ffl51b"},icon48:{Be2twd7:"f18m8u13"}},{d:[".f13mqy1h{font-size:var(--fontSizeBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1o0qvyv{border-radius:var(--borderRadiusLarge);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".ftfx35i{transform:perspective(1px);}",".fv0atk9{transition-property:transform,opacity;}",".f1iry5bo{transition-duration:var(--durationUltraSlow),var(--durationFaster);}",".f15n41j8{transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);}",'.f1wl9k8s::before{content:"";}',".fp2gujx::before{-webkit-mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".fq1w1vq{--fui-Avatar-ringWidth:var(--strokeWidthThick);}",".fzg6ace{--fui-Avatar-ringWidth:var(--strokeWidthThicker);}",".f1nu8p71{--fui-Avatar-ringWidth:var(--strokeWidthThickest);}",'.f13zj6fq::after{content:"";}',".fcjn15l::after{box-shadow:var(--shadow4);}",".f1tm8t9f::after{box-shadow:var(--shadow8);}",".f1a1aohj::after{box-shadow:var(--shadow16);}",".fond6v5::after{box-shadow:var(--shadow28);}",".fp25eh{opacity:0.8;}",".f1clczzi{transform:scale(0.875);}",".f1l3s34x{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",[".flkahu5::before,.flkahu5::after{margin:0;}",{p:-1}],".fw457kn::before,.fw457kn::after{opacity:0;}",".f1wmllxl::before,.f1wmllxl::after{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",".f1euv43f{position:absolute;}",".f1yab3r1{bottom:0;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1eugkqs{-webkit-mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".f1tlnv9o{--fui-Avatar-badgeAlign:right;}",".f1y9kyih{--fui-Avatar-badgeAlign:left;}",".f1uwoubl{--fui-Avatar-badgeRadius:3px;}",".fid048z{--fui-Avatar-badgeGap:var(--strokeWidthThin);}",".f13ar0e0{--fui-Avatar-badgeRadius:5px;}",".fwwuruf{--fui-Avatar-badgeRadius:6px;}",".f1af27q5{--fui-Avatar-badgeRadius:8px;}",".f18yy57a{--fui-Avatar-badgeRadius:10px;}",".f924bxt{--fui-Avatar-badgeGap:var(--strokeWidthThick);}",".f2jg042{--fui-Avatar-badgeRadius:14px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f24l1pt{font-size:28px;}",".ffl51b{font-size:32px;}",".f18m8u13{font-size:48px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f9ttr0w{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),xS=ke({16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),SS=ke({neutral:{sj55zd:"f11d4kpn",De3pzq:"f18f03hv"},brand:{sj55zd:"fonrgv7",De3pzq:"f1blnnmj"},"dark-red":{sj55zd:"fqjd1y1",De3pzq:"f1vq2oo4"},cranberry:{sj55zd:"fg9gses",De3pzq:"f1lwxszt"},red:{sj55zd:"f23f7i0",De3pzq:"f1q9qhfq"},pumpkin:{sj55zd:"fjnan08",De3pzq:"fz91bi3"},peach:{sj55zd:"fknu15p",De3pzq:"f1b9nr51"},marigold:{sj55zd:"f9603vw",De3pzq:"f3z4w6d"},gold:{sj55zd:"fmq0uwp",De3pzq:"fg50kya"},brass:{sj55zd:"f28g5vo",De3pzq:"f4w2gd0"},brown:{sj55zd:"ftl572b",De3pzq:"f14wu1f4"},forest:{sj55zd:"f1gymlvd",De3pzq:"f19ut4y6"},seafoam:{sj55zd:"fnnb6wn",De3pzq:"f1n057jc"},"dark-green":{sj55zd:"ff58qw8",De3pzq:"f11t05wk"},"light-teal":{sj55zd:"f1up9qbj",De3pzq:"f42feg1"},teal:{sj55zd:"f135dsb4",De3pzq:"f6hvv1p"},steel:{sj55zd:"f151dlcp",De3pzq:"f1lnp8zf"},blue:{sj55zd:"f1rjv50u",De3pzq:"f1ggcpy6"},"royal-blue":{sj55zd:"f1emykk5",De3pzq:"f12rj61f"},cornflower:{sj55zd:"fqsigj7",De3pzq:"f8k7hur"},navy:{sj55zd:"f1nj97xi",De3pzq:"f19gw0ux"},lavender:{sj55zd:"fwctg0i",De3pzq:"ff379vm"},purple:{sj55zd:"fjrsgpu",De3pzq:"f1mzf1e1"},grape:{sj55zd:"f1fiiydq",De3pzq:"f1o4k8oy"},lilac:{sj55zd:"f1res9jt",De3pzq:"f1x6mz1o"},pink:{sj55zd:"fv3fbbi",De3pzq:"fydlv6t"},magenta:{sj55zd:"f1f1fwnz",De3pzq:"f4xb6j5"},plum:{sj55zd:"f8ptl6j",De3pzq:"fqo8e26"},beige:{sj55zd:"f1ntv3ld",De3pzq:"f101elhj"},mink:{sj55zd:"f1fscmp",De3pzq:"f13g8o5c"},platinum:{sj55zd:"f1dr00v2",De3pzq:"fkh7blw"},anchor:{sj55zd:"f1f3ti53",De3pzq:"fu4yj0j"}},{d:[".f11d4kpn{color:var(--colorNeutralForeground3);}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1blnnmj{background-color:var(--colorBrandBackgroundStatic);}",".fqjd1y1{color:var(--colorPaletteDarkRedForeground2);}",".f1vq2oo4{background-color:var(--colorPaletteDarkRedBackground2);}",".fg9gses{color:var(--colorPaletteCranberryForeground2);}",".f1lwxszt{background-color:var(--colorPaletteCranberryBackground2);}",".f23f7i0{color:var(--colorPaletteRedForeground2);}",".f1q9qhfq{background-color:var(--colorPaletteRedBackground2);}",".fjnan08{color:var(--colorPalettePumpkinForeground2);}",".fz91bi3{background-color:var(--colorPalettePumpkinBackground2);}",".fknu15p{color:var(--colorPalettePeachForeground2);}",".f1b9nr51{background-color:var(--colorPalettePeachBackground2);}",".f9603vw{color:var(--colorPaletteMarigoldForeground2);}",".f3z4w6d{background-color:var(--colorPaletteMarigoldBackground2);}",".fmq0uwp{color:var(--colorPaletteGoldForeground2);}",".fg50kya{background-color:var(--colorPaletteGoldBackground2);}",".f28g5vo{color:var(--colorPaletteBrassForeground2);}",".f4w2gd0{background-color:var(--colorPaletteBrassBackground2);}",".ftl572b{color:var(--colorPaletteBrownForeground2);}",".f14wu1f4{background-color:var(--colorPaletteBrownBackground2);}",".f1gymlvd{color:var(--colorPaletteForestForeground2);}",".f19ut4y6{background-color:var(--colorPaletteForestBackground2);}",".fnnb6wn{color:var(--colorPaletteSeafoamForeground2);}",".f1n057jc{background-color:var(--colorPaletteSeafoamBackground2);}",".ff58qw8{color:var(--colorPaletteDarkGreenForeground2);}",".f11t05wk{background-color:var(--colorPaletteDarkGreenBackground2);}",".f1up9qbj{color:var(--colorPaletteLightTealForeground2);}",".f42feg1{background-color:var(--colorPaletteLightTealBackground2);}",".f135dsb4{color:var(--colorPaletteTealForeground2);}",".f6hvv1p{background-color:var(--colorPaletteTealBackground2);}",".f151dlcp{color:var(--colorPaletteSteelForeground2);}",".f1lnp8zf{background-color:var(--colorPaletteSteelBackground2);}",".f1rjv50u{color:var(--colorPaletteBlueForeground2);}",".f1ggcpy6{background-color:var(--colorPaletteBlueBackground2);}",".f1emykk5{color:var(--colorPaletteRoyalBlueForeground2);}",".f12rj61f{background-color:var(--colorPaletteRoyalBlueBackground2);}",".fqsigj7{color:var(--colorPaletteCornflowerForeground2);}",".f8k7hur{background-color:var(--colorPaletteCornflowerBackground2);}",".f1nj97xi{color:var(--colorPaletteNavyForeground2);}",".f19gw0ux{background-color:var(--colorPaletteNavyBackground2);}",".fwctg0i{color:var(--colorPaletteLavenderForeground2);}",".ff379vm{background-color:var(--colorPaletteLavenderBackground2);}",".fjrsgpu{color:var(--colorPalettePurpleForeground2);}",".f1mzf1e1{background-color:var(--colorPalettePurpleBackground2);}",".f1fiiydq{color:var(--colorPaletteGrapeForeground2);}",".f1o4k8oy{background-color:var(--colorPaletteGrapeBackground2);}",".f1res9jt{color:var(--colorPaletteLilacForeground2);}",".f1x6mz1o{background-color:var(--colorPaletteLilacBackground2);}",".fv3fbbi{color:var(--colorPalettePinkForeground2);}",".fydlv6t{background-color:var(--colorPalettePinkBackground2);}",".f1f1fwnz{color:var(--colorPaletteMagentaForeground2);}",".f4xb6j5{background-color:var(--colorPaletteMagentaBackground2);}",".f8ptl6j{color:var(--colorPalettePlumForeground2);}",".fqo8e26{background-color:var(--colorPalettePlumBackground2);}",".f1ntv3ld{color:var(--colorPaletteBeigeForeground2);}",".f101elhj{background-color:var(--colorPaletteBeigeBackground2);}",".f1fscmp{color:var(--colorPaletteMinkForeground2);}",".f13g8o5c{background-color:var(--colorPaletteMinkBackground2);}",".f1dr00v2{color:var(--colorPalettePlatinumForeground2);}",".fkh7blw{background-color:var(--colorPalettePlatinumBackground2);}",".f1f3ti53{color:var(--colorPaletteAnchorForeground2);}",".fu4yj0j{background-color:var(--colorPaletteAnchorBackground2);}"]}),_S=ke({neutral:{Bic5iru:"f1uuiafn"},brand:{Bic5iru:"f1uuiafn"},"dark-red":{Bic5iru:"f1t2x9on"},cranberry:{Bic5iru:"f1pvshc9"},red:{Bic5iru:"f1ectbk9"},pumpkin:{Bic5iru:"fvzpl0b"},peach:{Bic5iru:"fwj2kd7"},marigold:{Bic5iru:"fr120vy"},gold:{Bic5iru:"f8xmmar"},brass:{Bic5iru:"f1hbety2"},brown:{Bic5iru:"f1vg3s4g"},forest:{Bic5iru:"f1m3olm5"},seafoam:{Bic5iru:"f17xiqtr"},"dark-green":{Bic5iru:"fx32vyh"},"light-teal":{Bic5iru:"f1mkihwv"},teal:{Bic5iru:"fecnooh"},steel:{Bic5iru:"f15hfgzm"},blue:{Bic5iru:"fqproka"},"royal-blue":{Bic5iru:"f17v2w59"},cornflower:{Bic5iru:"fp0q1mo"},navy:{Bic5iru:"f1nlym55"},lavender:{Bic5iru:"f62vk8h"},purple:{Bic5iru:"f15zl69q"},grape:{Bic5iru:"f53w4j7"},lilac:{Bic5iru:"fu2771t"},pink:{Bic5iru:"fzflscs"},magenta:{Bic5iru:"fb6rmqc"},plum:{Bic5iru:"f1a4gm5b"},beige:{Bic5iru:"f1qpf9z1"},mink:{Bic5iru:"f1l7or83"},platinum:{Bic5iru:"fzrj0iu"},anchor:{Bic5iru:"f8oz6wf"}},{d:[".f1uuiafn::before{color:var(--colorBrandStroke1);}",".f1t2x9on::before{color:var(--colorPaletteDarkRedBorderActive);}",".f1pvshc9::before{color:var(--colorPaletteCranberryBorderActive);}",".f1ectbk9::before{color:var(--colorPaletteRedBorderActive);}",".fvzpl0b::before{color:var(--colorPalettePumpkinBorderActive);}",".fwj2kd7::before{color:var(--colorPalettePeachBorderActive);}",".fr120vy::before{color:var(--colorPaletteMarigoldBorderActive);}",".f8xmmar::before{color:var(--colorPaletteGoldBorderActive);}",".f1hbety2::before{color:var(--colorPaletteBrassBorderActive);}",".f1vg3s4g::before{color:var(--colorPaletteBrownBorderActive);}",".f1m3olm5::before{color:var(--colorPaletteForestBorderActive);}",".f17xiqtr::before{color:var(--colorPaletteSeafoamBorderActive);}",".fx32vyh::before{color:var(--colorPaletteDarkGreenBorderActive);}",".f1mkihwv::before{color:var(--colorPaletteLightTealBorderActive);}",".fecnooh::before{color:var(--colorPaletteTealBorderActive);}",".f15hfgzm::before{color:var(--colorPaletteSteelBorderActive);}",".fqproka::before{color:var(--colorPaletteBlueBorderActive);}",".f17v2w59::before{color:var(--colorPaletteRoyalBlueBorderActive);}",".fp0q1mo::before{color:var(--colorPaletteCornflowerBorderActive);}",".f1nlym55::before{color:var(--colorPaletteNavyBorderActive);}",".f62vk8h::before{color:var(--colorPaletteLavenderBorderActive);}",".f15zl69q::before{color:var(--colorPalettePurpleBorderActive);}",".f53w4j7::before{color:var(--colorPaletteGrapeBorderActive);}",".fu2771t::before{color:var(--colorPaletteLilacBorderActive);}",".fzflscs::before{color:var(--colorPalettePinkBorderActive);}",".fb6rmqc::before{color:var(--colorPaletteMagentaBorderActive);}",".f1a4gm5b::before{color:var(--colorPalettePlumBorderActive);}",".f1qpf9z1::before{color:var(--colorPaletteBeigeBorderActive);}",".f1l7or83::before{color:var(--colorPaletteMinkBorderActive);}",".fzrj0iu::before{color:var(--colorPalettePlatinumBorderActive);}",".f8oz6wf::before{color:var(--colorPaletteAnchorBorderActive);}"]}),wS=n=>{"use no memo";const{size:r,shape:l,active:i,activeAppearance:s,color:f}=n,v=gS(),m=bS(),g=pS(),h=yS(),y=xS(),p=SS(),x=_S(),_=[v,r!==32&&y[r]];if(n.badge&&_.push(h.badgeAlign,h[n.badge.size||"medium"]),r<=24?_.push(h.textCaption2Strong):r<=28?_.push(h.textCaption1Strong):r<=40||(r<=56?_.push(h.textSubtitle2):r<=96?_.push(h.textSubtitle1):_.push(h.textTitle3)),l==="square"&&(r<=24?_.push(h.squareSmall):r<=48?_.push(h.squareMedium):r<=72?_.push(h.squareLarge):_.push(h.squareXLarge)),(i==="active"||i==="inactive")&&(_.push(h.activeOrInactive),(s==="ring"||s==="ring-shadow")&&(_.push(h.ring,x[f]),n.badge&&_.push(h.ringBadgeCutout),r<=48?_.push(h.ringThick):r<=64?_.push(h.ringThicker):_.push(h.ringThickest)),(s==="shadow"||s==="ring-shadow")&&(_.push(h.shadow),r<=28?_.push(h.shadow4):r<=48?_.push(h.shadow8):r<=64?_.push(h.shadow16):_.push(h.shadow28)),i==="inactive"&&_.push(h.inactive)),n.root.className=be(Sr.root,..._,n.root.className),n.badge&&(n.badge.className=be(Sr.badge,h.badge,n.badge.className)),n.image&&(n.image.className=be(Sr.image,m,p[f],n.badge&&h.badgeCutout,n.image.className)),n.initials&&(n.initials.className=be(Sr.initials,g,p[f],n.badge&&h.badgeCutout,n.initials.className)),n.icon){let z;r<=16?z=h.icon12:r<=24?z=h.icon16:r<=40?z=h.icon20:r<=48?z=h.icon24:r<=56?z=h.icon28:r<=72?z=h.icon32:z=h.icon48,n.icon.className=be(Sr.icon,g,z,p[f],n.badge&&h.badgeCutout,n.icon.className)}return n},ys=A.forwardRef((n,r)=>{const l=dS(n,r);return wS(l),Ot("useAvatarStyles_unstable")(l),D3(l)});ys.displayName="Avatar";function zS(n){return hs(n)?{element:n}:typeof n=="object"?n===null?{element:null}:n:{}}const kS=ke({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),R1=ui.useInsertionEffect,BS=n=>{"use no memo";const{className:r,dir:l,focusVisibleRef:i,targetNode:s}=n,f=A.useMemo(()=>{if(s===void 0||n.disabled)return null;const v=s.ownerDocument.createElement("div");return s.appendChild(v),v},[s,n.disabled]);return A.useMemo(()=>{f&&(f.className=r,f.setAttribute("dir",l),f.setAttribute("data-portal-node","true"),i.current=f)},[r,l,f,i]),A.useEffect(()=>()=>{f==null||f.remove()},[f]),f},TS=()=>{let n;function r(i,s){return n||(s&&(n=i.ownerDocument.createElement("div"),i.appendChild(n)),n)}function l(){n&&(n.remove(),n=void 0)}return{get:r,dispose:l}},ES=n=>{"use no memo";const{className:r,dir:l,focusVisibleRef:i,targetNode:s}=n,[f]=A.useState(TS),v=A.useMemo(()=>s===void 0||n.disabled?null:new Proxy({},{get(m,g){if(g==="nodeType")return 1;if(g==="remove"){const p=f.get(s,!1);return p&&p.childNodes.length===0&&f.dispose(),()=>{}}const h=f.get(s,!0),y=h?h[g]:void 0;return typeof y=="function"?y.bind(h):y},set(m,g,h){const y=g==="_virtual"||g==="focusVisible",p=y?f.get(s,!1):f.get(s,!0);return y&&!p?!0:p?(Object.assign(p,{[g]:h}),!0):!1}}),[f,s,n.disabled]);return R1(()=>{if(!v)return;const m=r.split(" ").filter(Boolean);return v.classList.add(...m),v.setAttribute("dir",l),v.setAttribute("data-portal-node","true"),i.current=v,()=>{v.classList.remove(...m),v.removeAttribute("dir")}},[r,l,v,i]),A.useEffect(()=>()=>{v==null||v.remove()},[v]),v},jS=R1?ES:BS,AS=n=>{"use no memo";const{targetDocument:r,dir:l}=no(),i=j2(),s=jx(),f=kS(),v=B2(),m={dir:l,disabled:n.disabled,focusVisibleRef:s,className:be(v,f.root,n.className),targetNode:i??(r==null?void 0:r.body)};return jS(m)},CS=n=>{const{element:r,className:l}=zS(n.mountNode),i=A.useRef(null),s=AS({disabled:!!r,className:l}),f=r??s,v={children:n.children,mountNode:f,virtualParentRootRef:i};return A.useEffect(()=>{if(!f)return;const m=i.current,g=f.contains(m);if(m&&!g)return yh(f,m),()=>{yh(f,void 0)}},[i,f]),v};var NS=hm();const DS=n=>A.createElement("span",{hidden:!0,ref:n.virtualParentRootRef},n.mountNode&&NS.createPortal(A.createElement(A.Fragment,null,n.children,A.createElement("span",{hidden:!0})),n.mountNode)),q1=n=>{const r=CS(n);return DS(r)};q1.displayName="Portal";const RS=n=>{const{iconOnly:r,iconPosition:l}=n;return an(n.root,{children:[l!=="after"&&n.icon&&we(n.icon,{}),!r&&n.root.children,l==="after"&&n.icon&&we(n.icon,{})]})},M1=A.createContext(void 0),qS={};M1.Provider;const MS=()=>{var n;return(n=A.useContext(M1))!==null&&n!==void 0?n:qS},OS=(n,r)=>{const{size:l}=MS(),{appearance:i="secondary",shape:s="rounded",size:f=l??"medium",...v}=n,m=HS(v,r);return{appearance:i,shape:s,size:f,...m}},HS=(n,r)=>{const{icon:l,iconPosition:i="before",...s}=n,f=kt(l,{elementType:"span"});var v,m;return{disabled:(v=n.disabled)!==null&&v!==void 0?v:!1,disabledFocusable:(m=n.disabledFocusable)!==null&&m!==void 0?m:!1,iconPosition:i,iconOnly:!!(f!=null&&f.children&&!n.children),components:{root:"button",icon:"span"},root:st(Fx(s.as,s),{elementType:"button",defaultProps:{ref:r,type:n.as!=="a"?"button":void 0}}),icon:f}},om={root:"fui-Button",icon:"fui-Button__icon"},FS=Ze("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;}}"]}),US=Ze("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);}"]),LS=ke({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)"}]]}),GS=ke({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)"}]]}),PS=ke({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;}}"]}),ZS=ke({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;}"]}),XS=ke({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);}"]}),VS=n=>{"use no memo";const r=FS(),l=US(),i=LS(),s=GS(),f=PS(),v=ZS(),m=XS(),{appearance:g,disabled:h,disabledFocusable:y,icon:p,iconOnly:x,iconPosition:_,shape:z,size:k}=n;return n.root.className=be(om.root,r,g&&i[g],i[k],p&&k==="small"&&i.smallWithIcon,p&&k==="large"&&i.largeWithIcon,i[z],(h||y)&&s.base,(h||y)&&s.highContrast,g&&(h||y)&&s[g],g==="primary"&&f.primary,f[k],f[z],x&&v[k],n.root.className),n.icon&&(n.icon.className=be(om.icon,l,!!n.root.children&&m[_],m[k],n.icon.className)),n},Bn=A.forwardRef((n,r)=>{const l=OS(n,r);return VS(l),Ot("useButtonStyles_unstable")(l),RS(l)});Bn.displayName="Button";const O1=A.createContext(void 0);O1.Provider;const YS=()=>A.useContext(O1);function H1(n,r){return QS(YS(),n,r)}function QS(n,r,l){if(!n)return r;r={...r};const{generatedControlId:i,hintId:s,labelFor:f,labelId:v,required:m,validationMessageId:g,validationState:h}=n;if(i){var y,p;(p=(y=r).id)!==null&&p!==void 0||(y.id=i)}if(v&&(!(l!=null&&l.supportsLabelFor)||f!==r.id)){var x,_,z;(z=(x=r)[_="aria-labelledby"])!==null&&z!==void 0||(x[_]=v)}if((g||s)&&(r["aria-describedby"]=[g,s,r==null?void 0:r["aria-describedby"]].filter(Boolean).join(" ")),h==="error"){var k,O,D;(D=(k=r)[O="aria-invalid"])!==null&&D!==void 0||(k[O]=!0)}if(m)if(l!=null&&l.supportsRequired){var U,R;(R=(U=r).required)!==null&&R!==void 0||(U.required=!0)}else{var V,X,Y;(Y=(V=r)[X="aria-required"])!==null&&Y!==void 0||(V[X]=!0)}if(l!=null&&l.supportsSize){var G,le;(le=(G=r).size)!==null&&le!==void 0||(G.size=n.size)}return r}const KS=(n,r)=>{const{weight:l="regular",size:i="medium",...s}=n,f=WS(s,r);return{weight:l,size:i,...f}},WS=(n,r)=>{const{disabled:l=!1,required:i=!1,...s}=n;return{disabled:l,required:kt(i===!0?"*":i||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:st(An("label",{ref:r,...s}),{elementType:"label"})}},IS=n=>an(n.root,{children:[n.root.children,n.required&&we(n.required,{})]}),nm={root:"fui-Label",required:"fui-Label__required"},JS=ke({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)"}]]}),$S=n=>{"use no memo";const r=JS();return n.root.className=be(nm.root,r.root,n.disabled&&r.disabled,r[n.size],n.weight==="semibold"&&r.semibold,n.root.className),n.required&&(n.required.className=be(nm.required,r.required,n.disabled&&r.disabled,n.required.className)),n},pa=A.forwardRef((n,r)=>{const l=KS(n,r);return $S(l),Ot("useLabelStyles_unstable")(l),IS(l)});pa.displayName="Label";const e_=n=>we(n.root,{children:n.root.children!==void 0&&we(n.wrapper,{children:n.root.children})}),t_=(n,r)=>{const{alignContent:l="center",appearance:i="default",inset:s=!1,...f}=n,v=o_(f,r);return{alignContent:l,appearance:i,inset:s,...v}},o_=(n,r)=>{const{vertical:l=!1,wrapper:i,...s}=n,f=Er("divider-");return{vertical:l,components:{root:"div",wrapper:"div"},root:st({role:"separator","aria-orientation":l?"vertical":"horizontal","aria-labelledby":n.children?f:void 0,ref:r,...s},{elementType:"div"}),wrapper:st(i,{defaultProps:{id:f,children:n.children},elementType:"div"})}},am={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},n_=ke({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),a_=ke({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),r_=ke({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),l_=n=>{"use no memo";const r=n_(),l=a_(),i=r_(),{alignContent:s,appearance:f,inset:v,vertical:m}=n;return n.root.className=be(am.root,r.base,r[s],f&&r[f],!m&&l.base,!m&&v&&l.inset,!m&&l[s],m&&i.base,m&&v&&i.inset,m&&i[s],m&&n.root.children!==void 0&&i.withChildren,n.root.children===void 0&&r.childless,n.root.className),n.wrapper&&(n.wrapper.className=be(am.wrapper,n.wrapper.className)),n},Fs=A.forwardRef((n,r)=>{const l=t_(n,r);return l_(l),Ot("useDividerStyles_unstable")(l),e_(l)});Fs.displayName="Divider";const i_=(n,r)=>{n=H1(n,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const l=Ym();var i;const{size:s="medium",appearance:f=(i=l.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",...v}=n,m=u_(v,r);return{size:s,appearance:f,...m}},u_=(n,r)=>{const{onChange:l}=n,[i,s]=js({state:n.value,defaultState:n.defaultValue,initialState:""}),f=Pm({props:n,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),v={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:st(n.input,{defaultProps:{type:"text",ref:r,...f.primary},elementType:"input"}),contentAfter:kt(n.contentAfter,{elementType:"span"}),contentBefore:kt(n.contentBefore,{elementType:"span"}),root:st(n.root,{defaultProps:f.root,elementType:"span"})};return v.input.value=i,v.input.onChange=gt(m=>{const g=m.target.value;l==null||l(m,{value:g}),s(g)}),v},c_=n=>an(n.root,{children:[n.contentBefore&&we(n.contentBefore,{}),we(n.input,{}),n.contentAfter&&we(n.contentAfter,{})]}),$l={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},s_=Ze("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;}}"]}),f_=ke({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;}"]}),d_=Ze("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;}"]),v_=ke({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);}"]}),h_=Ze("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),m_=ke({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;}"]}),g_=n=>{"use no memo";const{size:r,appearance:l}=n,i=n.input.disabled,s=`${n.input["aria-invalid"]}`=="true",f=l.startsWith("filled"),v=f_(),m=v_(),g=m_();n.root.className=be($l.root,s_(),v[r],n.contentBefore&&v[`${r}WithContentBefore`],n.contentAfter&&v[`${r}WithContentAfter`],v[l],!i&&l==="outline"&&v.outlineInteractive,!i&&l==="underline"&&v.underlineInteractive,!i&&f&&v.filledInteractive,f&&v.filled,!i&&s&&v.invalid,i&&v.disabled,n.root.className),n.input.className=be($l.input,d_(),m[r],n.contentBefore&&m[`${r}WithContentBefore`],n.contentAfter&&m[`${r}WithContentAfter`],i&&m.disabled,n.input.className);const h=[h_(),i&&g.disabled,g[r]];return n.contentBefore&&(n.contentBefore.className=be($l.contentBefore,...h,n.contentBefore.className)),n.contentAfter&&(n.contentAfter.className=be($l.contentAfter,...h,n.contentAfter.className)),n},ii=A.forwardRef((n,r)=>{const l=i_(n,r);return g_(l),Ot("useInputStyles_unstable")(l),c_(l)});ii.displayName="Input";const F1=A.createContext(void 0),b_={};F1.Provider;const p_=()=>{var n;return(n=A.useContext(F1))!==null&&n!==void 0?n:b_},y_=(n,r)=>{const{size:l}=p_(),{appearance:i="primary",size:s=l??"medium",...f}=n;return{...x_(f,r),appearance:i,size:s}},x_=(n,r)=>{const{delay:l=0,labelPosition:i="after"}=n,s=Er("spinner"),{role:f="progressbar",...v}=n,m=st(An("div",{ref:r,role:f,...v}),{elementType:"div"}),[g,h]=A.useState(!1),[y,p]=G2();A.useEffect(()=>{if(!(l<=0))return y(()=>{h(!0)},l),()=>{p()}},[y,p,l]);const x=kt(n.label,{defaultProps:{id:s},renderByDefault:!1,elementType:pa}),_=kt(n.spinner,{renderByDefault:!0,elementType:"span"});return x&&m&&!m["aria-labelledby"]&&(m["aria-labelledby"]=x.id),{delay:l,labelPosition:i,shouldRenderSpinner:!l||g,components:{root:"div",spinner:"span",spinnerTail:"span",label:pa},root:m,spinner:_,spinnerTail:st(n.spinnerTail,{elementType:"span"}),label:x}},S_=n=>{const{labelPosition:r,shouldRenderSpinner:l}=n;return an(n.root,{children:[n.label&&l&&(r==="above"||r==="before")&&we(n.label,{}),n.spinner&&l&&we(n.spinner,{children:n.spinnerTail&&we(n.spinnerTail,{})}),n.label&&l&&(r==="below"||r==="after")&&we(n.label,{})]})},ei={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},__=Ze("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),w_=ke({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),z_=Ze("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;}}"]}),k_=Ze("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;}}"]}),B_=ke({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)"}]]}),T_=ke({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);}"]}),E_=n=>{"use no memo";const{labelPosition:r,size:l,appearance:i}=n,{dir:s}=no(),f=__(),v=w_(),m=z_(),g=B_(),h=k_(),y=T_();return n.root.className=be(ei.root,f,(r==="above"||r==="below")&&v.vertical,n.root.className),n.spinner&&(n.spinner.className=be(ei.spinner,m,g[l],i==="inverted"&&g.inverted,n.spinner.className)),n.spinnerTail&&(n.spinnerTail.className=be(ei.spinnerTail,h,s==="rtl"&&g.rtlTail,n.spinnerTail.className)),n.label&&(n.label.className=be(ei.label,y[l],i==="inverted"&&y.inverted,n.label.className)),n},U1=A.forwardRef((n,r)=>{const l=y_(n,r);return E_(l),Ot("useSpinnerStyles_unstable")(l),S_(l)});U1.displayName="Spinner";const j_=(n,r)=>{const{wrap:l,truncate:i,block:s,italic:f,underline:v,strikethrough:m,size:g,font:h,weight:y,align:p}=n;return{align:p??"start",block:s??!1,font:h??"base",italic:f??!1,size:g??300,strikethrough:m??!1,truncate:i??!1,underline:v??!1,weight:y??"regular",wrap:l??!0,components:{root:"span"},root:st(An("span",{ref:r,...n}),{elementType:"span"})}},A_=n=>we(n.root,{}),C_={root:"fui-Text"},N_=ke({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;}"]}),D_=n=>{"use no memo";const r=N_();return n.root.className=be(C_.root,r.root,n.wrap===!1&&r.nowrap,n.truncate&&r.truncate,n.block&&r.block,n.italic&&r.italic,n.underline&&r.underline,n.strikethrough&&r.strikethrough,n.underline&&n.strikethrough&&r.strikethroughUnderline,n.size===100&&r.base100,n.size===200&&r.base200,n.size===400&&r.base400,n.size===500&&r.base500,n.size===600&&r.base600,n.size===700&&r.hero700,n.size===800&&r.hero800,n.size===900&&r.hero900,n.size===1e3&&r.hero1000,n.font==="monospace"&&r.monospace,n.font==="numeric"&&r.numeric,n.weight==="medium"&&r.weightMedium,n.weight==="semibold"&&r.weightSemibold,n.weight==="bold"&&r.weightBold,n.align==="center"&&r.alignCenter,n.align==="end"&&r.alignEnd,n.align==="justify"&&r.alignJustify,n.root.className),n},Qt=A.forwardRef((n,r)=>{const l=j_(n,r);return D_(l),Ot("useTextStyles_unstable")(l),A_(l)});Qt.displayName="Text";const R_=n=>we(n.root,{children:we(n.textarea,{})}),q_=(n,r)=>{const l=Ym();var i;const{size:s="medium",appearance:f=(i=l.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",...v}=n;return{...M_(v,r),size:s,appearance:f}},M_=(n,r)=>{n=H1(n,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:l="none",onChange:i}=n,[s,f]=js({state:n.value,defaultState:n.defaultValue,initialState:void 0}),v=Pm({props:n,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),m={resize:l,components:{root:"span",textarea:"textarea"},textarea:st(n.textarea,{defaultProps:{ref:r,...v.primary},elementType:"textarea"}),root:st(n.root,{defaultProps:v.root,elementType:"span"})};return m.textarea.value=s,m.textarea.onChange=gt(g=>{const h=g.target.value;i==null||i(g,{value:h}),f(h)}),m},rm={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},O_=ke({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);}"]}),H_=ke({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);}"]}),F_=ke({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;}"]}),U_=n=>{"use no memo";const{size:r,appearance:l,resize:i}=n,s=n.textarea.disabled,f=`${n.textarea["aria-invalid"]}`=="true",v=l.startsWith("filled"),m=O_();n.root.className=be(rm.root,m.base,s&&m.disabled,!s&&v&&m.filled,!s&&m[l],!s&&m.interactive,!s&&l==="outline"&&m.outlineInteractive,!s&&f&&m.invalid,n.root.className);const g=H_(),h=F_();return n.textarea.className=be(rm.textarea,g.base,g[r],h[i],s&&g.disabled,n.textarea.className),n},L1=A.forwardRef((n,r)=>{const l=q_(n,r);return U_(l),Ot("useTextareaStyles_unstable")(l),R_(l)});L1.displayName="Textarea";const L_=Ze("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),G_=Ze("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function P_(){const n=L_(),r=G_(),{targetDocument:l}=no(),i=A.useCallback(()=>{var f;if(!l)return;var v;Math.floor(l.body.getBoundingClientRect().height)>((v=(f=l.defaultView)===null||f===void 0?void 0:f.innerHeight)!==null&&v!==void 0?v:0)&&(l.documentElement.classList.add(n),l.body.classList.add(r))},[l,n,r]),s=A.useCallback(()=>{l&&(l.documentElement.classList.remove(n),l.body.classList.remove(r))},[l,n,r]);return{disableBodyScroll:i,enableBodyScroll:s}}function Z_(n,r){const{findFirstFocusable:l}=Tx(),{targetDocument:i}=no(),s=A.useRef(null);return A.useEffect(()=>{if(!n)return;const f=s.current&&l(s.current);if(f)f.focus();else{var v;(v=s.current)===null||v===void 0||v.focus()}},[l,n,r,i]),s}const X_={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Us=qx(void 0),V_=Us.Provider,tn=n=>Mx(Us,(r=X_)=>n(r)),Y_=A.createContext(void 0),G1=Y_.Provider,P1=A.createContext(void 0);P1.Provider;const Q_=()=>A.useContext(P1),lm=jr(Os,{outScale:.85,easing:nt.curveDecelerateMid,duration:nt.durationGentle,exitEasing:nt.curveAccelerateMin,exitDuration:nt.durationGentle}),K_=n=>{const{children:r,modalType:l="modal",onOpenChange:i,inertTrapFocus:s=!1,unmountOnClose:f=!0}=n,v=Er("dialog-title-"),[m,g]=W_(r),[h,y]=js({state:n.open,defaultState:n.defaultOpen,initialState:!1}),p=gt(O=>{i==null||i(O.event,O),O.event.isDefaultPrevented()||y(O.open)}),x=Z_(h,l),{modalAttributes:_,triggerAttributes:z}=Dx({trapFocus:l!=="non-modal",legacyTrapFocus:!s}),k=Ox(Us);return{components:{surfaceMotion:lm},inertTrapFocus:s,open:h,modalType:l,content:g,trigger:m,requestOpenChange:p,dialogTitleId:v,isNestedDialog:k,unmountOnClose:f,dialogRef:x,modalAttributes:_,triggerAttributes:z,surfaceMotion:E1(n.surfaceMotion,{elementType:lm,defaultProps:{visible:h,appear:f,unmountOnExit:f}})}};function W_(n){const r=A.Children.toArray(n);switch(r.length){case 2:return r;case 1:return[void 0,r[0]];default:return[void 0,void 0]}}const I_=(n,r)=>we(V_,{value:r.dialog,children:an(G1,{value:r.dialogSurface,children:[n.trigger,n.content&&we(n.surfaceMotion,{children:we(B1,{children:n.content})})]})});function J_(n){const{modalType:r,open:l,dialogRef:i,dialogTitleId:s,isNestedDialog:f,inertTrapFocus:v,requestOpenChange:m,modalAttributes:g,triggerAttributes:h,unmountOnClose:y}=n;return{dialog:{open:l,modalType:r,dialogRef:i,dialogTitleId:s,isNestedDialog:f,inertTrapFocus:v,modalAttributes:g,triggerAttributes:h,unmountOnClose:y,requestOpenChange:m},dialogSurface:!1}}const Z1=A.memo(n=>{const r=K_(n),l=J_(r);return I_(r,l)});Z1.displayName="Dialog";const $_=(n,r)=>{var l;return{components:{root:"div"},root:st(An((l=n.as)!==null&&l!==void 0?l:"div",{ref:r,...n}),{elementType:"div"})}},ew=n=>we(n.root,{}),tw={root:"fui-DialogBody"},ow=Ze("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;}}"]}),nw=n=>{"use no memo";const r=ow();return n.root.className=be(tw.root,r,n.root.className),n},X1=A.forwardRef((n,r)=>{const l=$_(n,r);return nw(l),Ot("useDialogBodyStyles_unstable")(l),ew(l)});X1.displayName="DialogBody";const im=C3,aw=(n,r)=>{const l=j3(),i=tn(R=>R.modalType),s=tn(R=>R.isNestedDialog),f=Q_(),v=f??s,m=tn(R=>R.modalAttributes),g=tn(R=>R.dialogRef),h=tn(R=>R.requestOpenChange),y=tn(R=>R.dialogTitleId),p=tn(R=>R.open),x=tn(R=>R.unmountOnClose),_=gt(R=>{if(Iy(n.backdrop)){var V,X;(V=(X=n.backdrop).onClick)===null||V===void 0||V.call(X,R)}i==="modal"&&!R.isDefaultPrevented()&&h({event:R,open:!1,type:"backdropClick"})}),z=gt(R=>{var V;(V=n.onKeyDown)===null||V===void 0||V.call(n,R),R.key===Hx&&!R.isDefaultPrevented()&&(h({event:R,open:!1,type:"escapeKeyDown"}),R.preventDefault())}),k=kt(n.backdrop,{renderByDefault:i!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),O=k==null?void 0:k.appearance;k&&(k.onClick=_,delete k.appearance);const{disableBodyScroll:D,enableBodyScroll:U}=P_();return uo(()=>{if(!p){U();return}if(!(s||i==="non-modal"))return D(),()=>U()},[p,i,s,D,U]),{components:{backdrop:"div",root:"div",backdropMotion:im},open:p,backdrop:k,isNestedDialog:s,treatBackdropAsNested:v,backdropAppearance:O,unmountOnClose:x,mountNode:n.mountNode,root:st(An("div",{tabIndex:-1,role:i==="alert"?"alertdialog":"dialog","aria-modal":i!=="non-modal","aria-labelledby":n["aria-label"]?void 0:y,"aria-hidden":!x&&!p?!0:void 0,...n,...m,onKeyDown:z,ref:Im(r,l,g)}),{elementType:"div"}),backdropMotion:E1(n.backdropMotion,{elementType:im,defaultProps:{appear:x,visible:p}}),transitionStatus:void 0}},rw=(n,r)=>an(q1,{mountNode:n.mountNode,children:[n.backdrop&&n.backdropMotion&&we(n.backdropMotion,{children:we(n.backdrop,{})}),we(T1,{children:we(G1,{value:r.dialogSurface,children:we(n.root,{})})})]}),um={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},lw=Ze("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;}}"]}),iw=Ze("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),uw=ke({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),cw=n=>{"use no memo";const{root:r,backdrop:l,open:i,unmountOnClose:s,treatBackdropAsNested:f,backdropAppearance:v}=n,m=lw(),g=iw(),h=uw(),y=v?v==="transparent":f,p=!s&&!i;return r.className=be(um.root,m,p&&h.dialogHidden,r.className),l&&(l.className=be(um.backdrop,g,p&&h.dialogHidden,y&&h.nestedDialogBackdrop,l.className)),n};function sw(n){return{dialogSurface:!0}}const V1=A.forwardRef((n,r)=>{const l=aw(n,r),i=sw();return cw(l),Ot("useDialogSurfaceStyles_unstable")(l),rw(l,i)});V1.displayName="DialogSurface";const fw=(n,r)=>{var l;return{components:{root:"div"},root:st(An((l=n.as)!==null&&l!==void 0?l:"div",{ref:r,...n}),{elementType:"div"})}},dw=n=>we(n.root,{}),vw={root:"fui-DialogContent"},hw=Ze("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;}}"]}),mw=n=>{"use no memo";const r=hw();return n.root.className=be(vw.root,r,n.root.className),n},Y1=A.forwardRef((n,r)=>{const l=fw(n,r);return mw(l),Ot("useDialogContentStyles_unstable")(l),dw(l)});Y1.displayName="DialogContent";const ls={displayName:"Lago",email:"jose@lago.dev"},ti=[{id:"1",from:"jose@lago.dev",fromName:"Lago",to:"lago@example.com",subject:"Sprint planning — Thursday 10:00",body:`Hola, Vamos a planificar el sprint del mes que viene el jueves a las 10:00. Necesito que reviseis los temas pendientes del backlog. Un saludo`,receivedAt:new Date(Date.now()-1e3*60*30).toISOString(),isRead:!1,folder:"inbox"},{id:"2",from:"maria@partner.com",fromName:"María García",to:"lago@example.com",subject:"RE: Presupuesto proyecto digital 2026",body:`Hola Lago, Gracias por la información. He revisado el presupuesto y parece correcto. Adjunto la propuesta final. ¿Podemos hablar mañana por teléfono? Saludos`,receivedAt:new Date(Date.now()-1e3*60*60*2).toISOString(),isRead:!1,folder:"inbox"},{id:"3",from:"devops@company.com",fromName:"DevOps Team",to:"lago@example.com",subject:"[Alert] Production deployment failed — pipeline #4821",body:`Pipeline #4821 failed at stage: build Error: npm ERR! code ETARGET npm ERR! notarget No valid target for react@19.0.1 View logs: https://devops.company.com/pipelines/4821`,receivedAt:new Date(Date.now()-1e3*60*60*5).toISOString(),isRead:!0,folder:"inbox"},{id:"4",from:"lago@example.com",fromName:"Lago",to:"equipo@company.com",subject:"Resumen semanal — Power Platform",body:`Equipo, Aquí va el resumen de lo hecho esta semana: • Demo de code apps publicada en el blog • Connector de Outlook integrado • Migración del backlog a Dataverse completada Para la semana que viene: • Terminar la integración con Teams • Revisar los permisos de producción Saludos`,receivedAt:new Date(Date.now()-1e3*60*60*24).toISOString(),isRead:!0,folder:"sent"},{id:"5",from:"newsletter@techweekly.com",fromName:"Tech Weekly",to:"lago@example.com",subject:"This Week in AI & Power Platform — Issue #47",body:`Top stories this week: 1. Microsoft announces GPT-5 integration for Copilot Studio 2. Power Apps code apps reach 1,400+ connectors milestone 3. Dataverse 2026 Wave 1 features now generally available Read more inside...`,receivedAt:new Date(Date.now()-1e3*60*60*48).toISOString(),isRead:!0,folder:"inbox"},{id:"6",from:"noreply@linkedin.com",fromName:"LinkedIn",to:"lago@example.com",subject:"5 people viewed your profile this week",body:`Your profile got noticed! 5 people in Austria viewed your profile in the past week, including recruiters and hiring managers. View who they are →`,receivedAt:new Date(Date.now()-1e3*60*60*72).toISOString(),isRead:!0,folder:"inbox"},{id:"7",from:"lago@example.com",fromName:"Lago",to:"draft",subject:"Borrador: Propuesta reunión trimestral",body:"Borrador de la propuesta para la reunión trimestral con dirección...",receivedAt:new Date(Date.now()-1e3*60*60*6).toISOString(),isRead:!0,folder:"drafts"}];class gw{delay(r){return new Promise(l=>setTimeout(l,r))}async getProfile(){return await this.delay(300),ls}async getMessages(r="inbox"){return await this.delay(600),ti.filter(l=>l.folder===r)}async getMessage(r){return await this.delay(200),ti.find(l=>l.id===r)}async sendMessage(r){await this.delay(800);const l={id:Date.now().toString(),from:ls.email,fromName:ls.displayName,to:r.to||"",subject:r.subject||"(Sin asunto)",body:r.body||"",receivedAt:new Date().toISOString(),isRead:!0,folder:"sent"};return ti.push(l),l}async markAsRead(r){await this.delay(100);const l=ti.find(i=>i.id===r);l&&(l.isRead=!0)}}const is=new gw,Q1=Qy({appShell:{display:"flex",height:"100vh",width:"100vw",overflow:"hidden"},navRail:{width:"64px",backgroundColor:ae.colorNeutralBackground2,display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",gap:"8px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,flexShrink:0},navIcon:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"8px",cursor:"pointer",color:ae.colorNeutralForeground2,transition:"all 150ms ease",border:"none",background:"transparent",fontSize:"0"},navIconActive:{backgroundColor:ae.colorBrandBackground,color:ae.colorNeutralForegroundInverted},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 16px",borderBottom:`1px solid ${ae.colorNeutralStroke2}`,backgroundColor:ae.colorNeutralBackground2,flexShrink:0},toolbarSpacer:{flex:1},contentArea:{flex:1,display:"flex",overflow:"hidden"},folderPanel:{width:"220px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,backgroundColor:ae.colorNeutralBackground2,overflowY:"auto",padding:"8px 0",flexShrink:0},folderItem:{display:"flex",alignItems:"center",gap:"10px",padding:"8px 16px",cursor:"pointer",fontSize:"14px",color:ae.colorNeutralForeground2,transition:"all 100ms",border:"none",background:"transparent",width:"100%",textAlign:"left",borderRadius:"0"},folderItemActive:{backgroundColor:ae.colorBrandBackground2,color:ae.colorBrandForeground1,borderRight:`3px solid ${ae.colorBrandForeground1}`},folderBadge:{marginLeft:"auto"},emailListPanel:{width:"340px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,overflowY:"auto",flexShrink:0,backgroundColor:ae.colorNeutralBackground1},emailItem:{padding:"12px 16px",borderBottom:`1px solid ${ae.colorNeutralStroke2}`,cursor:"pointer",transition:"background 100ms",backgroundColor:ae.colorNeutralBackground1},emailItemUnread:{borderLeft:`3px solid ${ae.colorBrandForeground1}`},emailItemSelected:{backgroundColor:ae.colorBrandBackground2},emailFrom:{fontSize:"14px",fontWeight:"600",color:ae.colorNeutralForeground1,display:"flex",alignItems:"center",gap:"6px"},emailSubject:{fontSize:"13px",color:ae.colorNeutralForeground1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"2px"},emailPreview:{fontSize:"12px",color:ae.colorNeutralForeground3,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"2px"},emailTime:{fontSize:"11px",color:ae.colorNeutralForeground3,marginLeft:"auto",flexShrink:0},detailPanel:{flex:1,overflowY:"auto",padding:"24px 32px",backgroundColor:ae.colorNeutralBackground1},detailHeader:{display:"flex",gap:"14px",alignItems:"flex-start",marginBottom:"20px"},detailMeta:{flex:1},detailSubject:{fontSize:"18px",fontWeight:"700",color:ae.colorNeutralForeground1,marginTop:"4px"},detailBody:{fontSize:"14px",lineHeight:"1.7",color:ae.colorNeutralForeground1,whiteSpace:"pre-wrap",marginTop:"16px"},detailActions:{display:"flex",gap:"8px",marginTop:"24px"},emptyState:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"12px",color:ae.colorNeutralForeground3,backgroundColor:ae.colorNeutralBackground1},composeField:{display:"flex",flexDirection:"column",gap:"4px",padding:"8px 0"},composeFooter:{display:"flex",gap:"8px",paddingTop:"16px"},connectionsPanel:{flex:1,overflowY:"auto",padding:"32px",backgroundColor:ae.colorNeutralBackground1},connCard:{backgroundColor:ae.colorNeutralBackground2,border:`1px solid ${ae.colorNeutralStroke2}`,borderRadius:"8px",padding:"16px",transition:"all 150ms"},connCode:{background:"#1a1a2e",borderRadius:"6px",padding:"16px 20px",fontFamily:"monospace",fontSize:"13px",color:"#a0a0b0",lineHeight:1.8}}),cm=[{id:"inbox",name:"Bandeja de entrada",icon:"📥",unreadCount:4},{id:"sent",name:"Enviados",icon:"📤",unreadCount:0},{id:"drafts",name:"Borradores",icon:"📝",unreadCount:1},{id:"trash",name:"Papelera",icon:"🗑️",unreadCount:0}];function bw(n){const r=new Date(n),i=new Date().getTime()-r.getTime(),s=Math.floor(i/6e4);if(s<1)return"Ahora";if(s<60)return`${s}m`;const f=Math.floor(s/60);return f<24?`${f}h`:r.toLocaleDateString("es-ES",{day:"numeric",month:"short"})}function sm(n){return n.split(" ").map(r=>r[0]).slice(0,2).join("").toUpperCase()}function fm(n){const r=["#D83B01","#A43751","#498205","#008272","#005CC5","#5C2D91","#004078","#B4009E"];let l=0;for(let i=0;i{y(!0);try{const W=await is.getMessages(i);v(W),g(null)}finally{y(!1)}},[i]);A.useEffect(()=>{r==="mail"&&G()},[r,i,G]);const le=async W=>{g(W),W.isRead||(await is.markAsRead(W.id),v(pe=>pe.map(at=>at.id===W.id?{...at,isRead:!0}:at)))},Xe=async()=>{if(!(!k||!D)){Y(!0);try{await is.sendMessage({to:k,subject:D,body:R}),z(!1),O(""),U(""),V("")}finally{Y(!1)}}},Ue=f.filter(W=>W.subject.toLowerCase().includes(p.toLowerCase())||W.fromName.toLowerCase().includes(p.toLowerCase())),et=cm.find(W=>W.id===i);return H.jsxs("div",{className:n.appShell,children:[H.jsxs("div",{className:n.navRail,children:[H.jsx("button",{className:`${n.navIcon} ${r==="mail"?n.navIconActive:""}`,onClick:()=>l("mail"),title:"Correo",children:H.jsx(Eh,{fontSize:20})}),H.jsx("button",{className:`${n.navIcon} ${r==="connections"?n.navIconActive:""}`,onClick:()=>l("connections"),title:"Conexiones",children:H.jsx(m3,{fontSize:20})}),H.jsx("div",{style:{flex:1}}),H.jsx("button",{className:n.navIcon,onClick:()=>z(!0),title:"Redactar",children:H.jsx(as,{fontSize:20})})]}),H.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden"},children:[H.jsxs("div",{className:n.toolbar,children:[H.jsx(Bn,{appearance:"primary",icon:H.jsx(as,{}),onClick:()=>z(!0),children:"Redactar"}),H.jsx(Bn,{appearance:"subtle",icon:H.jsx(Qx,{}),onClick:G,children:"Recargar"}),H.jsxs("div",{style:{flex:1,position:"relative"},children:[H.jsx(Yx,{style:{position:"absolute",left:10,top:10,color:ae.colorNeutralForeground3,pointerEvents:"none"}}),H.jsx(ii,{placeholder:"Buscar correos...",value:p,onChange:(W,pe)=>x(pe.value),style:{width:"100%",paddingLeft:"32px"}})]})]}),H.jsx("div",{className:n.contentArea,children:r==="mail"?H.jsxs(H.Fragment,{children:[H.jsx("div",{className:n.folderPanel,children:cm.map(W=>H.jsxs("button",{className:`${n.folderItem} ${i===W.id?n.folderItemActive:""}`,onClick:()=>s(W.id),children:[H.jsx("span",{style:{fontSize:"16px"},children:W.id==="inbox"?H.jsx(Vx,{fontSize:16}):W.id==="sent"?H.jsx(Jl,{fontSize:16}):W.id==="drafts"?H.jsx(as,{fontSize:16}):"🗑️"}),H.jsx("span",{children:W.name}),W.unreadCount>0&&H.jsx(Hs,{className:n.folderBadge,appearance:"filled",color:"brand",size:"small",children:W.unreadCount})]},W.id))}),H.jsx("div",{className:n.emailListPanel,children:h?H.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"40px"},children:H.jsx(U1,{})}):Ue.length===0?H.jsxs("div",{className:n.emptyState,children:[H.jsx(Eh,{fontSize:40,style:{opacity:.4}}),H.jsxs(Qt,{children:["No hay correos en ",et.name]})]}):Ue.map(W=>H.jsxs("div",{className:`${n.emailItem} ${W.isRead?"":n.emailItemUnread} ${(m==null?void 0:m.id)===W.id?n.emailItemSelected:""}`,onClick:()=>le(W),children:[H.jsxs("div",{className:n.emailFrom,children:[H.jsx(ys,{name:W.fromName,initials:sm(W.fromName),size:28,badge:W.isRead?void 0:{status:"available"},style:{backgroundColor:fm(W.fromName)}}),H.jsx("span",{children:W.fromName}),H.jsx("span",{className:n.emailTime,children:bw(W.receivedAt)})]}),H.jsx("div",{className:n.emailSubject,children:W.subject}),H.jsxs("div",{className:n.emailPreview,children:[W.body.substring(0,60),"…"]})]},W.id))}),m?H.jsxs("div",{className:n.detailPanel,children:[H.jsxs("div",{className:n.detailHeader,children:[H.jsx(ys,{name:m.fromName,initials:sm(m.fromName),size:40,style:{backgroundColor:fm(m.fromName)}}),H.jsxs("div",{className:n.detailMeta,children:[H.jsx(Qt,{weight:"semibold",size:300,children:m.fromName}),H.jsx(Qt,{className:n.detailSubject,children:m.subject}),H.jsx(Qt,{size:200,style:{color:ae.colorNeutralForeground3,marginTop:"2px"},children:new Date(m.receivedAt).toLocaleString("es-ES",{day:"numeric",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"})})]})]}),H.jsx(Fs,{}),H.jsx("div",{className:n.detailBody,children:m.body}),H.jsxs("div",{className:n.detailActions,children:[H.jsx(Bn,{appearance:"primary",icon:H.jsx(Jl,{}),onClick:()=>{O(m.from),U("Re: "+m.subject),z(!0)},children:"Responder"}),H.jsx(Bn,{appearance:"subtle",icon:H.jsx(Jl,{}),onClick:()=>{O(m.from),U(m.subject),z(!0)},children:"Reenviar"})]})]}):H.jsxs("div",{className:n.emptyState,children:[H.jsx(Xx,{fontSize:48,style:{opacity:.25,color:ae.colorNeutralForeground3}}),H.jsx(Qt,{size:400,style:{opacity:.5},children:"Selecciona un correo para leerlo"})]})]}):H.jsx(yw,{})})]}),H.jsx(Z1,{open:_,onOpenChange:(W,pe)=>z(pe.open),children:H.jsx(V1,{children:H.jsx(X1,{children:H.jsxs(Y1,{children:[H.jsxs("div",{style:{padding:"8px 0",display:"flex",flexDirection:"column",gap:"4px"},children:[H.jsxs("div",{className:n.composeField,children:[H.jsx(pa,{htmlFor:"compose-to",children:"Para"}),H.jsx(ii,{id:"compose-to",placeholder:"destinatario@ejemplo.com",value:k,onChange:(W,pe)=>O(pe.value)})]}),H.jsxs("div",{className:n.composeField,children:[H.jsx(pa,{htmlFor:"compose-subject",children:"Asunto"}),H.jsx(ii,{id:"compose-subject",placeholder:"Asunto del mensaje",value:D,onChange:(W,pe)=>U(pe.value)})]}),H.jsxs("div",{className:n.composeField,children:[H.jsx(pa,{htmlFor:"compose-body",children:"Mensaje"}),H.jsx(L1,{id:"compose-body",placeholder:"Escribe tu mensaje aquí...",value:R,onChange:(W,pe)=>V(pe.value),style:{minHeight:"160px"}})]})]}),H.jsxs("div",{className:n.composeFooter,children:[H.jsx(Bn,{appearance:"primary",icon:H.jsx(Jl,{}),onClick:Xe,disabled:X||!k||!D,children:X?"Enviando…":"Enviar"}),H.jsx(Bn,{appearance:"subtle",onClick:()=>z(!1),children:"Descartar"})]})]})})})})]})}function yw(){const n=Q1(),r=[{id:"1",name:"shared_outlook",displayName:"Outlook",connector:"Microsoft Outlook",status:"connected",color:"#0078D4"},{id:"2",name:"shared_office365",displayName:"Office 365 Users",connector:"Office 365 Users",status:"connected",color:"#D83B01"},{id:"3",name:"shared_dataverse",displayName:"Dataverse",connector:"Microsoft Dataverse",status:"connected",color:"#7719BA"},{id:"4",name:"shared_azuresql",displayName:"Azure SQL",connector:"Azure SQL Database",status:"disconnected",color:"#0078D4"}];return H.jsxs("div",{className:n.connectionsPanel,children:[H.jsx(Qt,{size:600,style:{marginBottom:"4px",display:"block",fontWeight:"700"},children:"Connection references"}),H.jsx(Qt,{size:300,style:{color:ae.colorNeutralForeground3,marginBottom:"24px",display:"block"},children:"Connection references are solution components that point to specific connections. Bind your code app to a reference instead of a direct connection to enable environment promotion."}),H.jsx("div",{style:{background:ae.colorNeutralBackground2,border:`1px solid ${ae.colorNeutralStroke2}`,borderRadius:"8px",padding:"20px 24px",marginBottom:"24px",display:"flex",alignItems:"center",gap:"12px",flexWrap:"wrap"},children:[{label:"Tu Code App",bg:ae.colorBrandBackground,color:ae.colorBrandForeground1},{label:"PAC Client",bg:ae.colorNeutralBackground4,color:ae.colorNeutralForeground1},{label:"Connection Ref",bg:ae.colorNeutralBackground4,color:ae.colorNeutralForeground1},{label:"Connection",bg:ae.colorNeutralBackground4,color:ae.colorNeutralForeground1},{label:"Outlook / Dataverse",bg:"#7719BA",color:"#fff"}].map((l,i)=>H.jsxs(_s.Fragment,{children:[H.jsx("div",{style:{background:l.bg,color:l.color,padding:"8px 14px",borderRadius:"6px",fontSize:"13px",fontWeight:"600",whiteSpace:"nowrap"},children:l.label}),i<4&&H.jsx("div",{style:{color:ae.colorNeutralForeground3,fontSize:"16px"},children:"→"})]},i))}),H.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(280px, 1fr))",gap:"12px",marginBottom:"32px"},children:r.map(l=>H.jsxs("div",{style:{background:ae.colorNeutralBackground2,border:`1px solid ${ae.colorNeutralStroke2}`,borderRadius:"8px",padding:"16px",opacity:l.status==="connected"?1:.55},children:[H.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",marginBottom:"8px"},children:[H.jsx("div",{style:{width:"36px",height:"36px",borderRadius:"6px",background:l.color,display:"flex",alignItems:"center",justifyContent:"center",color:"white",fontSize:"16px",fontWeight:"700"},children:l.displayName[0]}),H.jsxs("div",{style:{flex:1},children:[H.jsx(Qt,{weight:"semibold",size:300,children:l.displayName}),H.jsx(Qt,{size:200,style:{color:ae.colorNeutralForeground3},children:l.connector})]}),H.jsx(Hs,{appearance:"filled",color:l.status==="connected"?"success":"danger",size:"small",children:l.status==="connected"?"Conectado":"Desconectado"})]}),H.jsx(Qt,{size:200,style:{color:ae.colorNeutralForeground3,fontFamily:"monospace"},children:l.name})]},l.id))}),H.jsx(Fs,{style:{margin:"0 0 24px"}}),H.jsx(Qt,{size:400,style:{marginBottom:"12px",display:"block",fontWeight:"600"},children:"PAC CLI commands"}),H.jsxs("div",{className:n.connCode,children:[H.jsx("div",{children:H.jsx("span",{style:{color:"#6b9fff"},children:"# Listar conexiones disponibles"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0"},children:"pac connection list"})}),H.jsx("br",{}),H.jsx("div",{children:H.jsx("span",{style:{color:"#6b9fff"},children:"# Añadir Outlook como data source"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0"},children:"pac code add-data-source -a shared_outlook ^"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0",paddingLeft:"24px"},children:"-c aaaaaaaa-0000-1111-bbbb-cccccccccccc"})}),H.jsx("br",{}),H.jsx("div",{children:H.jsx("span",{style:{color:"#6b9fff"},children:"# Añadir Dataverse (tabular)"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0"},children:"pac code add-data-source -a shared_dataverse ^"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0",paddingLeft:"24px"},children:"-c bbbbbbbb-2222-3333-cccc-dddddddddddd ^"})}),H.jsx("div",{children:H.jsx("span",{style:{color:"#e0e0e0",paddingLeft:"24px"},children:"-t accounts -d default"})})]})]})}Ep.createRoot(document.getElementById("root")).render(H.jsx(_s.StrictMode,{children:H.jsx(pw,{})}));