@cyco77/pptb-plugin-documentation-generator 0.1.2 → 0.1.4

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,13 @@
1
+ (function(){"use strict";var Yu=document.createElement("style");Yu.textContent=`*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.6;min-height:100vh}#root{height:100vh}[role=grid] [role=rowgroup]:first-child{position:sticky;top:0;z-index:10;background-color:var(--colorNeutralBackground1, #ffffff)}
2
+ /*$vite$:1*/`,document.head.appendChild(Yu);function Ju(t,o){for(var n=0;n<o.length;n++){const s=o[n];if(typeof s!="string"&&!Array.isArray(s)){for(const l in s)if(l!=="default"&&!(l in t)){const c=Object.getOwnPropertyDescriptor(s,l);c&&Object.defineProperty(t,l,c.get?c:{enumerable:!0,get:()=>s[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}function Zu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var zl={exports:{}},xn={},Pl={exports:{}},we={};var ed;function a0(){if(ed)return we;ed=1;var t=Symbol.for("react.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;function k(F){return F===null||typeof F!="object"?null:(F=v&&F[v]||F["@@iterator"],typeof F=="function"?F:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,b={};function _(F,M,se){this.props=F,this.context=M,this.refs=b,this.updater=se||y}_.prototype.isReactComponent={},_.prototype.setState=function(F,M){if(typeof F!="object"&&typeof F!="function"&&F!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,F,M,"setState")},_.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function B(){}B.prototype=_.prototype;function E(F,M,se){this.props=F,this.context=M,this.refs=b,this.updater=se||y}var N=E.prototype=new B;N.constructor=E,x(N,_.prototype),N.isPureReactComponent=!0;var T=Array.isArray,R=Object.prototype.hasOwnProperty,D={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function H(F,M,se){var me,Ce={},Be=null,Ie=null;if(M!=null)for(me in M.ref!==void 0&&(Ie=M.ref),M.key!==void 0&&(Be=""+M.key),M)R.call(M,me)&&!A.hasOwnProperty(me)&&(Ce[me]=M[me]);var Ee=arguments.length-2;if(Ee===1)Ce.children=se;else if(1<Ee){for(var Ae=Array(Ee),Ot=0;Ot<Ee;Ot++)Ae[Ot]=arguments[Ot+2];Ce.children=Ae}if(F&&F.defaultProps)for(me in Ee=F.defaultProps,Ee)Ce[me]===void 0&&(Ce[me]=Ee[me]);return{$$typeof:t,type:F,key:Be,ref:Ie,props:Ce,_owner:D.current}}function Q(F,M){return{$$typeof:t,type:F.type,key:M,ref:F.ref,props:F.props,_owner:F._owner}}function Z(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function ve(F){var M={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(se){return M[se]})}var he=/\/+/g;function q(F,M){return typeof F=="object"&&F!==null&&F.key!=null?ve(""+F.key):M.toString(36)}function te(F,M,se,me,Ce){var Be=typeof F;(Be==="undefined"||Be==="boolean")&&(F=null);var Ie=!1;if(F===null)Ie=!0;else switch(Be){case"string":case"number":Ie=!0;break;case"object":switch(F.$$typeof){case t:case o:Ie=!0}}if(Ie)return Ie=F,Ce=Ce(Ie),F=me===""?"."+q(Ie,0):me,T(Ce)?(se="",F!=null&&(se=F.replace(he,"$&/")+"/"),te(Ce,M,se,"",function(Ot){return Ot})):Ce!=null&&(Z(Ce)&&(Ce=Q(Ce,se+(!Ce.key||Ie&&Ie.key===Ce.key?"":(""+Ce.key).replace(he,"$&/")+"/")+F)),M.push(Ce)),1;if(Ie=0,me=me===""?".":me+":",T(F))for(var Ee=0;Ee<F.length;Ee++){Be=F[Ee];var Ae=me+q(Be,Ee);Ie+=te(Be,M,se,Ae,Ce)}else if(Ae=k(F),typeof Ae=="function")for(F=Ae.call(F),Ee=0;!(Be=F.next()).done;)Be=Be.value,Ae=me+q(Be,Ee++),Ie+=te(Be,M,se,Ae,Ce);else if(Be==="object")throw M=String(F),Error("Objects are not valid as a React child (found: "+(M==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":M)+"). If you meant to render a collection of children, use an array instead.");return Ie}function xe(F,M,se){if(F==null)return F;var me=[],Ce=0;return te(F,me,"","",function(Be){return M.call(se,Be,Ce++)}),me}function be(F){if(F._status===-1){var M=F._result;M=M(),M.then(function(se){(F._status===0||F._status===-1)&&(F._status=1,F._result=se)},function(se){(F._status===0||F._status===-1)&&(F._status=2,F._result=se)}),F._status===-1&&(F._status=0,F._result=M)}if(F._status===1)return F._result.default;throw F._result}var pe={current:null},U={transition:null},ee={ReactCurrentDispatcher:pe,ReactCurrentBatchConfig:U,ReactCurrentOwner:D};function Y(){throw Error("act(...) is not supported in production builds of React.")}return we.Children={map:xe,forEach:function(F,M,se){xe(F,function(){M.apply(this,arguments)},se)},count:function(F){var M=0;return xe(F,function(){M++}),M},toArray:function(F){return xe(F,function(M){return M})||[]},only:function(F){if(!Z(F))throw Error("React.Children.only expected to receive a single React element child.");return F}},we.Component=_,we.Fragment=n,we.Profiler=l,we.PureComponent=E,we.StrictMode=s,we.Suspense=f,we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,we.act=Y,we.cloneElement=function(F,M,se){if(F==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+F+".");var me=x({},F.props),Ce=F.key,Be=F.ref,Ie=F._owner;if(M!=null){if(M.ref!==void 0&&(Be=M.ref,Ie=D.current),M.key!==void 0&&(Ce=""+M.key),F.type&&F.type.defaultProps)var Ee=F.type.defaultProps;for(Ae in M)R.call(M,Ae)&&!A.hasOwnProperty(Ae)&&(me[Ae]=M[Ae]===void 0&&Ee!==void 0?Ee[Ae]:M[Ae])}var Ae=arguments.length-2;if(Ae===1)me.children=se;else if(1<Ae){Ee=Array(Ae);for(var Ot=0;Ot<Ae;Ot++)Ee[Ot]=arguments[Ot+2];me.children=Ee}return{$$typeof:t,type:F.type,key:Ce,ref:Be,props:me,_owner:Ie}},we.createContext=function(F){return F={$$typeof:u,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},F.Provider={$$typeof:c,_context:F},F.Consumer=F},we.createElement=H,we.createFactory=function(F){var M=H.bind(null,F);return M.type=F,M},we.createRef=function(){return{current:null}},we.forwardRef=function(F){return{$$typeof:p,render:F}},we.isValidElement=Z,we.lazy=function(F){return{$$typeof:g,_payload:{_status:-1,_result:F},_init:be}},we.memo=function(F,M){return{$$typeof:m,type:F,compare:M===void 0?null:M}},we.startTransition=function(F){var M=U.transition;U.transition={};try{F()}finally{U.transition=M}},we.unstable_act=Y,we.useCallback=function(F,M){return pe.current.useCallback(F,M)},we.useContext=function(F){return pe.current.useContext(F)},we.useDebugValue=function(){},we.useDeferredValue=function(F){return pe.current.useDeferredValue(F)},we.useEffect=function(F,M){return pe.current.useEffect(F,M)},we.useId=function(){return pe.current.useId()},we.useImperativeHandle=function(F,M,se){return pe.current.useImperativeHandle(F,M,se)},we.useInsertionEffect=function(F,M){return pe.current.useInsertionEffect(F,M)},we.useLayoutEffect=function(F,M){return pe.current.useLayoutEffect(F,M)},we.useMemo=function(F,M){return pe.current.useMemo(F,M)},we.useReducer=function(F,M,se){return pe.current.useReducer(F,M,se)},we.useRef=function(F){return pe.current.useRef(F)},we.useState=function(F){return pe.current.useState(F)},we.useSyncExternalStore=function(F,M,se){return pe.current.useSyncExternalStore(F,M,se)},we.useTransition=function(){return pe.current.useTransition()},we.version="18.3.1",we}var td;function Rl(){return td||(td=1,Pl.exports=a0()),Pl.exports}var rd;function c0(){if(rd)return xn;rd=1;var t=Rl(),o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,l=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(p,f,m){var g,v={},k=null,y=null;m!==void 0&&(k=""+m),f.key!==void 0&&(k=""+f.key),f.ref!==void 0&&(y=f.ref);for(g in f)s.call(f,g)&&!c.hasOwnProperty(g)&&(v[g]=f[g]);if(p&&p.defaultProps)for(g in f=p.defaultProps,f)v[g]===void 0&&(v[g]=f[g]);return{$$typeof:o,type:p,key:k,ref:y,props:v,_owner:l.current}}return xn.Fragment=n,xn.jsx=u,xn.jsxs=u,xn}var od;function u0(){return od||(od=1,zl.exports=c0()),zl.exports}var ae=u0();const d0=Ju({__proto__:null,default:Zu(ae)},[ae]);var S=Rl();const Fl=Zu(S),Bi=Ju({__proto__:null,default:Fl},[S]);var Ni={},Il={exports:{}},xt={},Dl={exports:{}},jl={};var nd;function f0(){return nd||(nd=1,(function(t){function o(U,ee){var Y=U.length;U.push(ee);e:for(;0<Y;){var F=Y-1>>>1,M=U[F];if(0<l(M,ee))U[F]=ee,U[Y]=M,Y=F;else break e}}function n(U){return U.length===0?null:U[0]}function s(U){if(U.length===0)return null;var ee=U[0],Y=U.pop();if(Y!==ee){U[0]=Y;e:for(var F=0,M=U.length,se=M>>>1;F<se;){var me=2*(F+1)-1,Ce=U[me],Be=me+1,Ie=U[Be];if(0>l(Ce,Y))Be<M&&0>l(Ie,Ce)?(U[F]=Ie,U[Be]=Y,F=Be):(U[F]=Ce,U[me]=Y,F=me);else if(Be<M&&0>l(Ie,Y))U[F]=Ie,U[Be]=Y,F=Be;else break e}}return ee}function l(U,ee){var Y=U.sortIndex-ee.sortIndex;return Y!==0?Y:U.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var u=Date,p=u.now();t.unstable_now=function(){return u.now()-p}}var f=[],m=[],g=1,v=null,k=3,y=!1,x=!1,b=!1,_=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function N(U){for(var ee=n(m);ee!==null;){if(ee.callback===null)s(m);else if(ee.startTime<=U)s(m),ee.sortIndex=ee.expirationTime,o(f,ee);else break;ee=n(m)}}function T(U){if(b=!1,N(U),!x)if(n(f)!==null)x=!0,be(R);else{var ee=n(m);ee!==null&&pe(T,ee.startTime-U)}}function R(U,ee){x=!1,b&&(b=!1,B(H),H=-1),y=!0;var Y=k;try{for(N(ee),v=n(f);v!==null&&(!(v.expirationTime>ee)||U&&!ve());){var F=v.callback;if(typeof F=="function"){v.callback=null,k=v.priorityLevel;var M=F(v.expirationTime<=ee);ee=t.unstable_now(),typeof M=="function"?v.callback=M:v===n(f)&&s(f),N(ee)}else s(f);v=n(f)}if(v!==null)var se=!0;else{var me=n(m);me!==null&&pe(T,me.startTime-ee),se=!1}return se}finally{v=null,k=Y,y=!1}}var D=!1,A=null,H=-1,Q=5,Z=-1;function ve(){return!(t.unstable_now()-Z<Q)}function he(){if(A!==null){var U=t.unstable_now();Z=U;var ee=!0;try{ee=A(!0,U)}finally{ee?q():(D=!1,A=null)}}else D=!1}var q;if(typeof E=="function")q=function(){E(he)};else if(typeof MessageChannel<"u"){var te=new MessageChannel,xe=te.port2;te.port1.onmessage=he,q=function(){xe.postMessage(null)}}else q=function(){_(he,0)};function be(U){A=U,D||(D=!0,q())}function pe(U,ee){H=_(function(){U(t.unstable_now())},ee)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(U){U.callback=null},t.unstable_continueExecution=function(){x||y||(x=!0,be(R))},t.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<U?Math.floor(1e3/U):5},t.unstable_getCurrentPriorityLevel=function(){return k},t.unstable_getFirstCallbackNode=function(){return n(f)},t.unstable_next=function(U){switch(k){case 1:case 2:case 3:var ee=3;break;default:ee=k}var Y=k;k=ee;try{return U()}finally{k=Y}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(U,ee){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var Y=k;k=U;try{return ee()}finally{k=Y}},t.unstable_scheduleCallback=function(U,ee,Y){var F=t.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?F+Y:F):Y=F,U){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=Y+M,U={id:g++,callback:ee,priorityLevel:U,startTime:Y,expirationTime:M,sortIndex:-1},Y>F?(U.sortIndex=Y,o(m,U),n(f)===null&&U===n(m)&&(b?(B(H),H=-1):b=!0,pe(T,Y-F))):(U.sortIndex=M,o(f,U),x||y||(x=!0,be(R))),U},t.unstable_shouldYield=ve,t.unstable_wrapCallback=function(U){var ee=k;return function(){var Y=k;k=ee;try{return U.apply(this,arguments)}finally{k=Y}}}})(jl)),jl}var id;function sd(){return id||(id=1,Dl.exports=f0()),Dl.exports}var ld;function p0(){if(ld)return xt;ld=1;var t=Rl(),o=sd();function n(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)r+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,l={};function c(e,r){u(e,r),u(e+"Capture",r)}function u(e,r){for(l[e]=r,e=0;e<r.length;e++)s.add(r[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,m=/^[: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]*$/,g={},v={};function k(e){return f.call(v,e)?!0:f.call(g,e)?!1:m.test(e)?v[e]=!0:(g[e]=!0,!1)}function y(e,r,i,a){if(i!==null&&i.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return a?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function x(e,r,i,a){if(r===null||typeof r>"u"||y(e,r,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function b(e,r,i,a,d,h,w){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=a,this.attributeNamespace=d,this.mustUseProperty=i,this.propertyName=e,this.type=r,this.sanitizeURL=h,this.removeEmptyString=w}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_[e]=new b(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];_[r]=new b(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){_[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_[e]=new b(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){_[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){_[e]=new b(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){_[e]=new b(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){_[e]=new b(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){_[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)});var B=/[\-:]([a-z])/g;function E(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var r=e.replace(B,E);_[r]=new b(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(B,E);_[r]=new b(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(B,E);_[r]=new b(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){_[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)}),_.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){_[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)});function N(e,r,i,a){var d=_.hasOwnProperty(r)?_[r]:null;(d!==null?d.type!==0:a||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(x(r,i,d,a)&&(i=null),a||d===null?k(r)&&(i===null?e.removeAttribute(r):e.setAttribute(r,""+i)):d.mustUseProperty?e[d.propertyName]=i===null?d.type===3?!1:"":i:(r=d.attributeName,a=d.attributeNamespace,i===null?e.removeAttribute(r):(d=d.type,i=d===3||d===4&&i===!0?"":""+i,a?e.setAttributeNS(a,r,i):e.setAttribute(r,i))))}var T=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,R=Symbol.for("react.element"),D=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),Z=Symbol.for("react.provider"),ve=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),te=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),be=Symbol.for("react.lazy"),pe=Symbol.for("react.offscreen"),U=Symbol.iterator;function ee(e){return e===null||typeof e!="object"?null:(e=U&&e[U]||e["@@iterator"],typeof e=="function"?e:null)}var Y=Object.assign,F;function M(e){if(F===void 0)try{throw Error()}catch(i){var r=i.stack.trim().match(/\n( *(at )?)/);F=r&&r[1]||""}return`
3
+ `+F+e}var se=!1;function me(e,r){if(!e||se)return"";se=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(O){var a=O}Reflect.construct(e,[],r)}else{try{r.call()}catch(O){a=O}e.call(r.prototype)}else{try{throw Error()}catch(O){a=O}e()}}catch(O){if(O&&a&&typeof O.stack=="string"){for(var d=O.stack.split(`
4
+ `),h=a.stack.split(`
5
+ `),w=d.length-1,C=h.length-1;1<=w&&0<=C&&d[w]!==h[C];)C--;for(;1<=w&&0<=C;w--,C--)if(d[w]!==h[C]){if(w!==1||C!==1)do if(w--,C--,0>C||d[w]!==h[C]){var z=`
6
+ `+d[w].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),z}while(1<=w&&0<=C);break}}}finally{se=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?M(e):""}function Ce(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=me(e.type,!1),e;case 11:return e=me(e.type.render,!1),e;case 1:return e=me(e.type,!0),e;default:return""}}function Be(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case D:return"Portal";case Q:return"Profiler";case H:return"StrictMode";case q:return"Suspense";case te:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ve:return(e.displayName||"Context")+".Consumer";case Z:return(e._context.displayName||"Context")+".Provider";case he:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xe:return r=e.displayName||null,r!==null?r:Be(e.type)||"Memo";case be:r=e._payload,e=e._init;try{return Be(e(r))}catch{}}return null}function Ie(e){var r=e.type;switch(e.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=r.render,e=e.displayName||e.name||"",r.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Be(r);case 8:return r===H?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function Ee(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ae(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Ot(e){var r=Ae(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),a=""+e[r];if(!e.hasOwnProperty(r)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var d=i.get,h=i.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return d.call(this)},set:function(w){a=""+w,h.call(this,w)}}),Object.defineProperty(e,r,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(w){a=""+w},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function ws(e){e._valueTracker||(e._valueTracker=Ot(e))}function pm(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var i=r.getValue(),a="";return e&&(a=Ae(e)?e.checked?"true":"false":e.value),e=a,e!==i?(r.setValue(e),!0):!1}function ks(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}}function nc(e,r){var i=r.checked;return Y({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function hm(e,r){var i=r.defaultValue==null?"":r.defaultValue,a=r.checked!=null?r.checked:r.defaultChecked;i=Ee(r.value!=null?r.value:i),e._wrapperState={initialChecked:a,initialValue:i,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function mm(e,r){r=r.checked,r!=null&&N(e,"checked",r,!1)}function ic(e,r){mm(e,r);var i=Ee(r.value),a=r.type;if(i!=null)a==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}r.hasOwnProperty("value")?sc(e,r.type,i):r.hasOwnProperty("defaultValue")&&sc(e,r.type,Ee(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(e.defaultChecked=!!r.defaultChecked)}function gm(e,r,i){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var a=r.type;if(!(a!=="submit"&&a!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+e._wrapperState.initialValue,i||r===e.value||(e.value=r),e.defaultValue=r}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function sc(e,r,i){(r!=="number"||ks(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Hn=Array.isArray;function Qo(e,r,i,a){if(e=e.options,r){r={};for(var d=0;d<i.length;d++)r["$"+i[d]]=!0;for(i=0;i<e.length;i++)d=r.hasOwnProperty("$"+e[i].value),e[i].selected!==d&&(e[i].selected=d),d&&a&&(e[i].defaultSelected=!0)}else{for(i=""+Ee(i),r=null,d=0;d<e.length;d++){if(e[d].value===i){e[d].selected=!0,a&&(e[d].defaultSelected=!0);return}r!==null||e[d].disabled||(r=e[d])}r!==null&&(r.selected=!0)}}function lc(e,r){if(r.dangerouslySetInnerHTML!=null)throw Error(n(91));return Y({},r,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function vm(e,r){var i=r.value;if(i==null){if(i=r.children,r=r.defaultValue,i!=null){if(r!=null)throw Error(n(92));if(Hn(i)){if(1<i.length)throw Error(n(93));i=i[0]}r=i}r==null&&(r=""),i=r}e._wrapperState={initialValue:Ee(i)}}function bm(e,r){var i=Ee(r.value),a=Ee(r.defaultValue);i!=null&&(i=""+i,i!==e.value&&(e.value=i),r.defaultValue==null&&e.defaultValue!==i&&(e.defaultValue=i)),a!=null&&(e.defaultValue=""+a)}function ym(e){var r=e.textContent;r===e._wrapperState.initialValue&&r!==""&&r!==null&&(e.value=r)}function wm(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ac(e,r){return e==null||e==="http://www.w3.org/1999/xhtml"?wm(r):e==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var xs,km=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,i,a,d){MSApp.execUnsafeLocalFunction(function(){return e(r,i,a,d)})}:e})(function(e,r){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=r;else{for(xs=xs||document.createElement("div"),xs.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=xs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild)}});function qn(e,r){if(r){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=r;return}}e.textContent=r}var Wn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},T5=["Webkit","ms","Moz","O"];Object.keys(Wn).forEach(function(e){T5.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),Wn[r]=Wn[e]})});function xm(e,r,i){return r==null||typeof r=="boolean"||r===""?"":i||typeof r!="number"||r===0||Wn.hasOwnProperty(e)&&Wn[e]?(""+r).trim():r+"px"}function Sm(e,r){e=e.style;for(var i in r)if(r.hasOwnProperty(i)){var a=i.indexOf("--")===0,d=xm(i,r[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,d):e[i]=d}}var E5=Y({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function cc(e,r){if(r){if(E5[e]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(n(137,e));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(n(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(n(61))}if(r.style!=null&&typeof r.style!="object")throw Error(n(62))}}function uc(e,r){if(e.indexOf("-")===-1)return typeof r.is=="string";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 dc=null;function fc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pc=null,Yo=null,Jo=null;function _m(e){if(e=di(e)){if(typeof pc!="function")throw Error(n(280));var r=e.stateNode;r&&(r=Vs(r),pc(e.stateNode,e.type,r))}}function Cm(e){Yo?Jo?Jo.push(e):Jo=[e]:Yo=e}function Bm(){if(Yo){var e=Yo,r=Jo;if(Jo=Yo=null,_m(e),r)for(e=0;e<r.length;e++)_m(r[e])}}function Nm(e,r){return e(r)}function Tm(){}var hc=!1;function Em(e,r,i){if(hc)return e(r,i);hc=!0;try{return Nm(e,r,i)}finally{hc=!1,(Yo!==null||Jo!==null)&&(Tm(),Bm())}}function $n(e,r){var i=e.stateNode;if(i===null)return null;var a=Vs(i);if(a===null)return null;i=a[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(n(231,r,typeof i));return i}var mc=!1;if(p)try{var Vn={};Object.defineProperty(Vn,"passive",{get:function(){mc=!0}}),window.addEventListener("test",Vn,Vn),window.removeEventListener("test",Vn,Vn)}catch{mc=!1}function z5(e,r,i,a,d,h,w,C,z){var O=Array.prototype.slice.call(arguments,3);try{r.apply(i,O)}catch(V){this.onError(V)}}var Un=!1,Ss=null,_s=!1,gc=null,P5={onError:function(e){Un=!0,Ss=e}};function R5(e,r,i,a,d,h,w,C,z){Un=!1,Ss=null,z5.apply(P5,arguments)}function F5(e,r,i,a,d,h,w,C,z){if(R5.apply(this,arguments),Un){if(Un){var O=Ss;Un=!1,Ss=null}else throw Error(n(198));_s||(_s=!0,gc=O)}}function ko(e){var r=e,i=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(i=r.return),e=r.return;while(e)}return r.tag===3?i:null}function zm(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function Pm(e){if(ko(e)!==e)throw Error(n(188))}function I5(e){var r=e.alternate;if(!r){if(r=ko(e),r===null)throw Error(n(188));return r!==e?null:e}for(var i=e,a=r;;){var d=i.return;if(d===null)break;var h=d.alternate;if(h===null){if(a=d.return,a!==null){i=a;continue}break}if(d.child===h.child){for(h=d.child;h;){if(h===i)return Pm(d),e;if(h===a)return Pm(d),r;h=h.sibling}throw Error(n(188))}if(i.return!==a.return)i=d,a=h;else{for(var w=!1,C=d.child;C;){if(C===i){w=!0,i=d,a=h;break}if(C===a){w=!0,a=d,i=h;break}C=C.sibling}if(!w){for(C=h.child;C;){if(C===i){w=!0,i=h,a=d;break}if(C===a){w=!0,a=h,i=d;break}C=C.sibling}if(!w)throw Error(n(189))}}if(i.alternate!==a)throw Error(n(190))}if(i.tag!==3)throw Error(n(188));return i.stateNode.current===i?e:r}function Rm(e){return e=I5(e),e!==null?Fm(e):null}function Fm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var r=Fm(e);if(r!==null)return r;e=e.sibling}return null}var Im=o.unstable_scheduleCallback,Dm=o.unstable_cancelCallback,D5=o.unstable_shouldYield,j5=o.unstable_requestPaint,Qe=o.unstable_now,O5=o.unstable_getCurrentPriorityLevel,vc=o.unstable_ImmediatePriority,jm=o.unstable_UserBlockingPriority,Cs=o.unstable_NormalPriority,A5=o.unstable_LowPriority,Om=o.unstable_IdlePriority,Bs=null,wr=null;function M5(e){if(wr&&typeof wr.onCommitFiberRoot=="function")try{wr.onCommitFiberRoot(Bs,e,void 0,(e.current.flags&128)===128)}catch{}}var sr=Math.clz32?Math.clz32:q5,L5=Math.log,H5=Math.LN2;function q5(e){return e>>>=0,e===0?32:31-(L5(e)/H5|0)|0}var Ns=64,Ts=4194304;function Gn(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Es(e,r){var i=e.pendingLanes;if(i===0)return 0;var a=0,d=e.suspendedLanes,h=e.pingedLanes,w=i&268435455;if(w!==0){var C=w&~d;C!==0?a=Gn(C):(h&=w,h!==0&&(a=Gn(h)))}else w=i&~d,w!==0?a=Gn(w):h!==0&&(a=Gn(h));if(a===0)return 0;if(r!==0&&r!==a&&(r&d)===0&&(d=a&-a,h=r&-r,d>=h||d===16&&(h&4194240)!==0))return r;if((a&4)!==0&&(a|=i&16),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=a;0<r;)i=31-sr(r),d=1<<i,a|=e[i],r&=~d;return a}function W5(e,r){switch(e){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64: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 r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function $5(e,r){for(var i=e.suspendedLanes,a=e.pingedLanes,d=e.expirationTimes,h=e.pendingLanes;0<h;){var w=31-sr(h),C=1<<w,z=d[w];z===-1?((C&i)===0||(C&a)!==0)&&(d[w]=W5(C,r)):z<=r&&(e.expiredLanes|=C),h&=~C}}function bc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Am(){var e=Ns;return Ns<<=1,(Ns&4194240)===0&&(Ns=64),e}function yc(e){for(var r=[],i=0;31>i;i++)r.push(e);return r}function Kn(e,r,i){e.pendingLanes|=r,r!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,r=31-sr(r),e[r]=i}function V5(e,r){var i=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.mutableReadLanes&=r,e.entangledLanes&=r,r=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<i;){var d=31-sr(i),h=1<<d;r[d]=0,a[d]=-1,e[d]=-1,i&=~h}}function wc(e,r){var i=e.entangledLanes|=r;for(e=e.entanglements;i;){var a=31-sr(i),d=1<<a;d&r|e[a]&r&&(e[a]|=r),i&=~d}}var ze=0;function Mm(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Lm,kc,Hm,qm,Wm,xc=!1,zs=[],Yr=null,Jr=null,Zr=null,Xn=new Map,Qn=new Map,eo=[],U5="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 submit".split(" ");function $m(e,r){switch(e){case"focusin":case"focusout":Yr=null;break;case"dragenter":case"dragleave":Jr=null;break;case"mouseover":case"mouseout":Zr=null;break;case"pointerover":case"pointerout":Xn.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qn.delete(r.pointerId)}}function Yn(e,r,i,a,d,h){return e===null||e.nativeEvent!==h?(e={blockedOn:r,domEventName:i,eventSystemFlags:a,nativeEvent:h,targetContainers:[d]},r!==null&&(r=di(r),r!==null&&kc(r)),e):(e.eventSystemFlags|=a,r=e.targetContainers,d!==null&&r.indexOf(d)===-1&&r.push(d),e)}function G5(e,r,i,a,d){switch(r){case"focusin":return Yr=Yn(Yr,e,r,i,a,d),!0;case"dragenter":return Jr=Yn(Jr,e,r,i,a,d),!0;case"mouseover":return Zr=Yn(Zr,e,r,i,a,d),!0;case"pointerover":var h=d.pointerId;return Xn.set(h,Yn(Xn.get(h)||null,e,r,i,a,d)),!0;case"gotpointercapture":return h=d.pointerId,Qn.set(h,Yn(Qn.get(h)||null,e,r,i,a,d)),!0}return!1}function Vm(e){var r=xo(e.target);if(r!==null){var i=ko(r);if(i!==null){if(r=i.tag,r===13){if(r=zm(i),r!==null){e.blockedOn=r,Wm(e.priority,function(){Hm(i)});return}}else if(r===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ps(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var i=_c(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var a=new i.constructor(i.type,i);dc=a,i.target.dispatchEvent(a),dc=null}else return r=di(i),r!==null&&kc(r),e.blockedOn=i,!1;r.shift()}return!0}function Um(e,r,i){Ps(e)&&i.delete(r)}function K5(){xc=!1,Yr!==null&&Ps(Yr)&&(Yr=null),Jr!==null&&Ps(Jr)&&(Jr=null),Zr!==null&&Ps(Zr)&&(Zr=null),Xn.forEach(Um),Qn.forEach(Um)}function Jn(e,r){e.blockedOn===r&&(e.blockedOn=null,xc||(xc=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,K5)))}function Zn(e){function r(d){return Jn(d,e)}if(0<zs.length){Jn(zs[0],e);for(var i=1;i<zs.length;i++){var a=zs[i];a.blockedOn===e&&(a.blockedOn=null)}}for(Yr!==null&&Jn(Yr,e),Jr!==null&&Jn(Jr,e),Zr!==null&&Jn(Zr,e),Xn.forEach(r),Qn.forEach(r),i=0;i<eo.length;i++)a=eo[i],a.blockedOn===e&&(a.blockedOn=null);for(;0<eo.length&&(i=eo[0],i.blockedOn===null);)Vm(i),i.blockedOn===null&&eo.shift()}var Zo=T.ReactCurrentBatchConfig,Rs=!0;function X5(e,r,i,a){var d=ze,h=Zo.transition;Zo.transition=null;try{ze=1,Sc(e,r,i,a)}finally{ze=d,Zo.transition=h}}function Q5(e,r,i,a){var d=ze,h=Zo.transition;Zo.transition=null;try{ze=4,Sc(e,r,i,a)}finally{ze=d,Zo.transition=h}}function Sc(e,r,i,a){if(Rs){var d=_c(e,r,i,a);if(d===null)Hc(e,r,a,Fs,i),$m(e,a);else if(G5(d,e,r,i,a))a.stopPropagation();else if($m(e,a),r&4&&-1<U5.indexOf(e)){for(;d!==null;){var h=di(d);if(h!==null&&Lm(h),h=_c(e,r,i,a),h===null&&Hc(e,r,a,Fs,i),h===d)break;d=h}d!==null&&a.stopPropagation()}else Hc(e,r,a,null,i)}}var Fs=null;function _c(e,r,i,a){if(Fs=null,e=fc(a),e=xo(e),e!==null)if(r=ko(e),r===null)e=null;else if(i=r.tag,i===13){if(e=zm(r),e!==null)return e;e=null}else if(i===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null);return Fs=e,null}function Gm(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(O5()){case vc:return 1;case jm:return 4;case Cs:case A5:return 16;case Om:return 536870912;default:return 16}default:return 16}}var to=null,Cc=null,Is=null;function Km(){if(Is)return Is;var e,r=Cc,i=r.length,a,d="value"in to?to.value:to.textContent,h=d.length;for(e=0;e<i&&r[e]===d[e];e++);var w=i-e;for(a=1;a<=w&&r[i-a]===d[h-a];a++);return Is=d.slice(e,1<a?1-a:void 0)}function Ds(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function js(){return!0}function Xm(){return!1}function At(e){function r(i,a,d,h,w){this._reactName=i,this._targetInst=d,this.type=a,this.nativeEvent=h,this.target=w,this.currentTarget=null;for(var C in e)e.hasOwnProperty(C)&&(i=e[C],this[C]=i?i(h):h[C]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?js:Xm,this.isPropagationStopped=Xm,this}return Y(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=js)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=js)},persist:function(){},isPersistent:js}),r}var en={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bc=At(en),ei=Y({},en,{view:0,detail:0}),Y5=At(ei),Nc,Tc,ti,Os=Y({},ei,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zc,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!==ti&&(ti&&e.type==="mousemove"?(Nc=e.screenX-ti.screenX,Tc=e.screenY-ti.screenY):Tc=Nc=0,ti=e),Nc)},movementY:function(e){return"movementY"in e?e.movementY:Tc}}),Qm=At(Os),J5=Y({},Os,{dataTransfer:0}),Z5=At(J5),eB=Y({},ei,{relatedTarget:0}),Ec=At(eB),tB=Y({},en,{animationName:0,elapsedTime:0,pseudoElement:0}),rB=At(tB),oB=Y({},en,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),nB=At(oB),iB=Y({},en,{data:0}),Ym=At(iB),sB={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lB={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"},aB={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cB(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=aB[e])?!!r[e]:!1}function zc(){return cB}var uB=Y({},ei,{key:function(e){if(e.key){var r=sB[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=Ds(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?lB[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zc,charCode:function(e){return e.type==="keypress"?Ds(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ds(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),dB=At(uB),fB=Y({},Os,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jm=At(fB),pB=Y({},ei,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zc}),hB=At(pB),mB=Y({},en,{propertyName:0,elapsedTime:0,pseudoElement:0}),gB=At(mB),vB=Y({},Os,{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}),bB=At(vB),yB=[9,13,27,32],Pc=p&&"CompositionEvent"in window,ri=null;p&&"documentMode"in document&&(ri=document.documentMode);var wB=p&&"TextEvent"in window&&!ri,Zm=p&&(!Pc||ri&&8<ri&&11>=ri),eg=" ",tg=!1;function rg(e,r){switch(e){case"keyup":return yB.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function og(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var tn=!1;function kB(e,r){switch(e){case"compositionend":return og(r);case"keypress":return r.which!==32?null:(tg=!0,eg);case"textInput":return e=r.data,e===eg&&tg?null:e;default:return null}}function xB(e,r){if(tn)return e==="compositionend"||!Pc&&rg(e,r)?(e=Km(),Is=Cc=to=null,tn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Zm&&r.locale!=="ko"?null:r.data;default:return null}}var SB={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 ng(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!SB[e.type]:r==="textarea"}function ig(e,r,i,a){Cm(a),r=qs(r,"onChange"),0<r.length&&(i=new Bc("onChange","change",null,i,a),e.push({event:i,listeners:r}))}var oi=null,ni=null;function _B(e){Sg(e,0)}function As(e){var r=ln(e);if(pm(r))return e}function CB(e,r){if(e==="change")return r}var sg=!1;if(p){var Rc;if(p){var Fc="oninput"in document;if(!Fc){var lg=document.createElement("div");lg.setAttribute("oninput","return;"),Fc=typeof lg.oninput=="function"}Rc=Fc}else Rc=!1;sg=Rc&&(!document.documentMode||9<document.documentMode)}function ag(){oi&&(oi.detachEvent("onpropertychange",cg),ni=oi=null)}function cg(e){if(e.propertyName==="value"&&As(ni)){var r=[];ig(r,ni,e,fc(e)),Em(_B,r)}}function BB(e,r,i){e==="focusin"?(ag(),oi=r,ni=i,oi.attachEvent("onpropertychange",cg)):e==="focusout"&&ag()}function NB(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return As(ni)}function TB(e,r){if(e==="click")return As(r)}function EB(e,r){if(e==="input"||e==="change")return As(r)}function zB(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var lr=typeof Object.is=="function"?Object.is:zB;function ii(e,r){if(lr(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var i=Object.keys(e),a=Object.keys(r);if(i.length!==a.length)return!1;for(a=0;a<i.length;a++){var d=i[a];if(!f.call(r,d)||!lr(e[d],r[d]))return!1}return!0}function ug(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dg(e,r){var i=ug(e);e=0;for(var a;i;){if(i.nodeType===3){if(a=e+i.textContent.length,e<=r&&a>=r)return{node:i,offset:r-e};e=a}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=ug(i)}}function fg(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?fg(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function pg(){for(var e=window,r=ks();r instanceof e.HTMLIFrameElement;){try{var i=typeof r.contentWindow.location.href=="string"}catch{i=!1}if(i)e=r.contentWindow;else break;r=ks(e.document)}return r}function Ic(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}function PB(e){var r=pg(),i=e.focusedElem,a=e.selectionRange;if(r!==i&&i&&i.ownerDocument&&fg(i.ownerDocument.documentElement,i)){if(a!==null&&Ic(i)){if(r=a.start,e=a.end,e===void 0&&(e=r),"selectionStart"in i)i.selectionStart=r,i.selectionEnd=Math.min(e,i.value.length);else if(e=(r=i.ownerDocument||document)&&r.defaultView||window,e.getSelection){e=e.getSelection();var d=i.textContent.length,h=Math.min(a.start,d);a=a.end===void 0?h:Math.min(a.end,d),!e.extend&&h>a&&(d=a,a=h,h=d),d=dg(i,h);var w=dg(i,a);d&&w&&(e.rangeCount!==1||e.anchorNode!==d.node||e.anchorOffset!==d.offset||e.focusNode!==w.node||e.focusOffset!==w.offset)&&(r=r.createRange(),r.setStart(d.node,d.offset),e.removeAllRanges(),h>a?(e.addRange(r),e.extend(w.node,w.offset)):(r.setEnd(w.node,w.offset),e.addRange(r)))}}for(r=[],e=i;e=e.parentNode;)e.nodeType===1&&r.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<r.length;i++)e=r[i],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var RB=p&&"documentMode"in document&&11>=document.documentMode,rn=null,Dc=null,si=null,jc=!1;function hg(e,r,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;jc||rn==null||rn!==ks(a)||(a=rn,"selectionStart"in a&&Ic(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),si&&ii(si,a)||(si=a,a=qs(Dc,"onSelect"),0<a.length&&(r=new Bc("onSelect","select",null,r,i),e.push({event:r,listeners:a}),r.target=rn)))}function Ms(e,r){var i={};return i[e.toLowerCase()]=r.toLowerCase(),i["Webkit"+e]="webkit"+r,i["Moz"+e]="moz"+r,i}var on={animationend:Ms("Animation","AnimationEnd"),animationiteration:Ms("Animation","AnimationIteration"),animationstart:Ms("Animation","AnimationStart"),transitionend:Ms("Transition","TransitionEnd")},Oc={},mg={};p&&(mg=document.createElement("div").style,"AnimationEvent"in window||(delete on.animationend.animation,delete on.animationiteration.animation,delete on.animationstart.animation),"TransitionEvent"in window||delete on.transitionend.transition);function Ls(e){if(Oc[e])return Oc[e];if(!on[e])return e;var r=on[e],i;for(i in r)if(r.hasOwnProperty(i)&&i in mg)return Oc[e]=r[i];return e}var gg=Ls("animationend"),vg=Ls("animationiteration"),bg=Ls("animationstart"),yg=Ls("transitionend"),wg=new Map,kg="abort auxClick 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(" ");function ro(e,r){wg.set(e,r),c(r,[e])}for(var Ac=0;Ac<kg.length;Ac++){var Mc=kg[Ac],FB=Mc.toLowerCase(),IB=Mc[0].toUpperCase()+Mc.slice(1);ro(FB,"on"+IB)}ro(gg,"onAnimationEnd"),ro(vg,"onAnimationIteration"),ro(bg,"onAnimationStart"),ro("dblclick","onDoubleClick"),ro("focusin","onFocus"),ro("focusout","onBlur"),ro(yg,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var li="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(" "),DB=new Set("cancel close invalid load scroll toggle".split(" ").concat(li));function xg(e,r,i){var a=e.type||"unknown-event";e.currentTarget=i,F5(a,r,void 0,e),e.currentTarget=null}function Sg(e,r){r=(r&4)!==0;for(var i=0;i<e.length;i++){var a=e[i],d=a.event;a=a.listeners;e:{var h=void 0;if(r)for(var w=a.length-1;0<=w;w--){var C=a[w],z=C.instance,O=C.currentTarget;if(C=C.listener,z!==h&&d.isPropagationStopped())break e;xg(d,C,O),h=z}else for(w=0;w<a.length;w++){if(C=a[w],z=C.instance,O=C.currentTarget,C=C.listener,z!==h&&d.isPropagationStopped())break e;xg(d,C,O),h=z}}}if(_s)throw e=gc,_s=!1,gc=null,e}function je(e,r){var i=r[Gc];i===void 0&&(i=r[Gc]=new Set);var a=e+"__bubble";i.has(a)||(_g(r,e,2,!1),i.add(a))}function Lc(e,r,i){var a=0;r&&(a|=4),_g(i,e,a,r)}var Hs="_reactListening"+Math.random().toString(36).slice(2);function ai(e){if(!e[Hs]){e[Hs]=!0,s.forEach(function(i){i!=="selectionchange"&&(DB.has(i)||Lc(i,!1,e),Lc(i,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[Hs]||(r[Hs]=!0,Lc("selectionchange",!1,r))}}function _g(e,r,i,a){switch(Gm(r)){case 1:var d=X5;break;case 4:d=Q5;break;default:d=Sc}i=d.bind(null,r,i,e),d=void 0,!mc||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(d=!0),a?d!==void 0?e.addEventListener(r,i,{capture:!0,passive:d}):e.addEventListener(r,i,!0):d!==void 0?e.addEventListener(r,i,{passive:d}):e.addEventListener(r,i,!1)}function Hc(e,r,i,a,d){var h=a;if((r&1)===0&&(r&2)===0&&a!==null)e:for(;;){if(a===null)return;var w=a.tag;if(w===3||w===4){var C=a.stateNode.containerInfo;if(C===d||C.nodeType===8&&C.parentNode===d)break;if(w===4)for(w=a.return;w!==null;){var z=w.tag;if((z===3||z===4)&&(z=w.stateNode.containerInfo,z===d||z.nodeType===8&&z.parentNode===d))return;w=w.return}for(;C!==null;){if(w=xo(C),w===null)return;if(z=w.tag,z===5||z===6){a=h=w;continue e}C=C.parentNode}}a=a.return}Em(function(){var O=h,V=fc(i),G=[];e:{var W=wg.get(e);if(W!==void 0){var J=Bc,ne=e;switch(e){case"keypress":if(Ds(i)===0)break e;case"keydown":case"keyup":J=dB;break;case"focusin":ne="focus",J=Ec;break;case"focusout":ne="blur",J=Ec;break;case"beforeblur":case"afterblur":J=Ec;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=Qm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=Z5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=hB;break;case gg:case vg:case bg:J=rB;break;case yg:J=gB;break;case"scroll":J=Y5;break;case"wheel":J=bB;break;case"copy":case"cut":case"paste":J=nB;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=Jm}var ie=(r&4)!==0,Ye=!ie&&e==="scroll",I=ie?W!==null?W+"Capture":null:W;ie=[];for(var P=O,j;P!==null;){j=P;var K=j.stateNode;if(j.tag===5&&K!==null&&(j=K,I!==null&&(K=$n(P,I),K!=null&&ie.push(ci(P,K,j)))),Ye)break;P=P.return}0<ie.length&&(W=new J(W,ne,null,i,V),G.push({event:W,listeners:ie}))}}if((r&7)===0){e:{if(W=e==="mouseover"||e==="pointerover",J=e==="mouseout"||e==="pointerout",W&&i!==dc&&(ne=i.relatedTarget||i.fromElement)&&(xo(ne)||ne[Fr]))break e;if((J||W)&&(W=V.window===V?V:(W=V.ownerDocument)?W.defaultView||W.parentWindow:window,J?(ne=i.relatedTarget||i.toElement,J=O,ne=ne?xo(ne):null,ne!==null&&(Ye=ko(ne),ne!==Ye||ne.tag!==5&&ne.tag!==6)&&(ne=null)):(J=null,ne=O),J!==ne)){if(ie=Qm,K="onMouseLeave",I="onMouseEnter",P="mouse",(e==="pointerout"||e==="pointerover")&&(ie=Jm,K="onPointerLeave",I="onPointerEnter",P="pointer"),Ye=J==null?W:ln(J),j=ne==null?W:ln(ne),W=new ie(K,P+"leave",J,i,V),W.target=Ye,W.relatedTarget=j,K=null,xo(V)===O&&(ie=new ie(I,P+"enter",ne,i,V),ie.target=j,ie.relatedTarget=Ye,K=ie),Ye=K,J&&ne)t:{for(ie=J,I=ne,P=0,j=ie;j;j=nn(j))P++;for(j=0,K=I;K;K=nn(K))j++;for(;0<P-j;)ie=nn(ie),P--;for(;0<j-P;)I=nn(I),j--;for(;P--;){if(ie===I||I!==null&&ie===I.alternate)break t;ie=nn(ie),I=nn(I)}ie=null}else ie=null;J!==null&&Cg(G,W,J,ie,!1),ne!==null&&Ye!==null&&Cg(G,Ye,ne,ie,!0)}}e:{if(W=O?ln(O):window,J=W.nodeName&&W.nodeName.toLowerCase(),J==="select"||J==="input"&&W.type==="file")var le=CB;else if(ng(W))if(sg)le=EB;else{le=NB;var de=BB}else(J=W.nodeName)&&J.toLowerCase()==="input"&&(W.type==="checkbox"||W.type==="radio")&&(le=TB);if(le&&(le=le(e,O))){ig(G,le,i,V);break e}de&&de(e,W,O),e==="focusout"&&(de=W._wrapperState)&&de.controlled&&W.type==="number"&&sc(W,"number",W.value)}switch(de=O?ln(O):window,e){case"focusin":(ng(de)||de.contentEditable==="true")&&(rn=de,Dc=O,si=null);break;case"focusout":si=Dc=rn=null;break;case"mousedown":jc=!0;break;case"contextmenu":case"mouseup":case"dragend":jc=!1,hg(G,i,V);break;case"selectionchange":if(RB)break;case"keydown":case"keyup":hg(G,i,V)}var fe;if(Pc)e:{switch(e){case"compositionstart":var ge="onCompositionStart";break e;case"compositionend":ge="onCompositionEnd";break e;case"compositionupdate":ge="onCompositionUpdate";break e}ge=void 0}else tn?rg(e,i)&&(ge="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(ge="onCompositionStart");ge&&(Zm&&i.locale!=="ko"&&(tn||ge!=="onCompositionStart"?ge==="onCompositionEnd"&&tn&&(fe=Km()):(to=V,Cc="value"in to?to.value:to.textContent,tn=!0)),de=qs(O,ge),0<de.length&&(ge=new Ym(ge,e,null,i,V),G.push({event:ge,listeners:de}),fe?ge.data=fe:(fe=og(i),fe!==null&&(ge.data=fe)))),(fe=wB?kB(e,i):xB(e,i))&&(O=qs(O,"onBeforeInput"),0<O.length&&(V=new Ym("onBeforeInput","beforeinput",null,i,V),G.push({event:V,listeners:O}),V.data=fe))}Sg(G,r)})}function ci(e,r,i){return{instance:e,listener:r,currentTarget:i}}function qs(e,r){for(var i=r+"Capture",a=[];e!==null;){var d=e,h=d.stateNode;d.tag===5&&h!==null&&(d=h,h=$n(e,i),h!=null&&a.unshift(ci(e,h,d)),h=$n(e,r),h!=null&&a.push(ci(e,h,d))),e=e.return}return a}function nn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Cg(e,r,i,a,d){for(var h=r._reactName,w=[];i!==null&&i!==a;){var C=i,z=C.alternate,O=C.stateNode;if(z!==null&&z===a)break;C.tag===5&&O!==null&&(C=O,d?(z=$n(i,h),z!=null&&w.unshift(ci(i,z,C))):d||(z=$n(i,h),z!=null&&w.push(ci(i,z,C)))),i=i.return}w.length!==0&&e.push({event:r,listeners:w})}var jB=/\r\n?/g,OB=/\u0000|\uFFFD/g;function Bg(e){return(typeof e=="string"?e:""+e).replace(jB,`
7
+ `).replace(OB,"")}function Ws(e,r,i){if(r=Bg(r),Bg(e)!==r&&i)throw Error(n(425))}function $s(){}var qc=null,Wc=null;function $c(e,r){return e==="textarea"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Vc=typeof setTimeout=="function"?setTimeout:void 0,AB=typeof clearTimeout=="function"?clearTimeout:void 0,Ng=typeof Promise=="function"?Promise:void 0,MB=typeof queueMicrotask=="function"?queueMicrotask:typeof Ng<"u"?function(e){return Ng.resolve(null).then(e).catch(LB)}:Vc;function LB(e){setTimeout(function(){throw e})}function Uc(e,r){var i=r,a=0;do{var d=i.nextSibling;if(e.removeChild(i),d&&d.nodeType===8)if(i=d.data,i==="/$"){if(a===0){e.removeChild(d),Zn(r);return}a--}else i!=="$"&&i!=="$?"&&i!=="$!"||a++;i=d}while(i);Zn(r)}function oo(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return e}function Tg(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(r===0)return e;r--}else i==="/$"&&r++}e=e.previousSibling}return null}var sn=Math.random().toString(36).slice(2),kr="__reactFiber$"+sn,ui="__reactProps$"+sn,Fr="__reactContainer$"+sn,Gc="__reactEvents$"+sn,HB="__reactListeners$"+sn,qB="__reactHandles$"+sn;function xo(e){var r=e[kr];if(r)return r;for(var i=e.parentNode;i;){if(r=i[Fr]||i[kr]){if(i=r.alternate,r.child!==null||i!==null&&i.child!==null)for(e=Tg(e);e!==null;){if(i=e[kr])return i;e=Tg(e)}return r}e=i,i=e.parentNode}return null}function di(e){return e=e[kr]||e[Fr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ln(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(n(33))}function Vs(e){return e[ui]||null}var Kc=[],an=-1;function no(e){return{current:e}}function Oe(e){0>an||(e.current=Kc[an],Kc[an]=null,an--)}function De(e,r){an++,Kc[an]=e.current,e.current=r}var io={},mt=no(io),Et=no(!1),So=io;function cn(e,r){var i=e.type.contextTypes;if(!i)return io;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===r)return a.__reactInternalMemoizedMaskedChildContext;var d={},h;for(h in i)d[h]=r[h];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=d),d}function zt(e){return e=e.childContextTypes,e!=null}function Us(){Oe(Et),Oe(mt)}function Eg(e,r,i){if(mt.current!==io)throw Error(n(168));De(mt,r),De(Et,i)}function zg(e,r,i){var a=e.stateNode;if(r=r.childContextTypes,typeof a.getChildContext!="function")return i;a=a.getChildContext();for(var d in a)if(!(d in r))throw Error(n(108,Ie(e)||"Unknown",d));return Y({},i,a)}function Gs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||io,So=mt.current,De(mt,e),De(Et,Et.current),!0}function Pg(e,r,i){var a=e.stateNode;if(!a)throw Error(n(169));i?(e=zg(e,r,So),a.__reactInternalMemoizedMergedChildContext=e,Oe(Et),Oe(mt),De(mt,e)):Oe(Et),De(Et,i)}var Ir=null,Ks=!1,Xc=!1;function Rg(e){Ir===null?Ir=[e]:Ir.push(e)}function WB(e){Ks=!0,Rg(e)}function so(){if(!Xc&&Ir!==null){Xc=!0;var e=0,r=ze;try{var i=Ir;for(ze=1;e<i.length;e++){var a=i[e];do a=a(!0);while(a!==null)}Ir=null,Ks=!1}catch(d){throw Ir!==null&&(Ir=Ir.slice(e+1)),Im(vc,so),d}finally{ze=r,Xc=!1}}return null}var un=[],dn=0,Xs=null,Qs=0,Gt=[],Kt=0,_o=null,Dr=1,jr="";function Co(e,r){un[dn++]=Qs,un[dn++]=Xs,Xs=e,Qs=r}function Fg(e,r,i){Gt[Kt++]=Dr,Gt[Kt++]=jr,Gt[Kt++]=_o,_o=e;var a=Dr;e=jr;var d=32-sr(a)-1;a&=~(1<<d),i+=1;var h=32-sr(r)+d;if(30<h){var w=d-d%5;h=(a&(1<<w)-1).toString(32),a>>=w,d-=w,Dr=1<<32-sr(r)+d|i<<d|a,jr=h+e}else Dr=1<<h|i<<d|a,jr=e}function Qc(e){e.return!==null&&(Co(e,1),Fg(e,1,0))}function Yc(e){for(;e===Xs;)Xs=un[--dn],un[dn]=null,Qs=un[--dn],un[dn]=null;for(;e===_o;)_o=Gt[--Kt],Gt[Kt]=null,jr=Gt[--Kt],Gt[Kt]=null,Dr=Gt[--Kt],Gt[Kt]=null}var Mt=null,Lt=null,Me=!1,ar=null;function Ig(e,r){var i=Jt(5,null,null,0);i.elementType="DELETED",i.stateNode=r,i.return=e,r=e.deletions,r===null?(e.deletions=[i],e.flags|=16):r.push(i)}function Dg(e,r){switch(e.tag){case 5:var i=e.type;return r=r.nodeType!==1||i.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(e.stateNode=r,Mt=e,Lt=oo(r.firstChild),!0):!1;case 6:return r=e.pendingProps===""||r.nodeType!==3?null:r,r!==null?(e.stateNode=r,Mt=e,Lt=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(i=_o!==null?{id:Dr,overflow:jr}:null,e.memoizedState={dehydrated:r,treeContext:i,retryLane:1073741824},i=Jt(18,null,null,0),i.stateNode=r,i.return=e,e.child=i,Mt=e,Lt=null,!0):!1;default:return!1}}function Jc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Zc(e){if(Me){var r=Lt;if(r){var i=r;if(!Dg(e,r)){if(Jc(e))throw Error(n(418));r=oo(i.nextSibling);var a=Mt;r&&Dg(e,r)?Ig(a,i):(e.flags=e.flags&-4097|2,Me=!1,Mt=e)}}else{if(Jc(e))throw Error(n(418));e.flags=e.flags&-4097|2,Me=!1,Mt=e}}}function jg(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Mt=e}function Ys(e){if(e!==Mt)return!1;if(!Me)return jg(e),Me=!0,!1;var r;if((r=e.tag!==3)&&!(r=e.tag!==5)&&(r=e.type,r=r!=="head"&&r!=="body"&&!$c(e.type,e.memoizedProps)),r&&(r=Lt)){if(Jc(e))throw Og(),Error(n(418));for(;r;)Ig(e,r),r=oo(r.nextSibling)}if(jg(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(n(317));e:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(r===0){Lt=oo(e.nextSibling);break e}r--}else i!=="$"&&i!=="$!"&&i!=="$?"||r++}e=e.nextSibling}Lt=null}}else Lt=Mt?oo(e.stateNode.nextSibling):null;return!0}function Og(){for(var e=Lt;e;)e=oo(e.nextSibling)}function fn(){Lt=Mt=null,Me=!1}function eu(e){ar===null?ar=[e]:ar.push(e)}var $B=T.ReactCurrentBatchConfig;function fi(e,r,i){if(e=i.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(n(309));var a=i.stateNode}if(!a)throw Error(n(147,e));var d=a,h=""+e;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===h?r.ref:(r=function(w){var C=d.refs;w===null?delete C[h]:C[h]=w},r._stringRef=h,r)}if(typeof e!="string")throw Error(n(284));if(!i._owner)throw Error(n(290,e))}return e}function Js(e,r){throw e=Object.prototype.toString.call(r),Error(n(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function Ag(e){var r=e._init;return r(e._payload)}function Mg(e){function r(I,P){if(e){var j=I.deletions;j===null?(I.deletions=[P],I.flags|=16):j.push(P)}}function i(I,P){if(!e)return null;for(;P!==null;)r(I,P),P=P.sibling;return null}function a(I,P){for(I=new Map;P!==null;)P.key!==null?I.set(P.key,P):I.set(P.index,P),P=P.sibling;return I}function d(I,P){return I=mo(I,P),I.index=0,I.sibling=null,I}function h(I,P,j){return I.index=j,e?(j=I.alternate,j!==null?(j=j.index,j<P?(I.flags|=2,P):j):(I.flags|=2,P)):(I.flags|=1048576,P)}function w(I){return e&&I.alternate===null&&(I.flags|=2),I}function C(I,P,j,K){return P===null||P.tag!==6?(P=Vu(j,I.mode,K),P.return=I,P):(P=d(P,j),P.return=I,P)}function z(I,P,j,K){var le=j.type;return le===A?V(I,P,j.props.children,K,j.key):P!==null&&(P.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===be&&Ag(le)===P.type)?(K=d(P,j.props),K.ref=fi(I,P,j),K.return=I,K):(K=xl(j.type,j.key,j.props,null,I.mode,K),K.ref=fi(I,P,j),K.return=I,K)}function O(I,P,j,K){return P===null||P.tag!==4||P.stateNode.containerInfo!==j.containerInfo||P.stateNode.implementation!==j.implementation?(P=Uu(j,I.mode,K),P.return=I,P):(P=d(P,j.children||[]),P.return=I,P)}function V(I,P,j,K,le){return P===null||P.tag!==7?(P=Fo(j,I.mode,K,le),P.return=I,P):(P=d(P,j),P.return=I,P)}function G(I,P,j){if(typeof P=="string"&&P!==""||typeof P=="number")return P=Vu(""+P,I.mode,j),P.return=I,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case R:return j=xl(P.type,P.key,P.props,null,I.mode,j),j.ref=fi(I,null,P),j.return=I,j;case D:return P=Uu(P,I.mode,j),P.return=I,P;case be:var K=P._init;return G(I,K(P._payload),j)}if(Hn(P)||ee(P))return P=Fo(P,I.mode,j,null),P.return=I,P;Js(I,P)}return null}function W(I,P,j,K){var le=P!==null?P.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return le!==null?null:C(I,P,""+j,K);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case R:return j.key===le?z(I,P,j,K):null;case D:return j.key===le?O(I,P,j,K):null;case be:return le=j._init,W(I,P,le(j._payload),K)}if(Hn(j)||ee(j))return le!==null?null:V(I,P,j,K,null);Js(I,j)}return null}function J(I,P,j,K,le){if(typeof K=="string"&&K!==""||typeof K=="number")return I=I.get(j)||null,C(P,I,""+K,le);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case R:return I=I.get(K.key===null?j:K.key)||null,z(P,I,K,le);case D:return I=I.get(K.key===null?j:K.key)||null,O(P,I,K,le);case be:var de=K._init;return J(I,P,j,de(K._payload),le)}if(Hn(K)||ee(K))return I=I.get(j)||null,V(P,I,K,le,null);Js(P,K)}return null}function ne(I,P,j,K){for(var le=null,de=null,fe=P,ge=P=0,lt=null;fe!==null&&ge<j.length;ge++){fe.index>ge?(lt=fe,fe=null):lt=fe.sibling;var Ne=W(I,fe,j[ge],K);if(Ne===null){fe===null&&(fe=lt);break}e&&fe&&Ne.alternate===null&&r(I,fe),P=h(Ne,P,ge),de===null?le=Ne:de.sibling=Ne,de=Ne,fe=lt}if(ge===j.length)return i(I,fe),Me&&Co(I,ge),le;if(fe===null){for(;ge<j.length;ge++)fe=G(I,j[ge],K),fe!==null&&(P=h(fe,P,ge),de===null?le=fe:de.sibling=fe,de=fe);return Me&&Co(I,ge),le}for(fe=a(I,fe);ge<j.length;ge++)lt=J(fe,I,ge,j[ge],K),lt!==null&&(e&&lt.alternate!==null&&fe.delete(lt.key===null?ge:lt.key),P=h(lt,P,ge),de===null?le=lt:de.sibling=lt,de=lt);return e&&fe.forEach(function(go){return r(I,go)}),Me&&Co(I,ge),le}function ie(I,P,j,K){var le=ee(j);if(typeof le!="function")throw Error(n(150));if(j=le.call(j),j==null)throw Error(n(151));for(var de=le=null,fe=P,ge=P=0,lt=null,Ne=j.next();fe!==null&&!Ne.done;ge++,Ne=j.next()){fe.index>ge?(lt=fe,fe=null):lt=fe.sibling;var go=W(I,fe,Ne.value,K);if(go===null){fe===null&&(fe=lt);break}e&&fe&&go.alternate===null&&r(I,fe),P=h(go,P,ge),de===null?le=go:de.sibling=go,de=go,fe=lt}if(Ne.done)return i(I,fe),Me&&Co(I,ge),le;if(fe===null){for(;!Ne.done;ge++,Ne=j.next())Ne=G(I,Ne.value,K),Ne!==null&&(P=h(Ne,P,ge),de===null?le=Ne:de.sibling=Ne,de=Ne);return Me&&Co(I,ge),le}for(fe=a(I,fe);!Ne.done;ge++,Ne=j.next())Ne=J(fe,I,ge,Ne.value,K),Ne!==null&&(e&&Ne.alternate!==null&&fe.delete(Ne.key===null?ge:Ne.key),P=h(Ne,P,ge),de===null?le=Ne:de.sibling=Ne,de=Ne);return e&&fe.forEach(function(S3){return r(I,S3)}),Me&&Co(I,ge),le}function Ye(I,P,j,K){if(typeof j=="object"&&j!==null&&j.type===A&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case R:e:{for(var le=j.key,de=P;de!==null;){if(de.key===le){if(le=j.type,le===A){if(de.tag===7){i(I,de.sibling),P=d(de,j.props.children),P.return=I,I=P;break e}}else if(de.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===be&&Ag(le)===de.type){i(I,de.sibling),P=d(de,j.props),P.ref=fi(I,de,j),P.return=I,I=P;break e}i(I,de);break}else r(I,de);de=de.sibling}j.type===A?(P=Fo(j.props.children,I.mode,K,j.key),P.return=I,I=P):(K=xl(j.type,j.key,j.props,null,I.mode,K),K.ref=fi(I,P,j),K.return=I,I=K)}return w(I);case D:e:{for(de=j.key;P!==null;){if(P.key===de)if(P.tag===4&&P.stateNode.containerInfo===j.containerInfo&&P.stateNode.implementation===j.implementation){i(I,P.sibling),P=d(P,j.children||[]),P.return=I,I=P;break e}else{i(I,P);break}else r(I,P);P=P.sibling}P=Uu(j,I.mode,K),P.return=I,I=P}return w(I);case be:return de=j._init,Ye(I,P,de(j._payload),K)}if(Hn(j))return ne(I,P,j,K);if(ee(j))return ie(I,P,j,K);Js(I,j)}return typeof j=="string"&&j!==""||typeof j=="number"?(j=""+j,P!==null&&P.tag===6?(i(I,P.sibling),P=d(P,j),P.return=I,I=P):(i(I,P),P=Vu(j,I.mode,K),P.return=I,I=P),w(I)):i(I,P)}return Ye}var pn=Mg(!0),Lg=Mg(!1),Zs=no(null),el=null,hn=null,tu=null;function ru(){tu=hn=el=null}function ou(e){var r=Zs.current;Oe(Zs),e._currentValue=r}function nu(e,r,i){for(;e!==null;){var a=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,a!==null&&(a.childLanes|=r)):a!==null&&(a.childLanes&r)!==r&&(a.childLanes|=r),e===i)break;e=e.return}}function mn(e,r){el=e,tu=hn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&r)!==0&&(Pt=!0),e.firstContext=null)}function Xt(e){var r=e._currentValue;if(tu!==e)if(e={context:e,memoizedValue:r,next:null},hn===null){if(el===null)throw Error(n(308));hn=e,el.dependencies={lanes:0,firstContext:e}}else hn=hn.next=e;return r}var Bo=null;function iu(e){Bo===null?Bo=[e]:Bo.push(e)}function Hg(e,r,i,a){var d=r.interleaved;return d===null?(i.next=i,iu(r)):(i.next=d.next,d.next=i),r.interleaved=i,Or(e,a)}function Or(e,r){e.lanes|=r;var i=e.alternate;for(i!==null&&(i.lanes|=r),i=e,e=e.return;e!==null;)e.childLanes|=r,i=e.alternate,i!==null&&(i.childLanes|=r),i=e,e=e.return;return i.tag===3?i.stateNode:null}var lo=!1;function su(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qg(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ar(e,r){return{eventTime:e,lane:r,tag:0,payload:null,callback:null,next:null}}function ao(e,r,i){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Se&2)!==0){var d=a.pending;return d===null?r.next=r:(r.next=d.next,d.next=r),a.pending=r,Or(e,i)}return d=a.interleaved,d===null?(r.next=r,iu(a)):(r.next=d.next,d.next=r),a.interleaved=r,Or(e,i)}function tl(e,r,i){if(r=r.updateQueue,r!==null&&(r=r.shared,(i&4194240)!==0)){var a=r.lanes;a&=e.pendingLanes,i|=a,r.lanes=i,wc(e,i)}}function Wg(e,r){var i=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,i===a)){var d=null,h=null;if(i=i.firstBaseUpdate,i!==null){do{var w={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};h===null?d=h=w:h=h.next=w,i=i.next}while(i!==null);h===null?d=h=r:h=h.next=r}else d=h=r;i={baseState:a.baseState,firstBaseUpdate:d,lastBaseUpdate:h,shared:a.shared,effects:a.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=r:e.next=r,i.lastBaseUpdate=r}function rl(e,r,i,a){var d=e.updateQueue;lo=!1;var h=d.firstBaseUpdate,w=d.lastBaseUpdate,C=d.shared.pending;if(C!==null){d.shared.pending=null;var z=C,O=z.next;z.next=null,w===null?h=O:w.next=O,w=z;var V=e.alternate;V!==null&&(V=V.updateQueue,C=V.lastBaseUpdate,C!==w&&(C===null?V.firstBaseUpdate=O:C.next=O,V.lastBaseUpdate=z))}if(h!==null){var G=d.baseState;w=0,V=O=z=null,C=h;do{var W=C.lane,J=C.eventTime;if((a&W)===W){V!==null&&(V=V.next={eventTime:J,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var ne=e,ie=C;switch(W=r,J=i,ie.tag){case 1:if(ne=ie.payload,typeof ne=="function"){G=ne.call(J,G,W);break e}G=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=ie.payload,W=typeof ne=="function"?ne.call(J,G,W):ne,W==null)break e;G=Y({},G,W);break e;case 2:lo=!0}}C.callback!==null&&C.lane!==0&&(e.flags|=64,W=d.effects,W===null?d.effects=[C]:W.push(C))}else J={eventTime:J,lane:W,tag:C.tag,payload:C.payload,callback:C.callback,next:null},V===null?(O=V=J,z=G):V=V.next=J,w|=W;if(C=C.next,C===null){if(C=d.shared.pending,C===null)break;W=C,C=W.next,W.next=null,d.lastBaseUpdate=W,d.shared.pending=null}}while(!0);if(V===null&&(z=G),d.baseState=z,d.firstBaseUpdate=O,d.lastBaseUpdate=V,r=d.shared.interleaved,r!==null){d=r;do w|=d.lane,d=d.next;while(d!==r)}else h===null&&(d.shared.lanes=0);Eo|=w,e.lanes=w,e.memoizedState=G}}function $g(e,r,i){if(e=r.effects,r.effects=null,e!==null)for(r=0;r<e.length;r++){var a=e[r],d=a.callback;if(d!==null){if(a.callback=null,a=i,typeof d!="function")throw Error(n(191,d));d.call(a)}}}var pi={},xr=no(pi),hi=no(pi),mi=no(pi);function No(e){if(e===pi)throw Error(n(174));return e}function lu(e,r){switch(De(mi,r),De(hi,e),De(xr,pi),e=r.nodeType,e){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:ac(null,"");break;default:e=e===8?r.parentNode:r,r=e.namespaceURI||null,e=e.tagName,r=ac(r,e)}Oe(xr),De(xr,r)}function gn(){Oe(xr),Oe(hi),Oe(mi)}function Vg(e){No(mi.current);var r=No(xr.current),i=ac(r,e.type);r!==i&&(De(hi,e),De(xr,i))}function au(e){hi.current===e&&(Oe(xr),Oe(hi))}var qe=no(0);function ol(e){for(var r=e;r!==null;){if(r.tag===13){var i=r.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var cu=[];function uu(){for(var e=0;e<cu.length;e++)cu[e]._workInProgressVersionPrimary=null;cu.length=0}var nl=T.ReactCurrentDispatcher,du=T.ReactCurrentBatchConfig,To=0,We=null,rt=null,it=null,il=!1,gi=!1,vi=0,VB=0;function gt(){throw Error(n(321))}function fu(e,r){if(r===null)return!1;for(var i=0;i<r.length&&i<e.length;i++)if(!lr(e[i],r[i]))return!1;return!0}function pu(e,r,i,a,d,h){if(To=h,We=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,nl.current=e===null||e.memoizedState===null?XB:QB,e=i(a,d),gi){h=0;do{if(gi=!1,vi=0,25<=h)throw Error(n(301));h+=1,it=rt=null,r.updateQueue=null,nl.current=YB,e=i(a,d)}while(gi)}if(nl.current=al,r=rt!==null&&rt.next!==null,To=0,it=rt=We=null,il=!1,r)throw Error(n(300));return e}function hu(){var e=vi!==0;return vi=0,e}function Sr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return it===null?We.memoizedState=it=e:it=it.next=e,it}function Qt(){if(rt===null){var e=We.alternate;e=e!==null?e.memoizedState:null}else e=rt.next;var r=it===null?We.memoizedState:it.next;if(r!==null)it=r,rt=e;else{if(e===null)throw Error(n(310));rt=e,e={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},it===null?We.memoizedState=it=e:it=it.next=e}return it}function bi(e,r){return typeof r=="function"?r(e):r}function mu(e){var r=Qt(),i=r.queue;if(i===null)throw Error(n(311));i.lastRenderedReducer=e;var a=rt,d=a.baseQueue,h=i.pending;if(h!==null){if(d!==null){var w=d.next;d.next=h.next,h.next=w}a.baseQueue=d=h,i.pending=null}if(d!==null){h=d.next,a=a.baseState;var C=w=null,z=null,O=h;do{var V=O.lane;if((To&V)===V)z!==null&&(z=z.next={lane:0,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),a=O.hasEagerState?O.eagerState:e(a,O.action);else{var G={lane:V,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null};z===null?(C=z=G,w=a):z=z.next=G,We.lanes|=V,Eo|=V}O=O.next}while(O!==null&&O!==h);z===null?w=a:z.next=C,lr(a,r.memoizedState)||(Pt=!0),r.memoizedState=a,r.baseState=w,r.baseQueue=z,i.lastRenderedState=a}if(e=i.interleaved,e!==null){d=e;do h=d.lane,We.lanes|=h,Eo|=h,d=d.next;while(d!==e)}else d===null&&(i.lanes=0);return[r.memoizedState,i.dispatch]}function gu(e){var r=Qt(),i=r.queue;if(i===null)throw Error(n(311));i.lastRenderedReducer=e;var a=i.dispatch,d=i.pending,h=r.memoizedState;if(d!==null){i.pending=null;var w=d=d.next;do h=e(h,w.action),w=w.next;while(w!==d);lr(h,r.memoizedState)||(Pt=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),i.lastRenderedState=h}return[h,a]}function Ug(){}function Gg(e,r){var i=We,a=Qt(),d=r(),h=!lr(a.memoizedState,d);if(h&&(a.memoizedState=d,Pt=!0),a=a.queue,vu(Qg.bind(null,i,a,e),[e]),a.getSnapshot!==r||h||it!==null&&it.memoizedState.tag&1){if(i.flags|=2048,yi(9,Xg.bind(null,i,a,d,r),void 0,null),st===null)throw Error(n(349));(To&30)!==0||Kg(i,r,d)}return d}function Kg(e,r,i){e.flags|=16384,e={getSnapshot:r,value:i},r=We.updateQueue,r===null?(r={lastEffect:null,stores:null},We.updateQueue=r,r.stores=[e]):(i=r.stores,i===null?r.stores=[e]:i.push(e))}function Xg(e,r,i,a){r.value=i,r.getSnapshot=a,Yg(r)&&Jg(e)}function Qg(e,r,i){return i(function(){Yg(r)&&Jg(e)})}function Yg(e){var r=e.getSnapshot;e=e.value;try{var i=r();return!lr(e,i)}catch{return!0}}function Jg(e){var r=Or(e,1);r!==null&&fr(r,e,1,-1)}function Zg(e){var r=Sr();return typeof e=="function"&&(e=e()),r.memoizedState=r.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:bi,lastRenderedState:e},r.queue=e,e=e.dispatch=KB.bind(null,We,e),[r.memoizedState,e]}function yi(e,r,i,a){return e={tag:e,create:r,destroy:i,deps:a,next:null},r=We.updateQueue,r===null?(r={lastEffect:null,stores:null},We.updateQueue=r,r.lastEffect=e.next=e):(i=r.lastEffect,i===null?r.lastEffect=e.next=e:(a=i.next,i.next=e,e.next=a,r.lastEffect=e)),e}function ev(){return Qt().memoizedState}function sl(e,r,i,a){var d=Sr();We.flags|=e,d.memoizedState=yi(1|r,i,void 0,a===void 0?null:a)}function ll(e,r,i,a){var d=Qt();a=a===void 0?null:a;var h=void 0;if(rt!==null){var w=rt.memoizedState;if(h=w.destroy,a!==null&&fu(a,w.deps)){d.memoizedState=yi(r,i,h,a);return}}We.flags|=e,d.memoizedState=yi(1|r,i,h,a)}function tv(e,r){return sl(8390656,8,e,r)}function vu(e,r){return ll(2048,8,e,r)}function rv(e,r){return ll(4,2,e,r)}function ov(e,r){return ll(4,4,e,r)}function nv(e,r){if(typeof r=="function")return e=e(),r(e),function(){r(null)};if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function iv(e,r,i){return i=i!=null?i.concat([e]):null,ll(4,4,nv.bind(null,r,e),i)}function bu(){}function sv(e,r){var i=Qt();r=r===void 0?null:r;var a=i.memoizedState;return a!==null&&r!==null&&fu(r,a[1])?a[0]:(i.memoizedState=[e,r],e)}function lv(e,r){var i=Qt();r=r===void 0?null:r;var a=i.memoizedState;return a!==null&&r!==null&&fu(r,a[1])?a[0]:(e=e(),i.memoizedState=[e,r],e)}function av(e,r,i){return(To&21)===0?(e.baseState&&(e.baseState=!1,Pt=!0),e.memoizedState=i):(lr(i,r)||(i=Am(),We.lanes|=i,Eo|=i,e.baseState=!0),r)}function UB(e,r){var i=ze;ze=i!==0&&4>i?i:4,e(!0);var a=du.transition;du.transition={};try{e(!1),r()}finally{ze=i,du.transition=a}}function cv(){return Qt().memoizedState}function GB(e,r,i){var a=po(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},uv(e))dv(r,i);else if(i=Hg(e,r,i,a),i!==null){var d=kt();fr(i,e,a,d),fv(i,r,a)}}function KB(e,r,i){var a=po(e),d={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(uv(e))dv(r,d);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var w=r.lastRenderedState,C=h(w,i);if(d.hasEagerState=!0,d.eagerState=C,lr(C,w)){var z=r.interleaved;z===null?(d.next=d,iu(r)):(d.next=z.next,z.next=d),r.interleaved=d;return}}catch{}finally{}i=Hg(e,r,d,a),i!==null&&(d=kt(),fr(i,e,a,d),fv(i,r,a))}}function uv(e){var r=e.alternate;return e===We||r!==null&&r===We}function dv(e,r){gi=il=!0;var i=e.pending;i===null?r.next=r:(r.next=i.next,i.next=r),e.pending=r}function fv(e,r,i){if((i&4194240)!==0){var a=r.lanes;a&=e.pendingLanes,i|=a,r.lanes=i,wc(e,i)}}var al={readContext:Xt,useCallback:gt,useContext:gt,useEffect:gt,useImperativeHandle:gt,useInsertionEffect:gt,useLayoutEffect:gt,useMemo:gt,useReducer:gt,useRef:gt,useState:gt,useDebugValue:gt,useDeferredValue:gt,useTransition:gt,useMutableSource:gt,useSyncExternalStore:gt,useId:gt,unstable_isNewReconciler:!1},XB={readContext:Xt,useCallback:function(e,r){return Sr().memoizedState=[e,r===void 0?null:r],e},useContext:Xt,useEffect:tv,useImperativeHandle:function(e,r,i){return i=i!=null?i.concat([e]):null,sl(4194308,4,nv.bind(null,r,e),i)},useLayoutEffect:function(e,r){return sl(4194308,4,e,r)},useInsertionEffect:function(e,r){return sl(4,2,e,r)},useMemo:function(e,r){var i=Sr();return r=r===void 0?null:r,e=e(),i.memoizedState=[e,r],e},useReducer:function(e,r,i){var a=Sr();return r=i!==void 0?i(r):r,a.memoizedState=a.baseState=r,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=GB.bind(null,We,e),[a.memoizedState,e]},useRef:function(e){var r=Sr();return e={current:e},r.memoizedState=e},useState:Zg,useDebugValue:bu,useDeferredValue:function(e){return Sr().memoizedState=e},useTransition:function(){var e=Zg(!1),r=e[0];return e=UB.bind(null,e[1]),Sr().memoizedState=e,[r,e]},useMutableSource:function(){},useSyncExternalStore:function(e,r,i){var a=We,d=Sr();if(Me){if(i===void 0)throw Error(n(407));i=i()}else{if(i=r(),st===null)throw Error(n(349));(To&30)!==0||Kg(a,r,i)}d.memoizedState=i;var h={value:i,getSnapshot:r};return d.queue=h,tv(Qg.bind(null,a,h,e),[e]),a.flags|=2048,yi(9,Xg.bind(null,a,h,i,r),void 0,null),i},useId:function(){var e=Sr(),r=st.identifierPrefix;if(Me){var i=jr,a=Dr;i=(a&~(1<<32-sr(a)-1)).toString(32)+i,r=":"+r+"R"+i,i=vi++,0<i&&(r+="H"+i.toString(32)),r+=":"}else i=VB++,r=":"+r+"r"+i.toString(32)+":";return e.memoizedState=r},unstable_isNewReconciler:!1},QB={readContext:Xt,useCallback:sv,useContext:Xt,useEffect:vu,useImperativeHandle:iv,useInsertionEffect:rv,useLayoutEffect:ov,useMemo:lv,useReducer:mu,useRef:ev,useState:function(){return mu(bi)},useDebugValue:bu,useDeferredValue:function(e){var r=Qt();return av(r,rt.memoizedState,e)},useTransition:function(){var e=mu(bi)[0],r=Qt().memoizedState;return[e,r]},useMutableSource:Ug,useSyncExternalStore:Gg,useId:cv,unstable_isNewReconciler:!1},YB={readContext:Xt,useCallback:sv,useContext:Xt,useEffect:vu,useImperativeHandle:iv,useInsertionEffect:rv,useLayoutEffect:ov,useMemo:lv,useReducer:gu,useRef:ev,useState:function(){return gu(bi)},useDebugValue:bu,useDeferredValue:function(e){var r=Qt();return rt===null?r.memoizedState=e:av(r,rt.memoizedState,e)},useTransition:function(){var e=gu(bi)[0],r=Qt().memoizedState;return[e,r]},useMutableSource:Ug,useSyncExternalStore:Gg,useId:cv,unstable_isNewReconciler:!1};function cr(e,r){if(e&&e.defaultProps){r=Y({},r),e=e.defaultProps;for(var i in e)r[i]===void 0&&(r[i]=e[i]);return r}return r}function yu(e,r,i,a){r=e.memoizedState,i=i(a,r),i=i==null?r:Y({},r,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var cl={isMounted:function(e){return(e=e._reactInternals)?ko(e)===e:!1},enqueueSetState:function(e,r,i){e=e._reactInternals;var a=kt(),d=po(e),h=Ar(a,d);h.payload=r,i!=null&&(h.callback=i),r=ao(e,h,d),r!==null&&(fr(r,e,d,a),tl(r,e,d))},enqueueReplaceState:function(e,r,i){e=e._reactInternals;var a=kt(),d=po(e),h=Ar(a,d);h.tag=1,h.payload=r,i!=null&&(h.callback=i),r=ao(e,h,d),r!==null&&(fr(r,e,d,a),tl(r,e,d))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var i=kt(),a=po(e),d=Ar(i,a);d.tag=2,r!=null&&(d.callback=r),r=ao(e,d,a),r!==null&&(fr(r,e,a,i),tl(r,e,a))}};function pv(e,r,i,a,d,h,w){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,h,w):r.prototype&&r.prototype.isPureReactComponent?!ii(i,a)||!ii(d,h):!0}function hv(e,r,i){var a=!1,d=io,h=r.contextType;return typeof h=="object"&&h!==null?h=Xt(h):(d=zt(r)?So:mt.current,a=r.contextTypes,h=(a=a!=null)?cn(e,d):io),r=new r(i,h),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=cl,e.stateNode=r,r._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=d,e.__reactInternalMemoizedMaskedChildContext=h),r}function mv(e,r,i,a){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(i,a),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(i,a),r.state!==e&&cl.enqueueReplaceState(r,r.state,null)}function wu(e,r,i,a){var d=e.stateNode;d.props=i,d.state=e.memoizedState,d.refs={},su(e);var h=r.contextType;typeof h=="object"&&h!==null?d.context=Xt(h):(h=zt(r)?So:mt.current,d.context=cn(e,h)),d.state=e.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(yu(e,r,h,i),d.state=e.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(r=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),r!==d.state&&cl.enqueueReplaceState(d,d.state,null),rl(e,i,d,a),d.state=e.memoizedState),typeof d.componentDidMount=="function"&&(e.flags|=4194308)}function vn(e,r){try{var i="",a=r;do i+=Ce(a),a=a.return;while(a);var d=i}catch(h){d=`
8
+ Error generating stack: `+h.message+`
9
+ `+h.stack}return{value:e,source:r,stack:d,digest:null}}function ku(e,r,i){return{value:e,source:null,stack:i??null,digest:r??null}}function xu(e,r){try{console.error(r.value)}catch(i){setTimeout(function(){throw i})}}var JB=typeof WeakMap=="function"?WeakMap:Map;function gv(e,r,i){i=Ar(-1,i),i.tag=3,i.payload={element:null};var a=r.value;return i.callback=function(){gl||(gl=!0,Ou=a),xu(e,r)},i}function vv(e,r,i){i=Ar(-1,i),i.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var d=r.value;i.payload=function(){return a(d)},i.callback=function(){xu(e,r)}}var h=e.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(i.callback=function(){xu(e,r),typeof a!="function"&&(uo===null?uo=new Set([this]):uo.add(this));var w=r.stack;this.componentDidCatch(r.value,{componentStack:w!==null?w:""})}),i}function bv(e,r,i){var a=e.pingCache;if(a===null){a=e.pingCache=new JB;var d=new Set;a.set(r,d)}else d=a.get(r),d===void 0&&(d=new Set,a.set(r,d));d.has(i)||(d.add(i),e=f3.bind(null,e,r,i),r.then(e,e))}function yv(e){do{var r;if((r=e.tag===13)&&(r=e.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return e;e=e.return}while(e!==null);return null}function wv(e,r,i,a,d){return(e.mode&1)===0?(e===r?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(r=Ar(-1,1),r.tag=2,ao(i,r,1))),i.lanes|=1),e):(e.flags|=65536,e.lanes=d,e)}var ZB=T.ReactCurrentOwner,Pt=!1;function wt(e,r,i,a){r.child=e===null?Lg(r,null,i,a):pn(r,e.child,i,a)}function kv(e,r,i,a,d){i=i.render;var h=r.ref;return mn(r,d),a=pu(e,r,i,a,h,d),i=hu(),e!==null&&!Pt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~d,Mr(e,r,d)):(Me&&i&&Qc(r),r.flags|=1,wt(e,r,a,d),r.child)}function xv(e,r,i,a,d){if(e===null){var h=i.type;return typeof h=="function"&&!$u(h)&&h.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(r.tag=15,r.type=h,Sv(e,r,h,a,d)):(e=xl(i.type,null,a,r,r.mode,d),e.ref=r.ref,e.return=r,r.child=e)}if(h=e.child,(e.lanes&d)===0){var w=h.memoizedProps;if(i=i.compare,i=i!==null?i:ii,i(w,a)&&e.ref===r.ref)return Mr(e,r,d)}return r.flags|=1,e=mo(h,a),e.ref=r.ref,e.return=r,r.child=e}function Sv(e,r,i,a,d){if(e!==null){var h=e.memoizedProps;if(ii(h,a)&&e.ref===r.ref)if(Pt=!1,r.pendingProps=a=h,(e.lanes&d)!==0)(e.flags&131072)!==0&&(Pt=!0);else return r.lanes=e.lanes,Mr(e,r,d)}return Su(e,r,i,a,d)}function _v(e,r,i){var a=r.pendingProps,d=a.children,h=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},De(yn,Ht),Ht|=i;else{if((i&1073741824)===0)return e=h!==null?h.baseLanes|i:i,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:e,cachePool:null,transitions:null},r.updateQueue=null,De(yn,Ht),Ht|=e,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=h!==null?h.baseLanes:i,De(yn,Ht),Ht|=a}else h!==null?(a=h.baseLanes|i,r.memoizedState=null):a=i,De(yn,Ht),Ht|=a;return wt(e,r,d,i),r.child}function Cv(e,r){var i=r.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(r.flags|=512,r.flags|=2097152)}function Su(e,r,i,a,d){var h=zt(i)?So:mt.current;return h=cn(r,h),mn(r,d),i=pu(e,r,i,a,h,d),a=hu(),e!==null&&!Pt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~d,Mr(e,r,d)):(Me&&a&&Qc(r),r.flags|=1,wt(e,r,i,d),r.child)}function Bv(e,r,i,a,d){if(zt(i)){var h=!0;Gs(r)}else h=!1;if(mn(r,d),r.stateNode===null)dl(e,r),hv(r,i,a),wu(r,i,a,d),a=!0;else if(e===null){var w=r.stateNode,C=r.memoizedProps;w.props=C;var z=w.context,O=i.contextType;typeof O=="object"&&O!==null?O=Xt(O):(O=zt(i)?So:mt.current,O=cn(r,O));var V=i.getDerivedStateFromProps,G=typeof V=="function"||typeof w.getSnapshotBeforeUpdate=="function";G||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(C!==a||z!==O)&&mv(r,w,a,O),lo=!1;var W=r.memoizedState;w.state=W,rl(r,a,w,d),z=r.memoizedState,C!==a||W!==z||Et.current||lo?(typeof V=="function"&&(yu(r,i,V,a),z=r.memoizedState),(C=lo||pv(r,i,C,a,W,z,O))?(G||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(r.flags|=4194308)):(typeof w.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=a,r.memoizedState=z),w.props=a,w.state=z,w.context=O,a=C):(typeof w.componentDidMount=="function"&&(r.flags|=4194308),a=!1)}else{w=r.stateNode,qg(e,r),C=r.memoizedProps,O=r.type===r.elementType?C:cr(r.type,C),w.props=O,G=r.pendingProps,W=w.context,z=i.contextType,typeof z=="object"&&z!==null?z=Xt(z):(z=zt(i)?So:mt.current,z=cn(r,z));var J=i.getDerivedStateFromProps;(V=typeof J=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(C!==G||W!==z)&&mv(r,w,a,z),lo=!1,W=r.memoizedState,w.state=W,rl(r,a,w,d);var ne=r.memoizedState;C!==G||W!==ne||Et.current||lo?(typeof J=="function"&&(yu(r,i,J,a),ne=r.memoizedState),(O=lo||pv(r,i,O,a,W,ne,z)||!1)?(V||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(a,ne,z),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(a,ne,z)),typeof w.componentDidUpdate=="function"&&(r.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof w.componentDidUpdate!="function"||C===e.memoizedProps&&W===e.memoizedState||(r.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||C===e.memoizedProps&&W===e.memoizedState||(r.flags|=1024),r.memoizedProps=a,r.memoizedState=ne),w.props=a,w.state=ne,w.context=z,a=O):(typeof w.componentDidUpdate!="function"||C===e.memoizedProps&&W===e.memoizedState||(r.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||C===e.memoizedProps&&W===e.memoizedState||(r.flags|=1024),a=!1)}return _u(e,r,i,a,h,d)}function _u(e,r,i,a,d,h){Cv(e,r);var w=(r.flags&128)!==0;if(!a&&!w)return d&&Pg(r,i,!1),Mr(e,r,h);a=r.stateNode,ZB.current=r;var C=w&&typeof i.getDerivedStateFromError!="function"?null:a.render();return r.flags|=1,e!==null&&w?(r.child=pn(r,e.child,null,h),r.child=pn(r,null,C,h)):wt(e,r,C,h),r.memoizedState=a.state,d&&Pg(r,i,!0),r.child}function Nv(e){var r=e.stateNode;r.pendingContext?Eg(e,r.pendingContext,r.pendingContext!==r.context):r.context&&Eg(e,r.context,!1),lu(e,r.containerInfo)}function Tv(e,r,i,a,d){return fn(),eu(d),r.flags|=256,wt(e,r,i,a),r.child}var Cu={dehydrated:null,treeContext:null,retryLane:0};function Bu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ev(e,r,i){var a=r.pendingProps,d=qe.current,h=!1,w=(r.flags&128)!==0,C;if((C=w)||(C=e!==null&&e.memoizedState===null?!1:(d&2)!==0),C?(h=!0,r.flags&=-129):(e===null||e.memoizedState!==null)&&(d|=1),De(qe,d&1),e===null)return Zc(r),e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((r.mode&1)===0?r.lanes=1:e.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(w=a.children,e=a.fallback,h?(a=r.mode,h=r.child,w={mode:"hidden",children:w},(a&1)===0&&h!==null?(h.childLanes=0,h.pendingProps=w):h=Sl(w,a,0,null),e=Fo(e,a,i,null),h.return=r,e.return=r,h.sibling=e,r.child=h,r.child.memoizedState=Bu(i),r.memoizedState=Cu,e):Nu(r,w));if(d=e.memoizedState,d!==null&&(C=d.dehydrated,C!==null))return e3(e,r,w,a,C,d,i);if(h){h=a.fallback,w=r.mode,d=e.child,C=d.sibling;var z={mode:"hidden",children:a.children};return(w&1)===0&&r.child!==d?(a=r.child,a.childLanes=0,a.pendingProps=z,r.deletions=null):(a=mo(d,z),a.subtreeFlags=d.subtreeFlags&14680064),C!==null?h=mo(C,h):(h=Fo(h,w,i,null),h.flags|=2),h.return=r,a.return=r,a.sibling=h,r.child=a,a=h,h=r.child,w=e.child.memoizedState,w=w===null?Bu(i):{baseLanes:w.baseLanes|i,cachePool:null,transitions:w.transitions},h.memoizedState=w,h.childLanes=e.childLanes&~i,r.memoizedState=Cu,a}return h=e.child,e=h.sibling,a=mo(h,{mode:"visible",children:a.children}),(r.mode&1)===0&&(a.lanes=i),a.return=r,a.sibling=null,e!==null&&(i=r.deletions,i===null?(r.deletions=[e],r.flags|=16):i.push(e)),r.child=a,r.memoizedState=null,a}function Nu(e,r){return r=Sl({mode:"visible",children:r},e.mode,0,null),r.return=e,e.child=r}function ul(e,r,i,a){return a!==null&&eu(a),pn(r,e.child,null,i),e=Nu(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function e3(e,r,i,a,d,h,w){if(i)return r.flags&256?(r.flags&=-257,a=ku(Error(n(422))),ul(e,r,w,a)):r.memoizedState!==null?(r.child=e.child,r.flags|=128,null):(h=a.fallback,d=r.mode,a=Sl({mode:"visible",children:a.children},d,0,null),h=Fo(h,d,w,null),h.flags|=2,a.return=r,h.return=r,a.sibling=h,r.child=a,(r.mode&1)!==0&&pn(r,e.child,null,w),r.child.memoizedState=Bu(w),r.memoizedState=Cu,h);if((r.mode&1)===0)return ul(e,r,w,null);if(d.data==="$!"){if(a=d.nextSibling&&d.nextSibling.dataset,a)var C=a.dgst;return a=C,h=Error(n(419)),a=ku(h,a,void 0),ul(e,r,w,a)}if(C=(w&e.childLanes)!==0,Pt||C){if(a=st,a!==null){switch(w&-w){case 4:d=2;break;case 16:d=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:d=32;break;case 536870912:d=268435456;break;default:d=0}d=(d&(a.suspendedLanes|w))!==0?0:d,d!==0&&d!==h.retryLane&&(h.retryLane=d,Or(e,d),fr(a,e,d,-1))}return Wu(),a=ku(Error(n(421))),ul(e,r,w,a)}return d.data==="$?"?(r.flags|=128,r.child=e.child,r=p3.bind(null,e),d._reactRetry=r,null):(e=h.treeContext,Lt=oo(d.nextSibling),Mt=r,Me=!0,ar=null,e!==null&&(Gt[Kt++]=Dr,Gt[Kt++]=jr,Gt[Kt++]=_o,Dr=e.id,jr=e.overflow,_o=r),r=Nu(r,a.children),r.flags|=4096,r)}function zv(e,r,i){e.lanes|=r;var a=e.alternate;a!==null&&(a.lanes|=r),nu(e.return,r,i)}function Tu(e,r,i,a,d){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:d}:(h.isBackwards=r,h.rendering=null,h.renderingStartTime=0,h.last=a,h.tail=i,h.tailMode=d)}function Pv(e,r,i){var a=r.pendingProps,d=a.revealOrder,h=a.tail;if(wt(e,r,a.children,i),a=qe.current,(a&2)!==0)a=a&1|2,r.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&zv(e,i,r);else if(e.tag===19)zv(e,i,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(De(qe,a),(r.mode&1)===0)r.memoizedState=null;else switch(d){case"forwards":for(i=r.child,d=null;i!==null;)e=i.alternate,e!==null&&ol(e)===null&&(d=i),i=i.sibling;i=d,i===null?(d=r.child,r.child=null):(d=i.sibling,i.sibling=null),Tu(r,!1,d,i,h);break;case"backwards":for(i=null,d=r.child,r.child=null;d!==null;){if(e=d.alternate,e!==null&&ol(e)===null){r.child=d;break}e=d.sibling,d.sibling=i,i=d,d=e}Tu(r,!0,i,null,h);break;case"together":Tu(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function dl(e,r){(r.mode&1)===0&&e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2)}function Mr(e,r,i){if(e!==null&&(r.dependencies=e.dependencies),Eo|=r.lanes,(i&r.childLanes)===0)return null;if(e!==null&&r.child!==e.child)throw Error(n(153));if(r.child!==null){for(e=r.child,i=mo(e,e.pendingProps),r.child=i,i.return=r;e.sibling!==null;)e=e.sibling,i=i.sibling=mo(e,e.pendingProps),i.return=r;i.sibling=null}return r.child}function t3(e,r,i){switch(r.tag){case 3:Nv(r),fn();break;case 5:Vg(r);break;case 1:zt(r.type)&&Gs(r);break;case 4:lu(r,r.stateNode.containerInfo);break;case 10:var a=r.type._context,d=r.memoizedProps.value;De(Zs,a._currentValue),a._currentValue=d;break;case 13:if(a=r.memoizedState,a!==null)return a.dehydrated!==null?(De(qe,qe.current&1),r.flags|=128,null):(i&r.child.childLanes)!==0?Ev(e,r,i):(De(qe,qe.current&1),e=Mr(e,r,i),e!==null?e.sibling:null);De(qe,qe.current&1);break;case 19:if(a=(i&r.childLanes)!==0,(e.flags&128)!==0){if(a)return Pv(e,r,i);r.flags|=128}if(d=r.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),De(qe,qe.current),a)break;return null;case 22:case 23:return r.lanes=0,_v(e,r,i)}return Mr(e,r,i)}var Rv,Eu,Fv,Iv;Rv=function(e,r){for(var i=r.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Eu=function(){},Fv=function(e,r,i,a){var d=e.memoizedProps;if(d!==a){e=r.stateNode,No(xr.current);var h=null;switch(i){case"input":d=nc(e,d),a=nc(e,a),h=[];break;case"select":d=Y({},d,{value:void 0}),a=Y({},a,{value:void 0}),h=[];break;case"textarea":d=lc(e,d),a=lc(e,a),h=[];break;default:typeof d.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=$s)}cc(i,a);var w;i=null;for(O in d)if(!a.hasOwnProperty(O)&&d.hasOwnProperty(O)&&d[O]!=null)if(O==="style"){var C=d[O];for(w in C)C.hasOwnProperty(w)&&(i||(i={}),i[w]="")}else O!=="dangerouslySetInnerHTML"&&O!=="children"&&O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&O!=="autoFocus"&&(l.hasOwnProperty(O)?h||(h=[]):(h=h||[]).push(O,null));for(O in a){var z=a[O];if(C=d?.[O],a.hasOwnProperty(O)&&z!==C&&(z!=null||C!=null))if(O==="style")if(C){for(w in C)!C.hasOwnProperty(w)||z&&z.hasOwnProperty(w)||(i||(i={}),i[w]="");for(w in z)z.hasOwnProperty(w)&&C[w]!==z[w]&&(i||(i={}),i[w]=z[w])}else i||(h||(h=[]),h.push(O,i)),i=z;else O==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,C=C?C.__html:void 0,z!=null&&C!==z&&(h=h||[]).push(O,z)):O==="children"?typeof z!="string"&&typeof z!="number"||(h=h||[]).push(O,""+z):O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&(l.hasOwnProperty(O)?(z!=null&&O==="onScroll"&&je("scroll",e),h||C===z||(h=[])):(h=h||[]).push(O,z))}i&&(h=h||[]).push("style",i);var O=h;(r.updateQueue=O)&&(r.flags|=4)}},Iv=function(e,r,i,a){i!==a&&(r.flags|=4)};function wi(e,r){if(!Me)switch(e.tailMode){case"hidden":r=e.tail;for(var i=null;r!==null;)r.alternate!==null&&(i=r),r=r.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function vt(e){var r=e.alternate!==null&&e.alternate.child===e.child,i=0,a=0;if(r)for(var d=e.child;d!==null;)i|=d.lanes|d.childLanes,a|=d.subtreeFlags&14680064,a|=d.flags&14680064,d.return=e,d=d.sibling;else for(d=e.child;d!==null;)i|=d.lanes|d.childLanes,a|=d.subtreeFlags,a|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=a,e.childLanes=i,r}function r3(e,r,i){var a=r.pendingProps;switch(Yc(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(r),null;case 1:return zt(r.type)&&Us(),vt(r),null;case 3:return a=r.stateNode,gn(),Oe(Et),Oe(mt),uu(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ys(r)?r.flags|=4:e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,ar!==null&&(Lu(ar),ar=null))),Eu(e,r),vt(r),null;case 5:au(r);var d=No(mi.current);if(i=r.type,e!==null&&r.stateNode!=null)Fv(e,r,i,a,d),e.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!a){if(r.stateNode===null)throw Error(n(166));return vt(r),null}if(e=No(xr.current),Ys(r)){a=r.stateNode,i=r.type;var h=r.memoizedProps;switch(a[kr]=r,a[ui]=h,e=(r.mode&1)!==0,i){case"dialog":je("cancel",a),je("close",a);break;case"iframe":case"object":case"embed":je("load",a);break;case"video":case"audio":for(d=0;d<li.length;d++)je(li[d],a);break;case"source":je("error",a);break;case"img":case"image":case"link":je("error",a),je("load",a);break;case"details":je("toggle",a);break;case"input":hm(a,h),je("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!h.multiple},je("invalid",a);break;case"textarea":vm(a,h),je("invalid",a)}cc(i,h),d=null;for(var w in h)if(h.hasOwnProperty(w)){var C=h[w];w==="children"?typeof C=="string"?a.textContent!==C&&(h.suppressHydrationWarning!==!0&&Ws(a.textContent,C,e),d=["children",C]):typeof C=="number"&&a.textContent!==""+C&&(h.suppressHydrationWarning!==!0&&Ws(a.textContent,C,e),d=["children",""+C]):l.hasOwnProperty(w)&&C!=null&&w==="onScroll"&&je("scroll",a)}switch(i){case"input":ws(a),gm(a,h,!0);break;case"textarea":ws(a),ym(a);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(a.onclick=$s)}a=d,r.updateQueue=a,a!==null&&(r.flags|=4)}else{w=d.nodeType===9?d:d.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=wm(i)),e==="http://www.w3.org/1999/xhtml"?i==="script"?(e=w.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=w.createElement(i,{is:a.is}):(e=w.createElement(i),i==="select"&&(w=e,a.multiple?w.multiple=!0:a.size&&(w.size=a.size))):e=w.createElementNS(e,i),e[kr]=r,e[ui]=a,Rv(e,r,!1,!1),r.stateNode=e;e:{switch(w=uc(i,a),i){case"dialog":je("cancel",e),je("close",e),d=a;break;case"iframe":case"object":case"embed":je("load",e),d=a;break;case"video":case"audio":for(d=0;d<li.length;d++)je(li[d],e);d=a;break;case"source":je("error",e),d=a;break;case"img":case"image":case"link":je("error",e),je("load",e),d=a;break;case"details":je("toggle",e),d=a;break;case"input":hm(e,a),d=nc(e,a),je("invalid",e);break;case"option":d=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},d=Y({},a,{value:void 0}),je("invalid",e);break;case"textarea":vm(e,a),d=lc(e,a),je("invalid",e);break;default:d=a}cc(i,d),C=d;for(h in C)if(C.hasOwnProperty(h)){var z=C[h];h==="style"?Sm(e,z):h==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,z!=null&&km(e,z)):h==="children"?typeof z=="string"?(i!=="textarea"||z!=="")&&qn(e,z):typeof z=="number"&&qn(e,""+z):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(l.hasOwnProperty(h)?z!=null&&h==="onScroll"&&je("scroll",e):z!=null&&N(e,h,z,w))}switch(i){case"input":ws(e),gm(e,a,!1);break;case"textarea":ws(e),ym(e);break;case"option":a.value!=null&&e.setAttribute("value",""+Ee(a.value));break;case"select":e.multiple=!!a.multiple,h=a.value,h!=null?Qo(e,!!a.multiple,h,!1):a.defaultValue!=null&&Qo(e,!!a.multiple,a.defaultValue,!0);break;default:typeof d.onClick=="function"&&(e.onclick=$s)}switch(i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return vt(r),null;case 6:if(e&&r.stateNode!=null)Iv(e,r,e.memoizedProps,a);else{if(typeof a!="string"&&r.stateNode===null)throw Error(n(166));if(i=No(mi.current),No(xr.current),Ys(r)){if(a=r.stateNode,i=r.memoizedProps,a[kr]=r,(h=a.nodeValue!==i)&&(e=Mt,e!==null))switch(e.tag){case 3:Ws(a.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ws(a.nodeValue,i,(e.mode&1)!==0)}h&&(r.flags|=4)}else a=(i.nodeType===9?i:i.ownerDocument).createTextNode(a),a[kr]=r,r.stateNode=a}return vt(r),null;case 13:if(Oe(qe),a=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Me&&Lt!==null&&(r.mode&1)!==0&&(r.flags&128)===0)Og(),fn(),r.flags|=98560,h=!1;else if(h=Ys(r),a!==null&&a.dehydrated!==null){if(e===null){if(!h)throw Error(n(318));if(h=r.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(n(317));h[kr]=r}else fn(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;vt(r),h=!1}else ar!==null&&(Lu(ar),ar=null),h=!0;if(!h)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=i,r):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(r.child.flags|=8192,(r.mode&1)!==0&&(e===null||(qe.current&1)!==0?ot===0&&(ot=3):Wu())),r.updateQueue!==null&&(r.flags|=4),vt(r),null);case 4:return gn(),Eu(e,r),e===null&&ai(r.stateNode.containerInfo),vt(r),null;case 10:return ou(r.type._context),vt(r),null;case 17:return zt(r.type)&&Us(),vt(r),null;case 19:if(Oe(qe),h=r.memoizedState,h===null)return vt(r),null;if(a=(r.flags&128)!==0,w=h.rendering,w===null)if(a)wi(h,!1);else{if(ot!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(w=ol(e),w!==null){for(r.flags|=128,wi(h,!1),a=w.updateQueue,a!==null&&(r.updateQueue=a,r.flags|=4),r.subtreeFlags=0,a=i,i=r.child;i!==null;)h=i,e=a,h.flags&=14680066,w=h.alternate,w===null?(h.childLanes=0,h.lanes=e,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=w.childLanes,h.lanes=w.lanes,h.child=w.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=w.memoizedProps,h.memoizedState=w.memoizedState,h.updateQueue=w.updateQueue,h.type=w.type,e=w.dependencies,h.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return De(qe,qe.current&1|2),r.child}e=e.sibling}h.tail!==null&&Qe()>wn&&(r.flags|=128,a=!0,wi(h,!1),r.lanes=4194304)}else{if(!a)if(e=ol(w),e!==null){if(r.flags|=128,a=!0,i=e.updateQueue,i!==null&&(r.updateQueue=i,r.flags|=4),wi(h,!0),h.tail===null&&h.tailMode==="hidden"&&!w.alternate&&!Me)return vt(r),null}else 2*Qe()-h.renderingStartTime>wn&&i!==1073741824&&(r.flags|=128,a=!0,wi(h,!1),r.lanes=4194304);h.isBackwards?(w.sibling=r.child,r.child=w):(i=h.last,i!==null?i.sibling=w:r.child=w,h.last=w)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=Qe(),r.sibling=null,i=qe.current,De(qe,a?i&1|2:i&1),r):(vt(r),null);case 22:case 23:return qu(),a=r.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(r.flags|=8192),a&&(r.mode&1)!==0?(Ht&1073741824)!==0&&(vt(r),r.subtreeFlags&6&&(r.flags|=8192)):vt(r),null;case 24:return null;case 25:return null}throw Error(n(156,r.tag))}function o3(e,r){switch(Yc(r),r.tag){case 1:return zt(r.type)&&Us(),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return gn(),Oe(Et),Oe(mt),uu(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 5:return au(r),null;case 13:if(Oe(qe),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(n(340));fn()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Oe(qe),null;case 4:return gn(),null;case 10:return ou(r.type._context),null;case 22:case 23:return qu(),null;case 24:return null;default:return null}}var fl=!1,bt=!1,n3=typeof WeakSet=="function"?WeakSet:Set,oe=null;function bn(e,r){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){Ue(e,r,a)}else i.current=null}function zu(e,r,i){try{i()}catch(a){Ue(e,r,a)}}var Dv=!1;function i3(e,r){if(qc=Rs,e=pg(),Ic(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var a=i.getSelection&&i.getSelection();if(a&&a.rangeCount!==0){i=a.anchorNode;var d=a.anchorOffset,h=a.focusNode;a=a.focusOffset;try{i.nodeType,h.nodeType}catch{i=null;break e}var w=0,C=-1,z=-1,O=0,V=0,G=e,W=null;t:for(;;){for(var J;G!==i||d!==0&&G.nodeType!==3||(C=w+d),G!==h||a!==0&&G.nodeType!==3||(z=w+a),G.nodeType===3&&(w+=G.nodeValue.length),(J=G.firstChild)!==null;)W=G,G=J;for(;;){if(G===e)break t;if(W===i&&++O===d&&(C=w),W===h&&++V===a&&(z=w),(J=G.nextSibling)!==null)break;G=W,W=G.parentNode}G=J}i=C===-1||z===-1?null:{start:C,end:z}}else i=null}i=i||{start:0,end:0}}else i=null;for(Wc={focusedElem:e,selectionRange:i},Rs=!1,oe=r;oe!==null;)if(r=oe,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,oe=e;else for(;oe!==null;){r=oe;try{var ne=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(ne!==null){var ie=ne.memoizedProps,Ye=ne.memoizedState,I=r.stateNode,P=I.getSnapshotBeforeUpdate(r.elementType===r.type?ie:cr(r.type,ie),Ye);I.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var j=r.stateNode.containerInfo;j.nodeType===1?j.textContent="":j.nodeType===9&&j.documentElement&&j.removeChild(j.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(K){Ue(r,r.return,K)}if(e=r.sibling,e!==null){e.return=r.return,oe=e;break}oe=r.return}return ne=Dv,Dv=!1,ne}function ki(e,r,i){var a=r.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var d=a=a.next;do{if((d.tag&e)===e){var h=d.destroy;d.destroy=void 0,h!==void 0&&zu(r,i,h)}d=d.next}while(d!==a)}}function pl(e,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.create;i.destroy=a()}i=i.next}while(i!==r)}}function Pu(e){var r=e.ref;if(r!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof r=="function"?r(e):r.current=e}}function jv(e){var r=e.alternate;r!==null&&(e.alternate=null,jv(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&(delete r[kr],delete r[ui],delete r[Gc],delete r[HB],delete r[qB])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ov(e){return e.tag===5||e.tag===3||e.tag===4}function Av(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ov(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.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 Ru(e,r,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,r?i.nodeType===8?i.parentNode.insertBefore(e,r):i.insertBefore(e,r):(i.nodeType===8?(r=i.parentNode,r.insertBefore(e,i)):(r=i,r.appendChild(e)),i=i._reactRootContainer,i!=null||r.onclick!==null||(r.onclick=$s));else if(a!==4&&(e=e.child,e!==null))for(Ru(e,r,i),e=e.sibling;e!==null;)Ru(e,r,i),e=e.sibling}function Fu(e,r,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,r?i.insertBefore(e,r):i.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(Fu(e,r,i),e=e.sibling;e!==null;)Fu(e,r,i),e=e.sibling}var ct=null,ur=!1;function co(e,r,i){for(i=i.child;i!==null;)Mv(e,r,i),i=i.sibling}function Mv(e,r,i){if(wr&&typeof wr.onCommitFiberUnmount=="function")try{wr.onCommitFiberUnmount(Bs,i)}catch{}switch(i.tag){case 5:bt||bn(i,r);case 6:var a=ct,d=ur;ct=null,co(e,r,i),ct=a,ur=d,ct!==null&&(ur?(e=ct,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):ct.removeChild(i.stateNode));break;case 18:ct!==null&&(ur?(e=ct,i=i.stateNode,e.nodeType===8?Uc(e.parentNode,i):e.nodeType===1&&Uc(e,i),Zn(e)):Uc(ct,i.stateNode));break;case 4:a=ct,d=ur,ct=i.stateNode.containerInfo,ur=!0,co(e,r,i),ct=a,ur=d;break;case 0:case 11:case 14:case 15:if(!bt&&(a=i.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){d=a=a.next;do{var h=d,w=h.destroy;h=h.tag,w!==void 0&&((h&2)!==0||(h&4)!==0)&&zu(i,r,w),d=d.next}while(d!==a)}co(e,r,i);break;case 1:if(!bt&&(bn(i,r),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(C){Ue(i,r,C)}co(e,r,i);break;case 21:co(e,r,i);break;case 22:i.mode&1?(bt=(a=bt)||i.memoizedState!==null,co(e,r,i),bt=a):co(e,r,i);break;default:co(e,r,i)}}function Lv(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new n3),r.forEach(function(a){var d=h3.bind(null,e,a);i.has(a)||(i.add(a),a.then(d,d))})}}function dr(e,r){var i=r.deletions;if(i!==null)for(var a=0;a<i.length;a++){var d=i[a];try{var h=e,w=r,C=w;e:for(;C!==null;){switch(C.tag){case 5:ct=C.stateNode,ur=!1;break e;case 3:ct=C.stateNode.containerInfo,ur=!0;break e;case 4:ct=C.stateNode.containerInfo,ur=!0;break e}C=C.return}if(ct===null)throw Error(n(160));Mv(h,w,d),ct=null,ur=!1;var z=d.alternate;z!==null&&(z.return=null),d.return=null}catch(O){Ue(d,r,O)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Hv(r,e),r=r.sibling}function Hv(e,r){var i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(dr(r,e),_r(e),a&4){try{ki(3,e,e.return),pl(3,e)}catch(ie){Ue(e,e.return,ie)}try{ki(5,e,e.return)}catch(ie){Ue(e,e.return,ie)}}break;case 1:dr(r,e),_r(e),a&512&&i!==null&&bn(i,i.return);break;case 5:if(dr(r,e),_r(e),a&512&&i!==null&&bn(i,i.return),e.flags&32){var d=e.stateNode;try{qn(d,"")}catch(ie){Ue(e,e.return,ie)}}if(a&4&&(d=e.stateNode,d!=null)){var h=e.memoizedProps,w=i!==null?i.memoizedProps:h,C=e.type,z=e.updateQueue;if(e.updateQueue=null,z!==null)try{C==="input"&&h.type==="radio"&&h.name!=null&&mm(d,h),uc(C,w);var O=uc(C,h);for(w=0;w<z.length;w+=2){var V=z[w],G=z[w+1];V==="style"?Sm(d,G):V==="dangerouslySetInnerHTML"?km(d,G):V==="children"?qn(d,G):N(d,V,G,O)}switch(C){case"input":ic(d,h);break;case"textarea":bm(d,h);break;case"select":var W=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!h.multiple;var J=h.value;J!=null?Qo(d,!!h.multiple,J,!1):W!==!!h.multiple&&(h.defaultValue!=null?Qo(d,!!h.multiple,h.defaultValue,!0):Qo(d,!!h.multiple,h.multiple?[]:"",!1))}d[ui]=h}catch(ie){Ue(e,e.return,ie)}}break;case 6:if(dr(r,e),_r(e),a&4){if(e.stateNode===null)throw Error(n(162));d=e.stateNode,h=e.memoizedProps;try{d.nodeValue=h}catch(ie){Ue(e,e.return,ie)}}break;case 3:if(dr(r,e),_r(e),a&4&&i!==null&&i.memoizedState.isDehydrated)try{Zn(r.containerInfo)}catch(ie){Ue(e,e.return,ie)}break;case 4:dr(r,e),_r(e);break;case 13:dr(r,e),_r(e),d=e.child,d.flags&8192&&(h=d.memoizedState!==null,d.stateNode.isHidden=h,!h||d.alternate!==null&&d.alternate.memoizedState!==null||(ju=Qe())),a&4&&Lv(e);break;case 22:if(V=i!==null&&i.memoizedState!==null,e.mode&1?(bt=(O=bt)||V,dr(r,e),bt=O):dr(r,e),_r(e),a&8192){if(O=e.memoizedState!==null,(e.stateNode.isHidden=O)&&!V&&(e.mode&1)!==0)for(oe=e,V=e.child;V!==null;){for(G=oe=V;oe!==null;){switch(W=oe,J=W.child,W.tag){case 0:case 11:case 14:case 15:ki(4,W,W.return);break;case 1:bn(W,W.return);var ne=W.stateNode;if(typeof ne.componentWillUnmount=="function"){a=W,i=W.return;try{r=a,ne.props=r.memoizedProps,ne.state=r.memoizedState,ne.componentWillUnmount()}catch(ie){Ue(a,i,ie)}}break;case 5:bn(W,W.return);break;case 22:if(W.memoizedState!==null){$v(G);continue}}J!==null?(J.return=W,oe=J):$v(G)}V=V.sibling}e:for(V=null,G=e;;){if(G.tag===5){if(V===null){V=G;try{d=G.stateNode,O?(h=d.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(C=G.stateNode,z=G.memoizedProps.style,w=z!=null&&z.hasOwnProperty("display")?z.display:null,C.style.display=xm("display",w))}catch(ie){Ue(e,e.return,ie)}}}else if(G.tag===6){if(V===null)try{G.stateNode.nodeValue=O?"":G.memoizedProps}catch(ie){Ue(e,e.return,ie)}}else if((G.tag!==22&&G.tag!==23||G.memoizedState===null||G===e)&&G.child!==null){G.child.return=G,G=G.child;continue}if(G===e)break e;for(;G.sibling===null;){if(G.return===null||G.return===e)break e;V===G&&(V=null),G=G.return}V===G&&(V=null),G.sibling.return=G.return,G=G.sibling}}break;case 19:dr(r,e),_r(e),a&4&&Lv(e);break;case 21:break;default:dr(r,e),_r(e)}}function _r(e){var r=e.flags;if(r&2){try{e:{for(var i=e.return;i!==null;){if(Ov(i)){var a=i;break e}i=i.return}throw Error(n(160))}switch(a.tag){case 5:var d=a.stateNode;a.flags&32&&(qn(d,""),a.flags&=-33);var h=Av(e);Fu(e,h,d);break;case 3:case 4:var w=a.stateNode.containerInfo,C=Av(e);Ru(e,C,w);break;default:throw Error(n(161))}}catch(z){Ue(e,e.return,z)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function s3(e,r,i){oe=e,qv(e)}function qv(e,r,i){for(var a=(e.mode&1)!==0;oe!==null;){var d=oe,h=d.child;if(d.tag===22&&a){var w=d.memoizedState!==null||fl;if(!w){var C=d.alternate,z=C!==null&&C.memoizedState!==null||bt;C=fl;var O=bt;if(fl=w,(bt=z)&&!O)for(oe=d;oe!==null;)w=oe,z=w.child,w.tag===22&&w.memoizedState!==null?Vv(d):z!==null?(z.return=w,oe=z):Vv(d);for(;h!==null;)oe=h,qv(h),h=h.sibling;oe=d,fl=C,bt=O}Wv(e)}else(d.subtreeFlags&8772)!==0&&h!==null?(h.return=d,oe=h):Wv(e)}}function Wv(e){for(;oe!==null;){var r=oe;if((r.flags&8772)!==0){var i=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:bt||pl(5,r);break;case 1:var a=r.stateNode;if(r.flags&4&&!bt)if(i===null)a.componentDidMount();else{var d=r.elementType===r.type?i.memoizedProps:cr(r.type,i.memoizedProps);a.componentDidUpdate(d,i.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var h=r.updateQueue;h!==null&&$g(r,h,a);break;case 3:var w=r.updateQueue;if(w!==null){if(i=null,r.child!==null)switch(r.child.tag){case 5:i=r.child.stateNode;break;case 1:i=r.child.stateNode}$g(r,w,i)}break;case 5:var C=r.stateNode;if(i===null&&r.flags&4){i=C;var z=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":z.autoFocus&&i.focus();break;case"img":z.src&&(i.src=z.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var O=r.alternate;if(O!==null){var V=O.memoizedState;if(V!==null){var G=V.dehydrated;G!==null&&Zn(G)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}bt||r.flags&512&&Pu(r)}catch(W){Ue(r,r.return,W)}}if(r===e){oe=null;break}if(i=r.sibling,i!==null){i.return=r.return,oe=i;break}oe=r.return}}function $v(e){for(;oe!==null;){var r=oe;if(r===e){oe=null;break}var i=r.sibling;if(i!==null){i.return=r.return,oe=i;break}oe=r.return}}function Vv(e){for(;oe!==null;){var r=oe;try{switch(r.tag){case 0:case 11:case 15:var i=r.return;try{pl(4,r)}catch(z){Ue(r,i,z)}break;case 1:var a=r.stateNode;if(typeof a.componentDidMount=="function"){var d=r.return;try{a.componentDidMount()}catch(z){Ue(r,d,z)}}var h=r.return;try{Pu(r)}catch(z){Ue(r,h,z)}break;case 5:var w=r.return;try{Pu(r)}catch(z){Ue(r,w,z)}}}catch(z){Ue(r,r.return,z)}if(r===e){oe=null;break}var C=r.sibling;if(C!==null){C.return=r.return,oe=C;break}oe=r.return}}var l3=Math.ceil,hl=T.ReactCurrentDispatcher,Iu=T.ReactCurrentOwner,Yt=T.ReactCurrentBatchConfig,Se=0,st=null,Ze=null,ut=0,Ht=0,yn=no(0),ot=0,xi=null,Eo=0,ml=0,Du=0,Si=null,Rt=null,ju=0,wn=1/0,Lr=null,gl=!1,Ou=null,uo=null,vl=!1,fo=null,bl=0,_i=0,Au=null,yl=-1,wl=0;function kt(){return(Se&6)!==0?Qe():yl!==-1?yl:yl=Qe()}function po(e){return(e.mode&1)===0?1:(Se&2)!==0&&ut!==0?ut&-ut:$B.transition!==null?(wl===0&&(wl=Am()),wl):(e=ze,e!==0||(e=window.event,e=e===void 0?16:Gm(e.type)),e)}function fr(e,r,i,a){if(50<_i)throw _i=0,Au=null,Error(n(185));Kn(e,i,a),((Se&2)===0||e!==st)&&(e===st&&((Se&2)===0&&(ml|=i),ot===4&&ho(e,ut)),Ft(e,a),i===1&&Se===0&&(r.mode&1)===0&&(wn=Qe()+500,Ks&&so()))}function Ft(e,r){var i=e.callbackNode;$5(e,r);var a=Es(e,e===st?ut:0);if(a===0)i!==null&&Dm(i),e.callbackNode=null,e.callbackPriority=0;else if(r=a&-a,e.callbackPriority!==r){if(i!=null&&Dm(i),r===1)e.tag===0?WB(Gv.bind(null,e)):Rg(Gv.bind(null,e)),MB(function(){(Se&6)===0&&so()}),i=null;else{switch(Mm(a)){case 1:i=vc;break;case 4:i=jm;break;case 16:i=Cs;break;case 536870912:i=Om;break;default:i=Cs}i=t0(i,Uv.bind(null,e))}e.callbackPriority=r,e.callbackNode=i}}function Uv(e,r){if(yl=-1,wl=0,(Se&6)!==0)throw Error(n(327));var i=e.callbackNode;if(kn()&&e.callbackNode!==i)return null;var a=Es(e,e===st?ut:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||r)r=kl(e,a);else{r=a;var d=Se;Se|=2;var h=Xv();(st!==e||ut!==r)&&(Lr=null,wn=Qe()+500,Po(e,r));do try{u3();break}catch(C){Kv(e,C)}while(!0);ru(),hl.current=h,Se=d,Ze!==null?r=0:(st=null,ut=0,r=ot)}if(r!==0){if(r===2&&(d=bc(e),d!==0&&(a=d,r=Mu(e,d))),r===1)throw i=xi,Po(e,0),ho(e,a),Ft(e,Qe()),i;if(r===6)ho(e,a);else{if(d=e.current.alternate,(a&30)===0&&!a3(d)&&(r=kl(e,a),r===2&&(h=bc(e),h!==0&&(a=h,r=Mu(e,h))),r===1))throw i=xi,Po(e,0),ho(e,a),Ft(e,Qe()),i;switch(e.finishedWork=d,e.finishedLanes=a,r){case 0:case 1:throw Error(n(345));case 2:Ro(e,Rt,Lr);break;case 3:if(ho(e,a),(a&130023424)===a&&(r=ju+500-Qe(),10<r)){if(Es(e,0)!==0)break;if(d=e.suspendedLanes,(d&a)!==a){kt(),e.pingedLanes|=e.suspendedLanes&d;break}e.timeoutHandle=Vc(Ro.bind(null,e,Rt,Lr),r);break}Ro(e,Rt,Lr);break;case 4:if(ho(e,a),(a&4194240)===a)break;for(r=e.eventTimes,d=-1;0<a;){var w=31-sr(a);h=1<<w,w=r[w],w>d&&(d=w),a&=~h}if(a=d,a=Qe()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*l3(a/1960))-a,10<a){e.timeoutHandle=Vc(Ro.bind(null,e,Rt,Lr),a);break}Ro(e,Rt,Lr);break;case 5:Ro(e,Rt,Lr);break;default:throw Error(n(329))}}}return Ft(e,Qe()),e.callbackNode===i?Uv.bind(null,e):null}function Mu(e,r){var i=Si;return e.current.memoizedState.isDehydrated&&(Po(e,r).flags|=256),e=kl(e,r),e!==2&&(r=Rt,Rt=i,r!==null&&Lu(r)),e}function Lu(e){Rt===null?Rt=e:Rt.push.apply(Rt,e)}function a3(e){for(var r=e;;){if(r.flags&16384){var i=r.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var a=0;a<i.length;a++){var d=i[a],h=d.getSnapshot;d=d.value;try{if(!lr(h(),d))return!1}catch{return!1}}}if(i=r.child,r.subtreeFlags&16384&&i!==null)i.return=r,r=i;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function ho(e,r){for(r&=~Du,r&=~ml,e.suspendedLanes|=r,e.pingedLanes&=~r,e=e.expirationTimes;0<r;){var i=31-sr(r),a=1<<i;e[i]=-1,r&=~a}}function Gv(e){if((Se&6)!==0)throw Error(n(327));kn();var r=Es(e,0);if((r&1)===0)return Ft(e,Qe()),null;var i=kl(e,r);if(e.tag!==0&&i===2){var a=bc(e);a!==0&&(r=a,i=Mu(e,a))}if(i===1)throw i=xi,Po(e,0),ho(e,r),Ft(e,Qe()),i;if(i===6)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=r,Ro(e,Rt,Lr),Ft(e,Qe()),null}function Hu(e,r){var i=Se;Se|=1;try{return e(r)}finally{Se=i,Se===0&&(wn=Qe()+500,Ks&&so())}}function zo(e){fo!==null&&fo.tag===0&&(Se&6)===0&&kn();var r=Se;Se|=1;var i=Yt.transition,a=ze;try{if(Yt.transition=null,ze=1,e)return e()}finally{ze=a,Yt.transition=i,Se=r,(Se&6)===0&&so()}}function qu(){Ht=yn.current,Oe(yn)}function Po(e,r){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,AB(i)),Ze!==null)for(i=Ze.return;i!==null;){var a=i;switch(Yc(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Us();break;case 3:gn(),Oe(Et),Oe(mt),uu();break;case 5:au(a);break;case 4:gn();break;case 13:Oe(qe);break;case 19:Oe(qe);break;case 10:ou(a.type._context);break;case 22:case 23:qu()}i=i.return}if(st=e,Ze=e=mo(e.current,null),ut=Ht=r,ot=0,xi=null,Du=ml=Eo=0,Rt=Si=null,Bo!==null){for(r=0;r<Bo.length;r++)if(i=Bo[r],a=i.interleaved,a!==null){i.interleaved=null;var d=a.next,h=i.pending;if(h!==null){var w=h.next;h.next=d,a.next=w}i.pending=a}Bo=null}return e}function Kv(e,r){do{var i=Ze;try{if(ru(),nl.current=al,il){for(var a=We.memoizedState;a!==null;){var d=a.queue;d!==null&&(d.pending=null),a=a.next}il=!1}if(To=0,it=rt=We=null,gi=!1,vi=0,Iu.current=null,i===null||i.return===null){ot=1,xi=r,Ze=null;break}e:{var h=e,w=i.return,C=i,z=r;if(r=ut,C.flags|=32768,z!==null&&typeof z=="object"&&typeof z.then=="function"){var O=z,V=C,G=V.tag;if((V.mode&1)===0&&(G===0||G===11||G===15)){var W=V.alternate;W?(V.updateQueue=W.updateQueue,V.memoizedState=W.memoizedState,V.lanes=W.lanes):(V.updateQueue=null,V.memoizedState=null)}var J=yv(w);if(J!==null){J.flags&=-257,wv(J,w,C,h,r),J.mode&1&&bv(h,O,r),r=J,z=O;var ne=r.updateQueue;if(ne===null){var ie=new Set;ie.add(z),r.updateQueue=ie}else ne.add(z);break e}else{if((r&1)===0){bv(h,O,r),Wu();break e}z=Error(n(426))}}else if(Me&&C.mode&1){var Ye=yv(w);if(Ye!==null){(Ye.flags&65536)===0&&(Ye.flags|=256),wv(Ye,w,C,h,r),eu(vn(z,C));break e}}h=z=vn(z,C),ot!==4&&(ot=2),Si===null?Si=[h]:Si.push(h),h=w;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var I=gv(h,z,r);Wg(h,I);break e;case 1:C=z;var P=h.type,j=h.stateNode;if((h.flags&128)===0&&(typeof P.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(uo===null||!uo.has(j)))){h.flags|=65536,r&=-r,h.lanes|=r;var K=vv(h,C,r);Wg(h,K);break e}}h=h.return}while(h!==null)}Yv(i)}catch(le){r=le,Ze===i&&i!==null&&(Ze=i=i.return);continue}break}while(!0)}function Xv(){var e=hl.current;return hl.current=al,e===null?al:e}function Wu(){(ot===0||ot===3||ot===2)&&(ot=4),st===null||(Eo&268435455)===0&&(ml&268435455)===0||ho(st,ut)}function kl(e,r){var i=Se;Se|=2;var a=Xv();(st!==e||ut!==r)&&(Lr=null,Po(e,r));do try{c3();break}catch(d){Kv(e,d)}while(!0);if(ru(),Se=i,hl.current=a,Ze!==null)throw Error(n(261));return st=null,ut=0,ot}function c3(){for(;Ze!==null;)Qv(Ze)}function u3(){for(;Ze!==null&&!D5();)Qv(Ze)}function Qv(e){var r=e0(e.alternate,e,Ht);e.memoizedProps=e.pendingProps,r===null?Yv(e):Ze=r,Iu.current=null}function Yv(e){var r=e;do{var i=r.alternate;if(e=r.return,(r.flags&32768)===0){if(i=r3(i,r,Ht),i!==null){Ze=i;return}}else{if(i=o3(i,r),i!==null){i.flags&=32767,Ze=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ot=6,Ze=null;return}}if(r=r.sibling,r!==null){Ze=r;return}Ze=r=e}while(r!==null);ot===0&&(ot=5)}function Ro(e,r,i){var a=ze,d=Yt.transition;try{Yt.transition=null,ze=1,d3(e,r,i,a)}finally{Yt.transition=d,ze=a}return null}function d3(e,r,i,a){do kn();while(fo!==null);if((Se&6)!==0)throw Error(n(327));i=e.finishedWork;var d=e.finishedLanes;if(i===null)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var h=i.lanes|i.childLanes;if(V5(e,h),e===st&&(Ze=st=null,ut=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||vl||(vl=!0,t0(Cs,function(){return kn(),null})),h=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||h){h=Yt.transition,Yt.transition=null;var w=ze;ze=1;var C=Se;Se|=4,Iu.current=null,i3(e,i),Hv(i,e),PB(Wc),Rs=!!qc,Wc=qc=null,e.current=i,s3(i),j5(),Se=C,ze=w,Yt.transition=h}else e.current=i;if(vl&&(vl=!1,fo=e,bl=d),h=e.pendingLanes,h===0&&(uo=null),M5(i.stateNode),Ft(e,Qe()),r!==null)for(a=e.onRecoverableError,i=0;i<r.length;i++)d=r[i],a(d.value,{componentStack:d.stack,digest:d.digest});if(gl)throw gl=!1,e=Ou,Ou=null,e;return(bl&1)!==0&&e.tag!==0&&kn(),h=e.pendingLanes,(h&1)!==0?e===Au?_i++:(_i=0,Au=e):_i=0,so(),null}function kn(){if(fo!==null){var e=Mm(bl),r=Yt.transition,i=ze;try{if(Yt.transition=null,ze=16>e?16:e,fo===null)var a=!1;else{if(e=fo,fo=null,bl=0,(Se&6)!==0)throw Error(n(331));var d=Se;for(Se|=4,oe=e.current;oe!==null;){var h=oe,w=h.child;if((oe.flags&16)!==0){var C=h.deletions;if(C!==null){for(var z=0;z<C.length;z++){var O=C[z];for(oe=O;oe!==null;){var V=oe;switch(V.tag){case 0:case 11:case 15:ki(8,V,h)}var G=V.child;if(G!==null)G.return=V,oe=G;else for(;oe!==null;){V=oe;var W=V.sibling,J=V.return;if(jv(V),V===O){oe=null;break}if(W!==null){W.return=J,oe=W;break}oe=J}}}var ne=h.alternate;if(ne!==null){var ie=ne.child;if(ie!==null){ne.child=null;do{var Ye=ie.sibling;ie.sibling=null,ie=Ye}while(ie!==null)}}oe=h}}if((h.subtreeFlags&2064)!==0&&w!==null)w.return=h,oe=w;else e:for(;oe!==null;){if(h=oe,(h.flags&2048)!==0)switch(h.tag){case 0:case 11:case 15:ki(9,h,h.return)}var I=h.sibling;if(I!==null){I.return=h.return,oe=I;break e}oe=h.return}}var P=e.current;for(oe=P;oe!==null;){w=oe;var j=w.child;if((w.subtreeFlags&2064)!==0&&j!==null)j.return=w,oe=j;else e:for(w=P;oe!==null;){if(C=oe,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:pl(9,C)}}catch(le){Ue(C,C.return,le)}if(C===w){oe=null;break e}var K=C.sibling;if(K!==null){K.return=C.return,oe=K;break e}oe=C.return}}if(Se=d,so(),wr&&typeof wr.onPostCommitFiberRoot=="function")try{wr.onPostCommitFiberRoot(Bs,e)}catch{}a=!0}return a}finally{ze=i,Yt.transition=r}}return!1}function Jv(e,r,i){r=vn(i,r),r=gv(e,r,1),e=ao(e,r,1),r=kt(),e!==null&&(Kn(e,1,r),Ft(e,r))}function Ue(e,r,i){if(e.tag===3)Jv(e,e,i);else for(;r!==null;){if(r.tag===3){Jv(r,e,i);break}else if(r.tag===1){var a=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(uo===null||!uo.has(a))){e=vn(i,e),e=vv(r,e,1),r=ao(r,e,1),e=kt(),r!==null&&(Kn(r,1,e),Ft(r,e));break}}r=r.return}}function f3(e,r,i){var a=e.pingCache;a!==null&&a.delete(r),r=kt(),e.pingedLanes|=e.suspendedLanes&i,st===e&&(ut&i)===i&&(ot===4||ot===3&&(ut&130023424)===ut&&500>Qe()-ju?Po(e,0):Du|=i),Ft(e,r)}function Zv(e,r){r===0&&((e.mode&1)===0?r=1:(r=Ts,Ts<<=1,(Ts&130023424)===0&&(Ts=4194304)));var i=kt();e=Or(e,r),e!==null&&(Kn(e,r,i),Ft(e,i))}function p3(e){var r=e.memoizedState,i=0;r!==null&&(i=r.retryLane),Zv(e,i)}function h3(e,r){var i=0;switch(e.tag){case 13:var a=e.stateNode,d=e.memoizedState;d!==null&&(i=d.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(n(314))}a!==null&&a.delete(r),Zv(e,i)}var e0;e0=function(e,r,i){if(e!==null)if(e.memoizedProps!==r.pendingProps||Et.current)Pt=!0;else{if((e.lanes&i)===0&&(r.flags&128)===0)return Pt=!1,t3(e,r,i);Pt=(e.flags&131072)!==0}else Pt=!1,Me&&(r.flags&1048576)!==0&&Fg(r,Qs,r.index);switch(r.lanes=0,r.tag){case 2:var a=r.type;dl(e,r),e=r.pendingProps;var d=cn(r,mt.current);mn(r,i),d=pu(null,r,a,e,d,i);var h=hu();return r.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,zt(a)?(h=!0,Gs(r)):h=!1,r.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,su(r),d.updater=cl,r.stateNode=d,d._reactInternals=r,wu(r,a,e,i),r=_u(null,r,a,!0,h,i)):(r.tag=0,Me&&h&&Qc(r),wt(null,r,d,i),r=r.child),r;case 16:a=r.elementType;e:{switch(dl(e,r),e=r.pendingProps,d=a._init,a=d(a._payload),r.type=a,d=r.tag=g3(a),e=cr(a,e),d){case 0:r=Su(null,r,a,e,i);break e;case 1:r=Bv(null,r,a,e,i);break e;case 11:r=kv(null,r,a,e,i);break e;case 14:r=xv(null,r,a,cr(a.type,e),i);break e}throw Error(n(306,a,""))}return r;case 0:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:cr(a,d),Su(e,r,a,d,i);case 1:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:cr(a,d),Bv(e,r,a,d,i);case 3:e:{if(Nv(r),e===null)throw Error(n(387));a=r.pendingProps,h=r.memoizedState,d=h.element,qg(e,r),rl(r,a,null,i);var w=r.memoizedState;if(a=w.element,h.isDehydrated)if(h={element:a,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){d=vn(Error(n(423)),r),r=Tv(e,r,a,i,d);break e}else if(a!==d){d=vn(Error(n(424)),r),r=Tv(e,r,a,i,d);break e}else for(Lt=oo(r.stateNode.containerInfo.firstChild),Mt=r,Me=!0,ar=null,i=Lg(r,null,a,i),r.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(fn(),a===d){r=Mr(e,r,i);break e}wt(e,r,a,i)}r=r.child}return r;case 5:return Vg(r),e===null&&Zc(r),a=r.type,d=r.pendingProps,h=e!==null?e.memoizedProps:null,w=d.children,$c(a,d)?w=null:h!==null&&$c(a,h)&&(r.flags|=32),Cv(e,r),wt(e,r,w,i),r.child;case 6:return e===null&&Zc(r),null;case 13:return Ev(e,r,i);case 4:return lu(r,r.stateNode.containerInfo),a=r.pendingProps,e===null?r.child=pn(r,null,a,i):wt(e,r,a,i),r.child;case 11:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:cr(a,d),kv(e,r,a,d,i);case 7:return wt(e,r,r.pendingProps,i),r.child;case 8:return wt(e,r,r.pendingProps.children,i),r.child;case 12:return wt(e,r,r.pendingProps.children,i),r.child;case 10:e:{if(a=r.type._context,d=r.pendingProps,h=r.memoizedProps,w=d.value,De(Zs,a._currentValue),a._currentValue=w,h!==null)if(lr(h.value,w)){if(h.children===d.children&&!Et.current){r=Mr(e,r,i);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var C=h.dependencies;if(C!==null){w=h.child;for(var z=C.firstContext;z!==null;){if(z.context===a){if(h.tag===1){z=Ar(-1,i&-i),z.tag=2;var O=h.updateQueue;if(O!==null){O=O.shared;var V=O.pending;V===null?z.next=z:(z.next=V.next,V.next=z),O.pending=z}}h.lanes|=i,z=h.alternate,z!==null&&(z.lanes|=i),nu(h.return,i,r),C.lanes|=i;break}z=z.next}}else if(h.tag===10)w=h.type===r.type?null:h.child;else if(h.tag===18){if(w=h.return,w===null)throw Error(n(341));w.lanes|=i,C=w.alternate,C!==null&&(C.lanes|=i),nu(w,i,r),w=h.sibling}else w=h.child;if(w!==null)w.return=h;else for(w=h;w!==null;){if(w===r){w=null;break}if(h=w.sibling,h!==null){h.return=w.return,w=h;break}w=w.return}h=w}wt(e,r,d.children,i),r=r.child}return r;case 9:return d=r.type,a=r.pendingProps.children,mn(r,i),d=Xt(d),a=a(d),r.flags|=1,wt(e,r,a,i),r.child;case 14:return a=r.type,d=cr(a,r.pendingProps),d=cr(a.type,d),xv(e,r,a,d,i);case 15:return Sv(e,r,r.type,r.pendingProps,i);case 17:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:cr(a,d),dl(e,r),r.tag=1,zt(a)?(e=!0,Gs(r)):e=!1,mn(r,i),hv(r,a,d),wu(r,a,d,i),_u(null,r,a,!0,e,i);case 19:return Pv(e,r,i);case 22:return _v(e,r,i)}throw Error(n(156,r.tag))};function t0(e,r){return Im(e,r)}function m3(e,r,i,a){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jt(e,r,i,a){return new m3(e,r,i,a)}function $u(e){return e=e.prototype,!(!e||!e.isReactComponent)}function g3(e){if(typeof e=="function")return $u(e)?1:0;if(e!=null){if(e=e.$$typeof,e===he)return 11;if(e===xe)return 14}return 2}function mo(e,r){var i=e.alternate;return i===null?(i=Jt(e.tag,r,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=r,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,r=e.dependencies,i.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function xl(e,r,i,a,d,h){var w=2;if(a=e,typeof e=="function")$u(e)&&(w=1);else if(typeof e=="string")w=5;else e:switch(e){case A:return Fo(i.children,d,h,r);case H:w=8,d|=8;break;case Q:return e=Jt(12,i,r,d|2),e.elementType=Q,e.lanes=h,e;case q:return e=Jt(13,i,r,d),e.elementType=q,e.lanes=h,e;case te:return e=Jt(19,i,r,d),e.elementType=te,e.lanes=h,e;case pe:return Sl(i,d,h,r);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Z:w=10;break e;case ve:w=9;break e;case he:w=11;break e;case xe:w=14;break e;case be:w=16,a=null;break e}throw Error(n(130,e==null?e:typeof e,""))}return r=Jt(w,i,r,d),r.elementType=e,r.type=a,r.lanes=h,r}function Fo(e,r,i,a){return e=Jt(7,e,a,r),e.lanes=i,e}function Sl(e,r,i,a){return e=Jt(22,e,a,r),e.elementType=pe,e.lanes=i,e.stateNode={isHidden:!1},e}function Vu(e,r,i){return e=Jt(6,e,null,r),e.lanes=i,e}function Uu(e,r,i){return r=Jt(4,e.children!==null?e.children:[],e.key,r),r.lanes=i,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function v3(e,r,i,a,d){this.tag=r,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yc(0),this.expirationTimes=yc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yc(0),this.identifierPrefix=a,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function Gu(e,r,i,a,d,h,w,C,z){return e=new v3(e,r,i,C,z),r===1?(r=1,h===!0&&(r|=8)):r=0,h=Jt(3,null,null,r),e.current=h,h.stateNode=e,h.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},su(h),e}function b3(e,r,i){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:D,key:a==null?null:""+a,children:e,containerInfo:r,implementation:i}}function r0(e){if(!e)return io;e=e._reactInternals;e:{if(ko(e)!==e||e.tag!==1)throw Error(n(170));var r=e;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(zt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(n(171))}if(e.tag===1){var i=e.type;if(zt(i))return zg(e,i,r)}return r}function o0(e,r,i,a,d,h,w,C,z){return e=Gu(i,a,!0,e,d,h,w,C,z),e.context=r0(null),i=e.current,a=kt(),d=po(i),h=Ar(a,d),h.callback=r??null,ao(i,h,d),e.current.lanes=d,Kn(e,d,a),Ft(e,a),e}function _l(e,r,i,a){var d=r.current,h=kt(),w=po(d);return i=r0(i),r.context===null?r.context=i:r.pendingContext=i,r=Ar(h,w),r.payload={element:e},a=a===void 0?null:a,a!==null&&(r.callback=a),e=ao(d,r,w),e!==null&&(fr(e,d,w,h),tl(e,d,w)),w}function Cl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function n0(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<r?i:r}}function Ku(e,r){n0(e,r),(e=e.alternate)&&n0(e,r)}function y3(){return null}var i0=typeof reportError=="function"?reportError:function(e){console.error(e)};function Xu(e){this._internalRoot=e}Bl.prototype.render=Xu.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(n(409));_l(e,r,null,null)},Bl.prototype.unmount=Xu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;zo(function(){_l(null,e,null,null)}),r[Fr]=null}};function Bl(e){this._internalRoot=e}Bl.prototype.unstable_scheduleHydration=function(e){if(e){var r=qm();e={blockedOn:null,target:e,priority:r};for(var i=0;i<eo.length&&r!==0&&r<eo[i].priority;i++);eo.splice(i,0,e),i===0&&Vm(e)}};function Qu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Nl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function s0(){}function w3(e,r,i,a,d){if(d){if(typeof a=="function"){var h=a;a=function(){var O=Cl(w);h.call(O)}}var w=o0(r,a,e,0,null,!1,!1,"",s0);return e._reactRootContainer=w,e[Fr]=w.current,ai(e.nodeType===8?e.parentNode:e),zo(),w}for(;d=e.lastChild;)e.removeChild(d);if(typeof a=="function"){var C=a;a=function(){var O=Cl(z);C.call(O)}}var z=Gu(e,0,!1,null,null,!1,!1,"",s0);return e._reactRootContainer=z,e[Fr]=z.current,ai(e.nodeType===8?e.parentNode:e),zo(function(){_l(r,z,i,a)}),z}function Tl(e,r,i,a,d){var h=i._reactRootContainer;if(h){var w=h;if(typeof d=="function"){var C=d;d=function(){var z=Cl(w);C.call(z)}}_l(r,w,e,d)}else w=w3(i,r,e,d,a);return Cl(w)}Lm=function(e){switch(e.tag){case 3:var r=e.stateNode;if(r.current.memoizedState.isDehydrated){var i=Gn(r.pendingLanes);i!==0&&(wc(r,i|1),Ft(r,Qe()),(Se&6)===0&&(wn=Qe()+500,so()))}break;case 13:zo(function(){var a=Or(e,1);if(a!==null){var d=kt();fr(a,e,1,d)}}),Ku(e,1)}},kc=function(e){if(e.tag===13){var r=Or(e,134217728);if(r!==null){var i=kt();fr(r,e,134217728,i)}Ku(e,134217728)}},Hm=function(e){if(e.tag===13){var r=po(e),i=Or(e,r);if(i!==null){var a=kt();fr(i,e,r,a)}Ku(e,r)}},qm=function(){return ze},Wm=function(e,r){var i=ze;try{return ze=e,r()}finally{ze=i}},pc=function(e,r,i){switch(r){case"input":if(ic(e,i),r=i.name,i.type==="radio"&&r!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<i.length;r++){var a=i[r];if(a!==e&&a.form===e.form){var d=Vs(a);if(!d)throw Error(n(90));pm(a),ic(a,d)}}}break;case"textarea":bm(e,i);break;case"select":r=i.value,r!=null&&Qo(e,!!i.multiple,r,!1)}},Nm=Hu,Tm=zo;var k3={usingClientEntryPoint:!1,Events:[di,ln,Vs,Cm,Bm,Hu]},Ci={findFiberByHostInstance:xo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},x3={bundleType:Ci.bundleType,version:Ci.version,rendererPackageName:Ci.rendererPackageName,rendererConfig:Ci.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Rm(e),e===null?null:e.stateNode},findFiberByHostInstance:Ci.findFiberByHostInstance||y3,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var El=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!El.isDisabled&&El.supportsFiber)try{Bs=El.inject(x3),wr=El}catch{}}return xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=k3,xt.createPortal=function(e,r){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Qu(r))throw Error(n(200));return b3(e,r,null,i)},xt.createRoot=function(e,r){if(!Qu(e))throw Error(n(299));var i=!1,a="",d=i0;return r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(d=r.onRecoverableError)),r=Gu(e,1,!1,null,null,i,!1,a,d),e[Fr]=r.current,ai(e.nodeType===8?e.parentNode:e),new Xu(r)},xt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(n(188)):(e=Object.keys(e).join(","),Error(n(268,e)));return e=Rm(r),e=e===null?null:e.stateNode,e},xt.flushSync=function(e){return zo(e)},xt.hydrate=function(e,r,i){if(!Nl(r))throw Error(n(200));return Tl(null,e,r,!0,i)},xt.hydrateRoot=function(e,r,i){if(!Qu(e))throw Error(n(405));var a=i!=null&&i.hydratedSources||null,d=!1,h="",w=i0;if(i!=null&&(i.unstable_strictMode===!0&&(d=!0),i.identifierPrefix!==void 0&&(h=i.identifierPrefix),i.onRecoverableError!==void 0&&(w=i.onRecoverableError)),r=o0(r,null,e,1,i??null,d,!1,h,w),e[Fr]=r.current,ai(e),a)for(e=0;e<a.length;e++)i=a[e],d=i._getVersion,d=d(i._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[i,d]:r.mutableSourceEagerHydrationData.push(i,d);return new Bl(r)},xt.render=function(e,r,i){if(!Nl(r))throw Error(n(200));return Tl(null,e,r,!1,i)},xt.unmountComponentAtNode=function(e){if(!Nl(e))throw Error(n(40));return e._reactRootContainer?(zo(function(){Tl(null,null,e,!1,function(){e._reactRootContainer=null,e[Fr]=null})}),!0):!1},xt.unstable_batchedUpdates=Hu,xt.unstable_renderSubtreeIntoContainer=function(e,r,i,a){if(!Nl(i))throw Error(n(200));if(e==null||e._reactInternals===void 0)throw Error(n(38));return Tl(e,r,i,!1,a)},xt.version="18.3.1-next-f1338f8080-20240426",xt}var ad;function cd(){if(ad)return Il.exports;ad=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(o){console.error(o)}}return t(),Il.exports=p0(),Il.exports}var ud;function h0(){if(ud)return Ni;ud=1;var t=cd();return Ni.createRoot=t.createRoot,Ni.hydrateRoot=t.hydrateRoot,Ni}var m0=h0();const g0=t=>{const o=[];return t.forEach(n=>{const s=n.pluginassemblyid,l=n.name,c=n.version;typeof s=="string"&&typeof l=="string"&&typeof c=="string"&&o.push({pluginassemblyid:s,name:l,version:c})}),o},v0=t=>{const o=[];return t.forEach(n=>{const s=n.name,l=n.sdkmessageprocessingstepid,c=n["mode@OData.Community.Display.V1.FormattedValue"],u=n.rank,p=n["stage@OData.Community.Display.V1.FormattedValue"],f=n.filteringattributes||"",m=n.sdkmessageid,g=n.eventhandler_plugintype,v=n.sdkmessagefilterid;o.push({id:l,name:s,mode:c,rank:u,stage:p,filteringattributes:f,sdkMessage:m?m.name:"",primaryobjecttypecode:v?v.primaryobjecttypecode:"",primaryobjecttypecodeDisplayname:v?v["primaryobjecttypecode@OData.Community.Display.V1.FormattedValue"]:"",eventHandler:g?g.name:""})}),o};class b0{logCallback=null;setLogCallback(o){this.logCallback=o}log(o,n="info"){this.logCallback?this.logCallback(o,n):console.log(`[${n.toUpperCase()}] ${o}`)}info(o){this.log(o,"info")}success(o){this.log(o,"success")}warning(o){this.log(o,"warning")}error(o){this.log(o,"error")}}const et=new b0,y0=async()=>{const o=await dd("/pluginassemblies?$select=name,pluginassemblyid,version");return g0(o)},w0=async t=>{let o=`sdkmessageprocessingsteps?$select=filteringattributes,mode,name,rank,stage&$expand=eventhandler_plugintype($select=name,typename),sdkmessageid($select=name),sdkmessagefilterid($select=name,primaryobjecttypecode)&$filter=(eventhandler_plugintype/_pluginassemblyid_value eq ${t}) and (sdkmessageid/sdkmessageid ne null)`;const n=await dd(o);return v0(n)},dd=async t=>{const o=[];for(;t;){et.info(`Fetching data from URL: ${t}`);let n=t;if(t.startsWith("http")){const l=new URL(t),c=/^\/api\/data\/v\d+\.\d+\//;n=l.pathname.replace(c,"")+l.search}et.info(`Cleaned URL: ${n}`);const s=await window.dataverseAPI.queryData(n);o.push(...s.value),t=s["@odata.nextLink"]||null}return o},Ol=typeof window>"u"?global:window,Al="@griffel/";function k0(t,o){return Ol[Symbol.for(Al+t)]||(Ol[Symbol.for(Al+t)]=o),Ol[Symbol.for(Al+t)]}const Ml=k0("DEFINITION_LOOKUP_TABLE",{}),Sn="data-make-styles-bucket",x0="data-priority",Ll="f",Hl=7,ql="___",S0=ql.length+Hl,_0=0,C0=1,B0={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},Wl="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function _n(t){for(var o=0,n,s=0,l=t.length;l>=4;++s,l-=4)n=t.charCodeAt(s)&255|(t.charCodeAt(++s)&255)<<8|(t.charCodeAt(++s)&255)<<16|(t.charCodeAt(++s)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,o=(n&65535)*1540483477+((n>>>16)*59797<<16)^(o&65535)*1540483477+((o>>>16)*59797<<16);switch(l){case 3:o^=(t.charCodeAt(s+2)&255)<<16;case 2:o^=(t.charCodeAt(s+1)&255)<<8;case 1:o^=t.charCodeAt(s)&255,o=(o&65535)*1540483477+((o>>>16)*59797<<16)}return o^=o>>>13,o=(o&65535)*1540483477+((o>>>16)*59797<<16),((o^o>>>15)>>>0).toString(36)}function N0(t){const o=t.length;if(o===Hl)return t;for(let n=o;n<Hl;n++)t+="0";return t}function fd(t,o,n=[]){return ql+N0(_n(t+o))}function pd(t,o){let n="",s="";for(const l in t){const c=t[l];if(c===0){s+=l+" ";continue}const u=Array.isArray(c),p=o==="rtl"?(u?c[1]:c)+" ":(u?c[0]:c)+" ";n+=p,s+=p}return[n.slice(0,-1),s.slice(0,-1)]}function Ti(t,o){const n={};for(const s in t){const[l,c]=pd(t[s],o);if(c===""){n[s]="";continue}const u=fd(c,o),p=u+(l===""?"":" "+l);Ml[u]=[t[s],o],n[s]=p}return n}const hd={};function re(){let t=null,o="",n="";const s=new Array(arguments.length);for(let v=0;v<arguments.length;v++){const k=arguments[v];if(typeof k=="string"&&k!==""){const y=k.indexOf(ql);if(y===-1)o+=k+" ";else{const x=k.substr(y,S0);y>0&&(o+=k.slice(0,y)),n+=x,s[v]=x}}}if(n==="")return o.slice(0,-1);const l=hd[n];if(l!==void 0)return o+l;const c=[];for(let v=0;v<arguments.length;v++){const k=s[v];if(k){const y=Ml[k];y&&(c.push(y[_0]),t=y[C0])}}const u=Object.assign.apply(Object,[{}].concat(c)),[p,f]=pd(u,t),m=fd(f,t,s),g=m+" "+p;return hd[n]=g,Ml[m]=[u,t],o+g}function T0(t){return Array.isArray(t)?t:[t]}function E0(t,o,n,s){const l=[];if(s[Sn]=o,s[x0]=String(n),t)for(const u in s)t.setAttribute(u,s[u]);function c(u){return t?.sheet?t.sheet.insertRule(u,t.sheet.cssRules.length):l.push(u)}return{elementAttributes:s,insertRule:c,element:t,bucketName:o,cssRules(){return t?.sheet?Array.from(t.sheet.cssRules).map(u=>u.cssText):l}}}const md=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((t,o,n)=>(t[o]=n,t),{});function z0(t,o,n){return(t==="m"?t+o:t)+n}function P0(t,o,n,s,l={}){var c,u;const p=t==="m",f=(c=l.m)!==null&&c!==void 0?c:"0",m=(u=l.p)!==null&&u!==void 0?u:0,g=z0(t,f,m);if(!s.stylesheets[g]){const v=o&&o.createElement("style"),k=E0(v,t,m,Object.assign({},s.styleElementAttributes,p&&{media:f}));s.stylesheets[g]=k,o?.head&&v&&o.head.insertBefore(v,F0(o,n,t,s,l))}return s.stylesheets[g]}function R0(t,o,n){var s,l;const c=o+((s=n.m)!==null&&s!==void 0?s:""),u=t.getAttribute(Sn)+((l=t.media)!==null&&l!==void 0?l:"");return c===u}function F0(t,o,n,s,l={}){var c,u;const p=md[n],f=(c=l.m)!==null&&c!==void 0?c:"",m=(u=l.p)!==null&&u!==void 0?u:0;let g=b=>p-md[b.getAttribute(Sn)],v=t.head.querySelectorAll(`[${Sn}]`);if(n==="m"){const b=t.head.querySelectorAll(`[${Sn}="${n}"]`);b.length&&(v=b,g=_=>s.compareMediaQueries(f,_.media))}const k=b=>R0(b,n,l)?m-Number(b.getAttribute("data-priority")):g(b),y=v.length;let x=y-1;for(;x>=0;){const b=v.item(x);if(k(b)>0)return b.nextSibling;x--}return y>0?v.item(0):o?o.nextSibling:null}function gd(t,o){try{t.insertRule(o)}catch{}}let I0=0;const D0=(t,o)=>t<o?-1:t>o?1:0;function j0(t=typeof document>"u"?void 0:document,o={}){const{classNameHashSalt:n,unstable_filterCSSRule:s,insertionPoint:l,styleElementAttributes:c,compareMediaQueries:u=D0}=o,p={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${I0++}`,insertCSSRules(f){for(const m in f){const g=f[m];for(let v=0,k=g.length;v<k;v++){const[y,x]=T0(g[v]),b=P0(m,t,l||null,p,x);p.insertionCache[y]||(p.insertionCache[y]=m,s?s(y)&&gd(b,y):gd(b,y))}}}};return p}const $l=()=>{const t={};return function(n,s){t[n.id]===void 0&&(n.insertCSSRules(s),t[n.id]=!0)}};function vd(t){return t.reduce(function(o,n){var s=n[0],l=n[1];return o[s]=l,o[l]=s,o},{})}function O0(t){return typeof t=="boolean"}function A0(t){return typeof t=="function"}function Cn(t){return typeof t=="number"}function M0(t){return t===null||typeof t>"u"}function L0(t){return t&&typeof t=="object"}function H0(t){return typeof t=="string"}function Ei(t,o){return t.indexOf(o)!==-1}function q0(t){return parseFloat(t)===0?t:t[0]==="-"?t.slice(1):"-"+t}function zi(t,o,n,s){return o+q0(n)+s}function W0(t){var o=t.indexOf(".");if(o===-1)t=100-parseFloat(t)+"%";else{var n=t.length-o-2;t=100-parseFloat(t),t=t.toFixed(n)+"%"}return t}function bd(t){return t.replace(/ +/g," ").split(" ").map(function(o){return o.trim()}).filter(Boolean).reduce(function(o,n){var s=o.list,l=o.state,c=(n.match(/\(/g)||[]).length,u=(n.match(/\)/g)||[]).length;return l.parensDepth>0?s[s.length-1]=s[s.length-1]+" "+n:s.push(n),l.parensDepth+=c-u,{list:s,state:l}},{list:[],state:{parensDepth:0}}).list}function yd(t){var o=bd(t);if(o.length<=3||o.length>4)return t;var n=o[0],s=o[1],l=o[2],c=o[3];return[n,c,l,s].join(" ")}function $0(t){return!O0(t)&&!M0(t)}function V0(t){for(var o=[],n=0,s=0,l=!1;s<t.length;)!l&&t[s]===","?(o.push(t.substring(n,s).trim()),s++,n=s):t[s]==="("?(l=!0,s++):(t[s]===")"&&(l=!1),s++);return n!=s&&o.push(t.substring(n,s+1)),o}var $={padding:function(o){var n=o.value;return Cn(n)?n:yd(n)},textShadow:function(o){var n=o.value,s=V0(n).map(function(l){return l.replace(/(^|\s)(-*)([.|\d]+)/,function(c,u,p,f){if(f==="0")return c;var m=p===""?"-":"";return""+u+m+f})});return s.join(",")},borderColor:function(o){var n=o.value;return yd(n)},borderRadius:function(o){var n=o.value;if(Cn(n))return n;if(Ei(n,"/")){var s=n.split("/"),l=s[0],c=s[1],u=$.borderRadius({value:l.trim()}),p=$.borderRadius({value:c.trim()});return u+" / "+p}var f=bd(n);switch(f.length){case 2:return f.reverse().join(" ");case 4:{var m=f[0],g=f[1],v=f[2],k=f[3];return[g,m,k,v].join(" ")}default:return n}},background:function(o){var n=o.value,s=o.valuesToConvert,l=o.isRtl,c=o.bgImgDirectionRegex,u=o.bgPosDirectionRegex;if(Cn(n))return n;var p=n.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return n=n.replace(p,$.backgroundPosition({value:p,valuesToConvert:s,isRtl:l,bgPosDirectionRegex:u})),$.backgroundImage({value:n,valuesToConvert:s,bgImgDirectionRegex:c})},backgroundImage:function(o){var n=o.value,s=o.valuesToConvert,l=o.bgImgDirectionRegex;return!Ei(n,"url(")&&!Ei(n,"linear-gradient(")?n:n.replace(l,function(c,u,p){return c.replace(p,s[p])})},backgroundPosition:function(o){var n=o.value,s=o.valuesToConvert,l=o.isRtl,c=o.bgPosDirectionRegex;return n.replace(l?/^((-|\d|\.)+%)/:null,function(u,p){return W0(p)}).replace(c,function(u){return s[u]})},backgroundPositionX:function(o){var n=o.value,s=o.valuesToConvert,l=o.isRtl,c=o.bgPosDirectionRegex;return Cn(n)?n:$.backgroundPosition({value:n,valuesToConvert:s,isRtl:l,bgPosDirectionRegex:c})},transition:function(o){var n=o.value,s=o.propertiesToConvert;return n.split(/,\s*/g).map(function(l){var c=l.split(" ");return c[0]=s[c[0]]||c[0],c.join(" ")}).join(", ")},transitionProperty:function(o){var n=o.value,s=o.propertiesToConvert;return n.split(/,\s*/g).map(function(l){return s[l]||l}).join(", ")},transform:function(o){var n=o.value,s="[^\\u0020-\\u007e]",l="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+s+"|"+l+")")+("(?:[_a-z0-9-]|"+s+"|"+l+")")+"*")+")?")+")|(?:inherit|auto))",u=new RegExp("(translateX\\s*\\(\\s*)"+c+"(\\s*\\))","gi"),p=new RegExp("(translate\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,1}\\s*\\))","gi"),f=new RegExp("(translate3d\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,2}\\s*\\))","gi"),m=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+c+"(\\s*\\))","gi");return n.replace(u,zi).replace(p,zi).replace(f,zi).replace(m,zi)}};$.objectPosition=$.backgroundPosition,$.margin=$.padding,$.borderWidth=$.padding,$.boxShadow=$.textShadow,$.webkitBoxShadow=$.boxShadow,$.mozBoxShadow=$.boxShadow,$.WebkitBoxShadow=$.boxShadow,$.MozBoxShadow=$.boxShadow,$.borderStyle=$.borderColor,$.webkitTransform=$.transform,$.mozTransform=$.transform,$.WebkitTransform=$.transform,$.MozTransform=$.transform,$.transformOrigin=$.backgroundPosition,$.webkitTransformOrigin=$.transformOrigin,$.mozTransformOrigin=$.transformOrigin,$.WebkitTransformOrigin=$.transformOrigin,$.MozTransformOrigin=$.transformOrigin,$.webkitTransition=$.transition,$.mozTransition=$.transition,$.WebkitTransition=$.transition,$.MozTransition=$.transition,$.webkitTransitionProperty=$.transitionProperty,$.mozTransitionProperty=$.transitionProperty,$.WebkitTransitionProperty=$.transitionProperty,$.MozTransitionProperty=$.transitionProperty,$["text-shadow"]=$.textShadow,$["border-color"]=$.borderColor,$["border-radius"]=$.borderRadius,$["background-image"]=$.backgroundImage,$["background-position"]=$.backgroundPosition,$["background-position-x"]=$.backgroundPositionX,$["object-position"]=$.objectPosition,$["border-width"]=$.padding,$["box-shadow"]=$.textShadow,$["-webkit-box-shadow"]=$.textShadow,$["-moz-box-shadow"]=$.textShadow,$["border-style"]=$.borderColor,$["-webkit-transform"]=$.transform,$["-moz-transform"]=$.transform,$["transform-origin"]=$.transformOrigin,$["-webkit-transform-origin"]=$.transformOrigin,$["-moz-transform-origin"]=$.transformOrigin,$["-webkit-transition"]=$.transition,$["-moz-transition"]=$.transition,$["transition-property"]=$.transitionProperty,$["-webkit-transition-property"]=$.transitionProperty,$["-moz-transition-property"]=$.transitionProperty;var wd=vd([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),U0=["content"],kd=vd([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),G0=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),K0=new RegExp("(left)|(right)");function xd(t){return Object.keys(t).reduce(function(o,n){var s=t[n];if(H0(s)&&(s=s.trim()),Ei(U0,n))return o[n]=s,o;var l=Vl(n,s),c=l.key,u=l.value;return o[c]=u,o},Array.isArray(t)?[]:{})}function Vl(t,o){var n=/\/\*\s?@noflip\s?\*\//.test(o),s=n?t:X0(t),l=n?o:Q0(s,o);return{key:s,value:l}}function X0(t){return wd[t]||t}function Q0(t,o){if(!$0(o))return o;if(L0(o))return xd(o);var n=Cn(o),s=A0(o),l=n||s?o:o.replace(/ !important.*?$/,""),c=!n&&l.length!==o.length,u=$[t],p;return u?p=u({value:l,valuesToConvert:kd,propertiesToConvert:wd,isRtl:!0,bgImgDirectionRegex:G0,bgPosDirectionRegex:K0}):p=kd[l]||l,c?p+" !important":p}const Y0=/[A-Z]/g,J0=/^ms-/,Ul={};function Z0(t){return"-"+t.toLowerCase()}function Io(t){if(Object.prototype.hasOwnProperty.call(Ul,t))return Ul[t];if(t.substr(0,2)==="--")return t;const o=t.replace(Y0,Z0);return Ul[t]=J0.test(o)?"-"+o:o}function Sd(t){return t.charAt(0)==="&"?t.slice(1):t}var Bn="-moz-",Zt="-webkit-",_d="comm",Pi="rule",Gl="decl",e1="@media",t1="@import",r1="@supports",o1="@namespace",n1="@keyframes",Cd="@layer",Bd=Math.abs,Ri=String.fromCharCode,i1=Object.assign;function s1(t,o){return dt(t,0)^45?(((o<<2^dt(t,0))<<2^dt(t,1))<<2^dt(t,2))<<2^dt(t,3):0}function Nd(t){return t.trim()}function Td(t,o){return(t=o.exec(t))?t[0]:t}function St(t,o,n){return t.replace(o,n)}function Ed(t,o,n){return t.indexOf(o,n)}function dt(t,o){return t.charCodeAt(o)|0}function Do(t,o,n){return t.slice(o,n)}function er(t){return t.length}function zd(t){return t.length}function vo(t,o){return o.push(t),t}function l1(t,o){return t.map(o).join("")}var Fi=1,jo=1,Pd=0,It=0,Le=0,Oo="";function Ii(t,o,n,s,l,c,u,p){return{value:t,root:o,parent:n,type:s,props:l,children:c,line:Fi,column:jo,length:u,return:"",siblings:p}}function Kl(t,o){return i1(Ii("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},o)}function a1(){return Le}function c1(){return Le=It>0?dt(Oo,--It):0,jo--,Le===10&&(jo=1,Fi--),Le}function qt(){return Le=It<Pd?dt(Oo,It++):0,jo++,Le===10&&(jo=1,Fi++),Le}function Hr(){return dt(Oo,It)}function Di(){return It}function ji(t,o){return Do(Oo,t,o)}function Ao(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Rd(t){return Fi=jo=1,Pd=er(Oo=t),It=0,[]}function Fd(t){return Oo="",t}function Oi(t){return Nd(ji(It-1,Xl(t===91?t+2:t===40?t+1:t)))}function u1(t){return Fd(f1(Rd(t)))}function d1(t){for(;(Le=Hr())&&Le<33;)qt();return Ao(t)>2||Ao(Le)>3?"":" "}function f1(t){for(;qt();)switch(Ao(Le)){case 0:vo(Id(It-1),t);break;case 2:vo(Oi(Le),t);break;default:vo(Ri(Le),t)}return t}function p1(t,o){for(;--o&&qt()&&!(Le<48||Le>102||Le>57&&Le<65||Le>70&&Le<97););return ji(t,Di()+(o<6&&Hr()==32&&qt()==32))}function Xl(t){for(;qt();)switch(Le){case t:return It;case 34:case 39:t!==34&&t!==39&&Xl(Le);break;case 40:t===41&&Xl(t);break;case 92:qt();break}return It}function h1(t,o){for(;qt()&&t+Le!==57;)if(t+Le===84&&Hr()===47)break;return"/*"+ji(o,It-1)+"*"+Ri(t===47?t:qt())}function Id(t){for(;!Ao(Hr());)qt();return ji(t,It)}function Dd(t){return Fd(Ai("",null,null,null,[""],t=Rd(t),0,[0],t))}function Ai(t,o,n,s,l,c,u,p,f){for(var m=0,g=0,v=u,k=0,y=0,x=0,b=1,_=1,B=1,E=0,N="",T=l,R=c,D=s,A=N;_;)switch(x=E,E=qt()){case 40:if(x!=108&&dt(A,v-1)==58){Ed(A+=St(Oi(E),"&","&\f"),"&\f",Bd(m?p[m-1]:0))!=-1&&(B=-1);break}case 34:case 39:case 91:A+=Oi(E);break;case 9:case 10:case 13:case 32:A+=d1(x);break;case 92:A+=p1(Di()-1,7);continue;case 47:switch(Hr()){case 42:case 47:vo(m1(h1(qt(),Di()),o,n,f),f),(Ao(x||1)==5||Ao(Hr()||1)==5)&&er(A)&&Do(A,-1,void 0)!==" "&&(A+=" ");break;default:A+="/"}break;case 123*b:p[m++]=er(A)*B;case 125*b:case 59:case 0:switch(E){case 0:case 125:_=0;case 59+g:B==-1&&(A=St(A,/\f/g,"")),y>0&&(er(A)-v||b===0&&x===47)&&vo(y>32?Od(A+";",s,n,v-1,f):Od(St(A," ","")+";",s,n,v-2,f),f);break;case 59:A+=";";default:if(vo(D=jd(A,o,n,m,g,l,p,N,T=[],R=[],v,c),c),E===123)if(g===0)Ai(A,o,D,D,T,c,v,p,R);else{switch(k){case 99:if(dt(A,3)===110)break;case 108:if(dt(A,2)===97)break;default:g=0;case 100:case 109:case 115:}g?Ai(t,D,D,s&&vo(jd(t,D,D,0,0,l,p,N,l,T=[],v,R),R),l,R,v,p,s?T:R):Ai(A,D,D,D,[""],R,0,p,R)}}m=g=y=0,b=B=1,N=A="",v=u;break;case 58:v=1+er(A),y=x;default:if(b<1){if(E==123)--b;else if(E==125&&b++==0&&c1()==125)continue}switch(A+=Ri(E),E*b){case 38:B=g>0?1:(A+="\f",-1);break;case 44:p[m++]=(er(A)-1)*B,B=1;break;case 64:Hr()===45&&(A+=Oi(qt())),k=Hr(),g=v=er(N=A+=Id(Di())),E++;break;case 45:x===45&&er(A)==2&&(b=0)}}return c}function jd(t,o,n,s,l,c,u,p,f,m,g,v){for(var k=l-1,y=l===0?c:[""],x=zd(y),b=0,_=0,B=0;b<s;++b)for(var E=0,N=Do(t,k+1,k=Bd(_=u[b])),T=t;E<x;++E)(T=Nd(_>0?y[E]+" "+N:St(N,/&\f/g,y[E])))&&(f[B++]=T);return Ii(t,o,n,l===0?Pi:p,f,m,g,v)}function m1(t,o,n,s){return Ii(t,o,n,_d,Ri(a1()),Do(t,2,-2),0,s)}function Od(t,o,n,s,l){return Ii(t,o,n,Gl,Do(t,0,s),Do(t,s+1,-1),s,l)}function Mo(t,o){for(var n="",s=0;s<t.length;s++)n+=o(t[s],s,t,o)||"";return n}function Ad(t,o,n,s){switch(t.type){case Cd:if(t.children.length)break;case t1:case o1:case Gl:return t.return=t.return||t.value;case _d:return"";case n1:return t.return=t.value+"{"+Mo(t.children,s)+"}";case Pi:if(!er(t.value=t.props.join(",")))return""}return er(n=Mo(t.children,s))?t.return=t.value+"{"+n+"}":""}function Md(t){var o=zd(t);return function(n,s,l,c){for(var u="",p=0;p<o;p++)u+=t[p](n,s,l,c)||"";return u}}function Ld(t){return function(o){o.root||(o=o.return)&&t(o)}}const g1=t=>{switch(t.type){case Pi:if(typeof t.props=="string")return;t.props=t.props.map(o=>o.indexOf(":global(")===-1?o:u1(o).reduce((n,s,l,c)=>{if(s==="")return n;if(s===":"&&c[l+1]==="global"){const u=c[l+2].slice(1,-1)+" ";return n.unshift(u),c[l+1]="",c[l+2]="",n}return n.push(s),n},[]).join(""))}};function Hd(t,o,n){switch(s1(t,o)){case 5103:return Zt+"print-"+t+t;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return Zt+t+t;case 4215:if(dt(t,9)===102||dt(t,o+1)===116)return Zt+t+t;break;case 4789:return Bn+t+t;case 5349:case 4246:case 6968:return Zt+t+Bn+t+t;case 6187:if(!Td(t,/grab/))return St(St(St(t,/(zoom-|grab)/,Zt+"$1"),/(image-set)/,Zt+"$1"),t,"")+t;case 5495:case 3959:return St(t,/(image-set\([^]*)/,Zt+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return St(t,/(.+)-inline(.+)/,Zt+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(er(t)-1-o>6)switch(dt(t,o+1)){case 102:if(dt(t,o+3)===108)return St(t,/(.+:)(.+)-([^]+)/,"$1"+Zt+"$2-$3$1"+Bn+(dt(t,o+3)==108?"$3":"$2-$3"))+t;case 115:return~Ed(t,"stretch")?Hd(St(t,"stretch","fill-available"),o)+t:t}break}return t}function qd(t,o,n,s){if(t.length>-1&&!t.return)switch(t.type){case Gl:t.return=Hd(t.value,t.length);return;case Pi:if(t.length)return l1(t.props,function(l){switch(Td(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Mo([Kl(t,{props:[St(l,/:(read-\w+)/,":"+Bn+"$1")]})],s);case"::placeholder":return Mo([Kl(t,{props:[St(l,/:(plac\w+)/,":"+Zt+"input-$1")]}),Kl(t,{props:[St(l,/:(plac\w+)/,":"+Bn+"$1")]})],s)}return""})}}function v1(t){switch(t.type){case"@container":case e1:case r1:case Cd:return!0}return!1}const b1=t=>{v1(t)&&Array.isArray(t.children)&&t.children.sort((o,n)=>o.props[0]>n.props[0]?1:-1)};function y1(t,o){const n=[];return Mo(Dd(t),Md([g1,b1,qd,Ad,Ld(s=>n.push(s))])),n}const w1=/,( *[^ &])/g;function k1(t){return"&"+Sd(t.replace(w1,",&$1"))}function Wd(t,o,n){let s=o;return n.length>0&&(s=n.reduceRight((l,c)=>`${k1(c)} { ${l} }`,o)),`${t}{${s}}`}function $d(t,o){const{className:n,selectors:s,property:l,rtlClassName:c,rtlProperty:u,rtlValue:p,value:f}=t,{container:m,layer:g,media:v,supports:k}=o,y=`.${n}`,x=Array.isArray(f)?`${f.map(_=>`${Io(l)}: ${_}`).join(";")};`:`${Io(l)}: ${f};`;let b=Wd(y,x,s);if(u&&c){const _=`.${c}`,B=Array.isArray(p)?`${p.map(E=>`${Io(u)}: ${E}`).join(";")};`:`${Io(u)}: ${p};`;b+=Wd(_,B,s)}return v&&(b=`@media ${v} { ${b} }`),g&&(b=`@layer ${g} { ${b} }`),k&&(b=`@supports ${k} { ${b} }`),m&&(b=`@container ${m} { ${b} }`),y1(b)}function x1(t){let o="";for(const n in t){const s=t[n];if(typeof s=="string"||typeof s=="number"){o+=Io(n)+":"+s+";";continue}if(Array.isArray(s))for(const l of s)o+=Io(n)+":"+l+";"}return o}function Vd(t){let o="";for(const n in t)o+=`${n}{${x1(t[n])}}`;return o}function Ud(t,o){const n=`@keyframes ${t} {${o}}`,s=[];return Mo(Dd(n),Md([Ad,qd,Ld(l=>s.push(l))])),s}const S1={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function Gd(t,o){return t.length===0?o:`${t} and ${o}`}function _1(t){return t.substr(0,6)==="@media"}function C1(t){return t.substr(0,6)==="@layer"}const B1=/^(:|\[|>|&)/;function N1(t){return B1.test(t)}function T1(t){return t.substr(0,9)==="@supports"}function E1(t){return t.substring(0,10)==="@container"}function z1(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1}const Kd={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Xd(t,o){if(o.media)return"m";if(o.layer||o.supports)return"t";if(o.container)return"c";if(t.length>0){const n=t[0].trim();if(n.charCodeAt(0)===58)return Kd[n.slice(4,8)]||Kd[n.slice(3,5)]||"d"}return"d"}function Mi(t,o){return t&&o+t}function Qd(t){return Mi(t.container,"c")+Mi(t.media,"m")+Mi(t.layer,"l")+Mi(t.supports,"s")}function Ql(t,o,n){const s=t+Qd(n)+o,l=_n(s),c=l.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+l.slice(1):l}function Li({property:t,selector:o,salt:n,value:s},l){return Ll+_n(n+o+Qd(l)+t+s.trim())}function P1(t){return t===Wl}function Yl(t){return t.replace(/>\s+/g,">")}function B3(t,o){}function Yd(t){return S1[t]}function Jd(t){var o;return(o=t?.[0])!==null&&o!==void 0?o:0}function Jl(t,o,n,s){t[o]=s?[n,s]:n}function Zd(t,o){return o.length>0?[t,Object.fromEntries(o)]:t}function Zl(t,o,n,s,l,c){var u;const p=[];c!==0&&p.push(["p",c]),o==="m"&&l&&p.push(["m",l]),(u=t[o])!==null&&u!==void 0||(t[o]=[]),n&&t[o].push(Zd(n,p)),s&&t[o].push(Zd(s,p))}function Cr(t,o="",n=[],s={container:"",layer:"",media:"",supports:""},l={},c={},u){for(const p in t){if(B0.hasOwnProperty(p)){t[p];continue}const f=t[p];if(f!=null){if(P1(f)){const m=Yl(n.join("")),g=Ql(m,p,s);Jl(l,g,0,void 0);continue}if(typeof f=="string"||typeof f=="number"){const m=Yl(n.join("")),g=Yd(p);if(g){const T=g[1],R=Object.fromEntries(T.map(D=>[D,Wl]));Cr(R,o,n,s,l,c)}const v=Ql(m,p,s),k=Li({value:f.toString(),salt:o,selector:m,property:p},s),y=u&&{key:p,value:u}||Vl(p,f),x=y.key!==p||y.value!==f,b=x?Li({value:y.value.toString(),property:y.key,salt:o,selector:m},s):void 0,_=x?{rtlClassName:b,rtlProperty:y.key,rtlValue:y.value}:void 0,B=Xd(n,s),[E,N]=$d(Object.assign({className:k,selectors:n,property:p,value:f},_),s);Jl(l,v,k,b),Zl(c,B,E,N,s.media,Jd(g))}else if(p==="animationName"){const m=Array.isArray(f)?f:[f],g=[],v=[];for(const k of m){const y=Vd(k),x=Vd(xd(k)),b=Ll+_n(y);let _;const B=Ud(b,y);let E=[];y===x?_=b:(_=Ll+_n(x),E=Ud(_,x));for(let N=0;N<B.length;N++)Zl(c,"k",B[N],E[N],s.media,0);g.push(b),v.push(_)}Cr({animationName:g.join(", ")},o,n,s,l,c,v.join(", "))}else if(Array.isArray(f)){if(f.length===0)continue;const m=Yl(n.join("")),g=Yd(p);if(g){const R=g[1],D=Object.fromEntries(R.map(A=>[A,Wl]));Cr(D,o,n,s,l,c)}const v=Ql(m,p,s),k=Li({value:f.map(R=>(R??"").toString()).join(";"),salt:o,selector:m,property:p},s),y=f.map(R=>Vl(p,R));if(!!y.some(R=>R.key!==y[0].key))continue;const b=y[0].key!==p||y.some((R,D)=>R.value!==f[D]),_=b?Li({value:y.map(R=>{var D;return((D=R?.value)!==null&&D!==void 0?D:"").toString()}).join(";"),salt:o,property:y[0].key,selector:m},s):void 0,B=b?{rtlClassName:_,rtlProperty:y[0].key,rtlValue:y.map(R=>R.value)}:void 0,E=Xd(n,s),[N,T]=$d(Object.assign({className:k,selectors:n,property:p,value:f},B),s);Jl(l,v,k,_),Zl(c,E,N,T,s.media,Jd(g))}else if(z1(f)){if(N1(p))Cr(f,o,n.concat(Sd(p)),s,l,c);else if(_1(p)){const m=Gd(s.media,p.slice(6).trim());Cr(f,o,n,Object.assign({},s,{media:m}),l,c)}else if(C1(p)){const m=(s.layer?`${s.layer}.`:"")+p.slice(6).trim();Cr(f,o,n,Object.assign({},s,{layer:m}),l,c)}else if(T1(p)){const m=Gd(s.supports,p.slice(9).trim());Cr(f,o,n,Object.assign({},s,{supports:m}),l,c)}else if(E1(p)){const m=p.slice(10).trim();Cr(f,o,n,Object.assign({},s,{container:m}),l,c)}}}}return[l,c]}function R1(t,o=""){const n={},s={};for(const l in t){const c=t[l],[u,p]=Cr(c,o);n[l]=u,Object.keys(p).forEach(f=>{s[f]=(s[f]||[]).concat(p[f])})}return[n,s]}function F1(t,o=$l){const n=o();let s=null,l=null,c=null,u=null;function p(f){const{dir:m,renderer:g}=f;s===null&&([s,l]=R1(t,g.classNameHashSalt));const v=m==="ltr";return v?c===null&&(c=Ti(s,m)):u===null&&(u=Ti(s,m)),n(g,l),v?c:u}return p}function ef(t,o,n=$l){const s=n();let l=null,c=null;function u(p){const{dir:f,renderer:m}=p,g=f==="ltr";return g?l===null&&(l=Ti(t,f)):c===null&&(c=Ti(t,f)),s(m,o),g?l:c}return u}function I1(t,o,n,s=$l){const l=s();function c(u){const{dir:p,renderer:f}=u,m=p==="ltr"?t:o||t;return l(f,Array.isArray(n)?{r:n}:n),m}return c}function D1(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const tf=Bi.useInsertionEffect?Bi.useInsertionEffect:void 0,ea=()=>{const t={};return function(n,s){if(tf&&D1()){tf(()=>{n.insertCSSRules(s)},[n,s]);return}t[n.id]===void 0&&(n.insertCSSRules(s),t[n.id]=!0)}},j1=S.createContext(j0());function Nn(){return S.useContext(j1)}const rf=S.createContext("ltr"),O1=({children:t,dir:o})=>S.createElement(rf.Provider,{value:o},t);function ta(){return S.useContext(rf)}function Hi(t){const o=F1(t,ea);return function(){const s=ta(),l=Nn();return o({dir:s,renderer:l})}}function ce(t,o){const n=ef(t,o,ea);return function(){const l=ta(),c=Nn();return n({dir:l,renderer:c})}}function ft(t,o,n){const s=I1(t,o,n,ea);return function(){const c=ta(),u=Nn();return s({dir:c,renderer:u})}}function A1(t,o){if(o){const n=Object.keys(o).reduce((s,l)=>`${s}--${l}: ${o[l]}; `,"");return`${t} { ${n} }`}return`${t} {}`}const of=Symbol.for("fui.slotRenderFunction"),qi=Symbol.for("fui.slotElementType"),nf=Symbol.for("fui.slotClassNameProp");function Re(t,o){const{defaultProps:n,elementType:s}=o,l=sf(t),c={...n,...l,[qi]:s,[nf]:l?.className};return l&&typeof l.children=="function"&&(c[of]=l.children,c.children=n?.children),c}function Ge(t,o){if(!(t===null||t===void 0&&!o.renderByDefault))return Re(t,o)}function sf(t){return typeof t=="string"||typeof t=="number"||M1(t)||S.isValidElement(t)?{children:t}:t}const M1=t=>typeof t=="object"&&t!==null&&Symbol.iterator in t;function lf(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)&&!S.isValidElement(t)}function af(t){return!!t?.hasOwnProperty(qi)}const Fe=(...t)=>{const o={};for(const n of t){const s=Array.isArray(n)?n:Object.keys(n);for(const l of s)o[l]=1}return o},L1=Fe(["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"]),H1=Fe(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),q1=Fe(["itemID","itemProp","itemRef","itemScope","itemType"]),Je=Fe(H1,L1,q1),W1=Fe(Je,["form"]),cf=Fe(Je,["height","loop","muted","preload","src","width"]),$1=Fe(cf,["poster"]),V1=Fe(Je,["start"]),U1=Fe(Je,["value"]),G1=Fe(Je,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),K1=Fe(Je,["dateTime"]),Wi=Fe(Je,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),X1=Fe(Wi,["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"]),Q1=Fe(Wi,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),Y1=Fe(Wi,["form","multiple","required"]),J1=Fe(Je,["selected","value"]),Z1=Fe(Je,["cellPadding","cellSpacing"]),eb=Je,tb=Fe(Je,["colSpan","rowSpan","scope"]),rb=Fe(Je,["colSpan","headers","rowSpan","scope"]),ob=Fe(Je,["span"]),nb=Fe(Je,["span"]),ib=Fe(Je,["disabled","form"]),sb=Fe(Je,["acceptCharset","action","encType","encType","method","noValidate","target"]),lb=Fe(Je,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),ab=Fe(Je,["alt","crossOrigin","height","src","srcSet","useMap","width"]),cb=Fe(Je,["open","onCancel","onClose"]);function ub(t,o,n){const s=Array.isArray(o),l={},c=Object.keys(t);for(const u of c)(!s&&o[u]||s&&o.indexOf(u)>=0||u.indexOf("data-")===0||u.indexOf("aria-")===0)&&(!n||n?.indexOf(u)===-1)&&(l[u]=t[u]);return l}const db={label:W1,audio:cf,video:$1,ol:V1,li:U1,a:G1,button:Wi,input:X1,textarea:Q1,select:Y1,option:J1,table:Z1,tr:eb,th:tb,td:rb,colGroup:ob,col:nb,fieldset:ib,form:sb,iframe:lb,img:ab,time:K1,dialog:cb};function uf(t,o,n){const s=t&&db[t]||Je;return s.as=1,ub(o,s,n)}const $i=({primarySlotTagName:t,props:o,excludedPropNames:n})=>({root:{style:o.style,className:o.className},primary:uf(t,o,[...n||[],"style","className"])}),_t=(t,o,n)=>{var s;return uf((s=o.as)!==null&&s!==void 0?s:t,o,n)};function df(t,o){const n=S.useRef(void 0),s=S.useCallback((c,u)=>(n.current!==void 0&&o(n.current),n.current=t(c,u),n.current),[o,t]),l=S.useCallback(()=>{n.current!==void 0&&(o(n.current),n.current=void 0)},[o]);return S.useEffect(()=>l,[l]),[s,l]}const ff=S.createContext(void 0),fb=ff.Provider,pf=S.createContext(void 0),pb="",hb=pf.Provider;function mb(){var t;return(t=S.useContext(pf))!==null&&t!==void 0?t:pb}const gb=S.createContext(void 0).Provider,hf=S.createContext(void 0),vb={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},bb=hf.Provider;function at(){var t;return(t=S.useContext(hf))!==null&&t!==void 0?t:vb}const mf=S.createContext(void 0),yb=mf.Provider;function gf(){var t;return(t=S.useContext(mf))!==null&&t!==void 0?t:{}}const ra=S.createContext(void 0),wb=()=>{},kb=ra.Provider,nt=t=>{var o,n;return(n=(o=S.useContext(ra))===null||o===void 0?void 0:o[t])!==null&&n!==void 0?n:wb},vf=S.createContext(void 0);vf.Provider;function xb(){return S.useContext(vf)}const Sb=t=>(t(0),0),_b=t=>t;function Cb(){const{targetDocument:t}=at(),o=t?.defaultView,n=o?o.requestAnimationFrame:Sb,s=o?o.cancelAnimationFrame:_b;return df(n,s)}function Bb(t){return typeof t=="function"}const qr=t=>{"use no memo";const[o,n]=S.useState(()=>t.defaultState===void 0?t.initialState:Nb(t.defaultState)?t.defaultState():t.defaultState),s=S.useRef(t.state);S.useEffect(()=>{s.current=t.state},[t.state]);const l=S.useCallback(c=>{Bb(c)&&c(s.current)},[]);return Tb(t.state)?[t.state,l]:[o,n]};function Nb(t){return typeof t=="function"}const Tb=t=>{"use no memo";const[o]=S.useState(()=>t!==void 0);return o};function oa(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Eb={current:0},zb=S.createContext(void 0);function Pb(){var t;return(t=S.useContext(zb))!==null&&t!==void 0?t:Eb}const Wt=oa()?S.useLayoutEffect:S.useEffect,ke=t=>{const o=S.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Wt(()=>{o.current=t},[t]),S.useCallback((...n)=>{const s=o.current;return s(...n)},[o])};function Rb(){const t=S.useRef(!0);return S.useEffect(()=>{t.current&&(t.current=!1)},[]),t.current}const bf=S.createContext(void 0);bf.Provider;function Fb(){return S.useContext(bf)||""}function Br(t="fui-",o){"use no memo";const n=Pb(),s=Fb(),l=Bi.useId;if(l){const c=l(),u=S.useMemo(()=>c.replace(/:/g,""),[c]);return o||`${s}${t}${u}`}return S.useMemo(()=>o||`${s}${t}${++n.current}`,[s,t,o,n])}function pt(...t){"use no memo";const o=S.useCallback(n=>{o.current=n;for(const s of t)typeof s=="function"?s(n):s&&(s.current=n)},[...t]);return o}const yf=(t,o)=>!!t?.contains(o),Ib=t=>{const{targetDocument:o}=at(),n=o?.defaultView,{refs:s,callback:l,element:c,disabled:u,disabledFocusOnIframe:p,contains:f=yf}=t,m=S.useRef(void 0);jb({element:c,disabled:p||u,callback:l,refs:s,contains:f});const g=S.useRef(!1),v=ke(y=>{if(g.current){g.current=!1;return}const x=y.composedPath()[0];s.every(_=>!f(_.current||null,x))&&!u&&l(y)}),k=ke(y=>{g.current=s.some(x=>f(x.current||null,y.target))});S.useEffect(()=>{if(u)return;let y=Db(n);const x=b=>{if(b===y){y=void 0;return}v(b)};return c?.addEventListener("click",x,!0),c?.addEventListener("touchstart",x,!0),c?.addEventListener("contextmenu",x,!0),c?.addEventListener("mousedown",k,!0),m.current=n?.setTimeout(()=>{y=void 0},1),()=>{c?.removeEventListener("click",x,!0),c?.removeEventListener("touchstart",x,!0),c?.removeEventListener("contextmenu",x,!0),c?.removeEventListener("mousedown",k,!0),n?.clearTimeout(m.current),y=void 0}},[v,c,u,k,n])},Db=t=>{if(t){var o,n;if(typeof t.window=="object"&&t.window===t)return t.event;var s;return(s=(n=t.ownerDocument)===null||n===void 0||(o=n.defaultView)===null||o===void 0?void 0:o.event)!==null&&s!==void 0?s:void 0}},na="fuiframefocus",jb=t=>{const{disabled:o,element:n,callback:s,contains:l=yf,pollDuration:c=100,refs:u}=t,p=S.useRef(void 0),f=ke(m=>{u.every(v=>!l(v.current||null,m.target))&&!o&&s(m)});S.useEffect(()=>{if(!o)return n?.addEventListener(na,f,!0),()=>{n?.removeEventListener(na,f,!0)}},[n,o,f]),S.useEffect(()=>{var m;if(!o)return p.current=n==null||(m=n.defaultView)===null||m===void 0?void 0:m.setInterval(()=>{const g=n?.activeElement;if(g?.tagName==="IFRAME"||g?.tagName==="WEBVIEW"){const v=new CustomEvent(na,{bubbles:!0});g.dispatchEvent(v)}},c),()=>{var g;n==null||(g=n.defaultView)===null||g===void 0||g.clearInterval(p.current)}},[n,o,c])},Ob=t=>-1,Ab=t=>{};function wf(){const{targetDocument:t}=at(),o=t?.defaultView,n=o?o.setTimeout:Ob,s=o?o.clearTimeout:Ab;return df(n,s)}function Ct(t,o){return(...n)=>{t?.(...n),o?.(...n)}}function Nr(t,o){var n;const s=t;var l;return!!(!(s==null||(n=s.ownerDocument)===null||n===void 0)&&n.defaultView&&s instanceof s.ownerDocument.defaultView[(l=void 0)!==null&&l!==void 0?l:"HTMLElement"])}function Mb(t){if(!Nr(t))return!1;const{tagName:o}=t;switch(o){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return t.isContentEditable}function ia(t){return t.type.startsWith("touch")}function sa(t){return t.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(t.type)>-1}function kf(t){return sa(t)?{clientX:t.clientX,clientY:t.clientY}:ia(t)?{clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}:{clientX:0,clientY:0}}function xf(t){return t instanceof Set?t:new Set(t)}function Sf(t){const[o,n]=qr({initialState:new Set,defaultState:S.useMemo(()=>t.defaultSelectedItems&&xf(t.defaultSelectedItems),[t.defaultSelectedItems]),state:S.useMemo(()=>t.selectedItems&&xf(t.selectedItems),[t.selectedItems])});return[o,(l,c)=>{var u;(u=t.onSelectionChange)===null||u===void 0||u.call(t,l,{selectedItems:c}),n(c)}]}function Lb(t){const[o,n]=Sf(t);return[o,{deselectItem:l=>n(l,new Set),selectItem:(l,c)=>n(l,new Set([c])),toggleAllItems:()=>{},toggleItem:(l,c)=>n(l,new Set([c])),clearItems:l=>n(l,new Set),isSelected:l=>{var c;return(c=o.has(l))!==null&&c!==void 0?c:!1}}]}function Hb(t){const[o,n]=Sf(t);return[o,{toggleItem:(l,c)=>{const u=new Set(o);o.has(c)?u.delete(c):u.add(c),n(l,u)},selectItem:(l,c)=>{const u=new Set(o);u.add(c),n(l,u)},deselectItem:(l,c)=>{const u=new Set(o);u.delete(c),n(l,u)},clearItems:l=>{n(l,new Set)},isSelected:l=>o.has(l),toggleAllItems:(l,c)=>{const u=c.every(f=>o.has(f)),p=new Set(o);u?p.clear():c.forEach(f=>p.add(f)),n(l,p)}}]}function qb(t){"use no memo";return t.selectionMode==="multiselect"?Hb(t):Lb(t)}function Wb(t){return t&&!!t._virtual}function $b(t){return Wb(t)&&t._virtual.parent||null}function Vb(t,o={}){if(!t)return null;if(!o.skipVirtual){const s=$b(t);if(s)return s}const n=t.parentNode;return n&&n.nodeType===11?n.host:n}function _f(t,o){t&&Object.assign(t,{_virtual:{parent:o}})}function Ub(t,o){return{...o,[qi]:t}}var la={exports:{}},Pe={};var Cf;function Gb(){if(Cf)return Pe;Cf=1;var t=60103,o=60106,n=60107,s=60108,l=60114,c=60109,u=60110,p=60112,f=60113,m=60120,g=60115,v=60116,k=60121,y=60122,x=60117,b=60129,_=60131;if(typeof Symbol=="function"&&Symbol.for){var B=Symbol.for;t=B("react.element"),o=B("react.portal"),n=B("react.fragment"),s=B("react.strict_mode"),l=B("react.profiler"),c=B("react.provider"),u=B("react.context"),p=B("react.forward_ref"),f=B("react.suspense"),m=B("react.suspense_list"),g=B("react.memo"),v=B("react.lazy"),k=B("react.block"),y=B("react.server.block"),x=B("react.fundamental"),b=B("react.debug_trace_mode"),_=B("react.legacy_hidden")}function E(q){if(typeof q=="object"&&q!==null){var te=q.$$typeof;switch(te){case t:switch(q=q.type,q){case n:case l:case s:case f:case m:return q;default:switch(q=q&&q.$$typeof,q){case u:case p:case v:case g:case c:return q;default:return te}}case o:return te}}}var N=c,T=t,R=p,D=n,A=v,H=g,Q=o,Z=l,ve=s,he=f;return Pe.ContextConsumer=u,Pe.ContextProvider=N,Pe.Element=T,Pe.ForwardRef=R,Pe.Fragment=D,Pe.Lazy=A,Pe.Memo=H,Pe.Portal=Q,Pe.Profiler=Z,Pe.StrictMode=ve,Pe.Suspense=he,Pe.isAsyncMode=function(){return!1},Pe.isConcurrentMode=function(){return!1},Pe.isContextConsumer=function(q){return E(q)===u},Pe.isContextProvider=function(q){return E(q)===c},Pe.isElement=function(q){return typeof q=="object"&&q!==null&&q.$$typeof===t},Pe.isForwardRef=function(q){return E(q)===p},Pe.isFragment=function(q){return E(q)===n},Pe.isLazy=function(q){return E(q)===v},Pe.isMemo=function(q){return E(q)===g},Pe.isPortal=function(q){return E(q)===o},Pe.isProfiler=function(q){return E(q)===l},Pe.isStrictMode=function(q){return E(q)===s},Pe.isSuspense=function(q){return E(q)===f},Pe.isValidElementType=function(q){return typeof q=="string"||typeof q=="function"||q===n||q===l||q===b||q===s||q===f||q===m||q===_||typeof q=="object"&&q!==null&&(q.$$typeof===v||q.$$typeof===g||q.$$typeof===c||q.$$typeof===u||q.$$typeof===p||q.$$typeof===x||q.$$typeof===k||q[0]===y)},Pe.typeOf=E,Pe}var Bf;function Kb(){return Bf||(Bf=1,la.exports=Gb()),la.exports}Kb();function Nf(t,o){return function(s,l,c,u,p){return af(l)?o(Ub(s,l),null,c,u,p):af(s)?o(s,l,c,u,p):t(s,l,c,u,p)}}function Tf(t){const{as:o,[nf]:n,[qi]:s,[of]:l,...c}=t,u=c,p=typeof s=="string"?o??s:s;return typeof p!="string"&&o&&(u.as=o),{elementType:p,props:u,renderFunction:l}}const bo=d0,Xb=(t,o,n)=>{const{elementType:s,renderFunction:l,props:c}=Tf(t),u={...c,...o};return l?bo.jsx(S.Fragment,{children:l(s,u)},n):bo.jsx(s,u,n)},Qb=(t,o,n)=>{const{elementType:s,renderFunction:l,props:c}=Tf(t),u={...c,...o};return l?bo.jsx(S.Fragment,{children:l(s,{...u,children:bo.jsxs(S.Fragment,{children:u.children},void 0)})},n):bo.jsxs(s,u,n)},ue=Nf(bo.jsx,Xb),yt=Nf(bo.jsxs,Qb),Ef=S.createContext(void 0),Yb={},Jb=Ef.Provider,Zb=()=>{const t=S.useContext(Ef);return t??Yb},ey=(t,o)=>ue(bb,{value:o.provider,children:ue(fb,{value:o.theme,children:ue(hb,{value:o.themeClassName,children:ue(kb,{value:o.customStyleHooks_unstable,children:ue(gb,{value:o.tooltip,children:ue(O1,{dir:o.textDirection,children:ue(Jb,{value:o.iconDirection,children:ue(yb,{value:o.overrides_unstable,children:yt(t.root,{children:[oa()?null:ue("style",{dangerouslySetInnerHTML:{__html:t.serverStyleProps.cssRule},...t.serverStyleProps.attributes}),t.root.children]})})})})})})})})});var ty=typeof WeakRef<"u",zf=class{constructor(t){ty&&typeof t=="object"?this._weakRef=new WeakRef(t):this._instance=t}deref(){var t,o;let n;return this._weakRef?(n=(t=this._weakRef)==null?void 0:t.deref(),n||delete this._weakRef):(n=this._instance,(o=n?.isDisposed)!=null&&o.call(n)&&delete this._instance),n}},tr="keyborg:focusin",Tn="keyborg:focusout";function ry(t){const o=t.HTMLElement,n=o.prototype.focus;let s=!1;return o.prototype.focus=function(){s=!0},t.document.createElement("button").focus(),o.prototype.focus=n,s}var aa=!1;function Tr(t){const o=t.focus;o.__keyborgNativeFocus?o.__keyborgNativeFocus.call(t):t.focus()}function oy(t){const o=t;aa||(aa=ry(o));const n=o.HTMLElement.prototype.focus;if(n.__keyborgNativeFocus)return;o.HTMLElement.prototype.focus=f;const s=new Set,l=g=>{const v=g.target;if(!v)return;const k=new CustomEvent(Tn,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:g}});v.dispatchEvent(k)},c=g=>{const v=g.target;if(!v)return;let k=g.composedPath()[0];const y=new Set;for(;k;)k.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(y.add(k),k=k.host):k=k.parentNode;for(const x of s){const b=x.deref();(!b||!y.has(b))&&(s.delete(x),b&&(b.removeEventListener("focusin",c,!0),b.removeEventListener("focusout",l,!0)))}u(v,g.relatedTarget||void 0)},u=(g,v,k)=>{var y;const x=g.shadowRoot;if(x){for(const B of s)if(B.deref()===x)return;x.addEventListener("focusin",c,!0),x.addEventListener("focusout",l,!0),s.add(new zf(x));return}const b={relatedTarget:v,originalEvent:k},_=new CustomEvent(tr,{cancelable:!0,bubbles:!0,composed:!0,detail:b});_.details=b,(aa||p.lastFocusedProgrammatically)&&(b.isFocusedProgrammatically=g===((y=p.lastFocusedProgrammatically)==null?void 0:y.deref()),p.lastFocusedProgrammatically=void 0),g.dispatchEvent(_)},p=o.__keyborgData={focusInHandler:c,focusOutHandler:l,shadowTargets:s};o.document.addEventListener("focusin",o.__keyborgData.focusInHandler,!0),o.document.addEventListener("focusout",o.__keyborgData.focusOutHandler,!0);function f(){const g=o.__keyborgData;return g&&(g.lastFocusedProgrammatically=new zf(this)),n.apply(this,arguments)}let m=o.document.activeElement;for(;m&&m.shadowRoot;)u(m),m=m.shadowRoot.activeElement;f.__keyborgNativeFocus=n}function ny(t){const o=t,n=o.HTMLElement.prototype,s=n.focus.__keyborgNativeFocus,l=o.__keyborgData;if(l){o.document.removeEventListener("focusin",l.focusInHandler,!0),o.document.removeEventListener("focusout",l.focusOutHandler,!0);for(const c of l.shadowTargets){const u=c.deref();u&&(u.removeEventListener("focusin",l.focusInHandler,!0),u.removeEventListener("focusout",l.focusOutHandler,!0))}l.shadowTargets.clear(),delete o.__keyborgData}s&&(n.focus=s)}var iy=500,Pf=0,sy=class{constructor(t,o){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=s=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const l=s.detail;l.relatedTarget&&(l.isFocusedProgrammatically||l.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=s=>{s.buttons===0||s.clientX===0&&s.clientY===0&&s.screenX===0&&s.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const s=this._win;s&&(this._isMouseOrTouchUsedTimer&&s.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=s.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=s=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(s)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(s)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++Pf,this._win=t;const n=t.document;if(o){const s=o.triggerKeys,l=o.dismissKeys;s?.length&&(this._triggerKeys=new Set(s)),l?.length&&(this._dismissKeys=new Set(l))}n.addEventListener(tr,this._onFocusIn,!0),n.addEventListener("mousedown",this._onMouseDown,!0),t.addEventListener("keydown",this._onKeyDown,!0),n.addEventListener("touchstart",this._onMouseOrTouch,!0),n.addEventListener("touchend",this._onMouseOrTouch,!0),n.addEventListener("touchcancel",this._onMouseOrTouch,!0),oy(t)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(t){this._isNavigatingWithKeyboard_DO_NOT_USE!==t&&(this._isNavigatingWithKeyboard_DO_NOT_USE=t,this.update())}dispose(){const t=this._win;if(t){this._isMouseOrTouchUsedTimer&&(t.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(t.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),ny(t);const o=t.document;o.removeEventListener(tr,this._onFocusIn,!0),o.removeEventListener("mousedown",this._onMouseDown,!0),t.removeEventListener("keydown",this._onKeyDown,!0),o.removeEventListener("touchstart",this._onMouseOrTouch,!0),o.removeEventListener("touchend",this._onMouseOrTouch,!0),o.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var t,o;const n=(o=(t=this._win)==null?void 0:t.__keyborg)==null?void 0:o.refs;if(n)for(const s of Object.keys(n))ca.update(n[s],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(t){var o;if(t.key==="Tab")return!0;const n=(o=this._win)==null?void 0:o.document.activeElement,s=!this._triggerKeys||this._triggerKeys.has(t.keyCode),l=n&&(n.tagName==="INPUT"||n.tagName==="TEXTAREA"||n.isContentEditable);return s&&!l}_shouldDismissKeyboardNavigation(t){var o;return(o=this._dismissKeys)==null?void 0:o.has(t.keyCode)}_scheduleDismiss(){const t=this._win;if(t){this._dismissTimer&&(t.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const o=t.document.activeElement;this._dismissTimer=t.setTimeout(()=>{this._dismissTimer=void 0;const n=t.document.activeElement;o&&n&&o===n&&(this.isNavigatingWithKeyboard=!1)},iy)}}},ca=class l0{constructor(o,n){this._cb=[],this._id="k"+ ++Pf,this._win=o;const s=o.__keyborg;s?(this._core=s.core,s.refs[this._id]=this):(this._core=new sy(o,n),o.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(o,n){return new l0(o,n)}static dispose(o){o.dispose()}static update(o,n){o._cb.forEach(s=>s(n))}dispose(){var o;const n=(o=this._win)==null?void 0:o.__keyborg;n?.refs[this._id]&&(delete n.refs[this._id],Object.keys(n.refs).length===0&&(n.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var o;return!!((o=this._core)!=null&&o.isNavigatingWithKeyboard)}subscribe(o){this._cb.push(o)}unsubscribe(o){const n=this._cb.indexOf(o);n>=0&&this._cb.splice(n,1)}setVal(o){this._core&&(this._core.isNavigatingWithKeyboard=o)}};function Vi(t,o){return ca.create(t,o)}function Ui(t){ca.dispose(t)}const rr="data-tabster",ly="data-tabster-dummy",Rf=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),Lo={EscapeGroupper:1,Restorer:2,Deloser:3},Wr={Invisible:0,PartiallyVisible:1,Visible:2},or={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},$e={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Gi={Unlimited:0,Limited:1,LimitedTrapFocus:2},Ki={Enter:1,Escape:2},ay={Outside:2};function $t(t,o){var n;return(n=t.storageEntry(o))===null||n===void 0?void 0:n.tabster}function Ff(t,o,n){var s,l;const c=n||t._noop?void 0:o.getAttribute(rr);let u=t.storageEntry(o),p;if(c)if(c!==((s=u?.attr)===null||s===void 0?void 0:s.string))try{const v=JSON.parse(c);if(typeof v!="object")throw new Error(`Value is not a JSON object, got '${c}'.`);p={string:c,object:v}}catch{}else return;else if(!u)return;u||(u=t.storageEntry(o,!0)),u.tabster||(u.tabster={});const f=u.tabster||{},m=((l=u.attr)===null||l===void 0?void 0:l.object)||{},g=p?.object||{};for(const v of Object.keys(m))if(!g[v]){if(v==="root"){const k=f[v];k&&t.root.onRoot(k,!0)}switch(v){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const k=f[v];k&&(k.dispose(),delete f[v]);break;case"observed":delete f[v],t.observedElement&&t.observedElement.onObservedElementUpdate(o);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete f[v];break}}for(const v of Object.keys(g)){const k=g.sys;switch(v){case"deloser":f.deloser?f.deloser.setProps(g.deloser):t.deloser&&(f.deloser=t.deloser.createDeloser(o,g.deloser));break;case"root":f.root?f.root.setProps(g.root):f.root=t.root.createRoot(o,g.root,k),t.root.onRoot(f.root);break;case"modalizer":f.modalizer?f.modalizer.setProps(g.modalizer):t.modalizer&&(f.modalizer=t.modalizer.createModalizer(o,g.modalizer,k));break;case"restorer":f.restorer?f.restorer.setProps(g.restorer):t.restorer&&g.restorer&&(f.restorer=t.restorer.createRestorer(o,g.restorer));break;case"focusable":f.focusable=g.focusable;break;case"groupper":f.groupper?f.groupper.setProps(g.groupper):t.groupper&&(f.groupper=t.groupper.createGroupper(o,g.groupper,k));break;case"mover":f.mover?f.mover.setProps(g.mover):t.mover&&(f.mover=t.mover.createMover(o,g.mover,k));break;case"observed":t.observedElement&&(f.observed=g.observed,t.observedElement.onObservedElementUpdate(o));break;case"uncontrolled":f.uncontrolled=g.uncontrolled;break;case"outline":t.outline&&(f.outline=g.outline);break;case"sys":f.sys=g.sys;break;default:console.error(`Unknown key '${v}' in data-tabster attribute value.`)}}p?u.attr=p:(Object.keys(f).length===0&&(delete u.tabster,delete u.attr),t.storageEntry(o,!1))}const cy="tabster:focusin",uy="tabster:focusout",dy="tabster:movefocus",fy="tabster:mover:state",ua="tabster:mover:movefocus",If="tabster:mover:memorized-element",da="tabster:groupper:movefocus",py="tabster:root:focus",hy="tabster:root:blur",my=typeof CustomEvent<"u"?CustomEvent:function(){};class $r extends my{constructor(o,n){super(o,{bubbles:!0,cancelable:!0,composed:!0,detail:n}),this.details=n}}class gy extends $r{constructor(o){super(cy,o)}}class vy extends $r{constructor(o){super(uy,o)}}class Vr extends $r{constructor(o){super(dy,o)}}class Df extends $r{constructor(o){super(fy,o)}}class by extends $r{constructor(o){super(ua,o)}}class jf extends $r{constructor(o){super(da,o)}}class yy extends $r{constructor(o){super(py,o)}}class wy extends $r{constructor(o){super(hy,o)}}const X={createMutationObserver:t=>new MutationObserver(t),createTreeWalker:(t,o,n,s)=>t.createTreeWalker(o,n,s),getParentNode:t=>t?t.parentNode:null,getParentElement:t=>t?t.parentElement:null,nodeContains:(t,o)=>!!(o&&t?.contains(o)),getActiveElement:t=>t.activeElement,querySelector:(t,o)=>t.querySelector(o),querySelectorAll:(t,o)=>Array.prototype.slice.call(t.querySelectorAll(o),0),getElementById:(t,o)=>t.getElementById(o),getFirstChild:t=>t?.firstChild||null,getLastChild:t=>t?.lastChild||null,getNextSibling:t=>t?.nextSibling||null,getPreviousSibling:t=>t?.previousSibling||null,getFirstElementChild:t=>t?.firstElementChild||null,getLastElementChild:t=>t?.lastElementChild||null,getNextElementSibling:t=>t?.nextElementSibling||null,getPreviousElementSibling:t=>t?.previousElementSibling||null,appendChild:(t,o)=>t.appendChild(o),insertBefore:(t,o,n)=>t.insertBefore(o,n),getSelection:t=>{var o;return((o=t.ownerDocument)===null||o===void 0?void 0:o.getSelection())||null},getElementsByName:(t,o)=>t.ownerDocument.getElementsByName(o)};function ky(t){for(const o of Object.keys(t))X[o]=t[o]}let fa;const Of=typeof DOMRect<"u"?DOMRect:class{constructor(t,o,n,s){this.left=t||0,this.top=o||0,this.right=(t||0)+(n||0),this.bottom=(o||0)+(s||0)}};let xy=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),fa=!1}catch{fa=!0}const pa=100;function Er(t){const o=t();let n=o.__tabsterInstanceContext;return n||(n={elementByUId:{},basics:{Promise:o.Promise||void 0,WeakRef:o.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},o.__tabsterInstanceContext=n),n}function Sy(t){const o=t.__tabsterInstanceContext;o&&(o.elementByUId={},delete o.WeakRef,o.containerBoundingRectCache={},o.containerBoundingRectCacheTimer&&t.clearTimeout(o.containerBoundingRectCacheTimer),o.fakeWeakRefsTimer&&t.clearTimeout(o.fakeWeakRefsTimer),o.fakeWeakRefs=[],delete t.__tabsterInstanceContext)}function _y(t){const o=t.__tabsterInstanceContext;return new(o?.basics.WeakMap||WeakMap)}function Cy(t){return!!t.querySelector(Rf)}class Af{constructor(o){this._target=o}deref(){return this._target}static cleanup(o,n){return o._target?n||!ma(o._target.ownerDocument,o._target)?(delete o._target,!0):!1:!0}}class pr{constructor(o,n,s){const l=Er(o);let c;l.WeakRef?c=new l.WeakRef(n):(c=new Af(n),l.fakeWeakRefs.push(c)),this._ref=c,this._data=s}get(){const o=this._ref;let n;return o&&(n=o.deref(),n||delete this._ref),n}getData(){return this._data}}function Mf(t,o){const n=Er(t);n.fakeWeakRefs=n.fakeWeakRefs.filter(s=>!Af.cleanup(s,o))}function Lf(t){const o=Er(t);o.fakeWeakRefsStarted||(o.fakeWeakRefsStarted=!0,o.WeakRef=Py(o)),o.fakeWeakRefsTimer||(o.fakeWeakRefsTimer=t().setTimeout(()=>{o.fakeWeakRefsTimer=void 0,Mf(t),Lf(t)},120*1e3))}function By(t){const o=Er(t);o.fakeWeakRefsStarted=!1,o.fakeWeakRefsTimer&&(t().clearTimeout(o.fakeWeakRefsTimer),o.fakeWeakRefsTimer=void 0,o.fakeWeakRefs=[])}function ha(t,o,n){if(o.nodeType!==Node.ELEMENT_NODE)return;const s=fa?n:{acceptNode:n};return X.createTreeWalker(t,o,NodeFilter.SHOW_ELEMENT,s,!1)}function Hf(t,o){let n=o.__tabsterCacheId;const s=Er(t),l=n?s.containerBoundingRectCache[n]:void 0;if(l)return l.rect;const c=o.ownerDocument&&o.ownerDocument.documentElement;if(!c)return new Of;let u=0,p=0,f=c.clientWidth,m=c.clientHeight;if(o!==c){const v=o.getBoundingClientRect();u=Math.max(u,v.left),p=Math.max(p,v.top),f=Math.min(f,v.right),m=Math.min(m,v.bottom)}const g=new Of(u<f?u:-1,p<m?p:-1,u<f?f-u:0,p<m?m-p:0);return n||(n="r-"+ ++s.lastContainerBoundingRectCacheId,o.__tabsterCacheId=n),s.containerBoundingRectCache[n]={rect:g,element:o},s.containerBoundingRectCacheTimer||(s.containerBoundingRectCacheTimer=window.setTimeout(()=>{s.containerBoundingRectCacheTimer=void 0;for(const v of Object.keys(s.containerBoundingRectCache))delete s.containerBoundingRectCache[v].element.__tabsterCacheId;s.containerBoundingRectCache={}},50)),g}function qf(t,o,n){const s=Wf(o);if(!s)return!1;const l=Hf(t,s),c=o.getBoundingClientRect(),u=c.height*(1-n),p=Math.max(0,l.top-c.top),f=Math.max(0,c.bottom-l.bottom),m=p+f;return m===0||m<=u}function Ny(t,o,n){const s=Wf(o);if(s){const l=Hf(t,s),c=o.getBoundingClientRect();n?s.scrollTop+=c.top-l.top:s.scrollTop+=c.bottom-l.bottom}}function Wf(t){const o=t.ownerDocument;if(o){for(let n=X.getParentElement(t);n;n=X.getParentElement(n))if(n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight)return n;return o.documentElement}return null}function Ty(t){t.__shouldIgnoreFocus=!0}function $f(t){return!!t.__shouldIgnoreFocus}function Ey(t){const o=new Uint32Array(4);if(t.crypto&&t.crypto.getRandomValues)t.crypto.getRandomValues(o);else if(t.msCrypto&&t.msCrypto.getRandomValues)t.msCrypto.getRandomValues(o);else for(let s=0;s<o.length;s++)o[s]=4294967295*Math.random();const n=[];for(let s=0;s<o.length;s++)n.push(o[s].toString(36));return n.push("|"),n.push((++xy).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function Xi(t,o){const n=Er(t);let s=o.__tabsterElementUID;return s||(s=o.__tabsterElementUID=Ey(t())),!n.elementByUId[s]&&ma(o.ownerDocument,o)&&(n.elementByUId[s]=new pr(t,o)),s}function Vf(t,o){const n=Er(t);for(const s of Object.keys(n.elementByUId)){const l=n.elementByUId[s],c=l&&l.get();c&&o&&!X.nodeContains(o,c)||delete n.elementByUId[s]}}function ma(t,o){return X.nodeContains(t?.body,o)}function Uf(t,o){const n=t.matches||t.matchesSelector||t.msMatchesSelector||t.webkitMatchesSelector;return n&&n.call(t,o)}function zy(t){const o=Er(t);if(o.basics.Promise)return o.basics.Promise;throw new Error("No Promise defined.")}function Py(t){return t.basics.WeakRef}let Ry=0;class ga{constructor(o,n,s){const l=o.getWindow;this._tabster=o,this._element=new pr(l,n),this._props={...s},this.id="i"+ ++Ry}getElement(){return this._element.get()}getProps(){return this._props}setProps(o){this._props={...o}}}class Qi{constructor(o,n,s,l,c){var u;this._focusIn=g=>{if(this._fixedTarget){const k=this._fixedTarget.get();k&&Tr(k);return}const v=this.input;if(this.onFocusIn&&v){const k=g.relatedTarget;this.onFocusIn(this,this._isBackward(!0,v,k),k)}},this._focusOut=g=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const v=this.input;if(this.onFocusOut&&v){const k=g.relatedTarget;this.onFocusOut(this,this._isBackward(!1,v,k),k)}};const p=o(),f=p.document.createElement("i");f.tabIndex=0,f.setAttribute("role","none"),f.setAttribute(ly,""),f.setAttribute("aria-hidden","true");const m=f.style;m.position="fixed",m.width=m.height="1px",m.opacity="0.001",m.zIndex="-1",m.setProperty("content-visibility","hidden"),Ty(f),this.input=f,this.isFirst=s.isFirst,this.isOutside=n,this._isPhantom=(u=s.isPhantom)!==null&&u!==void 0?u:!1,this._fixedTarget=c,f.addEventListener("focusin",this._focusIn),f.addEventListener("focusout",this._focusOut),f.__tabsterDummyContainer=l,this._isPhantom&&(this._disposeTimer=p.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(p.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var o;this._clearDisposeTimeout&&this._clearDisposeTimeout();const n=this.input;n&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,n.removeEventListener("focusin",this._focusIn),n.removeEventListener("focusout",this._focusOut),delete n.__tabsterDummyContainer,(o=X.getParentNode(n))===null||o===void 0||o.removeChild(n))}setTopLeft(o,n){var s;const l=(s=this.input)===null||s===void 0?void 0:s.style;l&&(l.top=`${o}px`,l.left=`${n}px`)}_isBackward(o,n,s){return o&&!s?!this.isFirst:!!(s&&n.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_FOLLOWING)}}const va={Root:1,Mover:3,Groupper:4};class En{constructor(o,n,s,l,c,u){this._element=n,this._instance=new Iy(o,n,this,s,l,c,u)}_setHandlers(o,n){this._onFocusIn=o,this._onFocusOut=n}moveOut(o){var n;(n=this._instance)===null||n===void 0||n.moveOut(o)}moveOutWithDefaultAction(o,n){var s;(s=this._instance)===null||s===void 0||s.moveOutWithDefaultAction(o,n)}getHandler(o){return o?this._onFocusIn:this._onFocusOut}setTabbable(o){var n;(n=this._instance)===null||n===void 0||n.setTabbable(this,o)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(o,n,s,l,c){const p=new Qi(o.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(p){let f,m;if(n.tagName==="BODY")f=n,m=s&&l||!s&&!l?X.getFirstElementChild(n):null;else{s&&(!l||l&&!o.focusable.isFocusable(n,!1,!0,!0))?(f=n,m=l?n.firstElementChild:null):(f=X.getParentElement(n),m=s&&l||!s&&!l?n:X.getNextElementSibling(n));let g,v;do g=s&&l||!s&&!l?X.getPreviousElementSibling(m):m,v=zn(g),v===n?m=s&&l||!s&&!l?g:X.getNextElementSibling(g):v=null;while(v)}f?.dispatchEvent(new Vr({by:"root",owner:f,next:null,relatedEvent:c}))&&(X.insertBefore(f,p,m),Tr(p))}}static addPhantomDummyWithTarget(o,n,s,l){const u=new Qi(o.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new pr(o.getWindow,l)).input;if(u){let p,f;Cy(n)&&!s?(p=n,f=X.getFirstElementChild(n)):(p=X.getParentElement(n),f=s?n:X.getNextElementSibling(n)),p&&X.insertBefore(p,u,f)}}}class Fy{constructor(o){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=n=>{var s;this._changedParents.has(n)||(this._changedParents.add(n),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(s=this._win)===null||s===void 0?void 0:s.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const l of this._dummyElements){const c=l.get();if(c){const u=this._dummyCallbacks.get(c);if(u){const p=X.getParentNode(c);(!p||this._changedParents.has(p))&&u()}}}this._changedParents=new WeakSet},pa)))},this._win=o}add(o,n){!this._dummyCallbacks.has(o)&&this._win&&(this._dummyElements.push(new pr(this._win,o)),this._dummyCallbacks.set(o,n),this.domChanged=this._domChanged)}remove(o){this._dummyElements=this._dummyElements.filter(n=>{const s=n.get();return s&&s!==o}),this._dummyCallbacks.delete(o),this._dummyElements.length===0&&delete this.domChanged}dispose(){var o;const n=(o=this._win)===null||o===void 0?void 0:o.call(this);this._updateTimer&&(n?.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(n?.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(o){this._win&&(this._updateQueue.add(o),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var o;this._updateTimer||(this._updateTimer=(o=this._win)===null||o===void 0?void 0:o.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+pa<=Date.now()){const n=new Map,s=[];for(const l of this._updateQueue)s.push(l(n));this._updateQueue.clear();for(const l of s)l();n.clear()}else this._scheduledUpdatePositions()},pa))}}class Iy{constructor(o,n,s,l,c,u,p){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(y,x,b)=>{this._onFocus(!0,y,x,b)},this._onFocusOut=(y,x,b)=>{this._onFocus(!1,y,x,b)},this.moveOut=y=>{var x;const b=this._firstDummy,_=this._lastDummy;if(b&&_){this._ensurePosition();const B=b.input,E=_.input,N=(x=this._element)===null||x===void 0?void 0:x.get();if(B&&E&&N){let T;y?(B.tabIndex=0,T=B):(E.tabIndex=0,T=E),T&&Tr(T)}}},this.moveOutWithDefaultAction=(y,x)=>{var b;const _=this._firstDummy,B=this._lastDummy;if(_&&B){this._ensurePosition();const E=_.input,N=B.input,T=(b=this._element)===null||b===void 0?void 0:b.get();if(E&&N&&T){let R;y?!_.isOutside&&this._tabster.focusable.isFocusable(T,!0,!0,!0)?R=T:(_.useDefaultAction=!0,E.tabIndex=0,R=E):(B.useDefaultAction=!0,N.tabIndex=0,R=N),R&&T.dispatchEvent(new Vr({by:"root",owner:T,next:null,relatedEvent:x}))&&Tr(R)}}},this.setTabbable=(y,x)=>{var b,_;for(const E of this._wrappers)if(E.manager===y){E.tabbable=x;break}const B=this._getCurrent();if(B){const E=B.tabbable?0:-1;let N=(b=this._firstDummy)===null||b===void 0?void 0:b.input;N&&(N.tabIndex=E),N=(_=this._lastDummy)===null||_===void 0?void 0:_.input,N&&(N.tabIndex=E)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=y=>{var x,b;const _=((x=this._firstDummy)===null||x===void 0?void 0:x.input)||((b=this._lastDummy)===null||b===void 0?void 0:b.input),B=this._transformElements,E=new Set;let N=0,T=0;const R=this._getWindow();for(let D=_;D&&D.nodeType===Node.ELEMENT_NODE;D=X.getParentElement(D)){let A=y.get(D);if(A===void 0){const H=R.getComputedStyle(D).transform;H&&H!=="none"&&(A={scrollTop:D.scrollTop,scrollLeft:D.scrollLeft}),y.set(D,A||null)}A&&(E.add(D),B.has(D)||D.addEventListener("scroll",this._addTransformOffsets),N+=A.scrollTop,T+=A.scrollLeft)}for(const D of B)E.has(D)||D.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=E,()=>{var D,A;(D=this._firstDummy)===null||D===void 0||D.setTopLeft(N,T),(A=this._lastDummy)===null||A===void 0||A.setTopLeft(N,T)}};const f=n.get();if(!f)throw new Error("No element");this._tabster=o,this._getWindow=o.getWindow,this._callForDefaultAction=p;const m=f.__tabsterDummy;if((m||this)._wrappers.push({manager:s,priority:l,tabbable:!0}),m)return m;f.__tabsterDummy=this;const g=c?.dummyInputsPosition,v=f.tagName;this._isOutside=g?g===ay.Outside:(u||v==="UL"||v==="OL"||v==="TABLE")&&!(v==="LI"||v==="TD"||v==="TH"),this._firstDummy=new Qi(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new Qi(this._getWindow,this._isOutside,{isFirst:!1},n);const k=this._firstDummy.input;k&&o._dummyObserver.add(k,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=n,this._addDummyInputs()}dispose(o,n){var s,l,c,u;if((this._wrappers=this._wrappers.filter(f=>f.manager!==o&&!n)).length===0){delete((s=this._element)===null||s===void 0?void 0:s.get()).__tabsterDummy;for(const g of this._transformElements)g.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const f=this._getWindow();this._addTimer&&(f.clearTimeout(this._addTimer),delete this._addTimer);const m=(l=this._firstDummy)===null||l===void 0?void 0:l.input;m&&this._tabster._dummyObserver.remove(m),(c=this._firstDummy)===null||c===void 0||c.dispose(),(u=this._lastDummy)===null||u===void 0||u.dispose()}}_onFocus(o,n,s,l){var c;const u=this._getCurrent();u&&(!n.useDefaultAction||this._callForDefaultAction)&&((c=u.manager.getHandler(o))===null||c===void 0||c(n,s,l))}_getCurrent(){return this._wrappers.sort((o,n)=>o.tabbable!==n.tabbable?o.tabbable?-1:1:o.priority-n.priority),this._wrappers[0]}_ensurePosition(){var o,n,s;const l=(o=this._element)===null||o===void 0?void 0:o.get(),c=(n=this._firstDummy)===null||n===void 0?void 0:n.input,u=(s=this._lastDummy)===null||s===void 0?void 0:s.input;if(!(!l||!c||!u))if(this._isOutside){const p=X.getParentNode(l);if(p){const f=X.getNextSibling(l);f!==u&&X.insertBefore(p,u,f),X.getPreviousElementSibling(l)!==c&&X.insertBefore(p,c,l)}}else{X.getLastElementChild(l)!==u&&X.appendChild(l,u);const p=X.getFirstElementChild(l);p&&p!==c&&p.parentNode&&X.insertBefore(p.parentNode,c,p)}}}function Gf(t){let o=null;for(let n=X.getLastElementChild(t);n;n=X.getLastElementChild(n))o=n;return o||void 0}function Dy(t,o){let n=t,s=null;for(;n&&!s;)s=o?X.getPreviousElementSibling(n):X.getNextElementSibling(n),n=X.getParentElement(n);return s||void 0}function jy(t){var o,n;const s=t.ownerDocument,l=(o=s.defaultView)===null||o===void 0?void 0:o.getComputedStyle(t);return t.offsetParent===null&&s.body!==t&&l?.position!=="fixed"||l?.visibility==="hidden"||l?.position==="fixed"&&(l.display==="none"||((n=t.parentElement)===null||n===void 0?void 0:n.offsetParent)===null&&s.body!==t.parentElement)}function ba(t){return t.tagName==="INPUT"&&!!t.name&&t.type==="radio"}function Oy(t){if(!ba(t))return;const o=t.name;let n=Array.from(X.getElementsByName(t,o)),s;return n=n.filter(l=>ba(l)?(l.checked&&(s=l),!0):!1),{name:o,buttons:new Set(n),checked:s}}function zn(t){var o;return((o=t?.__tabsterDummyContainer)===null||o===void 0?void 0:o.get())||null}function Kf(t,o){return JSON.stringify(t)}function Ay(t,o){for(const n of Object.keys(o)){const s=o[n];s?t[n]=s:delete t[n]}}function My(t,o,n){let s;{const l=t.getAttribute(rr);if(l)try{s=JSON.parse(l)}catch{}}s||(s={}),Ay(s,o),Object.keys(s).length>0?t.setAttribute(rr,Kf(s)):t.removeAttribute(rr)}class Xf extends En{constructor(o,n,s,l){super(o,n,va.Root,l,void 0,!0),this._onDummyInputFocus=c=>{var u;if(c.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const p=this._element.get();if(p){this._setFocused(!0);const f=this._tabster.focusedElement.getFirstOrLastTabbable(c.isFirst,{container:p,ignoreAccessibility:!0});if(f){Tr(f);return}}(u=c.input)===null||u===void 0||u.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=o,this._setFocused=s}}class Ly extends ga{constructor(o,n,s,l,c){super(o,n,l),this._isFocused=!1,this._setFocused=m=>{var g;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===m)return;const v=this._element.get();v&&(m?(this._isFocused=!0,(g=this._dummyManager)===null||g===void 0||g.setTabbable(!1),v.dispatchEvent(new yy({element:v}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var k;delete this._setFocusedTimer,this._isFocused=!1,(k=this._dummyManager)===null||k===void 0||k.setTabbable(!0),v.dispatchEvent(new wy({element:v}))},0))},this._onFocusIn=m=>{const g=this._tabster.getParent,v=this._element.get();let k=m.composedPath()[0];do{if(k===v){this._setFocused(!0);return}k=k&&g(k)}while(k)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=s;const u=o.getWindow;this.uid=Xi(u,n),this._sys=c,(o.controlTab||o.rootDummyInputs)&&this.addDummyInputs();const f=u().document;f.addEventListener(tr,this._onFocusIn),f.addEventListener(Tn,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Xf(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var o;this._onDispose(this);const n=this._tabster.getWindow(),s=n.document;s.removeEventListener(tr,this._onFocusIn),s.removeEventListener(Tn,this._onFocusOut),this._setFocusedTimer&&(n.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(o=this._dummyManager)===null||o===void 0||o.dispose(),this._remove()}moveOutWithDefaultAction(o,n){const s=this._dummyManager;if(s)s.moveOutWithDefaultAction(o,n);else{const l=this.getElement();l&&Xf.moveWithPhantomDummy(this._tabster,l,!0,o,n)}}_add(){}_remove(){}}class tt{constructor(o,n){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var s;const l=this._win().document,c=l.body;if(c){this._autoRootUnwait(l);const u=this._autoRoot;if(u)return My(c,{root:u}),Ff(this._tabster,c),(s=$t(this._tabster,c))===null||s===void 0?void 0:s.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,l.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=s=>{delete this._roots[s.id]},this._tabster=o,this._win=o.getWindow,this._autoRoot=n,o.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(o){o.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const o=this._win();this._autoRootUnwait(o.document),delete this._autoRoot,Object.keys(this._roots).forEach(n=>{this._roots[n]&&(this._roots[n].dispose(),delete this._roots[n])}),this.rootById={}}createRoot(o,n,s){const l=new Ly(this._tabster,o,this._onRootDispose,n,s);return this._roots[l.id]=l,this._forceDummy&&l.addDummyInputs(),l}addDummyInputs(){this._forceDummy=!0;const o=this._roots;for(const n of Object.keys(o))o[n].addDummyInputs()}static getRootByUId(o,n){const s=o().__tabsterInstance;return s&&s.root.rootById[n]}static getTabsterContext(o,n,s){s===void 0&&(s={});var l,c,u,p;if(!n.ownerDocument)return;const{checkRtl:f,referenceElement:m}=s,g=o.getParent;o.drainInitQueue();let v,k,y,x,b=!1,_,B,E,N,T=m||n;const R={};for(;T&&(!v||f);){const A=$t(o,T);if(f&&E===void 0){const he=T.dir;he&&(E=he.toLowerCase()==="rtl")}if(!A){T=g(T);continue}const H=T.tagName;(A.uncontrolled||H==="IFRAME"||H==="WEBVIEW")&&o.focusable.isVisible(T)&&(N=T),!x&&(!((l=A.focusable)===null||l===void 0)&&l.excludeFromMover)&&!y&&(b=!0);const Q=A.modalizer,Z=A.groupper,ve=A.mover;!k&&Q&&(k=Q),!y&&Z&&(!k||Q)&&(k?(!Z.isActive()&&Z.getProps().tabbability&&k.userId!==((c=o.modalizer)===null||c===void 0?void 0:c.activeId)&&(k=void 0,y=Z),B=Z):y=Z),!x&&ve&&(!k||Q)&&(!Z||T!==n)&&T.contains(n)&&(x=ve,_=!!y&&y!==Z),A.root&&(v=A.root),!((u=A.focusable)===null||u===void 0)&&u.ignoreKeydown&&Object.assign(R,A.focusable.ignoreKeydown),T=g(T)}if(!v){const A=o.root;A._autoRoot&&!((p=n.ownerDocument)===null||p===void 0)&&p.body&&(v=A._autoRootCreate())}return y&&!x&&(_=!0),v?{root:v,modalizer:k,groupper:y,mover:x,groupperBeforeMover:_,modalizerInGroupper:B,rtl:f?!!E:void 0,uncontrolled:N,excludedFromMover:b,ignoreKeydown:A=>!!R[A.key]}:void 0}static getRoot(o,n){var s;const l=o.getParent;for(let c=n;c;c=l(c)){const u=(s=$t(o,c))===null||s===void 0?void 0:s.root;if(u)return u}}onRoot(o,n){n?delete this.rootById[o.uid]:this.rootById[o.uid]=o}}class Qf{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(o){const n=this._callbacks;n.indexOf(o)<0&&n.push(o)}subscribeFirst(o){const n=this._callbacks,s=n.indexOf(o);s>=0&&n.splice(s,1),n.unshift(o)}unsubscribe(o){const n=this._callbacks.indexOf(o);n>=0&&this._callbacks.splice(n,1)}setVal(o,n){this._val!==o&&(this._val=o,this._callCallbacks(o,n))}getVal(){return this._val}trigger(o,n){this._callCallbacks(o,n)}_callCallbacks(o,n){this._callbacks.forEach(s=>s(o,n))}}class Hy{constructor(o){this._tabster=o}dispose(){}getProps(o){const n=$t(this._tabster,o);return n&&n.focusable||{}}isFocusable(o,n,s,l){return Uf(o,Rf)&&(n||o.tabIndex!==-1)?(s||this.isVisible(o))&&(l||this.isAccessible(o)):!1}isVisible(o){if(!o.ownerDocument||o.nodeType!==Node.ELEMENT_NODE||jy(o))return!1;const n=o.ownerDocument.body.getBoundingClientRect();return!(n.width===0&&n.height===0)}isAccessible(o){var n;for(let s=o;s;s=X.getParentElement(s)){const l=$t(this._tabster,s);if(this._isHidden(s)||!((n=l?.focusable)===null||n===void 0?void 0:n.ignoreAriaDisabled)&&this._isDisabled(s))return!1}return!0}_isDisabled(o){return o.hasAttribute("disabled")}_isHidden(o){var n;const s=o.getAttribute("aria-hidden");return!!(s&&s.toLowerCase()==="true"&&!(!((n=this._tabster.modalizer)===null||n===void 0)&&n.isAugmented(o)))}findFirst(o,n){return this.findElement({...o},n)}findLast(o,n){return this.findElement({isBackward:!0,...o},n)}findNext(o,n){return this.findElement({...o},n)}findPrev(o,n){return this.findElement({...o,isBackward:!0},n)}findDefault(o,n){return this.findElement({...o,acceptCondition:s=>this.isFocusable(s,o.includeProgrammaticallyFocusable)&&!!this.getProps(s).isDefault},n)||null}findAll(o){return this._findElements(!0,o)||[]}findElement(o,n){const s=this._findElements(!1,o,n);return s&&s[0]}_findElements(o,n,s){var l,c,u;const{container:p,currentElement:f=null,includeProgrammaticallyFocusable:m,useActiveModalizer:g,ignoreAccessibility:v,modalizerId:k,isBackward:y,onElement:x}=n;s||(s={});const b=[];let{acceptCondition:_}=n;const B=!!_;if(!p)return null;_||(_=R=>this.isFocusable(R,m,!1,v));const E={container:p,modalizerUserId:k===void 0&&g?(l=this._tabster.modalizer)===null||l===void 0?void 0:l.activeId:k||((u=(c=tt.getTabsterContext(this._tabster,p))===null||c===void 0?void 0:c.modalizer)===null||u===void 0?void 0:u.userId),from:f||p,isBackward:y,isFindAll:o,acceptCondition:_,hasCustomCondition:B,includeProgrammaticallyFocusable:m,ignoreAccessibility:v,cachedGrouppers:{},cachedRadioGroups:{}},N=ha(p.ownerDocument,p,R=>this._acceptElement(R,E));if(!N)return null;const T=R=>{var D,A;const H=(D=E.foundElement)!==null&&D!==void 0?D:E.foundBackward;return H&&b.push(H),o?H&&(E.found=!1,delete E.foundElement,delete E.foundBackward,delete E.fromCtx,E.from=H,x&&!x(H))?!1:!!(H||R):(H&&s&&(s.uncontrolled=(A=tt.getTabsterContext(this._tabster,H))===null||A===void 0?void 0:A.uncontrolled),!!(R&&!H))};if(f||(s.outOfDOMOrder=!0),f&&X.nodeContains(p,f))N.currentNode=f;else if(y){const R=Gf(p);if(!R)return null;if(this._acceptElement(R,E)===NodeFilter.FILTER_ACCEPT&&!T(!0))return E.skippedFocusable&&(s.outOfDOMOrder=!0),b;N.currentNode=R}do y?N.previousNode():N.nextNode();while(T());return E.skippedFocusable&&(s.outOfDOMOrder=!0),b.length?b:null}_acceptElement(o,n){var s,l,c;if(n.found)return NodeFilter.FILTER_ACCEPT;const u=n.foundBackward;if(u&&(o===u||!X.nodeContains(u,o)))return n.found=!0,n.foundElement=u,NodeFilter.FILTER_ACCEPT;const p=n.container;if(o===p)return NodeFilter.FILTER_SKIP;if(!X.nodeContains(p,o)||zn(o)||X.nodeContains(n.rejectElementsFrom,o))return NodeFilter.FILTER_REJECT;const f=n.currentCtx=tt.getTabsterContext(this._tabster,o);if(!f)return NodeFilter.FILTER_SKIP;if($f(o))return this.isFocusable(o,void 0,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!n.hasCustomCondition&&(o.tagName==="IFRAME"||o.tagName==="WEBVIEW"))return this.isVisible(o)&&((s=f.modalizer)===null||s===void 0?void 0:s.userId)===((l=this._tabster.modalizer)===null||l===void 0?void 0:l.activeId)?(n.found=!0,n.rejectElementsFrom=n.foundElement=o,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!n.ignoreAccessibility&&!this.isAccessible(o))return this.isFocusable(o,!1,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let m,g=n.fromCtx;g||(g=n.fromCtx=tt.getTabsterContext(this._tabster,n.from));const v=g?.mover;let k=f.groupper,y=f.mover;if(m=(c=this._tabster.modalizer)===null||c===void 0?void 0:c.acceptElement(o,n),m!==void 0&&(n.skippedFocusable=!0),m===void 0&&(k||y||v)){const x=k?.getElement(),b=v?.getElement();let _=y?.getElement();if(_&&X.nodeContains(b,_)&&X.nodeContains(p,b)&&(!x||!y||X.nodeContains(b,x))&&(y=v,_=b),x){if(x===p||!X.nodeContains(p,x))k=void 0;else if(!X.nodeContains(x,o))return NodeFilter.FILTER_REJECT}if(_){if(!X.nodeContains(p,_))y=void 0;else if(!X.nodeContains(_,o))return NodeFilter.FILTER_REJECT}k&&y&&(_&&x&&!X.nodeContains(x,_)?y=void 0:k=void 0),k&&(m=k.acceptElement(o,n)),y&&(m=y.acceptElement(o,n))}if(m===void 0&&(m=n.acceptCondition(o)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,m===NodeFilter.FILTER_SKIP&&this.isFocusable(o,!1,!0,!0)&&(n.skippedFocusable=!0)),m===NodeFilter.FILTER_ACCEPT&&!n.found){if(!n.isFindAll&&ba(o)&&!o.checked){const x=o.name;let b=n.cachedRadioGroups[x];if(b||(b=Oy(o),b&&(n.cachedRadioGroups[x]=b)),b?.checked&&b.checked!==o)return NodeFilter.FILTER_SKIP}n.isBackward?(n.foundBackward=o,m=NodeFilter.FILTER_SKIP):(n.found=!0,n.foundElement=o)}return m}}const Ke={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};function qy(t,o){var n;const s=t.getParent;let l=o;do{const c=(n=$t(t,l))===null||n===void 0?void 0:n.uncontrolled;if(c&&t.uncontrolled.isUncontrolledCompletely(l,!!c.completely))return l;l=s(l)}while(l)}const Yf={[Lo.Restorer]:0,[Lo.Deloser]:1,[Lo.EscapeGroupper]:2};class Xe extends Qf{constructor(o,n){super(),this._init=()=>{const s=this._win(),l=s.document;l.addEventListener(tr,this._onFocusIn,!0),l.addEventListener(Tn,this._onFocusOut,!0),s.addEventListener("keydown",this._onKeyDown,!0);const c=X.getActiveElement(l);c&&c!==l.body&&this._setFocusedElement(c),this.subscribe(this._onChanged)},this._onFocusIn=s=>{const l=s.composedPath()[0];l&&this._setFocusedElement(l,s.detail.relatedTarget,s.detail.isFocusedProgrammatically)},this._onFocusOut=s=>{var l;this._setFocusedElement(void 0,(l=s.detail)===null||l===void 0?void 0:l.originalEvent.relatedTarget)},this._validateFocusedElement=s=>{},this._onKeyDown=s=>{if(s.key!==Ke.Tab||s.ctrlKey)return;const l=this.getVal();if(!l||!l.ownerDocument||l.contentEditable==="true")return;const c=this._tabster,u=c.controlTab,p=tt.getTabsterContext(c,l);if(!p||p.ignoreKeydown(s))return;const f=s.shiftKey,m=Xe.findNextTabbable(c,p,void 0,l,void 0,f,!0),g=p.root.getElement();if(!g)return;const v=m?.element,k=qy(c,l);if(v){const y=m.uncontrolled;if(p.uncontrolled||X.nodeContains(y,l)){if(!m.outOfDOMOrder&&y===p.uncontrolled||k&&!X.nodeContains(k,v))return;En.addPhantomDummyWithTarget(c,l,f,v);return}if(y&&c.focusable.isVisible(y)||v.tagName==="IFRAME"&&c.focusable.isVisible(v)){g.dispatchEvent(new Vr({by:"root",owner:g,next:v,relatedEvent:s}))&&En.moveWithPhantomDummy(c,y??v,!1,f,s);return}(u||m?.outOfDOMOrder)&&g.dispatchEvent(new Vr({by:"root",owner:g,next:v,relatedEvent:s}))&&(s.preventDefault(),s.stopImmediatePropagation(),Tr(v))}else!k&&g.dispatchEvent(new Vr({by:"root",owner:g,next:null,relatedEvent:s}))&&p.root.moveOutWithDefaultAction(f,s)},this._onChanged=(s,l)=>{var c,u;if(s)s.dispatchEvent(new gy(l));else{const p=(c=this._lastVal)===null||c===void 0?void 0:c.get();if(p){const f={...l},m=tt.getTabsterContext(this._tabster,p),g=(u=m?.modalizer)===null||u===void 0?void 0:u.userId;g&&(f.modalizerId=g),p.dispatchEvent(new vy(f))}}},this._tabster=o,this._win=n,o.queueInit(this._init)}dispose(){super.dispose();const o=this._win(),n=o.document;n.removeEventListener(tr,this._onFocusIn,!0),n.removeEventListener(Tn,this._onFocusOut,!0),o.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const s=this._asyncFocus;s&&(o.clearTimeout(s.timeout),delete this._asyncFocus),delete Xe._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(o,n){var s,l;let c=Xe._lastResetElement,u=c&&c.get();u&&X.nodeContains(n,u)&&delete Xe._lastResetElement,u=(l=(s=o._nextVal)===null||s===void 0?void 0:s.element)===null||l===void 0?void 0:l.get(),u&&X.nodeContains(n,u)&&delete o._nextVal,c=o._lastVal,u=c&&c.get(),u&&X.nodeContains(n,u)&&delete o._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var o;let n=(o=this._lastVal)===null||o===void 0?void 0:o.get();return(!n||n&&!ma(n.ownerDocument,n))&&(this._lastVal=n=void 0),n}focus(o,n,s,l){return this._tabster.focusable.isFocusable(o,n,!1,s)?(o.focus({preventScroll:l}),!0):!1}focusDefault(o){const n=this._tabster.focusable.findDefault({container:o});return n?(this._tabster.focusedElement.focus(n),!0):!1}getFirstOrLastTabbable(o,n){var s;const{container:l,ignoreAccessibility:c}=n;let u;if(l){const p=tt.getTabsterContext(this._tabster,l);p&&(u=(s=Xe.findNextTabbable(this._tabster,p,l,void 0,void 0,!o,c))===null||s===void 0?void 0:s.element)}return u&&!X.nodeContains(l,u)&&(u=void 0),u||void 0}_focusFirstOrLast(o,n){const s=this.getFirstOrLastTabbable(o,n);return s?(this.focus(s,!1,!0),!0):!1}focusFirst(o){return this._focusFirstOrLast(!0,o)}focusLast(o){return this._focusFirstOrLast(!1,o)}resetFocus(o){if(!this._tabster.focusable.isVisible(o))return!1;if(this._tabster.focusable.isFocusable(o,!0,!0,!0))this.focus(o);else{const n=o.getAttribute("tabindex"),s=o.getAttribute("aria-hidden");o.tabIndex=-1,o.setAttribute("aria-hidden","true"),Xe._lastResetElement=new pr(this._win,o),this.focus(o,!0,!0),this._setOrRemoveAttribute(o,"tabindex",n),this._setOrRemoveAttribute(o,"aria-hidden",s)}return!0}requestAsyncFocus(o,n,s){const l=this._tabster.getWindow(),c=this._asyncFocus;if(c){if(Yf[o]>Yf[c.source])return;l.clearTimeout(c.timeout)}this._asyncFocus={source:o,callback:n,timeout:l.setTimeout(()=>{this._asyncFocus=void 0,n()},s)}}cancelAsyncFocus(o){const n=this._asyncFocus;n?.source===o&&(this._tabster.getWindow().clearTimeout(n.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(o,n,s){s===null?o.removeAttribute(n):o.setAttribute(n,s)}_setFocusedElement(o,n,s){var l,c;if(this._tabster._noop)return;const u={relatedTarget:n};if(o){const f=(l=Xe._lastResetElement)===null||l===void 0?void 0:l.get();if(Xe._lastResetElement=void 0,f===o||$f(o))return;u.isFocusedProgrammatically=s;const m=tt.getTabsterContext(this._tabster,o),g=(c=m?.modalizer)===null||c===void 0?void 0:c.userId;g&&(u.modalizerId=g)}const p=this._nextVal={element:o?new pr(this._win,o):void 0,detail:u};o&&o!==this._val&&this._validateFocusedElement(o),this._nextVal===p&&this.setVal(o,u),this._nextVal=void 0}setVal(o,n){super.setVal(o,n),o&&(this._lastVal=new pr(this._win,o))}static findNextTabbable(o,n,s,l,c,u,p){const f=s||n.root.getElement();if(!f)return null;let m=null;const g=Xe._isTabbingTimer,v=o.getWindow();g&&v.clearTimeout(g),Xe.isTabbing=!0,Xe._isTabbingTimer=v.setTimeout(()=>{delete Xe._isTabbingTimer,Xe.isTabbing=!1},0);const k=n.modalizer,y=n.groupper,x=n.mover,b=_=>{if(m=_.findNextTabbable(l,c,u,p),l&&!m?.element){const B=_!==k&&X.getParentElement(_.getElement());if(B){const E=tt.getTabsterContext(o,l,{referenceElement:B});if(E){const N=_.getElement(),T=u?N:N&&Gf(N)||N;T&&(m=Xe.findNextTabbable(o,E,s,T,B,u,p),m&&(m.outOfDOMOrder=!0))}}}};if(y&&x)b(n.groupperBeforeMover?y:x);else if(y)b(y);else if(x)b(x);else if(k)b(k);else{const _={container:f,currentElement:l,referenceElement:c,ignoreAccessibility:p,useActiveModalizer:!0},B={};m={element:o.focusable[u?"findPrev":"findNext"](_,B),outOfDOMOrder:B.outOfDOMOrder,uncontrolled:B.uncontrolled}}return m}}Xe.isTabbing=!1;class Wy extends En{constructor(o,n,s,l){super(s,o,va.Groupper,l,!0),this._setHandlers((c,u,p)=>{var f,m;const g=o.get(),v=c.input;if(g&&v){const k=tt.getTabsterContext(s,v);if(k){let y;y=(f=n.findNextTabbable(p||void 0,void 0,u,!0))===null||f===void 0?void 0:f.element,y||(y=(m=Xe.findNextTabbable(s,k,void 0,c.isOutside?v:Dy(g,!u),void 0,u,!0))===null||m===void 0?void 0:m.element),y&&Tr(y)}}})}}class $y extends ga{constructor(o,n,s,l,c){super(o,n,l),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=s,o.controlTab||(this.dummyManager=new Wy(this._element,this,o,c))}dispose(){var o;this._onDispose(this),this._element.get(),(o=this.dummyManager)===null||o===void 0||o.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(o,n,s,l){const c=this.getElement();if(!c)return null;const u=zn(o)===c;if(!this._shouldTabInside&&o&&X.nodeContains(c,o)&&!u)return{element:void 0,outOfDOMOrder:!0};const p=this.getFirst(!0);if(!o||!X.nodeContains(c,o)||u)return{element:p,outOfDOMOrder:!0};const f=this._tabster;let m=null,g=!1,v;if(this._shouldTabInside&&p){const k={container:c,currentElement:o,referenceElement:n,ignoreAccessibility:l,useActiveModalizer:!0},y={};m=f.focusable[s?"findPrev":"findNext"](k,y),g=!!y.outOfDOMOrder,!m&&this._props.tabbability===Gi.LimitedTrapFocus&&(m=f.focusable[s?"findLast":"findFirst"]({container:c,ignoreAccessibility:l,useActiveModalizer:!0},y),g=!0),v=y.uncontrolled}return{element:m,uncontrolled:v,outOfDOMOrder:g}}makeTabbable(o){this._shouldTabInside=o||!this._props.tabbability}isActive(o){var n;const s=this.getElement()||null;let l=!0;for(let u=X.getParentElement(s);u;u=X.getParentElement(u)){const p=(n=$t(this._tabster,u))===null||n===void 0?void 0:n.groupper;p&&(p._shouldTabInside||(l=!1))}let c=l?this._props.tabbability?this._shouldTabInside:!1:void 0;if(c&&o){const u=this._tabster.focusedElement.getFocusedElement();u&&(c=u!==this.getFirst(!0))}return c}getFirst(o){var n;const s=this.getElement();let l;if(s){if(o&&this._tabster.focusable.isFocusable(s))return s;l=(n=this._first)===null||n===void 0?void 0:n.get(),l||(l=this._tabster.focusable.findFirst({container:s,useActiveModalizer:!0})||void 0,l&&this.setFirst(l))}return l}setFirst(o){o?this._first=new pr(this._tabster.getWindow,o):delete this._first}acceptElement(o,n){const s=n.cachedGrouppers,l=X.getParentElement(this.getElement()),c=l&&tt.getTabsterContext(this._tabster,l),u=c?.groupper,p=c?.groupperBeforeMover?u:void 0;let f;const m=k=>{let y=s[k.id],x;return y?x=y.isActive:(x=this.isActive(!0),y=s[k.id]={isActive:x}),x};if(p&&(f=p.getElement(),!m(p)&&f&&n.container!==f&&X.nodeContains(n.container,f)))return n.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const g=m(this),v=this.getElement();if(v&&g!==!0){if(v===o&&u&&(f||(f=u.getElement()),f&&!m(u)&&X.nodeContains(n.container,f)&&f!==n.container)||v!==o&&X.nodeContains(v,o))return n.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const k=s[this.id];let y;if("first"in k?y=k.first:y=k.first=this.getFirst(!0),y&&n.acceptCondition(y))return n.rejectElementsFrom=v,n.skippedFocusable=!0,y!==n.from?(n.found=!0,n.foundElement=y,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class Vy{constructor(o,n){this._current={},this._grouppers={},this._init=()=>{const s=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const l=s.document,c=X.getActiveElement(l);c&&this._onFocus(c),l.addEventListener("mousedown",this._onMouseDown,!0),s.addEventListener("keydown",this._onKeyDown,!0),s.addEventListener(da,this._onMoveFocus)},this._onGroupperDispose=s=>{delete this._grouppers[s.id]},this._onFocus=s=>{s&&this._updateCurrent(s)},this._onMouseDown=s=>{let l=s.target;for(;l&&!this._tabster.focusable.isFocusable(l);)l=this._tabster.getParent(l);l&&this._updateCurrent(l)},this._onKeyDown=s=>{if(s.key!==Ke.Enter&&s.key!==Ke.Escape||s.ctrlKey||s.altKey||s.shiftKey||s.metaKey)return;const l=this._tabster.focusedElement.getFocusedElement();l&&this.handleKeyPress(l,s)},this._onMoveFocus=s=>{var l;const c=s.composedPath()[0],u=(l=s.detail)===null||l===void 0?void 0:l.action;c&&u!==void 0&&!s.defaultPrevented&&(u===Ki.Enter?this._enterGroupper(c):this._escapeGroupper(c),s.stopImmediatePropagation())},this._tabster=o,this._win=n,o.queueInit(this._init)}dispose(){const o=this._win();this._tabster.focusedElement.cancelAsyncFocus(Lo.EscapeGroupper),this._current={},this._updateTimer&&(o.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),o.document.removeEventListener("mousedown",this._onMouseDown,!0),o.removeEventListener("keydown",this._onKeyDown,!0),o.removeEventListener(da,this._onMoveFocus),Object.keys(this._grouppers).forEach(n=>{this._grouppers[n]&&(this._grouppers[n].dispose(),delete this._grouppers[n])})}createGroupper(o,n,s){const l=this._tabster,c=new $y(l,o,this._onGroupperDispose,n,s);this._grouppers[c.id]=c;const u=l.focusedElement.getFocusedElement();return u&&X.nodeContains(o,u)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,u===l.focusedElement.getFocusedElement()&&this._updateCurrent(u)},0)),c}forgetCurrentGrouppers(){this._current={}}_updateCurrent(o){var n;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const s=this._tabster,l={};for(let c=s.getParent(o);c;c=s.getParent(c)){const u=(n=$t(s,c))===null||n===void 0?void 0:n.groupper;if(u){l[u.id]=!0,this._current[u.id]=u;const p=u.isActive()||o!==c&&(!u.getProps().delegated||u.getFirst(!1)!==o);u.makeTabbable(p)}}for(const c of Object.keys(this._current)){const u=this._current[c];u.id in l||(u.makeTabbable(!1),u.setFirst(void 0),delete this._current[c])}}_enterGroupper(o,n){const s=this._tabster,l=tt.getTabsterContext(s,o),c=l?.groupper||l?.modalizerInGroupper,u=c?.getElement();if(c&&u&&(o===u||c.getProps().delegated&&o===c.getFirst(!1))){const p=s.focusable.findNext({container:u,currentElement:o,useActiveModalizer:!0});if(p&&(!n||n&&u.dispatchEvent(new Vr({by:"groupper",owner:u,next:p,relatedEvent:n}))))return n&&(n.preventDefault(),n.stopImmediatePropagation()),p.focus(),p}return null}_escapeGroupper(o,n,s){const l=this._tabster,c=tt.getTabsterContext(l,o);let u=c?.groupper||c?.modalizerInGroupper;const p=u?.getElement();if(u&&p&&X.nodeContains(p,o)){let f;if(o!==p||s)f=u.getFirst(!0);else{const m=X.getParentElement(p),g=m?tt.getTabsterContext(l,m):void 0;u=g?.groupper,f=u?.getFirst(!0)}if(f&&(!n||n&&p.dispatchEvent(new Vr({by:"groupper",owner:p,next:f,relatedEvent:n}))))return u&&u.makeTabbable(!1),f.focus(),f}return null}moveFocus(o,n){return n===Ki.Enter?this._enterGroupper(o):this._escapeGroupper(o)}handleKeyPress(o,n,s){const l=this._tabster,c=tt.getTabsterContext(l,o);if(c&&(c?.groupper||c?.modalizerInGroupper)){if(l.focusedElement.cancelAsyncFocus(Lo.EscapeGroupper),c.ignoreKeydown(n))return;if(n.key===Ke.Enter)this._enterGroupper(o,n);else if(n.key===Ke.Escape){const u=l.focusedElement.getFocusedElement();l.focusedElement.requestAsyncFocus(Lo.EscapeGroupper,()=>{u!==l.focusedElement.getFocusedElement()&&(s&&!u||!s)||this._escapeGroupper(o,n,s)},0)}}}}class Uy extends Qf{constructor(o){super(),this._onChange=n=>{this.setVal(n,void 0)},this._keyborg=Vi(o()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Ui(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(o){var n;(n=this._keyborg)===null||n===void 0||n.setVal(o)}isNavigatingWithKeyboard(){var o;return!!(!((o=this._keyborg)===null||o===void 0)&&o.isNavigatingWithKeyboard())}}const Gy=["input","textarea","*[contenteditable]"].join(", ");class Ky extends En{constructor(o,n,s,l){super(n,o,va.Mover,l),this._onFocusDummyInput=c=>{var u,p;const f=this._element.get(),m=c.input;if(f&&m){const g=tt.getTabsterContext(this._tabster,f);let v;g&&(v=(u=Xe.findNextTabbable(this._tabster,g,void 0,m,void 0,!c.isFirst,!0))===null||u===void 0?void 0:u.element);const k=(p=this._getMemorized())===null||p===void 0?void 0:p.get();k&&this._tabster.focusable.isFocusable(k)&&(v=k),v&&Tr(v)}},this._tabster=n,this._getMemorized=s,this._setHandlers(this._onFocusDummyInput)}}const ya=1,Jf=2,Zf=3;class Xy extends ga{constructor(o,n,s,l,c){var u;super(o,n,l),this._visible={},this._onIntersection=f=>{for(const m of f){const g=m.target,v=Xi(this._win,g);let k,y=this._fullyVisible;if(m.intersectionRatio>=.25?(k=m.intersectionRatio>=.75?Wr.Visible:Wr.PartiallyVisible,k===Wr.Visible&&(y=v)):k=Wr.Invisible,this._visible[v]!==k){k===void 0?(delete this._visible[v],y===v&&delete this._fullyVisible):(this._visible[v]=k,this._fullyVisible=y);const x=this.getState(g);x&&g.dispatchEvent(new Df(x))}}},this._win=o.getWindow,this.visibilityTolerance=(u=l.visibilityTolerance)!==null&&u!==void 0?u:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=s;const p=()=>l.memorizeCurrent?this._current:void 0;o.controlTab||(this.dummyManager=new Ky(this._element,o,p,c))}dispose(){var o;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);const n=this._win();this._setCurrentTimer&&(n.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(n.clearTimeout(this._updateTimer),delete this._updateTimer),(o=this.dummyManager)===null||o===void 0||o.dispose(),delete this.dummyManager}setCurrent(o){o?this._current=new pr(this._win,o):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{var n;delete this._setCurrentTimer;const s=[];this._current!==this._prevCurrent&&(s.push(this._current),s.push(this._prevCurrent),this._prevCurrent=this._current);for(const l of s){const c=l?.get();if(c&&((n=this._allElements)===null||n===void 0?void 0:n.get(c))===this){const u=this._props;if(c&&(u.visibilityAware!==void 0||u.trackState)){const p=this.getState(c);p&&c.dispatchEvent(new Df(p))}}}}))}getCurrent(){var o;return((o=this._current)===null||o===void 0?void 0:o.get())||null}findNextTabbable(o,n,s,l){const c=this.getElement(),u=c&&zn(o)===c;if(!c)return null;let p=null,f=!1,m;if(this._props.tabbable||u||o&&!X.nodeContains(c,o)){const g={currentElement:o,referenceElement:n,container:c,ignoreAccessibility:l,useActiveModalizer:!0},v={};p=this._tabster.focusable[s?"findPrev":"findNext"](g,v),f=!!v.outOfDOMOrder,m=v.uncontrolled}return{element:p,uncontrolled:m,outOfDOMOrder:f}}acceptElement(o,n){var s,l;if(!Xe.isTabbing)return!((s=n.currentCtx)===null||s===void 0)&&s.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:c,visibilityAware:u,hasDefault:p=!0}=this._props,f=this.getElement();if(f&&(c||u||p)&&(!X.nodeContains(f,n.from)||zn(n.from)===f)){let m;if(c){const g=(l=this._current)===null||l===void 0?void 0:l.get();g&&n.acceptCondition(g)&&(m=g)}if(!m&&p&&(m=this._tabster.focusable.findDefault({container:f,useActiveModalizer:!0})),!m&&u&&(m=this._tabster.focusable.findElement({container:f,useActiveModalizer:!0,isBackward:n.isBackward,acceptCondition:g=>{var v;const k=Xi(this._win,g),y=this._visible[k];return f!==g&&!!(!((v=this._allElements)===null||v===void 0)&&v.get(g))&&n.acceptCondition(g)&&(y===Wr.Visible||y===Wr.PartiallyVisible&&(u===Wr.PartiallyVisible||!this._fullyVisible))}})),m)return n.found=!0,n.foundElement=m,n.rejectElementsFrom=f,n.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const o=this.getElement();if(this._unobserve||!o||typeof MutationObserver>"u")return;const n=this._win(),s=this._allElements=new WeakMap,l=this._tabster.focusable;let c=this._updateQueue=[];const u=X.createMutationObserver(y=>{for(const x of y){const b=x.target,_=x.removedNodes,B=x.addedNodes;if(x.type==="attributes")x.attributeName==="tabindex"&&c.push({element:b,type:Jf});else{for(let E=0;E<_.length;E++)c.push({element:_[E],type:Zf});for(let E=0;E<B.length;E++)c.push({element:B[E],type:ya})}}v()}),p=(y,x)=>{var b,_;const B=s.get(y);B&&x&&((b=this._intersectionObserver)===null||b===void 0||b.unobserve(y),s.delete(y)),!B&&!x&&(s.set(y,this),(_=this._intersectionObserver)===null||_===void 0||_.observe(y))},f=y=>{const x=l.isFocusable(y);s.get(y)?x||p(y,!0):x&&p(y)},m=y=>{const{mover:x}=k(y);if(x&&x!==this)if(x.getElement()===y&&l.isFocusable(y))p(y);else return;const b=ha(n.document,y,_=>{const{mover:B,groupper:E}=k(_);if(B&&B!==this)return NodeFilter.FILTER_REJECT;const N=E?.getFirst(!0);return E&&E.getElement()!==_&&N&&N!==_?NodeFilter.FILTER_REJECT:(l.isFocusable(_)&&p(_),NodeFilter.FILTER_SKIP)});if(b)for(b.currentNode=y;b.nextNode(););},g=y=>{s.get(y)&&p(y,!0);for(let b=X.getFirstElementChild(y);b;b=X.getNextElementSibling(b))g(b)},v=()=>{!this._updateTimer&&c.length&&(this._updateTimer=n.setTimeout(()=>{delete this._updateTimer;for(const{element:y,type:x}of c)switch(x){case Jf:f(y);break;case ya:m(y);break;case Zf:g(y);break}c=this._updateQueue=[]},0))},k=y=>{const x={};for(let b=y;b;b=X.getParentElement(b)){const _=$t(this._tabster,b);if(_&&(_.groupper&&!x.groupper&&(x.groupper=_.groupper),_.mover)){x.mover=_.mover;break}}return x};c.push({element:o,type:ya}),v(),u.observe(o,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{u.disconnect()}}getState(o){const n=Xi(this._win,o);if(n in this._visible){const s=this._visible[n]||Wr.Invisible;return{isCurrent:this._current?this._current.get()===o:void 0,visibility:s}}}}function Qy(t,o,n,s,l,c,u,p){const f=n<l?l-n:u<t?t-u:0,m=s<c?c-s:p<o?o-p:0;return f===0?m:m===0?f:Math.sqrt(f*f+m*m)}class Yy{constructor(o,n){this._init=()=>{const s=this._win();s.addEventListener("keydown",this._onKeyDown,!0),s.addEventListener(ua,this._onMoveFocus),s.addEventListener(If,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=s=>{delete this._movers[s.id]},this._onFocus=s=>{var l;let c=s,u=s;for(let p=X.getParentElement(s);p;p=X.getParentElement(p)){const f=(l=$t(this._tabster,p))===null||l===void 0?void 0:l.mover;f&&(f.setCurrent(u),c=void 0),!c&&this._tabster.focusable.isFocusable(p)&&(c=u=p)}},this._onKeyDown=async s=>{var l;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),(l=this._ignoredInputResolve)===null||l===void 0||l.call(this,!1),s.ctrlKey||s.altKey||s.shiftKey||s.metaKey)return;const c=s.key;let u;if(c===Ke.ArrowDown?u=$e.ArrowDown:c===Ke.ArrowRight?u=$e.ArrowRight:c===Ke.ArrowUp?u=$e.ArrowUp:c===Ke.ArrowLeft?u=$e.ArrowLeft:c===Ke.PageDown?u=$e.PageDown:c===Ke.PageUp?u=$e.PageUp:c===Ke.Home?u=$e.Home:c===Ke.End&&(u=$e.End),!u)return;const p=this._tabster.focusedElement.getFocusedElement();!p||await this._isIgnoredInput(p,c)||this._moveFocus(p,u,s)},this._onMoveFocus=s=>{var l;const c=s.composedPath()[0],u=(l=s.detail)===null||l===void 0?void 0:l.key;c&&u!==void 0&&!s.defaultPrevented&&(this._moveFocus(c,u),s.stopImmediatePropagation())},this._onMemorizedElement=s=>{var l;const c=s.composedPath()[0];let u=(l=s.detail)===null||l===void 0?void 0:l.memorizedElement;if(c){const p=tt.getTabsterContext(this._tabster,c),f=p?.mover;f&&(u&&!X.nodeContains(f.getElement(),u)&&(u=void 0),f.setCurrent(u),s.stopImmediatePropagation())}},this._tabster=o,this._win=n,this._movers={},o.queueInit(this._init)}dispose(){var o;const n=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),(o=this._ignoredInputResolve)===null||o===void 0||o.call(this,!1),this._ignoredInputTimer&&(n.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),n.removeEventListener("keydown",this._onKeyDown,!0),n.removeEventListener(ua,this._onMoveFocus),n.removeEventListener(If,this._onMemorizedElement),Object.keys(this._movers).forEach(s=>{this._movers[s]&&(this._movers[s].dispose(),delete this._movers[s])})}createMover(o,n,s){const l=new Xy(this._tabster,o,this._onMoverDispose,n,s);return this._movers[l.id]=l,l}moveFocus(o,n){return this._moveFocus(o,n)}_moveFocus(o,n,s){var l,c;const u=this._tabster,p=tt.getTabsterContext(u,o,{checkRtl:!0});if(!p||!p.mover||p.excludedFromMover||s&&p.ignoreKeydown(s))return null;const f=p.mover,m=f.getElement();if(p.groupperBeforeMover){const H=p.groupper;if(H&&!H.isActive(!0)){for(let Q=X.getParentElement(H.getElement());Q&&Q!==m;Q=X.getParentElement(Q))if(!((c=(l=$t(u,Q))===null||l===void 0?void 0:l.groupper)===null||c===void 0)&&c.isActive(!0))return null}else return null}if(!m)return null;const g=u.focusable,v=f.getProps(),k=v.direction||or.Both,y=k===or.Both,x=y||k===or.Vertical,b=y||k===or.Horizontal,_=k===or.GridLinear,B=_||k===or.Grid,E=v.cyclic;let N,T,R,D=0,A=0;if(B&&(R=o.getBoundingClientRect(),D=Math.ceil(R.left),A=Math.floor(R.right)),p.rtl&&(n===$e.ArrowRight?n=$e.ArrowLeft:n===$e.ArrowLeft&&(n=$e.ArrowRight)),n===$e.ArrowDown&&x||n===$e.ArrowRight&&(b||B))if(N=g.findNext({currentElement:o,container:m,useActiveModalizer:!0}),N&&B){const H=Math.ceil(N.getBoundingClientRect().left);!_&&A>H&&(N=void 0)}else!N&&E&&(N=g.findFirst({container:m,useActiveModalizer:!0}));else if(n===$e.ArrowUp&&x||n===$e.ArrowLeft&&(b||B))if(N=g.findPrev({currentElement:o,container:m,useActiveModalizer:!0}),N&&B){const H=Math.floor(N.getBoundingClientRect().right);!_&&H>D&&(N=void 0)}else!N&&E&&(N=g.findLast({container:m,useActiveModalizer:!0}));else if(n===$e.Home)B?g.findElement({container:m,currentElement:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:H=>{var Q;if(!g.isFocusable(H))return!1;const Z=Math.ceil((Q=H.getBoundingClientRect().left)!==null&&Q!==void 0?Q:0);return H!==o&&D<=Z?!0:(N=H,!1)}}):N=g.findFirst({container:m,useActiveModalizer:!0});else if(n===$e.End)B?g.findElement({container:m,currentElement:o,useActiveModalizer:!0,acceptCondition:H=>{var Q;if(!g.isFocusable(H))return!1;const Z=Math.ceil((Q=H.getBoundingClientRect().left)!==null&&Q!==void 0?Q:0);return H!==o&&D>=Z?!0:(N=H,!1)}}):N=g.findLast({container:m,useActiveModalizer:!0});else if(n===$e.PageUp){if(g.findElement({currentElement:o,container:m,useActiveModalizer:!0,isBackward:!0,acceptCondition:H=>g.isFocusable(H)?qf(this._win,H,f.visibilityTolerance)?(N=H,!1):!0:!1}),B&&N){const H=Math.ceil(N.getBoundingClientRect().left);g.findElement({currentElement:N,container:m,useActiveModalizer:!0,acceptCondition:Q=>{if(!g.isFocusable(Q))return!1;const Z=Math.ceil(Q.getBoundingClientRect().left);return D<Z||H>=Z?!0:(N=Q,!1)}})}T=!1}else if(n===$e.PageDown){if(g.findElement({currentElement:o,container:m,useActiveModalizer:!0,acceptCondition:H=>g.isFocusable(H)?qf(this._win,H,f.visibilityTolerance)?(N=H,!1):!0:!1}),B&&N){const H=Math.ceil(N.getBoundingClientRect().left);g.findElement({currentElement:N,container:m,useActiveModalizer:!0,isBackward:!0,acceptCondition:Q=>{if(!g.isFocusable(Q))return!1;const Z=Math.ceil(Q.getBoundingClientRect().left);return D>Z||H<=Z?!0:(N=Q,!1)}})}T=!0}else if(B){const H=n===$e.ArrowUp,Q=D,Z=Math.ceil(R.top),ve=A,he=Math.floor(R.bottom);let q,te,xe=0;g.findAll({container:m,currentElement:o,isBackward:H,onElement:be=>{const pe=be.getBoundingClientRect(),U=Math.ceil(pe.left),ee=Math.ceil(pe.top),Y=Math.floor(pe.right),F=Math.floor(pe.bottom);if(H&&Z<F||!H&&he>ee)return!0;const M=Math.ceil(Math.min(ve,Y))-Math.floor(Math.max(Q,U)),se=Math.ceil(Math.min(ve-Q,Y-U));if(M>0&&se>=M){const me=M/se;me>xe&&(q=be,xe=me)}else if(xe===0){const me=Qy(Q,Z,ve,he,U,ee,Y,F);(te===void 0||me<te)&&(te=me,q=be)}else if(xe>0)return!1;return!0}}),N=q}return N&&(!s||s&&m.dispatchEvent(new Vr({by:"mover",owner:m,next:N,relatedEvent:s})))?(T!==void 0&&Ny(this._win,N,T),s&&(s.preventDefault(),s.stopImmediatePropagation()),Tr(N),N):null}async _isIgnoredInput(o,n){if(o.getAttribute("aria-expanded")==="true"&&o.hasAttribute("aria-activedescendant"))return!0;if(Uf(o,Gy)){let s=0,l=0,c=0,u;if(o.tagName==="INPUT"||o.tagName==="TEXTAREA"){const p=o.type;if(c=(o.value||"").length,p==="email"||p==="number"){if(c){const m=X.getSelection(o);if(m){const g=m.toString().length,v=n===Ke.ArrowLeft||n===Ke.ArrowUp;if(m.modify("extend",v?"backward":"forward","character"),g!==m.toString().length)return m.modify("extend",v?"forward":"backward","character"),!0;c=0}}}else{const m=o.selectionStart;if(m===null)return p==="hidden";s=m||0,l=o.selectionEnd||0}}else o.contentEditable==="true"&&(u=new(zy(this._win))(p=>{this._ignoredInputResolve=y=>{delete this._ignoredInputResolve,p(y)};const f=this._win();this._ignoredInputTimer&&f.clearTimeout(this._ignoredInputTimer);const{anchorNode:m,focusNode:g,anchorOffset:v,focusOffset:k}=X.getSelection(o)||{};this._ignoredInputTimer=f.setTimeout(()=>{var y,x,b;delete this._ignoredInputTimer;const{anchorNode:_,focusNode:B,anchorOffset:E,focusOffset:N}=X.getSelection(o)||{};if(_!==m||B!==g||E!==v||N!==k){(y=this._ignoredInputResolve)===null||y===void 0||y.call(this,!1);return}if(s=E||0,l=N||0,c=((x=o.textContent)===null||x===void 0?void 0:x.length)||0,_&&B&&X.nodeContains(o,_)&&X.nodeContains(o,B)&&_!==o){let T=!1;const R=D=>{if(D===_)T=!0;else if(D===B)return!0;const A=D.textContent;if(A&&!X.getFirstChild(D)){const Q=A.length;T?B!==_&&(l+=Q):(s+=Q,l+=Q)}let H=!1;for(let Q=X.getFirstChild(D);Q&&!H;Q=Q.nextSibling)H=R(Q);return H};R(o)}(b=this._ignoredInputResolve)===null||b===void 0||b.call(this,!0)},0)}));if(u&&!await u||s!==l||s>0&&(n===Ke.ArrowLeft||n===Ke.ArrowUp||n===Ke.Home)||s<c&&(n===Ke.ArrowRight||n===Ke.ArrowDown||n===Ke.End))return!0}return!1}}function Jy(t,o,n,s){if(typeof MutationObserver>"u")return()=>{};const l=o.getWindow;let c;const u=g=>{var v,k,y,x,b;const _=new Set;for(const B of g){const E=B.target,N=B.removedNodes,T=B.addedNodes;if(B.type==="attributes")B.attributeName===rr&&(_.has(E)||n(o,E));else{for(let R=0;R<N.length;R++){const D=N[R];_.add(D),p(D,!0),(k=(v=o._dummyObserver).domChanged)===null||k===void 0||k.call(v,E)}for(let R=0;R<T.length;R++)p(T[R]),(x=(y=o._dummyObserver).domChanged)===null||x===void 0||x.call(y,E)}}_.clear(),(b=o.modalizer)===null||b===void 0||b.hiddenUpdate()};function p(g,v){c||(c=Er(l).elementByUId),f(g,v);const k=ha(t,g,y=>f(y,v));if(k)for(;k.nextNode(););}function f(g,v){var k;if(!g.getAttribute)return NodeFilter.FILTER_SKIP;const y=g.__tabsterElementUID;return y&&c&&(v?delete c[y]:(k=c[y])!==null&&k!==void 0||(c[y]=new pr(l,g))),($t(o,g)||g.hasAttribute(rr))&&n(o,g,v),NodeFilter.FILTER_SKIP}const m=X.createMutationObserver(u);return s&&p(l().document.body),m.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[rr]}),()=>{m.disconnect()}}class Zy{constructor(o){this._isUncontrolledCompletely=o}isUncontrolledCompletely(o,n){var s;const l=(s=this._isUncontrolledCompletely)===null||s===void 0?void 0:s.call(this,o,n);return l===void 0?n:l}}class ew{constructor(o){this.keyboardNavigation=o.keyboardNavigation,this.focusedElement=o.focusedElement,this.focusable=o.focusable,this.root=o.root,this.uncontrolled=o.uncontrolled,this.core=o}}class tw{constructor(o,n){var s,l;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.5.6",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=_y(o),this._win=o;const c=this.getWindow;n?.DOMAPI&&ky({...n.DOMAPI}),this.keyboardNavigation=new Uy(c),this.focusedElement=new Xe(this,c),this.focusable=new Hy(this),this.root=new tt(this,n?.autoRoot),this.uncontrolled=new Zy(n?.checkUncontrolledCompletely||n?.checkUncontrolledTrappingFocus),this.controlTab=(s=n?.controlTab)!==null&&s!==void 0?s:!0,this.rootDummyInputs=!!n?.rootDummyInputs,this._dummyObserver=new Fy(c),this.getParent=(l=n?.getParent)!==null&&l!==void 0?l:X.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:u=>{if(!this._unobserve){const p=c().document;this._unobserve=Jy(p,this,Ff,u)}}},Lf(c),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(o){var n;o&&(this.getParent=(n=o.getParent)!==null&&n!==void 0?n:this.getParent)}createTabster(o,n){const s=new ew(this);return o||this._wrappers.add(s),this._mergeProps(n),s}disposeTabster(o,n){n?this._wrappers.clear():this._wrappers.delete(o),this._wrappers.size===0&&this.dispose()}dispose(){var o,n,s,l,c,u,p,f;this.internal.stopObserver();const m=this._win;m?.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],m&&this._forgetMemorizedTimer&&(m.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(o=this.outline)===null||o===void 0||o.dispose(),(n=this.crossOrigin)===null||n===void 0||n.dispose(),(s=this.deloser)===null||s===void 0||s.dispose(),(l=this.groupper)===null||l===void 0||l.dispose(),(c=this.mover)===null||c===void 0||c.dispose(),(u=this.modalizer)===null||u===void 0||u.dispose(),(p=this.observedElement)===null||p===void 0||p.dispose(),(f=this.restorer)===null||f===void 0||f.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),By(this.getWindow),Vf(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),m&&(Sy(m),delete m.__tabsterInstance,delete this._win)}storageEntry(o,n){const s=this._storage;let l=s.get(o);return l?n===!1&&Object.keys(l).length===0&&s.delete(o):n===!0&&(l={},s.set(o,l)),l}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let o=this._forgetMemorizedElements.shift();o;o=this._forgetMemorizedElements.shift())Vf(this.getWindow,o),Xe.forgetMemorized(this.focusedElement,o)},0),Mf(this.getWindow,!0)))}queueInit(o){var n;this._win&&(this._initQueue.push(o),this._initTimer||(this._initTimer=(n=this._win)===null||n===void 0?void 0:n.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const o=this._initQueue;this._initQueue=[],o.forEach(n=>n())}}function rw(t,o){let n=sw(t);return n?n.createTabster(!1,o):(n=new tw(t,o),t.__tabsterInstance=n,n.createTabster())}function ow(t){const o=t.core;return o.groupper||(o.groupper=new Vy(o,o.getWindow)),o.groupper}function nw(t){const o=t.core;return o.mover||(o.mover=new Yy(o,o.getWindow)),o.mover}function iw(t,o){t.core.disposeTabster(t,o)}function sw(t){return t.__tabsterInstance}const lw=t=>t;function aw(t){const o=t?.defaultView||void 0,n=o?.__tabsterShadowDOMAPI;if(o)return rw(o,{autoRoot:{},controlTab:!1,getParent:Vb,checkUncontrolledCompletely:s=>{var l;return((l=s.firstElementChild)===null||l===void 0?void 0:l.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:n})}function Yi(t=lw){const{targetDocument:o}=at(),n=S.useRef(null);return Wt(()=>{const s=aw(o);if(s)return n.current=t(s),()=>{iw(s),n.current=null}},[o,t]),n}const wa=t=>{Yi();const o=Kf(t);return S.useMemo(()=>({[rr]:o}),[o])},ka=(t={})=>{const{circular:o,axis:n,memorizeCurrent:s=!0,tabbable:l,ignoreDefaultKeydown:c,unstable_hasDefault:u}=t;return Yi(nw),wa({mover:{cyclic:!!o,direction:cw(n??"vertical"),memorizeCurrent:s,tabbable:l,hasDefault:u},...c&&{focusable:{ignoreKeydown:c}}})};function cw(t){switch(t){case"horizontal":return or.Horizontal;case"grid":return or.Grid;case"grid-linear":return or.GridLinear;case"both":return or.Both;case"vertical":default:return or.Vertical}}const xa=t=>(Yi(ow),wa({groupper:{tabbability:uw(t?.tabBehavior)},focusable:{ignoreKeydown:t?.ignoreDefaultKeydown}})),uw=t=>{switch(t){case"unlimited":return Gi.Unlimited;case"limited":return Gi.Limited;case"limited-trap-focus":return Gi.LimitedTrapFocus;default:return}},Sa=()=>{const t=Yi(),{targetDocument:o}=at(),n=S.useCallback((p,f)=>{var m;return p&&((m=t.current)===null||m===void 0?void 0:m.focusable.findAll({container:p,acceptCondition:f}))||[]},[t]),s=S.useCallback(p=>{var f;return p&&((f=t.current)===null||f===void 0?void 0:f.focusable.findFirst({container:p}))},[t]),l=S.useCallback(p=>{var f;return p&&((f=t.current)===null||f===void 0?void 0:f.focusable.findLast({container:p}))},[t]),c=S.useCallback((p,f={})=>{if(!t.current||!o||!p)return null;const{container:m=o.body}=f;return t.current.focusable.findNext({currentElement:p,container:m})},[t,o]),u=S.useCallback((p,f={})=>{if(!t.current||!o||!p)return null;const{container:m=o.body}=f;return t.current.focusable.findPrev({currentElement:p,container:m})},[t,o]);return{findAllFocusable:n,findFirstFocusable:s,findLastFocusable:l,findNextFocusable:c,findPrevFocusable:u}},ep="data-fui-focus-visible",tp="data-fui-focus-within";function dw(t,o){if(rp(t))return()=>{};const n={current:void 0},s=Vi(o);function l(f){s.isNavigatingWithKeyboard()&&Nr(f)&&(n.current=f,f.setAttribute(ep,""))}function c(){n.current&&(n.current.removeAttribute(ep),n.current=void 0)}s.subscribe(f=>{f?l(o.document.activeElement):c()});const u=f=>{c();const m=f.composedPath()[0];l(m)},p=f=>{(!f.relatedTarget||Nr(f.relatedTarget)&&!t.contains(f.relatedTarget))&&c()};return t.addEventListener(tr,u),t.addEventListener("focusout",p),t.focusVisible=!0,t.contains(o.document.activeElement)&&l(o.document.activeElement),()=>{c(),t.removeEventListener(tr,u),t.removeEventListener("focusout",p),t.focusVisible=void 0,Ui(s)}}function rp(t){return t?t.focusVisible?!0:rp(t?.parentElement):!1}function _a(t={}){const o=at(),n=S.useRef(null);var s;const l=(s=t.targetDocument)!==null&&s!==void 0?s:o.targetDocument;return S.useEffect(()=>{if(l?.defaultView&&n.current)return dw(n.current,l.defaultView)},[n,l]),n}function fw(t,o){const n=Vi(o);n.subscribe(c=>{c||op(t)});const s=c=>{n.isNavigatingWithKeyboard()&&np(c.target)&&pw(t)},l=c=>{(!c.relatedTarget||np(c.relatedTarget)&&!t.contains(c.relatedTarget))&&op(t)};return t.addEventListener(tr,s),t.addEventListener("focusout",l),()=>{t.removeEventListener(tr,s),t.removeEventListener("focusout",l),Ui(n)}}function pw(t){t.setAttribute(tp,"")}function op(t){t.removeAttribute(tp)}function np(t){return t?!!(t&&typeof t=="object"&&"classList"in t&&"contains"in t):!1}function Pn(){const{targetDocument:t}=at(),o=S.useRef(null);return S.useEffect(()=>{if(t?.defaultView&&o.current)return fw(o.current,t.defaultView)},[o,t]),o}function ip(){const{targetDocument:t}=at(),o=S.useRef(null);return S.useEffect(()=>{const n=t?.defaultView;if(n){const s=Vi(n);return o.current=s,()=>{Ui(s),o.current=null}}},[t]),o}function sp(t){const o=ip(),n=ke(t);S.useEffect(()=>{const s=o.current;if(s){const l=c=>{n(c)};return s.subscribe(l),l(s.isNavigatingWithKeyboard()),()=>{s.unsubscribe(l)}}},[o,n])}const hw=(...t)=>{"use no memo";const o=t.reduce((n,s)=>(s?.[rr]&&n.push(s[rr]),n),[]);return S.useMemo(()=>({[rr]:o.length>0?o.reduce(mw):void 0}),o)},mw=(t,o)=>JSON.stringify(Object.assign(lp(t),lp(o))),lp=t=>{try{return JSON.parse(t)}catch{return{}}};function gw(){const t=ip();return S.useCallback(o=>{var n;(n=t.current)===null||n===void 0||n.setVal(o)},[t])}const L={4:"#0a0a0a",8:"#141414",10:"#1a1a1a",12:"#1f1f1f",14:"#242424",16:"#292929",18:"#2e2e2e",20:"#333333",22:"#383838",24:"#3d3d3d",26:"#424242",30:"#4d4d4d",32:"#525252",34:"#575757",36:"#5c5c5c",38:"#616161",40:"#666666",42:"#6b6b6b",44:"#707070",46:"#757575",60:"#999999",68:"#adadad",70:"#b3b3b3",74:"#bdbdbd",78:"#c7c7c7",82:"#d1d1d1",84:"#d6d6d6",86:"#dbdbdb",88:"#e0e0e0",90:"#e6e6e6",92:"#ebebeb",94:"#f0f0f0",96:"#f5f5f5",98:"#fafafa"},ht={5:"rgba(255, 255, 255, 0.05)",10:"rgba(255, 255, 255, 0.1)",20:"rgba(255, 255, 255, 0.2)",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)"},Vt={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)"},vw={50:"rgba(26, 26, 26, 0.5)"},bw={70:"rgba(31, 31, 31, 0.7)"},ap={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},ye="#ffffff",Ca="#000000",yw={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},cp={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},ww={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},kw={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},xw={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},Sw={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},_w={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Cw={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},Bw={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},Nw={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},Tw={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},Ew={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},zw={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},Pw={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},Rw={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},up={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},Fw={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},Iw={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},Dw={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},jw={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},Ow={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},Aw={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},Mw={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},Lw={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},Hw={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},qw={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},Ww={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},$w={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},Vw={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},Uw={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},Gw={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},Kw={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},Xw={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},Qw={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},Yw={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},Jw={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Te={red:ww,green:up,darkOrange:kw,yellow:Bw,berry:$w,lightGreen:Rw,marigold:Cw},Ur={darkRed:yw,cranberry:cp,pumpkin:xw,peach:_w,gold:Nw,brass:Tw,brown:Ew,forest:zw,seafoam:Pw,darkGreen:Fw,lightTeal:Iw,teal:Dw,steel:jw,blue:Ow,royalBlue:Aw,cornflower:Mw,navy:Lw,lavender:Hw,purple:qw,grape:Ww,lilac:Vw,pink:Uw,magenta:Gw,plum:Kw,beige:Xw,mink:Qw,platinum:Yw,anchor:Jw},_e={cranberry:cp,green:up,orange:Sw},dp=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],fp=["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"],Bt={success:"green",warning:"orange",danger:"cranberry"},Rn=dp.reduce((t,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),s={[`colorPalette${n}Background1`]:Te[o].tint60,[`colorPalette${n}Background2`]:Te[o].tint40,[`colorPalette${n}Background3`]:Te[o].primary,[`colorPalette${n}Foreground1`]:Te[o].shade10,[`colorPalette${n}Foreground2`]:Te[o].shade30,[`colorPalette${n}Foreground3`]:Te[o].primary,[`colorPalette${n}BorderActive`]:Te[o].primary,[`colorPalette${n}Border1`]:Te[o].tint40,[`colorPalette${n}Border2`]:Te[o].primary};return Object.assign(t,s)},{});Rn.colorPaletteYellowForeground1=Te.yellow.shade30,Rn.colorPaletteRedForegroundInverted=Te.red.tint20,Rn.colorPaletteGreenForegroundInverted=Te.green.tint20,Rn.colorPaletteYellowForegroundInverted=Te.yellow.tint40;const Zw=fp.reduce((t,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),s={[`colorPalette${n}Background2`]:Ur[o].tint40,[`colorPalette${n}Foreground2`]:Ur[o].shade30,[`colorPalette${n}BorderActive`]:Ur[o].primary};return Object.assign(t,s)},{}),ek={...Rn,...Zw},Ho=Object.entries(Bt).reduce((t,[o,n])=>{const s=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorStatus${s}Background1`]:_e[n].tint60,[`colorStatus${s}Background2`]:_e[n].tint40,[`colorStatus${s}Background3`]:_e[n].primary,[`colorStatus${s}Foreground1`]:_e[n].shade10,[`colorStatus${s}Foreground2`]:_e[n].shade30,[`colorStatus${s}Foreground3`]:_e[n].primary,[`colorStatus${s}ForegroundInverted`]:_e[n].tint30,[`colorStatus${s}BorderActive`]:_e[n].primary,[`colorStatus${s}Border1`]:_e[n].tint40,[`colorStatus${s}Border2`]:_e[n].primary};return Object.assign(t,l)},{});Ho.colorStatusDangerBackground3Hover=_e[Bt.danger].shade10,Ho.colorStatusDangerBackground3Pressed=_e[Bt.danger].shade20,Ho.colorStatusWarningForeground1=_e[Bt.warning].shade20,Ho.colorStatusWarningForeground3=_e[Bt.warning].shade20,Ho.colorStatusWarningBorder2=_e[Bt.warning].shade20;const tk=t=>({colorNeutralForeground1:L[14],colorNeutralForeground1Hover:L[14],colorNeutralForeground1Pressed:L[14],colorNeutralForeground1Selected:L[14],colorNeutralForeground2:L[26],colorNeutralForeground2Hover:L[14],colorNeutralForeground2Pressed:L[14],colorNeutralForeground2Selected:L[14],colorNeutralForeground2BrandHover:t[80],colorNeutralForeground2BrandPressed:t[70],colorNeutralForeground2BrandSelected:t[80],colorNeutralForeground3:L[38],colorNeutralForeground3Hover:L[26],colorNeutralForeground3Pressed:L[26],colorNeutralForeground3Selected:L[26],colorNeutralForeground3BrandHover:t[80],colorNeutralForeground3BrandPressed:t[70],colorNeutralForeground3BrandSelected:t[80],colorNeutralForeground4:L[44],colorNeutralForegroundDisabled:L[74],colorNeutralForegroundInvertedDisabled:ht[40],colorBrandForegroundLink:t[70],colorBrandForegroundLinkHover:t[60],colorBrandForegroundLinkPressed:t[40],colorBrandForegroundLinkSelected:t[70],colorNeutralForeground2Link:L[26],colorNeutralForeground2LinkHover:L[14],colorNeutralForeground2LinkPressed:L[14],colorNeutralForeground2LinkSelected:L[14],colorCompoundBrandForeground1:t[80],colorCompoundBrandForeground1Hover:t[70],colorCompoundBrandForeground1Pressed:t[60],colorBrandForeground1:t[80],colorBrandForeground2:t[70],colorBrandForeground2Hover:t[60],colorBrandForeground2Pressed:t[30],colorNeutralForeground1Static:L[14],colorNeutralForegroundStaticInverted:ye,colorNeutralForegroundInverted:ye,colorNeutralForegroundInvertedHover:ye,colorNeutralForegroundInvertedPressed:ye,colorNeutralForegroundInvertedSelected:ye,colorNeutralForegroundInverted2:ye,colorNeutralForegroundOnBrand:ye,colorNeutralForegroundInvertedLink:ye,colorNeutralForegroundInvertedLinkHover:ye,colorNeutralForegroundInvertedLinkPressed:ye,colorNeutralForegroundInvertedLinkSelected:ye,colorBrandForegroundInverted:t[100],colorBrandForegroundInvertedHover:t[110],colorBrandForegroundInvertedPressed:t[100],colorBrandForegroundOnLight:t[80],colorBrandForegroundOnLightHover:t[70],colorBrandForegroundOnLightPressed:t[50],colorBrandForegroundOnLightSelected:t[60],colorNeutralBackground1:ye,colorNeutralBackground1Hover:L[96],colorNeutralBackground1Pressed:L[88],colorNeutralBackground1Selected:L[92],colorNeutralBackground2:L[98],colorNeutralBackground2Hover:L[94],colorNeutralBackground2Pressed:L[86],colorNeutralBackground2Selected:L[90],colorNeutralBackground3:L[96],colorNeutralBackground3Hover:L[92],colorNeutralBackground3Pressed:L[84],colorNeutralBackground3Selected:L[88],colorNeutralBackground4:L[94],colorNeutralBackground4Hover:L[98],colorNeutralBackground4Pressed:L[96],colorNeutralBackground4Selected:ye,colorNeutralBackground5:L[92],colorNeutralBackground5Hover:L[96],colorNeutralBackground5Pressed:L[94],colorNeutralBackground5Selected:L[98],colorNeutralBackground6:L[90],colorNeutralBackgroundInverted:L[16],colorNeutralBackgroundStatic:L[20],colorNeutralBackgroundAlpha:ht[50],colorNeutralBackgroundAlpha2:ht[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:L[96],colorSubtleBackgroundPressed:L[88],colorSubtleBackgroundSelected:L[92],colorSubtleBackgroundLightAlphaHover:ht[70],colorSubtleBackgroundLightAlphaPressed:ht[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Vt[10],colorSubtleBackgroundInvertedPressed:Vt[30],colorSubtleBackgroundInvertedSelected:Vt[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:L[94],colorNeutralBackgroundInvertedDisabled:ht[10],colorNeutralStencil1:L[90],colorNeutralStencil2:L[98],colorNeutralStencil1Alpha:Vt[10],colorNeutralStencil2Alpha:Vt[5],colorBackgroundOverlay:Vt[40],colorScrollbarOverlay:Vt[50],colorBrandBackground:t[80],colorBrandBackgroundHover:t[70],colorBrandBackgroundPressed:t[40],colorBrandBackgroundSelected:t[60],colorCompoundBrandBackground:t[80],colorCompoundBrandBackgroundHover:t[70],colorCompoundBrandBackgroundPressed:t[60],colorBrandBackgroundStatic:t[80],colorBrandBackground2:t[160],colorBrandBackground2Hover:t[150],colorBrandBackground2Pressed:t[130],colorBrandBackground3Static:t[60],colorBrandBackground4Static:t[40],colorBrandBackgroundInverted:ye,colorBrandBackgroundInvertedHover:t[160],colorBrandBackgroundInvertedPressed:t[140],colorBrandBackgroundInvertedSelected:t[150],colorNeutralCardBackground:L[98],colorNeutralCardBackgroundHover:ye,colorNeutralCardBackgroundPressed:L[96],colorNeutralCardBackgroundSelected:L[92],colorNeutralCardBackgroundDisabled:L[94],colorNeutralStrokeAccessible:L[38],colorNeutralStrokeAccessibleHover:L[34],colorNeutralStrokeAccessiblePressed:L[30],colorNeutralStrokeAccessibleSelected:t[80],colorNeutralStroke1:L[82],colorNeutralStroke1Hover:L[78],colorNeutralStroke1Pressed:L[70],colorNeutralStroke1Selected:L[74],colorNeutralStroke2:L[88],colorNeutralStroke3:L[94],colorNeutralStrokeSubtle:L[88],colorNeutralStrokeOnBrand:ye,colorNeutralStrokeOnBrand2:ye,colorNeutralStrokeOnBrand2Hover:ye,colorNeutralStrokeOnBrand2Pressed:ye,colorNeutralStrokeOnBrand2Selected:ye,colorBrandStroke1:t[80],colorBrandStroke2:t[140],colorBrandStroke2Hover:t[120],colorBrandStroke2Pressed:t[80],colorBrandStroke2Contrast:t[140],colorCompoundBrandStroke:t[80],colorCompoundBrandStrokeHover:t[70],colorCompoundBrandStrokePressed:t[60],colorNeutralStrokeDisabled:L[88],colorNeutralStrokeInvertedDisabled:ht[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Vt[5],colorNeutralStrokeAlpha2:ht[20],colorStrokeFocus1:ye,colorStrokeFocus2:Ca,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)"}),pp={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},hp={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)"},mp={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},gp={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},vp={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},bp={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Ba={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"},Ve={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},yp={spacingHorizontalNone:Ve.none,spacingHorizontalXXS:Ve.xxs,spacingHorizontalXS:Ve.xs,spacingHorizontalSNudge:Ve.sNudge,spacingHorizontalS:Ve.s,spacingHorizontalMNudge:Ve.mNudge,spacingHorizontalM:Ve.m,spacingHorizontalL:Ve.l,spacingHorizontalXL:Ve.xl,spacingHorizontalXXL:Ve.xxl,spacingHorizontalXXXL:Ve.xxxl},wp={spacingVerticalNone:Ve.none,spacingVerticalXXS:Ve.xxs,spacingVerticalXS:Ve.xs,spacingVerticalSNudge:Ve.sNudge,spacingVerticalS:Ve.s,spacingVerticalMNudge:Ve.mNudge,spacingVerticalM:Ve.m,spacingVerticalL:Ve.l,spacingVerticalXL:Ve.xl,spacingVerticalXXL:Ve.xxl,spacingVerticalXXXL:Ve.xxxl},kp={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},hr={colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralStroke1:"var(--colorNeutralStroke1)",fontSizeBase300:"var(--fontSizeBase300)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalL:"var(--spacingVerticalL)"};function Ji(t,o,n=""){return{[`shadow2${n}`]:`0 0 2px ${t}, 0 1px 2px ${o}`,[`shadow4${n}`]:`0 0 2px ${t}, 0 2px 4px ${o}`,[`shadow8${n}`]:`0 0 2px ${t}, 0 4px 8px ${o}`,[`shadow16${n}`]:`0 0 2px ${t}, 0 8px 16px ${o}`,[`shadow28${n}`]:`0 0 8px ${t}, 0 14px 28px ${o}`,[`shadow64${n}`]:`0 0 8px ${t}, 0 32px 64px ${o}`}}const xp=t=>{const o=tk(t);return{...pp,...gp,...vp,...Ba,...bp,...kp,...yp,...wp,...mp,...hp,...o,...ek,...Ho,...Ji(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...Ji(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Sp={10:"#2b2b40",20:"#2f2f4a",30:"#333357",40:"#383966",50:"#3d3e78",60:"#444791",70:"#4f52b2",80:"#5b5fc7",90:"#7579eb",100:"#7f85f5",110:"#9299f7",120:"#aab1fa",130:"#b6bcfa",140:"#c5cbfa",150:"#dce0fa",160:"#e8ebfa"},_p={10:"#29274f",20:"#2f2a5e",30:"#352e70",40:"#3b3185",50:"#44359e",60:"#4d3aba",70:"#5a40db",80:"#654cf5",90:"#7769fa",100:"#887dff",110:"#9791ff",120:"#aba8ff",130:"#bab8ff",140:"#c8c7ff",150:"#dcdbff",160:"#e8e8ff"},Cp={...Ba,fontFamilyBase:'-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'},rk={...xp(Sp),...Cp};({...xp(_p)});const mr=dp.reduce((t,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),s={[`colorPalette${n}Background1`]:Te[o].shade40,[`colorPalette${n}Background2`]:Te[o].shade30,[`colorPalette${n}Background3`]:Te[o].primary,[`colorPalette${n}Foreground1`]:Te[o].tint30,[`colorPalette${n}Foreground2`]:Te[o].tint40,[`colorPalette${n}Foreground3`]:Te[o].tint20,[`colorPalette${n}BorderActive`]:Te[o].tint30,[`colorPalette${n}Border1`]:Te[o].primary,[`colorPalette${n}Border2`]:Te[o].tint20};return Object.assign(t,s)},{});mr.colorPaletteRedForeground3=Te.red.tint30,mr.colorPaletteRedBorder2=Te.red.tint30,mr.colorPaletteGreenForeground3=Te.green.tint40,mr.colorPaletteGreenBorder2=Te.green.tint40,mr.colorPaletteDarkOrangeForeground3=Te.darkOrange.tint30,mr.colorPaletteDarkOrangeBorder2=Te.darkOrange.tint30,mr.colorPaletteRedForegroundInverted=Te.red.primary,mr.colorPaletteGreenForegroundInverted=Te.green.primary,mr.colorPaletteYellowForegroundInverted=Te.yellow.shade30;const Na=fp.reduce((t,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),s={[`colorPalette${n}Background2`]:Ur[o].shade30,[`colorPalette${n}Foreground2`]:Ur[o].tint40,[`colorPalette${n}BorderActive`]:Ur[o].tint30};return Object.assign(t,s)},{});Na.colorPaletteDarkRedBackground2=Ur.darkRed.shade20,Na.colorPalettePlumBackground2=Ur.plum.shade20;const ok={...mr,...Na},Gr=Object.entries(Bt).reduce((t,[o,n])=>{const s=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorStatus${s}Background1`]:_e[n].shade40,[`colorStatus${s}Background2`]:_e[n].shade30,[`colorStatus${s}Background3`]:_e[n].primary,[`colorStatus${s}Foreground1`]:_e[n].tint30,[`colorStatus${s}Foreground2`]:_e[n].tint40,[`colorStatus${s}Foreground3`]:_e[n].tint20,[`colorStatus${s}BorderActive`]:_e[n].tint30,[`colorStatus${s}ForegroundInverted`]:_e[n].shade10,[`colorStatus${s}Border1`]:_e[n].primary,[`colorStatus${s}Border2`]:_e[n].tint20};return Object.assign(t,l)},{});Gr.colorStatusDangerBackground3Hover=_e[Bt.danger].shade10,Gr.colorStatusDangerBackground3Pressed=_e[Bt.danger].shade20,Gr.colorStatusDangerForeground3=_e[Bt.danger].tint40,Gr.colorStatusDangerBorder2=_e[Bt.danger].tint30,Gr.colorStatusSuccessForeground3=_e[Bt.success].tint40,Gr.colorStatusSuccessBorder2=_e[Bt.success].tint40,Gr.colorStatusWarningForegroundInverted=_e[Bt.warning].shade20;const nk=t=>({colorNeutralForeground1:ye,colorNeutralForeground1Hover:ye,colorNeutralForeground1Pressed:ye,colorNeutralForeground1Selected:ye,colorNeutralForeground2:L[84],colorNeutralForeground2Hover:ye,colorNeutralForeground2Pressed:ye,colorNeutralForeground2Selected:ye,colorNeutralForeground2BrandHover:t[100],colorNeutralForeground2BrandPressed:t[90],colorNeutralForeground2BrandSelected:t[100],colorNeutralForeground3:L[68],colorNeutralForeground3Hover:L[84],colorNeutralForeground3Pressed:L[84],colorNeutralForeground3Selected:L[84],colorNeutralForeground3BrandHover:t[100],colorNeutralForeground3BrandPressed:t[90],colorNeutralForeground3BrandSelected:t[100],colorNeutralForeground4:L[60],colorNeutralForegroundDisabled:L[36],colorNeutralForegroundInvertedDisabled:ht[40],colorBrandForegroundLink:t[100],colorBrandForegroundLinkHover:t[110],colorBrandForegroundLinkPressed:t[90],colorBrandForegroundLinkSelected:t[100],colorNeutralForeground2Link:L[84],colorNeutralForeground2LinkHover:ye,colorNeutralForeground2LinkPressed:ye,colorNeutralForeground2LinkSelected:ye,colorCompoundBrandForeground1:t[100],colorCompoundBrandForeground1Hover:t[110],colorCompoundBrandForeground1Pressed:t[90],colorBrandForeground1:t[100],colorBrandForeground2:t[120],colorBrandForeground2Hover:t[130],colorBrandForeground2Pressed:t[160],colorNeutralForeground1Static:L[14],colorNeutralForegroundStaticInverted:ye,colorNeutralForegroundInverted:L[14],colorNeutralForegroundInvertedHover:L[14],colorNeutralForegroundInvertedPressed:L[14],colorNeutralForegroundInvertedSelected:L[14],colorNeutralForegroundInverted2:L[14],colorNeutralForegroundOnBrand:ye,colorNeutralForegroundInvertedLink:ye,colorNeutralForegroundInvertedLinkHover:ye,colorNeutralForegroundInvertedLinkPressed:ye,colorNeutralForegroundInvertedLinkSelected:ye,colorBrandForegroundInverted:t[80],colorBrandForegroundInvertedHover:t[70],colorBrandForegroundInvertedPressed:t[60],colorBrandForegroundOnLight:t[80],colorBrandForegroundOnLightHover:t[70],colorBrandForegroundOnLightPressed:t[50],colorBrandForegroundOnLightSelected:t[60],colorNeutralBackground1:L[16],colorNeutralBackground1Hover:L[24],colorNeutralBackground1Pressed:L[12],colorNeutralBackground1Selected:L[22],colorNeutralBackground2:L[14],colorNeutralBackground2Hover:L[22],colorNeutralBackground2Pressed:L[10],colorNeutralBackground2Selected:L[20],colorNeutralBackground3:L[12],colorNeutralBackground3Hover:L[20],colorNeutralBackground3Pressed:L[8],colorNeutralBackground3Selected:L[18],colorNeutralBackground4:L[8],colorNeutralBackground4Hover:L[16],colorNeutralBackground4Pressed:L[4],colorNeutralBackground4Selected:L[14],colorNeutralBackground5:L[4],colorNeutralBackground5Hover:L[12],colorNeutralBackground5Pressed:Ca,colorNeutralBackground5Selected:L[10],colorNeutralBackground6:L[20],colorNeutralBackgroundInverted:ye,colorNeutralBackgroundStatic:L[24],colorNeutralBackgroundAlpha:vw[50],colorNeutralBackgroundAlpha2:bw[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:L[22],colorSubtleBackgroundPressed:L[18],colorSubtleBackgroundSelected:L[20],colorSubtleBackgroundLightAlphaHover:ap[80],colorSubtleBackgroundLightAlphaPressed:ap[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Vt[10],colorSubtleBackgroundInvertedPressed:Vt[30],colorSubtleBackgroundInvertedSelected:Vt[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:L[8],colorNeutralBackgroundInvertedDisabled:ht[10],colorNeutralStencil1:L[34],colorNeutralStencil2:L[20],colorNeutralStencil1Alpha:ht[10],colorNeutralStencil2Alpha:ht[5],colorBackgroundOverlay:Vt[50],colorScrollbarOverlay:ht[60],colorBrandBackground:t[70],colorBrandBackgroundHover:t[80],colorBrandBackgroundPressed:t[40],colorBrandBackgroundSelected:t[60],colorCompoundBrandBackground:t[100],colorCompoundBrandBackgroundHover:t[110],colorCompoundBrandBackgroundPressed:t[90],colorBrandBackgroundStatic:t[80],colorBrandBackground2:t[20],colorBrandBackground2Hover:t[40],colorBrandBackground2Pressed:t[10],colorBrandBackground3Static:t[60],colorBrandBackground4Static:t[40],colorBrandBackgroundInverted:ye,colorBrandBackgroundInvertedHover:t[160],colorBrandBackgroundInvertedPressed:t[140],colorBrandBackgroundInvertedSelected:t[150],colorNeutralCardBackground:L[20],colorNeutralCardBackgroundHover:L[24],colorNeutralCardBackgroundPressed:L[18],colorNeutralCardBackgroundSelected:L[22],colorNeutralCardBackgroundDisabled:L[8],colorNeutralStrokeAccessible:L[68],colorNeutralStrokeAccessibleHover:L[74],colorNeutralStrokeAccessiblePressed:L[70],colorNeutralStrokeAccessibleSelected:t[100],colorNeutralStroke1:L[40],colorNeutralStroke1Hover:L[46],colorNeutralStroke1Pressed:L[42],colorNeutralStroke1Selected:L[44],colorNeutralStroke2:L[32],colorNeutralStroke3:L[24],colorNeutralStrokeSubtle:L[4],colorNeutralStrokeOnBrand:L[16],colorNeutralStrokeOnBrand2:ye,colorNeutralStrokeOnBrand2Hover:ye,colorNeutralStrokeOnBrand2Pressed:ye,colorNeutralStrokeOnBrand2Selected:ye,colorBrandStroke1:t[100],colorBrandStroke2:t[50],colorBrandStroke2Hover:t[50],colorBrandStroke2Pressed:t[30],colorBrandStroke2Contrast:t[50],colorCompoundBrandStroke:t[90],colorCompoundBrandStrokeHover:t[100],colorCompoundBrandStrokePressed:t[80],colorNeutralStrokeDisabled:L[26],colorNeutralStrokeInvertedDisabled:ht[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:ht[10],colorNeutralStrokeAlpha2:ht[20],colorStrokeFocus1:Ca,colorStrokeFocus2:ye,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)"}),Bp=t=>{const o=nk(t);return{...pp,...gp,...vp,...Ba,...bp,...kp,...yp,...wp,...mp,...hp,...o,...ok,...Gr,...Ji(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...Ji(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Np={...Bp(Sp),...Cp};({...Bp(_p)});const Tp={root:"fui-FluentProvider"},ik=ef({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);}"]}),sk=t=>{"use no memo";const o=Nn(),n=ik({dir:t.dir,renderer:o});return t.root.className=re(Tp.root,t.themeClassName,n.root,t.root.className),t},lk=S.useInsertionEffect?S.useInsertionEffect:Wt,ak=(t,o)=>{if(!t?.head)return;const n=t.createElement("style");return Object.keys(o).forEach(s=>{n.setAttribute(s,o[s])}),t.head.appendChild(n),n},ck=(t,o)=>{const n=t.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(o,0))},uk=t=>{"use no memo";const{targetDocument:o,theme:n,rendererAttributes:s}=t,l=S.useRef(void 0),c=Br(Tp.root),u=s,p=S.useMemo(()=>A1(`.${c}`,n),[n,c]);return dk(o,c),lk(()=>{const f=o?.getElementById(c);return f?l.current=f:(l.current=ak(o,{...u,id:c}),l.current&&ck(l.current,p)),()=>{var m;(m=l.current)===null||m===void 0||m.remove()}},[c,o,p,u]),{styleTagId:c,rule:p}};function dk(t,o){S.useState(()=>{if(!t)return;const n=t.getElementById(o);n&&t.head.append(n)})}const fk={},pk={},hk=(t,o)=>{"use no memo";const n=at(),s=mk(),l=gf(),c=S.useContext(ra)||fk,{applyStylesToPortals:u=!0,customStyleHooks_unstable:p,dir:f=n.dir,targetDocument:m=n.targetDocument,theme:g,overrides_unstable:v={}}=t,k=Ta(s,g),y=Ta(l,v),x=Ta(c,p),b=Nn();var _;const{styleTagId:B,rule:E}=uk({theme:k,targetDocument:m,rendererAttributes:(_=b.styleElementAttributes)!==null&&_!==void 0?_:pk});return{applyStylesToPortals:u,customStyleHooks_unstable:x,dir:f,targetDocument:m,theme:k,overrides_unstable:y,themeClassName:B,components:{root:"div"},root:Re(_t("div",{...t,dir:f,ref:pt(o,_a({targetDocument:m}))}),{elementType:"div"}),serverStyleProps:{cssRule:E,attributes:{...b.styleElementAttributes,id:B}}}};function Ta(t,o){return t&&o?{...t,...o}:t||o}function mk(){return S.useContext(ff)}function gk(t){const{applyStylesToPortals:o,customStyleHooks_unstable:n,dir:s,root:l,targetDocument:c,theme:u,themeClassName:p,overrides_unstable:f}=t,m=S.useMemo(()=>({dir:s,targetDocument:c}),[s,c]),[g]=S.useState(()=>({})),v=S.useMemo(()=>({textDirection:s}),[s]);return{customStyleHooks_unstable:n,overrides_unstable:f,provider:m,textDirection:s,iconDirection:v,tooltip:g,theme:u,themeClassName:o?l.className:p}}const Ep=S.forwardRef((t,o)=>{const n=hk(t,o);sk(n);const s=gk(n);return ey(n,s)});Ep.displayName="FluentProvider";var zp=sd();const vk=t=>n=>{const s=S.useRef(n.value),l=S.useRef(0),c=S.useRef(null);return c.current||(c.current={value:s,version:l,listeners:[]}),Wt(()=>{s.current=n.value,l.current+=1,zp.unstable_runWithPriority(zp.unstable_NormalPriority,()=>{c.current.listeners.forEach(u=>{u([l.current,n.value])})})},[n.value]),S.createElement(t,{value:c.current},n.children)},Ea=t=>{const o=S.createContext({value:{current:t},version:{current:-1},listeners:[]});return o.Provider=vk(o.Provider),delete o.Consumer,o},Pp=(t,o)=>{const n=S.useContext(t),{value:{current:s},version:{current:l},listeners:c}=n,u=o(s),[p,f]=S.useState([s,u]),m=v=>{f(k=>{if(!v)return[s,u];if(v[0]<=l)return Object.is(k[1],u)?k:[s,u];try{if(Object.is(k[0],v[1]))return k;const y=o(v[1]);return Object.is(k[1],y)?k:[v[1],y]}catch{}return[k[0],k[1]]})};Object.is(p[1],u)||m(void 0);const g=ke(m);return Wt(()=>(c.push(g),()=>{const v=c.indexOf(g);c.splice(v,1)}),[g,c]),p[1]};function Rp(t){const o=S.useContext(t);return o.version?o.version.current!==-1:!1}const bk="Shift",qo="Enter",gr=" ",yk="Tab",za="ArrowDown",Fp="ArrowLeft",Ip="ArrowRight",Zi="ArrowUp",Dp="End",jp="Home",wk="PageDown",kk="PageUp",Op="Escape";function Ap(t,o){const{disabled:n,disabledFocusable:s=!1,["aria-disabled"]:l,onClick:c,onKeyDown:u,onKeyUp:p,...f}=o??{},m=typeof l=="string"?l==="true":l,g=n||s||m,v=ke(x=>{g?(x.preventDefault(),x.stopPropagation()):c?.(x)}),k=ke(x=>{if(u?.(x),x.isDefaultPrevented())return;const b=x.key;if(g&&(b===qo||b===gr)){x.preventDefault(),x.stopPropagation();return}if(b===gr){x.preventDefault();return}else b===qo&&(x.preventDefault(),x.currentTarget.click())}),y=ke(x=>{if(p?.(x),x.isDefaultPrevented())return;const b=x.key;if(g&&(b===qo||b===gr)){x.preventDefault(),x.stopPropagation();return}b===gr&&(x.preventDefault(),x.currentTarget.click())});if(t==="button"||t===void 0)return{...f,disabled:n&&!s,"aria-disabled":s?!0:m,onClick:s?void 0:v,onKeyUp:s?void 0:p,onKeyDown:s?void 0:u};{const x=!!f.href;let b=x?void 0:"button";!b&&g&&(b="link");const _={role:b,tabIndex:s||!x&&!n?0:void 0,...f,onClick:v,onKeyUp:y,onKeyDown:k,"aria-disabled":g};return t==="a"&&g&&(_.href=void 0),_}}const Nt=()=>{},xk={controller:{active:Nt,blur:Nt,find:Nt,first:Nt,focus:Nt,focusLastActive:Nt,scrollActiveIntoView:Nt,last:Nt,next:Nt,prev:Nt,showAttributes:Nt,hideAttributes:Nt,showFocusVisibleAttributes:Nt,hideFocusVisibleAttributes:Nt}},Pa=S.createContext(void 0),Mp=Pa.Provider,Lp=()=>{var t;return(t=S.useContext(Pa))!==null&&t!==void 0?t:xk},Sk=()=>!!S.useContext(Pa);function _k(t){const{matchOption:o}=t,{targetDocument:n}=at(),s=S.useRef(null),l=S.useRef(null),c=S.useCallback(f=>Nr(f)&&o(f)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[o]),u=S.useCallback(f=>{f&&n?(l.current=f,s.current=n.createTreeWalker(f,NodeFilter.SHOW_ELEMENT,c)):(l.current=null,s.current=null)},[n,c]);return{optionWalker:S.useMemo(()=>({first:()=>!s.current||!l.current?null:(s.current.currentNode=l.current,s.current.firstChild()),last:()=>!s.current||!l.current?null:(s.current.currentNode=l.current,s.current.lastChild()),next:()=>s.current?s.current.nextNode():null,prev:()=>s.current?s.current.previousNode():null,find:(f,m)=>{if(!s.current||!l.current)return null;const g=m?n?.getElementById(m):null;s.current.currentNode=g??l.current;let v=s.current.currentNode;for(;v&&!f(v.id);)v=s.current.nextNode();return v},setCurrent:f=>{s.current&&(s.current.currentNode=f)}}),[n]),listboxCallbackRef:u}}const Hp="data-activedescendant",Wo="data-activedescendant-focusvisible",qp=t=>{if(!t)return;const o=Wp(t.parentElement);if(!o)return;const{offsetHeight:n}=t,s=$p(t,o),{scrollMarginTop:l,scrollMarginBottom:c}=Ck(t),{offsetHeight:u,scrollTop:p}=o,f=s-l<p,m=s+n+c>p+u,g=2;f?o.scrollTo(0,s-l-g):m&&o.scrollTo(0,s+n+c-u+g)},Wp=t=>t?t.scrollHeight>t.offsetHeight?t:Wp(t.parentElement):null,$p=(t,o)=>!t||t===o?0:t.contains(o)?o.offsetTop*-1:t.offsetTop+$p(t.offsetParent,o),Ck=t=>{var o;const n=(o=t.ownerDocument)===null||o===void 0?void 0:o.defaultView;if(!n)return{scrollMarginTop:0,scrollMarginBottom:0};const s=n.getComputedStyle(t);var l;const c=(l=es(s.scrollMarginTop))!==null&&l!==void 0?l:es(s.scrollMarginBlockStart);var u;const p=(u=es(s.scrollMarginBottom))!==null&&u!==void 0?u:es(s.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:p}},es=t=>t?parseInt(t,10):0,Bk=t=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:t});function Vp(t){const{imperativeRef:o,matchOption:n}=t,s=S.useRef(!1),l=S.useRef(!0),c=S.useRef(null),u=S.useRef(null),p=S.useRef(null),f=S.useRef(!0),m=S.useCallback(()=>{var T;(T=p.current)===null||T===void 0||T.removeAttribute("aria-activedescendant")},[]),g=S.useCallback(T=>{if(T&&(c.current=T),f.current&&c.current){var R;(R=p.current)===null||R===void 0||R.setAttribute("aria-activedescendant",c.current)}},[]);sp(T=>{s.current=T;const R=b();R&&(T&&l.current?R.setAttribute(Wo,""):R.removeAttribute(Wo))});const v=ke(n),k=S.useRef(null),{optionWalker:y,listboxCallbackRef:x}=_k({matchOption:v}),b=S.useCallback(()=>{var T;return(T=k.current)===null||T===void 0?void 0:T.querySelector(`#${c.current}`)},[k]),_=S.useCallback(T=>{l.current=T;const R=b();R&&(T&&s.current?R.setAttribute(Wo,""):R.removeAttribute(Wo))},[b]),B=S.useCallback(()=>{const T=b();T&&(T.removeAttribute(Hp),T.removeAttribute(Wo)),m(),u.current=c.current,c.current=null;var R;return(R=T?.id)!==null&&R!==void 0?R:null},[b,m]),E=S.useCallback(T=>{if(!T)return;const R=B();qp(T),g(T.id),T.setAttribute(Hp,""),s.current&&l.current&&T.setAttribute(Wo,"");const D=Bk({id:T.id,previousId:R});T.dispatchEvent(D)},[B,g]),N=S.useMemo(()=>({first:({passive:T}={})=>{const R=y.first();return T||E(R),R?.id},last:({passive:T}={})=>{const R=y.last();return T||E(R),R?.id},next:({passive:T}={})=>{const R=b();if(!R)return;y.setCurrent(R);const D=y.next();return T||E(D),D?.id},prev:({passive:T}={})=>{const R=b();if(!R)return;y.setCurrent(R);const D=y.prev();return T||E(D),D?.id},blur:()=>{B()},active:()=>{var T;return(T=b())===null||T===void 0?void 0:T.id},focus:T=>{if(!k.current)return;const R=k.current.querySelector(`#${T}`);R&&E(R)},focusLastActive:()=>{if(!k.current||!u.current)return;const T=k.current.querySelector(`#${u.current}`);if(T)return E(T),!0},find(T,{passive:R,startFrom:D}={}){const A=y.find(T,D);return R||E(A),A?.id},scrollActiveIntoView:()=>{if(!k.current)return;const T=b();T&&qp(T)},showAttributes(){f.current=!0,g()},hideAttributes(){f.current=!1,m()},showFocusVisibleAttributes(){_(!0)},hideFocusVisibleAttributes(){_(!1)}}),[y,k,g,m,E,B,b,_]);return S.useImperativeHandle(o,()=>N),{listboxRef:pt(k,x),activeParentRef:p,controller:N}}const Nk=ce({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),Tk=(t,o)=>{const{title:n,primaryFill:s="currentColor",...l}=t,c={...l,title:void 0,fill:s},u=Nk(),p=Zb();return c.className=re(u.root,o?.flipInRtl&&p?.textDirection==="rtl"&&u.rtl,c.className),n&&(c["aria-label"]=n),!c["aria-label"]&&!c["aria-labelledby"]?c["aria-hidden"]=!0:c.role="img",c},Ek=ce({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),Tt=(t,o,n,s)=>{const l=o==="1em"?"20":o,c=S.forwardRef((u,p)=>{const f=Ek(),m=Tk(u,{flipInRtl:s?.flipInRtl}),g={...m,className:re(m.className,f.root),ref:p,width:o,height:o,viewBox:`0 0 ${l} ${l}`,xmlns:"http://www.w3.org/2000/svg"};return typeof n=="string"?S.createElement("svg",{...g,dangerouslySetInnerHTML:{__html:n}}):S.createElement("svg",g,...n.map(v=>S.createElement("path",{d:v,fill:g.fill})))});return c.displayName=t,c},zk=Tt("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 0l6.32-6.91Z"]),Pk=Tt("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 0L3.13 9.16Z"],{flipInRtl:!0}),Rk=Tt("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),Fk=Tt("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),Ik=Tt("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Up=Tt("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),Dk=Tt("SearchRegular","1em",["M13.73 14.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 15 9.5a5.5 5.5 0 1 0-1.98 4.23Z"]),jk=Tt("ArrowDownload24Regular","24",["M18.25 20.5a.75.75 0 1 1 0 1.5h-13a.75.75 0 1 1 0-1.5h13Zm-6.6-18.49h.1c.38 0 .7.28.74.64l.01.1v13.7l3.72-3.73a.75.75 0 0 1 .98-.07l.08.07c.27.27.3.68.07.98l-.07.08-5 5a.75.75 0 0 1-.97.07l-.09-.07-5-5a.75.75 0 0 1 .98-1.13l.08.07L11 16.43V2.76c0-.38.28-.7.65-.75h.1-.1Z"]),Gp=Tt("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),Ok=Tt("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),Ak=Tt("Copy24Regular","24",["M5.5 4.63V17.25c0 1.8 1.46 3.25 3.25 3.25h8.62c-.31.88-1.15 1.5-2.13 1.5H8.75A4.75 4.75 0 0 1 4 17.25V6.75c0-.98.63-1.81 1.5-2.12ZM17.75 2C18.99 2 20 3 20 4.25v13c0 1.24-1 2.25-2.25 2.25h-9c-1.24 0-2.25-1-2.25-2.25v-13C6.5 3.01 7.5 2 8.75 2h9Zm0 1.5h-9a.75.75 0 0 0-.75.75v13c0 .41.34.75.75.75h9c.41 0 .75-.34.75-.75v-13a.75.75 0 0 0-.75-.75Z"]),Mk=Tt("DocumentTable24Regular","24",["M8.75 11.5h6.5c.97 0 1.75.78 1.75 1.75v4c0 .97-.78 1.75-1.75 1.75h-6.5C7.78 19 7 18.22 7 17.25v-4c0-.97.78-1.75 1.75-1.75Zm-.25 1.75v1.25H10V13H8.75a.25.25 0 0 0-.25.25Zm0 2.75v1.25c0 .14.11.25.25.25H10V16H8.5Zm3 0v1.5h3.75c.14 0 .25-.11.25-.25V16h-4Zm4-1.5v-1.25a.25.25 0 0 0-.25-.25H11.5v1.5h4ZM13.59 2.59a.5.5 0 0 0-.05-.04 2.07 2.07 0 0 0-.34-.25l-.05-.03-.05-.03-.16-.09c-.2-.08-.41-.12-.63-.14h-.06a.6.6 0 0 0-.08-.01H6a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V9.83a2 2 0 0 0-.59-1.42L13.6 2.6ZM18 20.5H6a.5.5 0 0 1-.5-.5V4c0-.27.22-.5.5-.5h6V8c0 1.1.9 2 2 2h4.5v10a.5.5 0 0 1-.5.5Zm-.62-12H14a.5.5 0 0 1-.5-.5V4.62l3.88 3.88Z"]),Lk=Tt("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),Hk=Tt("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),Kp="data-popper-is-intersecting",Xp="data-popper-escaped",Qp="data-popper-reference-hidden",qk="data-popper-placement",Ra="fui-positioningend",Wk=({options:t})=>t,Yp=S.createContext(void 0);Yp.Provider;const $k=()=>{var t;return(t=S.useContext(Yp))!==null&&t!==void 0?t:Wk},Vk=["top","right","bottom","left"],yo=Math.min,Ut=Math.max,ts=Math.round,vr=t=>({x:t,y:t}),Uk={left:"right",right:"left",bottom:"top",top:"bottom"},Gk={start:"end",end:"start"};function Fa(t,o,n){return Ut(t,yo(o,n))}function zr(t,o){return typeof t=="function"?t(o):t}function Pr(t){return t.split("-")[0]}function $o(t){return t.split("-")[1]}function Ia(t){return t==="x"?"y":"x"}function Da(t){return t==="y"?"height":"width"}const Kk=new Set(["top","bottom"]);function br(t){return Kk.has(Pr(t))?"y":"x"}function ja(t){return Ia(br(t))}function Xk(t,o,n){n===void 0&&(n=!1);const s=$o(t),l=ja(t),c=Da(l);let u=l==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(u=rs(u)),[u,rs(u)]}function Qk(t){const o=rs(t);return[Oa(t),o,Oa(o)]}function Oa(t){return t.replace(/start|end/g,o=>Gk[o])}const Jp=["left","right"],Zp=["right","left"],Yk=["top","bottom"],Jk=["bottom","top"];function Zk(t,o,n){switch(t){case"top":case"bottom":return n?o?Zp:Jp:o?Jp:Zp;case"left":case"right":return o?Yk:Jk;default:return[]}}function ex(t,o,n,s){const l=$o(t);let c=Zk(Pr(t),n==="start",s);return l&&(c=c.map(u=>u+"-"+l),o&&(c=c.concat(c.map(Oa)))),c}function rs(t){return t.replace(/left|right|bottom|top/g,o=>Uk[o])}function tx(t){return{top:0,right:0,bottom:0,left:0,...t}}function eh(t){return typeof t!="number"?tx(t):{top:t,right:t,bottom:t,left:t}}function os(t){const{x:o,y:n,width:s,height:l}=t;return{width:s,height:l,top:n,left:o,right:o+s,bottom:n+l,x:o,y:n}}function th(t,o,n){let{reference:s,floating:l}=t;const c=br(o),u=ja(o),p=Da(u),f=Pr(o),m=c==="y",g=s.x+s.width/2-l.width/2,v=s.y+s.height/2-l.height/2,k=s[p]/2-l[p]/2;let y;switch(f){case"top":y={x:g,y:s.y-l.height};break;case"bottom":y={x:g,y:s.y+s.height};break;case"right":y={x:s.x+s.width,y:v};break;case"left":y={x:s.x-l.width,y:v};break;default:y={x:s.x,y:s.y}}switch($o(o)){case"start":y[u]-=k*(n&&m?-1:1);break;case"end":y[u]+=k*(n&&m?-1:1);break}return y}const rx=async(t,o,n)=>{const{placement:s="bottom",strategy:l="absolute",middleware:c=[],platform:u}=n,p=c.filter(Boolean),f=await(u.isRTL==null?void 0:u.isRTL(o));let m=await u.getElementRects({reference:t,floating:o,strategy:l}),{x:g,y:v}=th(m,s,f),k=s,y={},x=0;for(let b=0;b<p.length;b++){const{name:_,fn:B}=p[b],{x:E,y:N,data:T,reset:R}=await B({x:g,y:v,initialPlacement:s,placement:k,strategy:l,middlewareData:y,rects:m,platform:u,elements:{reference:t,floating:o}});g=E??g,v=N??v,y={...y,[_]:{...y[_],...T}},R&&x<=50&&(x++,typeof R=="object"&&(R.placement&&(k=R.placement),R.rects&&(m=R.rects===!0?await u.getElementRects({reference:t,floating:o,strategy:l}):R.rects),{x:g,y:v}=th(m,k,f)),b=-1)}return{x:g,y:v,placement:k,strategy:l,middlewareData:y}};async function Vo(t,o){var n;o===void 0&&(o={});const{x:s,y:l,platform:c,rects:u,elements:p,strategy:f}=t,{boundary:m="clippingAncestors",rootBoundary:g="viewport",elementContext:v="floating",altBoundary:k=!1,padding:y=0}=zr(o,t),x=eh(y),_=p[k?v==="floating"?"reference":"floating":v],B=os(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(_)))==null||n?_:_.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:m,rootBoundary:g,strategy:f})),E=v==="floating"?{x:s,y:l,width:u.floating.width,height:u.floating.height}:u.reference,N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),T=await(c.isElement==null?void 0:c.isElement(N))?await(c.getScale==null?void 0:c.getScale(N))||{x:1,y:1}:{x:1,y:1},R=os(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:E,offsetParent:N,strategy:f}):E);return{top:(B.top-R.top+x.top)/T.y,bottom:(R.bottom-B.bottom+x.bottom)/T.y,left:(B.left-R.left+x.left)/T.x,right:(R.right-B.right+x.right)/T.x}}const ox=t=>({name:"arrow",options:t,async fn(o){const{x:n,y:s,placement:l,rects:c,platform:u,elements:p,middlewareData:f}=o,{element:m,padding:g=0}=zr(t,o)||{};if(m==null)return{};const v=eh(g),k={x:n,y:s},y=ja(l),x=Da(y),b=await u.getDimensions(m),_=y==="y",B=_?"top":"left",E=_?"bottom":"right",N=_?"clientHeight":"clientWidth",T=c.reference[x]+c.reference[y]-k[y]-c.floating[x],R=k[y]-c.reference[y],D=await(u.getOffsetParent==null?void 0:u.getOffsetParent(m));let A=D?D[N]:0;(!A||!await(u.isElement==null?void 0:u.isElement(D)))&&(A=p.floating[N]||c.floating[x]);const H=T/2-R/2,Q=A/2-b[x]/2-1,Z=yo(v[B],Q),ve=yo(v[E],Q),he=Z,q=A-b[x]-ve,te=A/2-b[x]/2+H,xe=Fa(he,te,q),be=!f.arrow&&$o(l)!=null&&te!==xe&&c.reference[x]/2-(te<he?Z:ve)-b[x]/2<0,pe=be?te<he?te-he:te-q:0;return{[y]:k[y]+pe,data:{[y]:xe,centerOffset:te-xe-pe,...be&&{alignmentOffset:pe}},reset:be}}}),nx=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(o){var n,s;const{placement:l,middlewareData:c,rects:u,initialPlacement:p,platform:f,elements:m}=o,{mainAxis:g=!0,crossAxis:v=!0,fallbackPlacements:k,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:b=!0,..._}=zr(t,o);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const B=Pr(l),E=br(p),N=Pr(p)===p,T=await(f.isRTL==null?void 0:f.isRTL(m.floating)),R=k||(N||!b?[rs(p)]:Qk(p)),D=x!=="none";!k&&D&&R.push(...ex(p,b,x,T));const A=[p,...R],H=await Vo(o,_),Q=[];let Z=((s=c.flip)==null?void 0:s.overflows)||[];if(g&&Q.push(H[B]),v){const te=Xk(l,u,T);Q.push(H[te[0]],H[te[1]])}if(Z=[...Z,{placement:l,overflows:Q}],!Q.every(te=>te<=0)){var ve,he;const te=(((ve=c.flip)==null?void 0:ve.index)||0)+1,xe=A[te];if(xe&&(!(v==="alignment"?E!==br(xe):!1)||Z.every(U=>br(U.placement)===E?U.overflows[0]>0:!0)))return{data:{index:te,overflows:Z},reset:{placement:xe}};let be=(he=Z.filter(pe=>pe.overflows[0]<=0).sort((pe,U)=>pe.overflows[1]-U.overflows[1])[0])==null?void 0:he.placement;if(!be)switch(y){case"bestFit":{var q;const pe=(q=Z.filter(U=>{if(D){const ee=br(U.placement);return ee===E||ee==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(ee=>ee>0).reduce((ee,Y)=>ee+Y,0)]).sort((U,ee)=>U[1]-ee[1])[0])==null?void 0:q[0];pe&&(be=pe);break}case"initialPlacement":be=p;break}if(l!==be)return{reset:{placement:be}}}return{}}}};function rh(t,o){return{top:t.top-o.height,right:t.right-o.width,bottom:t.bottom-o.height,left:t.left-o.width}}function oh(t){return Vk.some(o=>t[o]>=0)}const ix=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(o){const{rects:n}=o,{strategy:s="referenceHidden",...l}=zr(t,o);switch(s){case"referenceHidden":{const c=await Vo(o,{...l,elementContext:"reference"}),u=rh(c,n.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:oh(u)}}}case"escaped":{const c=await Vo(o,{...l,altBoundary:!0}),u=rh(c,n.floating);return{data:{escapedOffsets:u,escaped:oh(u)}}}default:return{}}}}},nh=new Set(["left","top"]);async function sx(t,o){const{placement:n,platform:s,elements:l}=t,c=await(s.isRTL==null?void 0:s.isRTL(l.floating)),u=Pr(n),p=$o(n),f=br(n)==="y",m=nh.has(u)?-1:1,g=c&&f?-1:1,v=zr(o,t);let{mainAxis:k,crossAxis:y,alignmentAxis:x}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return p&&typeof x=="number"&&(y=p==="end"?x*-1:x),f?{x:y*g,y:k*m}:{x:k*m,y:y*g}}const lx=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(o){var n,s;const{x:l,y:c,placement:u,middlewareData:p}=o,f=await sx(o,t);return u===((n=p.offset)==null?void 0:n.placement)&&(s=p.arrow)!=null&&s.alignmentOffset?{}:{x:l+f.x,y:c+f.y,data:{...f,placement:u}}}}},ax=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(o){const{x:n,y:s,placement:l}=o,{mainAxis:c=!0,crossAxis:u=!1,limiter:p={fn:_=>{let{x:B,y:E}=_;return{x:B,y:E}}},...f}=zr(t,o),m={x:n,y:s},g=await Vo(o,f),v=br(Pr(l)),k=Ia(v);let y=m[k],x=m[v];if(c){const _=k==="y"?"top":"left",B=k==="y"?"bottom":"right",E=y+g[_],N=y-g[B];y=Fa(E,y,N)}if(u){const _=v==="y"?"top":"left",B=v==="y"?"bottom":"right",E=x+g[_],N=x-g[B];x=Fa(E,x,N)}const b=p.fn({...o,[k]:y,[v]:x});return{...b,data:{x:b.x-n,y:b.y-s,enabled:{[k]:c,[v]:u}}}}}},cx=function(t){return t===void 0&&(t={}),{options:t,fn(o){const{x:n,y:s,placement:l,rects:c,middlewareData:u}=o,{offset:p=0,mainAxis:f=!0,crossAxis:m=!0}=zr(t,o),g={x:n,y:s},v=br(l),k=Ia(v);let y=g[k],x=g[v];const b=zr(p,o),_=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(f){const N=k==="y"?"height":"width",T=c.reference[k]-c.floating[N]+_.mainAxis,R=c.reference[k]+c.reference[N]-_.mainAxis;y<T?y=T:y>R&&(y=R)}if(m){var B,E;const N=k==="y"?"width":"height",T=nh.has(Pr(l)),R=c.reference[v]-c.floating[N]+(T&&((B=u.offset)==null?void 0:B[v])||0)+(T?0:_.crossAxis),D=c.reference[v]+c.reference[N]+(T?0:((E=u.offset)==null?void 0:E[v])||0)-(T?_.crossAxis:0);x<R?x=R:x>D&&(x=D)}return{[k]:y,[v]:x}}}},ux=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(o){var n,s;const{placement:l,rects:c,platform:u,elements:p}=o,{apply:f=()=>{},...m}=zr(t,o),g=await Vo(o,m),v=Pr(l),k=$o(l),y=br(l)==="y",{width:x,height:b}=c.floating;let _,B;v==="top"||v==="bottom"?(_=v,B=k===(await(u.isRTL==null?void 0:u.isRTL(p.floating))?"start":"end")?"left":"right"):(B=v,_=k==="end"?"top":"bottom");const E=b-g.top-g.bottom,N=x-g.left-g.right,T=yo(b-g[_],E),R=yo(x-g[B],N),D=!o.middlewareData.shift;let A=T,H=R;if((n=o.middlewareData.shift)!=null&&n.enabled.x&&(H=N),(s=o.middlewareData.shift)!=null&&s.enabled.y&&(A=E),D&&!k){const Z=Ut(g.left,0),ve=Ut(g.right,0),he=Ut(g.top,0),q=Ut(g.bottom,0);y?H=x-2*(Z!==0||ve!==0?Z+ve:Ut(g.left,g.right)):A=b-2*(he!==0||q!==0?he+q:Ut(g.top,g.bottom))}await f({...o,availableWidth:H,availableHeight:A});const Q=await u.getDimensions(p.floating);return x!==Q.width||b!==Q.height?{reset:{rects:!0}}:{}}}};function ns(){return typeof window<"u"}function Uo(t){return ih(t)?(t.nodeName||"").toLowerCase():"#document"}function Dt(t){var o;return(t==null||(o=t.ownerDocument)==null?void 0:o.defaultView)||window}function Rr(t){var o;return(o=(ih(t)?t.ownerDocument:t.document)||window.document)==null?void 0:o.documentElement}function ih(t){return ns()?t instanceof Node||t instanceof Dt(t).Node:!1}function nr(t){return ns()?t instanceof Element||t instanceof Dt(t).Element:!1}function yr(t){return ns()?t instanceof HTMLElement||t instanceof Dt(t).HTMLElement:!1}function sh(t){return!ns()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Dt(t).ShadowRoot}const dx=new Set(["inline","contents"]);function Fn(t){const{overflow:o,overflowX:n,overflowY:s,display:l}=ir(t);return/auto|scroll|overlay|hidden|clip/.test(o+s+n)&&!dx.has(l)}const fx=new Set(["table","td","th"]);function px(t){return fx.has(Uo(t))}const hx=[":popover-open",":modal"];function is(t){return hx.some(o=>{try{return t.matches(o)}catch{return!1}})}const mx=["transform","translate","scale","rotate","perspective"],gx=["transform","translate","scale","rotate","perspective","filter"],vx=["paint","layout","strict","content"];function Aa(t){const o=Ma(),n=nr(t)?ir(t):t;return mx.some(s=>n[s]?n[s]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!o&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!o&&(n.filter?n.filter!=="none":!1)||gx.some(s=>(n.willChange||"").includes(s))||vx.some(s=>(n.contain||"").includes(s))}function bx(t){let o=Kr(t);for(;yr(o)&&!Go(o);){if(Aa(o))return o;if(is(o))return null;o=Kr(o)}return null}function Ma(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const yx=new Set(["html","body","#document"]);function Go(t){return yx.has(Uo(t))}function ir(t){return Dt(t).getComputedStyle(t)}function ss(t){return nr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Kr(t){if(Uo(t)==="html")return t;const o=t.assignedSlot||t.parentNode||sh(t)&&t.host||Rr(t);return sh(o)?o.host:o}function lh(t){const o=Kr(t);return Go(o)?t.ownerDocument?t.ownerDocument.body:t.body:yr(o)&&Fn(o)?o:lh(o)}function ah(t,o,n){var s;o===void 0&&(o=[]);const l=lh(t),c=l===((s=t.ownerDocument)==null?void 0:s.body),u=Dt(l);return c?(La(u),o.concat(u,u.visualViewport||[],Fn(l)?l:[],[])):o.concat(l,ah(l,[]))}function La(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ch(t){const o=ir(t);let n=parseFloat(o.width)||0,s=parseFloat(o.height)||0;const l=yr(t),c=l?t.offsetWidth:n,u=l?t.offsetHeight:s,p=ts(n)!==c||ts(s)!==u;return p&&(n=c,s=u),{width:n,height:s,$:p}}function uh(t){return nr(t)?t:t.contextElement}function Ko(t){const o=uh(t);if(!yr(o))return vr(1);const n=o.getBoundingClientRect(),{width:s,height:l,$:c}=ch(o);let u=(c?ts(n.width):n.width)/s,p=(c?ts(n.height):n.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!p||!Number.isFinite(p))&&(p=1),{x:u,y:p}}const wx=vr(0);function dh(t){const o=Dt(t);return!Ma()||!o.visualViewport?wx:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function kx(t,o,n){return o===void 0&&(o=!1),!n||o&&n!==Dt(t)?!1:o}function In(t,o,n,s){o===void 0&&(o=!1),n===void 0&&(n=!1);const l=t.getBoundingClientRect(),c=uh(t);let u=vr(1);o&&(s?nr(s)&&(u=Ko(s)):u=Ko(t));const p=kx(c,n,s)?dh(c):vr(0);let f=(l.left+p.x)/u.x,m=(l.top+p.y)/u.y,g=l.width/u.x,v=l.height/u.y;if(c){const k=Dt(c),y=s&&nr(s)?Dt(s):s;let x=k,b=La(x);for(;b&&s&&y!==x;){const _=Ko(b),B=b.getBoundingClientRect(),E=ir(b),N=B.left+(b.clientLeft+parseFloat(E.paddingLeft))*_.x,T=B.top+(b.clientTop+parseFloat(E.paddingTop))*_.y;f*=_.x,m*=_.y,g*=_.x,v*=_.y,f+=N,m+=T,x=Dt(b),b=La(x)}}return os({width:g,height:v,x:f,y:m})}function ls(t,o){const n=ss(t).scrollLeft;return o?o.left+n:In(Rr(t)).left+n}function fh(t,o){const n=t.getBoundingClientRect(),s=n.left+o.scrollLeft-ls(t,n),l=n.top+o.scrollTop;return{x:s,y:l}}function xx(t){let{elements:o,rect:n,offsetParent:s,strategy:l}=t;const c=l==="fixed",u=Rr(s),p=o?is(o.floating):!1;if(s===u||p&&c)return n;let f={scrollLeft:0,scrollTop:0},m=vr(1);const g=vr(0),v=yr(s);if((v||!v&&!c)&&((Uo(s)!=="body"||Fn(u))&&(f=ss(s)),yr(s))){const y=In(s);m=Ko(s),g.x=y.x+s.clientLeft,g.y=y.y+s.clientTop}const k=u&&!v&&!c?fh(u,f):vr(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-f.scrollLeft*m.x+g.x+k.x,y:n.y*m.y-f.scrollTop*m.y+g.y+k.y}}function Sx(t){return Array.from(t.getClientRects())}function _x(t){const o=Rr(t),n=ss(t),s=t.ownerDocument.body,l=Ut(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),c=Ut(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let u=-n.scrollLeft+ls(t);const p=-n.scrollTop;return ir(s).direction==="rtl"&&(u+=Ut(o.clientWidth,s.clientWidth)-l),{width:l,height:c,x:u,y:p}}const ph=25;function Cx(t,o){const n=Dt(t),s=Rr(t),l=n.visualViewport;let c=s.clientWidth,u=s.clientHeight,p=0,f=0;if(l){c=l.width,u=l.height;const g=Ma();(!g||g&&o==="fixed")&&(p=l.offsetLeft,f=l.offsetTop)}const m=ls(s);if(m<=0){const g=s.ownerDocument,v=g.body,k=getComputedStyle(v),y=g.compatMode==="CSS1Compat"&&parseFloat(k.marginLeft)+parseFloat(k.marginRight)||0,x=Math.abs(s.clientWidth-v.clientWidth-y);x<=ph&&(c-=x)}else m<=ph&&(c+=m);return{width:c,height:u,x:p,y:f}}const Bx=new Set(["absolute","fixed"]);function Nx(t,o){const n=In(t,!0,o==="fixed"),s=n.top+t.clientTop,l=n.left+t.clientLeft,c=yr(t)?Ko(t):vr(1),u=t.clientWidth*c.x,p=t.clientHeight*c.y,f=l*c.x,m=s*c.y;return{width:u,height:p,x:f,y:m}}function hh(t,o,n){let s;if(o==="viewport")s=Cx(t,n);else if(o==="document")s=_x(Rr(t));else if(nr(o))s=Nx(o,n);else{const l=dh(t);s={x:o.x-l.x,y:o.y-l.y,width:o.width,height:o.height}}return os(s)}function mh(t,o){const n=Kr(t);return n===o||!nr(n)||Go(n)?!1:ir(n).position==="fixed"||mh(n,o)}function Tx(t,o){const n=o.get(t);if(n)return n;let s=ah(t,[]).filter(p=>nr(p)&&Uo(p)!=="body"),l=null;const c=ir(t).position==="fixed";let u=c?Kr(t):t;for(;nr(u)&&!Go(u);){const p=ir(u),f=Aa(u);!f&&p.position==="fixed"&&(l=null),(c?!f&&!l:!f&&p.position==="static"&&!!l&&Bx.has(l.position)||Fn(u)&&!f&&mh(t,u))?s=s.filter(g=>g!==u):l=p,u=Kr(u)}return o.set(t,s),s}function Ex(t){let{element:o,boundary:n,rootBoundary:s,strategy:l}=t;const u=[...n==="clippingAncestors"?is(o)?[]:Tx(o,this._c):[].concat(n),s],p=u[0],f=u.reduce((m,g)=>{const v=hh(o,g,l);return m.top=Ut(v.top,m.top),m.right=yo(v.right,m.right),m.bottom=yo(v.bottom,m.bottom),m.left=Ut(v.left,m.left),m},hh(o,p,l));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function zx(t){const{width:o,height:n}=ch(t);return{width:o,height:n}}function Px(t,o,n){const s=yr(o),l=Rr(o),c=n==="fixed",u=In(t,!0,c,o);let p={scrollLeft:0,scrollTop:0};const f=vr(0);function m(){f.x=ls(l)}if(s||!s&&!c)if((Uo(o)!=="body"||Fn(l))&&(p=ss(o)),s){const y=In(o,!0,c,o);f.x=y.x+o.clientLeft,f.y=y.y+o.clientTop}else l&&m();c&&!s&&l&&m();const g=l&&!s&&!c?fh(l,p):vr(0),v=u.left+p.scrollLeft-f.x-g.x,k=u.top+p.scrollTop-f.y-g.y;return{x:v,y:k,width:u.width,height:u.height}}function Ha(t){return ir(t).position==="static"}function gh(t,o){if(!yr(t)||ir(t).position==="fixed")return null;if(o)return o(t);let n=t.offsetParent;return Rr(t)===n&&(n=n.ownerDocument.body),n}function vh(t,o){const n=Dt(t);if(is(t))return n;if(!yr(t)){let l=Kr(t);for(;l&&!Go(l);){if(nr(l)&&!Ha(l))return l;l=Kr(l)}return n}let s=gh(t,o);for(;s&&px(s)&&Ha(s);)s=gh(s,o);return s&&Go(s)&&Ha(s)&&!Aa(s)?n:s||bx(t)||n}const Rx=async function(t){const o=this.getOffsetParent||vh,n=this.getDimensions,s=await n(t.floating);return{reference:Px(t.reference,await o(t.floating),t.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function Fx(t){return ir(t).direction==="rtl"}const Ix={convertOffsetParentRelativeRectToViewportRelativeRect:xx,getDocumentElement:Rr,getClippingRect:Ex,getOffsetParent:vh,getElementRects:Rx,getClientRects:Sx,getDimensions:zx,getScale:Ko,isElement:nr,isRTL:Fx},Dx=Vo,jx=lx,Ox=ax,Ax=nx,Mx=ux,bh=ix,Lx=ox,yh=cx,Hx=(t,o,n)=>{const s=new Map,l={platform:Ix,...n},c={...l.platform,_c:s};return rx(t,o,{...l,platform:c})};function wh(t){const o=t.split("-");return{side:o[0],alignment:o[1]}}const qx=t=>t.nodeName==="HTML"?t:t.parentNode||t.host,Wx=t=>{var o;if(t.nodeType!==1)return{};const n=(o=t.ownerDocument)===null||o===void 0?void 0:o.defaultView;return n?n.getComputedStyle(t,null):{}},as=t=>{const o=t&&qx(t);if(!o)return document.body;switch(o.nodeName){case"HTML":case"BODY":return o.ownerDocument.body;case"#document":return o.body}const{overflow:n,overflowX:s,overflowY:l}=Wx(o);return/(auto|scroll|overlay)/.test(n+l+s)?o:as(o)},$x=t=>{var o;const n=as(t);return n?n!==((o=n.ownerDocument)===null||o===void 0?void 0:o.body):!1};function qa(t,o){if(o==="window")return t?.ownerDocument.documentElement;if(o==="clippingParents")return"clippingAncestors";if(o==="scrollParent"){let n=as(t);return n.nodeName==="BODY"&&(n=t?.ownerDocument.documentElement),n}return o}function kh(t,o){if(typeof t=="number")return t;const{start:n,end:s,...l}=t,c=l,u=o?"end":"start",p=o?"start":"end";return t[u]&&(c.left=t[u]),t[p]&&(c.right=t[p]),c}const Vx=t=>({above:"top",below:"bottom",before:t?"right":"left",after:t?"left":"right"}),Ux=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),Gx=(t,o)=>{const n=t==="above"||t==="below",s=o==="top"||o==="bottom";return n&&s||!n&&!s},xh=(t,o,n)=>{const s=Gx(o,t)?"center":t,l=o&&Vx(n)[o],c=s&&Ux()[s];return l&&c?`${l}-${c}`:l},Kx=()=>({top:"above",bottom:"below",right:"after",left:"before"}),Xx=t=>t==="above"||t==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},Qx=t=>{const{side:o,alignment:n}=wh(t),s=Kx()[o],l=n&&Xx(s)[n];return{position:s,alignment:l}},Yx={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 Sh(t){return t==null?{}:typeof t=="string"?Yx[t]:t}function Wa(t,o,n){const s=S.useRef(!0),[l]=S.useState(()=>({value:t,callback:o,facade:{get current(){return l.value},set current(c){const u=l.value;u!==c&&(l.value=c,l.callback(c,u))}}}));return Wt(()=>{s.current=!1},[]),l.callback=o,l.facade}function Jx(t){let o;return()=>(o||(o=new Promise(n=>{Promise.resolve().then(()=>{o=void 0,n(t())})})),o)}function Zx(t){const{arrow:o,middlewareData:n}=t;if(!n.arrow||!o)return;const{x:s,y:l}=n.arrow;Object.assign(o.style,{left:s!=null?`${s}px`:"",top:l!=null?`${l}px`:""})}function eS(t){var o,n,s;const{container:l,placement:c,middlewareData:u,strategy:p,lowPPI:f,coordinates:m,useTransform:g=!0}=t;if(!l)return;l.setAttribute(qk,c),l.removeAttribute(Kp),u.intersectionObserver.intersecting&&l.setAttribute(Kp,""),l.removeAttribute(Xp),!((o=u.hide)===null||o===void 0)&&o.escaped&&l.setAttribute(Xp,""),l.removeAttribute(Qp),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&l.setAttribute(Qp,"");const v=((s=l.ownerDocument.defaultView)===null||s===void 0?void 0:s.devicePixelRatio)||1,k=Math.round(m.x*v)/v,y=Math.round(m.y*v)/v;if(Object.assign(l.style,{position:p}),g){Object.assign(l.style,{transform:f?`translate(${k}px, ${y}px)`:`translate3d(${k}px, ${y}px, 0)`});return}Object.assign(l.style,{left:`${k}px`,top:`${y}px`})}const tS=t=>{switch(t){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 _h(t){const o=[];let n=t;for(;n;){const s=as(n);if(t.ownerDocument.body===s){o.push(s);break}if(s.nodeName==="BODY"&&s!==t.ownerDocument.body)break;o.push(s),n=s}return o}function rS(t,o){return new t.ResizeObserver(o)}function oS(t){let o=!1;const{container:n,target:s,arrow:l,strategy:c,middleware:u,placement:p,useTransform:f=!0,disableUpdateOnResize:m=!1}=t,g=n.ownerDocument.defaultView;if(!s||!n||!g)return{updatePosition:()=>{},dispose:()=>{}};const v=m?null:rS(g,B=>{B.every(N=>N.contentRect.width>0&&N.contentRect.height>0)&&b()});let k=!0;const y=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const x=()=>{o||(k&&(_h(n).forEach(B=>y.add(B)),Nr(s)&&_h(s).forEach(B=>y.add(B)),y.forEach(B=>{B.addEventListener("scroll",b,{passive:!0})}),v?.observe(n),Nr(s)&&v?.observe(s),k=!1),Object.assign(n.style,{position:c}),Hx(s,n,{placement:p,middleware:u,strategy:c}).then(({x:B,y:E,middlewareData:N,placement:T})=>{o||(Zx({arrow:l,middlewareData:N}),eS({container:n,middlewareData:N,placement:T,coordinates:{x:B,y:E},lowPPI:(g?.devicePixelRatio||1)<=1,strategy:c,useTransform:f}),n.dispatchEvent(new CustomEvent(Ra)))}).catch(B=>{}))},b=Jx(()=>x()),_=()=>{o=!0,g&&(g.removeEventListener("scroll",b),g.removeEventListener("resize",b)),y.forEach(B=>{B.removeEventListener("scroll",b)}),y.clear(),v?.disconnect()};return g&&(g.addEventListener("scroll",b,{passive:!0}),g.addEventListener("resize",b)),b(),{updatePosition:b,dispose:_}}function nS(){return{name:"coverTarget",fn:t=>{const{placement:o,rects:n,x:s,y:l}=t,c=wh(o).side,u={x:s,y:l};switch(c){case"bottom":u.y-=n.reference.height;break;case"top":u.y+=n.reference.height;break;case"left":u.x+=n.reference.width;break;case"right":u.x-=n.reference.width;break}return u}}}function iS(t){const{hasScrollableElement:o,flipBoundary:n,container:s,fallbackPositions:l=[],isRtl:c}=t,u=l.reduce((p,f)=>{const{position:m,align:g}=Sh(f),v=xh(g,m,c);return v&&p.push(v),p},[]);return Ax({...o&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:qa(s,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function sS(){return{name:"intersectionObserver",fn:async t=>{const o=t.rects.floating,n=await Dx(t,{altBoundary:!0}),s=n.top<o.height&&n.top>0,l=n.bottom<o.height&&n.bottom>0;return{data:{intersecting:s||l}}}}}const lS=t=>({name:"resetMaxSize",fn({middlewareData:o,elements:n}){var s;if(!((s=o.resetMaxSize)===null||s===void 0)&&s.maxSizeAlreadyReset)return{};const{applyMaxWidth:l,applyMaxHeight:c}=t;return l&&(n.floating.style.removeProperty("box-sizing"),n.floating.style.removeProperty("max-width"),n.floating.style.removeProperty("width")),c&&(n.floating.style.removeProperty("box-sizing"),n.floating.style.removeProperty("max-height"),n.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function aS(t,o){const{container:n,overflowBoundary:s,overflowBoundaryPadding:l,isRtl:c}=o;return Mx({...l&&{padding:kh(l,c)},...s&&{altBoundary:!0,boundary:qa(n,s)},apply({availableHeight:u,availableWidth:p,elements:f,rects:m}){const g=(y,x,b)=>{if(y&&(f.floating.style.setProperty("box-sizing","border-box"),f.floating.style.setProperty(`max-${x}`,`${b}px`),m.floating[x]>b)){f.floating.style.setProperty(x,`${b}px`);const _=x==="width"?"x":"y";f.floating.style.getPropertyValue(`overflow-${_}`)||f.floating.style.setProperty(`overflow-${_}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:k}=t;g(v,"width",p),g(k,"height",u)}})}function cS(t){return!t||typeof t=="number"||typeof t=="object"?t:({rects:{floating:o,reference:n},placement:s})=>{const{position:l,alignment:c}=Qx(s);return t({positionedRect:o,targetRect:n,position:l,alignment:c})}}function uS(t){const o=cS(t);return jx(o)}function dS(t){const{hasScrollableElement:o,shiftToCoverTarget:n,disableTether:s,overflowBoundary:l,container:c,overflowBoundaryPadding:u,isRtl:p}=t;return Ox({...o&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:yh({crossAxis:!0,mainAxis:!1})},...s&&{crossAxis:s==="all",limiter:yh({crossAxis:s!=="all",mainAxis:!1})},...u&&{padding:kh(u,p)},...l&&{altBoundary:!0,boundary:qa(c,l)}})}const Ch="--fui-match-target-size";function fS(){return{name:"matchTargetSize",fn:async t=>{const{rects:{reference:o,floating:n},elements:{floating:s},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:l=!1}={}}}=t;if(o.width===n.width||l)return{};const{width:c}=o;return s.style.setProperty(Ch,`${c}px`),s.style.width||(s.style.width=`var(${Ch})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function pS(t,o){const{align:n,arrowPadding:s,autoSize:l,coverTarget:c,disableUpdateOnResize:u,flipBoundary:p,offset:f,overflowBoundary:m,pinned:g,position:v,unstable_disableTether:k,strategy:y,overflowBoundaryPadding:x,fallbackPositions:b,useTransform:_,matchTargetSize:B,shiftToCoverTarget:E}=o;return S.useCallback((N,T)=>t({container:N,arrow:T,options:{autoSize:l,disableUpdateOnResize:u,matchTargetSize:B,offset:f,strategy:y,coverTarget:c,flipBoundary:p,overflowBoundary:m,useTransform:_,overflowBoundaryPadding:x,pinned:g,arrowPadding:s,align:n,fallbackPositions:b,shiftToCoverTarget:E,position:v,unstable_disableTether:k}}),[l,u,B,f,y,c,p,m,_,x,g,s,n,b,E,v,k,t])}function hS(t){const{dir:o,targetDocument:n}=at(),s=o==="rtl",l=pS($k(),t),{positionFixed:c}=t;return S.useCallback((u,p)=>{const f=$x(u),m=l(u,p),{autoSize:g,disableUpdateOnResize:v,matchTargetSize:k,offset:y,coverTarget:x,flipBoundary:b,overflowBoundary:_,useTransform:B,overflowBoundaryPadding:E,pinned:N,position:T,arrowPadding:R,strategy:D,align:A,fallbackPositions:H,shiftToCoverTarget:Q,unstable_disableTether:Z}=m,ve=tS(g),he=[ve&&lS(ve),k&&fS(),y&&uS(y),x&&nS(),!N&&iS({container:u,flipBoundary:b,hasScrollableElement:f,isRtl:s,fallbackPositions:H}),dS({container:u,hasScrollableElement:f,overflowBoundary:_,disableTether:Z,overflowBoundaryPadding:E,isRtl:s,shiftToCoverTarget:Q}),ve&&aS(ve,{container:u,overflowBoundary:_,overflowBoundaryPadding:E,isRtl:s}),sS(),p&&Lx({element:p,padding:R}),bh({strategy:"referenceHidden"}),bh({strategy:"escaped"}),!1].filter(Boolean);return{placement:xh(A,T,s),middleware:he,strategy:D??c?"fixed":"absolute",disableUpdateOnResize:v,useTransform:B}},[l,s,n,c])}function mS(t){"use no memo";const o=S.useRef(null),n=S.useRef(null),s=S.useRef(null),l=S.useRef(null),c=S.useRef(null),{enabled:u=!0}=t,p=hS(t),f=S.useCallback(()=>{o.current&&o.current.dispose(),o.current=null;var x;const b=(x=s.current)!==null&&x!==void 0?x:n.current;u&&oa()&&b&&l.current&&(o.current=oS({container:l.current,target:b,arrow:c.current,...p(l.current,c.current)}))},[u,p]),m=ke(x=>{s.current=x,f()});S.useImperativeHandle(t.positioningRef,()=>({updatePosition:()=>{var x;return(x=o.current)===null||x===void 0?void 0:x.updatePosition()},setTarget:x=>{t.target,m(x)}}),[t.target,m]),Wt(()=>{var x;m((x=t.target)!==null&&x!==void 0?x:null)},[t.target,m]),Wt(()=>{f()},[f]);const g=Wa(null,x=>{n.current!==x&&(n.current=x,f())}),v=ke(()=>{var x;return(x=t.onPositioningEnd)===null||x===void 0?void 0:x.call(t)}),k=Wa(null,x=>{if(l.current!==x){var b;(b=l.current)===null||b===void 0||b.removeEventListener(Ra,v),x?.addEventListener(Ra,v),l.current=x,f()}}),y=Wa(null,x=>{c.current!==x&&(c.current=x,f())});return{targetRef:g,containerRef:k,arrowRef:y}}function gS(t){return Nr(t)?{element:t}:typeof t=="object"?t===null?{element:null}:t:{}}const vS=ce({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;}"]}),Bh=Bi.useInsertionEffect,bS=t=>{"use no memo";const{className:o,dir:n,focusVisibleRef:s,targetNode:l}=t,c=S.useMemo(()=>{if(l===void 0||t.disabled)return null;const u=l.ownerDocument.createElement("div");return l.appendChild(u),u},[l,t.disabled]);return S.useMemo(()=>{c&&(c.className=o,c.setAttribute("dir",n),c.setAttribute("data-portal-node","true"),s.current=c)},[o,n,c,s]),S.useEffect(()=>()=>{c?.remove()},[c]),c},yS=()=>{let t;function o(s,l){return t||(l&&(t=s.ownerDocument.createElement("div"),s.appendChild(t)),t)}function n(){t&&(t.remove(),t=void 0)}return{get:o,dispose:n}},wS=Bh?t=>{"use no memo";const{className:o,dir:n,focusVisibleRef:s,targetNode:l}=t,[c]=S.useState(yS),u=S.useMemo(()=>l===void 0||t.disabled?null:new Proxy({},{get(p,f){if(f==="nodeType")return 1;if(f==="remove"){const v=c.get(l,!1);return v&&v.childNodes.length===0&&c.dispose(),()=>{}}const m=c.get(l,!0),g=m?m[f]:void 0;return typeof g=="function"?g.bind(m):g},set(p,f,m){const g=f==="_virtual"||f==="focusVisible",v=g?c.get(l,!1):c.get(l,!0);return g&&!v?!0:v?(Object.assign(v,{[f]:m}),!0):!1}}),[c,l,t.disabled]);return Bh(()=>{if(!u)return;const p=o.split(" ").filter(Boolean);return u.classList.add(...p),u.setAttribute("dir",n),u.setAttribute("data-portal-node","true"),s.current=u,()=>{u.classList.remove(...p),u.removeAttribute("dir")}},[o,n,u,s]),S.useEffect(()=>()=>{u?.remove()},[u]),u}:bS,kS=t=>{"use no memo";const{targetDocument:o,dir:n}=at(),s=xb(),l=_a(),c=vS(),u=mb(),p={dir:n,disabled:t.disabled,focusVisibleRef:l,className:re(u,c.root,t.className),targetNode:s??o?.body};return wS(p)},xS=t=>{const{element:o,className:n}=gS(t.mountNode),s=S.useRef(null),l=kS({disabled:!!o,className:n}),c=o??l,u={children:t.children,mountNode:c,virtualParentRootRef:s};return S.useEffect(()=>{if(!c)return;const p=s.current,f=c.contains(p);if(p&&!f)return _f(c,p),()=>{_f(c,void 0)}},[s,c]),u};var $a=cd();const SS=t=>S.createElement("span",{hidden:!0,ref:t.virtualParentRootRef},t.mountNode&&$a.createPortal(S.createElement(S.Fragment,null,t.children,S.createElement("span",{hidden:!0})),t.mountNode)),Nh=t=>{const o=xS(t);return SS(o)};Nh.displayName="Portal";const _S=t=>{const{iconOnly:o,iconPosition:n}=t;return yt(t.root,{children:[n!=="after"&&t.icon&&ue(t.icon,{}),!o&&t.root.children,n==="after"&&t.icon&&ue(t.icon,{})]})},Th=S.createContext(void 0),CS={};Th.Provider;const BS=()=>{var t;return(t=S.useContext(Th))!==null&&t!==void 0?t:CS},NS=(t,o)=>{const{size:n}=BS(),{appearance:s="secondary",as:l="button",disabled:c=!1,disabledFocusable:u=!1,icon:p,iconPosition:f="before",shape:m="rounded",size:g=n??"medium"}=t,v=Ge(p,{elementType:"span"});return{appearance:s,disabled:c,disabledFocusable:u,iconPosition:f,shape:m,size:g,iconOnly:!!(v?.children&&!t.children),components:{root:"button",icon:"span"},root:Re(_t(l,Ap(t.as,t)),{elementType:"button",defaultProps:{ref:o,type:l==="button"?"button":void 0}}),icon:v}},Eh={root:"fui-Button",icon:"fui-Button__icon"},TS=ft("r1alrhcs",null,{r:[".r1alrhcs{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);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[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){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),ES=ft("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);}"]),zS=ce({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},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",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",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",rxnm8d:"fpelvsg",Bso50sa:"f1r9enuy",B65bq0w:["fdvt4n0","f1grx941"],Buont6p:"f1l34yyb",B0o9ejx:["f1grx941","fdvt4n0"],Dcq74g:"fqfbdvs"},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",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",Dcq74g:"fqfbdvs",zyxd5v:"f1wfsnb3"},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",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",rxnm8d:"f11slz88",Dcq74g:"fqfbdvs"},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);}",".fwiml72:hover:active{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);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{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);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{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){.fpelvsg:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1r9enuy:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1grx941:hover:active{border-left-color:Highlight;}.fdvt4n0:hover:active{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l34yyb:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqfbdvs:hover:active{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){.f1wfsnb3:hover:active .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){.f11slz88:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),PS=ce({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",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},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",rxnm8d:"f1xxg0vq",Bso50sa:"f16oldlo",B65bq0w:["f17g64ui","fqbrke7"],Buont6p:"fjvf891",B0o9ejx:["fqbrke7","f17g64ui"],Dcq74g:"f1efp33f",zyxd5v:"f1gue8i"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},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"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},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"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{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);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{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;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{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){.f1xxg0vq:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16oldlo:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f17g64ui:hover:active{border-right-color:GrayText;}.fqbrke7:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjvf891:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gue8i:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),RS=ce({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;}}"]}),FS=ce({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;}"]}),IS=ce({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);}"]}),DS=t=>{"use no memo";const o=TS(),n=ES(),s=zS(),l=PS(),c=RS(),u=FS(),p=IS(),{appearance:f,disabled:m,disabledFocusable:g,icon:v,iconOnly:k,iconPosition:y,shape:x,size:b}=t;return t.root.className=re(Eh.root,o,f&&s[f],s[b],v&&b==="small"&&s.smallWithIcon,v&&b==="large"&&s.largeWithIcon,s[x],(m||g)&&l.base,(m||g)&&l.highContrast,f&&(m||g)&&l[f],f==="primary"&&c.primary,c[b],c[x],k&&u[b],t.root.className),t.icon&&(t.icon.className=re(Eh.icon,n,!!t.root.children&&p[y],p[b],t.icon.className)),t},cs=S.forwardRef((t,o)=>{const n=NS(t,o);return DS(n),nt("useButtonStyles_unstable")(n),_S(n)});cs.displayName="Button";const zh=S.createContext(void 0);zh.Provider;const jS=()=>S.useContext(zh);function us(t,o){return OS(jS(),t,o)}function OS(t,o,n){if(!t)return o;o={...o};const{generatedControlId:s,hintId:l,labelFor:c,labelId:u,required:p,validationMessageId:f,validationState:m}=t;if(s){var g,v;(v=(g=o).id)!==null&&v!==void 0||(g.id=s)}if(u&&(!n?.supportsLabelFor||c!==o.id)){var k,y,x;(x=(k=o)[y="aria-labelledby"])!==null&&x!==void 0||(k[y]=u)}if((f||l)&&(o["aria-describedby"]=[f,l,o?.["aria-describedby"]].filter(Boolean).join(" ")),m==="error"){var b,_,B;(B=(b=o)[_="aria-invalid"])!==null&&B!==void 0||(b[_]=!0)}if(p)if(n?.supportsRequired){var E,N;(N=(E=o).required)!==null&&N!==void 0||(E.required=!0)}else{var T,R,D;(D=(T=o)[R="aria-required"])!==null&&D!==void 0||(T[R]=!0)}if(n?.supportsSize){var A,H;(H=(A=o).size)!==null&&H!==void 0||(A.size=t.size)}return o}const AS=(t,o)=>{const{disabled:n=!1,required:s=!1,weight:l="regular",size:c="medium"}=t;return{disabled:n,required:Ge(s===!0?"*":s||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:l,size:c,components:{root:"label",required:"span"},root:Re(_t("label",{ref:o,...t}),{elementType:"label"})}},MS=t=>yt(t.root,{children:[t.root.children,t.required&&ue(t.required,{})]}),Ph={root:"fui-Label",required:"fui-Label__required"},LS=ce({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)"}]]}),HS=t=>{"use no memo";const o=LS();return t.root.className=re(Ph.root,o.root,t.disabled&&o.disabled,o[t.size],t.weight==="semibold"&&o.semibold,t.root.className),t.required&&(t.required.className=re(Ph.required,o.required,t.disabled&&o.disabled,t.required.className)),t},wo=S.forwardRef((t,o)=>{const n=AS(t,o);return HS(n),nt("useLabelStyles_unstable")(n),MS(n)});wo.displayName="Label";const qS=(t,o)=>{"use no memo";t=us(t,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:n=!1,required:s,shape:l="square",size:c="medium",labelPosition:u="after",onChange:p}=t,[f,m]=qr({defaultState:t.defaultChecked,state:t.checked,initialState:!1}),g=$i({props:t,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),v=f==="mixed",k=Br("checkbox-",g.primary.id);let y;v?l==="circular"?y=S.createElement(Ik,null):y=c==="large"?S.createElement(Hk,null):S.createElement(Lk,null):f&&(y=c==="large"?S.createElement(Ok,null):S.createElement(Gp,null));const x={shape:l,checked:f,disabled:n,size:c,labelPosition:u,components:{root:"span",input:"input",indicator:"div",label:wo},root:Re(t.root,{defaultProps:{ref:Pn(),...g.root},elementType:"span"}),input:Re(t.input,{defaultProps:{type:"checkbox",id:k,ref:o,checked:f===!0,...g.primary},elementType:"input"}),label:Ge(t.label,{defaultProps:{htmlFor:k,disabled:n,required:s,size:"medium"},elementType:wo}),indicator:Ge(t.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:y},elementType:"div"})};x.input.onChange=ke(_=>{const B=_.currentTarget.indeterminate?"mixed":_.currentTarget.checked;p?.(_,{checked:B}),m(B)});const b=pt(x.input.ref);return x.input.ref=b,Wt(()=>{b.current&&(b.current.indeterminate=v)},[b,v]),x},WS=t=>yt(t.root,{children:[ue(t.input,{}),t.labelPosition==="before"&&t.label&&ue(t.label,{}),t.indicator&&ue(t.indicator,{}),t.labelPosition==="after"&&t.label&&ue(t.label,{})]}),ds={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},$S=ft("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;}}"]}),VS=ce({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)"}]]}),US=ft("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));}"]),GS=ce({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));}"]}),KS=ft("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;}"]),XS=ce({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}]]}),QS=ce({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);}"]}),YS=t=>{"use no memo";const{checked:o,disabled:n,labelPosition:s,shape:l,size:c}=t,u=$S(),p=VS();t.root.className=re(ds.root,u,n?p.disabled:o==="mixed"?p.mixed:o?p.checked:p.unchecked,t.root.className);const f=US(),m=GS();t.input.className=re(ds.input,f,c==="large"&&m.large,m[s],t.input.className);const g=KS(),v=XS();t.indicator&&(t.indicator.className=re(ds.indicator,g,c==="large"&&v.large,l==="circular"&&v.circular,t.indicator.className));const k=QS();return t.label&&(t.label.className=re(ds.label,k.base,k[c],k[s],t.label.className)),t},Va=S.forwardRef((t,o)=>{const n=qS(t,o);return YS(n),nt("useCheckboxStyles_unstable")(n),WS(n)});Va.displayName="Checkbox";const Rh=Ea({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});Rh.Provider;const JS={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Xo=Ea(void 0),jt=t=>Pp(Xo,(o=JS)=>t(o));Xo.Provider;function ZS(t){const{appearance:o,open:n,getOptionById:s,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:p,setOpen:f,size:m,activeDescendantController:g,onOptionClick:v,onActiveDescendantChange:k}=t,y={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:p,setActiveOption:()=>null,setOpen:f,size:m},x={activeOption:void 0,focusVisible:!1,getOptionById:s,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:p,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:k},b=S.useMemo(()=>({controller:g}),[g]);return{combobox:y,activeDescendant:b,listbox:x}}function e_(t){const o=Rp(Xo),{getOptionById:n,getOptionsMatchingValue:s,multiselect:l,registerOption:c,selectedOptions:u,selectOption:p,activeDescendantController:f}=t,m=jt(b=>b.registerOption),g=jt(b=>b.onOptionClick),v=jt(b=>b.onActiveDescendantChange),y={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:s,multiselect:l,registerOption:o?m:c,selectedOptions:u,selectOption:p,setActiveOption:()=>{},onOptionClick:g,onActiveDescendantChange:v},x=S.useMemo(()=>({controller:f}),[f]);return{listbox:y,activeDescendant:x}}function Ua(t,o={}){const{open:n=!0,multiselect:s=!1}=o,l=t.key,{altKey:c,ctrlKey:u,key:p,metaKey:f}=t;return p.length===1&&l!==gr&&!c&&!u&&!f?"Type":n?l===Zi&&c||l===qo||!s&&l===gr?"CloseSelect":s&&l===gr?"Select":l===Op?"Close":l===za?"Next":l===Zi?"Previous":l===jp?"First":l===Dp?"Last":l===kk?"PageUp":l===wk?"PageDown":l===yk?"Tab":"None":l===za||l===Zi||l===qo||l===gr?"Open":"None"}const Fh=()=>{const t=S.useRef(new Map),o=S.useMemo(()=>({getCount:()=>t.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:m=>t.current.get(m),getOptionsMatchingText:m=>Array.from(t.current.values()).filter(({text:g})=>m(g)),getOptionsMatchingValue:m=>{const g=[];for(const v of t.current.values())m(v.value)&&g.push(v);return g}}),[]),n=S.useCallback(s=>(t.current.set(s.id,s),()=>t.current.delete(s.id)),[]);return{...o,options:Array.from(t.current.values()),registerOption:n}},Ih=t=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:s}=t,[l,c]=qr({state:t.selectedOptions,defaultState:o,initialState:[]}),u=S.useCallback((f,m)=>{if(m.disabled)return;let g=[m.value];if(n){const v=l.findIndex(k=>k===m.value);v>-1?g=[...l.slice(0,v),...l.slice(v+1)]:g=[...l,m.value]}c(g),s?.(f,{optionValue:m.value,optionText:m.text,selectedOptions:g})},[s,n,l,c]);return{clearSelection:f=>{c([]),s?.(f,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u,selectedOptions:l}},fs={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},t_=ce({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),r_=t=>{"use no memo";const{disabled:o,multiselect:n,selected:s}=t,l=t_();return t.root.className=re(fs.root,l.root,l.active,o&&l.disabled,s&&l.selected,t.root.className),t.checkIcon&&(t.checkIcon.className=re(fs.checkIcon,l.checkIcon,n&&l.multiselectCheck,s&&l.selectedCheck,s&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,t.checkIcon.className)),t},Dh={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},o_=(t,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:s=!1}=t,l=Fh(),{listboxRef:c,activeParentRef:u,controller:p}=Vp({matchOption:te=>te.classList.contains(fs.root)}),f=Rp(Xo),m=jt(te=>te.onActiveDescendantChange),g=jt(te=>te.getOptionById),v=jt(te=>te.getOptionsMatchingValue),k=f?g:l.getOptionById,y=f?v:l.getOptionsMatchingValue,x=S.useMemo(()=>{let te=null;const xe=be=>{m?.(be)};return be=>{if(!be){te?.removeEventListener("activedescendantchange",xe);return}te=be,te.addEventListener("activedescendantchange",xe)}},[m]),[b,_]=S.useState(!1);sp(_);const B=Lp(),E=Sk(),N=E?B.controller:p,{clearSelection:T,selectedOptions:R,selectOption:D}=Ih(t),A=te=>{const xe=Ua(te,{open:!0}),be=N.active(),pe=be?k(be):null;switch(xe){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":te.preventDefault();break}switch(xe){case"Next":pe?N.next():N.first();break;case"Previous":pe?N.prev():N.first();break;case"PageUp":case"First":N.first();break;case"PageDown":case"Last":N.last();break;case"Select":case"CloseSelect":pe&&D(te,pe);break}},H=jt(te=>te.selectedOptions),Q=jt(te=>te.selectOption),Z=f?{selectedOptions:H,selectOption:Q,...Dh}:{selectedOptions:R,selectOption:D,...Dh};S.useEffect(()=>{if(!E){if(N.hideFocusVisibleAttributes(),!s)if(!n&&Z.selectedOptions.length>0){const te=y(xe=>xe===Z.selectedOptions[0]).pop();te?.id&&N.focus(te.id)}else N.first();return()=>{N.blur()}}},[]);const ve=S.useCallback(()=>{E||(N.showFocusVisibleAttributes(),b&&N.scrollActiveIntoView())},[N,E,b]),he=S.useCallback(()=>{E||N.hideFocusVisibleAttributes()},[N,E]),q={components:{root:"div"},root:Re(_t("div",{ref:pt(o,u,c,x),role:n?"menu":"listbox",tabIndex:0,...t}),{elementType:"div"}),standalone:!f,multiselect:n,clearSelection:T,activeDescendantController:N,onActiveDescendantChange:m,...l,...Z};return q.root.onKeyDown=ke(Ct(q.root.onKeyDown,A)),q.root.onFocus=ke(Ct(q.root.onFocus,ve)),q.root.onBlur=ke(Ct(q.root.onBlur,he)),q},n_=(t,o)=>ue(Mp,{value:o.activeDescendant,children:ue(Xo.Provider,{value:o.listbox,children:ue(t.root,{})})}),i_={root:"fui-Listbox"},s_=ce({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);}"]}),l_=t=>{"use no memo";const o=s_();return t.root.className=re(i_.root,o.root,t.root.className),t},Ga=S.forwardRef((t,o)=>{const n=o_(t,o),s=e_(n);return l_(n),nt("useListboxStyles_unstable")(n),n_(n,s)});Ga.displayName="Listbox";function a_(t,o){if(t!==void 0)return t;let n="",s=!1;return S.Children.forEach(o,l=>{typeof l=="string"?n+=l:s=!0}),s&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}const c_=(t,o)=>{const{children:n,disabled:s,text:l,value:c}=t,u=S.useRef(null),p=a_(l,n),f=c??p,m=Br("fluent-option",t.id),g=S.useMemo(()=>({id:m,disabled:s,text:p,value:f}),[m,s,p,f]),{controller:v}=Lp(),k=jt(T=>T.multiselect),y=jt(T=>T.registerOption),x=jt(T=>{const R=T.selectedOptions;return f!==void 0&&R.find(D=>D===f)!==void 0}),b=jt(T=>T.selectOption),_=jt(T=>T.onOptionClick);let B=S.createElement(Rk,null);k&&(B=x?S.createElement(Gp,null):"");const E=T=>{var R;if(s){T.preventDefault();return}v.focus(m),b(T,g),_(T),(R=t.onClick)===null||R===void 0||R.call(t,T)};S.useEffect(()=>{if(m&&u.current)return y(g,u.current)},[m,g,y]);const N=k?{role:"menuitemcheckbox","aria-checked":x}:{role:"option","aria-selected":x};return{components:{root:"div",checkIcon:"span"},root:Re(_t("div",{ref:pt(o,u),"aria-disabled":s?"true":void 0,id:m,...N,...t,onClick:E}),{elementType:"div"}),checkIcon:Ge(t.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:B},elementType:"span"}),disabled:s,multiselect:k,selected:x,focusVisible:!1,active:!1}},u_=t=>yt(t.root,{children:[t.checkIcon&&ue(t.checkIcon,{}),t.root.children]}),jh=S.forwardRef((t,o)=>{const n=c_(t,o);return r_(n),nt("useOptionStyles_unstable")(n),u_(n)});jh.displayName="Option";const d_=t=>{"use no memo";const{appearance:o="outline",disableAutoFocus:n,children:s,clearable:l=!1,editable:c=!1,inlinePopup:u=!1,mountNode:p=void 0,multiselect:f,onOpenChange:m,size:g="medium",activeDescendantController:v,freeform:k=!1,disabled:y=!1,onActiveOptionChange:x=null}=t,b=Fh(),{getOptionsMatchingValue:_}=b,{getOptionById:B}=b,E=S.useCallback(()=>{const M=v.active();return M?B(M):void 0},[v,B]),N=E(),T=S.useCallback(M=>{let se;if(typeof M=="function"){const me=E();se=M(me)}se?v.focus(se.id):v.blur()},[v,E]),[R,D]=S.useState(!1),[A,H]=S.useState(!1),Q=S.useRef(!1),Z=Rb(),[ve,he]=qr({state:t.value,initialState:void 0}),{selectedOptions:q,selectOption:te,clearSelection:xe}=Ih(t),be=S.useCallback((M,se)=>{$a.unstable_batchedUpdates(()=>{he(void 0),te(M,se)})},[he,te]),pe=S.useMemo(()=>{if(ve!==void 0)return ve;if(Z&&t.defaultValue!==void 0)return t.defaultValue;const M=_(se=>q.includes(se)).map(se=>se.text);return f?c?"":M.join(", "):M[0]},[ve,c,_,f,q]),[U,ee]=qr({state:t.open,defaultState:t.defaultOpen,initialState:!1}),Y=S.useCallback((M,se)=>{y||(m?.(M,{open:se}),$a.unstable_batchedUpdates(()=>{!se&&!k&&he(void 0),ee(se)}))},[m,ee,he,k,y]);S.useEffect(()=>{if(U){if(!f&&q.length>0){const M=_(se=>se===q[0]).pop();M?.id&&v.focus(M.id)}}else v.blur()},[U,v]),S.useEffect(()=>{U&&!n&&!v.active()&&v.first()},[U,s,n,v,B]);const F=ke(M=>{const se=M.detail.previousId?b.getOptionById(M.detail.previousId):null,me=b.getOptionById(M.detail.id);x?.(M,{event:M,type:"change",previousOption:se,nextOption:me})});return{...b,freeform:k,disabled:y,selectOption:be,clearSelection:xe,selectedOptions:q,activeOption:N,appearance:o,clearable:l,focusVisible:R,ignoreNextBlur:Q,inlinePopup:u,mountNode:p,open:U,hasFocus:A,setActiveOption:T,setFocusVisible:D,setHasFocus:H,setOpen:Y,setValue:he,size:g,value:pe,multiselect:f,onOptionClick:ke(M=>{f||Y(M,!1)}),onActiveDescendantChange:F}};function f_(t){const{positioning:o}=t,s={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Sh(o)},{targetRef:l,containerRef:c}=mS(s);return[c,l]}function p_(t,o,n){const{state:{multiselect:s},triggerRef:l,defaultProps:c}=n,u=Br("fluent-listbox",lf(t)?t.id:void 0),p=Ge(t,{renderByDefault:!0,elementType:Ga,defaultProps:{id:u,multiselect:s,tabIndex:void 0,...c}}),f=us({id:u},{supportsLabelFor:!0});p&&!p["aria-label"]&&!p["aria-labelledby"]&&f["aria-labelledby"]&&(p["aria-labelledby"]=f["aria-labelledby"]);const m=ke(Ct(k=>{k.preventDefault()},p?.onMouseDown)),g=ke(Ct(k=>{var y;k.preventDefault(),(y=l.current)===null||y===void 0||y.focus()},p?.onClick)),v=pt(p?.ref,o);return p&&(p.ref=v,p.onMouseDown=m,p.onClick=g),p}function h_(t,o,n){const{state:{open:s,setOpen:l,setHasFocus:c},defaultProps:u,elementType:p,activeDescendantController:f}=n,m=Re(t,{defaultProps:{type:"text","aria-expanded":s,role:"combobox",...typeof u=="object"&&u},elementType:p}),g=S.useRef(null);return m.ref=pt(g,m.ref,o),m.onBlur=Ct(v=>{l(v,!1),c(!1)},m.onBlur),m.onFocus=Ct(v=>{v.target===v.currentTarget&&c(!0)},m.onFocus),m.onClick=Ct(v=>{l(v,!s)},m.onClick),m.onKeyDown=Ct(m_({activeDescendantController:f,...n.state}),m.onKeyDown),m}function m_(t){const{activeDescendantController:o,getOptionById:n,setOpen:s,selectOption:l,multiselect:c,open:u}=t,p=S.useCallback(()=>{const b=o.active();return b?n(b):void 0},[o,n]),f=()=>{o.first()},m=()=>{o.last()},g=b=>{b?o.next():o.first()},v=b=>{b?o.prev():o.first()},k=()=>{for(let b=0;b<10;b++)o.prev()},y=()=>{for(let b=0;b<10;b++)o.next()},x=gw();return ke(b=>{const _=Ua(b,{open:u,multiselect:c}),B=p();switch(_){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":b.preventDefault();break}switch(x(!0),_){case"First":f();break;case"Last":m();break;case"Next":g(B);break;case"Previous":v(B);break;case"PageDown":y();break;case"PageUp":k();break;case"Open":s(b,!0);break;case"Close":b.stopPropagation(),s(b,!1);break;case"CloseSelect":!c&&!B?.disabled&&s(b,!1);case"Select":B&&l(b,B);break;case"Tab":!c&&B&&l(b,B);break}})}function g_(t,o,n){"use no memo";const{state:{open:s,setOpen:l,getOptionById:c},defaultProps:u,activeDescendantController:p}=n,f=S.useRef(""),[m,g]=wf(),v=(b,_={startFromNext:!1})=>{const{startFromNext:B}=_,E=p.active(),N=p.find(T=>{const R=c(T);return!!R&&b(R.text)},{startFrom:B?p.next({passive:!0}):E});return N||p.find(T=>{const R=c(T);return!!R&&b(R.text)})},k=()=>{v(b=>b.toLocaleLowerCase().indexOf(f.current)===0,{startFromNext:f.current.length===1})||v_(f.current)&&v(b=>b.toLocaleLowerCase().indexOf(f.current[0])===0,{startFromNext:!0})||p.blur()},y=b=>{g(),Ua(b)==="Type"&&(f.current+=b.key.toLowerCase(),m(()=>{f.current=""},500),s&&k(),!s&&l(b,!0))},x=h_(t,o,{state:n.state,defaultProps:u,elementType:"button",activeDescendantController:p});return x.onKeyDown=Ct(y,x.onKeyDown),x}function v_(t){for(let o=1;o<t.length;o++)if(t[o]!==t[o-1])return!1;return!0}const b_=(t,o)=>{"use no memo";var n;t=us(t,{supportsLabelFor:!0,supportsSize:!0});const{listboxRef:s,activeParentRef:l,controller:c}=Vp({matchOption:he=>he.classList.contains(fs.root)}),u=d_({...t,activeDescendantController:c,freeform:!1}),{clearable:p,clearSelection:f,disabled:m,hasFocus:g,multiselect:v,open:k,selectedOptions:y,setOpen:x}=u,{primary:b,root:_}=$i({props:t,primarySlotTagName:"button",excludedPropNames:["children"]}),[B,E]=f_(t),N=S.useRef(null),T=p_(t.listbox,pt(B,s),{state:u,triggerRef:N,defaultProps:{children:t.children}}),{targetDocument:R}=at();Ib({element:R,callback:he=>x(he,!1),refs:[N,B,E],disabled:!k});var D;const A=g_((D=t.button)!==null&&D!==void 0?D:{},pt(N,l,o),{state:u,defaultProps:{type:"button",tabIndex:b.disabled?void 0:0,children:u.value||t.placeholder,"aria-controls":k?T?.id:void 0,...b},activeDescendantController:c}),H=Re(t.root,{defaultProps:{"aria-owns":!t.inlinePopup&&k?T?.id:void 0,children:t.children,..._},elementType:"div"});H.ref=pt(H.ref,E);const Q=y.length>0&&!m&&p&&!v,Z={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:Ga},root:H,button:A,listbox:k||g?T:void 0,clearButton:Ge(t.clearButton,{defaultProps:{"aria-label":"Clear selection",children:S.createElement(Up,null),tabIndex:Q?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:Ge(t.expandIcon,{renderByDefault:!0,defaultProps:{children:S.createElement(Fk,null)},elementType:"span"}),placeholderVisible:!u.value&&!!t.placeholder,showClearButton:Q,activeDescendantController:c,...u},ve=ke(Ct((n=Z.clearButton)===null||n===void 0?void 0:n.onClick,he=>{var q;f(he),(q=N.current)===null||q===void 0||q.focus()}));return Z.clearButton&&(Z.clearButton.onClick=ve),v&&(Z.clearButton=void 0),Z},y_=(t,o)=>ue(t.root,{children:ue(Mp,{value:o.activeDescendant,children:ue(Xo.Provider,{value:o.listbox,children:yt(Rh.Provider,{value:o.combobox,children:[yt(t.button,{children:[t.button.children,t.expandIcon&&ue(t.expandIcon,{})]}),t.clearButton&&ue(t.clearButton,{}),t.listbox&&(t.inlinePopup?ue(t.listbox,{}):ue(Nh,{mountNode:t.mountNode,children:ue(t.listbox,{})}))]})})})}),Dn={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},w_=ce({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);}"]}),k_=ce({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);}"]}),x_=ft("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;}}"]}),S_=t=>{"use no memo";const{appearance:o,open:n,placeholderVisible:s,showClearButton:l,size:c}=t,u=`${t.button["aria-invalid"]}`=="true",p=t.button.disabled,f=w_(),m=k_(),g=x_();return t.root.className=re(Dn.root,f.root,f[o],!p&&o==="outline"&&f.outlineInteractive,u&&o!=="underline"&&f.invalid,u&&o==="underline"&&f.invalidUnderline,p&&f.disabled,t.root.className),t.button.className=re(Dn.button,f.button,f[c],s&&f.placeholder,p&&f.disabledText,t.button.className),t.listbox&&(t.listbox.className=re(Dn.listbox,f.listbox,t.inlinePopup&&f.inlineListbox,!n&&f.listboxCollapsed,t.listbox.className)),t.expandIcon&&(t.expandIcon.className=re(Dn.expandIcon,m.icon,m[c],p&&m.disabled,l&&f.hidden,t.expandIcon.className)),t.clearButton&&(t.clearButton.className=re(Dn.clearButton,g,m.icon,m[c],p&&m.disabled,!l&&f.hidden,t.clearButton.className)),t},Oh=S.forwardRef((t,o)=>{const n=b_(t,o),s=ZS(n);return S_(n),nt("useDropdownStyles_unstable")(n),y_(n,s)});Oh.displayName="Dropdown";const __=(t,o)=>{t=us(t,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=gf();var s;const{size:l="medium",appearance:c=(s=n.inputDefaultAppearance)!==null&&s!==void 0?s:"outline",onChange:u}=t,[p,f]=qr({state:t.value,defaultState:t.defaultValue,initialState:""}),m=$i({props:t,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),g={size:l,appearance:c,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Re(t.input,{defaultProps:{type:"text",ref:o,...m.primary},elementType:"input"}),contentAfter:Ge(t.contentAfter,{elementType:"span"}),contentBefore:Ge(t.contentBefore,{elementType:"span"}),root:Re(t.root,{defaultProps:m.root,elementType:"span"})};return g.input.value=p,g.input.onChange=ke(v=>{const k=v.target.value;u?.(v,{value:k}),f(k)}),g},ps={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},C_=ft("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),B_=ce({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),N_=ft("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),T_=ce({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),E_=ft("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),z_=ce({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),P_=t=>{"use no memo";const{size:o,appearance:n}=t,s=t.input.disabled,l=`${t.input["aria-invalid"]}`=="true",c=n.startsWith("filled"),u=B_(),p=T_(),f=z_();t.root.className=re(ps.root,C_(),u[o],t.contentBefore&&u[`${o}WithContentBefore`],t.contentAfter&&u[`${o}WithContentAfter`],u[n],!s&&n==="outline"&&u.outlineInteractive,!s&&n==="underline"&&u.underlineInteractive,!s&&c&&u.filledInteractive,c&&u.filled,!s&&l&&u.invalid,s&&u.disabled,t.root.className),t.input.className=re(ps.input,N_(),p[o],t.contentBefore&&p[`${o}WithContentBefore`],t.contentAfter&&p[`${o}WithContentAfter`],s&&p.disabled,t.input.className);const m=[E_(),s&&f.disabled,f[o]];return t.contentBefore&&(t.contentBefore.className=re(ps.contentBefore,...m,t.contentBefore.className)),t.contentAfter&&(t.contentAfter.className=re(ps.contentAfter,...m,t.contentAfter.className)),t},Ah=S.createContext(void 0),R_={};Ah.Provider;const F_=()=>S.useContext(Ah)||R_,I_=t=>yt(t.root,{children:[ue(t.input,{}),ue(t.indicator,{}),t.label&&ue(t.label,{})]}),D_=(t,o)=>{const n=F_(),{name:s=n.name,checked:l=n.value!==void 0?n.value===t.value:void 0,defaultChecked:c=n.defaultValue!==void 0?n.defaultValue===t.value:void 0,labelPosition:u=n.layout==="horizontal-stacked"?"below":"after",disabled:p=n.disabled,required:f=n.required,"aria-describedby":m=n["aria-describedby"],onChange:g}=t,v=$i({props:t,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),k=Re(t.root,{defaultProps:{ref:Pn(),...v.root},elementType:"span"}),y=Re(t.input,{defaultProps:{ref:o,type:"radio",id:Br("radio-",v.primary.id),name:s,checked:l,defaultChecked:c,disabled:p,required:f,"aria-describedby":m,...v.primary},elementType:"input"});y.onChange=Ct(y.onChange,_=>g?.(_,{value:_.currentTarget.value}));const x=Ge(t.label,{defaultProps:{htmlFor:y.id,disabled:y.disabled},elementType:wo}),b=Re(t.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:wo,indicator:"div"},root:k,input:y,label:x,indicator:b}},hs={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},j_=ft("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;}}"]}),O_=ce({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),A_=ft("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;}}"]}),M_=ce({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;}"]}),L_=ft("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;}"]),H_=ce({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;}"]}),q_=t=>{"use no memo";const{labelPosition:o}=t,n=j_(),s=O_();t.root.className=re(hs.root,n,o==="below"&&s.vertical,t.root.className);const l=A_(),c=M_();t.input.className=re(hs.input,l,o==="below"&&c.below,t.indicator.children?c.customIndicator:c.defaultIndicator,t.input.className);const u=L_();t.indicator.className=re(hs.indicator,u,t.indicator.className);const p=H_();return t.label&&(t.label.className=re(hs.label,p.base,p[o],t.label.className)),t},Ka=S.forwardRef((t,o)=>{const n=D_(t,o);return q_(n),nt("useRadioStyles_unstable")(n),I_(n)});Ka.displayName="Radio";const Mh=S.createContext(void 0),W_={};Mh.Provider;const $_=()=>{var t;return(t=S.useContext(Mh))!==null&&t!==void 0?t:W_},V_=(t,o)=>{const{size:n}=$_(),{appearance:s="primary",labelPosition:l="after",size:c=n??"medium",delay:u=0}=t,p=Br("spinner"),{role:f="progressbar",...m}=t,g=Re(_t("div",{ref:o,role:f,...m},["size"]),{elementType:"div"}),[v,k]=S.useState(!1),[y,x]=wf();S.useEffect(()=>{if(!(u<=0))return y(()=>{k(!0)},u),()=>{x()}},[y,x,u]);const b=Ge(t.label,{defaultProps:{id:p},renderByDefault:!1,elementType:wo}),_=Ge(t.spinner,{renderByDefault:!0,elementType:"span"});return b&&g&&!g["aria-labelledby"]&&(g["aria-labelledby"]=b.id),{appearance:s,delay:u,labelPosition:l,size:c,shouldRenderSpinner:!u||v,components:{root:"div",spinner:"span",spinnerTail:"span",label:wo},root:g,spinner:_,spinnerTail:Re(t.spinnerTail,{elementType:"span"}),label:b}},U_=t=>{const{labelPosition:o,shouldRenderSpinner:n}=t;return yt(t.root,{children:[t.label&&n&&(o==="above"||o==="before")&&ue(t.label,{}),t.spinner&&n&&ue(t.spinner,{children:t.spinnerTail&&ue(t.spinnerTail,{})}),t.label&&n&&(o==="below"||o==="after")&&ue(t.label,{})]})},ms={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},G_=ft("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),K_=ce({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),X_=ft("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),Q_=ft("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),Y_=ce({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),J_=ce({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),Z_=t=>{"use no memo";const{labelPosition:o,size:n,appearance:s}=t,{dir:l}=at(),c=G_(),u=K_(),p=X_(),f=Y_(),m=Q_(),g=J_();return t.root.className=re(ms.root,c,(o==="above"||o==="below")&&u.vertical,t.root.className),t.spinner&&(t.spinner.className=re(ms.spinner,p,f[n],s==="inverted"&&f.inverted,t.spinner.className)),t.spinnerTail&&(t.spinnerTail.className=re(ms.spinnerTail,m,l==="rtl"&&f.rtlTail,t.spinnerTail.className)),t.label&&(t.label.className=re(ms.label,g[n],s==="inverted"&&g.inverted,t.label.className)),t},Xa=S.forwardRef((t,o)=>{const n=V_(t,o);return Z_(n),nt("useSpinnerStyles_unstable")(n),U_(n)});Xa.displayName="Spinner";const Lh=(t,o)=>{const{wrap:n,truncate:s,block:l,italic:c,underline:u,strikethrough:p,size:f,font:m,weight:g,align:v}=t;return{align:v??"start",block:l??!1,font:m??"base",italic:c??!1,size:f??300,strikethrough:p??!1,truncate:s??!1,underline:u??!1,weight:g??"regular",wrap:n??!0,components:{root:"span"},root:Re(_t("span",{ref:o,...t}),{elementType:"span"})}},Hh=t=>ue(t.root,{}),e2={root:"fui-Text"},t2=ce({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;}"]}),qh=t=>{"use no memo";const o=t2();return t.root.className=re(e2.root,o.root,t.wrap===!1&&o.nowrap,t.truncate&&o.truncate,t.block&&o.block,t.italic&&o.italic,t.underline&&o.underline,t.strikethrough&&o.strikethrough,t.underline&&t.strikethrough&&o.strikethroughUnderline,t.size===100&&o.base100,t.size===200&&o.base200,t.size===400&&o.base400,t.size===500&&o.base500,t.size===600&&o.base600,t.size===700&&o.hero700,t.size===800&&o.hero800,t.size===900&&o.hero900,t.size===1e3&&o.hero1000,t.font==="monospace"&&o.monospace,t.font==="numeric"&&o.numeric,t.weight==="medium"&&o.weightMedium,t.weight==="semibold"&&o.weightSemibold,t.weight==="bold"&&o.weightBold,t.align==="center"&&o.alignCenter,t.align==="end"&&o.alignEnd,t.align==="justify"&&o.alignJustify,t.root.className),t},Wh=S.forwardRef((t,o)=>{const n=Lh(t,o);return qh(n),nt("useTextStyles_unstable")(n),Hh(n)});Wh.displayName="Text";function r2(t){const{useStyles:o,className:n,displayName:s}=t,l=S.forwardRef((c,u)=>{"use no memo";const p=o(),f=Lh(c,u);return qh(f),f.root.className=re(n,f.root.className,p.root,c.className),Hh(f)});return l.displayName=s,l}const o2=r2({useStyles:ce({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1x0m3f5",Bhrd7zp:"fl43uef",Bg96gwp:"fb86gi6"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fb86gi6{line-height:var(--lineHeightBase600);}"]}),className:{root:"fui-Title3"}.root,displayName:"Title3"}),jn=()=>{},$h={allRowsSelected:!1,clearRows:jn,deselectRow:jn,isRowSelected:()=>!1,selectRow:jn,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:jn,toggleRow:jn,selectionMode:"multiselect"};function n2(t){"use no memo";return o=>i2(o,t)}function i2(t,o){const{items:n,getRowId:s}=t,{selectionMode:l,defaultSelectedItems:c,selectedItems:u,onSelectionChange:p}=o,[f,m]=qb({selectionMode:l,defaultSelectedItems:c,selectedItems:u,onSelectionChange:p}),g=S.useMemo(()=>{const N=new Set;for(let R=0;R<n.length;R++){var T;N.add((T=s?.(n[R]))!==null&&T!==void 0?T:R)}return N},[n,s]),v=S.useMemo(()=>{if(l==="single"){const T=Array.from(f)[0];return g.has(T)}if(f.size<g.size||g.size===0)return!1;let N=!0;return g.forEach(T=>{f.has(T)||(N=!1)}),N},[g,f,l]),k=S.useMemo(()=>{if(f.size<=0)return!1;let N=!1;return g.forEach(T=>{f.has(T)&&(N=!0)}),N},[g,f]),y=ke(N=>{m.toggleAllItems(N,n.map((T,R)=>{var D;return(D=s?.(T))!==null&&D!==void 0?D:R}))}),x=ke((N,T)=>m.toggleItem(N,T)),b=ke((N,T)=>m.deselectItem(N,T)),_=ke((N,T)=>m.selectItem(N,T)),B=N=>m.isSelected(N),E=ke(N=>m.clearItems(N));return{...t,selection:{selectionMode:l,someRowsSelected:k,allRowsSelected:v,selectedRows:f,toggleRow:x,toggleAllRows:y,clearRows:E,deselectRow:b,selectRow:_,isRowSelected:B}}}const Qa=()=>{},Vh={getSortDirection:()=>"ascending",setColumnSort:Qa,sort:t=>[...t],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:Qa};function s2(t){"use no memo";return o=>l2(o,t)}function l2(t,o){const{columns:n}=t,{sortState:s,defaultSortState:l,onSortChange:c=Qa}=o,[u,p]=qr({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:l,state:s}),{sortColumn:f,sortDirection:m}=u,g=ke(c),v=S.useCallback((b,_)=>{p(B=>{const E={...B,sortColumn:_};return B.sortColumn===_?E.sortDirection=B.sortDirection==="ascending"?"descending":"ascending":E.sortDirection="ascending",g?.(b,E),E})},[g,p]),k=(b,_,B)=>{const E={sortColumn:_,sortDirection:B};g?.(b,E),p(E)},y=S.useCallback(b=>b.slice().sort((_,B)=>{const E=n.find(T=>T.columnId===f);if(!E?.compare)return 0;const N=m==="ascending"?1:-1;return E.compare(_.item,B.item)*N}),[n,f,m]);return{...t,sort:{sort:y,sortColumn:f,sortDirection:m,setColumnSort:k,toggleColumnSort:v,getSortDirection:b=>f===b?m:void 0}}}const a2=(t,o)=>{const n=ke(s=>{var l;(l=t.onClick)===null||l===void 0||l.call(t,s),s.stopPropagation()});return{components:{root:"div"},root:Re(_t("div",{ref:o,...t,onClick:n}),{elementType:"div"})}},c2=t=>ue(t.root,{}),u2={root:"fui-TableResizeHandle"},d2=ce({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;}"]}),f2=t=>{"use no memo";const o=d2();return t.root.className=re(u2.root,o.root,t.root.className),t},Uh=S.forwardRef((t,o)=>{const n=a2(t,o);return f2(n),nt("useTableResizeHandleStyles_unstable")(n),c2(n)});Uh.displayName="TableResizeHandle";function p2(){const[t,o]=S.useState(0),n=S.useRef(void 0),s=S.useRef(null),{targetDocument:l}=at(),c=S.useCallback(()=>{var p;const f=(p=n.current)===null||p===void 0?void 0:p.getBoundingClientRect().width;o(f||0)},[]),u=S.useCallback(p=>{if(l&&(!p&&s.current&&n.current&&s.current.unobserve(n.current),n.current=void 0,p?.parentElement)){var f;n.current=p.parentElement,c(),(f=s.current)===null||f===void 0||f.observe(n.current)}},[l,c]);return S.useEffect(()=>{if(s.current=h2(l,c),!(!n.current||!s.current))return s.current.observe(n.current),()=>{var p;(p=s.current)===null||p===void 0||p.disconnect()}},[c,l]),{width:t,measureElementRef:u}}function h2(t,o){var n;return!(t==null||(n=t.defaultView)===null||n===void 0)&&n.ResizeObserver?new t.defaultView.ResizeObserver(o):null}function m2(t){const o=S.useRef(0),n=S.useRef(0),s=S.useRef(void 0),[l,c]=S.useState(!1),{targetDocument:u}=at(),{getColumnWidth:p,setColumnWidth:f}=t,m=S.useCallback(x=>{const{clientX:b}=kf(x),_=b-o.current;n.current+=_,s.current&&f(x,{columnId:s.current,width:n.current}),o.current=b},[f]),[g]=Cb(),v=S.useCallback(x=>{g(()=>m(x))},[g,m]),k=S.useCallback(x=>{sa(x)&&(u?.removeEventListener("mouseup",k),u?.removeEventListener("mousemove",v)),ia(x)&&(u?.removeEventListener("touchend",k),u?.removeEventListener("touchmove",v)),c(!1)},[v,u]);return{getOnMouseDown:S.useCallback(x=>b=>{if(n.current=p(x),o.current=kf(b).clientX,s.current=x,sa(b)){if(b.target!==b.currentTarget||b.button!==0)return;u?.addEventListener("mouseup",k),u?.addEventListener("mousemove",v),c(!0)}ia(b)&&(u?.addEventListener("touchend",k),u?.addEventListener("touchmove",v),c(!0))},[p,v,k,u]),dragging:l}}const g2=150,v2=100;function Ya(t,o=[],n={}){let s=!1;const l=new Map(o.map(u=>[u.columnId,u])),c=t.map(u=>{const p=l.get(u.columnId);if(p){var f;const{idealWidth:x=p.idealWidth,minWidth:b=p.minWidth,padding:_=p.padding}=(f=n[u.columnId])!==null&&f!==void 0?f:{};return x!==p.idealWidth||b!==p.minWidth||_!==p.padding?(s=!0,{...p,idealWidth:x,width:x,minWidth:b,padding:_}):p}var m;const{defaultWidth:g,idealWidth:v=g2,minWidth:k=v2,padding:y}=(m=n[u.columnId])!==null&&m!==void 0?m:{};return s=!0,{columnId:u.columnId,width:Math.max(g??v,k),minWidth:k,idealWidth:Math.max(g??v,k),padding:y??16}});if(c.length!==o.length||s){const u=c.find(p=>p.width>p.idealWidth);u&&(u.width=u.idealWidth),s=!0}return s?c:o}function On(t,o){return t.find(n=>n.columnId===o)}function Ja(t,o){return t[o]}function b2(t){return t.reduce((o,n)=>o+n.width+n.padding,0)}function y2(t,o){const n=On(t,o);var s;return(s=n?.width)!==null&&s!==void 0?s:0}function An(t,o,n,s){const l=On(t,o);if(!l||l?.[n]===s)return t;const c={...l,[n]:s};return t.reduce((p,f)=>f.columnId===c.columnId?[...p,c]:[...p,f],[])}function gs(t,o){let n=t;const s=b2(n);if(s<o){let l=o-s,c=0;for(;c<n.length&&l>0;){const u=Ja(n,c);if(!u)break;const p=Math.min(u.idealWidth-u.width,l);if(n=An(n,u.columnId,"width",u.width+p),l-=p,c===n.length-1&&l!==0){const f=Ja(n,c);f&&(n=An(n,f.columnId,"width",f.width+l))}c++}}else if(s>=o){let l=s-o,c=n.length-1;for(;c>=0&&l>0;){const u=Ja(n,c);if(!u){c--;continue}if(u.width>u.minWidth){const p=Math.min(u.width-u.minWidth,l);l-=p,n=An(n,u.columnId,"width",u.width-p)}c--}}return n}const w2=t=>(o,n)=>{switch(n.type){case"CONTAINER_WIDTH_UPDATED":return{...o,containerWidth:n.containerWidth,columnWidthState:t?gs(o.columnWidthState,n.containerWidth):o.columnWidthState};case"COLUMNS_UPDATED":const s=Ya(n.columns,o.columnWidthState,o.columnSizingOptions);return{...o,columns:n.columns,columnWidthState:t?gs(s,o.containerWidth):s};case"COLUMN_SIZING_OPTIONS_UPDATED":const l=Ya(o.columns,o.columnWidthState,n.columnSizingOptions);return{...o,columnSizingOptions:n.columnSizingOptions,columnWidthState:t?gs(l,o.containerWidth):l};case"SET_COLUMN_WIDTH":const{columnId:c,width:u}=n,{containerWidth:p}=o,f=On(o.columnWidthState,c);let m=[...o.columnWidthState];return f?(m=An(m,c,"width",u),m=An(m,c,"idealWidth",u),t&&(m=gs(m,p)),{...o,columnWidthState:m}):o}};function k2(t,o,n={}){const{onColumnResize:s,columnSizingOptions:l,autoFitColumns:c=!0}=n,u=S.useMemo(()=>w2(c),[c]),[p,f]=S.useReducer(u,{columns:t,containerWidth:0,columnWidthState:Ya(t,void 0,l),columnSizingOptions:l});Wt(()=>{f({type:"CONTAINER_WIDTH_UPDATED",containerWidth:o})},[o]),Wt(()=>{f({type:"COLUMNS_UPDATED",columns:t})},[t]),Wt(()=>{f({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:l})},[l]);const m=ke((g,v)=>{let{width:k}=v;const{columnId:y}=v,x=On(p.columnWidthState,y);x&&(k=Math.max(x.minWidth||0,k),s&&s(g,{columnId:y,width:k}),f({type:"SET_COLUMN_WIDTH",columnId:y,width:k}))});return{getColumnById:S.useCallback(g=>On(p.columnWidthState,g),[p.columnWidthState]),getColumns:S.useCallback(()=>p.columnWidthState,[p.columnWidthState]),getColumnWidth:S.useCallback(g=>y2(p.columnWidthState,g),[p.columnWidthState]),setColumnWidth:m}}const vs=20,x2=bk,Gh=1/4;function S2(t){const[o,n]=S.useState(),s=S.useRef(void 0),{findPrevFocusable:l}=Sa(),c=S.useRef(t);S.useEffect(()=>{c.current=t},[t]);const[u]=S.useState(()=>new Map),p=ke(y=>{if(!o)return;const x=c.current.getColumnWidth(o),b=y.getModifierState(x2),_=()=>{y.preventDefault(),y.stopPropagation()};switch(y.key){case Fp:_(),c.current.setColumnWidth(y.nativeEvent,{columnId:o,width:x-(b?vs*Gh:vs)});return;case Ip:_(),c.current.setColumnWidth(y.nativeEvent,{columnId:o,width:x+(b?vs*Gh:vs)});return;case gr:case qo:case Op:var B,E;_(),(E=u.get(o))===null||E===void 0||(B=E.current)===null||B===void 0||B.blur();break}}),f=S.useCallback(y=>{var x,b;n(y),(x=s.current)===null||x===void 0||x.call(s,y,!0);const _=(b=u.get(y))===null||b===void 0?void 0:b.current;_&&(_.setAttribute("tabindex","-1"),_.tabIndex=-1,_.focus())},[u]),m=S.useCallback(()=>{var y,x;if(!o)return;(y=s.current)===null||y===void 0||y.call(s,o,!1);const b=(x=u.get(o))===null||x===void 0?void 0:x.current;if(b){var _;(_=l(b))===null||_===void 0||_.focus(),b.removeAttribute("tabindex")}n(void 0)},[o,l,u]),g=(y,x)=>{s.current=x,o?y&&o!==y?(f(y),n(y)):m():f(y)},v=S.useCallback(y=>{const x=u.get(y)||S.createRef();return u.set(y,x),x},[u]),k=wa({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:g,columnId:o,getKeyboardResizingProps:S.useCallback((y,x)=>({onKeyDown:p,onBlur:m,ref:v(y),role:"separator","aria-label":"Resize column","aria-valuetext":`${x} pixels`,"aria-hidden":y!==o,tabIndex:y===o?0:void 0,...k}),[o,m,v,p,k])}}const Kh={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function _2(t){"use no memo";return o=>C2(o,{autoFitColumns:!0,...t})}function Xh(t,o){const n=t.width;return{width:n,minWidth:n,maxWidth:n,...o?{pointerEvents:"none"}:{}}}function C2(t,o={}){const{columns:n}=t,{width:s,measureElementRef:l}=p2(),c=k2(n,s+(o?.containerWidthOffset||0),o),u=m2(c),{toggleInteractiveMode:p,getKeyboardResizingProps:f}=S2(c),{autoFitColumns:m}=o,g=S.useCallback((_,B)=>E=>{E.preventDefault(),E.nativeEvent.stopPropagation(),p(_,B)},[p]),{getColumnById:v,setColumnWidth:k,getColumns:y}=c,{getOnMouseDown:x,dragging:b}=u;return{...t,tableRef:l,columnSizing_unstable:{getOnMouseDown:x,setColumnWidth:(_,B)=>k(void 0,{columnId:_,width:B}),getColumnWidths:y,getTableProps:(_={})=>({..._,style:{minWidth:"fit-content",..._.style||{}}}),getTableHeaderCellProps:S.useCallback(_=>{var B;const E=v(_),T=((B=n[n.length-1])===null||B===void 0?void 0:B.columnId)===_&&m?null:S.createElement(Uh,{onMouseDown:x(_),onTouchStart:x(_),...f(_,E?.width||0)});return E?{style:Xh(E,b),aside:T}:{}},[v,n,b,f,x,m]),getTableCellProps:S.useCallback(_=>{const B=v(_);return B?{style:Xh(B)}:{}},[v]),enableKeyboardMode:g}}}const B2=t=>t,N2={selection:$h,sort:Vh,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:Kh,tableRef:S.createRef()};function T2(t,o=[]){const{items:n,getRowId:s,columns:l}=t,c=S.useCallback((p=B2)=>n.map((f,m)=>{var g;return p({item:f,rowId:(g=s?.(f))!==null&&g!==void 0?g:m})}),[n,s]),u={getRowId:s,items:n,columns:l,getRows:c,selection:$h,sort:Vh,columnSizing_unstable:Kh,tableRef:S.createRef()};return o.reduce((p,f)=>f(p),u)}const E2=()=>0,z2=()=>null,P2=()=>null;function Xr(t){const{columnId:o,renderCell:n=z2,renderHeaderCell:s=P2,compare:l=E2}=t;return{columnId:o,renderCell:n,renderHeaderCell:s,compare:l}}function R2(){const t=ka({axis:"horizontal"}),o=ka({axis:"grid"}),n=xa({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:s}=Sa(),{targetDocument:l}=at(),c=hw(t,n);return{onTableKeyDown:S.useCallback(p=>{if(!l)return;let f=l.activeElement;if(!f||!p.currentTarget.contains(f))return;const m=f.getAttribute("role");if(p.key===Ip&&m==="row"&&Nr(f)){var g;(g=s(f))===null||g===void 0||g.focus()}if(m==="row")return;const v=(()=>{let k=Nr(f)?f:null;for(;k;){const y=k.getAttribute("role");if(y==="cell"||y==="gridcell")return!0;k=k.parentElement}return!1})();if(p.key===Fp&&v){f.dispatchEvent(new jf({action:Ki.Escape}));return}(p.key===za||p.key===Zi)&&v&&(f.dispatchEvent(new jf({action:Ki.Escape})),f=l.activeElement,f&&f.dispatchEvent(new by({key:$e[p.key]})))},[l,s]),tableTabsterAttribute:o,tableRowTabsterAttribute:c}}const Qh=S.createContext(void 0),F2={size:"medium",noNativeElements:!1,sortable:!1},I2=Qh.Provider,Qr=()=>{var t;return(t=S.useContext(Qh))!==null&&t!==void 0?t:F2},Yh=(t,o)=>{const{noNativeElements:n,size:s}=Qr();var l;const c=((l=t.as)!==null&&l!==void 0?l:n)?"div":"td";return{components:{root:c},root:Re(_t(c,{ref:o,role:c==="div"?"cell":void 0,...t}),{elementType:c}),noNativeElements:n,size:s}},D2=t=>ue(t.root,{}),j2={root:"fui-TableCell"},O2=ce({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;}"]}),A2=ce({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;}"]}),M2=ce({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}]]}),L2=t=>{"use no memo";const o=M2(),n={table:O2(),flex:A2()};return t.root.className=re(j2.root,o.root,t.noNativeElements?n.flex.root:n.table.root,t.noNativeElements?n.flex[t.size]:n.table[t.size],t.root.className),t},Jh=S.createContext(void 0),H2="",q2=Jh.Provider,Za=()=>S.useContext(Jh)===H2,W2=(t,o)=>{const{noNativeElements:n,size:s}=Qr();var l;const c=((l=t.as)!==null&&l!==void 0?l:n)?"div":"tr",u=_a(),p=Pn(),f=Za();var m;return{components:{root:c},root:Re(_t(c,{ref:pt(o,u,p),role:c==="div"?"row":void 0,...t}),{elementType:c}),size:s,noNativeElements:n,appearance:(m=t.appearance)!==null&&m!==void 0?m:"none",isHeaderRow:f}},ec={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},$2=ce({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),V2=ce({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;}"]}),U2=ce({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;}"]}),G2=t=>{"use no memo";const o=U2(),n={table:$2(),flex:V2()};return t.root.className=re(ec.root,o.root,t.noNativeElements?n.flex.root:n.table.root,t.subtle&&t.checked===!1&&o.subtle,t.hidden&&o.hidden,t.root.className),t.checkboxIndicator&&(t.checkboxIndicator.className=re(ec.checkboxIndicator,t.checkboxIndicator.className)),t.radioIndicator&&(t.radioIndicator.className=re(ec.radioIndicator,o.radioIndicator,t.radioIndicator.className)),t},K2={root:"fui-TableRow"},X2=ce({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),Q2=ce({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),Y2=ce({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",Jwef8y:"f1uqaxdt",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;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],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)"}]]}),J2=t=>{"use no memo";const o=Y2(),n={table:X2(),flex:Q2()};return t.root.className=re(K2.root,o.root,!t.isHeaderRow&&o.rootInteractive,o[t.size],t.noNativeElements?n.flex.root:n.table.root,o[t.appearance],t.root.className),t},Z2=(t,o)=>{const{noNativeElements:n}=Qr();var s;const l=((s=t.as)!==null&&s!==void 0?s:n)?"div":"tbody";return{components:{root:l},root:Re(_t(l,{ref:o,role:l==="div"?"rowgroup":void 0,...t}),{elementType:l}),noNativeElements:n}},eC=ce({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),tC=ce({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),rC="fui-TableBody",oC=t=>{"use no memo";const o={table:eC(),flex:tC()};return t.root.className=re(rC,t.noNativeElements?o.flex.root:o.table.root,t.root.className),t},nC=(t,o)=>{var n;const s=((n=t.as)!==null&&n!==void 0?n:t.noNativeElements)?"div":"table";var l,c,u;return{components:{root:s},root:Re(_t(s,{ref:o,role:s==="div"?"table":void 0,...t}),{elementType:s}),size:(l=t.size)!==null&&l!==void 0?l:"medium",noNativeElements:(c=t.noNativeElements)!==null&&c!==void 0?c:!1,sortable:(u=t.sortable)!==null&&u!==void 0?u:!1}},iC=(t,o)=>ue(I2,{value:o.table,children:ue(t.root,{})}),sC="fui-Table",lC=ce({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),aC=ce({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),cC=ce({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),uC=t=>{"use no memo";const o=cC(),n={table:lC(),flex:aC()};return t.root.className=re(sC,o.root,t.noNativeElements?n.flex.root:n.table.root,t.root.className),t};function dC(t){const{size:o,noNativeElements:n,sortable:s}=t;return{table:S.useMemo(()=>({noNativeElements:n,size:o,sortable:s}),[n,o,s])}}const fC=(t,o)=>{const{noNativeElements:n}=Qr();var s;const l=((s=t.as)!==null&&s!==void 0?s:n)?"div":"thead";return{components:{root:l},root:Re(_t(l,{ref:o,role:l==="div"?"rowgroup":void 0,...t}),{elementType:l}),noNativeElements:n}},pC=t=>ue(q2,{value:"",children:ue(t.root,{})}),hC="fui-TableHeader",mC=ce({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),gC=ce({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),vC=t=>{"use no memo";const o={table:gC(),flex:mC()};return t.root.className=re(hC,t.noNativeElements?o.flex.root:o.table.root,t.root.className),t},bC={ascending:S.createElement(Pk,{fontSize:12}),descending:S.createElement(zk,{fontSize:12})},yC=(t,o)=>{const{noNativeElements:n,sortable:s}=Qr(),{sortable:l=s}=t;var c;const u=((c=t.as)!==null&&c!==void 0?c:n)?"div":"th",p=Re(t.button,{elementType:"div",defaultProps:{as:"div"}}),f=Ap(p.as,p);var m;return{components:{root:u,button:"div",sortIcon:"span",aside:"span"},root:Re(_t(u,{ref:pt(o,Pn()),role:u==="div"?"columnheader":void 0,"aria-sort":l?(m=t.sortDirection)!==null&&m!==void 0?m:"none":void 0,...t}),{elementType:u}),aside:Ge(t.aside,{elementType:"span"}),sortIcon:Ge(t.sortIcon,{renderByDefault:!!t.sortDirection,defaultProps:{children:t.sortDirection?bC[t.sortDirection]:void 0},elementType:"span"}),button:l?f:p,sortable:l,noNativeElements:n}},wC=t=>yt(t.root,{children:[yt(t.button,{children:[t.root.children,t.sortIcon&&ue(t.sortIcon,{})]}),t.aside&&ue(t.aside,{})]}),bs={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},kC=ce({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),xC=ce({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;}"]}),SC=ce({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);}"]}),_C=t=>{"use no memo";const o=SC(),n={table:kC(),flex:xC()};return t.root.className=re(bs.root,o.root,t.sortable&&o.rootInteractive,t.noNativeElements?n.flex.root:n.table.root,t.root.className),t.button.className=re(bs.button,o.resetButton,o.button,t.sortable&&o.sortable,t.button.className),t.sortIcon&&(t.sortIcon.className=re(bs.sortIcon,o.sortIcon,t.sortIcon.className)),t.aside&&(t.aside.className=re(bs.aside,o.resizeHandle,t.aside.className)),t},Zh=S.createContext(void 0),CC="",em=()=>{var t;return(t=S.useContext(Zh))!==null&&t!==void 0?t:CC},BC=Zh.Provider,tm=S.createContext(void 0),NC="",rm=()=>{var t;return(t=S.useContext(tm))!==null&&t!==void 0?t:NC},TC=tm.Provider,EC=(t,o)=>{const n=Yh(t,pt(o,Pn())),{noNativeElements:s}=Qr(),{type:l="checkbox",checked:c=!1,subtle:u=!1,hidden:p=!1,invisible:f=!1}=t;return{...n,components:{...n.components,checkboxIndicator:Va,radioIndicator:Ka},checkboxIndicator:Ge(t.checkboxIndicator,{renderByDefault:l==="checkbox",defaultProps:{checked:t.checked},elementType:Va}),radioIndicator:Ge(t.radioIndicator,{renderByDefault:l==="radio",defaultProps:{checked:!!c,input:{name:Br("table-selection-radio")}},elementType:Ka}),type:l,checked:c,noNativeElements:s,subtle:u,hidden:f||p}},zC=t=>yt(t.root,{children:[t.type==="checkbox"&&t.checkboxIndicator&&ue(t.checkboxIndicator,{}),t.type==="radio"&&t.radioIndicator&&ue(t.radioIndicator,{})]}),om=Ea(void 0),nm={...N2,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},PC=om.Provider,He=t=>Pp(om,(o=nm)=>t(o)),RC=(t,o)=>{const{focusMode:n="cell"}=t,s=em(),l=He(f=>(f.focusMode==="cell"||f.focusMode==="composite")&&n!=="none"),c=He(f=>f.resizableColumns),u=He(f=>f.columnSizing_unstable.getTableCellProps),p=xa({tabBehavior:"limited-trap-focus"});return Yh({as:"div",role:"gridcell",...n==="group"&&p,tabIndex:l?0:void 0,...c?u(s):{},...t},o)},FC=t=>D2(t),IC={root:"fui-DataGridCell"},DC=t=>{"use no memo";return L2(t),t.root.className=re(IC.root,t.root.className),t},im=S.forwardRef((t,o)=>{const n=RC(t,o);return DC(n),nt("useDataGridCellStyles_unstable")(n),FC(n)});im.displayName="DataGridCell";const jC=(t,o)=>{const n=Za(),s=rm(),l=He(m=>m.subtleSelection),c=He(m=>n&&m.selection.selectionMode==="multiselect"?m.selection.allRowsSelected?!0:m.selection.someRowsSelected?"mixed":!1:m.selection.isRowSelected(s)),u=He(m=>m.selection.toggleAllRows),p=He(m=>m.selection.selectionMode==="multiselect"?"checkbox":"radio"),f=ke(m=>{var g;n&&u(m),(g=t.onClick)===null||g===void 0||g.call(t,m)});return EC({as:"div",role:"gridcell",checked:c,type:p,invisible:n&&p==="radio","aria-selected":c==="mixed"?void 0:c,subtle:l,radioIndicator:n?null:void 0,...t,onClick:f},o)},OC=t=>zC(t),tc={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},AC=t=>{"use no memo";return G2(t),t.root.className=re(tc.root,t.root.className),t.checkboxIndicator&&(t.checkboxIndicator.className=re(tc.checkboxIndicator,t.checkboxIndicator.className)),t.radioIndicator&&(t.radioIndicator.className=re(tc.radioIndicator,t.radioIndicator.className)),t},rc=S.forwardRef((t,o)=>{const n=jC(t,o);return AC(n),nt("useDataGridSelectionCellStyles_unstable")(n),OC(n)});rc.displayName="DataGridSelectionCell";const MC=(t,o)=>{const n=rm(),s=Za(),l=He(b=>b.columns),c=He(b=>b.selectableRows),u=He(b=>b.selection.isRowSelected(n)),p=He(b=>b.focusMode),f=He(b=>b.compositeRowTabsterAttribute),m=p==="row_unstable"||p==="composite",g=He(b=>!s&&c&&b.selection.isRowSelected(n)?b.selectionAppearance:"none"),v=He(b=>b.selection.toggleRow),k=ke(b=>{var _;c&&!s&&v(b,n),(_=t.onClick)===null||_===void 0||_.call(t,b)}),y=ke(b=>{var _;c&&!s&&b.key===gr&&!Mb(b.target)&&(b.preventDefault(),v(b,n)),(_=t.onKeyDown)===null||_===void 0||_.call(t,b)}),x=W2({appearance:g,"aria-selected":c?u:void 0,tabIndex:m&&!s?0:void 0,...p==="composite"&&!s&&f,...t,onClick:k,onKeyDown:y,children:null,as:"div"},o);return{...x,components:{...x.components,selectionCell:rc},selectionCell:Ge(t.selectionCell,{renderByDefault:c,elementType:rc}),renderCell:t.children,columnDefs:l,dataGridContextValue:LC()}};function LC(){const t=S.useRef(nm);return He(o=>(t.current=o,null)),t.current}const HC=t=>yt(t.root,{children:[t.selectionCell&&ue(t.selectionCell,{}),t.columnDefs.map(o=>ue(BC,{value:o.columnId,children:t.renderCell(o,t.dataGridContextValue)},o.columnId))]}),sm={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},qC=ce({subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),WC=t=>{"use no memo";const o=He(s=>s.subtleSelection),n=qC();return J2(t),t.root.className=re(sm.root,t.root.className,o&&n.subtleSelection),t.selectionCell&&(t.selectionCell.className=re(sm.selectionCell,t.selectionCell.className)),t},oc=S.forwardRef((t,o)=>{const n=MC(t,o);return WC(n),nt("useDataGridRowStyles_unstable")(n),HC(n)});oc.displayName="DataGridRow";const $C=(t,o)=>{const{sortable:n}=Qr(),s=He(p=>p.getRows),l=He(p=>p.sort.sort),c=n?l(s()):s();return{...Z2({...t,children:null,as:"div"},o),rows:c,renderRow:t.children}},VC=t=>ue(t.root,{children:t.rows.map(o=>ue(TC,{value:o.rowId,children:t.renderRow(o)},o.rowId))}),UC={root:"fui-DataGridBody"},GC=t=>{"use no memo";return oC(t),t.root.className=re(UC.root,t.root.className),t},lm=S.forwardRef((t,o)=>{const n=$C(t,o);return GC(n),nt("useDataGridBodyStyles_unstable")(n),VC(n)});lm.displayName="DataGridBody";const KC=(t,o)=>{const{items:n,columns:s,focusMode:l="cell",selectionMode:c,onSortChange:u,onSelectionChange:p,defaultSortState:f,sortState:m,selectedItems:g,defaultSelectedItems:v,subtleSelection:k=!1,selectionAppearance:y="brand",getRowId:x,resizableColumns:b,columnSizingOptions:_,onColumnResize:B,containerWidthOffset:E,resizableColumnsOptions:N={}}=t,T=E??(c?-44:0),R=ka({axis:"grid"}),{onTableKeyDown:D,tableTabsterAttribute:A,tableRowTabsterAttribute:H}=R2();var Q;const Z=T2({items:n,columns:s,getRowId:x},[s2({defaultSortState:f,sortState:m,onSortChange:u}),n2({defaultSelectedItems:v,selectedItems:g,onSelectionChange:p,selectionMode:c??"multiselect"}),_2({onColumnResize:B,columnSizingOptions:_,containerWidthOffset:T,autoFitColumns:(Q=N.autoFitColumns)!==null&&Q!==void 0?Q:!0})]),ve=S.useRef(null),{findFirstFocusable:he,findLastFocusable:q}=Sa(),te=ke(be=>{var pe;if((pe=t.onKeyDown)===null||pe===void 0||pe.call(t,be),l==="composite"&&D(be),!(!ve.current||!be.ctrlKey||be.defaultPrevented)){if(be.key===jp){const Y=ve.current.querySelector('[role="row"]');if(Y){var U;(U=he(Y))===null||U===void 0||U.focus()}}if(be.key===Dp){const Y=ve.current.querySelectorAll('[role="row"]');if(Y.length){var ee;const F=Y.item(Y.length-1);(ee=q(F))===null||ee===void 0||ee.focus()}}}});return{...nC({role:"grid",as:"div",noNativeElements:!0,...l==="cell"&&R,...l==="composite"&&A,...t,onKeyDown:te,...b?Z.columnSizing_unstable.getTableProps(t):{}},pt(o,Z.tableRef,ve)),focusMode:l,tableState:Z,selectableRows:!!c,subtleSelection:k,selectionAppearance:y,resizableColumns:b,compositeRowTabsterAttribute:H}},XC=(t,o)=>S.createElement(PC,{value:o.dataGrid},iC(t,o)),QC={root:"fui-DataGrid"},YC=t=>{"use no memo";return uC(t),t.root.className=re(QC.root,t.root.className),t};function JC(t){const o=dC(t),{tableState:n,focusMode:s,selectableRows:l,subtleSelection:c,selectionAppearance:u,resizableColumns:p,compositeRowTabsterAttribute:f}=t;return{...o,dataGrid:{...n,focusMode:s,selectableRows:l,subtleSelection:c,selectionAppearance:u,resizableColumns:p,compositeRowTabsterAttribute:f}}}const am=S.forwardRef((t,o)=>{const n=KC(t,o);return YC(n),nt("useDataGridStyles_unstable")(n),XC(n,JC(n))});am.displayName="DataGrid";const ZC=(t,o)=>fC({...t,as:"div"},o),e5=t=>pC(t),t5={root:"fui-DataGridHeader"},r5=t=>{"use no memo";return vC(t),t.root.className=re(t5.root,t.root.className),t},cm=S.forwardRef((t,o)=>{const n=ZC(t,o);return r5(n),nt("useDataGridHeaderStyles_unstable")(n),e5(n)});cm.displayName="DataGridHeader";function o5(t){return t.compare.length>0}const n5=(t,o)=>{const n=em(),{sortable:s}=Qr(),l=He(k=>k.sort.toggleColumnSort),c=He(k=>{const y=!!k.columns.find(x=>x.columnId===n&&o5(x));return s?y:!1}),u=He(k=>c?k.sort.getSortDirection(n):void 0),p=He(k=>k.resizableColumns),f=He(k=>k.columnSizing_unstable.getTableHeaderCellProps),{focusMode:m=c?"none":"cell"}=t,g=xa({tabBehavior:"limited-trap-focus"}),v=ke(k=>{var y;c&&l(k,n),(y=t.onClick)===null||y===void 0||y.call(t,k)});return yC({sortable:c,sortDirection:u,as:"div",tabIndex:m!=="none"?0:void 0,...m==="group"&&g,...p?f(n):{},...t,onClick:v},o)},i5=t=>wC(t),ys={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},s5=t=>{"use no memo";return _C(t),t.root.className=re(ys.root,t.root.className),t.button&&(t.button.className=re(ys.button,t.button.className)),t.sortIcon&&(t.sortIcon.className=re(ys.sortIcon,t.sortIcon.className)),t.aside&&(t.aside.className=re(ys.aside,t.aside.className)),t},um=S.forwardRef((t,o)=>{const n=n5(t,o);return s5(n),nt("useDataGridHeaderCellStyles_unstable")(n),i5(n)});um.displayName="DataGridHeaderCell";const l5=(t,o)=>{const{size:n="medium",disabled:s=!1,root:l,contentBefore:c,dismiss:u,contentAfter:p,value:f,defaultValue:m,...g}=t,v=S.useRef(null),k=S.useRef(null),[y,x]=qr({state:f,defaultState:m,initialState:""}),[b,_]=S.useState(!1),B=S.useCallback(()=>{_(!0)},[_]),E=S.useCallback(A=>{var H;_(!!(!((H=v.current)===null||H===void 0)&&H.contains(A.relatedTarget)))},[_]),N=sf(l),T=ke(A=>{var H,Q;if(lf(u)){var Z;(Z=u.onClick)===null||Z===void 0||Z.call(u,A)}const ve="";x(ve),(H=t.onChange)===null||H===void 0||H.call(t,A,{value:ve}),(Q=k.current)===null||Q===void 0||Q.focus()}),R=__({type:"search",disabled:s,size:n,value:y,root:Re({...N,ref:pt(N?.ref,v),onFocus:Ct(N?.onFocus,B),onBlur:Ct(N?.onBlur,E)},{elementType:"span"}),contentBefore:Ge(c,{renderByDefault:!0,defaultProps:{children:S.createElement(Dk,null)},elementType:"span"}),contentAfter:Ge(p,{renderByDefault:!0,elementType:"span"}),...g,onChange:ke(A=>{var H;const Q=A.target.value;(H=t.onChange)===null||H===void 0||H.call(t,A,{value:Q}),x(Q)})},pt(k,o)),D={...R,components:{...R.components,dismiss:"span"},dismiss:Ge(u,{defaultProps:{children:S.createElement(Up,null),role:"button","aria-label":"clear",tabIndex:-1},renderByDefault:!0,elementType:"span"}),disabled:s,focused:b,size:n};return D.dismiss&&(D.dismiss.onClick=T),D},a5=t=>yt(t.root,{children:[t.contentBefore&&ue(t.contentBefore,{}),ue(t.input,{}),t.contentAfter&&yt(t.contentAfter,{children:[t.contentAfter.children,t.dismiss&&ue(t.dismiss,{})]})]}),Mn={root:"fui-SearchBox",dismiss:"fui-SearchBox__dismiss",contentAfter:"fui-SearchBox__contentAfter",contentBefore:"fui-SearchBox__contentBefore",input:"fui-SearchBox__input"},c5=ce({small:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"]},medium:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},large:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1ng84yb","f11gcy0p"],z189sj:["f11gcy0p","f1ng84yb"]},input:{uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fhxju0i","f1cnd47f"],Boqhc8c:"f18izjht",B8uat0v:"fcoa6sg"},unfocusedNoContentAfter:{z189sj:["fhxju0i","f1cnd47f"]}},{d:[".fjuset5{column-gap:0;}",".f1xzfw5u{max-width:468px;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".fhxju0i{padding-right:0;}",".f1cnd47f{padding-left:0;}",".f18izjht::-webkit-search-decoration{display:none;}",".fcoa6sg::-webkit-search-cancel-button{display:none;}"]}),u5=ce({small:{z189sj:["fdw0yi8","fk8j09s"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},large:{z189sj:["f11gcy0p","f1ng84yb"]}},{d:[".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}"]}),d5=ce({contentAfter:{uwmqm3:["f1uw59to","fw5db7e"],i8kkvl:"f1ufnopg"},rest:{Bqenvij:"fniina8",a9b677:"f3tsq5r",uwmqm3:["f1cnd47f","fhxju0i"],B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"}},{d:[".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}]]}),f5=ft("r1pvzcuu",null,[".r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}",".r1pvzcuu>svg{font-size:20px;}"]),p5=ce({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),h5=t=>{"use no memo";const{disabled:o,focused:n,size:s}=t,l=c5(),c=u5(),u=d5(),p=f5(),f=p5();return t.root.className=re(Mn.root,l[s],!n&&l.unfocusedNoContentAfter,t.root.className),t.input.className=re(Mn.input,l.input,!n&&c[s],t.input.className),t.dismiss&&(t.dismiss.className=re(Mn.dismiss,p,o&&f.disabled,f[s],t.dismiss.className)),t.contentBefore&&(t.contentBefore.className=re(Mn.contentBefore,t.contentBefore.className)),t.contentAfter?t.contentAfter.className=re(Mn.contentAfter,u.contentAfter,!n&&u.rest,t.contentAfter.className):t.dismiss&&(t.dismiss.className=re(t.dismiss.className,u.contentAfter)),P_(t),t},dm=S.forwardRef((t,o)=>{const n=l5(t,o);return h5(n),nt("useSearchBoxStyles_unstable")(n),a5(n)});dm.displayName="SearchBox";const m5=t=>{const o=Br("dropdown"),n=Br("search-input"),{pluginAssemblies:s}=t,l=(m,g)=>{t.onFilterChanged(g.optionValue??"")},c=(m,g)=>{t.onTextFilterChanged(g.value)},u=[...s].sort((m,g)=>m.name.localeCompare(g.name)),f=Hi({root:{display:"flex",gap:"20px",alignItems:"flex-end"},field:{display:"grid",justifyItems:"start",gap:"2px"},dropdown:{minWidth:"450px"},searchInput:{minWidth:"250px"},option:{whiteSpace:"nowrap"}})();return ae.jsxs("div",{className:f.root,children:[ae.jsxs("div",{className:f.field,children:[ae.jsx("label",{htmlFor:`${o}-plugin-assembly`,children:"Plugin Assembly"}),ae.jsx(Oh,{id:o,placeholder:"Select an plugin assembly",onOptionSelect:l,className:f.dropdown,children:u.map(m=>ae.jsx(jh,{value:m.pluginassemblyid,className:f.option,children:`${m.name} (${m.version})`},m.pluginassemblyid))})]}),ae.jsxs("div",{className:f.field,children:[ae.jsx("label",{htmlFor:n,children:"Filter Steps"}),ae.jsx(dm,{id:n,placeholder:"Search assembly steps...",onChange:c,className:f.searchInput})]})]})},g5=Hi({scrollWrapper:{height:"100%",overflow:"auto",position:"relative"},gridContainer:{minWidth:"max-content"},stickyHeader:{position:"sticky",top:0,zIndex:10,backgroundColor:hr.colorNeutralBackground1},cellStyles:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"}}),v5=t=>{const o=g5(),[n,s]=Fl.useState({sortColumn:"name",sortDirection:"ascending"}),l=[Xr({columnId:"name",compare:(f,m)=>f.name.localeCompare(m.name),renderHeaderCell:()=>"Name",renderCell:f=>ae.jsx("span",{title:f.name,className:o.cellStyles,children:f.name})}),Xr({columnId:"eventHandler",compare:(f,m)=>f.eventHandler.localeCompare(m.eventHandler),renderHeaderCell:()=>"EventHandler",renderCell:f=>ae.jsx("span",{title:f.eventHandler,className:o.cellStyles,children:f.eventHandler})}),Xr({columnId:"sdkMessage",compare:(f,m)=>f.sdkMessage.localeCompare(m.sdkMessage),renderHeaderCell:()=>"SDK Message",renderCell:f=>ae.jsx("span",{title:f.sdkMessage,className:o.cellStyles,children:f.sdkMessage})}),Xr({columnId:"primaryobjecttypecode",compare:(f,m)=>f.primaryobjecttypecode.localeCompare(m.primaryobjecttypecode),renderHeaderCell:()=>"Object Type Code",renderCell:f=>ae.jsx("span",{title:f.primaryobjecttypecode,className:o.cellStyles,children:f.primaryobjecttypecodeDisplayname?`${f.primaryobjecttypecodeDisplayname} (${f.primaryobjecttypecode})`:"-"})}),Xr({columnId:"mode",compare:(f,m)=>f.mode.localeCompare(m.mode),renderHeaderCell:()=>"Mode",renderCell:f=>ae.jsx("span",{title:f.mode,className:o.cellStyles,children:f.mode})}),Xr({columnId:"stage",compare:(f,m)=>f.stage.localeCompare(m.stage),renderHeaderCell:()=>"Stage",renderCell:f=>ae.jsx("span",{title:f.stage,className:o.cellStyles,children:f.stage})}),Xr({columnId:"rank",compare:(f,m)=>f.rank-m.rank,renderHeaderCell:()=>"Execution Order",renderCell:f=>ae.jsx("span",{title:f.rank.toString(),className:o.cellStyles,children:f.rank})}),Xr({columnId:"filteringattributes",compare:(f,m)=>f.filteringattributes.localeCompare(m.name),renderHeaderCell:()=>"Filtering attributes",renderCell:f=>ae.jsx("span",{title:f.filteringattributes,className:o.cellStyles,children:f.filteringattributes})})],c=(f,m)=>{s(m)};if(t.items.length===0)return ae.jsx("p",{children:"No assembly steps found."});const u=[...t.items].sort((f,m)=>f.name.localeCompare(m.name)),p={name:{idealWidth:400,minWidth:150},eventHandler:{idealWidth:350,minWidth:150},sdkMessage:{idealWidth:150,minWidth:100},primaryobjecttypecode:{idealWidth:350,minWidth:250},mode:{idealWidth:120,minWidth:80},stage:{idealWidth:200,minWidth:150},rank:{idealWidth:150,minWidth:100},filteringattributes:{idealWidth:300,minWidth:150}};return ae.jsx("div",{className:o.scrollWrapper,children:ae.jsx("div",{className:o.gridContainer,children:ae.jsxs(am,{items:u,columns:l,sortable:!0,sortState:n,onSortChange:c,getRowId:f=>f.id,resizableColumns:!0,columnSizingOptions:p,children:[ae.jsx(cm,{className:o.stickyHeader,children:ae.jsx(oc,{children:({renderHeaderCell:f})=>ae.jsx(um,{children:f()})})}),ae.jsx(lm,{children:({item:f,rowId:m})=>ae.jsx(oc,{children:({renderCell:g})=>ae.jsx(im,{children:g(f)})},m)})]})})})},b5=async(t,o,n)=>{if(!t||t.length===0){et.warning("No plugin assembly steps to export");return}try{const s=fm(t),l=`${o?.name||"plugin"}_assembly_steps.csv`;await window.toolboxAPI.utils.saveFile(l,s),et.success(`Exported ${t.length} plugin assembly steps`),n&&await n("Export Successful",`Exported ${t.length} plugin assembly steps to ${l}`,"success")}catch(s){et.error(`Error exporting data: ${s.message}`),n&&await n("Export Failed",`Error exporting data: ${s.message}`,"error")}},y5=async(t,o)=>{if(!t||t.length===0){et.warning("No plugin assembly steps to copy");return}try{const n=fm(t);await window.toolboxAPI.utils.copyToClipboard(n),et.success(`Copied ${t.length} plugin assembly steps to clipboard (CSV)`),o&&await o("Copy Successful",`Copied ${t.length} plugin assembly steps to clipboard as CSV`,"success")}catch(n){et.error(`Error copying to clipboard: ${n.message}`),o&&await o("Copy Failed",`Error copying to clipboard: ${n.message}`,"error")}},w5=async(t,o)=>{if(!t||t.length===0){et.warning("No plugin assembly steps to copy");return}try{const n=k5(t);await window.toolboxAPI.utils.copyToClipboard(n),et.success(`Copied ${t.length} plugin assembly steps to clipboard (Markdown)`),o&&await o("Copy Successful",`Copied ${t.length} plugin assembly steps to clipboard as Markdown`,"success")}catch(n){et.error(`Error copying to clipboard: ${n.message}`),o&&await o("Copy Failed",`Error copying to clipboard: ${n.message}`,"error")}};function fm(t){const n=[["Name","Event Handler","SDK Message","Object Type Code","Mode","Stage","Rank","Filtering Attributes"].join(",")];return t.forEach(s=>{const l=[`"${s.name.replace(/"/g,'""')}"`,`"${s.eventHandler.replace(/"/g,'""')}"`,`"${s.sdkMessage.replace(/"/g,'""')}"`,`"${s.primaryobjecttypecode.replace(/"/g,'""')}"`,`"${s.mode.replace(/"/g,'""')}"`,`"${s.stage.replace(/"/g,'""')}"`,`"${s.rank}"`,`"${s.filteringattributes.replace(/"/g,'""')}"`];n.push(l.join(","))}),n.join(`
10
+ `)}function k5(t){const o=["Name","Event Handler","SDK Message","Object Type Code","Mode","Stage","Rank","Filtering Attributes"];let n=`| ${o.join(" | ")} |
11
+ `;return n+=`| ${o.map(()=>"---").join(" | ")} |
12
+ `,t.forEach(s=>{const l=[s.name.replace(/\|/g,"\\|"),s.eventHandler.replace(/\|/g,"\\|"),s.sdkMessage.replace(/\|/g,"\\|"),s.primaryobjecttypecode.replace(/\|/g,"\\|"),s.mode.replace(/\|/g,"\\|"),s.stage.replace(/\|/g,"\\|"),s.rank.toString(),s.filteringattributes.replace(/\|/g,"\\|")];n+=`| ${l.join(" | ")} |
13
+ `}),n}const x5=({connection:t})=>{const[o,n]=S.useState([]),[s,l]=S.useState([]),[c,u]=S.useState(void 0),[p,f]=S.useState(""),[m,g]=S.useState(!1),[v,k]=S.useState(!1),x=Hi({overviewRoot:{height:"100%",display:"flex",flexDirection:"column",gap:"16px",overflow:"hidden"},filterSection:{flexShrink:0},filterContainer:{display:"flex",alignItems:"flex-end",justifyContent:"space-between",gap:"12px"},buttonGroup:{display:"flex",gap:"8px"},loadingContainer:{display:"flex",justifyContent:"center",alignItems:"center",padding:"40px"},stepsSection:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden",minHeight:0}})();S.useEffect(()=>{(async()=>{t&&B()})()},[t]),S.useEffect(()=>{_()},[c]);const b=S.useCallback(async(D,A,H)=>{try{await window.toolboxAPI.utils.showNotification({title:D,body:A,type:H,duration:3e3})}catch(Q){console.error("Error showing notification:",Q)}},[]),_=S.useCallback(async()=>{try{if(!c){l([]),g(!1);return}g(!0);const D=await w0(c.pluginassemblyid);l(D),et.info(`Fetched ${D.length} sdk-steps`)}catch(D){et.error(`Error querying sdk-steps: ${D.message}`)}finally{g(!1)}},[t,b,c]),B=S.useCallback(async()=>{try{k(!0);const D=await y0();n(D),et.info(`Fetched ${D.length} plugins`)}catch(D){et.error(`Error querying sdk-steps: ${D.message}`)}finally{k(!1)}},[t,b]),E=S.useCallback(async()=>{await b5(s,c,b)},[s,c,b]),N=Fl.useMemo(()=>{if(!p)return s;const D=p.toLowerCase();return s.filter(A=>A.name?.toLowerCase().includes(D)||A.sdkMessage?.toLowerCase().includes(D)||A.mode?.toLowerCase().includes(D)||A.stage?.toLowerCase().includes(D)||A.rank?.toString().includes(D)||A.eventHandler?.toLowerCase().includes(D)||A.filteringattributes?.toLowerCase().includes(D))},[s,p]),T=S.useCallback(async()=>{await y5(N,b)},[N,b]),R=S.useCallback(async()=>{await w5(N,b)},[N,b]);return ae.jsxs("div",{className:x.overviewRoot,children:[v?ae.jsx("div",{className:x.loadingContainer,children:ae.jsx(Xa,{label:"Loading plugin assemblies..."})}):ae.jsx("div",{className:x.filterSection,children:ae.jsxs("div",{className:x.filterContainer,children:[ae.jsx(m5,{pluginAssemblies:o,onFilterChanged:D=>{et.info(`Filter changed to: ${D}`);const A=o.find(H=>H.pluginassemblyid===D);u(A)},onTextFilterChanged:D=>{f(D)}}),ae.jsxs("div",{className:x.buttonGroup,children:[ae.jsx(cs,{appearance:"secondary",icon:ae.jsx(Ak,{}),onClick:T,disabled:!c||N.length===0,children:"Copy CSV"}),ae.jsx(cs,{appearance:"secondary",icon:ae.jsx(Mk,{}),onClick:R,disabled:!c||N.length===0,children:"Copy Markdown"}),ae.jsx(cs,{appearance:"primary",icon:ae.jsx(jk,{}),onClick:E,disabled:!c||s.length===0,children:"Export"})]})]})}),m?ae.jsx("div",{className:x.loadingContainer,children:ae.jsx(Xa,{label:"Loading plugin assembly steps..."})}):s.length>0&&ae.jsx("div",{className:x.stepsSection,children:ae.jsx(v5,{items:N})})]})};function S5(){const[t,o]=S.useState(null),[n,s]=S.useState(!0),l=S.useCallback(async()=>{try{const c=await window.toolboxAPI.connections.getActiveConnection();o(c)}catch(c){console.error("Error refreshing connection:",c)}finally{s(!1)}},[]);return S.useEffect(()=>{l()},[l]),{connection:t,isLoading:n,refreshConnection:l}}function _5(t){S.useEffect(()=>{const o=(n,s)=>{console.log(`Toolbox event received: ${s.event}`,s.data),t(s.event,s.data)};return window.toolboxAPI.events.on(o),()=>{}},[t])}const C5=""+new URL("plugin-documentation_small-0KTcZSnt.png",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href,B5=Hi({container:{backgroundColor:hr.colorNeutralBackground1,height:"100vh",display:"flex",flexDirection:"column",overflow:"hidden"},header:{padding:hr.spacingVerticalL,paddingBottom:hr.spacingVerticalS,borderBottom:`1px solid ${hr.colorNeutralStroke1}`,gap:hr.spacingVerticalXXS,flexShrink:0},headerTitle:{display:"flex",alignItems:"center",gap:hr.spacingHorizontalM},headerIcon:{height:"50px",objectFit:"contain"},subtitle:{color:hr.colorNeutralForeground3,fontSize:hr.fontSizeBase300},content:{padding:hr.spacingVerticalL,flex:1,overflow:"hidden",minHeight:0}});function N5(){const{connection:t,refreshConnection:o}=S5(),[n,s]=S.useState(Np),l=B5(),c=S.useCallback((p,f)=>{switch(console.log(`Received event: ${p}`),p){case"connection:updated":case"connection:created":o();break;case"connection:deleted":o();break;case"terminal:output":case"terminal:command:completed":case"terminal:error":break;case"settings:updated":u(),et.info("Settings updated");break}},[o]);async function u(){const p=await window.toolboxAPI.utils.getCurrentTheme();s(p==="dark"?Np:rk),et.info(`Theme updated:${p}`)}return _5(c),S.useEffect(()=>{(async()=>{await u(),et.info("Initialized")})()},[]),ae.jsx(Ep,{theme:n,children:ae.jsxs("div",{className:l.container,children:[ae.jsx("div",{className:l.header,children:ae.jsxs("div",{className:l.headerTitle,children:[ae.jsx("img",{src:C5,alt:"Plugin Documentation Generator Icon",className:l.headerIcon}),ae.jsx(o2,{children:"Plugin Documentation Generator"}),ae.jsx(Wh,{className:l.subtitle,children:"Your tool to generate plugin & pluginstep documentation"})]})}),ae.jsx("div",{className:l.content,children:ae.jsx(x5,{connection:t})})]})})}const Ln=document.getElementById("root");Ln&&!Ln.hasAttribute("data-reactroot-initialized")?(Ln.setAttribute("data-reactroot-initialized","true"),m0.createRoot(Ln).render(ae.jsx(S.StrictMode,{children:ae.jsx(N5,{})}))):Ln||console.error('Root element not found. Make sure the HTML contains <div id="root"></div>')})();