@freik/pedroviz 0.1.3 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,156 @@
1
+ "use strict";var fT=Object.create;var A9=Object.defineProperty;var hT=Object.getOwnPropertyDescriptor;var mT=Object.getOwnPropertyNames;var pT=Object.getPrototypeOf,vT=Object.prototype.hasOwnProperty;var b2=(e,a)=>()=>{try{return a||e((a={exports:{}}).exports,a),a.exports}catch(t){throw a=0,t}},gT=(e,a)=>{for(var t in a)A9(e,t,{get:a[t],enumerable:!0})},xT=(e,a,t,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of mT(a))!vT.call(e,l)&&l!==t&&A9(e,l,{get:()=>a[l],enumerable:!(o=hT(a,l))||o.enumerable});return e};var C=(e,a,t)=>(t=e!=null?fT(pT(e)):{},xT(a||!e||!e.__esModule?A9(t,"default",{value:e,enumerable:!0}):t,e));var Db=b2(r1=>{"use strict";var S9=Symbol.for("react.transitional.element"),bT=Symbol.for("react.portal"),MT=Symbol.for("react.fragment"),_T=Symbol.for("react.strict_mode"),zT=Symbol.for("react.profiler"),AT=Symbol.for("react.consumer"),CT=Symbol.for("react.context"),yT=Symbol.for("react.forward_ref"),ST=Symbol.for("react.suspense"),RT=Symbol.for("react.memo"),qb=Symbol.for("react.lazy"),HT=Symbol.for("react.activity"),Rb=Symbol.iterator;function FT(e){return e===null||typeof e!="object"?null:(e=Rb&&e[Rb]||e["@@iterator"],typeof e=="function"?e:null)}var Lb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wb=Object.assign,kb={};function ql(e,a,t){this.props=e,this.context=a,this.refs=kb,this.updater=t||Lb}ql.prototype.isReactComponent={};ql.prototype.setState=function(e,a){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,a,"setState")};ql.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Tb(){}Tb.prototype=ql.prototype;function R9(e,a,t){this.props=e,this.context=a,this.refs=kb,this.updater=t||Lb}var H9=R9.prototype=new Tb;H9.constructor=R9;wb(H9,ql.prototype);H9.isPureReactComponent=!0;var Hb=Array.isArray;function y9(){}var Z1={H:null,A:null,T:null,S:null},Bb=Object.prototype.hasOwnProperty;function F9(e,a,t){var o=t.ref;return{$$typeof:S9,type:e,key:a,ref:o!==void 0?o:null,props:t}}function VT(e,a){return F9(e.type,a,e.props)}function V9(e){return typeof e=="object"&&e!==null&&e.$$typeof===S9}function qT(e){var a={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return a[t]})}var Fb=/\/+/g;function C9(e,a){return typeof e=="object"&&e!==null&&e.key!=null?qT(""+e.key):a.toString(36)}function LT(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(y9,y9):(e.status="pending",e.then(function(a){e.status==="pending"&&(e.status="fulfilled",e.value=a)},function(a){e.status==="pending"&&(e.status="rejected",e.reason=a)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Vl(e,a,t,o,l){var r=typeof e;(r==="undefined"||r==="boolean")&&(e=null);var n=!1;if(e===null)n=!0;else switch(r){case"bigint":case"string":case"number":n=!0;break;case"object":switch(e.$$typeof){case S9:case bT:n=!0;break;case qb:return n=e._init,Vl(n(e._payload),a,t,o,l)}}if(n)return l=l(e),n=o===""?"."+C9(e,0):o,Hb(l)?(t="",n!=null&&(t=n.replace(Fb,"$&/")+"/"),Vl(l,a,t,"",function(s){return s})):l!=null&&(V9(l)&&(l=VT(l,t+(l.key==null||e&&e.key===l.key?"":(""+l.key).replace(Fb,"$&/")+"/")+n)),a.push(l)),1;n=0;var i=o===""?".":o+":";if(Hb(e))for(var c=0;c<e.length;c++)o=e[c],r=i+C9(o,c),n+=Vl(o,a,t,r,l);else if(c=FT(e),typeof c=="function")for(e=c.call(e),c=0;!(o=e.next()).done;)o=o.value,r=i+C9(o,c++),n+=Vl(o,a,t,r,l);else if(r==="object"){if(typeof e.then=="function")return Vl(LT(e),a,t,o,l);throw a=String(e),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return n}function Hi(e,a,t){if(e==null)return e;var o=[],l=0;return Vl(e,o,"","",function(r){return a.call(t,r,l++)}),o}function wT(e){if(e._status===-1){var a=e._result;a=a(),a.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=a)}if(e._status===1)return e._result.default;throw e._result}var Vb=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},kT={map:Hi,forEach:function(e,a,t){Hi(e,function(){a.apply(this,arguments)},t)},count:function(e){var a=0;return Hi(e,function(){a++}),a},toArray:function(e){return Hi(e,function(a){return a})||[]},only:function(e){if(!V9(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};r1.Activity=HT;r1.Children=kT;r1.Component=ql;r1.Fragment=MT;r1.Profiler=zT;r1.PureComponent=R9;r1.StrictMode=_T;r1.Suspense=ST;r1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z1;r1.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Z1.H.useMemoCache(e)}};r1.cache=function(e){return function(){return e.apply(null,arguments)}};r1.cacheSignal=function(){return null};r1.cloneElement=function(e,a,t){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=wb({},e.props),l=e.key;if(a!=null)for(r in a.key!==void 0&&(l=""+a.key),a)!Bb.call(a,r)||r==="key"||r==="__self"||r==="__source"||r==="ref"&&a.ref===void 0||(o[r]=a[r]);var r=arguments.length-2;if(r===1)o.children=t;else if(1<r){for(var n=Array(r),i=0;i<r;i++)n[i]=arguments[i+2];o.children=n}return F9(e.type,l,o)};r1.createContext=function(e){return e={$$typeof:CT,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:AT,_context:e},e};r1.createElement=function(e,a,t){var o,l={},r=null;if(a!=null)for(o in a.key!==void 0&&(r=""+a.key),a)Bb.call(a,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(l[o]=a[o]);var n=arguments.length-2;if(n===1)l.children=t;else if(1<n){for(var i=Array(n),c=0;c<n;c++)i[c]=arguments[c+2];l.children=i}if(e&&e.defaultProps)for(o in n=e.defaultProps,n)l[o]===void 0&&(l[o]=n[o]);return F9(e,r,l)};r1.createRef=function(){return{current:null}};r1.forwardRef=function(e){return{$$typeof:yT,render:e}};r1.isValidElement=V9;r1.lazy=function(e){return{$$typeof:qb,_payload:{_status:-1,_result:e},_init:wT}};r1.memo=function(e,a){return{$$typeof:RT,type:e,compare:a===void 0?null:a}};r1.startTransition=function(e){var a=Z1.T,t={};Z1.T=t;try{var o=e(),l=Z1.S;l!==null&&l(t,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(y9,Vb)}catch(r){Vb(r)}finally{a!==null&&t.types!==null&&(a.types=t.types),Z1.T=a}};r1.unstable_useCacheRefresh=function(){return Z1.H.useCacheRefresh()};r1.use=function(e){return Z1.H.use(e)};r1.useActionState=function(e,a,t){return Z1.H.useActionState(e,a,t)};r1.useCallback=function(e,a){return Z1.H.useCallback(e,a)};r1.useContext=function(e){return Z1.H.useContext(e)};r1.useDebugValue=function(){};r1.useDeferredValue=function(e,a){return Z1.H.useDeferredValue(e,a)};r1.useEffect=function(e,a){return Z1.H.useEffect(e,a)};r1.useEffectEvent=function(e){return Z1.H.useEffectEvent(e)};r1.useId=function(){return Z1.H.useId()};r1.useImperativeHandle=function(e,a,t){return Z1.H.useImperativeHandle(e,a,t)};r1.useInsertionEffect=function(e,a){return Z1.H.useInsertionEffect(e,a)};r1.useLayoutEffect=function(e,a){return Z1.H.useLayoutEffect(e,a)};r1.useMemo=function(e,a){return Z1.H.useMemo(e,a)};r1.useOptimistic=function(e,a){return Z1.H.useOptimistic(e,a)};r1.useReducer=function(e,a,t){return Z1.H.useReducer(e,a,t)};r1.useRef=function(e){return Z1.H.useRef(e)};r1.useState=function(e){return Z1.H.useState(e)};r1.useSyncExternalStore=function(e,a,t){return Z1.H.useSyncExternalStore(e,a,t)};r1.useTransition=function(){return Z1.H.useTransition()};r1.version="19.2.8"});var y=b2((KY,Pb)=>{"use strict";Pb.exports=Db()});var Kb=b2(o0=>{"use strict";function k9(e,a){var t=e.length;e.push(a);e:for(;0<t;){var o=t-1>>>1,l=e[o];if(0<Fi(l,a))e[o]=a,e[t]=l,t=o;else break e}}function ue(e){return e.length===0?null:e[0]}function qi(e){if(e.length===0)return null;var a=e[0],t=e.pop();if(t!==a){e[0]=t;e:for(var o=0,l=e.length,r=l>>>1;o<r;){var n=2*(o+1)-1,i=e[n],c=n+1,s=e[c];if(0>Fi(i,t))c<l&&0>Fi(s,i)?(e[o]=s,e[c]=t,o=c):(e[o]=i,e[n]=t,o=n);else if(c<l&&0>Fi(s,t))e[o]=s,e[c]=t,o=c;else break e}}return a}function Fi(e,a){var t=e.sortIndex-a.sortIndex;return t!==0?t:e.id-a.id}o0.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Nb=performance,o0.unstable_now=function(){return Nb.now()}):(q9=Date,Ob=q9.now(),o0.unstable_now=function(){return q9.now()-Ob});var Nb,q9,Ob,je=[],Na=[],TT=1,M2=null,l5=3,T9=!1,T7=!1,B7=!1,B9=!1,Ub=typeof setTimeout=="function"?setTimeout:null,jb=typeof clearTimeout=="function"?clearTimeout:null,Eb=typeof setImmediate<"u"?setImmediate:null;function Vi(e){for(var a=ue(Na);a!==null;){if(a.callback===null)qi(Na);else if(a.startTime<=e)qi(Na),a.sortIndex=a.expirationTime,k9(je,a);else break;a=ue(Na)}}function D9(e){if(B7=!1,Vi(e),!T7)if(ue(je)!==null)T7=!0,wl||(wl=!0,Ll());else{var a=ue(Na);a!==null&&P9(D9,a.startTime-e)}}var wl=!1,D7=-1,Gb=5,Wb=-1;function Qb(){return B9?!0:!(o0.unstable_now()-Wb<Gb)}function L9(){if(B9=!1,wl){var e=o0.unstable_now();Wb=e;var a=!0;try{e:{T7=!1,B7&&(B7=!1,jb(D7),D7=-1),T9=!0;var t=l5;try{a:{for(Vi(e),M2=ue(je);M2!==null&&!(M2.expirationTime>e&&Qb());){var o=M2.callback;if(typeof o=="function"){M2.callback=null,l5=M2.priorityLevel;var l=o(M2.expirationTime<=e);if(e=o0.unstable_now(),typeof l=="function"){M2.callback=l,Vi(e),a=!0;break a}M2===ue(je)&&qi(je),Vi(e)}else qi(je);M2=ue(je)}if(M2!==null)a=!0;else{var r=ue(Na);r!==null&&P9(D9,r.startTime-e),a=!1}}break e}finally{M2=null,l5=t,T9=!1}a=void 0}}finally{a?Ll():wl=!1}}}var Ll;typeof Eb=="function"?Ll=function(){Eb(L9)}:typeof MessageChannel<"u"?(w9=new MessageChannel,Ib=w9.port2,w9.port1.onmessage=L9,Ll=function(){Ib.postMessage(null)}):Ll=function(){Ub(L9,0)};var w9,Ib;function P9(e,a){D7=Ub(function(){e(o0.unstable_now())},a)}o0.unstable_IdlePriority=5;o0.unstable_ImmediatePriority=1;o0.unstable_LowPriority=4;o0.unstable_NormalPriority=3;o0.unstable_Profiling=null;o0.unstable_UserBlockingPriority=2;o0.unstable_cancelCallback=function(e){e.callback=null};o0.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Gb=0<e?Math.floor(1e3/e):5};o0.unstable_getCurrentPriorityLevel=function(){return l5};o0.unstable_next=function(e){switch(l5){case 1:case 2:case 3:var a=3;break;default:a=l5}var t=l5;l5=a;try{return e()}finally{l5=t}};o0.unstable_requestPaint=function(){B9=!0};o0.unstable_runWithPriority=function(e,a){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=l5;l5=e;try{return a()}finally{l5=t}};o0.unstable_scheduleCallback=function(e,a,t){var o=o0.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?o+t:o):t=o,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=t+l,e={id:TT++,callback:a,priorityLevel:e,startTime:t,expirationTime:l,sortIndex:-1},t>o?(e.sortIndex=t,k9(Na,e),ue(je)===null&&e===ue(Na)&&(B7?(jb(D7),D7=-1):B7=!0,P9(D9,t-o))):(e.sortIndex=l,k9(je,e),T7||T9||(T7=!0,wl||(wl=!0,Ll()))),e};o0.unstable_shouldYield=Qb;o0.unstable_wrapCallback=function(e){var a=l5;return function(){var t=l5;l5=a;try{return e.apply(this,arguments)}finally{l5=t}}}});var N9=b2((YY,Xb)=>{"use strict";Xb.exports=Kb()});var Zb=b2(m5=>{"use strict";var BT=y();function Yb(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)a+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Oa(){}var h5={d:{f:Oa,r:function(){throw Error(Yb(522))},D:Oa,C:Oa,L:Oa,m:Oa,X:Oa,S:Oa,M:Oa},p:0,findDOMNode:null},DT=Symbol.for("react.portal");function PT(e,a,t){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:DT,key:o==null?null:""+o,children:e,containerInfo:a,implementation:t}}var P7=BT.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Li(e,a){if(e==="font")return"";if(typeof a=="string")return a==="use-credentials"?a:""}m5.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=h5;m5.createPortal=function(e,a){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)throw Error(Yb(299));return PT(e,a,null,t)};m5.flushSync=function(e){var a=P7.T,t=h5.p;try{if(P7.T=null,h5.p=2,e)return e()}finally{P7.T=a,h5.p=t,h5.d.f()}};m5.preconnect=function(e,a){typeof e=="string"&&(a?(a=a.crossOrigin,a=typeof a=="string"?a==="use-credentials"?a:"":void 0):a=null,h5.d.C(e,a))};m5.prefetchDNS=function(e){typeof e=="string"&&h5.d.D(e)};m5.preinit=function(e,a){if(typeof e=="string"&&a&&typeof a.as=="string"){var t=a.as,o=Li(t,a.crossOrigin),l=typeof a.integrity=="string"?a.integrity:void 0,r=typeof a.fetchPriority=="string"?a.fetchPriority:void 0;t==="style"?h5.d.S(e,typeof a.precedence=="string"?a.precedence:void 0,{crossOrigin:o,integrity:l,fetchPriority:r}):t==="script"&&h5.d.X(e,{crossOrigin:o,integrity:l,fetchPriority:r,nonce:typeof a.nonce=="string"?a.nonce:void 0})}};m5.preinitModule=function(e,a){if(typeof e=="string")if(typeof a=="object"&&a!==null){if(a.as==null||a.as==="script"){var t=Li(a.as,a.crossOrigin);h5.d.M(e,{crossOrigin:t,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0})}}else a==null&&h5.d.M(e)};m5.preload=function(e,a){if(typeof e=="string"&&typeof a=="object"&&a!==null&&typeof a.as=="string"){var t=a.as,o=Li(t,a.crossOrigin);h5.d.L(e,t,{crossOrigin:o,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,type:typeof a.type=="string"?a.type:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0,referrerPolicy:typeof a.referrerPolicy=="string"?a.referrerPolicy:void 0,imageSrcSet:typeof a.imageSrcSet=="string"?a.imageSrcSet:void 0,imageSizes:typeof a.imageSizes=="string"?a.imageSizes:void 0,media:typeof a.media=="string"?a.media:void 0})}};m5.preloadModule=function(e,a){if(typeof e=="string")if(a){var t=Li(a.as,a.crossOrigin);h5.d.m(e,{as:typeof a.as=="string"&&a.as!=="script"?a.as:void 0,crossOrigin:t,integrity:typeof a.integrity=="string"?a.integrity:void 0})}else h5.d.m(e)};m5.requestFormReset=function(e){h5.d.r(e)};m5.unstable_batchedUpdates=function(e,a){return e(a)};m5.useFormState=function(e,a,t){return P7.H.useFormState(e,a,t)};m5.useFormStatus=function(){return P7.H.useHostTransitionStatus()};m5.version="19.2.8"});var wi=b2((JY,$b)=>{"use strict";function Jb(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jb)}catch(e){console.error(e)}}Jb(),$b.exports=Zb()});var dC=b2(ls=>{"use strict";var F0=N9(),y_=y(),NT=wi();function D(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)a+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function S_(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function C3(e){var a=e,t=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(t=a.return),e=a.return;while(e)}return a.tag===3?t:null}function R_(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function H_(e){if(e.tag===31){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function eM(e){if(C3(e)!==e)throw Error(D(188))}function OT(e){var a=e.alternate;if(!a){if(a=C3(e),a===null)throw Error(D(188));return a!==e?null:e}for(var t=e,o=a;;){var l=t.return;if(l===null)break;var r=l.alternate;if(r===null){if(o=l.return,o!==null){t=o;continue}break}if(l.child===r.child){for(r=l.child;r;){if(r===t)return eM(l),e;if(r===o)return eM(l),a;r=r.sibling}throw Error(D(188))}if(t.return!==o.return)t=l,o=r;else{for(var n=!1,i=l.child;i;){if(i===t){n=!0,t=l,o=r;break}if(i===o){n=!0,o=l,t=r;break}i=i.sibling}if(!n){for(i=r.child;i;){if(i===t){n=!0,t=r,o=l;break}if(i===o){n=!0,o=r,t=l;break}i=i.sibling}if(!n)throw Error(D(189))}}if(t.alternate!==o)throw Error(D(190))}if(t.tag!==3)throw Error(D(188));return t.stateNode.current===t?e:a}function F_(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=F_(e),a!==null)return a;e=e.sibling}return null}var e0=Object.assign,ET=Symbol.for("react.element"),ki=Symbol.for("react.transitional.element"),W7=Symbol.for("react.portal"),Nl=Symbol.for("react.fragment"),V_=Symbol.for("react.strict_mode"),Mf=Symbol.for("react.profiler"),q_=Symbol.for("react.consumer"),Je=Symbol.for("react.context"),ph=Symbol.for("react.forward_ref"),_f=Symbol.for("react.suspense"),zf=Symbol.for("react.suspense_list"),vh=Symbol.for("react.memo"),Ea=Symbol.for("react.lazy"),Af=Symbol.for("react.activity"),IT=Symbol.for("react.memo_cache_sentinel"),aM=Symbol.iterator;function N7(e){return e===null||typeof e!="object"?null:(e=aM&&e[aM]||e["@@iterator"],typeof e=="function"?e:null)}var UT=Symbol.for("react.client.reference");function Cf(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===UT?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Nl:return"Fragment";case Mf:return"Profiler";case V_:return"StrictMode";case _f:return"Suspense";case zf:return"SuspenseList";case Af:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case W7:return"Portal";case Je:return e.displayName||"Context";case q_:return(e._context.displayName||"Context")+".Consumer";case ph:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vh:return a=e.displayName||null,a!==null?a:Cf(e.type)||"Memo";case Ea:a=e._payload,e=e._init;try{return Cf(e(a))}catch{}}return null}var Q7=Array.isArray,a1=y_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q1=NT.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,io={pending:!1,data:null,method:null,action:null},yf=[],Ol=-1;function pe(e){return{current:e}}function P0(e){0>Ol||(e.current=yf[Ol],yf[Ol]=null,Ol--)}function G1(e,a){Ol++,yf[Ol]=e.current,e.current=a}var me=pe(null),u3=pe(null),Ja=pe(null),hc=pe(null);function mc(e,a){switch(G1(Ja,a),G1(u3,e),G1(me,null),a.nodeType){case 9:case 11:e=(e=a.documentElement)&&(e=e.namespaceURI)?c_(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=c_(a),e=ZA(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}P0(me),G1(me,e)}function lr(){P0(me),P0(u3),P0(Ja)}function Sf(e){e.memoizedState!==null&&G1(hc,e);var a=me.current,t=ZA(a,e.type);a!==t&&(G1(u3,e),G1(me,t))}function pc(e){u3.current===e&&(P0(me),P0(u3)),hc.current===e&&(P0(hc),_3._currentValue=io)}var O9,tM;function oo(e){if(O9===void 0)try{throw Error()}catch(t){var a=t.stack.trim().match(/\n( *(at )?)/);O9=a&&a[1]||"",tM=-1<t.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+O9+e+tM}var E9=!1;function I9(e,a){if(!e||E9)return"";E9=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(a){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(h){var f=h}Reflect.construct(e,[],d)}else{try{d.call()}catch(h){f=h}e.call(d.prototype)}}else{try{throw Error()}catch(h){f=h}(d=e())&&typeof d.catch=="function"&&d.catch(function(){})}}catch(h){if(h&&f&&typeof h.stack=="string")return[h.stack,f.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=o.DetermineComponentFrameRoot(),n=r[0],i=r[1];if(n&&i){var c=n.split(`
4
+ `),s=i.split(`
5
+ `);for(l=o=0;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;for(;l<s.length&&!s[l].includes("DetermineComponentFrameRoot");)l++;if(o===c.length||l===s.length)for(o=c.length-1,l=s.length-1;1<=o&&0<=l&&c[o]!==s[l];)l--;for(;1<=o&&0<=l;o--,l--)if(c[o]!==s[l]){if(o!==1||l!==1)do if(o--,l--,0>l||c[o]!==s[l]){var u=`
6
+ `+c[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=l);break}}}finally{E9=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?oo(t):""}function jT(e,a){switch(e.tag){case 26:case 27:case 5:return oo(e.type);case 16:return oo("Lazy");case 13:return e.child!==a&&a!==null?oo("Suspense Fallback"):oo("Suspense");case 19:return oo("SuspenseList");case 0:case 15:return I9(e.type,!1);case 11:return I9(e.type.render,!1);case 1:return I9(e.type,!0);case 31:return oo("Activity");default:return""}}function oM(e){try{var a="",t=null;do a+=jT(e,t),t=e,e=e.return;while(e);return a}catch(o){return`
7
+ Error generating stack: `+o.message+`
8
+ `+o.stack}}var Rf=Object.prototype.hasOwnProperty,gh=F0.unstable_scheduleCallback,U9=F0.unstable_cancelCallback,GT=F0.unstable_shouldYield,WT=F0.unstable_requestPaint,Z5=F0.unstable_now,QT=F0.unstable_getCurrentPriorityLevel,L_=F0.unstable_ImmediatePriority,w_=F0.unstable_UserBlockingPriority,vc=F0.unstable_NormalPriority,KT=F0.unstable_LowPriority,k_=F0.unstable_IdlePriority,XT=F0.log,YT=F0.unstable_setDisableYieldValue,y3=null,J5=null;function Qa(e){if(typeof XT=="function"&&YT(e),J5&&typeof J5.setStrictMode=="function")try{J5.setStrictMode(y3,e)}catch{}}var $5=Math.clz32?Math.clz32:$T,ZT=Math.log,JT=Math.LN2;function $T(e){return e>>>=0,e===0?32:31-(ZT(e)/JT|0)|0}var Ti=256,Bi=262144,Di=4194304;function lo(e){var a=e&42;if(a!==0)return a;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 Ic(e,a,t){var o=e.pendingLanes;if(o===0)return 0;var l=0,r=e.suspendedLanes,n=e.pingedLanes;e=e.warmLanes;var i=o&134217727;return i!==0?(o=i&~r,o!==0?l=lo(o):(n&=i,n!==0?l=lo(n):t||(t=i&~e,t!==0&&(l=lo(t))))):(i=o&~r,i!==0?l=lo(i):n!==0?l=lo(n):t||(t=o&~e,t!==0&&(l=lo(t)))),l===0?0:a!==0&&a!==l&&(a&r)===0&&(r=l&-l,t=a&-a,r>=t||r===32&&(t&4194048)!==0)?a:l}function S3(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function eB(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 T_(){var e=Di;return Di<<=1,(Di&62914560)===0&&(Di=4194304),e}function j9(e){for(var a=[],t=0;31>t;t++)a.push(e);return a}function R3(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function aB(e,a,t,o,l,r){var n=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var i=e.entanglements,c=e.expirationTimes,s=e.hiddenUpdates;for(t=n&~t;0<t;){var u=31-$5(t),d=1<<u;i[u]=0,c[u]=-1;var f=s[u];if(f!==null)for(s[u]=null,u=0;u<f.length;u++){var h=f[u];h!==null&&(h.lane&=-536870913)}t&=~d}o!==0&&B_(e,o,0),r!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=r&~(n&~a))}function B_(e,a,t){e.pendingLanes|=a,e.suspendedLanes&=~a;var o=31-$5(a);e.entangledLanes|=a,e.entanglements[o]=e.entanglements[o]|1073741824|t&261930}function D_(e,a){var t=e.entangledLanes|=a;for(e=e.entanglements;t;){var o=31-$5(t),l=1<<o;l&a|e[o]&a&&(e[o]|=a),t&=~l}}function P_(e,a){var t=a&-a;return t=(t&42)!==0?1:xh(t),(t&(e.suspendedLanes|a))!==0?0:t}function xh(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function bh(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function N_(){var e=q1.p;return e!==0?e:(e=window.event,e===void 0?32:cC(e.type))}function lM(e,a){var t=q1.p;try{return q1.p=e,a()}finally{q1.p=t}}var dt=Math.random().toString(36).slice(2),G0="__reactFiber$"+dt,q5="__reactProps$"+dt,pr="__reactContainer$"+dt,Hf="__reactEvents$"+dt,tB="__reactListeners$"+dt,oB="__reactHandles$"+dt,rM="__reactResources$"+dt,H3="__reactMarker$"+dt;function Mh(e){delete e[G0],delete e[q5],delete e[Hf],delete e[tB],delete e[oB]}function El(e){var a=e[G0];if(a)return a;for(var t=e.parentNode;t;){if(a=t[pr]||t[G0]){if(t=a.alternate,a.child!==null||t!==null&&t.child!==null)for(e=h_(e);e!==null;){if(t=e[G0])return t;e=h_(e)}return a}e=t,t=e.parentNode}return null}function vr(e){if(e=e[G0]||e[pr]){var a=e.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return e}return null}function K7(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(D(33))}function Zl(e){var a=e[rM];return a||(a=e[rM]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function D0(e){e[H3]=!0}var O_=new Set,E_={};function xo(e,a){rr(e,a),rr(e+"Capture",a)}function rr(e,a){for(E_[e]=a,e=0;e<a.length;e++)O_.add(a[e])}var lB=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),nM={},iM={};function rB(e){return Rf.call(iM,e)?!0:Rf.call(nM,e)?!1:lB.test(e)?iM[e]=!0:(nM[e]=!0,!1)}function Ji(e,a,t){if(rB(a))if(t===null)e.removeAttribute(a);else{switch(typeof t){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var o=a.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(a);return}}e.setAttribute(a,""+t)}}function Pi(e,a,t){if(t===null)e.removeAttribute(a);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttribute(a,""+t)}}function Ge(e,a,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttributeNS(a,t,""+o)}}function z2(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function I_(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function nB(e,a,t){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,a);if(!e.hasOwnProperty(a)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var l=o.get,r=o.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return l.call(this)},set:function(n){t=""+n,r.call(this,n)}}),Object.defineProperty(e,a,{enumerable:o.enumerable}),{getValue:function(){return t},setValue:function(n){t=""+n},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function Ff(e){if(!e._valueTracker){var a=I_(e)?"checked":"value";e._valueTracker=nB(e,a,""+e[a])}}function U_(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var t=a.getValue(),o="";return e&&(o=I_(e)?e.checked?"true":"false":e.value),e=o,e!==t?(a.setValue(e),!0):!1}function gc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var iB=/[\n"\\]/g;function y2(e){return e.replace(iB,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Vf(e,a,t,o,l,r,n,i){e.name="",n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"?e.type=n:e.removeAttribute("type"),a!=null?n==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+z2(a)):e.value!==""+z2(a)&&(e.value=""+z2(a)):n!=="submit"&&n!=="reset"||e.removeAttribute("value"),a!=null?qf(e,n,z2(a)):t!=null?qf(e,n,z2(t)):o!=null&&e.removeAttribute("value"),l==null&&r!=null&&(e.defaultChecked=!!r),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.name=""+z2(i):e.removeAttribute("name")}function j_(e,a,t,o,l,r,n,i){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),a!=null||t!=null){if(!(r!=="submit"&&r!=="reset"||a!=null)){Ff(e);return}t=t!=null?""+z2(t):"",a=a!=null?""+z2(a):t,i||a===e.value||(e.value=a),e.defaultValue=a}o=o??l,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=i?e.checked:!!o,e.defaultChecked=!!o,n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(e.name=n),Ff(e)}function qf(e,a,t){a==="number"&&gc(e.ownerDocument)===e||e.defaultValue===""+t||(e.defaultValue=""+t)}function Jl(e,a,t,o){if(e=e.options,a){a={};for(var l=0;l<t.length;l++)a["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=a.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&o&&(e[t].defaultSelected=!0)}else{for(t=""+z2(t),a=null,l=0;l<e.length;l++){if(e[l].value===t){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}a!==null||e[l].disabled||(a=e[l])}a!==null&&(a.selected=!0)}}function G_(e,a,t){if(a!=null&&(a=""+z2(a),a!==e.value&&(e.value=a),t==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=t!=null?""+z2(t):""}function W_(e,a,t,o){if(a==null){if(o!=null){if(t!=null)throw Error(D(92));if(Q7(o)){if(1<o.length)throw Error(D(93));o=o[0]}t=o}t==null&&(t=""),a=t}t=z2(a),e.defaultValue=t,o=e.textContent,o===t&&o!==""&&o!==null&&(e.value=o),Ff(e)}function nr(e,a){if(a){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=a;return}}e.textContent=a}var cB=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function cM(e,a,t){var o=a.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?o?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":o?e.setProperty(a,t):typeof t!="number"||t===0||cB.has(a)?a==="float"?e.cssFloat=t:e[a]=(""+t).trim():e[a]=t+"px"}function Q_(e,a,t){if(a!=null&&typeof a!="object")throw Error(D(62));if(e=e.style,t!=null){for(var o in t)!t.hasOwnProperty(o)||a!=null&&a.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var l in a)o=a[l],a.hasOwnProperty(l)&&t[l]!==o&&cM(e,l,o)}else for(var r in a)a.hasOwnProperty(r)&&cM(e,r,a[r])}function _h(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sB=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),uB=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function $i(e){return uB.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function $e(){}var Lf=null;function zh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Il=null,$l=null;function sM(e){var a=vr(e);if(a&&(e=a.stateNode)){var t=e[q5]||null;e:switch(e=a.stateNode,a.type){case"input":if(Vf(e,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),a=t.name,t.type==="radio"&&a!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+y2(""+a)+'"][type="radio"]'),a=0;a<t.length;a++){var o=t[a];if(o!==e&&o.form===e.form){var l=o[q5]||null;if(!l)throw Error(D(90));Vf(o,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(a=0;a<t.length;a++)o=t[a],o.form===e.form&&U_(o)}break e;case"textarea":G_(e,t.value,t.defaultValue);break e;case"select":a=t.value,a!=null&&Jl(e,!!t.multiple,a,!1)}}}var G9=!1;function K_(e,a,t){if(G9)return e(a,t);G9=!0;try{var o=e(a);return o}finally{if(G9=!1,(Il!==null||$l!==null)&&(es(),Il&&(a=Il,e=$l,$l=Il=null,sM(a),e)))for(a=0;a<e.length;a++)sM(e[a])}}function d3(e,a){var t=e.stateNode;if(t===null)return null;var o=t[q5]||null;if(o===null)return null;t=o[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(D(231,a,typeof t));return t}var la=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wf=!1;if(la)try{kl={},Object.defineProperty(kl,"passive",{get:function(){wf=!0}}),window.addEventListener("test",kl,kl),window.removeEventListener("test",kl,kl)}catch{wf=!1}var kl,Ka=null,Ah=null,ec=null;function X_(){if(ec)return ec;var e,a=Ah,t=a.length,o,l="value"in Ka?Ka.value:Ka.textContent,r=l.length;for(e=0;e<t&&a[e]===l[e];e++);var n=t-e;for(o=1;o<=n&&a[t-o]===l[r-o];o++);return ec=l.slice(e,1<o?1-o:void 0)}function ac(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function Ni(){return!0}function uM(){return!1}function L5(e){function a(t,o,l,r,n){this._reactName=t,this._targetInst=l,this.type=o,this.nativeEvent=r,this.target=n,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(r):r[i]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?Ni:uM,this.isPropagationStopped=uM,this}return e0(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=Ni)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=Ni)},persist:function(){},isPersistent:Ni}),a}var bo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Uc=L5(bo),F3=e0({},bo,{view:0,detail:0}),dB=L5(F3),W9,Q9,O7,jc=e0({},F3,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ch,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==O7&&(O7&&e.type==="mousemove"?(W9=e.screenX-O7.screenX,Q9=e.screenY-O7.screenY):Q9=W9=0,O7=e),W9)},movementY:function(e){return"movementY"in e?e.movementY:Q9}}),dM=L5(jc),fB=e0({},jc,{dataTransfer:0}),hB=L5(fB),mB=e0({},F3,{relatedTarget:0}),K9=L5(mB),pB=e0({},bo,{animationName:0,elapsedTime:0,pseudoElement:0}),vB=L5(pB),gB=e0({},bo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),xB=L5(gB),bB=e0({},bo,{data:0}),fM=L5(bB),MB={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_B={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},zB={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function AB(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=zB[e])?!!a[e]:!1}function Ch(){return AB}var CB=e0({},F3,{key:function(e){if(e.key){var a=MB[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=ac(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?_B[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ch,charCode:function(e){return e.type==="keypress"?ac(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ac(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),yB=L5(CB),SB=e0({},jc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hM=L5(SB),RB=e0({},F3,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ch}),HB=L5(RB),FB=e0({},bo,{propertyName:0,elapsedTime:0,pseudoElement:0}),VB=L5(FB),qB=e0({},jc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),LB=L5(qB),wB=e0({},bo,{newState:0,oldState:0}),kB=L5(wB),TB=[9,13,27,32],yh=la&&"CompositionEvent"in window,Z7=null;la&&"documentMode"in document&&(Z7=document.documentMode);var BB=la&&"TextEvent"in window&&!Z7,Y_=la&&(!yh||Z7&&8<Z7&&11>=Z7),mM=" ",pM=!1;function Z_(e,a){switch(e){case"keyup":return TB.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function J_(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ul=!1;function DB(e,a){switch(e){case"compositionend":return J_(a);case"keypress":return a.which!==32?null:(pM=!0,mM);case"textInput":return e=a.data,e===mM&&pM?null:e;default:return null}}function PB(e,a){if(Ul)return e==="compositionend"||!yh&&Z_(e,a)?(e=X_(),ec=Ah=Ka=null,Ul=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Y_&&a.locale!=="ko"?null:a.data;default:return null}}var NB={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function vM(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!NB[e.type]:a==="textarea"}function $_(e,a,t,o){Il?$l?$l.push(o):$l=[o]:Il=o,a=Tc(a,"onChange"),0<a.length&&(t=new Uc("onChange","change",null,t,o),e.push({event:t,listeners:a}))}var J7=null,f3=null;function OB(e){KA(e,0)}function Gc(e){var a=K7(e);if(U_(a))return e}function gM(e,a){if(e==="change")return a}var ez=!1;la&&(la?(Ei="oninput"in document,Ei||(X9=document.createElement("div"),X9.setAttribute("oninput","return;"),Ei=typeof X9.oninput=="function"),Oi=Ei):Oi=!1,ez=Oi&&(!document.documentMode||9<document.documentMode));var Oi,Ei,X9;function xM(){J7&&(J7.detachEvent("onpropertychange",az),f3=J7=null)}function az(e){if(e.propertyName==="value"&&Gc(f3)){var a=[];$_(a,f3,e,zh(e)),K_(OB,a)}}function EB(e,a,t){e==="focusin"?(xM(),J7=a,f3=t,J7.attachEvent("onpropertychange",az)):e==="focusout"&&xM()}function IB(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Gc(f3)}function UB(e,a){if(e==="click")return Gc(a)}function jB(e,a){if(e==="input"||e==="change")return Gc(a)}function GB(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var a2=typeof Object.is=="function"?Object.is:GB;function h3(e,a){if(a2(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var t=Object.keys(e),o=Object.keys(a);if(t.length!==o.length)return!1;for(o=0;o<t.length;o++){var l=t[o];if(!Rf.call(a,l)||!a2(e[l],a[l]))return!1}return!0}function bM(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function MM(e,a){var t=bM(e);e=0;for(var o;t;){if(t.nodeType===3){if(o=e+t.textContent.length,e<=a&&o>=a)return{node:t,offset:a-e};e=o}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=bM(t)}}function tz(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?tz(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function oz(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=gc(e.document);a instanceof e.HTMLIFrameElement;){try{var t=typeof a.contentWindow.location.href=="string"}catch{t=!1}if(t)e=a.contentWindow;else break;a=gc(e.document)}return a}function Sh(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}var WB=la&&"documentMode"in document&&11>=document.documentMode,jl=null,kf=null,$7=null,Tf=!1;function _M(e,a,t){var o=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;Tf||jl==null||jl!==gc(o)||(o=jl,"selectionStart"in o&&Sh(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),$7&&h3($7,o)||($7=o,o=Tc(kf,"onSelect"),0<o.length&&(a=new Uc("onSelect","select",null,a,t),e.push({event:a,listeners:o}),a.target=jl)))}function to(e,a){var t={};return t[e.toLowerCase()]=a.toLowerCase(),t["Webkit"+e]="webkit"+a,t["Moz"+e]="moz"+a,t}var Gl={animationend:to("Animation","AnimationEnd"),animationiteration:to("Animation","AnimationIteration"),animationstart:to("Animation","AnimationStart"),transitionrun:to("Transition","TransitionRun"),transitionstart:to("Transition","TransitionStart"),transitioncancel:to("Transition","TransitionCancel"),transitionend:to("Transition","TransitionEnd")},Y9={},lz={};la&&(lz=document.createElement("div").style,"AnimationEvent"in window||(delete Gl.animationend.animation,delete Gl.animationiteration.animation,delete Gl.animationstart.animation),"TransitionEvent"in window||delete Gl.transitionend.transition);function Mo(e){if(Y9[e])return Y9[e];if(!Gl[e])return e;var a=Gl[e],t;for(t in a)if(a.hasOwnProperty(t)&&t in lz)return Y9[e]=a[t];return e}var rz=Mo("animationend"),nz=Mo("animationiteration"),iz=Mo("animationstart"),QB=Mo("transitionrun"),KB=Mo("transitionstart"),XB=Mo("transitioncancel"),cz=Mo("transitionend"),sz=new Map,Bf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Bf.push("scrollEnd");function G2(e,a){sz.set(e,a),xo(a,[e])}var xc=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},_2=[],Wl=0,Rh=0;function Wc(){for(var e=Wl,a=Rh=Wl=0;a<e;){var t=_2[a];_2[a++]=null;var o=_2[a];_2[a++]=null;var l=_2[a];_2[a++]=null;var r=_2[a];if(_2[a++]=null,o!==null&&l!==null){var n=o.pending;n===null?l.next=l:(l.next=n.next,n.next=l),o.pending=l}r!==0&&uz(t,l,r)}}function Qc(e,a,t,o){_2[Wl++]=e,_2[Wl++]=a,_2[Wl++]=t,_2[Wl++]=o,Rh|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function Hh(e,a,t,o){return Qc(e,a,t,o),bc(e)}function _o(e,a){return Qc(e,null,null,a),bc(e)}function uz(e,a,t){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t);for(var l=!1,r=e.return;r!==null;)r.childLanes|=t,o=r.alternate,o!==null&&(o.childLanes|=t),r.tag===22&&(e=r.stateNode,e===null||e._visibility&1||(l=!0)),e=r,r=r.return;return e.tag===3?(r=e.stateNode,l&&a!==null&&(l=31-$5(t),e=r.hiddenUpdates,o=e[l],o===null?e[l]=[a]:o.push(a),a.lane=t|536870912),r):null}function bc(e){if(50<c3)throw c3=0,oh=null,Error(D(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var Ql={};function YB(e,a,t,o){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function X5(e,a,t,o){return new YB(e,a,t,o)}function Fh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function aa(e,a){var t=e.alternate;return t===null?(t=X5(e.tag,a,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=a,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&65011712,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,a=e.dependencies,t.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t.refCleanup=e.refCleanup,t}function dz(e,a){e.flags&=65011714;var t=e.alternate;return t===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,e.type=t.type,a=t.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),e}function tc(e,a,t,o,l,r){var n=0;if(o=e,typeof e=="function")Fh(e)&&(n=1);else if(typeof e=="string")n=$D(e,t,me.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Af:return e=X5(31,t,a,l),e.elementType=Af,e.lanes=r,e;case Nl:return co(t.children,l,r,a);case V_:n=8,l|=24;break;case Mf:return e=X5(12,t,a,l|2),e.elementType=Mf,e.lanes=r,e;case _f:return e=X5(13,t,a,l),e.elementType=_f,e.lanes=r,e;case zf:return e=X5(19,t,a,l),e.elementType=zf,e.lanes=r,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Je:n=10;break e;case q_:n=9;break e;case ph:n=11;break e;case vh:n=14;break e;case Ea:n=16,o=null;break e}n=29,t=Error(D(130,e===null?"null":typeof e,"")),o=null}return a=X5(n,t,a,l),a.elementType=e,a.type=o,a.lanes=r,a}function co(e,a,t,o){return e=X5(7,e,o,a),e.lanes=t,e}function Z9(e,a,t){return e=X5(6,e,null,a),e.lanes=t,e}function fz(e){var a=X5(18,null,null,0);return a.stateNode=e,a}function J9(e,a,t){return a=X5(4,e.children!==null?e.children:[],e.key,a),a.lanes=t,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}var zM=new WeakMap;function S2(e,a){if(typeof e=="object"&&e!==null){var t=zM.get(e);return t!==void 0?t:(a={value:e,source:a,stack:oM(a)},zM.set(e,a),a)}return{value:e,source:a,stack:oM(a)}}var Kl=[],Xl=0,Mc=null,m3=0,A2=[],C2=0,it=null,de=1,fe="";function Ye(e,a){Kl[Xl++]=m3,Kl[Xl++]=Mc,Mc=e,m3=a}function hz(e,a,t){A2[C2++]=de,A2[C2++]=fe,A2[C2++]=it,it=e;var o=de;e=fe;var l=32-$5(o)-1;o&=~(1<<l),t+=1;var r=32-$5(a)+l;if(30<r){var n=l-l%5;r=(o&(1<<n)-1).toString(32),o>>=n,l-=n,de=1<<32-$5(a)+l|t<<l|o,fe=r+e}else de=1<<r|t<<l|o,fe=e}function Vh(e){e.return!==null&&(Ye(e,1),hz(e,1,0))}function qh(e){for(;e===Mc;)Mc=Kl[--Xl],Kl[Xl]=null,m3=Kl[--Xl],Kl[Xl]=null;for(;e===it;)it=A2[--C2],A2[C2]=null,fe=A2[--C2],A2[C2]=null,de=A2[--C2],A2[C2]=null}function mz(e,a){A2[C2++]=de,A2[C2++]=fe,A2[C2++]=it,de=a.id,fe=a.overflow,it=e}var W0=null,$1=null,_1=!1,$a=null,R2=!1,Df=Error(D(519));function ct(e){var a=Error(D(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw p3(S2(a,e)),Df}function AM(e){var a=e.stateNode,t=e.type,o=e.memoizedProps;switch(a[G0]=e,a[q5]=o,t){case"dialog":p1("cancel",a),p1("close",a);break;case"iframe":case"object":case"embed":p1("load",a);break;case"video":case"audio":for(t=0;t<b3.length;t++)p1(b3[t],a);break;case"source":p1("error",a);break;case"img":case"image":case"link":p1("error",a),p1("load",a);break;case"details":p1("toggle",a);break;case"input":p1("invalid",a),j_(a,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"select":p1("invalid",a);break;case"textarea":p1("invalid",a),W_(a,o.value,o.defaultValue,o.children)}t=o.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||a.textContent===""+t||o.suppressHydrationWarning===!0||YA(a.textContent,t)?(o.popover!=null&&(p1("beforetoggle",a),p1("toggle",a)),o.onScroll!=null&&p1("scroll",a),o.onScrollEnd!=null&&p1("scrollend",a),o.onClick!=null&&(a.onclick=$e),a=!0):a=!1,a||ct(e,!0)}function CM(e){for(W0=e.return;W0;)switch(W0.tag){case 5:case 31:case 13:R2=!1;return;case 27:case 3:R2=!0;return;default:W0=W0.return}}function Tl(e){if(e!==W0)return!1;if(!_1)return CM(e),_1=!0,!1;var a=e.tag,t;if((t=a!==3&&a!==27)&&((t=a===5)&&(t=e.type,t=!(t!=="form"&&t!=="button")||ch(e.type,e.memoizedProps)),t=!t),t&&$1&&ct(e),CM(e),a===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));$1=f_(e)}else if(a===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(317));$1=f_(e)}else a===27?(a=$1,ft(e.type)?(e=fh,fh=null,$1=e):$1=a):$1=W0?F2(e.stateNode.nextSibling):null;return!0}function ho(){$1=W0=null,_1=!1}function $9(){var e=$a;return e!==null&&(F5===null?F5=e:F5.push.apply(F5,e),$a=null),e}function p3(e){$a===null?$a=[e]:$a.push(e)}var Pf=pe(null),zo=null,ea=null;function Ua(e,a,t){G1(Pf,a._currentValue),a._currentValue=t}function ta(e){e._currentValue=Pf.current,P0(Pf)}function Nf(e,a,t){for(;e!==null;){var o=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,o!==null&&(o.childLanes|=a)):o!==null&&(o.childLanes&a)!==a&&(o.childLanes|=a),e===t)break;e=e.return}}function Of(e,a,t,o){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var r=l.dependencies;if(r!==null){var n=l.child;r=r.firstContext;e:for(;r!==null;){var i=r;r=l;for(var c=0;c<a.length;c++)if(i.context===a[c]){r.lanes|=t,i=r.alternate,i!==null&&(i.lanes|=t),Nf(r.return,t,e),o||(n=null);break e}r=i.next}}else if(l.tag===18){if(n=l.return,n===null)throw Error(D(341));n.lanes|=t,r=n.alternate,r!==null&&(r.lanes|=t),Nf(n,t,e),n=null}else n=l.child;if(n!==null)n.return=l;else for(n=l;n!==null;){if(n===e){n=null;break}if(l=n.sibling,l!==null){l.return=n.return,n=l;break}n=n.return}l=n}}function gr(e,a,t,o){e=null;for(var l=a,r=!1;l!==null;){if(!r){if((l.flags&524288)!==0)r=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var n=l.alternate;if(n===null)throw Error(D(387));if(n=n.memoizedProps,n!==null){var i=l.type;a2(l.pendingProps.value,n.value)||(e!==null?e.push(i):e=[i])}}else if(l===hc.current){if(n=l.alternate,n===null)throw Error(D(387));n.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(_3):e=[_3])}l=l.return}e!==null&&Of(a,e,t,o),a.flags|=262144}function _c(e){for(e=e.firstContext;e!==null;){if(!a2(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function mo(e){zo=e,ea=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Q0(e){return pz(zo,e)}function Ii(e,a){return zo===null&&mo(e),pz(e,a)}function pz(e,a){var t=a._currentValue;if(a={context:a,memoizedValue:t,next:null},ea===null){if(e===null)throw Error(D(308));ea=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else ea=ea.next=a;return t}var ZB=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(t,o){e.push(o)}};this.abort=function(){a.aborted=!0,e.forEach(function(t){return t()})}},JB=F0.unstable_scheduleCallback,$B=F0.unstable_NormalPriority,z0={$$typeof:Je,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Lh(){return{controller:new ZB,data:new Map,refCount:0}}function V3(e){e.refCount--,e.refCount===0&&JB($B,function(){e.controller.abort()})}var e3=null,Ef=0,ir=0,er=null;function eD(e,a){if(e3===null){var t=e3=[];Ef=0,ir=om(),er={status:"pending",value:void 0,then:function(o){t.push(o)}}}return Ef++,a.then(yM,yM),a}function yM(){if(--Ef===0&&e3!==null){er!==null&&(er.status="fulfilled");var e=e3;e3=null,ir=0,er=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function aD(e,a){var t=[],o={status:"pending",value:null,reason:null,then:function(l){t.push(l)}};return e.then(function(){o.status="fulfilled",o.value=a;for(var l=0;l<t.length;l++)(0,t[l])(a)},function(l){for(o.status="rejected",o.reason=l,l=0;l<t.length;l++)(0,t[l])(void 0)}),o}var SM=a1.S;a1.S=function(e,a){FA=Z5(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&eD(e,a),SM!==null&&SM(e,a)};var so=pe(null);function wh(){var e=so.current;return e!==null?e:U1.pooledCache}function oc(e,a){a===null?G1(so,so.current):G1(so,a.pool)}function vz(){var e=wh();return e===null?null:{parent:z0._currentValue,pool:e}}var xr=Error(D(460)),kh=Error(D(474)),Kc=Error(D(542)),zc={then:function(){}};function RM(e){return e=e.status,e==="fulfilled"||e==="rejected"}function gz(e,a,t){switch(t=e[t],t===void 0?e.push(a):t!==a&&(a.then($e,$e),a=t),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,FM(e),e;default:if(typeof a.status=="string")a.then($e,$e);else{if(e=U1,e!==null&&100<e.shellSuspendCounter)throw Error(D(482));e=a,e.status="pending",e.then(function(o){if(a.status==="pending"){var l=a;l.status="fulfilled",l.value=o}},function(o){if(a.status==="pending"){var l=a;l.status="rejected",l.reason=o}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,FM(e),e}throw uo=a,xr}}function ro(e){try{var a=e._init;return a(e._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(uo=t,xr):t}}var uo=null;function HM(){if(uo===null)throw Error(D(459));var e=uo;return uo=null,e}function FM(e){if(e===xr||e===Kc)throw Error(D(483))}var ar=null,v3=0;function Ui(e){var a=v3;return v3+=1,ar===null&&(ar=[]),gz(ar,e,a)}function E7(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function ji(e,a){throw a.$$typeof===ET?Error(D(525)):(e=Object.prototype.toString.call(a),Error(D(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function xz(e){function a(p,x){if(e){var v=p.deletions;v===null?(p.deletions=[x],p.flags|=16):v.push(x)}}function t(p,x){if(!e)return null;for(;x!==null;)a(p,x),x=x.sibling;return null}function o(p){for(var x=new Map;p!==null;)p.key!==null?x.set(p.key,p):x.set(p.index,p),p=p.sibling;return x}function l(p,x){return p=aa(p,x),p.index=0,p.sibling=null,p}function r(p,x,v){return p.index=v,e?(v=p.alternate,v!==null?(v=v.index,v<x?(p.flags|=67108866,x):v):(p.flags|=67108866,x)):(p.flags|=1048576,x)}function n(p){return e&&p.alternate===null&&(p.flags|=67108866),p}function i(p,x,v,M){return x===null||x.tag!==6?(x=Z9(v,p.mode,M),x.return=p,x):(x=l(x,v),x.return=p,x)}function c(p,x,v,M){var _=v.type;return _===Nl?u(p,x,v.props.children,M,v.key):x!==null&&(x.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Ea&&ro(_)===x.type)?(x=l(x,v.props),E7(x,v),x.return=p,x):(x=tc(v.type,v.key,v.props,null,p.mode,M),E7(x,v),x.return=p,x)}function s(p,x,v,M){return x===null||x.tag!==4||x.stateNode.containerInfo!==v.containerInfo||x.stateNode.implementation!==v.implementation?(x=J9(v,p.mode,M),x.return=p,x):(x=l(x,v.children||[]),x.return=p,x)}function u(p,x,v,M,_){return x===null||x.tag!==7?(x=co(v,p.mode,M,_),x.return=p,x):(x=l(x,v),x.return=p,x)}function d(p,x,v){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return x=Z9(""+x,p.mode,v),x.return=p,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case ki:return v=tc(x.type,x.key,x.props,null,p.mode,v),E7(v,x),v.return=p,v;case W7:return x=J9(x,p.mode,v),x.return=p,x;case Ea:return x=ro(x),d(p,x,v)}if(Q7(x)||N7(x))return x=co(x,p.mode,v,null),x.return=p,x;if(typeof x.then=="function")return d(p,Ui(x),v);if(x.$$typeof===Je)return d(p,Ii(p,x),v);ji(p,x)}return null}function f(p,x,v,M){var _=x!==null?x.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return _!==null?null:i(p,x,""+v,M);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case ki:return v.key===_?c(p,x,v,M):null;case W7:return v.key===_?s(p,x,v,M):null;case Ea:return v=ro(v),f(p,x,v,M)}if(Q7(v)||N7(v))return _!==null?null:u(p,x,v,M,null);if(typeof v.then=="function")return f(p,x,Ui(v),M);if(v.$$typeof===Je)return f(p,x,Ii(p,v),M);ji(p,v)}return null}function h(p,x,v,M,_){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return p=p.get(v)||null,i(x,p,""+M,_);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case ki:return p=p.get(M.key===null?v:M.key)||null,c(x,p,M,_);case W7:return p=p.get(M.key===null?v:M.key)||null,s(x,p,M,_);case Ea:return M=ro(M),h(p,x,v,M,_)}if(Q7(M)||N7(M))return p=p.get(v)||null,u(x,p,M,_,null);if(typeof M.then=="function")return h(p,x,v,Ui(M),_);if(M.$$typeof===Je)return h(p,x,v,Ii(x,M),_);ji(x,M)}return null}function g(p,x,v,M){for(var _=null,z=null,A=x,S=x=0,R=null;A!==null&&S<v.length;S++){A.index>S?(R=A,A=null):R=A.sibling;var B=f(p,A,v[S],M);if(B===null){A===null&&(A=R);break}e&&A&&B.alternate===null&&a(p,A),x=r(B,x,S),z===null?_=B:z.sibling=B,z=B,A=R}if(S===v.length)return t(p,A),_1&&Ye(p,S),_;if(A===null){for(;S<v.length;S++)A=d(p,v[S],M),A!==null&&(x=r(A,x,S),z===null?_=A:z.sibling=A,z=A);return _1&&Ye(p,S),_}for(A=o(A);S<v.length;S++)R=h(A,p,S,v[S],M),R!==null&&(e&&R.alternate!==null&&A.delete(R.key===null?S:R.key),x=r(R,x,S),z===null?_=R:z.sibling=R,z=R);return e&&A.forEach(function(w){return a(p,w)}),_1&&Ye(p,S),_}function m(p,x,v,M){if(v==null)throw Error(D(151));for(var _=null,z=null,A=x,S=x=0,R=null,B=v.next();A!==null&&!B.done;S++,B=v.next()){A.index>S?(R=A,A=null):R=A.sibling;var w=f(p,A,B.value,M);if(w===null){A===null&&(A=R);break}e&&A&&w.alternate===null&&a(p,A),x=r(w,x,S),z===null?_=w:z.sibling=w,z=w,A=R}if(B.done)return t(p,A),_1&&Ye(p,S),_;if(A===null){for(;!B.done;S++,B=v.next())B=d(p,B.value,M),B!==null&&(x=r(B,x,S),z===null?_=B:z.sibling=B,z=B);return _1&&Ye(p,S),_}for(A=o(A);!B.done;S++,B=v.next())B=h(A,p,S,B.value,M),B!==null&&(e&&B.alternate!==null&&A.delete(B.key===null?S:B.key),x=r(B,x,S),z===null?_=B:z.sibling=B,z=B);return e&&A.forEach(function(O){return a(p,O)}),_1&&Ye(p,S),_}function b(p,x,v,M){if(typeof v=="object"&&v!==null&&v.type===Nl&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case ki:e:{for(var _=v.key;x!==null;){if(x.key===_){if(_=v.type,_===Nl){if(x.tag===7){t(p,x.sibling),M=l(x,v.props.children),M.return=p,p=M;break e}}else if(x.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Ea&&ro(_)===x.type){t(p,x.sibling),M=l(x,v.props),E7(M,v),M.return=p,p=M;break e}t(p,x);break}else a(p,x);x=x.sibling}v.type===Nl?(M=co(v.props.children,p.mode,M,v.key),M.return=p,p=M):(M=tc(v.type,v.key,v.props,null,p.mode,M),E7(M,v),M.return=p,p=M)}return n(p);case W7:e:{for(_=v.key;x!==null;){if(x.key===_)if(x.tag===4&&x.stateNode.containerInfo===v.containerInfo&&x.stateNode.implementation===v.implementation){t(p,x.sibling),M=l(x,v.children||[]),M.return=p,p=M;break e}else{t(p,x);break}else a(p,x);x=x.sibling}M=J9(v,p.mode,M),M.return=p,p=M}return n(p);case Ea:return v=ro(v),b(p,x,v,M)}if(Q7(v))return g(p,x,v,M);if(N7(v)){if(_=N7(v),typeof _!="function")throw Error(D(150));return v=_.call(v),m(p,x,v,M)}if(typeof v.then=="function")return b(p,x,Ui(v),M);if(v.$$typeof===Je)return b(p,x,Ii(p,v),M);ji(p,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,x!==null&&x.tag===6?(t(p,x.sibling),M=l(x,v),M.return=p,p=M):(t(p,x),M=Z9(v,p.mode,M),M.return=p,p=M),n(p)):t(p,x)}return function(p,x,v,M){try{v3=0;var _=b(p,x,v,M);return ar=null,_}catch(A){if(A===xr||A===Kc)throw A;var z=X5(29,A,null,p.mode);return z.lanes=M,z.return=p,z}}}var po=xz(!0),bz=xz(!1),Ia=!1;function Th(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function If(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function et(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function at(e,a,t){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(V1&2)!==0){var l=o.pending;return l===null?a.next=a:(a.next=l.next,l.next=a),o.pending=a,a=bc(e),uz(e,null,t),a}return Qc(e,o,a,t),bc(e)}function a3(e,a,t){if(a=a.updateQueue,a!==null&&(a=a.shared,(t&4194048)!==0)){var o=a.lanes;o&=e.pendingLanes,t|=o,a.lanes=t,D_(e,t)}}function ef(e,a){var t=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,t===o)){var l=null,r=null;if(t=t.firstBaseUpdate,t!==null){do{var n={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};r===null?l=r=n:r=r.next=n,t=t.next}while(t!==null);r===null?l=r=a:r=r.next=a}else l=r=a;t={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:r,shared:o.shared,callbacks:o.callbacks},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=a:e.next=a,t.lastBaseUpdate=a}var Uf=!1;function t3(){if(Uf){var e=er;if(e!==null)throw e}}function o3(e,a,t,o){Uf=!1;var l=e.updateQueue;Ia=!1;var r=l.firstBaseUpdate,n=l.lastBaseUpdate,i=l.shared.pending;if(i!==null){l.shared.pending=null;var c=i,s=c.next;c.next=null,n===null?r=s:n.next=s,n=c;var u=e.alternate;u!==null&&(u=u.updateQueue,i=u.lastBaseUpdate,i!==n&&(i===null?u.firstBaseUpdate=s:i.next=s,u.lastBaseUpdate=c))}if(r!==null){var d=l.baseState;n=0,u=s=c=null,i=r;do{var f=i.lane&-536870913,h=f!==i.lane;if(h?(x1&f)===f:(o&f)===f){f!==0&&f===ir&&(Uf=!0),u!==null&&(u=u.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});e:{var g=e,m=i;f=a;var b=t;switch(m.tag){case 1:if(g=m.payload,typeof g=="function"){d=g.call(b,d,f);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=m.payload,f=typeof g=="function"?g.call(b,d,f):g,f==null)break e;d=e0({},d,f);break e;case 2:Ia=!0}}f=i.callback,f!==null&&(e.flags|=64,h&&(e.flags|=8192),h=l.callbacks,h===null?l.callbacks=[f]:h.push(f))}else h={lane:f,tag:i.tag,payload:i.payload,callback:i.callback,next:null},u===null?(s=u=h,c=d):u=u.next=h,n|=f;if(i=i.next,i===null){if(i=l.shared.pending,i===null)break;h=i,i=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);u===null&&(c=d),l.baseState=c,l.firstBaseUpdate=s,l.lastBaseUpdate=u,r===null&&(l.shared.lanes=0),ut|=n,e.lanes=n,e.memoizedState=d}}function Mz(e,a){if(typeof e!="function")throw Error(D(191,e));e.call(a)}function _z(e,a){var t=e.callbacks;if(t!==null)for(e.callbacks=null,e=0;e<t.length;e++)Mz(t[e],a)}var cr=pe(null),Ac=pe(0);function VM(e,a){e=ca,G1(Ac,e),G1(cr,a),ca=e|a.baseLanes}function jf(){G1(Ac,ca),G1(cr,cr.current)}function Bh(){ca=Ac.current,P0(cr),P0(Ac)}var t2=pe(null),H2=null;function ja(e){var a=e.alternate;G1(p0,p0.current&1),G1(t2,e),H2===null&&(a===null||cr.current!==null||a.memoizedState!==null)&&(H2=e)}function Gf(e){G1(p0,p0.current),G1(t2,e),H2===null&&(H2=e)}function zz(e){e.tag===22?(G1(p0,p0.current),G1(t2,e),H2===null&&(H2=e)):Ga(e)}function Ga(){G1(p0,p0.current),G1(t2,t2.current)}function K5(e){P0(t2),H2===e&&(H2=null),P0(p0)}var p0=pe(0);function Cc(e){for(var a=e;a!==null;){if(a.tag===13){var t=a.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||uh(t)||dh(t)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var ra=0,i1=null,O1=null,M0=null,yc=!1,tr=!1,vo=!1,Sc=0,g3=0,or=null,tD=0;function r0(){throw Error(D(321))}function Dh(e,a){if(a===null)return!1;for(var t=0;t<a.length&&t<e.length;t++)if(!a2(e[t],a[t]))return!1;return!0}function Ph(e,a,t,o,l,r){return ra=r,i1=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,a1.H=e===null||e.memoizedState===null?$z:Xh,vo=!1,r=t(o,l),vo=!1,tr&&(r=Cz(a,t,o,l)),Az(e),r}function Az(e){a1.H=x3;var a=O1!==null&&O1.next!==null;if(ra=0,M0=O1=i1=null,yc=!1,g3=0,or=null,a)throw Error(D(300));e===null||A0||(e=e.dependencies,e!==null&&_c(e)&&(A0=!0))}function Cz(e,a,t,o){i1=e;var l=0;do{if(tr&&(or=null),g3=0,tr=!1,25<=l)throw Error(D(301));if(l+=1,M0=O1=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}a1.H=eA,r=a(t,o)}while(tr);return r}function oD(){var e=a1.H,a=e.useState()[0];return a=typeof a.then=="function"?q3(a):a,e=e.useState()[0],(O1!==null?O1.memoizedState:null)!==e&&(i1.flags|=1024),a}function Nh(){var e=Sc!==0;return Sc=0,e}function Oh(e,a,t){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~t}function Eh(e){if(yc){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}yc=!1}ra=0,M0=O1=i1=null,tr=!1,g3=Sc=0,or=null}function p5(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return M0===null?i1.memoizedState=M0=e:M0=M0.next=e,M0}function v0(){if(O1===null){var e=i1.alternate;e=e!==null?e.memoizedState:null}else e=O1.next;var a=M0===null?i1.memoizedState:M0.next;if(a!==null)M0=a,O1=e;else{if(e===null)throw i1.alternate===null?Error(D(467)):Error(D(310));O1=e,e={memoizedState:O1.memoizedState,baseState:O1.baseState,baseQueue:O1.baseQueue,queue:O1.queue,next:null},M0===null?i1.memoizedState=M0=e:M0=M0.next=e}return M0}function Xc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function q3(e){var a=g3;return g3+=1,or===null&&(or=[]),e=gz(or,e,a),a=i1,(M0===null?a.memoizedState:M0.next)===null&&(a=a.alternate,a1.H=a===null||a.memoizedState===null?$z:Xh),e}function Yc(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return q3(e);if(e.$$typeof===Je)return Q0(e)}throw Error(D(438,String(e)))}function Ih(e){var a=null,t=i1.updateQueue;if(t!==null&&(a=t.memoCache),a==null){var o=i1.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(a={data:o.data.map(function(l){return l.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),t===null&&(t=Xc(),i1.updateQueue=t),t.memoCache=a,t=a.data[a.index],t===void 0)for(t=a.data[a.index]=Array(e),o=0;o<e;o++)t[o]=IT;return a.index++,t}function na(e,a){return typeof a=="function"?a(e):a}function lc(e){var a=v0();return Uh(a,O1,e)}function Uh(e,a,t){var o=e.queue;if(o===null)throw Error(D(311));o.lastRenderedReducer=t;var l=e.baseQueue,r=o.pending;if(r!==null){if(l!==null){var n=l.next;l.next=r.next,r.next=n}a.baseQueue=l=r,o.pending=null}if(r=e.baseState,l===null)e.memoizedState=r;else{a=l.next;var i=n=null,c=null,s=a,u=!1;do{var d=s.lane&-536870913;if(d!==s.lane?(x1&d)===d:(ra&d)===d){var f=s.revertLane;if(f===0)c!==null&&(c=c.next={lane:0,revertLane:0,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),d===ir&&(u=!0);else if((ra&f)===f){s=s.next,f===ir&&(u=!0);continue}else d={lane:0,revertLane:s.revertLane,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},c===null?(i=c=d,n=r):c=c.next=d,i1.lanes|=f,ut|=f;d=s.action,vo&&t(r,d),r=s.hasEagerState?s.eagerState:t(r,d)}else f={lane:d,revertLane:s.revertLane,gesture:s.gesture,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},c===null?(i=c=f,n=r):c=c.next=f,i1.lanes|=d,ut|=d;s=s.next}while(s!==null&&s!==a);if(c===null?n=r:c.next=i,!a2(r,e.memoizedState)&&(A0=!0,u&&(t=er,t!==null)))throw t;e.memoizedState=r,e.baseState=n,e.baseQueue=c,o.lastRenderedState=r}return l===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function af(e){var a=v0(),t=a.queue;if(t===null)throw Error(D(311));t.lastRenderedReducer=e;var o=t.dispatch,l=t.pending,r=a.memoizedState;if(l!==null){t.pending=null;var n=l=l.next;do r=e(r,n.action),n=n.next;while(n!==l);a2(r,a.memoizedState)||(A0=!0),a.memoizedState=r,a.baseQueue===null&&(a.baseState=r),t.lastRenderedState=r}return[r,o]}function yz(e,a,t){var o=i1,l=v0(),r=_1;if(r){if(t===void 0)throw Error(D(407));t=t()}else t=a();var n=!a2((O1||l).memoizedState,t);if(n&&(l.memoizedState=t,A0=!0),l=l.queue,jh(Hz.bind(null,o,l,e),[e]),l.getSnapshot!==a||n||M0!==null&&M0.memoizedState.tag&1){if(o.flags|=2048,sr(9,{destroy:void 0},Rz.bind(null,o,l,t,a),null),U1===null)throw Error(D(349));r||(ra&127)!==0||Sz(o,a,t)}return t}function Sz(e,a,t){e.flags|=16384,e={getSnapshot:a,value:t},a=i1.updateQueue,a===null?(a=Xc(),i1.updateQueue=a,a.stores=[e]):(t=a.stores,t===null?a.stores=[e]:t.push(e))}function Rz(e,a,t,o){a.value=t,a.getSnapshot=o,Fz(a)&&Vz(e)}function Hz(e,a,t){return t(function(){Fz(a)&&Vz(e)})}function Fz(e){var a=e.getSnapshot;e=e.value;try{var t=a();return!a2(e,t)}catch{return!0}}function Vz(e){var a=_o(e,2);a!==null&&V5(a,e,2)}function Wf(e){var a=p5();if(typeof e=="function"){var t=e;if(e=t(),vo){Qa(!0);try{t()}finally{Qa(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:na,lastRenderedState:e},a}function qz(e,a,t,o){return e.baseState=t,Uh(e,O1,typeof o=="function"?o:na)}function lD(e,a,t,o,l){if(Jc(e))throw Error(D(485));if(e=a.action,e!==null){var r={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(n){r.listeners.push(n)}};a1.T!==null?t(!0):r.isTransition=!1,o(r),t=a.pending,t===null?(r.next=a.pending=r,Lz(a,r)):(r.next=t.next,a.pending=t.next=r)}}function Lz(e,a){var t=a.action,o=a.payload,l=e.state;if(a.isTransition){var r=a1.T,n={};a1.T=n;try{var i=t(l,o),c=a1.S;c!==null&&c(n,i),qM(e,a,i)}catch(s){Qf(e,a,s)}finally{r!==null&&n.types!==null&&(r.types=n.types),a1.T=r}}else try{r=t(l,o),qM(e,a,r)}catch(s){Qf(e,a,s)}}function qM(e,a,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(o){LM(e,a,o)},function(o){return Qf(e,a,o)}):LM(e,a,t)}function LM(e,a,t){a.status="fulfilled",a.value=t,wz(a),e.state=t,a=e.pending,a!==null&&(t=a.next,t===a?e.pending=null:(t=t.next,a.next=t,Lz(e,t)))}function Qf(e,a,t){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do a.status="rejected",a.reason=t,wz(a),a=a.next;while(a!==o)}e.action=null}function wz(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function kz(e,a){return a}function wM(e,a){if(_1){var t=U1.formState;if(t!==null){e:{var o=i1;if(_1){if($1){a:{for(var l=$1,r=R2;l.nodeType!==8;){if(!r){l=null;break a}if(l=F2(l.nextSibling),l===null){l=null;break a}}r=l.data,l=r==="F!"||r==="F"?l:null}if(l){$1=F2(l.nextSibling),o=l.data==="F!";break e}}ct(o)}o=!1}o&&(a=t[0])}}return t=p5(),t.memoizedState=t.baseState=a,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:kz,lastRenderedState:a},t.queue=o,t=Yz.bind(null,i1,o),o.dispatch=t,o=Wf(!1),r=Kh.bind(null,i1,!1,o.queue),o=p5(),l={state:a,dispatch:null,action:e,pending:null},o.queue=l,t=lD.bind(null,i1,l,r,t),l.dispatch=t,o.memoizedState=e,[a,t,!1]}function kM(e){var a=v0();return Tz(a,O1,e)}function Tz(e,a,t){if(a=Uh(e,a,kz)[0],e=lc(na)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var o=q3(a)}catch(n){throw n===xr?Kc:n}else o=a;a=v0();var l=a.queue,r=l.dispatch;return t!==a.memoizedState&&(i1.flags|=2048,sr(9,{destroy:void 0},rD.bind(null,l,t),null)),[o,r,e]}function rD(e,a){e.action=a}function TM(e){var a=v0(),t=O1;if(t!==null)return Tz(a,t,e);v0(),a=a.memoizedState,t=v0();var o=t.queue.dispatch;return t.memoizedState=e,[a,o,!1]}function sr(e,a,t,o){return e={tag:e,create:t,deps:o,inst:a,next:null},a=i1.updateQueue,a===null&&(a=Xc(),i1.updateQueue=a),t=a.lastEffect,t===null?a.lastEffect=e.next=e:(o=t.next,t.next=e,e.next=o,a.lastEffect=e),e}function Bz(){return v0().memoizedState}function rc(e,a,t,o){var l=p5();i1.flags|=e,l.memoizedState=sr(1|a,{destroy:void 0},t,o===void 0?null:o)}function Zc(e,a,t,o){var l=v0();o=o===void 0?null:o;var r=l.memoizedState.inst;O1!==null&&o!==null&&Dh(o,O1.memoizedState.deps)?l.memoizedState=sr(a,r,t,o):(i1.flags|=e,l.memoizedState=sr(1|a,r,t,o))}function BM(e,a){rc(8390656,8,e,a)}function jh(e,a){Zc(2048,8,e,a)}function nD(e){i1.flags|=4;var a=i1.updateQueue;if(a===null)a=Xc(),i1.updateQueue=a,a.events=[e];else{var t=a.events;t===null?a.events=[e]:t.push(e)}}function Dz(e){var a=v0().memoizedState;return nD({ref:a,nextImpl:e}),function(){if((V1&2)!==0)throw Error(D(440));return a.impl.apply(void 0,arguments)}}function Pz(e,a){return Zc(4,2,e,a)}function Nz(e,a){return Zc(4,4,e,a)}function Oz(e,a){if(typeof a=="function"){e=e();var t=a(e);return function(){typeof t=="function"?t():a(null)}}if(a!=null)return e=e(),a.current=e,function(){a.current=null}}function Ez(e,a,t){t=t!=null?t.concat([e]):null,Zc(4,4,Oz.bind(null,a,e),t)}function Gh(){}function Iz(e,a){var t=v0();a=a===void 0?null:a;var o=t.memoizedState;return a!==null&&Dh(a,o[1])?o[0]:(t.memoizedState=[e,a],e)}function Uz(e,a){var t=v0();a=a===void 0?null:a;var o=t.memoizedState;if(a!==null&&Dh(a,o[1]))return o[0];if(o=e(),vo){Qa(!0);try{e()}finally{Qa(!1)}}return t.memoizedState=[o,a],o}function Wh(e,a,t){return t===void 0||(ra&1073741824)!==0&&(x1&261930)===0?e.memoizedState=a:(e.memoizedState=t,e=qA(),i1.lanes|=e,ut|=e,t)}function jz(e,a,t,o){return a2(t,a)?t:cr.current!==null?(e=Wh(e,t,o),a2(e,a)||(A0=!0),e):(ra&42)===0||(ra&1073741824)!==0&&(x1&261930)===0?(A0=!0,e.memoizedState=t):(e=qA(),i1.lanes|=e,ut|=e,a)}function Gz(e,a,t,o,l){var r=q1.p;q1.p=r!==0&&8>r?r:8;var n=a1.T,i={};a1.T=i,Kh(e,!1,a,t);try{var c=l(),s=a1.S;if(s!==null&&s(i,c),c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=aD(c,o);l3(e,a,u,e2(e))}else l3(e,a,o,e2(e))}catch(d){l3(e,a,{then:function(){},status:"rejected",reason:d},e2())}finally{q1.p=r,n!==null&&i.types!==null&&(n.types=i.types),a1.T=n}}function iD(){}function Kf(e,a,t,o){if(e.tag!==5)throw Error(D(476));var l=Wz(e).queue;Gz(e,l,a,io,t===null?iD:function(){return Qz(e),t(o)})}function Wz(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:io,baseState:io,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:na,lastRenderedState:io},next:null};var t={};return a.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:na,lastRenderedState:t},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function Qz(e){var a=Wz(e);a.next===null&&(a=e.alternate.memoizedState),l3(e,a.next.queue,{},e2())}function Qh(){return Q0(_3)}function Kz(){return v0().memoizedState}function Xz(){return v0().memoizedState}function cD(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var t=e2();e=et(t);var o=at(a,e,t);o!==null&&(V5(o,a,t),a3(o,a,t)),a={cache:Lh()},e.payload=a;return}a=a.return}}function sD(e,a,t){var o=e2();t={lane:o,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},Jc(e)?Zz(a,t):(t=Hh(e,a,t,o),t!==null&&(V5(t,e,o),Jz(t,a,o)))}function Yz(e,a,t){var o=e2();l3(e,a,t,o)}function l3(e,a,t,o){var l={lane:o,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(Jc(e))Zz(a,l);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=a.lastRenderedReducer,r!==null))try{var n=a.lastRenderedState,i=r(n,t);if(l.hasEagerState=!0,l.eagerState=i,a2(i,n))return Qc(e,a,l,0),U1===null&&Wc(),!1}catch{}if(t=Hh(e,a,l,o),t!==null)return V5(t,e,o),Jz(t,a,o),!0}return!1}function Kh(e,a,t,o){if(o={lane:2,revertLane:om(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Jc(e)){if(a)throw Error(D(479))}else a=Hh(e,t,o,2),a!==null&&V5(a,e,2)}function Jc(e){var a=e.alternate;return e===i1||a!==null&&a===i1}function Zz(e,a){tr=yc=!0;var t=e.pending;t===null?a.next=a:(a.next=t.next,t.next=a),e.pending=a}function Jz(e,a,t){if((t&4194048)!==0){var o=a.lanes;o&=e.pendingLanes,t|=o,a.lanes=t,D_(e,t)}}var x3={readContext:Q0,use:Yc,useCallback:r0,useContext:r0,useEffect:r0,useImperativeHandle:r0,useLayoutEffect:r0,useInsertionEffect:r0,useMemo:r0,useReducer:r0,useRef:r0,useState:r0,useDebugValue:r0,useDeferredValue:r0,useTransition:r0,useSyncExternalStore:r0,useId:r0,useHostTransitionStatus:r0,useFormState:r0,useActionState:r0,useOptimistic:r0,useMemoCache:r0,useCacheRefresh:r0};x3.useEffectEvent=r0;var $z={readContext:Q0,use:Yc,useCallback:function(e,a){return p5().memoizedState=[e,a===void 0?null:a],e},useContext:Q0,useEffect:BM,useImperativeHandle:function(e,a,t){t=t!=null?t.concat([e]):null,rc(4194308,4,Oz.bind(null,a,e),t)},useLayoutEffect:function(e,a){return rc(4194308,4,e,a)},useInsertionEffect:function(e,a){rc(4,2,e,a)},useMemo:function(e,a){var t=p5();a=a===void 0?null:a;var o=e();if(vo){Qa(!0);try{e()}finally{Qa(!1)}}return t.memoizedState=[o,a],o},useReducer:function(e,a,t){var o=p5();if(t!==void 0){var l=t(a);if(vo){Qa(!0);try{t(a)}finally{Qa(!1)}}}else l=a;return o.memoizedState=o.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},o.queue=e,e=e.dispatch=sD.bind(null,i1,e),[o.memoizedState,e]},useRef:function(e){var a=p5();return e={current:e},a.memoizedState=e},useState:function(e){e=Wf(e);var a=e.queue,t=Yz.bind(null,i1,a);return a.dispatch=t,[e.memoizedState,t]},useDebugValue:Gh,useDeferredValue:function(e,a){var t=p5();return Wh(t,e,a)},useTransition:function(){var e=Wf(!1);return e=Gz.bind(null,i1,e.queue,!0,!1),p5().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,t){var o=i1,l=p5();if(_1){if(t===void 0)throw Error(D(407));t=t()}else{if(t=a(),U1===null)throw Error(D(349));(x1&127)!==0||Sz(o,a,t)}l.memoizedState=t;var r={value:t,getSnapshot:a};return l.queue=r,BM(Hz.bind(null,o,r,e),[e]),o.flags|=2048,sr(9,{destroy:void 0},Rz.bind(null,o,r,t,a),null),t},useId:function(){var e=p5(),a=U1.identifierPrefix;if(_1){var t=fe,o=de;t=(o&~(1<<32-$5(o)-1)).toString(32)+t,a="_"+a+"R_"+t,t=Sc++,0<t&&(a+="H"+t.toString(32)),a+="_"}else t=tD++,a="_"+a+"r_"+t.toString(32)+"_";return e.memoizedState=a},useHostTransitionStatus:Qh,useFormState:wM,useActionState:wM,useOptimistic:function(e){var a=p5();a.memoizedState=a.baseState=e;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=t,a=Kh.bind(null,i1,!0,t),t.dispatch=a,[e,a]},useMemoCache:Ih,useCacheRefresh:function(){return p5().memoizedState=cD.bind(null,i1)},useEffectEvent:function(e){var a=p5(),t={impl:e};return a.memoizedState=t,function(){if((V1&2)!==0)throw Error(D(440));return t.impl.apply(void 0,arguments)}}},Xh={readContext:Q0,use:Yc,useCallback:Iz,useContext:Q0,useEffect:jh,useImperativeHandle:Ez,useInsertionEffect:Pz,useLayoutEffect:Nz,useMemo:Uz,useReducer:lc,useRef:Bz,useState:function(){return lc(na)},useDebugValue:Gh,useDeferredValue:function(e,a){var t=v0();return jz(t,O1.memoizedState,e,a)},useTransition:function(){var e=lc(na)[0],a=v0().memoizedState;return[typeof e=="boolean"?e:q3(e),a]},useSyncExternalStore:yz,useId:Kz,useHostTransitionStatus:Qh,useFormState:kM,useActionState:kM,useOptimistic:function(e,a){var t=v0();return qz(t,O1,e,a)},useMemoCache:Ih,useCacheRefresh:Xz};Xh.useEffectEvent=Dz;var eA={readContext:Q0,use:Yc,useCallback:Iz,useContext:Q0,useEffect:jh,useImperativeHandle:Ez,useInsertionEffect:Pz,useLayoutEffect:Nz,useMemo:Uz,useReducer:af,useRef:Bz,useState:function(){return af(na)},useDebugValue:Gh,useDeferredValue:function(e,a){var t=v0();return O1===null?Wh(t,e,a):jz(t,O1.memoizedState,e,a)},useTransition:function(){var e=af(na)[0],a=v0().memoizedState;return[typeof e=="boolean"?e:q3(e),a]},useSyncExternalStore:yz,useId:Kz,useHostTransitionStatus:Qh,useFormState:TM,useActionState:TM,useOptimistic:function(e,a){var t=v0();return O1!==null?qz(t,O1,e,a):(t.baseState=e,[e,t.queue.dispatch])},useMemoCache:Ih,useCacheRefresh:Xz};eA.useEffectEvent=Dz;function tf(e,a,t,o){a=e.memoizedState,t=t(o,a),t=t==null?a:e0({},a,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var Xf={enqueueSetState:function(e,a,t){e=e._reactInternals;var o=e2(),l=et(o);l.payload=a,t!=null&&(l.callback=t),a=at(e,l,o),a!==null&&(V5(a,e,o),a3(a,e,o))},enqueueReplaceState:function(e,a,t){e=e._reactInternals;var o=e2(),l=et(o);l.tag=1,l.payload=a,t!=null&&(l.callback=t),a=at(e,l,o),a!==null&&(V5(a,e,o),a3(a,e,o))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var t=e2(),o=et(t);o.tag=2,a!=null&&(o.callback=a),a=at(e,o,t),a!==null&&(V5(a,e,t),a3(a,e,t))}};function DM(e,a,t,o,l,r,n){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,r,n):a.prototype&&a.prototype.isPureReactComponent?!h3(t,o)||!h3(l,r):!0}function PM(e,a,t,o){e=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(t,o),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(t,o),a.state!==e&&Xf.enqueueReplaceState(a,a.state,null)}function go(e,a){var t=a;if("ref"in a){t={};for(var o in a)o!=="ref"&&(t[o]=a[o])}if(e=e.defaultProps){t===a&&(t=e0({},t));for(var l in e)t[l]===void 0&&(t[l]=e[l])}return t}function aA(e){xc(e)}function tA(e){console.error(e)}function oA(e){xc(e)}function Rc(e,a){try{var t=e.onUncaughtError;t(a.value,{componentStack:a.stack})}catch(o){setTimeout(function(){throw o})}}function NM(e,a,t){try{var o=e.onCaughtError;o(t.value,{componentStack:t.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function Yf(e,a,t){return t=et(t),t.tag=3,t.payload={element:null},t.callback=function(){Rc(e,a)},t}function lA(e){return e=et(e),e.tag=3,e}function rA(e,a,t,o){var l=t.type.getDerivedStateFromError;if(typeof l=="function"){var r=o.value;e.payload=function(){return l(r)},e.callback=function(){NM(a,t,o)}}var n=t.stateNode;n!==null&&typeof n.componentDidCatch=="function"&&(e.callback=function(){NM(a,t,o),typeof l!="function"&&(tt===null?tt=new Set([this]):tt.add(this));var i=o.stack;this.componentDidCatch(o.value,{componentStack:i!==null?i:""})})}function uD(e,a,t,o,l){if(t.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(a=t.alternate,a!==null&&gr(a,t,l,!0),t=t2.current,t!==null){switch(t.tag){case 31:case 13:return H2===null?Lc():t.alternate===null&&n0===0&&(n0=3),t.flags&=-257,t.flags|=65536,t.lanes=l,o===zc?t.flags|=16384:(a=t.updateQueue,a===null?t.updateQueue=new Set([o]):a.add(o),mf(e,o,l)),!1;case 22:return t.flags|=65536,o===zc?t.flags|=16384:(a=t.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([o])},t.updateQueue=a):(t=a.retryQueue,t===null?a.retryQueue=new Set([o]):t.add(o)),mf(e,o,l)),!1}throw Error(D(435,t.tag))}return mf(e,o,l),Lc(),!1}if(_1)return a=t2.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=l,o!==Df&&(e=Error(D(422),{cause:o}),p3(S2(e,t)))):(o!==Df&&(a=Error(D(423),{cause:o}),p3(S2(a,t))),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,o=S2(o,t),l=Yf(e.stateNode,o,l),ef(e,l),n0!==4&&(n0=2)),!1;var r=Error(D(520),{cause:o});if(r=S2(r,t),i3===null?i3=[r]:i3.push(r),n0!==4&&(n0=2),a===null)return!0;o=S2(o,t),t=a;do{switch(t.tag){case 3:return t.flags|=65536,e=l&-l,t.lanes|=e,e=Yf(t.stateNode,o,e),ef(t,e),!1;case 1:if(a=t.type,r=t.stateNode,(t.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(tt===null||!tt.has(r))))return t.flags|=65536,l&=-l,t.lanes|=l,l=lA(l),rA(l,e,t,o),ef(t,l),!1}t=t.return}while(t!==null);return!1}var Yh=Error(D(461)),A0=!1;function j0(e,a,t,o){a.child=e===null?bz(a,null,t,o):po(a,e.child,t,o)}function OM(e,a,t,o,l){t=t.render;var r=a.ref;if("ref"in o){var n={};for(var i in o)i!=="ref"&&(n[i]=o[i])}else n=o;return mo(a),o=Ph(e,a,t,n,r,l),i=Nh(),e!==null&&!A0?(Oh(e,a,l),ia(e,a,l)):(_1&&i&&Vh(a),a.flags|=1,j0(e,a,o,l),a.child)}function EM(e,a,t,o,l){if(e===null){var r=t.type;return typeof r=="function"&&!Fh(r)&&r.defaultProps===void 0&&t.compare===null?(a.tag=15,a.type=r,nA(e,a,r,o,l)):(e=tc(t.type,null,o,a,a.mode,l),e.ref=a.ref,e.return=a,a.child=e)}if(r=e.child,!Zh(e,l)){var n=r.memoizedProps;if(t=t.compare,t=t!==null?t:h3,t(n,o)&&e.ref===a.ref)return ia(e,a,l)}return a.flags|=1,e=aa(r,o),e.ref=a.ref,e.return=a,a.child=e}function nA(e,a,t,o,l){if(e!==null){var r=e.memoizedProps;if(h3(r,o)&&e.ref===a.ref)if(A0=!1,a.pendingProps=o=r,Zh(e,l))(e.flags&131072)!==0&&(A0=!0);else return a.lanes=e.lanes,ia(e,a,l)}return Zf(e,a,t,o,l)}function iA(e,a,t,o){var l=o.children,r=e!==null?e.memoizedState:null;if(e===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((a.flags&128)!==0){if(r=r!==null?r.baseLanes|t:t,e!==null){for(o=a.child=e.child,l=0;o!==null;)l=l|o.lanes|o.childLanes,o=o.sibling;o=l&~r}else o=0,a.child=null;return IM(e,a,r,t,o)}if((t&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&oc(a,r!==null?r.cachePool:null),r!==null?VM(a,r):jf(),zz(a);else return o=a.lanes=536870912,IM(e,a,r!==null?r.baseLanes|t:t,t,o)}else r!==null?(oc(a,r.cachePool),VM(a,r),Ga(a),a.memoizedState=null):(e!==null&&oc(a,null),jf(),Ga(a));return j0(e,a,l,t),a.child}function X7(e,a){return e!==null&&e.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function IM(e,a,t,o,l){var r=wh();return r=r===null?null:{parent:z0._currentValue,pool:r},a.memoizedState={baseLanes:t,cachePool:r},e!==null&&oc(a,null),jf(),zz(a),e!==null&&gr(e,a,o,!0),a.childLanes=l,null}function nc(e,a){return a=Hc({mode:a.mode,children:a.children},e.mode),a.ref=e.ref,e.child=a,a.return=e,a}function UM(e,a,t){return po(a,e.child,null,t),e=nc(a,a.pendingProps),e.flags|=2,K5(a),a.memoizedState=null,e}function dD(e,a,t){var o=a.pendingProps,l=(a.flags&128)!==0;if(a.flags&=-129,e===null){if(_1){if(o.mode==="hidden")return e=nc(a,o),a.lanes=536870912,X7(null,e);if(Gf(a),(e=$1)?(e=$A(e,R2),e=e!==null&&e.data==="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:it!==null?{id:de,overflow:fe}:null,retryLane:536870912,hydrationErrors:null},t=fz(e),t.return=a,a.child=t,W0=a,$1=null)):e=null,e===null)throw ct(a);return a.lanes=536870912,null}return nc(a,o)}var r=e.memoizedState;if(r!==null){var n=r.dehydrated;if(Gf(a),l)if(a.flags&256)a.flags&=-257,a=UM(e,a,t);else if(a.memoizedState!==null)a.child=e.child,a.flags|=128,a=null;else throw Error(D(558));else if(A0||gr(e,a,t,!1),l=(t&e.childLanes)!==0,A0||l){if(o=U1,o!==null&&(n=P_(o,t),n!==0&&n!==r.retryLane))throw r.retryLane=n,_o(e,n),V5(o,e,n),Yh;Lc(),a=UM(e,a,t)}else e=r.treeContext,$1=F2(n.nextSibling),W0=a,_1=!0,$a=null,R2=!1,e!==null&&mz(a,e),a=nc(a,o),a.flags|=4096;return a}return e=aa(e.child,{mode:o.mode,children:o.children}),e.ref=a.ref,a.child=e,e.return=a,e}function ic(e,a){var t=a.ref;if(t===null)e!==null&&e.ref!==null&&(a.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(D(284));(e===null||e.ref!==t)&&(a.flags|=4194816)}}function Zf(e,a,t,o,l){return mo(a),t=Ph(e,a,t,o,void 0,l),o=Nh(),e!==null&&!A0?(Oh(e,a,l),ia(e,a,l)):(_1&&o&&Vh(a),a.flags|=1,j0(e,a,t,l),a.child)}function jM(e,a,t,o,l,r){return mo(a),a.updateQueue=null,t=Cz(a,o,t,l),Az(e),o=Nh(),e!==null&&!A0?(Oh(e,a,r),ia(e,a,r)):(_1&&o&&Vh(a),a.flags|=1,j0(e,a,t,r),a.child)}function GM(e,a,t,o,l){if(mo(a),a.stateNode===null){var r=Ql,n=t.contextType;typeof n=="object"&&n!==null&&(r=Q0(n)),r=new t(o,r),a.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Xf,a.stateNode=r,r._reactInternals=a,r=a.stateNode,r.props=o,r.state=a.memoizedState,r.refs={},Th(a),n=t.contextType,r.context=typeof n=="object"&&n!==null?Q0(n):Ql,r.state=a.memoizedState,n=t.getDerivedStateFromProps,typeof n=="function"&&(tf(a,t,n,o),r.state=a.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(n=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),n!==r.state&&Xf.enqueueReplaceState(r,r.state,null),o3(a,o,r,l),t3(),r.state=a.memoizedState),typeof r.componentDidMount=="function"&&(a.flags|=4194308),o=!0}else if(e===null){r=a.stateNode;var i=a.memoizedProps,c=go(t,i);r.props=c;var s=r.context,u=t.contextType;n=Ql,typeof u=="object"&&u!==null&&(n=Q0(u));var d=t.getDerivedStateFromProps;u=typeof d=="function"||typeof r.getSnapshotBeforeUpdate=="function",i=a.pendingProps!==i,u||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(i||s!==n)&&PM(a,r,o,n),Ia=!1;var f=a.memoizedState;r.state=f,o3(a,o,r,l),t3(),s=a.memoizedState,i||f!==s||Ia?(typeof d=="function"&&(tf(a,t,d,o),s=a.memoizedState),(c=Ia||DM(a,t,c,o,f,s,n))?(u||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(a.flags|=4194308)):(typeof r.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=o,a.memoizedState=s),r.props=o,r.state=s,r.context=n,o=c):(typeof r.componentDidMount=="function"&&(a.flags|=4194308),o=!1)}else{r=a.stateNode,If(e,a),n=a.memoizedProps,u=go(t,n),r.props=u,d=a.pendingProps,f=r.context,s=t.contextType,c=Ql,typeof s=="object"&&s!==null&&(c=Q0(s)),i=t.getDerivedStateFromProps,(s=typeof i=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(n!==d||f!==c)&&PM(a,r,o,c),Ia=!1,f=a.memoizedState,r.state=f,o3(a,o,r,l),t3();var h=a.memoizedState;n!==d||f!==h||Ia||e!==null&&e.dependencies!==null&&_c(e.dependencies)?(typeof i=="function"&&(tf(a,t,i,o),h=a.memoizedState),(u=Ia||DM(a,t,u,o,f,h,c)||e!==null&&e.dependencies!==null&&_c(e.dependencies))?(s||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(o,h,c),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(o,h,c)),typeof r.componentDidUpdate=="function"&&(a.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof r.componentDidUpdate!="function"||n===e.memoizedProps&&f===e.memoizedState||(a.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||n===e.memoizedProps&&f===e.memoizedState||(a.flags|=1024),a.memoizedProps=o,a.memoizedState=h),r.props=o,r.state=h,r.context=c,o=u):(typeof r.componentDidUpdate!="function"||n===e.memoizedProps&&f===e.memoizedState||(a.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||n===e.memoizedProps&&f===e.memoizedState||(a.flags|=1024),o=!1)}return r=o,ic(e,a),o=(a.flags&128)!==0,r||o?(r=a.stateNode,t=o&&typeof t.getDerivedStateFromError!="function"?null:r.render(),a.flags|=1,e!==null&&o?(a.child=po(a,e.child,null,l),a.child=po(a,null,t,l)):j0(e,a,t,l),a.memoizedState=r.state,e=a.child):e=ia(e,a,l),e}function WM(e,a,t,o){return ho(),a.flags|=256,j0(e,a,t,o),a.child}var of={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function lf(e){return{baseLanes:e,cachePool:vz()}}function rf(e,a,t){return e=e!==null?e.childLanes&~t:0,a&&(e|=Y5),e}function cA(e,a,t){var o=a.pendingProps,l=!1,r=(a.flags&128)!==0,n;if((n=r)||(n=e!==null&&e.memoizedState===null?!1:(p0.current&2)!==0),n&&(l=!0,a.flags&=-129),n=(a.flags&32)!==0,a.flags&=-33,e===null){if(_1){if(l?ja(a):Ga(a),(e=$1)?(e=$A(e,R2),e=e!==null&&e.data!=="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:it!==null?{id:de,overflow:fe}:null,retryLane:536870912,hydrationErrors:null},t=fz(e),t.return=a,a.child=t,W0=a,$1=null)):e=null,e===null)throw ct(a);return dh(e)?a.lanes=32:a.lanes=536870912,null}var i=o.children;return o=o.fallback,l?(Ga(a),l=a.mode,i=Hc({mode:"hidden",children:i},l),o=co(o,l,t,null),i.return=a,o.return=a,i.sibling=o,a.child=i,o=a.child,o.memoizedState=lf(t),o.childLanes=rf(e,n,t),a.memoizedState=of,X7(null,o)):(ja(a),Jf(a,i))}var c=e.memoizedState;if(c!==null&&(i=c.dehydrated,i!==null)){if(r)a.flags&256?(ja(a),a.flags&=-257,a=nf(e,a,t)):a.memoizedState!==null?(Ga(a),a.child=e.child,a.flags|=128,a=null):(Ga(a),i=o.fallback,l=a.mode,o=Hc({mode:"visible",children:o.children},l),i=co(i,l,t,null),i.flags|=2,o.return=a,i.return=a,o.sibling=i,a.child=o,po(a,e.child,null,t),o=a.child,o.memoizedState=lf(t),o.childLanes=rf(e,n,t),a.memoizedState=of,a=X7(null,o));else if(ja(a),dh(i)){if(n=i.nextSibling&&i.nextSibling.dataset,n)var s=n.dgst;n=s,o=Error(D(419)),o.stack="",o.digest=n,p3({value:o,source:null,stack:null}),a=nf(e,a,t)}else if(A0||gr(e,a,t,!1),n=(t&e.childLanes)!==0,A0||n){if(n=U1,n!==null&&(o=P_(n,t),o!==0&&o!==c.retryLane))throw c.retryLane=o,_o(e,o),V5(n,e,o),Yh;uh(i)||Lc(),a=nf(e,a,t)}else uh(i)?(a.flags|=192,a.child=e.child,a=null):(e=c.treeContext,$1=F2(i.nextSibling),W0=a,_1=!0,$a=null,R2=!1,e!==null&&mz(a,e),a=Jf(a,o.children),a.flags|=4096);return a}return l?(Ga(a),i=o.fallback,l=a.mode,c=e.child,s=c.sibling,o=aa(c,{mode:"hidden",children:o.children}),o.subtreeFlags=c.subtreeFlags&65011712,s!==null?i=aa(s,i):(i=co(i,l,t,null),i.flags|=2),i.return=a,o.return=a,o.sibling=i,a.child=o,X7(null,o),o=a.child,i=e.child.memoizedState,i===null?i=lf(t):(l=i.cachePool,l!==null?(c=z0._currentValue,l=l.parent!==c?{parent:c,pool:c}:l):l=vz(),i={baseLanes:i.baseLanes|t,cachePool:l}),o.memoizedState=i,o.childLanes=rf(e,n,t),a.memoizedState=of,X7(e.child,o)):(ja(a),t=e.child,e=t.sibling,t=aa(t,{mode:"visible",children:o.children}),t.return=a,t.sibling=null,e!==null&&(n=a.deletions,n===null?(a.deletions=[e],a.flags|=16):n.push(e)),a.child=t,a.memoizedState=null,t)}function Jf(e,a){return a=Hc({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function Hc(e,a){return e=X5(22,e,null,a),e.lanes=0,e}function nf(e,a,t){return po(a,e.child,null,t),e=Jf(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function QM(e,a,t){e.lanes|=a;var o=e.alternate;o!==null&&(o.lanes|=a),Nf(e.return,a,t)}function cf(e,a,t,o,l,r){var n=e.memoizedState;n===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:o,tail:t,tailMode:l,treeForkCount:r}:(n.isBackwards=a,n.rendering=null,n.renderingStartTime=0,n.last=o,n.tail=t,n.tailMode=l,n.treeForkCount=r)}function sA(e,a,t){var o=a.pendingProps,l=o.revealOrder,r=o.tail;o=o.children;var n=p0.current,i=(n&2)!==0;if(i?(n=n&1|2,a.flags|=128):n&=1,G1(p0,n),j0(e,a,o,t),o=_1?m3:0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&QM(e,t,a);else if(e.tag===19)QM(e,t,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(l){case"forwards":for(t=a.child,l=null;t!==null;)e=t.alternate,e!==null&&Cc(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=a.child,a.child=null):(l=t.sibling,t.sibling=null),cf(a,!1,l,t,r,o);break;case"backwards":case"unstable_legacy-backwards":for(t=null,l=a.child,a.child=null;l!==null;){if(e=l.alternate,e!==null&&Cc(e)===null){a.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}cf(a,!0,t,null,r,o);break;case"together":cf(a,!1,null,null,void 0,o);break;default:a.memoizedState=null}return a.child}function ia(e,a,t){if(e!==null&&(a.dependencies=e.dependencies),ut|=a.lanes,(t&a.childLanes)===0)if(e!==null){if(gr(e,a,t,!1),(t&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error(D(153));if(a.child!==null){for(e=a.child,t=aa(e,e.pendingProps),a.child=t,t.return=a;e.sibling!==null;)e=e.sibling,t=t.sibling=aa(e,e.pendingProps),t.return=a;t.sibling=null}return a.child}function Zh(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&_c(e)))}function fD(e,a,t){switch(a.tag){case 3:mc(a,a.stateNode.containerInfo),Ua(a,z0,e.memoizedState.cache),ho();break;case 27:case 5:Sf(a);break;case 4:mc(a,a.stateNode.containerInfo);break;case 10:Ua(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Gf(a),null;break;case 13:var o=a.memoizedState;if(o!==null)return o.dehydrated!==null?(ja(a),a.flags|=128,null):(t&a.child.childLanes)!==0?cA(e,a,t):(ja(a),e=ia(e,a,t),e!==null?e.sibling:null);ja(a);break;case 19:var l=(e.flags&128)!==0;if(o=(t&a.childLanes)!==0,o||(gr(e,a,t,!1),o=(t&a.childLanes)!==0),l){if(o)return sA(e,a,t);a.flags|=128}if(l=a.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),G1(p0,p0.current),o)break;return null;case 22:return a.lanes=0,iA(e,a,t,a.pendingProps);case 24:Ua(a,z0,e.memoizedState.cache)}return ia(e,a,t)}function uA(e,a,t){if(e!==null)if(e.memoizedProps!==a.pendingProps)A0=!0;else{if(!Zh(e,t)&&(a.flags&128)===0)return A0=!1,fD(e,a,t);A0=(e.flags&131072)!==0}else A0=!1,_1&&(a.flags&1048576)!==0&&hz(a,m3,a.index);switch(a.lanes=0,a.tag){case 16:e:{var o=a.pendingProps;if(e=ro(a.elementType),a.type=e,typeof e=="function")Fh(e)?(o=go(e,o),a.tag=1,a=GM(null,a,e,o,t)):(a.tag=0,a=Zf(null,a,e,o,t));else{if(e!=null){var l=e.$$typeof;if(l===ph){a.tag=11,a=OM(null,a,e,o,t);break e}else if(l===vh){a.tag=14,a=EM(null,a,e,o,t);break e}}throw a=Cf(e)||e,Error(D(306,a,""))}}return a;case 0:return Zf(e,a,a.type,a.pendingProps,t);case 1:return o=a.type,l=go(o,a.pendingProps),GM(e,a,o,l,t);case 3:e:{if(mc(a,a.stateNode.containerInfo),e===null)throw Error(D(387));o=a.pendingProps;var r=a.memoizedState;l=r.element,If(e,a),o3(a,o,null,t);var n=a.memoizedState;if(o=n.cache,Ua(a,z0,o),o!==r.cache&&Of(a,[z0],t,!0),t3(),o=n.element,r.isDehydrated)if(r={element:o,isDehydrated:!1,cache:n.cache},a.updateQueue.baseState=r,a.memoizedState=r,a.flags&256){a=WM(e,a,o,t);break e}else if(o!==l){l=S2(Error(D(424)),a),p3(l),a=WM(e,a,o,t);break e}else for(e=a.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,$1=F2(e.firstChild),W0=a,_1=!0,$a=null,R2=!0,t=bz(a,null,o,t),a.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(ho(),o===l){a=ia(e,a,t);break e}j0(e,a,o,t)}a=a.child}return a;case 26:return ic(e,a),e===null?(t=p_(a.type,null,a.pendingProps,null))?a.memoizedState=t:_1||(t=a.type,e=a.pendingProps,o=Bc(Ja.current).createElement(t),o[G0]=a,o[q5]=e,K0(o,t,e),D0(o),a.stateNode=o):a.memoizedState=p_(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return Sf(a),e===null&&_1&&(o=a.stateNode=eC(a.type,a.pendingProps,Ja.current),W0=a,R2=!0,l=$1,ft(a.type)?(fh=l,$1=F2(o.firstChild)):$1=l),j0(e,a,a.pendingProps.children,t),ic(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&_1&&((l=o=$1)&&(o=OD(o,a.type,a.pendingProps,R2),o!==null?(a.stateNode=o,W0=a,$1=F2(o.firstChild),R2=!1,l=!0):l=!1),l||ct(a)),Sf(a),l=a.type,r=a.pendingProps,n=e!==null?e.memoizedProps:null,o=r.children,ch(l,r)?o=null:n!==null&&ch(l,n)&&(a.flags|=32),a.memoizedState!==null&&(l=Ph(e,a,oD,null,null,t),_3._currentValue=l),ic(e,a),j0(e,a,o,t),a.child;case 6:return e===null&&_1&&((e=t=$1)&&(t=ED(t,a.pendingProps,R2),t!==null?(a.stateNode=t,W0=a,$1=null,e=!0):e=!1),e||ct(a)),null;case 13:return cA(e,a,t);case 4:return mc(a,a.stateNode.containerInfo),o=a.pendingProps,e===null?a.child=po(a,null,o,t):j0(e,a,o,t),a.child;case 11:return OM(e,a,a.type,a.pendingProps,t);case 7:return j0(e,a,a.pendingProps,t),a.child;case 8:return j0(e,a,a.pendingProps.children,t),a.child;case 12:return j0(e,a,a.pendingProps.children,t),a.child;case 10:return o=a.pendingProps,Ua(a,a.type,o.value),j0(e,a,o.children,t),a.child;case 9:return l=a.type._context,o=a.pendingProps.children,mo(a),l=Q0(l),o=o(l),a.flags|=1,j0(e,a,o,t),a.child;case 14:return EM(e,a,a.type,a.pendingProps,t);case 15:return nA(e,a,a.type,a.pendingProps,t);case 19:return sA(e,a,t);case 31:return dD(e,a,t);case 22:return iA(e,a,t,a.pendingProps);case 24:return mo(a),o=Q0(z0),e===null?(l=wh(),l===null&&(l=U1,r=Lh(),l.pooledCache=r,r.refCount++,r!==null&&(l.pooledCacheLanes|=t),l=r),a.memoizedState={parent:o,cache:l},Th(a),Ua(a,z0,l)):((e.lanes&t)!==0&&(If(e,a),o3(a,null,null,t),t3()),l=e.memoizedState,r=a.memoizedState,l.parent!==o?(l={parent:o,cache:o},a.memoizedState=l,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=l),Ua(a,z0,o)):(o=r.cache,Ua(a,z0,o),o!==l.cache&&Of(a,[z0],t,!0))),j0(e,a,a.pendingProps.children,t),a.child;case 29:throw a.pendingProps}throw Error(D(156,a.tag))}function We(e){e.flags|=4}function sf(e,a,t,o,l){if((a=(e.mode&32)!==0)&&(a=!1),a){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(kA())e.flags|=8192;else throw uo=zc,kh}else e.flags&=-16777217}function KM(e,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!oC(a))if(kA())e.flags|=8192;else throw uo=zc,kh}function Gi(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?T_():536870912,e.lanes|=a,ur|=a)}function I7(e,a){if(!_1)switch(e.tailMode){case"hidden":a=e.tail;for(var t=null;a!==null;)a.alternate!==null&&(t=a),a=a.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function J1(e){var a=e.alternate!==null&&e.alternate.child===e.child,t=0,o=0;if(a)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,o|=l.subtreeFlags&65011712,o|=l.flags&65011712,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=t,a}function hD(e,a,t){var o=a.pendingProps;switch(qh(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return J1(a),null;case 1:return J1(a),null;case 3:return t=a.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),ta(z0),lr(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(e===null||e.child===null)&&(Tl(a)?We(a):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,$9())),J1(a),null;case 26:var l=a.type,r=a.memoizedState;return e===null?(We(a),r!==null?(J1(a),KM(a,r)):(J1(a),sf(a,l,null,o,t))):r?r!==e.memoizedState?(We(a),J1(a),KM(a,r)):(J1(a),a.flags&=-16777217):(e=e.memoizedProps,e!==o&&We(a),J1(a),sf(a,l,e,o,t)),null;case 27:if(pc(a),t=Ja.current,l=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==o&&We(a);else{if(!o){if(a.stateNode===null)throw Error(D(166));return J1(a),null}e=me.current,Tl(a)?AM(a,e):(e=eC(l,o,t),a.stateNode=e,We(a))}return J1(a),null;case 5:if(pc(a),l=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==o&&We(a);else{if(!o){if(a.stateNode===null)throw Error(D(166));return J1(a),null}if(r=me.current,Tl(a))AM(a,r);else{var n=Bc(Ja.current);switch(r){case 1:r=n.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:r=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":r=n.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":r=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":r=n.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof o.is=="string"?n.createElement("select",{is:o.is}):n.createElement("select"),o.multiple?r.multiple=!0:o.size&&(r.size=o.size);break;default:r=typeof o.is=="string"?n.createElement(l,{is:o.is}):n.createElement(l)}}r[G0]=a,r[q5]=o;e:for(n=a.child;n!==null;){if(n.tag===5||n.tag===6)r.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}a.stateNode=r;e:switch(K0(r,l,o),l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&We(a)}}return J1(a),sf(a,a.type,e===null?null:e.memoizedProps,a.pendingProps,t),null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==o&&We(a);else{if(typeof o!="string"&&a.stateNode===null)throw Error(D(166));if(e=Ja.current,Tl(a)){if(e=a.stateNode,t=a.memoizedProps,o=null,l=W0,l!==null)switch(l.tag){case 27:case 5:o=l.memoizedProps}e[G0]=a,e=!!(e.nodeValue===t||o!==null&&o.suppressHydrationWarning===!0||YA(e.nodeValue,t)),e||ct(a,!0)}else e=Bc(e).createTextNode(o),e[G0]=a,a.stateNode=e}return J1(a),null;case 31:if(t=a.memoizedState,e===null||e.memoizedState!==null){if(o=Tl(a),t!==null){if(e===null){if(!o)throw Error(D(318));if(e=a.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(D(557));e[G0]=a}else ho(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;J1(a),e=!1}else t=$9(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e)return a.flags&256?(K5(a),a):(K5(a),null);if((a.flags&128)!==0)throw Error(D(558))}return J1(a),null;case 13:if(o=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=Tl(a),o!==null&&o.dehydrated!==null){if(e===null){if(!l)throw Error(D(318));if(l=a.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(D(317));l[G0]=a}else ho(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;J1(a),l=!1}else l=$9(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return a.flags&256?(K5(a),a):(K5(a),null)}return K5(a),(a.flags&128)!==0?(a.lanes=t,a):(t=o!==null,e=e!==null&&e.memoizedState!==null,t&&(o=a.child,l=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(l=o.alternate.memoizedState.cachePool.pool),r=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(r=o.memoizedState.cachePool.pool),r!==l&&(o.flags|=2048)),t!==e&&t&&(a.child.flags|=8192),Gi(a,a.updateQueue),J1(a),null);case 4:return lr(),e===null&&lm(a.stateNode.containerInfo),J1(a),null;case 10:return ta(a.type),J1(a),null;case 19:if(P0(p0),o=a.memoizedState,o===null)return J1(a),null;if(l=(a.flags&128)!==0,r=o.rendering,r===null)if(l)I7(o,!1);else{if(n0!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(r=Cc(e),r!==null){for(a.flags|=128,I7(o,!1),e=r.updateQueue,a.updateQueue=e,Gi(a,e),a.subtreeFlags=0,e=t,t=a.child;t!==null;)dz(t,e),t=t.sibling;return G1(p0,p0.current&1|2),_1&&Ye(a,o.treeForkCount),a.child}e=e.sibling}o.tail!==null&&Z5()>Vc&&(a.flags|=128,l=!0,I7(o,!1),a.lanes=4194304)}else{if(!l)if(e=Cc(r),e!==null){if(a.flags|=128,l=!0,e=e.updateQueue,a.updateQueue=e,Gi(a,e),I7(o,!0),o.tail===null&&o.tailMode==="hidden"&&!r.alternate&&!_1)return J1(a),null}else 2*Z5()-o.renderingStartTime>Vc&&t!==536870912&&(a.flags|=128,l=!0,I7(o,!1),a.lanes=4194304);o.isBackwards?(r.sibling=a.child,a.child=r):(e=o.last,e!==null?e.sibling=r:a.child=r,o.last=r)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Z5(),e.sibling=null,t=p0.current,G1(p0,l?t&1|2:t&1),_1&&Ye(a,o.treeForkCount),e):(J1(a),null);case 22:case 23:return K5(a),Bh(),o=a.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(a.flags|=8192):o&&(a.flags|=8192),o?(t&536870912)!==0&&(a.flags&128)===0&&(J1(a),a.subtreeFlags&6&&(a.flags|=8192)):J1(a),t=a.updateQueue,t!==null&&Gi(a,t.retryQueue),t=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),o=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==t&&(a.flags|=2048),e!==null&&P0(so),null;case 24:return t=null,e!==null&&(t=e.memoizedState.cache),a.memoizedState.cache!==t&&(a.flags|=2048),ta(z0),J1(a),null;case 25:return null;case 30:return null}throw Error(D(156,a.tag))}function mD(e,a){switch(qh(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return ta(z0),lr(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return pc(a),null;case 31:if(a.memoizedState!==null){if(K5(a),a.alternate===null)throw Error(D(340));ho()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 13:if(K5(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(D(340));ho()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return P0(p0),null;case 4:return lr(),null;case 10:return ta(a.type),null;case 22:case 23:return K5(a),Bh(),e!==null&&P0(so),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return ta(z0),null;case 25:return null;default:return null}}function dA(e,a){switch(qh(a),a.tag){case 3:ta(z0),lr();break;case 26:case 27:case 5:pc(a);break;case 4:lr();break;case 31:a.memoizedState!==null&&K5(a);break;case 13:K5(a);break;case 19:P0(p0);break;case 10:ta(a.type);break;case 22:case 23:K5(a),Bh(),e!==null&&P0(so);break;case 24:ta(z0)}}function L3(e,a){try{var t=a.updateQueue,o=t!==null?t.lastEffect:null;if(o!==null){var l=o.next;t=l;do{if((t.tag&e)===e){o=void 0;var r=t.create,n=t.inst;o=r(),n.destroy=o}t=t.next}while(t!==l)}}catch(i){B1(a,a.return,i)}}function st(e,a,t){try{var o=a.updateQueue,l=o!==null?o.lastEffect:null;if(l!==null){var r=l.next;o=r;do{if((o.tag&e)===e){var n=o.inst,i=n.destroy;if(i!==void 0){n.destroy=void 0,l=a;var c=t,s=i;try{s()}catch(u){B1(l,c,u)}}}o=o.next}while(o!==r)}}catch(u){B1(a,a.return,u)}}function fA(e){var a=e.updateQueue;if(a!==null){var t=e.stateNode;try{_z(a,t)}catch(o){B1(e,e.return,o)}}}function hA(e,a,t){t.props=go(e.type,e.memoizedProps),t.state=e.memoizedState;try{t.componentWillUnmount()}catch(o){B1(e,a,o)}}function r3(e,a){try{var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof t=="function"?e.refCleanup=t(o):t.current=o}}catch(l){B1(e,a,l)}}function he(e,a){var t=e.ref,o=e.refCleanup;if(t!==null)if(typeof o=="function")try{o()}catch(l){B1(e,a,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(l){B1(e,a,l)}else t.current=null}function mA(e){var a=e.type,t=e.memoizedProps,o=e.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":t.autoFocus&&o.focus();break e;case"img":t.src?o.src=t.src:t.srcSet&&(o.srcset=t.srcSet)}}catch(l){B1(e,e.return,l)}}function uf(e,a,t){try{var o=e.stateNode;kD(o,e.type,t,a),o[q5]=a}catch(l){B1(e,e.return,l)}}function pA(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ft(e.type)||e.tag===4}function df(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pA(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&&ft(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 $f(e,a,t){var o=e.tag;if(o===5||o===6)e=e.stateNode,a?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(e,a):(a=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.appendChild(e),t=t._reactRootContainer,t!=null||a.onclick!==null||(a.onclick=$e));else if(o!==4&&(o===27&&ft(e.type)&&(t=e.stateNode,a=null),e=e.child,e!==null))for($f(e,a,t),e=e.sibling;e!==null;)$f(e,a,t),e=e.sibling}function Fc(e,a,t){var o=e.tag;if(o===5||o===6)e=e.stateNode,a?t.insertBefore(e,a):t.appendChild(e);else if(o!==4&&(o===27&&ft(e.type)&&(t=e.stateNode),e=e.child,e!==null))for(Fc(e,a,t),e=e.sibling;e!==null;)Fc(e,a,t),e=e.sibling}function vA(e){var a=e.stateNode,t=e.memoizedProps;try{for(var o=e.type,l=a.attributes;l.length;)a.removeAttributeNode(l[0]);K0(a,o,t),a[G0]=e,a[q5]=t}catch(r){B1(e,e.return,r)}}var Ze=!1,_0=!1,ff=!1,XM=typeof WeakSet=="function"?WeakSet:Set,B0=null;function pD(e,a){if(e=e.containerInfo,nh=Oc,e=oz(e),Sh(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var o=t.getSelection&&t.getSelection();if(o&&o.rangeCount!==0){t=o.anchorNode;var l=o.anchorOffset,r=o.focusNode;o=o.focusOffset;try{t.nodeType,r.nodeType}catch{t=null;break e}var n=0,i=-1,c=-1,s=0,u=0,d=e,f=null;a:for(;;){for(var h;d!==t||l!==0&&d.nodeType!==3||(i=n+l),d!==r||o!==0&&d.nodeType!==3||(c=n+o),d.nodeType===3&&(n+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break a;if(f===t&&++s===l&&(i=n),f===r&&++u===o&&(c=n),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}t=i===-1||c===-1?null:{start:i,end:c}}else t=null}t=t||{start:0,end:0}}else t=null;for(ih={focusedElem:e,selectionRange:t},Oc=!1,B0=a;B0!==null;)if(a=B0,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,B0=e;else for(;B0!==null;){switch(a=B0,r=a.alternate,e=a.flags,a.tag){case 0:if((e&4)!==0&&(e=a.updateQueue,e=e!==null?e.events:null,e!==null))for(t=0;t<e.length;t++)l=e[t],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&r!==null){e=void 0,t=a,l=r.memoizedProps,r=r.memoizedState,o=t.stateNode;try{var g=go(t.type,l);e=o.getSnapshotBeforeUpdate(g,r),o.__reactInternalSnapshotBeforeUpdate=e}catch(m){B1(t,t.return,m)}}break;case 3:if((e&1024)!==0){if(e=a.stateNode.containerInfo,t=e.nodeType,t===9)sh(e);else if(t===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":sh(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(D(163))}if(e=a.sibling,e!==null){e.return=a.return,B0=e;break}B0=a.return}}function gA(e,a,t){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Ke(e,t),o&4&&L3(5,t);break;case 1:if(Ke(e,t),o&4)if(e=t.stateNode,a===null)try{e.componentDidMount()}catch(n){B1(t,t.return,n)}else{var l=go(t.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(l,a,e.__reactInternalSnapshotBeforeUpdate)}catch(n){B1(t,t.return,n)}}o&64&&fA(t),o&512&&r3(t,t.return);break;case 3:if(Ke(e,t),o&64&&(e=t.updateQueue,e!==null)){if(a=null,t.child!==null)switch(t.child.tag){case 27:case 5:a=t.child.stateNode;break;case 1:a=t.child.stateNode}try{_z(e,a)}catch(n){B1(t,t.return,n)}}break;case 27:a===null&&o&4&&vA(t);case 26:case 5:Ke(e,t),a===null&&o&4&&mA(t),o&512&&r3(t,t.return);break;case 12:Ke(e,t);break;case 31:Ke(e,t),o&4&&MA(e,t);break;case 13:Ke(e,t),o&4&&_A(e,t),o&64&&(e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(t=CD.bind(null,t),ID(e,t))));break;case 22:if(o=t.memoizedState!==null||Ze,!o){a=a!==null&&a.memoizedState!==null||_0,l=Ze;var r=_0;Ze=o,(_0=a)&&!r?Xe(e,t,(t.subtreeFlags&8772)!==0):Ke(e,t),Ze=l,_0=r}break;case 30:break;default:Ke(e,t)}}function xA(e){var a=e.alternate;a!==null&&(e.alternate=null,xA(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&Mh(a)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var l0=null,H5=!1;function Qe(e,a,t){for(t=t.child;t!==null;)bA(e,a,t),t=t.sibling}function bA(e,a,t){if(J5&&typeof J5.onCommitFiberUnmount=="function")try{J5.onCommitFiberUnmount(y3,t)}catch{}switch(t.tag){case 26:_0||he(t,a),Qe(e,a,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:_0||he(t,a);var o=l0,l=H5;ft(t.type)&&(l0=t.stateNode,H5=!1),Qe(e,a,t),s3(t.stateNode),l0=o,H5=l;break;case 5:_0||he(t,a);case 6:if(o=l0,l=H5,l0=null,Qe(e,a,t),l0=o,H5=l,l0!==null)if(H5)try{(l0.nodeType===9?l0.body:l0.nodeName==="HTML"?l0.ownerDocument.body:l0).removeChild(t.stateNode)}catch(r){B1(t,a,r)}else try{l0.removeChild(t.stateNode)}catch(r){B1(t,a,r)}break;case 18:l0!==null&&(H5?(e=l0,u_(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.stateNode),mr(e)):u_(l0,t.stateNode));break;case 4:o=l0,l=H5,l0=t.stateNode.containerInfo,H5=!0,Qe(e,a,t),l0=o,H5=l;break;case 0:case 11:case 14:case 15:st(2,t,a),_0||st(4,t,a),Qe(e,a,t);break;case 1:_0||(he(t,a),o=t.stateNode,typeof o.componentWillUnmount=="function"&&hA(t,a,o)),Qe(e,a,t);break;case 21:Qe(e,a,t);break;case 22:_0=(o=_0)||t.memoizedState!==null,Qe(e,a,t),_0=o;break;default:Qe(e,a,t)}}function MA(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{mr(e)}catch(t){B1(a,a.return,t)}}}function _A(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{mr(e)}catch(t){B1(a,a.return,t)}}function vD(e){switch(e.tag){case 31:case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new XM),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new XM),a;default:throw Error(D(435,e.tag))}}function Wi(e,a){var t=vD(e);a.forEach(function(o){if(!t.has(o)){t.add(o);var l=yD.bind(null,e,o);o.then(l,l)}})}function S5(e,a){var t=a.deletions;if(t!==null)for(var o=0;o<t.length;o++){var l=t[o],r=e,n=a,i=n;e:for(;i!==null;){switch(i.tag){case 27:if(ft(i.type)){l0=i.stateNode,H5=!1;break e}break;case 5:l0=i.stateNode,H5=!1;break e;case 3:case 4:l0=i.stateNode.containerInfo,H5=!0;break e}i=i.return}if(l0===null)throw Error(D(160));bA(r,n,l),l0=null,H5=!1,r=l.alternate,r!==null&&(r.return=null),l.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)zA(a,e),a=a.sibling}var j2=null;function zA(e,a){var t=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:S5(a,e),R5(e),o&4&&(st(3,e,e.return),L3(3,e),st(5,e,e.return));break;case 1:S5(a,e),R5(e),o&512&&(_0||t===null||he(t,t.return)),o&64&&Ze&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=t===null?o:t.concat(o))));break;case 26:var l=j2;if(S5(a,e),R5(e),o&512&&(_0||t===null||he(t,t.return)),o&4){var r=t!==null?t.memoizedState:null;if(o=e.memoizedState,t===null)if(o===null)if(e.stateNode===null){e:{o=e.type,t=e.memoizedProps,l=l.ownerDocument||l;a:switch(o){case"title":r=l.getElementsByTagName("title")[0],(!r||r[H3]||r[G0]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=l.createElement(o),l.head.insertBefore(r,l.querySelector("head > title"))),K0(r,o,t),r[G0]=e,D0(r),o=r;break e;case"link":var n=g_("link","href",l).get(o+(t.href||""));if(n){for(var i=0;i<n.length;i++)if(r=n[i],r.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&r.getAttribute("rel")===(t.rel==null?null:t.rel)&&r.getAttribute("title")===(t.title==null?null:t.title)&&r.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){n.splice(i,1);break a}}r=l.createElement(o),K0(r,o,t),l.head.appendChild(r);break;case"meta":if(n=g_("meta","content",l).get(o+(t.content||""))){for(i=0;i<n.length;i++)if(r=n[i],r.getAttribute("content")===(t.content==null?null:""+t.content)&&r.getAttribute("name")===(t.name==null?null:t.name)&&r.getAttribute("property")===(t.property==null?null:t.property)&&r.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&r.getAttribute("charset")===(t.charSet==null?null:t.charSet)){n.splice(i,1);break a}}r=l.createElement(o),K0(r,o,t),l.head.appendChild(r);break;default:throw Error(D(468,o))}r[G0]=e,D0(r),o=r}e.stateNode=o}else x_(l,e.type,e.stateNode);else e.stateNode=v_(l,o,e.memoizedProps);else r!==o?(r===null?t.stateNode!==null&&(t=t.stateNode,t.parentNode.removeChild(t)):r.count--,o===null?x_(l,e.type,e.stateNode):v_(l,o,e.memoizedProps)):o===null&&e.stateNode!==null&&uf(e,e.memoizedProps,t.memoizedProps)}break;case 27:S5(a,e),R5(e),o&512&&(_0||t===null||he(t,t.return)),t!==null&&o&4&&uf(e,e.memoizedProps,t.memoizedProps);break;case 5:if(S5(a,e),R5(e),o&512&&(_0||t===null||he(t,t.return)),e.flags&32){l=e.stateNode;try{nr(l,"")}catch(g){B1(e,e.return,g)}}o&4&&e.stateNode!=null&&(l=e.memoizedProps,uf(e,l,t!==null?t.memoizedProps:l)),o&1024&&(ff=!0);break;case 6:if(S5(a,e),R5(e),o&4){if(e.stateNode===null)throw Error(D(162));o=e.memoizedProps,t=e.stateNode;try{t.nodeValue=o}catch(g){B1(e,e.return,g)}}break;case 3:if(uc=null,l=j2,j2=Dc(a.containerInfo),S5(a,e),j2=l,R5(e),o&4&&t!==null&&t.memoizedState.isDehydrated)try{mr(a.containerInfo)}catch(g){B1(e,e.return,g)}ff&&(ff=!1,AA(e));break;case 4:o=j2,j2=Dc(e.stateNode.containerInfo),S5(a,e),R5(e),j2=o;break;case 12:S5(a,e),R5(e);break;case 31:S5(a,e),R5(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Wi(e,o)));break;case 13:S5(a,e),R5(e),e.child.flags&8192&&e.memoizedState!==null!=(t!==null&&t.memoizedState!==null)&&($c=Z5()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Wi(e,o)));break;case 22:l=e.memoizedState!==null;var c=t!==null&&t.memoizedState!==null,s=Ze,u=_0;if(Ze=s||l,_0=u||c,S5(a,e),_0=u,Ze=s,R5(e),o&8192)e:for(a=e.stateNode,a._visibility=l?a._visibility&-2:a._visibility|1,l&&(t===null||c||Ze||_0||no(e)),t=null,a=e;;){if(a.tag===5||a.tag===26){if(t===null){c=t=a;try{if(r=c.stateNode,l)n=r.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{i=c.stateNode;var d=c.memoizedProps.style,f=d!=null&&d.hasOwnProperty("display")?d.display:null;i.style.display=f==null||typeof f=="boolean"?"":(""+f).trim()}}catch(g){B1(c,c.return,g)}}}else if(a.tag===6){if(t===null){c=a;try{c.stateNode.nodeValue=l?"":c.memoizedProps}catch(g){B1(c,c.return,g)}}}else if(a.tag===18){if(t===null){c=a;try{var h=c.stateNode;l?d_(h,!0):d_(c.stateNode,!1)}catch(g){B1(c,c.return,g)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;t===a&&(t=null),a=a.return}t===a&&(t=null),a.sibling.return=a.return,a=a.sibling}o&4&&(o=e.updateQueue,o!==null&&(t=o.retryQueue,t!==null&&(o.retryQueue=null,Wi(e,t))));break;case 19:S5(a,e),R5(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Wi(e,o)));break;case 30:break;case 21:break;default:S5(a,e),R5(e)}}function R5(e){var a=e.flags;if(a&2){try{for(var t,o=e.return;o!==null;){if(pA(o)){t=o;break}o=o.return}if(t==null)throw Error(D(160));switch(t.tag){case 27:var l=t.stateNode,r=df(e);Fc(e,r,l);break;case 5:var n=t.stateNode;t.flags&32&&(nr(n,""),t.flags&=-33);var i=df(e);Fc(e,i,n);break;case 3:case 4:var c=t.stateNode.containerInfo,s=df(e);$f(e,s,c);break;default:throw Error(D(161))}}catch(u){B1(e,e.return,u)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function AA(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;AA(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function Ke(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)gA(e,a.alternate,a),a=a.sibling}function no(e){for(e=e.child;e!==null;){var a=e;switch(a.tag){case 0:case 11:case 14:case 15:st(4,a,a.return),no(a);break;case 1:he(a,a.return);var t=a.stateNode;typeof t.componentWillUnmount=="function"&&hA(a,a.return,t),no(a);break;case 27:s3(a.stateNode);case 26:case 5:he(a,a.return),no(a);break;case 22:a.memoizedState===null&&no(a);break;case 30:no(a);break;default:no(a)}e=e.sibling}}function Xe(e,a,t){for(t=t&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var o=a.alternate,l=e,r=a,n=r.flags;switch(r.tag){case 0:case 11:case 15:Xe(l,r,t),L3(4,r);break;case 1:if(Xe(l,r,t),o=r,l=o.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(s){B1(o,o.return,s)}if(o=r,l=o.updateQueue,l!==null){var i=o.stateNode;try{var c=l.shared.hiddenCallbacks;if(c!==null)for(l.shared.hiddenCallbacks=null,l=0;l<c.length;l++)Mz(c[l],i)}catch(s){B1(o,o.return,s)}}t&&n&64&&fA(r),r3(r,r.return);break;case 27:vA(r);case 26:case 5:Xe(l,r,t),t&&o===null&&n&4&&mA(r),r3(r,r.return);break;case 12:Xe(l,r,t);break;case 31:Xe(l,r,t),t&&n&4&&MA(l,r);break;case 13:Xe(l,r,t),t&&n&4&&_A(l,r);break;case 22:r.memoizedState===null&&Xe(l,r,t),r3(r,r.return);break;case 30:break;default:Xe(l,r,t)}a=a.sibling}}function Jh(e,a){var t=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==t&&(e!=null&&e.refCount++,t!=null&&V3(t))}function $h(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&V3(e))}function U2(e,a,t,o){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)CA(e,a,t,o),a=a.sibling}function CA(e,a,t,o){var l=a.flags;switch(a.tag){case 0:case 11:case 15:U2(e,a,t,o),l&2048&&L3(9,a);break;case 1:U2(e,a,t,o);break;case 3:U2(e,a,t,o),l&2048&&(e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&V3(e)));break;case 12:if(l&2048){U2(e,a,t,o),e=a.stateNode;try{var r=a.memoizedProps,n=r.id,i=r.onPostCommit;typeof i=="function"&&i(n,a.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(c){B1(a,a.return,c)}}else U2(e,a,t,o);break;case 31:U2(e,a,t,o);break;case 13:U2(e,a,t,o);break;case 23:break;case 22:r=a.stateNode,n=a.alternate,a.memoizedState!==null?r._visibility&2?U2(e,a,t,o):n3(e,a):r._visibility&2?U2(e,a,t,o):(r._visibility|=2,Dl(e,a,t,o,(a.subtreeFlags&10256)!==0||!1)),l&2048&&Jh(n,a);break;case 24:U2(e,a,t,o),l&2048&&$h(a.alternate,a);break;default:U2(e,a,t,o)}}function Dl(e,a,t,o,l){for(l=l&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var r=e,n=a,i=t,c=o,s=n.flags;switch(n.tag){case 0:case 11:case 15:Dl(r,n,i,c,l),L3(8,n);break;case 23:break;case 22:var u=n.stateNode;n.memoizedState!==null?u._visibility&2?Dl(r,n,i,c,l):n3(r,n):(u._visibility|=2,Dl(r,n,i,c,l)),l&&s&2048&&Jh(n.alternate,n);break;case 24:Dl(r,n,i,c,l),l&&s&2048&&$h(n.alternate,n);break;default:Dl(r,n,i,c,l)}a=a.sibling}}function n3(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var t=e,o=a,l=o.flags;switch(o.tag){case 22:n3(t,o),l&2048&&Jh(o.alternate,o);break;case 24:n3(t,o),l&2048&&$h(o.alternate,o);break;default:n3(t,o)}a=a.sibling}}var Y7=8192;function Bl(e,a,t){if(e.subtreeFlags&Y7)for(e=e.child;e!==null;)yA(e,a,t),e=e.sibling}function yA(e,a,t){switch(e.tag){case 26:Bl(e,a,t),e.flags&Y7&&e.memoizedState!==null&&eP(t,j2,e.memoizedState,e.memoizedProps);break;case 5:Bl(e,a,t);break;case 3:case 4:var o=j2;j2=Dc(e.stateNode.containerInfo),Bl(e,a,t),j2=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Y7,Y7=16777216,Bl(e,a,t),Y7=o):Bl(e,a,t));break;default:Bl(e,a,t)}}function SA(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function U7(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var t=0;t<a.length;t++){var o=a[t];B0=o,HA(o,e)}SA(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)RA(e),e=e.sibling}function RA(e){switch(e.tag){case 0:case 11:case 15:U7(e),e.flags&2048&&st(9,e,e.return);break;case 3:U7(e);break;case 12:U7(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&2&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,cc(e)):U7(e);break;default:U7(e)}}function cc(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var t=0;t<a.length;t++){var o=a[t];B0=o,HA(o,e)}SA(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:st(8,a,a.return),cc(a);break;case 22:t=a.stateNode,t._visibility&2&&(t._visibility&=-3,cc(a));break;default:cc(a)}e=e.sibling}}function HA(e,a){for(;B0!==null;){var t=B0;switch(t.tag){case 0:case 11:case 15:st(8,t,a);break;case 23:case 22:if(t.memoizedState!==null&&t.memoizedState.cachePool!==null){var o=t.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:V3(t.memoizedState.cache)}if(o=t.child,o!==null)o.return=t,B0=o;else e:for(t=e;B0!==null;){o=B0;var l=o.sibling,r=o.return;if(xA(o),o===t){B0=null;break e}if(l!==null){l.return=r,B0=l;break e}B0=r}}}var gD={getCacheForType:function(e){var a=Q0(z0),t=a.data.get(e);return t===void 0&&(t=e(),a.data.set(e,t)),t},cacheSignal:function(){return Q0(z0).controller.signal}},xD=typeof WeakMap=="function"?WeakMap:Map,V1=0,U1=null,v1=null,x1=0,T1=0,Q5=null,Xa=!1,br=!1,em=!1,ca=0,n0=0,ut=0,fo=0,am=0,Y5=0,ur=0,i3=null,F5=null,eh=!1,$c=0,FA=0,Vc=1/0,qc=null,tt=null,H0=0,ot=null,dr=null,oa=0,ah=0,th=null,VA=null,c3=0,oh=null;function e2(){return(V1&2)!==0&&x1!==0?x1&-x1:a1.T!==null?om():N_()}function qA(){if(Y5===0)if((x1&536870912)===0||_1){var e=Bi;Bi<<=1,(Bi&3932160)===0&&(Bi=262144),Y5=e}else Y5=536870912;return e=t2.current,e!==null&&(e.flags|=32),Y5}function V5(e,a,t){(e===U1&&(T1===2||T1===9)||e.cancelPendingCommit!==null)&&(fr(e,0),Ya(e,x1,Y5,!1)),R3(e,t),((V1&2)===0||e!==U1)&&(e===U1&&((V1&2)===0&&(fo|=t),n0===4&&Ya(e,x1,Y5,!1)),ve(e))}function LA(e,a,t){if((V1&6)!==0)throw Error(D(327));var o=!t&&(a&127)===0&&(a&e.expiredLanes)===0||S3(e,a),l=o?_D(e,a):hf(e,a,!0),r=o;do{if(l===0){br&&!o&&Ya(e,a,0,!1);break}else{if(t=e.current.alternate,r&&!bD(t)){l=hf(e,a,!1),r=!1;continue}if(l===2){if(r=a,e.errorRecoveryDisabledLanes&r)var n=0;else n=e.pendingLanes&-536870913,n=n!==0?n:n&536870912?536870912:0;if(n!==0){a=n;e:{var i=e;l=i3;var c=i.current.memoizedState.isDehydrated;if(c&&(fr(i,n).flags|=256),n=hf(i,n,!1),n!==2){if(em&&!c){i.errorRecoveryDisabledLanes|=r,fo|=r,l=4;break e}r=F5,F5=l,r!==null&&(F5===null?F5=r:F5.push.apply(F5,r))}l=n}if(r=!1,l!==2)continue}}if(l===1){fr(e,0),Ya(e,a,0,!0);break}e:{switch(o=e,r=l,r){case 0:case 1:throw Error(D(345));case 4:if((a&4194048)!==a)break;case 6:Ya(o,a,Y5,!Xa);break e;case 2:F5=null;break;case 3:case 5:break;default:throw Error(D(329))}if((a&62914560)===a&&(l=$c+300-Z5(),10<l)){if(Ya(o,a,Y5,!Xa),Ic(o,0,!0)!==0)break e;oa=a,o.timeoutHandle=JA(YM.bind(null,o,t,F5,qc,eh,a,Y5,fo,ur,Xa,r,"Throttled",-0,0),l);break e}YM(o,t,F5,qc,eh,a,Y5,fo,ur,Xa,r,null,-0,0)}}break}while(!0);ve(e)}function YM(e,a,t,o,l,r,n,i,c,s,u,d,f,h){if(e.timeoutHandle=-1,d=a.subtreeFlags,d&8192||(d&16785408)===16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:$e},yA(a,r,d);var g=(r&62914560)===r?$c-Z5():(r&4194048)===r?FA-Z5():0;if(g=aP(d,g),g!==null){oa=r,e.cancelPendingCommit=g(JM.bind(null,e,a,r,t,o,l,n,i,c,u,d,null,f,h)),Ya(e,r,n,!s);return}}JM(e,a,r,t,o,l,n,i,c)}function bD(e){for(var a=e;;){var t=a.tag;if((t===0||t===11||t===15)&&a.flags&16384&&(t=a.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var o=0;o<t.length;o++){var l=t[o],r=l.getSnapshot;l=l.value;try{if(!a2(r(),l))return!1}catch{return!1}}if(t=a.child,a.subtreeFlags&16384&&t!==null)t.return=a,a=t;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ya(e,a,t,o){a&=~am,a&=~fo,e.suspendedLanes|=a,e.pingedLanes&=~a,o&&(e.warmLanes|=a),o=e.expirationTimes;for(var l=a;0<l;){var r=31-$5(l),n=1<<r;o[r]=-1,l&=~n}t!==0&&B_(e,t,a)}function es(){return(V1&6)===0?(w3(0,!1),!1):!0}function tm(){if(v1!==null){if(T1===0)var e=v1.return;else e=v1,ea=zo=null,Eh(e),ar=null,v3=0,e=v1;for(;e!==null;)dA(e.alternate,e),e=e.return;v1=null}}function fr(e,a){var t=e.timeoutHandle;t!==-1&&(e.timeoutHandle=-1,DD(t)),t=e.cancelPendingCommit,t!==null&&(e.cancelPendingCommit=null,t()),oa=0,tm(),U1=e,v1=t=aa(e.current,null),x1=a,T1=0,Q5=null,Xa=!1,br=S3(e,a),em=!1,ur=Y5=am=fo=ut=n0=0,F5=i3=null,eh=!1,(a&8)!==0&&(a|=a&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=a;0<o;){var l=31-$5(o),r=1<<l;a|=e[l],o&=~r}return ca=a,Wc(),t}function wA(e,a){i1=null,a1.H=x3,a===xr||a===Kc?(a=HM(),T1=3):a===kh?(a=HM(),T1=4):T1=a===Yh?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Q5=a,v1===null&&(n0=1,Rc(e,S2(a,e.current)))}function kA(){var e=t2.current;return e===null?!0:(x1&4194048)===x1?H2===null:(x1&62914560)===x1||(x1&536870912)!==0?e===H2:!1}function TA(){var e=a1.H;return a1.H=x3,e===null?x3:e}function BA(){var e=a1.A;return a1.A=gD,e}function Lc(){n0=4,Xa||(x1&4194048)!==x1&&t2.current!==null||(br=!0),(ut&134217727)===0&&(fo&134217727)===0||U1===null||Ya(U1,x1,Y5,!1)}function hf(e,a,t){var o=V1;V1|=2;var l=TA(),r=BA();(U1!==e||x1!==a)&&(qc=null,fr(e,a)),a=!1;var n=n0;e:do try{if(T1!==0&&v1!==null){var i=v1,c=Q5;switch(T1){case 8:tm(),n=6;break e;case 3:case 2:case 9:case 6:t2.current===null&&(a=!0);var s=T1;if(T1=0,Q5=null,Yl(e,i,c,s),t&&br){n=0;break e}break;default:s=T1,T1=0,Q5=null,Yl(e,i,c,s)}}MD(),n=n0;break}catch(u){wA(e,u)}while(!0);return a&&e.shellSuspendCounter++,ea=zo=null,V1=o,a1.H=l,a1.A=r,v1===null&&(U1=null,x1=0,Wc()),n}function MD(){for(;v1!==null;)DA(v1)}function _D(e,a){var t=V1;V1|=2;var o=TA(),l=BA();U1!==e||x1!==a?(qc=null,Vc=Z5()+500,fr(e,a)):br=S3(e,a);e:do try{if(T1!==0&&v1!==null){a=v1;var r=Q5;a:switch(T1){case 1:T1=0,Q5=null,Yl(e,a,r,1);break;case 2:case 9:if(RM(r)){T1=0,Q5=null,ZM(a);break}a=function(){T1!==2&&T1!==9||U1!==e||(T1=7),ve(e)},r.then(a,a);break e;case 3:T1=7;break e;case 4:T1=5;break e;case 7:RM(r)?(T1=0,Q5=null,ZM(a)):(T1=0,Q5=null,Yl(e,a,r,7));break;case 5:var n=null;switch(v1.tag){case 26:n=v1.memoizedState;case 5:case 27:var i=v1;if(n?oC(n):i.stateNode.complete){T1=0,Q5=null;var c=i.sibling;if(c!==null)v1=c;else{var s=i.return;s!==null?(v1=s,as(s)):v1=null}break a}}T1=0,Q5=null,Yl(e,a,r,5);break;case 6:T1=0,Q5=null,Yl(e,a,r,6);break;case 8:tm(),n0=6;break e;default:throw Error(D(462))}}zD();break}catch(u){wA(e,u)}while(!0);return ea=zo=null,a1.H=o,a1.A=l,V1=t,v1!==null?0:(U1=null,x1=0,Wc(),n0)}function zD(){for(;v1!==null&&!GT();)DA(v1)}function DA(e){var a=uA(e.alternate,e,ca);e.memoizedProps=e.pendingProps,a===null?as(e):v1=a}function ZM(e){var a=e,t=a.alternate;switch(a.tag){case 15:case 0:a=jM(t,a,a.pendingProps,a.type,void 0,x1);break;case 11:a=jM(t,a,a.pendingProps,a.type.render,a.ref,x1);break;case 5:Eh(a);default:dA(t,a),a=v1=dz(a,ca),a=uA(t,a,ca)}e.memoizedProps=e.pendingProps,a===null?as(e):v1=a}function Yl(e,a,t,o){ea=zo=null,Eh(a),ar=null,v3=0;var l=a.return;try{if(uD(e,l,a,t,x1)){n0=1,Rc(e,S2(t,e.current)),v1=null;return}}catch(r){if(l!==null)throw v1=l,r;n0=1,Rc(e,S2(t,e.current)),v1=null;return}a.flags&32768?(_1||o===1?e=!0:br||(x1&536870912)!==0?e=!1:(Xa=e=!0,(o===2||o===9||o===3||o===6)&&(o=t2.current,o!==null&&o.tag===13&&(o.flags|=16384))),PA(a,e)):as(a)}function as(e){var a=e;do{if((a.flags&32768)!==0){PA(a,Xa);return}e=a.return;var t=hD(a.alternate,a,ca);if(t!==null){v1=t;return}if(a=a.sibling,a!==null){v1=a;return}v1=a=e}while(a!==null);n0===0&&(n0=5)}function PA(e,a){do{var t=mD(e.alternate,e);if(t!==null){t.flags&=32767,v1=t;return}if(t=e.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!a&&(e=e.sibling,e!==null)){v1=e;return}v1=e=t}while(e!==null);n0=6,v1=null}function JM(e,a,t,o,l,r,n,i,c){e.cancelPendingCommit=null;do ts();while(H0!==0);if((V1&6)!==0)throw Error(D(327));if(a!==null){if(a===e.current)throw Error(D(177));if(r=a.lanes|a.childLanes,r|=Rh,aB(e,t,r,n,i,c),e===U1&&(v1=U1=null,x1=0),dr=a,ot=e,oa=t,ah=r,th=l,VA=o,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,SD(vc,function(){return UA(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||o){o=a1.T,a1.T=null,l=q1.p,q1.p=2,n=V1,V1|=4;try{pD(e,a,t)}finally{V1=n,q1.p=l,a1.T=o}}H0=1,NA(),OA(),EA()}}function NA(){if(H0===1){H0=0;var e=ot,a=dr,t=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||t){t=a1.T,a1.T=null;var o=q1.p;q1.p=2;var l=V1;V1|=4;try{zA(a,e);var r=ih,n=oz(e.containerInfo),i=r.focusedElem,c=r.selectionRange;if(n!==i&&i&&i.ownerDocument&&tz(i.ownerDocument.documentElement,i)){if(c!==null&&Sh(i)){var s=c.start,u=c.end;if(u===void 0&&(u=s),"selectionStart"in i)i.selectionStart=s,i.selectionEnd=Math.min(u,i.value.length);else{var d=i.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var h=f.getSelection(),g=i.textContent.length,m=Math.min(c.start,g),b=c.end===void 0?m:Math.min(c.end,g);!h.extend&&m>b&&(n=b,b=m,m=n);var p=MM(i,m),x=MM(i,b);if(p&&x&&(h.rangeCount!==1||h.anchorNode!==p.node||h.anchorOffset!==p.offset||h.focusNode!==x.node||h.focusOffset!==x.offset)){var v=d.createRange();v.setStart(p.node,p.offset),h.removeAllRanges(),m>b?(h.addRange(v),h.extend(x.node,x.offset)):(v.setEnd(x.node,x.offset),h.addRange(v))}}}}for(d=[],h=i;h=h.parentNode;)h.nodeType===1&&d.push({element:h,left:h.scrollLeft,top:h.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<d.length;i++){var M=d[i];M.element.scrollLeft=M.left,M.element.scrollTop=M.top}}Oc=!!nh,ih=nh=null}finally{V1=l,q1.p=o,a1.T=t}}e.current=a,H0=2}}function OA(){if(H0===2){H0=0;var e=ot,a=dr,t=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||t){t=a1.T,a1.T=null;var o=q1.p;q1.p=2;var l=V1;V1|=4;try{gA(e,a.alternate,a)}finally{V1=l,q1.p=o,a1.T=t}}H0=3}}function EA(){if(H0===4||H0===3){H0=0,WT();var e=ot,a=dr,t=oa,o=VA;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?H0=5:(H0=0,dr=ot=null,IA(e,e.pendingLanes));var l=e.pendingLanes;if(l===0&&(tt=null),bh(t),a=a.stateNode,J5&&typeof J5.onCommitFiberRoot=="function")try{J5.onCommitFiberRoot(y3,a,void 0,(a.current.flags&128)===128)}catch{}if(o!==null){a=a1.T,l=q1.p,q1.p=2,a1.T=null;try{for(var r=e.onRecoverableError,n=0;n<o.length;n++){var i=o[n];r(i.value,{componentStack:i.stack})}}finally{a1.T=a,q1.p=l}}(oa&3)!==0&&ts(),ve(e),l=e.pendingLanes,(t&261930)!==0&&(l&42)!==0?e===oh?c3++:(c3=0,oh=e):c3=0,w3(0,!1)}}function IA(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,V3(a)))}function ts(){return NA(),OA(),EA(),UA()}function UA(){if(H0!==5)return!1;var e=ot,a=ah;ah=0;var t=bh(oa),o=a1.T,l=q1.p;try{q1.p=32>t?32:t,a1.T=null,t=th,th=null;var r=ot,n=oa;if(H0=0,dr=ot=null,oa=0,(V1&6)!==0)throw Error(D(331));var i=V1;if(V1|=4,RA(r.current),CA(r,r.current,n,t),V1=i,w3(0,!1),J5&&typeof J5.onPostCommitFiberRoot=="function")try{J5.onPostCommitFiberRoot(y3,r)}catch{}return!0}finally{q1.p=l,a1.T=o,IA(e,a)}}function $M(e,a,t){a=S2(t,a),a=Yf(e.stateNode,a,2),e=at(e,a,2),e!==null&&(R3(e,2),ve(e))}function B1(e,a,t){if(e.tag===3)$M(e,e,t);else for(;a!==null;){if(a.tag===3){$M(a,e,t);break}else if(a.tag===1){var o=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(tt===null||!tt.has(o))){e=S2(t,e),t=lA(2),o=at(a,t,2),o!==null&&(rA(t,o,a,e),R3(o,2),ve(o));break}}a=a.return}}function mf(e,a,t){var o=e.pingCache;if(o===null){o=e.pingCache=new xD;var l=new Set;o.set(a,l)}else l=o.get(a),l===void 0&&(l=new Set,o.set(a,l));l.has(t)||(em=!0,l.add(t),e=AD.bind(null,e,a,t),a.then(e,e))}function AD(e,a,t){var o=e.pingCache;o!==null&&o.delete(a),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,U1===e&&(x1&t)===t&&(n0===4||n0===3&&(x1&62914560)===x1&&300>Z5()-$c?(V1&2)===0&&fr(e,0):am|=t,ur===x1&&(ur=0)),ve(e)}function jA(e,a){a===0&&(a=T_()),e=_o(e,a),e!==null&&(R3(e,a),ve(e))}function CD(e){var a=e.memoizedState,t=0;a!==null&&(t=a.retryLane),jA(e,t)}function yD(e,a){var t=0;switch(e.tag){case 31:case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(D(314))}o!==null&&o.delete(a),jA(e,t)}function SD(e,a){return gh(e,a)}var wc=null,Pl=null,lh=!1,kc=!1,pf=!1,Za=0;function ve(e){e!==Pl&&e.next===null&&(Pl===null?wc=Pl=e:Pl=Pl.next=e),kc=!0,lh||(lh=!0,HD())}function w3(e,a){if(!pf&&kc){pf=!0;do for(var t=!1,o=wc;o!==null;){if(!a)if(e!==0){var l=o.pendingLanes;if(l===0)var r=0;else{var n=o.suspendedLanes,i=o.pingedLanes;r=(1<<31-$5(42|e)+1)-1,r&=l&~(n&~i),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(t=!0,e_(o,r))}else r=x1,r=Ic(o,o===U1?r:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(r&3)===0||S3(o,r)||(t=!0,e_(o,r));o=o.next}while(t);pf=!1}}function RD(){GA()}function GA(){kc=lh=!1;var e=0;Za!==0&&BD()&&(e=Za);for(var a=Z5(),t=null,o=wc;o!==null;){var l=o.next,r=WA(o,a);r===0?(o.next=null,t===null?wc=l:t.next=l,l===null&&(Pl=t)):(t=o,(e!==0||(r&3)!==0)&&(kc=!0)),o=l}H0!==0&&H0!==5||w3(e,!1),Za!==0&&(Za=0)}function WA(e,a){for(var t=e.suspendedLanes,o=e.pingedLanes,l=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var n=31-$5(r),i=1<<n,c=l[n];c===-1?((i&t)===0||(i&o)!==0)&&(l[n]=eB(i,a)):c<=a&&(e.expiredLanes|=i),r&=~i}if(a=U1,t=x1,t=Ic(e,e===a?t:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,t===0||e===a&&(T1===2||T1===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&U9(o),e.callbackNode=null,e.callbackPriority=0;if((t&3)===0||S3(e,t)){if(a=t&-t,a===e.callbackPriority)return a;switch(o!==null&&U9(o),bh(t)){case 2:case 8:t=w_;break;case 32:t=vc;break;case 268435456:t=k_;break;default:t=vc}return o=QA.bind(null,e),t=gh(t,o),e.callbackPriority=a,e.callbackNode=t,a}return o!==null&&o!==null&&U9(o),e.callbackPriority=2,e.callbackNode=null,2}function QA(e,a){if(H0!==0&&H0!==5)return e.callbackNode=null,e.callbackPriority=0,null;var t=e.callbackNode;if(ts()&&e.callbackNode!==t)return null;var o=x1;return o=Ic(e,e===U1?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(LA(e,o,a),WA(e,Z5()),e.callbackNode!=null&&e.callbackNode===t?QA.bind(null,e):null)}function e_(e,a){if(ts())return null;LA(e,a,!0)}function HD(){PD(function(){(V1&6)!==0?gh(L_,RD):GA()})}function om(){if(Za===0){var e=ir;e===0&&(e=Ti,Ti<<=1,(Ti&261888)===0&&(Ti=256)),Za=e}return Za}function a_(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:$i(""+e)}function t_(e,a){var t=a.ownerDocument.createElement("input");return t.name=a.name,t.value=a.value,e.id&&t.setAttribute("form",e.id),a.parentNode.insertBefore(t,a),e=new FormData(e),t.parentNode.removeChild(t),e}function FD(e,a,t,o,l){if(a==="submit"&&t&&t.stateNode===l){var r=a_((l[q5]||null).action),n=o.submitter;n&&(a=(a=n[q5]||null)?a_(a.formAction):n.getAttribute("formAction"),a!==null&&(r=a,n=null));var i=new Uc("action","action",null,o,l);e.push({event:i,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Za!==0){var c=n?t_(l,n):new FormData(l);Kf(t,{pending:!0,data:c,method:l.method,action:r},null,c)}}else typeof r=="function"&&(i.preventDefault(),c=n?t_(l,n):new FormData(l),Kf(t,{pending:!0,data:c,method:l.method,action:r},r,c))},currentTarget:l}]})}}for(Qi=0;Qi<Bf.length;Qi++)Ki=Bf[Qi],o_=Ki.toLowerCase(),l_=Ki[0].toUpperCase()+Ki.slice(1),G2(o_,"on"+l_);var Ki,o_,l_,Qi;G2(rz,"onAnimationEnd");G2(nz,"onAnimationIteration");G2(iz,"onAnimationStart");G2("dblclick","onDoubleClick");G2("focusin","onFocus");G2("focusout","onBlur");G2(QB,"onTransitionRun");G2(KB,"onTransitionStart");G2(XB,"onTransitionCancel");G2(cz,"onTransitionEnd");rr("onMouseEnter",["mouseout","mouseover"]);rr("onMouseLeave",["mouseout","mouseover"]);rr("onPointerEnter",["pointerout","pointerover"]);rr("onPointerLeave",["pointerout","pointerover"]);xo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));xo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));xo("onBeforeInput",["compositionend","keypress","textInput","paste"]);xo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));xo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));xo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var b3="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),VD=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(b3));function KA(e,a){a=(a&4)!==0;for(var t=0;t<e.length;t++){var o=e[t],l=o.event;o=o.listeners;e:{var r=void 0;if(a)for(var n=o.length-1;0<=n;n--){var i=o[n],c=i.instance,s=i.currentTarget;if(i=i.listener,c!==r&&l.isPropagationStopped())break e;r=i,l.currentTarget=s;try{r(l)}catch(u){xc(u)}l.currentTarget=null,r=c}else for(n=0;n<o.length;n++){if(i=o[n],c=i.instance,s=i.currentTarget,i=i.listener,c!==r&&l.isPropagationStopped())break e;r=i,l.currentTarget=s;try{r(l)}catch(u){xc(u)}l.currentTarget=null,r=c}}}}function p1(e,a){var t=a[Hf];t===void 0&&(t=a[Hf]=new Set);var o=e+"__bubble";t.has(o)||(XA(a,e,2,!1),t.add(o))}function vf(e,a,t){var o=0;a&&(o|=4),XA(t,e,o,a)}var Xi="_reactListening"+Math.random().toString(36).slice(2);function lm(e){if(!e[Xi]){e[Xi]=!0,O_.forEach(function(t){t!=="selectionchange"&&(VD.has(t)||vf(t,!1,e),vf(t,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[Xi]||(a[Xi]=!0,vf("selectionchange",!1,a))}}function XA(e,a,t,o){switch(cC(a)){case 2:var l=lP;break;case 8:l=rP;break;default:l=cm}t=l.bind(null,a,t,e),l=void 0,!wf||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(l=!0),o?l!==void 0?e.addEventListener(a,t,{capture:!0,passive:l}):e.addEventListener(a,t,!0):l!==void 0?e.addEventListener(a,t,{passive:l}):e.addEventListener(a,t,!1)}function gf(e,a,t,o,l){var r=o;if((a&1)===0&&(a&2)===0&&o!==null)e:for(;;){if(o===null)return;var n=o.tag;if(n===3||n===4){var i=o.stateNode.containerInfo;if(i===l)break;if(n===4)for(n=o.return;n!==null;){var c=n.tag;if((c===3||c===4)&&n.stateNode.containerInfo===l)return;n=n.return}for(;i!==null;){if(n=El(i),n===null)return;if(c=n.tag,c===5||c===6||c===26||c===27){o=r=n;continue e}i=i.parentNode}}o=o.return}K_(function(){var s=r,u=zh(t),d=[];e:{var f=sz.get(e);if(f!==void 0){var h=Uc,g=e;switch(e){case"keypress":if(ac(t)===0)break e;case"keydown":case"keyup":h=yB;break;case"focusin":g="focus",h=K9;break;case"focusout":g="blur",h=K9;break;case"beforeblur":case"afterblur":h=K9;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=dM;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=hB;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=HB;break;case rz:case nz:case iz:h=vB;break;case cz:h=VB;break;case"scroll":case"scrollend":h=dB;break;case"wheel":h=LB;break;case"copy":case"cut":case"paste":h=xB;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=hM;break;case"toggle":case"beforetoggle":h=kB}var m=(a&4)!==0,b=!m&&(e==="scroll"||e==="scrollend"),p=m?f!==null?f+"Capture":null:f;m=[];for(var x=s,v;x!==null;){var M=x;if(v=M.stateNode,M=M.tag,M!==5&&M!==26&&M!==27||v===null||p===null||(M=d3(x,p),M!=null&&m.push(M3(x,M,v))),b)break;x=x.return}0<m.length&&(f=new h(f,g,null,t,u),d.push({event:f,listeners:m}))}}if((a&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&t!==Lf&&(g=t.relatedTarget||t.fromElement)&&(El(g)||g[pr]))break e;if((h||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,h?(g=t.relatedTarget||t.toElement,h=s,g=g?El(g):null,g!==null&&(b=C3(g),m=g.tag,g!==b||m!==5&&m!==27&&m!==6)&&(g=null)):(h=null,g=s),h!==g)){if(m=dM,M="onMouseLeave",p="onMouseEnter",x="mouse",(e==="pointerout"||e==="pointerover")&&(m=hM,M="onPointerLeave",p="onPointerEnter",x="pointer"),b=h==null?f:K7(h),v=g==null?f:K7(g),f=new m(M,x+"leave",h,t,u),f.target=b,f.relatedTarget=v,M=null,El(u)===s&&(m=new m(p,x+"enter",g,t,u),m.target=v,m.relatedTarget=b,M=m),b=M,h&&g)a:{for(m=qD,p=h,x=g,v=0,M=p;M;M=m(M))v++;M=0;for(var _=x;_;_=m(_))M++;for(;0<v-M;)p=m(p),v--;for(;0<M-v;)x=m(x),M--;for(;v--;){if(p===x||x!==null&&p===x.alternate){m=p;break a}p=m(p),x=m(x)}m=null}else m=null;h!==null&&r_(d,f,h,m,!1),g!==null&&b!==null&&r_(d,b,g,m,!0)}}e:{if(f=s?K7(s):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var z=gM;else if(vM(f))if(ez)z=jB;else{z=IB;var A=EB}else h=f.nodeName,!h||h.toLowerCase()!=="input"||f.type!=="checkbox"&&f.type!=="radio"?s&&_h(s.elementType)&&(z=gM):z=UB;if(z&&(z=z(e,s))){$_(d,z,t,u);break e}A&&A(e,f,s),e==="focusout"&&s&&f.type==="number"&&s.memoizedProps.value!=null&&qf(f,"number",f.value)}switch(A=s?K7(s):window,e){case"focusin":(vM(A)||A.contentEditable==="true")&&(jl=A,kf=s,$7=null);break;case"focusout":$7=kf=jl=null;break;case"mousedown":Tf=!0;break;case"contextmenu":case"mouseup":case"dragend":Tf=!1,_M(d,t,u);break;case"selectionchange":if(WB)break;case"keydown":case"keyup":_M(d,t,u)}var S;if(yh)e:{switch(e){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else Ul?Z_(e,t)&&(R="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(R="onCompositionStart");R&&(Y_&&t.locale!=="ko"&&(Ul||R!=="onCompositionStart"?R==="onCompositionEnd"&&Ul&&(S=X_()):(Ka=u,Ah="value"in Ka?Ka.value:Ka.textContent,Ul=!0)),A=Tc(s,R),0<A.length&&(R=new fM(R,e,null,t,u),d.push({event:R,listeners:A}),S?R.data=S:(S=J_(t),S!==null&&(R.data=S)))),(S=BB?DB(e,t):PB(e,t))&&(R=Tc(s,"onBeforeInput"),0<R.length&&(A=new fM("onBeforeInput","beforeinput",null,t,u),d.push({event:A,listeners:R}),A.data=S)),FD(d,e,s,t,u)}KA(d,a)})}function M3(e,a,t){return{instance:e,listener:a,currentTarget:t}}function Tc(e,a){for(var t=a+"Capture",o=[];e!==null;){var l=e,r=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||r===null||(l=d3(e,t),l!=null&&o.unshift(M3(e,l,r)),l=d3(e,a),l!=null&&o.push(M3(e,l,r))),e.tag===3)return o;e=e.return}return[]}function qD(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function r_(e,a,t,o,l){for(var r=a._reactName,n=[];t!==null&&t!==o;){var i=t,c=i.alternate,s=i.stateNode;if(i=i.tag,c!==null&&c===o)break;i!==5&&i!==26&&i!==27||s===null||(c=s,l?(s=d3(t,r),s!=null&&n.unshift(M3(t,s,c))):l||(s=d3(t,r),s!=null&&n.push(M3(t,s,c)))),t=t.return}n.length!==0&&e.push({event:a,listeners:n})}var LD=/\r\n?/g,wD=/\u0000|\uFFFD/g;function n_(e){return(typeof e=="string"?e:""+e).replace(LD,`
9
+ `).replace(wD,"")}function YA(e,a){return a=n_(a),n_(e)===a}function N1(e,a,t,o,l,r){switch(t){case"children":typeof o=="string"?a==="body"||a==="textarea"&&o===""||nr(e,o):(typeof o=="number"||typeof o=="bigint")&&a!=="body"&&nr(e,""+o);break;case"className":Pi(e,"class",o);break;case"tabIndex":Pi(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Pi(e,t,o);break;case"style":Q_(e,o,r);break;case"data":if(a!=="object"){Pi(e,"data",o);break}case"src":case"href":if(o===""&&(a!=="a"||t!=="href")){e.removeAttribute(t);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(t);break}o=$i(""+o),e.setAttribute(t,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(t,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(t==="formAction"?(a!=="input"&&N1(e,a,"name",l.name,l,null),N1(e,a,"formEncType",l.formEncType,l,null),N1(e,a,"formMethod",l.formMethod,l,null),N1(e,a,"formTarget",l.formTarget,l,null)):(N1(e,a,"encType",l.encType,l,null),N1(e,a,"method",l.method,l,null),N1(e,a,"target",l.target,l,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(t);break}o=$i(""+o),e.setAttribute(t,o);break;case"onClick":o!=null&&(e.onclick=$e);break;case"onScroll":o!=null&&p1("scroll",e);break;case"onScrollEnd":o!=null&&p1("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(D(61));if(t=o.__html,t!=null){if(l.children!=null)throw Error(D(60));e.innerHTML=t}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}t=$i(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(t,""+o):e.removeAttribute(t);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(t,""):e.removeAttribute(t);break;case"capture":case"download":o===!0?e.setAttribute(t,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(t,o):e.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(t,o):e.removeAttribute(t);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(t):e.setAttribute(t,o);break;case"popover":p1("beforetoggle",e),p1("toggle",e),Ji(e,"popover",o);break;case"xlinkActuate":Ge(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Ge(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Ge(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Ge(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Ge(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Ge(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Ge(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Ge(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Ge(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":Ji(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=sB.get(t)||t,Ji(e,t,o))}}function rh(e,a,t,o,l,r){switch(t){case"style":Q_(e,o,r);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(D(61));if(t=o.__html,t!=null){if(l.children!=null)throw Error(D(60));e.innerHTML=t}}break;case"children":typeof o=="string"?nr(e,o):(typeof o=="number"||typeof o=="bigint")&&nr(e,""+o);break;case"onScroll":o!=null&&p1("scroll",e);break;case"onScrollEnd":o!=null&&p1("scrollend",e);break;case"onClick":o!=null&&(e.onclick=$e);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!E_.hasOwnProperty(t))e:{if(t[0]==="o"&&t[1]==="n"&&(l=t.endsWith("Capture"),a=t.slice(2,l?t.length-7:void 0),r=e[q5]||null,r=r!=null?r[t]:null,typeof r=="function"&&e.removeEventListener(a,r,l),typeof o=="function")){typeof r!="function"&&r!==null&&(t in e?e[t]=null:e.hasAttribute(t)&&e.removeAttribute(t)),e.addEventListener(a,o,l);break e}t in e?e[t]=o:o===!0?e.setAttribute(t,""):Ji(e,t,o)}}}function K0(e,a,t){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":p1("error",e),p1("load",e);var o=!1,l=!1,r;for(r in t)if(t.hasOwnProperty(r)){var n=t[r];if(n!=null)switch(r){case"src":o=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(D(137,a));default:N1(e,a,r,n,t,null)}}l&&N1(e,a,"srcSet",t.srcSet,t,null),o&&N1(e,a,"src",t.src,t,null);return;case"input":p1("invalid",e);var i=r=n=l=null,c=null,s=null;for(o in t)if(t.hasOwnProperty(o)){var u=t[o];if(u!=null)switch(o){case"name":l=u;break;case"type":n=u;break;case"checked":c=u;break;case"defaultChecked":s=u;break;case"value":r=u;break;case"defaultValue":i=u;break;case"children":case"dangerouslySetInnerHTML":if(u!=null)throw Error(D(137,a));break;default:N1(e,a,o,u,t,null)}}j_(e,r,i,c,s,n,l,!1);return;case"select":p1("invalid",e),o=n=r=null;for(l in t)if(t.hasOwnProperty(l)&&(i=t[l],i!=null))switch(l){case"value":r=i;break;case"defaultValue":n=i;break;case"multiple":o=i;default:N1(e,a,l,i,t,null)}a=r,t=n,e.multiple=!!o,a!=null?Jl(e,!!o,a,!1):t!=null&&Jl(e,!!o,t,!0);return;case"textarea":p1("invalid",e),r=l=o=null;for(n in t)if(t.hasOwnProperty(n)&&(i=t[n],i!=null))switch(n){case"value":o=i;break;case"defaultValue":l=i;break;case"children":r=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(D(91));break;default:N1(e,a,n,i,t,null)}W_(e,o,l,r);return;case"option":for(c in t)t.hasOwnProperty(c)&&(o=t[c],o!=null)&&(c==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":N1(e,a,c,o,t,null));return;case"dialog":p1("beforetoggle",e),p1("toggle",e),p1("cancel",e),p1("close",e);break;case"iframe":case"object":p1("load",e);break;case"video":case"audio":for(o=0;o<b3.length;o++)p1(b3[o],e);break;case"image":p1("error",e),p1("load",e);break;case"details":p1("toggle",e);break;case"embed":case"source":case"link":p1("error",e),p1("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(s in t)if(t.hasOwnProperty(s)&&(o=t[s],o!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(D(137,a));default:N1(e,a,s,o,t,null)}return;default:if(_h(a)){for(u in t)t.hasOwnProperty(u)&&(o=t[u],o!==void 0&&rh(e,a,u,o,t,void 0));return}}for(i in t)t.hasOwnProperty(i)&&(o=t[i],o!=null&&N1(e,a,i,o,t,null))}function kD(e,a,t,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,r=null,n=null,i=null,c=null,s=null,u=null;for(h in t){var d=t[h];if(t.hasOwnProperty(h)&&d!=null)switch(h){case"checked":break;case"value":break;case"defaultValue":c=d;default:o.hasOwnProperty(h)||N1(e,a,h,null,o,d)}}for(var f in o){var h=o[f];if(d=t[f],o.hasOwnProperty(f)&&(h!=null||d!=null))switch(f){case"type":r=h;break;case"name":l=h;break;case"checked":s=h;break;case"defaultChecked":u=h;break;case"value":n=h;break;case"defaultValue":i=h;break;case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(D(137,a));break;default:h!==d&&N1(e,a,f,h,o,d)}}Vf(e,n,i,c,s,u,r,l);return;case"select":h=n=i=f=null;for(r in t)if(c=t[r],t.hasOwnProperty(r)&&c!=null)switch(r){case"value":break;case"multiple":h=c;default:o.hasOwnProperty(r)||N1(e,a,r,null,o,c)}for(l in o)if(r=o[l],c=t[l],o.hasOwnProperty(l)&&(r!=null||c!=null))switch(l){case"value":f=r;break;case"defaultValue":i=r;break;case"multiple":n=r;default:r!==c&&N1(e,a,l,r,o,c)}a=i,t=n,o=h,f!=null?Jl(e,!!t,f,!1):!!o!=!!t&&(a!=null?Jl(e,!!t,a,!0):Jl(e,!!t,t?[]:"",!1));return;case"textarea":h=f=null;for(i in t)if(l=t[i],t.hasOwnProperty(i)&&l!=null&&!o.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:N1(e,a,i,null,o,l)}for(n in o)if(l=o[n],r=t[n],o.hasOwnProperty(n)&&(l!=null||r!=null))switch(n){case"value":f=l;break;case"defaultValue":h=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(D(91));break;default:l!==r&&N1(e,a,n,l,o,r)}G_(e,f,h);return;case"option":for(var g in t)f=t[g],t.hasOwnProperty(g)&&f!=null&&!o.hasOwnProperty(g)&&(g==="selected"?e.selected=!1:N1(e,a,g,null,o,f));for(c in o)f=o[c],h=t[c],o.hasOwnProperty(c)&&f!==h&&(f!=null||h!=null)&&(c==="selected"?e.selected=f&&typeof f!="function"&&typeof f!="symbol":N1(e,a,c,f,o,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in t)f=t[m],t.hasOwnProperty(m)&&f!=null&&!o.hasOwnProperty(m)&&N1(e,a,m,null,o,f);for(s in o)if(f=o[s],h=t[s],o.hasOwnProperty(s)&&f!==h&&(f!=null||h!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(D(137,a));break;default:N1(e,a,s,f,o,h)}return;default:if(_h(a)){for(var b in t)f=t[b],t.hasOwnProperty(b)&&f!==void 0&&!o.hasOwnProperty(b)&&rh(e,a,b,void 0,o,f);for(u in o)f=o[u],h=t[u],!o.hasOwnProperty(u)||f===h||f===void 0&&h===void 0||rh(e,a,u,f,o,h);return}}for(var p in t)f=t[p],t.hasOwnProperty(p)&&f!=null&&!o.hasOwnProperty(p)&&N1(e,a,p,null,o,f);for(d in o)f=o[d],h=t[d],!o.hasOwnProperty(d)||f===h||f==null&&h==null||N1(e,a,d,f,o,h)}function i_(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function TD(){if(typeof performance.getEntriesByType=="function"){for(var e=0,a=0,t=performance.getEntriesByType("resource"),o=0;o<t.length;o++){var l=t[o],r=l.transferSize,n=l.initiatorType,i=l.duration;if(r&&i&&i_(n)){for(n=0,i=l.responseEnd,o+=1;o<t.length;o++){var c=t[o],s=c.startTime;if(s>i)break;var u=c.transferSize,d=c.initiatorType;u&&i_(d)&&(c=c.responseEnd,n+=u*(c<i?1:(i-s)/(c-s)))}if(--o,a+=8*(r+n)/(l.duration/1e3),e++,10<e)break}}if(0<e)return a/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var nh=null,ih=null;function Bc(e){return e.nodeType===9?e:e.ownerDocument}function c_(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ZA(e,a){if(e===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&a==="foreignObject"?0:e}function ch(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var xf=null;function BD(){var e=window.event;return e&&e.type==="popstate"?e===xf?!1:(xf=e,!0):(xf=null,!1)}var JA=typeof setTimeout=="function"?setTimeout:void 0,DD=typeof clearTimeout=="function"?clearTimeout:void 0,s_=typeof Promise=="function"?Promise:void 0,PD=typeof queueMicrotask=="function"?queueMicrotask:typeof s_<"u"?function(e){return s_.resolve(null).then(e).catch(ND)}:JA;function ND(e){setTimeout(function(){throw e})}function ft(e){return e==="head"}function u_(e,a){var t=a,o=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&l.nodeType===8)if(t=l.data,t==="/$"||t==="/&"){if(o===0){e.removeChild(l),mr(a);return}o--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")o++;else if(t==="html")s3(e.ownerDocument.documentElement);else if(t==="head"){t=e.ownerDocument.head,s3(t);for(var r=t.firstChild;r;){var n=r.nextSibling,i=r.nodeName;r[H3]||i==="SCRIPT"||i==="STYLE"||i==="LINK"&&r.rel.toLowerCase()==="stylesheet"||t.removeChild(r),r=n}}else t==="body"&&s3(e.ownerDocument.body);t=l}while(t);mr(a)}function d_(e,a){var t=e;e=0;do{var o=t.nextSibling;if(t.nodeType===1?a?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(a?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),o&&o.nodeType===8)if(t=o.data,t==="/$"){if(e===0)break;e--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||e++;t=o}while(t)}function sh(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var t=a;switch(a=a.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":sh(t),Mh(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}e.removeChild(t)}}function OD(e,a,t,o){for(;e.nodeType===1;){var l=t;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[H3])switch(a){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(r=e.getAttribute("rel"),r==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(r!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){var r=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=F2(e.nextSibling),e===null)break}return null}function ED(e,a,t){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=F2(e.nextSibling),e===null))return null;return e}function $A(e,a){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=F2(e.nextSibling),e===null))return null;return e}function uh(e){return e.data==="$?"||e.data==="$~"}function dh(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function ID(e,a){var t=e.ownerDocument;if(e.data==="$~")e._reactRetry=a;else if(e.data!=="$?"||t.readyState!=="loading")a();else{var o=function(){a(),t.removeEventListener("DOMContentLoaded",o)};t.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function F2(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return e}var fh=null;function f_(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"||t==="/&"){if(a===0)return F2(e.nextSibling);a--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||a++}e=e.nextSibling}return null}function h_(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(a===0)return e;a--}else t!=="/$"&&t!=="/&"||a++}e=e.previousSibling}return null}function eC(e,a,t){switch(a=Bc(t),e){case"html":if(e=a.documentElement,!e)throw Error(D(452));return e;case"head":if(e=a.head,!e)throw Error(D(453));return e;case"body":if(e=a.body,!e)throw Error(D(454));return e;default:throw Error(D(451))}}function s3(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);Mh(e)}var V2=new Map,m_=new Set;function Dc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var sa=q1.d;q1.d={f:UD,r:jD,D:GD,C:WD,L:QD,m:KD,X:YD,S:XD,M:ZD};function UD(){var e=sa.f(),a=es();return e||a}function jD(e){var a=vr(e);a!==null&&a.tag===5&&a.type==="form"?Qz(a):sa.r(e)}var Mr=typeof document>"u"?null:document;function aC(e,a,t){var o=Mr;if(o&&typeof a=="string"&&a){var l=y2(a);l='link[rel="'+e+'"][href="'+l+'"]',typeof t=="string"&&(l+='[crossorigin="'+t+'"]'),m_.has(l)||(m_.add(l),e={rel:e,crossOrigin:t,href:a},o.querySelector(l)===null&&(a=o.createElement("link"),K0(a,"link",e),D0(a),o.head.appendChild(a)))}}function GD(e){sa.D(e),aC("dns-prefetch",e,null)}function WD(e,a){sa.C(e,a),aC("preconnect",e,a)}function QD(e,a,t){sa.L(e,a,t);var o=Mr;if(o&&e&&a){var l='link[rel="preload"][as="'+y2(a)+'"]';a==="image"&&t&&t.imageSrcSet?(l+='[imagesrcset="'+y2(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(l+='[imagesizes="'+y2(t.imageSizes)+'"]')):l+='[href="'+y2(e)+'"]';var r=l;switch(a){case"style":r=hr(e);break;case"script":r=_r(e)}V2.has(r)||(e=e0({rel:"preload",href:a==="image"&&t&&t.imageSrcSet?void 0:e,as:a},t),V2.set(r,e),o.querySelector(l)!==null||a==="style"&&o.querySelector(k3(r))||a==="script"&&o.querySelector(T3(r))||(a=o.createElement("link"),K0(a,"link",e),D0(a),o.head.appendChild(a)))}}function KD(e,a){sa.m(e,a);var t=Mr;if(t&&e){var o=a&&typeof a.as=="string"?a.as:"script",l='link[rel="modulepreload"][as="'+y2(o)+'"][href="'+y2(e)+'"]',r=l;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=_r(e)}if(!V2.has(r)&&(e=e0({rel:"modulepreload",href:e},a),V2.set(r,e),t.querySelector(l)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(T3(r)))return}o=t.createElement("link"),K0(o,"link",e),D0(o),t.head.appendChild(o)}}}function XD(e,a,t){sa.S(e,a,t);var o=Mr;if(o&&e){var l=Zl(o).hoistableStyles,r=hr(e);a=a||"default";var n=l.get(r);if(!n){var i={loading:0,preload:null};if(n=o.querySelector(k3(r)))i.loading=5;else{e=e0({rel:"stylesheet",href:e,"data-precedence":a},t),(t=V2.get(r))&&rm(e,t);var c=n=o.createElement("link");D0(c),K0(c,"link",e),c._p=new Promise(function(s,u){c.onload=s,c.onerror=u}),c.addEventListener("load",function(){i.loading|=1}),c.addEventListener("error",function(){i.loading|=2}),i.loading|=4,sc(n,a,o)}n={type:"stylesheet",instance:n,count:1,state:i},l.set(r,n)}}}function YD(e,a){sa.X(e,a);var t=Mr;if(t&&e){var o=Zl(t).hoistableScripts,l=_r(e),r=o.get(l);r||(r=t.querySelector(T3(l)),r||(e=e0({src:e,async:!0},a),(a=V2.get(l))&&nm(e,a),r=t.createElement("script"),D0(r),K0(r,"link",e),t.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},o.set(l,r))}}function ZD(e,a){sa.M(e,a);var t=Mr;if(t&&e){var o=Zl(t).hoistableScripts,l=_r(e),r=o.get(l);r||(r=t.querySelector(T3(l)),r||(e=e0({src:e,async:!0,type:"module"},a),(a=V2.get(l))&&nm(e,a),r=t.createElement("script"),D0(r),K0(r,"link",e),t.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},o.set(l,r))}}function p_(e,a,t,o){var l=(l=Ja.current)?Dc(l):null;if(!l)throw Error(D(446));switch(e){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(a=hr(t.href),t=Zl(l).hoistableStyles,o=t.get(a),o||(o={type:"style",instance:null,count:0,state:null},t.set(a,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){e=hr(t.href);var r=Zl(l).hoistableStyles,n=r.get(e);if(n||(l=l.ownerDocument||l,n={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,n),(r=l.querySelector(k3(e)))&&!r._p&&(n.instance=r,n.state.loading=5),V2.has(e)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},V2.set(e,t),r||JD(l,e,t,n.state))),a&&o===null)throw Error(D(528,""));return n}if(a&&o!==null)throw Error(D(529,""));return null;case"script":return a=t.async,t=t.src,typeof t=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=_r(t),t=Zl(l).hoistableScripts,o=t.get(a),o||(o={type:"script",instance:null,count:0,state:null},t.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(D(444,e))}}function hr(e){return'href="'+y2(e)+'"'}function k3(e){return'link[rel="stylesheet"]['+e+"]"}function tC(e){return e0({},e,{"data-precedence":e.precedence,precedence:null})}function JD(e,a,t,o){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?o.loading=1:(a=e.createElement("link"),o.preload=a,a.addEventListener("load",function(){return o.loading|=1}),a.addEventListener("error",function(){return o.loading|=2}),K0(a,"link",t),D0(a),e.head.appendChild(a))}function _r(e){return'[src="'+y2(e)+'"]'}function T3(e){return"script[async]"+e}function v_(e,a,t){if(a.count++,a.instance===null)switch(a.type){case"style":var o=e.querySelector('style[data-href~="'+y2(t.href)+'"]');if(o)return a.instance=o,D0(o),o;var l=e0({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),D0(o),K0(o,"style",l),sc(o,t.precedence,e),a.instance=o;case"stylesheet":l=hr(t.href);var r=e.querySelector(k3(l));if(r)return a.state.loading|=4,a.instance=r,D0(r),r;o=tC(t),(l=V2.get(l))&&rm(o,l),r=(e.ownerDocument||e).createElement("link"),D0(r);var n=r;return n._p=new Promise(function(i,c){n.onload=i,n.onerror=c}),K0(r,"link",o),a.state.loading|=4,sc(r,t.precedence,e),a.instance=r;case"script":return r=_r(t.src),(l=e.querySelector(T3(r)))?(a.instance=l,D0(l),l):(o=t,(l=V2.get(r))&&(o=e0({},t),nm(o,l)),e=e.ownerDocument||e,l=e.createElement("script"),D0(l),K0(l,"link",o),e.head.appendChild(l),a.instance=l);case"void":return null;default:throw Error(D(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(o=a.instance,a.state.loading|=4,sc(o,t.precedence,e));return a.instance}function sc(e,a,t){for(var o=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=o.length?o[o.length-1]:null,r=l,n=0;n<o.length;n++){var i=o[n];if(i.dataset.precedence===a)r=i;else if(r!==l)break}r?r.parentNode.insertBefore(e,r.nextSibling):(a=t.nodeType===9?t.head:t,a.insertBefore(e,a.firstChild))}function rm(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function nm(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var uc=null;function g_(e,a,t){if(uc===null){var o=new Map,l=uc=new Map;l.set(t,o)}else l=uc,o=l.get(t),o||(o=new Map,l.set(t,o));if(o.has(e))return o;for(o.set(e,null),t=t.getElementsByTagName(e),l=0;l<t.length;l++){var r=t[l];if(!(r[H3]||r[G0]||e==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var n=r.getAttribute(a)||"";n=e+n;var i=o.get(n);i?i.push(r):o.set(n,[r])}}return o}function x_(e,a,t){e=e.ownerDocument||e,e.head.insertBefore(t,a==="title"?e.querySelector("head > title"):null)}function $D(e,a,t){if(t===1||a.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;return a.rel==="stylesheet"?(e=a.disabled,typeof a.precedence=="string"&&e==null):!0;case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function oC(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function eP(e,a,t,o){if(t.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var l=hr(o.href),r=a.querySelector(k3(l));if(r){a=r._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(e.count++,e=Pc.bind(e),a.then(e,e)),t.state.loading|=4,t.instance=r,D0(r);return}r=a.ownerDocument||a,o=tC(o),(l=V2.get(l))&&rm(o,l),r=r.createElement("link"),D0(r);var n=r;n._p=new Promise(function(i,c){n.onload=i,n.onerror=c}),K0(r,"link",o),t.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(t,a),(a=t.state.preload)&&(t.state.loading&3)===0&&(e.count++,t=Pc.bind(e),a.addEventListener("load",t),a.addEventListener("error",t))}}var bf=0;function aP(e,a){return e.stylesheets&&e.count===0&&dc(e,e.stylesheets),0<e.count||0<e.imgCount?function(t){var o=setTimeout(function(){if(e.stylesheets&&dc(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},6e4+a);0<e.imgBytes&&bf===0&&(bf=62500*TD());var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&dc(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>bf?50:800)+a);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(l)}}:null}function Pc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)dc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Nc=null;function dc(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Nc=new Map,a.forEach(tP,e),Nc=null,Pc.call(e))}function tP(e,a){if(!(a.state.loading&4)){var t=Nc.get(e);if(t)var o=t.get(null);else{t=new Map,Nc.set(e,t);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<l.length;r++){var n=l[r];(n.nodeName==="LINK"||n.getAttribute("media")!=="not all")&&(t.set(n.dataset.precedence,n),o=n)}o&&t.set(null,o)}l=a.instance,n=l.getAttribute("data-precedence"),r=t.get(n)||o,r===o&&t.set(null,l),t.set(n,l),this.count++,o=Pc.bind(this),l.addEventListener("load",o),l.addEventListener("error",o),r?r.parentNode.insertBefore(l,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),a.state.loading|=4}}var _3={$$typeof:Je,Provider:null,Consumer:null,_currentValue:io,_currentValue2:io,_threadCount:0};function oP(e,a,t,o,l,r,n,i,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=j9(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=j9(0),this.hiddenUpdates=j9(null),this.identifierPrefix=o,this.onUncaughtError=l,this.onCaughtError=r,this.onRecoverableError=n,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function lC(e,a,t,o,l,r,n,i,c,s,u,d){return e=new oP(e,a,t,n,c,s,u,d,i),a=1,r===!0&&(a|=24),r=X5(3,null,null,a),e.current=r,r.stateNode=e,a=Lh(),a.refCount++,e.pooledCache=a,a.refCount++,r.memoizedState={element:o,isDehydrated:t,cache:a},Th(r),e}function rC(e){return e?(e=Ql,e):Ql}function nC(e,a,t,o,l,r){l=rC(l),o.context===null?o.context=l:o.pendingContext=l,o=et(a),o.payload={element:t},r=r===void 0?null:r,r!==null&&(o.callback=r),t=at(e,o,a),t!==null&&(V5(t,e,a),a3(t,e,a))}function b_(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<a?t:a}}function im(e,a){b_(e,a),(e=e.alternate)&&b_(e,a)}function iC(e){if(e.tag===13||e.tag===31){var a=_o(e,67108864);a!==null&&V5(a,e,67108864),im(e,67108864)}}function M_(e){if(e.tag===13||e.tag===31){var a=e2();a=xh(a);var t=_o(e,a);t!==null&&V5(t,e,a),im(e,a)}}var Oc=!0;function lP(e,a,t,o){var l=a1.T;a1.T=null;var r=q1.p;try{q1.p=2,cm(e,a,t,o)}finally{q1.p=r,a1.T=l}}function rP(e,a,t,o){var l=a1.T;a1.T=null;var r=q1.p;try{q1.p=8,cm(e,a,t,o)}finally{q1.p=r,a1.T=l}}function cm(e,a,t,o){if(Oc){var l=hh(o);if(l===null)gf(e,a,o,Ec,t),__(e,o);else if(iP(l,e,a,t,o))o.stopPropagation();else if(__(e,o),a&4&&-1<nP.indexOf(e)){for(;l!==null;){var r=vr(l);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var n=lo(r.pendingLanes);if(n!==0){var i=r;for(i.pendingLanes|=2,i.entangledLanes|=2;n;){var c=1<<31-$5(n);i.entanglements[1]|=c,n&=~c}ve(r),(V1&6)===0&&(Vc=Z5()+500,w3(0,!1))}}break;case 31:case 13:i=_o(r,2),i!==null&&V5(i,r,2),es(),im(r,2)}if(r=hh(o),r===null&&gf(e,a,o,Ec,t),r===l)break;l=r}l!==null&&o.stopPropagation()}else gf(e,a,o,null,t)}}function hh(e){return e=zh(e),sm(e)}var Ec=null;function sm(e){if(Ec=null,e=El(e),e!==null){var a=C3(e);if(a===null)e=null;else{var t=a.tag;if(t===13){if(e=R_(a),e!==null)return e;e=null}else if(t===31){if(e=H_(a),e!==null)return e;e=null}else if(t===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return Ec=e,null}function cC(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(QT()){case L_:return 2;case w_:return 8;case vc:case KT:return 32;case k_:return 268435456;default:return 32}default:return 32}}var mh=!1,lt=null,rt=null,nt=null,z3=new Map,A3=new Map,Wa=[],nP="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function __(e,a){switch(e){case"focusin":case"focusout":lt=null;break;case"dragenter":case"dragleave":rt=null;break;case"mouseover":case"mouseout":nt=null;break;case"pointerover":case"pointerout":z3.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":A3.delete(a.pointerId)}}function j7(e,a,t,o,l,r){return e===null||e.nativeEvent!==r?(e={blockedOn:a,domEventName:t,eventSystemFlags:o,nativeEvent:r,targetContainers:[l]},a!==null&&(a=vr(a),a!==null&&iC(a)),e):(e.eventSystemFlags|=o,a=e.targetContainers,l!==null&&a.indexOf(l)===-1&&a.push(l),e)}function iP(e,a,t,o,l){switch(a){case"focusin":return lt=j7(lt,e,a,t,o,l),!0;case"dragenter":return rt=j7(rt,e,a,t,o,l),!0;case"mouseover":return nt=j7(nt,e,a,t,o,l),!0;case"pointerover":var r=l.pointerId;return z3.set(r,j7(z3.get(r)||null,e,a,t,o,l)),!0;case"gotpointercapture":return r=l.pointerId,A3.set(r,j7(A3.get(r)||null,e,a,t,o,l)),!0}return!1}function sC(e){var a=El(e.target);if(a!==null){var t=C3(a);if(t!==null){if(a=t.tag,a===13){if(a=R_(t),a!==null){e.blockedOn=a,lM(e.priority,function(){M_(t)});return}}else if(a===31){if(a=H_(t),a!==null){e.blockedOn=a,lM(e.priority,function(){M_(t)});return}}else if(a===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fc(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var t=hh(e.nativeEvent);if(t===null){t=e.nativeEvent;var o=new t.constructor(t.type,t);Lf=o,t.target.dispatchEvent(o),Lf=null}else return a=vr(t),a!==null&&iC(a),e.blockedOn=t,!1;a.shift()}return!0}function z_(e,a,t){fc(e)&&t.delete(a)}function cP(){mh=!1,lt!==null&&fc(lt)&&(lt=null),rt!==null&&fc(rt)&&(rt=null),nt!==null&&fc(nt)&&(nt=null),z3.forEach(z_),A3.forEach(z_)}function Yi(e,a){e.blockedOn===a&&(e.blockedOn=null,mh||(mh=!0,F0.unstable_scheduleCallback(F0.unstable_NormalPriority,cP)))}var Zi=null;function A_(e){Zi!==e&&(Zi=e,F0.unstable_scheduleCallback(F0.unstable_NormalPriority,function(){Zi===e&&(Zi=null);for(var a=0;a<e.length;a+=3){var t=e[a],o=e[a+1],l=e[a+2];if(typeof o!="function"){if(sm(o||t)===null)continue;break}var r=vr(t);r!==null&&(e.splice(a,3),a-=3,Kf(r,{pending:!0,data:l,method:t.method,action:o},o,l))}}))}function mr(e){function a(c){return Yi(c,e)}lt!==null&&Yi(lt,e),rt!==null&&Yi(rt,e),nt!==null&&Yi(nt,e),z3.forEach(a),A3.forEach(a);for(var t=0;t<Wa.length;t++){var o=Wa[t];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Wa.length&&(t=Wa[0],t.blockedOn===null);)sC(t),t.blockedOn===null&&Wa.shift();if(t=(e.ownerDocument||e).$$reactFormReplay,t!=null)for(o=0;o<t.length;o+=3){var l=t[o],r=t[o+1],n=l[q5]||null;if(typeof r=="function")n||A_(t);else if(n){var i=null;if(r&&r.hasAttribute("formAction")){if(l=r,n=r[q5]||null)i=n.formAction;else if(sm(l)!==null)continue}else i=n.action;typeof i=="function"?t[o+1]=i:(t.splice(o,3),o-=3),A_(t)}}}function uC(){function e(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(n){return l=n})},focusReset:"manual",scroll:"manual"})}function a(){l!==null&&(l(),l=null),o||setTimeout(t,20)}function t(){if(!o&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(t,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),l!==null&&(l(),l=null)}}}function um(e){this._internalRoot=e}os.prototype.render=um.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(D(409));var t=a.current,o=e2();nC(t,o,e,a,null,null)};os.prototype.unmount=um.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;nC(e.current,2,null,e,null,null),es(),a[pr]=null}};function os(e){this._internalRoot=e}os.prototype.unstable_scheduleHydration=function(e){if(e){var a=N_();e={blockedOn:null,target:e,priority:a};for(var t=0;t<Wa.length&&a!==0&&a<Wa[t].priority;t++);Wa.splice(t,0,e),t===0&&sC(e)}};var C_=y_.version;if(C_!=="19.2.8")throw Error(D(527,C_,"19.2.8"));q1.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error(D(188)):(e=Object.keys(e).join(","),Error(D(268,e)));return e=OT(a),e=e!==null?F_(e):null,e=e===null?null:e.stateNode,e};var sP={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:a1,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(G7=__REACT_DEVTOOLS_GLOBAL_HOOK__,!G7.isDisabled&&G7.supportsFiber))try{y3=G7.inject(sP),J5=G7}catch{}var G7;ls.createRoot=function(e,a){if(!S_(e))throw Error(D(299));var t=!1,o="",l=aA,r=tA,n=oA;return a!=null&&(a.unstable_strictMode===!0&&(t=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(l=a.onUncaughtError),a.onCaughtError!==void 0&&(r=a.onCaughtError),a.onRecoverableError!==void 0&&(n=a.onRecoverableError)),a=lC(e,1,!1,null,null,t,o,null,l,r,n,uC),e[pr]=a.current,lm(e),new um(a)};ls.hydrateRoot=function(e,a,t){if(!S_(e))throw Error(D(299));var o=!1,l="",r=aA,n=tA,i=oA,c=null;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError),t.formState!==void 0&&(c=t.formState)),a=lC(e,1,!0,a,t??null,o,l,c,r,n,i,uC),a.context=rC(null),t=a.current,o=e2(),o=xh(o),l=et(o),l.callback=null,at(t,l,o),t=o,a.current.lanes=t,R3(a,t),ve(a),e[pr]=a.current,lm(e),new os(a)};ls.version="19.2.8"});var mC=b2((eZ,hC)=>{"use strict";function fC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(fC)}catch(e){console.error(e)}}fC(),hC.exports=dC()});var NC=b2(vs=>{"use strict";var jP=Symbol.for("react.transitional.element"),GP=Symbol.for("react.fragment");function PC(e,a,t){var o=null;if(t!==void 0&&(o=""+t),a.key!==void 0&&(o=""+a.key),"key"in a){t={};for(var l in a)l!=="key"&&(t[l]=a[l])}else t=a;return a=t.ref,{$$typeof:jP,type:e,key:o,ref:a!==void 0?a:null,props:t}}vs.Fragment=GP;vs.jsx=PC;vs.jsxs=PC});var b1=b2((ZZ,OC)=>{"use strict";OC.exports=NC()});var YH=b2(XH=>{"use strict";var Zr=y();function DE(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var PE=typeof Object.is=="function"?Object.is:DE,NE=Zr.useState,OE=Zr.useEffect,EE=Zr.useLayoutEffect,IE=Zr.useDebugValue;function UE(e,a){var t=a(),o=NE({inst:{value:t,getSnapshot:a}}),l=o[0].inst,r=o[1];return EE(function(){l.value=t,l.getSnapshot=a,av(l)&&r({inst:l})},[e,t,a]),OE(function(){return av(l)&&r({inst:l}),e(function(){av(l)&&r({inst:l})})},[e]),IE(t),t}function av(e){var a=e.getSnapshot;e=e.value;try{var t=a();return!PE(e,t)}catch{return!0}}function jE(e,a){return a()}var GE=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?jE:UE;XH.useSyncExternalStore=Zr.useSyncExternalStore!==void 0?Zr.useSyncExternalStore:GE});var JH=b2((m81,ZH)=>{"use strict";ZH.exports=YH()});var sT=C(y(),1),uT=C(mC(),1);var _9=C(y(),1);var N0={};function vC(e){return"init"in e}function dm(e){return typeof e.write=="function"}function uP(e){return!!e.onMount}function pC(e){return"v"in e||"e"in e}function rs(e){if("e"in e)throw e.e;if((N0.env?N0.env.MODE:void 0)!=="production"&&!("v"in e))throw new Error("[Bug] atom state is not initialized");return e.v}function ns(e){return typeof e?.then=="function"}function dP(e){if(!(e instanceof Error))return!1;let a=e.name,t=e.message.toLowerCase();return(a==="RangeError"||a==="InternalError")&&(t.includes("call stack")||t.includes("too much recursion")||t.includes("stack overflow"))}function gC(e,a,t){if(!t.p.has(e)){t.p.add(e);let o=()=>t.p.delete(e);a.then(o,o)}}function xC(e,a,t){let o=t.get(e),l=o?.t,r=a.p;if(!l?.size)return r;if(!r.size)return l;let n=new Set(l);for(let i of r)n.add(i);return n}function fP(e){return!!e.INTERNAL_onInit}var hP=(e,a,t,...o)=>t.read(...o),mP=(e,a,t,...o)=>t.write(...o),pP=(e,a,t)=>t.INTERNAL_onInit(a),vP=(e,a,t,o)=>{var l;return(l=t.onMount)==null?void 0:l.call(t,o)},gP=(e,a,t)=>{var o;let l=e[0],r=l.get(t);if(!r){let n=e[6],i=e[9];r={d:new Map,p:new Set,n:0},l.set(t,r),(o=n.i)==null||o.call(n,t),fP(t)&&i(e,a,t)}return r},xP=(e,a)=>{var t;let o=e[1],l=e[3],r=e[4],n=e[5],i=e[6],c=e[13];if(!i.f&&!l.size&&!r.size&&!n.size)return;let s=[],u=d=>{try{d()}catch(f){s.push(f)}};do{i.f&&u(i.f);let d=new Set;for(let f of l){let h=(t=o.get(f))==null?void 0:t.l;if(h)for(let g of h)d.add(g)}l.clear();for(let f of n)d.add(f);n.clear();for(let f of r)d.add(f);r.clear();for(let f of d)u(f);l.size&&c(e,a)}while(l.size||n.size||r.size);if(s.length)throw new AggregateError(s)},bP=(e,a)=>{let t=e[1],o=e[2],l=e[3],r=e[11],n=e[14],i=e[17];if(!l.size)return;let c=[],s=[],u=new WeakSet,d=new WeakSet,f=[],h=[];for(let g of l)f.push(g),h.push(r(e,a,g));for(;f.length;){let g=f.length-1,m=f[g],b=h[g];if(d.has(m)){f.pop(),h.pop();continue}if(u.has(m)){if(o.get(m)===b.n)c.push(m),s.push(b);else if((N0.env?N0.env.MODE:void 0)!=="production"&&o.has(m))throw new Error("[Bug] invalidated atom exists");d.add(m),f.pop(),h.pop();continue}u.add(m);for(let p of xC(m,b,t))u.has(p)||(f.push(p),h.push(r(e,a,p)))}for(let g=c.length-1;g>=0;--g){let m=c[g],b=s[g],p=!1;for(let x of b.d.keys())if(x!==m&&l.has(x)){p=!0;break}p&&(o.set(m,b.n),n(e,a,m),i(e,a,m)),o.delete(m)}},fm=new WeakSet,MP=(e,a,t)=>{var o,l;let r=e[1],n=e[2],i=e[3],c=e[6],s=e[7],u=e[11],d=e[12],f=e[13],h=e[14],g=e[16],m=e[17],b=e[20],p=e[26],x=e[28],v=u(e,a,t),M=x[0];if(pC(v)){if(r.has(t)&&n.get(t)!==v.n||v.m===M)return v.m=M,v;let E=!1;for(let[U,e1]of v.d)if(h(e,a,U).n!==e1){E=!0;break}if(!E)return v.m=M,v}let _=!0,z=new Set(v.d.keys()),A=()=>{for(let E of z)v.d.delete(E)},S=()=>{if(r.has(t)){let E=!i.size;m(e,a,t),E&&(f(e,a),d(e,a))}},R=E=>{var U;if(E===t){let J=u(e,a,E);if(!pC(J))if(vC(E))b(e,a,E,E.init);else throw new Error("no atom init");return rs(J)}let e1=h(e,a,E);try{return rs(e1)}finally{z.delete(E),v.d.set(E,e1.n),ns(v.v)&&gC(t,v.v,e1),r.has(t)&&((U=r.get(E))==null||U.t.add(t)),_||S()}},B,w,O={get signal(){return B||(B=new AbortController),B.signal},get setSelf(){return(N0.env?N0.env.MODE:void 0)!=="production"&&console.warn("[DEPRECATED] setSelf is deprecated and will be removed in v3."),(N0.env?N0.env.MODE:void 0)!=="production"&&!dm(t)&&console.warn("setSelf function cannot be used with read-only atom"),!w&&dm(t)&&(w=(...E)=>{if((N0.env?N0.env.MODE:void 0)!=="production"&&_&&console.warn("setSelf function cannot be called in sync"),!_)try{return g(e,a,t,E)}finally{f(e,a),d(e,a)}}),w}},V=v.n,N=n.get(t)===V;try{(N0.env?N0.env.MODE:void 0)!=="production"&&fm.delete(a);let E=s(e,a,t,R,O);if((N0.env?N0.env.MODE:void 0)!=="production"&&fm.has(a)&&console.warn("Detected store mutation during atom read. This is not supported."),b(e,a,t,E),ns(E)){p(e,a,E,()=>B?.abort());let U=()=>{A(),S()};E.then(U,U)}else A();return(o=c.r)==null||o.call(c,t),v.m=M,v}catch(E){if(dP(E))throw E;return delete v.v,v.e=E,++v.n,v.m=M,v}finally{_=!1,v.n!==V&&N&&(n.set(t,v.n),i.add(t),(l=c.c)==null||l.call(c,t))}},_P=(e,a,t)=>{let o=e[1],l=e[2],r=e[11],n=[t];for(;n.length;){let i=n.pop(),c=r(e,a,i);for(let s of xC(i,c,o)){let u=r(e,a,s);l.get(s)!==u.n&&(l.set(s,u.n),n.push(s))}}},zP=(e,a,t,o)=>{let l=e[3],r=e[6],n=e[8],i=e[11],c=e[12],s=e[13],u=e[14],d=e[15],f=e[16],h=e[17],g=e[20],m=e[28],b=!0,p=v=>rs(u(e,a,v)),x=(v,...M)=>{var _;let z=i(e,a,v);try{if(v===t){if(!vC(v))throw new Error("atom not writable");(N0.env?N0.env.MODE:void 0)!=="production"&&fm.add(a);let A=z.n,S=M[0];g(e,a,v,S),h(e,a,v),A!==z.n&&(++m[0],l.add(v),d(e,a,v),(_=r.c)==null||_.call(r,v));return}else return f(e,a,v,M)}finally{b||(s(e,a),c(e,a))}};try{return n(e,a,t,p,x,...o)}finally{b=!1}},AP=(e,a,t)=>{var o;let l=e[1],r=e[3],n=e[6],i=e[11],c=e[15],s=e[18],u=e[19],d=i(e,a,t),f=l.get(t);if(f&&d.d.size>0){for(let[h,g]of d.d)if(!f.d.has(h)){let m=i(e,a,h);s(e,a,h).t.add(t),f.d.add(h),g!==m.n&&(r.add(h),c(e,a,h),(o=n.c)==null||o.call(n,h))}for(let h of f.d)if(!d.d.has(h)){f.d.delete(h);let g=u(e,a,h);g?.t.delete(t)}}},CP=(e,a,t)=>{var o;let l=e[1],r=e[4],n=e[6],i=e[10],c=e[11],s=e[12],u=e[13],d=e[14],f=e[16],h=e[18],g=c(e,a,t),m=l.get(t);if(!m){d(e,a,t);for(let b of g.d.keys())h(e,a,b).t.add(t);if(m={l:new Set,d:new Set(g.d.keys()),t:new Set},l.set(t,m),dm(t)&&uP(t)){let b=()=>{let p=!0,x=(...v)=>{try{return f(e,a,t,v)}finally{p||(u(e,a),s(e,a))}};try{let v=i(e,a,t,x);v&&(m.u=()=>{p=!0;try{v()}finally{p=!1}})}finally{p=!1}};r.add(b)}(o=n.m)==null||o.call(n,t)}return m},yP=(e,a,t)=>{var o,l;let r=e[1],n=e[5],i=e[6],c=e[11],s=e[19],u=c(e,a,t),d=r.get(t);if(!d||d.l.size)return d;let f=!1;for(let h of d.t)if((o=r.get(h))!=null&&o.d.has(t)){f=!0;break}if(!f){d.u&&n.add(d.u),d=void 0,r.delete(t);for(let h of u.d.keys()){let g=s(e,a,h);g?.t.delete(t)}(l=i.u)==null||l.call(i,t);return}return d},SP=(e,a,t,o)=>{let l=e[11],r=e[27],n=l(e,a,t),i="v"in n,c=n.v;if(ns(o))for(let s of n.d.keys())gC(t,o,l(e,a,s));n.v=o,delete n.e,(!i||!Object.is(c,n.v))&&(++n.n,ns(c)&&r(e,a,c))},RP=(e,a,t)=>{let o=e[14];return rs(o(e,a,t))},HP=(e,a,t,...o)=>{let l=e[3],r=e[12],n=e[13],i=e[16],c=l.size;try{return i(e,a,t,o)}finally{l.size!==c&&(n(e,a),r(e,a))}},FP=(e,a,t,o)=>{let l=e[12],r=e[13],n=e[18],i=e[19],s=n(e,a,t).l;return s.add(o),r(e,a),l(e,a),()=>{s.delete(o),i(e,a,t),r(e,a),l(e,a)}},VP=(e,a,t,o)=>{let l=e[25],r=l.get(t);if(!r){r=new Set,l.set(t,r);let n=()=>l.delete(t);t.then(n,n)}r.add(o)},qP=(e,a,t)=>{let l=e[25].get(t);l?.forEach(r=>r())},bC=new WeakMap;function MC(e){let a=bC.get(e);if((N0.env?N0.env.MODE:void 0)!=="production"&&!a)throw new Error("Store must be created by buildStore to read its building blocks");let t=a[24];return t?t(a,e):a}function _C(...e){let a={get(n){return o(t,a,n)},set(n,...i){return l(t,a,n,...i)},sub(n,i){return r(t,a,n,i)}},t=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},hP,mP,pP,vP,gP,xP,bP,MP,_P,zP,AP,CP,yP,SP,RP,HP,FP,void 0,new WeakMap,VP,qP,[0]].map((n,i)=>e[i]||n);bC.set(a,Object.freeze(t));let o=t[21],l=t[22],r=t[23];return a}var is={},LP=0;function Y(e,a){let t=`atom${++LP}`,o={toString(){return(is.env?is.env.MODE:void 0)!=="production"&&this.debugLabel?t+":"+this.debugLabel:t}};return typeof e=="function"?o.read=e:(o.init=e,o.read=wP,o.write=kP),a&&(o.write=a),o}function wP(e){return e(this)}function kP(e,a,t){return a(this,typeof t=="function"?t(e(this)):t)}var zC;function D3(){return zC?zC():_C()}var B3;function AC(){return B3||(B3=D3(),(is.env?is.env.MODE:void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=B3),globalThis.__JOTAI_DEFAULT_STORE__!==B3&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),B3}var C0=C(y(),1);var yC={},mm=(0,C0.createContext)(void 0);function SC(e){let a=(0,C0.useContext)(mm);return e?.store||a||AC()}function RC({children:e,store:a}){let t=(0,C0.useRef)(null);return a?(0,C0.createElement)(mm.Provider,{value:a},e):(t.current===null&&(t.current=D3()),(0,C0.createElement)(mm.Provider,{value:t.current},e))}var pm=e=>typeof e?.then=="function",vm=e=>{e.status||(e.status="pending",e.then(a=>{e.status="fulfilled",e.value=a},a=>{e.status="rejected",e.reason=a}))},TP=C0.default.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(vm(e),e)}),hm=new WeakMap,CC=(e,a,t)=>{let o=MC(e),l=o[26],r=hm.get(a);return r||(r=new Promise((n,i)=>{let c=a,s=f=>h=>{c===f&&n(h)},u=f=>h=>{c===f&&i(h)},d=()=>{try{let f=t();pm(f)?(hm.set(f,r),c=f,f.then(s(f),u(f)),l(o,e,f,d)):n(f)}catch(f){i(f)}};a.then(s(a),u(a)),l(o,e,a,d)}),hm.set(a,r)),r};function c1(e,a){let{delay:t,unstable_promiseStatus:o=!C0.default.use}=a||{},l=SC(a),[[r,n,i],c]=(0,C0.useReducer)(u=>{let d=l.get(e);return Object.is(u[0],d)&&u[1]===l&&u[2]===e?u:[d,l,e]},void 0,()=>[l.get(e),l,e]),s=r;if((n!==l||i!==e)&&(c(),s=l.get(e)),(0,C0.useEffect)(()=>{let u=l.sub(e,()=>{if(o)try{let d=l.get(e);pm(d)&&vm(CC(l,d,()=>l.get(e)))}catch{}if(typeof t=="number"){console.warn(`[DEPRECATED] delay option is deprecated and will be removed in v3.
10
+
11
+ Migration guide:
12
+
13
+ Create a custom hook like the following.
14
+
15
+ function useAtomValueWithDelay<Value>(
16
+ atom: Atom<Value>,
17
+ options: { delay: number },
18
+ ): Value {
19
+ const { delay } = options
20
+ const store = useStore(options)
21
+ const [value, setValue] = useState(() => store.get(atom))
22
+ useEffect(() => {
23
+ const unsub = store.sub(atom, () => {
24
+ setTimeout(() => setValue(store.get(atom)), delay)
25
+ })
26
+ return unsub
27
+ }, [store, atom, delay])
28
+ return value
29
+ }
30
+ `),setTimeout(c,t);return}c()});return c(),u},[l,e,t,o]),(0,C0.useDebugValue)(s),pm(s)){let u=CC(l,s,()=>l.get(e));return o&&vm(u),TP(u)}return s}function Ao(e,a){let t=SC(a);return(0,C0.useCallback)((...l)=>{if((yC.env?yC.env.MODE:void 0)!=="production"&&!("write"in e))throw new Error("not writable atom");return t.set(e,...l)},[t,e])}function y0(e,a){return[c1(e,a),Ao(e,a)]}var gm=typeof window>"u"?global:window,xm="@griffel/";function BP(e,a){return gm[Symbol.for(xm+e)]||(gm[Symbol.for(xm+e)]=a),gm[Symbol.for(xm+e)]}var P3=BP("DEFINITION_LOOKUP_TABLE",{}),Co="data-make-styles-bucket",cs="data-priority",ss="data-container";var us=7,zr="___",HC="_",FC=zr.length+us,VC=0,qC=1;function ds(e){for(var a=0,t,o=0,l=e.length;l>=4;++o,l-=4)t=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,a=(t&65535)*1540483477+((t>>>16)*59797<<16)^(a&65535)*1540483477+((a>>>16)*59797<<16);switch(l){case 3:a^=(e.charCodeAt(o+2)&255)<<16;case 2:a^=(e.charCodeAt(o+1)&255)<<8;case 1:a^=e.charCodeAt(o)&255,a=(a&65535)*1540483477+((a>>>16)*59797<<16)}return a^=a>>>13,a=(a&65535)*1540483477+((a>>>16)*59797<<16),((a^a>>>15)>>>0).toString(36)}function bm(e){let a=e.length;if(a===us)return e;for(let t=a;t<us;t++)e+="0";return e}function fs(e,a,t=[]){return zr+bm(ds(e+a))}function Mm(e,a){let t="",o="";for(let l in e){let r=e[l];if(r===0){o+=l+" ";continue}let n=Array.isArray(r),i=a==="rtl"?(n?r[1]:r)+" ":(n?r[0]:r)+" ";t+=i,o+=i}return[t.slice(0,-1),o.slice(0,-1)]}function _m(e,a){let t={};for(let o in e){let[l,r]=Mm(e[o],a);if(r===""){t[o]="";continue}let n=fs(r,a),i=n+(l===""?"":" "+l);P3[n]=[e[o],a],t[o]=i}return t}var LC={};function H(){let e=null,a="",t="",o=new Array(arguments.length),l="";for(let f=0;f<arguments.length;f++){let h=arguments[f];if(typeof h=="string"&&h!==""){let g=h.indexOf(zr);if(g===-1)a+=h+" ";else{let m=h.substr(g,FC);g>0&&(a+=h.slice(0,g)),t+=m,o[f]=m}}}if(t==="")return a.slice(0,-1);let r=LC[t];if(r!==void 0)return a+r;let n=[];for(let f=0;f<arguments.length;f++){let h=o[f];if(h){let g=P3[h];g&&(n.push(g[VC]),e=g[qC])}}let i=Object.assign.apply(Object,[{}].concat(n)),[c,s]=Mm(i,e),u=fs(s,e,o),d=u+" "+c;return LC[t]=d,P3[u]=[i,e],a+d}function wC(e){return Array.isArray(e)?e:[e]}function kC(e,a,t,o){let l=[];if(o[Co]=a,o[cs]=String(t),e)for(let n in o)e.setAttribute(n,o[n]);function r(n){return e?.sheet?e.sheet.insertRule(n,e.sheet.cssRules.length):l.push(n)}return{elementAttributes:o,insertRule:r,element:e,bucketName:a,cssRules(){return e?.sheet?Array.from(e.sheet.cssRules).map(n=>n.cssText):l}}}var DP=["r","d","l","v","w","f","i","h","a","s","k","t","m","c","x"],TC=DP.reduce((e,a,t)=>(e[a]=t,e),{});function PP(e,a,t){return e==="m"||e==="x"?e+a+t:e+t}function BC(e,a,t,o,l={}){var r,n;let i=e==="m",c=e==="x",s=l.m,u=l.x,d=(r=l.p)!==null&&r!==void 0?r:0,f=PP(e,(n=u??s)!==null&&n!==void 0?n:"0",d);if(!o.stylesheets[f]){let h=a&&a.createElement("style"),g=kC(h,e,d,{...o.styleElementAttributes,...i&&{media:s},...c&&{[ss]:u}});o.stylesheets[f]=g,a?.head&&h&&a.head.insertBefore(h,OP(a,t,e,o,l))}return o.stylesheets[f]}function NP(e,a,t){return e.getAttribute(Co)===a?a==="m"?t.m===e.media:a==="x"?t.x===e.getAttribute(ss):!0:!1}function OP(e,a,t,o,l={}){var r,n,i;let c=TC[t],s=(r=l.m)!==null&&r!==void 0?r:"",u=(n=l.x)!==null&&n!==void 0?n:"",d=(i=l.p)!==null&&i!==void 0?i:0,f=p=>c-TC[p.getAttribute(Co)],h=e.head.querySelectorAll(`[${Co}]`);if(t==="m"||t==="x"){let p=e.head.querySelectorAll(`[${Co}="${t}"]`);p.length&&(h=p,f=t==="m"?x=>o.compareMediaQueries(s,x.media):x=>{var v;return o.compareContainerQueries(u,(v=x.getAttribute(ss))!==null&&v!==void 0?v:"")})}let g=p=>NP(p,t,l)?d-Number(p.getAttribute(cs)):f(p),m=h.length,b=m-1;for(;b>=0;){let p=h.item(b);if(g(p)>0)return p.nextSibling;b--}return m>0?h.item(0):a?a.nextSibling:null}var EP=["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),RZ=new RegExp(`:(${EP})`);function zm(e,a){try{e.insertRule(a)}catch{}}var IP=0,UP=(e,a)=>e<a?-1:e>a?1:0;function hs(e=typeof document>"u"?void 0:document,a={}){let{classNameHashSalt:t,unstable_filterCSSRule:o,insertionPoint:l,styleElementAttributes:r,compareMediaQueries:n=UP,compareContainerQueries:i=n}=a,c={classNameHashSalt:t,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(r),compareMediaQueries:n,compareContainerQueries:i,id:`d${IP++}`,insertCSSRules(s){for(let u in s){let d=s[u];for(let f=0,h=d.length;f<h;f++){let[g,m]=wC(d[f]),b=BC(u,e,l||null,c,m);c.insertionCache[g]||(c.insertionCache[g]=u,o?o(g)&&zm(b,g):zm(b,g))}}}};return c}var ms=()=>{let e={};return function(t,o){e[t.id]===void 0&&(t.insertCSSRules(o),e[t.id]=!0)}};function N3(e,a,t=ms){let o=t(),l=null,r=null,n;function i(c){let{dir:s,renderer:u}=c,d=s==="ltr";return d?l===null&&(l=_m(e,s)):r===null&&(r=_m(e,s)),o(u,a),d?l:r}return i}function Am(e,a,t,o=ms){let l=o();function r(n){let{dir:i,renderer:c}=n,s=i==="ltr"?e:a||e;return l(c,Array.isArray(t)?{r:t}:t),s}return r}function DC(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}var Cm=C(y(),1),ym=Cm.default.useInsertionEffect?Cm.default.useInsertionEffect:void 0;var ps=()=>{let e={};return function(t,o){if(ym&&DC()){ym(()=>{t.insertCSSRules(o)},[t,o]);return}e[t.id]===void 0&&(t.insertCSSRules(o),e[t.id]=!0)}};var WP=C(b1(),1);var O3=C(y(),1);var QP=(0,O3.createContext)(hs());function ua(){return(0,O3.useContext)(QP)}var EC=C(b1(),1),gs=C(y(),1),IC=(0,gs.createContext)("ltr"),Sm=({children:e,dir:a})=>(0,EC.jsx)(IC.Provider,{value:a,children:e});function xs(){return(0,gs.useContext)(IC)}function k(e,a){let t=N3(e,a,ps);return function(){let l=xs(),r=ua();return t({dir:l,renderer:r})}}function o1(e,a,t){let o=Am(e,a,t,ps);return function(){let r=xs(),n=ua();return o({dir:r,renderer:n})}}var KP={"<":"\\3C ",">":"\\3E "};function UC(e){return e.replace(/[<>]/g,a=>KP[a])}function E3(e,a){let t=UC(e);if(a){let o=Object.keys(a).reduce((l,r)=>`${l}--${r}: ${a[r]}; `,"");return`${t} { ${UC(o)} }`}return`${t} {}`}var oR=C(y(),1);var T={};gT(T,{always:()=>GC,optional:()=>XP,resolveShorthand:()=>WC});var jC=C(y(),1);var da=Symbol.for("fui.slotRenderFunction"),o2=Symbol.for("fui.slotElementType"),Ar=Symbol.for("fui.slotClassNameProp");function GC(e,a){let{defaultProps:t,elementType:o}=a,l=WC(e),r={...t,...l,[o2]:o,[Ar]:l?.className||t?.className};return l&&typeof l.children=="function"&&(r[da]=l.children,r.children=t?.children),r}function XP(e,a){if(!(e===null||e===void 0&&!a.renderByDefault))return GC(e,a)}function WC(e){return typeof e=="string"||typeof e=="number"||YP(e)||jC.isValidElement(e)?{children:e}:e}var YP=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;var QC=C(y(),1);function Cr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!QC.isValidElement(e)}function I3(e){return!!e?.hasOwnProperty(o2)}var W1=(...e)=>{let a={};for(let t of e){let o=Array.isArray(t)?t:Object.keys(t);for(let l of o)a[l]=1}return a},ZP=W1(["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"]),JP=W1(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),$P=W1(["itemID","itemProp","itemRef","itemScope","itemType"]),g0=W1(JP,ZP,$P),KC=W1(g0,["form"]),Rm=W1(g0,["height","loop","muted","preload","src","width"]),XC=W1(Rm,["poster"]),YC=W1(g0,["start"]),ZC=W1(g0,["value"]),JC=W1(g0,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),$C=W1(g0,["dateTime"]),U3=W1(g0,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),ey=W1(U3,["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"]),ay=W1(U3,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),ty=W1(U3,["form","multiple","required"]),oy=W1(g0,["selected","value"]),ly=W1(g0,["cellPadding","cellSpacing"]),ry=g0,ny=W1(g0,["colSpan","rowSpan","scope"]),iy=W1(g0,["colSpan","headers","rowSpan","scope"]),cy=W1(g0,["span"]),sy=W1(g0,["span"]),uy=W1(g0,["disabled","form"]),dy=W1(g0,["acceptCharset","action","encType","encType","method","noValidate","target"]),fy=W1(g0,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),hy=W1(g0,["alt","crossOrigin","height","src","srcSet","useMap","width"]),my=W1(g0,["open","onCancel","onClose"]);function py(e,a,t){let o=Array.isArray(a),l={},r=Object.keys(e);for(let n of r)(!o&&a[n]||o&&a.indexOf(n)>=0||n.indexOf("data-")===0||n.indexOf("aria-")===0)&&(!t||t?.indexOf(n)===-1)&&(l[n]=e[n]);return l}var eN={label:KC,audio:Rm,video:XC,ol:YC,li:ZC,a:JC,button:U3,input:ey,textarea:ay,select:ty,option:oy,table:ly,tr:ry,th:ny,td:iy,colGroup:cy,col:sy,fieldset:uy,form:dy,iframe:fy,img:hy,time:$C,dialog:my};function j3(e,a,t){let o=e&&eN[e]||g0;return o.as=1,py(a,o,t)}var r5=({primarySlotTagName:e,props:a,excludedPropNames:t})=>({root:{style:a.style,className:a.className},primary:j3(e,a,[...t||[],"style","className"])});var l1=(e,a,t)=>{var o;return j3((o=a.as)!==null&&o!==void 0?o:e,a,t)};function bs(e,a){let t={};for(let o in e)a.indexOf(o)===-1&&e.hasOwnProperty(o)&&(t[o]=e[o]);return t}var yo=C(y(),1);function Ms(e,a){let t=yo.useRef(void 0),o=yo.useCallback((r,n)=>(t.current!==void 0&&a(t.current),t.current=e(r,n),t.current),[a,e]),l=yo.useCallback(()=>{t.current!==void 0&&(a(t.current),t.current=void 0)},[a]);return yo.useEffect(()=>l,[l]),[o,l]}var vy=C(y(),1),yr=vy.createContext(void 0),G3=yr.Provider;var _s=C(y(),1),gy=_s.createContext(void 0),aN="",W3=gy.Provider;function Q3(){var e;return(e=_s.useContext(gy))!==null&&e!==void 0?e:aN}var Hm=C(y(),1),tN=Hm.createContext(void 0);var K3=tN.Provider;var zs=C(y(),1),by=zs.createContext(void 0),oN={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},X3=by.Provider;function Q(){var e;return(e=zs.useContext(by))!==null&&e!==void 0?e:oN}var As=C(y(),1),Fm=As.createContext(void 0),Cs=Fm.Provider;function Sr(){var e;return(e=As.useContext(Fm))!==null&&e!==void 0?e:{}}var ys=C(y(),1),So=ys.createContext(void 0),lN=()=>{},Y3=So.Provider,j=e=>{var a,t;return(t=(a=ys.useContext(So))===null||a===void 0?void 0:a[e])!==null&&t!==void 0?t:lN};var Ss=C(y(),1),My=Ss.createContext(void 0),rN=My.Provider;function Vm(){return Ss.useContext(My)}var nN=e=>(e(0),0),iN=e=>e;function ht(){let{targetDocument:e}=Q(),a=e?.defaultView,t=a?a.requestAnimationFrame:nN,o=a?a.cancelAnimationFrame:iN;return Ms(t,o)}var fa=C(y(),1);function cN(e){return typeof e=="function"}var S1=e=>{"use no memo";let[a,t]=fa.useState(()=>e.defaultState===void 0?e.initialState:sN(e.defaultState)?e.defaultState():e.defaultState),o=fa.useRef(e.state);fa.useEffect(()=>{o.current=e.state},[e.state]);let l=fa.useCallback(r=>{cN(r)&&r(o.current)},[]);return uN(e.state)?[e.state,l]:[a,t]};function sN(e){return typeof e=="function"}var uN=e=>{let[a]=fa.useState(()=>e!==void 0);return a};var Hs=C(y(),1);var Rs=C(y(),1);function mt(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}var Ro=C(y(),1);var qm={current:0},_y=Ro.createContext(void 0);function Lm(){var e;return(e=Ro.useContext(_y))!==null&&e!==void 0?e:qm}var m1=mt()?Rs.useLayoutEffect:Rs.useEffect;var L=e=>{let a=Hs.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return m1(()=>{a.current=e},[e]),Hs.useCallback((...t)=>{let o=a.current;return o(...t)},[a])};var Fs=C(y(),1);function pt(){let e=Fs.useRef(!0);return Fs.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}var zy=C(y(),1);function Vs(){return zy.useReducer(e=>e+1,0)[1]}var ha=C(y(),1);var Ay=ha.createContext(void 0),Cy=Ay.Provider;function hN(){return ha.useContext(Ay)||""}function R1(e="fui-",a){let t=Lm(),o=hN(),l=ha.useId;if(l){let r=l(),n=ha.useMemo(()=>r.replace(/:/g,""),[r]);return a||`${o}${e}${n}`}return ha.useMemo(()=>a||`${o}${e}${++t.current}`,[o,e,a,t])}var yy=C(y(),1);function W(...e){let a=yy.useCallback(t=>{a.current=t;for(let o of e)typeof o=="function"?o(t):o&&(o.current=t)},[...e]);return a}var vt=C(y(),1);var Sy=(e,a)=>!!e?.contains(a),gt=e=>{let{targetDocument:a}=Q(),t=a?.defaultView,{refs:o,callback:l,element:r,disabled:n,disabledFocusOnIframe:i,contains:c=Sy}=e,s=vt.useRef(void 0);pN({element:r,disabled:i||n,callback:l,refs:o,contains:c});let u=vt.useRef(!1),d=L(h=>{if(u.current){u.current=!1;return}let g=h.composedPath()[0];o.every(b=>!c(b.current||null,g))&&!n&&l(h)}),f=L(h=>{u.current=o.some(g=>c(g.current||null,h.target))});vt.useEffect(()=>{if(n)return;let h=mN(t),g=m=>{if(m===h){h=void 0;return}d(m)};return r?.addEventListener("click",g,!0),r?.addEventListener("touchstart",g,!0),r?.addEventListener("contextmenu",g,!0),r?.addEventListener("mousedown",f,!0),s.current=t?.setTimeout(()=>{h=void 0},1),()=>{r?.removeEventListener("click",g,!0),r?.removeEventListener("touchstart",g,!0),r?.removeEventListener("contextmenu",g,!0),r?.removeEventListener("mousedown",f,!0),t?.clearTimeout(s.current),h=void 0}},[d,r,n,f,t])},mN=e=>{if(e){var a,t;if(typeof e.window=="object"&&e.window===e)return e.event;var o;return(o=(t=e.ownerDocument)===null||t===void 0||(a=t.defaultView)===null||a===void 0?void 0:a.event)!==null&&o!==void 0?o:void 0}},wm="fuiframefocus",pN=e=>{let{disabled:a,element:t,callback:o,contains:l=Sy,pollDuration:r=100,refs:n}=e,i=vt.useRef(void 0),c=L(s=>{n.every(d=>!l(d.current||null,s.target))&&!a&&o(s)});vt.useEffect(()=>{if(!a)return t?.addEventListener(wm,c,!0),()=>{t?.removeEventListener(wm,c,!0)}},[t,a,c]),vt.useEffect(()=>{var s;if(!a)return i.current=t==null||(s=t.defaultView)===null||s===void 0?void 0:s.setInterval(()=>{let u=t?.activeElement;if(u?.tagName==="IFRAME"||u?.tagName==="WEBVIEW"){let d=new CustomEvent(wm,{bubbles:!0});u.dispatchEvent(d)}},r),()=>{var u;t==null||(u=t.defaultView)===null||u===void 0||u.clearInterval(i.current)}},[t,a,r])};var Ry=C(y(),1);var Rr=e=>{let{refs:a,callback:t,element:o,disabled:l,contains:r}=e,n=L(i=>{let c=r||((d,f)=>!!d?.contains(f)),s=i.composedPath()[0];a.every(d=>!c(d.current||null,s))&&!l&&t(i)});Ry.useEffect(()=>{if(!l)return o?.addEventListener("wheel",n),o?.addEventListener("touchmove",n),()=>{o?.removeEventListener("wheel",n),o?.removeEventListener("touchmove",n)}},[n,o,l])};var vN=e=>-1,gN=e=>{};function n5(){let{targetDocument:e}=Q(),a=e?.defaultView,t=a?a.setTimeout:vN,o=a?a.clearTimeout:gN;return Ms(t,o)}var Ho=(e,a,t)=>Math.max(a,Math.min(t,e||0));var Hy=C(y(),1),bN=parseInt(Hy.version,10)>=19;function ge(e){if(e)return bN?e.props.ref:e.ref}function K(e,a){return(...t)=>{e?.(...t),a?.(...t)}}function i0(e,a){var t;let o=e;var l;return!!(!(o==null||(t=o.ownerDocument)===null||t===void 0)&&t.defaultView&&o instanceof o.ownerDocument.defaultView[(l=a?.constructorName)!==null&&l!==void 0?l:"HTMLElement"])}function qs(e){if(!i0(e))return!1;let{tagName:a}=e;switch(a){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}var Fo=C(y(),1);function Z3(e){return!!e.type.isFluentTriggerComponent}function xt(e,a){return typeof e=="function"?e(a):e?Fy(e,a):e||null}function Fy(e,a){if(!Fo.isValidElement(e)||e.type===Fo.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(Z3(e)){let t=Fy(e.props.children,a);return Fo.cloneElement(e,void 0,t)}else return Fo.cloneElement(e,a)}var Vy=C(y(),1);function ma(e){return Vy.isValidElement(e)?Z3(e)?ma(e.props.children):e:null}function Hr(e){return e.type.startsWith("touch")}function Fr(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function J3(e){return Fr(e)?{clientX:e.clientX,clientY:e.clientY}:Hr(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}var Tm=C(y(),1);function km(e){return e instanceof Set?e:new Set(e)}function qy(e){let[a,t]=S1({initialState:new Set,defaultState:Tm.useMemo(()=>e.defaultSelectedItems&&km(e.defaultSelectedItems),[e.defaultSelectedItems]),state:Tm.useMemo(()=>e.selectedItems&&km(e.selectedItems),[e.selectedItems])});return[a,(l,r)=>{var n;(n=e.onSelectionChange)===null||n===void 0||n.call(e,l,{selectedItems:r}),t(r)}]}function MN(e){let[a,t]=qy(e);return[a,{deselectItem:l=>t(l,new Set),selectItem:(l,r)=>t(l,new Set([r])),toggleAllItems:()=>{},toggleItem:(l,r)=>t(l,new Set([r])),clearItems:l=>t(l,new Set),isSelected:l=>{var r;return(r=a.has(l))!==null&&r!==void 0?r:!1}}]}function _N(e){let[a,t]=qy(e);return[a,{toggleItem:(l,r)=>{let n=new Set(a);a.has(r)?n.delete(r):n.add(r),t(l,n)},selectItem:(l,r)=>{let n=new Set(a);n.add(r),t(l,n)},deselectItem:(l,r)=>{let n=new Set(a);n.delete(r),t(l,n)},clearItems:l=>{t(l,new Set)},isSelected:l=>a.has(l),toggleAllItems:(l,r)=>{let n=r.every(c=>a.has(c)),i=new Set(a);n?i.clear():r.forEach(c=>i.add(c)),t(l,i)}}]}function Ls(e){return e.selectionMode==="multiselect"?_N(e):MN(e)}function Ly(e){return e&&!!e._virtual}function zN(e){return Ly(e)&&e._virtual.parent||null}function Vr(e,a={}){if(!e)return null;if(!a.skipVirtual){let o=zN(e);if(o)return o}let t=e.parentNode;return t&&t.nodeType===11?t.host:t}function w5(e,a){if(!e||!a)return!1;if(e===a)return!0;{let t=new WeakSet;for(;a;){let o=Vr(a,{skipVirtual:t.has(a)});if(t.add(a),o===e)return!0;a=o}}return!1}function $3(e,a){e&&Object.assign(e,{_virtual:{parent:a}})}function wy(e,a){return{...a,[o2]:e}}function Bm(e,a){return function(o,l,r,n,i){return I3(l)?a(wy(o,l),null,r,n,i):I3(o)?a(o,l,r,n,i):e(o,l,r,n,i)}}var ky=C(y(),1);function ws(e){let{as:a,[Ar]:t,[o2]:o,[da]:l,...r}=e,n=r,i=typeof o=="string"?a??o:o;return typeof i!="string"&&a&&(n.as=a),{elementType:i,props:n,renderFunction:l}}var CN=C(b1(),1),xe=CN;var Ty=(e,a,t)=>{let{elementType:o,renderFunction:l,props:r}=ws(e),n={...r,...a};return l?xe.jsx(ky.Fragment,{children:l(o,n)},t):xe.jsx(o,n,t)};var Dm=C(y(),1);var By=(e,a,t)=>{let{elementType:o,renderFunction:l,props:r}=ws(e),n={...r,...a};return l?xe.jsx(Dm.Fragment,{children:l(o,{...n,children:xe.jsxs(Dm.Fragment,{children:n.children},void 0)})},t):xe.jsxs(o,n,t)};var e4=C(y(),1),q=Bm(xe.jsx,Ty),X=Bm(xe.jsxs,By);var ks=C(y(),1),Dy=ks.createContext(void 0),yN={},Pm=Dy.Provider,Nm=()=>{let e=ks.useContext(Dy);return e??yN};var a4=(e,a)=>q(X3,{value:a.provider,children:q(G3,{value:a.theme,children:q(W3,{value:a.themeClassName,children:q(Y3,{value:a.customStyleHooks_unstable,children:q(K3,{value:a.tooltip,children:q(Sm,{dir:a.textDirection,children:q(Pm,{value:a.iconDirection,children:q(Cs,{value:a.overrides_unstable,children:X(e.root,{children:[mt()?null:q("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});var X0="data-tabster",Py="data-tabster-dummy",Ts=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,q2={EscapeGroupper:1,Restorer:2,Deloser:3};var be={Invisible:0,PartiallyVisible:1,Visible:2},Me={Source:0,Target:1},l2={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},a0={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},qr={Unlimited:0,Limited:1,LimitedTrapFocus:2},Vo={Enter:1,Escape:2},Ny={Auto:0,Inside:1,Outside:2};function Q1(e,a){return e.storageEntry(a)?.tabster}function Bs(e,a,t){let o=t||e._noop?void 0:a.getAttribute(X0),l=e.storageEntry(a),r;if(o)if(o!==l?.attr?.string)try{let s=JSON.parse(o);if(typeof s!="object")throw new Error(`Value is not a JSON object, got '${o}'.`);r={string:o,object:s}}catch{}else return;else if(!l)return;l||(l=e.storageEntry(a,!0)),l.tabster||(l.tabster={});let n=l.tabster||{},i=l.attr?.object||{},c=r?.object||{};for(let s of Object.keys(i))if(!c[s]){if(s==="root"){let u=n[s];u&&e.root.onRoot(u,!0)}switch(s){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":let u=n[s];u&&(u.dispose(),delete n[s]);break;case"observed":delete n[s],e.observedElement&&e.observedElement.onObservedElementUpdate(a);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete n[s];break}}for(let s of Object.keys(c)){let u=c.sys;switch(s){case"root":n.root?n.root.setProps(c.root):n.root=e.root.createRoot(a,c.root,u),e.root.onRoot(n.root);break;case"focusable":n.focusable=c.focusable;break;case"observed":e.observedElement&&(n.observed=c.observed,e.observedElement.onObservedElementUpdate(a));break;case"uncontrolled":n.uncontrolled=c.uncontrolled;break;case"outline":e.outline&&(n.outline=c.outline);break;case"sys":n.sys=c.sys;break;default:{let d=e.attrHandlers.get(s);d&&(n[s]=d(a,n[s],c[s],i?.[s],u))}}}r?l.attr=r:(Object.keys(n).length===0&&(delete l.tabster,delete l.attr),e.storageEntry(a,!1))}var _e=(e,a,t)=>{e.addEventListener(a,t,!0)},L2=(e,a,t)=>{e.removeEventListener(a,t,!0)};var v5="keyborg:focusin",qo="keyborg:focusout";function SN(e){let a=e.HTMLElement,t=a.prototype.focus,o=!1;return a.prototype.focus=function(){o=!0},e.document.createElement("button").focus(),a.prototype.focus=t,o}var Om=!1;function i5(e){let a=e.focus;a.__keyborgNativeFocus?a.__keyborgNativeFocus.call(e):e.focus()}function RN(e){let a=e,t=a.document,o=a.HTMLElement.prototype;Om||(Om=SN(a));let l=o.focus;if(l.__keyborgNativeFocus)return;o.focus=u;let r=new Set,n=f=>{let h=f.target;if(!h)return;let g=new CustomEvent(qo,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:f}});h.dispatchEvent(g)},i=f=>{let h=f.target;if(!h)return;let g=f.composedPath()[0],m=new Set;for(;g;)g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(m.add(g),g=g.host):g=g.parentNode;for(let b of r){let p=b.deref();(!p||!m.has(p))&&(r.delete(b),p&&(L2(p,"focusin",i),L2(p,"focusout",n)))}c(h,f.relatedTarget||void 0)},c=(f,h,g)=>{let m=f.shadowRoot;if(m){for(let x of r)if(x.deref()===m)return;_e(m,"focusin",i),_e(m,"focusout",n),r.add(new WeakRef(m));return}let b={relatedTarget:h,originalEvent:g},p=new CustomEvent(v5,{cancelable:!0,bubbles:!0,composed:!0,detail:b});p.details=b,(Om||s[3])&&(b.isFocusedProgrammatically=f===s[3]?.deref(),s[3]=void 0),f.dispatchEvent(p)},s=[i,n,r];a.__keyborgData=s,_e(t,"focusin",i),_e(t,"focusout",n);function u(){let f=a.__keyborgData;return f&&(f[3]=new WeakRef(this)),l.apply(this,arguments)}let d=t.activeElement;for(;d&&d.shadowRoot;)c(d),d=d.shadowRoot.activeElement;u.__keyborgNativeFocus=l}function HN(e){let a=e,t=a.HTMLElement.prototype,o=t.focus.__keyborgNativeFocus,l=a.__keyborgData;if(l){let r=a.document;L2(r,"focusin",l[0]),L2(r,"focusout",l[1]);for(let n of l[2]){let i=n.deref();i&&(L2(i,"focusin",l[0]),L2(i,"focusout",l[1]))}l[2].clear(),delete a.__keyborgData}o&&(t.focus=o)}var FN=500,VN=0;function qN(e,a){let t=e,o=!1,l,r,n,i;a&&(a.triggerKeys?.length&&(n=new Set(a.triggerKeys)),a.dismissKeys?.length&&(i=new Set(a.dismissKeys)));let c=()=>{let v=t?.__keyborg?.refs;if(v)for(let M of Object.keys(v))v[M]._cb.forEach(_=>_(o))},s=v=>{o!==v&&(o=v,c())},u=v=>{if(v.key==="Tab")return!0;let M=t?.document.activeElement,_=!n||n.has(v.keyCode),z=M&&(M.tagName==="INPUT"||M.tagName==="TEXTAREA"||M.isContentEditable);return _&&!z},d=v=>!!i?.has(v.keyCode),f=()=>{let v=t;if(!v)return;r&&(v.clearTimeout(r),r=void 0);let M=v.document.activeElement;r=v.setTimeout(()=>{r=void 0;let _=v.document.activeElement;M&&_&&M===_&&s(!1)},FN)},h=v=>{if(l||o)return;let M=v.detail;M.relatedTarget&&(M.isFocusedProgrammatically||M.isFocusedProgrammatically===void 0||s(!0))},g=()=>{t&&(l&&t.clearTimeout(l),l=t.setTimeout(()=>{l=void 0},1e3)),s(!1)},m=v=>{v.buttons===0||v.clientX===0&&v.clientY===0&&v.screenX===0&&v.screenY===0||g()},b=v=>{o?d(v)&&f():u(v)&&s(!0)},p=e.document;return _e(p,v5,h),_e(p,"mousedown",m),_e(e,"keydown",b),_e(p,"touchstart",g),_e(p,"touchend",g),_e(p,"touchcancel",g),RN(e),{dispose:()=>{if(!t)return;l&&(t.clearTimeout(l),l=void 0),r&&(t.clearTimeout(r),r=void 0),HN(t);let v=t.document;L2(v,v5,h),L2(v,"mousedown",m),L2(t,"keydown",b),L2(v,"touchstart",g),L2(v,"touchend",g),L2(v,"touchcancel",g),t=void 0},get isNavigatingWithKeyboard(){return o},set isNavigatingWithKeyboard(v){s(v)}}}function bt(e,a){let t=e,o="k"+ ++VN,l=t,r,n=[],i=t.__keyborg;i?r=i.core:r=qN(t,a);let c={isNavigatingWithKeyboard(){return!!r?.isNavigatingWithKeyboard},subscribe(s){n.push(s)},unsubscribe(s){let u=n.indexOf(s);u>=0&&n.splice(u,1)},setVal(s){r&&(r.isNavigatingWithKeyboard=s)},_cb:n,dispose(){let s=l?.__keyborg;s?.refs[o]&&(delete s.refs[o],Object.keys(s.refs).length===0&&(s.core.dispose(),delete l.__keyborg)),n.length=0,r=void 0,l=void 0}};return i?i.refs[o]=c:t.__keyborg={core:r,refs:{[o]:c}},c}function Mt(e){e.dispose()}var LN="tabster:focusin",wN="tabster:focusout",r4="tabster:movefocus";var kN="tabster:modalizer:active",TN="tabster:modalizer:inactive";var BN="tabster:mover:state",n4="tabster:mover:movefocus",Us="tabster:mover:memorized-element",i4="tabster:groupper:movefocus",js="tabster:restorer:restore-focus",DN="tabster:root:focus",PN="tabster:root:blur",NN=typeof CustomEvent<"u"?CustomEvent:function(){},r2=class extends NN{details;constructor(a,t){super(a,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}},Ds=class extends r2{constructor(a){super(LN,a)}},Ps=class extends r2{constructor(a){super(wN,a)}},g5=class extends r2{constructor(a){super(r4,a)}},t4=class extends r2{constructor(a){super(BN,a)}},o4=class extends r2{constructor(a){super(n4,a)}};var Lr=class extends r2{constructor(a){super(i4,a)}},Ns=class extends r2{constructor(a){super(kN,a)}},Os=class extends r2{constructor(a){super(TN,a)}};var l4=class extends r2{constructor(){super(js)}},Es=class extends r2{constructor(a){super(DN,a)}},Is=class extends r2{constructor(a){super(PN,a)}};var ON=e=>new MutationObserver(e),EN=(e,a,t,o)=>e.createTreeWalker(a,t,o),IN=e=>e?e.parentNode:null,UN=e=>e?e.parentElement:null,jN=(e,a)=>!!(a&&e?.contains(a)),GN=e=>e.activeElement,WN=(e,a)=>e.querySelector(a),QN=(e,a)=>Array.prototype.slice.call(e.querySelectorAll(a),0),KN=(e,a)=>e.getElementById(a),XN=e=>e?.firstChild||null,YN=e=>e?.lastChild||null,ZN=e=>e?.nextSibling||null,JN=e=>e?.previousSibling||null,$N=e=>e?.firstElementChild||null,eO=e=>e?.lastElementChild||null,aO=e=>e?.nextElementSibling||null,tO=e=>e?.previousElementSibling||null,oO=(e,a)=>e.appendChild(a),lO=(e,a,t)=>e.insertBefore(a,t),rO=e=>e.ownerDocument?.getSelection()||null,nO=(e,a)=>e.ownerDocument.getElementsByName(a),P={createMutationObserver:ON,createTreeWalker:EN,getParentNode:IN,getParentElement:UN,nodeContains:jN,getActiveElement:GN,querySelector:WN,querySelectorAll:QN,getElementById:KN,getFirstChild:XN,getLastChild:YN,getNextSibling:ZN,getPreviousSibling:JN,getFirstElementChild:$N,getLastElementChild:eO,getNextElementSibling:aO,getPreviousElementSibling:tO,appendChild:oO,insertBefore:lO,getSelection:rO,getElementsByName:nO};function Oy(e){for(let a of Object.keys(e))P[a]=e[a]}var iO=0;function c4(e){let a=e(),t=a.__tabsterInstanceContext;return t||(t={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0},a.__tabsterInstanceContext=t),t}function Ey(e){let a=e.__tabsterInstanceContext;a&&(a.elementByUId={},a.containerBoundingRectCache={},a.containerBoundingRectCacheTimer&&e.clearTimeout(a.containerBoundingRectCacheTimer),delete e.__tabsterInstanceContext)}function Iy(e){return!!e.querySelector(Ts)}var c0=class{_ref;_data;constructor(a,t){this._ref=new WeakRef(a),this._data=t}get(){let a=this._ref,t;return a&&(t=a.deref(),t||delete this._ref),t}getData(){return this._data}};function Lo(e,a,t){if(a.nodeType===Node.ELEMENT_NODE)return P.createTreeWalker(e,a,NodeFilter.SHOW_ELEMENT,{acceptNode:t})}function Uy(e,a){let t=a.__tabsterCacheId,o=c4(e),l=t?o.containerBoundingRectCache[t]:void 0;if(l)return l.rect;let r=a.ownerDocument&&a.ownerDocument.documentElement;if(!r)return new DOMRect;let n=0,i=0,c=r.clientWidth,s=r.clientHeight;if(a!==r){let d=a.getBoundingClientRect();n=Math.max(n,d.left),i=Math.max(i,d.top),c=Math.min(c,d.right),s=Math.min(s,d.bottom)}let u=new DOMRect(n<c?n:-1,i<s?i:-1,n<c?c-n:0,i<s?s-i:0);return t||(t="r-"+ ++o.lastContainerBoundingRectCacheId,a.__tabsterCacheId=t),o.containerBoundingRectCache[t]={rect:u,element:a},o.containerBoundingRectCacheTimer||(o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(let d of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[d].element.__tabsterCacheId;o.containerBoundingRectCache={}},50)),u}function Em(e,a,t){let o=Gy(a);if(!o)return!1;let l=Uy(e,o),r=a.getBoundingClientRect(),n=r.height*(1-t),i=Math.max(0,l.top-r.top),c=Math.max(0,r.bottom-l.bottom),s=i+c;return s===0||s<=n}function jy(e,a,t){let o=Gy(a);if(o){let l=Uy(e,o),r=a.getBoundingClientRect();t?o.scrollTop+=r.top-l.top:o.scrollTop+=r.bottom-l.bottom}}function Gy(e){let a=e.ownerDocument;if(a){for(let t=P.getParentElement(e);t;t=P.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return a.documentElement}return null}function Wy(e){e.__shouldIgnoreFocus=!0}function Ws(e){return!!e.__shouldIgnoreFocus}function cO(e){let a=new Uint32Array(4);e.crypto.getRandomValues(a);let t=[];for(let o=0;o<a.length;o++)t.push(a[o].toString(36));return t.push("|"),t.push((++iO).toString(36)),t.push("|"),t.push(Date.now().toString(36)),t.join("")}function wr(e,a){let t=c4(e),o=a.__tabsterElementUID;return o||(o=a.__tabsterElementUID=cO(e())),!t.elementByUId[o]&&Um(a.ownerDocument,a)&&(t.elementByUId[o]=new c0(a)),o}function Im(e,a){let t=c4(e);for(let o of Object.keys(t.elementByUId)){let l=t.elementByUId[o],r=l&&l.get();r&&a&&!P.nodeContains(a,r)||delete t.elementByUId[o]}}function Um(e,a){return P.nodeContains(e?.body,a)}function Qs(e,a){return typeof e.matches=="function"&&e.matches(a)}var sO=0,w2=class{_tabster;_element;_props;id;constructor(a,t,o){this._tabster=a,this._element=new c0(t),this._props={...o},this.id="i"+ ++sO}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}};function Ks(e){let a=null;for(let t=P.getLastElementChild(e);t;t=P.getLastElementChild(t))a=t;return a||void 0}function Qy(e,a){let t=e,o=null;for(;t&&!o;)o=a?P.getPreviousElementSibling(t):P.getNextElementSibling(t),t=P.getParentElement(t);return o||void 0}function Xs(e,a,t,o){let l=e.storageEntry(a,!0),r=!1;if(!l.aug){if(o===void 0)return r;l.aug={}}if(o===void 0){if(t in l.aug){let n=l.aug[t];delete l.aug[t],n===null?a.removeAttribute(t):a.setAttribute(t,n),r=!0}}else{let n;t in l.aug||(n=a.getAttribute(t)),n!==void 0&&n!==o&&(l.aug[t]=n,o===null?a.removeAttribute(t):a.setAttribute(t,o),r=!0)}return o===void 0&&Object.keys(l.aug).length===0&&(delete l.aug,e.storageEntry(a,!1)),r}function Ky(e){let a=e.ownerDocument,t=a.defaultView?.getComputedStyle(e);return e.offsetParent===null&&a.body!==e&&t?.position!=="fixed"||t?.visibility==="hidden"||t?.position==="fixed"&&(t.display==="none"||e.parentElement?.offsetParent===null&&a.body!==e.parentElement)}function Gs(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function Xy(e){if(!Gs(e))return;let a=e.name,t=Array.from(P.getElementsByName(e,a)),o;return t=t.filter(l=>Gs(l)?(l.checked&&(o=l),!0):!1),{name:a,buttons:new Set(t),checked:o}}var jm=100,kr=class{_isPhantom;_fixedTarget;_disposeTimer;_clearDisposeTimeout;input;useDefaultAction;isFirst;isOutside;onFocusIn;onFocusOut;constructor(a,t,o,l,r){let n=a(),i=n.document.createElement("i");i.tabIndex=0,i.setAttribute("role","none"),i.setAttribute(Py,""),i.setAttribute("aria-hidden","true");let c=i.style;c.position="fixed",c.width=c.height="1px",c.opacity="0.001",c.zIndex="-1",c.setProperty("content-visibility","hidden"),Wy(i),this.input=i,this.isFirst=o.isFirst,this.isOutside=t,this._isPhantom=o.isPhantom??!1,this._fixedTarget=r,i.addEventListener("focusin",this._focusIn),i.addEventListener("focusout",this._focusOut),i.__tabsterDummyContainer=l,this._isPhantom&&(this._disposeTimer=n.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(n.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){this._clearDisposeTimeout&&this._clearDisposeTimeout();let a=this.input;a&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,a.removeEventListener("focusin",this._focusIn),a.removeEventListener("focusout",this._focusOut),delete a.__tabsterDummyContainer,P.getParentNode(a)?.removeChild(a))}setTopLeft(a,t){let o=this.input?.style;o&&(o.top=`${a}px`,o.left=`${t}px`)}_isBackward(a,t,o){return a&&!o?!this.isFirst:!!(o&&t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)}_focusIn=a=>{if(this._fixedTarget){let o=this._fixedTarget.get();o&&i5(o);return}let t=this.input;if(this.onFocusIn&&t){let o=a.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,o),o)}};_focusOut=a=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let t=this.input;if(this.onFocusOut&&t){let o=a.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,o),o)}}},_t={Root:1,Modalizer:2,Mover:3,Groupper:4},n2=class{_instance;_onFocusIn;_onFocusOut;_element;constructor(a,t,o,l,r,n){this._element=t,this._instance=new Gm(a,t,this,o,l,r,n)}_setHandlers(a,t){this._onFocusIn=a,this._onFocusOut=t}moveOut(a){this._instance?.moveOut(a)}moveOutWithDefaultAction(a,t){this._instance?.moveOutWithDefaultAction(a,t)}getHandler(a){return a?this._onFocusIn:this._onFocusOut}setTabbable(a){this._instance?.setTabbable(this,a)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(a,t,o,l,r){let i=new kr(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(i){let c,s;if(t.tagName==="BODY")c=t,s=o&&l||!o&&!l?P.getFirstElementChild(t):null;else{o&&(!l||l&&!a.focusable.isFocusable(t,!1,!0,!0))?(c=t,s=l?t.firstElementChild:null):(c=P.getParentElement(t),s=o&&l||!o&&!l?t:P.getNextElementSibling(t));let u,d;do u=o&&l||!o&&!l?P.getPreviousElementSibling(s):s,d=ze(u),d===t?s=o&&l||!o&&!l?u:P.getNextElementSibling(u):d=null;while(d)}c?.dispatchEvent(new g5({by:"root",owner:c,next:null,relatedEvent:r}))&&(P.insertBefore(c,i,s),i5(i))}}static addPhantomDummyWithTarget(a,t,o,l){let n=new kr(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new c0(l)).input;if(n){let i,c;Iy(t)&&!o?(i=t,c=P.getFirstElementChild(t)):(i=P.getParentElement(t),c=o?t:P.getNextElementSibling(t)),i&&P.insertBefore(i,n,c)}}};var Ys=class{_win;_updateQueue=new Set;_updateTimer;_lastUpdateQueueTime=0;_changedParents=new WeakSet;_updateDummyInputsTimer;_dummyElements=[];_dummyCallbacks=new WeakMap;constructor(a){this._win=a}add(a,t){!this._dummyCallbacks.has(a)&&this._win&&(this._dummyElements.push(new c0(a)),this._dummyCallbacks.set(a,t),this.domChanged=this._domChanged)}remove(a){this._dummyElements=this._dummyElements.filter(t=>{let o=t.get();return o&&o!==a}),this._dummyCallbacks.delete(a),this._dummyElements.length===0&&delete this.domChanged}dispose(){let a=this._win?.();this._updateTimer&&(a?.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(a?.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}_domChanged=a=>{this._changedParents.has(a)||(this._changedParents.add(a),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=this._win?.().setTimeout(()=>{delete this._updateDummyInputsTimer;for(let t of this._dummyElements){let o=t.get();if(o){let l=this._dummyCallbacks.get(o);if(l){let r=P.getParentNode(o);(!r||this._changedParents.has(r))&&l()}}}this._changedParents=new WeakSet},jm)))};updatePositions(a){this._win&&(this._updateQueue.add(a),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){this._updateTimer||(this._updateTimer=this._win?.().setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+jm<=Date.now()){let a=new Map,t=[];for(let o of this._updateQueue)t.push(o(a));this._updateQueue.clear();for(let o of t)o();a.clear()}else this._scheduledUpdatePositions()},jm))}},Gm=class{_tabster;_addTimer;_getWindow;_wrappers=[];_element;_isOutside=!1;_firstDummy;_lastDummy;_transformElements=new Set;_callForDefaultAction;constructor(a,t,o,l,r,n,i){let c=t.get();if(!c)throw new Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=i;let s=c.__tabsterDummy;if((s||this)._wrappers.push({manager:o,priority:l,tabbable:!0}),s)return s;c.__tabsterDummy=this;let u=r?.dummyInputsPosition,d=c.tagName;this._isOutside=u?u===Ny.Outside:(n||d==="UL"||d==="OL"||d==="TABLE")&&!(d==="LI"||d==="TD"||d==="TH"),this._firstDummy=new kr(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new kr(this._getWindow,this._isOutside,{isFirst:!1},t);let f=this._firstDummy.input;f&&a._dummyObserver.add(f,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(a,t){if((this._wrappers=this._wrappers.filter(l=>l.manager!==a&&!t)).length===0){delete(this._element?.get()).__tabsterDummy;for(let n of this._transformElements)n.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();let l=this._getWindow();this._addTimer&&(l.clearTimeout(this._addTimer),delete this._addTimer);let r=this._firstDummy?.input;r&&this._tabster._dummyObserver.remove(r),this._firstDummy?.dispose(),this._lastDummy?.dispose()}}_onFocus(a,t,o,l){let r=this._getCurrent();r&&(!t.useDefaultAction||this._callForDefaultAction)&&r.manager.getHandler(a)?.(t,o,l)}_onFocusIn=(a,t,o)=>{this._onFocus(!0,a,t,o)};_onFocusOut=(a,t,o)=>{this._onFocus(!1,a,t,o)};moveOut=a=>{let t=this._firstDummy,o=this._lastDummy;if(t&&o){this._ensurePosition();let l=t.input,r=o.input,n=this._element?.get();if(l&&r&&n){let i;a?(l.tabIndex=0,i=l):(r.tabIndex=0,i=r),i&&i5(i)}}};moveOutWithDefaultAction=(a,t)=>{let o=this._firstDummy,l=this._lastDummy;if(o&&l){this._ensurePosition();let r=o.input,n=l.input,i=this._element?.get();if(r&&n&&i){let c;a?!o.isOutside&&this._tabster.focusable.isFocusable(i,!0,!0,!0)?c=i:(o.useDefaultAction=!0,r.tabIndex=0,c=r):(l.useDefaultAction=!0,n.tabIndex=0,c=n),c&&i.dispatchEvent(new g5({by:"root",owner:i,next:null,relatedEvent:t}))&&i5(c)}}};setTabbable=(a,t)=>{for(let l of this._wrappers)if(l.manager===a){l.tabbable=t;break}let o=this._getCurrent();if(o){let l=o.tabbable?0:-1,r=this._firstDummy?.input;r&&(r.tabIndex=l),r=this._lastDummy?.input,r&&(r.tabIndex=l)}};_getCurrent(){return this._wrappers.sort((a,t)=>a.tabbable!==t.tabbable?a.tabbable?-1:1:a.priority-t.priority),this._wrappers[0]}_addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))};_ensurePosition(){let a=this._element?.get(),t=this._firstDummy?.input,o=this._lastDummy?.input;if(!(!a||!t||!o))if(this._isOutside){let l=P.getParentNode(a);if(l){let r=P.getNextSibling(a);r!==o&&P.insertBefore(l,o,r),P.getPreviousElementSibling(a)!==t&&P.insertBefore(l,t,a)}}else{P.getLastElementChild(a)!==o&&P.appendChild(a,o);let l=P.getFirstElementChild(a);l&&l!==t&&l.parentNode&&P.insertBefore(l.parentNode,t,l)}}_addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)};_computeTransformOffsets=a=>{let t=this._firstDummy?.input||this._lastDummy?.input,o=this._transformElements,l=new Set,r=0,n=0,i=this._getWindow();for(let c=t;c&&c.nodeType===Node.ELEMENT_NODE;c=P.getParentElement(c)){let s=a.get(c);if(s===void 0){let u=i.getComputedStyle(c).transform;u&&u!=="none"&&(s={scrollTop:c.scrollTop,scrollLeft:c.scrollLeft}),a.set(c,s||null)}s&&(l.add(c),o.has(c)||c.addEventListener("scroll",this._addTransformOffsets),r+=s.scrollTop,n+=s.scrollLeft)}for(let c of o)l.has(c)||c.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=l,()=>{this._firstDummy?.setTopLeft(r,n),this._lastDummy?.setTopLeft(r,n)}}};function ze(e){return e?.__tabsterDummyContainer?.get()||null}function s4(e,a){let t=JSON.stringify(e);return a===!0?t:{[X0]:t}}function uO(e,a){for(let t of Object.keys(a)){let o=a[t];o?e[t]=o:delete e[t]}}function Yy(e,a,t){let o;if(t){let l=e.getAttribute(X0);if(l)try{o=JSON.parse(l)}catch{}}o||(o={}),uO(o,a),Object.keys(o).length>0?e.setAttribute(X0,s4(o,!0)):e.removeAttribute(X0)}var Zs=class extends n2{_tabster;_setFocused;constructor(a,t,o,l){super(a,t,_t.Root,l,void 0,!0),this._setHandlers(this._onDummyInputFocus),this._tabster=a,this._setFocused=o}_onDummyInputFocus=a=>{if(a.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);let t=this._element.get();if(t){this._setFocused(!0);let o=this._tabster.focusedElement.getFirstOrLastTabbable(a.isFirst,{container:t,ignoreAccessibility:!0});if(o){i5(o);return}}a.input?.blur()}}},Wm=class extends w2{uid;_dummyManager;_sys;_isFocused=!1;_setFocusedTimer;_onDispose;constructor(a,t,o,l,r){super(a,t,l),this._onDispose=o;let n=a.getWindow;this.uid=wr(n,t),this._sys=r,(a.controlTab||a.rootDummyInputs)&&this.addDummyInputs();let c=n().document;c.addEventListener(v5,this._onFocusIn),c.addEventListener(qo,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Zs(this._tabster,this._element,this._setFocused,this._sys))}dispose(){this._onDispose(this);let a=this._tabster.getWindow(),t=a.document;t.removeEventListener(v5,this._onFocusIn),t.removeEventListener(qo,this._onFocusOut),this._setFocusedTimer&&(a.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._dummyManager?.dispose(),this._remove()}moveOutWithDefaultAction(a,t){let o=this._dummyManager;if(o)o.moveOutWithDefaultAction(a,t);else{let l=this.getElement();l&&Zs.moveWithPhantomDummy(this._tabster,l,!0,a,t)}}_setFocused=a=>{if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===a)return;let t=this._element.get();t&&(a?(this._isFocused=!0,this._dummyManager?.setTabbable(!1),t.dispatchEvent(new Es({element:t}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{delete this._setFocusedTimer,this._isFocused=!1,this._dummyManager?.setTabbable(!0),t.dispatchEvent(new Is({element:t}))},0))};_onFocusIn=a=>{let t=this._tabster.getParent,o=this._element.get(),l=a.composedPath()[0];do{if(l===o){this._setFocused(!0);return}l=l&&t(l)}while(l)};_onFocusOut=()=>{this._setFocused(!1)};_add(){}_remove(){}};var g1=class{_tabster;_win;_autoRoot;_autoRootWaiting=!1;_roots={};_forceDummy=!1;rootById={};constructor(a,t){this._tabster=a,this._win=a.getWindow,this._autoRoot=t,a.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootCreate=()=>{let a=this._win().document,t=a.body;if(t){this._autoRootUnwait(a);let o=this._autoRoot;if(o)return Yy(t,{root:o},!0),Bs(this._tabster,t),Q1(this._tabster,t)?.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,a.addEventListener("readystatechange",this._autoRootCreate))};_autoRootUnwait(a){a.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){let a=this._win();this._autoRootUnwait(a.document),delete this._autoRoot,Object.keys(this._roots).forEach(t=>{this._roots[t]&&(this._roots[t].dispose(),delete this._roots[t])}),this.rootById={}}createRoot(a,t,o){let l=new Wm(this._tabster,a,this._onRootDispose,t,o);return this._roots[l.id]=l,this._forceDummy&&l.addDummyInputs(),l}addDummyInputs(){this._forceDummy=!0;let a=this._roots;for(let t of Object.keys(a))a[t].addDummyInputs()}static getRootByUId(a,t){let o=a().__tabsterInstance;return o&&o.root.rootById[t]}static getTabsterContext(a,t,o={}){if(!t.ownerDocument)return;let{checkRtl:l,referenceElement:r}=o,n=a.getParent;a.drainInitQueue();let i,c,s,u,d=!1,f,h,g,m,b=r||t,p={};for(;b&&(!i||l);){let v=Q1(a,b);if(l&&g===void 0){let S=b.dir;S&&(g=S.toLowerCase()==="rtl")}if(!v){b=n(b);continue}let M=b.tagName;(v.uncontrolled||M==="IFRAME"||M==="WEBVIEW")&&a.focusable.isVisible(b)&&(m=b),!u&&v.focusable?.excludeFromMover&&!s&&(d=!0);let _=v.modalizer,z=v.groupper,A=v.mover;!c&&_&&(c=_),!s&&z&&(!c||_)&&(c?(!z.isActive()&&z.getProps().tabbability&&c.userId!==a.modalizer?.activeId&&(c=void 0,s=z),h=z):s=z),!u&&A&&(!c||_)&&(!z||b!==t)&&b.contains(t)&&(u=A,f=!!s&&s!==z),v.root&&(i=v.root),v.focusable?.ignoreKeydown&&Object.assign(p,v.focusable.ignoreKeydown),b=n(b)}if(!i){let v=a.root;v._autoRoot&&t.ownerDocument?.body&&(i=v._autoRootCreate())}return s&&!u&&(f=!0),i?{root:i,modalizer:c,groupper:s,mover:u,groupperBeforeMover:f,modalizerInGroupper:h,rtl:l?!!g:void 0,uncontrolled:m,excludedFromMover:d,ignoreKeydown:v=>!!p[v.key]}:void 0}static getRoot(a,t){let o=a.getParent;for(let l=t;l;l=o(l)){let r=Q1(a,l)?.root;if(r)return r}}onRoot(a,t){t?delete this.rootById[a.uid]:this.rootById[a.uid]=a}_onRootDispose=a=>{delete this._roots[a.id]}};var Js=class{_tabster;constructor(a){this._tabster=a}dispose(){}getProps(a){let t=Q1(this._tabster,a);return t&&t.focusable||{}}isFocusable(a,t,o,l){return Qs(a,Ts)&&(t||a.tabIndex!==-1)?(o||this.isVisible(a))&&(l||this.isAccessible(a)):!1}isVisible(a){if(!a.ownerDocument||a.nodeType!==Node.ELEMENT_NODE||Ky(a))return!1;let t=a.ownerDocument.body.getBoundingClientRect();return!(t.width===0&&t.height===0)}isAccessible(a){for(let t=a;t;t=P.getParentElement(t)){let o=Q1(this._tabster,t);if(this._isHidden(t)||!o?.focusable?.ignoreAriaDisabled&&this._isDisabled(t))return!1}return!0}_isDisabled(a){return a.hasAttribute("disabled")}_isHidden(a){let t=a.getAttribute("aria-hidden");return!!(t&&t.toLowerCase()==="true"&&!this._tabster.modalizer?.isAugmented(a))}findFirst(a,t){return this.findElement({...a},t)}findLast(a,t){return this.findElement({isBackward:!0,...a},t)}findNext(a,t){return this.findElement({...a},t)}findPrev(a,t){return this.findElement({...a,isBackward:!0},t)}findDefault(a,t){return this.findElement({...a,acceptCondition:o=>this.isFocusable(o,a.includeProgrammaticallyFocusable)&&!!this.getProps(o).isDefault},t)||null}findAll(a){return this._findElements(!0,a)||[]}findElement(a,t){let o=this._findElements(!1,a,t);return o&&o[0]}_findElements(a,t,o){let{container:l,currentElement:r=null,includeProgrammaticallyFocusable:n,useActiveModalizer:i,ignoreAccessibility:c,modalizerId:s,isBackward:u,onElement:d}=t;o||(o={});let f=[],{acceptCondition:h}=t,g=!!h;if(!l)return null;h||(h=x=>this.isFocusable(x,n,!1,c));let m={container:l,modalizerUserId:s===void 0&&i?this._tabster.modalizer?.activeId:s||g1.getTabsterContext(this._tabster,l)?.modalizer?.userId,from:r||l,isBackward:u,isFindAll:a,acceptCondition:h,hasCustomCondition:g,includeProgrammaticallyFocusable:n,ignoreAccessibility:c,cachedGrouppers:{},cachedRadioGroups:{}},b=Lo(l.ownerDocument,l,x=>this._acceptElement(x,m));if(!b)return null;let p=x=>{let v=m.foundElement??m.foundBackward;return v&&f.push(v),a?v&&(m.found=!1,delete m.foundElement,delete m.foundBackward,delete m.fromCtx,m.from=v,d&&!d(v))?!1:!!(v||x):(v&&o&&(o.uncontrolled=g1.getTabsterContext(this._tabster,v)?.uncontrolled),!!(x&&!v))};if(r||(o.outOfDOMOrder=!0),r&&P.nodeContains(l,r))b.currentNode=r;else if(u){let x=Ks(l);if(!x)return null;if(this._acceptElement(x,m)===NodeFilter.FILTER_ACCEPT&&!p(!0))return m.skippedFocusable&&(o.outOfDOMOrder=!0),f;b.currentNode=x}do u?b.previousNode():b.nextNode();while(p());return m.skippedFocusable&&(o.outOfDOMOrder=!0),f.length?f:null}_acceptElement(a,t){if(t.found)return NodeFilter.FILTER_ACCEPT;let o=t.foundBackward;if(o&&(a===o||!P.nodeContains(o,a)))return t.found=!0,t.foundElement=o,NodeFilter.FILTER_ACCEPT;let l=t.container;if(a===l)return NodeFilter.FILTER_SKIP;if(!P.nodeContains(l,a)||ze(a)||P.nodeContains(t.rejectElementsFrom,a))return NodeFilter.FILTER_REJECT;let r=t.currentCtx=g1.getTabsterContext(this._tabster,a);if(!r)return NodeFilter.FILTER_SKIP;if(Ws(a))return this.isFocusable(a,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&(a.tagName==="IFRAME"||a.tagName==="WEBVIEW"))return this.isVisible(a)&&r.modalizer?.userId===this._tabster.modalizer?.activeId?(t.found=!0,t.rejectElementsFrom=t.foundElement=a,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(a))return this.isFocusable(a,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let n,i=t.fromCtx;i||(i=t.fromCtx=g1.getTabsterContext(this._tabster,t.from));let c=i?.mover,s=r.groupper,u=r.mover;if(n=this._tabster.modalizer?.acceptElement(a,t),n!==void 0&&(t.skippedFocusable=!0),n===void 0&&(s||u||c)){let d=s?.getElement(),f=c?.getElement(),h=u?.getElement();if(h&&P.nodeContains(f,h)&&P.nodeContains(l,f)&&(!d||!u||P.nodeContains(f,d))&&(u=c,h=f),d){if(d===l||!P.nodeContains(l,d))s=void 0;else if(!P.nodeContains(d,a))return NodeFilter.FILTER_REJECT}if(h){if(!P.nodeContains(l,h))u=void 0;else if(!P.nodeContains(h,a))return NodeFilter.FILTER_REJECT}s&&u&&(h&&d&&!P.nodeContains(d,h)?u=void 0:s=void 0),s&&(n=s.acceptElement(a,t)),u&&(n=u.acceptElement(a,t))}if(n===void 0&&(n=t.acceptCondition(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,n===NodeFilter.FILTER_SKIP&&this.isFocusable(a,!1,!0,!0)&&(t.skippedFocusable=!0)),n===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&Gs(a)&&!a.checked){let d=a.name,f=t.cachedRadioGroups[d];if(f||(f=Xy(a),f&&(t.cachedRadioGroups[d]=f)),f?.checked&&f.checked!==a)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=a,n=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=a)}return n}};var K1={Tab:"Tab",Enter:"Enter",Escape:"Escape",Space:" ",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};var Tr=class{_val;_callbacks=[];dispose(){this._callbacks=[],delete this._val}subscribe(a){let t=this._callbacks;t.indexOf(a)<0&&t.push(a)}subscribeFirst(a){let t=this._callbacks,o=t.indexOf(a);o>=0&&t.splice(o,1),t.unshift(a)}unsubscribe(a){let t=this._callbacks.indexOf(a);t>=0&&this._callbacks.splice(t,1)}setVal(a,t){this._val!==a&&(this._val=a,this._callCallbacks(a,t))}getVal(){return this._val}trigger(a,t){this._callCallbacks(a,t)}_callCallbacks(a,t){this._callbacks.forEach(o=>o(a,t))}};function dO(e,a){let t=e.getParent,o=a;do{let l=Q1(e,o)?.uncontrolled;if(l&&e.uncontrolled.isUncontrolledCompletely(o,!!l.completely))return o;o=t(o)}while(o)}var Zy={[q2.Restorer]:0,[q2.Deloser]:1,[q2.EscapeGroupper]:2},k2=class e extends Tr{static _lastResetElement;static _isTabbingTimer;static isTabbing=!1;_tabster;_win;_nextVal;_lastVal;_asyncFocus;constructor(a,t){super(),this._tabster=a,this._win=t,a.queueInit(this._init)}_init=()=>{let a=this._win(),t=a.document;t.addEventListener(v5,this._onFocusIn,!0),t.addEventListener(qo,this._onFocusOut,!0),a.addEventListener("keydown",this._onKeyDown,!0);let o=P.getActiveElement(t);o&&o!==t.body&&this._setFocusedElement(o),this.subscribe(this._onChanged)};dispose(){super.dispose();let a=this._win(),t=a.document;t.removeEventListener(v5,this._onFocusIn,!0),t.removeEventListener(qo,this._onFocusOut,!0),a.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);let o=this._asyncFocus;o&&(a.clearTimeout(o.timeout),delete this._asyncFocus),delete e._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(a,t){let o=e._lastResetElement,l=o&&o.get();l&&P.nodeContains(t,l)&&delete e._lastResetElement,l=a._nextVal?.element?.get(),l&&P.nodeContains(t,l)&&delete a._nextVal,o=a._lastVal,l=o&&o.get(),l&&P.nodeContains(t,l)&&delete a._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){let a=this._lastVal?.get();return(!a||a&&!Um(a.ownerDocument,a))&&(this._lastVal=a=void 0),a}focus(a,t,o,l){return this._tabster.focusable.isFocusable(a,t,!1,o)?(a.focus({preventScroll:l}),!0):!1}focusDefault(a){let t=this._tabster.focusable.findDefault({container:a});return t?(this._tabster.focusedElement.focus(t),!0):!1}getFirstOrLastTabbable(a,t){let{container:o,ignoreAccessibility:l}=t,r;if(o){let n=g1.getTabsterContext(this._tabster,o);n&&(r=e.findNextTabbable(this._tabster,n,o,void 0,void 0,!a,l)?.element)}return r&&!P.nodeContains(o,r)&&(r=void 0),r||void 0}_focusFirstOrLast(a,t){let o=this.getFirstOrLastTabbable(a,t);return o?(this.focus(o,!1,!0),!0):!1}focusFirst(a){return this._focusFirstOrLast(!0,a)}focusLast(a){return this._focusFirstOrLast(!1,a)}resetFocus(a){if(!this._tabster.focusable.isVisible(a))return!1;if(this._tabster.focusable.isFocusable(a,!0,!0,!0))this.focus(a);else{let t=a.getAttribute("tabindex"),o=a.getAttribute("aria-hidden");a.tabIndex=-1,a.setAttribute("aria-hidden","true"),e._lastResetElement=new c0(a),this.focus(a,!0,!0),this._setOrRemoveAttribute(a,"tabindex",t),this._setOrRemoveAttribute(a,"aria-hidden",o)}return!0}requestAsyncFocus(a,t,o){let l=this._tabster.getWindow(),r=this._asyncFocus;if(r){if(Zy[a]>Zy[r.source])return;l.clearTimeout(r.timeout)}this._asyncFocus={source:a,callback:t,timeout:l.setTimeout(()=>{this._asyncFocus=void 0,t()},o)}}cancelAsyncFocus(a){let t=this._asyncFocus;t?.source===a&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(a,t,o){o===null?a.removeAttribute(t):a.setAttribute(t,o)}_setFocusedElement(a,t,o){if(this._tabster._noop)return;let l={relatedTarget:t};if(a){let n=e._lastResetElement?.get();if(e._lastResetElement=void 0,n===a||Ws(a))return;l.isFocusedProgrammatically=o;let c=g1.getTabsterContext(this._tabster,a)?.modalizer?.userId;c&&(l.modalizerId=c)}let r=this._nextVal={element:a?new c0(a):void 0,detail:l};a&&a!==this._val&&this._validateFocusedElement(a),this._nextVal===r&&this.setVal(a,l),this._nextVal=void 0}setVal(a,t){super.setVal(a,t),a&&(this._lastVal=new c0(a))}_onFocusIn=a=>{let t=a.composedPath()[0];t&&this._setFocusedElement(t,a.detail.relatedTarget,a.detail.isFocusedProgrammatically)};_onFocusOut=a=>{this._setFocusedElement(void 0,a.detail?.originalEvent.relatedTarget)};static findNextTabbable(a,t,o,l,r,n,i){let c=o||t.root.getElement();if(!c)return null;let s=null,u=e._isTabbingTimer,d=a.getWindow();u&&d.clearTimeout(u),e.isTabbing=!0,e._isTabbingTimer=d.setTimeout(()=>{delete e._isTabbingTimer,e.isTabbing=!1},0);let f=t.modalizer,h=t.groupper,g=t.mover,m=b=>{if(s=b.findNextTabbable(l,r,n,i),l&&!s?.element){let p=b!==f&&P.getParentElement(b.getElement());if(p){let x=g1.getTabsterContext(a,l,{referenceElement:p});if(x){let v=b.getElement(),M=n?v:v&&Ks(v)||v;M&&(s=e.findNextTabbable(a,x,o,M,p,n,i),s&&(s.outOfDOMOrder=!0))}}}};if(h&&g)m(t.groupperBeforeMover?h:g);else if(h)m(h);else if(g)m(g);else if(f)m(f);else{let b={container:c,currentElement:l,referenceElement:r,ignoreAccessibility:i,useActiveModalizer:!0},p={};s={element:a.focusable[n?"findPrev":"findNext"](b,p),outOfDOMOrder:p.outOfDOMOrder,uncontrolled:p.uncontrolled}}return s}_validateFocusedElement=a=>{};_onKeyDown=a=>{if(a.key!==K1.Tab||a.ctrlKey)return;let t=this.getVal();if(!t||!t.ownerDocument||t.contentEditable==="true")return;let o=this._tabster,l=o.controlTab,r=g1.getTabsterContext(o,t);if(!r||r.ignoreKeydown(a))return;let n=a.shiftKey,i=e.findNextTabbable(o,r,void 0,t,void 0,n,!0),c=r.root.getElement();if(!c)return;let s=i?.element,u=dO(o,t);if(s){let d=i.uncontrolled;if(r.uncontrolled||P.nodeContains(d,t)){if(!i.outOfDOMOrder&&d===r.uncontrolled||u&&!P.nodeContains(u,s))return;n2.addPhantomDummyWithTarget(o,t,n,s);return}if(d&&o.focusable.isVisible(d)||s.tagName==="IFRAME"&&o.focusable.isVisible(s)){c.dispatchEvent(new g5({by:"root",owner:c,next:s,relatedEvent:a}))&&n2.moveWithPhantomDummy(o,d??s,!1,n,a);return}(l||i?.outOfDOMOrder)&&c.dispatchEvent(new g5({by:"root",owner:c,next:s,relatedEvent:a}))&&(a.preventDefault(),a.stopImmediatePropagation(),i5(s))}else!u&&c.dispatchEvent(new g5({by:"root",owner:c,next:null,relatedEvent:a}))&&r.root.moveOutWithDefaultAction(n,a)};_onChanged=(a,t)=>{if(a)a.dispatchEvent(new Ds(t));else{let o=this._lastVal?.get();if(o){let l={...t},n=g1.getTabsterContext(this._tabster,o)?.modalizer?.userId;n&&(l.modalizerId=n),o.dispatchEvent(new Ps(l))}}}};var $s=class extends Tr{_keyborg;constructor(a){super(),this._keyborg=bt(a()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Mt(this._keyborg),delete this._keyborg)}_onChange=a=>{this.setVal(a,void 0)};setNavigatingWithKeyboard(a){this._keyborg?.setVal(a)}isNavigatingWithKeyboard(){return!!this._keyborg?.isNavigatingWithKeyboard()}};function Jy(e,a,t,o){if(typeof MutationObserver>"u")return()=>{};let l=a.getWindow,r,n=u=>{let d=new Set;for(let f of u){let h=f.target,g=f.removedNodes,m=f.addedNodes;if(f.type==="attributes")f.attributeName===X0&&(d.has(h)||t(a,h));else{for(let b=0;b<g.length;b++){let p=g[b];d.add(p),i(p,!0),a._dummyObserver.domChanged?.(h)}for(let b=0;b<m.length;b++)i(m[b]),a._dummyObserver.domChanged?.(h)}}d.clear(),a.modalizer?.hiddenUpdate()};function i(u,d){r||(r=c4(l).elementByUId),c(u,d);let f=Lo(e,u,h=>c(h,d));if(f)for(;f.nextNode(););}function c(u,d){if(!u.getAttribute)return NodeFilter.FILTER_SKIP;let f=u.__tabsterElementUID;return f&&r&&(d?delete r[f]:r[f]??=new c0(u)),(Q1(a,u)||u.hasAttribute(X0))&&t(a,u,d),NodeFilter.FILTER_SKIP}let s=P.createMutationObserver(n);return o&&i(l().document.body),s.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[X0]}),()=>{s.disconnect()}}var e8=class{_isUncontrolledCompletely;constructor(a){this._isUncontrolledCompletely=a}isUncontrolledCompletely(a,t){let o=this._isUncontrolledCompletely?.(a,t);return o===void 0?t:o}};var fO=0,Qm="aria-hidden";var Km=class extends n2{constructor(a,t,o){super(t,a,_t.Modalizer,o),this._setHandlers((l,r)=>{let n=a.get(),i=n&&g1.getRoot(t,n)?.getElement(),c=l.input,s;if(i&&c){let u=ze(c),d=g1.getTabsterContext(t,u||c);d&&(s=k2.findNextTabbable(t,d,i,c,void 0,r,!0)?.element),s&&i5(s)}})}},Xm=class extends w2{userId;_isActive;_wasFocused=0;_onDispose;_activeElements;dummyManager;constructor(a,t,o,l,r,n){super(a,t,l),this.userId=l.id,this._onDispose=o,this._activeElements=n,a.controlTab||(this.dummyManager=new Km(this._element,a,r))}makeActive(a){if(this._isActive!==a){this._isActive=a;let t=this.getElement();if(t){let o=this._activeElements,l=o.map(r=>r.get()).indexOf(t);a?l<0&&o.push(new c0(t)):l>=0&&o.splice(l,1)}this._dispatchEvent(a)}}focused(a){return a||(this._wasFocused=++fO),this._wasFocused}setProps(a){a.id&&(this.userId=a.id),this._props={...a}}dispose(){this.makeActive(!1),this._onDispose(this),this.dummyManager?.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(a){return P.nodeContains(this.getElement(),a)}findNextTabbable(a,t,o,l){if(!this.getElement())return null;let n=this._tabster,i=null,c=!1,s,u=a&&g1.getRoot(n,a)?.getElement();if(u){let d={container:u,currentElement:a,referenceElement:t,ignoreAccessibility:l,useActiveModalizer:!0},f={};i=n.focusable[o?"findPrev":"findNext"](d,f),!i&&this._props.isTrapped&&n.modalizer?.activeId?(i=n.focusable[o?"findLast":"findFirst"]({container:u,ignoreAccessibility:l,useActiveModalizer:!0},f),i===null&&(i=a),c=!0):c=!!f.outOfDOMOrder,s=f.uncontrolled}return{element:i,uncontrolled:s,outOfDOMOrder:c}}_dispatchEvent(a,t){let o=this.getElement(),l=!1;if(o){let r=t?this._activeElements.map(n=>n.get()):[o];for(let n of r)if(n){let i={id:this.userId,element:o},c=a?new Ns(i):new Os(i);n.dispatchEvent(c),c.defaultPrevented&&(l=!0)}}return l}_remove(){}};var a8=class{_tabster;_win;_restoreModalizerFocusTimer;_modalizers;_parts;_augMap;_aug;_hiddenUpdateTimer;_alwaysAccessibleSelector;_accessibleCheck;_activationHistory;activeId;currentIsOthersAccessible;activeElements;constructor(a,t,o){this._tabster=a,this._win=a.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=t,this._accessibleCheck=o,this._activationHistory=[],this.activeElements=[],a.controlTab||a.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),a.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){let a=this._win();a.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(t=>{this._modalizers[t]&&(this._modalizers[t].dispose(),delete this._modalizers[t])}),a.clearTimeout(this._restoreModalizerFocusTimer),a.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(a,t,o){let l=new Xm(this._tabster,a,this._onModalizerDispose,t,o,this.activeElements),r=l.id,n=t.id;this._modalizers[r]=l;let i=this._parts[n];i||(i=this._parts[n]={}),i[r]=l;let c=this._tabster.focusedElement.getFocusedElement()??null;return a!==c&&P.nodeContains(a,c)&&(n!==this.activeId?this.setActive(l):l.makeActive(!0)),l}_onModalizerDispose=a=>{let t=a.id,o=a.userId,l=this._parts[o];if(delete this._modalizers[t],l&&(delete l[t],Object.keys(l).length===0)){delete this._parts[o];let r=this._activationHistory,n=[],i;for(let c=r.length;c--;){let s=r[c];s!==o&&s!==i&&(i=s,(s||n.length>0)&&n.unshift(s))}if(this._activationHistory=n,this.activeId===o){let c=n[0],s=c?Object.values(this._parts[c])[0]:void 0;this.setActive(s)}}};_onKeyDown=a=>{if(a.key!==K1.Escape)return;let t=this._tabster,o=t.focusedElement.getFocusedElement();if(o){let l=g1.getTabsterContext(t,o),r=l?.modalizer;if(l&&!l.groupper&&r?.isActive()&&!l.ignoreKeydown(a)){let n=r.userId;if(n){let i=this._parts[n];if(i){let c=Object.keys(i).map(s=>{let u=i[s],d=u.getElement(),f;return d&&(f=Q1(t,d)?.groupper),u&&d&&f?{el:d,focusedSince:u.focused(!0)}:{focusedSince:0}}).filter(s=>s.focusedSince>0).sort((s,u)=>s.focusedSince>u.focusedSince?-1:s.focusedSince<u.focusedSince?1:0);if(c.length){let s=c[0].el;s&&t.groupper?.handleKeyPress(s,a,!0)}}}}}};isAugmented(a){return this._augMap.has(a)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(a){let t=a?.userId,o=this.activeId;if(o===t)return;if(this.activeId=t,o){let r=this._parts[o];if(r)for(let n of Object.keys(r))r[n].makeActive(!1)}if(t){let r=this._parts[t];if(r)for(let n of Object.keys(r))r[n].makeActive(!0)}this.currentIsOthersAccessible=a?.getProps().isOthersAccessible,this.hiddenUpdate();let l=this._activationHistory;l[0]!==t&&(t!==void 0||l.length>0)&&l.unshift(t)}focus(a,t,o){let l=this._tabster,n=g1.getTabsterContext(l,a)?.modalizer;if(n){this.setActive(n);let i=n.getProps(),c=n.getElement();if(c){if(t===void 0&&(t=i.isNoFocusFirst),!t&&l.keyboardNavigation.isNavigatingWithKeyboard()&&l.focusedElement.focusFirst({container:c})||(o===void 0&&(o=i.isNoFocusDefault),!o&&l.focusedElement.focusDefault(c)))return!0;l.focusedElement.resetFocus(c)}}return!1}activate(a){let t=a?g1.getTabsterContext(this._tabster,a)?.modalizer:void 0;return!a||t?(this.setActive(t),!0):!1}acceptElement(a,t){let o=t.modalizerUserId,l=t.currentCtx?.modalizer;if(o)for(let n of this.activeElements){let i=n.get();if(i&&(P.nodeContains(a,i)||i===a))return NodeFilter.FILTER_SKIP}let r=o===l?.userId||!o&&l?.getProps().isAlwaysAccessible?void 0:NodeFilter.FILTER_SKIP;return r!==void 0&&(t.skippedFocusable=!0),r}_hiddenUpdate(){let a=this._tabster,t=a.getWindow().document.body,o=this.activeId,l=this._parts,r=[],n=[],i=this._alwaysAccessibleSelector,c=i?Array.from(P.querySelectorAll(t,i)):[],s=[];for(let b of Object.keys(l)){let p=l[b];for(let x of Object.keys(p)){let v=p[x],M=v.getElement(),z=v.getProps().isAlwaysAccessible;M&&(b===o?(s.push(M),this.currentIsOthersAccessible||r.push(M)):z?c.push(M):n.push(M))}}let u=this._augMap,d=r.length>0?[...r,...c]:void 0,f=[],h=new WeakMap,g=(b,p)=>{let x=b.tagName;if(x==="SCRIPT"||x==="STYLE")return;let v=!1;u.has(b)?p?v=!0:(u.delete(b),Xs(a,b,Qm)):p&&!this._accessibleCheck?.(b,s)&&Xs(a,b,Qm,"true")&&(u.set(b,!0),v=!0),v&&(f.push(new c0(b)),h.set(b,!0))},m=b=>{for(let p=P.getFirstElementChild(b);p;p=P.getNextElementSibling(p)){let x=!1,v=!1,M=!1;if(d){let _=a.getParent(p);for(let z of d){if(p===z){x=!0;break}if(P.nodeContains(p,z)){v=!0;break}else P.nodeContains(z,_)&&(M=!0)}v||p.__tabsterElementFlags?.noDirectAriaHidden?m(p):!x&&!M&&g(p,!0)}else g(p,!1)}};d||c.forEach(b=>g(b,!1)),n.forEach(b=>g(b,!0)),t&&m(t),this._aug?.map(b=>b.get()).forEach(b=>{b&&!h.get(b)&&g(b,!1)}),this._aug=f,this._augMap=h}_onFocus=(a,t)=>{let o=this._tabster,l=a&&g1.getTabsterContext(o,a);if(!l||!a)return;let r=this._augMap;for(let s=a;s;s=P.getParentElement(s))r.has(s)&&(r.delete(s),Xs(o,s,Qm));let n=l.modalizer,i=Q1(o,a),c=i?.modalizer;if(c&&(c.focused(),c.userId===this.activeId&&i.groupper)){let s=o.getParent(a),u=s&&g1.getTabsterContext(o,s)?.modalizer;if(u)n=u;else{this.setActive(void 0);return}}if(n?.focused(),n?.userId===this.activeId){this.currentIsOthersAccessible=n?.getProps().isOthersAccessible;return}if(t.isFocusedProgrammatically||this.currentIsOthersAccessible||n?.getProps().isAlwaysAccessible)this.setActive(n);else{let s=this._win();s.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=s.setTimeout(()=>this._restoreModalizerFocus(a),100)}};_restoreModalizerFocus(a){let t=a?.ownerDocument;if(!a||!t)return;let o=this._tabster.focusedElement.getFocusedElement(),l=o&&g1.getTabsterContext(this._tabster,o)?.modalizer;if(!o||o&&l?.userId===this.activeId)return;let r=this._tabster,n=g1.getTabsterContext(r,a),i=n?.modalizer,c=this.activeId;if(!i&&!c||i&&c===i.userId)return;let s=n?.root.getElement();if(s){let u=r.focusable.findFirst({container:s,useActiveModalizer:!0});if(u){if(a.compareDocumentPosition(u)&document.DOCUMENT_POSITION_PRECEDING&&(u=r.focusable.findLast({container:s,useActiveModalizer:!0}),!u))throw new Error("Something went wrong.");r.focusedElement.focus(u);return}}a.blur()}};function u4(e,a,t){let o=e.core;if(!o.modalizer){let l=new a8(o,a,t);o.modalizer=l,o.attrHandlers.set("modalizer",(r,n,i,c,s)=>n?i.id&&c?.id!==i.id?(n.dispose(),l.createModalizer(r,i,s)):(n.setProps(i),n):l.createModalizer(r,i,s))}return o.modalizer}var hO=["input","textarea","*[contenteditable]"].join(", "),Zm=class extends n2{_tabster;_getMemorized;constructor(a,t,o,l){super(t,a,_t.Mover,l),this._tabster=t,this._getMemorized=o,this._setHandlers(this._onFocusDummyInput)}_onFocusDummyInput=a=>{let t=this._element.get(),o=a.input;if(t&&o){let l=g1.getTabsterContext(this._tabster,t),r;l&&(r=k2.findNextTabbable(this._tabster,l,void 0,o,void 0,!a.isFirst,!0)?.element);let n=this._getMemorized()?.get();n&&this._tabster.focusable.isFocusable(n)&&(r=n),r&&i5(r)}}},Ym=1,$y=2,eS=3,Jm=class extends w2{_unobserve;_intersectionObserver;_setCurrentTimer;_current;_prevCurrent;_visible={};_fullyVisible;_win;_onDispose;_allElements;_updateQueue;_updateTimer;visibilityTolerance;dummyManager;constructor(a,t,o,l,r){super(a,t,l),this._win=a.getWindow,this.visibilityTolerance=l.visibilityTolerance??.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=o;let n=()=>l.memorizeCurrent?this._current:void 0;a.controlTab||(this.dummyManager=new Zm(this._element,a,n,r))}dispose(){this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);let a=this._win();this._setCurrentTimer&&(a.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(a.clearTimeout(this._updateTimer),delete this._updateTimer),this.dummyManager?.dispose(),delete this.dummyManager}setCurrent(a){a?this._current=new c0(a):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{delete this._setCurrentTimer;let t=[];this._current!==this._prevCurrent&&(t.push(this._current),t.push(this._prevCurrent),this._prevCurrent=this._current);for(let o of t){let l=o?.get();if(l&&this._allElements?.get(l)===this){let r=this._props;if(l&&(r.visibilityAware!==void 0||r.trackState)){let n=this.getState(l);n&&l.dispatchEvent(new t4(n))}}}}))}getCurrent(){return this._current?.get()||null}findNextTabbable(a,t,o,l){let r=this.getElement(),n=r&&ze(a)===r;if(!r)return null;let i=null,c=!1,s;if(this._props.tabbable||n||a&&!P.nodeContains(r,a)){let u={currentElement:a,referenceElement:t,container:r,ignoreAccessibility:l,useActiveModalizer:!0},d={};i=this._tabster.focusable[o?"findPrev":"findNext"](u,d),c=!!d.outOfDOMOrder,s=d.uncontrolled}return{element:i,uncontrolled:s,outOfDOMOrder:c}}acceptElement(a,t){if(!k2.isTabbing)return t.currentCtx?.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:o,visibilityAware:l,hasDefault:r=!0}=this._props,n=this.getElement();if(n&&(o||l||r)&&(!P.nodeContains(n,t.from)||ze(t.from)===n)){let i;if(o){let c=this._current?.get();c&&t.acceptCondition(c)&&(i=c)}if(!i&&r&&(i=this._tabster.focusable.findDefault({container:n,useActiveModalizer:!0})),!i&&l&&(i=this._tabster.focusable.findElement({container:n,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:c=>{let s=wr(this._win,c),u=this._visible[s];return n!==c&&!!this._allElements?.get(c)&&t.acceptCondition(c)&&(u===be.Visible||u===be.PartiallyVisible&&(l===be.PartiallyVisible||!this._fullyVisible))}})),i)return t.found=!0,t.foundElement=i,t.rejectElementsFrom=n,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_onIntersection=a=>{for(let t of a){let o=t.target,l=wr(this._win,o),r,n=this._fullyVisible;if(t.intersectionRatio>=.25?(r=t.intersectionRatio>=.75?be.Visible:be.PartiallyVisible,r===be.Visible&&(n=l)):r=be.Invisible,this._visible[l]!==r){r===void 0?(delete this._visible[l],n===l&&delete this._fullyVisible):(this._visible[l]=r,this._fullyVisible=n);let i=this.getState(o);i&&o.dispatchEvent(new t4(i))}}};_observeState(){let a=this.getElement();if(this._unobserve||!a||typeof MutationObserver>"u")return;let t=this._win(),o=this._allElements=new WeakMap,l=this._tabster.focusable,r=this._updateQueue=[],n=P.createMutationObserver(h=>{for(let g of h){let m=g.target,b=g.removedNodes,p=g.addedNodes;if(g.type==="attributes")g.attributeName==="tabindex"&&r.push({element:m,type:$y});else{for(let x=0;x<b.length;x++)r.push({element:b[x],type:eS});for(let x=0;x<p.length;x++)r.push({element:p[x],type:Ym})}}d()}),i=(h,g)=>{let m=o.get(h);m&&g&&(this._intersectionObserver?.unobserve(h),o.delete(h)),!m&&!g&&(o.set(h,this),this._intersectionObserver?.observe(h))},c=h=>{let g=l.isFocusable(h);o.get(h)?g||i(h,!0):g&&i(h)},s=h=>{let{mover:g}=f(h);if(g&&g!==this)if(g.getElement()===h&&l.isFocusable(h))i(h);else return;let m=Lo(t.document,h,b=>{let{mover:p,groupper:x}=f(b);if(p&&p!==this)return NodeFilter.FILTER_REJECT;let v=x?.getFirst(!0);return x&&x.getElement()!==b&&v&&v!==b?NodeFilter.FILTER_REJECT:(l.isFocusable(b)&&i(b),NodeFilter.FILTER_SKIP)});if(m)for(m.currentNode=h;m.nextNode(););},u=h=>{o.get(h)&&i(h,!0);for(let m=P.getFirstElementChild(h);m;m=P.getNextElementSibling(m))u(m)},d=()=>{!this._updateTimer&&r.length&&(this._updateTimer=t.setTimeout(()=>{delete this._updateTimer;for(let{element:h,type:g}of r)switch(g){case $y:c(h);break;case Ym:s(h);break;case eS:u(h);break}r=this._updateQueue=[]},0))},f=h=>{let g={};for(let m=h;m;m=P.getParentElement(m)){let b=Q1(this._tabster,m);if(b&&(b.groupper&&!g.groupper&&(g.groupper=b.groupper),b.mover)){g.mover=b.mover;break}}return g};r.push({element:a,type:Ym}),d(),n.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{n.disconnect()}}getState(a){let t=wr(this._win,a);if(t in this._visible){let o=this._visible[t]||be.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:o}}}};function mO(e,a,t,o,l,r,n,i){let c=t<l?l-t:n<e?e-n:0,s=o<r?r-o:i<a?a-i:0;return c===0?s:s===0?c:Math.sqrt(c*c+s*s)}var t8=class{_tabster;_win;_movers;_ignoredInputTimer;_ignoredInputResolve;constructor(a,t){this._tabster=a,this._win=t,this._movers={},a.queueInit(this._init)}_init=()=>{let a=this._win();a.addEventListener("keydown",this._onKeyDown,!0),a.addEventListener(n4,this._onMoveFocus),a.addEventListener(Us,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)};dispose(){let a=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),this._ignoredInputResolve?.(!1),this._ignoredInputTimer&&(a.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),a.removeEventListener("keydown",this._onKeyDown,!0),a.removeEventListener(n4,this._onMoveFocus),a.removeEventListener(Us,this._onMemorizedElement),Object.keys(this._movers).forEach(t=>{this._movers[t]&&(this._movers[t].dispose(),delete this._movers[t])})}createMover(a,t,o){let l=new Jm(this._tabster,a,this._onMoverDispose,t,o);return this._movers[l.id]=l,l}_onMoverDispose=a=>{delete this._movers[a.id]};_onFocus=a=>{let t=a,o=a;for(let l=P.getParentElement(a);l;l=P.getParentElement(l)){let r=Q1(this._tabster,l)?.mover;r&&(r.setCurrent(o),t=void 0),!t&&this._tabster.focusable.isFocusable(l)&&(t=o=l)}};moveFocus(a,t){return this._moveFocus(a,t)}_moveFocus(a,t,o){let l=this._tabster,r=g1.getTabsterContext(l,a,{checkRtl:!0});if(!r||!r.mover||r.excludedFromMover||o&&r.ignoreKeydown(o))return null;let n=r.mover,i=n.getElement();if(r.groupperBeforeMover){let z=r.groupper;if(z&&!z.isActive(!0)){for(let A=P.getParentElement(z.getElement());A&&A!==i;A=P.getParentElement(A))if(Q1(l,A)?.groupper?.isActive(!0))return null}else return null}if(!i)return null;let c=l.focusable,s=n.getProps(),u=s.direction||l2.Both,d=u===l2.Both,f=d||u===l2.Vertical,h=d||u===l2.Horizontal,g=u===l2.GridLinear,m=g||u===l2.Grid,b=s.cyclic,p,x,v,M=0,_=0;if(m&&(v=a.getBoundingClientRect(),M=Math.ceil(v.left),_=Math.floor(v.right)),r.rtl&&(t===a0.ArrowRight?t=a0.ArrowLeft:t===a0.ArrowLeft&&(t=a0.ArrowRight)),t===a0.ArrowDown&&f||t===a0.ArrowRight&&(h||m))if(p=c.findNext({currentElement:a,container:i,useActiveModalizer:!0}),p&&m){let z=Math.ceil(p.getBoundingClientRect().left);!g&&_>z&&(p=void 0)}else!p&&b&&(p=c.findFirst({container:i,useActiveModalizer:!0}));else if(t===a0.ArrowUp&&f||t===a0.ArrowLeft&&(h||m))if(p=c.findPrev({currentElement:a,container:i,useActiveModalizer:!0}),p&&m){let z=Math.floor(p.getBoundingClientRect().right);!g&&z>M&&(p=void 0)}else!p&&b&&(p=c.findLast({container:i,useActiveModalizer:!0}));else if(t===a0.Home)m?c.findElement({container:i,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:z=>{if(!c.isFocusable(z))return!1;let A=Math.ceil(z.getBoundingClientRect().left??0);return z!==a&&M<=A?!0:(p=z,!1)}}):p=c.findFirst({container:i,useActiveModalizer:!0});else if(t===a0.End)m?c.findElement({container:i,currentElement:a,useActiveModalizer:!0,acceptCondition:z=>{if(!c.isFocusable(z))return!1;let A=Math.ceil(z.getBoundingClientRect().left??0);return z!==a&&M>=A?!0:(p=z,!1)}}):p=c.findLast({container:i,useActiveModalizer:!0});else if(t===a0.PageUp){if(c.findElement({currentElement:a,container:i,useActiveModalizer:!0,isBackward:!0,acceptCondition:z=>c.isFocusable(z)?Em(this._win,z,n.visibilityTolerance)?(p=z,!1):!0:!1}),m&&p){let z=Math.ceil(p.getBoundingClientRect().left);c.findElement({currentElement:p,container:i,useActiveModalizer:!0,acceptCondition:A=>{if(!c.isFocusable(A))return!1;let S=Math.ceil(A.getBoundingClientRect().left);return M<S||z>=S?!0:(p=A,!1)}})}x=!1}else if(t===a0.PageDown){if(c.findElement({currentElement:a,container:i,useActiveModalizer:!0,acceptCondition:z=>c.isFocusable(z)?Em(this._win,z,n.visibilityTolerance)?(p=z,!1):!0:!1}),m&&p){let z=Math.ceil(p.getBoundingClientRect().left);c.findElement({currentElement:p,container:i,useActiveModalizer:!0,isBackward:!0,acceptCondition:A=>{if(!c.isFocusable(A))return!1;let S=Math.ceil(A.getBoundingClientRect().left);return M>S||z<=S?!0:(p=A,!1)}})}x=!0}else if(m){let z=t===a0.ArrowUp,A=M,S=Math.ceil(v.top),R=_,B=Math.floor(v.bottom),w,O,V=0;c.findAll({container:i,currentElement:a,isBackward:z,onElement:N=>{let E=N.getBoundingClientRect(),U=Math.ceil(E.left),e1=Math.ceil(E.top),J=Math.floor(E.right),A1=Math.floor(E.bottom);if(z&&S<A1||!z&&B>e1)return!0;let n1=Math.ceil(Math.min(R,J))-Math.floor(Math.max(A,U)),I1=Math.ceil(Math.min(R-A,J-U));if(n1>0&&I1>=n1){let G=n1/I1;G>V&&(w=N,V=G)}else if(V===0){let G=mO(A,S,R,B,U,e1,J,A1);(O===void 0||G<O)&&(O=G,w=N)}else if(V>0)return!1;return!0}}),p=w}return p&&(!o||o&&i.dispatchEvent(new g5({by:"mover",owner:i,next:p,relatedEvent:o})))?(x!==void 0&&jy(this._win,p,x),o&&(o.preventDefault(),o.stopImmediatePropagation()),i5(p),p):null}_onKeyDown=async a=>{if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),this._ignoredInputResolve?.(!1),a.ctrlKey||a.altKey||a.shiftKey||a.metaKey)return;let t=a.key,o;if(t===K1.ArrowDown?o=a0.ArrowDown:t===K1.ArrowRight?o=a0.ArrowRight:t===K1.ArrowUp?o=a0.ArrowUp:t===K1.ArrowLeft?o=a0.ArrowLeft:t===K1.PageDown?o=a0.PageDown:t===K1.PageUp?o=a0.PageUp:t===K1.Home?o=a0.Home:t===K1.End&&(o=a0.End),!o)return;let l=this._tabster.focusedElement.getFocusedElement();!l||await this._isIgnoredInput(l,t)||this._moveFocus(l,o,a)};_onMoveFocus=a=>{let t=a.composedPath()[0],o=a.detail?.key;t&&o!==void 0&&!a.defaultPrevented&&(this._moveFocus(t,o),a.stopImmediatePropagation())};_onMemorizedElement=a=>{let t=a.composedPath()[0],o=a.detail?.memorizedElement;if(t){let r=g1.getTabsterContext(this._tabster,t)?.mover;r&&(o&&!P.nodeContains(r.getElement(),o)&&(o=void 0),r.setCurrent(o),a.stopImmediatePropagation())}};async _isIgnoredInput(a,t){if(a.getAttribute("aria-expanded")==="true"&&(a.hasAttribute("aria-activedescendant")||a.getAttribute("role")==="combobox"))return!0;if(Qs(a,hO)){let o=0,l=0,r=0,n;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let i=a.type;if(r=(a.value||"").length,i==="email"||i==="number"){if(r){let s=P.getSelection(a);if(s){let u=s.toString().length,d=t===K1.ArrowLeft||t===K1.ArrowUp;if(s.modify("extend",d?"backward":"forward","character"),u!==s.toString().length)return s.modify("extend",d?"forward":"backward","character"),!0;r=0}}}else{let s=a.selectionStart;if(s===null)return i==="hidden";o=s||0,l=a.selectionEnd||0}}else a.contentEditable==="true"&&(n=new Promise(i=>{this._ignoredInputResolve=h=>{delete this._ignoredInputResolve,i(h)};let c=this._win();this._ignoredInputTimer&&c.clearTimeout(this._ignoredInputTimer);let{anchorNode:s,focusNode:u,anchorOffset:d,focusOffset:f}=P.getSelection(a)||{};this._ignoredInputTimer=c.setTimeout(()=>{delete this._ignoredInputTimer;let{anchorNode:h,focusNode:g,anchorOffset:m,focusOffset:b}=P.getSelection(a)||{};if(h!==s||g!==u||m!==d||b!==f){this._ignoredInputResolve?.(!1);return}if(o=m||0,l=b||0,r=a.textContent?.length||0,h&&g&&P.nodeContains(a,h)&&P.nodeContains(a,g)&&h!==a){let p=!1,x=v=>{if(v===h)p=!0;else if(v===g)return!0;let M=v.textContent;if(M&&!P.getFirstChild(v)){let z=M.length;p?g!==h&&(l+=z):(o+=z,l+=z)}let _=!1;for(let z=P.getFirstChild(v);z&&!_;z=z.nextSibling)_=x(z);return _};x(a)}this._ignoredInputResolve?.(!0)},0)}));if(n&&!await n||o!==l||o>0&&(t===K1.ArrowLeft||t===K1.ArrowUp||t===K1.Home)||o<r&&(t===K1.ArrowRight||t===K1.ArrowDown||t===K1.End))return!0}return!1}};function $m(e){let a=e.core;if(!a.mover){let t=new t8(a,a.getWindow);a.mover=t,a.attrHandlers.set("mover",(o,l,r,n,i)=>l?(l.setProps(r),l):t.createMover(o,r,i))}return a.mover}var ep=class extends n2{constructor(a,t,o,l){super(o,a,_t.Groupper,l,!0),this._setHandlers((r,n,i)=>{let c=a.get(),s=r.input;if(c&&s){let u=g1.getTabsterContext(o,s);if(u){let d;d=t.findNextTabbable(i||void 0,void 0,n,!0)?.element,d||(d=k2.findNextTabbable(o,u,void 0,r.isOutside?s:Qy(c,!n),void 0,n,!0)?.element),d&&i5(d)}}})}},ap=class extends w2{_shouldTabInside=!1;_first;_onDispose;dummyManager;constructor(a,t,o,l,r){super(a,t,l),this.makeTabbable(!1),this._onDispose=o,a.controlTab||(this.dummyManager=new ep(this._element,this,a,r))}dispose(){this._onDispose(this);let a=this._element.get();this.dummyManager?.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(a,t,o,l){let r=this.getElement();if(!r)return null;let n=ze(a)===r;if(!this._shouldTabInside&&a&&P.nodeContains(r,a)&&!n)return{element:void 0,outOfDOMOrder:!0};let i=this.getFirst(!0);if(!a||!P.nodeContains(r,a)||n)return{element:i,outOfDOMOrder:!0};let c=this._tabster,s=null,u=!1,d;if(this._shouldTabInside&&i){let f={container:r,currentElement:a,referenceElement:t,ignoreAccessibility:l,useActiveModalizer:!0},h={};s=c.focusable[o?"findPrev":"findNext"](f,h),u=!!h.outOfDOMOrder,!s&&this._props.tabbability===qr.LimitedTrapFocus&&(s=c.focusable[o?"findLast":"findFirst"]({container:r,ignoreAccessibility:l,useActiveModalizer:!0},h),u=!0),d=h.uncontrolled}return{element:s,uncontrolled:d,outOfDOMOrder:u}}makeTabbable(a){this._shouldTabInside=a||!this._props.tabbability}isActive(a){let t=this.getElement()||null,o=!0;for(let r=P.getParentElement(t);r;r=P.getParentElement(r)){let n=Q1(this._tabster,r)?.groupper;n&&(n._shouldTabInside||(o=!1))}let l=o?this._props.tabbability?this._shouldTabInside:!1:void 0;if(l&&a){let r=this._tabster.focusedElement.getFocusedElement();r&&(l=r!==this.getFirst(!0))}return l}getFirst(a){let t=this.getElement(),o;if(t){if(a&&this._tabster.focusable.isFocusable(t))return t;o=this._first?.get(),o||(o=this._tabster.focusable.findFirst({container:t,useActiveModalizer:!0})||void 0,o&&this.setFirst(o))}return o}setFirst(a){a?this._first=new c0(a):delete this._first}acceptElement(a,t){let o=t.cachedGrouppers,l=P.getParentElement(this.getElement()),r=l&&g1.getTabsterContext(this._tabster,l),n=r?.groupper,i=r?.groupperBeforeMover?n:void 0,c,s=f=>{let h=o[f.id],g;return h?g=h.isActive:(g=this.isActive(!0),h=o[f.id]={isActive:g}),g};if(i&&(c=i.getElement(),!s(i)&&c&&t.container!==c&&P.nodeContains(t.container,c)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let u=s(this),d=this.getElement();if(d&&u!==!0){if(d===a&&n&&(c||(c=n.getElement()),c&&!s(n)&&P.nodeContains(t.container,c)&&c!==t.container)||d!==a&&P.nodeContains(d,a))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let f=o[this.id],h;if("first"in f?h=f.first:h=f.first=this.getFirst(!0),h&&t.acceptCondition(h))return t.rejectElementsFrom=d,t.skippedFocusable=!0,h!==t.from?(t.found=!0,t.foundElement=h,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}};var o8=class{_tabster;_updateTimer;_win;_current={};_grouppers={};constructor(a,t){this._tabster=a,this._win=t,a.queueInit(this._init)}_init=()=>{let a=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);let t=a.document,o=P.getActiveElement(t);o&&this._onFocus(o),t.addEventListener("mousedown",this._onMouseDown,!0),a.addEventListener("keydown",this._onKeyDown,!0),a.addEventListener(i4,this._onMoveFocus)};dispose(){let a=this._win();this._tabster.focusedElement.cancelAsyncFocus(q2.EscapeGroupper),this._current={},this._updateTimer&&(a.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),a.document.removeEventListener("mousedown",this._onMouseDown,!0),a.removeEventListener("keydown",this._onKeyDown,!0),a.removeEventListener(i4,this._onMoveFocus),Object.keys(this._grouppers).forEach(t=>{this._grouppers[t]&&(this._grouppers[t].dispose(),delete this._grouppers[t])})}createGroupper(a,t,o){let l=this._tabster,r=new ap(l,a,this._onGroupperDispose,t,o);this._grouppers[r.id]=r;let n=l.focusedElement.getFocusedElement();return n&&P.nodeContains(a,n)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,n===l.focusedElement.getFocusedElement()&&this._updateCurrent(n)},0)),r}forgetCurrentGrouppers(){this._current={}}_onGroupperDispose=a=>{delete this._grouppers[a.id]};_onFocus=a=>{a&&this._updateCurrent(a)};_onMouseDown=a=>{let t=a.target;for(;t&&!this._tabster.focusable.isFocusable(t);)t=this._tabster.getParent(t);t&&this._updateCurrent(t)};_updateCurrent(a){this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);let t=this._tabster,o={};for(let l=t.getParent(a);l;l=t.getParent(l)){let r=Q1(t,l)?.groupper;if(r){o[r.id]=!0,this._current[r.id]=r;let n=r.isActive()||a!==l&&(!r.getProps().delegated||r.getFirst(!1)!==a);r.makeTabbable(n)}}for(let l of Object.keys(this._current)){let r=this._current[l];r.id in o||(r.makeTabbable(!1),r.setFirst(void 0),delete this._current[l])}}_onKeyDown=a=>{if(a.key!==K1.Enter&&a.key!==K1.Escape||a.ctrlKey||a.altKey||a.shiftKey||a.metaKey)return;let t=this._tabster.focusedElement.getFocusedElement();t&&this.handleKeyPress(t,a)};_onMoveFocus=a=>{let t=a.composedPath()[0],o=a.detail?.action;t&&o!==void 0&&!a.defaultPrevented&&(o===Vo.Enter?this._enterGroupper(t):this._escapeGroupper(t),a.stopImmediatePropagation())};_enterGroupper(a,t){let o=this._tabster,l=g1.getTabsterContext(o,a),r=l?.groupper||l?.modalizerInGroupper,n=r?.getElement();if(r&&n&&(a===n||r.getProps().delegated&&a===r.getFirst(!1))){let i=o.focusable.findNext({container:n,currentElement:a,useActiveModalizer:!0});if(i&&(!t||t&&n.dispatchEvent(new g5({by:"groupper",owner:n,next:i,relatedEvent:t}))))return t&&(t.preventDefault(),t.stopImmediatePropagation()),i.focus(),i}return null}_escapeGroupper(a,t,o){let l=this._tabster,r=g1.getTabsterContext(l,a),n=r?.groupper||r?.modalizerInGroupper,i=n?.getElement();if(n&&i&&P.nodeContains(i,a)){let c;if(a!==i||o)c=n.getFirst(!0);else{let s=P.getParentElement(i);n=(s?g1.getTabsterContext(l,s):void 0)?.groupper,c=n?.getFirst(!0)}if(c&&(!t||t&&i.dispatchEvent(new g5({by:"groupper",owner:i,next:c,relatedEvent:t}))))return n&&n.makeTabbable(!1),c.focus(),c}return null}moveFocus(a,t){return t===Vo.Enter?this._enterGroupper(a):this._escapeGroupper(a)}handleKeyPress(a,t,o){let l=this._tabster,r=g1.getTabsterContext(l,a);if(r&&(r?.groupper||r?.modalizerInGroupper)){if(l.focusedElement.cancelAsyncFocus(q2.EscapeGroupper),r.ignoreKeydown(t))return;if(t.key===K1.Enter)this._enterGroupper(a,t);else if(t.key===K1.Escape){let n=l.focusedElement.getFocusedElement();l.focusedElement.requestAsyncFocus(q2.EscapeGroupper,()=>{n!==l.focusedElement.getFocusedElement()&&(o&&!n||!o)||this._escapeGroupper(a,t,o)},0)}}}};function tp(e){let a=e.core;if(!a.groupper){let t=new o8(a,a.getWindow);a.groupper=t,a.attrHandlers.set("groupper",(o,l,r,n,i)=>l?(l.setProps(r),l):t.createGroupper(o,r,i))}return a.groupper}var op=class extends w2{_hasFocus=!1;constructor(a,t,o){if(super(a,t,o),this._props.type===Me.Source){let l=this._element?.get();l?.addEventListener("focusout",this._onFocusOut),l?.addEventListener("focusin",this._onFocusIn),this._hasFocus=P.nodeContains(l,l&&P.getActiveElement(l.ownerDocument))}}dispose(){if(this._props.type===Me.Source){let a=this._element?.get();a?.removeEventListener("focusout",this._onFocusOut),a?.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new l4)}}_onFocusOut=a=>{let t=this._element?.get();t&&a.relatedTarget===null&&t.dispatchEvent(new l4),t&&!P.nodeContains(t,a.relatedTarget)&&(this._hasFocus=!1)};_onFocusIn=()=>{this._hasFocus=!0}},lp=class e{static DEPTH=10;_stack=[];_getWindow;constructor(a){this._getWindow=a}push(a){this._stack[this._stack.length-1]?.get()!==a&&(this._stack.length>e.DEPTH&&this._stack.shift(),this._stack.push(new c0(a)))}pop(a=()=>!0){let t=this._getWindow().document;for(let o=this._stack.length-1;o>=0;o--){let l=this._stack.pop()?.get();if(l&&P.nodeContains(t.body,P.getParentElement(l))&&a(l))return l}}},l8=class{_tabster;_history;_keyboardNavState;_focusedElementState;_getWindow;constructor(a){this._tabster=a,this._getWindow=a.getWindow,this._getWindow().addEventListener(js,this._onRestoreFocus),this._history=new lp(this._getWindow),this._keyboardNavState=a.keyboardNavigation,this._focusedElementState=a.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){let a=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(q2.Restorer),a.removeEventListener(js,this._onRestoreFocus)}_onRestoreFocus=a=>{this._focusedElementState.cancelAsyncFocus(q2.Restorer);let t=a.composedPath()[0];if(t){let o=Q1(this._tabster,t)?.restorer?.getProps().id;this._focusedElementState.requestAsyncFocus(q2.Restorer,()=>this._restoreFocus(t,o),0)}};_onFocusIn=a=>{!a||Q1(this._tabster,a)?.restorer?.getProps().type!==Me.Target||this._history.push(a)};_restoreFocus=(a,t)=>{let o=this._getWindow().document;if(P.getActiveElement(o)!==o.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&P.nodeContains(o.body,a))return;let l=r=>{let n=Q1(this._tabster,r)?.restorer?.getProps();return n?n.id:null};this._history.pop(r=>t===l(r))?.focus()};createRestorer(a,t){let o=new op(this._tabster,a,t);return t.type===Me.Target&&P.getActiveElement(a.ownerDocument)===a&&this._history.push(a),o}};function d4(e){let a=e.core;if(!a.restorer){let t=new l8(a);a.restorer=t,a.attrHandlers.set("restorer",(o,l,r)=>l?(l.setProps(r),l):t.createRestorer(o,r))}return a.restorer}var rp=class{keyboardNavigation;focusedElement;focusable;root;uncontrolled;core;constructor(a){this.keyboardNavigation=a.keyboardNavigation,this.focusedElement=a.focusedElement,this.focusable=a.focusable,this.root=a.root,this.uncontrolled=a.uncontrolled,this.core=a}},np=class{_storage;_unobserve;_win;_forgetMemorizedTimer;_forgetMemorizedElements=[];_wrappers=new Set;_initTimer;_initQueue=[];_version="8.8.0";_noop=!1;controlTab;rootDummyInputs;attrHandlers=new Map;keyboardNavigation;focusedElement;focusable;root;uncontrolled;internal;_dummyObserver;groupper;mover;outline;deloser;modalizer;observedElement;crossOrigin;restorer;getParent;constructor(a,t){this._storage=new WeakMap,this._win=a;let o=this.getWindow;t?.DOMAPI&&Oy({...t.DOMAPI}),this.keyboardNavigation=new $s(o),this.focusedElement=new k2(this,o),this.focusable=new Js(this),this.root=new g1(this,t?.autoRoot),this.uncontrolled=new e8(t?.checkUncontrolledCompletely||t?.checkUncontrolledTrappingFocus),this.controlTab=t?.controlTab??!0,this.rootDummyInputs=!!t?.rootDummyInputs,this._dummyObserver=new Ys(o),this.getParent=t?.getParent??P.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:l=>{if(!this._unobserve){let r=o().document;this._unobserve=Jy(r,this,Bs,l)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(a){a&&(this.getParent=a.getParent??this.getParent)}createTabster(a,t){let o=new rp(this);return a||this._wrappers.add(o),this._mergeProps(t),o}disposeTabster(a,t){t?this._wrappers.clear():this._wrappers.delete(a),this._wrappers.size===0&&this.dispose()}dispose(){this.internal.stopObserver();let a=this._win;a?.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],a&&this._forgetMemorizedTimer&&(a.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),this.outline?.dispose(),this.crossOrigin?.dispose(),this.deloser?.dispose(),this.groupper?.dispose(),this.mover?.dispose(),this.modalizer?.dispose(),this.observedElement?.dispose(),this.restorer?.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),this.attrHandlers.clear(),Im(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),a&&(Ey(a),delete a.__tabsterInstance,delete this._win)}storageEntry(a,t){let o=this._storage,l=o.get(a);return l?t===!1&&Object.keys(l).length===0&&o.delete(a):t===!0&&(l={},o.set(a,l)),l}getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win};forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let a=this._forgetMemorizedElements.shift();a;a=this._forgetMemorizedElements.shift())Im(this.getWindow,a),k2.forgetMemorized(this.focusedElement,a)},0)))}queueInit(a){this._win&&(this._initQueue.push(a),this._initTimer||(this._initTimer=this._win?.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;let a=this._initQueue;this._initQueue=[],a.forEach(t=>t())}};function ip(e,a){let t=pO(e);return t?t.createTabster(!1,a):(t=new np(e,a),e.__tabsterInstance=t,t.createTabster())}function cp(e,a){e.core.disposeTabster(e,a)}function pO(e){return e.__tabsterInstance}var aS=C(y(),1);var vO=e=>e;function gO(e){let a=e?.defaultView||void 0,t=a?.__tabsterShadowDOMAPI;if(a)return ip(a,{autoRoot:{},controlTab:!1,getParent:Vr,checkUncontrolledCompletely:o=>{var l;return((l=o.firstElementChild)===null||l===void 0?void 0:l.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:t})}function k5(e=vO){let{targetDocument:a}=Q(),t=aS.useRef(null);return m1(()=>{let o=gO(a);if(o)return t.current=e(o),()=>{cp(o),t.current=null}},[a,e]),t}var tS=C(y(),1),Y0=e=>{k5();let a=s4(e,!0);return tS.useMemo(()=>({[X0]:a}),[a])};var W2=(e={})=>{let{circular:a,axis:t,memorizeCurrent:o=!0,tabbable:l,ignoreDefaultKeydown:r,unstable_hasDefault:n}=e;return k5($m),Y0({mover:{cyclic:!!a,direction:xO(t??"vertical"),memorizeCurrent:o,tabbable:l,hasDefault:n},...r&&{focusable:{ignoreKeydown:r}}})};function xO(e){switch(e){case"horizontal":return l2.Horizontal;case"grid":return l2.Grid;case"grid-linear":return l2.GridLinear;case"both":return l2.Both;default:return l2.Vertical}}var zt=e=>(k5(tp),Y0({groupper:{tabbability:bO(e?.tabBehavior)},focusable:{ignoreKeydown:e?.ignoreDefaultKeydown}})),bO=e=>{switch(e){case"unlimited":return qr.Unlimited;case"limited":return qr.Limited;case"limited-trap-focus":return qr.LimitedTrapFocus;default:return}};var Br=C(y(),1);var O0=()=>{let e=k5(),{targetDocument:a}=Q(),t=Br.useCallback((i,c)=>{var s;return i&&((s=e.current)===null||s===void 0?void 0:s.focusable.findAll({container:i,acceptCondition:c}))||[]},[e]),o=Br.useCallback(i=>{var c;return i&&((c=e.current)===null||c===void 0?void 0:c.focusable.findFirst({container:i}))},[e]),l=Br.useCallback(i=>{var c;return i&&((c=e.current)===null||c===void 0?void 0:c.focusable.findLast({container:i}))},[e]),r=Br.useCallback((i,c={})=>{if(!e.current||!a||!i)return null;let{container:s=a.body}=c;return e.current.focusable.findNext({currentElement:i,container:s})},[e,a]),n=Br.useCallback((i,c={})=>{if(!e.current||!a||!i)return null;let{container:s=a.body}=c;return e.current.focusable.findPrev({currentElement:i,container:s})},[e,a]);return{findAllFocusable:t,findFirstFocusable:o,findLastFocusable:l,findNextFocusable:r,findPrevFocusable:n}};var r8=C(y(),1);var MO="data-keyboard-nav",Ce1=`:global([${MO}])`,sp="data-fui-focus-visible",up="data-fui-focus-within";function oS(e,a){if(lS(e))return()=>{};let t={current:void 0},o=bt(a);function l(c){o.isNavigatingWithKeyboard()&&i0(c)&&(t.current=c,c.setAttribute(sp,""))}function r(){t.current&&(t.current.removeAttribute(sp),t.current=void 0)}o.subscribe(c=>{c?l(a.document.activeElement):r()});let n=c=>{r();let s=c.composedPath()[0];l(s)},i=c=>{(!c.relatedTarget||i0(c.relatedTarget)&&!e.contains(c.relatedTarget))&&r()};return e.addEventListener(v5,n),e.addEventListener("focusout",i),e.focusVisible=!0,e.contains(a.document.activeElement)&&l(a.document.activeElement),()=>{r(),e.removeEventListener(v5,n),e.removeEventListener("focusout",i),e.focusVisible=void 0,Mt(o)}}function lS(e){return e?e.focusVisible?!0:lS(e?.parentElement):!1}function At(e={}){let a=Q(),t=r8.useRef(null);var o;let l=(o=e.targetDocument)!==null&&o!==void 0?o:a.targetDocument;return r8.useEffect(()=>{if(l?.defaultView&&t.current)return oS(t.current,l.defaultView)},[t,l]),t}var n8=C(y(),1);function iS(e,a){let t=bt(a);t.subscribe(r=>{r||rS(e)});let o=r=>{t.isNavigatingWithKeyboard()&&nS(r.target)&&_O(e)},l=r=>{(!r.relatedTarget||nS(r.relatedTarget)&&!e.contains(r.relatedTarget))&&rS(e)};return e.addEventListener(v5,o),e.addEventListener("focusout",l),()=>{e.removeEventListener(v5,o),e.removeEventListener("focusout",l),Mt(t)}}function _O(e){e.setAttribute(up,"")}function rS(e){e.removeAttribute(up)}function nS(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function c5(){let{targetDocument:e}=Q(),a=n8.useRef(null);return n8.useEffect(()=>{if(e?.defaultView&&a.current)return iS(a.current,e.defaultView)},[a,e]),a}var cS=C(y(),1);var i8=C(y(),1);function c8(){let{targetDocument:e}=Q(),a=i8.useRef(null);return i8.useEffect(()=>{let t=e?.defaultView;if(t){let o=bt(t);return a.current=o,()=>{Mt(o),a.current=null}}},[e]),a}function Dr(e){let a=c8(),t=L(e);cS.useEffect(()=>{let o=a.current;if(o){let l=r=>{t(r)};return o.subscribe(l),l(o.isNavigatingWithKeyboard()),()=>{o.unsubscribe(l)}}},[a,t])}var dp="data-tabster-never-hide",Ge1={[dp]:""};var zO=e=>e.hasAttribute(dp);function AO(e){u4(e,void 0,zO),d4(e)}var Ae=(e={})=>{let{trapFocus:a,alwaysFocusable:t,legacyTrapFocus:o}=e;k5(AO);let l=R1("modal-",e.id),r=Y0({restorer:{type:Me.Source},...a&&{modalizer:{id:l,isOthersAccessible:!a,isAlwaysAccessible:t,isTrapped:o&&a}}}),n=Y0({restorer:{type:Me.Target}});return{modalAttributes:r,triggerAttributes:n}};var sS=C(y(),1);var Ct=(...e)=>{let a=[],t="";for(let o of e){let l=o?.[X0];l&&(a.push(l),t+=l+CO)}return sS.useMemo(()=>({[X0]:yO(a)}),[t])},CO="\0",yO=e=>{if(e.length!==0)return e.length===1?e[0]:JSON.stringify(Object.assign({},...e.map(SO)))},SO=e=>{try{return JSON.parse(e)}catch{return{}}};function s8(){return k5(d4),s4({restorer:{type:Me.Source}})}var uS=C(y(),1);function u8(){let e=c8();return uS.useCallback(a=>{var t;(t=e.current)===null||t===void 0||t.setVal(a)},[e])}var dS=C(y(),1);function d8(){let e=k5(u4),[a]=n5();return dS.useCallback(o=>{a(()=>{var l;(l=e.current)===null||l===void 0||l.activate(o)},0)},[e,a])}var F={2:"#050505",4:"#0a0a0a",6:"#0f0f0f",8:"#141414",10:"#1a1a1a",12:"#1f1f1f",14:"#242424",16:"#292929",18:"#2e2e2e",20:"#333333",22:"#383838",24:"#3d3d3d",26:"#424242",28:"#474747",30:"#4d4d4d",32:"#525252",34:"#575757",36:"#5c5c5c",38:"#616161",40:"#666666",42:"#6b6b6b",44:"#707070",46:"#757575",48:"#7a7a7a",50:"#808080",52:"#858585",54:"#8a8a8a",56:"#8f8f8f",58:"#949494",60:"#999999",62:"#9e9e9e",64:"#a3a3a3",66:"#a8a8a8",68:"#adadad",70:"#b3b3b3",72:"#b8b8b8",74:"#bdbdbd",76:"#c2c2c2",78:"#c7c7c7",80:"#cccccc",82:"#d1d1d1",84:"#d6d6d6",86:"#dbdbdb",88:"#e0e0e0",90:"#e6e6e6",92:"#ebebeb",94:"#f0f0f0",96:"#f5f5f5",98:"#fafafa",99:"#fcfcfc"},E0={5:"rgba(255, 255, 255, 0.05)",10:"rgba(255, 255, 255, 0.1)",20:"rgba(255, 255, 255, 0.2)",30:"rgba(255, 255, 255, 0.3)",40:"rgba(255, 255, 255, 0.4)",50:"rgba(255, 255, 255, 0.5)",60:"rgba(255, 255, 255, 0.6)",70:"rgba(255, 255, 255, 0.7)",80:"rgba(255, 255, 255, 0.8)",90:"rgba(255, 255, 255, 0.9)"},T5={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.1)",20:"rgba(0, 0, 0, 0.2)",30:"rgba(0, 0, 0, 0.3)",40:"rgba(0, 0, 0, 0.4)",50:"rgba(0, 0, 0, 0.5)",60:"rgba(0, 0, 0, 0.6)",70:"rgba(0, 0, 0, 0.7)",80:"rgba(0, 0, 0, 0.8)",90:"rgba(0, 0, 0, 0.9)"},fS={5:"rgba(26, 26, 26, 0.05)",10:"rgba(26, 26, 26, 0.1)",20:"rgba(26, 26, 26, 0.2)",30:"rgba(26, 26, 26, 0.3)",40:"rgba(26, 26, 26, 0.4)",50:"rgba(26, 26, 26, 0.5)",60:"rgba(26, 26, 26, 0.6)",70:"rgba(26, 26, 26, 0.7)",80:"rgba(26, 26, 26, 0.8)",90:"rgba(26, 26, 26, 0.9)"},hS={5:"rgba(31, 31, 31, 0.05)",10:"rgba(31, 31, 31, 0.1)",20:"rgba(31, 31, 31, 0.2)",30:"rgba(31, 31, 31, 0.3)",40:"rgba(31, 31, 31, 0.4)",50:"rgba(31, 31, 31, 0.5)",60:"rgba(31, 31, 31, 0.6)",70:"rgba(31, 31, 31, 0.7)",80:"rgba(31, 31, 31, 0.8)",90:"rgba(31, 31, 31, 0.9)"},fp={5:"rgba(36, 36, 36, 0.05)",10:"rgba(36, 36, 36, 0.1)",20:"rgba(36, 36, 36, 0.2)",30:"rgba(36, 36, 36, 0.3)",40:"rgba(36, 36, 36, 0.4)",50:"rgba(36, 36, 36, 0.5)",60:"rgba(36, 36, 36, 0.6)",70:"rgba(36, 36, 36, 0.7)",80:"rgba(36, 36, 36, 0.8)",90:"rgba(36, 36, 36, 0.9)"},$="#ffffff",Pr="#000000";var mS={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"};var hp={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},pS={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},vS={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"};var gS={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},xS={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},bS={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},MS={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},_S={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},zS={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},AS={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},CS={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"};var yS={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},SS={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},RS={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},mp={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},HS={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},FS={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},VS={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"};var qS={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"};var LS={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},wS={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"};var kS={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},TS={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},BS={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},DS={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"};var PS={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},NS={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},OS={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},ES={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"};var IS={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},US={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},jS={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},GS={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"};var WS={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},QS={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"};var y1={red:pS,green:mp,darkOrange:vS,yellow:_S,berry:NS,lightGreen:RS,marigold:MS},Ce={darkRed:mS,cranberry:hp,pumpkin:gS,peach:bS,gold:zS,brass:AS,brown:CS,forest:yS,seafoam:SS,darkGreen:HS,lightTeal:FS,teal:VS,steel:qS,blue:LS,royalBlue:wS,cornflower:kS,navy:TS,lavender:BS,purple:DS,grape:PS,lilac:OS,pink:ES,magenta:IS,plum:US,beige:jS,mink:GS,platinum:WS,anchor:QS},z1={cranberry:hp,green:mp,orange:xS};var f8=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],h8=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"];var s5={success:"green",warning:"orange",danger:"cranberry"};var f4=f8.reduce((e,a)=>{let t=a.slice(0,1).toUpperCase()+a.slice(1),o={[`colorPalette${t}Background1`]:y1[a].tint60,[`colorPalette${t}Background2`]:y1[a].tint40,[`colorPalette${t}Background3`]:y1[a].primary,[`colorPalette${t}Foreground1`]:y1[a].shade10,[`colorPalette${t}Foreground2`]:y1[a].shade30,[`colorPalette${t}Foreground3`]:y1[a].primary,[`colorPalette${t}BorderActive`]:y1[a].primary,[`colorPalette${t}Border1`]:y1[a].tint40,[`colorPalette${t}Border2`]:y1[a].primary};return Object.assign(e,o)},{});f4.colorPaletteYellowForeground1=y1.yellow.shade30;f4.colorPaletteRedForegroundInverted=y1.red.tint20;f4.colorPaletteGreenForegroundInverted=y1.green.tint20;f4.colorPaletteYellowForegroundInverted=y1.yellow.tint40;var HO=h8.reduce((e,a)=>{let t=a.slice(0,1).toUpperCase()+a.slice(1),o={[`colorPalette${t}Background2`]:Ce[a].tint40,[`colorPalette${t}Foreground2`]:Ce[a].shade30,[`colorPalette${t}BorderActive`]:Ce[a].primary};return Object.assign(e,o)},{}),KS={...f4,...HO},wo=Object.entries(s5).reduce((e,[a,t])=>{let o=a.slice(0,1).toUpperCase()+a.slice(1),l={[`colorStatus${o}Background1`]:z1[t].tint60,[`colorStatus${o}Background2`]:z1[t].tint40,[`colorStatus${o}Background3`]:z1[t].primary,[`colorStatus${o}Foreground1`]:z1[t].shade10,[`colorStatus${o}Foreground2`]:z1[t].shade30,[`colorStatus${o}Foreground3`]:z1[t].primary,[`colorStatus${o}ForegroundInverted`]:z1[t].tint30,[`colorStatus${o}BorderActive`]:z1[t].primary,[`colorStatus${o}Border1`]:z1[t].tint40,[`colorStatus${o}Border2`]:z1[t].primary};return Object.assign(e,l)},{});wo.colorStatusDangerBackground3Hover=z1[s5.danger].shade10;wo.colorStatusDangerBackground3Pressed=z1[s5.danger].shade20;wo.colorStatusWarningForeground1=z1[s5.warning].shade20;wo.colorStatusWarningForeground3=z1[s5.warning].shade20;wo.colorStatusWarningBorder2=z1[s5.warning].shade20;var XS=e=>({colorNeutralForeground1:F[14],colorNeutralForeground1Hover:F[14],colorNeutralForeground1Pressed:F[14],colorNeutralForeground1Selected:F[14],colorNeutralForeground2:F[26],colorNeutralForeground2Hover:F[14],colorNeutralForeground2Pressed:F[14],colorNeutralForeground2Selected:F[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:F[38],colorNeutralForeground3Hover:F[26],colorNeutralForeground3Pressed:F[26],colorNeutralForeground3Selected:F[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:F[44],colorNeutralForeground5:F[38],colorNeutralForeground5Hover:F[14],colorNeutralForeground5Pressed:F[14],colorNeutralForeground5Selected:F[14],colorNeutralForegroundDisabled:F[74],colorNeutralForegroundInvertedDisabled:E0[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:F[26],colorNeutralForeground2LinkHover:F[14],colorNeutralForeground2LinkPressed:F[14],colorNeutralForeground2LinkSelected:F[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:F[14],colorNeutralForegroundStaticInverted:$,colorNeutralForegroundInverted:$,colorNeutralForegroundInvertedHover:$,colorNeutralForegroundInvertedPressed:$,colorNeutralForegroundInvertedSelected:$,colorNeutralForegroundInverted2:$,colorNeutralForegroundOnBrand:$,colorNeutralForegroundInvertedLink:$,colorNeutralForegroundInvertedLinkHover:$,colorNeutralForegroundInvertedLinkPressed:$,colorNeutralForegroundInvertedLinkSelected:$,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:$,colorNeutralBackground1Hover:F[96],colorNeutralBackground1Pressed:F[88],colorNeutralBackground1Selected:F[92],colorNeutralBackground2:F[98],colorNeutralBackground2Hover:F[94],colorNeutralBackground2Pressed:F[86],colorNeutralBackground2Selected:F[90],colorNeutralBackground3:F[96],colorNeutralBackground3Hover:F[92],colorNeutralBackground3Pressed:F[84],colorNeutralBackground3Selected:F[88],colorNeutralBackground4:F[94],colorNeutralBackground4Hover:F[98],colorNeutralBackground4Pressed:F[96],colorNeutralBackground4Selected:$,colorNeutralBackground5:F[92],colorNeutralBackground5Hover:F[96],colorNeutralBackground5Pressed:F[94],colorNeutralBackground5Selected:F[98],colorNeutralBackground6:F[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:F[92],colorNeutralBackground7Pressed:F[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:F[99],colorNeutralBackgroundInverted:F[16],colorNeutralBackgroundInvertedHover:F[24],colorNeutralBackgroundInvertedPressed:F[12],colorNeutralBackgroundInvertedSelected:F[22],colorNeutralBackgroundStatic:F[20],colorNeutralBackgroundAlpha:E0[50],colorNeutralBackgroundAlpha2:E0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:F[96],colorSubtleBackgroundPressed:F[88],colorSubtleBackgroundSelected:F[92],colorSubtleBackgroundLightAlphaHover:E0[70],colorSubtleBackgroundLightAlphaPressed:E0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:T5[10],colorSubtleBackgroundInvertedPressed:T5[30],colorSubtleBackgroundInvertedSelected:T5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:F[94],colorNeutralBackgroundDisabled2:$,colorNeutralBackgroundInvertedDisabled:E0[10],colorNeutralStencil1:F[90],colorNeutralStencil2:F[98],colorNeutralStencil1Alpha:T5[10],colorNeutralStencil2Alpha:T5[5],colorBackgroundOverlay:T5[40],colorScrollbarOverlay:T5[50],colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:$,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:F[98],colorNeutralCardBackgroundHover:$,colorNeutralCardBackgroundPressed:F[96],colorNeutralCardBackgroundSelected:F[92],colorNeutralCardBackgroundDisabled:F[94],colorNeutralStrokeAccessible:F[38],colorNeutralStrokeAccessibleHover:F[34],colorNeutralStrokeAccessiblePressed:F[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:F[82],colorNeutralStroke1Hover:F[78],colorNeutralStroke1Pressed:F[70],colorNeutralStroke1Selected:F[74],colorNeutralStroke2:F[88],colorNeutralStroke3:F[94],colorNeutralStroke4:F[92],colorNeutralStroke4Hover:F[88],colorNeutralStroke4Pressed:F[84],colorNeutralStroke4Selected:F[92],colorNeutralStrokeSubtle:F[88],colorNeutralStrokeOnBrand:$,colorNeutralStrokeOnBrand2:$,colorNeutralStrokeOnBrand2Hover:$,colorNeutralStrokeOnBrand2Pressed:$,colorNeutralStrokeOnBrand2Selected:$,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:F[88],colorNeutralStrokeDisabled2:F[92],colorNeutralStrokeInvertedDisabled:E0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:T5[5],colorNeutralStrokeAlpha2:E0[20],colorStrokeFocus1:$,colorStrokeFocus2:Pr,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"});var h4={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"};var m8={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)"};var p8={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var m4={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},p4={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},v4={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},g4={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"};var s0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},v8={spacingHorizontalNone:s0.none,spacingHorizontalXXS:s0.xxs,spacingHorizontalXS:s0.xs,spacingHorizontalSNudge:s0.sNudge,spacingHorizontalS:s0.s,spacingHorizontalMNudge:s0.mNudge,spacingHorizontalM:s0.m,spacingHorizontalL:s0.l,spacingHorizontalXL:s0.xl,spacingHorizontalXXL:s0.xxl,spacingHorizontalXXXL:s0.xxxl},g8={spacingVerticalNone:s0.none,spacingVerticalXXS:s0.xxs,spacingVerticalXS:s0.xs,spacingVerticalSNudge:s0.sNudge,spacingVerticalS:s0.s,spacingVerticalMNudge:s0.mNudge,spacingVerticalM:s0.m,spacingVerticalL:s0.l,spacingVerticalXL:s0.xl,spacingVerticalXXL:s0.xxl,spacingVerticalXXXL:s0.xxxl};var x4={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var ye={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForeground5:"var(--colorNeutralForeground5)",colorNeutralForeground5Hover:"var(--colorNeutralForeground5Hover)",colorNeutralForeground5Pressed:"var(--colorNeutralForeground5Pressed)",colorNeutralForeground5Selected:"var(--colorNeutralForeground5Selected)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackground7:"var(--colorNeutralBackground7)",colorNeutralBackground7Hover:"var(--colorNeutralBackground7Hover)",colorNeutralBackground7Pressed:"var(--colorNeutralBackground7Pressed)",colorNeutralBackground7Selected:"var(--colorNeutralBackground7Selected)",colorNeutralBackground8:"var(--colorNeutralBackground8)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundInvertedHover:"var(--colorNeutralBackgroundInvertedHover)",colorNeutralBackgroundInvertedPressed:"var(--colorNeutralBackgroundInvertedPressed)",colorNeutralBackgroundInvertedSelected:"var(--colorNeutralBackgroundInvertedSelected)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundDisabled2:"var(--colorNeutralBackgroundDisabled2)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStroke4:"var(--colorNeutralStroke4)",colorNeutralStroke4Hover:"var(--colorNeutralStroke4Hover)",colorNeutralStroke4Pressed:"var(--colorNeutralStroke4Pressed)",colorNeutralStroke4Selected:"var(--colorNeutralStroke4Selected)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeDisabled2:"var(--colorNeutralStrokeDisabled2)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadius2XLarge:"var(--borderRadius2XLarge)",borderRadius3XLarge:"var(--borderRadius3XLarge)",borderRadius4XLarge:"var(--borderRadius4XLarge)",borderRadius5XLarge:"var(--borderRadius5XLarge)",borderRadius6XLarge:"var(--borderRadius6XLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"};function Nr(e,a,t=""){return{[`shadow2${t}`]:`0 0 2px ${e}, 0 1px 2px ${a}`,[`shadow4${t}`]:`0 0 2px ${e}, 0 2px 4px ${a}`,[`shadow8${t}`]:`0 0 2px ${e}, 0 4px 8px ${a}`,[`shadow16${t}`]:`0 0 2px ${e}, 0 8px 16px ${a}`,[`shadow28${t}`]:`0 0 8px ${e}, 0 14px 28px ${a}`,[`shadow64${t}`]:`0 0 8px ${e}, 0 32px 64px ${a}`}}var x8=e=>{let a=XS(e);return{...h4,...m4,...p4,...g4,...v4,...x4,...v8,...g8,...p8,...m8,...a,...KS,...wo,...Nr(a.colorNeutralShadowAmbient,a.colorNeutralShadowKey),...Nr(a.colorBrandShadowAmbient,a.colorBrandShadowKey,"Brand")}};var b8={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"};var Se=f8.reduce((e,a)=>{let t=a.slice(0,1).toUpperCase()+a.slice(1),o={[`colorPalette${t}Background1`]:y1[a].shade40,[`colorPalette${t}Background2`]:y1[a].shade30,[`colorPalette${t}Background3`]:y1[a].primary,[`colorPalette${t}Foreground1`]:y1[a].tint30,[`colorPalette${t}Foreground2`]:y1[a].tint40,[`colorPalette${t}Foreground3`]:y1[a].tint20,[`colorPalette${t}BorderActive`]:y1[a].tint30,[`colorPalette${t}Border1`]:y1[a].primary,[`colorPalette${t}Border2`]:y1[a].tint20};return Object.assign(e,o)},{});Se.colorPaletteRedForeground3=y1.red.tint30;Se.colorPaletteRedBorder2=y1.red.tint30;Se.colorPaletteGreenForeground3=y1.green.tint40;Se.colorPaletteGreenBorder2=y1.green.tint40;Se.colorPaletteDarkOrangeForeground3=y1.darkOrange.tint30;Se.colorPaletteDarkOrangeBorder2=y1.darkOrange.tint30;Se.colorPaletteRedForegroundInverted=y1.red.primary;Se.colorPaletteGreenForegroundInverted=y1.green.primary;Se.colorPaletteYellowForegroundInverted=y1.yellow.shade30;var pp=h8.reduce((e,a)=>{let t=a.slice(0,1).toUpperCase()+a.slice(1),o={[`colorPalette${t}Background2`]:Ce[a].shade30,[`colorPalette${t}Foreground2`]:Ce[a].tint40,[`colorPalette${t}BorderActive`]:Ce[a].tint30};return Object.assign(e,o)},{});pp.colorPaletteDarkRedBackground2=Ce.darkRed.shade20;pp.colorPalettePlumBackground2=Ce.plum.shade20;var YS={...Se,...pp},pa=Object.entries(s5).reduce((e,[a,t])=>{let o=a.slice(0,1).toUpperCase()+a.slice(1),l={[`colorStatus${o}Background1`]:z1[t].shade40,[`colorStatus${o}Background2`]:z1[t].shade30,[`colorStatus${o}Background3`]:z1[t].primary,[`colorStatus${o}Foreground1`]:z1[t].tint30,[`colorStatus${o}Foreground2`]:z1[t].tint40,[`colorStatus${o}Foreground3`]:z1[t].tint20,[`colorStatus${o}BorderActive`]:z1[t].tint30,[`colorStatus${o}ForegroundInverted`]:z1[t].shade10,[`colorStatus${o}Border1`]:z1[t].primary,[`colorStatus${o}Border2`]:z1[t].tint20};return Object.assign(e,l)},{});pa.colorStatusDangerBackground3Hover=z1[s5.danger].shade10;pa.colorStatusDangerBackground3Pressed=z1[s5.danger].shade20;pa.colorStatusDangerForeground3=z1[s5.danger].tint40;pa.colorStatusDangerBorder2=z1[s5.danger].tint30;pa.colorStatusSuccessForeground3=z1[s5.success].tint40;pa.colorStatusSuccessBorder2=z1[s5.success].tint40;pa.colorStatusWarningForegroundInverted=z1[s5.warning].shade20;var ko=x8(b8);var ZS=e=>({colorNeutralForeground1:$,colorNeutralForeground1Hover:$,colorNeutralForeground1Pressed:$,colorNeutralForeground1Selected:$,colorNeutralForeground2:F[84],colorNeutralForeground2Hover:$,colorNeutralForeground2Pressed:$,colorNeutralForeground2Selected:$,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:F[68],colorNeutralForeground3Hover:F[84],colorNeutralForeground3Pressed:F[84],colorNeutralForeground3Selected:F[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:F[60],colorNeutralForeground5:F[68],colorNeutralForeground5Hover:$,colorNeutralForeground5Pressed:$,colorNeutralForeground5Selected:$,colorNeutralForegroundDisabled:F[36],colorNeutralForegroundInvertedDisabled:E0[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:F[84],colorNeutralForeground2LinkHover:$,colorNeutralForeground2LinkPressed:$,colorNeutralForeground2LinkSelected:$,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:F[14],colorNeutralForegroundStaticInverted:$,colorNeutralForegroundInverted:F[14],colorNeutralForegroundInvertedHover:F[14],colorNeutralForegroundInvertedPressed:F[14],colorNeutralForegroundInvertedSelected:F[14],colorNeutralForegroundInverted2:F[14],colorNeutralForegroundOnBrand:$,colorNeutralForegroundInvertedLink:$,colorNeutralForegroundInvertedLinkHover:$,colorNeutralForegroundInvertedLinkPressed:$,colorNeutralForegroundInvertedLinkSelected:$,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:F[16],colorNeutralBackground1Hover:F[24],colorNeutralBackground1Pressed:F[12],colorNeutralBackground1Selected:F[22],colorNeutralBackground2:F[12],colorNeutralBackground2Hover:F[20],colorNeutralBackground2Pressed:F[8],colorNeutralBackground2Selected:F[18],colorNeutralBackground3:F[8],colorNeutralBackground3Hover:F[16],colorNeutralBackground3Pressed:F[4],colorNeutralBackground3Selected:F[14],colorNeutralBackground4:F[4],colorNeutralBackground4Hover:F[12],colorNeutralBackground4Pressed:Pr,colorNeutralBackground4Selected:F[10],colorNeutralBackground5:Pr,colorNeutralBackground5Hover:F[8],colorNeutralBackground5Pressed:F[2],colorNeutralBackground5Selected:F[6],colorNeutralBackground6:F[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:F[10],colorNeutralBackground7Pressed:F[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:F[16],colorNeutralBackgroundInverted:$,colorNeutralBackgroundInvertedHover:F[96],colorNeutralBackgroundInvertedPressed:F[88],colorNeutralBackgroundInvertedSelected:F[92],colorNeutralBackgroundStatic:F[24],colorNeutralBackgroundAlpha:fS[50],colorNeutralBackgroundAlpha2:hS[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:F[22],colorSubtleBackgroundPressed:F[18],colorSubtleBackgroundSelected:F[20],colorSubtleBackgroundLightAlphaHover:fp[80],colorSubtleBackgroundLightAlphaPressed:fp[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:T5[10],colorSubtleBackgroundInvertedPressed:T5[30],colorSubtleBackgroundInvertedSelected:T5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:F[8],colorNeutralBackgroundDisabled2:F[16],colorNeutralBackgroundInvertedDisabled:E0[10],colorNeutralStencil1:F[34],colorNeutralStencil2:F[20],colorNeutralStencil1Alpha:E0[10],colorNeutralStencil2Alpha:E0[5],colorBackgroundOverlay:T5[50],colorScrollbarOverlay:E0[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:$,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:F[20],colorNeutralCardBackgroundHover:F[24],colorNeutralCardBackgroundPressed:F[18],colorNeutralCardBackgroundSelected:F[22],colorNeutralCardBackgroundDisabled:F[8],colorNeutralStrokeAccessible:F[68],colorNeutralStrokeAccessibleHover:F[74],colorNeutralStrokeAccessiblePressed:F[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:F[40],colorNeutralStroke1Hover:F[46],colorNeutralStroke1Pressed:F[42],colorNeutralStroke1Selected:F[44],colorNeutralStroke2:F[32],colorNeutralStroke3:F[24],colorNeutralStroke4:F[24],colorNeutralStroke4Hover:F[18],colorNeutralStroke4Pressed:F[14],colorNeutralStroke4Selected:F[24],colorNeutralStrokeSubtle:F[4],colorNeutralStrokeOnBrand:F[16],colorNeutralStrokeOnBrand2:$,colorNeutralStrokeOnBrand2Hover:$,colorNeutralStrokeOnBrand2Pressed:$,colorNeutralStrokeOnBrand2Selected:$,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:F[26],colorNeutralStrokeDisabled2:F[24],colorNeutralStrokeInvertedDisabled:E0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:E0[10],colorNeutralStrokeAlpha2:E0[20],colorStrokeFocus1:Pr,colorStrokeFocus2:$,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"});var M8=e=>{let a=ZS(e);return{...h4,...m4,...p4,...g4,...v4,...x4,...v8,...g8,...p8,...m8,...a,...YS,...pa,...Nr(a.colorNeutralShadowAmbient,a.colorNeutralShadowKey),...Nr(a.colorBrandShadowAmbient,a.colorBrandShadowKey,"Brand")}};var To=M8(b8);var _8=C(y(),1);var va=C(y(),1);var Or={root:"fui-FluentProvider"},wO=N3({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),b4=e=>{let a=ua(),t=wO({dir:e.dir,renderer:a});return e.root.className=H(Or.root,e.themeClassName,t.root,e.root.className),e};var kO=va.useInsertionEffect?va.useInsertionEffect:m1,TO=(e,a)=>{if(!e?.head)return;let t=e.createElement("style");return Object.keys(a).forEach(o=>{t.setAttribute(o,a[o])}),e.head.appendChild(t),t},BO=(e,a)=>{let t=e.sheet;t&&(t.cssRules.length>0&&t.deleteRule(0),t.insertRule(a,0))},M4=e=>{let{targetDocument:a,theme:t,rendererAttributes:o}=e,l=va.useRef(void 0),r=R1(Or.root),n=o,i=va.useMemo(()=>E3(`.${r}`,t),[t,r]);return DO(a,r),kO(()=>{let c=a?.getElementById(r);return c?l.current=c:(l.current=TO(a,{...n,id:r}),l.current&&BO(l.current,i)),()=>{var s;(s=l.current)===null||s===void 0||s.remove()}},[r,a,i,n]),{styleTagId:r,rule:i}};function DO(e,a){va.useState(()=>{if(!e)return;let t=e.getElementById(a);t&&e.head.append(t)})}var PO={},NO={},_4=(e,a)=>{let t=Q(),o=OO(),l=Sr(),r=_8.useContext(So)||PO,{applyStylesToPortals:n=!0,customStyleHooks_unstable:i,dir:c=t.dir,targetDocument:s=t.targetDocument,theme:u,overrides_unstable:d={}}=e,f=vp(o,u),h=vp(l,d),g=vp(r,i),m=ua();var b;let{styleTagId:p,rule:x}=M4({theme:f,targetDocument:s,rendererAttributes:(b=m.styleElementAttributes)!==null&&b!==void 0?b:NO});return{applyStylesToPortals:n,customStyleHooks_unstable:g,dir:c,targetDocument:s,theme:f,overrides_unstable:h,themeClassName:p,components:{root:"div"},root:T.always(l1("div",{...e,dir:c,ref:W(a,At({targetDocument:s}))}),{elementType:"div"}),serverStyleProps:{cssRule:x,attributes:{...m.styleElementAttributes,id:p}}}};function vp(e,a){return e&&a?{...e,...a}:e||a}function OO(){return _8.useContext(yr)}var z4=C(y(),1);function A4(e){let{applyStylesToPortals:a,customStyleHooks_unstable:t,dir:o,root:l,targetDocument:r,theme:n,themeClassName:i,overrides_unstable:c}=e,s=z4.useMemo(()=>({dir:o,targetDocument:r}),[o,r]),[u]=z4.useState(()=>({})),d=z4.useMemo(()=>({textDirection:o}),[o]);return{customStyleHooks_unstable:t,overrides_unstable:c,provider:s,textDirection:o,iconDirection:d,tooltip:u,theme:n,themeClassName:a?l.className:i}}var Bo=oR.forwardRef((e,a)=>{let t=_4(e,a);b4(t);let o=A4(t);return a4(t,o)});Bo.displayName="FluentProvider";var Do=C(y(),1),z8=C(N9(),1),EO=e=>t=>{let o=Do.useRef(t.value),l=Do.useRef(null);return l.current||(l.current={value:o,listeners:[]}),m1(()=>{o.current=t.value,(0,z8.unstable_runWithPriority)(z8.unstable_NormalPriority,()=>{l.current.listeners.forEach(r=>{r(t.value)})})},[t.value]),Do.createElement(e,{value:l.current},t.children)},V0=e=>{let a=Do.createContext({value:{current:e},listeners:[],isDefault:!0});return a.Provider=EO(a.Provider),delete a.Consumer,a};var Po=C(y(),1),Z0=(e,a)=>{let t=Po.useContext(e),{value:o,listeners:l}=t,r=a(o.current),[,n]=Po.useReducer(s=>s+1,0),i=Po.useRef(a),c=Po.useRef(r);return m1(()=>{i.current=a,c.current=r}),m1(()=>{let s=u=>{try{let d=i.current(u);Object.is(c.current,d)||n()}catch{}};return l.push(s),s(o.current),()=>{let u=l.indexOf(s);u!==-1&&l.splice(u,1)}},[l,o]),r};var lR=C(y(),1);function T2(e){return!lR.useContext(e).isDefault}var gp="Shift";var B5="Enter";var Re="ArrowDown",ga="ArrowLeft",xa="ArrowRight",ba="ArrowUp";var No="Home",C4="PageDown",y4="PageUp";var x5="Escape";function M5(e,a){let{disabled:t,disabledFocusable:o=!1,["aria-disabled"]:l,onClick:r,onKeyDown:n,onKeyUp:i,...c}=a??{},s=typeof l=="string"?l==="true":l,u=t||o||s,d=L(g=>{u?(g.preventDefault(),g.stopPropagation()):r?.(g)}),f=L(g=>{if(n?.(g),g.isDefaultPrevented())return;let m=g.key;if(u&&(m===B5||m===" ")){g.preventDefault(),g.stopPropagation();return}if(m===" "){g.preventDefault();return}else m===B5&&(g.preventDefault(),g.currentTarget.click())}),h=L(g=>{if(i?.(g),g.isDefaultPrevented())return;let m=g.key;if(u&&(m===B5||m===" ")){g.preventDefault(),g.stopPropagation();return}m===" "&&(g.preventDefault(),g.currentTarget.click())});if(e==="button"||e===void 0)return{...c,disabled:t&&!o,"aria-disabled":o?!0:s,onClick:o?void 0:d,onKeyUp:o?void 0:i,onKeyDown:o?void 0:n};{let g=!!c.href,m=g?void 0:"button";!m&&u&&(m="link");let b={role:m,tabIndex:o||!g&&!t?0:void 0,...c,onClick:d,onKeyUp:h,onKeyDown:f,"aria-disabled":u};return e==="a"&&u&&(b.href=void 0),b}}var S4=C(y(),1),D5=()=>{},UO={controller:{active:D5,blur:D5,find:D5,first:D5,focus:D5,focusLastActive:D5,scrollActiveIntoView:D5,last:D5,next:D5,prev:D5,showAttributes:D5,hideAttributes:D5,showFocusVisibleAttributes:D5,hideFocusVisibleAttributes:D5}},xp=S4.createContext(void 0),Ir=xp.Provider,Ur=()=>{var e;return(e=S4.useContext(xp))!==null&&e!==void 0?e:UO},C8=()=>!!S4.useContext(xp);var q0=C(y(),1);var yt=C(y(),1);function rR(e){let{matchOption:a}=e,{targetDocument:t}=Q(),o=yt.useRef(null),l=yt.useRef(null),r=yt.useCallback(c=>i0(c)&&a(c)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[a]),n=yt.useCallback(c=>{c&&t?(l.current=c,o.current=t.createTreeWalker(c,NodeFilter.SHOW_ELEMENT,r)):(l.current=null,o.current=null)},[t,r]);return{optionWalker:yt.useMemo(()=>({first:()=>!o.current||!l.current?null:(o.current.currentNode=l.current,o.current.firstChild()),last:()=>!o.current||!l.current?null:(o.current.currentNode=l.current,o.current.lastChild()),next:()=>o.current?o.current.nextNode():null,prev:()=>o.current?o.current.previousNode():null,find:(c,s)=>{if(!o.current||!l.current)return null;let u=s?t?.getElementById(s):null;o.current.currentNode=u??l.current;let d=o.current.currentNode;for(;d&&!c(d.id);)d=o.current.nextNode();return d},setCurrent:c=>{o.current&&(o.current.currentNode=c)}}),[t]),listboxCallbackRef:n}}var bp="data-activedescendant",St="data-activedescendant-focusvisible";var Mp=e=>{if(!e)return;let a=nR(e.parentElement);if(!a)return;let{offsetHeight:t}=e,o=iR(e,a),{scrollMarginTop:l,scrollMarginBottom:r}=jO(e),{offsetHeight:n,scrollTop:i}=a,c=o-l<i,s=o+t+r>i+n,u=2;c?a.scrollTo(0,o-l-u):s&&a.scrollTo(0,o+t+r-n+u)},nR=e=>e?e.scrollHeight>e.offsetHeight?e:nR(e.parentElement):null,iR=(e,a)=>!e||e===a?0:e.contains(a)?a.offsetTop*-1:e.offsetTop+iR(e.offsetParent,a),jO=e=>{var a;let t=(a=e.ownerDocument)===null||a===void 0?void 0:a.defaultView;if(!t)return{scrollMarginTop:0,scrollMarginBottom:0};let o=t.getComputedStyle(e);var l;let r=(l=y8(o.scrollMarginTop))!==null&&l!==void 0?l:y8(o.scrollMarginBlockStart);var n;let i=(n=y8(o.scrollMarginBottom))!==null&&n!==void 0?n:y8(o.scrollMarginBlockEnd);return{scrollMarginTop:r,scrollMarginBottom:i}},y8=e=>e?parseInt(e,10):0;var cR=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function jr(e){let{imperativeRef:a,matchOption:t}=e,o=q0.useRef(!1),l=q0.useRef(!0),r=q0.useRef(null),n=q0.useRef(null),i=q0.useRef(null),c=q0.useRef(!0),s=q0.useCallback(()=>{var M;(M=i.current)===null||M===void 0||M.removeAttribute("aria-activedescendant")},[]),u=q0.useCallback(M=>{if(M&&(r.current=M),c.current&&r.current){var _;(_=i.current)===null||_===void 0||_.setAttribute("aria-activedescendant",r.current)}},[]);Dr(M=>{o.current=M;let _=m();_&&(M&&l.current?_.setAttribute(St,""):_.removeAttribute(St))});let d=L(t),f=q0.useRef(null),{optionWalker:h,listboxCallbackRef:g}=rR({matchOption:d}),m=q0.useCallback(()=>{var M;return(M=f.current)===null||M===void 0?void 0:M.querySelector(`#${r.current}`)},[f]),b=q0.useCallback(M=>{l.current=M;let _=m();_&&(M&&o.current?_.setAttribute(St,""):_.removeAttribute(St))},[m]),p=q0.useCallback(()=>{let M=m();M&&(M.removeAttribute(bp),M.removeAttribute(St)),s(),n.current=r.current,r.current=null;var _;return(_=M?.id)!==null&&_!==void 0?_:null},[m,s]),x=q0.useCallback(M=>{if(!M)return;let _=p();Mp(M),u(M.id),M.setAttribute(bp,""),o.current&&l.current&&M.setAttribute(St,"");let z=cR({id:M.id,previousId:_});M.dispatchEvent(z)},[p,u]),v=q0.useMemo(()=>({first:({passive:M}={})=>{let _=h.first();return M||x(_),_?.id},last:({passive:M}={})=>{let _=h.last();return M||x(_),_?.id},next:({passive:M}={})=>{let _=m();if(!_)return;h.setCurrent(_);let z=h.next();return M||x(z),z?.id},prev:({passive:M}={})=>{let _=m();if(!_)return;h.setCurrent(_);let z=h.prev();return M||x(z),z?.id},blur:()=>{p()},active:()=>{var M;return(M=m())===null||M===void 0?void 0:M.id},focus:M=>{if(!f.current)return;let _=f.current.querySelector(`#${M}`);_&&x(_)},focusLastActive:()=>{if(!f.current||!n.current)return;let M=f.current.querySelector(`#${n.current}`);if(M)return x(M),!0},find(M,{passive:_,startFrom:z}={}){let A=h.find(M,z);return _||x(A),A?.id},scrollActiveIntoView:()=>{if(!f.current)return;let M=m();M&&Mp(M)},showAttributes(){c.current=!0,u()},hideAttributes(){c.current=!1,s()},showFocusVisibleAttributes(){b(!0)},hideFocusVisibleAttributes(){b(!1)}}),[h,f,u,s,x,p,m,b]);return q0.useImperativeHandle(a,()=>v),{listboxRef:W(f,g),activeParentRef:i,controller:v}}var zR=C(y(),1);var sR=k({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]});var uR="fui-Icon",dR="fui-Icon-filled",fR="fui-Icon-regular";var hR="data-fui-icon";var mR=(e,a)=>{let{filled:t,idPrefix:o,title:l,primaryFill:r="currentColor",...n}=e,i={...n,fill:r},c=Nm(),s=!!(a?.flipInRtl&&c?.textDirection==="rtl");return l&&(i["aria-label"]=l),!i["aria-label"]&&!i["aria-labelledby"]?i["aria-hidden"]=!0:i.role="img",i[hR]="",{state:i,isRtlFlip:s}};var pR=(e,a)=>{let t=sR(),{state:o,isRtlFlip:l}=mR(e,a);return o.className=H(t.root,l&&t.rtl,o.className),o};var vR=k({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]});var Rt=C(y(),1),_p="url(#",xR=(e,a,t)=>{let[o,l,...r]=e,n=l;if(t&&l){let i={};for(let c in l){let s=l[c];if(typeof s!="string")i[c]=s;else if(c==="id")i[c]=t+s;else{let u=s.indexOf(_p);i[c]=u<0?s:s.slice(0,u+_p.length)+t+s.slice(u+_p.length)}}n=i}return Rt.createElement(o,{...n,key:a},...r.map((i,c)=>xR(i,c,t)))},bR=e=>e==="1em"?"20":e,gR=(e,a,t)=>typeof e!="string"&&(a?.color||Array.isArray(e[0]))?e.map((o,l)=>xR(o,l,t)):void 0,GO=()=>{},MR=(e,a)=>{let t=gR(e,a);return t?function(l){return Rt.useMemo(()=>l?gR(e,a,l):t,[l])}:GO},_R=(e,a,t)=>typeof a=="string"?Rt.createElement("svg",{...e,dangerouslySetInnerHTML:{__html:a}}):t?Rt.createElement("svg",e,...t):Rt.createElement("svg",e,...a.map(o=>Rt.createElement("path",{d:o,fill:e.fill})));var M1=(e,a,t,o)=>{let l=bR(a),r=MR(t,o),n=zR.forwardRef((i,c)=>{let s=vR(),u=pR(i,{flipInRtl:o?.flipInRtl}),d=r(i.idPrefix),f={...u,className:H(uR,u.className,s.root),ref:c,width:a,height:a,viewBox:`0 0 ${l} ${l}`,xmlns:"http://www.w3.org/2000/svg"};return _R(f,t,d)});return n.displayName=e,n};var AR=M1("SettingsFilled","1em",["M1.91 7.38A8.5 8.5 0 0 1 3.7 4.3a.5.5 0 0 1 .54-.13l1.92.68a1 1 0 0 0 1.32-.76l.36-2a.5.5 0 0 1 .4-.4 9 9 0 0 1 3.55 0q.32.08.38.4l.37 2a1 1 0 0 0 1.32.76l1.92-.68a.5.5 0 0 1 .54.13 8.5 8.5 0 0 1 1.78 3.08q.08.31-.15.54l-1.56 1.32a1 1 0 0 0 0 1.52l1.56 1.32a.5.5 0 0 1 .15.54 8.5 8.5 0 0 1-1.78 3.08.5.5 0 0 1-.54.13l-1.92-.68a1 1 0 0 0-1.32.76l-.37 2a.5.5 0 0 1-.38.4 8.5 8.5 0 0 1-3.56 0 .5.5 0 0 1-.39-.4l-.36-2a1 1 0 0 0-1.32-.76l-1.92.68a.5.5 0 0 1-.54-.13 8.5 8.5 0 0 1-1.78-3.08.5.5 0 0 1 .15-.54l1.56-1.32a1 1 0 0 0 0-1.52L2.06 7.92a.5.5 0 0 1-.15-.54M8 10a2 2 0 1 0 4 0 2 2 0 0 0-4 0"]);var CR=M1("WeatherMoonFilled","1em",["M16.36 14a7.98 7.98 0 0 1-13.48.54.6.6 0 0 1 .29-.9c3-1.08 4.61-2.33 5.55-4.11.98-1.88 1.24-3.94.55-6.76a.6.6 0 0 1 .61-.73A7.98 7.98 0 0 1 16.36 14"]);var yR=M1("WeatherSunnyRegular","1em",["M10 2c.28 0 .5.22.5.5v1a.5.5 0 0 1-1 0v-1c0-.28.22-.5.5-.5m0 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8m0-1a3 3 0 1 1 0-6 3 3 0 0 1 0 6m7.5-2.5a.5.5 0 0 0 0-1h-1a.5.5 0 0 0 0 1zM10 16c.28 0 .5.22.5.5v1a.5.5 0 0 1-1 0v-1c0-.28.22-.5.5-.5m-6.5-5.5a.5.5 0 0 0 0-1H2.46a.5.5 0 0 0 0 1zm.65-6.35c.2-.2.5-.2.7 0l1 1a.5.5 0 1 1-.7.7l-1-1a.5.5 0 0 1 0-.7m.7 11.7a.5.5 0 0 1-.7-.7l1-1a.5.5 0 0 1 .7.7zm11-11.7a.5.5 0 0 0-.7 0l-1 1a.5.5 0 0 0 .7.7l1-1a.5.5 0 0 0 0-.7m-.7 11.7a.5.5 0 0 0 .7-.7l-1-1a.5.5 0 0 0-.7.7z"]);var S8=M1("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16"]);var SR=M1("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0z"]);var RR=M1("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0z"],{flipInRtl:!0});var HR=M1("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06z"]);var R8=M1("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0"]);var FR=M1("ChevronLeftFilled","1em",["M12.27 15.8a.75.75 0 0 1-1.06-.03l-5-5.25a.75.75 0 0 1 0-1.04l5-5.25a.75.75 0 1 1 1.08 1.04L7.8 10l4.5 4.73c.29.3.28.78-.02 1.06"]),VR=M1("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7"]),qR=M1("ChevronRightFilled","1em",["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06"]),H8=M1("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.47a.5.5 0 0 1-.7-.71L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7"]);var LR=M1("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07z"]);var wR=M1("Info12Filled","12",["M11 6A5 5 0 1 1 1 6a5 5 0 0 1 10 0m-5.5.5V8a.5.5 0 0 0 1 0V6.5a.5.5 0 0 0-1 0M6 3.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"]),kR=M1("Info12Regular","12",["M5.5 6.5a.5.5 0 0 1 1 0V8a.5.5 0 0 1-1 0zM6 3.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6m5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8"]),TR=M1("Info16Filled","16",["M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1m0 5.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5m.5 1.25a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0z"]),BR=M1("Info16Regular","16",["M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1M2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8"]),DR=M1("Info20Filled","20",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0M9.5 8.91a.5.5 0 0 1 1 0v4.69a.5.5 0 0 1-1 0V8.9m-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0"]),PR=M1("Info20Regular","20",["M10.5 8.91a.5.5 0 0 0-1 .09v4.6a.5.5 0 0 0 1-.1V8.91m.3-2.16a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0M3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0"]);var F8=M1("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04"]);var NR=M1("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04"]);var V8=M1("ChevronDown16Regular","16",["M3.15 5.65c.2-.2.5-.2.7 0L8 9.79l4.15-4.14a.5.5 0 0 1 .7.7l-4.5 4.5a.5.5 0 0 1-.7 0l-4.5-4.5a.5.5 0 0 1 0-.7"]);var OR=M1("ChevronUp16Regular","16",["M3.15 10.35c.2.2.5.2.7 0L8 6.21l4.15 4.14a.5.5 0 0 0 .7-.7l-4.5-4.5a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 0 0 0 .7"]);var ER=M1("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2z"]);var IR=M1("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5z"]);var UR=M1("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07z"]);var Gr=C(y(),1);var jR=k({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]});var Ht=(e,a)=>{let t=o=>{let{className:l,filled:r,...n}=o,i=jR();return Gr.createElement(Gr.Fragment,null,Gr.createElement(e,Object.assign({},n,{className:H(i.root,r&&i.visible,dR,l)})),Gr.createElement(a,Object.assign({},n,{className:H(i.root,!r&&i.visible,fR,l)})))};return t.displayName="CompoundIcon",t};var GR={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},WR={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)"},H1={...GR,...WR};var H4=C(y(),1);var R4=C(y(),1);function QR(e){if(e.playState==="running"){var a;if(e.overallProgress!==void 0){var t;let i=(t=e.overallProgress)!==null&&t!==void 0?t:0;return i>0&&i<1}var o;let r=Number((o=e.currentTime)!==null&&o!==void 0?o:0);var l;let n=Number((l=(a=e.effect)===null||a===void 0?void 0:a.getTiming().duration)!==null&&l!==void 0?l:0);return r>0&&r<n}return!1}var WO={fill:"forwards"},QO={duration:1};function KO(e){return{set playbackRate(a){e.forEach(t=>{t.playbackRate=a})},setMotionEndCallbacks(a,t){let o=e.map(l=>new Promise((r,n)=>{l.onfinish=()=>r(),l.oncancel=()=>n()}));Promise.all(o).then(()=>{a()}).catch(()=>{t()})},isRunning(){return e.some(a=>QR(a))},dispose:()=>{e.length=0},cancel:()=>{e.forEach(a=>{a.cancel()})},pause:()=>{e.forEach(a=>{a.pause()})},play:()=>{e.forEach(a=>{a.play()})},finish:()=>{e.forEach(a=>{a.finish()})},reverse:()=>{e.forEach(a=>{a.reverse()})}}}function XO(){var e;let a=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return R4.useCallback((t,o,l)=>{let r=Array.isArray(o)?o:[o],{isReducedMotion:n}=l,i=r.map(c=>{let{keyframes:s,reducedMotion:u=QO,...d}=c,{keyframes:f=s,...h}=u,g=n?f:s,m={...WO,...d,...n&&h};try{let p=t.animate(g,m);if(a)p?.persist();else{let x=g[g.length-1];var b;Object.assign((b=t.style)!==null&&b!==void 0?b:{},x)}return p}catch{return null}}).filter(c=>!!c);return KO(i)},[a])}function q8(){return XO()}var L8=C(y(),1);function w8(e){let a=L8.useRef(void 0);return L8.useImperativeHandle(e,()=>({setPlayState:t=>{if(t==="running"){var o;(o=a.current)===null||o===void 0||o.play()}if(t==="paused"){var l;(l=a.current)===null||l===void 0||l.pause()}},setPlaybackRate:t=>{a.current&&(a.current.playbackRate=t)}})),a}var k8=C(y(),1),YO="screen and (prefers-reduced-motion: reduce)";function T8(){let{targetDocument:e}=Q();var a;let t=(a=e?.defaultView)!==null&&a!==void 0?a:null,o=k8.useRef(!1),l=k8.useCallback(()=>o.current,[]);return m1(()=>{if(t===null||typeof t.matchMedia!="function")return;let r=t.matchMedia(YO);r.matches&&(o.current=!0);let n=i=>{o.current=i.matches};return r.addEventListener("change",n),()=>{r.removeEventListener("change",n)}},[t]),l}var He=C(y(),1);var ZO=["@fluentui/react-motion: Invalid child element.",`
31
+ `,"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 B8(e,a=!0){let t=He.useRef(null);He.useEffect(()=>{},[a]);try{let o=He.Children.only(e);if(He.isValidElement(o))return[He.cloneElement(o,{ref:W(t,ge(o))}),t]}catch{}throw new Error(ZO)}var D8=C(y(),1),KR=D8.createContext(void 0),di1=KR.Provider,P8=()=>{var e;return(e=D8.useContext(KR))!==null&&e!==void 0?e:"default"};var JO=Symbol("MOTION_DEFINITION");function zp(e){return Object.assign(t=>{let{children:o,imperativeRef:l,onMotionFinish:r,onMotionStart:n,onMotionCancel:i,replayKey:c,...s}=t,u=s,[d,f]=B8(o),h=w8(l),g=H4.useRef(!0),m=P8()==="skip",b=H4.useRef({skipMotions:m,params:u}),p=q8(),x=T8(),v=L(()=>{n?.(null)}),M=L(()=>{r?.(null)}),_=L(()=>{i?.(null)}),z=H4.useCallback(A=>{v(),A.setMotionEndCallbacks(M,_),b.current.skipMotions&&A.finish()},[v,M,_]);return m1(()=>{b.current={skipMotions:m,params:u}}),m1(()=>{let A=f.current;if(A){let S=typeof e=="function"?e({element:A,...b.current.params}):e,R=p(A,S,{isReducedMotion:x()});return h.current=R,z(R),()=>{R.cancel()}}},[p,f,h,x,z]),m1(()=>{if(g.current)return;let A=h.current;A&&(A.cancel(),A.play(),z(A))},[c]),m1(()=>(g.current=!1,()=>{g.current=!0}),[]),d},{[JO]:typeof e=="function"?e:()=>e})}var Qr=C(y(),1);var Ap=C(y(),1),Cp=Ap.createContext(void 0),Mi1=Cp.Provider;var Wr=C(y(),1);function XR(e=!1,a=!1){let t=Wr.useRef(a?e:!0),o=Vs(),l=Wr.useCallback(r=>{t.current!==r&&(t.current=r,o())},[o]);return Wr.useEffect(()=>{e&&(t.current=e)}),[e||t.current,l]}var yp=Symbol("PRESENCE_MOTION_DEFINITION"),$O=Symbol.for("interruptablePresence");function Q2(e){return Object.assign(a=>{let o={...Qr.useContext(Cp),...a},l=P8()==="skip",{appear:r,children:n,imperativeRef:i,onExit:c,onMotionFinish:s,onMotionStart:u,onMotionCancel:d,visible:f,unmountOnExit:h,...g}=o,m=g,[b,p]=XR(f,h),[x,v]=B8(n,b),M=w8(i),_=Qr.useRef({appear:r,params:m,skipMotions:l}),z=q8(),A=pt(),S=T8(),R=L(O=>{u?.(null,{direction:O})}),B=L(O=>{s?.(null,{direction:O}),O==="exit"&&h&&(p(!1),c?.())}),w=L(O=>{d?.(null,{direction:O})});return m1(()=>{_.current={appear:r,params:m,skipMotions:l}}),m1(()=>{let O=v.current;if(!O)return;let V;function N(){V&&(U&&V.isRunning()||(V.cancel(),M.current=void 0))}let E=typeof e=="function"?e({element:O,..._.current.params}):e,U=E[$O];if(U&&(V=M.current,V&&V.isRunning()))return V.reverse(),N;let e1=f?E.enter:E.exit,J=f?"enter":"exit",A1=!_.current.appear&&A,n1=_.current.skipMotions;return A1||R(J),V=z(O,e1,{isReducedMotion:S()}),A1?(V.finish(),N):(M.current=V,V.setMotionEndCallbacks(()=>B(J),()=>w(J)),n1&&V.finish(),N)},[z,v,M,S,B,R,w,f]),Qr.useEffect(()=>{if(h&&!b){var O;(O=M.current)===null||O===void 0||O.dispose()}},[M,h,b]),b?x:null},{[yp]:typeof e=="function"?e:()=>e},{In:zp(typeof e=="function"?(...a)=>e(...a).enter:e.enter),Out:zp(typeof e=="function"?(...a)=>e(...a).exit:e.exit)})}function eE(e,a){return o=>e({...a,...o})}function Ma(e,a){let t=e[yp],o=eE(t,a);return Q2(o)}var _a=C(y(),1),Sp=_a.createContext(void 0);function Oo(){return _a.useContext(Sp)}var Ft=_a.forwardRef((e,a)=>_a.createElement(Sp.Provider,{value:a},e.children));Ft.displayName="MotionRefForwarder";var N8=e=>_a.createElement(Sp.Provider,{value:void 0},e.children);N8.displayName="MotionRefForwarderReset";var O8=C(y(),1);function za(e,a){let{as:t,children:o,...l}=e??{};if(e===null){let n=!a.defaultProps.visible&&a.defaultProps.unmountOnExit,i=(c,s)=>n?null:O8.createElement(O8.Fragment,null,s.children);return{[da]:i,[o2]:a.elementType}}let r={...a.defaultProps,...l,[o2]:a.elementType};return typeof o=="function"&&(r[da]=o),r}var K2=({direction:e,duration:a,easing:t=H1.curveLinear,delay:o=0,outOpacity:l=0,inOpacity:r=1})=>{let n=[{opacity:l},{opacity:r}];return e==="exit"&&n.reverse(),{keyframes:n,duration:a,easing:t,delay:o,fill:"both"}};var aE=({duration:e=H1.durationNormal,easing:a=H1.curveEasyEase,delay:t=0,exitDuration:o=e,exitEasing:l=a,exitDelay:r=t,outOpacity:n=0,inOpacity:i=1})=>({enter:K2({direction:"enter",duration:e,easing:a,delay:t,outOpacity:n,inOpacity:i}),exit:K2({direction:"exit",duration:o,easing:l,delay:r,outOpacity:n,inOpacity:i})}),E8=Q2(aE),YR=Ma(E8,{duration:H1.durationFast}),I8=Ma(E8,{duration:H1.durationGentle});var Rp=({direction:e,duration:a,easing:t=H1.curveLinear,delay:o=0,outScale:l=.9,inScale:r=1})=>{let n=[{scale:l},{scale:r}];return e==="exit"&&n.reverse(),{keyframes:n,duration:a,easing:t,delay:o}};var tE=({duration:e=H1.durationGentle,easing:a=H1.curveDecelerateMax,delay:t=0,exitDuration:o=H1.durationNormal,exitEasing:l=H1.curveAccelerateMax,exitDelay:r=t,outScale:n=.9,inScale:i=1,animateOpacity:c=!0})=>{let s=[Rp({direction:"enter",duration:e,easing:a,delay:t,outScale:n,inScale:i})],u=[Rp({direction:"exit",duration:o,easing:l,delay:r,outScale:n,inScale:i})];return c&&(s.push(K2({direction:"enter",duration:e,easing:a,delay:t})),u.push(K2({direction:"exit",duration:o,easing:l,delay:r}))),{enter:s,exit:u}},Kr=Q2(tE),ZR=Ma(Kr,{duration:H1.durationNormal,exitDuration:H1.durationFast}),JR=Ma(Kr,{duration:H1.durationSlow,exitDuration:H1.durationGentle});var F4=({direction:e,duration:a,easing:t=H1.curveLinear,delay:o=0,outX:l="0px",outY:r="0px",inX:n="0px",inY:i="0px"})=>{let c=[{translate:`${l} ${r}`},{translate:`${n} ${i}`}];return e==="exit"&&c.reverse(),{keyframes:c,duration:a,easing:t,delay:o}};var Le=C(y(),1);function $R(e){let a=e.clientX,t=e.clientY,o=a+1,l=t+1;function r(){return{left:a,top:t,right:o,bottom:l,x:a,y:t,height:1,width:1}}return{getBoundingClientRect:r}}var aH=C(y(),1);var Hp="data-popper-is-intersecting",Fp="data-popper-escaped",Vp="data-popper-reference-hidden",eH="data-popper-placement",V4="fui-positioningend",Vt="--fui-positioning-slide-direction-x",qt="--fui-positioning-slide-direction-y";function oE(e){let a=e.split("-")[0],t=0,o=1;return a==="right"?(t=-1,o=0):a==="bottom"?(t=0,o=-1):a==="left"&&(t=1,o=0),{x:t,y:o}}function q4(e){let{targetDocument:a,onPositioningEnd:t}=e,o=L(l=>{t?.(l);let r=l.target,n=l.detail.placement;if(!i0(r))return;let{x:i,y:c}=oE(n);r.style.setProperty(Vt,`${i}px`),r.style.setProperty(qt,`${c}px`)});return aH.useEffect(()=>{var l,r,n;let i=(n=a==null||(r=a.defaultView)===null||r===void 0||(l=r.CSS)===null||l===void 0?void 0:l.registerProperty)!==null&&n!==void 0?n:()=>{};try{i({name:Vt,syntax:"<length>",inherits:!1,initialValue:"0px"}),i({name:qt,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[a]),o}var U8=C(y(),1),lE=({options:e})=>e,tH=U8.createContext(void 0),xc1=tH.Provider,oH=()=>{var e;return(e=U8.useContext(tH))!==null&&e!==void 0?e:lE};var $2=C(y(),1);var nH=["top","right","bottom","left"];var Aa=Math.min,Fe=Math.max,w4=Math.round;var Ve=e=>({x:e,y:e}),rE={left:"right",right:"left",bottom:"top",top:"bottom"};function qp(e,a,t){return Fe(e,Aa(a,t))}function qe(e,a){return typeof e=="function"?e(a):e}function Ca(e){return e.split("-")[0]}function Eo(e){return e.split("-")[1]}function G8(e){return e==="x"?"y":"x"}function W8(e){return e==="y"?"height":"width"}function X2(e){let a=e[0];return a==="t"||a==="b"?"y":"x"}function Q8(e){return G8(X2(e))}function iH(e,a,t){t===void 0&&(t=!1);let o=Eo(e),l=Q8(e),r=W8(l),n=l==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return a.reference[r]>a.floating[r]&&(n=L4(n)),[n,L4(n)]}function cH(e){let a=L4(e);return[j8(e),a,j8(a)]}function j8(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var lH=["left","right"],rH=["right","left"],nE=["top","bottom"],iE=["bottom","top"];function cE(e,a,t){switch(e){case"top":case"bottom":return t?a?rH:lH:a?lH:rH;case"left":case"right":return a?nE:iE;default:return[]}}function sH(e,a,t,o){let l=Eo(e),r=cE(Ca(e),t==="start",o);return l&&(r=r.map(n=>n+"-"+l),a&&(r=r.concat(r.map(j8)))),r}function L4(e){let a=Ca(e);return rE[a]+e.slice(a.length)}function sE(e){var a,t,o,l;return{top:(a=e.top)!=null?a:0,right:(t=e.right)!=null?t:0,bottom:(o=e.bottom)!=null?o:0,left:(l=e.left)!=null?l:0}}function Lp(e){return typeof e!="number"?sE(e):{top:e,right:e,bottom:e,left:e}}function Io(e){let{x:a,y:t,width:o,height:l}=e;return{width:o,height:l,top:t,left:a,right:a+o,bottom:t+l,x:a,y:t}}function uH(e,a,t){let{reference:o,floating:l}=e,r=X2(a),n=Q8(a),i=W8(n),c=Ca(a),s=r==="y",u=o.x+o.width/2-l.width/2,d=o.y+o.height/2-l.height/2,f=o[i]/2-l[i]/2,h;switch(c){case"top":h={x:u,y:o.y-l.height};break;case"bottom":h={x:u,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:d};break;case"left":h={x:o.x-l.width,y:d};break;default:h={x:o.x,y:o.y}}let g=Eo(a);return g&&(h[n]+=f*(g==="end"?1:-1)*(t&&s?-1:1)),h}async function wp(e,a){var t;a===void 0&&(a={});let{x:o,y:l,platform:r,rects:n,elements:i,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=qe(a,e),g=Lp(h),b=i[f?d==="floating"?"reference":"floating":d],p=Io(await r.getClippingRect({element:(t=await(r.isElement==null?void 0:r.isElement(b)))==null||t?b:b.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(i.floating)),boundary:s,rootBoundary:u,strategy:c})),x=d==="floating"?{x:o,y:l,width:n.floating.width,height:n.floating.height}:n.reference,v=await(r.getOffsetParent==null?void 0:r.getOffsetParent(i.floating)),M=await(r.isElement==null?void 0:r.isElement(v))&&await(r.getScale==null?void 0:r.getScale(v))||{x:1,y:1},_=Io(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:x,offsetParent:v,strategy:c}):x);return{top:(p.top-_.top+g.top)/M.y,bottom:(_.bottom-p.bottom+g.bottom)/M.y,left:(p.left-_.left+g.left)/M.x,right:(_.right-p.right+g.right)/M.x}}var uE=50,hH=async(e,a,t)=>{let{placement:o="bottom",strategy:l="absolute",middleware:r=[],platform:n}=t,i=n.detectOverflow?n:{...n,detectOverflow:wp},c=await(n.isRTL==null?void 0:n.isRTL(a)),s=await n.getElementRects({reference:e,floating:a,strategy:l}),{x:u,y:d}=uH(s,o,c),f=o,h=0,g={};for(let m=0;m<r.length;m++){let b=r[m];if(!b)continue;let{name:p,fn:x}=b,{x:v,y:M,data:_,reset:z}=await x({x:u,y:d,initialPlacement:o,placement:f,strategy:l,middlewareData:g,rects:s,platform:i,elements:{reference:e,floating:a}});u=v??u,d=M??d,g[p]={...g[p],..._},z&&h<uE&&(h++,typeof z=="object"&&(z.placement&&(f=z.placement),z.rects&&(s=z.rects===!0?await n.getElementRects({reference:e,floating:a,strategy:l}):z.rects),{x:u,y:d}=uH(s,f,c)),m=-1)}return{x:u,y:d,placement:f,strategy:l,middlewareData:g}},mH=e=>({name:"arrow",options:e,async fn(a){let{x:t,y:o,placement:l,rects:r,platform:n,elements:i,middlewareData:c}=a,{element:s,padding:u=0}=qe(e,a)||{};if(s==null)return{};let d=Lp(u),f={x:t,y:o},h=Q8(l),g=W8(h),m=await n.getDimensions(s),b=h==="y",p=b?"top":"left",x=b?"bottom":"right",v=b?"clientHeight":"clientWidth",M=r.reference[g]+r.reference[h]-f[h]-r.floating[g],_=f[h]-r.reference[h],z=await(n.getOffsetParent==null?void 0:n.getOffsetParent(s)),A=z?z[v]:0;(!A||!await(n.isElement==null?void 0:n.isElement(z)))&&(A=i.floating[v]||r.floating[g]);let S=M/2-_/2,R=A/2-m[g]/2-1,B=Aa(d[p],R),w=Aa(d[x],R),O=A-m[g]-w,V=A/2-m[g]/2+S,N=qp(B,V,O),E=!c.arrow&&Eo(l)!=null&&V!==N&&r.reference[g]/2-(V<B?B:w)-m[g]/2<0,U=E?V<B?V-B:V-O:0;return{[h]:f[h]+U,data:{[h]:N,centerOffset:V-N-U,...E&&{alignmentOffset:U}},reset:E}}});var pH=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(a){var t,o;let{placement:l,middlewareData:r,rects:n,initialPlacement:i,platform:c,elements:s}=a,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...b}=qe(e,a);if((t=r.arrow)!=null&&t.alignmentOffset)return{};let p=Ca(l),x=X2(i),v=Ca(i)===i,M=await(c.isRTL==null?void 0:c.isRTL(s.floating)),_=f||(v||!m?[L4(i)]:cH(i)),z=g!=="none";!f&&z&&_.push(...sH(i,m,g,M));let A=[i,..._],S=await c.detectOverflow(a,b),R=[],B=((o=r.flip)==null?void 0:o.overflows)||[];if(u&&R.push(S[p]),d){let N=iH(l,n,M);R.push(S[N[0]],S[N[1]])}if(B=[...B,{placement:l,overflows:R}],!R.every(N=>N<=0)){var w,O;let N=(((w=r.flip)==null?void 0:w.index)||0)+1,E=A[N];if(E&&(!(d==="alignment"?x!==X2(E):!1)||B.every(J=>X2(J.placement)===x?J.overflows[0]>0:!0)))return{data:{index:N,overflows:B},reset:{placement:E}};let U=(O=B.filter(e1=>e1.overflows[0]<=0).sort((e1,J)=>e1.overflows[1]-J.overflows[1])[0])==null?void 0:O.placement;if(!U)switch(h){case"bestFit":{var V;let e1=(V=B.filter(J=>{if(z){let A1=X2(J.placement);return A1===x||A1==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(A1=>A1>0).reduce((A1,n1)=>A1+n1,0)]).sort((J,A1)=>J[1]-A1[1])[0])==null?void 0:V[0];e1&&(U=e1);break}case"initialPlacement":U=i;break}if(l!==U)return{reset:{placement:U}}}return{}}}};function dH(e,a){return{top:e.top-a.height,right:e.right-a.width,bottom:e.bottom-a.height,left:e.left-a.width}}function fH(e){return nH.some(a=>e[a]>=0)}var vH=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(a){let{rects:t,platform:o}=a,{strategy:l="referenceHidden",...r}=qe(e,a);switch(l){case"referenceHidden":{let n=await o.detectOverflow(a,{...r,elementContext:"reference"}),i=dH(n,t.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:fH(i)}}}case"escaped":{let n=await o.detectOverflow(a,{...r,altBoundary:!0}),i=dH(n,t.floating);return{data:{escapedOffsets:i,escaped:fH(i)}}}default:return{}}}}};var gH=new Set(["left","top"]);async function dE(e,a){let{placement:t,platform:o,elements:l}=e,r=await(o.isRTL==null?void 0:o.isRTL(l.floating)),n=Ca(t),i=Eo(t),c=X2(t)==="y",s=gH.has(n)?-1:1,u=r&&c?-1:1,d=qe(a,e),{mainAxis:f,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return i&&typeof g=="number"&&(h=i==="end"?g*-1:g),c?{x:h*u,y:f*s}:{x:f*s,y:h*u}}var xH=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(a){var t,o;let{x:l,y:r,placement:n,middlewareData:i}=a,c=await dE(a,e);return n===((t=i.offset)==null?void 0:t.placement)&&(o=i.arrow)!=null&&o.alignmentOffset?{}:{x:l+c.x,y:r+c.y,data:{...c,placement:n}}}}},bH=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(a){let{x:t,y:o,placement:l,platform:r}=a,{mainAxis:n=!0,crossAxis:i=!1,limiter:c={fn:x=>{let{x:v,y:M}=x;return{x:v,y:M}}},...s}=qe(e,a),u={x:t,y:o},d=await r.detectOverflow(a,s),f=X2(l),h=G8(f),g=u[h],m=u[f],b=(x,v)=>qp(v+d[x==="y"?"top":"left"],v,v-d[x==="y"?"bottom":"right"]);n&&(g=b(h,g)),i&&(m=b(f,m));let p=c.fn({...a,[h]:g,[f]:m});return{...p,data:{x:p.x-t,y:p.y-o,enabled:{[h]:n,[f]:i}}}}}},MH=function(e){return e===void 0&&(e={}),{options:e,fn(a){var t,o;let{x:l,y:r,placement:n,rects:i,middlewareData:c}=a,{offset:s=0,mainAxis:u=!0,crossAxis:d=!0}=qe(e,a),f={x:l,y:r},h=X2(n),g=G8(h),m=f[g],b=f[h],p=qe(s,a),x=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:(t=p.mainAxis)!=null?t:0,crossAxis:(o=p.crossAxis)!=null?o:0};if(u){let _=g==="y"?"height":"width",z=i.reference[g]-i.floating[_]+x.mainAxis,A=i.reference[g]+i.reference[_]-x.mainAxis;m<z?m=z:m>A&&(m=A)}if(d){var v,M;let _=g==="y"?"width":"height",z=gH.has(Ca(n)),A=i.reference[h]-i.floating[_]+(z&&((v=c.offset)==null?void 0:v[h])||0)+(z?0:x.crossAxis),S=i.reference[h]+i.reference[_]+(z?0:((M=c.offset)==null?void 0:M[h])||0)-(z?x.crossAxis:0);b<A?b=A:b>S&&(b=S)}return{[g]:m,[h]:b}}}},_H=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(a){let{placement:t,rects:o,platform:l,elements:r}=a,{apply:n=()=>{},...i}=qe(e,a),c=await l.detectOverflow(a,i),s=Ca(t),u=Eo(t),d=X2(t)==="y",{width:f,height:h}=o.floating,g,m;s==="top"||s==="bottom"?(g=s,m=u===(await(l.isRTL==null?void 0:l.isRTL(r.floating))?"start":"end")?"left":"right"):(m=s,g=u==="end"?"top":"bottom");let b=h-c.top-c.bottom,p=f-c.left-c.right,x=Aa(h-c[g],b),v=Aa(f-c[m],p),M=a.middlewareData.shift,_=!M,z=x,A=v;M!=null&&M.enabled.x&&(A=p),M!=null&&M.enabled.y&&(z=b),_&&!u&&(d?A=f-2*Fe(c.left,c.right):z=h-2*Fe(c.top,c.bottom)),await n({...a,availableWidth:A,availableHeight:z});let S=await l.getDimensions(r.floating);return f!==S.width||h!==S.height?{reset:{rects:!0}}:{}}}};function X8(){return typeof window<"u"}function jo(e){return AH(e)?(e.nodeName||"").toLowerCase():"#document"}function P5(e){var a;return(e==null||(a=e.ownerDocument)==null?void 0:a.defaultView)||window}function ya(e){var a;return(a=(AH(e)?e.ownerDocument:e.document)||window.document)==null?void 0:a.documentElement}function AH(e){return X8()?e instanceof Node||e instanceof P5(e).Node:!1}function Y2(e){return X8()?e instanceof Element||e instanceof P5(e).Element:!1}function Sa(e){return X8()?e instanceof HTMLElement||e instanceof P5(e).HTMLElement:!1}function zH(e){return!X8()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof P5(e).ShadowRoot}function k4(e){let{overflow:a,overflowX:t,overflowY:o,display:l}=Z2(e);return/auto|scroll|overlay|hidden|clip/.test(a+o+t)&&l!=="inline"&&l!=="contents"}function CH(e){return/^(table|td|th)$/.test(jo(e))}function T4(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var fE=/transform|translate|scale|rotate|perspective|filter/,hE=/paint|layout|strict|content/,Uo=e=>!!e&&e!=="none",kp;function Y8(e){let a=Y2(e)?Z2(e):e;return Uo(a.transform)||Uo(a.translate)||Uo(a.scale)||Uo(a.rotate)||Uo(a.perspective)||!Z8()&&(Uo(a.backdropFilter)||Uo(a.filter))||fE.test(a.willChange||"")||hE.test(a.contain||"")}function yH(e){let a=Lt(e);for(;Sa(a)&&!Xr(a);){if(Y8(a))return a;if(T4(a))return null;a=Lt(a)}return null}function Z8(){return kp==null&&(kp=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),kp}function Xr(e){return/^(html|body|#document)$/.test(jo(e))}function Z2(e){return P5(e).getComputedStyle(e)}function B4(e){return Y2(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Lt(e){if(jo(e)==="html")return e;let a=e.assignedSlot||e.parentNode||zH(e)&&e.host||ya(e);return zH(a)?a.host:a}function SH(e){let a=Lt(e);return Xr(a)?(e.ownerDocument||e).body:Sa(a)&&k4(a)?a:SH(a)}function K8(e,a,t){var o;a===void 0&&(a=[]),t===void 0&&(t=!0);let l=SH(e),r=l===((o=e.ownerDocument)==null?void 0:o.body),n=P5(l);if(r){let i=J8(n);return a.concat(n,n.visualViewport||[],k4(l)?l:[],i&&t?K8(i):[])}else return a.concat(l,K8(l,[],t))}function J8(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function FH(e){let a=Z2(e),t=parseFloat(a.width)||0,o=parseFloat(a.height)||0,l=Sa(e),r=l?e.offsetWidth:t,n=l?e.offsetHeight:o,i=w4(t)!==r||w4(o)!==n;return i&&(t=r,o=n),{width:t,height:o,$:i}}function VH(e){return Y2(e)?e:e.contextElement}function Yr(e){let a=VH(e);if(!Sa(a))return Ve(1);let t=a.getBoundingClientRect(),{width:o,height:l,$:r}=FH(a),n=(r?w4(t.width):t.width)/o,i=(r?w4(t.height):t.height)/l;return(!n||!Number.isFinite(n))&&(n=1),(!i||!Number.isFinite(i))&&(i=1),{x:n,y:i}}var mE=Ve(0);function qH(e){let a=P5(e);return!Z8()||!a.visualViewport?mE:{x:a.visualViewport.offsetLeft,y:a.visualViewport.offsetTop}}function pE(e,a,t){return a===void 0&&(a=!1),!!t&&a&&t===P5(e)}function D4(e,a,t,o){a===void 0&&(a=!1),t===void 0&&(t=!1);let l=e.getBoundingClientRect(),r=VH(e),n=Ve(1);a&&(o?Y2(o)&&(n=Yr(o)):n=Yr(e));let i=pE(r,t,o)?qH(r):Ve(0),c=(l.left+i.x)/n.x,s=(l.top+i.y)/n.y,u=l.width/n.x,d=l.height/n.y;if(r&&o){let f=P5(r),h=Y2(o)?P5(o):o,g=f,m=J8(g);for(;m&&h!==g;){let b=Yr(m),p=m.getBoundingClientRect(),x=Z2(m),v=p.left+(m.clientLeft+parseFloat(x.paddingLeft))*b.x,M=p.top+(m.clientTop+parseFloat(x.paddingTop))*b.y;c*=b.x,s*=b.y,u*=b.x,d*=b.y,c+=v,s+=M,g=P5(m),m=J8(g)}}return Io({width:u,height:d,x:c,y:s})}function $8(e,a){let t=B4(e).scrollLeft;return a?a.left+t:D4(ya(e)).left+t}function LH(e,a){let t=e.getBoundingClientRect(),o=t.left+a.scrollLeft-$8(e,t),l=t.top+a.scrollTop;return{x:o,y:l}}function vE(e){let{elements:a,rect:t,offsetParent:o,strategy:l}=e,r=l==="fixed",n=ya(o),i=a?T4(a.floating):!1;if(o===n||i&&r)return t;let c={scrollLeft:0,scrollTop:0},s=Ve(1),u=Ve(0),d=Sa(o);if((d||!r)&&((jo(o)!=="body"||k4(n))&&(c=B4(o)),d)){let h=D4(o);s=Yr(o),u.x=h.x+o.clientLeft,u.y=h.y+o.clientTop}let f=n&&!d&&!r?LH(n,c):Ve(0);return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-c.scrollLeft*s.x+u.x+f.x,y:t.y*s.y-c.scrollTop*s.y+u.y+f.y}}function gE(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function xE(e){let a=B4(e),t=e.ownerDocument.body,o=Fe(e.scrollWidth,e.clientWidth,t.scrollWidth,t.clientWidth),l=Fe(e.scrollHeight,e.clientHeight,t.scrollHeight,t.clientHeight),r=-a.scrollLeft+$8(e),n=-a.scrollTop;return Z2(t).direction==="rtl"&&(r+=Fe(e.clientWidth,t.clientWidth)-o),{width:o,height:l,x:r,y:n}}var bE=25;function ME(e,a,t){t===void 0&&(t="viewport");let o=t==="layoutViewport",l=P5(e),r=ya(e),n=l.visualViewport,i=r.clientWidth,c=r.clientHeight,s=0,u=0;if(n){let f=!Z8()||a==="fixed";o?f||(s=-n.offsetLeft,u=-n.offsetTop):(i=n.width,c=n.height,f&&(s=n.offsetLeft,u=n.offsetTop))}if($8(r)<=0){let f=r.ownerDocument,h=f.body,g=getComputedStyle(h),m=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,b=Math.abs(r.clientWidth-h.clientWidth-m),p=getComputedStyle(r).scrollbarGutter==="stable both-edges"?b/2:b;p<=bE&&(i-=p)}return{width:i,height:c,x:s,y:u}}function _E(e,a){let t=D4(e,!0,a==="fixed"),o=t.top+e.clientTop,l=t.left+e.clientLeft,r=Yr(e),n=e.clientWidth*r.x,i=e.clientHeight*r.y,c=l*r.x,s=o*r.y;return{width:n,height:i,x:c,y:s}}function RH(e,a,t){let o;if(a==="viewport"||a==="layoutViewport")o=ME(e,t,a);else if(a==="document")o=xE(ya(e));else if(Y2(a))o=_E(a,t);else{let l=qH(e);o={x:a.x-l.x,y:a.y-l.y,width:a.width,height:a.height}}return Io(o)}function zE(e,a){let t=a.get(e);if(t)return t;let o=K8(e,[],!1).filter(i=>Y2(i)&&jo(i)!=="body"),l=null,r=Z2(e).position==="fixed",n=r?Lt(e):e;for(;Y2(n)&&!Xr(n);){let i=Z2(n),c=Y8(n),s=l?l.position:r?"fixed":"";!c&&(s==="fixed"||s==="absolute"&&i.position==="static")?o=o.filter(d=>d!==n):l=i,n=Lt(n)}return a.set(e,o),o}function AE(e){let{element:a,boundary:t,rootBoundary:o,strategy:l}=e,n=[...t==="clippingAncestors"?T4(a)?[]:zE(a,this._c):[].concat(t),o],i=RH(a,n[0],l),c=i.top,s=i.right,u=i.bottom,d=i.left;for(let f=1;f<n.length;f++){let h=RH(a,n[f],l);c=Fe(h.top,c),s=Aa(h.right,s),u=Aa(h.bottom,u),d=Fe(h.left,d)}return{width:s-d,height:u-c,x:d,y:c}}function CE(e){let{width:a,height:t}=FH(e);return{width:a,height:t}}function yE(e,a,t){let o=Sa(a),l=ya(a),r=t==="fixed",n=D4(e,!0,r,a),i={scrollLeft:0,scrollTop:0},c=Ve(0);if((o||!r)&&((jo(a)!=="body"||k4(l))&&(i=B4(a)),o)){let f=D4(a,!0,r,a);c.x=f.x+a.clientLeft,c.y=f.y+a.clientTop}!o&&l&&(c.x=$8(l));let s=l&&!o&&!r?LH(l,i):Ve(0),u=n.left+i.scrollLeft-c.x-s.x,d=n.top+i.scrollTop-c.y-s.y;return{x:u,y:d,width:n.width,height:n.height}}function Tp(e){return Z2(e).position==="static"}function HH(e,a){if(!Sa(e)||Z2(e).position==="fixed")return null;if(a)return a(e);let t=e.offsetParent;return ya(e)===t&&(t=t.ownerDocument.body),t}function wH(e,a){let t=P5(e);if(T4(e))return t;if(!Sa(e)){let l=Lt(e);for(;l&&!Xr(l);){if(Y2(l)&&!Tp(l))return l;l=Lt(l)}return t}let o=HH(e,a);for(;o&&CH(o)&&Tp(o);)o=HH(o,a);return o&&Xr(o)&&Tp(o)&&!Y8(o)?t:o||yH(e)||t}var SE=async function(e){let a=this.getOffsetParent||wH,t=this.getDimensions,o=await t(e.floating);return{reference:yE(e.reference,await a(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function RE(e){return Z2(e).direction==="rtl"}var HE={convertOffsetParentRelativeRectToViewportRelativeRect:vE,getDocumentElement:ya,getClippingRect:AE,getOffsetParent:wH,getElementRects:SE,getClientRects:gE,getDimensions:CE,getScale:Yr,isElement:Y2,isRTL:RE};var kH=wp,TH=xH;var BH=bH,DH=pH,PH=_H,Bp=vH,NH=mH;var Dp=MH,OH=(e,a,t)=>{let o=new Map,l=t??{},r={...HE,...l.platform,_c:o};return hH(e,a,{...l,platform:r})};function P4(e){let a=e.split("-");return{side:a[0],alignment:a[1]}}var EH=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,FE=e=>{var a;if(e.nodeType!==1)return{};let t=(a=e.ownerDocument)===null||a===void 0?void 0:a.defaultView;return t?t.getComputedStyle(e,null):{}},Go=e=>{let a=e&&EH(e);if(!a)return document.body;switch(a.nodeName){case"HTML":case"BODY":return a.ownerDocument.body;case"#document":return a.body}let{overflow:t,overflowX:o,overflowY:l}=FE(a);return/(auto|scroll|overlay)/.test(t+l+o)?a:Go(a)},Pp=e=>{var a;let t=Go(e);return t?t!==((a=t.ownerDocument)===null||a===void 0?void 0:a.body):!1};function Wo(e,a){if(a==="window")return e?.ownerDocument.documentElement;if(a==="clippingParents")return"clippingAncestors";if(a==="scrollParent"){let t=Go(e);return t.nodeName==="BODY"&&(t=e?.ownerDocument.documentElement),t}return a}function eu(e,a){return typeof e=="number"||typeof e=="object"&&e!==null?Np(e,a):typeof e=="function"?t=>{let o=e(t);return Np(o,a)}:{mainAxis:a}}var Np=(e,a)=>{if(typeof e=="number")return{mainAxis:e+a};var t;return{...e,mainAxis:((t=e.mainAxis)!==null&&t!==void 0?t:0)+a}};function N4(e,a){if(typeof e=="number")return e;let{start:t,end:o,...l}=e,r=l,n=a?"end":"start",i=a?"start":"end";return e[n]&&(r.left=e[n]),e[i]&&(r.right=e[i]),r}var VE=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),qE=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),LE=(e,a)=>{let t=e==="above"||e==="below",o=a==="top"||a==="bottom";return t&&o||!t&&!o},O4=(e,a,t)=>{let o=LE(a,e)?"center":e,l=a&&VE(t)[a],r=o&&qE()[o];return l&&r?`${l}-${r}`:l};var wE=()=>({top:"above",bottom:"below",right:"after",left:"before"}),kE=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},IH=e=>{let{side:a,alignment:t}=P4(e),o=wE()[a],l=t&&kE(o)[t];return{position:o,alignment:l}};var TE={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function J2(e){return e==null?{}:typeof e=="string"?TE[e]:e}var au=C(y(),1);function E4(e,a,t){let o=au.useRef(!0),[l]=au.useState(()=>({value:e,callback:a,facade:{get current(){return l.value},set current(r){let n=l.value;if(n!==r){if(l.value=r,t&&o.current)return;l.callback(r,n)}}}}));return m1(()=>{o.current=!1},[]),l.callback=a,l.facade}function Op(e){let a;return()=>(a||(a=new Promise(t=>{Promise.resolve().then(()=>{a=void 0,t(e())})})),a)}function Ep(e){let{arrow:a,middlewareData:t}=e;if(!t.arrow||!a)return;let{x:o,y:l}=t.arrow;Object.assign(a.style,{left:o!=null?`${o}px`:"",top:l!=null?`${l}px`:""})}function Ip(e){var a,t,o;let{container:l,placement:r,middlewareData:n,strategy:i,lowPPI:c,coordinates:s,useTransform:u=!0}=e;if(!l)return;l.setAttribute(eH,r),l.removeAttribute(Hp),n.intersectionObserver.intersecting&&l.setAttribute(Hp,""),l.removeAttribute(Fp),!((a=n.hide)===null||a===void 0)&&a.escaped&&l.setAttribute(Fp,""),l.removeAttribute(Vp),!((t=n.hide)===null||t===void 0)&&t.referenceHidden&&l.setAttribute(Vp,"");let d=((o=l.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,f=Math.round(s.x*d)/d,h=Math.round(s.y*d)/d;if(Object.assign(l.style,{position:i}),u){Object.assign(l.style,{transform:c?`translate(${f}px, ${h}px)`:`translate3d(${f}px, ${h}px, 0)`});return}Object.assign(l.style,{left:`${f}px`,top:`${h}px`})}var Up=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function jp(e){let a=[],t=e;for(;t;){let o=Go(t);if(e.ownerDocument.body===o){a.push(o);break}if(o.nodeName==="BODY"&&o!==e.ownerDocument.body)break;a.push(o),t=o}return a}function UH(e,a){return new e.ResizeObserver(a)}function jH(e){let a=!1,{container:t,target:o,arrow:l,strategy:r,middleware:n,placement:i,useTransform:c=!0,disableUpdateOnResize:s=!1}=e,u=t.ownerDocument.defaultView;if(!o||!t||!u)return{updatePosition:()=>{},dispose:()=>{}};let d=s?null:UH(u,p=>{p.every(v=>v.contentRect.width>0&&v.contentRect.height>0)&&m()}),f=!0,h=new Set;Object.assign(t.style,{position:"fixed",left:0,top:0,margin:0});let g=()=>{a||(f&&(jp(t).forEach(p=>h.add(p)),i0(o)&&jp(o).forEach(p=>h.add(p)),h.forEach(p=>{p.addEventListener("scroll",m,{passive:!0})}),d?.observe(t),i0(o)&&d?.observe(o),f=!1),Object.assign(t.style,{position:r}),OH(o,t,{placement:i,middleware:n,strategy:r}).then(({x:p,y:x,middlewareData:v,placement:M})=>{var _,z;if(!a){Ep({arrow:l,middlewareData:v}),Ip({container:t,middlewareData:v,placement:M,coordinates:{x:p,y:x},lowPPI:(u?.devicePixelRatio||1)<=1,strategy:r,useTransform:c});var A,S;t.dispatchEvent(new CustomEvent(V4,{detail:{placement:M,escaped:(A=(_=v.hide)===null||_===void 0?void 0:_.escaped)!==null&&A!==void 0?A:!1,referenceHidden:(S=(z=v.hide)===null||z===void 0?void 0:z.referenceHidden)!==null&&S!==void 0?S:!1}}))}}).catch(p=>{}))},m=Op(()=>g()),b=()=>{a=!0,u&&(u.removeEventListener("scroll",m),u.removeEventListener("resize",m)),h.forEach(p=>{p.removeEventListener("scroll",m)}),h.clear(),d?.disconnect()};return u&&(u.addEventListener("scroll",m,{passive:!0}),u.addEventListener("resize",m)),m(),{updatePosition:m,dispose:b}}var ev=C(y(),1);function Gp(){return{name:"coverTarget",fn:e=>{let{placement:a,rects:t,x:o,y:l}=e,r=P4(a).side,n={x:o,y:l};switch(r){case"bottom":n.y-=t.reference.height;break;case"top":n.y+=t.reference.height;break;case"left":n.x+=t.reference.width;break;case"right":n.x-=t.reference.width;break}return n}}}function Wp(e){let{hasScrollableElement:a,flipBoundary:t,container:o,fallbackPositions:l=[],isRtl:r}=e,n=l.reduce((i,c)=>{let{position:s,align:u}=J2(c),d=O4(u,s,r);return d&&i.push(d),i},[]);return DH({...a&&{boundary:"clippingAncestors"},...t&&{altBoundary:!0,boundary:Wo(o,t)},fallbackStrategy:"bestFit",...n.length&&{fallbackPlacements:n}})}function Qp(){return{name:"intersectionObserver",fn:async e=>{let a=e.rects.floating,t=await kH(e,{altBoundary:!0}),o=t.top<a.height&&t.top>0,l=t.bottom<a.height&&t.bottom>0;return{data:{intersecting:o||l}}}}}var Kp=e=>({name:"resetMaxSize",fn({middlewareData:a,elements:t}){var o;if(!((o=a.resetMaxSize)===null||o===void 0)&&o.maxSizeAlreadyReset)return{};let{applyMaxWidth:l,applyMaxHeight:r}=e;return l&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-width"),t.floating.style.removeProperty("width")),r&&(t.floating.style.removeProperty("box-sizing"),t.floating.style.removeProperty("max-height"),t.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function Xp(e,a){let{container:t,overflowBoundary:o,overflowBoundaryPadding:l,isRtl:r}=a;return PH({...l&&{padding:N4(l,r)},...o&&{altBoundary:!0,boundary:Wo(t,o)},apply({availableHeight:n,availableWidth:i,elements:c,rects:s}){let u=(h,g,m)=>{if(h&&(c.floating.style.setProperty("box-sizing","border-box"),c.floating.style.setProperty(`max-${g}`,`${m}px`),s.floating[g]>m)){c.floating.style.setProperty(g,`${m}px`);let b=g==="width"?"x":"y";c.floating.style.getPropertyValue(`overflow-${b}`)||c.floating.style.setProperty(`overflow-${b}`,"auto")}},{applyMaxWidth:d,applyMaxHeight:f}=e;u(d,"width",i),u(f,"height",n)}})}function GH(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:a,reference:t},placement:o})=>{let{position:l,alignment:r}=IH(o);return e({positionedRect:a,targetRect:t,position:l,alignment:r})}}function Yp(e){let a=GH(e);return TH(a)}function Zp(e){let{hasScrollableElement:a,shiftToCoverTarget:t,disableTether:o,overflowBoundary:l,container:r,overflowBoundaryPadding:n,isRtl:i}=e;return BH({...a&&{boundary:"clippingAncestors"},...t&&{crossAxis:!0,limiter:Dp({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:Dp({crossAxis:o!=="all",mainAxis:!1})},...n&&{padding:N4(n,i)},...l&&{altBoundary:!0,boundary:Wo(r,l)}})}var Jp="--fui-match-target-size";function $p(){return{name:"matchTargetSize",fn:async e=>{let{rects:{reference:a,floating:t},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:l=!1}={}}}=e;if(a.width===t.width||l)return{};let{width:r}=a;return o.style.setProperty(Jp,`${r}px`),o.style.width||(o.style.width=`var(${Jp})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function BE(e,a){let{align:t,arrowPadding:o,autoSize:l,coverTarget:r,disableUpdateOnResize:n,flipBoundary:i,offset:c,overflowBoundary:s,pinned:u,position:d,unstable_disableTether:f,strategy:h,overflowBoundaryPadding:g,fallbackPositions:m,useTransform:b,matchTargetSize:p,shiftToCoverTarget:x}=a;return ev.useCallback((v,M)=>e({container:v,arrow:M,options:{autoSize:l,disableUpdateOnResize:n,matchTargetSize:p,offset:c,strategy:h,coverTarget:r,flipBoundary:i,overflowBoundary:s,useTransform:b,overflowBoundaryPadding:g,pinned:u,arrowPadding:o,align:t,fallbackPositions:m,shiftToCoverTarget:x,position:d,unstable_disableTether:f}}),[l,n,p,c,h,r,i,s,b,g,u,o,t,m,x,d,f,e])}function WH(e){let{dir:a,targetDocument:t}=Q(),o=a==="rtl",l=BE(oH(),e),{positionFixed:r}=e;return ev.useCallback((n,i)=>{let c=Pp(n),s=l(n,i),{autoSize:u,disableUpdateOnResize:d,matchTargetSize:f,offset:h,coverTarget:g,flipBoundary:m,overflowBoundary:b,useTransform:p,overflowBoundaryPadding:x,pinned:v,position:M,arrowPadding:_,strategy:z,align:A,fallbackPositions:S,shiftToCoverTarget:R,unstable_disableTether:B}=s,w=Up(u),O=[w&&Kp(w),f&&$p(),h&&Yp(h),g&&Gp(),!v&&Wp({container:n,flipBoundary:m,hasScrollableElement:c,isRtl:o,fallbackPositions:S}),Zp({container:n,hasScrollableElement:c,overflowBoundary:b,disableTether:B,overflowBoundaryPadding:x,isRtl:o,shiftToCoverTarget:R}),w&&Xp(w,{container:n,overflowBoundary:b,overflowBoundaryPadding:x,isRtl:o}),Qp(),i&&NH({element:i,padding:_}),Bp({strategy:"referenceHidden"}),Bp({strategy:"escaped"}),!1].filter(Boolean);return{placement:O4(A,M,o),middleware:O,strategy:z??r?"fixed":"absolute",disableUpdateOnResize:d,useTransform:p}},[l,o,t,r])}function Qo(e){let a=$2.useRef(null),t=$2.useRef(null),o=$2.useRef(null),l=$2.useRef(null),r=$2.useRef(null),{enabled:n=!0}=e,i=WH(e),c=$2.useCallback(()=>{a.current&&a.current.dispose(),a.current=null;var g;let m=(g=o.current)!==null&&g!==void 0?g:t.current;n&&mt()&&m&&l.current&&(a.current=jH({container:l.current,target:m,arrow:r.current,...i(l.current,r.current)}))},[n,i]),s=L(g=>{o.current=g,c()});$2.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var g;return(g=a.current)===null||g===void 0?void 0:g.updatePosition()},setTarget:g=>{e.target,s(g)}}),[e.target,s]),m1(()=>{var g;s((g=e.target)!==null&&g!==void 0?g:null)},[e.target,s]),m1(()=>{c()},[c]);let u=E4(null,g=>{t.current!==g&&(t.current=g,c())}),d=L(g=>{var m;return(m=e.onPositioningEnd)===null||m===void 0?void 0:m.call(e,g)}),f=E4(null,g=>{if(l.current!==g){var m;(m=l.current)===null||m===void 0||m.removeEventListener(V4,d),g?.addEventListener(V4,d),l.current=g,c()}}),h=E4(null,g=>{r.current!==g&&(r.current=g,c())});return{targetRef:u,containerRef:f,arrowRef:h}}var QH=C(y(),1);var I4=e=>{let[a,t]=QH.useState(e);return[a,l=>{if(l==null){t(void 0);return}let r;l instanceof MouseEvent?r=l:r=l.nativeEvent,r instanceof MouseEvent;let n=$R(r);t(n)}]};var _5=C(y(),1);function KH(){let e=!1,a=[];return{isActive(){return e},toggleActive(t){e!==t&&(e=t,a.forEach(o=>o(e)))},subscribe(t){return a.push(t),()=>{let o=a.indexOf(t);o>-1&&a.splice(o,1)}}}}var L0=C(y(),1),nF=C(JH(),1);function tv(e,a){return{topLeft:[e.left-a[0],e.top-a[1]],topRight:[e.right-a[0],e.top-a[1]],bottomRight:[e.right-a[0],e.bottom-a[1]],bottomLeft:[e.left-a[0],e.bottom-a[1]]}}function $H(e,a){return Math.sqrt((e[0]-a[0])**2+(e[1]-a[1])**2)}function WE(e,a){let t=$H(e,a);return t===0?[0,0]:[(e[0]-a[0])/t,(e[1]-a[1])/t]}function eF(e,a,t){let o=[(e[0]+a[0])/2,(e[1]+a[1])/2],l=WE([t[0],t[1]],[o[0],o[1]]),r=$H([o[0],o[1]],[t[0],t[1]]);return[o[0]+l[0]*(r+20),o[1]+l[1]*(r+20)]}function U4(e){return`M ${e} z`}var aF=k({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},triangle:{Bkecrkj:"f1cguypg"},triangleDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function tF(e){if(e.width<=0||e.height<=0)return"";let a="";return a+=`M ${e.x},${e.y} `,a+=`V ${e.y+e.height} `,a+=`H ${e.x+e.width} `,a+=`V ${e.y} `,a+=`H ${e.x} `,a+="Z ",a}function oF(e,a,t,o){let l=`M 0,0 H ${e} V ${a} H 0 Z `;return l+=tF(t),l+=tF(o),l}var lF={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON(){return""}};function rF(e,a){return e.top===a.top&&e.right===a.right&&e.bottom===a.bottom&&e.left===a.left&&e.width===a.width&&e.height===a.height}function QE(e,a){return e[0]===a[0]&&e[1]===a[1]}var iF=L0.memo(e=>{let{debug:a,onMouseEnter:t,onMouseMove:o,onMouseLeave:l,stateStore:r}=e,n=R1(),i=aF(),c=(0,nF.useSyncExternalStore)(r.subscribe,r.isActive),s=L0.useRef(null),[u,d]=L0.useState(()=>({containerRect:lF,targetRect:lF,mouseCoordinates:[0,0]}));L0.useImperativeHandle(e.imperativeRef,()=>({updateSVG(N){d(E=>rF(E.containerRect,N.containerRect)&&rF(E.targetRect,N.targetRect)&&QE(E.mouseCoordinates,N.mouseCoordinates)?E:N)}}),[]);let{containerRect:f,targetRect:h,mouseCoordinates:g}=u,m=Math.min(h.top,f.top),b=Math.min(h.left,f.left),p=Math.max(h.bottom,f.bottom),x=Math.max(h.right,f.right),v=tv(f,[b,m]),M=tv(h,[b,m]),_=[g[0]-b,g[1]-m],z=eF(v.topLeft,v.bottomRight,_),A=[z,v.topLeft,v.topRight],S=[z,v.topRight,v.bottomRight],R=[z,v.bottomRight,v.bottomLeft],B=[z,v.bottomLeft,v.topLeft],w=x-b,O=p-m,V=oF(w,O,{x:M.topLeft[0],y:M.topLeft[1],width:h.width,height:h.height},{x:v.topLeft[0],y:v.topLeft[1],width:f.width,height:f.height});return L0.createElement("div",{className:H(i.wrapper,c&&i.wrapperActive),"data-safe-zone":""},c?L0.createElement("svg",{"aria-hidden":!0,className:i.svg,xmlns:"http://www.w3.org/2000/svg",ref:s,style:{width:`${w}px`,height:`${O}px`,transform:`translate(${b}px, ${m}px)`}},L0.createElement("g",{className:H(i.triangle,a&&i.triangleDebug),clipPath:`url(#${n})`,onMouseEnter:t,onMouseMove:o,onMouseLeave:l},L0.createElement("path",{d:U4(A)}),L0.createElement("path",{d:U4(S)}),L0.createElement("path",{d:U4(R)}),L0.createElement("path",{d:U4(B)})),L0.createElement("clipPath",{id:n},L0.createElement("path",{d:V})),a&&L0.createElement("path",{className:i.rectDebug,d:V})):null)});var KE=2e3;function ov({debug:e=!1,disabled:a=!1,onSafeZoneEnter:t,onSafeZoneMove:o,onSafeZoneLeave:l,onSafeZoneTimeout:r,timeout:n=1500}={}){let[i]=_5.useState(KH),c=_5.useRef(null),s=_5.useRef(null),u=_5.useRef(null),[d,f]=n5(),[h,g]=ht(),m=_5.useRef({x:0,y:0}),b=_5.useMemo(()=>{if(a)return()=>{};let _=null;function z(){f(),i.toggleActive(!1)}return A=>{A===null&&_?.removeEventListener("mouseenter",z),_=A,A?.addEventListener("mouseenter",z)}},[f,a,i]),p=_5.useMemo(()=>{if(a)return()=>{};let _=null;function z(A){m.current={x:A.clientX,y:A.clientY},i.isActive()||i.toggleActive(!0),d(()=>{i.toggleActive(!1)},KE)}return A=>{A===null&&(g(),f(),_?.removeEventListener("mousemove",z)),_=A,A?.addEventListener("mousemove",z)}},[g,f,a,i,d]),x=L(_=>{t?.(_),d(()=>{i.toggleActive(!1),r?.()},n)}),v=L(_=>{d(()=>{i.toggleActive(!1),r?.()},n),o?.(_)}),M=L(_=>{l?.(_)});return _5.useEffect(()=>i.subscribe(_=>{if(_){let z=function(){let A=s.current,S=u.current;if(A&&S){var R;(R=c.current)===null||R===void 0||R.updateSVG({containerRect:A.getBoundingClientRect(),mouseCoordinates:[m.current.x,m.current.y],targetRect:S.getBoundingClientRect()})}h(z)};z();return}g()}),[g,h,i]),{containerRef:W(s,b),targetRef:W(u,p),elementToRender:_5.useMemo(()=>a?null:_5.createElement(iF,{debug:e,onMouseEnter:x,onMouseMove:v,onMouseLeave:M,imperativeRef:c,stateStore:i}),[a,e,x,v,M,i])}}var hF=C(y(),1);var tu=V0(void 0),lv={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1},E81=tu.Provider,w0=e=>Z0(tu,(a=lv)=>e(a));var ou=(e,a)=>{let t=w0(v=>v.contentRef),o=w0(v=>v.openOnHover),l=w0(v=>v.setOpen),r=w0(v=>v.mountNode),n=w0(v=>v.arrowRef),i=w0(v=>v.size),c=w0(v=>v.withArrow),s=w0(v=>v.appearance),u=w0(v=>v.trapFocus),d=w0(v=>v.inertTrapFocus),f=w0(v=>v.inline),h=Oo(),{modalAttributes:g}=Ae({trapFocus:u,legacyTrapFocus:!d,alwaysFocusable:!u}),m={inline:f,appearance:s,withArrow:c,size:i,arrowRef:n,mountNode:r,components:{root:"div"},root:T.always(l1("div",{ref:W(a,t,h),role:u?"dialog":"group","aria-modal":u?!0:void 0,...g,...e}),{elementType:"div"})},{onMouseEnter:b,onMouseLeave:p,onKeyDown:x}=m.root;return m.root.onMouseEnter=v=>{o&&l(v,!0),b?.(v)},m.root.onMouseLeave=v=>{o&&l(v,!1),p?.(v)},m.root.onKeyDown=v=>{var M;v.key==="Escape"&&(!((M=t.current)===null||M===void 0)&&M.contains(v.target))&&(v.preventDefault(),l(v,!1)),x?.(v)},m};var lu=C(y(),1);function cF(e){return i0(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}var ee=C(y(),1);var sF=k({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;}"]});var uF=ee.useInsertionEffect,XE=e=>{let{className:a,dir:t,focusVisibleRef:o,targetNode:l}=e,r=ee.useMemo(()=>{if(l===void 0||e.disabled)return null;let n=l.ownerDocument.createElement("div");return l.appendChild(n),n},[l,e.disabled]);return ee.useMemo(()=>{r&&(r.className=a,r.setAttribute("dir",t),r.setAttribute("data-portal-node","true"),o.current=r)},[a,t,r,o]),ee.useEffect(()=>()=>{r?.remove()},[r]),r},YE=()=>{let e;function a(o,l){return e||(l&&(e=o.ownerDocument.createElement("div"),o.appendChild(e)),e)}function t(){e&&(e.remove(),e=void 0)}return{get:a,dispose:t}},ZE=e=>{"use no memo";let{className:a,dir:t,focusVisibleRef:o,targetNode:l}=e,[r]=ee.useState(YE),n=ee.useMemo(()=>l===void 0||e.disabled?null:new Proxy({},{get(i,c){if(c==="nodeType")return 1;if(c==="remove"){let d=r.get(l,!1);return d&&d.childNodes.length===0&&r.dispose(),()=>{}}let s=r.get(l,!0),u=s?s[c]:void 0;return typeof u=="function"?u.bind(s):u},set(i,c,s){let u=c==="_virtual"||c==="focusVisible",d=u?r.get(l,!1):r.get(l,!0);return u&&!d?!0:d?(Object.assign(d,{[c]:s}),!0):!1}}),[r,l,e.disabled]);return uF(()=>{if(!n)return;let i=a.split(" ").filter(Boolean);return n.classList.add(...i),n.setAttribute("dir",t),n.setAttribute("data-portal-node","true"),o.current=n,()=>{n.classList.remove(...i),n.removeAttribute("dir")}},[a,t,n,o]),ee.useEffect(()=>()=>{n?.remove()},[n]),n},JE=uF?ZE:XE,dF=e=>{"use no memo";let{targetDocument:a,dir:t}=Q(),o=Vm(),l=At(),r=sF(),n=Q3(),i={dir:t,disabled:e.disabled,focusVisibleRef:l,className:H(n,r.root,e.className),targetNode:o??a?.body};return JE(i)};var rv=e=>{let{element:a,className:t}=cF(e.mountNode),o=lu.useRef(null),l=dF({disabled:!!a,className:t}),r=a??l,n={children:e.children,mountNode:r,virtualParentRootRef:o};return lu.useEffect(()=>{if(!r)return;let i=o.current,c=r.contains(i);if(i&&!c)return $3(r,i),()=>{$3(r,void 0)}},[o,r]),n};var fF=C(wi(),1),Jr=C(y(),1),nv=e=>Jr.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&fF.createPortal(Jr.createElement(Jr.Fragment,null,e.children,Jr.createElement("span",{hidden:!0})),e.mountNode));var ae=e=>{let a=rv(e);return nv(a)};ae.displayName="Portal";var ru=e=>{let a=X(e.root,{children:[e.withArrow&&q("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?a:q(ae,{mountNode:e.mountNode,children:a})};var nu={root:"fui-PopoverSurface"},j4={small:6,medium:8,large:8},$E=k({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),G4=e=>{let a=$E();return e.root.className=H(nu.root,a.root,e.inline&&a.inline,e.size==="small"&&a.smallPadding,e.size==="medium"&&a.mediumPadding,e.size==="large"&&a.largePadding,e.appearance==="inverted"&&a.inverted,e.appearance==="brand"&&a.brand,e.root.className),e.arrowClassName=H(a.arrow,e.size==="small"?a.smallArrow:a.mediumLargeArrow),e};var Ko=hF.forwardRef((e,a)=>{let t=ou(e,a);return G4(t),j("usePopoverSurfaceStyles_unstable")(t),ru(t)});Ko.displayName="PopoverSurface";var mF=H1.durationSlower,pF=H1.curveDecelerateMid,iv=Q2(({distance:e=10})=>({enter:[K2({duration:mF,easing:pF,direction:"enter"}),{...F4({duration:mF,easing:pF,direction:"enter",outX:`calc(var(${Vt}, 0px) * ${e})`,outY:`calc(var(${qt}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]}));var iu=e=>{let[a,t]=I4(),{targetDocument:o}=Q(),l=J2(e.positioning),r=q4({targetDocument:o,onPositioningEnd:l.onPositioningEnd}),n={size:"medium",contextTarget:a,setContextTarget:t,...e,positioning:{...l,onPositioningEnd:r}},i=Le.Children.toArray(e.children),c,s;i.length===2?(c=i[0],s=i[1]):i.length===1&&(s=i[0]);let[u,d]=eI(n),[f,h]=n5(),g=L((w,O)=>{if(h(),!(w instanceof Event)&&w.persist&&w.persist(),w.type==="mouseleave"){var V;f(()=>{d(w,O)},(V=e.mouseLeaveDelay)!==null&&V!==void 0?V:500)}else d(w,O)}),m=Le.useCallback(w=>{g(w,!u)},[g,u]),b=aI(n);var p;gt({contains:w5,element:o,callback:w=>g(w,!1),refs:[b.triggerRef,b.contentRef],disabled:!u,disabledFocusOnIframe:!(!((p=e.closeOnIframeFocus)!==null&&p!==void 0)||p)});let x=n.openOnContext||n.closeOnScroll;Rr({contains:w5,element:o,callback:w=>g(w,!1),refs:[b.triggerRef,b.contentRef],disabled:!u||!x});var v;let M=(v=e.closeOnFocusOutside)!==null&&v!==void 0?v:!0,_=Le.useRef(!1),z=L(w=>{var O;let V=(O=w.composedPath()[0])!==null&&O!==void 0?O:w.target,N=b.contentRef.current;var E;let U=(E=b.triggerRef.current)!==null&&E!==void 0?E:null;if(!N)return;if(w5(N,V)||w5(U,V)){_.current=!0;return}_.current&&(_.current=!1,g(w,!1))});Le.useEffect(()=>{if(!(!u||!e.trapFocus||!M))return _.current=!1,o?.addEventListener("focusin",z,!0),()=>{o?.removeEventListener("focusin",z,!0)}},[u,e.trapFocus,M,o,z]);let{findFirstFocusable:A}=O0(),S=d8();Le.useEffect(()=>{if(e.unstable_disableAutoFocus)return;let w=b.contentRef.current;if(u&&w){var O;let V=!isNaN((O=w.getAttribute("tabIndex"))!==null&&O!==void 0?O:void 0),N=V?w:A(w);N?.focus(),V&&S(w)}},[A,S,u,b.contentRef,e.unstable_disableAutoFocus]);var R,B;return{components:{surfaceMotion:iv},...n,...b,inertTrapFocus:(R=e.inertTrapFocus)!==null&&R!==void 0?R:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:s,open:u,setOpen:g,toggleOpen:m,setContextTarget:t,contextTarget:a,inline:(B=e.inline)!==null&&B!==void 0?B:!1,surfaceMotion:za(e.surfaceMotion,{elementType:iv,defaultProps:{visible:u,appear:!0,unmountOnExit:!0}})}};function eI(e){let a=L((n,i)=>{var c;return(c=e.onOpenChange)===null||c===void 0?void 0:c.call(e,n,i)}),[t,o]=S1({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=t!==void 0?t:e.open;let l=e.setContextTarget,r=Le.useCallback((n,i)=>{i&&n.type==="contextmenu"&&l(n),i||l(void 0),o(i),a?.(n,{open:i})},[o,a,l]);return[t,r]}function aI(e){let a={position:"above",align:"center",arrowPadding:8,target:e.openOnContext?e.contextTarget:void 0,...J2(e.positioning)};a.coverTarget&&(e.withArrow=!1),e.withArrow&&(a.offset=eu(a.offset,j4[e.size]));let{targetRef:t,containerRef:o,arrowRef:l}=Qo(a);return{triggerRef:t,contentRef:o,arrowRef:l}}var vF=C(y(),1);function cu(e){let{appearance:a,arrowRef:t,contentRef:o,inline:l,mountNode:r,open:n,openOnContext:i,openOnHover:c,setOpen:s,size:u,toggleOpen:d,trapFocus:f,triggerRef:h,withArrow:g,inertTrapFocus:m}=e;return{popover:vF.useMemo(()=>({appearance:a,arrowRef:t,contentRef:o,inline:l,mountNode:r,open:n,openOnContext:i,openOnHover:c,setOpen:s,size:u,toggleOpen:d,trapFocus:f,triggerRef:h,withArrow:g,inertTrapFocus:m}),[a,t,o,l,r,n,i,c,s,u,d,f,h,g,m])}}var Uu1=C(y(),1);var su=(e,a)=>{var t;return X(tu.Provider,{value:(t=a?.popover)!==null&&t!==void 0?t:lv,children:[e.popoverTrigger,e.popoverSurface&&q(e.surfaceMotion,{children:q(Ft,{children:e.popoverSurface})})]})};var Xo=e=>{let a=iu(e),t=cu(a);return su(a,t)};Xo.displayName="Popover";var uu=e=>{let{children:a,disableButtonEnhancement:t=!1}=e,o=ma(a),l=w0(v=>v.open),r=w0(v=>v.setOpen),n=w0(v=>v.toggleOpen),i=w0(v=>v.triggerRef),c=w0(v=>v.openOnHover),s=w0(v=>v.openOnContext),{triggerAttributes:u}=Ae(),d=v=>{s&&(v.preventDefault(),r(v,!0))},f=v=>{s||n(v)},h=v=>{v.key===x5&&l&&!v.isDefaultPrevented()&&(r(v,!1),v.preventDefault())},g=v=>{c&&r(v,!0)},m=v=>{c&&r(v,!1)},b={...u,"aria-expanded":`${l}`,...o?.props,onMouseEnter:L(K(o?.props.onMouseEnter,g)),onMouseLeave:L(K(o?.props.onMouseLeave,m)),onContextMenu:L(K(o?.props.onContextMenu,d)),ref:W(i,ge(o))},p={...b,onClick:L(K(o?.props.onClick,f)),onKeyDown:L(K(o?.props.onKeyDown,h))},x=M5(o?.type==="button"||o?.type==="a"?o.type:"div",p);return{children:xt(e.children,M5(o?.type==="button"||o?.type==="a"?o.type:"div",s?b:t?p:x))}};var du=e=>e.children;var Yo=e=>{let a=uu(e);return du(a)};Yo.displayName="PopoverTrigger";Yo.isFluentTriggerComponent=!0;var bF=C(y(),1);var $r=e=>{let{iconOnly:a,iconPosition:t}=e;return X(e.root,{children:[t!=="after"&&e.icon&&q(e.icon,{}),!a&&e.root.children,t==="after"&&e.icon&&q(e.icon,{})]})};var fu=C(y(),1),gF=fu.createContext(void 0),tI={},Ad1=gF.Provider,xF=()=>{var e;return(e=fu.useContext(gF))!==null&&e!==void 0?e:tI};var W4=(e,a)=>{let{size:t}=xF(),{appearance:o="secondary",shape:l="rounded",size:r=t??"medium",...n}=e,i=cv(n,a);return{appearance:o,shape:l,size:r,...i}},cv=(e,a)=>{let{icon:t,iconPosition:o="before",...l}=e,r=T.optional(t,{elementType:"span"});var n,i;return{disabled:(n=e.disabled)!==null&&n!==void 0?n:!1,disabledFocusable:(i=e.disabledFocusable)!==null&&i!==void 0?i:!1,iconPosition:o,iconOnly:!!(r?.children&&!e.children),components:{root:"button",icon:"span"},root:T.always(M5(l.as,l),{elementType:"button",defaultProps:{ref:a,type:e.as!=="a"?"button":void 0}}),icon:r}};var Q4={root:"fui-Button",icon:"fui-Button__icon"};var Ld1=`calc(${ye.strokeWidthThin} + 0.25px)`,oI=o1("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;}}"]}),lI=o1("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);}"]),rI=k({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)"}]]}),nI=k({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)"}]]}),iI=k({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;}}"]}),cI=k({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;}"]}),sI=k({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);}"]}),K4=e=>{let a=oI(),t=lI(),o=rI(),l=nI(),r=iI(),n=cI(),i=sI(),{appearance:c,disabled:s,disabledFocusable:u,icon:d,iconOnly:f,iconPosition:h,shape:g,size:m}=e;return e.root.className=H(Q4.root,a,c&&o[c],o[m],d&&m==="small"&&o.smallWithIcon,d&&m==="large"&&o.largeWithIcon,o[g],(s||u)&&l.base,(s||u)&&l.highContrast,c&&(s||u)&&l[c],c==="primary"&&r.primary,r[m],r[g],f&&n[m],e.root.className),e.icon&&(e.icon.className=H(Q4.icon,t,!!e.root.children&&i[h],i[m],e.icon.className)),e};var N5=bF.forwardRef((e,a)=>{let t=W4(e,a);return K4(t),j("useButtonStyles_unstable")(t),$r(t)});N5.displayName="Button";var CF=C(y(),1);var a7=C(y(),1);var hu=C(y(),1),MF=hu.createContext(void 0),_F=MF.Provider,e7=()=>hu.useContext(MF);function O5(e,a){return zF(e7(),e,a)}function zF(e,a,t){if(!e)return a;a={...a};let{generatedControlId:o,hintId:l,labelFor:r,labelId:n,required:i,validationMessageId:c,validationState:s}=e;if(o){var u,d;(d=(u=a).id)!==null&&d!==void 0||(u.id=o)}if(n&&(!t?.supportsLabelFor||r!==a.id)){var f,h,g;(g=(f=a)[h="aria-labelledby"])!==null&&g!==void 0||(f[h]=n)}if((c||l)&&(a["aria-describedby"]=[c,l,a?.["aria-describedby"]].filter(Boolean).join(" ")),s==="error"){var m,b,p;(p=(m=a)[b="aria-invalid"])!==null&&p!==void 0||(m[b]=!0)}if(i)if(t?.supportsRequired){var x,v;(v=(x=a).required)!==null&&v!==void 0||(x.required=!0)}else{var M,_,z;(z=(M=a)[_="aria-required"])!==null&&z!==void 0||(M[_]=!0)}if(t?.supportsSize){var A,S;(S=(A=a).size)!==null&&S!==void 0||(A.size=e.size)}return a}var AF=C(y(),1);var X4=(e,a)=>{let{weight:t="regular",size:o="medium",...l}=e,r=sv(l,a);return{weight:t,size:o,...r}},sv=(e,a)=>{let{disabled:t=!1,required:o=!1,...l}=e;return{disabled:t,required:T.optional(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:T.always(l1("label",{ref:a,...l}),{elementType:"label"})}};var Y4=e=>X(e.root,{children:[e.root.children,e.required&&q(e.required,{})]});var Z4={root:"fui-Label",required:"fui-Label__required"},uI=k({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)"}]]}),J4=e=>{let a=uI();return e.root.className=H(Z4.root,a.root,e.disabled&&a.disabled,a[e.size],e.weight==="semibold"&&a.semibold,e.root.className),e.required&&(e.required.className=H(Z4.required,a.required,e.disabled&&a.disabled,e.required.className)),e};var s1=AF.forwardRef((e,a)=>{let t=X4(e,a);return J4(t),j("useLabelStyles_unstable")(t),Y4(t)});s1.displayName="Label";var mu=(e,a)=>{let{shape:t="square",size:o="medium",...l}=e,r=uv(l,a),n=r.checked==="mixed",i;if(n?t==="circular"?i=a7.createElement(S8,null):i=o==="large"?a7.createElement(IR,null):a7.createElement(ER,null):r.checked&&(i=o==="large"?a7.createElement(NR,null):a7.createElement(F8,null)),r.indicator){var c,s;(s=(c=r.indicator).children)!==null&&s!==void 0||(c.children=i)}return{shape:t,size:o,...r,components:{...r.components,label:s1},label:T.optional(e.label,{defaultProps:{...r.label,size:"medium"},elementType:s1})}},uv=(e,a)=>{"use no memo";e=O5(e,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:t=!1,required:o,labelPosition:l="after",onChange:r}=e,[n,i]=S1({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),c=r5({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),s=n==="mixed",u=R1("checkbox-",c.primary.id),d={checked:n,disabled:t,labelPosition:l,components:{root:"span",input:"input",indicator:"div",label:"label"},root:T.always(e.root,{defaultProps:{ref:c5(),...c.root},elementType:"span"}),input:T.always(e.input,{defaultProps:{type:"checkbox",id:u,ref:a,checked:n===!0,...c.primary},elementType:"input"}),label:T.optional(e.label,{defaultProps:{htmlFor:u,disabled:t,required:o},elementType:"label"}),indicator:T.optional(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};d.input.onChange=K(d.input.onChange,h=>{let g=h.currentTarget.indeterminate?"mixed":h.currentTarget.checked;r?.(h,{checked:g}),i(g)});let f=W(d.input.ref);return d.input.ref=f,m1(()=>{f.current&&(f.current.indeterminate=s)},[f,s]),d};var pu=e=>X(e.root,{children:[q(e.input,{}),e.labelPosition==="before"&&e.label&&q(e.label,{}),e.indicator&&q(e.indicator,{}),e.labelPosition==="after"&&e.label&&q(e.label,{})]});var t7={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var dI=o1("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),fI=k({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),hI=o1("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),mI=k({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),pI=o1("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),vI=k({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),gI=k({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),vu=e=>{let{checked:a,disabled:t,labelPosition:o,shape:l,size:r}=e,n=dI(),i=fI();e.root.className=H(t7.root,n,t?i.disabled:a==="mixed"?i.mixed:a?i.checked:i.unchecked,e.root.className);let c=hI(),s=mI();e.input.className=H(t7.input,c,r==="large"&&s.large,s[o],e.input.className);let u=pI(),d=vI();e.indicator&&(e.indicator.className=H(t7.indicator,u,r==="large"&&d.large,l==="circular"&&d.circular,e.indicator.className));let f=gI();return e.label&&(e.label.className=H(t7.label,f.base,f[r],f[o],e.label.className)),e};var Zo=CF.forwardRef((e,a)=>{let t=mu(e,a);return vu(t),j("useCheckboxStyles_unstable")(t),pu(t)});Zo.displayName="Checkbox";var dv=V0({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"}),xI=dv.Provider;var bI={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},we=V0(void 0),J0=e=>Z0(we,(a=bI)=>e(a)),MI=we.Provider;var yF=C(y(),1);function fv(e){let{appearance:a,open:t,getOptionById:o,getOptionsMatchingValue:l,registerOption:r,selectedOptions:n,selectOption:i,setOpen:c,size:s,activeDescendantController:u,onOptionClick:d,onActiveDescendantChange:f}=e,h={activeOption:void 0,appearance:a,focusVisible:!1,open:t,registerOption:r,selectedOptions:n,selectOption:i,setActiveOption:()=>null,setOpen:c,size:s},g={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:l,registerOption:r,selectedOptions:n,selectOption:i,setActiveOption:()=>null,onOptionClick:d,onActiveDescendantChange:f},m=yF.useMemo(()=>({controller:u}),[u]);return{combobox:h,activeDescendant:m,listbox:g}}var SF=C(y(),1);function hv(e){let a=T2(we),{getOptionById:t,getOptionsMatchingValue:o,multiselect:l,registerOption:r,selectedOptions:n,selectOption:i,activeDescendantController:c}=e,s=J0(m=>m.registerOption),u=J0(m=>m.onOptionClick),d=J0(m=>m.onActiveDescendantChange),h={activeOption:void 0,focusVisible:!1,getOptionById:t,getOptionsMatchingValue:o,multiselect:l,registerOption:a?s:r,selectedOptions:n,selectOption:i,setActiveOption:()=>{},onOptionClick:u,onActiveDescendantChange:d},g=SF.useMemo(()=>({controller:c}),[c]);return{listbox:h,activeDescendant:g}}var FF=C(y(),1);var Ra=C(y(),1);function o7(e,a={}){let{open:t=!0,multiselect:o=!1}=a,l=e.key,{altKey:r,ctrlKey:n,key:i,metaKey:c}=e;return i.length===1&&l!==" "&&!r&&!n&&!c?"Type":t?l===ba&&r||l===B5||!o&&l===" "?"CloseSelect":o&&l===" "?"Select":l===x5?"Close":l===Re?"Next":l===ba?"Previous":l===No?"First":l==="End"?"Last":l===y4?"PageUp":l===C4?"PageDown":l==="Tab"?"Tab":"None":l===Re||l===ba||l===B5||l===" "?"Open":"None"}var l7=C(y(),1),gu=()=>{let e=l7.useRef(new Map),a=l7.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:s=>e.current.get(s),getOptionsMatchingText:s=>Array.from(e.current.values()).filter(({text:u})=>s(u)),getOptionsMatchingValue:s=>{let u=[];for(let d of e.current.values())s(d.value)&&u.push(d);return u}}),[]),t=l7.useCallback(o=>(e.current.set(o.id,o),()=>e.current.delete(o.id)),[]);return{...a,options:Array.from(e.current.values()),registerOption:t}};var RF=C(y(),1);var xu=e=>{let{defaultSelectedOptions:a,multiselect:t,onOptionSelect:o}=e,[l,r]=S1({state:e.selectedOptions,defaultState:a,initialState:[]}),n=RF.useCallback((c,s)=>{if(s.disabled)return;let u=[s.value];if(t){let d=l.findIndex(f=>f===s.value);d>-1?u=[...l.slice(0,d),...l.slice(d+1)]:u=[...l,s.value]}r(u),o?.(c,{optionValue:s.value,optionText:s.text,selectedOptions:u})},[o,t,l,r]);return{clearSelection:c=>{r([]),o?.(c,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:n,selectedOptions:l}};function bu(e){return e.role==="option"||e.role==="menuitemcheckbox"}var HF={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},Mu=(e,a)=>{let{multiselect:t,disableAutoFocus:o=!1}=e,l=gu(),{listboxRef:r,activeParentRef:n,controller:i}=jr({matchOption:bu}),c=T2(we),s=J0(N=>N.onActiveDescendantChange),u=J0(N=>N.getOptionById),d=J0(N=>N.getOptionsMatchingValue),f=c?u:l.getOptionById,h=c?d:l.getOptionsMatchingValue,g=Ra.useMemo(()=>{let N=null,E=U=>{s?.(U)};return U=>{if(!U){N?.removeEventListener("activedescendantchange",E);return}N=U,N.addEventListener("activedescendantchange",E)}},[s]),[m,b]=Ra.useState(!1);Dr(b);let p=Ur(),x=C8(),v=x?p.controller:i,{clearSelection:M,selectedOptions:_,selectOption:z}=xu(e),A=N=>{let E=o7(N,{open:!0}),U=v.active(),e1=U?f(U):null;switch(E){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":N.preventDefault();break}switch(E){case"Next":e1?v.next():v.first();break;case"Previous":e1?v.prev():v.first();break;case"PageUp":case"First":v.first();break;case"PageDown":case"Last":v.last();break;case"Select":case"CloseSelect":e1&&z(N,e1);break}},S=J0(N=>N.selectedOptions),R=J0(N=>N.selectOption),B=c?{selectedOptions:S,selectOption:R,...HF}:{selectedOptions:_,selectOption:z,...HF};Ra.useEffect(()=>{if(!x){if(v.hideFocusVisibleAttributes(),!o)if(!t&&B.selectedOptions.length>0){let N=h(E=>E===B.selectedOptions[0]).pop();N?.id&&v.focus(N.id)}else v.first();return()=>{v.blur()}}},[]);let w=Ra.useCallback(()=>{x||(v.showFocusVisibleAttributes(),m&&v.scrollActiveIntoView())},[v,x,m]),O=Ra.useCallback(()=>{x||v.hideFocusVisibleAttributes()},[v,x]),V={components:{root:"div"},root:T.always(l1("div",{ref:W(a,n,r,g),role:t?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!c,multiselect:t,clearSelection:M,activeDescendantController:v,onActiveDescendantChange:s,...l,...B};return V.root.onKeyDown=L(K(V.root.onKeyDown,A)),V.root.onFocus=L(K(V.root.onFocus,w)),V.root.onBlur=L(K(V.root.onBlur,O)),V};var _u=(e,a)=>q(Ir,{value:a.activeDescendant,children:q(we.Provider,{value:a.listbox,children:q(e.root,{})})});var mv={root:"fui-Listbox"},_I=k({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),zu=e=>{let a=_I();return e.root.className=H(mv.root,a.root,e.root.className),e};var wt=FF.forwardRef((e,a)=>{let t=Mu(e,a),o=hv(t);return zu(t),j("useListboxStyles_unstable")(t),_u(t,o)});wt.displayName="Listbox";var VF=C(y(),1);var te=C(y(),1);function zI(e,a){if(e!==void 0)return e;let t="",o=!1;return te.Children.forEach(a,l=>{typeof l=="string"?t+=l:o=!0}),o&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),t}var $4=(e,a)=>{let t=pv(e,a),o=te.createElement(HR,null);if(t.multiselect&&(o=t.selected?te.createElement(F8,null):""),t.checkIcon){var l,r;(r=(l=t.checkIcon).children)!==null&&r!==void 0||(l.children=o)}return t},pv=(e,a)=>{let{children:t,disabled:o,text:l,value:r}=e,n=te.useRef(null),i=zI(l,t),c=r??i,s=R1("fluent-option",e.id),u=te.useMemo(()=>({id:s,disabled:o,text:i,value:c}),[s,o,i,c]),{controller:d}=Ur(),f=J0(v=>v.multiselect),h=J0(v=>v.registerOption),g=J0(v=>{let M=v.selectedOptions;return c!==void 0&&M.find(_=>_===c)!==void 0}),m=J0(v=>v.selectOption),b=J0(v=>v.onOptionClick),p=v=>{var M;if(o){v.preventDefault();return}d.focus(s),m(v,u),b(v),(M=e.onClick)===null||M===void 0||M.call(e,v)};te.useEffect(()=>{if(s&&n.current)return h(u,n.current)},[s,u,h]);let x=f?{role:"menuitemcheckbox","aria-checked":g}:{role:"option","aria-selected":g};return{components:{root:"div",checkIcon:"span"},root:T.always(l1("div",{ref:W(a,n),"aria-disabled":o?"true":void 0,id:s,...x,...e,onClick:p}),{elementType:"div"}),checkIcon:T.optional(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:o,multiselect:f,selected:g,focusVisible:!1,active:!1}};var en=e=>X(e.root,{children:[e.checkIcon&&q(e.checkIcon,{}),e.root.children]});var an={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},AI=k({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n"},interactive:{Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"f158kwzp",B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f158kwzp{cursor:default;}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),tn=e=>{let{disabled:a,multiselect:t,selected:o}=e,l=AI();return e.root.className=H(an.root,l.root,!a&&l.interactive,l.active,a&&l.disabled,o&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=H(an.checkIcon,l.checkIcon,t&&l.multiselectCheck,o&&l.selectedCheck,o&&t&&l.selectedMultiselectCheck,a&&l.checkDisabled,a&&t&&l.multiselectCheckDisabled,e.checkIcon.className)),e};var kt=VF.forwardRef((e,a)=>{let t=$4(e,a);return tn(t),j("useOptionStyles_unstable")(t),en(t)});kt.displayName="Option";var z5=C(y(),1),vv=C(wi(),1);var qF=e=>{let{appearance:a="outline",disableAutoFocus:t,children:o,clearable:l=!1,editable:r=!1,inlinePopup:n=!1,mountNode:i=void 0,multiselect:c,onOpenChange:s,size:u="medium",activeDescendantController:d,freeform:f=!1,disabled:h=!1,onActiveOptionChange:g=null}=e,m=gu(),{getOptionsMatchingValue:b}=m,{getOptionById:p}=m,x=z5.useCallback(()=>{let G=d.active();return G?p(G):void 0},[d,p]),v=x(),M=z5.useCallback(G=>{let w1;if(typeof G=="function"){let G5=x();w1=G(G5)}w1?d.focus(w1.id):d.blur()},[d,x]),[_,z]=z5.useState(!1),[A,S]=z5.useState(!1),R=z5.useRef(!1),B=pt(),[w,O]=S1({state:e.value,initialState:void 0}),{selectedOptions:V,selectOption:N,clearSelection:E}=xu(e),U=z5.useCallback((G,w1)=>{vv.unstable_batchedUpdates(()=>{O(void 0),N(G,w1)})},[O,N]),e1=z5.useMemo(()=>{if(w!==void 0)return w;if(B&&e.defaultValue!==void 0)return e.defaultValue;let G=b(w1=>V.includes(w1)).map(w1=>w1.text);return c?r?"":G.join(", "):G[0]},[w,r,b,c,V]),[J,A1]=S1({state:e.open,defaultState:e.defaultOpen,initialState:!1}),n1=z5.useCallback((G,w1)=>{h||(s?.(G,{open:w1}),vv.unstable_batchedUpdates(()=>{!w1&&!f&&O(void 0),A1(w1)}))},[s,A1,O,f,h]);z5.useEffect(()=>{if(J){if(!c&&V.length>0){let G=b(w1=>w1===V[0]).pop();G?.id&&d.focus(G.id)}}else d.blur()},[J,d]),z5.useEffect(()=>{J&&!t&&!d.active()&&d.first()},[J,o,t,d,p]);let I1=L(G=>{let w1=G.detail.previousId?m.getOptionById(G.detail.previousId):null,G5=m.getOptionById(G.detail.id);g?.(G,{event:G,type:"change",previousOption:w1,nextOption:G5})});return{...m,freeform:f,disabled:h,selectOption:U,clearSelection:E,selectedOptions:V,activeOption:v,appearance:a,clearable:l,focusVisible:_,ignoreNextBlur:R,inlinePopup:n,mountNode:i,open:J,hasFocus:A,setActiveOption:M,setFocusVisible:z,setHasFocus:S,setOpen:n1,setValue:O,size:u,value:e1,multiselect:c,onOptionClick:L(G=>{c||n1(G,!1)}),onActiveDescendantChange:I1}};function LF(e){let{positioning:a}=e,o={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...J2(a)},{targetRef:l,containerRef:r}=Qo(o);return[r,l]}function wF(e,a,t){let{state:{multiselect:o},triggerRef:l,defaultProps:r}=t,n=R1("fluent-listbox",Cr(e)?e.id:void 0),i=T.optional(e,{renderByDefault:!0,elementType:wt,defaultProps:{id:n,multiselect:o,tabIndex:void 0,...r}}),c=O5({id:n},{supportsLabelFor:!0});i&&!i["aria-label"]&&!i["aria-labelledby"]&&c["aria-labelledby"]&&(i["aria-labelledby"]=c["aria-labelledby"]);let s=L(K(f=>{f.preventDefault()},i?.onMouseDown)),u=L(K(f=>{var h;f.preventDefault(),(h=l.current)===null||h===void 0||h.focus()},i?.onClick)),d=W(i?.ref,a);return i&&(i.ref=d,i.onMouseDown=s,i.onClick=u),i}var Au=C(y(),1);function kF(e,a,t){let{state:{open:o,setOpen:l,setHasFocus:r},defaultProps:n,elementType:i,activeDescendantController:c}=t,s=T.always(e,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",...typeof n=="object"&&n},elementType:i}),u=Au.useRef(null);return s.ref=W(u,s.ref,a),s.onBlur=K(d=>{l(d,!1),r(!1)},s.onBlur),s.onFocus=K(d=>{d.target===d.currentTarget&&r(!0)},s.onFocus),s.onClick=K(d=>{l(d,!o)},s.onClick),s.onKeyDown=K(CI({activeDescendantController:c,...t.state}),s.onKeyDown),s}function CI(e){let{activeDescendantController:a,getOptionById:t,setOpen:o,selectOption:l,multiselect:r,open:n}=e,i=Au.useCallback(()=>{let m=a.active();return m?t(m):void 0},[a,t]),c=()=>{a.first()},s=()=>{a.last()},u=m=>{m?a.next():a.first()},d=m=>{m?a.prev():a.first()},f=()=>{for(let m=0;m<10;m++)a.prev()},h=()=>{for(let m=0;m<10;m++)a.next()},g=u8();return L(m=>{let b=o7(m,{open:n,multiselect:r}),p=i();switch(b){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":m.preventDefault();break}switch(g(!0),b){case"First":c();break;case"Last":s();break;case"Next":u(p);break;case"Previous":d(p);break;case"PageDown":h();break;case"PageUp":f();break;case"Open":o(m,!0);break;case"Close":m.stopPropagation(),o(m,!1);break;case"CloseSelect":!r&&!p?.disabled&&o(m,!1);case"Select":p&&l(m,p);break;case"Tab":!r&&p&&l(m,p);break}})}function TF(e,a){let t=Y0({focusable:{ignoreKeydown:{Escape:a}}});return Ct(t,typeof e=="object"?e:{})}var PF=C(y(),1);var r7=C(y(),1);var BF=C(y(),1);function DF(e,a,t){let{state:{open:o,setOpen:l,getOptionById:r},defaultProps:n,activeDescendantController:i}=t,c=BF.useRef(""),[s,u]=n5(),d=(m,b={startFromNext:!1})=>{let{startFromNext:p}=b,x=i.active(),v=i.find(M=>{let _=r(M);return!!_&&m(_.text)},{startFrom:p?i.next({passive:!0}):x});return v||i.find(M=>{let _=r(M);return!!_&&m(_.text)})},f=()=>{d(m=>m.toLocaleLowerCase().indexOf(c.current)===0,{startFromNext:c.current.length===1})||yI(c.current)&&d(m=>m.toLocaleLowerCase().indexOf(c.current[0])===0,{startFromNext:!0})||i.blur()},h=m=>{u(),o7(m)==="Type"&&(c.current+=m.key.toLowerCase(),s(()=>{c.current=""},500),o&&f(),!o&&l(m,!0))},g=kF(e,a,{state:t.state,defaultProps:n,elementType:"button",activeDescendantController:i});return g.onKeyDown=K(h,g.onKeyDown),g}function yI(e){for(let a=1;a<e.length;a++)if(e[a]!==e[a-1])return!1;return!0}var gv=(e,a)=>{var t;e=O5(e,{supportsLabelFor:!0});let{listboxRef:o,activeParentRef:l,controller:r}=jr({matchOption:bu}),n=qF({...e,activeDescendantController:r,freeform:!1}),{appearance:i,size:c,freeform:s,...u}=n,{clearable:d,clearSelection:f,disabled:h,hasFocus:g,multiselect:m,open:b,selectedOptions:p,setOpen:x}=u,{primary:v,root:M}=r5({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[_,z]=LF(e),A=r7.useRef(null),S=wF(e.listbox,W(_,o),{state:n,triggerRef:A,defaultProps:{children:e.children}}),{targetDocument:R}=Q();gt({element:R,callback:U=>x(U,!1),refs:[A,_,z],disabled:!b});var B;let w=DF((B=e.button)!==null&&B!==void 0?B:{},W(A,l,a),{state:n,defaultProps:{type:"button",tabIndex:v.disabled?void 0:0,children:u.value||e.placeholder,"aria-controls":b?S?.id:void 0,...v},activeDescendantController:r}),O=T.always(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&b?S?.id:void 0,children:e.children,...M},elementType:"div"});O.ref=W(O.ref,z);let V=p.length>0&&!h&&d&&!m,N={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:wt},root:O,button:w,listbox:b||g?S:void 0,clearButton:T.optional(e.clearButton,{defaultProps:{"aria-label":"Clear selection",tabIndex:V?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:T.optional(e.expandIcon,{renderByDefault:!0,elementType:"span"}),placeholderVisible:!u.value&&!!e.placeholder,showClearButton:V,activeDescendantController:r,...u},E=L(K((t=N.clearButton)===null||t===void 0?void 0:t.onClick,U=>{var e1;f(U),(e1=A.current)===null||e1===void 0||e1.focus()}));return N.clearButton&&(N.clearButton.onClick=E),m&&(N.clearButton=void 0),N},on=(e,a)=>{let t=e7();var o;let{appearance:l="outline",size:r=(o=t?.size)!==null&&o!==void 0?o:"medium",...n}=e,i=gv(n,a);if(i.clearButton){var c,s;(s=(c=i.clearButton).children)!==null&&s!==void 0||(c.children=r7.createElement(LR,null))}if(i.expandIcon){var u,d;(d=(u=i.expandIcon).children)!==null&&d!==void 0||(u.children=r7.createElement(R8,null))}return{...i,appearance:l,size:r,button:{...TF(i.button,i.open),...i.button}}};var ln=(e,a)=>q(e.root,{children:q(Ir,{value:a.activeDescendant,children:q(we.Provider,{value:a.listbox,children:X(dv.Provider,{value:a.combobox,children:[X(e.button,{children:[e.button.children,e.expandIcon&&q(e.expandIcon,{})]}),e.clearButton&&q(e.clearButton,{}),e.listbox&&(e.inlinePopup?q(e.listbox,{}):q(ae,{mountNode:e.mountNode,children:q(e.listbox,{})}))]})})})});var Tt={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},SI=k({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),RI=k({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),HI=o1("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),rn=e=>{let{appearance:a,open:t,placeholderVisible:o,showClearButton:l,size:r}=e,n=`${e.button["aria-invalid"]}`=="true",i=e.button.disabled,c=SI(),s=RI(),u=HI();return e.root.className=H(Tt.root,c.root,c[a],!i&&a==="outline"&&c.outlineInteractive,n&&a!=="underline"&&c.invalid,n&&a==="underline"&&c.invalidUnderline,i&&c.disabled,e.root.className),e.button.className=H(Tt.button,c.button,c[r],o&&c.placeholder,i&&c.disabledText,e.button.className),e.listbox&&(e.listbox.className=H(Tt.listbox,c.listbox,e.inlinePopup&&c.inlineListbox,!t&&c.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=H(Tt.expandIcon,s.icon,s[r],i&&s.disabled,l&&c.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=H(Tt.clearButton,u,s.icon,s[r],i&&s.disabled,!l&&c.hidden,e.clearButton.className)),e};var Bt=PF.forwardRef((e,a)=>{let t=on(e,a),o=fv(t);return rn(t),j("useDropdownStyles_unstable")(t),ln(t,o)});Bt.displayName="Dropdown";var NF=C(y(),1);var nn=e=>q(e.root,{children:e.root.children!==void 0&&q(e.wrapper,{children:e.root.children})});var cn=(e,a)=>{let{alignContent:t="center",appearance:o="default",inset:l=!1,...r}=e,n=xv(r,a);return{alignContent:t,appearance:o,inset:l,...n}},xv=(e,a)=>{let{vertical:t=!1,wrapper:o,...l}=e,r=R1("divider-");return{vertical:t,components:{root:"div",wrapper:"div"},root:T.always({role:"separator","aria-orientation":t?"vertical":"horizontal","aria-labelledby":e.children?r:void 0,ref:a,...l},{elementType:"div"}),wrapper:T.always(o,{defaultProps:{id:r,children:e.children},elementType:"div"})}};var sn={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var FI=k({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);}"]}),VI=k({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;}"]}),qI=k({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;}"]}),un=e=>{let a=FI(),t=VI(),o=qI(),{alignContent:l,appearance:r,inset:n,vertical:i}=e;return e.root.className=H(sn.root,a.base,a[l],r&&a[r],!i&&t.base,!i&&n&&t.inset,!i&&t[l],i&&o.base,i&&n&&o.inset,i&&o[l],i&&e.root.children!==void 0&&o.withChildren,e.root.children===void 0&&a.childless,e.root.className),e.wrapper&&(e.wrapper.className=H(sn.wrapper,e.wrapper.className)),e};var Jo=NF.forwardRef((e,a)=>{let t=cn(e,a);return un(t),j("useDividerStyles_unstable")(t),nn(t)});Jo.displayName="Divider";var dn=V0(void 0),LI={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},bv=dn.Provider,d1=e=>Z0(dn,(a=LI)=>e(a));var Cu=C(y(),1),OF=Cu.createContext(void 0),wI=!1,Mv=OF.Provider,_v=()=>{var e;return(e=Cu.useContext(OF))!==null&&e!==void 0?e:wI};var yu=V0(void 0),kI={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},zv=yu.Provider,ke=e=>Z0(yu,(a=kI)=>e(a));var Ha=C(y(),1);var EF=C(y(),1);var $o="fuimenuenter",Av=e=>{let{refs:a,callback:t,element:o,disabled:l}=e,r=L(n=>{let i=a[0],c=n.target;var s;!w5((s=i.current)!==null&&s!==void 0?s:null,c)&&!l&&t(n)});EF.useEffect(()=>{if(o!=null)return l||o.addEventListener($o,r),()=>{o.removeEventListener($o,r)}},[r,o,l])},Cv=(e,a)=>{e.dispatchEvent(new CustomEvent($o,{bubbles:!0,detail:{nativeEvent:a}}))};function el(){let e=d1(t=>t.isSubmenu),a=T2(yu);return e||a}var yv=C(y(),1);var Su=e=>{let{targetDocument:a}=Q(),t=d1(r=>r.triggerRef),o=d1(r=>r.inline);return yv.useRef(null)};var Ru=C(y(),1),fn="fuimenusafezonetimeout",Sv=e=>{let a=Ru.useRef(null);return Ru.useCallback(t=>{var o;(o=a.current)===null||o===void 0||o.removeEventListener(fn,e),t?.addEventListener(fn,e),a.current=t},[e])};var TI=k({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),Hu=e=>{let a=TI();e.checkmark&&(e.checkmark.className=H(a.root,e.checked&&a.rootChecked,e.checkmark.className))};var B2={root:"fui-MenuItem",icon:"fui-MenuItem__icon",checkmark:"fui-MenuItem__checkmark",submenuIndicator:"fui-MenuItem__submenuIndicator",content:"fui-MenuItem__content",secondaryContent:"fui-MenuItem__secondaryContent",subText:"fui-MenuItem__subText"},BI=o1("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:['@media (forced-colors: active){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}",'@media (forced-colors: active){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),DI=o1("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),PI=o1("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),NI=o1("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),OI=o1("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),EI=o1("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),II=k({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},submenuOpen:{De3pzq:"f5gciec",sj55zd:"fmh2wxz",D0sxk3:"fxoiby5",t6yez3:"f15q0o9g",B3y4be1:"f17gqod3",B2i6fwv:"f15ms52v",By8wz76:"fix5gee",B7iucu3:"f1gokeew"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Bbkh6qg:"f1wzezsb",B3ejlan:"f1egomlm",B41git9:"f1wf2001",Boq1n10:"fied5gk",Dcq74g:"f1efp33f",rxnm8d:"f1m2zpi7",wxluhh:"fei14nx",idgcvv:"f12hmwa5",j9xr24:"f1hzwxd0"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f5gciec{background-color:var(--colorNeutralBackground1Hover);}",".fmh2wxz{color:var(--colorNeutralForeground2Hover);}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f17gqod3 .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".f15ms52v .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.fix5gee{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gokeew{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wzezsb:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1egomlm:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wf2001:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fied5gk:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2zpi7:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fei14nx:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12hmwa5:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1hzwxd0:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"]}),UI=k({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),jI=k({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),hn=e=>{let a=II(),t=BI(),o=DI(),l=PI(),r=NI(),n=OI(),i=jI(),c=EI(),s=UI(),u=!!e.subText;return e.root.className=H(B2.root,t,e.submenuOpen&&a.submenuOpen,e.disabled&&a.disabled,e.root.className),e.content&&(e.content.className=H(B2.content,o,e.content.className,u&&i.content)),e.checkmark&&(e.checkmark.className=H(B2.checkmark,a.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=H(B2.secondaryContent,l,e.disabled&&a.disabled,e.secondaryContent.className,u&&i.secondaryContent)),e.icon&&(e.icon.className=H(B2.icon,r,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=H(B2.submenuIndicator,n,e.submenuIndicator.className,u&&i.submenuIndicator)),e.subText&&(e.subText.className=H(B2.subText,e.disabled&&s.disabled,e.subText.className,c)),Hu(e),e};var IF=H1.durationSlower,UF=H1.curveDecelerateMid,Rv=Q2(({distance:e=10})=>({enter:[K2({duration:IF,easing:UF,direction:"enter"}),{...F4({duration:IF,easing:UF,direction:"enter",outX:`calc(var(${Vt}, 0px) * ${e})`,outY:`calc(var(${qt}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]}));var GI=["after","after-bottom","before-top","before","before-bottom","above"],mn=e=>{let{surfaceMotion:a,...t}=e,o=Hv(t);return{...o,components:{surfaceMotion:Rv},surfaceMotion:za(a,{elementType:Rv,defaultProps:{visible:o.open,appear:!0,unmountOnExit:!0}})}},Hv=e=>{let a=el(),{hoverDelay:t=500,inline:o=!1,hasCheckmarks:l=!1,hasIcons:r=!1,closeOnScroll:n=!1,openOnContext:i=!1,persistOnItemClick:c=!1,openOnHover:s=a,defaultCheckedValues:u,mountNode:d=null,safeZone:f}=e,{targetDocument:h}=Q(),g=R1("menu"),[m,b]=I4(),p=J2(e.positioning),x=q4({targetDocument:h,onPositioningEnd:p.onPositioningEnd}),v={position:a?"after":"below",align:a?"top":"start",target:e.openOnContext?m:void 0,fallbackPositions:a?GI:void 0,...p,onPositioningEnd:x},M=Ha.Children.toArray(e.children),_,z;M.length===2?(_=M[0],z=M[1]):M.length===1&&(z=M[0]);let{targetRef:A,containerRef:S}=Qo(v),R=f&&s,B=Ha.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),w=ov({disabled:!R,timeout:typeof f=="object"?f.timeout:300,onSafeZoneEnter:J=>{E(J,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:J}),B.current.isInside=!0},onSafeZoneLeave:()=>{B.current.isInside=!1},onSafeZoneMove:J=>{B.current.mouseCoordinates={x:J.clientX,y:J.clientY}},onSafeZoneTimeout:()=>{let J=new CustomEvent(fn);if(E(J,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:J}),B.current.isInside&&h){let n1=h.elementsFromPoint(B.current.mouseCoordinates.x,B.current.mouseCoordinates.y).find(I1=>I1.classList.contains(B2.root));n1?.dispatchEvent(J)}}}),O=W(A,w.targetRef),V=W(S,w.containerRef),[N,E]=QI({hoverDelay:t,isSubmenu:a,setContextTarget:b,closeOnScroll:n,menuPopoverRef:V,triggerRef:O,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:i}),[U,e1]=WI({checkedValues:e.checkedValues,defaultCheckedValues:u,onCheckedValueChange:e.onCheckedValueChange});return{inline:o,hoverDelay:t,triggerId:g,isSubmenu:a,openOnHover:s,contextTarget:m,setContextTarget:b,hasCheckmarks:l,hasIcons:r,closeOnScroll:n,menuTrigger:_,menuPopover:z,mountNode:d,triggerRef:O,menuPopoverRef:V,openOnContext:i,open:N,setOpen:E,checkedValues:U,onCheckedValueChange:e1,persistOnItemClick:c,safeZone:w.elementToRender}},WI=e=>{let[a,t]=S1({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),o=L((l,{name:r,checkedItems:n})=>{var i;(i=e.onCheckedValueChange)===null||i===void 0||i.call(e,l,{name:r,checkedItems:n}),t(c=>({...c,[r]:n}))});return[a,o]},QI=e=>{let{targetDocument:a}=Q(),t=d1(m=>m.setOpen),o=L((m,b)=>{var p;return(p=e.onOpenChange)===null||p===void 0?void 0:p.call(e,m,b)}),l=Ha.useRef(!1),[r,n]=S1({state:e.open,defaultState:e.defaultOpen,initialState:!1}),i=L((m,b)=>{let p=m instanceof CustomEvent&&m.type===$o?m.detail.nativeEvent:m;o?.(p,{...b}),b.open&&m.type==="contextmenu"&&e.setContextTarget(m),b.open||e.setContextTarget(void 0),b.bubble&&t(m,{...b}),n(b.open)}),[c,s]=n5(),u=L((m,b)=>{if(s(),!(m instanceof Event)&&m.persist&&m.persist(),!b.ignoreHoverDelay&&(m.type==="mouseleave"||m.type==="mouseover"||m.type==="mousemove"||m.type===$o)){var x;!((x=e.triggerRef.current)===null||x===void 0)&&x.contains(m.target)&&(l.current=m.type==="mouseover"||m.type==="mousemove"),c(()=>i(m,b),e.hoverDelay)}else i(m,b)});gt({contains:w5,disabled:!r,element:a,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:m=>u(m,{open:!1,type:"clickOutside",event:m})});let d=e.openOnContext||e.closeOnScroll;Rr({contains:w5,element:a,callback:m=>u(m,{open:!1,type:"scrollOutside",event:m}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!r||!d}),Av({element:a,callback:m=>{l.current||u(m,{open:!1,type:"menuMouseEnter",event:m})},disabled:!r,refs:[e.menuPopoverRef]});let{findFirstFocusable:f}=O0(),h=Ha.useCallback(()=>{let m=f(e.menuPopoverRef.current);m?.focus()},[f,e.menuPopoverRef]),g=pt();return Ha.useEffect(()=>{if(r)h();else if(!g){var m,b;if(a?.activeElement===a?.body||!((m=e.menuPopoverRef.current)===null||m===void 0)&&m.contains((b=a?.activeElement)!==null&&b!==void 0?b:null)){var p;(p=e.triggerRef.current)===null||p===void 0||p.focus()}}},[e.triggerRef,e.isSubmenu,r,h,a,e.menuPopoverRef]),[r,u]};var jF=C(y(),1);function pn(e){let{checkedValues:a,hasCheckmarks:t,hasIcons:o,inline:l,isSubmenu:r,menuPopoverRef:n,mountNode:i,onCheckedValueChange:c,open:s,openOnContext:u,openOnHover:d,persistOnItemClick:f,safeZone:h,setOpen:g,triggerId:m,triggerRef:b}=e;return{menu:jF.useMemo(()=>({checkedValues:a,hasCheckmarks:t,hasIcons:o,inline:l,isSubmenu:r,menuPopoverRef:n,mountNode:i,onCheckedValueChange:c,open:s,openOnContext:u,openOnHover:d,persistOnItemClick:f,safeZone:h,setOpen:g,triggerId:m,triggerRef:b}),[a,t,o,l,r,n,i,c,s,u,d,f,h,g,m,b])}}var Xm1=C(y(),1);var vn=(e,a)=>X(bv,{value:a.menu,children:[e.menuTrigger,e.menuPopover&&q(e.surfaceMotion,{children:q(Ft,{children:e.menuPopover})})]});var al=e=>{let a=mn(e),t=pn(a);return vn(a,t)};al.displayName="Menu";var KF=C(y(),1);var Lv=C(y(),1);var qv=C(y(),1);var GF=(e,a)=>{let t=ke(l=>l.setFocusByFirstCharacter),{onKeyDown:o}=e.root;return e.root.onKeyDown=l=>{var r;o?.(l),!(((r=l.key)===null||r===void 0?void 0:r.length)>1)&&a.current&&t?.(l,a.current)},e};var Fu=C(y(),1),WF=Fu.createContext(void 0),QF={setMultiline:()=>null},sp1=WF.Provider,Fv=()=>{var e;return(e=Fu.useContext(WF))!==null&&e!==void 0?e:QF},Vv=()=>Fv()!==QF;var Vu=(e,a)=>{let t=_v(),o=d1(x=>x.persistOnItemClick),{as:l="div",disabled:r=!1,hasSubmenu:n=t,persistOnClick:i=o,content:c,...s}=e,{hasIcons:u,hasCheckmarks:d}=XI({hasSubmenu:n}),f=d1(x=>x.setOpen),h=d1(x=>x.open);KI({multiline:!!e.subText,hasSubmenu:n});let g=qv.useRef(null),m=qv.useRef(!1),b=Su(YI(e.role)),p={hasSubmenu:n,submenuOpen:n&&h,disabled:r,persistOnClick:i,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:T.always(l1(l,M5(l,{role:"menuitem",...s,disabled:!1,disabledFocusable:r,ref:W(a,g,b),onKeyDown:L(x=>{var v;(v=e.onKeyDown)===null||v===void 0||v.call(e,x),!x.isDefaultPrevented()&&(x.key===" "||x.key===B5)&&(m.current=!0)}),onMouseMove:L(x=>{var v;if(x.currentTarget.ownerDocument.activeElement!==x.currentTarget){var M;(M=g.current)===null||M===void 0||M.focus()}(v=e.onMouseMove)===null||v===void 0||v.call(e,x)}),onClick:L(x=>{var v;!n&&!i&&(f(x,{open:!1,keyboard:m.current,bubble:!0,type:"menuItemClick",event:x}),m.current=!1),(v=e.onClick)===null||v===void 0||v.call(e,x)})})),{elementType:"div"}),icon:T.optional(e.icon,{renderByDefault:u,elementType:"span"}),checkmark:T.optional(e.checkmark,{renderByDefault:d,elementType:"span"}),submenuIndicator:T.optional(e.submenuIndicator,{renderByDefault:n,elementType:"span"}),content:T.optional(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:T.optional(e.secondaryContent,{elementType:"span"}),subText:T.optional(e.subText,{elementType:"span"})};return GF(p,g),p},KI=e=>{let{hasSubmenu:a,multiline:t}=e,o=Vv()&&a,{setMultiline:l}=Fv();m1(()=>{o||l(t)},[l,t,o])},XI=e=>{let{hasSubmenu:a}=e,t=ke(r=>r.hasIcons),o=ke(r=>r.hasCheckmarks),l=Vv()&&a;return{hasIcons:t&&!l,hasCheckmarks:o&&!l}},YI=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"};var ZI=Ht(qR,H8),JI=Ht(FR,VR),gn=(e,a)=>{let{dir:t}=Q(),o=Vu(e,a);if(o.submenuIndicator){var l,r;(r=(l=o.submenuIndicator).children)!==null&&r!==void 0||(l.children=t==="rtl"?Lv.createElement(JI,null):Lv.createElement(ZI,null))}return o};var xn=e=>X(e.root,{children:[e.checkmark&&q(e.checkmark,{}),e.icon&&q(e.icon,{}),e.content&&X(e.content,{children:[e.content.children,e.subText&&q(e.subText,{})]}),e.secondaryContent&&q(e.secondaryContent,{}),e.submenuIndicator&&q(e.submenuIndicator,{})]});var tl=KF.forwardRef((e,a)=>{let t=gn(e,a);return hn(t),j("useMenuItemStyles_unstable")(t),xn(t)});tl.displayName="MenuItem";var JF=C(y(),1);var Dt=C(y(),1);var XF=["menuitem","menuitemcheckbox","menuitemradio"],$I=XF.map(e=>`[role="${e}"]`).join(","),bn=(e,a)=>{let t=eU(),o=T2(dn);aU(e,t,o)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");let l=Dt.useRef(null),{findAllFocusable:r}=O0(),{targetDocument:n}=Q(),i=W2({circular:!0}),c=wv(e,a),s=W(c.root.ref,l);Dt.useEffect(()=>{let d=l.current;if(!o||!n||!d)return;let f=h=>{let g=h.detail.next;g&&d.contains(n.activeElement)&&!d.contains(g)&&h.preventDefault()};return n.addEventListener(r4,f),()=>{n.removeEventListener(r4,f)}},[o,n]);let u=Dt.useCallback((d,f)=>{if(!l.current)return;let h=r(l.current,g=>g.hasAttribute("role")&&XF.indexOf(g.getAttribute("role"))!==-1);YF(h,d.key,f)},[r]);return{...c,root:{...i,...c.root,ref:s},setFocusByFirstCharacter:u}},wv=(e,a)=>{let t=d1(z=>z.triggerId),o=d1(z=>z.checkedValues),l=d1(z=>z.onCheckedValueChange),r=d1(z=>z.hasIcons),n=d1(z=>z.hasCheckmarks),i=T2(dn),c=Dt.useRef(null),s=Su("MenuList"),u=Dt.useCallback((z,A)=>{if(!c.current)return;let S=Array.from(c.current.querySelectorAll($I));YF(S,z.key,A)},[]);var d;let[f,h]=S1({state:(d=e.checkedValues)!==null&&d!==void 0?d:i?o:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var g;let m=(g=e.onCheckedValueChange)!==null&&g!==void 0?g:i?l:void 0,b=L((z,A,S,R)=>{let w=[...f?.[A]||[]];R?w.splice(w.indexOf(S),1):w.push(S),m?.(z,{name:A,checkedItems:w}),h(O=>({...O,[A]:w}))}),p=L((z,A,S)=>{let R=[S];h(B=>({...B,[A]:R})),m?.(z,{name:A,checkedItems:R})});var x,v,M,_;return{components:{root:"div"},root:T.always(l1("div",{ref:W(a,c,s),role:"menu","aria-labelledby":t,...e}),{elementType:"div"}),checkedValues:f,hasIcons:(v=(x=e.hasIcons)!==null&&x!==void 0?x:r)!==null&&v!==void 0?v:!1,hasCheckmarks:(_=(M=e.hasCheckmarks)!==null&&M!==void 0?M:n)!==null&&_!==void 0?_:!1,hasMenuContext:i,setFocusByFirstCharacter:u,selectRadio:p,toggleCheckbox:b}},YF=(e,a,t)=>{let o=e.indexOf(t)+1;o===e.length&&(o=0);let l=e.map(c=>{var s;return(s=c.textContent)===null||s===void 0?void 0:s.charAt(0).toLowerCase()}),r=a.toLowerCase(),n=c=>{for(let s=c;s<l.length;s++)if(r===l[s])return s;return-1},i=n(o);i===-1&&(i=n(0)),i>-1&&e[i].focus()},eU=()=>{let e=d1(r=>r.checkedValues),a=d1(r=>r.onCheckedValueChange),t=d1(r=>r.triggerId),o=d1(r=>r.hasIcons),l=d1(r=>r.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:a,triggerId:t,hasIcons:o,hasCheckmarks:l}},aU=(e,a,t)=>{let o=!1;for(let l in a)e[l]&&(o=!0);return t&&o};var Mn=(e,a)=>q(zv,{value:a.menuList,children:q(e.root,{})});var ZF=C(y(),1);function _n(e){let{checkedValues:a,hasCheckmarks:t,hasIcons:o,selectRadio:l,setFocusByFirstCharacter:r,toggleCheckbox:n}=e;return{menuList:ZF.useMemo(()=>({checkedValues:a,hasCheckmarks:t,hasIcons:o,selectRadio:l,setFocusByFirstCharacter:r,toggleCheckbox:n}),[a,t,o,l,r,n])}}var qu={root:"fui-MenuList"},tU=k({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),zn=e=>{let a=tU();return e.root.className=H(qu.root,a.root,e.hasMenuContext&&a.hasMenuContext,e.root.className),e};var ol=JF.forwardRef((e,a)=>{let t=bn(e,a),o=_n(t);return zn(t),j("useMenuListStyles_unstable")(t),Mn(t,o)});ol.displayName="MenuList";var $F=C(y(),1);var n7=C(y(),1);var kv=(e,a)=>{"use no memo";let t=d1(z=>z.safeZone),o=d1(z=>z.menuPopoverRef),l=d1(z=>z.setOpen),r=d1(z=>z.open),n=d1(z=>z.openOnHover),i=d1(z=>z.triggerRef),c=el(),s=ke(z=>{var A;return(A=z.shouldCloseOnArrowLeft)!==null&&A!==void 0?A:!0}),u=n7.useRef(!0),[d,f]=n5(),{dir:h}=Q(),g=h==="ltr"?ga:xa,m=n7.useCallback(z=>{z&&z.addEventListener("mouseover",A=>{u.current&&(u.current=!1,Cv(o.current,A),d(()=>{u.current=!0},250))})},[o,d]);n7.useEffect(()=>()=>f(),[f]);var b;let p=(b=d1(z=>z.inline))!==null&&b!==void 0?b:!1,x=d1(z=>z.mountNode),v=T.always(l1("div",{role:"presentation",...e,ref:W(a,o,m)}),{elementType:"div"}),{onMouseEnter:M,onKeyDown:_}=v;return v.onMouseEnter=L(z=>{(n||c)&&l(z,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:z}),M?.(z)}),v.onKeyDown=L(z=>{let A=z.key;if(A===x5||c&&s&&A===g){var S;r&&(!((S=o.current)===null||S===void 0)&&S.contains(z.target))&&!z.isDefaultPrevented()&&(l(z,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:z}),z.preventDefault())}if(A==="Tab"&&(l(z,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:z}),!c)){var R;(R=i.current)===null||R===void 0||R.focus()}_?.(z)}),{inline:p,mountNode:x,safeZone:t,components:{root:"div"},root:v}},An=(e,a)=>{let t=s8(),o=Y0({focusable:{ignoreKeydown:{Escape:!0}}}),l=Ct(t,o),r=Oo(),n=kv(e,a);return{...n,root:{...l,...n.root,ref:W(n.root.ref,r)}}};var Lu={root:"fui-MenuPopover"},oU=k({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),Cn=e=>{let a=oU();return e.root.className=H(Lu.root,a.root,e.root.className),e};var yn=e=>e.inline?X(e4.Fragment,{children:[q(e.root,{}),e.safeZone]}):X(ae,{mountNode:e.mountNode,children:[q(e.root,{}),e.safeZone]});var ll=$F.forwardRef((e,a)=>{let t=An(e,a);return Cn(t),j("useMenuPopoverStyles_unstable")(t),yn(t)});ll.displayName="MenuPopover";var c7=C(y(),1);function lU(){}var Sn=e=>{let a=d1(l=>l.menuPopoverRef),{findFirstFocusable:t}=O0(),o=c7.useCallback(()=>{let l=t(a.current);l?.focus()},[t,a]);return Tv({...e,focusFirst:o})},Tv=e=>{let{children:a,disableButtonEnhancement:t=!1,focusFirst:o}=e,l=d1(V=>V.triggerRef),r=d1(V=>V.setOpen),n=d1(V=>V.open),i=d1(V=>V.triggerId),c=d1(V=>V.openOnHover),s=d1(V=>V.openOnContext),u=el(),d=ke(V=>{var N;return(N=V.shouldOpenOnArrowRight)!==null&&N!==void 0?N:!0}),f=c7.useRef(!1),h=c7.useRef(!1),g=c7.useRef(!1),{dir:m}=Q(),b=m==="ltr"?xa:ga,p=ma(a),x=Sv(L(()=>{u&&(h.current=!0)})),v=V=>{i7(V)||V.isDefaultPrevented()||s&&(V.preventDefault(),r(V,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:V}))},M=V=>{i7(V)||s||(r(V,{open:!n,keyboard:f.current,type:"menuTriggerClick",event:V}),f.current=!1)},_=V=>{if(i7(V)||V.isDefaultPrevented())return;let N=V.key;!s&&(u&&d&&N===b||!u&&N===Re)&&r(V,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:V}),N===x5&&!u&&r(V,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:V}),n&&N===b&&u&&d&&o?.()},z=V=>{i7(V)||c&&(g.current?r(V,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:V}):h.current&&(r(V,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:V}),h.current=!1))},A=V=>{i7(V)||c&&!g.current&&(r(V,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:V}),g.current=!0)},S=V=>{i7(V)||c&&r(V,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:V})};var R;let B={id:i,...p?.props,ref:W(l,ge(p),x),onMouseEnter:L((R=p?.props.onMouseEnter)!==null&&R!==void 0?R:lU),onMouseLeave:L(K(p?.props.onMouseLeave,S)),onContextMenu:L(K(p?.props.onContextMenu,v)),onMouseMove:L(K(p?.props.onMouseMove,A)),onMouseOver:L(K(p?.props.onMouseOver,z))},w={"aria-haspopup":"menu","aria-expanded":!n&&!u?void 0:n,...B,onClick:L(K(p?.props.onClick,M)),onKeyDown:L(K(p?.props.onKeyDown,_))},O=M5(p?.type==="button"||p?.type==="a"?p.type:"div",w);return{isSubmenu:u,children:xt(a,s?B:t?w:O)}},i7=e=>{let a=t=>t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&t.getAttribute("aria-disabled")==="true";return i0(e.target)&&a(e.target)?!0:i0(e.currentTarget)&&a(e.currentTarget)};var eV=C(y(),1);var Rn=e=>eV.createElement(Mv,{value:e.isSubmenu},e.children);var Pt=e=>{let a=Sn(e);return Rn(a)};Pt.displayName="MenuTrigger";Pt.isFluentTriggerComponent=!0;var wu=C(y(),1),aV=wu.createContext(void 0),rU={},$v1=aV.Provider,tV=()=>wu.useContext(aV)||rU;var oV=C(y(),1);var ku=e=>X(e.root,{children:[q(e.input,{}),q(e.indicator,{}),e.label&&q(e.label,{})]});var Tu=(e,a)=>{let t=Bv(e,a);return{...t,components:{...t.components,label:s1},label:T.optional(e.label,{defaultProps:{...t.label},elementType:s1})}},Bv=(e,a)=>{let t=tV(),{name:o=t.name,checked:l=t.value!==void 0?t.value===e.value:void 0,defaultChecked:r=t.defaultValue!==void 0?t.defaultValue===e.value:void 0,labelPosition:n=t.layout==="horizontal-stacked"?"below":"after",disabled:i=t.disabled,required:c=t.required,"aria-describedby":s=t["aria-describedby"],onChange:u}=e,d=r5({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),f=T.always(e.root,{defaultProps:{ref:c5(),...d.root},elementType:"span"}),h=T.always(e.input,{defaultProps:{ref:a,type:"radio",id:R1("radio-",d.primary.id),name:o,checked:l,defaultChecked:r,disabled:i,required:c,"aria-describedby":s,...d.primary},elementType:"input"});h.onChange=K(h.onChange,b=>u?.(b,{value:b.currentTarget.value}));let g=T.optional(e.label,{defaultProps:{htmlFor:h.id,disabled:h.disabled},elementType:"label"}),m=T.always(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:n,components:{root:"span",input:"input",label:"label",indicator:"div"},root:f,input:h,label:g,indicator:m}};var s7={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"};var nU=o1("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),iU=k({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),cU=o1("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),sU=k({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),uU=o1("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),dU=k({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),Bu=e=>{let{labelPosition:a}=e,t=nU(),o=iU();e.root.className=H(s7.root,t,a==="below"&&o.vertical,e.root.className);let l=cU(),r=sU();e.input.className=H(s7.input,l,a==="below"&&r.below,e.indicator.children?r.customIndicator:r.defaultIndicator,e.input.className);let n=uU();e.indicator.className=H(s7.indicator,n,e.indicator.className);let i=dU();return e.label&&(e.label.className=H(s7.label,i.base,i[a],e.label.className)),e};var rl=oV.forwardRef((e,a)=>{let t=Tu(e,a);return Bu(t),j("useRadioStyles_unstable")(t),ku(t)});rl.displayName="Radio";var lV=C(y(),1);var nl={sliderDirectionVar:"--fui-Slider--direction",sliderInnerThumbRadiusVar:"--fui-Slider__inner-thumb--radius",sliderProgressVar:"--fui-Slider--progress",sliderProgressColorVar:"--fui-Slider__progress--color",sliderRailSizeVar:"--fui-Slider__rail--size",sliderRailColorVar:"--fui-Slider__rail--color",sliderStepsPercentVar:"--fui-Slider--steps-percent",sliderThumbColorVar:"--fui-Slider__thumb--color",sliderThumbSizeVar:"--fui-Slider__thumb--size"};var{sliderStepsPercentVar:fU,sliderProgressVar:hU,sliderDirectionVar:mU}=nl,pU=(e,a,t)=>t===a?0:(e-a)/(t-a)*100,Hn=(e,a)=>{let{min:t=0,max:o=100,step:l}=a,{dir:r}=Q(),[n,i]=S1({state:a.value,defaultState:a.defaultValue,initialState:0}),c=Ho(n,t,o),s=pU(c,t,o),u=e.input.onChange,d=a.onChange,f=L(m=>{let b=Number(m.target.value);i(Ho(b,t,o)),u&&u!==d?u(m):d&&d(m,{value:b})}),h=l&&l>0?`${l*100/(o-t)}%`:void 0,g={[mU]:e.vertical?"0deg":r==="ltr"?"90deg":"270deg",[hU]:`${s}%`,...h!==void 0&&{[fU]:h}};return e.root.style={...g,...e.root.style},e.input.value=c,e.input.onChange=f,e};var Fn=(e,a)=>{let{size:t="medium",...o}=e;return{...Dv(o,a),size:t}},Dv=(e,a)=>{e=O5(e,{supportsLabelFor:!0});let t=r5({props:e,primarySlotTagName:"input",excludedPropNames:["onChange"]}),{disabled:o,vertical:l,root:r,input:n,rail:i,thumb:c}=e,s={disabled:o,vertical:l,components:{input:"input",rail:"div",root:"div",thumb:"div"},root:T.always(r,{defaultProps:t.root,elementType:"div"}),input:T.always(n,{defaultProps:{id:R1("slider-",e.id),ref:a,...t.primary,type:"range",orient:l?"vertical":void 0},elementType:"input"}),rail:T.always(i,{elementType:"div"}),thumb:T.always(c,{elementType:"div"})};return s.root.ref=W(s.root.ref,c5()),Hn(s,e),s};var Vn=e=>X(e.root,{children:[q(e.input,{}),q(e.rail,{}),q(e.thumb,{})]});var il={root:"fui-Slider",rail:"fui-Slider__rail",thumb:"fui-Slider__thumb",input:"fui-Slider__input"};var{sliderDirectionVar:Tg1,sliderInnerThumbRadiusVar:Bg1,sliderProgressVar:Dg1,sliderProgressColorVar:Pg1,sliderRailSizeVar:Ng1,sliderRailColorVar:Og1,sliderStepsPercentVar:Eg1,sliderThumbColorVar:Ig1,sliderThumbSizeVar:Ug1}=nl,vU=k({root:{qhf8xq:"f10pi13n",mc9l5x:"fwk3njj",lpbzjs:"f1sdsnyy",Bt984gj:"f122n59",B7hvi0a:"f1oiokrs"},small:{Bi64ftq:"f1agqo6f",Bslxy2k:"f1mmvox9",Ba19x4e:"f1i7ztpd",sshi5w:"f1pha7fy"},medium:{Bi64ftq:"f1a78h9h",Bslxy2k:"fh1udnr",Ba19x4e:"fuok0yf",sshi5w:"f1nxs5xn"},horizontal:{Bf4jedk:"fyvtabn",wkccdc:"fgfd48t",Budl1dq:"f4t5rw1"},vertical:{sshi5w:"f1pzv1zu",wkccdc:"fktlcaf",Budl1dq:"fiadc6h"},enabled:{B7wi8oa:"f4l8x3l",B250r6j:"f671q34",Bpmy4es:"fvfzmw5",Buw9y6v:"faw1t00",Bq939m0:"fxdgx5",gjzr1t:"fii04fa",tg7hqu:"f36hzz8",qhf704:"fdjsfay",Blfvze:"f1fen33d",genz7u:"f1c6b0w1",Brgvh4e:"f1rq9b4z",Bsjyjqp:"f4xxiul"},disabled:{Bpmy4es:"foojseg",B7wi8oa:"f1lgdqhv",B250r6j:"f1veetlj",qhf704:"fn4acdm",Blfvze:"f4s8dx0",genz7u:"f1wil5xy"},focusIndicatorHorizontal:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",Bssx7fj:"f1b1k54r",uh7if5:["f4ne723","fqqcjud"],clntm0:"fh7aioi",Dlk2r6:["fqqcjud","f4ne723"],h6p2u:"f1ufm4qn",I6qiy5:["f1qnwcb4","fgrk5zm"],yzno9d:"fi52z01",By0wis0:["fgrk5zm","f1qnwcb4"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:"fmj8fco",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1iwowo3",B2pnrqr:"f1pffoy2",B29w5g4:["f1dfga45","f63jj3o"],Bhhzhcn:"fs6b7xr",Bec0n69:["f63jj3o","f1dfga45"]},focusIndicatorVertical:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",Bssx7fj:"f1b1k54r",uh7if5:["f4ne723","fqqcjud"],clntm0:"fh7aioi",Dlk2r6:["fqqcjud","f4ne723"],h6p2u:"f1ufm4qn",I6qiy5:["f1qnwcb4","fgrk5zm"],yzno9d:"fi52z01",By0wis0:["fgrk5zm","f1qnwcb4"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:"fmj8fco",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1iwowo3",B2pnrqr:"f1pffoy2",B29w5g4:["fm5xmfm","femsgmt"],Bhhzhcn:"fs6b7xr",Bec0n69:["femsgmt","fm5xmfm"]}},{d:[".f10pi13n{position:relative;}",".fwk3njj{display:inline-grid;}",".f1sdsnyy{touch-action:none;}",".f122n59{align-items:center;}",".f1oiokrs{justify-items:center;}",".f1agqo6f{--fui-Slider__thumb--size:16px;}",".f1mmvox9{--fui-Slider__inner-thumb--radius:5px;}",".f1i7ztpd{--fui-Slider__rail--size:2px;}",".f1pha7fy{min-height:24px;}",".f1a78h9h{--fui-Slider__thumb--size:20px;}",".fh1udnr{--fui-Slider__inner-thumb--radius:6px;}",".fuok0yf{--fui-Slider__rail--size:4px;}",".f1nxs5xn{min-height:32px;}",".fyvtabn{min-width:120px;}",".fgfd48t{grid-template-rows:1fr var(--fui-Slider__thumb--size) 1fr;}",".f4t5rw1{grid-template-columns:1fr calc(100% - var(--fui-Slider__thumb--size)) 1fr;}",".f1pzv1zu{min-height:120px;}",".fktlcaf{grid-template-rows:1fr calc(100% - var(--fui-Slider__thumb--size)) 1fr;}",".fiadc6h{grid-template-columns:1fr var(--fui-Slider__thumb--size) 1fr;}",".f4l8x3l{--fui-Slider__rail--color:var(--colorNeutralStrokeAccessible);}",".f671q34{--fui-Slider__progress--color:var(--colorCompoundBrandBackground);}",".fvfzmw5{--fui-Slider__thumb--color:var(--colorCompoundBrandBackground);}",".foojseg{--fui-Slider__thumb--color:var(--colorNeutralForegroundDisabled);}",".f1lgdqhv{--fui-Slider__rail--color:var(--colorNeutralBackgroundDisabled);}",".f1veetlj{--fui-Slider__progress--color:var(--colorNeutralForegroundDisabled);}",".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}",".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}",".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}",".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}",'.ffht0p2[data-fui-focus-within]:focus-within::after{content:"";}',".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}",".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}",".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}",[".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1pffoy2[data-fui-focus-within]:focus-within::after{top:calc(0px - 2px - -2px);}",".f1dfga45[data-fui-focus-within]:focus-within::after{right:calc(0px - 2px - -4px);}",".f63jj3o[data-fui-focus-within]:focus-within::after{left:calc(0px - 2px - -4px);}",".fs6b7xr[data-fui-focus-within]:focus-within::after{bottom:calc(0px - 2px - -2px);}",[".fmj8fco[data-fui-focus-within]:focus-within::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1iwowo3[data-fui-focus-within]:focus-within::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fm5xmfm[data-fui-focus-within]:focus-within::after{right:calc(0px - 2px - 4px);}",".femsgmt[data-fui-focus-within]:focus-within::after{left:calc(0px - 2px - 4px);}"],h:[".faw1t00:hover{--fui-Slider__thumb--color:var(--colorCompoundBrandBackgroundHover);}",".fxdgx5:hover{--fui-Slider__progress--color:var(--colorCompoundBrandBackgroundHover);}"],a:[".fii04fa:active{--fui-Slider__thumb--color:var(--colorCompoundBrandBackgroundPressed);}",".f36hzz8:active{--fui-Slider__progress--color:var(--colorCompoundBrandBackgroundPressed);}"],m:[["@media (forced-colors: active){.fdjsfay{--fui-Slider__rail--color:CanvasText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1fen33d{--fui-Slider__thumb--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1c6b0w1{--fui-Slider__progress--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rq9b4z:hover{--fui-Slider__thumb--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xxiul:hover{--fui-Slider__progress--color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn4acdm{--fui-Slider__rail--color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4s8dx0{--fui-Slider__thumb--color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wil5xy{--fui-Slider__progress--color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ufm4qn[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1qnwcb4[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}.fgrk5zm[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fi52z01[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"]}),gU=k({rail:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu",Bkecrkj:"f1aehjj5",Ijaq50:"faunodf",nk6f5a:"f88nxoq",Br312pm:"fd46tj4",Bw0ie65:"f1e2fz10",qhf8xq:"f10pi13n",Bvjb7m6:"fdgv6k0",Bcmaq0h:"fizngqt",Bpd4iqm:"fpvhumw",oeaueh:"f1yog68k",Bw0xxkn:"f13sgyd8",Ftih45:"fzhtfnv",Brfgrao:"f1j7ml58",Bbn5juq:"fx36ao7",Bses4cn:"fddlh2i"},horizontal:{a9b677:"fly5x3f",Bqenvij:"f1cy86ho",Fbdkly:["f1heqfse","fkh49vu"],mdwyqc:["fkh49vu","f1heqfse"],Baz25je:"f16tdq4e"},vertical:{a9b677:"fqxfnkd",Bqenvij:"f1l02sjl",Ccq8qp:"f1rik0od",Bciustq:"f14xwovp",lawp4y:"fdehrcx"}},{d:[[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".f1aehjj5{pointer-events:none;}",".faunodf{grid-row-start:2;}",".f88nxoq{grid-row-end:2;}",".fd46tj4{grid-column-start:2;}",".f1e2fz10{grid-column-end:2;}",".f10pi13n{position:relative;}",".fdgv6k0{forced-color-adjust:none;}",`.fizngqt{background-image:linear-gradient(
32
+ var(--fui-Slider--direction),
33
+ var(--fui-Slider__progress--color) 0%,
34
+ var(--fui-Slider__progress--color) var(--fui-Slider--progress),
35
+ var(--fui-Slider__rail--color) var(--fui-Slider--progress)
36
+ );}`,".fpvhumw{outline-width:1px;}",".f1yog68k{outline-style:solid;}",".f13sgyd8{outline-color:var(--colorTransparentStroke);}",".fzhtfnv::before{content:'';}",".f1j7ml58::before{position:absolute;}",`.fx36ao7::before{background-image:repeating-linear-gradient(
37
+ var(--fui-Slider--direction),
38
+ #0000 0%,
39
+ #0000 calc(var(--fui-Slider--steps-percent) - 1px),
40
+ var(--colorNeutralBackground1) calc(var(--fui-Slider--steps-percent) - 1px),
41
+ var(--colorNeutralBackground1) var(--fui-Slider--steps-percent)
42
+ );}`,".fly5x3f{width:100%;}",".f1cy86ho{height:var(--fui-Slider__rail--size);}",".f1heqfse::before{left:-1px;}",".fkh49vu::before{right:-1px;}",".f16tdq4e::before{height:var(--fui-Slider__rail--size);}",".fqxfnkd{width:var(--fui-Slider__rail--size);}",".f1l02sjl{height:100%;}",".f1rik0od::before{width:var(--fui-Slider__rail--size);}",".f14xwovp::before{top:-1px;}",".fdehrcx::before{bottom:-1px;}"],m:[[`@media (forced-colors: active){.fddlh2i::before{background-image:repeating-linear-gradient(
43
+ var(--fui-Slider--direction),
44
+ #0000 0%,
45
+ #0000 calc(var(--fui-Slider--steps-percent) - 1px),
46
+ HighlightText calc(var(--fui-Slider--steps-percent) - 1px),
47
+ HighlightText var(--fui-Slider--steps-percent)
48
+ );}}`,{m:"(forced-colors: active)"}]]}),xU=k({thumb:{B2lzsem:"ftx3jue",Ijaq50:"faunodf",nk6f5a:"f88nxoq",Br312pm:"fd46tj4",Bw0ie65:"f1e2fz10",qhf8xq:"f1euv43f",a9b677:"f174ca62",Bqenvij:"f1yfdkfd",Bkecrkj:"f1aehjj5",oeaueh:"f1s6fcnf",Bvjb7m6:"fdgv6k0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",E5pizo:"fof7hq0",De3pzq:"foksa45",Brfgrao:"f1j7ml58",Bciustq:"f14u7mkt",Fbdkly:["f5zrw40","f1ks5ppg"],lawp4y:"fto0uou",mdwyqc:["f1ks5ppg","f5zrw40"],r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"fielpny",Bcvre1j:"fyl8oag",Ftih45:"fzhtfnv",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1fsco4d"},disabled:{Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1pv9hn4"},horizontal:{Bz10aip:["f13gfj74","f1nfknbn"],oyh7mz:["foa2ioz","fjmilum"]},vertical:{Bz10aip:"f5cv5a3",B5kzvoi:"f1k2fpdo"}},{d:[".ftx3jue{--fui-Slider__thumb--position:clamp(var(--fui-Slider__inner-thumb--radius), var(--fui-Slider--progress), calc(100% - var(--fui-Slider__inner-thumb--radius)));}",".faunodf{grid-row-start:2;}",".f88nxoq{grid-row-end:2;}",".fd46tj4{grid-column-start:2;}",".f1e2fz10{grid-column-end:2;}",".f1euv43f{position:absolute;}",".f174ca62{width:var(--fui-Slider__thumb--size);}",".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".f1aehjj5{pointer-events:none;}",".f1s6fcnf{outline-style:none;}",".fdgv6k0{forced-color-adjust:none;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],".fof7hq0{box-shadow:0 0 0 calc(var(--fui-Slider__thumb--size) * .2) var(--colorNeutralBackground1) inset;}",".foksa45{background-color:var(--fui-Slider__thumb--color);}",".f1j7ml58::before{position:absolute;}",".f14u7mkt::before{top:0px;}",".f5zrw40::before{left:0px;}",".f1ks5ppg::before{right:0px;}",".fto0uou::before{bottom:0px;}",[".fielpny::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],".fyl8oag::before{box-sizing:border-box;}",".fzhtfnv::before{content:'';}",[".f1fsco4d::before{border:calc(var(--fui-Slider__thumb--size) * .05) solid var(--colorNeutralStroke1);}",{p:-2}],[".f1pv9hn4::before{border:calc(var(--fui-Slider__thumb--size) * .05) solid var(--colorNeutralForegroundDisabled);}",{p:-2}],".f13gfj74{transform:translateX(-50%);}",".f1nfknbn{transform:translateX(50%);}",".foa2ioz{left:var(--fui-Slider__thumb--position);}",".fjmilum{right:var(--fui-Slider__thumb--position);}",".f5cv5a3{transform:translateY(50%);}",".f1k2fpdo{bottom:var(--fui-Slider__thumb--position);}"]}),bU=k({input:{Bceei9c:"f1k6fduh",abs64n:"fk73vx1",Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z",Br312pm:"fwpfdsa",Bw0ie65:"fuur7zz",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"},disabled:{Bceei9c:"f158kwzp"},horizontal:{Bqenvij:"f1yfdkfd",a9b677:"fly5x3f"},vertical:{Bqenvij:"f1l02sjl",a9b677:"f174ca62",wtfg9d:"f135tqni",By3ymbm:["f114o3fk","f1o9w1zd"],B1e78rk:"f1jr0wcp"}},{d:[".f1k6fduh{cursor:pointer;}",".fk73vx1{opacity:0;}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".fwpfdsa{grid-column-start:1;}",".fuur7zz{grid-column-end:-1;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],".f158kwzp{cursor:default;}",".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".fly5x3f{width:100%;}",".f1l02sjl{height:100%;}",".f174ca62{width:var(--fui-Slider__thumb--size);}"],t:["@supports (writing-mode: sideways-lr){.f135tqni{writing-mode:vertical-lr;}}","@supports (writing-mode: sideways-lr){.f114o3fk{direction:rtl;}.f1o9w1zd{direction:ltr;}}","@supports not (writing-mode: sideways-lr){.f1jr0wcp{-webkit-appearance:slider-vertical;}}"]}),qn=e=>{let a=vU(),t=gU(),o=xU(),l=bU(),r=e.vertical;return e.root.className=H(il.root,a.root,r?a.focusIndicatorVertical:a.focusIndicatorHorizontal,a[e.size],r?a.vertical:a.horizontal,e.disabled?a.disabled:a.enabled,e.root.className),e.rail.className=H(il.rail,t.rail,r?t.vertical:t.horizontal,e.rail.className),e.thumb.className=H(il.thumb,o.thumb,r?o.vertical:o.horizontal,e.disabled&&o.disabled,e.thumb.className),e.input.className=H(il.input,l.input,r?l.vertical:l.horizontal,e.disabled&&l.disabled,e.input.className),e};var Nt=lV.forwardRef((e,a)=>{let t=Fn(e,a);return qn(t),j("useSliderStyles_unstable")(t),Vn(t)});Nt.displayName="Slider";var iV=C(y(),1);var oe=C(y(),1);var Du=(e,a,t)=>{let o=e;if(a!==void 0){if(t!==void 0&&a>t){let l=new Error;return e}o=Math.max(a,o)}return t!==void 0&&(o=Math.min(t,o)),o};var Pu=(e,a,t)=>a!==void 0&&e===a?t===a?"both":"min":t!==void 0&&e===t?"max":"none";function Pv(e){let a=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return a?a[1]?-a[1].length:a[2]?a[2].length:0:0}function cl(e,a,t=10){let o=t**a;return Math.round(e*o)/o}var Nv=150,MU=80,_U=1e3,zU=(e,a,t)=>e+(a-e)*t,Ov=(e,a)=>{e=O5(e,{supportsLabelFor:!0,supportsRequired:!0});let t=r5({props:e,primarySlotTagName:"input",excludedPropNames:["defaultValue","max","min","onChange","value"]}),{value:o,displayValue:l,defaultValue:r,min:n,max:i,step:c=1,stepPage:s=1,precision:u,onChange:d,root:f,input:h,incrementButton:g,decrementButton:m}=e,b=oe.useMemo(()=>u??Math.max(Pv(c),0),[u,c]),[p,x]=S1({state:o,defaultState:r,initialState:0}),v=oe.useRef(null),M=o!==void 0,[_,z]=oe.useState(void 0),[A,S]=oe.useState("rest"),R=oe.useRef({value:p,spinState:"rest",spinTime:0,spinDelay:Nv,atBound:p!==null?Pu(cl(p,b),n,i):"none"}),[B,w]=n5(),O=(t1,C1,W5)=>{let Ee=R.current.value;if(W5){let z9=parseFloat(W5);isNaN(z9)||(Ee=z9)}let Ie=Ee,Ue=C1==="up"||C1==="upPage"?1:-1,Y1=C1==="upPage"||C1==="downPage"?s:c;if(Ie===null){let dT=Du((n===void 0?0:n)+Y1*Ue,n,i);n1(t1,dT);return}let j1=Ie+Y1*Ue;Number.isNaN(j1)||(j1=Du(j1,n,i)),n1(t1,j1),R.current.spinState!=="rest"&&B(()=>{R.current.spinTime+=R.current.spinDelay,R.current.spinDelay=zU(Nv,MU,R.current.spinTime/_U),O(t1,C1)},R.current.spinDelay)},V=t1=>{R.current.previousTextValue||(R.current.previousTextValue=_??String(p));let C1=t1.target.value;z(C1),v.current&&(v.current.ariaValueNow=C1)},N=t1=>{n1(t1,p,_),R.current.spinState="up",O(t1,"up")},E=t1=>{n1(t1,p,_),R.current.spinState="down",O(t1,"down")},U=t1=>{w(),R.current.spinState="rest",R.current.spinDelay=Nv,R.current.spinTime=0},e1=t1=>{n1(t1,p,_),R.current.previousTextValue=void 0},J=t1=>{let C1="rest";t1.currentTarget.readOnly||(t1.key===ba?(O(t1,"up",_),C1="up"):t1.key===Re?(O(t1,"down",_),C1="down"):t1.key===y4?(t1.preventDefault(),O(t1,"upPage",_),C1="up"):t1.key===C4?(t1.preventDefault(),O(t1,"downPage",_),C1="down"):!t1.shiftKey&&t1.key===No&&n!==void 0?(n1(t1,n),C1="down"):!t1.shiftKey&&t1.key==="End"&&i!==void 0?(n1(t1,i),C1="up"):t1.key===B5?(n1(t1,p,_),R.current.previousTextValue=void 0):t1.key===x5&&R.current.previousTextValue&&(z(void 0),R.current.previousTextValue=void 0),A!==C1&&S(C1))},A1=t1=>{A!=="rest"&&(S("rest"),R.current.spinState="rest")},n1=(t1,C1,W5)=>{let Ee=C1!==void 0&&p!==C1,Ie=W5!==void 0&&R.current.previousTextValue!==void 0&&R.current.previousTextValue!==W5,Ue;if(Ee)Ue=cl(C1,b),x(Ue),R.current.value=Ue;else if(Ie&&!M){let Y1=parseFloat(W5);isNaN(Y1)||(x(cl(Y1,b)),R.current.value=cl(Y1,b))}(Ee||Ie)&&d?.(t1,{value:Ue,displayValue:W5}),z(void 0)},I1;if(_!==void 0)I1=_;else if(o===null||p===null)I1=l??"",R.current.value=null,R.current.atBound="none";else{let t1=cl(p,b);R.current.value=t1,R.current.atBound=Pu(t1,n,i),M?I1=l??String(t1):I1=String(t1)}let G={spinState:A,atBound:R.current.atBound,components:{root:"span",input:"input",incrementButton:"button",decrementButton:"button"},root:T.always(f,{defaultProps:t.root,elementType:"span"}),input:T.always(h,{defaultProps:{autoComplete:"off",role:"spinbutton",type:"text",...t.primary},elementType:"input"}),incrementButton:T.always(g,{defaultProps:{tabIndex:-1,disabled:t.primary.readOnly||t.primary.disabled||R.current.atBound==="max"||R.current.atBound==="both","aria-label":"Increment value",type:"button"},elementType:"button"}),decrementButton:T.always(m,{defaultProps:{tabIndex:-1,disabled:t.primary.readOnly||t.primary.disabled||R.current.atBound==="min"||R.current.atBound==="both","aria-label":"Decrement value",type:"button"},elementType:"button"})};G.input.value=I1,G.input.ref=W(v,a),G.input["aria-valuemin"]=n,G.input["aria-valuemax"]=i;var w1;G.input["aria-valuenow"]=(w1=R.current.value)!==null&&w1!==void 0?w1:void 0;var G5;return G.input["aria-valuetext"]=(G5=G.input["aria-valuetext"])!==null&&G5!==void 0?G5:o!==void 0&&l||void 0,G.input.onChange=K(G.input.onChange,V),G.input.onInput=K(G.input.onInput,V),G.input.onBlur=K(G.input.onBlur,e1),G.input.onKeyDown=K(G.input.onKeyDown,J),G.input.onKeyUp=K(G.input.onKeyUp,A1),G.incrementButton.onMouseDown=K(N,G.incrementButton.onMouseDown),G.incrementButton.onMouseUp=K(G.incrementButton.onMouseUp,U),G.incrementButton.onMouseLeave=K(G.incrementButton.onMouseLeave,U),G.decrementButton.onMouseDown=K(E,G.decrementButton.onMouseDown),G.decrementButton.onMouseUp=K(G.decrementButton.onMouseUp,U),G.decrementButton.onMouseLeave=K(G.decrementButton.onMouseLeave,U),G},Ln=(e,a)=>{var t,o;let l=Sr();var r;let{appearance:n=(r=l.inputDefaultAppearance)!==null&&r!==void 0?r:"outline",size:i="medium",...c}=e,s=Ov(c,a);var u;(u=(t=s.incrementButton).children)!==null&&u!==void 0||(t.children=oe.createElement(OR,null));var d;return(d=(o=s.decrementButton).children)!==null&&d!==void 0||(o.children=oe.createElement(V8,null)),{...s,appearance:n,size:i}};var wn=e=>X(e.root,{children:[q(e.input,{}),q(e.incrementButton,{}),q(e.decrementButton,{})]});var sl={root:"fui-SpinButton",input:"fui-SpinButton__input",incrementButton:"fui-SpinButton__incrementButton",decrementButton:"fui-SpinButton__decrementButton"},rV={buttonActive:"fui-SpinButton__button_active"};var AU=o1("r109xulx","r1h2jnch",{r:[".r109xulx{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 0 0 var(--spacingHorizontalMNudge);border-radius:var(--borderRadiusMedium);}",'.r109xulx::before{content:"";box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r109xulx::after{box-sizing:border-box;content:"";position:absolute;right:0;bottom:0;left:0;z-index:20;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);}',".r109xulx:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r109xulx:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r109xulx:focus-within{outline:2px solid transparent;}",".r1h2jnch{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 var(--spacingHorizontalMNudge) 0 0;border-radius:var(--borderRadiusMedium);}",'.r1h2jnch::before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r1h2jnch::after{box-sizing:border-box;content:"";position:absolute;left:0;bottom:0;right:0;z-index:20;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);}',".r1h2jnch:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1h2jnch:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1h2jnch:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r109xulx::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r109xulx:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),CU=k({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",uwmqm3:["f1f5gg8d","f1vdfbxk"]},medium:{},outline:{},outlineInteractive:{Bo3r8zu:"f1w2y1rc",Hpvxnh:["f1gofhvl","f18htlvq"],Bx11ytk:"ffcnd28",B1rg0w0:["f18htlvq","f1gofhvl"],Bsg1tlv:"f6lmxco",Brjw370:["fcoc0mf","f15r4wkl"],xcfy85:"f1ipdth8",Bcc6kan:["f15r4wkl","fcoc0mf"]},underline:{B0qfbqy:"f1o236ok",B4f6apu:["faeg28l","f64aojp"],y0oebl:"fdw6hkg",uvfttm:["f64aojp","faeg28l"],r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"f1xyh2jw"},underlineInteractive:{Bx11ytk:"ffcnd28",xcfy85:"f1ipdth8",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fkp7w9h"},filled:{Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4"},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},filledInteractive:{B05mzqr:"f1xqt08",tb9y6h:["fzt5lgo","f8tv3r9"],jcehpj:"fyhrops",B23o0hn:["f8tv3r9","fzt5lgo"]},invalid:{emecyz:"fl48pg9",lz0pba:["f1a168p3","f1pvdymy"],Bo1k74p:"f11knvgl",Ba322q7:["f1pvdymy","f1a168p3"]},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",Bq4z7u6:"f1a0lfh7",Bk5zm6e:["f1p2ejm6","fmzytvz"],Bqjgrrk:"fas2e61",Bm6vgfq:["fmzytvz","f1p2ejm6"],Bvljrlq:"f1p5b8em",Cqojjj:["fs6f9xf","f11b7h5x"],G3zxag:"f1vrn6tw",H8270r:["f11b7h5x","fs6f9xf"]}},{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);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1o236ok::before{border-top-width:0;}",".faeg28l::before{border-right-width:0;}",".f64aojp::before{border-left-width:0;}",".fdw6hkg::before{border-bottom-width:1px;}",[".f1xyh2jw::before{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fkp7w9h::after{border-radius:var(--borderRadiusNone);}",{p:-1}],[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fl48pg9:not(:focus-within)::before,.fl48pg9:hover:not(:focus-within)::before{border-top-color:var(--colorPaletteRedBorder2);}",".f1a168p3:not(:focus-within)::before,.f1a168p3:hover:not(:focus-within)::before{border-right-color:var(--colorPaletteRedBorder2);}",".f1pvdymy:not(:focus-within)::before,.f1pvdymy:hover:not(:focus-within)::before{border-left-color:var(--colorPaletteRedBorder2);}",".f11knvgl:not(:focus-within)::before,.f11knvgl:hover:not(:focus-within)::before{border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1a0lfh7::before{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1p2ejm6::before{border-right-color:var(--colorNeutralStrokeDisabled);}",".fmzytvz::before{border-left-color:var(--colorNeutralStrokeDisabled);}",".fas2e61::before{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],h:[".f1w2y1rc:hover::before{border-top-color:var(--colorNeutralStroke1Hover);}",".f1gofhvl:hover::before{border-right-color:var(--colorNeutralStroke1Hover);}",".f18htlvq:hover::before{border-left-color:var(--colorNeutralStroke1Hover);}",".ffcnd28:hover::before{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".f1xqt08:hover::before,.f1xqt08:focus-within::before{border-top-color:var(--colorTransparentStrokeInteractive);}",".fzt5lgo:hover::before,.fzt5lgo:focus-within::before{border-right-color:var(--colorTransparentStrokeInteractive);}",".f8tv3r9:hover::before,.f8tv3r9:focus-within::before{border-left-color:var(--colorTransparentStrokeInteractive);}",".fyhrops:hover::before,.fyhrops:focus-within::before{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f6lmxco:active::before,.f6lmxco:focus-within::before{border-top-color:var(--colorNeutralStroke1Pressed);}",".fcoc0mf:active::before,.fcoc0mf:focus-within::before{border-right-color:var(--colorNeutralStroke1Pressed);}",".f15r4wkl:active::before,.f15r4wkl:focus-within::before{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1ipdth8:active::before,.f1ipdth8:focus-within::before{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f1p5b8em::before{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11b7h5x::before{border-left-color:GrayText;}.fs6f9xf::before{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vrn6tw::before{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),yU=o1("r1ljrqje",null,[".r1ljrqje{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:3;outline-style:none;border:0;padding:0;color:var(--colorNeutralForeground1);background-color:transparent;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;width:100%;}",".r1ljrqje::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),SU=k({disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",yvdlaj:"fahhnxm"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),nV=o1("r1g4chgs",null,[".r1g4chgs{display:inline-flex;width:24px;align-items:center;justify-content:center;border:0;position:absolute;outline-style:none;height:16px;background-color:transparent;color:var(--colorNeutralForeground3);grid-column-start:2;border-radius:0;padding:0 5px 0 5px;}",".r1g4chgs:active{outline-style:none;}",".r1g4chgs:enabled:hover{cursor:pointer;color:var(--colorNeutralForeground3Hover);background-color:var(--colorSubtleBackgroundHover);}",".r1g4chgs:enabled:active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:disabled{cursor:not-allowed;color:var(--colorNeutralForegroundDisabled);}"]),RU=k({increment:{Ijaq50:"f16hsg94",B7oj6ja:["f1jar5jt","fyu767a"],z8tnut:"f10ra9hq",Byoj8tv:"f1brlhvm"},decrement:{Ijaq50:"faunodf",Bbmb7ep:["f1aa9q02","f16jpd5f"],z8tnut:"f1sl3k7w",Byoj8tv:"f1y2xyjm"},incrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f4lv8q1","fm3uwd2"],Bqenvij:"fvblgha"},decrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1q86st8","frkrfqj"],Bqenvij:"fvblgha"},outline:{},underline:{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1bifk9c",p743kt:"fp1zg4s",B7xitij:"fo6hitd",B6siaa6:"f1wiab75",Ba9qmo4:"fj9zm5z",Dyrjrp:"f1cqwcg4"},"filled-darker":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"fwwxidx",p743kt:"fp1zg4s",B7xitij:"f14i52sd",B6siaa6:"f1wiab75",Ba9qmo4:"fwry2ka",Dyrjrp:"f1cqwcg4"},"filled-lighter":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1yywxnv",drw0cw:"fzaa11h",idzz8t:"f4fpmm9",Dyrjrp:"f1cqwcg4"}},{d:[".f16hsg94{grid-row-start:1;}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f10ra9hq{padding-top:4px;}",".f1brlhvm{padding-bottom:1px;}",".faunodf{grid-row-start:2;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1sl3k7w{padding-top:1px;}",".f1y2xyjm{padding-bottom:4px;}",[".f4lv8q1{padding:3px 6px 0px 4px;}",{p:-1}],[".fm3uwd2{padding:3px 4px 0px 6px;}",{p:-1}],".fvblgha{height:12px;}",[".f1q86st8{padding:0px 6px 3px 4px;}",{p:-1}],[".frkrfqj{padding:0px 4px 3px 6px;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1no7wuu:enabled:hover{color:var(--colorNeutralForeground3Hover);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fp1zg4s:enabled:active{color:var(--colorNeutralForeground3Pressed);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1wiab75:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".fj9zm5z:enabled.fui-SpinButton__button_active{background-color:var(--colorSubtleBackgroundPressed);}",".f1cqwcg4:disabled{color:var(--colorNeutralForegroundDisabled);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".fwry2ka:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground3Pressed);}",".f1yywxnv:enabled:hover{background-color:var(--colorNeutralBackground1Hover);}",".fzaa11h:enabled:active,.fzaa11h:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".f4fpmm9:enabled:active,.f4fpmm9:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground1Pressed);}"]}),kn=e=>{let{appearance:a,spinState:t,size:o}=e,l=e.input.disabled,r=`${e.input["aria-invalid"]}`=="true",n=a.startsWith("filled"),i=CU(),c=RU(),s=SU();return e.root.className=H(sl.root,AU(),i[o],i[a],n&&i.filled,!l&&a==="outline"&&i.outlineInteractive,!l&&a==="underline"&&i.underlineInteractive,!l&&n&&i.filledInteractive,!l&&r&&i.invalid,l&&i.disabled,e.root.className),e.incrementButton.className=H(sl.incrementButton,t==="up"&&`${rV.buttonActive}`,nV(),c.increment,c[a],o==="small"&&c.incrementButtonSmall,e.incrementButton.className),e.decrementButton.className=H(sl.decrementButton,t==="down"&&`${rV.buttonActive}`,nV(),c.decrement,c[a],o==="small"&&c.decrementButtonSmall,e.decrementButton.className),e.input.className=H(sl.input,yU(),l&&s.disabled,e.input.className),e};var E5=iV.forwardRef((e,a)=>{let t=Ln(e,a);return kn(t),j("useSpinButtonStyles_unstable")(t),wn(t)});E5.displayName="SpinButton";var dV=C(y(),1);var cV=C(y(),1);var Tn=(e,a)=>{var t;let{size:o="medium",...l}=e,r=Ev(l,a);var n;return(n=(t=r.indicator).children)!==null&&n!==void 0||(t.children=cV.createElement(S8,null)),{...r,components:{...r.components,label:s1},size:o,label:T.optional(e.label,{defaultProps:{size:"medium",...r.label},elementType:s1})}},Ev=(e,a)=>{e=O5(e,{supportsLabelFor:!0,supportsRequired:!0});let{checked:t,defaultChecked:o,disabled:l,disabledFocusable:r=!1,labelPosition:n="after",onChange:i,required:c}=e,s=r5({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),u=R1("switch-",s.primary.id),d=T.always(e.root,{defaultProps:{ref:c5(),...s.root},elementType:"div"}),f=T.always(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),h=T.always(e.input,{defaultProps:{checked:t,defaultChecked:o,id:u,ref:a,role:"switch",type:"checkbox",...s.primary,disabled:l&&!r,...r&&{"aria-disabled":!0}},elementType:"input"});h.onChange=K(h.onChange,m=>i?.(m,{checked:m.currentTarget.checked})),h.onClick=K(h.onClick,m=>{r&&m.preventDefault()}),h.onKeyDown=K(h.onKeyDown,m=>{r&&(m.key===" "||m.key==="Enter")&&m.preventDefault()});let g=T.optional(e.label,{defaultProps:{disabled:l||r,htmlFor:u,required:c},elementType:"label"});return{disabledFocusable:r,labelPosition:n,components:{root:"div",indicator:"div",input:"input",label:"label"},root:d,indicator:f,input:h,label:g}};var Bn=e=>{let{labelPosition:a}=e;return X(e.root,{children:[q(e.input,{}),a!=="after"&&e.label&&q(e.label,{}),q(e.indicator,{}),a==="after"&&e.label&&q(e.label,{})]})};var Ot={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},sV=Ot.root,uV=2,HU=20;var Ex1=HU-uV,FU=16;var Ix1=FU-uV,VU=o1("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),qU=k({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),LU=o1("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),wU=k({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),kU=o1("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),TU=k({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),BU=k({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),Dn=e=>{let a=VU(),t=qU(),o=LU(),l=wU(),r=kU(),n=TU(),i=BU(),{label:c,labelPosition:s,size:u}=e;return e.root.className=H(Ot.root,a,s==="above"&&t.vertical,e.root.className),e.indicator.className=H(Ot.indicator,o,c&&s==="above"&&l.labelAbove,u==="small"&&l.sizeSmall,e.indicator.className),e.input.className=H(Ot.input,r,c&&n[s],u==="small"&&n.sizeSmall,e.input.className),e.label&&(e.label.className=H(Ot.label,i.base,i[s],u==="small"&&i.sizeSmall,e.label.className)),e};var Fa=dV.forwardRef((e,a)=>{let t=Tn(e,a);return Dn(t),j("useSwitchStyles_unstable")(t),Bn(t)});Fa.displayName="Switch";var gV=C(y(),1);var Eu=C(y(),1);var hV=C(y(),1);var Va=C(y(),1);var Pn=(e,a)=>{let{appearance:t="transparent",reserveSelectedTabSpace:o=!0,size:l="medium"}=e,r=Iv(e,a),n=Uv({vertical:r.vertical});return{...r,root:{...n,...r.root},appearance:t,reserveSelectedTabSpace:o,size:l}},Iv=(e,a)=>{let{disabled:t=!1,onTabSelect:o,selectTabOnFocus:l=!1,vertical:r=!1,selectedValue:n,defaultSelectedValue:i,...c}=e,s=Va.useRef(null),[u,d]=S1({state:n,defaultState:i,initialState:void 0}),f=Va.useRef(void 0),h=Va.useRef(void 0);Va.useEffect(()=>{h.current=f.current,f.current=u},[u]);let g=L((v,M)=>{d(M.value),o?.(v,M)}),m=Va.useRef({}),b=L(v=>{let M=JSON.stringify(v.value);m.current[M]=v}),p=L(v=>{delete m.current[JSON.stringify(v.value)]}),x=Va.useCallback(()=>({selectedValue:f.current,previousSelectedValue:h.current,registeredTabs:m.current}),[]);return{components:{root:"div"},root:T.always({ref:W(a,s),role:"tablist","aria-orientation":r?"vertical":"horizontal",...c},{elementType:"div"}),disabled:t,selectTabOnFocus:l,selectedValue:u,onRegister:b,onUnregister:p,onSelect:g,getRegisteredTabs:x,vertical:r}},Uv=({vertical:e})=>W2({circular:!0,axis:e?"vertical":"horizontal",memorizeCurrent:!1,unstable_hasDefault:!0});var DU={appearance:"transparent",reserveSelectedTabSpace:!0,selectTabOnFocus:!1,disabled:!1,selectedValue:void 0,onRegister:()=>{},onUnregister:()=>{},onSelect:()=>{},getRegisteredTabs:()=>({registeredTabs:{}}),size:"medium",vertical:!1},Nu=V0(void 0),u7=Nu.Provider,$0=e=>Z0(Nu,(a=DU)=>e(a));var Nn=(e,a)=>q(e.root,{children:q(u7,{value:a.tabList,children:e.root.children})});var Ou={root:"fui-TabList"},PU=k({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bnnss6s:"fi64zpg",Eh141a:"flvyvdh",qhf8xq:"f10pi13n"},horizontal:{Bt984gj:"f1q9h2pe",Beiy3e4:"f1063pyq"},vertical:{Bt984gj:"f1q9h2pe",Beiy3e4:"f1vx9l62"},roundedSmall:{i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},rounded:{i8kkvl:0,Belr9w4:0,rmohyg:"faqewft"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fi64zpg{flex-shrink:0;}",".flvyvdh{flex-wrap:nowrap;}",".f10pi13n{position:relative;}",".f1q9h2pe{align-items:stretch;}",".f1vx9l62{flex-direction:column;}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],[".faqewft{gap:var(--spacingHorizontalS);}",{p:-1}]]}),On=e=>{let{appearance:a,vertical:t,size:o}=e,l=PU(),r=a==="subtle-circular"||a==="filled-circular";return e.root.className=H(Ou.root,l.root,t?l.vertical:l.horizontal,r&&(o==="small"?l.roundedSmall:l.rounded),e.root.className),e};var fV=C(y(),1);function En(e){let{appearance:a,reserveSelectedTabSpace:t,disabled:o,selectTabOnFocus:l,selectedValue:r,onRegister:n,onUnregister:i,onSelect:c,getRegisteredTabs:s,size:u,vertical:d}=e;return{tabList:fV.useMemo(()=>({appearance:a,reserveSelectedTabSpace:t,disabled:o,selectTabOnFocus:l,selectedValue:r,onSelect:c,onRegister:n,onUnregister:i,getRegisteredTabs:s,size:u,vertical:d}),[a,t,o,l,r,c,n,i,s,u,d])}}var ul=hV.forwardRef((e,a)=>{let t=Pn(e,a),o=En(t);return On(t),j("useTabListStyles_unstable")(t),Nn(t,o)});ul.displayName="TabList";var In=(e,a)=>{let{content:t}=e,o=jv(e,a),l=NU(o),r=$0(s=>s.appearance),n=$0(s=>s.reserveSelectedTabSpace),i=$0(s=>{var u;return(u=s.size)!==null&&u!==void 0?u:"medium"}),c=t&&typeof t=="object"?bs(t,["ref"]):t;return{...o,components:{...o.components,contentReservedSpace:"span"},root:{...l,...o.root},contentReservedSpace:T.optional(c,{renderByDefault:!o.selected&&!o.iconOnly&&n,defaultProps:{children:e.children},elementType:"span"}),appearance:r,size:i}},jv=(e,a)=>{let{content:t,disabled:o=!1,icon:l,onClick:r,onFocus:n,value:i,...c}=e,s=$0(S=>S.selectTabOnFocus),u=$0(S=>S.disabled),d=$0(S=>S.selectedValue===i),f=$0(S=>S.onRegister),h=$0(S=>S.onUnregister),g=$0(S=>S.onSelect),m=$0(S=>!!S.vertical),b=u||o,p=Eu.useRef(null),x=S=>g(S,{value:i}),v=L(K(r,x)),M=L(K(n,x));Eu.useEffect(()=>(f({value:i,ref:p}),()=>{h({value:i,ref:p})}),[f,h,p,i]);let _=T.optional(l,{elementType:"span"}),z=T.always(t,{defaultProps:{children:e.children},elementType:"span"}),A=!!(_?.children&&!z.children);return{components:{root:"button",icon:"span",content:"span",contentReservedSpace:"span"},root:T.always({ref:W(a,p),role:"tab",type:"button","aria-selected":b?void 0:`${d}`,value:i,...c,disabled:b,onClick:v,onFocus:s?M:n},{elementType:"button"}),icon:_,iconOnly:A,content:z,disabled:b,selected:d,value:i,vertical:m}},NU=({selected:e})=>Y0({focusable:{isDefault:e}});var Un=e=>X(e.root,{children:[e.icon&&q(e.icon,{}),!e.iconOnly&&q(e.content,{}),e.contentReservedSpace&&q(e.contentReservedSpace,{})]});var Gv=C(y(),1);var mV={offsetVar:"--fui-Tab__indicator--offset",scaleVar:"--fui-Tab__indicator--scale"},OU=k({base:{B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg"},animated:{Ba2ppi3:"fhwpy7i",F2fol1:"f6zz20j",B1dyfl9:"f1ai4sc1",Bu93a1u:"f1rnm8gg",Bdasjez:"f1x3cmqg"},horizontal:{sjv3b2:["fug4aj8","f1i5xzg7"],b1kco5:"f1q7ujh"},vertical:{sjv3b2:"f1hqboyk",b1kco5:"f1dxupa6"}},{d:[[".f1gl81tg{overflow:visible;}",{p:-1}],".fhwpy7i::after{transition-property:transform;}",".f6zz20j::after{transition-duration:var(--durationSlow);}",".f1ai4sc1::after{transition-timing-function:var(--curveDecelerateMax);}",".fug4aj8::after{transform-origin:left;}",".f1i5xzg7::after{transform-origin:right;}",".f1q7ujh::after{transform:translateX(var(--fui-Tab__indicator--offset)) scaleX(var(--fui-Tab__indicator--scale));}",".f1hqboyk::after{transform-origin:top;}",".f1dxupa6::after{transform:translateY(var(--fui-Tab__indicator--offset)) scaleY(var(--fui-Tab__indicator--scale));}"],m:[["@media (prefers-reduced-motion: reduce){.f1rnm8gg::after{transition-property:none;}}",{m:"(prefers-reduced-motion: reduce)"}],["@media (prefers-reduced-motion: reduce){.f1x3cmqg::after{transition-duration:0.01ms;}}",{m:"(prefers-reduced-motion: reduce)"}]]}),EU=e=>{if(e){var a;let t=((a=e.parentElement)===null||a===void 0?void 0:a.getBoundingClientRect())||{x:0,y:0,width:0,height:0},o=e.getBoundingClientRect();return{x:o.x-t.x,y:o.y-t.y,width:o.width,height:o.height}}},pV=(e,a)=>{var t;let o=Wv(a)?(t=e[JSON.stringify(a)])===null||t===void 0?void 0:t.ref.current:void 0;return o?EU(o):void 0},Wv=e=>e!=null,Iu=e=>{let{disabled:a,selected:t,vertical:o}=e,l=OU(),[r,n]=Gv.useState(),[i,c]=Gv.useState({offset:0,scale:1}),s=$0(h=>h.getRegisteredTabs),[u]=ht();if(t){let{previousSelectedValue:h,selectedValue:g,registeredTabs:m}=s();if(Wv(h)&&r!==h){let b=pV(m,h),p=pV(m,g);if(p&&b){let x=o?b.y-p.y:b.x-p.x,v=o?b.height/p.height:b.width/p.width;c({offset:x,scale:v}),n(h),u(()=>c({offset:0,scale:1}))}}}else Wv(r)&&n(void 0);if(a)return e;let d=i.offset===0&&i.scale===1;e.root.className=H(e.root.className,t&&l.base,t&&d&&l.animated,t&&(o?l.vertical:l.horizontal));let f={[mV.offsetVar]:`${i.offset}px`,[mV.scaleVar]:`${i.scale}`};return e.root.style={...f,...e.root.style},e};var d7={root:"fui-Tab",icon:"fui-Tab__icon",content:"fui-Tab__content"},Qv={content:"fui-Tab__content--reserved-space"};var vV=k({root:{Bt984gj:"f122n59",mc9l5x:"f13qh94s",Bnnss6s:"fi64zpg",Bxotwcr:"f1u07yai",Budl1dq:"frn2hmy",wkccdc:"f1olsevy",oeaueh:"f1s6fcnf",qhf8xq:"f10pi13n"},button:{Bt984gj:"f122n59",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bnnss6s:"fi64zpg",Bxotwcr:"f1u07yai",Budl1dq:"frn2hmy",wkccdc:"f1olsevy",Bahqtrf:"fk6fouc",Bg96gwp:"f1i3iumi",oeaueh:"f1s6fcnf",qhf8xq:"f10pi13n",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",B9bfxx9:"f1cxpek8"},horizontal:{Brf1p80:"f4d9j23"},vertical:{Brf1p80:"f1s9ku6b"},smallHorizontal:{i8kkvl:"f14mj54c",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1wmopi4"},smallVertical:{i8kkvl:"f14mj54c",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f12or63q"},mediumHorizontal:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1w08f2p"},mediumVertical:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fymxs25"},largeHorizontal:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ssfvub"},largeVertical:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fwkd1rq"},transparent:{De3pzq:"f1c21dwh",B95qlz1:"f9rvdkv",B7xitij:"f1051ucx",Bptxc3x:"fmmjozx",Bwqhzpy:"fqhzt5g",iyk698:"f7l5cgy",cl4aha:"fpkze5g",B0q3jbp:"f1iywnoi",Be9ayug:"f9n45c4"},subtle:{De3pzq:"fhovq9v",B95qlz1:"f1bifk9c",B7xitij:"fo6hitd",Bptxc3x:"fmmjozx",Bwqhzpy:"fqhzt5g",iyk698:"f7l5cgy",cl4aha:"fpkze5g",B0q3jbp:"f1iywnoi",Be9ayug:"f9n45c4"},disabledCursor:{Bceei9c:"fdrzuqr"},disabled:{De3pzq:"f1c21dwh",Bptxc3x:"fato7r6",cl4aha:"fao1bnu"},selected:{Bptxc3x:"f1cadz5z",Bwqhzpy:"fwhdxxj",iyk698:"fintccb",cl4aha:"ffplhdr",B0q3jbp:"fjo17wb",Be9ayug:"f148789c"}},{d:[".f122n59{align-items:center;}",".f13qh94s{display:grid;}",".fi64zpg{flex-shrink:0;}",".f1u07yai{grid-auto-flow:column;}",".frn2hmy{grid-template-columns:auto;}",".f1olsevy{grid-template-rows:auto;}",".f1s6fcnf{outline-style:none;}",".f10pi13n{position:relative;}",[".f3bhgqh{border:none;}",{p:-2}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cxpek8{text-transform:none;}",".f4d9j23{justify-content:center;}",".f1s9ku6b{justify-content:start;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",[".f1wmopi4{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalSNudge);}",{p:-1}],[".f12or63q{padding:var(--spacingVerticalXXS) var(--spacingHorizontalSNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",[".f1w08f2p{padding:var(--spacingVerticalM) var(--spacingHorizontalMNudge);}",{p:-1}],[".fymxs25{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalMNudge);}",{p:-1}],[".f1ssfvub{padding:var(--spacingVerticalL) var(--spacingHorizontalMNudge);}",{p:-1}],[".fwkd1rq{padding:var(--spacingVerticalS) var(--spacingHorizontalMNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f9rvdkv:enabled:hover{background-color:var(--colorTransparentBackgroundHover);}",".f1051ucx:enabled:active{background-color:var(--colorTransparentBackgroundPressed);}",".fmmjozx .fui-Tab__icon{color:var(--colorNeutralForeground2);}",".fqhzt5g:enabled:hover .fui-Tab__icon{color:var(--colorNeutralForeground2Hover);}",".f7l5cgy:enabled:active .fui-Tab__icon{color:var(--colorNeutralForeground2Pressed);}",".fpkze5g .fui-Tab__content{color:var(--colorNeutralForeground2);}",".f1iywnoi:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground2Hover);}",".f9n45c4:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground2Pressed);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".fdrzuqr{cursor:not-allowed;}",".fato7r6 .fui-Tab__icon{color:var(--colorNeutralForegroundDisabled);}",".fao1bnu .fui-Tab__content{color:var(--colorNeutralForegroundDisabled);}",".f1cadz5z .fui-Tab__icon{color:var(--colorCompoundBrandForeground1);}",".fwhdxxj:enabled:hover .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Hover);}",".fintccb:enabled:active .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Pressed);}",".ffplhdr .fui-Tab__content{color:var(--colorNeutralForeground1);}",".fjo17wb:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground1Hover);}",".f148789c:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground1Pressed);}"]}),IU=k({base:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",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:"fp7rvkm",Bptxc3x:"ftorr8m",cl4aha:"f16lqpmv"},small:{Dbcxam:0,rjzwhg:0,Bblux5w:"fzklhed"},medium:{Dbcxam:0,rjzwhg:0,Bblux5w:"f1j721cc"},large:{Dbcxam:0,rjzwhg:0,Bblux5w:"frx9knr"},subtle:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",B95qlz1:"f1bifk9c",Eo63ln:0,r9osk6:0,Itrz8y:0,zeg6vx:0,l65xgk:0,Bw4olcx:0,Folb0i:0,I2h8y4:0,Bgxgoyi:0,Bvlkotb:0,Fwyncl:0,Byh5edv:0,Becqvjq:0,uumbiq:0,B73q3dg:0,Bblwbaf:0,B0ezav:"ft57sj0",r4wkhp:"f1fcoy83",B7xitij:"fo6hitd",d3wsvi:0,Hdqn7s:0,zu5y1p:0,owqphb:0,g9c53k:0,Btmu08z:0,Bthxvy6:0,gluvuq:0,tb88gp:0,wns6jk:0,kdfdk4:0,Bbw008l:0,Bayi1ib:0,B1kkfu3:0,J1oqyp:0,kem6az:0,goa3yj:"fhn220o",p743kt:"f15qf7sh",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1mljprk"},subtleSelected:{De3pzq:"f16xkysk",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:"f1c2pc3t",sj55zd:"faj9fo0",B95qlz1:"fsm7zmf",Eo63ln:0,r9osk6:0,Itrz8y:0,zeg6vx:0,l65xgk:0,Bw4olcx:0,Folb0i:0,I2h8y4:0,Bgxgoyi:0,Bvlkotb:0,Fwyncl:0,Byh5edv:0,Becqvjq:0,uumbiq:0,B73q3dg:0,Bblwbaf:0,B0ezav:"f1wo0sfq",r4wkhp:"f1afuynh",B7xitij:"f94ddyl",d3wsvi:0,Hdqn7s:0,zu5y1p:0,owqphb:0,g9c53k:0,Btmu08z:0,Bthxvy6:0,gluvuq:0,tb88gp:0,wns6jk:0,kdfdk4:0,Bbw008l:0,Bayi1ib:0,B1kkfu3:0,J1oqyp:0,kem6az:0,goa3yj:"fmle6oo",p743kt:"f1d3itm4",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1e9l2u"},subtleDisabled:{De3pzq:"fhovq9v",sj55zd:"f1s2aq7o"},subtleDisabledSelected:{De3pzq:"f1bg9a2p",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:"fegtqic",sj55zd:"f1s2aq7o"},filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb",B95qlz1:"fwwxidx",r4wkhp:"f1fcoy83",B7xitij:"f14i52sd",p743kt:"f15qf7sh",Hhssn:"f1cpi5f4",uaurb9:"f6pj1s0",B401qx7:"f12sz5kj",Buyp1jb:"f17588c3",gsp74p:"fnthgdt"},filledSelected:{De3pzq:"ffp7eso",sj55zd:"f1phragk",B95qlz1:"f1lm9dni",r4wkhp:"f1mn5ei1",B7xitij:"f1g6ncd0",p743kt:"fl71aob",Gedr8k:"f14zl92z",Bm69vlq:"f16zy3eu",Bodipah:"f1gdgb7p",B5kpen0:"f1tua9ng"},filledDisabled:{De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o"},filledDisabledSelected:{De3pzq:"f1bg9a2p",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:"fegtqic",sj55zd:"f1s2aq7o"}},{d:[[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fp7rvkm{border:solid var(--strokeWidthThin) var(--colorTransparentStroke);}",{p:-2}],".ftorr8m .fui-Tab__icon{color:inherit;}",".f16lqpmv .fui-Tab__content{color:inherit;}",[".fzklhed{padding-block:calc(var(--spacingVerticalXXS) - var(--strokeWidthThin));}",{p:-1}],[".f1j721cc{padding-block:calc(var(--spacingVerticalSNudge) - var(--strokeWidthThin));}",{p:-1}],[".frx9knr{padding-block:calc(var(--spacingVerticalS) - var(--strokeWidthThin));}",{p:-1}],".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",[".ft57sj0:enabled:hover{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Hover);}",{p:-2}],".f1fcoy83:enabled:hover{color:var(--colorNeutralForeground2Hover);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",[".fhn220o:enabled:active{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Pressed);}",{p:-2}],".f15qf7sh:enabled:active{color:var(--colorNeutralForeground2Pressed);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",[".f1c2pc3t{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStroke);}",{p:-2}],".faj9fo0{color:var(--colorBrandForeground2);}",".fsm7zmf:enabled:hover{background-color:var(--colorBrandBackground2Hover);}",[".f1wo0sfq:enabled:hover{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStrokeHover);}",{p:-2}],".f1afuynh:enabled:hover{color:var(--colorBrandForeground2Hover);}",".f94ddyl:enabled:active{background-color:var(--colorBrandBackground2Pressed);}",[".fmle6oo:enabled:active{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStrokePressed);}",{p:-2}],".f1d3itm4:enabled:active{color:var(--colorBrandForeground2Pressed);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",[".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".f1lm9dni:enabled:hover{background-color:var(--colorBrandBackgroundHover);}",".f1mn5ei1:enabled:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1g6ncd0:enabled:active{background-color:var(--colorBrandBackgroundPressed);}",".fl71aob:enabled:active{color:var(--colorNeutralForegroundOnBrand);}",[".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",{p:-2}]],m:[["@media (forced-colors: active){.f1mljprk{border:solid var(--strokeWidthThin) Canvas;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e9l2u{border:solid var(--strokeWidthThin) Highlight;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cpi5f4:enabled:hover{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f6pj1s0:enabled:hover{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12sz5kj:enabled:hover .fui-Tab__content{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f17588c3:enabled:hover .fui-Icon-filled{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnthgdt:enabled:hover .fui-Icon-regular{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14zl92z:enabled{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16zy3eu:enabled .fui-Tab__content{color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gdgb7p:enabled .fui-Tab__content{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tua9ng:enabled .fui-Tab__icon{color:ButtonFace;}}",{m:"(forced-colors: active)"}]]}),UU=k({base:{B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bn4voq9:"f1p7hgxw",Bfpq7zp:"f1way5bb",g9k6zt:"f9znhxp",j6ew2k:["fqa318h","fqa318h"],Bhxq17a:"f1vjpng2"},circular:{B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bn4voq9:"f1p7hgxw",Bfpq7zp:"f1way5bb",g9k6zt:"f9znhxp",j6ew2k:["fzgyhws","fqxug60"],Bhxq17a:"f1vjpng2"}},{d:[".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",".f1p7hgxw[data-fui-focus-visible]{outline-width:var(--strokeWidthThick);}",".f1way5bb[data-fui-focus-visible]{outline-color:transparent;}",".f9znhxp[data-fui-focus-visible]{outline-style:solid;}",".fqa318h[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2);}",".f1vjpng2[data-fui-focus-visible]{z-index:1;}",".fzgyhws[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),0 0 0 var(--strokeWidthThin) var(--colorNeutralStrokeOnBrand) inset;}",".fqxug60[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),0 0 0 var(--strokeWidthThin) var(--colorNeutralStrokeOnBrand) inset;}"]}),jU=k({base:{az7l2e:"fhw179n",vqofr:0,Bv4n3vi:0,Bgqb9hq:0,B0uxbk8:0,Bf3jju6:"fg9j5n4",amg5m6:"f1kmhr4c",zkfqfm:"fl1ydde",Bkydozb:"f1y7maxz",Bka2azo:0,vzq8l0:0,csmgbd:0,Br4ovkg:0,aelrif:"fceyvr4",y36c18:"f16cxu0",B1ctymy:"f1nwgacf",xzc5d:"fm6alxz",h5yqg8:"fhx32z1"},disabled:{az7l2e:"f1ut20fw",Bkydozb:"fhrzcfn",xzc5d:"fw15awd",h5yqg8:"faqmq51"},smallHorizontal:{lawp4y:"fchca7p",Baz25je:"f1r53b5e",Fbdkly:["f1s6rxz5","fo35v8s"],mdwyqc:["fo35v8s","f1s6rxz5"]},smallVertical:{lawp4y:"fze4zud",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"fdp32p8",Ccq8qp:"f1aij3q"},mediumHorizontal:{lawp4y:"fchca7p",Baz25je:"f1s2r9ax",Fbdkly:["f1o0nnkk","fxb7rol"],mdwyqc:["fxb7rol","f1o0nnkk"]},mediumVertical:{lawp4y:"f17jracn",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"f117lcb2",Ccq8qp:"f1aij3q"},largeHorizontal:{lawp4y:"fchca7p",Baz25je:"f1s2r9ax",Fbdkly:["f1o0nnkk","fxb7rol"],mdwyqc:["fxb7rol","f1o0nnkk"]},largeVertical:{lawp4y:"fel9d3z",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"f6vqlre",Ccq8qp:"f1aij3q"}},{h:[".fhw179n:hover::before{background-color:var(--colorNeutralStroke1Hover);}",[".fg9j5n4:hover::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f1kmhr4c:hover::before{content:"";}',".fl1ydde:hover::before{position:absolute;}",".f1ut20fw:hover::before{background-color:var(--colorTransparentStroke);}"],a:[".f1y7maxz:active::before{background-color:var(--colorNeutralStroke1Pressed);}",[".fceyvr4:active::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f16cxu0:active::before{content:"";}',".f1nwgacf:active::before{position:absolute;}",".fhrzcfn:active::before{background-color:var(--colorTransparentStroke);}"],m:[["@media (forced-colors: active){.fm6alxz:hover::before{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fhx32z1:active::before{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw15awd:hover::before{background-color:transparent;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faqmq51:active::before{background-color:transparent;}}",{m:"(forced-colors: active)"}]],d:[".fchca7p::before{bottom:0;}",".f1r53b5e::before{height:var(--strokeWidthThick);}",".f1s6rxz5::before{left:var(--spacingHorizontalSNudge);}",".fo35v8s::before{right:var(--spacingHorizontalSNudge);}",".fze4zud::before{bottom:var(--spacingVerticalXS);}",".f1fzr1x6::before{left:0;}",".f1f351id::before{right:0;}",".fdp32p8::before{top:var(--spacingVerticalXS);}",".f1aij3q::before{width:var(--strokeWidthThicker);}",".f1s2r9ax::before{height:var(--strokeWidthThicker);}",".f1o0nnkk::before{left:var(--spacingHorizontalM);}",".fxb7rol::before{right:var(--spacingHorizontalM);}",".f17jracn::before{bottom:var(--spacingVerticalS);}",".f117lcb2::before{top:var(--spacingVerticalS);}",".fel9d3z::before{bottom:var(--spacingVerticalMNudge);}",".f6vqlre::before{top:var(--spacingVerticalMNudge);}"]}),GU=k({base:{Bjyk6c5:"f1rp0jgh",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f3b9emi",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9"},selected:{Bjyk6c5:"f1ksivud",Bej4dhw:"f1476jrx",B7wqxwa:"f18q216b",Hwb57:"f1wf6u82",Beg08s0:"f1xwit7m",Bo27r1v:"f1ksfgwi"},disabled:{Bjyk6c5:"f13lkzet"},smallHorizontal:{By385i5:"fo72kxq",Dlnsje:"f9bb2ob",Eqx8gd:["f1q70ajw","f18rbzdx"],B1piin3:["f18rbzdx","f1q70ajw"]},smallVertical:{By385i5:"fqbue9b",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"fk1klkt",a2br6o:"f1o25lip"},mediumHorizontal:{By385i5:"fo72kxq",Dlnsje:"f1vx7lu8",Eqx8gd:["fna7m5n","f1oxpfwv"],B1piin3:["f1oxpfwv","fna7m5n"]},mediumVertical:{By385i5:"fipylg0",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"fqchiol",a2br6o:"f1o25lip"},largeHorizontal:{By385i5:"fo72kxq",Dlnsje:"f1vx7lu8",Eqx8gd:["fna7m5n","f1oxpfwv"],B1piin3:["f1oxpfwv","fna7m5n"]},largeVertical:{By385i5:"f1w7dm5g",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"f1p6em4m",a2br6o:"f1o25lip"}},{d:[".f1rp0jgh::after{background-color:var(--colorTransparentStroke);}",[".f3b9emi::after{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1ksivud::after{background-color:var(--colorCompoundBrandStroke);}",".f1476jrx:enabled:hover::after{background-color:var(--colorCompoundBrandStrokeHover);}",".f18q216b:enabled:active::after{background-color:var(--colorCompoundBrandStrokePressed);}",".f13lkzet::after{background-color:var(--colorNeutralForegroundDisabled);}",".fo72kxq::after{bottom:0;}",".f9bb2ob::after{height:var(--strokeWidthThick);}",".f1q70ajw::after{left:var(--spacingHorizontalSNudge);}",".f18rbzdx::after{right:var(--spacingHorizontalSNudge);}",".fqbue9b::after{bottom:var(--spacingVerticalXS);}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fk1klkt::after{top:var(--spacingVerticalXS);}",".f1o25lip::after{width:var(--strokeWidthThicker);}",".f1vx7lu8::after{height:var(--strokeWidthThicker);}",".fna7m5n::after{left:var(--spacingHorizontalM);}",".f1oxpfwv::after{right:var(--spacingHorizontalM);}",".fipylg0::after{bottom:var(--spacingVerticalS);}",".fqchiol::after{top:var(--spacingVerticalS);}",".f1w7dm5g::after{bottom:var(--spacingVerticalMNudge);}",".f1p6em4m::after{top:var(--spacingVerticalMNudge);}"],m:[["@media (forced-colors: active){.f1wf6u82::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1xwit7m:enabled:hover::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ksfgwi:enabled:active::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}]]}),WU=k({base:{Br312pm:"fwpfdsa",Ijaq50:"f16hsg94",Bt984gj:"f122n59",mc9l5x:"ftuwxu6",Brf1p80:"f4d9j23",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",D0sxk3:"f16u1re",t6yez3:"f8bsbmo"},small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},medium:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun"},selected:{D0sxk3:"fxoiby5",t6yez3:"f15q0o9g"}},{d:[".fwpfdsa{grid-column-start:1;}",".f16hsg94{grid-row-start:1;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".f4d9j23{justify-content:center;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f16u1re .fui-Icon-filled{display:none;}",".f8bsbmo .fui-Icon-regular{display:inline;}",".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}"]}),QU=k({base:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bwptpd"},selected:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"},largeSelected:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},noIconBefore:{Br312pm:"fwpfdsa",Ijaq50:"f16hsg94"},iconBefore:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94"},placeholder:{Bcdw1i0:"fd7fpy0"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1bwptpd{padding:var(--spacingVerticalNone) var(--spacingHorizontalXXS);}",{p:-1}],".fl43uef{font-weight:var(--fontWeightSemibold);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fwpfdsa{grid-column-start:1;}",".f16hsg94{grid-row-start:1;}",".fd46tj4{grid-column-start:2;}",".fd7fpy0{visibility:hidden;}"]}),jn=e=>{"use no memo";return Kv(e),Xv(e,e.root),Yv(e),e},Kv=e=>{let a=vV(),t=jU(),o=GU(),{appearance:l,disabled:r,selected:n,size:i,vertical:c}=e,s=[d7.root,a.root];return l!=="subtle-circular"&&l!=="filled-circular"&&s.push(t.base,i==="small"&&(c?t.smallVertical:t.smallHorizontal),i==="medium"&&(c?t.mediumVertical:t.mediumHorizontal),i==="large"&&(c?t.largeVertical:t.largeHorizontal),r&&t.disabled,n&&o.base,n&&!r&&o.selected,n&&i==="small"&&(c?o.smallVertical:o.smallHorizontal),n&&i==="medium"&&(c?o.mediumVertical:o.mediumHorizontal),n&&i==="large"&&(c?o.largeVertical:o.largeHorizontal),n&&r&&o.disabled),e.root.className=H(...s,e.root.className),Iu(e),e},Xv=(e,a)=>{let t=vV(),o=UU(),l=IU(),{appearance:r,disabled:n,selected:i,size:c,vertical:s}=e,u=r==="subtle-circular",d=r==="filled-circular",f=u||d,h=[l.base,o.circular,c==="small"&&l.small,c==="medium"&&l.medium,c==="large"&&l.large,u&&l.subtle,i&&u&&l.subtleSelected,n&&u&&l.subtleDisabled,i&&n&&u&&l.subtleDisabledSelected,d&&l.filled,i&&d&&l.filledSelected,n&&d&&l.filledDisabled,i&&n&&d&&l.filledDisabledSelected],g=[o.base,!n&&r==="subtle"&&t.subtle,!n&&r==="transparent"&&t.transparent,!n&&i&&t.selected,n&&t.disabled];return a.className=H(t.button,s?t.vertical:t.horizontal,c==="small"&&(s?t.smallVertical:t.smallHorizontal),c==="medium"&&(s?t.mediumVertical:t.mediumHorizontal),c==="large"&&(s?t.largeVertical:t.largeHorizontal),...f?h:g,n&&t.disabledCursor,a.className),e},Yv=e=>{let a=WU(),t=QU(),{selected:o,size:l}=e;return e.icon&&(e.icon.className=H(d7.icon,a.base,a[l],o&&a.selected,e.icon.className)),e.contentReservedSpace&&(e.contentReservedSpace.className=H(Qv.content,t.base,l==="large"?t.largeSelected:t.selected,e.icon?t.iconBefore:t.noIconBefore,t.placeholder,e.content.className),e.contentReservedSpaceClassName=e.contentReservedSpace.className),e.content.className=H(d7.content,t.base,l==="large"&&t.large,o&&(l==="large"?t.largeSelected:t.selected),e.icon?t.iconBefore:t.noIconBefore,e.content.className),e};var qa=gV.forwardRef((e,a)=>{let t=In(e,a);return jn(t),j("useTabStyles_unstable")(t),Un(t)});qa.displayName="Tab";var xV=C(y(),1);var Gn=(e,a)=>{let{wrap:t,truncate:o,block:l,italic:r,underline:n,strikethrough:i,size:c,font:s,weight:u,align:d}=e;return{align:d??"start",block:l??!1,font:s??"base",italic:r??!1,size:c??300,strikethrough:i??!1,truncate:o??!1,underline:n??!1,weight:u??"regular",wrap:t??!0,components:{root:"span"},root:T.always(l1("span",{ref:a,...e}),{elementType:"span"})}};var Wn=e=>q(e.root,{});var Uu={root:"fui-Text"},KU=k({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;}"]}),Qn=e=>{let a=KU();return e.root.className=H(Uu.root,a.root,e.wrap===!1&&a.nowrap,e.truncate&&a.truncate,e.block&&a.block,e.italic&&a.italic,e.underline&&a.underline,e.strikethrough&&a.strikethrough,e.underline&&e.strikethrough&&a.strikethroughUnderline,e.size===100&&a.base100,e.size===200&&a.base200,e.size===400&&a.base400,e.size===500&&a.base500,e.size===600&&a.base600,e.size===700&&a.hero700,e.size===800&&a.hero800,e.size===900&&a.hero900,e.size===1e3&&a.hero1000,e.font==="monospace"&&a.monospace,e.font==="numeric"&&a.numeric,e.weight==="medium"&&a.weightMedium,e.weight==="semibold"&&a.weightSemibold,e.weight==="bold"&&a.weightBold,e.align==="center"&&a.alignCenter,e.align==="end"&&a.alignEnd,e.align==="justify"&&a.alignJustify,e.root.className),e};var Z=xV.forwardRef((e,a)=>{let t=Gn(e,a);return Qn(t),j("useTextStyles_unstable")(t),Wn(t)});Z.displayName="Text";var CV=C(y(),1);var zV=C(y(),1);var Zv=C(y(),1);var bV=o1("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),MV=o1("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function _V(){let e=bV(),a=MV(),{targetDocument:t}=Q(),o=Zv.useCallback(()=>{var r;if(!t)return;var n;Math.floor(t.body.getBoundingClientRect().height)>((n=(r=t.defaultView)===null||r===void 0?void 0:r.innerHeight)!==null&&n!==void 0?n:0)&&(t.documentElement.classList.add(e),t.body.classList.add(a))},[t,e,a]),l=Zv.useCallback(()=>{t&&(t.documentElement.classList.remove(e),t.body.classList.remove(a))},[t,e,a]);return{disableBodyScroll:o,enableBodyScroll:l}}var ju=C(y(),1);function Jv(e,a){let{findFirstFocusable:t}=O0(),{targetDocument:o}=Q(),l=ju.useRef(null);return ju.useEffect(()=>{if(!e)return;let r=l.current&&t(l.current);if(r)r.focus();else{var n;(n=l.current)===null||n===void 0||n.focus()}},[t,e,a,o]),l}var XU={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Kn=V0(void 0),Gu=Kn.Provider,u5=e=>Z0(Kn,(a=XU)=>e(a));var Wu=C(y(),1),YU=!1,$v=Wu.createContext(void 0),Xn=$v.Provider,Qu=()=>{var e;return(e=Wu.useContext($v))!==null&&e!==void 0?e:YU};var Ku=C(y(),1),eg=Ku.createContext(void 0),ZU=eg.Provider,Xu=()=>Ku.useContext(eg);var ag=Ma(Kr,{outScale:.85,easing:H1.curveDecelerateMid,duration:H1.durationGentle,exitEasing:H1.curveAccelerateMin,exitDuration:H1.durationGentle});var Yn=e=>{let{children:a,modalType:t="modal",onOpenChange:o,inertTrapFocus:l=!1,unmountOnClose:r=!0}=e,n=R1("dialog-title-"),[i,c]=JU(a),[s,u]=S1({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=L(b=>{o?.(b.event,b),b.event.isDefaultPrevented()||u(b.open)}),f=Jv(s,t),{modalAttributes:h,triggerAttributes:g}=Ae({trapFocus:t!=="non-modal",legacyTrapFocus:!l}),m=T2(Kn);return{components:{surfaceMotion:ag},inertTrapFocus:l,open:s,modalType:t,content:c,trigger:i,requestOpenChange:d,dialogTitleId:n,isNestedDialog:m,unmountOnClose:r,dialogRef:f,modalAttributes:h,triggerAttributes:g,surfaceMotion:za(e.surfaceMotion,{elementType:ag,defaultProps:{visible:s,appear:r,unmountOnExit:r}})}};function JU(e){let a=zV.Children.toArray(e);switch(a.length){case 2:return a;case 1:return[void 0,a[0]];default:return[void 0,void 0]}}var IM1=C(y(),1);var Zn=(e,a)=>q(Gu,{value:a.dialog,children:X(Xn,{value:a.dialogSurface,children:[e.trigger,e.content&&q(e.surfaceMotion,{children:q(Ft,{children:e.content})})]})});var AV=C(y(),1);function Yu(e){let{modalType:a,open:t,dialogRef:o,dialogTitleId:l,isNestedDialog:r,inertTrapFocus:n,requestOpenChange:i,modalAttributes:c,triggerAttributes:s,unmountOnClose:u}=e;return{dialog:AV.useMemo(()=>({open:t,modalType:a,dialogRef:o,dialogTitleId:l,isNestedDialog:r,inertTrapFocus:n,modalAttributes:c,triggerAttributes:s,unmountOnClose:u,requestOpenChange:i}),[t,a,o,l,r,n,c,s,u,i]),dialogSurface:!1}}var dl=CV.memo(e=>{let a=Yn(e),t=Yu(a);return Zn(a,t)});dl.displayName="Dialog";var Jn=e=>{let a=Qu(),{children:t,disableButtonEnhancement:o=!1,action:l=a?"close":"open"}=e,r=ma(t),n=u5(d=>d.requestOpenChange),{triggerAttributes:i}=Ae(),c=L(d=>{var f,h;r==null||(f=(h=r.props).onClick)===null||f===void 0||f.call(h,d),d.isDefaultPrevented()||n({event:d,type:"triggerClick",open:l==="open"})}),s={...r?.props,ref:ge(r),onClick:c,...i},u=M5(r?.type==="button"||r?.type==="a"?r.type:"div",{...s,type:"button"});return{children:xt(t,o?s:u)}};var $n=e=>e.children;var Te=e=>{let a=Jn(e);return $n(a)};Te.displayName="DialogTrigger";Te.isFluentTriggerComponent=!0;var yV=C(y(),1);var e6=(e,a)=>{var t;return{components:{root:"div"},root:T.always(l1((t=e.as)!==null&&t!==void 0?t:"div",{ref:a,...e}),{elementType:"div"})}};var a6=e=>q(e.root,{});var Zu={root:"fui-DialogBody"},$U=o1("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;}}"]}),t6=e=>{let a=$U();return e.root.className=H(Zu.root,a,e.root.className),e};var fl=yV.forwardRef((e,a)=>{let t=e6(e,a);return t6(t),j("useDialogBodyStyles_unstable")(t),a6(t)});fl.displayName="DialogBody";var SV=C(y(),1);var Ju=C(y(),1);var o6={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},ej=o1("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),aj=k({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),tj=o1("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),tg=o1("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),l6=e=>{let a=ej(),t=tj(),o=aj();return e.root.className=H(o6.root,a,!e.action&&o.rootWithoutAction,e.root.className),e.action&&(e.action.className=H(o6.action,t,e.action.className)),e};var r6=(e,a)=>{let{action:t}=e,o=u5(r=>r.modalType),l=tg();return{components:{root:"h2",action:"div"},root:T.always(l1("h2",{ref:a,id:u5(r=>r.dialogTitleId),...e}),{elementType:"h2"}),action:T.optional(t,{renderByDefault:o==="non-modal",defaultProps:{children:Ju.createElement(Te,{disableButtonEnhancement:!0,action:"close"},Ju.createElement("button",{type:"button",className:l,"aria-label":"close"},Ju.createElement(UR,null)))},elementType:"div"})}};var n6=e=>X(e4.Fragment,{children:[q(e.root,{children:e.root.children}),e.action&&q(e.action,{})]});var hl=SV.forwardRef((e,a)=>{let t=r6(e,a);return l6(t),j("useDialogTitleStyles_unstable")(t),n6(t)});hl.displayName="DialogTitle";var RV=C(y(),1);var og=I8;var i6=(e,a)=>{let t=Oo(),o=u5(v=>v.modalType),l=u5(v=>v.isNestedDialog),r=Xu(),n=r??l,i=u5(v=>v.modalAttributes),c=u5(v=>v.dialogRef),s=u5(v=>v.requestOpenChange),u=u5(v=>v.dialogTitleId),d=u5(v=>v.open),f=u5(v=>v.unmountOnClose),h=L(v=>{if(Cr(e.backdrop)){var M,_;(M=(_=e.backdrop).onClick)===null||M===void 0||M.call(_,v)}o==="modal"&&!v.isDefaultPrevented()&&s({event:v,open:!1,type:"backdropClick"})}),g=L(v=>{var M;(M=e.onKeyDown)===null||M===void 0||M.call(e,v),v.key===x5&&!v.isDefaultPrevented()&&(s({event:v,open:!1,type:"escapeKeyDown"}),v.preventDefault())}),m=T.optional(e.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),b=m?.appearance;m&&(m.onClick=h,delete m.appearance);let{disableBodyScroll:p,enableBodyScroll:x}=_V();return m1(()=>{if(!d){x();return}if(!(l||o==="non-modal"))return p(),()=>x()},[d,o,l,p,x]),{components:{backdrop:"div",root:"div",backdropMotion:og},open:d,backdrop:m,isNestedDialog:l,treatBackdropAsNested:n,backdropAppearance:b,unmountOnClose:f,mountNode:e.mountNode,root:T.always(l1("div",{tabIndex:-1,role:o==="alert"?"alertdialog":"dialog","aria-modal":o!=="non-modal","aria-labelledby":e["aria-label"]?void 0:u,"aria-hidden":!f&&!d?!0:void 0,...e,...i,onKeyDown:g,ref:W(a,t,c)}),{elementType:"div"}),backdropMotion:za(e.backdropMotion,{elementType:og,defaultProps:{appear:f,visible:d}}),transitionStatus:void 0}};var c6=(e,a)=>X(ae,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&q(e.backdropMotion,{children:q(e.backdrop,{})}),q(N8,{children:q(Xn,{value:a.dialogSurface,children:q(e.root,{})})})]});var s6={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},oj=o1("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;}}"]}),lj=o1("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),rj=k({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),u6=e=>{let{root:a,backdrop:t,open:o,unmountOnClose:l,treatBackdropAsNested:r,backdropAppearance:n}=e,i=oj(),c=lj(),s=rj(),u=n?n==="transparent":r,d=!l&&!o;return a.className=H(s6.root,i,d&&s.dialogHidden,a.className),t&&(t.className=H(s6.backdrop,c,d&&s.dialogHidden,u&&s.nestedDialogBackdrop,t.className)),e};function d6(e){return{dialogSurface:!0}}var ml=RV.forwardRef((e,a)=>{let t=i6(e,a),o=d6(t);return u6(t),j("useDialogSurfaceStyles_unstable")(t),c6(t,o)});ml.displayName="DialogSurface";var HV=C(y(),1);var f6=(e,a)=>{var t;return{components:{root:"div"},root:T.always(l1((t=e.as)!==null&&t!==void 0?t:"div",{ref:a,...e}),{elementType:"div"})}};var h6=e=>q(e.root,{});var $u={root:"fui-DialogContent"},nj=o1("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;}}"]}),m6=e=>{let a=nj();return e.root.className=H($u.root,a,e.root.className),e};var pl=HV.forwardRef((e,a)=>{let t=f6(e,a);return m6(t),j("useDialogContentStyles_unstable")(t),h6(t)});pl.displayName="DialogContent";var M6=C(y(),1);var ed=C(y(),1);var p6=()=>{},ad={allRowsSelected:!1,clearRows:p6,deselectRow:p6,isRowSelected:()=>!1,selectRow:p6,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:p6,toggleRow:p6,selectionMode:"multiselect"};function v6(e){return a=>FV(a,e)}function FV(e,a){let{items:t,getRowId:o}=e,{selectionMode:l,defaultSelectedItems:r,selectedItems:n,onSelectionChange:i}=a,[c,s]=Ls({selectionMode:l,defaultSelectedItems:r,selectedItems:n,onSelectionChange:i}),u=ed.useMemo(()=>{let v=new Set;for(let _=0;_<t.length;_++){var M;v.add((M=o?.(t[_]))!==null&&M!==void 0?M:_)}return v},[t,o]),d=ed.useMemo(()=>{if(l==="single"){let M=Array.from(c)[0];return u.has(M)}if(c.size<u.size||u.size===0)return!1;let v=!0;return u.forEach(M=>{c.has(M)||(v=!1)}),v},[u,c,l]),f=ed.useMemo(()=>{if(c.size<=0)return!1;let v=!1;return u.forEach(M=>{c.has(M)&&(v=!0)}),v},[u,c]),h=L(v=>{s.toggleAllItems(v,t.map((M,_)=>{var z;return(z=o?.(M))!==null&&z!==void 0?z:_}))}),g=L((v,M)=>s.toggleItem(v,M)),m=L((v,M)=>s.deselectItem(v,M)),b=L((v,M)=>s.selectItem(v,M)),p=v=>s.isSelected(v),x=L(v=>s.clearItems(v));return{...e,selection:{selectionMode:l,someRowsSelected:f,allRowsSelected:d,selectedRows:c,toggleRow:g,toggleAllRows:h,clearRows:x,deselectRow:m,selectRow:b,isRowSelected:p}}}var lg=C(y(),1);var rg=()=>{},td={getSortDirection:()=>"ascending",setColumnSort:rg,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:rg};function g6(e){return a=>VV(a,e)}function VV(e,a){let{columns:t}=e,{sortState:o,defaultSortState:l,onSortChange:r=rg}=a,[n,i]=S1({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:l,state:o}),{sortColumn:c,sortDirection:s}=n,u=L(r),d=lg.useCallback((m,b)=>{i(p=>{let x={...p,sortColumn:b};return p.sortColumn===b?x.sortDirection=p.sortDirection==="ascending"?"descending":"ascending":x.sortDirection="ascending",u?.(m,x),x})},[u,i]),f=(m,b,p)=>{let x={sortColumn:b,sortDirection:p};u?.(m,x),i(x)},h=lg.useCallback(m=>m.slice().sort((b,p)=>{let x=t.find(M=>M.columnId===c);if(!x?.compare)return 0;let v=s==="ascending"?1:-1;return x.compare(b.item,p.item)*v}),[t,c,s]);return{...e,sort:{sort:h,sortColumn:c,sortDirection:s,setColumnSort:f,toggleColumnSort:d,getSortDirection:m=>c===m?s:void 0}}}var p7=C(y(),1);var qV=C(y(),1);var od=(e,a)=>{let t=L(o=>{var l;(l=e.onClick)===null||l===void 0||l.call(e,o),o.stopPropagation()});return{components:{root:"div"},root:T.always(l1("div",{ref:a,...e,onClick:t}),{elementType:"div"})}};var ld=e=>q(e.root,{});var ng={root:"fui-TableResizeHandle"},ij=k({root:{qhf8xq:"f1euv43f",j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk",B5kzvoi:"f1yab3r1",a9b677:"fjw5fx7",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fg06o1j",Bceei9c:"fc3en1c",abs64n:"fk73vx1",Bmy1vo4:"f13u1uyl",B3o57yi:"fezquic",Bj3rh1h:"f19g0ac",B3cna0y:"f1tkae59",Brovlpu:"ftqa4ok",B7zu5sd:"f15pjodv",Bsft5z2:"f1rcdj94",ap17g6:"f2gz7yw",a2br6o:"ff2ryt5",E3zdtr:"f1mdlcz9",Eqx8gd:["f10awi5f","f1nzedbg"],bn5sak:"frwkxtg",By385i5:"fo72kxq",Bjyk6c5:"fdlpgxj"}},{d:[".f1euv43f{position:absolute;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".fjw5fx7{width:16px;}",[".fg06o1j{margin:0 -8px;}",{p:-1}],".fc3en1c{cursor:col-resize;}",".fk73vx1{opacity:0;}",".f13u1uyl{transition-property:opacity;}",".fezquic{transition-duration:.2s;}",".f19g0ac{z-index:1;}",'.f1rcdj94::after{content:" ";}',".f2gz7yw::after{display:block;}",".ff2ryt5::after{width:1px;}",".f1mdlcz9::after{position:absolute;}",".f10awi5f::after{left:50%;}",".f1nzedbg::after{right:50%;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}"],f:[".f1tkae59:focus{opacity:1;}",".ftqa4ok:focus{outline-style:none;}"],h:[".f15pjodv:hover{opacity:1;}"]}),rd=e=>{let a=ij();return e.root.className=H(ng.root,a.root,e.root.className),e};var f7=qV.forwardRef((e,a)=>{let t=od(e,a);return rd(t),j("useTableResizeHandleStyles_unstable")(t),ld(t)});f7.displayName="TableResizeHandle";var Be=C(y(),1);function LV(){let[e,a]=Be.useState(0),t=Be.useRef(void 0),o=Be.useRef(null),{targetDocument:l}=Q(),r=Be.useCallback(()=>{var i;let c=(i=t.current)===null||i===void 0?void 0:i.getBoundingClientRect().width;a(c||0)},[]),n=Be.useCallback(i=>{if(l&&(!i&&o.current&&t.current&&o.current.unobserve(t.current),t.current=void 0,i?.parentElement)){var c;t.current=i.parentElement,r(),(c=o.current)===null||c===void 0||c.observe(t.current)}},[l,r]);return Be.useEffect(()=>{if(o.current=cj(l,r),!(!t.current||!o.current))return o.current.observe(t.current),()=>{var i;(i=o.current)===null||i===void 0||i.disconnect()}},[r,l]),{width:e,measureElementRef:n}}function cj(e,a){var t;return!(e==null||(t=e.defaultView)===null||t===void 0)&&t.ResizeObserver?new e.defaultView.ResizeObserver(a):null}var le=C(y(),1);function wV(e){let a=le.useRef(0),t=le.useRef(0),o=le.useRef(void 0),[l,r]=le.useState(!1),{targetDocument:n}=Q(),{getColumnWidth:i,setColumnWidth:c}=e,s=le.useCallback(g=>{let{clientX:m}=J3(g),b=m-a.current;t.current+=b,o.current&&c(g,{columnId:o.current,width:t.current}),a.current=m},[c]),[u]=ht(),d=le.useCallback(g=>{u(()=>s(g))},[u,s]),f=le.useCallback(g=>{Fr(g)&&(n?.removeEventListener("mouseup",f),n?.removeEventListener("mousemove",d)),Hr(g)&&(n?.removeEventListener("touchend",f),n?.removeEventListener("touchmove",d)),r(!1)},[d,n]);return{getOnMouseDown:le.useCallback(g=>m=>{if(t.current=i(g),a.current=J3(m).clientX,o.current=g,Fr(m)){if(m.target!==m.currentTarget||m.button!==0)return;n?.addEventListener("mouseup",f),n?.addEventListener("mousemove",d),r(!0)}Hr(m)&&(n?.addEventListener("touchend",f),n?.addEventListener("touchmove",d),r(!0))},[i,d,f,n]),dragging:l}}var Et=C(y(),1);function nd(e,a=[],t={}){let o=!1,l=new Map(a.map(n=>[n.columnId,n])),r=e.map(n=>{let i=l.get(n.columnId);if(i){var c;let{idealWidth:g=i.idealWidth,minWidth:m=i.minWidth,padding:b=i.padding}=(c=t[n.columnId])!==null&&c!==void 0?c:{};return g!==i.idealWidth||m!==i.minWidth||b!==i.padding?(o=!0,{...i,idealWidth:g,width:g,minWidth:m,padding:b}):i}var s;let{defaultWidth:u,idealWidth:d=150,minWidth:f=100,padding:h}=(s=t[n.columnId])!==null&&s!==void 0?s:{};return o=!0,{columnId:n.columnId,width:Math.max(u??d,f),minWidth:f,idealWidth:Math.max(u??d,f),padding:h??16}});if(r.length!==a.length||o){let n=r.find(i=>i.width>i.idealWidth);n&&(n.width=n.idealWidth),o=!0}return o?r:a}function m7(e,a){return e.find(t=>t.columnId===a)}function ig(e,a){return e[a]}function sj(e){return e.reduce((a,t)=>a+t.width+t.padding,0)}function kV(e,a){let t=m7(e,a);var o;return(o=t?.width)!==null&&o!==void 0?o:0}function h7(e,a,t,o){let l=m7(e,a);if(!l||l?.[t]===o)return e;let r={...l,[t]:o};return e.reduce((i,c)=>c.columnId===r.columnId?[...i,r]:[...i,c],[])}function x6(e,a){let t=e,o=sj(t);if(o<a){let l=a-o,r=0;for(;r<t.length&&l>0;){let n=ig(t,r);if(!n)break;let i=Math.min(n.idealWidth-n.width,l);if(t=h7(t,n.columnId,"width",n.width+i),l-=i,r===t.length-1&&l!==0){let c=ig(t,r);c&&(t=h7(t,c.columnId,"width",c.width+l))}r++}}else if(o>=a){let l=o-a,r=t.length-1;for(;r>=0&&l>0;){let n=ig(t,r);if(!n){r--;continue}if(n.width>n.minWidth){let i=Math.min(n.width-n.minWidth,l);l-=i,t=h7(t,n.columnId,"width",n.width-i)}r--}}return t}var uj=e=>(a,t)=>{switch(t.type){case"CONTAINER_WIDTH_UPDATED":return{...a,containerWidth:t.containerWidth,columnWidthState:e?x6(a.columnWidthState,t.containerWidth):a.columnWidthState};case"COLUMNS_UPDATED":let o=nd(t.columns,a.columnWidthState,a.columnSizingOptions);return{...a,columns:t.columns,columnWidthState:e?x6(o,a.containerWidth):o};case"COLUMN_SIZING_OPTIONS_UPDATED":let l=nd(a.columns,a.columnWidthState,t.columnSizingOptions);return{...a,columnSizingOptions:t.columnSizingOptions,columnWidthState:e?x6(l,a.containerWidth):l};case"SET_COLUMN_WIDTH":let{columnId:r,width:n}=t,{containerWidth:i}=a,c=m7(a.columnWidthState,r),s=[...a.columnWidthState];return c?(s=h7(s,r,"width",n),s=h7(s,r,"idealWidth",n),e&&(s=x6(s,i)),{...a,columnWidthState:s}):a}};function TV(e,a,t={}){let{onColumnResize:o,columnSizingOptions:l,autoFitColumns:r=!0}=t,n=Et.useMemo(()=>uj(r),[r]),[i,c]=Et.useReducer(n,{columns:e,containerWidth:0,columnWidthState:nd(e,void 0,l),columnSizingOptions:l});m1(()=>{c({type:"CONTAINER_WIDTH_UPDATED",containerWidth:a})},[a]),m1(()=>{c({type:"COLUMNS_UPDATED",columns:e})},[e]),m1(()=>{c({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:l})},[l]);let s=L((u,d)=>{let{width:f}=d,{columnId:h}=d,g=m7(i.columnWidthState,h);g&&(f=Math.max(g.minWidth||0,f),o&&o(u,{columnId:h,width:f}),c({type:"SET_COLUMN_WIDTH",columnId:h,width:f}))});return{getColumnById:Et.useCallback(u=>m7(i.columnWidthState,u),[i.columnWidthState]),getColumns:Et.useCallback(()=>i.columnWidthState,[i.columnWidthState]),getColumnWidth:Et.useCallback(u=>kV(i.columnWidthState,u),[i.columnWidthState]),setColumnWidth:s}}var A5=C(y(),1);var id=20,dj=gp,BV=1/4;function DV(e){let[a,t]=A5.useState(),o=A5.useRef(void 0),{findPrevFocusable:l}=O0(),r=A5.useRef(e);A5.useEffect(()=>{r.current=e},[e]);let[n]=A5.useState(()=>new Map),i=L(h=>{if(!a)return;let g=r.current.getColumnWidth(a),m=h.getModifierState(dj),b=()=>{h.preventDefault(),h.stopPropagation()};switch(h.key){case ga:b(),r.current.setColumnWidth(h.nativeEvent,{columnId:a,width:g-(m?id*BV:id)});return;case xa:b(),r.current.setColumnWidth(h.nativeEvent,{columnId:a,width:g+(m?id*BV:id)});return;case" ":case B5:case x5:var p,x;b(),(x=n.get(a))===null||x===void 0||(p=x.current)===null||p===void 0||p.blur();break}}),c=A5.useCallback(h=>{var g,m;t(h),(g=o.current)===null||g===void 0||g.call(o,h,!0);let b=(m=n.get(h))===null||m===void 0?void 0:m.current;b&&(b.setAttribute("tabindex","-1"),b.tabIndex=-1,b.focus())},[n]),s=A5.useCallback(()=>{var h,g;if(!a)return;(h=o.current)===null||h===void 0||h.call(o,a,!1);let m=(g=n.get(a))===null||g===void 0?void 0:g.current;if(m){var b;(b=l(m))===null||b===void 0||b.focus(),m.removeAttribute("tabindex")}t(void 0)},[a,l,n]),u=(h,g)=>{o.current=g,a?h&&a!==h?(c(h),t(h)):s():c(h)},d=A5.useCallback(h=>{let g=n.get(h)||A5.createRef();return n.set(h,g),g},[n]),f=Y0({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:u,columnId:a,getKeyboardResizingProps:A5.useCallback((h,g)=>({onKeyDown:i,onBlur:s,ref:d(h),role:"separator","aria-label":"Resize column","aria-valuetext":`${g} pixels`,"aria-hidden":h!==a,tabIndex:h===a?0:void 0,...f}),[a,s,d,i,f])}}var cd={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function b6(e){return a=>fj(a,{autoFitColumns:!0,...e})}function PV(e,a){let t=e.width;return{width:t,minWidth:t,maxWidth:t,...a?{pointerEvents:"none"}:{}}}function fj(e,a={}){let{columns:t}=e,{width:o,measureElementRef:l}=LV(),r=TV(t,o+(a?.containerWidthOffset||0),a),n=wV(r),{toggleInteractiveMode:i,getKeyboardResizingProps:c}=DV(r),{autoFitColumns:s}=a,u=p7.useCallback((b,p)=>x=>{x.preventDefault(),x.nativeEvent.stopPropagation(),i(b,p)},[i]),{getColumnById:d,setColumnWidth:f,getColumns:h}=r,{getOnMouseDown:g,dragging:m}=n;return{...e,tableRef:l,columnSizing_unstable:{getOnMouseDown:g,setColumnWidth:(b,p)=>f(void 0,{columnId:b,width:p}),getColumnWidths:h,getTableProps:(b={})=>({...b,style:{minWidth:"fit-content",...b.style||{}}}),getTableHeaderCellProps:p7.useCallback(b=>{var p;let x=d(b),M=((p=t[t.length-1])===null||p===void 0?void 0:p.columnId)===b&&s?null:p7.createElement(f7,{onMouseDown:g(b),onTouchStart:g(b),...c(b,x?.width||0)});return x?{style:PV(x,m),aside:M}:{}},[d,t,m,c,g,s]),getTableCellProps:p7.useCallback(b=>{let p=d(b);return p?{style:PV(p)}:{}},[d]),enableKeyboardMode:u}}}var hj=e=>e,cg={selection:ad,sort:td,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:cd,tableRef:M6.createRef()};function _6(e,a=[]){let{items:t,getRowId:o,columns:l}=e,r=M6.useCallback((i=hj)=>t.map((c,s)=>{var u;return i({item:c,rowId:(u=o?.(c))!==null&&u!==void 0?u:s})}),[t,o]),n={getRowId:o,items:t,columns:l,getRows:r,selection:ad,sort:td,columnSizing_unstable:cd,tableRef:M6.createRef()};return a.reduce((i,c)=>c(i),n)}var mj=()=>0,pj=()=>null,vj=()=>null;function I0(e){let{columnId:a,renderCell:t=pj,renderHeaderCell:o=vj,compare:l=mj}=e;return{columnId:a,renderCell:t,renderHeaderCell:o,compare:l}}var NV=C(y(),1);function z6(){let e=W2({axis:"horizontal"}),a=W2({axis:"grid"}),t=zt({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:o}=O0(),{targetDocument:l}=Q(),r=Ct(e,t);return{onTableKeyDown:NV.useCallback(i=>{if(!l)return;let c=l.activeElement;if(!c||!i.currentTarget.contains(c))return;let s=c.getAttribute("role");if(i.key===xa&&s==="row"&&i0(c)){var u;(u=o(c))===null||u===void 0||u.focus()}if(s==="row")return;let d=(()=>{let f=i0(c)?c:null;for(;f;){let h=f.getAttribute("role");if(h==="cell"||h==="gridcell")return!0;f=f.parentElement}return!1})();if(i.key===ga&&d){c.dispatchEvent(new Lr({action:Vo.Escape}));return}(i.key===Re||i.key===ba)&&d&&(c.dispatchEvent(new Lr({action:Vo.Escape})),c=l.activeElement,c&&c.dispatchEvent(new o4({key:a0[i.key]})))},[l,o]),tableTabsterAttribute:a,tableRowTabsterAttribute:r}}var sd=C(y(),1),OV=sd.createContext(void 0),gj={size:"medium",noNativeElements:!1,sortable:!1},sg=OV.Provider,e5=()=>{var e;return(e=sd.useContext(OV))!==null&&e!==void 0?e:gj};var A6=(e,a)=>{let{noNativeElements:t,size:o}=e5();var l;let r=((l=e.as)!==null&&l!==void 0?l:t)?"div":"td";return{components:{root:r},root:T.always(l1(r,{ref:a,role:r==="div"?"cell":void 0,...e}),{elementType:r}),noNativeElements:t,size:o}};var ug=e=>q(e.root,{});var EV="fui-TableCell",IV={root:EV},xj=k({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),bj=k({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),Mj=k({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),dg=e=>{let a=Mj(),t={table:xj(),flex:bj()};return e.root.className=H(IV.root,a.root,e.noNativeElements?t.flex.root:t.table.root,e.noNativeElements?t.flex[e.size]:t.table[e.size],e.root.className),e};var ud=C(y(),1),UV=ud.createContext(void 0),_j="",fg=UV.Provider,vl=()=>ud.useContext(UV)===_j;var hg=(e,a)=>{let{noNativeElements:t,size:o}=e5();var l;let r=((l=e.as)!==null&&l!==void 0?l:t)?"div":"tr",n=At(),i=c5(),c=vl();var s;return{components:{root:r},root:T.always(l1(r,{ref:W(a,n,i),role:r==="div"?"row":void 0,...e}),{elementType:r}),size:o,noNativeElements:t,appearance:(s=e.appearance)!==null&&s!==void 0?s:"none",isHeaderRow:c}};var mg=44,C6={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},zj=k({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),Aj=k({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"fvrlu0f",B2u0y6b:"f1c71y05",Brf1p80:"f4d9j23"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".fvrlu0f{min-width:44px;}",".f1c71y05{max-width:44px;}",".f4d9j23{justify-content:center;}"]}),Cj=k({root:{fsow6f:"f17mccla",Huce71:"fz5stix",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},radioIndicator:{mc9l5x:"f22iagw",Bh6795r:"fqerorx",Bt984gj:"f122n59",Brf1p80:"f4d9j23"},subtle:{abs64n:"fk73vx1",B8a84jv:"f1y7ij6c"},hidden:{abs64n:"fk73vx1"}},{d:[".f17mccla{text-align:center;}",".fz5stix{white-space:nowrap;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fk73vx1{opacity:0;}",".f1y7ij6c[data-fui-focus-within]:focus-within{opacity:1;}"]}),dd=e=>{let a=Cj(),t={table:zj(),flex:Aj()};return e.root.className=H(C6.root,a.root,e.noNativeElements?t.flex.root:t.table.root,e.subtle&&e.checked===!1&&a.subtle,e.hidden&&a.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=H(C6.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=H(C6.radioIndicator,a.radioIndicator,e.radioIndicator.className)),e};var jV="fui-TableRow",GV={root:jV},yj=k({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),Sj=k({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),Rj=k({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",Bahaeuw:"f1v3eptx",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq"},neutral:{wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{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){.f1msmgpi{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbo0xvd{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjuvmhu{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kvufhq:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),pg=e=>{let a=Rj(),t={table:yj(),flex:Sj()};return e.root.className=H(GV.root,a.root,!e.isHeaderRow&&a.rootInteractive,a[e.size],e.noNativeElements?t.flex.root:t.table.root,a[e.appearance],e.root.className),e};var vg=(e,a)=>{let{noNativeElements:t}=e5();var o;let l=((o=e.as)!==null&&o!==void 0?o:t)?"div":"tbody";return{components:{root:l},root:T.always(l1(l,{ref:a,role:l==="div"?"rowgroup":void 0,...e}),{elementType:l}),noNativeElements:t}};var Hj=k({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),Fj=k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),WV="fui-TableBody";var gg=e=>{let a={table:Hj(),flex:Fj()};return e.root.className=H(WV,e.noNativeElements?a.flex.root:a.table.root,e.root.className),e};var xg=(e,a)=>{var t;let o=((t=e.as)!==null&&t!==void 0?t:e.noNativeElements)?"div":"table";var l,r,n;return{components:{root:o},root:T.always(l1(o,{ref:a,role:o==="div"?"table":void 0,...e}),{elementType:o}),size:(l=e.size)!==null&&l!==void 0?l:"medium",noNativeElements:(r=e.noNativeElements)!==null&&r!==void 0?r:!1,sortable:(n=e.sortable)!==null&&n!==void 0?n:!1}};var bg=(e,a)=>q(sg,{value:a.table,children:q(e.root,{})});var QV="fui-Table";var Vj=k({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),qj=k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),Lj=k({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),Mg=e=>{let a=Lj(),t={table:Vj(),flex:qj()};return e.root.className=H(QV,a.root,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e};var KV=C(y(),1);function XV(e){let{size:a,noNativeElements:t,sortable:o}=e;return{table:KV.useMemo(()=>({noNativeElements:t,size:a,sortable:o}),[t,a,o])}}var _g=(e,a)=>{let{noNativeElements:t}=e5();var o;let l=((o=e.as)!==null&&o!==void 0?o:t)?"div":"thead";return{components:{root:l},root:T.always(l1(l,{ref:a,role:l==="div"?"rowgroup":void 0,...e}),{elementType:l}),noNativeElements:t}};var zg=e=>q(fg,{value:"",children:q(e.root,{})});var YV="fui-TableHeader";var wj=k({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),kj=k({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),Ag=e=>{let a={table:kj(),flex:wj()};return e.root.className=H(YV,e.noNativeElements?a.flex.root:a.table.root,e.root.className),e};var Cg=C(y(),1);var Tj={ascending:Cg.createElement(RR,{fontSize:12}),descending:Cg.createElement(SR,{fontSize:12})},yg=(e,a)=>{let{noNativeElements:t,sortable:o}=e5(),{sortable:l=o}=e;var r;let n=((r=e.as)!==null&&r!==void 0?r:t)?"div":"th",i=T.always(e.button,{elementType:"div",defaultProps:{as:"div"}}),c=M5(i.as,i);var s;return{components:{root:n,button:"div",sortIcon:"span",aside:"span"},root:T.always(l1(n,{ref:W(a,c5()),role:n==="div"?"columnheader":void 0,"aria-sort":l?(s=e.sortDirection)!==null&&s!==void 0?s:"none":void 0,...e}),{elementType:n}),aside:T.optional(e.aside,{elementType:"span"}),sortIcon:T.optional(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?Tj[e.sortDirection]:void 0},elementType:"span"}),button:l?c:i,sortable:l,noNativeElements:t}};var Sg=e=>X(e.root,{children:[X(e.button,{children:[e.root.children,e.sortIcon&&q(e.sortIcon,{})]}),e.aside&&q(e.aside,{})]});var y6={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},Bj=k({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),Dj=k({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),Pj=k({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),Rg=e=>{let a=Pj(),t={table:Bj(),flex:Dj()};return e.root.className=H(y6.root,a.root,e.sortable&&a.rootInteractive,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e.button.className=H(y6.button,a.resetButton,a.button,e.sortable&&a.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=H(y6.sortIcon,a.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=H(y6.aside,a.resizeHandle,e.aside.className)),e};var fd=C(y(),1),ZV=fd.createContext(void 0),Nj="",S6=()=>{var e;return(e=fd.useContext(ZV))!==null&&e!==void 0?e:Nj},Hg=ZV.Provider;var hd=C(y(),1),JV=hd.createContext(void 0),Oj="",R6=()=>{var e;return(e=hd.useContext(JV))!==null&&e!==void 0?e:Oj},Fg=JV.Provider;var Vg=(e,a)=>{let t=A6(e,W(a,c5())),{noNativeElements:o}=e5(),{type:l="checkbox",checked:r=!1,subtle:n=!1,hidden:i=!1,invisible:c=!1}=e;return{...t,components:{...t.components,checkboxIndicator:Zo,radioIndicator:rl},checkboxIndicator:T.optional(e.checkboxIndicator,{renderByDefault:l==="checkbox",defaultProps:{checked:e.checked},elementType:Zo}),radioIndicator:T.optional(e.radioIndicator,{renderByDefault:l==="radio"&&!c,defaultProps:{checked:!!r,input:{name:R1("table-selection-radio")}},elementType:rl}),type:l,checked:r,noNativeElements:o,subtle:n,hidden:c||i}};var qg=e=>X(e.root,{children:[e.type==="checkbox"&&e.checkboxIndicator&&q(e.checkboxIndicator,{}),e.type==="radio"&&e.radioIndicator&&q(e.radioIndicator,{})]});var eq=C(y(),1);var $V=V0(void 0),Lg={...cg,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},wg=$V.Provider,k1=e=>Z0($V,(a=Lg)=>e(a));var H6=(e,a)=>{let{focusMode:t="cell"}=e,o=S6(),l=k1(c=>(c.focusMode==="cell"||c.focusMode==="composite")&&t!=="none"),r=k1(c=>c.resizableColumns),n=k1(c=>c.columnSizing_unstable.getTableCellProps),i=zt({tabBehavior:"limited-trap-focus"});return A6({as:"div",role:"gridcell",...t==="group"&&i,tabIndex:l?0:void 0,...r?n(o):{},...e},a)};var F6=e=>ug(e);var md={root:"fui-DataGridCell"},V6=e=>(dg(e),e.root.className=H(md.root,e.root.className),e);var i2=eq.forwardRef((e,a)=>{let t=H6(e,a);return V6(t),j("useDataGridCellStyles_unstable")(t),F6(t)});i2.displayName="DataGridCell";var oq=C(y(),1);var tq=C(y(),1);var aq=C(y(),1);var kg=(e,a)=>{let t=vl(),o=R6(),l=k1(s=>s.subtleSelection),r=k1(s=>t&&s.selection.selectionMode==="multiselect"?s.selection.allRowsSelected?!0:s.selection.someRowsSelected?"mixed":!1:s.selection.isRowSelected(o)),n=k1(s=>s.selection.toggleAllRows),i=k1(s=>s.selection.selectionMode==="multiselect"?"checkbox":"radio"),c=L(s=>{var u;t&&n(s),(u=e.onClick)===null||u===void 0||u.call(e,s)});return Vg({as:"div",role:"gridcell",checked:r,type:i,invisible:t&&i==="radio","aria-selected":r==="mixed"?void 0:r,subtle:l,radioIndicator:t?null:void 0,...e,onClick:c},a)};var Tg=e=>qg(e);var pd={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},Bg=e=>(dd(e),e.root.className=H(pd.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=H(pd.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=H(pd.radioIndicator,e.radioIndicator.className)),e);var q6=aq.forwardRef((e,a)=>{let t=kg(e,a);return Bg(t),j("useDataGridSelectionCellStyles_unstable")(t),Tg(t)});q6.displayName="DataGridSelectionCell";var L6=(e,a)=>{let t=R6(),o=vl(),l=k1(m=>m.columns),r=k1(m=>m.selectableRows),n=k1(m=>m.selection.isRowSelected(t)),i=k1(m=>m.focusMode),c=k1(m=>m.compositeRowTabsterAttribute),s=i==="row_unstable"||i==="composite",u=k1(m=>!o&&r&&m.selection.isRowSelected(t)?m.selectionAppearance:"none"),d=k1(m=>m.selection.toggleRow),f=L(m=>{var b;r&&!o&&d(m,t),(b=e.onClick)===null||b===void 0||b.call(e,m)}),h=L(m=>{var b;r&&!o&&m.key===" "&&!qs(m.target)&&(m.preventDefault(),d(m,t)),(b=e.onKeyDown)===null||b===void 0||b.call(e,m)}),g=hg({appearance:u,"aria-selected":r?n:void 0,tabIndex:s&&!o?0:void 0,...i==="composite"&&!o&&c,...e,onClick:f,onKeyDown:h,children:null,as:"div"},a);return{...g,components:{...g.components,selectionCell:q6},selectionCell:T.optional(e.selectionCell,{renderByDefault:r,elementType:q6}),renderCell:e.children,columnDefs:l,dataGridContextValue:Ej()}};function Ej(){let e=tq.useRef(Lg);return k1(a=>(e.current=a,null)),e.current}var w6=e=>X(e.root,{children:[e.selectionCell&&q(e.selectionCell,{}),e.columnDefs.map(a=>q(Hg,{value:a.columnId,children:e.renderCell(a,e.dataGridContextValue)},a.columnId))]});var k6={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},Ij=k({subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),T6=e=>{let a=k1(o=>o.subtleSelection),t=Ij();return pg(e),e.root.className=H(k6.root,e.root.className,a&&t.subtleSelection),e.selectionCell&&(e.selectionCell.className=H(k6.selectionCell,e.selectionCell.className)),e};var a5=oq.forwardRef((e,a)=>{let t=L6(e,a);return T6(t),j("useDataGridRowStyles_unstable")(t),w6(t)});a5.displayName="DataGridRow";var lq=C(y(),1);var B6=(e,a)=>{let{sortable:t}=e5(),o=k1(i=>i.getRows),l=k1(i=>i.sort.sort),r=t?l(o()):o();return{...vg({...e,children:null,as:"div"},a),rows:r,renderRow:e.children}};var D6=e=>q(e.root,{children:e.rows.map(a=>q(Fg,{value:a.rowId,children:e.renderRow(a)},a.rowId))});var vd={root:"fui-DataGridBody"},P6=e=>(gg(e),e.root.className=H(vd.root,e.root.className),e);var c2=lq.forwardRef((e,a)=>{let t=B6(e,a);return P6(t),j("useDataGridBodyStyles_unstable")(t),D6(t)});c2.displayName="DataGridBody";var cq=C(y(),1);var rq=C(y(),1);var N6=(e,a)=>{let{items:t,columns:o,focusMode:l="cell",selectionMode:r,onSortChange:n,onSelectionChange:i,defaultSortState:c,sortState:s,selectedItems:u,defaultSelectedItems:d,subtleSelection:f=!1,selectionAppearance:h="brand",getRowId:g,resizableColumns:m,columnSizingOptions:b,onColumnResize:p,containerWidthOffset:x,resizableColumnsOptions:v={}}=e,M=x??(r?-mg:0),_=W2({axis:"grid"}),{onTableKeyDown:z,tableTabsterAttribute:A,tableRowTabsterAttribute:S}=z6();var R;let B=_6({items:t,columns:o,getRowId:g},[g6({defaultSortState:c,sortState:s,onSortChange:n}),v6({defaultSelectedItems:d,selectedItems:u,onSelectionChange:i,selectionMode:r??"multiselect"}),b6({onColumnResize:p,columnSizingOptions:b,containerWidthOffset:M,autoFitColumns:(R=v.autoFitColumns)!==null&&R!==void 0?R:!0})]),w=rq.useRef(null),{findFirstFocusable:O,findLastFocusable:V}=O0(),N=L(U=>{var e1;if((e1=e.onKeyDown)===null||e1===void 0||e1.call(e,U),l==="composite"&&z(U),!(!w.current||!U.ctrlKey||U.defaultPrevented)){if(U.key===No){let n1=w.current.querySelector('[role="row"]');if(n1){var J;(J=O(n1))===null||J===void 0||J.focus()}}if(U.key==="End"){let n1=w.current.querySelectorAll('[role="row"]');if(n1.length){var A1;let I1=n1.item(n1.length-1);(A1=V(I1))===null||A1===void 0||A1.focus()}}}});return{...xg({role:"grid",as:"div",noNativeElements:!0,...l==="cell"&&_,...l==="composite"&&A,...e,onKeyDown:N,...m?B.columnSizing_unstable.getTableProps(e):{}},W(a,B.tableRef,w)),focusMode:l,tableState:B,selectableRows:!!r,subtleSelection:f,selectionAppearance:h,resizableColumns:m,compositeRowTabsterAttribute:S}};var nq=C(y(),1);var O6=(e,a)=>nq.createElement(wg,{value:a.dataGrid},bg(e,a));var gd={root:"fui-DataGrid"},E6=e=>(Mg(e),e.root.className=H(gd.root,e.root.className),e);var iq=C(y(),1);function I6(e){let a=XV(e),{tableState:t,focusMode:o,selectableRows:l,subtleSelection:r,selectionAppearance:n,resizableColumns:i,compositeRowTabsterAttribute:c}=e,s=iq.useMemo(()=>({...t,focusMode:o,selectableRows:l,subtleSelection:r,selectionAppearance:n,resizableColumns:i,compositeRowTabsterAttribute:c}),[t,o,l,r,n,i,c]);return{...a,dataGrid:s}}var s2=cq.forwardRef((e,a)=>{let t=N6(e,a);return E6(t),j("useDataGridStyles_unstable")(t),O6(t,I6(t))});s2.displayName="DataGrid";var sq=C(y(),1);var U6=(e,a)=>_g({...e,as:"div"},a);var j6=e=>zg(e);var xd={root:"fui-DataGridHeader"},G6=e=>(Ag(e),e.root.className=H(xd.root,e.root.className),e);var u2=sq.forwardRef((e,a)=>{let t=U6(e,a);return G6(t),j("useDataGridHeaderStyles_unstable")(t),j6(t)});u2.displayName="DataGridHeader";var dq=C(y(),1);function uq(e){return e.compare.length>0}var W6=(e,a)=>{let t=S6(),{sortable:o}=e5(),l=k1(f=>f.sort.toggleColumnSort),r=k1(f=>{let h=!!f.columns.find(g=>g.columnId===t&&uq(g));return o?h:!1}),n=k1(f=>r?f.sort.getSortDirection(t):void 0),i=k1(f=>f.resizableColumns),c=k1(f=>f.columnSizing_unstable.getTableHeaderCellProps),{focusMode:s=r?"none":"cell"}=e,u=zt({tabBehavior:"limited-trap-focus"}),d=L(f=>{var h;r&&l(f,t),(h=e.onClick)===null||h===void 0||h.call(e,f)});return yg({sortable:r,sortDirection:n,as:"div",tabIndex:s!=="none"?0:void 0,...s==="group"&&u,...i?c(t):{},...e,onClick:d},a)};var Q6=e=>Sg(e);var gl={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},K6=e=>(Rg(e),e.root.className=H(gl.root,e.root.className),e.button&&(e.button.className=H(gl.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=H(gl.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=H(gl.aside,e.aside.className)),e);var d2=dq.forwardRef((e,a)=>{let t=W6(e,a);return K6(t),j("useDataGridHeaderCellStyles_unstable")(t),Q6(t)});d2.displayName="DataGridHeaderCell";var _q=C(y(),1);var X6=e=>X(e.root,{children:[q(e.label,{}),e.infoButton&&q(e.infoButton,{})]});var Mq=C(y(),1);var bq=C(y(),1);var fq=e=>X(e.popover,{children:[q(Yo,{children:q(e.root,{})}),q(e.info,{})]});var bd=C(y(),1);var hq=Ht(wR,kR),mq=Ht(TR,BR),pq=Ht(DR,PR);var Uj={small:bd.createElement(hq,null),medium:bd.createElement(mq,null),large:bd.createElement(pq,null)},jj={small:"small",medium:"small",large:"medium"},vq=(e,a)=>{let{size:t="medium",inline:o=!0,popover:l,info:r,...n}=e,i=W(a),c={inline:o,size:t,components:{root:"button",popover:Xo,info:Ko},root:T.always(l1("button",{children:Uj[t],type:"button","aria-label":"information",...n,ref:i}),{elementType:"button"}),popover:T.always(l,{defaultProps:{inline:o,positioning:"above-start",size:jj[t],withArrow:!0},elementType:Xo}),info:T.always(r,{defaultProps:{role:"note",tabIndex:-1},elementType:Ko})},[s,u]=S1({state:c.popover.open,defaultState:c.popover.defaultOpen,initialState:!1});c.popover.open=s,c.popover.onOpenChange=K(c.popover.onOpenChange,(h,g)=>u(g.open));let d=W(c.info.ref);c.info.ref=d;let f=h=>{let g=h.relatedTarget;g&&i.current!==g&&!w5(d.current,g)&&u(!1)};return c.root.onBlur=L(K(c.root.onBlur,f)),c.info.onBlurCapture=L(K(c.info.onBlurCapture,f)),c};var gq={root:"fui-InfoButton",popover:"fui-InfoButton__popover",info:"fui-InfoButton__info"},Gj=k({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Brf1p80:"f4d9j23",w71qe1:"f1iuv45f",ha4doy:"fmrv4ls",qhf8xq:"f10pi13n",De3pzq:"f1c21dwh",sj55zd:"fkfq4zb",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f16d74zd",D0sxk3:"f16u1re",t6yez3:"f1rw4040",Jwef8y:"fjxutwb",Bi91k9c:"f139oj5f",eoavqd:"f8491dx",Bk3fhr4:"f1jpd6y0",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",B2d53fq:"f1fg1p5m"},selected:{De3pzq:"f1q9pm1r",sj55zd:"f1qj7y59",D0sxk3:"fgzdkf0",t6yez3:"f15q0o9g",By8wz76:"f1nz3ub2",B7iucu3:"f1205bnn"},highContrast:{B7iucu3:"fslfhp6",Bfsdueo:"f11s1vgy",pb71ee:"f12b7wpn",ik86qs:"f1u668rv"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bqhya38:"f1j6vpng",Bwxa6fj:["f1pniga2","f1ffjurs"],Bdhvstf:"f987i1v",B7zbvrb:["f1ffjurs","f1pniga2"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1kx978o"}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f4d9j23{justify-content:center;}",".f1iuv45f{text-decoration-line:none;}",".fmrv4ls{vertical-align:middle;}",".f10pi13n{position:relative;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".f16d74zd{padding:var(--spacingVerticalXS) var(--spacingHorizontalXS);}",{p:-1}],".f16u1re .fui-Icon-filled{display:none;}",".f1rw4040 .fui-Icon-regular{display:inline-flex;}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}",".fgzdkf0 .fui-Icon-filled{display:inline-flex;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",[".f1kx978o{padding:var(--spacingVerticalXXS) var(--spacingVerticalXXS);}",{p:-1}]],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f8491dx:hover{cursor:pointer;}",".f1jpd6y0:hover .fui-Icon-filled{display:inline-flex;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1205bnn{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fslfhp6{color:CanvasText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11s1vgy:hover,.f11s1vgy:hover:active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12b7wpn:hover,.f12b7wpn:hover:active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1u668rv:hover,.f1u668rv:hover:active{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"]}),Wj=k({base:{B2u0y6b:"f1qmtlvf"},smallMedium:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f1qmtlvf{max-width:264px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),xq=e=>{let{size:a}=e,{open:t}=e.popover,o=Gj(),l=Wj();return e.info.className=H(gq.info,l.base,a==="large"?l.large:l.smallMedium,e.info.className),e.root.className=H(gq.root,o.base,o.highContrast,o.focusIndicator,t&&o.selected,a==="large"&&o.large,e.root.className),e};var Md=bq.forwardRef((e,a)=>{let t=vq(e,a);return xq(t),j("useInfoButtonStyles_unstable")(t),fq(t)});Md.displayName="InfoButton";var Y6=(e,a)=>{let{root:t,label:o,infoButton:l,info:r,size:n,className:i,style:c,...s}=e,u=R1("infolabel-"),[d,f]=Mq.useState(!1),h=T.always(t,{defaultProps:{className:i,style:c},elementType:"span"}),g=T.always(o,{defaultProps:{id:u+"__label",ref:a,size:n,...s},elementType:s1}),m=T.optional(l,{renderByDefault:!!r,defaultProps:{id:u+"__infoButton",size:n,info:r},elementType:Md}),b=T.always(m?.popover,{elementType:"div"});if(b.onOpenChange=L(K(b.onOpenChange,(S,R)=>{f(R.open)})),m){var p,x;m.popover=b;let S=u+"__info";m.info=T.optional(m?.info,{defaultProps:{id:S,"aria-labelledby":S},elementType:"div"});var v;if((v=(p=m)[x="aria-labelledby"])!==null&&v!==void 0||(p[x]=`${g.id} ${m.id}`),d){var M,_,z,A;(A=(_=h)[z="aria-owns"])!==null&&A!==void 0||(_[z]=(M=m.info)===null||M===void 0?void 0:M.id)}}return{size:n,components:{root:"span",label:s1,infoButton:Md},root:h,label:g,infoButton:m}};var v7={root:"fui-InfoLabel",label:"fui-InfoLabel__label",infoButton:"fui-InfoLabel__infoButton"},Qj=k({base:{ha4doy:"f12kltsn",Bceei9c:"fpo1scq",sj55zd:"f1ym3bx4"}},{d:[".f12kltsn{vertical-align:top;}",".fpo1scq{cursor:inherit;}",".f1ym3bx4{color:inherit;}"]}),Kj=k({base:{ha4doy:"f12kltsn",B6of3ja:"f1bmzb36",jrapky:"f1nyzk09"},large:{B6of3ja:"fkrn0sh",jrapky:"fmxx68s"}},{d:[".f12kltsn{vertical-align:top;}",".f1bmzb36{margin-top:calc(0px - var(--spacingVerticalXXS));}",".f1nyzk09{margin-bottom:calc(0px - var(--spacingVerticalXXS));}",".fkrn0sh{margin-top:-1px;}",".fmxx68s{margin-bottom:-1px;}"]}),Z6=e=>{e.root.className=H(v7.root,e.root.className);let a=Qj();e.label.className=H(v7.label,a.base,e.label.className);let t=Kj();return e.infoButton&&(e.infoButton.className=H(v7.infoButton,t.base,e.size==="large"&&t.large,e.infoButton.className)),e};var xl=_q.forwardRef((e,a)=>{let t=Y6(e,a);return Z6(t),j("useInfoLabelStyles_unstable")(t),X6(t)});xl.displayName="InfoLabel";var Rq=C(y(),1);var It={sliderDirectionVar:"--fui-Slider--direction",sliderProgressVar:"--fui-Slider--progress",thumbColorVar:"--fui-Slider__thumb--color",railColorVar:"--fui-Slider__rail--color",thumbSizeVar:"--fui-Slider__thumb--size",railSizeVar:"--fui-Slider__rail--size"};var Xj={requestChange:()=>{},color:void 0,shape:"rounded"},zq=V0(void 0),HH1=zq.Provider,_d=e=>Z0(zq,(a=Xj)=>e(a));var Aq={h:0,s:0,v:1,a:1};var Cq=(e,a,t)=>t===a?0:(e-a)/(t-a)*100;function zd({h:e=0,s:a=0,v:t=0,a:o=1}){return{h:e,s:a,v:t,a:o}}function Ad(e,a="hue"){return Ho(e,0,a==="hue"?360:100)}function Dg(e,a){return a[e]||a.hue}function Pg(e={}){let{h:a=0,s:t=0,v:o=0,a:l=1}=e,r=o*(1-t/2),n=r===0||r===1?0:(o-r)/Math.min(r,1-r);return{h:a,s:n,l:r,a:l}}function Sq(e={}){let a=Pg(e),t=Number((a.s*100).toFixed(2)),o=Number((a.l*100).toFixed(2));return`hsla(${a.h}, ${t}%, ${o}%, ${a.a})`}var Ng=(e,a)=>{"use no memo";let{dir:t}=Q(),o=_d(B=>B.requestChange),l=_d(B=>B.color),r=r5({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","color"]}),{color:n,channel:i="hue",onChange:c=o,vertical:s,root:u,input:d,rail:f,thumb:h}=e,g=n||l,m=Pg(g),[b,p]=S1({defaultState:e.defaultColor,state:g,initialState:Aq}),x=i==="hue"?360:100,v={hue:Ad(b.h),saturation:Ad(b.s*100),value:Ad(b.v*100)},M=Dg(i,v),_=Cq(M,0,x),z=d?.onChange,A=L(B=>{let w=Number(B.target.value),V=Dg(i,{hue:()=>zd({...g,h:w}),saturation:()=>zd({...g,s:w/100}),value:()=>zd({...g,v:w/100})})();p(V),z?.(B),c?.(B,{type:"change",event:B,color:V})}),S={[It.sliderDirectionVar]:s?"180deg":t==="ltr"?"-90deg":"90deg",[It.sliderProgressVar]:`${_}%`,[It.thumbColorVar]:i==="hue"?`hsl(${M}, 100%, 50%)`:Sq(g),[It.railColorVar]:i==="hue"?`hsl(${m.h}, ${m.s*100}%, ${m.l*100}%)`:`hsl(${m.h}, 100%, 50%)`},R={vertical:s,channel:i,components:{input:"input",rail:"div",root:"div",thumb:"div"},root:T.always(u,{defaultProps:{role:"group",...r.root},elementType:"div"}),input:T.always(d,{defaultProps:{id:R1("slider-",e.id),ref:a,min:0,max:x,tabIndex:0,"aria-orientation":s?"vertical":"horizontal",...r.primary,type:"range"},elementType:"input"}),rail:T.always(f,{elementType:"div"}),thumb:T.always(h,{elementType:"div"})};return R.root.style={...S,...R.root.style},R.input.value=M,R.input.onChange=A,R},J6=(e,a)=>{let t=_d(n=>n.shape),{shape:o=t,...l}=e;return{...Ng(l,a),shape:o}};var $6=e=>X(e.root,{children:[q(e.input,{}),q(e.rail,{}),q(e.thumb,{})]});var bl={root:"fui-ColorSlider",rail:"fui-ColorSlider__rail",thumb:"fui-ColorSlider__thumb",input:"fui-ColorSlider__input"},YH1=`linear-gradient(${[`var(${It.sliderDirectionVar})`,"red","fuchsia","blue","aqua","lime","yellow","red"].join(",")})`,Jj=o1("r1j9hj9j",null,[".r1j9hj9j{position:relative;display:inline-grid;touch-action:none;align-items:center;justify-items:center;--fui-Slider__thumb--size:20px;--fui-Slider__rail--size:20px;min-height:32px;}"]),$j=k({horizontal:{Bf4jedk:"f93ek0f",wkccdc:"fgfd48t",Budl1dq:"f11e9psi"},vertical:{sshi5w:"fwwq4i4",wkccdc:"fqcvrs3",Budl1dq:"fiadc6h"}},{d:[".f93ek0f{min-width:200px;}",".fgfd48t{grid-template-rows:1fr var(--fui-Slider__thumb--size) 1fr;}",".f11e9psi{grid-template-columns:1fr 100% 1fr;}",".fwwq4i4{min-height:280px;}",".fqcvrs3{grid-template-rows:1fr 100% 1fr;}",".fiadc6h{grid-template-columns:1fr var(--fui-Slider__thumb--size) 1fr;}"]}),eG=k({hue:{Bcmaq0h:"f1curpo1"},saturation:{Bcmaq0h:["fdhcg5e","f1onqon0"]},value:{Bcmaq0h:["f1r1ueul","fbtriqu"]}},{d:[".f1curpo1{background-image:linear-gradient(var(--fui-Slider--direction),red,fuchsia,blue,aqua,lime,yellow,red);}",".fdhcg5e{background-image:linear-gradient(to right, #808080, var(--fui-Slider__rail--color));}",".f1onqon0{background-image:linear-gradient(to left, #808080, var(--fui-Slider__rail--color));}",".f1r1ueul{background-image:linear-gradient(to right, #000, var(--fui-Slider__rail--color));}",".fbtriqu{background-image:linear-gradient(to left, #000, var(--fui-Slider__rail--color));}"]}),aG=k({rail:{Bkecrkj:"f1aehjj5",Ijaq50:"faunodf",nk6f5a:"f88nxoq",Br312pm:"fd46tj4",Bw0ie65:"f1e2fz10",qhf8xq:"f10pi13n",Bvjb7m6:"fdgv6k0",Bpd4iqm:"fpvhumw",oeaueh:"f1yog68k",Bw0xxkn:"f13sgyd8",Ftih45:"fzhtfnv",Brfgrao:"f1j7ml58"},horizontal:{a9b677:"fly5x3f",Bqenvij:"f1cy86ho",Fbdkly:["f1heqfse","fkh49vu"],mdwyqc:["fkh49vu","f1heqfse"],Baz25je:"f16tdq4e"},vertical:{a9b677:"fqxfnkd",Bqenvij:"f1l02sjl",Ccq8qp:"f1rik0od",Bciustq:"f14xwovp",lawp4y:"febq2dz"}},{d:[".f1aehjj5{pointer-events:none;}",".faunodf{grid-row-start:2;}",".f88nxoq{grid-row-end:2;}",".fd46tj4{grid-column-start:2;}",".f1e2fz10{grid-column-end:2;}",".f10pi13n{position:relative;}",".fdgv6k0{forced-color-adjust:none;}",".fpvhumw{outline-width:1px;}",".f1yog68k{outline-style:solid;}",".f13sgyd8{outline-color:var(--colorTransparentStroke);}",".fzhtfnv::before{content:'';}",".f1j7ml58::before{position:absolute;}",".fly5x3f{width:100%;}",".f1cy86ho{height:var(--fui-Slider__rail--size);}",".f1heqfse::before{left:-1px;}",".fkh49vu::before{right:-1px;}",".f16tdq4e::before{height:var(--fui-Slider__rail--size);}",".fqxfnkd{width:var(--fui-Slider__rail--size);}",".f1l02sjl{height:100%;}",".f1rik0od::before{width:var(--fui-Slider__rail--size);}",".f14xwovp::before{top:-1px;}",".febq2dz::before{bottom:1px;}"]}),tG=k({thumb:{Ijaq50:"faunodf",nk6f5a:"f88nxoq",Br312pm:"fd46tj4",Bw0ie65:"f1e2fz10",qhf8xq:"f1euv43f",a9b677:"f174ca62",Bqenvij:"f1yfdkfd",Bkecrkj:"f1aehjj5",oeaueh:"f1s6fcnf",Bvjb7m6:"fdgv6k0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",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:"f1lvq45z",E5pizo:"f1whvlc6",De3pzq:"foksa45",Brfgrao:"f1j7ml58",lawp4y:0,Fbdkly:0,mdwyqc:0,Bciustq:0,gc50h5:"f1abv9ik",r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"fielpny",Bcvre1j:"fyl8oag",Ftih45:"fzhtfnv",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f3i7wkk"},horizontal:{Bz10aip:["f13gfj74","f1nfknbn"],oyh7mz:["f1fj3zth","fcf9u6w"]},vertical:{Bz10aip:"f5cv5a3",B5kzvoi:"feeniun"}},{d:[".faunodf{grid-row-start:2;}",".f88nxoq{grid-row-end:2;}",".fd46tj4{grid-column-start:2;}",".f1e2fz10{grid-column-end:2;}",".f1euv43f{position:absolute;}",".f174ca62{width:var(--fui-Slider__thumb--size);}",".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".f1aehjj5{pointer-events:none;}",".f1s6fcnf{outline-style:none;}",".fdgv6k0{forced-color-adjust:none;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1lvq45z{border:var(--strokeWidthThin) solid var(--colorNeutralForeground4);}",{p:-2}],".f1whvlc6{box-shadow:var(--shadow4);}",".foksa45{background-color:var(--fui-Slider__thumb--color);}",".f1j7ml58::before{position:absolute;}",[".f1abv9ik::before{inset:0px;}",{p:-1}],[".fielpny::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],".fyl8oag::before{box-sizing:border-box;}",".fzhtfnv::before{content:'';}",[".f3i7wkk::before{border:var(--strokeWidthThick) solid var(--colorNeutralBackground1);}",{p:-2}],".f13gfj74{transform:translateX(-50%);}",".f1nfknbn{transform:translateX(50%);}",".f1fj3zth{left:var(--fui-Slider--progress);}",".fcf9u6w{right:var(--fui-Slider--progress);}",".f5cv5a3{transform:translateY(50%);}",".feeniun{bottom:var(--fui-Slider--progress);}"]}),oG=k({rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}]]}),lG=k({input:{Bceei9c:"f1k6fduh",abs64n:"fk73vx1",Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z",Br312pm:"fwpfdsa",Bw0ie65:"fuur7zz",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",jo39rj:0,C5zqim:0,Bdlbwnu:0,B8rk77i:0,Bbzx7hc:0,Hwkvcz:0,B0nnt1c:0,Brwsv5j:0,B2b7vog:0,B4hmq5e:0,B8jxwem:0,B18nadz:0,Ddg5ig:0,Byj09el:0,Dac2s3:0,Dd2y6r:0,Bk0t58e:"f1nq8t98",Ewenww:0,Brqi8qb:0,zz3kca:0,low6xx:"fjt56wq",d0s10n:0,wea7l5:0,olu5tv:0,g5nsvh:0,Bqvnfwh:"f1n9m442"},horizontal:{Bqenvij:"f1yfdkfd",a9b677:"fly5x3f"},vertical:{Bqenvij:"f1l02sjl",a9b677:"f174ca62",Biqzhck:"f1r7j8g6",kgocjf:["f1va4sj6","f1r2v9sp"]}},{d:[".f1k6fduh{cursor:pointer;}",".fk73vx1{opacity:0;}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".fwpfdsa{grid-column-start:1;}",".fuur7zz{grid-column-end:-1;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],".f1yfdkfd{height:var(--fui-Slider__thumb--size);}",".fly5x3f{width:100%;}",".f1l02sjl{height:100%;}",".f174ca62{width:var(--fui-Slider__thumb--size);}",".f1r7j8g6{writing-mode:vertical-lr;}",".f1va4sj6{direction:rtl;}",".f1r2v9sp{direction:ltr;}"],i:[[".f1nq8t98:focus-visible~.fui-ColorSlider__thumb{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".fjt56wq:focus-visible~.fui-ColorSlider__thumb{outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);}",{p:-1}],[".f1n9m442:focus-visible~.fui-ColorSlider__thumb{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),ei=e=>{let a=Jj(),t=$j(),o=aG(),l=tG(),r=lG(),n=oG(),i=eG(),c=e.vertical;return e.root.className=H(bl.root,a,c?t.vertical:t.horizontal,e.root.className),e.rail.className=H(bl.rail,o.rail,i[e.channel||"hue"],n[e.shape||"rounded"],c?o.vertical:o.horizontal,e.rail.className),e.thumb.className=H(bl.thumb,l.thumb,c?l.vertical:l.horizontal,e.thumb.className),e.input.className=H(bl.input,r.input,c?r.vertical:r.horizontal,e.input.className),e};var La=Rq.forwardRef((e,a)=>{let t=J6(e,a);return ei(t),j("useColorSliderStyles_unstable")(t),$6(t)});La.displayName="ColorSlider";var _7=C(b1(),1),f1=C(y(),1);function rG(e,a){let t=getComputedStyle(e),o=parseFloat(t.fontSize);return a*o}function nG(e,a){let t=getComputedStyle(e.ownerDocument.documentElement),o=parseFloat(t.fontSize);return a*o}function iG(e){return e/100*window.innerHeight}function cG(e){return e/100*window.innerWidth}function sG(e){switch(typeof e){case"number":return[e,"px"];case"string":{let a=parseFloat(e);return e.endsWith("%")?[a,"%"]:e.endsWith("px")?[a,"px"]:e.endsWith("rem")?[a,"rem"]:e.endsWith("em")?[a,"em"]:e.endsWith("vh")?[a,"vh"]:e.endsWith("vw")?[a,"vw"]:[a,"%"]}}}function ai({groupSize:e,panelElement:a,styleProp:t}){let o,[l,r]=sG(t);switch(r){case"%":{o=l/100*e;break}case"px":{o=l;break}case"rem":{o=nG(a,l);break}case"em":{o=rG(a,l);break}case"vh":{o=iG(l);break}case"vw":{o=cG(l);break}}return o}function C5(e){return parseFloat(e.toFixed(3))}function z7({group:e}){let{orientation:a,panels:t}=e;return t.reduce((o,l)=>(o+=a==="horizontal"?l.element.offsetWidth:l.element.offsetHeight,o),0)}function Eg(e){let{panels:a}=e,t=z7({group:e});return t===0?a.map(o=>({groupResizeBehavior:o.panelConstraints.groupResizeBehavior,collapsedSize:0,collapsible:o.panelConstraints.collapsible===!0,defaultSize:void 0,disabled:o.panelConstraints.disabled,minSize:0,maxSize:100,panelId:o.id})):a.map(o=>{let{element:l,panelConstraints:r}=o,n=0;if(r.collapsedSize!==void 0){let u=ai({groupSize:t,panelElement:l,styleProp:r.collapsedSize});n=C5(u/t*100)}let i;if(r.defaultSize!==void 0){let u=ai({groupSize:t,panelElement:l,styleProp:r.defaultSize});i=C5(u/t*100)}let c=0;if(r.minSize!==void 0){let u=ai({groupSize:t,panelElement:l,styleProp:r.minSize});c=C5(u/t*100)}let s=100;if(r.maxSize!==void 0){let u=ai({groupSize:t,panelElement:l,styleProp:r.maxSize});s=C5(u/t*100)}return{groupResizeBehavior:r.groupResizeBehavior,collapsedSize:n,collapsible:r.collapsible===!0,defaultSize:i,disabled:r.disabled,minSize:c,maxSize:s,panelId:o.id}})}function E1(e,a="Assertion error"){if(!e)throw Error(a)}function Ig(e,a){return Array.from(a).sort(e==="horizontal"?uG:dG)}function uG(e,a){let t=e.element.offsetLeft-a.element.offsetLeft;return t!==0?t:e.element.offsetWidth-a.element.offsetWidth}function dG(e,a){let t=e.element.offsetTop-a.element.offsetTop;return t!==0?t:e.element.offsetHeight-a.element.offsetHeight}function Gq(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function Wq(e,a){return{x:e.x>=a.left&&e.x<=a.right?0:Math.min(Math.abs(e.x-a.left),Math.abs(e.x-a.right)),y:e.y>=a.top&&e.y<=a.bottom?0:Math.min(Math.abs(e.y-a.top),Math.abs(e.y-a.bottom))}}function fG({orientation:e,rects:a,targetRect:t}){let o={x:t.x+t.width/2,y:t.y+t.height/2},l,r=Number.MAX_VALUE;for(let n of a){let{x:i,y:c}=Wq(o,n),s=e==="horizontal"?i:c;s<r&&(r=s,l=n)}return E1(l,"No rect found"),l}var Cd;function hG(){return Cd===void 0&&(typeof matchMedia=="function"?Cd=!!matchMedia("(pointer:coarse)").matches:Cd=!1),Cd}function Qq(e){let{element:a,orientation:t,panels:o,separators:l}=e,r=Ig(t,Array.from(a.children).filter(Gq).map(g=>({element:g}))).map(({element:g})=>g),n=[],i=!1,c=!1,s=-1,u=-1,d=0,f,h=[];{let g=-1;for(let m of r)m.hasAttribute("data-panel")&&(g++,m.hasAttribute("data-disabled")||(d++,s===-1&&(s=g),u=g))}if(d>1){let g=-1;for(let m of r)if(m.hasAttribute("data-panel")){g++;let b=o.find(p=>p.element===m);if(b){if(f){let p=f.element.getBoundingClientRect(),x=m.getBoundingClientRect(),v;if(c){let M=t==="horizontal"?new DOMRect(p.right,p.top,0,p.height):new DOMRect(p.left,p.bottom,p.width,0),_=t==="horizontal"?new DOMRect(x.left,x.top,0,x.height):new DOMRect(x.left,x.top,x.width,0);switch(h.length){case 0:{v=[M,_];break}case 1:{let z=h[0],A=fG({orientation:t,rects:[p,x],targetRect:z.element.getBoundingClientRect()});v=[z,A===p?_:M];break}default:{v=h;break}}}else h.length?v=h:v=[t==="horizontal"?new DOMRect(p.right,x.top,x.left-p.right,x.height):new DOMRect(x.left,p.bottom,x.width,x.top-p.bottom)];for(let M of v){let _="width"in M?M:M.element.getBoundingClientRect(),z=hG()?e.resizeTargetMinimumSize.coarse:e.resizeTargetMinimumSize.fine;if(_.width<z){let S=z-_.width;_=new DOMRect(_.x-S/2,_.y,_.width+S,_.height)}if(_.height<z){let S=z-_.height;_=new DOMRect(_.x,_.y-S/2,_.width,_.height+S)}let A=g<=s||g>u;!i&&!A&&n.push({group:e,groupSize:z7({group:e}),panels:[f,b],separator:"width"in M?void 0:M,rect:_}),i=!1}}c=!1,f=b,h=[]}}else if(m.hasAttribute("data-separator")){m.ariaDisabled!==null&&(i=!0);let b=l.find(p=>p.element===m);b?h.push(b):(f=void 0,h=[])}else c=!0}return n}var Rd=class{#e={};addListener(a,t){let o=this.#e[a];return o===void 0?this.#e[a]=[t]:o.includes(t)||o.push(t),()=>{this.removeListener(a,t)}}emit(a,t){let o=this.#e[a];if(o!==void 0)if(o.length===1)o[0].call(null,t);else{let l=!1,r=null,n=Array.from(o);for(let i=0;i<n.length;i++){let c=n[i];try{c.call(null,t)}catch(s){r===null&&(l=!0,r=s)}}if(l)throw r}}removeAllListeners(){this.#e={}}removeListener(a,t){let o=this.#e[a];if(o!==void 0){let l=o.indexOf(t);l>=0&&o.splice(l,1)}}},b7={cursorFlags:0,state:"inactive"},Ug=new Rd;function _l(){return b7}function mG(e){return Ug.addListener("change",e)}function pG(e){let a=b7,t={...b7};t.cursorFlags=e,b7=t,Ug.emit("change",{prev:a,next:t})}function M7(e){let a=b7;b7=e,Ug.emit("change",{prev:a,next:e})}var vG=e=>e,Og=()=>{},Kq=1,Xq=2,Yq=4,Zq=8,Hq=3,Fq=12,yd;function Vq(){return yd===void 0&&(yd=!1,typeof window<"u"&&(window.navigator.userAgent.includes("Chrome")||window.navigator.userAgent.includes("Firefox"))&&(yd=!0)),yd}function gG({cursorFlags:e,groups:a,state:t}){let o=0,l=0;switch(t){case"active":case"hover":a.forEach(r=>{if(!r.mutableState.disableCursor)switch(r.orientation){case"horizontal":{o++;break}case"vertical":{l++;break}}})}if(!(o===0&&l===0)){switch(t){case"active":{if(e&&Vq()){let r=(e&Kq)!==0,n=(e&Xq)!==0,i=(e&Yq)!==0,c=(e&Zq)!==0;if(r)return i?"se-resize":c?"ne-resize":"e-resize";if(n)return i?"sw-resize":c?"nw-resize":"w-resize";if(i)return"s-resize";if(c)return"n-resize"}break}}return Vq()?o>0&&l>0?"move":o>0?"ew-resize":"ns-resize":o>0&&l>0?"grab":o>0?"col-resize":"row-resize"}}var qq=new WeakMap;function jg(e){if(!e.defaultView||!e.adoptedStyleSheets)return;let{prevStyle:a,styleSheet:t}=qq.get(e)??{};t===void 0&&(t=new e.defaultView.CSSStyleSheet,e.adoptedStyleSheets&&(Object.isExtensible(e.adoptedStyleSheets)?e.adoptedStyleSheets.push(t):e.adoptedStyleSheets=[...e.adoptedStyleSheets,t]));let o=_l();switch(o.state){case"active":case"hover":{let l=gG({cursorFlags:o.cursorFlags,groups:o.hitRegions.map(n=>n.group),state:o.state}),r=`*, *:hover {cursor: ${l} !important; }`;if(a===r)return;a=r,l?t.cssRules.length===0?t.insertRule(r):t.replaceSync(r):t.cssRules.length===1&&t.deleteRule(0);break}case"inactive":{a=void 0,t.cssRules.length===1&&t.deleteRule(0);break}}qq.set(e,{prevStyle:a,styleSheet:t})}var Pe=new Map,Jq=new Rd;function xG(e){Pe=new Map(Pe),Pe.delete(e)}function Lq(e,a){for(let[t]of Pe)if(t.id===e)return t}function Ut(e,a){for(let[t,o]of Pe)if(t.id===e)return o;if(a)throw Error(`Could not find data for Group with id ${e}`)}function jt(){return Pe}function Gg(e,a){return Jq.addListener("groupChange",t=>{t.group.id===e&&a(t)})}function wa(e,a,t){let o=Pe.get(e);Pe=new Map(Pe),Pe.set(e,a),Jq.emit("groupChange",{group:e,isUserInteraction:t?.isUserInteraction===!0,prev:o,next:a})}function $q(e){let a=_l(),t=jt(),o=!1;return a.state==="active"&&(M7({cursorFlags:0,state:"inactive"}),a.hitRegions.length>0&&(jg(e),o=!0,a.hitRegions.forEach(l=>{if(!t.has(l.group))return;let r=Ut(l.group.id,!0);wa(l.group,r,{isUserInteraction:!0})}))),o}function wq(e){e.defaultPrevented||$q(e.currentTarget)}function bG(e,a,t){let o,l={x:1/0,y:1/0};for(let r of a){let n=Wq(t,r.rect);switch(e){case"horizontal":{n.x<=l.x&&(o=r,l=n);break}case"vertical":{n.y<=l.y&&(o=r,l=n);break}}}return o?{distance:l,hitRegion:o}:void 0}function MG(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function _G(e,a){if(e===a)throw new Error("Cannot compare node with itself");let t={a:Bq(e),b:Bq(a)},o;for(;t.a.at(-1)===t.b.at(-1);)o=t.a.pop(),t.b.pop();E1(o,"Stacking order can only be calculated for elements with a common ancestor");let l={a:Tq(kq(t.a)),b:Tq(kq(t.b))};if(l.a===l.b){let r=o.childNodes,n={a:t.a.at(-1),b:t.b.at(-1)},i=r.length;for(;i--;){let c=r[i];if(c===n.a)return 1;if(c===n.b)return-1}}return Math.sign(l.a-l.b)}var zG=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function AG(e){let a=getComputedStyle(eL(e)??e).display;return a==="flex"||a==="inline-flex"}function CG(e){let a=getComputedStyle(e);return!!(a.position==="fixed"||a.zIndex!=="auto"&&(a.position!=="static"||AG(e))||+a.opacity<1||"transform"in a&&a.transform!=="none"||"webkitTransform"in a&&a.webkitTransform!=="none"||"mixBlendMode"in a&&a.mixBlendMode!=="normal"||"filter"in a&&a.filter!=="none"||"webkitFilter"in a&&a.webkitFilter!=="none"||"isolation"in a&&a.isolation==="isolate"||zG.test(a.willChange)||a.webkitOverflowScrolling==="touch")}function kq(e){let a=e.length;for(;a--;){let t=e[a];if(E1(t,"Missing node"),CG(t))return t}return null}function Tq(e){return e&&Number(getComputedStyle(e).zIndex)||0}function Bq(e){let a=[];for(;e;)a.push(e),e=eL(e);return a}function eL(e){let{parentNode:a}=e;return MG(a)?a.host:a}function yG(e,a){return e.x<a.x+a.width&&e.x+e.width>a.x&&e.y<a.y+a.height&&e.y+e.height>a.y}function SG({groupElement:e,hitRegion:a,pointerEventTarget:t}){if(!Gq(t)||t.contains(e)||e.contains(t))return!0;if(_G(t,e)>0){let o=t;for(;o;){if(o.contains(e))return!0;if(yG(o.getBoundingClientRect(),a))return!1;o=o.parentElement}}return!0}function Wg(e,a){let t=[];return a.forEach((o,l)=>{if(l.disabled)return;let r=Qq(l),n=bG(l.orientation,r,{x:e.clientX,y:e.clientY});n&&n.distance.x<=0&&n.distance.y<=0&&SG({groupElement:l.element,hitRegion:n.hitRegion.rect,pointerEventTarget:e.target})&&t.push(n.hitRegion)}),t}function RG(e,a){if(e.length!==a.length)return!1;for(let t=0;t<e.length;t++)if(e[t]!=a[t])return!1;return!0}function d5(e,a,t=0){return Math.abs(C5(e)-C5(a))<=t}function De(e,a){return d5(e,a)?0:e>a?1:-1}function x7({overrideDisabledPanels:e,panelConstraints:a,prevSize:t,size:o}){let{collapsedSize:l=0,collapsible:r,disabled:n,maxSize:i=100,minSize:c=0}=a;if(n&&!e)return t;if(De(o,c)<0)if(r){let s=(l+c)/2;De(o,s)<0?o=l:o=c}else o=c;return o=Math.min(i,o),o=C5(o),o}function oi({delta:e,initialLayout:a,panelConstraints:t,pivotIndices:o,prevLayout:l,trigger:r}){if(d5(e,0))return a;let n=r==="imperative-api",i=Object.values(a),c=Object.values(l),s=[...i],[u,d]=o;E1(u!=null,"Invalid first pivot index"),E1(d!=null,"Invalid second pivot index");let f=0;switch(r){case"keyboard":{{let m=e<0?d:u,b=t[m];E1(b,`Panel constraints not found for index ${m}`);let{collapsedSize:p=0,collapsible:x,minSize:v=0}=b;if(x){let M=i[m];if(E1(M!=null,`Previous layout not found for panel index ${m}`),d5(M,p)){let _=v-M;De(_,Math.abs(e))>0&&(e=e<0?0-_:_)}}}{let m=e<0?u:d,b=t[m];E1(b,`No panel constraints found for index ${m}`);let{collapsedSize:p=0,collapsible:x,minSize:v=0}=b;if(x){let M=i[m];if(E1(M!=null,`Previous layout not found for panel index ${m}`),d5(M,v)){let _=M-p;De(_,Math.abs(e))>0&&(e=e<0?0-_:_)}}}break}default:{let m=e<0?d:u,b=t[m];E1(b,`Panel constraints not found for index ${m}`);let p=i[m],{collapsible:x,collapsedSize:v,minSize:M}=b;if(x&&De(p,M)<0)if(e>0){let _=M-v,z=_/2,A=p+e;De(A,M)<0&&(e=De(e,z)<=0?0:_)}else{let _=M-v,z=100-_/2,A=p-e;De(A,M)<0&&(e=De(100+e,z)>0?0:-_)}break}}{let m=e<0?1:-1,b=e<0?d:u,p=0;for(;;){let v=i[b];E1(v!=null,`Previous layout not found for panel index ${b}`);let M=x7({overrideDisabledPanels:n,panelConstraints:t[b],prevSize:v,size:100})-v;if(p+=M,b+=m,b<0||b>=t.length)break}let x=Math.min(Math.abs(e),Math.abs(p));e=e<0?0-x:x}{let m=e<0?u:d;for(;m>=0&&m<t.length;){let b=Math.abs(e)-Math.abs(f),p=i[m];E1(p!=null,`Previous layout not found for panel index ${m}`);let x=p-b,v=x7({overrideDisabledPanels:n,panelConstraints:t[m],prevSize:p,size:x});if(!d5(p,v)&&(f+=p-v,s[m]=v,f.toFixed(3).localeCompare(Math.abs(e).toFixed(3),void 0,{numeric:!0})>=0))break;e<0?m--:m++}}if(RG(c,s))return l;{let m=e<0?d:u,b=i[m];E1(b!=null,`Previous layout not found for panel index ${m}`);let p=b+f,x=x7({overrideDisabledPanels:n,panelConstraints:t[m],prevSize:b,size:p});if(s[m]=x,!d5(x,p)){let v=p-x,M=e<0?d:u;for(;M>=0&&M<t.length;){let _=s[M];E1(_!=null,`Previous layout not found for panel index ${M}`);let z=_+v,A=x7({overrideDisabledPanels:n,panelConstraints:t[M],prevSize:_,size:z});if(d5(_,A)||(v-=A-_,s[M]=A),d5(v,0))break;e>0?M--:M++}}}let h=Object.values(s).reduce((m,b)=>b+m,0);if(!d5(h,100,.1))return l;let g=Object.keys(l);return s.reduce((m,b,p)=>(m[g[p]]=b,m),{})}function zl(e,a){if(Object.keys(e).length!==Object.keys(a).length)return!1;for(let t in e)if(a[t]===void 0||De(e[t],a[t])!==0)return!1;return!0}function Al({layout:e,panelConstraints:a}){let t=Object.values(e),o=[...t],l=o.reduce((i,c)=>i+c,0);if(o.length!==a.length)throw Error(`Invalid ${a.length} panel layout: ${o.map(i=>`${i}%`).join(", ")}`);if(!d5(l,100)&&o.length>0)for(let i=0;i<a.length;i++){let c=o[i];E1(c!=null,`No layout data found for index ${i}`);let s=100/l*c;o[i]=s}let r=0;for(let i=0;i<a.length;i++){let c=t[i];E1(c!=null,`No layout data found for index ${i}`);let s=o[i];E1(s!=null,`No layout data found for index ${i}`);let u=x7({overrideDisabledPanels:!0,panelConstraints:a[i],prevSize:c,size:s});s!=u&&(r+=s-u,o[i]=u)}if(!d5(r,0))for(let i=0;i<a.length;i++){let c=o[i];E1(c!=null,`No layout data found for index ${i}`);let s=c+r,u=x7({overrideDisabledPanels:!0,panelConstraints:a[i],prevSize:c,size:s});if(c!==u&&(r-=u-c,o[i]=u,d5(r,0)))break}let n=Object.keys(e);return o.reduce((i,c,s)=>(i[n[s]]=c,i),{})}function aL({groupId:e,panelId:a}){let t=()=>{let c=jt();for(let[s,{defaultLayoutDeferred:u,derivedPanelConstraints:d,layout:f,groupSize:h,separatorToPanels:g}]of c)if(s.id===e)return{defaultLayoutDeferred:u,derivedPanelConstraints:d,group:s,groupSize:h,layout:f,separatorToPanels:g};throw Error(`Group ${e} not found`)},o=()=>{let c=t().derivedPanelConstraints.find(s=>s.panelId===a);if(c!==void 0)return c;throw Error(`Panel constraints not found for Panel ${a}`)},l=()=>{let c=t().group.panels.find(s=>s.id===a);if(c!==void 0)return c;throw Error(`Layout not found for Panel ${a}`)},r=()=>{let c=t().layout[a];if(c!==void 0)return c;throw Error(`Layout not found for Panel ${a}`)},n=({nextSize:c,panels:s,prevLayout:u,derivedPanelConstraints:d})=>{let f=r(),h=s.findIndex(b=>b.id===a),g=h===0,m=h===s.length-1;if(m&&c<f&&(g||s.slice(0,h).every((b,p)=>{let x=d[p];return x?.collapsible&&d5(x.collapsedSize,u[x.panelId])}))){let b=s.slice(0,h).reduce((p,x)=>p+u[x.id],0);return{...u,[a]:C5(100-b)}}return oi({delta:m?f-c:c-f,initialLayout:u,panelConstraints:d,pivotIndices:m?[h-1,h]:[h,h+1],prevLayout:u,trigger:"imperative-api"})},i=c=>{let s=r();if(c===s)return;let{defaultLayoutDeferred:u,derivedPanelConstraints:d,group:f,groupSize:h,layout:g,separatorToPanels:m}=t(),b=n({nextSize:c,panels:f.panels,prevLayout:g,derivedPanelConstraints:d}),p=Al({layout:b,panelConstraints:d});zl(g,p)||wa(f,{defaultLayoutDeferred:u,derivedPanelConstraints:d,groupSize:h,layout:p,separatorToPanels:m})};return{collapse:()=>{let{collapsible:c,collapsedSize:s}=o(),{mutableValues:u}=l(),d=r();c&&d!==s&&(u.expandToSize=d,i(s))},expand:()=>{let{collapsible:c,collapsedSize:s,minSize:u}=o(),{mutableValues:d}=l(),f=r();if(c&&f===s){let h=d.expandToSize??u;h===0&&(h=1),i(h)}},getSize:()=>{let{group:c}=t(),s=r(),{element:u}=l(),d=c.orientation==="horizontal"?u.offsetWidth:u.offsetHeight;return{asPercentage:s,inPixels:d}},isCollapsed:()=>{let{collapsible:c,collapsedSize:s}=o(),u=r();return c&&d5(s,u)},resize:c=>{let{group:s}=t(),{element:u}=l(),d=z7({group:s}),f=ai({groupSize:d,panelElement:u,styleProp:c}),h=C5(f/d*100);i(h)}}}function Dq(e){if(e.defaultPrevented)return;let a=jt();Wg(e,a).forEach(t=>{if(t.separator&&!t.separator.disableDoubleClick){let o=t.panels.find(l=>l.panelConstraints.defaultSize!==void 0);if(o){let l=o.panelConstraints.defaultSize,r=aL({groupId:t.group.id,panelId:o.id});r&&l!==void 0&&(r.resize(l),e.preventDefault())}}})}function Sd(e){let a=jt();for(let[t]of a)if(t.separators.some(o=>o.element===e))return t;throw Error("Could not find parent Group for separator element")}function tL({groupId:e}){let a=()=>{let t=jt();for(let[o,l]of t)if(o.id===e)return{group:o,...l};throw Error(`Could not find Group with id "${e}"`)};return{getLayout(){let{defaultLayoutDeferred:t,layout:o}=a();return t?{}:o},setLayout(t){let{defaultLayoutDeferred:o,derivedPanelConstraints:l,group:r,groupSize:n,layout:i,separatorToPanels:c}=a(),s=Al({layout:t,panelConstraints:l});return o?i:(zl(i,s)||wa(r,{defaultLayoutDeferred:o,derivedPanelConstraints:l,groupSize:n,layout:s,separatorToPanels:c}),s)}}}function Ml(e,a){let t=Sd(e),o=Ut(t.id,!0),l=t.separators.find(u=>u.element===e);E1(l,"Matching separator not found");let r=o.separatorToPanels.get(l);E1(r,"Matching panels not found");let n=r.map(u=>t.panels.indexOf(u)),i=tL({groupId:t.id}).getLayout(),c=oi({delta:a,initialLayout:i,panelConstraints:o.derivedPanelConstraints,pivotIndices:n,prevLayout:i,trigger:"keyboard"}),s=Al({layout:c,panelConstraints:o.derivedPanelConstraints});zl(i,s)||wa(t,{defaultLayoutDeferred:o.defaultLayoutDeferred,derivedPanelConstraints:o.derivedPanelConstraints,groupSize:o.groupSize,layout:s,separatorToPanels:o.separatorToPanels},{isUserInteraction:!0})}function Pq(e){if(e.defaultPrevented)return;let a=e.currentTarget,t=Sd(a);if(!t.disabled)switch(e.key){case"ArrowDown":{e.preventDefault(),t.orientation==="vertical"&&Ml(a,5);break}case"ArrowLeft":{e.preventDefault(),t.orientation==="horizontal"&&Ml(a,-5);break}case"ArrowRight":{e.preventDefault(),t.orientation==="horizontal"&&Ml(a,5);break}case"ArrowUp":{e.preventDefault(),t.orientation==="vertical"&&Ml(a,-5);break}case"End":{e.preventDefault(),Ml(a,100);break}case"Enter":{e.preventDefault();let o=Sd(a),l=Ut(o.id,!0),{derivedPanelConstraints:r,layout:n,separatorToPanels:i}=l,c=o.separators.find(f=>f.element===a);E1(c,"Matching separator not found");let s=i.get(c);E1(s,"Matching panels not found");let u=s[0],d=r.find(f=>f.panelId===u.id);if(E1(d,"Panel metadata not found"),d.collapsible){let f=n[u.id],h=d.collapsedSize===f?o.mutableState.expandedPanelSizes[u.id]??d.minSize:d.collapsedSize;Ml(a,h-f)}break}case"F6":{e.preventDefault();let o=Sd(a).separators.map(n=>n.element),l=Array.from(o).findIndex(n=>n===e.currentTarget);E1(l!==null,"Index not found");let r=e.shiftKey?l>0?l-1:o.length-1:l+1<o.length?l+1:0;o[r].focus({preventScroll:!0});break}case"Home":{e.preventDefault(),Ml(a,-100);break}}}function Nq(e){if(e.defaultPrevented||e.pointerType==="mouse"&&e.button>0)return;let a=jt(),t=Wg(e,a),o=new Map,l=!1;t.forEach(r=>{r.separator&&(l||(l=!0,r.separator.element.focus({focusVisible:!1,preventScroll:!0})));let n=a.get(r.group);n&&o.set(r.group,n.layout)}),M7({cursorFlags:0,hitRegions:t,initialLayoutMap:o,pointerDownAtPoint:{x:e.clientX,y:e.clientY},state:"active"}),t.length&&e.preventDefault()}function oL({document:e,event:a,hitRegions:t,initialLayoutMap:o,mountedGroups:l,pointerDownAtPoint:r,prevCursorFlags:n}){let i=0;t.forEach(s=>{let{group:u,groupSize:d}=s,{orientation:f,panels:h}=u,{disableCursor:g}=u.mutableState,m=0;r?f==="horizontal"?m=(a.clientX-r.x)/d*100:m=(a.clientY-r.y)/d*100:f==="horizontal"?m=a.clientX<0?-100:100:m=a.clientY<0?-100:100;let b=o.get(u),p=l.get(u);if(!b||!p)return;let{defaultLayoutDeferred:x,derivedPanelConstraints:v,groupSize:M,layout:_,separatorToPanels:z}=p;if(v&&_&&z){let A=oi({delta:m,initialLayout:b,panelConstraints:v,pivotIndices:s.panels.map(S=>h.indexOf(S)),prevLayout:_,trigger:"mouse-or-touch"});if(zl(A,_)){if(m!==0&&!g)switch(f){case"horizontal":{i|=m<0?Kq:Xq;break}case"vertical":{i|=m<0?Yq:Zq;break}}}else wa(s.group,{defaultLayoutDeferred:x,derivedPanelConstraints:v,groupSize:M,layout:A,separatorToPanels:z})}});let c=0;a.movementX===0?c|=n&Hq:c|=i&Hq,a.movementY===0?c|=n&Fq:c|=i&Fq,pG(c),jg(e)}function Oq(e){let a=jt(),t=_l();t.state==="active"&&oL({document:e.currentTarget,event:e,hitRegions:t.hitRegions,initialLayoutMap:t.initialLayoutMap,mountedGroups:a,prevCursorFlags:t.cursorFlags})}function Eq(e){if(e.defaultPrevented)return;let a=_l(),t=jt();switch(a.state){case"active":{if(e.buttons===0){M7({cursorFlags:0,state:"inactive"}),a.hitRegions.forEach(o=>{if(!t.has(o.group))return;let l=Ut(o.group.id,!0);wa(o.group,l,{isUserInteraction:!0})});return}for(let o of a.hitRegions)if(o.separator){let{element:l}=o.separator;l.hasPointerCapture?.(e.pointerId)||l.setPointerCapture?.(e.pointerId)}oL({document:e.currentTarget,event:e,hitRegions:a.hitRegions,initialLayoutMap:a.initialLayoutMap,mountedGroups:t,pointerDownAtPoint:a.pointerDownAtPoint,prevCursorFlags:a.cursorFlags});break}default:{let o=Wg(e,t);o.length===0?a.state!=="inactive"&&M7({cursorFlags:0,state:"inactive"}):M7({cursorFlags:0,hitRegions:o,state:"hover"}),jg(e.currentTarget);break}}}function Iq(e){e.relatedTarget instanceof HTMLIFrameElement&&_l().state==="hover"&&M7({cursorFlags:0,state:"inactive"})}function Uq(e){e.defaultPrevented||e.pointerType==="mouse"&&e.button>0||$q(e.currentTarget)&&e.preventDefault()}function jq(e){let a=0,t=0,o={};for(let r of e)if(r.defaultSize!==void 0){a++;let n=C5(r.defaultSize);t+=n,o[r.panelId]=n}else o[r.panelId]=void 0;let l=e.length-a;if(l!==0){let r=C5((100-t)/l);for(let n of e)n.defaultSize===void 0&&(o[n.panelId]=r)}return o}function HG(e,a,t){if(!t[0])return;let o=e.panels.find(c=>c.element===a);if(!o||!o.onResize)return;let l=z7({group:e}),r=e.orientation==="horizontal"?o.element.offsetWidth:o.element.offsetHeight,n=o.mutableValues.prevSize,i={asPercentage:C5(r/l*100),inPixels:r};o.mutableValues.prevSize=i,o.onResize(i,o.id,n)}function FG(e,a){if(Object.keys(e).length!==Object.keys(a).length)return!1;for(let t in e)if(e[t]!==a[t])return!1;return!0}function VG(e,a){return e.length!==a.length?!1:e.every((t,o)=>FG(t,a[o]))}function qG({group:e,nextGroupSize:a,prevGroupSize:t,prevLayout:o}){if(t<=0||a<=0||t===a)return o;let l=0,r=0,n=!1,i=new Map,c=[];for(let d of e.panels){let f=o[d.id]??0;if(d.panelConstraints.groupResizeBehavior==="preserve-pixel-size"){n=!0;let h=f/100*t,g=C5(h/a*100);i.set(d.id,g),l+=g}else c.push(d.id),r+=f}if(!n||c.length===0)return o;let s=100-l,u={...o};if(i.forEach((d,f)=>{u[f]=d}),r>0)for(let d of c){let f=o[d]??0;u[d]=C5(f/r*s)}else{let d=C5(s/c.length);for(let f of c)u[f]=d}return u}function LG(e,a){let t=e.map(l=>l.id),o=Object.keys(a);if(t.length!==o.length)return!1;for(let l of t)if(!o.includes(l))return!1;return!0}var g7=new Map;function wG(e){let a=!0;E1(e.element.ownerDocument.defaultView,"Cannot register an unmounted Group");let t=e.element.ownerDocument.defaultView.ResizeObserver,o=new Set,l=new Set,r=new t(g=>{for(let m of g){let{borderBoxSize:b,target:p}=m;if(p===e.element){if(a){let x=z7({group:e});if(x===0)return;let v=Ut(e.id);if(!v)return;let M=Eg(e),_=v.defaultLayoutDeferred?jq(M):v.layout,z=qG({group:e,nextGroupSize:x,prevGroupSize:v.groupSize,prevLayout:_}),A=Al({layout:z,panelConstraints:M});if(!v.defaultLayoutDeferred&&zl(v.layout,A)&&VG(v.derivedPanelConstraints,M)&&v.groupSize===x)continue;wa(e,{defaultLayoutDeferred:!1,derivedPanelConstraints:M,groupSize:x,layout:A,separatorToPanels:v.separatorToPanels})}}else HG(e,p,b)}});r.observe(e.element),e.panels.forEach(g=>{E1(!o.has(g.id),`Panel ids must be unique; id "${g.id}" was used more than once`),o.add(g.id),g.onResize&&r.observe(g.element)});let n=z7({group:e}),i=Eg(e),c=e.panels.map(({id:g})=>g).join(","),s=e.mutableState.defaultLayout;s&&(LG(e.panels,s)||(s=void 0));let u=e.mutableState.layouts[c]??s??jq(i),d=Al({layout:u,panelConstraints:i}),f=e.element.ownerDocument;g7.set(f,(g7.get(f)??0)+1);let h=new Map;return Qq(e).forEach(g=>{g.separator&&h.set(g.separator,g.panels)}),wa(e,{defaultLayoutDeferred:n===0,derivedPanelConstraints:i,groupSize:n,layout:d,separatorToPanels:h}),e.separators.forEach(g=>{E1(!l.has(g.id),`Separator ids must be unique; id "${g.id}" was used more than once`),l.add(g.id),g.element.addEventListener("keydown",Pq)}),g7.get(f)===1&&(f.addEventListener("contextmenu",wq,!0),f.addEventListener("dblclick",Dq,!0),f.addEventListener("pointerdown",Nq,!0),f.addEventListener("pointerleave",Oq),f.addEventListener("pointermove",Eq),f.addEventListener("pointerout",Iq),f.addEventListener("pointerup",Uq,!0)),function(){a=!1,g7.set(f,Math.max(0,(g7.get(f)??0)-1)),xG(e),e.separators.forEach(g=>{g.element.removeEventListener("keydown",Pq)}),g7.get(f)||(f.removeEventListener("contextmenu",wq,!0),f.removeEventListener("dblclick",Dq,!0),f.removeEventListener("pointerdown",Nq,!0),f.removeEventListener("pointerleave",Oq),f.removeEventListener("pointermove",Eq),f.removeEventListener("pointerout",Iq),f.removeEventListener("pointerup",Uq,!0)),r.disconnect()}}function kG(){let[e,a]=(0,f1.useState)({}),t=(0,f1.useCallback)(()=>a({}),[]);return[e,t]}function Qg(e){let a=(0,f1.useId)();return`${e??a}`}var Cl=typeof window<"u"?f1.useLayoutEffect:f1.useEffect;function ti(e){let a=(0,f1.useRef)(e);return Cl(()=>{a.current=e},[e]),(0,f1.useCallback)((...t)=>a.current?.(...t),[a])}function Kg(...e){return ti(a=>{e.forEach(t=>{if(t)switch(typeof t){case"function":{t(a);break}case"object":{t.current=a;break}}})})}function Xg(e){let a=(0,f1.useRef)({...e});return Cl(()=>{for(let t in e)a.current[t]=e[t]},[e]),a.current}var lL=(0,f1.createContext)(null);function TG(e,a){let t=(0,f1.useRef)({getLayout:()=>({}),setLayout:vG});(0,f1.useImperativeHandle)(a,()=>t.current,[]),Cl(()=>{Object.assign(t.current,tL({groupId:e}))})}function Yg({children:e,className:a,defaultLayout:t,disableCursor:o,disabled:l,elementRef:r,groupRef:n,id:i,onLayoutChange:c,onLayoutChanged:s,orientation:u="horizontal",resizeTargetMinimumSize:d={coarse:20,fine:10},style:f,...h}){let g=(0,f1.useRef)({onLayoutChange:{},onLayoutChanged:{}}),m=ti(w=>{zl(g.current.onLayoutChange,w)||(g.current.onLayoutChange=w,c?.(w))}),b=ti((w,O)=>{zl(g.current.onLayoutChanged,w)||(g.current.onLayoutChanged=w,s?.(w,{isUserInteraction:O}))}),p=Qg(i),x=(0,f1.useRef)(null),[v,M]=kG(),_=(0,f1.useRef)({lastExpandedPanelSizes:{},layouts:{},panels:[],resizeTargetMinimumSize:d,separators:[]}),z=Kg(x,r);TG(p,n);let A=ti((w,O)=>{let V=_l(),N=Lq(w),E=Ut(w);if(E){let U=!1;return V.state==="active"&&(U=V.hitRegions.some(e1=>e1.group===N)),{flexGrow:E.layout[O]??1,pointerEvents:U?"none":void 0}}if(t?.[O])return{flexGrow:t?.[O]}}),S=Xg({defaultLayout:t,disableCursor:o}),R=(0,f1.useMemo)(()=>({get disableCursor(){return!!S.disableCursor},getPanelStyles:A,id:p,orientation:u,registerPanel:w=>{let O=_.current;return O.panels=Ig(u,[...O.panels,w]),M(),()=>{O.panels=O.panels.filter(V=>V!==w),M()}},registerSeparator:w=>{let O=_.current;return O.separators=Ig(u,[...O.separators,w]),M(),()=>{O.separators=O.separators.filter(V=>V!==w),M()}},updatePanelProps:(w,{disabled:O})=>{let V=_.current.panels.find(U=>U.id===w);V&&(V.panelConstraints.disabled=O);let N=Lq(p),E=Ut(p);N&&E&&wa(N,{...E,derivedPanelConstraints:Eg(N)})},updateSeparatorProps:(w,{disabled:O,disableDoubleClick:V})=>{let N=_.current.separators.find(E=>E.id===w);N&&(N.disabled=O,N.disableDoubleClick=V)}}),[A,p,M,u,S]),B=(0,f1.useRef)(null);return Cl(()=>{let w=x.current;if(w===null)return;let O=_.current,V;if(S.defaultLayout!==void 0&&Object.keys(S.defaultLayout).length===O.panels.length){V={};for(let n1 of O.panels){let I1=S.defaultLayout[n1.id];I1!==void 0&&(V[n1.id]=I1)}}let N={disabled:!!l,element:w,id:p,mutableState:{defaultLayout:V,disableCursor:!!S.disableCursor,expandedPanelSizes:_.current.lastExpandedPanelSizes,layouts:_.current.layouts},orientation:u,panels:O.panels,resizeTargetMinimumSize:O.resizeTargetMinimumSize,separators:O.separators};B.current=N;let E=wG(N),{defaultLayoutDeferred:U,derivedPanelConstraints:e1,layout:J}=Ut(N.id,!0);!U&&e1.length>0&&(m(J),b(J,!1));let A1=Gg(p,n1=>{let{defaultLayoutDeferred:I1,derivedPanelConstraints:G,layout:w1}=n1.next;if(I1||G.length===0)return;let G5=N.panels.map(({id:C1})=>C1).join(",");N.mutableState.layouts[G5]=w1,G.forEach(C1=>{if(C1.collapsible){let{layout:W5}=n1.prev??{};if(W5){let Ee=d5(C1.collapsedSize,w1[C1.panelId]),Ie=d5(C1.collapsedSize,W5[C1.panelId]);Ee&&!Ie&&(N.mutableState.expandedPanelSizes[C1.panelId]=W5[C1.panelId])}}});let t1=_l().state!=="active";m(w1),t1&&b(w1,n1.isUserInteraction)});return()=>{B.current=null,E(),A1()}},[l,p,b,m,u,v,S]),(0,f1.useEffect)(()=>{let w=B.current;w&&(w.mutableState.defaultLayout=t,w.mutableState.disableCursor=!!o)}),(0,_7.jsx)(lL.Provider,{value:R,children:(0,_7.jsx)("div",{...h,className:a,"data-group":!0,"data-testid":p,id:p,ref:z,style:{height:"100%",width:"100%",overflow:"hidden",...f,display:"flex",flexDirection:u==="horizontal"?"row":"column",flexWrap:"nowrap",touchAction:u==="horizontal"?"pan-y":"pan-x"},children:e})})}Yg.displayName="Group";function Zg(){let e=(0,f1.useContext)(lL);return E1(e,"Group Context not found; did you render a Panel or Separator outside of a Group?"),e}function BG(e,a){let{id:t}=Zg(),o=(0,f1.useRef)({collapse:Og,expand:Og,getSize:()=>({asPercentage:0,inPixels:0}),isCollapsed:()=>!1,resize:Og});(0,f1.useImperativeHandle)(a,()=>o.current,[]),Cl(()=>{Object.assign(o.current,aL({groupId:t,panelId:e}))})}function Hd({children:e,className:a,collapsedSize:t="0%",collapsible:o=!1,defaultSize:l,disabled:r,elementRef:n,groupResizeBehavior:i="preserve-relative-size",id:c,maxSize:s="100%",minSize:u="0%",onResize:d,panelRef:f,style:h,...g}){let m=!!c,b=Qg(c),p=Xg({disabled:r}),x=(0,f1.useRef)(null),v=Kg(x,n),{getPanelStyles:M,id:_,orientation:z,registerPanel:A,updatePanelProps:S}=Zg(),R=d!==null,B=ti((N,E,U)=>{d?.(N,c,U)});Cl(()=>{let N=x.current;if(N!==null){let E={element:N,id:b,idIsStable:m,mutableValues:{expandToSize:void 0,prevSize:void 0},onResize:R?B:void 0,panelConstraints:{groupResizeBehavior:i,collapsedSize:t,collapsible:o,defaultSize:l,disabled:p.disabled,maxSize:s,minSize:u}};return A(E)}},[i,t,o,l,R,b,m,s,u,B,A,p]),(0,f1.useEffect)(()=>{S(b,{disabled:r})},[r,b,S]),BG(b,f);let w=()=>{let N=M(_,b);if(N)return JSON.stringify(N)},O=(0,f1.useSyncExternalStore)(N=>Gg(_,N),w,w),V;return O?V=JSON.parse(O):l!==void 0?V={flexGrow:void 0,flexShrink:void 0,flexBasis:l}:V={flexGrow:1},(0,_7.jsx)("div",{...g,"data-disabled":r||void 0,"data-panel":!0,"data-testid":b,id:b,ref:v,style:{...DG,display:"flex",flexBasis:0,flexShrink:1,overflow:"visible",...V},children:(0,_7.jsx)("div",{className:a,style:{maxHeight:"100%",maxWidth:"100%",flexGrow:1,overflow:"auto",...h,touchAction:z==="horizontal"?"pan-y":"pan-x"},children:e})})}Hd.displayName="Panel";var DG={minHeight:0,maxHeight:"100%",height:"auto",minWidth:0,maxWidth:"100%",width:"auto",border:"none",borderWidth:0,padding:0,margin:0};function PG({layout:e,panelConstraints:a,panelId:t,panelIndex:o}){let l,r,n=e[t],i=a.find(c=>c.panelId===t);if(i){let c=i.maxSize,s=i.collapsible?i.collapsedSize:i.minSize,u=[o,o+1];r=Al({layout:oi({delta:s-n,initialLayout:e,panelConstraints:a,pivotIndices:u,prevLayout:e}),panelConstraints:a})[t],l=Al({layout:oi({delta:c-n,initialLayout:e,panelConstraints:a,pivotIndices:u,prevLayout:e}),panelConstraints:a})[t]}return{valueControls:t,valueMax:l,valueMin:r,valueNow:n}}function Jg({children:e,className:a,disabled:t,disableDoubleClick:o,elementRef:l,id:r,style:n,...i}){let c=Qg(r),s=Xg({disabled:t,disableDoubleClick:o}),[u,d]=(0,f1.useState)({}),[f,h]=(0,f1.useState)("inactive"),[g,m]=(0,f1.useState)(!1),b=(0,f1.useRef)(null),p=Kg(b,l),{disableCursor:x,id:v,orientation:M,registerSeparator:_,updateSeparatorProps:z}=Zg(),A=M==="horizontal"?"vertical":"horizontal";Cl(()=>{let B=b.current;if(B!==null){let w={disabled:s.disabled,disableDoubleClick:s.disableDoubleClick,element:B,id:c},O=_(w),V=mG(E=>{h(E.next.state!=="inactive"&&E.next.hitRegions.some(U=>U.separator===w)?E.next.state:"inactive")}),N=Gg(v,E=>{let{derivedPanelConstraints:U,layout:e1,separatorToPanels:J}=E.next,A1=J.get(w);if(A1){let n1=A1[0],I1=A1.indexOf(n1);d(PG({layout:e1,panelConstraints:U,panelId:n1.id,panelIndex:I1}))}});return()=>{V(),N(),O()}}},[v,c,_,s]),(0,f1.useEffect)(()=>{z(c,{disabled:t,disableDoubleClick:o})},[t,o,c,z]);let S;t&&!x&&(S="not-allowed");let R;return t?R="disabled":f==="active"?R="active":g?R="focus":R=f,(0,_7.jsx)("div",{...i,"aria-controls":u.valueControls,"aria-disabled":t||void 0,"aria-orientation":A,"aria-valuemax":u.valueMax,"aria-valuemin":u.valueMin,"aria-valuenow":u.valueNow,children:e,className:a,"data-separator":R,"data-testid":c,id:c,onBlur:()=>m(!1),onFocus:()=>m(!0),ref:p,role:"separator",style:{flexBasis:"auto",cursor:S,...n,flexGrow:0,flexShrink:0,touchAction:"none"},tabIndex:t?void 0:0})}Jg.displayName="Separator";var yi=C(y(),1);var ex=Symbol.for("freik.typetag");function d0(e){return e===void 0}function X1(e){return!d0(e)}function li(e){return e===null}function NG(e){return e==null}function OG(e){return!NG(e)}function EG(e,...a){return a.some(t=>t(e))}function x0(...e){return a=>EG(a,...e)}function IG(e,...a){return a.every(t=>t(e))}function re(e){return IG(e,UG,OG)}function UG(e){return typeof e=="object"}function Ld(e){return Array.isArray(e)}function u1(e){return typeof e=="string"}function I5(e){return typeof e=="number"&&!isNaN(e-0)}var vL1=x0(u1,I5);function tx(e){return typeof e=="boolean"}function jG(e){return e instanceof Date}function GG(e){return typeof e=="bigint"}function Gt(e){return typeof e=="function"}function WG(e){return e instanceof RegExp}function nL(e){return e instanceof Map}function QG(e){return e instanceof Set}function Fd(e,a){if(!Ld(e))return!1;for(let t of e)if(!a(t))return!1;return!0}function ie(e){return a=>Fd(a,e)}function KG(e,...a){return Ld(e)&&e.length===a.length&&a.every((t,o)=>t(e[o]))}function ox(...e){return a=>KG(a,...e)}function XG(e,a,t){if(!nL(e))return!1;for(let[o,l]of e)if(!a(o)||!t(l))return!1;return!0}function Vd(e,a){return t=>XG(t,e,a)}function YG(e,a){if(!re(e))return!1;for(let t of[...Object.keys(e),...Object.getOwnPropertySymbols(e)])if(!D2(e,t,a))return!1;return!0}function qd(e){return typeof e=="symbol"}function k0(e,a){return re(e)&&a in e}function Wt(e,a,t){return k0(e,a)&&t(e[a])}function lx(e,a){return t=>D2(t,e,a)}var D2=Wt;function yl(e,a){return D2(e,a,u1)}function ZG(e){return k0(e,Symbol.iterator)}function ax(e){return e===null||u1(e)||I5(e)||tx(e)||Fd(e,ax)||re(e)&&Fd(Object.keys(e),x0(u1,I5))&&YG(e,ax)}function iL(e,a,t,o){if(!re(a))return!1;let l=Object.keys(t).length,r=Object.keys(a),n=r.length;for(let i of r){if(!k0(a,i))continue;let c=a[i];if(d0(c)||a[i]===null){delete a[i],n--;continue}if(D2(o,i,Gt)){let s=o[i];if(!s(c))return!1;n--}else if(D2(t,i,Gt)){let s=t[i];if(!s(c))return!1;l--,n--}}return l===0&&(n===0||!e)}function JG(e,a={}){return t=>iL(!1,t,e,a)}function L1(e,a={}){return t=>iL(!0,t,e,a)}function $G(e,a,t){if(!re(e))return!1;let o=Object.keys(e),l=o.length;for(let r of o){if(!k0(e,r))continue;let n=e[r];if(!a(r)||!t(n))return!1;l--}return l===0}function cL(e,a){return t=>$G(t,e,a)}var sL=Function("try {return this===global;}catch(e){ return false;}"),uL=Function("try {return this===window;}catch(e){ return false;}");function rx(){return typeof globalThis<"u"}function eW(e){return yl(e,"@dataType")&&D2(e,"@dataValue",ax)}function aW(e,a){return{"@dataType":e,"@dataValue":a}}function tW(e){return[e["@dataType"],e["@dataValue"]]}var nx=Symbol.for("freik.Set"),ix=Symbol.for("freik.Map"),cx=Symbol.for("freik.Symbol"),sx=Symbol.for("freik.RegExp"),ux=Symbol.for("freik.Date"),dx=Symbol.for("freik.BigInt");function oW(e){return[...e.entries()]}function lW(e){return Fd(e,ox(X1,X1))?new Map(e):void 0}function rW(e){return[...e]}function nW(e){return Ld(e)?new Set(e):void 0}function iW(e){let a=Symbol.keyFor(e);if(a===void 0)throw Error("Unable to get a key for a symbol for pickling");return a}function cW(e){return u1(e)?Symbol.for(e):void 0}function sW(e){return{source:e.source,flags:e.flags}}function uW(e){if(yl(e,"source")&&yl(e,"flags"))return new RegExp(e.source,e.flags)}function dW(e){return e.toJSON()}function fW(e){try{return u1(e)?new Date(e):void 0}catch{return}}function hW(e){return e.toString()}function mW(e){try{return u1(e)?BigInt(e):void 0}catch{return}}var pW=[[nL,ix],[QG,nx],[qd,cx],[WG,sx],[jG,ux],[GG,dx]],vW=new Map([[ix,oW],[nx,rW],[cx,iW],[sx,sW],[ux,dW],[dx,hW]]),gW=new Map([[ix,lW],[nx,nW],[cx,cW],[sx,uW],[ux,fW],[dx,mW]]),xW;(e=>{e[e.Success=0]="Success",e[e.Already=1]="Already",e[e.Fail=2]="Fail",e[e.DetectionFailure=3]="DetectionFailure"})(xW||={});var u0=ex;function $g(e){return k0(e,u0)?D2(e,u0,JG({to:Vd(x0(qd,u1),Gt),from:Vd(x0(qd,u1),Gt)}))?1:2:(e[u0]={to:vW,from:gW},0)}function bW(){return rx()?$g(globalThis):uL()?$g(window):sL()?$g(global):3}switch(bW()){case 2:throw Error(`Invalid <global>[${String(u0)}] object`);case 3:throw Error("Unable to determine environment for pickling");default:break}function MW(){if(rx()&&re(globalThis)&&k0(globalThis,u0)&&k0(globalThis[u0],"to"))return globalThis[u0].to;if(sL()&&re(global)&&k0(global,u0)&&k0(global[u0],"to"))return global[u0].to;if(uL()&&re(window)&&k0(window,u0)&&k0(window[u0],"to"))return window[u0].to;throw Error("Pickling not registered!")}function rL(e){return MW().get(e)}function _W(){if(rx()&&re(globalThis)&&k0(globalThis,u0)&&k0(globalThis[u0],"from"))return globalThis[u0].from;if(re(process)&&!k0(process,"browser")&&k0(global,u0)&&k0(global[u0],"from"))return global[u0].from;if(!re(process)&&!k0(process,"browser")&&k0(window,u0)&&k0(window[u0],"from"))return window[u0].from;throw Error("Unpickling not registered!")}function zW(e){return _W().get(e)}function AW(e){if(D2(e,ex,qd)){let a=e[ex],t=rL(a);if(t)return[a,t];if(D2(e,"toJSON",Gt))return[a,o=>D2(o,"toJSON",Gt)?o.toJSON():"ERROR"]}for(let[a,t]of pW)if(a(e)){let o=rL(t);if(o)return[t,o]}}function CW(e){return zW(Symbol.for(e))}function yW(e,a){let t=this[e],o=AW(t);if(o){let[l,r]=o,n=Symbol.keyFor(l);return n?aW(n,r(t)):a}else if(ZG(t))return[...t];return a}function SW(e,a){if(eW(a)){let[t,o]=tW(a),l=CW(t);if(l){let r=l(o);if(r!==void 0)return r}}return a}function dL(e){return JSON.stringify(e,yW)}function RW(e){return JSON.parse(e,SW)}function HW(e){return RW(e)}function fL(e,a){let t=HW(e);return a(t)?t:void 0}var ne=L1({errors:Gt,[Symbol.toPrimitive]:Gt});function P2(e,a){let t=[];return t.push(...u1(e)?[e]:ne(e)?e.errors():e),X1(a)&&t.push(...u1(a)?[a]:ne(a)?a.errors():a),{errors:()=>t,[Symbol.toPrimitive]:o=>o==="string"?t.join(`
49
+ `):null}}function FW(e,a){return ne(e)?P2(e,a):P2(a)}function y5(e,a){return ne(a)?FW(e,a):e}var f2=Object.freeze({Tangent:"T",Constant:"C",Linear:"I",Point:"P",Reverse:"R",Piecewise:"L"});var VW=L1({x:I5,y:I5}),qW=L1({type:e=>e===f2.Tangent}),LW=L1({type:e=>e===f2.Constant,heading:I5}),fx=L1({type:e=>e===f2.Linear,headings:ox(I5,I5)}),wW=L1({type:e=>e===f2.Point,heading:VW}),hL=x0(qW,LW,fx,wW),kW=L1({type:e=>e===f2.Reverse,heading:hL}),wd=x0(hL,kW),TW=L1({start:I5,end:I5,heading:wd}),BW=L1({type:e=>e===f2.Piecewise,pieces:ie(TW)}),VL1=x0(BW,wd);function hx(e,a){let t=e.map(o=>({...o}));for(let o=1;o<t.length;o++)for(let l=0;l<t.length-o;l++)t[l]={x:(1-a)*t[l].x+a*t[l+1].x,y:(1-a)*t[l].y+a*t[l+1].y};return t[0]}function DW(e){let a=e.length-1,t=[];for(let o=0;o<a;o++)t.push({x:a*(e[o+1].x-e[o].x),y:a*(e[o+1].y-e[o].y)});return t}function PW(e,a){let t=DW(e);return hx(t,a)}function mL(e,a=100){let t=1/a,o=0;function l(r){let n=PW(e,r);return Math.sqrt(n.x*n.x+n.y*n.y)}for(let r=0;r<=a;r++){let n=r*t,i=r===0||r===a?1:r%2===0?2:4;o+=i*l(n)}return t/3*o}function Qt(e){let a=Math.cos(e.h),t=Math.sin(e.h),o=e.x*a-e.y*t,l=e.x*t+e.y*a;return{x:o,y:l}}function NW(e){let a=mL(e),t=[];for(let o=0;o<=1;o+=1/a){let l=o*Math.PI*2;t.push({...hx(e,o),h:l})}return t}function ii(e){if(e.length<2)return{length:0,points:[]};let a=NW(e),t=0,o=e[0];for(let l of a)t+=ni(o,l),o=l;return t+=ni(o,e[e.length-1]),{length:t,points:a}}function Td(e,a){let t=0;if(e.points.length<3)return;let o=null;for(let l=0;l<e.points.length;l++){let r=e.points[l];t+=o?ni(o,r):0,OW(o,r,l+1<e.points.length?e.points[l+1]:null,a,t/e.length),o=r}}function OW(e,a,t,o,l){if(wd(o))a.h=mx(o,e,a,t,l);else for(let r of o.pieces)l<=r.end&&l>=r.start&&(a.h=mx(r.heading,e,a,t,(l-r.start)/(r.end-r.start)))}function kd(e,a){return{x:e.x-a.x,y:e.y-a.y}}function ni(e,a){let t=kd(e,a);return Math.sqrt(t.x*t.x+t.y*t.y)}function vL(e,a){return{x:Math.cos(e)*a,y:Math.sin(e)*a}}function pL(e){return Math.atan2(e.y,e.x)}function mx(e,a,t,o,l){if(a===null&&o===null)throw new Error("Can't have both prev and next points be null");switch(e.type){case f2.Tangent:return pL(a===null?kd(o,t):kd(t,a));case f2.Constant:return e.heading;case f2.Linear:return EW(e.headings[0],e.headings[1],l);case f2.Point:return pL(kd(t,e.heading));case f2.Reverse:let r=fx(e.heading),n=mx(e.heading,a,t,o,r?-l:l);return r?n:ri(n+Math.PI)}}function ci(e,a){return Math.abs(e-a)<1e-8}function ri(e){let a=e%(2*Math.PI);return a>=0?a:a+2*Math.PI}function EW(e,a,t){let o=ri(e),l=ri(a),r=Math.abs(l-o);(r>Math.PI&&t>=0||r<Math.PI&&t<0)&&(r=Math.PI*2-r);let n=!ci(ri(o+r),l);return ri(o+r*(n?-1:1)*Math.abs(t))}var t0=Object.freeze({Circle:"o",Triangle:"t",Square:"s",Crosshair:"+",X:"x",None:"z"}),f5=Object.freeze({Trapezoid:"Trapezoid",Triangle:"Triangle",Ellipse:"Ellipse",Rectangle:"Rectangle"}),px=Object.freeze({Error:"error",Warning:"warning",Success:"success",None:"none"}),IW=Object.freeze({message:"",state:px.None});var UW=1;function jW(e,a,t){e.curves=t.map(([o,l])=>{let r=ii(o);return Td(r,l),r}),e.count=0,e.name=a||"",e.curvePoint=0,e.curveIndex=0}function GW(e){e.count=(e.count+1)%UW,e.count===0&&(e.curvePoint=(e.curvePoint+1)%e.curves[e.curveIndex].points.length,e.curvePoint===0&&(e.curveIndex=(e.curveIndex+1)%e.curves.length))}function gL(e,a,t,o,l){if(a!==o.name&&jW(o,a,t),d0(a)||o.curves.length<=o.curveIndex||o.curves[o.curveIndex].length<=o.curvePoint)return;let n=o.curves[o.curveIndex].points[o.curvePoint];X1(n)?(e.strokeStyle=l.Color??"#ff9020",e.lineWidth=1,e.lineCap="round",WW(e,n,l)):console.log("Index",o.curveIndex,"item",o.curvePoint),GW(o)}function WW(e,a,t){let o=Math.min(t.Width,9),l=Math.min(t.Depth,9),r=o/5;e.beginPath();let n=Qt({x:l,y:0,h:a.h}),i=Qt({x:-l,y:-o,h:a.h}),c=Qt({x:-l,y:o,h:a.h});switch(t.Shape){case f5.Rectangle:{let s=Qt({x:l,y:o,h:a.h}),u=Qt({x:l,y:-o,h:a.h});e.moveTo(a.x+s.x,a.y+s.y),e.lineTo(a.x+u.x,a.y+u.y),e.lineTo(a.x+i.x,a.y+i.y),e.lineTo(a.x+c.x,a.y+c.y),e.closePath()}break;case f5.Trapezoid:{let s=Qt({x:l,y:o-r,h:a.h}),u=Qt({x:l,y:-o+r,h:a.h});e.moveTo(a.x+s.x,a.y+s.y),e.lineTo(a.x+u.x,a.y+u.y),e.lineTo(a.x+i.x,a.y+i.y),e.lineTo(a.x+c.x,a.y+c.y),e.closePath()}break;case f5.Ellipse:e.ellipse(a.x,a.y,l,o,a.h,0,Math.PI*2);break;case f5.Triangle:e.moveTo(a.x+n.x,a.y+n.y),e.lineTo(a.x+i.x,a.y+i.y),e.lineTo(a.x+c.x,a.y+c.y),e.lineTo(a.x+n.x,a.y+n.y)}e.moveTo(a.x+n.x,a.y+n.y),e.lineTo(a.x,a.y),e.stroke()}var A7=Object.freeze({Line:"line",Curve:"curve"}),b0=Object.freeze({Reversed:"reversed",Tangent:"tangent",Constant:"constant",Linear:"linear",Point:"point",Piecewise:"piecewise"});var si={name:"",fullName:"",imports:[],container:{fileName:""},children:{},values:[],poses:[],beziers:[],pathChains:[],pathChainHelpers:[]},t5=u1,Dd=u1,ui=L1({int:I5}),Pd=L1({double:I5}),vx=x0(ui,Pd),Ne=x0(Dd,vx),ka=L1({radians:Ne}),QW=L1({name:u1,value:x0(Ne,ka)}),Bd=x0(Ne,ka),h2=u1,xL=L1({x:Ne,y:Ne},{heading:Bd}),KW=L1({name:u1,pose:xL}),bL=x0(h2,xL);function XW(e){return e===A7.Line||e===A7.Curve}var YW=u1,ML=L1({type:XW,points:ie(bL)}),ZW=L1({name:u1,points:ML}),JW=x0(YW,ML);function $W(e){return e===b0.Tangent}function eQ(e){return e===b0.Constant}function aQ(e){return e===b0.Linear}function tQ(e){return e===b0.Point}function oQ(e){return e===b0.Reversed}function lQ(e){return e===b0.Piecewise}var Nd=L1({type:$W}),Od=L1({type:eQ,heading:Bd}),Ed=L1({type:aQ,start:Bd,end:Bd}),Id=L1({type:tQ,point:bL}),Ud=x0(Nd,Od,Ed,Id),rQ=L1({start:Ne,end:Ne}),di=L1({type:oQ,facing:Ud}),nQ=x0(Ud,di),iQ=L1({timing:rQ,heading:nQ}),gx=L1({type:lQ,pieces:ie(iQ)}),cQ=e=>x0(Nd,Od,Ed,Id,gx,di)(e),sQ=L1({name:u1,paths:ie(JW),heading:cQ}),uQ=L1({name:u1,staticType:u1}),dQ=x0(lx("fileName",u1),lx("className",u1));function fi(e){let a=yl(e,"name");return a=a&&Wt(e,"container",dQ),a=a&&Wt(e,"values",ie(QW)),a=a&&Wt(e,"poses",ie(KW)),a=a&&Wt(e,"beziers",ie(ZW)),a=a&&Wt(e,"pathChains",ie(sQ)),a=a&&Wt(e,"pathChainHelpers",ie(uQ)),a=a&&D2(e,"children",cL(u1,fi)),a}function xx(e){let a=new Map(e.values.map(n=>[n.name,n.value])),t=new Map(e.poses.map(n=>[n.name,n.pose])),o=new Map(e.beziers.map(n=>[n.name,n.points])),l=new Map(e.pathChains.map(n=>[n.name,{paths:n.paths,heading:n.heading}])),r=new Map(e.pathChainHelpers.map(n=>[n.name,n.staticType]));return{container:e,namedValues:a,namedBeziers:o,namedPoses:t,namedPathChains:l,staticShortcuts:r}}function fQ(){let e=new Map,a,t=f=>{e.set(f.container.fullName,f)},o=f=>e.get(u1(f)?f:f.fullName);function l(f,h,g){let m=o(h);if(d0(m)){console.error("Unable to find context index",h.fullName);return}let b=g(m).get(f);if(X1(b))return b;let p=f.indexOf(".");if(p<0)return;let x=o(h)?.staticShortcuts.get(f.substring(0,p));if(X1(x))return l(`${x}${f.substring(p)}`,h,g);let v=f.lastIndexOf("."),M=f.substring(0,v),_=f.substring(v+1);for(let z of h.imports){let A=o(`${z}.${M}`);if(d0(A))continue;let S=l(_,A.container,g);if(X1(S))return S}}let r=(f,h)=>l(f,h,g=>g.namedValues),n=(f,h)=>l(f,h,g=>g.namedPoses),i=(f,h)=>l(f,h,g=>g.namedBeziers),c=(f,h)=>l(f,h,g=>g.namedPathChains),s=()=>{e.clear(),a=void 0};return{findBezier:i,findPath:c,findPose:n,findValue:r,setDb:f=>{s(),a=f;for(let[,h]of f.ParsedClasses)t(xx(h))},db:()=>a}}var hQ=fQ();function N2(){return hQ}function _L(e,a){let t=e.container;function o(m,b){return t5(m)&&!a.findValue(m,t)&&d0(jd(m))?P2(`${b}'s "${m}" value reference appears to be undefined.`):!0}function l(m,b){return ka(m)&&(m=m.radians),o(m,b)!==!0?n(m,b):!0}function r(m,b){let p=!0;return m.heading&&(p=l(m.heading,`${b}'s heading`)),p=y5(o(m.x,`${b}'s x coordinate`),p),y5(o(m.y,`${b}'s y coordinate`),p)}function n(m,b){return t5(m)?a.findPose(m,t)?!0:P2(`${b}'s "${m}" pose reference appears to be undefined`):r(m,b)}function i(m,b){let p=!0;return m.points.forEach((x,v)=>{p=y5(n(x,`${b}'s element ${v}`),p)}),m.type===A7.Line&&m.points.length!==2?y5(p,P2(`${b}'s line doesn't have 2 points`)):m.type===A7.Curve&&m.points.length<2?y5(p,P2(`${b}'s line doesn't have enough points`)):p}function c(m,b){return t5(m)?a.findBezier(m,t)?!0:P2(`${b}'s bezier reference appears to be undefined`):i(m,b)}function s(m,b){let p=d(m.heading,b);return m.paths.forEach((x,v)=>{p=y5(c(x,`${b}'s path element ${v}`),p)}),p}function u(m,b){let p=!0;return m.forEach((x,v)=>{p=y5(o(x.timing.start,`${b}'s timing start #${v}`),p),p=y5(o(x.timing.end,`${b}'s timing end #${v}`),p),p=y5(d(x.heading,`${b}'s heading #${v}`),p)}),p}function d(m,b){let p=!0;switch(m.type){case b0.Constant:p=l(m.heading,`${b}'s constant heading ref`);break;case b0.Linear:p=l(m.start,`${b}'s start heading ref`),p=y5(l(m.end,`${b}'s end heading ref`),p);break;case b0.Tangent:break;case b0.Reversed:p=d(m.facing,`${b}'s reversed heading interpolator`);break;case b0.Point:p=n(m.point,`${b}'s point heading interpolator`);break;case b0.Piecewise:p=u(m.pieces,`${b}'s Piecewise heading interpolator`);break;default:console.error("NYI: Unknown heading interpolator type",m)}return p}function f(){return new Set([...e.namedValues.keys(),...e.namedPoses.keys(),...e.namedBeziers.keys(),...e.namedPathChains.keys()]).size!==e.namedValues.size+e.namedPoses.size+e.namedBeziers.size+e.namedPathChains.size?P2("Duplicate names found between values, points, beziers, and path chains."):!0}function h(){let m=!0;return e.namedPoses.forEach((b,p)=>{m=y5(n(b,p),m)}),e.namedBeziers.forEach((b,p)=>{m=y5(c(b,p),m)}),e.namedPathChains.forEach((b,p)=>{m=y5(s(b,p),m)}),m=y5(f(),m),ne(m)?m:!0}let g=h();return ne(g)?g:!0}var zL={container:si,namedValues:new Map,namedPoses:new Map,namedBeziers:new Map,namedPathChains:new Map,staticShortcuts:new Map};function jd(e){switch(e){case"Math.PI":return Math.PI;case"Math.E":return Math.E}}function Ta(e,a,t){let o=e,l=N2(),r=new Set(t??[]);for(;t5(o);){if(r.has(o))throw Wd(o,r);r.add(o);let n=l.findValue(o,a);if(d0(n)){let i=jd(o);if(X1(i))return i;throw new Error(`Invalid ValueRef ${e} through ${o}`)}o=n}return pQ(o,a,r)}function mQ(e,a,t){let o=e,l=new Set(t??[]),r=N2();for(;t5(o);){if(l.has(o))throw Wd(o,l);l.add(o);let n=r.findPose(o,a);if(d0(n))throw new Error(`Invalid PoseRef heading ${e} through ${o}`);o=n}if(d0(o))throw new Error(`Invalid PoseRef ${e}`);if(d0(o.heading))throw new Error(`No heading for Pose ${o} from PoseRef ${e}`);return hi(o.heading,a,l)}function Gd(e,a,t){let o=e,l=N2(),r=new Set(t??[]);for(;t5(o);){if(r.has(o))throw Wd(o,r);r.add(o);let c=l.findPose(o,a);if(d0(c))throw new Error(`Invalid PoseRef ${e} through ${o}`);o=c}if(d0(o))throw new Error(`Invalid PoseRef ${e}`);let n=Ta(o.x,a,r),i=Ta(o.y,a,r);return X1(o.heading)?{x:n,y:i,h:hi(o.heading,a,t)}:{x:n,y:i}}function bx(e,a,t){let o=N2(),l=e,r=new Set(t??[]);for(;t5(l);){if(r.has(l))throw Wd(l,r);r.add(l);let n=o.findBezier(l,a);if(d0(n))throw new Error(`Invalid BezierRef ${e} through ${l}`);l=n}return l.points.map(n=>Gd(n,a,r))}function hi(e,a,t){if(t5(e)){if(vx(e))return Ta(e,a,t);let o=N2(),l=o.findValue(e,a);if(X1(l))return Ta(l,a,t);let r=o.findPose(e,a);if(X1(r))return mQ(r,a,t);let n=jd(e);if(X1(n))return n;throw new Error(`Missing heading for ${e}`)}else return ka(e)?Math.PI*Ta(e.radians,a,t)/180:Ta(e,a,t)}function pQ(e,a,t){if(Pd(e))return e.double;if(ui(e))return e.int;{let o=N2();return Math.PI*Ta(e.radians,a,t)/180}}function AL(e,a){return Ud(e)?Mx(e,a):di(e)?yL(e,a):gx(e)?_Q(e,a):CL()}function Wd(e,a){return new Error(`Circular reference for ${e} (${[...a.keys()].join(", ")} cause the cycle)`)}function CL(){return{type:"T"}}function vQ(e,a){return{type:"C",heading:hi(e.heading,a)}}function gQ(e,a){return{type:"I",headings:[hi(e.start,a),hi(e.end,a)]}}function xQ(e,a){return{type:"P",heading:Gd(e.point,a)}}function Mx(e,a){if(Nd(e))return CL();if(Od(e))return vQ(e,a);if(Ed(e))return gQ(e,a);if(Id(e))return xQ(e,a);throw new Error("Unknown simple Facing type")}function yL(e,a){return{type:"R",heading:Mx(e.facing,a)}}function bQ(e,a){return di(e)?yL(e,a):Mx(e,a)}function MQ(e,a){return{start:Ta(e.timing.start,a),end:Ta(e.timing.end,a),heading:bQ(e.heading,a)}}function _Q(e,a){return{type:"L",pieces:e.pieces.map(t=>MQ(t,a))}}function m2(e){return Dd(e)?e:ui(e)?e.int.toFixed(0):e.double.toFixed(2)}var Ba=e=>e,Cx=e=>({_tag:"Left",value:e}),Qd=e=>({_tag:"Right",value:e}),zQ=(e,a,t)=>t._tag==="Left"?e(t.value):a(t.value),RL={dimap:(e,a,t)=>o=>a(t(e(o))),first:e=>([a,t])=>[e(a),t],right:e=>a=>a._tag==="Left"?a:Qd(e(a.value)),wander:e=>a=>a.map(e)},AQ={empty:()=>{},foldMap:(e,a)=>{for(let t=0;t<a.length;t++){let o=e(a[t]);if(o!=null)return o}}},CQ={empty:()=>[],foldMap:(e,a)=>{let t=[];return a.forEach(o=>{t=t.concat(e(o))}),t}},yx=e=>({dimap:(a,t,o)=>l=>o(a(l)),first:a=>([t,o])=>a(t),right:a=>t=>t._tag==="Left"?e.empty():a(t.value),wander:a=>t=>e.foldMap(a,t)}),_x={Equivalence:{Equivalence:"Equivalence",Iso:"Iso",Lens:"Lens",Prism:"Prism",Traversal:"Traversal",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Iso:{Equivalence:"Iso",Iso:"Iso",Lens:"Lens",Prism:"Prism",Traversal:"Traversal",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Lens:{Equivalence:"Lens",Iso:"Lens",Lens:"Lens",Prism:"Prism",Traversal:"Traversal",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Prism:{Equivalence:"Prism",Iso:"Prism",Lens:"Prism",Prism:"Prism",Traversal:"Traversal",Getter:"AffineFold",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Traversal:{Equivalence:"Traversal",Iso:"Traversal",Lens:"Traversal",Prism:"Traversal",Traversal:"Traversal",Getter:"Fold",AffineFold:"Fold",Fold:"Fold",Setter:"Setter"},Getter:{Equivalence:"Getter",Iso:"Getter",Lens:"Getter",Prism:"AffineFold",Traversal:"Fold",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:void 0},AffineFold:{Equivalence:"AffineFold",Iso:"AffineFold",Lens:"AffineFold",Prism:"AffineFold",Traversal:"Fold",Getter:"AffineFold",AffineFold:"AffineFold",Fold:"Fold",Setter:void 0},Fold:{Equivalence:"Fold",Iso:"Fold",Lens:"Fold",Prism:"Fold",Traversal:"Fold",Getter:"Fold",AffineFold:"Fold",Fold:"Fold",Setter:void 0},Setter:{Equivalence:void 0,Iso:void 0,Lens:void 0,Prism:void 0,Traversal:void 0,Getter:void 0,AffineFold:void 0,Fold:void 0,Setter:void 0}},C7=(e,a)=>{let t=a;return t._tag=e,t},HL=e=>(e._removable=!0,e);function F1(e,a,t){if(arguments.length===2){let o=(l,r)=>e(l,a(l,r));return o._tag=_x[e._tag][a._tag],o._removable=a._removable||!1,o}else{let o=_x[e._tag][a._tag],l=(r,n)=>e(r,a(r,t(r,n)));return l._tag=_x[o][t._tag],l._removable=t._removable||!1,l}}var yQ=C7("Equivalence",(e,a)=>a),Kd=(e,a)=>C7("Iso",(t,o)=>t.dimap(e,a,o)),p2=(e,a)=>C7("Lens",(t,o)=>t.dimap(l=>[e(l),l],a,t.first(o))),Sx=(e,a)=>C7("Prism",(t,o)=>t.dimap(e,l=>zQ(Ba,a,l),t.right(o))),Rx=C7("Traversal",(e,a)=>e.dimap(Ba,Ba,e.wander(a))),SQ=e=>C7("Getter",(a,t)=>a.dimap(e,Ba,t)),Hx=(e,a,t)=>e(RL,a)(t),FL=(e,a,t)=>e(RL,()=>a)(t);var VL=(e,a)=>e(yx({}),Ba)(a),qL=(e,a)=>e(yx(AQ),Ba)(a),Fx=(e,a)=>e(yx(CQ),t=>[t])(a),RQ=Kd(e=>e.map((a,t)=>[t,a]),e=>{let a=[...e].sort((o,l)=>o[0]-l[0]),t=[];for(let o=0;o<a.length;++o)(o===a.length-1||a[o][0]!==a[o+1][0])&&t.push(a[o][1]);return t}),SL=e=>p2(a=>a[e],([a,t])=>Object.assign(Object.assign({},t),{[e]:a})),HQ=e=>p2(a=>{let t={};for(let o of e)t[o]=a[o];return t},([a,t])=>{let o=Object.assign({},t);for(let l of e)delete o[l];return Object.assign(o,a)}),LL=e=>p2(a=>a[e],([a,t])=>{let o=t.slice();return o[e]=a,o}),Vx=LL(0),qx=e=>Sx(a=>e(a)?Qd(a):Cx(a),Ba),mi=Symbol("__no_match__"),wL=qx(e=>e!==mi),kL=Symbol("__remove_me__"),zx=e=>HL(F1(p2(a=>0<=e&&e<a.length?a[e]:mi,([a,t])=>{if(a===mi)return t;if(a===kL)return typeof t=="string"?t.substring(0,e)+t.substring(e+1):[...t.slice(0,e),...t.slice(e+1)];if(typeof t=="string")return e===0?a+t.substring(1):e===t.length?t.substring(0,e-1)+a:t.substring(0,e)+a+t.substring(e+1);{let o=t.slice();return o[e]=a,o}}),wL));var FQ=Sx(e=>e===void 0?Cx(void 0):Qd(e),Ba),VQ=e=>Sx(a=>e(a)?Qd(a):Cx(a),Ba),qQ=e=>HL(F1(p2(a=>{let t=a.findIndex(e);return t===-1?[mi,-1]:[a[t],t]},([[a,t],o])=>{if(a===mi)return o;if(a===kL)return[...o.slice(0,t),...o.slice(t+1)];let l=o.slice();return l[t]=a,l}),Vx,wL)),LQ=e=>F1(p2(a=>{let t=a.map((o,l)=>e(o)?l:null).filter(o=>o!=null);return[t.map(o=>a[o]),t]},([[a,t],o])=>{let l=o.length,r=a.length,n=0,i=0,c=0,s=[];for(;n<l;)t[i]===n?(++i,c<r&&(s.push(a[c]),++c)):s.push(o[n]),++n;for(;c<r;)s.push(a[c++]);return s}),Vx),wQ=e=>p2(a=>a===void 0?e:a,([a,t])=>a),kQ=e=>F1(p2(a=>{let t=Fx(e,a);return[t,t.length]},([[a,t],o])=>{if(a.length!==t)throw new Error("cannot add/remove elements through partsOf");let l=0;return Hx(e,()=>a[l++],o)}),Vx),TQ=e=>p2(a=>e(a),([a,t])=>a),BQ=e=>p2(a=>a,([a,t])=>e(a)),DQ=p2(e=>{},([e,a])=>e===void 0?a:[e,...a]),PQ=p2(e=>{},([e,a])=>e===void 0?a:[...a,e]),NQ=F1(Kd(e=>e.split(""),e=>e.join("")),Rx),OQ=F1(Kd(e=>e.split(/\b/),e=>e.join("")),Rx,qx(e=>!/\s+/.test(e))),Ax=class e{constructor(a){this._ref=a}get _tag(){return this._ref._tag}get _removable(){return this._ref._removable}compose(a){return new e(F1(this._ref,a._ref))}iso(a,t){return new e(F1(this._ref,Kd(a,t)))}lens(a,t){return new e(F1(this._ref,p2(a,([o,l])=>t(l,o))))}indexed(){return new e(F1(this._ref,RQ))}prop(a){return new e(F1(this._ref,SL(a)))}path(...a){return a.length===1&&(a=a[0].split(".")),new e(a.reduce((t,o)=>F1(t,SL(o)),this._ref))}pick(a){return new e(F1(this._ref,HQ(a)))}nth(a){return new e(F1(this._ref,LL(a)))}filter(a){return new e(F1(this._ref,LQ(a)))}valueOr(a){return new e(F1(this._ref,wQ(a)))}partsOf(a){let t=typeof a=="function"?a(Lx):a;return new e(F1(this._ref,kQ(t._ref)))}reread(a){return new e(F1(this._ref,TQ(a)))}rewrite(a){return new e(F1(this._ref,BQ(a)))}optional(){return new e(F1(this._ref,FQ))}guard_(){return a=>this.guard(a)}guard(a){return new e(F1(this._ref,VQ(a)))}at(a){return new e(F1(this._ref,zx(a)))}head(){return new e(F1(this._ref,zx(0)))}index(a){return new e(F1(this._ref,zx(a)))}find(a){return new e(F1(this._ref,qQ(a)))}elems(){return new e(F1(this._ref,Rx))}to(a){return new e(F1(this._ref,SQ(a)))}when(a){return new e(F1(this._ref,qx(a)))}chars(){return new e(F1(this._ref,NQ))}words(){return new e(F1(this._ref,OQ))}prependTo(){return new e(F1(this._ref,DQ))}appendTo(){return new e(F1(this._ref,PQ))}},Lx=new Ax(yQ);function TL(){return Lx}function BL(e){return a=>VL(e._ref,a)}function DL(e){return a=>qL(e._ref,a)}function PL(e){return a=>Fx(e._ref,a)}function NL(e){return a=>t=>Hx(e._ref,a,t)}function OL(e){return a=>t=>FL(e._ref,a,t)}var EL=(e,a,t)=>(a.has(t)?a:a.set(t,e())).get(t),UQ=new WeakMap,jQ=(e,a,t)=>{let o=EL(()=>new WeakMap,UQ,a);return EL(e,o,t)},GQ=e=>typeof e=="function";function D1(e,a){return jQ(()=>{let t=a(TL());return Y(l=>{let r=l(e);return r instanceof Promise?r.then(n=>IL(t,n)):IL(t,r)},(l,r,n)=>{let i=GQ(n)?NL(t)(n):OL(t)(n),c=l(e);return r(e,c instanceof Promise?c.then(i):i(c))})},e,a)}var IL=(e,a)=>e._tag==="Traversal"?PL(e)(a):e._tag==="Prism"?DL(e)(a):BL(e)(a);var U5={},WQ=Symbol((U5.env?U5.env.MODE:void 0)!=="production"?"RESET":"");var wx=(e,a,t)=>(a.has(t)?a:a.set(t,e())).get(t),QQ=new WeakMap,KQ=(e,a,t,o)=>{let l=wx(()=>new WeakMap,QQ,a),r=wx(()=>new WeakMap,l,t);return wx(e,r,o)};function y7(e,a,t=Object.is){return KQ(()=>{let o=Symbol(),l=([n,i])=>{if(i===o)return a(n);let c=a(n,i);return t(i,c)?i:c},r=Y(n=>{let i=n(r),c=n(e);return l([c,i])});return r.init=o,r},e,a,t)}var jL=e=>typeof e?.then=="function";function XQ(e=()=>{try{return window.localStorage}catch(t){(U5.env?U5.env.MODE:void 0)!=="production"&&typeof window<"u"&&console.warn(t);return}},a){var t;let o,l,r={getItem:(c,s)=>{var u,d;let f=g=>{if(g=g||"",o!==g){try{l=JSON.parse(g,a?.reviver)}catch{return s}o=g}return l},h=(d=(u=e())==null?void 0:u.getItem(c))!=null?d:null;return jL(h)?h.then(f):f(h)},setItem:(c,s)=>{var u;return(u=e())==null?void 0:u.setItem(c,JSON.stringify(s,a?.replacer))},removeItem:c=>{var s;return(s=e())==null?void 0:s.removeItem(c)}},n=c=>(s,u,d)=>c(s,f=>{let h;try{h=JSON.parse(f||"",a?.reviver)}catch{h=d}u(h)}),i;try{i=(t=e())==null?void 0:t.subscribe}catch{}return!i&&typeof window<"u"&&typeof window.addEventListener=="function"&&window.Storage&&(i=(c,s)=>{if(!(e()instanceof window.Storage))return()=>{};let u=d=>{d.storageArea===e()&&d.key===c&&s(d.newValue)};return window.addEventListener("storage",u),()=>{window.removeEventListener("storage",u)}}),i&&(r.subscribe=n(i)),r}var YQ=XQ();function S7(e,a,t=YQ,o){let l=o?.getOnInit,r=Y(l?t.getItem(e,a):a);return(U5.env?U5.env.MODE:void 0)!=="production"&&(r.debugPrivate=!0),r.onMount=i=>{var c;return i(t.getItem(e,a)),(c=t.subscribe)==null?void 0:c.call(t,e,i,a)},Y(i=>i(r),(i,c,s)=>{let u=typeof s=="function"?s(i(r)):s;return u===WQ?(c(r,a),t.removeItem(e)):jL(u)?u.then(d=>(c(r,d),t.setItem(e,d))):(c(r,u),t.setItem(e,u))})}var UL=(e,a,t)=>(a.has(t)?a:a.set(t,e())).get(t),ZQ=new WeakMap,JQ=(e,a,t)=>{let o=UL(()=>new WeakMap,ZQ,a);return UL(e,o,t)},$Q=e=>typeof e?.then=="function",eK=()=>{};function GL(e,a=eK){return JQ(()=>{let t=new WeakMap,o=new WeakMap,l=Y(0),r=Y([]);r.INTERNAL_onInit=i=>{i.set(r,[()=>i.set(l,c=>c+1)])},(U5.env?U5.env.MODE:void 0)!=="production"&&(l.debugPrivate=!0,r.debugPrivate=!0);let n=Y(i=>{i(l);let c;try{c=i(n)}catch{}let s=i(e);if(!$Q(s))return{v:s};if(s!==c?.p&&s.then(u=>{o.set(s,u);let[d]=i(r);d()},u=>{t.set(s,u);let[d]=i(r);d()}),t.has(s)){if(c&&"e"in c&&c.p===s)return c;let u=t.get(s);return c&&"v"in c?{p:s,e:u,v:c.v}:{p:s,e:u}}return o.has(s)?{p:s,v:o.get(s)}:c&&"v"in c?{p:s,f:a(c.v),v:c.v}:{p:s,f:a()}});return n.init=void 0,(U5.env?U5.env.MODE:void 0)!=="production"&&(n.debugPrivate=!0),Y(i=>{let c=i(n);if("e"in c)throw c.e;return"f"in c?c.f:c.v},(i,c,...s)=>c(e,...s))},e,a)}function kx(e,a){let t=Y(0);return(U5.env?U5.env.MODE:void 0)!=="production"&&(t.debugPrivate=!0),Y((o,l)=>(o(t),e(o,l)),(o,l,...r)=>{if(r.length===0)l(t,n=>n+1);else{if(a)return a(o,l,...r);if((U5.env?U5.env.MODE:void 0)!=="production")throw new Error("refresh must be called without arguments")}})}function T0(e,a){aK(e)&&(e="100%");let t=tK(e);return e=a===360?e:Math.min(a,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*a),10)/100),Math.abs(e-a)<1e-6?1:(a===360?e=(e<0?e%a+a:e%a)/parseFloat(String(a)):e=e%a/parseFloat(String(a)),e)}function pi(e){return Math.min(1,Math.max(0,e))}function aK(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function tK(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Xd(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function vi(e){return Number(e)<=1?`${Number(e)*100}%`:e}function Kt(e){return e.length===1?"0"+e:String(e)}function WL(e,a,t){return{r:T0(e,255)*255,g:T0(a,255)*255,b:T0(t,255)*255}}function Bx(e,a,t){e=T0(e,255),a=T0(a,255),t=T0(t,255);let o=Math.max(e,a,t),l=Math.min(e,a,t),r=0,n=0,i=(o+l)/2;if(o===l)n=0,r=0;else{let c=o-l;switch(n=i>.5?c/(2-o-l):c/(o+l),o){case e:r=(a-t)/c+(a<t?6:0);break;case a:r=(t-e)/c+2;break;case t:r=(e-a)/c+4;break;default:break}r/=6}return{h:r,s:n,l:i}}function Tx(e,a,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+(a-e)*(6*t):t<1/2?a:t<2/3?e+(a-e)*(2/3-t)*6:e}function QL(e,a,t){let o,l,r;if(e=T0(e,360),a=T0(a,100),t=T0(t,100),a===0)l=t,r=t,o=t;else{let n=t<.5?t*(1+a):t+a-t*a,i=2*t-n;o=Tx(i,n,e+1/3),l=Tx(i,n,e),r=Tx(i,n,e-1/3)}return{r:o*255,g:l*255,b:r*255}}function Dx(e,a,t){e=T0(e,255),a=T0(a,255),t=T0(t,255);let o=Math.max(e,a,t),l=Math.min(e,a,t),r=0,n=o,i=o-l,c=o===0?0:i/o;if(o===l)r=0;else{switch(o){case e:r=(a-t)/i+(a<t?6:0);break;case a:r=(t-e)/i+2;break;case t:r=(e-a)/i+4;break;default:break}r/=6}return{h:r,s:c,v:n}}function KL(e,a,t){e=T0(e,360)*6,a=T0(a,100),t=T0(t,100);let o=Math.floor(e),l=e-o,r=t*(1-a),n=t*(1-l*a),i=t*(1-(1-l)*a),c=o%6,s=[t,n,r,r,i,t][c],u=[i,t,t,n,r,r][c],d=[r,r,i,t,t,n][c];return{r:s*255,g:u*255,b:d*255}}function Px(e,a,t,o){let l=[Kt(Math.round(e).toString(16)),Kt(Math.round(a).toString(16)),Kt(Math.round(t).toString(16))];return o&&l[0].startsWith(l[0].charAt(1))&&l[1].startsWith(l[1].charAt(1))&&l[2].startsWith(l[2].charAt(1))?l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0):l.join("")}function XL(e,a,t,o,l){let r=[Kt(Math.round(e).toString(16)),Kt(Math.round(a).toString(16)),Kt(Math.round(t).toString(16)),Kt(oK(o))];return l&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))&&r[3].startsWith(r[3].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0):r.join("")}function YL(e,a,t,o){let l=e/100,r=a/100,n=t/100,i=o/100,c=255*(1-l)*(1-i),s=255*(1-r)*(1-i),u=255*(1-n)*(1-i);return{r:c,g:s,b:u}}function Nx(e,a,t){let o=1-e/255,l=1-a/255,r=1-t/255,n=Math.min(o,l,r);return n===1?(o=0,l=0,r=0):(o=(o-n)/(1-n)*100,l=(l-n)/(1-n)*100,r=(r-n)/(1-n)*100),n*=100,{c:Math.round(o),m:Math.round(l),y:Math.round(r),k:Math.round(n)}}function oK(e){return Math.round(parseFloat(e)*255).toString(16)}function Ox(e){return j5(e)/255}function j5(e){return parseInt(e,16)}function ZL(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var gi={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function JL(e){let a={r:0,g:0,b:0},t=1,o=null,l=null,r=null,n=!1,i=!1;return typeof e=="string"&&(e=nK(e)),typeof e=="object"&&(v2(e.r)&&v2(e.g)&&v2(e.b)?(a=WL(e.r,e.g,e.b),n=!0,i=String(e.r).substr(-1)==="%"?"prgb":"rgb"):v2(e.h)&&v2(e.s)&&v2(e.v)?(o=vi(e.s),l=vi(e.v),a=KL(e.h,o,l),n=!0,i="hsv"):v2(e.h)&&v2(e.s)&&v2(e.l)?(o=vi(e.s),r=vi(e.l),a=QL(e.h,o,r),n=!0,i="hsl"):v2(e.c)&&v2(e.m)&&v2(e.y)&&v2(e.k)&&(a=YL(e.c,e.m,e.y,e.k),n=!0,i="cmyk"),Object.prototype.hasOwnProperty.call(e,"a")&&(t=e.a)),t=Xd(t),{ok:n,format:e.format||i,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:t}}var lK="[-\\+]?\\d+%?",rK="[-\\+]?\\d*\\.\\d+%?",Xt="(?:"+rK+")|(?:"+lK+")",Ex="[\\s|\\(]+("+Xt+")[,|\\s]+("+Xt+")[,|\\s]+("+Xt+")\\s*\\)?",Yd="[\\s|\\(]+("+Xt+")[,|\\s]+("+Xt+")[,|\\s]+("+Xt+")[,|\\s]+("+Xt+")\\s*\\)?",O2={CSS_UNIT:new RegExp(Xt),rgb:new RegExp("rgb"+Ex),rgba:new RegExp("rgba"+Yd),hsl:new RegExp("hsl"+Ex),hsla:new RegExp("hsla"+Yd),hsv:new RegExp("hsv"+Ex),hsva:new RegExp("hsva"+Yd),cmyk:new RegExp("cmyk"+Yd),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function nK(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;let a=!1;if(gi[e])e=gi[e],a=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let t=O2.rgb.exec(e);return t?{r:t[1],g:t[2],b:t[3]}:(t=O2.rgba.exec(e),t?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=O2.hsl.exec(e),t?{h:t[1],s:t[2],l:t[3]}:(t=O2.hsla.exec(e),t?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=O2.hsv.exec(e),t?{h:t[1],s:t[2],v:t[3]}:(t=O2.hsva.exec(e),t?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=O2.cmyk.exec(e),t?{c:t[1],m:t[2],y:t[3],k:t[4]}:(t=O2.hex8.exec(e),t?{r:j5(t[1]),g:j5(t[2]),b:j5(t[3]),a:Ox(t[4]),format:a?"name":"hex8"}:(t=O2.hex6.exec(e),t?{r:j5(t[1]),g:j5(t[2]),b:j5(t[3]),format:a?"name":"hex"}:(t=O2.hex4.exec(e),t?{r:j5(t[1]+t[1]),g:j5(t[2]+t[2]),b:j5(t[3]+t[3]),a:Ox(t[4]+t[4]),format:a?"name":"hex8"}:(t=O2.hex3.exec(e),t?{r:j5(t[1]+t[1]),g:j5(t[2]+t[2]),b:j5(t[3]+t[3]),format:a?"name":"hex"}:!1))))))))))}function v2(e){return typeof e=="number"?!Number.isNaN(e):O2.CSS_UNIT.test(e)}var R7=class e{constructor(a="",t={}){if(a instanceof e)return a;typeof a=="number"&&(a=ZL(a)),this.originalInput=a;let o=JL(a);this.originalInput=a,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??o.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){let a=this.toRgb();return(a.r*299+a.g*587+a.b*114)/1e3}getLuminance(){let a=this.toRgb(),t,o,l,r=a.r/255,n=a.g/255,i=a.b/255;return r<=.03928?t=r/12.92:t=Math.pow((r+.055)/1.055,2.4),n<=.03928?o=n/12.92:o=Math.pow((n+.055)/1.055,2.4),i<=.03928?l=i/12.92:l=Math.pow((i+.055)/1.055,2.4),.2126*t+.7152*o+.0722*l}getAlpha(){return this.a}setAlpha(a){return this.a=Xd(a),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){let{s:a}=this.toHsl();return a===0}toHsv(){let a=Dx(this.r,this.g,this.b);return{h:a.h*360,s:a.s,v:a.v,a:this.a}}toHsvString(){let a=Dx(this.r,this.g,this.b),t=Math.round(a.h*360),o=Math.round(a.s*100),l=Math.round(a.v*100);return this.a===1?`hsv(${t}, ${o}%, ${l}%)`:`hsva(${t}, ${o}%, ${l}%, ${this.roundA})`}toHsl(){let a=Bx(this.r,this.g,this.b);return{h:a.h*360,s:a.s,l:a.l,a:this.a}}toHslString(){let a=Bx(this.r,this.g,this.b),t=Math.round(a.h*360),o=Math.round(a.s*100),l=Math.round(a.l*100);return this.a===1?`hsl(${t}, ${o}%, ${l}%)`:`hsla(${t}, ${o}%, ${l}%, ${this.roundA})`}toHex(a=!1){return Px(this.r,this.g,this.b,a)}toHexString(a=!1){return"#"+this.toHex(a)}toHex8(a=!1){return XL(this.r,this.g,this.b,this.a,a)}toHex8String(a=!1){return"#"+this.toHex8(a)}toHexShortString(a=!1){return this.a===1?this.toHexString(a):this.toHex8String(a)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){let a=Math.round(this.r),t=Math.round(this.g),o=Math.round(this.b);return this.a===1?`rgb(${a}, ${t}, ${o})`:`rgba(${a}, ${t}, ${o}, ${this.roundA})`}toPercentageRgb(){let a=t=>`${Math.round(T0(t,255)*100)}%`;return{r:a(this.r),g:a(this.g),b:a(this.b),a:this.a}}toPercentageRgbString(){let a=t=>Math.round(T0(t,255)*100);return this.a===1?`rgb(${a(this.r)}%, ${a(this.g)}%, ${a(this.b)}%)`:`rgba(${a(this.r)}%, ${a(this.g)}%, ${a(this.b)}%, ${this.roundA})`}toCmyk(){return{...Nx(this.r,this.g,this.b)}}toCmykString(){let{c:a,m:t,y:o,k:l}=Nx(this.r,this.g,this.b);return`cmyk(${a}, ${t}, ${o}, ${l})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;let a="#"+Px(this.r,this.g,this.b,!1);for(let[t,o]of Object.entries(gi))if(a===o)return t;return!1}toString(a){let t=!!a;a=a??this.format;let o=!1,l=this.a<1&&this.a>=0;return!t&&l&&(a.startsWith("hex")||a==="name")?a==="name"&&this.a===0?this.toName():this.toRgbString():(a==="rgb"&&(o=this.toRgbString()),a==="prgb"&&(o=this.toPercentageRgbString()),(a==="hex"||a==="hex6")&&(o=this.toHexString()),a==="hex3"&&(o=this.toHexString(!0)),a==="hex4"&&(o=this.toHex8String(!0)),a==="hex8"&&(o=this.toHex8String()),a==="name"&&(o=this.toName()),a==="hsl"&&(o=this.toHslString()),a==="hsv"&&(o=this.toHsvString()),a==="cmyk"&&(o=this.toCmykString()),o||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new e(this.toString())}lighten(a=10){let t=this.toHsl();return t.l+=a/100,t.l=pi(t.l),new e(t)}brighten(a=10){let t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(a/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(a/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(a/100)))),new e(t)}darken(a=10){let t=this.toHsl();return t.l-=a/100,t.l=pi(t.l),new e(t)}tint(a=10){return this.mix("white",a)}shade(a=10){return this.mix("black",a)}desaturate(a=10){let t=this.toHsl();return t.s-=a/100,t.s=pi(t.s),new e(t)}saturate(a=10){let t=this.toHsl();return t.s+=a/100,t.s=pi(t.s),new e(t)}greyscale(){return this.desaturate(100)}spin(a){let t=this.toHsl(),o=(t.h+a)%360;return t.h=o<0?360+o:o,new e(t)}mix(a,t=50){let o=this.toRgb(),l=new e(a).toRgb(),r=t/100,n={r:(l.r-o.r)*r+o.r,g:(l.g-o.g)*r+o.g,b:(l.b-o.b)*r+o.b,a:(l.a-o.a)*r+o.a};return new e(n)}analogous(a=6,t=30){let o=this.toHsl(),l=360/t,r=[this];for(o.h=(o.h-(l*a>>1)+720)%360;--a;)o.h=(o.h+l)%360,r.push(new e(o));return r}complement(){let a=this.toHsl();return a.h=(a.h+180)%360,new e(a)}monochromatic(a=6){let t=this.toHsv(),{h:o}=t,{s:l}=t,{v:r}=t,n=[],i=1/a;for(;a--;)n.push(new e({h:o,s:l,v:r})),r=(r+i)%1;return n}splitcomplement(){let a=this.toHsl(),{h:t}=a;return[this,new e({h:(t+72)%360,s:a.s,l:a.l}),new e({h:(t+216)%360,s:a.s,l:a.l})]}onBackground(a){let t=this.toRgb(),o=new e(a).toRgb(),l=t.a+o.a*(1-t.a);return new e({r:(t.r*t.a+o.r*o.a*(1-t.a))/l,g:(t.g*t.a+o.g*o.a*(1-t.a))/l,b:(t.b*t.a+o.b*o.a*(1-t.a))/l,a:l})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(a){let t=this.toHsl(),{h:o}=t,l=[this],r=360/a;for(let n=1;n<a;n++)l.push(new e({h:(o+n*r)%360,s:t.s,l:t.l}));return l}equals(a){let t=new e(a);return this.format==="cmyk"||t.format==="cmyk"?this.toCmykString()===t.toCmykString():this.toRgbString()===t.toRgbString()}};var Zd={HeadingCount:6,Heading:{Length:5,Thickness:.5,ArrowAngle:.31416,ArrowPercent:.15},Curves:{Thickness:.2,ShowPoints:!0,ControlPoint:{Thickness:.4,Size:2,Style:t0.Circle}}},iK={Shape:f5.Trapezoid,Width:16/2,Depth:18/2};function cK(e){switch(e){case t0.Crosshair:case t0.X:return t0.Square;default:return t0.Crosshair}}function Gx(e){return{Thickness:e.Thickness*2,Size:e.Size*2.5,Style:cK(e.Style)}}function ow(e){return{Length:e.Length*1.5,Thickness:e.Thickness*2,ArrowAngle:e.ArrowAngle,ArrowPercent:e.ArrowPercent}}function lw(e){return{Thickness:e.Thickness*2,ShowPoints:e.ShowPoints,ControlPoint:Gx(e.ControlPoint)}}var g2=S7("DisplayOptions",{GranularSettings:!1,FieldVisibility:1,UseExternalField:!0,CoordinateVisibility:1,DarkMode:!0,Poses:{Points:Gx(Zd.Curves.ControlPoint),Headings:ow(Zd.Heading)},Curves:lw(Zd.Curves),Paths:Zd,BotDrawing:iK},void 0,{getOnInit:!0}),$L=D1(g2,e=>e.prop("DarkMode")),Oe=Y(e=>e($L)?"dark":"light",(e,a,t)=>a($L,t==="dark")),Jd=D1(g2,e=>e.prop("UseExternalField")),Ix=D1(g2,e=>e.prop("FieldVisibility")),rw=Y(e=>100*e(Ix),(e,a,t)=>{a(Ix,Math.max(0,Math.min(1,t/100)))}),nw=Y(e=>e(Ix)),Ux=D1(g2,e=>e.prop("CoordinateVisibility")),iw=Y(e=>100*e(Ux),(e,a,t)=>{a(Ux,Math.max(0,Math.min(1,t/100)))}),cw=Y(e=>e(Ux)),sw=D1(g2,e=>e.prop("GranularSettings")),bi=D1(g2,e=>e.prop("Paths")),Wx=D1(bi,e=>e.prop("Curves")),$d=D1(Wx,e=>e.prop("ControlPoint")),Qx=D1(bi,e=>e.prop("Heading")),uw=D1($d,e=>e.prop("Size")),dw=D1($d,e=>e.prop("Style")),fw=D1($d,e=>e.prop("Thickness")),hw=D1(Wx,e=>e.prop("Thickness")),xi=D1(bi,e=>e.prop("HeadingCount")),mw=D1(Qx,e=>e.prop("Length")),pw=D1(Qx,e=>e.prop("Thickness")),e9=Y(e=>e(xi)>0,(e,a,t)=>{let o=e(xi);t!==o>0&&a(xi,Math.abs(o)*(t?1:-1))}),jx=D1(g2,e=>e.prop("Curves")),vw=Y(e=>e(sw)?e(jx):lw(e(Wx)),(e,a,t)=>{let o=structuredClone(e(g2));o.Curves=t,a(jx,t)}),sK=D1(g2,e=>e.prop("Poses")),gw=Y(e=>e(sw)?e(sK):{Points:Gx(e($d)),Headings:ow(e(Qx))},(e,a,t)=>{let o=structuredClone(e(g2));o.Curves=t,a(jx,t)}),H7=D1(g2,e=>e.prop("BotDrawing")),ew=D1(H7,e=>e.prop("Color")),xw=Y(e=>new R7(e(ew)),(e,a,t)=>a(ew,t.toHexString())),bw=D1(H7,e=>e.prop("Shape")),aw=D1(H7,e=>e.prop("Width")),tw=D1(H7,e=>e.prop("Depth")),Mw=Y(e=>e(aw)*2,(e,a,t)=>a(aw,t/2)),_w=Y(e=>e(tw)*2,(e,a,t)=>a(tw,t/2));function Yt(e,a){let t=null,o=new Map,l=new Set;function r(i){let c;if(a===void 0)c=o.get(i);else for(let[u,d]of o)if(a(u,i)){c=d;break}if(c!==void 0)if(t?.(c[1],i))r.remove(i);else return c[0];let s=e(i);return o.set(i,[s,Date.now()]),n("CREATE",i,s),s}function n(i,c,s){for(let u of l)u({type:i,param:c,atom:s})}return r.unstable_listen=i=>(l.add(i),()=>{l.delete(i)}),r.getParams=()=>o.keys(),r.remove=i=>{if(a===void 0){if(!o.has(i))return;let[c]=o.get(i);o.delete(i),n("REMOVE",i,c)}else for(let[c,[s]]of o)if(a(c,i)){o.delete(c),n("REMOVE",c,s);break}},r.setShouldRemove=i=>{if(t=i,!!t)for(let[c,[s,u]]of o)t(u,c)&&(o.delete(c),n("REMOVE",c,s))},r}var Mi=Symbol.for("freik.typetag");function Sw(e){return e===void 0}function zw(e){return!Sw(e)}function t9(e){return e==null}function o9(e){return!t9(e)}function uK(e,...a){return a.some(t=>t(e))}function Xx(...e){return a=>uK(a,...e)}function dK(e,...a){return a.every(t=>t(e))}function Zt(e){return dK(e,fK,o9)}function fK(e){return typeof e=="object"}function Yx(e){return Array.isArray(e)}function Jt(e){return typeof e=="string"}function hK(e){return typeof e=="number"&&!isNaN(e-0)}var Dk1=Xx(Jt,hK);function _i(e){return typeof e=="function"}function mK(e){return e instanceof Map}function l9(e,a){if(!Yx(e))return!1;for(let t of e)if(!a(t))return!1;return!0}function Rw(e){return a=>l9(a,e)}function pK(e,...a){return Yx(e)&&e.length===a.length&&a.every((t,o)=>t(e[o]))}function Zx(...e){return a=>pK(a,...e)}function vK(e,a,t){if(!mK(e))return!1;for(let[o,l]of e)if(!a(o)||!t(l))return!1;return!0}function Aw(e,a){return t=>vK(t,e,a)}function Cw(e){return typeof e=="symbol"}function U0(e,a){return Zt(e)&&a in e}function gK(e,a,t){return U0(e,a)&&t(e[a])}var a9=gK;function yw(e,a){return a9(e,a,Jt)}function Hw(e,a){return U0(e,Mi)&&e[Mi]===a}function xK(e,a,t,o){if(!Zt(a))return!1;let l=Object.keys(t).length,r=Object.keys(a),n=r.length;for(let i of r){if(!U0(a,i))continue;let c=a[i];if(Sw(c)||a[i]===null){delete a[i],n--;continue}if(a9(o,i,_i)){let s=o[i];if(!s(c))return!1;n--}else if(a9(t,i,_i)){let s=t[i];if(!s(c))return!1;l--,n--}}return l===0&&(n===0||!e)}function bK(e,a={}){return t=>xK(!1,t,e,a)}var Fw=Function("try {return this===global;}catch(e){ return false;}"),Vw=Function("try {return this===window;}catch(e){ return false;}");function Jx(){return typeof globalThis<"u"}var qw=Symbol.for("freik.Set"),Lw=Symbol.for("freik.Map"),ww=Symbol.for("freik.Symbol"),kw=Symbol.for("freik.RegExp"),Tw=Symbol.for("freik.Date"),Bw=Symbol.for("freik.BigInt");function MK(e){return[...e.entries()]}function _K(e){return l9(e,Zx(zw,zw))?new Map(e):void 0}function zK(e){return[...e]}function AK(e){return Yx(e)?new Set(e):void 0}function CK(e){let a=Symbol.keyFor(e);if(a===void 0)throw Error("Unable to get a key for a symbol for pickling");return a}function yK(e){return Jt(e)?Symbol.for(e):void 0}function SK(e){return{source:e.source,flags:e.flags}}function RK(e){if(yw(e,"source")&&yw(e,"flags"))return new RegExp(e.source,e.flags)}function HK(e){return e.toJSON()}function FK(e){try{return Jt(e)?new Date(e):void 0}catch{return}}function VK(e){return e.toString()}function qK(e){try{return Jt(e)?BigInt(e):void 0}catch{return}}var LK=new Map([[Lw,MK],[qw,zK],[ww,CK],[kw,SK],[Tw,HK],[Bw,VK]]),wK=new Map([[Lw,_K],[qw,AK],[ww,yK],[kw,RK],[Tw,FK],[Bw,qK]]),kK;(e=>{e[e.Success=0]="Success",e[e.Already=1]="Already",e[e.Fail=2]="Fail",e[e.DetectionFailure=3]="DetectionFailure"})(kK||={});var f0=Mi;function Kx(e){return U0(e,f0)?a9(e,f0,bK({to:Aw(Xx(Cw,Jt),_i),from:Aw(Xx(Cw,Jt),_i)}))?1:2:(e[f0]={to:LK,from:wK},0)}function TK(){return Jx()?Kx(globalThis):Vw()?Kx(window):Fw()?Kx(global):3}switch(TK()){case 2:throw Error(`Invalid <global>[${String(f0)}] object`);case 3:throw Error("Unable to determine environment for pickling");default:break}function BK(){if(Jx()&&Zt(globalThis)&&U0(globalThis,f0)&&U0(globalThis[f0],"to"))return globalThis[f0].to;if(Fw()&&Zt(global)&&U0(global,f0)&&U0(global[f0],"to"))return global[f0].to;if(Vw()&&Zt(window)&&U0(window,f0)&&U0(window[f0],"to"))return window[f0].to;throw Error("Pickling not registered!")}function DK(e,a){BK().set(e,a)}function PK(){if(Jx()&&Zt(globalThis)&&U0(globalThis,f0)&&U0(globalThis[f0],"from"))return globalThis[f0].from;if(Zt(process)&&!U0(process,"browser")&&U0(global,f0)&&U0(global[f0],"from"))return global[f0].from;if(!Zt(process)&&!U0(process,"browser")&&U0(window,f0)&&U0(window[f0],"from"))return window[f0].from;throw Error("Unpickling not registered!")}function NK(e,a){PK().set(e,a)}function Dw(e,a,t){t&&DK(e,t),NK(e,a)}var OK=Symbol.for("freik.typetag");function Iw(e){return e===void 0}function Pw(e){return!Iw(e)}function EK(e){return e==null}function IK(e){return!EK(e)}function UK(e,...a){return a.some(t=>t(e))}function eb(...e){return a=>UK(a,...e)}function jK(e,...a){return a.every(t=>t(e))}function ab(e){return jK(e,GK,IK)}function GK(e){return typeof e=="object"}function c9(e){return Array.isArray(e)}function $t(e){return typeof e=="string"}function Uw(e){return typeof e=="number"&&!isNaN(e-0)}var Nk1=eb($t,Uw);function n9(e){return typeof e=="function"}function jw(e){return e instanceof Map}function WK(e,a){if(!c9(e))return!1;for(let t of e)if(!a(t))return!1;return!0}function QK(e,...a){return c9(e)&&e.length===a.length&&a.every((t,o)=>t(e[o]))}function KK(...e){return a=>QK(a,...e)}function XK(e,a,t){if(!jw(e))return!1;for(let[o,l]of e)if(!a(o)||!t(l))return!1;return!0}function Nw(e,a){return t=>XK(t,e,a)}function Ow(e){return typeof e=="symbol"}function tb(e,a){return ab(e)&&a in e}function YK(e,a,t){return tb(e,a)&&t(e[a])}var i9=YK;function Ew(e,a){return i9(e,a,$t)}function ZK(e,a,t,o){if(!ab(a))return!1;let l=Object.keys(t).length,r=Object.keys(a),n=r.length;for(let i of r){if(!tb(a,i))continue;let c=a[i];if(Iw(c)||a[i]===null){delete a[i],n--;continue}if(i9(o,i,n9)){let s=o[i];if(!s(c))return!1;n--}else if(i9(t,i,n9)){let s=t[i];if(!s(c))return!1;l--,n--}}return l===0&&(n===0||!e)}function JK(e,a={}){return t=>ZK(!1,t,e,a)}var $K=Function("try {return this===global;}catch(e){ return false;}"),eX=Function("try {return this===window;}catch(e){ return false;}");function aX(){return typeof globalThis<"u"}var Gw=Symbol.for("freik.Set"),Ww=Symbol.for("freik.Map"),Qw=Symbol.for("freik.Symbol"),Kw=Symbol.for("freik.RegExp"),Xw=Symbol.for("freik.Date"),Yw=Symbol.for("freik.BigInt");function tX(e){return[...e.entries()]}function oX(e){return WK(e,KK(Pw,Pw))?new Map(e):void 0}function lX(e){return[...e]}function rX(e){return c9(e)?new Set(e):void 0}function nX(e){let a=Symbol.keyFor(e);if(a===void 0)throw Error("Unable to get a key for a symbol for pickling");return a}function iX(e){return $t(e)?Symbol.for(e):void 0}function cX(e){return{source:e.source,flags:e.flags}}function sX(e){if(Ew(e,"source")&&Ew(e,"flags"))return new RegExp(e.source,e.flags)}function uX(e){return e.toJSON()}function dX(e){try{return $t(e)?new Date(e):void 0}catch{return}}function fX(e){return e.toString()}function hX(e){try{return $t(e)?BigInt(e):void 0}catch{return}}var mX=new Map([[Ww,tX],[Gw,lX],[Qw,nX],[Kw,cX],[Xw,uX],[Yw,fX]]),pX=new Map([[Ww,oX],[Gw,rX],[Qw,iX],[Kw,sX],[Xw,dX],[Yw,hX]]),vX;(e=>{e[e.Success=0]="Success",e[e.Already=1]="Already",e[e.Fail=2]="Fail",e[e.DetectionFailure=3]="DetectionFailure"})(vX||={});var r9=OK;function $x(e){return tb(e,r9)?i9(e,r9,JK({to:Nw(eb(Ow,$t),n9),from:Nw(eb(Ow,$t),n9)}))?1:2:(e[r9]={to:mX,from:pX},0)}function gX(){return aX()?$x(globalThis):eX()?$x(window):$K()?$x(global):3}switch(gX()){case 2:throw Error(`Invalid <global>[${String(r9)}] object`);case 3:throw Error("Unable to determine environment for pickling");default:break}function Zw(e,a){if(e.size!==a.size)return!1;for(let t of e)if(!a.has(t))return!1;return!0}var ob=Symbol.for("freik.MultiMapTypeTag");function s9(e){let a=e?new Map([...e].map(([p,x])=>[p,new Set(x)])):new Map,t=()=>a.clear(),o=p=>a.delete(p),l=(p,x)=>{let v=c(p);if(v!==void 0){let M=v.delete(x);return v.size===0&&a.delete(p),M}return!1},r=()=>a.keys(),n=(p,x)=>a.forEach((v,M)=>p(v,M,b),x),i=async(p,x)=>{for(let[v,M]of a)x?await p.apply(x,[M,v,b]):await p(M,v,b)},c=p=>a.get(p),s=p=>a.has(p);function u(p,x){let v=a.get(p);return v===void 0?a.set(p,new Set([x])):v.add(x),b}function d(p,x){let v=a.get(p);if(v===void 0)a.set(p,new Set(x));else for(let M of x)v.add(M);return b}function*f(){for(let[p,x]of a)yield[p,x.values()]}let h=()=>a.size;function g(p){if(h()!==p.size())return!1;for(let[x,v]of a){let M=p.get(x);if(!M||!Zw(new Set(v),new Set(M)))return!1}return!0}function m(){return[...b]}let b={clear:t,delete:o,remove:l,keys:r,forEach:n,forEachAwaitable:i,get:c,has:s,set:u,add:d,size:h,[Symbol.iterator]:f,[Mi]:ob,toJSON:m,valueEqual:g};return b}function xX(e){if(l9(e,Zx(o9,Rw(o9))))return s9(e)}Dw(ob,xX);function bX(e){return Hw(e,ob)}function MX(e,a,t){if(!bX(e))return!1;for(let[o,l]of e){if(!a(o))return!1;for(let r of l)if(!t(r))return!1}return!0}function lb(e,a){return t=>MX(t,e,a)}function $w(e,a){return`${e}*${a}`}function nb(e){return e.split("*").pop()||""}function rb(e){return u1(e)?e.split("*").length===2:!1}function ek(e,a){return`${e};${a}`}function ib(e){return e.split(";").pop()||""}function Jw(e){if(!u1(e))return!1;let a=e.split(";");return a.length===2&&rb(a[0])}var ak=L1({HasFieldImage:tx,TeamPaths:lb(u1,rb),PathClasses:lb(rb,Jw),ParsedClasses:Vd(Jw,fi)}),tk=Object.freeze({HasFieldImage:!1,TeamPaths:s9(),PathClasses:s9(),ParsedClasses:new Map});function sb(e){let a=e.map(t=>{let o=t/255;return o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4)});return .2126*a[0]+.7152*a[1]+.0722*a[2]}function ok(e,a){let t=sb(e),o=sb(a);return(Math.max(t,o)+.05)/(Math.min(t,o)+.05)}function _X(e,a,t){a/=100,t/=100;let o=n=>(n+e/30)%12,l=a*Math.min(t,1-t),r=n=>t-l*Math.max(-1,Math.min(o(n)-3,Math.min(9-o(n),1)));return[255*r(0),255*r(8),255*r(4)]}function cb(e){let a=e.toString(16);return a.length===2?a:`0${a}`}function zX(e){return"#"+cb(e[0])+cb(e[1])+cb(e[2])}function AX(e){function a(l){for(let r=3;r*r<=l;r+=2)if(l%r===0)return!1;return!0}function t(l){return a(l)?l:t(l+2)}let o=Math.trunc(e);return t(o%2===0?o+1:o)}function lk(e,a=[255,255,255]){let t=[],o=80-10*sb(a),l=90,r=1.1,n=0,i=0,c=0,s=1.04,u=AX(Math.max(e,6)),d=360/u,f=null;for(;t.length<u;c+=d){c>360&&(c-=360);let b=o+n,p=l+i,x=_X(c,p,b).map(Math.round);ok(x,a)<r||(f!==null&&ok(x,f)<s?(i=(i+20)%19-9,i===1&&(n=(n+20)%19-9),c-=d):(t.push(x),f=x))}let h=Math.trunc(u/7),g=[],m=0;for(;g.length<e;)g.push(zX(t[m])),m=(m+h)%t.length;return g}var rk=lk(37,[255,250,245]),nk=lk(37,[5,10,0]);var CX=D3();function ik(e){return e||CX}async function ub(e,a,t){let o=await fetch("/api/"+e),l="";if(o.ok){try{l=await o.text();let r=fL(l,a);if(X1(r))return r}catch{return console.error("Received malformed message from server:",l),t}try{let r=JSON.parse(l);yl(r,"error")&&console.error("Received error from server",r.error)}catch{console.error("Received malformed message from server:",l)}}return t}async function ck(e,a){let t=await fetch("/api/"+e,{method:"PUT",headers:{"Content-Type":"application/json"},body:dL(a)});t.ok?console.log(await t.text()):console.log(t)}async function sk(){let e=await ub("db",ak,tk);return N2().setDb(e),e}async function uk(e){return ck("putdb",e)}var ce={team:"",file:"",data:null},yX=new Map;async function dk(e,a){if(ce.team===e&&ce.file===a&&ce.data!==null)return console.log("using cached file for",e,a),ce.data;ce.team=e,ce.file=a,ce.data=null;let t=await ub(`loadpath/${encodeURIComponent(e)}/${encodeURIComponent(a)}`,x0(fi,u1),"Invalid ParsedClass loaded from server");if(u1(t))return P2(t);let o=await xx(t),l=N2(),r=_L(o,l);return ne(r)?P2(r,`Loaded file ${e}/${a} has dangling references.`):(yX.set([e,a],o),ce.data=o,o)}function fk(e,a,t){ce.team=e,ce.file=a,ce.data=t}var Ai=Y(e=>e(Oe)==="dark"?nk:rk),qT1=Yt(e=>Y(a=>{let t=a(Ai);return t[e%t.length]})),hb=Y(""),hk=null,eo=kx(async()=>(hk=await sk(),hk),async(e,a,t)=>{await uk(t)}),SX=kx(async e=>{let a=await e(eo),t=N2();return t.setDb(a),t});var mk=y7(eo,async e=>(await e).TeamPaths),RX=y7(eo,async e=>(await e).PathClasses),LT1=y7(eo,async e=>(await e).ParsedClasses),d9=y7(eo,async e=>(await e).HasFieldImage),pk=Y(async e=>[...(await e(mk)).keys()]),vk=Yt(e=>Y(async a=>(await a(mk)).get(e)||new Set)),HX=Yt(e=>Y(async a=>[...(await a(vk(e))).keys()].map(nb))),gk=Yt(e=>Y(async a=>(await a(RX)).get(e)||new Set)),FX=Yt(e=>Y(async a=>[...(await a(gk(e))).keys()].map(ib))),wT1=Y(async e=>{let a=await e(Sl);return await e(vk(a))}),xk=Y(async e=>{let a=await e(Sl);return await e(HX(a))}),kT1=Y(async e=>{let a=e(f9);return e(gk(a))}),db=S7("selectedTeam","",void 0,{getOnInit:!0}),Sl=Y(e=>e(db),(e,a,t)=>{e(db)!==t&&(a(Rl,""),a(db,t))}),zi=S7("selectedPathKey","",void 0,{getOnInit:!0}),f9=Y(e=>e(zi),(e,a,t)=>{e(zi)!==t&&(a(F7,""),a(zi,t))}),Rl=Y(e=>nb(e(zi)),(e,a,t)=>{let o=e(Sl),l=e(f9),r=$w(o,t);r!==l&&(a(F7,""),a(zi,r))}),bk=Y(async e=>{let a=await e(f9);return await e(FX(a))}),u9=S7("selectedClass","",void 0,{getOnInit:!0}),F7=Y(e=>ib(e(u9)),async(e,a,t)=>{let o=e(f9),l=ek(o,t),r=e(u9);l!=r&&a(u9,l)}),V7=Y(async e=>{let a=await e(eo),t=await e(u9);return a.ParsedClasses.get(t)||si},async(e,a,t)=>{}),Mk=GL(V7,()=>si),fb=Y(0),mb=Y(async e=>{let a=await e(Sl),t=await e(Rl),o=e(fb),l=e(SX);if(a.length>0&&t.length>0){let r=await dk(a,t);if(!ne(r))return r;console.error(r.errors().join(`
50
+ `))}return zL},async(e,a,t)=>{let o=await e(Sl),l=await e(Rl),r=e(fb);fk(o,l,await t),a(fb,r+1)}),pb=y7(Mk,e=>e.values),VX=Y(e=>{let a=e(pb);return new Map((a||[]).map(t=>[t.name,t]))}),qX=D1(mb,e=>e.prop("namedValues")),_k=Y(async e=>{let a=await e(V7);return a?a.poses:[]}),LX=D1(mb,e=>e.prop("namedPoses")),zk=Y(async e=>{let a=await e(V7);return a?a.beziers:[]}),h9=Y(async e=>(await e(V7))?.pathChains||[]),TT1=D1(mb,e=>e.prop("namedBeziers"));function Ak(e){return Yt(a=>Y(async t=>(await t(e)).get(a),async(t,o,l)=>{let r=new Map(await t(e));r.set(a,l),o(e,r)}))}var BT1=Ak(qX),wX=Ak(LX),Hl=Y(void 0),Fl=Y(void 0),q7=Y(void 0),Ck=Y(e=>{let a=e(g2),t=e(Mk),o=e(Hl),l=e(Fl);return JSON.stringify({d:a,c:t,p:o,b:l})});var E2=C(y(),1);var Ci=C(b1(),1),kX={x:"center",y:"middle"};function TX(e){switch(e){case"left":return"start";case"center":return"center";case"right":return"end"}}function BX(e){switch(e){case"top":return"start";case"middle":return"middle";case"bottom":return"end;"}}function DX(e){let a=e.x==="center"?"50%":e.x,t=e.y==="middle"?"50%":e.y;return`${a} ${t}`}function PX(e,a,t){let o=Math.abs(t-a),l=0,r=0;if(a<t)switch(e.y){case"middle":l=Math.floor(o/2);break;case"bottom":l=o;break}else switch(e.x){case"center":r=Math.floor(o/2);break;case"right":r=o;break}return{top:l,left:r}}function yk({anchor:e,style:a,className:t,render:o,animate:l}){let r=e||kX,n=c1(Oe),i=c1(Ck),c=c1(nw),s=(0,E2.useRef)(null),u=(0,E2.useRef)(null),d=(0,E2.useRef)(null),f=(0,E2.useRef)(null),h=(0,E2.useRef)(null),g=c1(d9),m=c1(Jd),[b,p]=(0,E2.useState)({top:0,left:0});(0,E2.useEffect)(()=>{if(u.current)if(l){let v=u.current;d.current=document.createElement("canvas"),d.current.width=v.width,d.current.height=v.height}else d.current=null},[l]),(0,E2.useEffect)(()=>{let v=s.current;if(v)return h.current=new ResizeObserver(M=>{for(let _ of M){let z=_.contentBoxSize[0];if(d0(z))continue;let A=Math.min(z.inlineSize,z.blockSize),S=u.current,R=d.current;if(li(S)||l&&li(R))continue;S.width=A,S.height=A,l&&(R.width=A,R.height=A);let B=PX(r,z.inlineSize,z.blockSize);(B.left!==b.left||B.top!==b.top)&&p(B);let w=l?R.getContext("2d"):S.getContext("2d");li(w)||o(w,window.devicePixelRatio||1)}}),h.current.observe(v,{box:"device-pixel-content-box"}),()=>h.current?.disconnect()},[l,o,r,i]);let x=()=>{if(!l)return;let v=u.current,M=d.current;if(!v||!M)return;let _=v.getContext("2d");li(_)||(_.clearRect(0,0,v.width,v.height),_.drawImage(M,0,0),l(_,window.devicePixelRatio||1),f.current=requestAnimationFrame(x))};return(0,E2.useEffect)(()=>{if(l)return f.current=requestAnimationFrame(x),()=>cancelAnimationFrame(f.current)},[l]),(0,Ci.jsxs)("div",{ref:s,style:{flexGrow:1,position:"relative",display:"flex",width:"100%",height:"100%",justifyContent:TX(r.x),alignItems:BX(r.y),overflow:"hidden"},children:[(0,Ci.jsx)("img",{src:`/img/${g&&m?"field":"svg"}/${n}`,style:{objectPosition:DX(r),opacity:c,width:"100%",height:"100%",objectFit:"contain"}}),(0,Ci.jsx)("canvas",{style:{...a,position:"absolute",left:`${b.left}px`,top:`${b.top}px`},className:t,ref:u})]})}var Vk=C(b1(),1);function Sk(){let e=c1(Oe),a=c1(cw),t=c1(e9),o=c1(bi),l=c1(vw),r=c1(gw),n=c1(H7),i=c1(Ai),c=c1(h9),s=c1(V7),u=c1(Hl),d=c1(Fl),f=c1(q7),h=new Map(c.map(x=>[x.name,x.paths.map(v=>[bx(v,s),AL(x.heading,s)])])),g=[...h.values()].flatMap(x=>x),m=(0,yi.useCallback)((x,v)=>{let M=x.canvas.width,_=M/144;x.setTransform(_,0,0,-_,0,M),x.globalAlpha=a,EX(x,1,_,e),x.globalAlpha=1,g.forEach(([z,A],S)=>UX(x,z,t?A:!1,i[S%i.length],o)),X1(u)&&OX(r,x,u.pose,s),X1(d)&&NX(l,x,d.points,s)},[a,e,t,o,d,u,r,l,c,i,g,u,d,s]),b=(0,yi.useRef)({name:"",curveIndex:0,curvePoint:0,count:60,curves:[]}),p=(0,yi.useCallback)((x,v)=>{let M=x.canvas.width,_=M/144,z=h.get(f.name);z&&(x.save(),x.setTransform(_,0,0,-_,0,M),gL(x,f?.name,z,b.current,n),x.restore())},[f,h,n]);return(0,Vk.jsx)(yk,{anchor:{x:"right",y:"top"},render:m,animate:f&&p})}function NX(e,a,t,o){let l=bx(t,o),r=ii(l);Rk(a,r,"#fff",e)}function OX(e,a,t,o){let l=Gd(t,o);a.beginPath(),a.strokeStyle=ye.colorNeutralForeground1,Hk(a,l,e.Points),a.stroke(),X1(l.h)&&Fk(a,e.Headings,ye.colorNeutralForeground1,l)}function x2(e,a,t,o){e.strokeText(a,t,o),e.fillText(a,t,o)}function EX(e,a,t,o){e.save(),e.setTransform(a*t,0,0,a*t,0,0),e.font="4px sans-serif",e.fillStyle=o==="light"?"black":"white",e.strokeStyle=o==="light"?"white":"black",e.lineWidth=.2,e.textAlign="start",e.textBaseline="middle",x2(e,"(0,0)",2,139),x2(e,"(0,144)",2,5),e.textAlign="end",x2(e,"(144,0)",142,5),x2(e,"(144,144)",142,139),e.textAlign="center",x2(e,"(72,72)",72,72),x2(e,"+y",71,84.5),x2(e,"-y",71,104.5),x2(e,"-x",62,95),x2(e,"+x",82,95),x2(e,"\xBD\u03C0 90\xB0",72,40),x2(e,"0\xB0",81,48),x2(e,"\u03C0 180\xB0",58,48),x2(e,"\xB3/\u2082\u03C0 270\xB0",72,56),e.lineCap="round",e.lineWidth=.5,e.strokeStyle=o==="light"?"black":"white",e.beginPath();let l=72,r=95;e.moveTo(l-2,r-5),e.lineTo(l,r-7),e.lineTo(l+2,r-5),e.moveTo(l,r-7),e.lineTo(l,r+7),e.moveTo(l+2,r+5),e.lineTo(l,r+7),e.lineTo(l-2,r+5),e.moveTo(l-5,r-2),e.lineTo(l-7,r),e.lineTo(l-5,r+2),e.moveTo(l-7,r),e.lineTo(l+7,r),e.moveTo(l+5,r+2),e.lineTo(l+7,r),e.lineTo(l+5,r-2),e.moveTo(78,50),e.lineTo(77,48),e.lineTo(77-1.75,48+1.75),e.stroke(),e.beginPath(),e.arc(72,48,5,Math.PI*-.25,0,!0),e.stroke(),e.restore()}function Rk(e,a,t,o){if(a.length>0&&!ci(o.Thickness,0)){e.beginPath(),e.lineWidth=o.Thickness,e.strokeStyle=t,e.moveTo(a.points[0].x,a.points[0].y);for(let l of a.points)e.lineTo(l.x,l.y);e.stroke()}}function IX(e){return e.ControlPoint.Style!="z"&&!ci(e.ControlPoint.Size,0)&&!ci(e.ControlPoint.Thickness,0)}function UX(e,a,t,o,l){let r=ii(a);Rk(e,r,o,l.Curves),IX(l.Curves)&&jX(e,l.Curves.ControlPoint,a,o),t&&(Td(r,t),GX(e,o,r,l.HeadingCount,l.Heading))}function Hk(e,a,t){e.lineWidth=t.Thickness;let o=t.Size/2;switch(t.Style){case t0.Circle:e.moveTo(a.x+o,a.y),e.arc(a.x,a.y,o,0,2*Math.PI);break;case t0.Square:e.rect(a.x-o,a.y-o,t.Size,t.Size);break;case t0.X:e.moveTo(a.x-o,a.y-o),e.lineTo(a.x+o,a.y+o),e.moveTo(a.x-o,a.y+o),e.lineTo(a.x+o,a.y-o);break;case t0.Triangle:e.moveTo(a.x-o,a.y-o),e.lineTo(a.x,a.y+o),e.lineTo(a.x+o,a.y-o),e.closePath();break;case t0.Crosshair:e.moveTo(a.x-o,a.y),e.lineTo(a.x+o,a.y),e.moveTo(a.x,a.y+o),e.lineTo(a.x,a.y-o);break}}function jX(e,a,t,o){e.beginPath(),e.strokeStyle=o;for(let l of t)Hk(e,l,a);e.stroke()}function GX(e,a,t,o,l){let r=t.length/(o+1);if(o<=0||t.points.length<3)return;let n=0,i=t.points[0],c=r;for(let s of t.points){let u=ni(i,s),d=n+u;if(d>=c){let f=(c-n)/u,h=(d-c)/u,g={x:h*i.x+f*s.x,y:h*i.y+f*s.y,h:h*i.h+f*s.h};Fk(e,l,a,g),c+=r}i=s,n=d}}function Fk(e,a,t,o){if(d0(o.h))return;e.beginPath(),e.lineCap="round",e.lineWidth=a.Thickness,e.strokeStyle=t,e.moveTo(o.x,o.y);let l=vL(o.h,a.Length),r=o.x+l.x,n=o.y+l.y;e.lineTo(r,n),e.stroke();let i=Math.atan2(l.y,l.x),c=a.Length*a.ArrowPercent;e.beginPath(),e.lineCap="square",e.moveTo(r-c*Math.cos(i-a.ArrowAngle),n-c*Math.sin(i-a.ArrowAngle)),e.lineTo(r,n),e.lineTo(r-c*Math.cos(i+a.ArrowAngle),n-c*Math.sin(i+a.ArrowAngle)),e.stroke()}var Ri=C(y(),1);var WX=C(y());var Mb=C(b1()),jk=C(y());var se=C(b1()),RY=C(y());var Gk=C(b1()),HY=C(y());var FY=C(b1()),Wk=C(y());var _b=C(b1()),QX=Symbol.for("freik.typetag");function Tk(e){return e===void 0}function qk(e){return!Tk(e)}function KX(e){return e==null}function XX(e){return!KX(e)}function YX(e,...a){return a.some(t=>t(e))}function gb(...e){return a=>YX(a,...e)}function ZX(e,...a){return a.every(t=>t(e))}function Bk(e){return ZX(e,JX,XX)}function JX(e){return typeof e=="object"}function xb(e){return Array.isArray(e)}function Da(e){return typeof e=="string"}function $X(e){return typeof e=="number"&&!isNaN(e-0)}var cB1=gb(Da,$X);function L7(e){return typeof e=="function"}function eY(e){return e instanceof Map}function aY(e,a){if(!xb(e))return!1;for(let t of e)if(!a(t))return!1;return!0}function tY(e,...a){return xb(e)&&e.length===a.length&&a.every((t,o)=>t(e[o]))}function oY(...e){return a=>tY(a,...e)}function lY(e,a,t){if(!eY(e))return!1;for(let[o,l]of e)if(!a(o)||!t(l))return!1;return!0}function Lk(e,a){return t=>lY(t,e,a)}function wk(e){return typeof e=="symbol"}function bb(e,a){return Bk(e)&&a in e}function rY(e,a,t){return bb(e,a)&&t(e[a])}var p9=rY;function kk(e,a){return p9(e,a,Da)}function Dk(e,a,t,o){if(!Bk(a))return!1;let l=Object.keys(t).length,r=Object.keys(a),n=r.length;for(let i of r){if(!bb(a,i))continue;let c=a[i];if(Tk(c)||a[i]===null){delete a[i],n--;continue}if(p9(o,i,L7)){let s=o[i];if(!s(c))return!1;n--}else if(p9(t,i,L7)){let s=t[i];if(!s(c))return!1;l--,n--}}return l===0&&(n===0||!e)}function nY(e,a={}){return t=>Dk(!1,t,e,a)}function iY(e,a={}){return t=>Dk(!0,t,e,a)}var cY=Function("try {return this===global;}catch(e){ return false;}"),sY=Function("try {return this===window;}catch(e){ return false;}");function uY(){return typeof globalThis<"u"}var Pk=Symbol.for("freik.Set"),Nk=Symbol.for("freik.Map"),Ok=Symbol.for("freik.Symbol"),Ek=Symbol.for("freik.RegExp"),Ik=Symbol.for("freik.Date"),Uk=Symbol.for("freik.BigInt");function dY(e){return[...e.entries()]}function fY(e){return aY(e,oY(qk,qk))?new Map(e):void 0}function hY(e){return[...e]}function mY(e){return xb(e)?new Set(e):void 0}function pY(e){let a=Symbol.keyFor(e);if(a===void 0)throw Error("Unable to get a key for a symbol for pickling");return a}function vY(e){return Da(e)?Symbol.for(e):void 0}function gY(e){return{source:e.source,flags:e.flags}}function xY(e){if(kk(e,"source")&&kk(e,"flags"))return new RegExp(e.source,e.flags)}function bY(e){return e.toJSON()}function MY(e){try{return Da(e)?new Date(e):void 0}catch{return}}function _Y(e){return e.toString()}function zY(e){try{return Da(e)?BigInt(e):void 0}catch{return}}var AY=new Map([[Nk,dY],[Pk,hY],[Ok,pY],[Ek,gY],[Ik,bY],[Uk,_Y]]),CY=new Map([[Nk,fY],[Pk,mY],[Ok,vY],[Ek,xY],[Ik,MY],[Uk,zY]]),yY;(e=>{e[e.Success=0]="Success",e[e.Already=1]="Already",e[e.Fail=2]="Fail",e[e.DetectionFailure=3]="DetectionFailure"})(yY||={});var m9=QX;function vb(e){return bb(e,m9)?p9(e,m9,nY({to:Lk(gb(wk,Da),L7),from:Lk(gb(wk,Da),L7)}))?1:2:(e[m9]={to:AY,from:CY},0)}function SY(){return uY()?vb(globalThis):sY()?vb(window):cY()?vb(global):3}switch(SY()){case 2:throw Error(`Invalid <global>[${String(m9)}] object`);case 3:throw Error("Unable to determine environment for pickling");default:break}var sB1=iY({errors:L7,[Symbol.toPrimitive]:L7});function Si({children:e,label:a,defaultShow:t,separator:o,indent:l,size:r,onChanged:n,...i}){let c=l||0,[s,u]=(0,jk.useState)(!t),d=(0,se.jsx)(N5,{appearance:"transparent",icon:s?(0,se.jsx)(H8,{}):(0,se.jsx)(R8,{}),onClick:()=>{u(!s),n&&n(s)},size:r||"medium"}),f=Da(a)?(0,se.jsxs)(Z,{...i,children:["\xA0",a]}):a,h=o?(0,se.jsxs)(Jo,{alignContent:"start",children:[d,f]}):(0,se.jsxs)("span",{style:{marginTop:10},children:[d,Da(a)?(0,se.jsx)(Z,{...i,children:a}):a]});return(0,se.jsxs)("div",{children:[h,(0,se.jsx)("div",{style:{...c?{paddingLeft:c}:{},...s?{display:"none"}:{}},children:e})]})}var $k=C(y(),1);var Zk=C(y(),1);var VY=C(y(),1);var Qk=C(b1(),1);var P1=C(b1(),1);function zb(e){return ka(e)?m2(e.radians)+" degrees":h2(e)?e+".getHeading()":X1(e)?m2(e):""}function w7({item:e,...a}){return X1(e)?ka(e)?(0,P1.jsx)(LY,{item:e,...a}):t5(e)?(0,P1.jsx)(Xk,{item:e,...a}):(0,P1.jsx)(Kk,{item:e,...a}):(0,P1.jsx)(P1.Fragment,{children:" "})}function Kk({item:e,...a}){return(0,P1.jsx)("code",{...a,children:m2(e)})}function Xk({item:e,...a}){return(0,P1.jsx)("code",{...a,children:e})}function g9({item:e,...a}){return t5(e)?(0,P1.jsx)(Xk,{item:e,...a}):(0,P1.jsx)(Kk,{item:e,...a})}function qY({item:e,...a}){return(0,P1.jsxs)("span",{children:[(0,P1.jsx)(g9,{item:e,...a}),(0,P1.jsx)(Z,{...a,children:"\xA0degrees"})]})}function LY({item:e,...a}){return(0,P1.jsx)(qY,{item:e.radians,...a})}function v9(e){return m2(Ne(e.value)?e.value:e.value.radians)}var wY=[I0({columnId:"name",compare:(e,a)=>e.name.localeCompare(a.name),renderHeaderCell:()=>(0,P1.jsx)(Z,{weight:"bold",children:"Name"}),renderCell:e=>(0,P1.jsx)("code",{children:e.name})}),I0({columnId:"value",compare:(e,a)=>{let t=v9(e),o=v9(a);return t.localeCompare(o)},renderHeaderCell:()=>(0,P1.jsx)(Z,{weight:"bold",children:"Value"}),renderCell:e=>Ne(e.value)?(0,P1.jsx)("code",{children:v9(e)}):(0,P1.jsxs)("span",{children:[(0,P1.jsx)("code",{children:v9(e)}),"\xA0degrees"]})})];function Yk(){let e=c1(pb);return(0,P1.jsxs)(s2,{items:e,columns:wY,sortable:!0,resizableColumns:!0,getRowId:a=>a.name,children:[(0,P1.jsx)(u2,{children:(0,P1.jsx)(a5,{children:({renderHeaderCell:a})=>(0,P1.jsx)(d2,{children:a()})})}),(0,P1.jsx)(c2,{children:({item:a,rowId:t})=>(0,P1.jsx)(a5,{children:({renderCell:o,columnId:l})=>(0,P1.jsx)(i2,{children:o(a)})},t)})]})}var h0=C(b1(),1);function x9({pose:e}){let a=c1(Ai);return t5(e)?(0,h0.jsx)(Z,{style:{},children:e}):(0,h0.jsxs)(Z,{style:{},children:["(",(0,h0.jsx)(g9,{item:e.x}),", ",(0,h0.jsx)(g9,{item:e.y}),")"]})}var kY=[I0({columnId:"name",compare:(e,a)=>e.name.localeCompare(a.name),renderHeaderCell:()=>(0,h0.jsx)(Z,{weight:"semibold",children:"Name"}),renderCell:e=>(0,h0.jsx)("code",{children:e.name})}),I0({columnId:"X",compare:(e,a)=>{let t=h2(e.pose)?e.pose:m2(e.pose.x),o=h2(a.pose)?a.pose:m2(a.pose.x);return t.localeCompare(o)},renderHeaderCell:()=>(0,h0.jsx)(Z,{weight:"semibold",children:"X"}),renderCell:e=>(0,h0.jsx)("code",{children:h2(e.pose)?e.pose:m2(e.pose.x)})}),I0({columnId:"Y",compare:(e,a)=>{let t=h2(e.pose)?"":m2(e.pose.y),o=h2(a.pose)?"":m2(a.pose.y);return t.localeCompare(o)},renderHeaderCell:()=>(0,h0.jsx)(Z,{weight:"semibold",children:"Y"}),renderCell:e=>(0,h0.jsx)("code",{children:h2(e.pose)?"":m2(e.pose.y)})}),I0({columnId:"Heading",compare:(e,a)=>{let t=h2(e.pose)?"":zb(e.pose.heading),o=h2(a.pose)?"":zb(a.pose.heading);return t.localeCompare(o)},renderHeaderCell:()=>(0,h0.jsx)(Z,{weight:"semibold",children:"Heading"}),renderCell:e=>{if(!h2(e.pose)&&X1(e.pose.heading))return(0,h0.jsx)(w7,{item:e.pose.heading})}})];function Jk(){let e=c1(_k),[a,t]=y0(Hl),o=new Set(a&&[a.name]),l=(0,Zk.useCallback)((n,i)=>{if(i.selectedItems.size===0)t(void 0);else{let c=[...i.selectedItems].pop(),s=e.find(u=>u1(c)&&u.name===c);t(s)}},[e]),r=n=>n===a?.name&&t(void 0);return(0,h0.jsxs)(s2,{items:e,columns:kY,sortable:!0,resizableColumns:!0,getRowId:n=>n.name,selectionMode:"single",selectedItems:o,onSelectionChange:l,children:[(0,h0.jsx)(u2,{children:(0,h0.jsx)(a5,{children:({renderHeaderCell:n})=>(0,h0.jsx)(d2,{children:n()})})}),(0,h0.jsx)(c2,{children:({item:n,rowId:i})=>(0,h0.jsx)(a5,{selectionCell:{radioIndicator:{"aria-label":"Select row"}},onClick:()=>r(n.name),children:({renderCell:c})=>(0,h0.jsx)(i2,{children:c(n)})},i)})]})}var o5=C(b1(),1);function Ab({bezier:e}){return t5(e)?(0,o5.jsx)("code",{children:e}):(0,o5.jsx)("div",{style:{display:"flex",flexWrap:"wrap"},children:e.points.map((a,t,o)=>{let l=t!==o.length-1;return(0,o5.jsxs)("span",{children:[(0,o5.jsx)(x9,{pose:a},t),l&&",","\xA0"]},t)})})}var TY=[I0({columnId:"name",compare:(e,a)=>e.name.localeCompare(a.name),renderHeaderCell:()=>(0,o5.jsx)(Z,{weight:"bold",children:"Name"}),renderCell:e=>(0,o5.jsx)("code",{children:e.name})}),I0({columnId:"points",renderHeaderCell:()=>(0,o5.jsx)(Z,{weight:"bold",children:"Points"}),renderCell:e=>(0,o5.jsx)(Ab,{bezier:e.points})})];function eT(){let e=c1(zk),[a,t]=y0(Fl),o=new Set(a&&[a.name]),l=(0,$k.useCallback)((n,i)=>{if(i.selectedItems.size===0)t(void 0);else{let c=[...i.selectedItems].pop(),s=e.find(u=>u1(c)&&u.name===c);t(s)}},[e]),r=n=>n===a?.name&&t(void 0);return(0,o5.jsxs)(s2,{items:e,columns:TY,sortable:!0,resizableColumns:!0,getRowId:n=>n.name,selectionMode:"single",selectedItems:o,onSelectionChange:l,children:[(0,o5.jsx)(u2,{children:(0,o5.jsx)(a5,{children:({renderHeaderCell:n})=>(0,o5.jsx)(d2,{children:n()})})}),(0,o5.jsx)(c2,{children:({item:n,rowId:i})=>(0,o5.jsx)(a5,{selectionCell:{radioIndicator:{"aria-label":"Select row"}},onClick:()=>r(n.name),children:({renderCell:c})=>(0,o5.jsx)(i2,{children:c(n)})},i)})]})}var aT=C(y(),1);var h1=C(b1(),1);function BY({heading:e,...a}){if(d0(e))return(0,h1.jsx)(h1.Fragment,{});switch(e.type){case b0.Constant:return(0,h1.jsxs)("div",{children:[(0,h1.jsx)(Z,{...a,children:"Constant:"}),(0,h1.jsx)("br",{}),(0,h1.jsx)(w7,{item:e.heading,...a})]});case b0.Tangent:return(0,h1.jsx)(Z,{...a,children:"Tangent"});case b0.Linear:return(0,h1.jsxs)("div",{children:[(0,h1.jsx)(Z,{...a,children:"Linear:"}),(0,h1.jsx)("br",{}),(0,h1.jsxs)("span",{...a,children:[(0,h1.jsx)(w7,{item:e.start}),(0,h1.jsx)(Z,{children:" to "}),(0,h1.jsx)(w7,{item:e.end})]})]});case b0.Point:return(0,h1.jsxs)("div",{children:[(0,h1.jsx)(Z,{...a,children:"Point:"}),(0,h1.jsx)("br",{}),(0,h1.jsx)("span",{...a,children:(0,h1.jsx)(x9,{pose:e.point})})]});case b0.Reversed:return(0,h1.jsx)(Z,{...a,children:"Reversed...[TODO!]"});case b0.Piecewise:return(0,h1.jsx)(Z,{...a,children:"Piecewise heading...[TODO!]"})}}var DY=[I0({columnId:"name",compare:(e,a)=>e.name.localeCompare(a.name),renderHeaderCell:()=>(0,h1.jsx)(Z,{weight:"semibold",children:"Name"}),renderCell:e=>(0,h1.jsx)("code",{children:e.name})}),I0({columnId:"paths",renderHeaderCell:()=>(0,h1.jsx)(Z,{weight:"semibold",children:"Paths"}),renderCell:e=>(0,h1.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:e.paths.map((a,t)=>(0,h1.jsx)("div",{style:{outlineColor:ye.colorNeutralForegroundDisabled,outlineWidth:2,outlineStyle:"outset",padding:3,margin:3},children:(0,h1.jsx)(Ab,{bezier:a})},t))})}),I0({columnId:"heading",renderHeaderCell:()=>(0,h1.jsx)(Z,{weight:"semibold",children:"Heading"}),renderCell:e=>(0,h1.jsx)(BY,{heading:e.heading})})];function tT(){let e=c1(h9),[a,t]=y0(q7),o=new Set(a&&[a.name]),l=(0,aT.useCallback)((n,i)=>{let c=i.selectedItems.values().next().value,s=e.find(u=>u1(c)&&u.name===c);t(s)},[e]),r=n=>n===a?.name&&t(void 0);return(0,h1.jsxs)(s2,{items:e,columns:DY,sortable:!0,resizableColumns:!0,getRowId:n=>n.name,selectionMode:"single",selectedItems:o,onSelectionChange:l,children:[(0,h1.jsx)(u2,{children:(0,h1.jsx)(a5,{children:({renderHeaderCell:n})=>(0,h1.jsx)(d2,{children:n()})})}),(0,h1.jsx)(c2,{children:({item:n,rowId:i})=>(0,h1.jsx)(a5,{selectionCell:{radioIndicator:{"aria-label":"Select row"}},onClick:()=>r(n.name),children:({renderCell:c})=>(0,h1.jsx)(i2,{children:c(n)})},i)})]})}var S0=C(b1(),1);function oT({expand:e}){let a=c1(Rl),t=c1(F7),o=Ao(Hl),l=Ao(Fl),r=Ao(q7);return a.length===0||t.length===0?(0,S0.jsx)(Z,{size:600,children:"Please select a file & class to view."}):(0,S0.jsxs)("div",{children:[(0,S0.jsx)(Si,{label:(0,S0.jsx)(Z,{weight:"bold",children:"Values"}),indent:20,children:(0,S0.jsx)(Ri.Suspense,{children:(0,S0.jsx)(Yk,{})})}),(0,S0.jsx)(Si,{label:(0,S0.jsx)(Z,{weight:"bold",children:"Poses"}),indent:20,onChanged:n=>n||o(void 0),children:(0,S0.jsx)(Ri.Suspense,{children:(0,S0.jsx)(Jk,{})})}),(0,S0.jsx)(Si,{label:(0,S0.jsx)(Z,{weight:"bold",children:"Curves & Lines"}),indent:20,onChanged:n=>n||l(void 0),children:(0,S0.jsx)(Ri.Suspense,{children:(0,S0.jsx)(eT,{})})}),(0,S0.jsx)(Si,{label:(0,S0.jsx)(Z,{weight:"bold",children:"Full Paths"}),indent:20,onChanged:n=>n||r(void 0),children:(0,S0.jsx)(Ri.Suspense,{children:(0,S0.jsx)(tT,{})})})]})}var M9=C(y(),1);var k7={select_a_bot:"Select a team/bot",select_a_file:"Select a file",select_a_class:"Select a class",Viz4Pedro:"Viz 4 Pedro",Reset:"Reset"};var lT=C(y(),1);var Pa=C(b1(),1);function b9({id:e,prompt:a,items:t,selected:o,setSelected:l,default:r}){let n=o.length===0?a:o;(0,lT.useEffect)(()=>{t.length===1&&o!==t[0]?l(t[0]):o===""&&u1(r)&&r.length>0&&l(r)},[t,o,r,l]);let i=(0,Pa.jsxs)(N5,{disabled:t.length===0,id:e,appearance:t.length===1?"subtle":"secondary",children:[n,(0,Pa.jsx)(V8,{style:{marginLeft:10}})]});return t.length===1?i:(0,Pa.jsxs)(al,{children:[(0,Pa.jsx)(Pt,{children:i}),(0,Pa.jsx)(ll,{children:(0,Pa.jsx)(ol,{children:t.map(c=>(0,Pa.jsx)(tl,{onClick:()=>setTimeout(()=>l(c),0),children:c},c))})})]})}var m0=C(b1(),1);function PY(){let e=c1(pk),[a,t]=y0(Sl);return(0,M9.useEffect)(()=>{e.length===1&&t(e[0])},[e,t]),(0,m0.jsxs)(m0.Fragment,{children:[(0,m0.jsx)(s1,{className:"pathLabel",children:"Robot:"}),(0,m0.jsx)(b9,{prompt:k7.select_a_bot,items:e,selected:a,setSelected:t})]})}function NY(){let e=c1(xk),[a,t]=y0(Rl),o="";if(e.length>0){let l=e[0].indexOf("/");for(;l>=0;){let r=e[0].substring(0,l+1);if(e.every(n=>n.startsWith(r)))o+=r,e=e.map(n=>n.substring(l+1)),l=e[0].indexOf("/");else break}}return(0,M9.useEffect)(()=>{e.length===1&&t(e[0])},[e,t]),(0,m0.jsxs)(m0.Fragment,{children:[(0,m0.jsx)(s1,{className:"pathLabel",htmlFor:"select_a_file",children:"File:"}),(0,m0.jsx)(b9,{id:"select_a_file",prompt:k7.select_a_file,items:e,selected:a.substring(o.length),setSelected:l=>t(o+l)})]})}function OY(){let e=c1(bk),[a,t]=y0(F7);return(0,M9.useEffect)(()=>{e.length===1&&t(e[0])},[e,t]),(0,m0.jsxs)(m0.Fragment,{children:[(0,m0.jsx)(s1,{className:"pathLabel",children:"Class:"}),(0,m0.jsx)(b9,{prompt:k7.select_a_class,items:e,selected:a,setSelected:t})]})}function rT(){let e=c1(hb),a=Ao(eo);return(0,m0.jsxs)(m0.Fragment,{children:[(0,m0.jsx)(PY,{}),(0,m0.jsx)(NY,{}),(0,m0.jsx)(OY,{}),"\xA0",(0,m0.jsx)(Z,{children:e}),(0,m0.jsx)(N5,{onClick:()=>a(),children:"Rescan Source"})]})}var I2=C(y(),1);var I=C(b1(),1);function Cb(e){switch(e){case t0.Circle:return"Circle";case t0.X:return"X";case t0.Crosshair:return"Crosshair";case t0.Triangle:return"Triangle";case t0.Square:return"Square";case t0.None:return"Nothing"}}var nT=[t0.Circle,t0.X,t0.Crosshair,t0.Triangle,t0.Square,t0.None];function yb(e){switch(e){case f5.Rectangle:return"Rectangle";case f5.Ellipse:return"Ellipse";case f5.Trapezoid:return"Trapezoid";case f5.Triangle:return"Triangle"}}var EY=[f5.Rectangle,f5.Ellipse,f5.Trapezoid,f5.Triangle];function ao(e){let[a,t]=y0(e),o=(0,I2.useCallback)((l,r)=>{r.value!==void 0&&r.value!==null&&!Number.isNaN(r.value)&&t(r.value)},[t]);return[a,o]}function iT(){let[e,a]=y0(Oe),[t,o]=y0(rw),[l,r]=y0(e9),n=c1(d9),[i,c]=y0(Jd),[s,u]=y0(iw),[d,f]=ao(hw),[h,g]=ao(fw),[m,b]=ao(uw),[p,x]=ao(mw),[v,M]=ao(xi),[_,z]=ao(pw),[A,S]=y0(dw),[R,B]=(0,I2.useState)(Cb(A)),w=(0,I2.useCallback)((Y1,j1)=>{j1.selectedOptions.length>0&&(S(j1.selectedOptions[0]),B(j1.optionText??""))},[S,B]),[O,V]=y0(bw),[N,E]=(0,I2.useState)(yb(O)),U=(0,I2.useCallback)((Y1,j1)=>{j1.selectedOptions.length>0&&(V(j1.selectedOptions[0]),E(j1.optionText??""))},[V,E]),[e1,J]=ao(Mw),[A1,n1]=ao(_w),[I1,G]=y0(xw),w1=(Y1,j1)=>{G(new R7(j1.color))},[G5,t1]=(0,I2.useState)("General"),C1=(Y1,j1)=>{t1(j1.value)},W5=(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Z,{children:"Put a jpg or png file named "}),(0,I.jsx)(Z,{font:"monospace",children:"field.jpg/png"}),(0,I.jsx)(Z,{children:", "}),(0,I.jsx)(Z,{font:"monospace",children:"field-dark.jpg/png"}),(0,I.jsx)(Z,{children:", and/or "}),(0,I.jsx)(Z,{font:"monospace",children:"field-light.png/jpg"}),(0,I.jsxs)(Z,{children:[" ","at the root of your FTC code repository (in the same folder as"," "]}),(0,I.jsx)(Z,{font:"monospace",children:"TeamCode"}),(0,I.jsx)(Z,{children:" and "}),(0,I.jsx)(Z,{font:"monospace",children:"FtcRobotController"}),(0,I.jsx)(Z,{children:") and it can be displayed as the background of the field."})]}),Ee=(0,I2.useMemo)(()=>(0,I.jsxs)("div",{className:"two-column",children:[(0,I.jsx)(s1,{htmlFor:"botWidthId",children:"Robot Width"}),(0,I.jsx)(E5,{id:"botWidthId",value:e1,onChange:J,step:.5,min:4,max:18}),(0,I.jsx)(s1,{htmlFor:"botLengthId",children:"Robot Length"}),(0,I.jsx)(E5,{id:"botLengthId",value:A1,onChange:n1,step:.5,min:4,max:18}),(0,I.jsx)(s1,{htmlFor:"botShapeId",children:"Robot Shape"}),(0,I.jsx)(Bt,{style:{minWidth:50},id:"botShapeId",value:N,selectedOptions:[O],onOptionSelect:U,children:EY.map(Y1=>(0,I.jsx)(kt,{text:yb(Y1),value:Y1,children:yb(Y1)},Y1))}),(0,I.jsxs)("div",{children:[(0,I.jsx)(s1,{htmlFor:"botColorId",children:"Robot Color"}),(0,I.jsx)("div",{style:{justifySelf:"center",width:"50px",height:"50px",borderRadius:"4px",backgroundColor:I1.toHexString()}})]}),(0,I.jsxs)("div",{className:"two-column",children:[(0,I.jsx)(s1,{htmlFor:"hueId",children:"Hue"}),(0,I.jsx)(La,{id:"hueId",color:I1.toHsv(),onChange:w1}),(0,I.jsx)(s1,{htmlFor:"satId",children:"Saturation"}),(0,I.jsx)(La,{id:"satId",color:I1.toHsv(),channel:"saturation",onChange:w1}),(0,I.jsx)(s1,{htmlFor:"valId",children:"Brightness"}),(0,I.jsx)(La,{id:"valId",color:I1.toHsv(),channel:"value",onChange:w1})]})]}),[e1,A1,O,I1]),Ie=(0,I2.useMemo)(()=>(0,I.jsxs)("div",{className:"two-column",children:[(0,I.jsx)(s1,{htmlFor:"setThemeId",children:"Theme"}),(0,I.jsxs)("span",{children:[(0,I.jsx)(yR,{}),(0,I.jsx)(Fa,{id:"setThemeId",checked:e==="dark",onChange:(Y1,j1)=>a(j1.checked?"dark":"light")}),(0,I.jsx)(CR,{})]}),(0,I.jsx)(s1,{htmlFor:"fieldVisibilityId",children:"Field Visibility Level"}),(0,I.jsx)(Nt,{"aria-valuetext":`Value is ${t}%`,value:t,min:0,max:100,step:2.5,onChange:(Y1,j1)=>o(j1.value),id:"fieldVisibilityId"}),(0,I.jsx)(s1,{htmlFor:"coordVizId",children:"Field Key Visibility Level"}),(0,I.jsx)(Nt,{"aria-valuetext":`Value is ${s}%`,value:s,min:0,max:100,step:2.5,onChange:(Y1,j1)=>u(j1.value),id:"coordVizId"}),(0,I.jsx)(s1,{htmlFor:"customFieldId",children:(0,I.jsx)(xl,{info:W5,children:"Show Custom Field"})}),(0,I.jsx)(Fa,{id:"customFieldId",disabled:!n,checked:i,onChange:(Y1,j1)=>c(j1.checked)}),(0,I.jsx)(s1,{htmlFor:"resetPrefsId",children:"Reset preferences"}),(0,I.jsx)("span",{children:(0,I.jsx)(N5,{id:"resetPrefsId",onClick:()=>{localStorage.clear(),window.location.reload()},children:k7.Reset})})]}),[t,i,n,s,e]),Ue=(0,I2.useMemo)(()=>(0,I.jsxs)("div",{className:"two-column",children:[(0,I.jsx)(s1,{htmlFor:"pathThicknessId",children:"Path Thickness"}),(0,I.jsx)(E5,{id:"pathThicknessId",value:d,onChange:f,step:.1,stepPage:1,min:0,max:2}),(0,I.jsx)(s1,{htmlFor:"ctrlPtSizeId",children:"Control Point Size"}),(0,I.jsx)(E5,{id:"ctrlPtSizeId",value:m,onChange:b,step:.25,stepPage:1,min:.5,max:4}),(0,I.jsx)(s1,{htmlFor:"ctrlPtThicknessId",children:"Control Point Thickness"}),(0,I.jsx)(E5,{id:"ctrlPtThicknessId",value:h,onChange:g,step:.1,stepPage:1,min:.1,max:2}),(0,I.jsx)(s1,{htmlFor:"ctrlPtStyleId",children:"Control Point Style"}),(0,I.jsx)(Bt,{style:{minWidth:50},id:"ctrlPtStyleId",value:R,selectedOptions:[A],onOptionSelect:w,children:nT.map(Y1=>(0,I.jsx)(kt,{text:Cb(Y1),value:Y1,children:Cb(Y1)},Y1))}),(0,I.jsx)(s1,{htmlFor:"showBotHeadingId",children:"Show Robot Heading"}),(0,I.jsx)(Fa,{id:"showBotHeadingId",checked:l,onChange:(Y1,j1)=>r(j1.checked)}),(0,I.jsx)(s1,{htmlFor:"headingCountId",children:"Heading Indicator Count"}),(0,I.jsx)(E5,{id:"headingCountId",disabled:!l,value:v,onChange:M,step:1,stepPage:5,min:1,max:25}),(0,I.jsx)(s1,{htmlFor:"headingThicknessId",children:"Heading Thickness"}),(0,I.jsx)(E5,{id:"headingThicknessId",disabled:!l,value:_,onChange:z,step:.1,stepPage:1,min:.1,max:2}),(0,I.jsx)(s1,{htmlFor:"headingLengthId",children:"Heading Length"}),(0,I.jsx)(E5,{id:"headingLengthId",disabled:!l,value:p,onChange:x,step:1,stepPage:5,min:1,max:25})]}),[d,l,v,m,h,l,_,p,R,nT]);return(0,I.jsxs)(dl,{modalType:"non-modal",children:[(0,I.jsx)(Te,{disableButtonEnhancement:!0,children:(0,I.jsx)(N5,{icon:(0,I.jsx)(AR,{}),appearance:"transparent"})}),(0,I.jsx)(ml,{children:(0,I.jsxs)(fl,{children:[(0,I.jsx)(hl,{style:{textAlign:"center"},children:"Settings"}),(0,I.jsxs)(pl,{className:"two-column",children:[(0,I.jsx)("span",{children:(0,I.jsxs)(ul,{onTabSelect:C1,vertical:!0,size:"large",defaultSelectedValue:"General",children:[(0,I.jsx)(qa,{value:"General",children:"General"}),(0,I.jsx)(qa,{value:"Robot",children:"Robot"}),(0,I.jsx)(qa,{value:"Paths",children:"Paths"})]})}),(0,I.jsxs)("span",{children:[G5==="General"&&Ie,G5==="Robot"&&Ee,G5==="Paths"&&Ue]})]})]})})]})}var R0=C(b1(),1);function IY(){return(0,R0.jsxs)("div",{className:"app",children:[(0,R0.jsx)("div",{className:"header-left",children:(0,R0.jsx)(_9.Suspense,{children:(0,R0.jsx)(rT,{})})}),(0,R0.jsx)("div",{className:"header-right",children:(0,R0.jsx)(iT,{})}),(0,R0.jsxs)(Yg,{className:"main",children:[(0,R0.jsx)(Hd,{className:"sidebar",children:(0,R0.jsx)(_9.Suspense,{children:(0,R0.jsx)(oT,{})})}),(0,R0.jsx)(Jg,{id:"view-separator"}),(0,R0.jsx)(Hd,{className:"display",children:(0,R0.jsx)(_9.Suspense,{children:(0,R0.jsx)(Sk,{})})})]})]})}function UY(){let a=c1(Oe)==="dark"?To:ko;return(0,R0.jsx)(Bo,{theme:a,children:(0,R0.jsx)(IY,{})})}var cT=()=>(0,R0.jsx)(RC,{store:ik(),children:(0,R0.jsx)(UY,{})});var Sb=C(b1(),1),jY=document.getElementById("root"),GY=(0,Sb.jsx)(sT.StrictMode,{children:(0,Sb.jsx)(cT,{})});(0,uT.createRoot)(jY).render(GY);
51
+ /*! Bundled license information:
52
+
53
+ react/cjs/react.production.js:
54
+ (**
55
+ * @license React
56
+ * react.production.js
57
+ *
58
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
59
+ *
60
+ * This source code is licensed under the MIT license found in the
61
+ * LICENSE file in the root directory of this source tree.
62
+ *)
63
+
64
+ scheduler/cjs/scheduler.production.js:
65
+ (**
66
+ * @license React
67
+ * scheduler.production.js
68
+ *
69
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
70
+ *
71
+ * This source code is licensed under the MIT license found in the
72
+ * LICENSE file in the root directory of this source tree.
73
+ *)
74
+
75
+ react-dom/cjs/react-dom.production.js:
76
+ (**
77
+ * @license React
78
+ * react-dom.production.js
79
+ *
80
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
81
+ *
82
+ * This source code is licensed under the MIT license found in the
83
+ * LICENSE file in the root directory of this source tree.
84
+ *)
85
+
86
+ react-dom/cjs/react-dom-client.production.js:
87
+ (**
88
+ * @license React
89
+ * react-dom-client.production.js
90
+ *
91
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
92
+ *
93
+ * This source code is licensed under the MIT license found in the
94
+ * LICENSE file in the root directory of this source tree.
95
+ *)
96
+
97
+ react/cjs/react-jsx-runtime.production.js:
98
+ (**
99
+ * @license React
100
+ * react-jsx-runtime.production.js
101
+ *
102
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
103
+ *
104
+ * This source code is licensed under the MIT license found in the
105
+ * LICENSE file in the root directory of this source tree.
106
+ *)
107
+
108
+ use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
109
+ (**
110
+ * @license React
111
+ * use-sync-external-store-shim.production.js
112
+ *
113
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
114
+ *
115
+ * This source code is licensed under the MIT license found in the
116
+ * LICENSE file in the root directory of this source tree.
117
+ *)
118
+
119
+ tabster/dist/esm/Consts.js:
120
+ tabster/dist/esm/Instance.js:
121
+ tabster/dist/esm/Events.js:
122
+ tabster/dist/esm/DOMAPI.js:
123
+ tabster/dist/esm/Utils.js:
124
+ tabster/dist/esm/DummyInput.js:
125
+ tabster/dist/esm/AttributeHelpers.js:
126
+ tabster/dist/esm/Root.js:
127
+ tabster/dist/esm/Focusable.js:
128
+ tabster/dist/esm/Keys.js:
129
+ tabster/dist/esm/State/Subscribable.js:
130
+ tabster/dist/esm/State/FocusedElement.js:
131
+ tabster/dist/esm/State/KeyboardNavigation.js:
132
+ tabster/dist/esm/MutationEvent.js:
133
+ tabster/dist/esm/Uncontrolled.js:
134
+ tabster/dist/esm/Modalizer.js:
135
+ tabster/dist/esm/get/getModalizer.js:
136
+ tabster/dist/esm/Mover.js:
137
+ tabster/dist/esm/get/getMover.js:
138
+ tabster/dist/esm/Groupper.js:
139
+ tabster/dist/esm/get/getGroupper.js:
140
+ tabster/dist/esm/Restorer.js:
141
+ tabster/dist/esm/get/getRestorer.js:
142
+ tabster/dist/esm/Tabster.js:
143
+ tabster/dist/esm/index.js:
144
+ (*!
145
+ * Copyright (c) Microsoft Corporation. All rights reserved.
146
+ * Licensed under the MIT License.
147
+ *)
148
+
149
+ keyborg/dist/index.js:
150
+ keyborg/dist/index.js:
151
+ (*!
152
+ * Copyright (c) Microsoft Corporation. All rights reserved.
153
+ * Licensed under the MIT License.
154
+ *)
155
+ */
156
+ //# sourceMappingURL=frontend.js.map