@cyco77/pptb-plugin-documentation-generator 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -0
- package/README.md +444 -0
- package/dist/assets/index-D_uwVyf8.js +13 -0
- package/dist/assets/plugin-documentation_small-0KTcZSnt.png +0 -0
- package/dist/index.html +14 -0
- package/index.html +12 -0
- package/npm-shrinkwrap.json +3544 -0
- package/package.json +52 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
(function(){"use strict";var Ju=document.createElement("style");Ju.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}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(Ju);function Zu(t,o){for(var n=0;n<o.length;n++){const l=o[n];if(typeof l!="string"&&!Array.isArray(l)){for(const s in l)if(s!=="default"&&!(s in t)){const c=Object.getOwnPropertyDescriptor(l,s);c&&Object.defineProperty(t,s,c.get?c:{enumerable:!0,get:()=>l[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}function ed(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Es={exports:{}},Sn={},Ps={exports:{}},we={};var td;function d0(){if(td)return we;td=1;var t=Symbol.for("react.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=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,le){this.props=F,this.context=M,this.refs=b,this.updater=le||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 z(F,M,le){this.props=F,this.context=M,this.refs=b,this.updater=le||y}var N=z.prototype=new B;N.constructor=z,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 q(F,M,le){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=le;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 ee(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function ve(F){var M={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(le){return M[le]})}var he=/\/+/g;function H(F,M){return typeof F=="object"&&F!==null&&F.key!=null?ve(""+F.key):M.toString(36)}function re(F,M,le,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===""?"."+H(Ie,0):me,T(Ce)?(le="",F!=null&&(le=F.replace(he,"$&/")+"/"),re(Ce,M,le,"",function(Ot){return Ot})):Ce!=null&&(ee(Ce)&&(Ce=Q(Ce,le+(!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+H(Be,Ee);Ie+=re(Be,M,le,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+H(Be,Ee++),Ie+=re(Be,M,le,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,le){if(F==null)return F;var me=[],Ce=0;return re(F,me,"","",function(Be){return M.call(le,Be,Ce++)}),me}function be(F){if(F._status===-1){var M=F._result;M=M(),M.then(function(le){(F._status===0||F._status===-1)&&(F._status=1,F._result=le)},function(le){(F._status===0||F._status===-1)&&(F._status=2,F._result=le)}),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},te={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,le){xe(F,function(){M.apply(this,arguments)},le)},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(!ee(F))throw Error("React.Children.only expected to receive a single React element child.");return F}},we.Component=_,we.Fragment=n,we.Profiler=s,we.PureComponent=z,we.StrictMode=l,we.Suspense=p,we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=te,we.act=Y,we.cloneElement=function(F,M,le){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=le;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=q,we.createFactory=function(F){var M=q.bind(null,F);return M.type=F,M},we.createRef=function(){return{current:null}},we.forwardRef=function(F){return{$$typeof:f,render:F}},we.isValidElement=ee,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,le){return pe.current.useImperativeHandle(F,M,le)},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,le){return pe.current.useReducer(F,M,le)},we.useRef=function(F){return pe.current.useRef(F)},we.useState=function(F){return pe.current.useState(F)},we.useSyncExternalStore=function(F,M,le){return pe.current.useSyncExternalStore(F,M,le)},we.useTransition=function(){return pe.current.useTransition()},we.version="18.3.1",we}var rd;function Rs(){return rd||(rd=1,Ps.exports=d0()),Ps.exports}var od;function f0(){if(od)return Sn;od=1;var t=Rs(),o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(f,p,m){var g,v={},k=null,y=null;m!==void 0&&(k=""+m),p.key!==void 0&&(k=""+p.key),p.ref!==void 0&&(y=p.ref);for(g in p)l.call(p,g)&&!c.hasOwnProperty(g)&&(v[g]=p[g]);if(f&&f.defaultProps)for(g in p=f.defaultProps,p)v[g]===void 0&&(v[g]=p[g]);return{$$typeof:o,type:f,key:k,ref:y,props:v,_owner:s.current}}return Sn.Fragment=n,Sn.jsx=u,Sn.jsxs=u,Sn}var nd;function p0(){return nd||(nd=1,Es.exports=f0()),Es.exports}var ue=p0();const h0=Zu({__proto__:null,default:ed(ue)},[ue]);var S=Rs();const Fs=ed(S),Ni=Zu({__proto__:null,default:Fs},[S]);var Ti={},Is={exports:{}},St={},Ds={exports:{}},js={};var id;function m0(){return id||(id=1,(function(t){function o(U,te){var Y=U.length;U.push(te);e:for(;0<Y;){var F=Y-1>>>1,M=U[F];if(0<s(M,te))U[F]=te,U[Y]=M,Y=F;else break e}}function n(U){return U.length===0?null:U[0]}function l(U){if(U.length===0)return null;var te=U[0],Y=U.pop();if(Y!==te){U[0]=Y;e:for(var F=0,M=U.length,le=M>>>1;F<le;){var me=2*(F+1)-1,Ce=U[me],Be=me+1,Ie=U[Be];if(0>s(Ce,Y))Be<M&&0>s(Ie,Ce)?(U[F]=Ie,U[Be]=Y,F=Be):(U[F]=Ce,U[me]=Y,F=me);else if(Be<M&&0>s(Ie,Y))U[F]=Ie,U[Be]=Y,F=Be;else break e}}return te}function s(U,te){var Y=U.sortIndex-te.sortIndex;return Y!==0?Y:U.id-te.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var u=Date,f=u.now();t.unstable_now=function(){return u.now()-f}}var p=[],m=[],g=1,v=null,k=3,y=!1,x=!1,b=!1,_=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,z=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 te=n(m);te!==null;){if(te.callback===null)l(m);else if(te.startTime<=U)l(m),te.sortIndex=te.expirationTime,o(p,te);else break;te=n(m)}}function T(U){if(b=!1,N(U),!x)if(n(p)!==null)x=!0,be(R);else{var te=n(m);te!==null&&pe(T,te.startTime-U)}}function R(U,te){x=!1,b&&(b=!1,B(q),q=-1),y=!0;var Y=k;try{for(N(te),v=n(p);v!==null&&(!(v.expirationTime>te)||U&&!ve());){var F=v.callback;if(typeof F=="function"){v.callback=null,k=v.priorityLevel;var M=F(v.expirationTime<=te);te=t.unstable_now(),typeof M=="function"?v.callback=M:v===n(p)&&l(p),N(te)}else l(p);v=n(p)}if(v!==null)var le=!0;else{var me=n(m);me!==null&&pe(T,me.startTime-te),le=!1}return le}finally{v=null,k=Y,y=!1}}var D=!1,A=null,q=-1,Q=5,ee=-1;function ve(){return!(t.unstable_now()-ee<Q)}function he(){if(A!==null){var U=t.unstable_now();ee=U;var te=!0;try{te=A(!0,U)}finally{te?H():(D=!1,A=null)}}else D=!1}var H;if(typeof z=="function")H=function(){z(he)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,xe=re.port2;re.port1.onmessage=he,H=function(){xe.postMessage(null)}}else H=function(){_(he,0)};function be(U){A=U,D||(D=!0,H())}function pe(U,te){q=_(function(){U(t.unstable_now())},te)}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(p)},t.unstable_next=function(U){switch(k){case 1:case 2:case 3:var te=3;break;default:te=k}var Y=k;k=te;try{return U()}finally{k=Y}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(U,te){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var Y=k;k=U;try{return te()}finally{k=Y}},t.unstable_scheduleCallback=function(U,te,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:te,priorityLevel:U,startTime:Y,expirationTime:M,sortIndex:-1},Y>F?(U.sortIndex=Y,o(m,U),n(p)===null&&U===n(m)&&(b?(B(q),q=-1):b=!0,pe(T,Y-F))):(U.sortIndex=M,o(p,U),x||y||(x=!0,be(R))),U},t.unstable_shouldYield=ve,t.unstable_wrapCallback=function(U){var te=k;return function(){var Y=k;k=te;try{return U.apply(this,arguments)}finally{k=Y}}}})(js)),js}var ld;function sd(){return ld||(ld=1,Ds.exports=m0()),Ds.exports}var ad;function g0(){if(ad)return St;ad=1;var t=Rs(),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 l=new Set,s={};function c(e,r){u(e,r),u(e+"Capture",r)}function u(e,r){for(s[e]=r,e=0;e<r.length;e++)l.add(r[e])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=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 p.call(v,e)?!0:p.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 z(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,z);_[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,z);_[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,z);_[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"),q=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),ee=Symbol.for("react.provider"),ve=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),be=Symbol.for("react.lazy"),pe=Symbol.for("react.offscreen"),U=Symbol.iterator;function te(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 le=!1;function me(e,r){if(!e||le)return"";le=!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 E=`
|
|
6
|
+
`+d[w].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),E}while(1<=w&&0<=C);break}}}finally{le=!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 q:return"StrictMode";case H:return"Suspense";case re:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ve:return(e.displayName||"Context")+".Consumer";case ee: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===q?"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 wl(e){e._valueTracker||(e._valueTracker=Ot(e))}function gm(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 kl(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 ic(e,r){var i=r.checked;return Y({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function vm(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 bm(e,r){r=r.checked,r!=null&&N(e,"checked",r,!1)}function lc(e,r){bm(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 ym(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"||kl(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Hn=Array.isArray;function Yo(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 ac(e,r){if(r.dangerouslySetInnerHTML!=null)throw Error(n(91));return Y({},r,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function wm(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 km(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 xm(e){var r=e.textContent;r===e._wrapperState.initialValue&&r!==""&&r!==null&&(e.value=r)}function Sm(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 cc(e,r){return e==null||e==="http://www.w3.org/1999/xhtml"?Sm(r):e==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var xl,_m=(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(xl=xl||document.createElement("div"),xl.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=xl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild)}});function Wn(e,r){if(r){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=r;return}}e.textContent=r}var $n={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},M5=["Webkit","ms","Moz","O"];Object.keys($n).forEach(function(e){M5.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),$n[r]=$n[e]})});function Cm(e,r,i){return r==null||typeof r=="boolean"||r===""?"":i||typeof r!="number"||r===0||$n.hasOwnProperty(e)&&$n[e]?(""+r).trim():r+"px"}function Bm(e,r){e=e.style;for(var i in r)if(r.hasOwnProperty(i)){var a=i.indexOf("--")===0,d=Cm(i,r[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,d):e[i]=d}}var L5=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 uc(e,r){if(r){if(L5[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 dc(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 fc=null;function pc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hc=null,Jo=null,Zo=null;function Nm(e){if(e=fi(e)){if(typeof hc!="function")throw Error(n(280));var r=e.stateNode;r&&(r=Vl(r),hc(e.stateNode,e.type,r))}}function Tm(e){Jo?Zo?Zo.push(e):Zo=[e]:Jo=e}function zm(){if(Jo){var e=Jo,r=Zo;if(Zo=Jo=null,Nm(e),r)for(e=0;e<r.length;e++)Nm(r[e])}}function Em(e,r){return e(r)}function Pm(){}var mc=!1;function Rm(e,r,i){if(mc)return e(r,i);mc=!0;try{return Em(e,r,i)}finally{mc=!1,(Jo!==null||Zo!==null)&&(Pm(),zm())}}function Vn(e,r){var i=e.stateNode;if(i===null)return null;var a=Vl(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 gc=!1;if(f)try{var Un={};Object.defineProperty(Un,"passive",{get:function(){gc=!0}}),window.addEventListener("test",Un,Un),window.removeEventListener("test",Un,Un)}catch{gc=!1}function q5(e,r,i,a,d,h,w,C,E){var O=Array.prototype.slice.call(arguments,3);try{r.apply(i,O)}catch(V){this.onError(V)}}var Gn=!1,Sl=null,_l=!1,vc=null,H5={onError:function(e){Gn=!0,Sl=e}};function W5(e,r,i,a,d,h,w,C,E){Gn=!1,Sl=null,q5.apply(H5,arguments)}function $5(e,r,i,a,d,h,w,C,E){if(W5.apply(this,arguments),Gn){if(Gn){var O=Sl;Gn=!1,Sl=null}else throw Error(n(198));_l||(_l=!0,vc=O)}}function xo(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 Fm(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 Im(e){if(xo(e)!==e)throw Error(n(188))}function V5(e){var r=e.alternate;if(!r){if(r=xo(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 Im(d),e;if(h===a)return Im(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 Dm(e){return e=V5(e),e!==null?jm(e):null}function jm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var r=jm(e);if(r!==null)return r;e=e.sibling}return null}var Om=o.unstable_scheduleCallback,Am=o.unstable_cancelCallback,U5=o.unstable_shouldYield,G5=o.unstable_requestPaint,Qe=o.unstable_now,K5=o.unstable_getCurrentPriorityLevel,bc=o.unstable_ImmediatePriority,Mm=o.unstable_UserBlockingPriority,Cl=o.unstable_NormalPriority,X5=o.unstable_LowPriority,Lm=o.unstable_IdlePriority,Bl=null,kr=null;function Q5(e){if(kr&&typeof kr.onCommitFiberRoot=="function")try{kr.onCommitFiberRoot(Bl,e,void 0,(e.current.flags&128)===128)}catch{}}var lr=Math.clz32?Math.clz32:Z5,Y5=Math.log,J5=Math.LN2;function Z5(e){return e>>>=0,e===0?32:31-(Y5(e)/J5|0)|0}var Nl=64,Tl=4194304;function Kn(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 zl(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=Kn(C):(h&=w,h!==0&&(a=Kn(h)))}else w=i&~d,w!==0?a=Kn(w):h!==0&&(a=Kn(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-lr(r),d=1<<i,a|=e[i],r&=~d;return a}function eB(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 tB(e,r){for(var i=e.suspendedLanes,a=e.pingedLanes,d=e.expirationTimes,h=e.pendingLanes;0<h;){var w=31-lr(h),C=1<<w,E=d[w];E===-1?((C&i)===0||(C&a)!==0)&&(d[w]=eB(C,r)):E<=r&&(e.expiredLanes|=C),h&=~C}}function yc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function qm(){var e=Nl;return Nl<<=1,(Nl&4194240)===0&&(Nl=64),e}function wc(e){for(var r=[],i=0;31>i;i++)r.push(e);return r}function Xn(e,r,i){e.pendingLanes|=r,r!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,r=31-lr(r),e[r]=i}function rB(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-lr(i),h=1<<d;r[d]=0,a[d]=-1,e[d]=-1,i&=~h}}function kc(e,r){var i=e.entangledLanes|=r;for(e=e.entanglements;i;){var a=31-lr(i),d=1<<a;d&r|e[a]&r&&(e[a]|=r),i&=~d}}var Pe=0;function Hm(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Wm,xc,$m,Vm,Um,Sc=!1,El=[],Qr=null,Yr=null,Jr=null,Qn=new Map,Yn=new Map,Zr=[],oB="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 Gm(e,r){switch(e){case"focusin":case"focusout":Qr=null;break;case"dragenter":case"dragleave":Yr=null;break;case"mouseover":case"mouseout":Jr=null;break;case"pointerover":case"pointerout":Qn.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yn.delete(r.pointerId)}}function Jn(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=fi(r),r!==null&&xc(r)),e):(e.eventSystemFlags|=a,r=e.targetContainers,d!==null&&r.indexOf(d)===-1&&r.push(d),e)}function nB(e,r,i,a,d){switch(r){case"focusin":return Qr=Jn(Qr,e,r,i,a,d),!0;case"dragenter":return Yr=Jn(Yr,e,r,i,a,d),!0;case"mouseover":return Jr=Jn(Jr,e,r,i,a,d),!0;case"pointerover":var h=d.pointerId;return Qn.set(h,Jn(Qn.get(h)||null,e,r,i,a,d)),!0;case"gotpointercapture":return h=d.pointerId,Yn.set(h,Jn(Yn.get(h)||null,e,r,i,a,d)),!0}return!1}function Km(e){var r=So(e.target);if(r!==null){var i=xo(r);if(i!==null){if(r=i.tag,r===13){if(r=Fm(i),r!==null){e.blockedOn=r,Um(e.priority,function(){$m(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 Pl(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var i=Cc(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var a=new i.constructor(i.type,i);fc=a,i.target.dispatchEvent(a),fc=null}else return r=fi(i),r!==null&&xc(r),e.blockedOn=i,!1;r.shift()}return!0}function Xm(e,r,i){Pl(e)&&i.delete(r)}function iB(){Sc=!1,Qr!==null&&Pl(Qr)&&(Qr=null),Yr!==null&&Pl(Yr)&&(Yr=null),Jr!==null&&Pl(Jr)&&(Jr=null),Qn.forEach(Xm),Yn.forEach(Xm)}function Zn(e,r){e.blockedOn===r&&(e.blockedOn=null,Sc||(Sc=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,iB)))}function ei(e){function r(d){return Zn(d,e)}if(0<El.length){Zn(El[0],e);for(var i=1;i<El.length;i++){var a=El[i];a.blockedOn===e&&(a.blockedOn=null)}}for(Qr!==null&&Zn(Qr,e),Yr!==null&&Zn(Yr,e),Jr!==null&&Zn(Jr,e),Qn.forEach(r),Yn.forEach(r),i=0;i<Zr.length;i++)a=Zr[i],a.blockedOn===e&&(a.blockedOn=null);for(;0<Zr.length&&(i=Zr[0],i.blockedOn===null);)Km(i),i.blockedOn===null&&Zr.shift()}var en=T.ReactCurrentBatchConfig,Rl=!0;function lB(e,r,i,a){var d=Pe,h=en.transition;en.transition=null;try{Pe=1,_c(e,r,i,a)}finally{Pe=d,en.transition=h}}function sB(e,r,i,a){var d=Pe,h=en.transition;en.transition=null;try{Pe=4,_c(e,r,i,a)}finally{Pe=d,en.transition=h}}function _c(e,r,i,a){if(Rl){var d=Cc(e,r,i,a);if(d===null)Hc(e,r,a,Fl,i),Gm(e,a);else if(nB(d,e,r,i,a))a.stopPropagation();else if(Gm(e,a),r&4&&-1<oB.indexOf(e)){for(;d!==null;){var h=fi(d);if(h!==null&&Wm(h),h=Cc(e,r,i,a),h===null&&Hc(e,r,a,Fl,i),h===d)break;d=h}d!==null&&a.stopPropagation()}else Hc(e,r,a,null,i)}}var Fl=null;function Cc(e,r,i,a){if(Fl=null,e=pc(a),e=So(e),e!==null)if(r=xo(e),r===null)e=null;else if(i=r.tag,i===13){if(e=Fm(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 Fl=e,null}function Qm(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(K5()){case bc:return 1;case Mm:return 4;case Cl:case X5:return 16;case Lm:return 536870912;default:return 16}default:return 16}}var eo=null,Bc=null,Il=null;function Ym(){if(Il)return Il;var e,r=Bc,i=r.length,a,d="value"in eo?eo.value:eo.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 Il=d.slice(e,1<a?1-a:void 0)}function Dl(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 jl(){return!0}function Jm(){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)?jl:Jm,this.isPropagationStopped=Jm,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=jl)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=jl)},persist:function(){},isPersistent:jl}),r}var tn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Nc=At(tn),ti=Y({},tn,{view:0,detail:0}),aB=At(ti),Tc,zc,ri,Ol=Y({},ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pc,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!==ri&&(ri&&e.type==="mousemove"?(Tc=e.screenX-ri.screenX,zc=e.screenY-ri.screenY):zc=Tc=0,ri=e),Tc)},movementY:function(e){return"movementY"in e?e.movementY:zc}}),Zm=At(Ol),cB=Y({},Ol,{dataTransfer:0}),uB=At(cB),dB=Y({},ti,{relatedTarget:0}),Ec=At(dB),fB=Y({},tn,{animationName:0,elapsedTime:0,pseudoElement:0}),pB=At(fB),hB=Y({},tn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mB=At(hB),gB=Y({},tn,{data:0}),eg=At(gB),vB={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bB={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"},yB={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wB(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=yB[e])?!!r[e]:!1}function Pc(){return wB}var kB=Y({},ti,{key:function(e){if(e.key){var r=vB[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=Dl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?bB[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pc,charCode:function(e){return e.type==="keypress"?Dl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Dl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xB=At(kB),SB=Y({},Ol,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tg=At(SB),_B=Y({},ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pc}),CB=At(_B),BB=Y({},tn,{propertyName:0,elapsedTime:0,pseudoElement:0}),NB=At(BB),TB=Y({},Ol,{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}),zB=At(TB),EB=[9,13,27,32],Rc=f&&"CompositionEvent"in window,oi=null;f&&"documentMode"in document&&(oi=document.documentMode);var PB=f&&"TextEvent"in window&&!oi,rg=f&&(!Rc||oi&&8<oi&&11>=oi),og=" ",ng=!1;function ig(e,r){switch(e){case"keyup":return EB.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var rn=!1;function RB(e,r){switch(e){case"compositionend":return lg(r);case"keypress":return r.which!==32?null:(ng=!0,og);case"textInput":return e=r.data,e===og&&ng?null:e;default:return null}}function FB(e,r){if(rn)return e==="compositionend"||!Rc&&ig(e,r)?(e=Ym(),Il=Bc=eo=null,rn=!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 rg&&r.locale!=="ko"?null:r.data;default:return null}}var IB={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 sg(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!IB[e.type]:r==="textarea"}function ag(e,r,i,a){Tm(a),r=Hl(r,"onChange"),0<r.length&&(i=new Nc("onChange","change",null,i,a),e.push({event:i,listeners:r}))}var ni=null,ii=null;function DB(e){Bg(e,0)}function Al(e){var r=an(e);if(gm(r))return e}function jB(e,r){if(e==="change")return r}var cg=!1;if(f){var Fc;if(f){var Ic="oninput"in document;if(!Ic){var ug=document.createElement("div");ug.setAttribute("oninput","return;"),Ic=typeof ug.oninput=="function"}Fc=Ic}else Fc=!1;cg=Fc&&(!document.documentMode||9<document.documentMode)}function dg(){ni&&(ni.detachEvent("onpropertychange",fg),ii=ni=null)}function fg(e){if(e.propertyName==="value"&&Al(ii)){var r=[];ag(r,ii,e,pc(e)),Rm(DB,r)}}function OB(e,r,i){e==="focusin"?(dg(),ni=r,ii=i,ni.attachEvent("onpropertychange",fg)):e==="focusout"&&dg()}function AB(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Al(ii)}function MB(e,r){if(e==="click")return Al(r)}function LB(e,r){if(e==="input"||e==="change")return Al(r)}function qB(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var sr=typeof Object.is=="function"?Object.is:qB;function li(e,r){if(sr(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(!p.call(r,d)||!sr(e[d],r[d]))return!1}return!0}function pg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hg(e,r){var i=pg(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=pg(i)}}function mg(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?mg(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function gg(){for(var e=window,r=kl();r instanceof e.HTMLIFrameElement;){try{var i=typeof r.contentWindow.location.href=="string"}catch{i=!1}if(i)e=r.contentWindow;else break;r=kl(e.document)}return r}function Dc(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 HB(e){var r=gg(),i=e.focusedElem,a=e.selectionRange;if(r!==i&&i&&i.ownerDocument&&mg(i.ownerDocument.documentElement,i)){if(a!==null&&Dc(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=hg(i,h);var w=hg(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 WB=f&&"documentMode"in document&&11>=document.documentMode,on=null,jc=null,si=null,Oc=!1;function vg(e,r,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Oc||on==null||on!==kl(a)||(a=on,"selectionStart"in a&&Dc(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&&li(si,a)||(si=a,a=Hl(jc,"onSelect"),0<a.length&&(r=new Nc("onSelect","select",null,r,i),e.push({event:r,listeners:a}),r.target=on)))}function Ml(e,r){var i={};return i[e.toLowerCase()]=r.toLowerCase(),i["Webkit"+e]="webkit"+r,i["Moz"+e]="moz"+r,i}var nn={animationend:Ml("Animation","AnimationEnd"),animationiteration:Ml("Animation","AnimationIteration"),animationstart:Ml("Animation","AnimationStart"),transitionend:Ml("Transition","TransitionEnd")},Ac={},bg={};f&&(bg=document.createElement("div").style,"AnimationEvent"in window||(delete nn.animationend.animation,delete nn.animationiteration.animation,delete nn.animationstart.animation),"TransitionEvent"in window||delete nn.transitionend.transition);function Ll(e){if(Ac[e])return Ac[e];if(!nn[e])return e;var r=nn[e],i;for(i in r)if(r.hasOwnProperty(i)&&i in bg)return Ac[e]=r[i];return e}var yg=Ll("animationend"),wg=Ll("animationiteration"),kg=Ll("animationstart"),xg=Ll("transitionend"),Sg=new Map,_g="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 to(e,r){Sg.set(e,r),c(r,[e])}for(var Mc=0;Mc<_g.length;Mc++){var Lc=_g[Mc],$B=Lc.toLowerCase(),VB=Lc[0].toUpperCase()+Lc.slice(1);to($B,"on"+VB)}to(yg,"onAnimationEnd"),to(wg,"onAnimationIteration"),to(kg,"onAnimationStart"),to("dblclick","onDoubleClick"),to("focusin","onFocus"),to("focusout","onBlur"),to(xg,"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 ai="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(" "),UB=new Set("cancel close invalid load scroll toggle".split(" ").concat(ai));function Cg(e,r,i){var a=e.type||"unknown-event";e.currentTarget=i,$5(a,r,void 0,e),e.currentTarget=null}function Bg(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],E=C.instance,O=C.currentTarget;if(C=C.listener,E!==h&&d.isPropagationStopped())break e;Cg(d,C,O),h=E}else for(w=0;w<a.length;w++){if(C=a[w],E=C.instance,O=C.currentTarget,C=C.listener,E!==h&&d.isPropagationStopped())break e;Cg(d,C,O),h=E}}}if(_l)throw e=vc,_l=!1,vc=null,e}function je(e,r){var i=r[Kc];i===void 0&&(i=r[Kc]=new Set);var a=e+"__bubble";i.has(a)||(Ng(r,e,2,!1),i.add(a))}function qc(e,r,i){var a=0;r&&(a|=4),Ng(i,e,a,r)}var ql="_reactListening"+Math.random().toString(36).slice(2);function ci(e){if(!e[ql]){e[ql]=!0,l.forEach(function(i){i!=="selectionchange"&&(UB.has(i)||qc(i,!1,e),qc(i,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[ql]||(r[ql]=!0,qc("selectionchange",!1,r))}}function Ng(e,r,i,a){switch(Qm(r)){case 1:var d=lB;break;case 4:d=sB;break;default:d=_c}i=d.bind(null,r,i,e),d=void 0,!gc||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 E=w.tag;if((E===3||E===4)&&(E=w.stateNode.containerInfo,E===d||E.nodeType===8&&E.parentNode===d))return;w=w.return}for(;C!==null;){if(w=So(C),w===null)return;if(E=w.tag,E===5||E===6){a=h=w;continue e}C=C.parentNode}}a=a.return}Rm(function(){var O=h,V=pc(i),G=[];e:{var W=Sg.get(e);if(W!==void 0){var J=Nc,ne=e;switch(e){case"keypress":if(Dl(i)===0)break e;case"keydown":case"keyup":J=xB;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=Zm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=uB;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=CB;break;case yg:case wg:case kg:J=pB;break;case xg:J=NB;break;case"scroll":J=aB;break;case"wheel":J=zB;break;case"copy":case"cut":case"paste":J=mB;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=tg}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=Vn(P,I),K!=null&&ie.push(ui(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!==fc&&(ne=i.relatedTarget||i.fromElement)&&(So(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?So(ne):null,ne!==null&&(Ye=xo(ne),ne!==Ye||ne.tag!==5&&ne.tag!==6)&&(ne=null)):(J=null,ne=O),J!==ne)){if(ie=Zm,K="onMouseLeave",I="onMouseEnter",P="mouse",(e==="pointerout"||e==="pointerover")&&(ie=tg,K="onPointerLeave",I="onPointerEnter",P="pointer"),Ye=J==null?W:an(J),j=ne==null?W:an(ne),W=new ie(K,P+"leave",J,i,V),W.target=Ye,W.relatedTarget=j,K=null,So(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=ln(j))P++;for(j=0,K=I;K;K=ln(K))j++;for(;0<P-j;)ie=ln(ie),P--;for(;0<j-P;)I=ln(I),j--;for(;P--;){if(ie===I||I!==null&&ie===I.alternate)break t;ie=ln(ie),I=ln(I)}ie=null}else ie=null;J!==null&&Tg(G,W,J,ie,!1),ne!==null&&Ye!==null&&Tg(G,Ye,ne,ie,!0)}}e:{if(W=O?an(O):window,J=W.nodeName&&W.nodeName.toLowerCase(),J==="select"||J==="input"&&W.type==="file")var se=jB;else if(sg(W))if(cg)se=LB;else{se=AB;var de=OB}else(J=W.nodeName)&&J.toLowerCase()==="input"&&(W.type==="checkbox"||W.type==="radio")&&(se=MB);if(se&&(se=se(e,O))){ag(G,se,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?an(O):window,e){case"focusin":(sg(de)||de.contentEditable==="true")&&(on=de,jc=O,si=null);break;case"focusout":si=jc=on=null;break;case"mousedown":Oc=!0;break;case"contextmenu":case"mouseup":case"dragend":Oc=!1,vg(G,i,V);break;case"selectionchange":if(WB)break;case"keydown":case"keyup":vg(G,i,V)}var fe;if(Rc)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 rn?ig(e,i)&&(ge="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(ge="onCompositionStart");ge&&(rg&&i.locale!=="ko"&&(rn||ge!=="onCompositionStart"?ge==="onCompositionEnd"&&rn&&(fe=Ym()):(eo=V,Bc="value"in eo?eo.value:eo.textContent,rn=!0)),de=Hl(O,ge),0<de.length&&(ge=new eg(ge,e,null,i,V),G.push({event:ge,listeners:de}),fe?ge.data=fe:(fe=lg(i),fe!==null&&(ge.data=fe)))),(fe=PB?RB(e,i):FB(e,i))&&(O=Hl(O,"onBeforeInput"),0<O.length&&(V=new eg("onBeforeInput","beforeinput",null,i,V),G.push({event:V,listeners:O}),V.data=fe))}Bg(G,r)})}function ui(e,r,i){return{instance:e,listener:r,currentTarget:i}}function Hl(e,r){for(var i=r+"Capture",a=[];e!==null;){var d=e,h=d.stateNode;d.tag===5&&h!==null&&(d=h,h=Vn(e,i),h!=null&&a.unshift(ui(e,h,d)),h=Vn(e,r),h!=null&&a.push(ui(e,h,d))),e=e.return}return a}function ln(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Tg(e,r,i,a,d){for(var h=r._reactName,w=[];i!==null&&i!==a;){var C=i,E=C.alternate,O=C.stateNode;if(E!==null&&E===a)break;C.tag===5&&O!==null&&(C=O,d?(E=Vn(i,h),E!=null&&w.unshift(ui(i,E,C))):d||(E=Vn(i,h),E!=null&&w.push(ui(i,E,C)))),i=i.return}w.length!==0&&e.push({event:r,listeners:w})}var GB=/\r\n?/g,KB=/\u0000|\uFFFD/g;function zg(e){return(typeof e=="string"?e:""+e).replace(GB,`
|
|
7
|
+
`).replace(KB,"")}function Wl(e,r,i){if(r=zg(r),zg(e)!==r&&i)throw Error(n(425))}function $l(){}var Wc=null,$c=null;function Vc(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 Uc=typeof setTimeout=="function"?setTimeout:void 0,XB=typeof clearTimeout=="function"?clearTimeout:void 0,Eg=typeof Promise=="function"?Promise:void 0,QB=typeof queueMicrotask=="function"?queueMicrotask:typeof Eg<"u"?function(e){return Eg.resolve(null).then(e).catch(YB)}:Uc;function YB(e){setTimeout(function(){throw e})}function Gc(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),ei(r);return}a--}else i!=="$"&&i!=="$?"&&i!=="$!"||a++;i=d}while(i);ei(r)}function ro(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 Pg(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),xr="__reactFiber$"+sn,di="__reactProps$"+sn,Fr="__reactContainer$"+sn,Kc="__reactEvents$"+sn,JB="__reactListeners$"+sn,ZB="__reactHandles$"+sn;function So(e){var r=e[xr];if(r)return r;for(var i=e.parentNode;i;){if(r=i[Fr]||i[xr]){if(i=r.alternate,r.child!==null||i!==null&&i.child!==null)for(e=Pg(e);e!==null;){if(i=e[xr])return i;e=Pg(e)}return r}e=i,i=e.parentNode}return null}function fi(e){return e=e[xr]||e[Fr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function an(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(n(33))}function Vl(e){return e[di]||null}var Xc=[],cn=-1;function oo(e){return{current:e}}function Oe(e){0>cn||(e.current=Xc[cn],Xc[cn]=null,cn--)}function De(e,r){cn++,Xc[cn]=e.current,e.current=r}var no={},mt=oo(no),zt=oo(!1),_o=no;function un(e,r){var i=e.type.contextTypes;if(!i)return no;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 Et(e){return e=e.childContextTypes,e!=null}function Ul(){Oe(zt),Oe(mt)}function Rg(e,r,i){if(mt.current!==no)throw Error(n(168));De(mt,r),De(zt,i)}function Fg(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 Gl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||no,_o=mt.current,De(mt,e),De(zt,zt.current),!0}function Ig(e,r,i){var a=e.stateNode;if(!a)throw Error(n(169));i?(e=Fg(e,r,_o),a.__reactInternalMemoizedMergedChildContext=e,Oe(zt),Oe(mt),De(mt,e)):Oe(zt),De(zt,i)}var Ir=null,Kl=!1,Qc=!1;function Dg(e){Ir===null?Ir=[e]:Ir.push(e)}function e3(e){Kl=!0,Dg(e)}function io(){if(!Qc&&Ir!==null){Qc=!0;var e=0,r=Pe;try{var i=Ir;for(Pe=1;e<i.length;e++){var a=i[e];do a=a(!0);while(a!==null)}Ir=null,Kl=!1}catch(d){throw Ir!==null&&(Ir=Ir.slice(e+1)),Om(bc,io),d}finally{Pe=r,Qc=!1}}return null}var dn=[],fn=0,Xl=null,Ql=0,Gt=[],Kt=0,Co=null,Dr=1,jr="";function Bo(e,r){dn[fn++]=Ql,dn[fn++]=Xl,Xl=e,Ql=r}function jg(e,r,i){Gt[Kt++]=Dr,Gt[Kt++]=jr,Gt[Kt++]=Co,Co=e;var a=Dr;e=jr;var d=32-lr(a)-1;a&=~(1<<d),i+=1;var h=32-lr(r)+d;if(30<h){var w=d-d%5;h=(a&(1<<w)-1).toString(32),a>>=w,d-=w,Dr=1<<32-lr(r)+d|i<<d|a,jr=h+e}else Dr=1<<h|i<<d|a,jr=e}function Yc(e){e.return!==null&&(Bo(e,1),jg(e,1,0))}function Jc(e){for(;e===Xl;)Xl=dn[--fn],dn[fn]=null,Ql=dn[--fn],dn[fn]=null;for(;e===Co;)Co=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 Og(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 Ag(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=ro(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=Co!==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 Zc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function eu(e){if(Me){var r=Lt;if(r){var i=r;if(!Ag(e,r)){if(Zc(e))throw Error(n(418));r=ro(i.nextSibling);var a=Mt;r&&Ag(e,r)?Og(a,i):(e.flags=e.flags&-4097|2,Me=!1,Mt=e)}}else{if(Zc(e))throw Error(n(418));e.flags=e.flags&-4097|2,Me=!1,Mt=e}}}function Mg(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Mt=e}function Yl(e){if(e!==Mt)return!1;if(!Me)return Mg(e),Me=!0,!1;var r;if((r=e.tag!==3)&&!(r=e.tag!==5)&&(r=e.type,r=r!=="head"&&r!=="body"&&!Vc(e.type,e.memoizedProps)),r&&(r=Lt)){if(Zc(e))throw Lg(),Error(n(418));for(;r;)Og(e,r),r=ro(r.nextSibling)}if(Mg(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=ro(e.nextSibling);break e}r--}else i!=="$"&&i!=="$!"&&i!=="$?"||r++}e=e.nextSibling}Lt=null}}else Lt=Mt?ro(e.stateNode.nextSibling):null;return!0}function Lg(){for(var e=Lt;e;)e=ro(e.nextSibling)}function pn(){Lt=Mt=null,Me=!1}function tu(e){ar===null?ar=[e]:ar.push(e)}var t3=T.ReactCurrentBatchConfig;function pi(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 Jl(e,r){throw e=Object.prototype.toString.call(r),Error(n(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function qg(e){var r=e._init;return r(e._payload)}function Hg(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=ho(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=Uu(j,I.mode,K),P.return=I,P):(P=d(P,j),P.return=I,P)}function E(I,P,j,K){var se=j.type;return se===A?V(I,P,j.props.children,K,j.key):P!==null&&(P.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===be&&qg(se)===P.type)?(K=d(P,j.props),K.ref=pi(I,P,j),K.return=I,K):(K=xs(j.type,j.key,j.props,null,I.mode,K),K.ref=pi(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=Gu(j,I.mode,K),P.return=I,P):(P=d(P,j.children||[]),P.return=I,P)}function V(I,P,j,K,se){return P===null||P.tag!==7?(P=Io(j,I.mode,K,se),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=Uu(""+P,I.mode,j),P.return=I,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case R:return j=xs(P.type,P.key,P.props,null,I.mode,j),j.ref=pi(I,null,P),j.return=I,j;case D:return P=Gu(P,I.mode,j),P.return=I,P;case be:var K=P._init;return G(I,K(P._payload),j)}if(Hn(P)||te(P))return P=Io(P,I.mode,j,null),P.return=I,P;Jl(I,P)}return null}function W(I,P,j,K){var se=P!==null?P.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return se!==null?null:C(I,P,""+j,K);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case R:return j.key===se?E(I,P,j,K):null;case D:return j.key===se?O(I,P,j,K):null;case be:return se=j._init,W(I,P,se(j._payload),K)}if(Hn(j)||te(j))return se!==null?null:V(I,P,j,K,null);Jl(I,j)}return null}function J(I,P,j,K,se){if(typeof K=="string"&&K!==""||typeof K=="number")return I=I.get(j)||null,C(P,I,""+K,se);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case R:return I=I.get(K.key===null?j:K.key)||null,E(P,I,K,se);case D:return I=I.get(K.key===null?j:K.key)||null,O(P,I,K,se);case be:var de=K._init;return J(I,P,j,de(K._payload),se)}if(Hn(K)||te(K))return I=I.get(j)||null,V(P,I,K,se,null);Jl(P,K)}return null}function ne(I,P,j,K){for(var se=null,de=null,fe=P,ge=P=0,st=null;fe!==null&&ge<j.length;ge++){fe.index>ge?(st=fe,fe=null):st=fe.sibling;var Ne=W(I,fe,j[ge],K);if(Ne===null){fe===null&&(fe=st);break}e&&fe&&Ne.alternate===null&&r(I,fe),P=h(Ne,P,ge),de===null?se=Ne:de.sibling=Ne,de=Ne,fe=st}if(ge===j.length)return i(I,fe),Me&&Bo(I,ge),se;if(fe===null){for(;ge<j.length;ge++)fe=G(I,j[ge],K),fe!==null&&(P=h(fe,P,ge),de===null?se=fe:de.sibling=fe,de=fe);return Me&&Bo(I,ge),se}for(fe=a(I,fe);ge<j.length;ge++)st=J(fe,I,ge,j[ge],K),st!==null&&(e&&st.alternate!==null&&fe.delete(st.key===null?ge:st.key),P=h(st,P,ge),de===null?se=st:de.sibling=st,de=st);return e&&fe.forEach(function(mo){return r(I,mo)}),Me&&Bo(I,ge),se}function ie(I,P,j,K){var se=te(j);if(typeof se!="function")throw Error(n(150));if(j=se.call(j),j==null)throw Error(n(151));for(var de=se=null,fe=P,ge=P=0,st=null,Ne=j.next();fe!==null&&!Ne.done;ge++,Ne=j.next()){fe.index>ge?(st=fe,fe=null):st=fe.sibling;var mo=W(I,fe,Ne.value,K);if(mo===null){fe===null&&(fe=st);break}e&&fe&&mo.alternate===null&&r(I,fe),P=h(mo,P,ge),de===null?se=mo:de.sibling=mo,de=mo,fe=st}if(Ne.done)return i(I,fe),Me&&Bo(I,ge),se;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?se=Ne:de.sibling=Ne,de=Ne);return Me&&Bo(I,ge),se}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?se=Ne:de.sibling=Ne,de=Ne);return e&&fe.forEach(function(I3){return r(I,I3)}),Me&&Bo(I,ge),se}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 se=j.key,de=P;de!==null;){if(de.key===se){if(se=j.type,se===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===se||typeof se=="object"&&se!==null&&se.$$typeof===be&&qg(se)===de.type){i(I,de.sibling),P=d(de,j.props),P.ref=pi(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=Io(j.props.children,I.mode,K,j.key),P.return=I,I=P):(K=xs(j.type,j.key,j.props,null,I.mode,K),K.ref=pi(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=Gu(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(te(j))return ie(I,P,j,K);Jl(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=Uu(j,I.mode,K),P.return=I,I=P),w(I)):i(I,P)}return Ye}var hn=Hg(!0),Wg=Hg(!1),Zl=oo(null),es=null,mn=null,ru=null;function ou(){ru=mn=es=null}function nu(e){var r=Zl.current;Oe(Zl),e._currentValue=r}function iu(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 gn(e,r){es=e,ru=mn=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(ru!==e)if(e={context:e,memoizedValue:r,next:null},mn===null){if(es===null)throw Error(n(308));mn=e,es.dependencies={lanes:0,firstContext:e}}else mn=mn.next=e;return r}var No=null;function lu(e){No===null?No=[e]:No.push(e)}function $g(e,r,i,a){var d=r.interleaved;return d===null?(i.next=i,lu(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 Vg(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 so(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,lu(a)):(r.next=d.next,d.next=r),a.interleaved=r,Or(e,i)}function ts(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,kc(e,i)}}function Ug(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 rs(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 E=C,O=E.next;E.next=null,w===null?h=O:w.next=O,w=E;var V=e.alternate;V!==null&&(V=V.updateQueue,C=V.lastBaseUpdate,C!==w&&(C===null?V.firstBaseUpdate=O:C.next=O,V.lastBaseUpdate=E))}if(h!==null){var G=d.baseState;w=0,V=O=E=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,E=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&&(E=G),d.baseState=E,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 Gg(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 hi={},Sr=oo(hi),mi=oo(hi),gi=oo(hi);function To(e){if(e===hi)throw Error(n(174));return e}function au(e,r){switch(De(gi,r),De(mi,e),De(Sr,hi),e=r.nodeType,e){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:cc(null,"");break;default:e=e===8?r.parentNode:r,r=e.namespaceURI||null,e=e.tagName,r=cc(r,e)}Oe(Sr),De(Sr,r)}function vn(){Oe(Sr),Oe(mi),Oe(gi)}function Kg(e){To(gi.current);var r=To(Sr.current),i=cc(r,e.type);r!==i&&(De(mi,e),De(Sr,i))}function cu(e){mi.current===e&&(Oe(Sr),Oe(mi))}var He=oo(0);function os(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 uu=[];function du(){for(var e=0;e<uu.length;e++)uu[e]._workInProgressVersionPrimary=null;uu.length=0}var ns=T.ReactCurrentDispatcher,fu=T.ReactCurrentBatchConfig,zo=0,We=null,ot=null,it=null,is=!1,vi=!1,bi=0,r3=0;function gt(){throw Error(n(321))}function pu(e,r){if(r===null)return!1;for(var i=0;i<r.length&&i<e.length;i++)if(!sr(e[i],r[i]))return!1;return!0}function hu(e,r,i,a,d,h){if(zo=h,We=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,ns.current=e===null||e.memoizedState===null?l3:s3,e=i(a,d),vi){h=0;do{if(vi=!1,bi=0,25<=h)throw Error(n(301));h+=1,it=ot=null,r.updateQueue=null,ns.current=a3,e=i(a,d)}while(vi)}if(ns.current=as,r=ot!==null&&ot.next!==null,zo=0,it=ot=We=null,is=!1,r)throw Error(n(300));return e}function mu(){var e=bi!==0;return bi=0,e}function _r(){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(ot===null){var e=We.alternate;e=e!==null?e.memoizedState:null}else e=ot.next;var r=it===null?We.memoizedState:it.next;if(r!==null)it=r,ot=e;else{if(e===null)throw Error(n(310));ot=e,e={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},it===null?We.memoizedState=it=e:it=it.next=e}return it}function yi(e,r){return typeof r=="function"?r(e):r}function gu(e){var r=Qt(),i=r.queue;if(i===null)throw Error(n(311));i.lastRenderedReducer=e;var a=ot,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,E=null,O=h;do{var V=O.lane;if((zo&V)===V)E!==null&&(E=E.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};E===null?(C=E=G,w=a):E=E.next=G,We.lanes|=V,Eo|=V}O=O.next}while(O!==null&&O!==h);E===null?w=a:E.next=C,sr(a,r.memoizedState)||(Pt=!0),r.memoizedState=a,r.baseState=w,r.baseQueue=E,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 vu(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);sr(h,r.memoizedState)||(Pt=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),i.lastRenderedState=h}return[h,a]}function Xg(){}function Qg(e,r){var i=We,a=Qt(),d=r(),h=!sr(a.memoizedState,d);if(h&&(a.memoizedState=d,Pt=!0),a=a.queue,bu(Zg.bind(null,i,a,e),[e]),a.getSnapshot!==r||h||it!==null&&it.memoizedState.tag&1){if(i.flags|=2048,wi(9,Jg.bind(null,i,a,d,r),void 0,null),lt===null)throw Error(n(349));(zo&30)!==0||Yg(i,r,d)}return d}function Yg(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 Jg(e,r,i,a){r.value=i,r.getSnapshot=a,ev(r)&&tv(e)}function Zg(e,r,i){return i(function(){ev(r)&&tv(e)})}function ev(e){var r=e.getSnapshot;e=e.value;try{var i=r();return!sr(e,i)}catch{return!0}}function tv(e){var r=Or(e,1);r!==null&&fr(r,e,1,-1)}function rv(e){var r=_r();return typeof e=="function"&&(e=e()),r.memoizedState=r.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yi,lastRenderedState:e},r.queue=e,e=e.dispatch=i3.bind(null,We,e),[r.memoizedState,e]}function wi(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 ov(){return Qt().memoizedState}function ls(e,r,i,a){var d=_r();We.flags|=e,d.memoizedState=wi(1|r,i,void 0,a===void 0?null:a)}function ss(e,r,i,a){var d=Qt();a=a===void 0?null:a;var h=void 0;if(ot!==null){var w=ot.memoizedState;if(h=w.destroy,a!==null&&pu(a,w.deps)){d.memoizedState=wi(r,i,h,a);return}}We.flags|=e,d.memoizedState=wi(1|r,i,h,a)}function nv(e,r){return ls(8390656,8,e,r)}function bu(e,r){return ss(2048,8,e,r)}function iv(e,r){return ss(4,2,e,r)}function lv(e,r){return ss(4,4,e,r)}function sv(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 av(e,r,i){return i=i!=null?i.concat([e]):null,ss(4,4,sv.bind(null,r,e),i)}function yu(){}function cv(e,r){var i=Qt();r=r===void 0?null:r;var a=i.memoizedState;return a!==null&&r!==null&&pu(r,a[1])?a[0]:(i.memoizedState=[e,r],e)}function uv(e,r){var i=Qt();r=r===void 0?null:r;var a=i.memoizedState;return a!==null&&r!==null&&pu(r,a[1])?a[0]:(e=e(),i.memoizedState=[e,r],e)}function dv(e,r,i){return(zo&21)===0?(e.baseState&&(e.baseState=!1,Pt=!0),e.memoizedState=i):(sr(i,r)||(i=qm(),We.lanes|=i,Eo|=i,e.baseState=!0),r)}function o3(e,r){var i=Pe;Pe=i!==0&&4>i?i:4,e(!0);var a=fu.transition;fu.transition={};try{e(!1),r()}finally{Pe=i,fu.transition=a}}function fv(){return Qt().memoizedState}function n3(e,r,i){var a=fo(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},pv(e))hv(r,i);else if(i=$g(e,r,i,a),i!==null){var d=xt();fr(i,e,a,d),mv(i,r,a)}}function i3(e,r,i){var a=fo(e),d={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(pv(e))hv(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,sr(C,w)){var E=r.interleaved;E===null?(d.next=d,lu(r)):(d.next=E.next,E.next=d),r.interleaved=d;return}}catch{}finally{}i=$g(e,r,d,a),i!==null&&(d=xt(),fr(i,e,a,d),mv(i,r,a))}}function pv(e){var r=e.alternate;return e===We||r!==null&&r===We}function hv(e,r){vi=is=!0;var i=e.pending;i===null?r.next=r:(r.next=i.next,i.next=r),e.pending=r}function mv(e,r,i){if((i&4194240)!==0){var a=r.lanes;a&=e.pendingLanes,i|=a,r.lanes=i,kc(e,i)}}var as={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},l3={readContext:Xt,useCallback:function(e,r){return _r().memoizedState=[e,r===void 0?null:r],e},useContext:Xt,useEffect:nv,useImperativeHandle:function(e,r,i){return i=i!=null?i.concat([e]):null,ls(4194308,4,sv.bind(null,r,e),i)},useLayoutEffect:function(e,r){return ls(4194308,4,e,r)},useInsertionEffect:function(e,r){return ls(4,2,e,r)},useMemo:function(e,r){var i=_r();return r=r===void 0?null:r,e=e(),i.memoizedState=[e,r],e},useReducer:function(e,r,i){var a=_r();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=n3.bind(null,We,e),[a.memoizedState,e]},useRef:function(e){var r=_r();return e={current:e},r.memoizedState=e},useState:rv,useDebugValue:yu,useDeferredValue:function(e){return _r().memoizedState=e},useTransition:function(){var e=rv(!1),r=e[0];return e=o3.bind(null,e[1]),_r().memoizedState=e,[r,e]},useMutableSource:function(){},useSyncExternalStore:function(e,r,i){var a=We,d=_r();if(Me){if(i===void 0)throw Error(n(407));i=i()}else{if(i=r(),lt===null)throw Error(n(349));(zo&30)!==0||Yg(a,r,i)}d.memoizedState=i;var h={value:i,getSnapshot:r};return d.queue=h,nv(Zg.bind(null,a,h,e),[e]),a.flags|=2048,wi(9,Jg.bind(null,a,h,i,r),void 0,null),i},useId:function(){var e=_r(),r=lt.identifierPrefix;if(Me){var i=jr,a=Dr;i=(a&~(1<<32-lr(a)-1)).toString(32)+i,r=":"+r+"R"+i,i=bi++,0<i&&(r+="H"+i.toString(32)),r+=":"}else i=r3++,r=":"+r+"r"+i.toString(32)+":";return e.memoizedState=r},unstable_isNewReconciler:!1},s3={readContext:Xt,useCallback:cv,useContext:Xt,useEffect:bu,useImperativeHandle:av,useInsertionEffect:iv,useLayoutEffect:lv,useMemo:uv,useReducer:gu,useRef:ov,useState:function(){return gu(yi)},useDebugValue:yu,useDeferredValue:function(e){var r=Qt();return dv(r,ot.memoizedState,e)},useTransition:function(){var e=gu(yi)[0],r=Qt().memoizedState;return[e,r]},useMutableSource:Xg,useSyncExternalStore:Qg,useId:fv,unstable_isNewReconciler:!1},a3={readContext:Xt,useCallback:cv,useContext:Xt,useEffect:bu,useImperativeHandle:av,useInsertionEffect:iv,useLayoutEffect:lv,useMemo:uv,useReducer:vu,useRef:ov,useState:function(){return vu(yi)},useDebugValue:yu,useDeferredValue:function(e){var r=Qt();return ot===null?r.memoizedState=e:dv(r,ot.memoizedState,e)},useTransition:function(){var e=vu(yi)[0],r=Qt().memoizedState;return[e,r]},useMutableSource:Xg,useSyncExternalStore:Qg,useId:fv,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 wu(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 cs={isMounted:function(e){return(e=e._reactInternals)?xo(e)===e:!1},enqueueSetState:function(e,r,i){e=e._reactInternals;var a=xt(),d=fo(e),h=Ar(a,d);h.payload=r,i!=null&&(h.callback=i),r=so(e,h,d),r!==null&&(fr(r,e,d,a),ts(r,e,d))},enqueueReplaceState:function(e,r,i){e=e._reactInternals;var a=xt(),d=fo(e),h=Ar(a,d);h.tag=1,h.payload=r,i!=null&&(h.callback=i),r=so(e,h,d),r!==null&&(fr(r,e,d,a),ts(r,e,d))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var i=xt(),a=fo(e),d=Ar(i,a);d.tag=2,r!=null&&(d.callback=r),r=so(e,d,a),r!==null&&(fr(r,e,a,i),ts(r,e,a))}};function gv(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?!li(i,a)||!li(d,h):!0}function vv(e,r,i){var a=!1,d=no,h=r.contextType;return typeof h=="object"&&h!==null?h=Xt(h):(d=Et(r)?_o:mt.current,a=r.contextTypes,h=(a=a!=null)?un(e,d):no),r=new r(i,h),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=cs,e.stateNode=r,r._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=d,e.__reactInternalMemoizedMaskedChildContext=h),r}function bv(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&&cs.enqueueReplaceState(r,r.state,null)}function ku(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=Et(r)?_o:mt.current,d.context=un(e,h)),d.state=e.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(wu(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&&cs.enqueueReplaceState(d,d.state,null),rs(e,i,d,a),d.state=e.memoizedState),typeof d.componentDidMount=="function"&&(e.flags|=4194308)}function bn(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 xu(e,r,i){return{value:e,source:null,stack:i??null,digest:r??null}}function Su(e,r){try{console.error(r.value)}catch(i){setTimeout(function(){throw i})}}var c3=typeof WeakMap=="function"?WeakMap:Map;function yv(e,r,i){i=Ar(-1,i),i.tag=3,i.payload={element:null};var a=r.value;return i.callback=function(){gs||(gs=!0,Au=a),Su(e,r)},i}function wv(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(){Su(e,r)}}var h=e.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(i.callback=function(){Su(e,r),typeof a!="function"&&(co===null?co=new Set([this]):co.add(this));var w=r.stack;this.componentDidCatch(r.value,{componentStack:w!==null?w:""})}),i}function kv(e,r,i){var a=e.pingCache;if(a===null){a=e.pingCache=new c3;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=S3.bind(null,e,r,i),r.then(e,e))}function xv(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 Sv(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,so(i,r,1))),i.lanes|=1),e):(e.flags|=65536,e.lanes=d,e)}var u3=T.ReactCurrentOwner,Pt=!1;function kt(e,r,i,a){r.child=e===null?Wg(r,null,i,a):hn(r,e.child,i,a)}function _v(e,r,i,a,d){i=i.render;var h=r.ref;return gn(r,d),a=hu(e,r,i,a,h,d),i=mu(),e!==null&&!Pt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~d,Mr(e,r,d)):(Me&&i&&Yc(r),r.flags|=1,kt(e,r,a,d),r.child)}function Cv(e,r,i,a,d){if(e===null){var h=i.type;return typeof h=="function"&&!Vu(h)&&h.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(r.tag=15,r.type=h,Bv(e,r,h,a,d)):(e=xs(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:li,i(w,a)&&e.ref===r.ref)return Mr(e,r,d)}return r.flags|=1,e=ho(h,a),e.ref=r.ref,e.return=r,r.child=e}function Bv(e,r,i,a,d){if(e!==null){var h=e.memoizedProps;if(li(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 _u(e,r,i,a,d)}function Nv(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(wn,qt),qt|=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(wn,qt),qt|=e,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=h!==null?h.baseLanes:i,De(wn,qt),qt|=a}else h!==null?(a=h.baseLanes|i,r.memoizedState=null):a=i,De(wn,qt),qt|=a;return kt(e,r,d,i),r.child}function Tv(e,r){var i=r.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(r.flags|=512,r.flags|=2097152)}function _u(e,r,i,a,d){var h=Et(i)?_o:mt.current;return h=un(r,h),gn(r,d),i=hu(e,r,i,a,h,d),a=mu(),e!==null&&!Pt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~d,Mr(e,r,d)):(Me&&a&&Yc(r),r.flags|=1,kt(e,r,i,d),r.child)}function zv(e,r,i,a,d){if(Et(i)){var h=!0;Gl(r)}else h=!1;if(gn(r,d),r.stateNode===null)ds(e,r),vv(r,i,a),ku(r,i,a,d),a=!0;else if(e===null){var w=r.stateNode,C=r.memoizedProps;w.props=C;var E=w.context,O=i.contextType;typeof O=="object"&&O!==null?O=Xt(O):(O=Et(i)?_o:mt.current,O=un(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||E!==O)&&bv(r,w,a,O),lo=!1;var W=r.memoizedState;w.state=W,rs(r,a,w,d),E=r.memoizedState,C!==a||W!==E||zt.current||lo?(typeof V=="function"&&(wu(r,i,V,a),E=r.memoizedState),(C=lo||gv(r,i,C,a,W,E,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=E),w.props=a,w.state=E,w.context=O,a=C):(typeof w.componentDidMount=="function"&&(r.flags|=4194308),a=!1)}else{w=r.stateNode,Vg(e,r),C=r.memoizedProps,O=r.type===r.elementType?C:cr(r.type,C),w.props=O,G=r.pendingProps,W=w.context,E=i.contextType,typeof E=="object"&&E!==null?E=Xt(E):(E=Et(i)?_o:mt.current,E=un(r,E));var J=i.getDerivedStateFromProps;(V=typeof J=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(C!==G||W!==E)&&bv(r,w,a,E),lo=!1,W=r.memoizedState,w.state=W,rs(r,a,w,d);var ne=r.memoizedState;C!==G||W!==ne||zt.current||lo?(typeof J=="function"&&(wu(r,i,J,a),ne=r.memoizedState),(O=lo||gv(r,i,O,a,W,ne,E)||!1)?(V||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(a,ne,E),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(a,ne,E)),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=E,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 Cu(e,r,i,a,h,d)}function Cu(e,r,i,a,d,h){Tv(e,r);var w=(r.flags&128)!==0;if(!a&&!w)return d&&Ig(r,i,!1),Mr(e,r,h);a=r.stateNode,u3.current=r;var C=w&&typeof i.getDerivedStateFromError!="function"?null:a.render();return r.flags|=1,e!==null&&w?(r.child=hn(r,e.child,null,h),r.child=hn(r,null,C,h)):kt(e,r,C,h),r.memoizedState=a.state,d&&Ig(r,i,!0),r.child}function Ev(e){var r=e.stateNode;r.pendingContext?Rg(e,r.pendingContext,r.pendingContext!==r.context):r.context&&Rg(e,r.context,!1),au(e,r.containerInfo)}function Pv(e,r,i,a,d){return pn(),tu(d),r.flags|=256,kt(e,r,i,a),r.child}var Bu={dehydrated:null,treeContext:null,retryLane:0};function Nu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Rv(e,r,i){var a=r.pendingProps,d=He.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(He,d&1),e===null)return eu(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=Ss(w,a,0,null),e=Io(e,a,i,null),h.return=r,e.return=r,h.sibling=e,r.child=h,r.child.memoizedState=Nu(i),r.memoizedState=Bu,e):Tu(r,w));if(d=e.memoizedState,d!==null&&(C=d.dehydrated,C!==null))return d3(e,r,w,a,C,d,i);if(h){h=a.fallback,w=r.mode,d=e.child,C=d.sibling;var E={mode:"hidden",children:a.children};return(w&1)===0&&r.child!==d?(a=r.child,a.childLanes=0,a.pendingProps=E,r.deletions=null):(a=ho(d,E),a.subtreeFlags=d.subtreeFlags&14680064),C!==null?h=ho(C,h):(h=Io(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?Nu(i):{baseLanes:w.baseLanes|i,cachePool:null,transitions:w.transitions},h.memoizedState=w,h.childLanes=e.childLanes&~i,r.memoizedState=Bu,a}return h=e.child,e=h.sibling,a=ho(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 Tu(e,r){return r=Ss({mode:"visible",children:r},e.mode,0,null),r.return=e,e.child=r}function us(e,r,i,a){return a!==null&&tu(a),hn(r,e.child,null,i),e=Tu(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function d3(e,r,i,a,d,h,w){if(i)return r.flags&256?(r.flags&=-257,a=xu(Error(n(422))),us(e,r,w,a)):r.memoizedState!==null?(r.child=e.child,r.flags|=128,null):(h=a.fallback,d=r.mode,a=Ss({mode:"visible",children:a.children},d,0,null),h=Io(h,d,w,null),h.flags|=2,a.return=r,h.return=r,a.sibling=h,r.child=a,(r.mode&1)!==0&&hn(r,e.child,null,w),r.child.memoizedState=Nu(w),r.memoizedState=Bu,h);if((r.mode&1)===0)return us(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=xu(h,a,void 0),us(e,r,w,a)}if(C=(w&e.childLanes)!==0,Pt||C){if(a=lt,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 $u(),a=xu(Error(n(421))),us(e,r,w,a)}return d.data==="$?"?(r.flags|=128,r.child=e.child,r=_3.bind(null,e),d._reactRetry=r,null):(e=h.treeContext,Lt=ro(d.nextSibling),Mt=r,Me=!0,ar=null,e!==null&&(Gt[Kt++]=Dr,Gt[Kt++]=jr,Gt[Kt++]=Co,Dr=e.id,jr=e.overflow,Co=r),r=Tu(r,a.children),r.flags|=4096,r)}function Fv(e,r,i){e.lanes|=r;var a=e.alternate;a!==null&&(a.lanes|=r),iu(e.return,r,i)}function zu(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 Iv(e,r,i){var a=r.pendingProps,d=a.revealOrder,h=a.tail;if(kt(e,r,a.children,i),a=He.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&&Fv(e,i,r);else if(e.tag===19)Fv(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(He,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&&os(e)===null&&(d=i),i=i.sibling;i=d,i===null?(d=r.child,r.child=null):(d=i.sibling,i.sibling=null),zu(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&&os(e)===null){r.child=d;break}e=d.sibling,d.sibling=i,i=d,d=e}zu(r,!0,i,null,h);break;case"together":zu(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function ds(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=ho(e,e.pendingProps),r.child=i,i.return=r;e.sibling!==null;)e=e.sibling,i=i.sibling=ho(e,e.pendingProps),i.return=r;i.sibling=null}return r.child}function f3(e,r,i){switch(r.tag){case 3:Ev(r),pn();break;case 5:Kg(r);break;case 1:Et(r.type)&&Gl(r);break;case 4:au(r,r.stateNode.containerInfo);break;case 10:var a=r.type._context,d=r.memoizedProps.value;De(Zl,a._currentValue),a._currentValue=d;break;case 13:if(a=r.memoizedState,a!==null)return a.dehydrated!==null?(De(He,He.current&1),r.flags|=128,null):(i&r.child.childLanes)!==0?Rv(e,r,i):(De(He,He.current&1),e=Mr(e,r,i),e!==null?e.sibling:null);De(He,He.current&1);break;case 19:if(a=(i&r.childLanes)!==0,(e.flags&128)!==0){if(a)return Iv(e,r,i);r.flags|=128}if(d=r.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),De(He,He.current),a)break;return null;case 22:case 23:return r.lanes=0,Nv(e,r,i)}return Mr(e,r,i)}var Dv,Eu,jv,Ov;Dv=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(){},jv=function(e,r,i,a){var d=e.memoizedProps;if(d!==a){e=r.stateNode,To(Sr.current);var h=null;switch(i){case"input":d=ic(e,d),a=ic(e,a),h=[];break;case"select":d=Y({},d,{value:void 0}),a=Y({},a,{value:void 0}),h=[];break;case"textarea":d=ac(e,d),a=ac(e,a),h=[];break;default:typeof d.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=$l)}uc(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"&&(s.hasOwnProperty(O)?h||(h=[]):(h=h||[]).push(O,null));for(O in a){var E=a[O];if(C=d?.[O],a.hasOwnProperty(O)&&E!==C&&(E!=null||C!=null))if(O==="style")if(C){for(w in C)!C.hasOwnProperty(w)||E&&E.hasOwnProperty(w)||(i||(i={}),i[w]="");for(w in E)E.hasOwnProperty(w)&&C[w]!==E[w]&&(i||(i={}),i[w]=E[w])}else i||(h||(h=[]),h.push(O,i)),i=E;else O==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,C=C?C.__html:void 0,E!=null&&C!==E&&(h=h||[]).push(O,E)):O==="children"?typeof E!="string"&&typeof E!="number"||(h=h||[]).push(O,""+E):O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&(s.hasOwnProperty(O)?(E!=null&&O==="onScroll"&&je("scroll",e),h||C===E||(h=[])):(h=h||[]).push(O,E))}i&&(h=h||[]).push("style",i);var O=h;(r.updateQueue=O)&&(r.flags|=4)}},Ov=function(e,r,i,a){i!==a&&(r.flags|=4)};function ki(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 p3(e,r,i){var a=r.pendingProps;switch(Jc(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 Et(r.type)&&Ul(),vt(r),null;case 3:return a=r.stateNode,vn(),Oe(zt),Oe(mt),du(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Yl(r)?r.flags|=4:e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,ar!==null&&(qu(ar),ar=null))),Eu(e,r),vt(r),null;case 5:cu(r);var d=To(gi.current);if(i=r.type,e!==null&&r.stateNode!=null)jv(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=To(Sr.current),Yl(r)){a=r.stateNode,i=r.type;var h=r.memoizedProps;switch(a[xr]=r,a[di]=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<ai.length;d++)je(ai[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":vm(a,h),je("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!h.multiple},je("invalid",a);break;case"textarea":wm(a,h),je("invalid",a)}uc(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&&Wl(a.textContent,C,e),d=["children",C]):typeof C=="number"&&a.textContent!==""+C&&(h.suppressHydrationWarning!==!0&&Wl(a.textContent,C,e),d=["children",""+C]):s.hasOwnProperty(w)&&C!=null&&w==="onScroll"&&je("scroll",a)}switch(i){case"input":wl(a),ym(a,h,!0);break;case"textarea":wl(a),xm(a);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(a.onclick=$l)}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=Sm(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[xr]=r,e[di]=a,Dv(e,r,!1,!1),r.stateNode=e;e:{switch(w=dc(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<ai.length;d++)je(ai[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":vm(e,a),d=ic(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":wm(e,a),d=ac(e,a),je("invalid",e);break;default:d=a}uc(i,d),C=d;for(h in C)if(C.hasOwnProperty(h)){var E=C[h];h==="style"?Bm(e,E):h==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&_m(e,E)):h==="children"?typeof E=="string"?(i!=="textarea"||E!=="")&&Wn(e,E):typeof E=="number"&&Wn(e,""+E):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(s.hasOwnProperty(h)?E!=null&&h==="onScroll"&&je("scroll",e):E!=null&&N(e,h,E,w))}switch(i){case"input":wl(e),ym(e,a,!1);break;case"textarea":wl(e),xm(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?Yo(e,!!a.multiple,h,!1):a.defaultValue!=null&&Yo(e,!!a.multiple,a.defaultValue,!0);break;default:typeof d.onClick=="function"&&(e.onclick=$l)}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)Ov(e,r,e.memoizedProps,a);else{if(typeof a!="string"&&r.stateNode===null)throw Error(n(166));if(i=To(gi.current),To(Sr.current),Yl(r)){if(a=r.stateNode,i=r.memoizedProps,a[xr]=r,(h=a.nodeValue!==i)&&(e=Mt,e!==null))switch(e.tag){case 3:Wl(a.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Wl(a.nodeValue,i,(e.mode&1)!==0)}h&&(r.flags|=4)}else a=(i.nodeType===9?i:i.ownerDocument).createTextNode(a),a[xr]=r,r.stateNode=a}return vt(r),null;case 13:if(Oe(He),a=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Me&&Lt!==null&&(r.mode&1)!==0&&(r.flags&128)===0)Lg(),pn(),r.flags|=98560,h=!1;else if(h=Yl(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[xr]=r}else pn(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;vt(r),h=!1}else ar!==null&&(qu(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||(He.current&1)!==0?nt===0&&(nt=3):$u())),r.updateQueue!==null&&(r.flags|=4),vt(r),null);case 4:return vn(),Eu(e,r),e===null&&ci(r.stateNode.containerInfo),vt(r),null;case 10:return nu(r.type._context),vt(r),null;case 17:return Et(r.type)&&Ul(),vt(r),null;case 19:if(Oe(He),h=r.memoizedState,h===null)return vt(r),null;if(a=(r.flags&128)!==0,w=h.rendering,w===null)if(a)ki(h,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(w=os(e),w!==null){for(r.flags|=128,ki(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(He,He.current&1|2),r.child}e=e.sibling}h.tail!==null&&Qe()>kn&&(r.flags|=128,a=!0,ki(h,!1),r.lanes=4194304)}else{if(!a)if(e=os(w),e!==null){if(r.flags|=128,a=!0,i=e.updateQueue,i!==null&&(r.updateQueue=i,r.flags|=4),ki(h,!0),h.tail===null&&h.tailMode==="hidden"&&!w.alternate&&!Me)return vt(r),null}else 2*Qe()-h.renderingStartTime>kn&&i!==1073741824&&(r.flags|=128,a=!0,ki(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=He.current,De(He,a?i&1|2:i&1),r):(vt(r),null);case 22:case 23:return Wu(),a=r.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(r.flags|=8192),a&&(r.mode&1)!==0?(qt&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 h3(e,r){switch(Jc(r),r.tag){case 1:return Et(r.type)&&Ul(),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return vn(),Oe(zt),Oe(mt),du(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 5:return cu(r),null;case 13:if(Oe(He),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(n(340));pn()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Oe(He),null;case 4:return vn(),null;case 10:return nu(r.type._context),null;case 22:case 23:return Wu(),null;case 24:return null;default:return null}}var fs=!1,bt=!1,m3=typeof WeakSet=="function"?WeakSet:Set,oe=null;function yn(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 Pu(e,r,i){try{i()}catch(a){Ue(e,r,a)}}var Av=!1;function g3(e,r){if(Wc=Rl,e=gg(),Dc(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,E=-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||(E=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&&(E=w),(J=G.nextSibling)!==null)break;G=W,W=G.parentNode}G=J}i=C===-1||E===-1?null:{start:C,end:E}}else i=null}i=i||{start:0,end:0}}else i=null;for($c={focusedElem:e,selectionRange:i},Rl=!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=Av,Av=!1,ne}function xi(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&&Pu(r,i,h)}d=d.next}while(d!==a)}}function ps(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 Ru(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 Mv(e){var r=e.alternate;r!==null&&(e.alternate=null,Mv(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&(delete r[xr],delete r[di],delete r[Kc],delete r[JB],delete r[ZB])),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 Lv(e){return e.tag===5||e.tag===3||e.tag===4}function qv(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lv(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 Fu(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=$l));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}function Iu(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(Iu(e,r,i),e=e.sibling;e!==null;)Iu(e,r,i),e=e.sibling}var ct=null,ur=!1;function ao(e,r,i){for(i=i.child;i!==null;)Hv(e,r,i),i=i.sibling}function Hv(e,r,i){if(kr&&typeof kr.onCommitFiberUnmount=="function")try{kr.onCommitFiberUnmount(Bl,i)}catch{}switch(i.tag){case 5:bt||yn(i,r);case 6:var a=ct,d=ur;ct=null,ao(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?Gc(e.parentNode,i):e.nodeType===1&&Gc(e,i),ei(e)):Gc(ct,i.stateNode));break;case 4:a=ct,d=ur,ct=i.stateNode.containerInfo,ur=!0,ao(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)&&Pu(i,r,w),d=d.next}while(d!==a)}ao(e,r,i);break;case 1:if(!bt&&(yn(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)}ao(e,r,i);break;case 21:ao(e,r,i);break;case 22:i.mode&1?(bt=(a=bt)||i.memoizedState!==null,ao(e,r,i),bt=a):ao(e,r,i);break;default:ao(e,r,i)}}function Wv(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new m3),r.forEach(function(a){var d=C3.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));Hv(h,w,d),ct=null,ur=!1;var E=d.alternate;E!==null&&(E.return=null),d.return=null}catch(O){Ue(d,r,O)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)$v(r,e),r=r.sibling}function $v(e,r){var i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(dr(r,e),Cr(e),a&4){try{xi(3,e,e.return),ps(3,e)}catch(ie){Ue(e,e.return,ie)}try{xi(5,e,e.return)}catch(ie){Ue(e,e.return,ie)}}break;case 1:dr(r,e),Cr(e),a&512&&i!==null&&yn(i,i.return);break;case 5:if(dr(r,e),Cr(e),a&512&&i!==null&&yn(i,i.return),e.flags&32){var d=e.stateNode;try{Wn(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,E=e.updateQueue;if(e.updateQueue=null,E!==null)try{C==="input"&&h.type==="radio"&&h.name!=null&&bm(d,h),dc(C,w);var O=dc(C,h);for(w=0;w<E.length;w+=2){var V=E[w],G=E[w+1];V==="style"?Bm(d,G):V==="dangerouslySetInnerHTML"?_m(d,G):V==="children"?Wn(d,G):N(d,V,G,O)}switch(C){case"input":lc(d,h);break;case"textarea":km(d,h);break;case"select":var W=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!h.multiple;var J=h.value;J!=null?Yo(d,!!h.multiple,J,!1):W!==!!h.multiple&&(h.defaultValue!=null?Yo(d,!!h.multiple,h.defaultValue,!0):Yo(d,!!h.multiple,h.multiple?[]:"",!1))}d[di]=h}catch(ie){Ue(e,e.return,ie)}}break;case 6:if(dr(r,e),Cr(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),Cr(e),a&4&&i!==null&&i.memoizedState.isDehydrated)try{ei(r.containerInfo)}catch(ie){Ue(e,e.return,ie)}break;case 4:dr(r,e),Cr(e);break;case 13:dr(r,e),Cr(e),d=e.child,d.flags&8192&&(h=d.memoizedState!==null,d.stateNode.isHidden=h,!h||d.alternate!==null&&d.alternate.memoizedState!==null||(Ou=Qe())),a&4&&Wv(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),Cr(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:xi(4,W,W.return);break;case 1:yn(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:yn(W,W.return);break;case 22:if(W.memoizedState!==null){Gv(G);continue}}J!==null?(J.return=W,oe=J):Gv(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,E=G.memoizedProps.style,w=E!=null&&E.hasOwnProperty("display")?E.display:null,C.style.display=Cm("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),Cr(e),a&4&&Wv(e);break;case 21:break;default:dr(r,e),Cr(e)}}function Cr(e){var r=e.flags;if(r&2){try{e:{for(var i=e.return;i!==null;){if(Lv(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&&(Wn(d,""),a.flags&=-33);var h=qv(e);Iu(e,h,d);break;case 3:case 4:var w=a.stateNode.containerInfo,C=qv(e);Fu(e,C,w);break;default:throw Error(n(161))}}catch(E){Ue(e,e.return,E)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function v3(e,r,i){oe=e,Vv(e)}function Vv(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||fs;if(!w){var C=d.alternate,E=C!==null&&C.memoizedState!==null||bt;C=fs;var O=bt;if(fs=w,(bt=E)&&!O)for(oe=d;oe!==null;)w=oe,E=w.child,w.tag===22&&w.memoizedState!==null?Kv(d):E!==null?(E.return=w,oe=E):Kv(d);for(;h!==null;)oe=h,Vv(h),h=h.sibling;oe=d,fs=C,bt=O}Uv(e)}else(d.subtreeFlags&8772)!==0&&h!==null?(h.return=d,oe=h):Uv(e)}}function Uv(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||ps(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&&Gg(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}Gg(r,w,i)}break;case 5:var C=r.stateNode;if(i===null&&r.flags&4){i=C;var E=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&i.focus();break;case"img":E.src&&(i.src=E.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&&ei(G)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}bt||r.flags&512&&Ru(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 Gv(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 Kv(e){for(;oe!==null;){var r=oe;try{switch(r.tag){case 0:case 11:case 15:var i=r.return;try{ps(4,r)}catch(E){Ue(r,i,E)}break;case 1:var a=r.stateNode;if(typeof a.componentDidMount=="function"){var d=r.return;try{a.componentDidMount()}catch(E){Ue(r,d,E)}}var h=r.return;try{Ru(r)}catch(E){Ue(r,h,E)}break;case 5:var w=r.return;try{Ru(r)}catch(E){Ue(r,w,E)}}}catch(E){Ue(r,r.return,E)}if(r===e){oe=null;break}var C=r.sibling;if(C!==null){C.return=r.return,oe=C;break}oe=r.return}}var b3=Math.ceil,hs=T.ReactCurrentDispatcher,Du=T.ReactCurrentOwner,Yt=T.ReactCurrentBatchConfig,Se=0,lt=null,Ze=null,ut=0,qt=0,wn=oo(0),nt=0,Si=null,Eo=0,ms=0,ju=0,_i=null,Rt=null,Ou=0,kn=1/0,Lr=null,gs=!1,Au=null,co=null,vs=!1,uo=null,bs=0,Ci=0,Mu=null,ys=-1,ws=0;function xt(){return(Se&6)!==0?Qe():ys!==-1?ys:ys=Qe()}function fo(e){return(e.mode&1)===0?1:(Se&2)!==0&&ut!==0?ut&-ut:t3.transition!==null?(ws===0&&(ws=qm()),ws):(e=Pe,e!==0||(e=window.event,e=e===void 0?16:Qm(e.type)),e)}function fr(e,r,i,a){if(50<Ci)throw Ci=0,Mu=null,Error(n(185));Xn(e,i,a),((Se&2)===0||e!==lt)&&(e===lt&&((Se&2)===0&&(ms|=i),nt===4&&po(e,ut)),Ft(e,a),i===1&&Se===0&&(r.mode&1)===0&&(kn=Qe()+500,Kl&&io()))}function Ft(e,r){var i=e.callbackNode;tB(e,r);var a=zl(e,e===lt?ut:0);if(a===0)i!==null&&Am(i),e.callbackNode=null,e.callbackPriority=0;else if(r=a&-a,e.callbackPriority!==r){if(i!=null&&Am(i),r===1)e.tag===0?e3(Qv.bind(null,e)):Dg(Qv.bind(null,e)),QB(function(){(Se&6)===0&&io()}),i=null;else{switch(Hm(a)){case 1:i=bc;break;case 4:i=Mm;break;case 16:i=Cl;break;case 536870912:i=Lm;break;default:i=Cl}i=n0(i,Xv.bind(null,e))}e.callbackPriority=r,e.callbackNode=i}}function Xv(e,r){if(ys=-1,ws=0,(Se&6)!==0)throw Error(n(327));var i=e.callbackNode;if(xn()&&e.callbackNode!==i)return null;var a=zl(e,e===lt?ut:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||r)r=ks(e,a);else{r=a;var d=Se;Se|=2;var h=Jv();(lt!==e||ut!==r)&&(Lr=null,kn=Qe()+500,Ro(e,r));do try{k3();break}catch(C){Yv(e,C)}while(!0);ou(),hs.current=h,Se=d,Ze!==null?r=0:(lt=null,ut=0,r=nt)}if(r!==0){if(r===2&&(d=yc(e),d!==0&&(a=d,r=Lu(e,d))),r===1)throw i=Si,Ro(e,0),po(e,a),Ft(e,Qe()),i;if(r===6)po(e,a);else{if(d=e.current.alternate,(a&30)===0&&!y3(d)&&(r=ks(e,a),r===2&&(h=yc(e),h!==0&&(a=h,r=Lu(e,h))),r===1))throw i=Si,Ro(e,0),po(e,a),Ft(e,Qe()),i;switch(e.finishedWork=d,e.finishedLanes=a,r){case 0:case 1:throw Error(n(345));case 2:Fo(e,Rt,Lr);break;case 3:if(po(e,a),(a&130023424)===a&&(r=Ou+500-Qe(),10<r)){if(zl(e,0)!==0)break;if(d=e.suspendedLanes,(d&a)!==a){xt(),e.pingedLanes|=e.suspendedLanes&d;break}e.timeoutHandle=Uc(Fo.bind(null,e,Rt,Lr),r);break}Fo(e,Rt,Lr);break;case 4:if(po(e,a),(a&4194240)===a)break;for(r=e.eventTimes,d=-1;0<a;){var w=31-lr(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*b3(a/1960))-a,10<a){e.timeoutHandle=Uc(Fo.bind(null,e,Rt,Lr),a);break}Fo(e,Rt,Lr);break;case 5:Fo(e,Rt,Lr);break;default:throw Error(n(329))}}}return Ft(e,Qe()),e.callbackNode===i?Xv.bind(null,e):null}function Lu(e,r){var i=_i;return e.current.memoizedState.isDehydrated&&(Ro(e,r).flags|=256),e=ks(e,r),e!==2&&(r=Rt,Rt=i,r!==null&&qu(r)),e}function qu(e){Rt===null?Rt=e:Rt.push.apply(Rt,e)}function y3(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(!sr(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 po(e,r){for(r&=~ju,r&=~ms,e.suspendedLanes|=r,e.pingedLanes&=~r,e=e.expirationTimes;0<r;){var i=31-lr(r),a=1<<i;e[i]=-1,r&=~a}}function Qv(e){if((Se&6)!==0)throw Error(n(327));xn();var r=zl(e,0);if((r&1)===0)return Ft(e,Qe()),null;var i=ks(e,r);if(e.tag!==0&&i===2){var a=yc(e);a!==0&&(r=a,i=Lu(e,a))}if(i===1)throw i=Si,Ro(e,0),po(e,r),Ft(e,Qe()),i;if(i===6)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=r,Fo(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&&(kn=Qe()+500,Kl&&io())}}function Po(e){uo!==null&&uo.tag===0&&(Se&6)===0&&xn();var r=Se;Se|=1;var i=Yt.transition,a=Pe;try{if(Yt.transition=null,Pe=1,e)return e()}finally{Pe=a,Yt.transition=i,Se=r,(Se&6)===0&&io()}}function Wu(){qt=wn.current,Oe(wn)}function Ro(e,r){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,XB(i)),Ze!==null)for(i=Ze.return;i!==null;){var a=i;switch(Jc(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Ul();break;case 3:vn(),Oe(zt),Oe(mt),du();break;case 5:cu(a);break;case 4:vn();break;case 13:Oe(He);break;case 19:Oe(He);break;case 10:nu(a.type._context);break;case 22:case 23:Wu()}i=i.return}if(lt=e,Ze=e=ho(e.current,null),ut=qt=r,nt=0,Si=null,ju=ms=Eo=0,Rt=_i=null,No!==null){for(r=0;r<No.length;r++)if(i=No[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}No=null}return e}function Yv(e,r){do{var i=Ze;try{if(ou(),ns.current=as,is){for(var a=We.memoizedState;a!==null;){var d=a.queue;d!==null&&(d.pending=null),a=a.next}is=!1}if(zo=0,it=ot=We=null,vi=!1,bi=0,Du.current=null,i===null||i.return===null){nt=1,Si=r,Ze=null;break}e:{var h=e,w=i.return,C=i,E=r;if(r=ut,C.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var O=E,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=xv(w);if(J!==null){J.flags&=-257,Sv(J,w,C,h,r),J.mode&1&&kv(h,O,r),r=J,E=O;var ne=r.updateQueue;if(ne===null){var ie=new Set;ie.add(E),r.updateQueue=ie}else ne.add(E);break e}else{if((r&1)===0){kv(h,O,r),$u();break e}E=Error(n(426))}}else if(Me&&C.mode&1){var Ye=xv(w);if(Ye!==null){(Ye.flags&65536)===0&&(Ye.flags|=256),Sv(Ye,w,C,h,r),tu(bn(E,C));break e}}h=E=bn(E,C),nt!==4&&(nt=2),_i===null?_i=[h]:_i.push(h),h=w;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var I=yv(h,E,r);Ug(h,I);break e;case 1:C=E;var P=h.type,j=h.stateNode;if((h.flags&128)===0&&(typeof P.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(co===null||!co.has(j)))){h.flags|=65536,r&=-r,h.lanes|=r;var K=wv(h,C,r);Ug(h,K);break e}}h=h.return}while(h!==null)}e0(i)}catch(se){r=se,Ze===i&&i!==null&&(Ze=i=i.return);continue}break}while(!0)}function Jv(){var e=hs.current;return hs.current=as,e===null?as:e}function $u(){(nt===0||nt===3||nt===2)&&(nt=4),lt===null||(Eo&268435455)===0&&(ms&268435455)===0||po(lt,ut)}function ks(e,r){var i=Se;Se|=2;var a=Jv();(lt!==e||ut!==r)&&(Lr=null,Ro(e,r));do try{w3();break}catch(d){Yv(e,d)}while(!0);if(ou(),Se=i,hs.current=a,Ze!==null)throw Error(n(261));return lt=null,ut=0,nt}function w3(){for(;Ze!==null;)Zv(Ze)}function k3(){for(;Ze!==null&&!U5();)Zv(Ze)}function Zv(e){var r=o0(e.alternate,e,qt);e.memoizedProps=e.pendingProps,r===null?e0(e):Ze=r,Du.current=null}function e0(e){var r=e;do{var i=r.alternate;if(e=r.return,(r.flags&32768)===0){if(i=p3(i,r,qt),i!==null){Ze=i;return}}else{if(i=h3(i,r),i!==null){i.flags&=32767,Ze=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{nt=6,Ze=null;return}}if(r=r.sibling,r!==null){Ze=r;return}Ze=r=e}while(r!==null);nt===0&&(nt=5)}function Fo(e,r,i){var a=Pe,d=Yt.transition;try{Yt.transition=null,Pe=1,x3(e,r,i,a)}finally{Yt.transition=d,Pe=a}return null}function x3(e,r,i,a){do xn();while(uo!==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(rB(e,h),e===lt&&(Ze=lt=null,ut=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||vs||(vs=!0,n0(Cl,function(){return xn(),null})),h=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||h){h=Yt.transition,Yt.transition=null;var w=Pe;Pe=1;var C=Se;Se|=4,Du.current=null,g3(e,i),$v(i,e),HB($c),Rl=!!Wc,$c=Wc=null,e.current=i,v3(i),G5(),Se=C,Pe=w,Yt.transition=h}else e.current=i;if(vs&&(vs=!1,uo=e,bs=d),h=e.pendingLanes,h===0&&(co=null),Q5(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(gs)throw gs=!1,e=Au,Au=null,e;return(bs&1)!==0&&e.tag!==0&&xn(),h=e.pendingLanes,(h&1)!==0?e===Mu?Ci++:(Ci=0,Mu=e):Ci=0,io(),null}function xn(){if(uo!==null){var e=Hm(bs),r=Yt.transition,i=Pe;try{if(Yt.transition=null,Pe=16>e?16:e,uo===null)var a=!1;else{if(e=uo,uo=null,bs=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 E=0;E<C.length;E++){var O=C[E];for(oe=O;oe!==null;){var V=oe;switch(V.tag){case 0:case 11:case 15:xi(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(Mv(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:xi(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:ps(9,C)}}catch(se){Ue(C,C.return,se)}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,io(),kr&&typeof kr.onPostCommitFiberRoot=="function")try{kr.onPostCommitFiberRoot(Bl,e)}catch{}a=!0}return a}finally{Pe=i,Yt.transition=r}}return!1}function t0(e,r,i){r=bn(i,r),r=yv(e,r,1),e=so(e,r,1),r=xt(),e!==null&&(Xn(e,1,r),Ft(e,r))}function Ue(e,r,i){if(e.tag===3)t0(e,e,i);else for(;r!==null;){if(r.tag===3){t0(r,e,i);break}else if(r.tag===1){var a=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(co===null||!co.has(a))){e=bn(i,e),e=wv(r,e,1),r=so(r,e,1),e=xt(),r!==null&&(Xn(r,1,e),Ft(r,e));break}}r=r.return}}function S3(e,r,i){var a=e.pingCache;a!==null&&a.delete(r),r=xt(),e.pingedLanes|=e.suspendedLanes&i,lt===e&&(ut&i)===i&&(nt===4||nt===3&&(ut&130023424)===ut&&500>Qe()-Ou?Ro(e,0):ju|=i),Ft(e,r)}function r0(e,r){r===0&&((e.mode&1)===0?r=1:(r=Tl,Tl<<=1,(Tl&130023424)===0&&(Tl=4194304)));var i=xt();e=Or(e,r),e!==null&&(Xn(e,r,i),Ft(e,i))}function _3(e){var r=e.memoizedState,i=0;r!==null&&(i=r.retryLane),r0(e,i)}function C3(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),r0(e,i)}var o0;o0=function(e,r,i){if(e!==null)if(e.memoizedProps!==r.pendingProps||zt.current)Pt=!0;else{if((e.lanes&i)===0&&(r.flags&128)===0)return Pt=!1,f3(e,r,i);Pt=(e.flags&131072)!==0}else Pt=!1,Me&&(r.flags&1048576)!==0&&jg(r,Ql,r.index);switch(r.lanes=0,r.tag){case 2:var a=r.type;ds(e,r),e=r.pendingProps;var d=un(r,mt.current);gn(r,i),d=hu(null,r,a,e,d,i);var h=mu();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,Et(a)?(h=!0,Gl(r)):h=!1,r.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,su(r),d.updater=cs,r.stateNode=d,d._reactInternals=r,ku(r,a,e,i),r=Cu(null,r,a,!0,h,i)):(r.tag=0,Me&&h&&Yc(r),kt(null,r,d,i),r=r.child),r;case 16:a=r.elementType;e:{switch(ds(e,r),e=r.pendingProps,d=a._init,a=d(a._payload),r.type=a,d=r.tag=N3(a),e=cr(a,e),d){case 0:r=_u(null,r,a,e,i);break e;case 1:r=zv(null,r,a,e,i);break e;case 11:r=_v(null,r,a,e,i);break e;case 14:r=Cv(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),_u(e,r,a,d,i);case 1:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:cr(a,d),zv(e,r,a,d,i);case 3:e:{if(Ev(r),e===null)throw Error(n(387));a=r.pendingProps,h=r.memoizedState,d=h.element,Vg(e,r),rs(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=bn(Error(n(423)),r),r=Pv(e,r,a,i,d);break e}else if(a!==d){d=bn(Error(n(424)),r),r=Pv(e,r,a,i,d);break e}else for(Lt=ro(r.stateNode.containerInfo.firstChild),Mt=r,Me=!0,ar=null,i=Wg(r,null,a,i),r.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(pn(),a===d){r=Mr(e,r,i);break e}kt(e,r,a,i)}r=r.child}return r;case 5:return Kg(r),e===null&&eu(r),a=r.type,d=r.pendingProps,h=e!==null?e.memoizedProps:null,w=d.children,Vc(a,d)?w=null:h!==null&&Vc(a,h)&&(r.flags|=32),Tv(e,r),kt(e,r,w,i),r.child;case 6:return e===null&&eu(r),null;case 13:return Rv(e,r,i);case 4:return au(r,r.stateNode.containerInfo),a=r.pendingProps,e===null?r.child=hn(r,null,a,i):kt(e,r,a,i),r.child;case 11:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:cr(a,d),_v(e,r,a,d,i);case 7:return kt(e,r,r.pendingProps,i),r.child;case 8:return kt(e,r,r.pendingProps.children,i),r.child;case 12:return kt(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(Zl,a._currentValue),a._currentValue=w,h!==null)if(sr(h.value,w)){if(h.children===d.children&&!zt.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 E=C.firstContext;E!==null;){if(E.context===a){if(h.tag===1){E=Ar(-1,i&-i),E.tag=2;var O=h.updateQueue;if(O!==null){O=O.shared;var V=O.pending;V===null?E.next=E:(E.next=V.next,V.next=E),O.pending=E}}h.lanes|=i,E=h.alternate,E!==null&&(E.lanes|=i),iu(h.return,i,r),C.lanes|=i;break}E=E.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),iu(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}kt(e,r,d.children,i),r=r.child}return r;case 9:return d=r.type,a=r.pendingProps.children,gn(r,i),d=Xt(d),a=a(d),r.flags|=1,kt(e,r,a,i),r.child;case 14:return a=r.type,d=cr(a,r.pendingProps),d=cr(a.type,d),Cv(e,r,a,d,i);case 15:return Bv(e,r,r.type,r.pendingProps,i);case 17:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:cr(a,d),ds(e,r),r.tag=1,Et(a)?(e=!0,Gl(r)):e=!1,gn(r,i),vv(r,a,d),ku(r,a,d,i),Cu(null,r,a,!0,e,i);case 19:return Iv(e,r,i);case 22:return Nv(e,r,i)}throw Error(n(156,r.tag))};function n0(e,r){return Om(e,r)}function B3(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 B3(e,r,i,a)}function Vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function N3(e){if(typeof e=="function")return Vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===he)return 11;if(e===xe)return 14}return 2}function ho(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 xs(e,r,i,a,d,h){var w=2;if(a=e,typeof e=="function")Vu(e)&&(w=1);else if(typeof e=="string")w=5;else e:switch(e){case A:return Io(i.children,d,h,r);case q:w=8,d|=8;break;case Q:return e=Jt(12,i,r,d|2),e.elementType=Q,e.lanes=h,e;case H:return e=Jt(13,i,r,d),e.elementType=H,e.lanes=h,e;case re:return e=Jt(19,i,r,d),e.elementType=re,e.lanes=h,e;case pe:return Ss(i,d,h,r);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ee: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 Io(e,r,i,a){return e=Jt(7,e,a,r),e.lanes=i,e}function Ss(e,r,i,a){return e=Jt(22,e,a,r),e.elementType=pe,e.lanes=i,e.stateNode={isHidden:!1},e}function Uu(e,r,i){return e=Jt(6,e,null,r),e.lanes=i,e}function Gu(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 T3(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=wc(0),this.expirationTimes=wc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wc(0),this.identifierPrefix=a,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function Ku(e,r,i,a,d,h,w,C,E){return e=new T3(e,r,i,C,E),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 z3(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 i0(e){if(!e)return no;e=e._reactInternals;e:{if(xo(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(Et(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(Et(i))return Fg(e,i,r)}return r}function l0(e,r,i,a,d,h,w,C,E){return e=Ku(i,a,!0,e,d,h,w,C,E),e.context=i0(null),i=e.current,a=xt(),d=fo(i),h=Ar(a,d),h.callback=r??null,so(i,h,d),e.current.lanes=d,Xn(e,d,a),Ft(e,a),e}function _s(e,r,i,a){var d=r.current,h=xt(),w=fo(d);return i=i0(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=so(d,r,w),e!==null&&(fr(e,d,w,h),ts(e,d,w)),w}function Cs(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 s0(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<r?i:r}}function Xu(e,r){s0(e,r),(e=e.alternate)&&s0(e,r)}function E3(){return null}var a0=typeof reportError=="function"?reportError:function(e){console.error(e)};function Qu(e){this._internalRoot=e}Bs.prototype.render=Qu.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(n(409));_s(e,r,null,null)},Bs.prototype.unmount=Qu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;Po(function(){_s(null,e,null,null)}),r[Fr]=null}};function Bs(e){this._internalRoot=e}Bs.prototype.unstable_scheduleHydration=function(e){if(e){var r=Vm();e={blockedOn:null,target:e,priority:r};for(var i=0;i<Zr.length&&r!==0&&r<Zr[i].priority;i++);Zr.splice(i,0,e),i===0&&Km(e)}};function Yu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ns(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function c0(){}function P3(e,r,i,a,d){if(d){if(typeof a=="function"){var h=a;a=function(){var O=Cs(w);h.call(O)}}var w=l0(r,a,e,0,null,!1,!1,"",c0);return e._reactRootContainer=w,e[Fr]=w.current,ci(e.nodeType===8?e.parentNode:e),Po(),w}for(;d=e.lastChild;)e.removeChild(d);if(typeof a=="function"){var C=a;a=function(){var O=Cs(E);C.call(O)}}var E=Ku(e,0,!1,null,null,!1,!1,"",c0);return e._reactRootContainer=E,e[Fr]=E.current,ci(e.nodeType===8?e.parentNode:e),Po(function(){_s(r,E,i,a)}),E}function Ts(e,r,i,a,d){var h=i._reactRootContainer;if(h){var w=h;if(typeof d=="function"){var C=d;d=function(){var E=Cs(w);C.call(E)}}_s(r,w,e,d)}else w=P3(i,r,e,d,a);return Cs(w)}Wm=function(e){switch(e.tag){case 3:var r=e.stateNode;if(r.current.memoizedState.isDehydrated){var i=Kn(r.pendingLanes);i!==0&&(kc(r,i|1),Ft(r,Qe()),(Se&6)===0&&(kn=Qe()+500,io()))}break;case 13:Po(function(){var a=Or(e,1);if(a!==null){var d=xt();fr(a,e,1,d)}}),Xu(e,1)}},xc=function(e){if(e.tag===13){var r=Or(e,134217728);if(r!==null){var i=xt();fr(r,e,134217728,i)}Xu(e,134217728)}},$m=function(e){if(e.tag===13){var r=fo(e),i=Or(e,r);if(i!==null){var a=xt();fr(i,e,r,a)}Xu(e,r)}},Vm=function(){return Pe},Um=function(e,r){var i=Pe;try{return Pe=e,r()}finally{Pe=i}},hc=function(e,r,i){switch(r){case"input":if(lc(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=Vl(a);if(!d)throw Error(n(90));gm(a),lc(a,d)}}}break;case"textarea":km(e,i);break;case"select":r=i.value,r!=null&&Yo(e,!!i.multiple,r,!1)}},Em=Hu,Pm=Po;var R3={usingClientEntryPoint:!1,Events:[fi,an,Vl,Tm,zm,Hu]},Bi={findFiberByHostInstance:So,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},F3={bundleType:Bi.bundleType,version:Bi.version,rendererPackageName:Bi.rendererPackageName,rendererConfig:Bi.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=Dm(e),e===null?null:e.stateNode},findFiberByHostInstance:Bi.findFiberByHostInstance||E3,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 zs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zs.isDisabled&&zs.supportsFiber)try{Bl=zs.inject(F3),kr=zs}catch{}}return St.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R3,St.createPortal=function(e,r){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Yu(r))throw Error(n(200));return z3(e,r,null,i)},St.createRoot=function(e,r){if(!Yu(e))throw Error(n(299));var i=!1,a="",d=a0;return r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(d=r.onRecoverableError)),r=Ku(e,1,!1,null,null,i,!1,a,d),e[Fr]=r.current,ci(e.nodeType===8?e.parentNode:e),new Qu(r)},St.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=Dm(r),e=e===null?null:e.stateNode,e},St.flushSync=function(e){return Po(e)},St.hydrate=function(e,r,i){if(!Ns(r))throw Error(n(200));return Ts(null,e,r,!0,i)},St.hydrateRoot=function(e,r,i){if(!Yu(e))throw Error(n(405));var a=i!=null&&i.hydratedSources||null,d=!1,h="",w=a0;if(i!=null&&(i.unstable_strictMode===!0&&(d=!0),i.identifierPrefix!==void 0&&(h=i.identifierPrefix),i.onRecoverableError!==void 0&&(w=i.onRecoverableError)),r=l0(r,null,e,1,i??null,d,!1,h,w),e[Fr]=r.current,ci(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 Bs(r)},St.render=function(e,r,i){if(!Ns(r))throw Error(n(200));return Ts(null,e,r,!1,i)},St.unmountComponentAtNode=function(e){if(!Ns(e))throw Error(n(40));return e._reactRootContainer?(Po(function(){Ts(null,null,e,!1,function(){e._reactRootContainer=null,e[Fr]=null})}),!0):!1},St.unstable_batchedUpdates=Hu,St.unstable_renderSubtreeIntoContainer=function(e,r,i,a){if(!Ns(i))throw Error(n(200));if(e==null||e._reactInternals===void 0)throw Error(n(38));return Ts(e,r,i,!1,a)},St.version="18.3.1-next-f1338f8080-20240426",St}var cd;function ud(){if(cd)return Is.exports;cd=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(),Is.exports=g0(),Is.exports}var dd;function v0(){if(dd)return Ti;dd=1;var t=ud();return Ti.createRoot=t.createRoot,Ti.hydrateRoot=t.hydrateRoot,Ti}var b0=v0();const y0=t=>{const o=[];return t.forEach(n=>{const l=n.pluginassemblyid,s=n.name,c=n.version;typeof l=="string"&&typeof s=="string"&&typeof c=="string"&&o.push({pluginassemblyid:l,name:s,version:c})}),o},w0=t=>{const o=[];return t.forEach(n=>{const l=n.name,s=n.sdkmessageprocessingstepid,c=n.mode,u=n.rank,f=n.stage,p=n.filteringattributes||"",m=n.sdkmessageid,g=n.eventhandler_plugintype;o.push({id:s,name:l,mode:k0(c),rank:u,stage:x0(f),filteringattributes:p,sdkMessage:m?m.name:"",eventHandler:g?g.name:""})}),o},k0=t=>{switch(t){case 0:return"Synchronous";case 1:return"Asynchronous";default:return"Unknown"}},x0=t=>{switch(t){case 10:return"Pre-validation";case 15:return"Internal Pre-validation";case 20:return"Pre-operation";case 25:return"Internal Pre-operation";case 30:return" Pre-operation";case 35:return"Internal Post-operation";case 40:return"Post-operation";default:return t.toString()}};class S0{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 S0,_0=async()=>{const o=await fd("/pluginassemblies?$select=name,pluginassemblyid,version");return y0(o)},C0=async t=>{let o=`sdkmessageprocessingsteps?$select=filteringattributes,mode,name,rank,stage&$expand=eventhandler_plugintype($select=name,typename),sdkmessageid($select=name)&$filter=(eventhandler_plugintype/_pluginassemblyid_value eq ${t}) and (sdkmessageid/sdkmessageid ne null)`;const n=await fd(o);return w0(n)},fd=async t=>{const o=[];for(;t;){et.info(`Fetching data from URL: ${t}`);let n=t;if(t.startsWith("http")){const s=new URL(t),c=/^\/api\/data\/v\d+\.\d+\//;n=s.pathname.replace(c,"")+s.search}et.info(`Cleaned URL: ${n}`);const l=await window.dataverseAPI.queryData(n);o.push(...l.value),t=l["@odata.nextLink"]||null}return o},Os=typeof window>"u"?global:window,As="@griffel/";function B0(t,o){return Os[Symbol.for(As+t)]||(Os[Symbol.for(As+t)]=o),Os[Symbol.for(As+t)]}const Ms=B0("DEFINITION_LOOKUP_TABLE",{}),_n="data-make-styles-bucket",N0="data-priority",Ls="f",qs=7,Hs="___",T0=Hs.length+qs,z0=0,E0=1,P0={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},Ws="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Cn(t){for(var o=0,n,l=0,s=t.length;s>=4;++l,s-=4)n=t.charCodeAt(l)&255|(t.charCodeAt(++l)&255)<<8|(t.charCodeAt(++l)&255)<<16|(t.charCodeAt(++l)&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(s){case 3:o^=(t.charCodeAt(l+2)&255)<<16;case 2:o^=(t.charCodeAt(l+1)&255)<<8;case 1:o^=t.charCodeAt(l)&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 R0(t){const o=t.length;if(o===qs)return t;for(let n=o;n<qs;n++)t+="0";return t}function pd(t,o,n=[]){return Hs+R0(Cn(t+o))}function hd(t,o){let n="",l="";for(const s in t){const c=t[s];if(c===0){l+=s+" ";continue}const u=Array.isArray(c),f=o==="rtl"?(u?c[1]:c)+" ":(u?c[0]:c)+" ";n+=f,l+=f}return[n.slice(0,-1),l.slice(0,-1)]}function zi(t,o){const n={};for(const l in t){const[s,c]=hd(t[l],o);if(c===""){n[l]="";continue}const u=pd(c,o),f=u+(s===""?"":" "+s);Ms[u]=[t[l],o],n[l]=f}return n}const md={};function Z(){let t=null,o="",n="";const l=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(Hs);if(y===-1)o+=k+" ";else{const x=k.substr(y,T0);y>0&&(o+=k.slice(0,y)),n+=x,l[v]=x}}}if(n==="")return o.slice(0,-1);const s=md[n];if(s!==void 0)return o+s;const c=[];for(let v=0;v<arguments.length;v++){const k=l[v];if(k){const y=Ms[k];y&&(c.push(y[z0]),t=y[E0])}}const u=Object.assign.apply(Object,[{}].concat(c)),[f,p]=hd(u,t),m=pd(p,t,l),g=m+" "+f;return md[n]=g,Ms[m]=[u,t],o+g}function F0(t){return Array.isArray(t)?t:[t]}function I0(t,o,n,l){const s=[];if(l[_n]=o,l[N0]=String(n),t)for(const u in l)t.setAttribute(u,l[u]);function c(u){return t?.sheet?t.sheet.insertRule(u,t.sheet.cssRules.length):s.push(u)}return{elementAttributes:l,insertRule:c,element:t,bucketName:o,cssRules(){return t?.sheet?Array.from(t.sheet.cssRules).map(u=>u.cssText):s}}}const gd=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce((t,o,n)=>(t[o]=n,t),{});function D0(t,o,n){return(t==="m"?t+o:t)+n}function j0(t,o,n,l,s={}){var c,u;const f=t==="m",p=(c=s.m)!==null&&c!==void 0?c:"0",m=(u=s.p)!==null&&u!==void 0?u:0,g=D0(t,p,m);if(!l.stylesheets[g]){const v=o&&o.createElement("style"),k=I0(v,t,m,Object.assign({},l.styleElementAttributes,f&&{media:p}));l.stylesheets[g]=k,o?.head&&v&&o.head.insertBefore(v,A0(o,n,t,l,s))}return l.stylesheets[g]}function O0(t,o,n){var l,s;const c=o+((l=n.m)!==null&&l!==void 0?l:""),u=t.getAttribute(_n)+((s=t.media)!==null&&s!==void 0?s:"");return c===u}function A0(t,o,n,l,s={}){var c,u;const f=gd[n],p=(c=s.m)!==null&&c!==void 0?c:"",m=(u=s.p)!==null&&u!==void 0?u:0;let g=b=>f-gd[b.getAttribute(_n)],v=t.head.querySelectorAll(`[${_n}]`);if(n==="m"){const b=t.head.querySelectorAll(`[${_n}="${n}"]`);b.length&&(v=b,g=_=>l.compareMediaQueries(p,_.media))}const k=b=>O0(b,n,s)?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 vd(t,o){try{t.insertRule(o)}catch{}}let M0=0;const L0=(t,o)=>t<o?-1:t>o?1:0;function q0(t=typeof document>"u"?void 0:document,o={}){const{classNameHashSalt:n,unstable_filterCSSRule:l,insertionPoint:s,styleElementAttributes:c,compareMediaQueries:u=L0}=o,f={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${M0++}`,insertCSSRules(p){for(const m in p){const g=p[m];for(let v=0,k=g.length;v<k;v++){const[y,x]=F0(g[v]),b=j0(m,t,s||null,f,x);f.insertionCache[y]||(f.insertionCache[y]=m,l?l(y)&&vd(b,y):vd(b,y))}}}};return f}const $s=()=>{const t={};return function(n,l){t[n.id]===void 0&&(n.insertCSSRules(l),t[n.id]=!0)}};function bd(t){return t.reduce(function(o,n){var l=n[0],s=n[1];return o[l]=s,o[s]=l,o},{})}function H0(t){return typeof t=="boolean"}function W0(t){return typeof t=="function"}function Bn(t){return typeof t=="number"}function $0(t){return t===null||typeof t>"u"}function V0(t){return t&&typeof t=="object"}function U0(t){return typeof t=="string"}function Ei(t,o){return t.indexOf(o)!==-1}function G0(t){return parseFloat(t)===0?t:t[0]==="-"?t.slice(1):"-"+t}function Pi(t,o,n,l){return o+G0(n)+l}function K0(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 yd(t){return t.replace(/ +/g," ").split(" ").map(function(o){return o.trim()}).filter(Boolean).reduce(function(o,n){var l=o.list,s=o.state,c=(n.match(/\(/g)||[]).length,u=(n.match(/\)/g)||[]).length;return s.parensDepth>0?l[l.length-1]=l[l.length-1]+" "+n:l.push(n),s.parensDepth+=c-u,{list:l,state:s}},{list:[],state:{parensDepth:0}}).list}function wd(t){var o=yd(t);if(o.length<=3||o.length>4)return t;var n=o[0],l=o[1],s=o[2],c=o[3];return[n,c,s,l].join(" ")}function X0(t){return!H0(t)&&!$0(t)}function Q0(t){for(var o=[],n=0,l=0,s=!1;l<t.length;)!s&&t[l]===","?(o.push(t.substring(n,l).trim()),l++,n=l):t[l]==="("?(s=!0,l++):(t[l]===")"&&(s=!1),l++);return n!=l&&o.push(t.substring(n,l+1)),o}var $={padding:function(o){var n=o.value;return Bn(n)?n:wd(n)},textShadow:function(o){var n=o.value,l=Q0(n).map(function(s){return s.replace(/(^|\s)(-*)([.|\d]+)/,function(c,u,f,p){if(p==="0")return c;var m=f===""?"-":"";return""+u+m+p})});return l.join(",")},borderColor:function(o){var n=o.value;return wd(n)},borderRadius:function(o){var n=o.value;if(Bn(n))return n;if(Ei(n,"/")){var l=n.split("/"),s=l[0],c=l[1],u=$.borderRadius({value:s.trim()}),f=$.borderRadius({value:c.trim()});return u+" / "+f}var p=yd(n);switch(p.length){case 2:return p.reverse().join(" ");case 4:{var m=p[0],g=p[1],v=p[2],k=p[3];return[g,m,k,v].join(" ")}default:return n}},background:function(o){var n=o.value,l=o.valuesToConvert,s=o.isRtl,c=o.bgImgDirectionRegex,u=o.bgPosDirectionRegex;if(Bn(n))return n;var f=n.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return n=n.replace(f,$.backgroundPosition({value:f,valuesToConvert:l,isRtl:s,bgPosDirectionRegex:u})),$.backgroundImage({value:n,valuesToConvert:l,bgImgDirectionRegex:c})},backgroundImage:function(o){var n=o.value,l=o.valuesToConvert,s=o.bgImgDirectionRegex;return!Ei(n,"url(")&&!Ei(n,"linear-gradient(")?n:n.replace(s,function(c,u,f){return c.replace(f,l[f])})},backgroundPosition:function(o){var n=o.value,l=o.valuesToConvert,s=o.isRtl,c=o.bgPosDirectionRegex;return n.replace(s?/^((-|\d|\.)+%)/:null,function(u,f){return K0(f)}).replace(c,function(u){return l[u]})},backgroundPositionX:function(o){var n=o.value,l=o.valuesToConvert,s=o.isRtl,c=o.bgPosDirectionRegex;return Bn(n)?n:$.backgroundPosition({value:n,valuesToConvert:l,isRtl:s,bgPosDirectionRegex:c})},transition:function(o){var n=o.value,l=o.propertiesToConvert;return n.split(/,\s*/g).map(function(s){var c=s.split(" ");return c[0]=l[c[0]]||c[0],c.join(" ")}).join(", ")},transitionProperty:function(o){var n=o.value,l=o.propertiesToConvert;return n.split(/,\s*/g).map(function(s){return l[s]||s}).join(", ")},transform:function(o){var n=o.value,l="[^\\u0020-\\u007e]",s="(?:(?:(?:\\[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]|"+l+"|"+s+")")+("(?:[_a-z0-9-]|"+l+"|"+s+")")+"*")+")?")+")|(?:inherit|auto))",u=new RegExp("(translateX\\s*\\(\\s*)"+c+"(\\s*\\))","gi"),f=new RegExp("(translate\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,1}\\s*\\))","gi"),p=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,Pi).replace(f,Pi).replace(p,Pi).replace(m,Pi)}};$.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 kd=bd([["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"]]),Y0=["content"],xd=bd([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),J0=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),Z0=new RegExp("(left)|(right)");function Sd(t){return Object.keys(t).reduce(function(o,n){var l=t[n];if(U0(l)&&(l=l.trim()),Ei(Y0,n))return o[n]=l,o;var s=Vs(n,l),c=s.key,u=s.value;return o[c]=u,o},Array.isArray(t)?[]:{})}function Vs(t,o){var n=/\/\*\s?@noflip\s?\*\//.test(o),l=n?t:e1(t),s=n?o:t1(l,o);return{key:l,value:s}}function e1(t){return kd[t]||t}function t1(t,o){if(!X0(o))return o;if(V0(o))return Sd(o);var n=Bn(o),l=W0(o),s=n||l?o:o.replace(/ !important.*?$/,""),c=!n&&s.length!==o.length,u=$[t],f;return u?f=u({value:s,valuesToConvert:xd,propertiesToConvert:kd,isRtl:!0,bgImgDirectionRegex:J0,bgPosDirectionRegex:Z0}):f=xd[s]||s,c?f+" !important":f}const r1=/[A-Z]/g,o1=/^ms-/,Us={};function n1(t){return"-"+t.toLowerCase()}function Do(t){if(Object.prototype.hasOwnProperty.call(Us,t))return Us[t];if(t.substr(0,2)==="--")return t;const o=t.replace(r1,n1);return Us[t]=o1.test(o)?"-"+o:o}function _d(t){return t.charAt(0)==="&"?t.slice(1):t}var Nn="-moz-",Zt="-webkit-",Cd="comm",Ri="rule",Gs="decl",i1="@media",l1="@import",s1="@supports",a1="@namespace",c1="@keyframes",Bd="@layer",Nd=Math.abs,Fi=String.fromCharCode,u1=Object.assign;function d1(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 Td(t){return t.trim()}function zd(t,o){return(t=o.exec(t))?t[0]:t}function _t(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 jo(t,o,n){return t.slice(o,n)}function er(t){return t.length}function Pd(t){return t.length}function go(t,o){return o.push(t),t}function f1(t,o){return t.map(o).join("")}var Ii=1,Oo=1,Rd=0,It=0,Le=0,Ao="";function Di(t,o,n,l,s,c,u,f){return{value:t,root:o,parent:n,type:l,props:s,children:c,line:Ii,column:Oo,length:u,return:"",siblings:f}}function Ks(t,o){return u1(Di("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},o)}function p1(){return Le}function h1(){return Le=It>0?dt(Ao,--It):0,Oo--,Le===10&&(Oo=1,Ii--),Le}function Ht(){return Le=It<Rd?dt(Ao,It++):0,Oo++,Le===10&&(Oo=1,Ii++),Le}function qr(){return dt(Ao,It)}function ji(){return It}function Oi(t,o){return jo(Ao,t,o)}function Mo(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 Fd(t){return Ii=Oo=1,Rd=er(Ao=t),It=0,[]}function Id(t){return Ao="",t}function Ai(t){return Td(Oi(It-1,Xs(t===91?t+2:t===40?t+1:t)))}function m1(t){return Id(v1(Fd(t)))}function g1(t){for(;(Le=qr())&&Le<33;)Ht();return Mo(t)>2||Mo(Le)>3?"":" "}function v1(t){for(;Ht();)switch(Mo(Le)){case 0:go(Dd(It-1),t);break;case 2:go(Ai(Le),t);break;default:go(Fi(Le),t)}return t}function b1(t,o){for(;--o&&Ht()&&!(Le<48||Le>102||Le>57&&Le<65||Le>70&&Le<97););return Oi(t,ji()+(o<6&&qr()==32&&Ht()==32))}function Xs(t){for(;Ht();)switch(Le){case t:return It;case 34:case 39:t!==34&&t!==39&&Xs(Le);break;case 40:t===41&&Xs(t);break;case 92:Ht();break}return It}function y1(t,o){for(;Ht()&&t+Le!==57;)if(t+Le===84&&qr()===47)break;return"/*"+Oi(o,It-1)+"*"+Fi(t===47?t:Ht())}function Dd(t){for(;!Mo(qr());)Ht();return Oi(t,It)}function jd(t){return Id(Mi("",null,null,null,[""],t=Fd(t),0,[0],t))}function Mi(t,o,n,l,s,c,u,f,p){for(var m=0,g=0,v=u,k=0,y=0,x=0,b=1,_=1,B=1,z=0,N="",T=s,R=c,D=l,A=N;_;)switch(x=z,z=Ht()){case 40:if(x!=108&&dt(A,v-1)==58){Ed(A+=_t(Ai(z),"&","&\f"),"&\f",Nd(m?f[m-1]:0))!=-1&&(B=-1);break}case 34:case 39:case 91:A+=Ai(z);break;case 9:case 10:case 13:case 32:A+=g1(x);break;case 92:A+=b1(ji()-1,7);continue;case 47:switch(qr()){case 42:case 47:go(w1(y1(Ht(),ji()),o,n,p),p),(Mo(x||1)==5||Mo(qr()||1)==5)&&er(A)&&jo(A,-1,void 0)!==" "&&(A+=" ");break;default:A+="/"}break;case 123*b:f[m++]=er(A)*B;case 125*b:case 59:case 0:switch(z){case 0:case 125:_=0;case 59+g:B==-1&&(A=_t(A,/\f/g,"")),y>0&&(er(A)-v||b===0&&x===47)&&go(y>32?Ad(A+";",l,n,v-1,p):Ad(_t(A," ","")+";",l,n,v-2,p),p);break;case 59:A+=";";default:if(go(D=Od(A,o,n,m,g,s,f,N,T=[],R=[],v,c),c),z===123)if(g===0)Mi(A,o,D,D,T,c,v,f,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?Mi(t,D,D,l&&go(Od(t,D,D,0,0,s,f,N,s,T=[],v,R),R),s,R,v,f,l?T:R):Mi(A,D,D,D,[""],R,0,f,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(z==123)--b;else if(z==125&&b++==0&&h1()==125)continue}switch(A+=Fi(z),z*b){case 38:B=g>0?1:(A+="\f",-1);break;case 44:f[m++]=(er(A)-1)*B,B=1;break;case 64:qr()===45&&(A+=Ai(Ht())),k=qr(),g=v=er(N=A+=Dd(ji())),z++;break;case 45:x===45&&er(A)==2&&(b=0)}}return c}function Od(t,o,n,l,s,c,u,f,p,m,g,v){for(var k=s-1,y=s===0?c:[""],x=Pd(y),b=0,_=0,B=0;b<l;++b)for(var z=0,N=jo(t,k+1,k=Nd(_=u[b])),T=t;z<x;++z)(T=Td(_>0?y[z]+" "+N:_t(N,/&\f/g,y[z])))&&(p[B++]=T);return Di(t,o,n,s===0?Ri:f,p,m,g,v)}function w1(t,o,n,l){return Di(t,o,n,Cd,Fi(p1()),jo(t,2,-2),0,l)}function Ad(t,o,n,l,s){return Di(t,o,n,Gs,jo(t,0,l),jo(t,l+1,-1),l,s)}function Lo(t,o){for(var n="",l=0;l<t.length;l++)n+=o(t[l],l,t,o)||"";return n}function Md(t,o,n,l){switch(t.type){case Bd:if(t.children.length)break;case l1:case a1:case Gs:return t.return=t.return||t.value;case Cd:return"";case c1:return t.return=t.value+"{"+Lo(t.children,l)+"}";case Ri:if(!er(t.value=t.props.join(",")))return""}return er(n=Lo(t.children,l))?t.return=t.value+"{"+n+"}":""}function Ld(t){var o=Pd(t);return function(n,l,s,c){for(var u="",f=0;f<o;f++)u+=t[f](n,l,s,c)||"";return u}}function qd(t){return function(o){o.root||(o=o.return)&&t(o)}}const k1=t=>{switch(t.type){case Ri:if(typeof t.props=="string")return;t.props=t.props.map(o=>o.indexOf(":global(")===-1?o:m1(o).reduce((n,l,s,c)=>{if(l==="")return n;if(l===":"&&c[s+1]==="global"){const u=c[s+2].slice(1,-1)+" ";return n.unshift(u),c[s+1]="",c[s+2]="",n}return n.push(l),n},[]).join(""))}};function Hd(t,o,n){switch(d1(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 Nn+t+t;case 5349:case 4246:case 6968:return Zt+t+Nn+t+t;case 6187:if(!zd(t,/grab/))return _t(_t(_t(t,/(zoom-|grab)/,Zt+"$1"),/(image-set)/,Zt+"$1"),t,"")+t;case 5495:case 3959:return _t(t,/(image-set\([^]*)/,Zt+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return _t(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 _t(t,/(.+:)(.+)-([^]+)/,"$1"+Zt+"$2-$3$1"+Nn+(dt(t,o+3)==108?"$3":"$2-$3"))+t;case 115:return~Ed(t,"stretch")?Hd(_t(t,"stretch","fill-available"),o)+t:t}break}return t}function Wd(t,o,n,l){if(t.length>-1&&!t.return)switch(t.type){case Gs:t.return=Hd(t.value,t.length);return;case Ri:if(t.length)return f1(t.props,function(s){switch(zd(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Lo([Ks(t,{props:[_t(s,/:(read-\w+)/,":"+Nn+"$1")]})],l);case"::placeholder":return Lo([Ks(t,{props:[_t(s,/:(plac\w+)/,":"+Zt+"input-$1")]}),Ks(t,{props:[_t(s,/:(plac\w+)/,":"+Nn+"$1")]})],l)}return""})}}function x1(t){switch(t.type){case"@container":case i1:case s1:case Bd:return!0}return!1}const S1=t=>{x1(t)&&Array.isArray(t.children)&&t.children.sort((o,n)=>o.props[0]>n.props[0]?1:-1)};function _1(t,o){const n=[];return Lo(jd(t),Ld([k1,S1,Wd,Md,qd(l=>n.push(l))])),n}const C1=/,( *[^ &])/g;function B1(t){return"&"+_d(t.replace(C1,",&$1"))}function $d(t,o,n){let l=o;return n.length>0&&(l=n.reduceRight((s,c)=>`${B1(c)} { ${s} }`,o)),`${t}{${l}}`}function Vd(t,o){const{className:n,selectors:l,property:s,rtlClassName:c,rtlProperty:u,rtlValue:f,value:p}=t,{container:m,layer:g,media:v,supports:k}=o,y=`.${n}`,x=Array.isArray(p)?`${p.map(_=>`${Do(s)}: ${_}`).join(";")};`:`${Do(s)}: ${p};`;let b=$d(y,x,l);if(u&&c){const _=`.${c}`,B=Array.isArray(f)?`${f.map(z=>`${Do(u)}: ${z}`).join(";")};`:`${Do(u)}: ${f};`;b+=$d(_,B,l)}return v&&(b=`@media ${v} { ${b} }`),g&&(b=`@layer ${g} { ${b} }`),k&&(b=`@supports ${k} { ${b} }`),m&&(b=`@container ${m} { ${b} }`),_1(b)}function N1(t){let o="";for(const n in t){const l=t[n];if(typeof l=="string"||typeof l=="number"){o+=Do(n)+":"+l+";";continue}if(Array.isArray(l))for(const s of l)o+=Do(n)+":"+s+";"}return o}function Ud(t){let o="";for(const n in t)o+=`${n}{${N1(t[n])}}`;return o}function Gd(t,o){const n=`@keyframes ${t} {${o}}`,l=[];return Lo(jd(n),Ld([Md,Wd,qd(s=>l.push(s))])),l}const T1={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 Kd(t,o){return t.length===0?o:`${t} and ${o}`}function z1(t){return t.substr(0,6)==="@media"}function E1(t){return t.substr(0,6)==="@layer"}const P1=/^(:|\[|>|&)/;function R1(t){return P1.test(t)}function F1(t){return t.substr(0,9)==="@supports"}function I1(t){return t.substring(0,10)==="@container"}function D1(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1}const Xd={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Qd(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 Xd[n.slice(4,8)]||Xd[n.slice(3,5)]||"d"}return"d"}function Li(t,o){return t&&o+t}function Yd(t){return Li(t.container,"c")+Li(t.media,"m")+Li(t.layer,"l")+Li(t.supports,"s")}function Qs(t,o,n){const l=t+Yd(n)+o,s=Cn(l),c=s.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+s.slice(1):s}function qi({property:t,selector:o,salt:n,value:l},s){return Ls+Cn(n+o+Yd(s)+t+l.trim())}function j1(t){return t===Ws}function Ys(t){return t.replace(/>\s+/g,">")}function O3(t,o){}function Jd(t){return T1[t]}function Zd(t){var o;return(o=t?.[0])!==null&&o!==void 0?o:0}function Js(t,o,n,l){t[o]=l?[n,l]:n}function ef(t,o){return o.length>0?[t,Object.fromEntries(o)]:t}function Zs(t,o,n,l,s,c){var u;const f=[];c!==0&&f.push(["p",c]),o==="m"&&s&&f.push(["m",s]),(u=t[o])!==null&&u!==void 0||(t[o]=[]),n&&t[o].push(ef(n,f)),l&&t[o].push(ef(l,f))}function Br(t,o="",n=[],l={container:"",layer:"",media:"",supports:""},s={},c={},u){for(const f in t){if(P0.hasOwnProperty(f)){t[f];continue}const p=t[f];if(p!=null){if(j1(p)){const m=Ys(n.join("")),g=Qs(m,f,l);Js(s,g,0,void 0);continue}if(typeof p=="string"||typeof p=="number"){const m=Ys(n.join("")),g=Jd(f);if(g){const T=g[1],R=Object.fromEntries(T.map(D=>[D,Ws]));Br(R,o,n,l,s,c)}const v=Qs(m,f,l),k=qi({value:p.toString(),salt:o,selector:m,property:f},l),y=u&&{key:f,value:u}||Vs(f,p),x=y.key!==f||y.value!==p,b=x?qi({value:y.value.toString(),property:y.key,salt:o,selector:m},l):void 0,_=x?{rtlClassName:b,rtlProperty:y.key,rtlValue:y.value}:void 0,B=Qd(n,l),[z,N]=Vd(Object.assign({className:k,selectors:n,property:f,value:p},_),l);Js(s,v,k,b),Zs(c,B,z,N,l.media,Zd(g))}else if(f==="animationName"){const m=Array.isArray(p)?p:[p],g=[],v=[];for(const k of m){const y=Ud(k),x=Ud(Sd(k)),b=Ls+Cn(y);let _;const B=Gd(b,y);let z=[];y===x?_=b:(_=Ls+Cn(x),z=Gd(_,x));for(let N=0;N<B.length;N++)Zs(c,"k",B[N],z[N],l.media,0);g.push(b),v.push(_)}Br({animationName:g.join(", ")},o,n,l,s,c,v.join(", "))}else if(Array.isArray(p)){if(p.length===0)continue;const m=Ys(n.join("")),g=Jd(f);if(g){const R=g[1],D=Object.fromEntries(R.map(A=>[A,Ws]));Br(D,o,n,l,s,c)}const v=Qs(m,f,l),k=qi({value:p.map(R=>(R??"").toString()).join(";"),salt:o,selector:m,property:f},l),y=p.map(R=>Vs(f,R));if(!!y.some(R=>R.key!==y[0].key))continue;const b=y[0].key!==f||y.some((R,D)=>R.value!==p[D]),_=b?qi({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},l):void 0,B=b?{rtlClassName:_,rtlProperty:y[0].key,rtlValue:y.map(R=>R.value)}:void 0,z=Qd(n,l),[N,T]=Vd(Object.assign({className:k,selectors:n,property:f,value:p},B),l);Js(s,v,k,_),Zs(c,z,N,T,l.media,Zd(g))}else if(D1(p)){if(R1(f))Br(p,o,n.concat(_d(f)),l,s,c);else if(z1(f)){const m=Kd(l.media,f.slice(6).trim());Br(p,o,n,Object.assign({},l,{media:m}),s,c)}else if(E1(f)){const m=(l.layer?`${l.layer}.`:"")+f.slice(6).trim();Br(p,o,n,Object.assign({},l,{layer:m}),s,c)}else if(F1(f)){const m=Kd(l.supports,f.slice(9).trim());Br(p,o,n,Object.assign({},l,{supports:m}),s,c)}else if(I1(f)){const m=f.slice(10).trim();Br(p,o,n,Object.assign({},l,{container:m}),s,c)}}}}return[s,c]}function O1(t,o=""){const n={},l={};for(const s in t){const c=t[s],[u,f]=Br(c,o);n[s]=u,Object.keys(f).forEach(p=>{l[p]=(l[p]||[]).concat(f[p])})}return[n,l]}function A1(t,o=$s){const n=o();let l=null,s=null,c=null,u=null;function f(p){const{dir:m,renderer:g}=p;l===null&&([l,s]=O1(t,g.classNameHashSalt));const v=m==="ltr";return v?c===null&&(c=zi(l,m)):u===null&&(u=zi(l,m)),n(g,s),v?c:u}return f}function tf(t,o,n=$s){const l=n();let s=null,c=null;function u(f){const{dir:p,renderer:m}=f,g=p==="ltr";return g?s===null&&(s=zi(t,p)):c===null&&(c=zi(t,p)),l(m,o),g?s:c}return u}function M1(t,o,n,l=$s){const s=l();function c(u){const{dir:f,renderer:p}=u,m=f==="ltr"?t:o||t;return s(p,Array.isArray(n)?{r:n}:n),m}return c}function L1(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const rf=Ni.useInsertionEffect?Ni.useInsertionEffect:void 0,ea=()=>{const t={};return function(n,l){if(rf&&L1()){rf(()=>{n.insertCSSRules(l)},[n,l]);return}t[n.id]===void 0&&(n.insertCSSRules(l),t[n.id]=!0)}},q1=S.createContext(q0());function Tn(){return S.useContext(q1)}const of=S.createContext("ltr"),H1=({children:t,dir:o})=>S.createElement(of.Provider,{value:o},t);function ta(){return S.useContext(of)}function ra(t){const o=A1(t,ea);return function(){const l=ta(),s=Tn();return o({dir:l,renderer:s})}}function ae(t,o){const n=tf(t,o,ea);return function(){const s=ta(),c=Tn();return n({dir:s,renderer:c})}}function ft(t,o,n){const l=M1(t,o,n,ea);return function(){const c=ta(),u=Tn();return l({dir:c,renderer:u})}}function W1(t,o){if(o){const n=Object.keys(o).reduce((l,s)=>`${l}--${s}: ${o[s]}; `,"");return`${t} { ${n} }`}return`${t} {}`}const nf=Symbol.for("fui.slotRenderFunction"),Hi=Symbol.for("fui.slotElementType"),lf=Symbol.for("fui.slotClassNameProp");function ze(t,o){const{defaultProps:n,elementType:l}=o,s=sf(t),c={...n,...s,[Hi]:l,[lf]:s?.className};return s&&typeof s.children=="function"&&(c[nf]=s.children,c.children=n?.children),c}function Ge(t,o){if(!(t===null||t===void 0&&!o.renderByDefault))return ze(t,o)}function sf(t){return typeof t=="string"||typeof t=="number"||$1(t)||S.isValidElement(t)?{children:t}:t}const $1=t=>typeof t=="object"&&t!==null&&Symbol.iterator in t;function af(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)&&!S.isValidElement(t)}function cf(t){return!!t?.hasOwnProperty(Hi)}const Fe=(...t)=>{const o={};for(const n of t){const l=Array.isArray(n)?n:Object.keys(n);for(const s of l)o[s]=1}return o},V1=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"]),U1=Fe(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),G1=Fe(["itemID","itemProp","itemRef","itemScope","itemType"]),Je=Fe(U1,V1,G1),K1=Fe(Je,["form"]),uf=Fe(Je,["height","loop","muted","preload","src","width"]),X1=Fe(uf,["poster"]),Q1=Fe(Je,["start"]),Y1=Fe(Je,["value"]),J1=Fe(Je,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),Z1=Fe(Je,["dateTime"]),Wi=Fe(Je,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),eb=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"]),tb=Fe(Wi,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),rb=Fe(Wi,["form","multiple","required"]),ob=Fe(Je,["selected","value"]),nb=Fe(Je,["cellPadding","cellSpacing"]),ib=Je,lb=Fe(Je,["colSpan","rowSpan","scope"]),sb=Fe(Je,["colSpan","headers","rowSpan","scope"]),ab=Fe(Je,["span"]),cb=Fe(Je,["span"]),ub=Fe(Je,["disabled","form"]),db=Fe(Je,["acceptCharset","action","encType","encType","method","noValidate","target"]),fb=Fe(Je,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),pb=Fe(Je,["alt","crossOrigin","height","src","srcSet","useMap","width"]),hb=Fe(Je,["open","onCancel","onClose"]);function mb(t,o,n){const l=Array.isArray(o),s={},c=Object.keys(t);for(const u of c)(!l&&o[u]||l&&o.indexOf(u)>=0||u.indexOf("data-")===0||u.indexOf("aria-")===0)&&(!n||n?.indexOf(u)===-1)&&(s[u]=t[u]);return s}const gb={label:K1,audio:uf,video:X1,ol:Q1,li:Y1,a:J1,button:Wi,input:eb,textarea:tb,select:rb,option:ob,table:nb,tr:ib,th:lb,td:sb,colGroup:ab,col:cb,fieldset:ub,form:db,iframe:fb,img:pb,time:Z1,dialog:hb};function df(t,o,n){const l=t&&gb[t]||Je;return l.as=1,mb(o,l,n)}const $i=({primarySlotTagName:t,props:o,excludedPropNames:n})=>({root:{style:o.style,className:o.className},primary:df(t,o,[...n||[],"style","className"])}),yt=(t,o,n)=>{var l;return df((l=o.as)!==null&&l!==void 0?l:t,o,n)};function ff(t,o){const n=S.useRef(void 0),l=S.useCallback((c,u)=>(n.current!==void 0&&o(n.current),n.current=t(c,u),n.current),[o,t]),s=S.useCallback(()=>{n.current!==void 0&&(o(n.current),n.current=void 0)},[o]);return S.useEffect(()=>s,[s]),[l,s]}const pf=S.createContext(void 0),vb=pf.Provider,hf=S.createContext(void 0),bb="",yb=hf.Provider;function wb(){var t;return(t=S.useContext(hf))!==null&&t!==void 0?t:bb}const kb=S.createContext(void 0).Provider,mf=S.createContext(void 0),xb={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},Sb=mf.Provider;function at(){var t;return(t=S.useContext(mf))!==null&&t!==void 0?t:xb}const gf=S.createContext(void 0),_b=gf.Provider;function vf(){var t;return(t=S.useContext(gf))!==null&&t!==void 0?t:{}}const oa=S.createContext(void 0),Cb=()=>{},Bb=oa.Provider,tt=t=>{var o,n;return(n=(o=S.useContext(oa))===null||o===void 0?void 0:o[t])!==null&&n!==void 0?n:Cb},bf=S.createContext(void 0);bf.Provider;function Nb(){return S.useContext(bf)}const Tb=t=>(t(0),0),zb=t=>t;function Eb(){const{targetDocument:t}=at(),o=t?.defaultView,n=o?o.requestAnimationFrame:Tb,l=o?o.cancelAnimationFrame:zb;return ff(n,l)}function Pb(t){return typeof t=="function"}const Hr=t=>{"use no memo";const[o,n]=S.useState(()=>t.defaultState===void 0?t.initialState:Rb(t.defaultState)?t.defaultState():t.defaultState),l=S.useRef(t.state);S.useEffect(()=>{l.current=t.state},[t.state]);const s=S.useCallback(c=>{Pb(c)&&c(l.current)},[]);return Fb(t.state)?[t.state,s]:[o,n]};function Rb(t){return typeof t=="function"}const Fb=t=>{"use no memo";const[o]=S.useState(()=>t!==void 0);return o};function na(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Ib={current:0},Db=S.createContext(void 0);function jb(){var t;return(t=S.useContext(Db))!==null&&t!==void 0?t:Ib}const Wt=na()?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 l=o.current;return l(...n)},[o])};function Ob(){const t=S.useRef(!0);return S.useEffect(()=>{t.current&&(t.current=!1)},[]),t.current}const yf=S.createContext(void 0);yf.Provider;function Ab(){return S.useContext(yf)||""}function pr(t="fui-",o){"use no memo";const n=jb(),l=Ab(),s=Ni.useId;if(s){const c=s(),u=S.useMemo(()=>c.replace(/:/g,""),[c]);return o||`${l}${t}${u}`}return S.useMemo(()=>o||`${l}${t}${++n.current}`,[l,t,o,n])}function pt(...t){"use no memo";const o=S.useCallback(n=>{o.current=n;for(const l of t)typeof l=="function"?l(n):l&&(l.current=n)},[...t]);return o}const wf=(t,o)=>!!t?.contains(o),Mb=t=>{const{targetDocument:o}=at(),n=o?.defaultView,{refs:l,callback:s,element:c,disabled:u,disabledFocusOnIframe:f,contains:p=wf}=t,m=S.useRef(void 0);qb({element:c,disabled:f||u,callback:s,refs:l,contains:p});const g=S.useRef(!1),v=ke(y=>{if(g.current){g.current=!1;return}const x=y.composedPath()[0];l.every(_=>!p(_.current||null,x))&&!u&&s(y)}),k=ke(y=>{g.current=l.some(x=>p(x.current||null,y.target))});S.useEffect(()=>{if(u)return;let y=Lb(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])},Lb=t=>{if(t){var o,n;if(typeof t.window=="object"&&t.window===t)return t.event;var l;return(l=(n=t.ownerDocument)===null||n===void 0||(o=n.defaultView)===null||o===void 0?void 0:o.event)!==null&&l!==void 0?l:void 0}},ia="fuiframefocus",qb=t=>{const{disabled:o,element:n,callback:l,contains:s=wf,pollDuration:c=100,refs:u}=t,f=S.useRef(void 0),p=ke(m=>{u.every(v=>!s(v.current||null,m.target))&&!o&&l(m)});S.useEffect(()=>{if(!o)return n?.addEventListener(ia,p,!0),()=>{n?.removeEventListener(ia,p,!0)}},[n,o,p]),S.useEffect(()=>{var m;if(!o)return f.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(ia,{bubbles:!0});g.dispatchEvent(v)}},c),()=>{var g;n==null||(g=n.defaultView)===null||g===void 0||g.clearInterval(f.current)}},[n,o,c])},Hb=t=>-1,Wb=t=>{};function kf(){const{targetDocument:t}=at(),o=t?.defaultView,n=o?o.setTimeout:Hb,l=o?o.clearTimeout:Wb;return ff(n,l)}function Ct(t,o){return(...n)=>{t?.(...n),o?.(...n)}}function Nr(t,o){var n;const l=t;var s;return!!(!(l==null||(n=l.ownerDocument)===null||n===void 0)&&n.defaultView&&l instanceof l.ownerDocument.defaultView[(s=void 0)!==null&&s!==void 0?s:"HTMLElement"])}function $b(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 la(t){return t.type.startsWith("touch")}function sa(t){return t.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(t.type)>-1}function xf(t){return sa(t)?{clientX:t.clientX,clientY:t.clientY}:la(t)?{clientX:t.touches[0].clientX,clientY:t.touches[0].clientY}:{clientX:0,clientY:0}}function Sf(t){return t instanceof Set?t:new Set(t)}function _f(t){const[o,n]=Hr({initialState:new Set,defaultState:S.useMemo(()=>t.defaultSelectedItems&&Sf(t.defaultSelectedItems),[t.defaultSelectedItems]),state:S.useMemo(()=>t.selectedItems&&Sf(t.selectedItems),[t.selectedItems])});return[o,(s,c)=>{var u;(u=t.onSelectionChange)===null||u===void 0||u.call(t,s,{selectedItems:c}),n(c)}]}function Vb(t){const[o,n]=_f(t);return[o,{deselectItem:s=>n(s,new Set),selectItem:(s,c)=>n(s,new Set([c])),toggleAllItems:()=>{},toggleItem:(s,c)=>n(s,new Set([c])),clearItems:s=>n(s,new Set),isSelected:s=>{var c;return(c=o.has(s))!==null&&c!==void 0?c:!1}}]}function Ub(t){const[o,n]=_f(t);return[o,{toggleItem:(s,c)=>{const u=new Set(o);o.has(c)?u.delete(c):u.add(c),n(s,u)},selectItem:(s,c)=>{const u=new Set(o);u.add(c),n(s,u)},deselectItem:(s,c)=>{const u=new Set(o);u.delete(c),n(s,u)},clearItems:s=>{n(s,new Set)},isSelected:s=>o.has(s),toggleAllItems:(s,c)=>{const u=c.every(p=>o.has(p)),f=new Set(o);u?f.clear():c.forEach(p=>f.add(p)),n(s,f)}}]}function Gb(t){"use no memo";return t.selectionMode==="multiselect"?Ub(t):Vb(t)}function Kb(t){return t&&!!t._virtual}function Xb(t){return Kb(t)&&t._virtual.parent||null}function Qb(t,o={}){if(!t)return null;if(!o.skipVirtual){const l=Xb(t);if(l)return l}const n=t.parentNode;return n&&n.nodeType===11?n.host:n}function Cf(t,o){t&&Object.assign(t,{_virtual:{parent:o}})}function Yb(t,o){return{...o,[Hi]:t}}var aa={exports:{}},Re={};var Bf;function Jb(){if(Bf)return Re;Bf=1;var t=60103,o=60106,n=60107,l=60108,s=60114,c=60109,u=60110,f=60112,p=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"),l=B("react.strict_mode"),s=B("react.profiler"),c=B("react.provider"),u=B("react.context"),f=B("react.forward_ref"),p=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 z(H){if(typeof H=="object"&&H!==null){var re=H.$$typeof;switch(re){case t:switch(H=H.type,H){case n:case s:case l:case p:case m:return H;default:switch(H=H&&H.$$typeof,H){case u:case f:case v:case g:case c:return H;default:return re}}case o:return re}}}var N=c,T=t,R=f,D=n,A=v,q=g,Q=o,ee=s,ve=l,he=p;return Re.ContextConsumer=u,Re.ContextProvider=N,Re.Element=T,Re.ForwardRef=R,Re.Fragment=D,Re.Lazy=A,Re.Memo=q,Re.Portal=Q,Re.Profiler=ee,Re.StrictMode=ve,Re.Suspense=he,Re.isAsyncMode=function(){return!1},Re.isConcurrentMode=function(){return!1},Re.isContextConsumer=function(H){return z(H)===u},Re.isContextProvider=function(H){return z(H)===c},Re.isElement=function(H){return typeof H=="object"&&H!==null&&H.$$typeof===t},Re.isForwardRef=function(H){return z(H)===f},Re.isFragment=function(H){return z(H)===n},Re.isLazy=function(H){return z(H)===v},Re.isMemo=function(H){return z(H)===g},Re.isPortal=function(H){return z(H)===o},Re.isProfiler=function(H){return z(H)===s},Re.isStrictMode=function(H){return z(H)===l},Re.isSuspense=function(H){return z(H)===p},Re.isValidElementType=function(H){return typeof H=="string"||typeof H=="function"||H===n||H===s||H===b||H===l||H===p||H===m||H===_||typeof H=="object"&&H!==null&&(H.$$typeof===v||H.$$typeof===g||H.$$typeof===c||H.$$typeof===u||H.$$typeof===f||H.$$typeof===x||H.$$typeof===k||H[0]===y)},Re.typeOf=z,Re}var Nf;function Zb(){return Nf||(Nf=1,aa.exports=Jb()),aa.exports}Zb();function Tf(t,o){return function(l,s,c,u,f){return cf(s)?o(Yb(l,s),null,c,u,f):cf(l)?o(l,s,c,u,f):t(l,s,c,u,f)}}function zf(t){const{as:o,[lf]:n,[Hi]:l,[nf]:s,...c}=t,u=c,f=typeof l=="string"?o??l:l;return typeof f!="string"&&o&&(u.as=o),{elementType:f,props:u,renderFunction:s}}const vo=h0,ey=(t,o,n)=>{const{elementType:l,renderFunction:s,props:c}=zf(t),u={...c,...o};return s?vo.jsx(S.Fragment,{children:s(l,u)},n):vo.jsx(l,u,n)},ty=(t,o,n)=>{const{elementType:l,renderFunction:s,props:c}=zf(t),u={...c,...o};return s?vo.jsx(S.Fragment,{children:s(l,{...u,children:vo.jsxs(S.Fragment,{children:u.children},void 0)})},n):vo.jsxs(l,u,n)},ce=Tf(vo.jsx,ey),wt=Tf(vo.jsxs,ty),Ef=S.createContext(void 0),ry={},oy=Ef.Provider,ny=()=>{const t=S.useContext(Ef);return t??ry},iy=(t,o)=>ce(Sb,{value:o.provider,children:ce(vb,{value:o.theme,children:ce(yb,{value:o.themeClassName,children:ce(Bb,{value:o.customStyleHooks_unstable,children:ce(kb,{value:o.tooltip,children:ce(H1,{dir:o.textDirection,children:ce(oy,{value:o.iconDirection,children:ce(_b,{value:o.overrides_unstable,children:wt(t.root,{children:[na()?null:ce("style",{dangerouslySetInnerHTML:{__html:t.serverStyleProps.cssRule},...t.serverStyleProps.attributes}),t.root.children]})})})})})})})})});var ly=typeof WeakRef<"u",Pf=class{constructor(t){ly&&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",zn="keyborg:focusout";function sy(t){const o=t.HTMLElement,n=o.prototype.focus;let l=!1;return o.prototype.focus=function(){l=!0},t.document.createElement("button").focus(),o.prototype.focus=n,l}var ca=!1;function Tr(t){const o=t.focus;o.__keyborgNativeFocus?o.__keyborgNativeFocus.call(t):t.focus()}function ay(t){const o=t;ca||(ca=sy(o));const n=o.HTMLElement.prototype.focus;if(n.__keyborgNativeFocus)return;o.HTMLElement.prototype.focus=p;const l=new Set,s=g=>{const v=g.target;if(!v)return;const k=new CustomEvent(zn,{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 l){const b=x.deref();(!b||!y.has(b))&&(l.delete(x),b&&(b.removeEventListener("focusin",c,!0),b.removeEventListener("focusout",s,!0)))}u(v,g.relatedTarget||void 0)},u=(g,v,k)=>{var y;const x=g.shadowRoot;if(x){for(const B of l)if(B.deref()===x)return;x.addEventListener("focusin",c,!0),x.addEventListener("focusout",s,!0),l.add(new Pf(x));return}const b={relatedTarget:v,originalEvent:k},_=new CustomEvent(tr,{cancelable:!0,bubbles:!0,composed:!0,detail:b});_.details=b,(ca||f.lastFocusedProgrammatically)&&(b.isFocusedProgrammatically=g===((y=f.lastFocusedProgrammatically)==null?void 0:y.deref()),f.lastFocusedProgrammatically=void 0),g.dispatchEvent(_)},f=o.__keyborgData={focusInHandler:c,focusOutHandler:s,shadowTargets:l};o.document.addEventListener("focusin",o.__keyborgData.focusInHandler,!0),o.document.addEventListener("focusout",o.__keyborgData.focusOutHandler,!0);function p(){const g=o.__keyborgData;return g&&(g.lastFocusedProgrammatically=new Pf(this)),n.apply(this,arguments)}let m=o.document.activeElement;for(;m&&m.shadowRoot;)u(m),m=m.shadowRoot.activeElement;p.__keyborgNativeFocus=n}function cy(t){const o=t,n=o.HTMLElement.prototype,l=n.focus.__keyborgNativeFocus,s=o.__keyborgData;if(s){o.document.removeEventListener("focusin",s.focusInHandler,!0),o.document.removeEventListener("focusout",s.focusOutHandler,!0);for(const c of s.shadowTargets){const u=c.deref();u&&(u.removeEventListener("focusin",s.focusInHandler,!0),u.removeEventListener("focusout",s.focusOutHandler,!0))}s.shadowTargets.clear(),delete o.__keyborgData}l&&(n.focus=l)}var uy=500,Rf=0,dy=class{constructor(t,o){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=l=>{if(this._isMouseOrTouchUsedTimer||this.isNavigatingWithKeyboard)return;const s=l.detail;s.relatedTarget&&(s.isFocusedProgrammatically||s.isFocusedProgrammatically===void 0||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=l=>{l.buttons===0||l.clientX===0&&l.clientY===0&&l.screenX===0&&l.screenY===0||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const l=this._win;l&&(this._isMouseOrTouchUsedTimer&&l.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=l.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=l=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(l)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(l)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++Rf,this._win=t;const n=t.document;if(o){const l=o.triggerKeys,s=o.dismissKeys;l?.length&&(this._triggerKeys=new Set(l)),s?.length&&(this._dismissKeys=new Set(s))}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),ay(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),cy(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 l of Object.keys(n))ua.update(n[l],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(t){var o;if(t.key==="Tab")return!0;const n=(o=this._win)==null?void 0:o.document.activeElement,l=!this._triggerKeys||this._triggerKeys.has(t.keyCode),s=n&&(n.tagName==="INPUT"||n.tagName==="TEXTAREA"||n.isContentEditable);return l&&!s}_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)},uy)}}},ua=class u0{constructor(o,n){this._cb=[],this._id="k"+ ++Rf,this._win=o;const l=o.__keyborg;l?(this._core=l.core,l.refs[this._id]=this):(this._core=new dy(o,n),o.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(o,n){return new u0(o,n)}static dispose(o){o.dispose()}static update(o,n){o._cb.forEach(l=>l(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 ua.create(t,o)}function Ui(t){ua.dispose(t)}const rr="data-tabster",fy="data-tabster-dummy",Ff=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),qo={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},py={Outside:2};function $t(t,o){var n;return(n=t.storageEntry(o))===null||n===void 0?void 0:n.tabster}function If(t,o,n){var l,s;const c=n||t._noop?void 0:o.getAttribute(rr);let u=t.storageEntry(o),f;if(c)if(c!==((l=u?.attr)===null||l===void 0?void 0:l.string))try{const v=JSON.parse(c);if(typeof v!="object")throw new Error(`Value is not a JSON object, got '${c}'.`);f={string:c,object:v}}catch{}else return;else if(!u)return;u||(u=t.storageEntry(o,!0)),u.tabster||(u.tabster={});const p=u.tabster||{},m=((s=u.attr)===null||s===void 0?void 0:s.object)||{},g=f?.object||{};for(const v of Object.keys(m))if(!g[v]){if(v==="root"){const k=p[v];k&&t.root.onRoot(k,!0)}switch(v){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const k=p[v];k&&(k.dispose(),delete p[v]);break;case"observed":delete p[v],t.observedElement&&t.observedElement.onObservedElementUpdate(o);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete p[v];break}}for(const v of Object.keys(g)){const k=g.sys;switch(v){case"deloser":p.deloser?p.deloser.setProps(g.deloser):t.deloser&&(p.deloser=t.deloser.createDeloser(o,g.deloser));break;case"root":p.root?p.root.setProps(g.root):p.root=t.root.createRoot(o,g.root,k),t.root.onRoot(p.root);break;case"modalizer":p.modalizer?p.modalizer.setProps(g.modalizer):t.modalizer&&(p.modalizer=t.modalizer.createModalizer(o,g.modalizer,k));break;case"restorer":p.restorer?p.restorer.setProps(g.restorer):t.restorer&&g.restorer&&(p.restorer=t.restorer.createRestorer(o,g.restorer));break;case"focusable":p.focusable=g.focusable;break;case"groupper":p.groupper?p.groupper.setProps(g.groupper):t.groupper&&(p.groupper=t.groupper.createGroupper(o,g.groupper,k));break;case"mover":p.mover?p.mover.setProps(g.mover):t.mover&&(p.mover=t.mover.createMover(o,g.mover,k));break;case"observed":t.observedElement&&(p.observed=g.observed,t.observedElement.onObservedElementUpdate(o));break;case"uncontrolled":p.uncontrolled=g.uncontrolled;break;case"outline":t.outline&&(p.outline=g.outline);break;case"sys":p.sys=g.sys;break;default:console.error(`Unknown key '${v}' in data-tabster attribute value.`)}}f?u.attr=f:(Object.keys(p).length===0&&(delete u.tabster,delete u.attr),t.storageEntry(o,!1))}const hy="tabster:focusin",my="tabster:focusout",gy="tabster:movefocus",vy="tabster:mover:state",da="tabster:mover:movefocus",Df="tabster:mover:memorized-element",fa="tabster:groupper:movefocus",by="tabster:root:focus",yy="tabster:root:blur",wy=typeof CustomEvent<"u"?CustomEvent:function(){};class $r extends wy{constructor(o,n){super(o,{bubbles:!0,cancelable:!0,composed:!0,detail:n}),this.details=n}}class ky extends $r{constructor(o){super(hy,o)}}class xy extends $r{constructor(o){super(my,o)}}class Vr extends $r{constructor(o){super(gy,o)}}class jf extends $r{constructor(o){super(vy,o)}}class Sy extends $r{constructor(o){super(da,o)}}class Of extends $r{constructor(o){super(fa,o)}}class _y extends $r{constructor(o){super(by,o)}}class Cy extends $r{constructor(o){super(yy,o)}}const X={createMutationObserver:t=>new MutationObserver(t),createTreeWalker:(t,o,n,l)=>t.createTreeWalker(o,n,l),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 By(t){for(const o of Object.keys(t))X[o]=t[o]}let pa;const Af=typeof DOMRect<"u"?DOMRect:class{constructor(t,o,n,l){this.left=t||0,this.top=o||0,this.right=(t||0)+(n||0),this.bottom=(o||0)+(l||0)}};let Ny=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),pa=!1}catch{pa=!0}const ha=100;function zr(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 Ty(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 zy(t){const o=t.__tabsterInstanceContext;return new(o?.basics.WeakMap||WeakMap)}function Ey(t){return!!t.querySelector(Ff)}class Mf{constructor(o){this._target=o}deref(){return this._target}static cleanup(o,n){return o._target?n||!ga(o._target.ownerDocument,o._target)?(delete o._target,!0):!1:!0}}class hr{constructor(o,n,l){const s=zr(o);let c;s.WeakRef?c=new s.WeakRef(n):(c=new Mf(n),s.fakeWeakRefs.push(c)),this._ref=c,this._data=l}get(){const o=this._ref;let n;return o&&(n=o.deref(),n||delete this._ref),n}getData(){return this._data}}function Lf(t,o){const n=zr(t);n.fakeWeakRefs=n.fakeWeakRefs.filter(l=>!Mf.cleanup(l,o))}function qf(t){const o=zr(t);o.fakeWeakRefsStarted||(o.fakeWeakRefsStarted=!0,o.WeakRef=jy(o)),o.fakeWeakRefsTimer||(o.fakeWeakRefsTimer=t().setTimeout(()=>{o.fakeWeakRefsTimer=void 0,Lf(t),qf(t)},120*1e3))}function Py(t){const o=zr(t);o.fakeWeakRefsStarted=!1,o.fakeWeakRefsTimer&&(t().clearTimeout(o.fakeWeakRefsTimer),o.fakeWeakRefsTimer=void 0,o.fakeWeakRefs=[])}function ma(t,o,n){if(o.nodeType!==Node.ELEMENT_NODE)return;const l=pa?n:{acceptNode:n};return X.createTreeWalker(t,o,NodeFilter.SHOW_ELEMENT,l,!1)}function Hf(t,o){let n=o.__tabsterCacheId;const l=zr(t),s=n?l.containerBoundingRectCache[n]:void 0;if(s)return s.rect;const c=o.ownerDocument&&o.ownerDocument.documentElement;if(!c)return new Af;let u=0,f=0,p=c.clientWidth,m=c.clientHeight;if(o!==c){const v=o.getBoundingClientRect();u=Math.max(u,v.left),f=Math.max(f,v.top),p=Math.min(p,v.right),m=Math.min(m,v.bottom)}const g=new Af(u<p?u:-1,f<m?f:-1,u<p?p-u:0,f<m?m-f:0);return n||(n="r-"+ ++l.lastContainerBoundingRectCacheId,o.__tabsterCacheId=n),l.containerBoundingRectCache[n]={rect:g,element:o},l.containerBoundingRectCacheTimer||(l.containerBoundingRectCacheTimer=window.setTimeout(()=>{l.containerBoundingRectCacheTimer=void 0;for(const v of Object.keys(l.containerBoundingRectCache))delete l.containerBoundingRectCache[v].element.__tabsterCacheId;l.containerBoundingRectCache={}},50)),g}function Wf(t,o,n){const l=$f(o);if(!l)return!1;const s=Hf(t,l),c=o.getBoundingClientRect(),u=c.height*(1-n),f=Math.max(0,s.top-c.top),p=Math.max(0,c.bottom-s.bottom),m=f+p;return m===0||m<=u}function Ry(t,o,n){const l=$f(o);if(l){const s=Hf(t,l),c=o.getBoundingClientRect();n?l.scrollTop+=c.top-s.top:l.scrollTop+=c.bottom-s.bottom}}function $f(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 Fy(t){t.__shouldIgnoreFocus=!0}function Vf(t){return!!t.__shouldIgnoreFocus}function Iy(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 l=0;l<o.length;l++)o[l]=4294967295*Math.random();const n=[];for(let l=0;l<o.length;l++)n.push(o[l].toString(36));return n.push("|"),n.push((++Ny).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function Xi(t,o){const n=zr(t);let l=o.__tabsterElementUID;return l||(l=o.__tabsterElementUID=Iy(t())),!n.elementByUId[l]&&ga(o.ownerDocument,o)&&(n.elementByUId[l]=new hr(t,o)),l}function Uf(t,o){const n=zr(t);for(const l of Object.keys(n.elementByUId)){const s=n.elementByUId[l],c=s&&s.get();c&&o&&!X.nodeContains(o,c)||delete n.elementByUId[l]}}function ga(t,o){return X.nodeContains(t?.body,o)}function Gf(t,o){const n=t.matches||t.matchesSelector||t.msMatchesSelector||t.webkitMatchesSelector;return n&&n.call(t,o)}function Dy(t){const o=zr(t);if(o.basics.Promise)return o.basics.Promise;throw new Error("No Promise defined.")}function jy(t){return t.basics.WeakRef}let Oy=0;class va{constructor(o,n,l){const s=o.getWindow;this._tabster=o,this._element=new hr(s,n),this._props={...l},this.id="i"+ ++Oy}getElement(){return this._element.get()}getProps(){return this._props}setProps(o){this._props={...o}}}class Qi{constructor(o,n,l,s,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 f=o(),p=f.document.createElement("i");p.tabIndex=0,p.setAttribute("role","none"),p.setAttribute(fy,""),p.setAttribute("aria-hidden","true");const m=p.style;m.position="fixed",m.width=m.height="1px",m.opacity="0.001",m.zIndex="-1",m.setProperty("content-visibility","hidden"),Fy(p),this.input=p,this.isFirst=l.isFirst,this.isOutside=n,this._isPhantom=(u=l.isPhantom)!==null&&u!==void 0?u:!1,this._fixedTarget=c,p.addEventListener("focusin",this._focusIn),p.addEventListener("focusout",this._focusOut),p.__tabsterDummyContainer=s,this._isPhantom&&(this._disposeTimer=f.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(f.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 l;const s=(l=this.input)===null||l===void 0?void 0:l.style;s&&(s.top=`${o}px`,s.left=`${n}px`)}_isBackward(o,n,l){return o&&!l?!this.isFirst:!!(l&&n.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_FOLLOWING)}}const ba={Root:1,Mover:3,Groupper:4};class En{constructor(o,n,l,s,c,u){this._element=n,this._instance=new My(o,n,this,l,s,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 l;(l=this._instance)===null||l===void 0||l.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,l,s,c){const f=new Qi(o.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(f){let p,m;if(n.tagName==="BODY")p=n,m=l&&s||!l&&!s?X.getFirstElementChild(n):null;else{l&&(!s||s&&!o.focusable.isFocusable(n,!1,!0,!0))?(p=n,m=s?n.firstElementChild:null):(p=X.getParentElement(n),m=l&&s||!l&&!s?n:X.getNextElementSibling(n));let g,v;do g=l&&s||!l&&!s?X.getPreviousElementSibling(m):m,v=Pn(g),v===n?m=l&&s||!l&&!s?g:X.getNextElementSibling(g):v=null;while(v)}p?.dispatchEvent(new Vr({by:"root",owner:p,next:null,relatedEvent:c}))&&(X.insertBefore(p,f,m),Tr(f))}}static addPhantomDummyWithTarget(o,n,l,s){const u=new Qi(o.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new hr(o.getWindow,s)).input;if(u){let f,p;Ey(n)&&!l?(f=n,p=X.getFirstElementChild(n)):(f=X.getParentElement(n),p=l?n:X.getNextElementSibling(n)),f&&X.insertBefore(f,u,p)}}}class Ay{constructor(o){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=n=>{var l;this._changedParents.has(n)||(this._changedParents.add(n),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(l=this._win)===null||l===void 0?void 0:l.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const s of this._dummyElements){const c=s.get();if(c){const u=this._dummyCallbacks.get(c);if(u){const f=X.getParentNode(c);(!f||this._changedParents.has(f))&&u()}}}this._changedParents=new WeakSet},ha)))},this._win=o}add(o,n){!this._dummyCallbacks.has(o)&&this._win&&(this._dummyElements.push(new hr(this._win,o)),this._dummyCallbacks.set(o,n),this.domChanged=this._domChanged)}remove(o){this._dummyElements=this._dummyElements.filter(n=>{const l=n.get();return l&&l!==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+ha<=Date.now()){const n=new Map,l=[];for(const s of this._updateQueue)l.push(s(n));this._updateQueue.clear();for(const s of l)s();n.clear()}else this._scheduledUpdatePositions()},ha))}}class My{constructor(o,n,l,s,c,u,f){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,z=_.input,N=(x=this._element)===null||x===void 0?void 0:x.get();if(B&&z&&N){let T;y?(B.tabIndex=0,T=B):(z.tabIndex=0,T=z),T&&Tr(T)}}},this.moveOutWithDefaultAction=(y,x)=>{var b;const _=this._firstDummy,B=this._lastDummy;if(_&&B){this._ensurePosition();const z=_.input,N=B.input,T=(b=this._element)===null||b===void 0?void 0:b.get();if(z&&N&&T){let R;y?!_.isOutside&&this._tabster.focusable.isFocusable(T,!0,!0,!0)?R=T:(_.useDefaultAction=!0,z.tabIndex=0,R=z):(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 z of this._wrappers)if(z.manager===y){z.tabbable=x;break}const B=this._getCurrent();if(B){const z=B.tabbable?0:-1;let N=(b=this._firstDummy)===null||b===void 0?void 0:b.input;N&&(N.tabIndex=z),N=(_=this._lastDummy)===null||_===void 0?void 0:_.input,N&&(N.tabIndex=z)}},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,z=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 q=R.getComputedStyle(D).transform;q&&q!=="none"&&(A={scrollTop:D.scrollTop,scrollLeft:D.scrollLeft}),y.set(D,A||null)}A&&(z.add(D),B.has(D)||D.addEventListener("scroll",this._addTransformOffsets),N+=A.scrollTop,T+=A.scrollLeft)}for(const D of B)z.has(D)||D.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=z,()=>{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 p=n.get();if(!p)throw new Error("No element");this._tabster=o,this._getWindow=o.getWindow,this._callForDefaultAction=f;const m=p.__tabsterDummy;if((m||this)._wrappers.push({manager:l,priority:s,tabbable:!0}),m)return m;p.__tabsterDummy=this;const g=c?.dummyInputsPosition,v=p.tagName;this._isOutside=g?g===py.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 l,s,c,u;if((this._wrappers=this._wrappers.filter(p=>p.manager!==o&&!n)).length===0){delete((l=this._element)===null||l===void 0?void 0:l.get()).__tabsterDummy;for(const g of this._transformElements)g.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const p=this._getWindow();this._addTimer&&(p.clearTimeout(this._addTimer),delete this._addTimer);const m=(s=this._firstDummy)===null||s===void 0?void 0:s.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,l,s){var c;const u=this._getCurrent();u&&(!n.useDefaultAction||this._callForDefaultAction)&&((c=u.manager.getHandler(o))===null||c===void 0||c(n,l,s))}_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,l;const s=(o=this._element)===null||o===void 0?void 0:o.get(),c=(n=this._firstDummy)===null||n===void 0?void 0:n.input,u=(l=this._lastDummy)===null||l===void 0?void 0:l.input;if(!(!s||!c||!u))if(this._isOutside){const f=X.getParentNode(s);if(f){const p=X.getNextSibling(s);p!==u&&X.insertBefore(f,u,p),X.getPreviousElementSibling(s)!==c&&X.insertBefore(f,c,s)}}else{X.getLastElementChild(s)!==u&&X.appendChild(s,u);const f=X.getFirstElementChild(s);f&&f!==c&&f.parentNode&&X.insertBefore(f.parentNode,c,f)}}}function Kf(t){let o=null;for(let n=X.getLastElementChild(t);n;n=X.getLastElementChild(n))o=n;return o||void 0}function Ly(t,o){let n=t,l=null;for(;n&&!l;)l=o?X.getPreviousElementSibling(n):X.getNextElementSibling(n),n=X.getParentElement(n);return l||void 0}function qy(t){var o,n;const l=t.ownerDocument,s=(o=l.defaultView)===null||o===void 0?void 0:o.getComputedStyle(t);return t.offsetParent===null&&l.body!==t&&s?.position!=="fixed"||s?.visibility==="hidden"||s?.position==="fixed"&&(s.display==="none"||((n=t.parentElement)===null||n===void 0?void 0:n.offsetParent)===null&&l.body!==t.parentElement)}function ya(t){return t.tagName==="INPUT"&&!!t.name&&t.type==="radio"}function Hy(t){if(!ya(t))return;const o=t.name;let n=Array.from(X.getElementsByName(t,o)),l;return n=n.filter(s=>ya(s)?(s.checked&&(l=s),!0):!1),{name:o,buttons:new Set(n),checked:l}}function Pn(t){var o;return((o=t?.__tabsterDummyContainer)===null||o===void 0?void 0:o.get())||null}function Xf(t,o){return JSON.stringify(t)}function Wy(t,o){for(const n of Object.keys(o)){const l=o[n];l?t[n]=l:delete t[n]}}function $y(t,o,n){let l;{const s=t.getAttribute(rr);if(s)try{l=JSON.parse(s)}catch{}}l||(l={}),Wy(l,o),Object.keys(l).length>0?t.setAttribute(rr,Xf(l)):t.removeAttribute(rr)}class Qf extends En{constructor(o,n,l,s){super(o,n,ba.Root,s,void 0,!0),this._onDummyInputFocus=c=>{var u;if(c.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const f=this._element.get();if(f){this._setFocused(!0);const p=this._tabster.focusedElement.getFirstOrLastTabbable(c.isFirst,{container:f,ignoreAccessibility:!0});if(p){Tr(p);return}}(u=c.input)===null||u===void 0||u.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=o,this._setFocused=l}}class Vy extends va{constructor(o,n,l,s,c){super(o,n,s),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 _y({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 Cy({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=l;const u=o.getWindow;this.uid=Xi(u,n),this._sys=c,(o.controlTab||o.rootDummyInputs)&&this.addDummyInputs();const p=u().document;p.addEventListener(tr,this._onFocusIn),p.addEventListener(zn,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Qf(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var o;this._onDispose(this);const n=this._tabster.getWindow(),l=n.document;l.removeEventListener(tr,this._onFocusIn),l.removeEventListener(zn,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 l=this._dummyManager;if(l)l.moveOutWithDefaultAction(o,n);else{const s=this.getElement();s&&Qf.moveWithPhantomDummy(this._tabster,s,!0,o,n)}}_add(){}_remove(){}}class rt{constructor(o,n){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var l;const s=this._win().document,c=s.body;if(c){this._autoRootUnwait(s);const u=this._autoRoot;if(u)return $y(c,{root:u}),If(this._tabster,c),(l=$t(this._tabster,c))===null||l===void 0?void 0:l.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,s.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=l=>{delete this._roots[l.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,l){const s=new Vy(this._tabster,o,this._onRootDispose,n,l);return this._roots[s.id]=s,this._forceDummy&&s.addDummyInputs(),s}addDummyInputs(){this._forceDummy=!0;const o=this._roots;for(const n of Object.keys(o))o[n].addDummyInputs()}static getRootByUId(o,n){const l=o().__tabsterInstance;return l&&l.root.rootById[n]}static getTabsterContext(o,n,l){l===void 0&&(l={});var s,c,u,f;if(!n.ownerDocument)return;const{checkRtl:p,referenceElement:m}=l,g=o.getParent;o.drainInitQueue();let v,k,y,x,b=!1,_,B,z,N,T=m||n;const R={};for(;T&&(!v||p);){const A=$t(o,T);if(p&&z===void 0){const he=T.dir;he&&(z=he.toLowerCase()==="rtl")}if(!A){T=g(T);continue}const q=T.tagName;(A.uncontrolled||q==="IFRAME"||q==="WEBVIEW")&&o.focusable.isVisible(T)&&(N=T),!x&&(!((s=A.focusable)===null||s===void 0)&&s.excludeFromMover)&&!y&&(b=!0);const Q=A.modalizer,ee=A.groupper,ve=A.mover;!k&&Q&&(k=Q),!y&&ee&&(!k||Q)&&(k?(!ee.isActive()&&ee.getProps().tabbability&&k.userId!==((c=o.modalizer)===null||c===void 0?void 0:c.activeId)&&(k=void 0,y=ee),B=ee):y=ee),!x&&ve&&(!k||Q)&&(!ee||T!==n)&&T.contains(n)&&(x=ve,_=!!y&&y!==ee),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&&!((f=n.ownerDocument)===null||f===void 0)&&f.body&&(v=A._autoRootCreate())}return y&&!x&&(_=!0),v?{root:v,modalizer:k,groupper:y,mover:x,groupperBeforeMover:_,modalizerInGroupper:B,rtl:p?!!z:void 0,uncontrolled:N,excludedFromMover:b,ignoreKeydown:A=>!!R[A.key]}:void 0}static getRoot(o,n){var l;const s=o.getParent;for(let c=n;c;c=s(c)){const u=(l=$t(o,c))===null||l===void 0?void 0:l.root;if(u)return u}}onRoot(o,n){n?delete this.rootById[o.uid]:this.rootById[o.uid]=o}}class Yf{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,l=n.indexOf(o);l>=0&&n.splice(l,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(l=>l(o,n))}}class Uy{constructor(o){this._tabster=o}dispose(){}getProps(o){const n=$t(this._tabster,o);return n&&n.focusable||{}}isFocusable(o,n,l,s){return Gf(o,Ff)&&(n||o.tabIndex!==-1)?(l||this.isVisible(o))&&(s||this.isAccessible(o)):!1}isVisible(o){if(!o.ownerDocument||o.nodeType!==Node.ELEMENT_NODE||qy(o))return!1;const n=o.ownerDocument.body.getBoundingClientRect();return!(n.width===0&&n.height===0)}isAccessible(o){var n;for(let l=o;l;l=X.getParentElement(l)){const s=$t(this._tabster,l);if(this._isHidden(l)||!((n=s?.focusable)===null||n===void 0?void 0:n.ignoreAriaDisabled)&&this._isDisabled(l))return!1}return!0}_isDisabled(o){return o.hasAttribute("disabled")}_isHidden(o){var n;const l=o.getAttribute("aria-hidden");return!!(l&&l.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:l=>this.isFocusable(l,o.includeProgrammaticallyFocusable)&&!!this.getProps(l).isDefault},n)||null}findAll(o){return this._findElements(!0,o)||[]}findElement(o,n){const l=this._findElements(!1,o,n);return l&&l[0]}_findElements(o,n,l){var s,c,u;const{container:f,currentElement:p=null,includeProgrammaticallyFocusable:m,useActiveModalizer:g,ignoreAccessibility:v,modalizerId:k,isBackward:y,onElement:x}=n;l||(l={});const b=[];let{acceptCondition:_}=n;const B=!!_;if(!f)return null;_||(_=R=>this.isFocusable(R,m,!1,v));const z={container:f,modalizerUserId:k===void 0&&g?(s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId:k||((u=(c=rt.getTabsterContext(this._tabster,f))===null||c===void 0?void 0:c.modalizer)===null||u===void 0?void 0:u.userId),from:p||f,isBackward:y,isFindAll:o,acceptCondition:_,hasCustomCondition:B,includeProgrammaticallyFocusable:m,ignoreAccessibility:v,cachedGrouppers:{},cachedRadioGroups:{}},N=ma(f.ownerDocument,f,R=>this._acceptElement(R,z));if(!N)return null;const T=R=>{var D,A;const q=(D=z.foundElement)!==null&&D!==void 0?D:z.foundBackward;return q&&b.push(q),o?q&&(z.found=!1,delete z.foundElement,delete z.foundBackward,delete z.fromCtx,z.from=q,x&&!x(q))?!1:!!(q||R):(q&&l&&(l.uncontrolled=(A=rt.getTabsterContext(this._tabster,q))===null||A===void 0?void 0:A.uncontrolled),!!(R&&!q))};if(p||(l.outOfDOMOrder=!0),p&&X.nodeContains(f,p))N.currentNode=p;else if(y){const R=Kf(f);if(!R)return null;if(this._acceptElement(R,z)===NodeFilter.FILTER_ACCEPT&&!T(!0))return z.skippedFocusable&&(l.outOfDOMOrder=!0),b;N.currentNode=R}do y?N.previousNode():N.nextNode();while(T());return z.skippedFocusable&&(l.outOfDOMOrder=!0),b.length?b:null}_acceptElement(o,n){var l,s,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 f=n.container;if(o===f)return NodeFilter.FILTER_SKIP;if(!X.nodeContains(f,o)||Pn(o)||X.nodeContains(n.rejectElementsFrom,o))return NodeFilter.FILTER_REJECT;const p=n.currentCtx=rt.getTabsterContext(this._tabster,o);if(!p)return NodeFilter.FILTER_SKIP;if(Vf(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)&&((l=p.modalizer)===null||l===void 0?void 0:l.userId)===((s=this._tabster.modalizer)===null||s===void 0?void 0:s.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=rt.getTabsterContext(this._tabster,n.from));const v=g?.mover;let k=p.groupper,y=p.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(f,b)&&(!x||!y||X.nodeContains(b,x))&&(y=v,_=b),x){if(x===f||!X.nodeContains(f,x))k=void 0;else if(!X.nodeContains(x,o))return NodeFilter.FILTER_REJECT}if(_){if(!X.nodeContains(f,_))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&&ya(o)&&!o.checked){const x=o.name;let b=n.cachedRadioGroups[x];if(b||(b=Hy(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 Gy(t,o){var n;const l=t.getParent;let s=o;do{const c=(n=$t(t,s))===null||n===void 0?void 0:n.uncontrolled;if(c&&t.uncontrolled.isUncontrolledCompletely(s,!!c.completely))return s;s=l(s)}while(s)}const Jf={[qo.Restorer]:0,[qo.Deloser]:1,[qo.EscapeGroupper]:2};class Xe extends Yf{constructor(o,n){super(),this._init=()=>{const l=this._win(),s=l.document;s.addEventListener(tr,this._onFocusIn,!0),s.addEventListener(zn,this._onFocusOut,!0),l.addEventListener("keydown",this._onKeyDown,!0);const c=X.getActiveElement(s);c&&c!==s.body&&this._setFocusedElement(c),this.subscribe(this._onChanged)},this._onFocusIn=l=>{const s=l.composedPath()[0];s&&this._setFocusedElement(s,l.detail.relatedTarget,l.detail.isFocusedProgrammatically)},this._onFocusOut=l=>{var s;this._setFocusedElement(void 0,(s=l.detail)===null||s===void 0?void 0:s.originalEvent.relatedTarget)},this._validateFocusedElement=l=>{},this._onKeyDown=l=>{if(l.key!==Ke.Tab||l.ctrlKey)return;const s=this.getVal();if(!s||!s.ownerDocument||s.contentEditable==="true")return;const c=this._tabster,u=c.controlTab,f=rt.getTabsterContext(c,s);if(!f||f.ignoreKeydown(l))return;const p=l.shiftKey,m=Xe.findNextTabbable(c,f,void 0,s,void 0,p,!0),g=f.root.getElement();if(!g)return;const v=m?.element,k=Gy(c,s);if(v){const y=m.uncontrolled;if(f.uncontrolled||X.nodeContains(y,s)){if(!m.outOfDOMOrder&&y===f.uncontrolled||k&&!X.nodeContains(k,v))return;En.addPhantomDummyWithTarget(c,s,p,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:l}))&&En.moveWithPhantomDummy(c,y??v,!1,p,l);return}(u||m?.outOfDOMOrder)&&g.dispatchEvent(new Vr({by:"root",owner:g,next:v,relatedEvent:l}))&&(l.preventDefault(),l.stopImmediatePropagation(),Tr(v))}else!k&&g.dispatchEvent(new Vr({by:"root",owner:g,next:null,relatedEvent:l}))&&f.root.moveOutWithDefaultAction(p,l)},this._onChanged=(l,s)=>{var c,u;if(l)l.dispatchEvent(new ky(s));else{const f=(c=this._lastVal)===null||c===void 0?void 0:c.get();if(f){const p={...s},m=rt.getTabsterContext(this._tabster,f),g=(u=m?.modalizer)===null||u===void 0?void 0:u.userId;g&&(p.modalizerId=g),f.dispatchEvent(new xy(p))}}},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(zn,this._onFocusOut,!0),o.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const l=this._asyncFocus;l&&(o.clearTimeout(l.timeout),delete this._asyncFocus),delete Xe._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(o,n){var l,s;let c=Xe._lastResetElement,u=c&&c.get();u&&X.nodeContains(n,u)&&delete Xe._lastResetElement,u=(s=(l=o._nextVal)===null||l===void 0?void 0:l.element)===null||s===void 0?void 0:s.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&&!ga(n.ownerDocument,n))&&(this._lastVal=n=void 0),n}focus(o,n,l,s){return this._tabster.focusable.isFocusable(o,n,!1,l)?(o.focus({preventScroll:s}),!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 l;const{container:s,ignoreAccessibility:c}=n;let u;if(s){const f=rt.getTabsterContext(this._tabster,s);f&&(u=(l=Xe.findNextTabbable(this._tabster,f,s,void 0,void 0,!o,c))===null||l===void 0?void 0:l.element)}return u&&!X.nodeContains(s,u)&&(u=void 0),u||void 0}_focusFirstOrLast(o,n){const l=this.getFirstOrLastTabbable(o,n);return l?(this.focus(l,!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"),l=o.getAttribute("aria-hidden");o.tabIndex=-1,o.setAttribute("aria-hidden","true"),Xe._lastResetElement=new hr(this._win,o),this.focus(o,!0,!0),this._setOrRemoveAttribute(o,"tabindex",n),this._setOrRemoveAttribute(o,"aria-hidden",l)}return!0}requestAsyncFocus(o,n,l){const s=this._tabster.getWindow(),c=this._asyncFocus;if(c){if(Jf[o]>Jf[c.source])return;s.clearTimeout(c.timeout)}this._asyncFocus={source:o,callback:n,timeout:s.setTimeout(()=>{this._asyncFocus=void 0,n()},l)}}cancelAsyncFocus(o){const n=this._asyncFocus;n?.source===o&&(this._tabster.getWindow().clearTimeout(n.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(o,n,l){l===null?o.removeAttribute(n):o.setAttribute(n,l)}_setFocusedElement(o,n,l){var s,c;if(this._tabster._noop)return;const u={relatedTarget:n};if(o){const p=(s=Xe._lastResetElement)===null||s===void 0?void 0:s.get();if(Xe._lastResetElement=void 0,p===o||Vf(o))return;u.isFocusedProgrammatically=l;const m=rt.getTabsterContext(this._tabster,o),g=(c=m?.modalizer)===null||c===void 0?void 0:c.userId;g&&(u.modalizerId=g)}const f=this._nextVal={element:o?new hr(this._win,o):void 0,detail:u};o&&o!==this._val&&this._validateFocusedElement(o),this._nextVal===f&&this.setVal(o,u),this._nextVal=void 0}setVal(o,n){super.setVal(o,n),o&&(this._lastVal=new hr(this._win,o))}static findNextTabbable(o,n,l,s,c,u,f){const p=l||n.root.getElement();if(!p)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(s,c,u,f),s&&!m?.element){const B=_!==k&&X.getParentElement(_.getElement());if(B){const z=rt.getTabsterContext(o,s,{referenceElement:B});if(z){const N=_.getElement(),T=u?N:N&&Kf(N)||N;T&&(m=Xe.findNextTabbable(o,z,l,T,B,u,f),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:p,currentElement:s,referenceElement:c,ignoreAccessibility:f,useActiveModalizer:!0},B={};m={element:o.focusable[u?"findPrev":"findNext"](_,B),outOfDOMOrder:B.outOfDOMOrder,uncontrolled:B.uncontrolled}}return m}}Xe.isTabbing=!1;class Ky extends En{constructor(o,n,l,s){super(l,o,ba.Groupper,s,!0),this._setHandlers((c,u,f)=>{var p,m;const g=o.get(),v=c.input;if(g&&v){const k=rt.getTabsterContext(l,v);if(k){let y;y=(p=n.findNextTabbable(f||void 0,void 0,u,!0))===null||p===void 0?void 0:p.element,y||(y=(m=Xe.findNextTabbable(l,k,void 0,c.isOutside?v:Ly(g,!u),void 0,u,!0))===null||m===void 0?void 0:m.element),y&&Tr(y)}}})}}class Xy extends va{constructor(o,n,l,s,c){super(o,n,s),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=l,o.controlTab||(this.dummyManager=new Ky(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,l,s){const c=this.getElement();if(!c)return null;const u=Pn(o)===c;if(!this._shouldTabInside&&o&&X.nodeContains(c,o)&&!u)return{element:void 0,outOfDOMOrder:!0};const f=this.getFirst(!0);if(!o||!X.nodeContains(c,o)||u)return{element:f,outOfDOMOrder:!0};const p=this._tabster;let m=null,g=!1,v;if(this._shouldTabInside&&f){const k={container:c,currentElement:o,referenceElement:n,ignoreAccessibility:s,useActiveModalizer:!0},y={};m=p.focusable[l?"findPrev":"findNext"](k,y),g=!!y.outOfDOMOrder,!m&&this._props.tabbability===Gi.LimitedTrapFocus&&(m=p.focusable[l?"findLast":"findFirst"]({container:c,ignoreAccessibility:s,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 l=this.getElement()||null;let s=!0;for(let u=X.getParentElement(l);u;u=X.getParentElement(u)){const f=(n=$t(this._tabster,u))===null||n===void 0?void 0:n.groupper;f&&(f._shouldTabInside||(s=!1))}let c=s?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 l=this.getElement();let s;if(l){if(o&&this._tabster.focusable.isFocusable(l))return l;s=(n=this._first)===null||n===void 0?void 0:n.get(),s||(s=this._tabster.focusable.findFirst({container:l,useActiveModalizer:!0})||void 0,s&&this.setFirst(s))}return s}setFirst(o){o?this._first=new hr(this._tabster.getWindow,o):delete this._first}acceptElement(o,n){const l=n.cachedGrouppers,s=X.getParentElement(this.getElement()),c=s&&rt.getTabsterContext(this._tabster,s),u=c?.groupper,f=c?.groupperBeforeMover?u:void 0;let p;const m=k=>{let y=l[k.id],x;return y?x=y.isActive:(x=this.isActive(!0),y=l[k.id]={isActive:x}),x};if(f&&(p=f.getElement(),!m(f)&&p&&n.container!==p&&X.nodeContains(n.container,p)))return n.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const g=m(this),v=this.getElement();if(v&&g!==!0){if(v===o&&u&&(p||(p=u.getElement()),p&&!m(u)&&X.nodeContains(n.container,p)&&p!==n.container)||v!==o&&X.nodeContains(v,o))return n.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const k=l[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 Qy{constructor(o,n){this._current={},this._grouppers={},this._init=()=>{const l=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const s=l.document,c=X.getActiveElement(s);c&&this._onFocus(c),s.addEventListener("mousedown",this._onMouseDown,!0),l.addEventListener("keydown",this._onKeyDown,!0),l.addEventListener(fa,this._onMoveFocus)},this._onGroupperDispose=l=>{delete this._grouppers[l.id]},this._onFocus=l=>{l&&this._updateCurrent(l)},this._onMouseDown=l=>{let s=l.target;for(;s&&!this._tabster.focusable.isFocusable(s);)s=this._tabster.getParent(s);s&&this._updateCurrent(s)},this._onKeyDown=l=>{if(l.key!==Ke.Enter&&l.key!==Ke.Escape||l.ctrlKey||l.altKey||l.shiftKey||l.metaKey)return;const s=this._tabster.focusedElement.getFocusedElement();s&&this.handleKeyPress(s,l)},this._onMoveFocus=l=>{var s;const c=l.composedPath()[0],u=(s=l.detail)===null||s===void 0?void 0:s.action;c&&u!==void 0&&!l.defaultPrevented&&(u===Ki.Enter?this._enterGroupper(c):this._escapeGroupper(c),l.stopImmediatePropagation())},this._tabster=o,this._win=n,o.queueInit(this._init)}dispose(){const o=this._win();this._tabster.focusedElement.cancelAsyncFocus(qo.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(fa,this._onMoveFocus),Object.keys(this._grouppers).forEach(n=>{this._grouppers[n]&&(this._grouppers[n].dispose(),delete this._grouppers[n])})}createGroupper(o,n,l){const s=this._tabster,c=new Xy(s,o,this._onGroupperDispose,n,l);this._grouppers[c.id]=c;const u=s.focusedElement.getFocusedElement();return u&&X.nodeContains(o,u)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,u===s.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 l=this._tabster,s={};for(let c=l.getParent(o);c;c=l.getParent(c)){const u=(n=$t(l,c))===null||n===void 0?void 0:n.groupper;if(u){s[u.id]=!0,this._current[u.id]=u;const f=u.isActive()||o!==c&&(!u.getProps().delegated||u.getFirst(!1)!==o);u.makeTabbable(f)}}for(const c of Object.keys(this._current)){const u=this._current[c];u.id in s||(u.makeTabbable(!1),u.setFirst(void 0),delete this._current[c])}}_enterGroupper(o,n){const l=this._tabster,s=rt.getTabsterContext(l,o),c=s?.groupper||s?.modalizerInGroupper,u=c?.getElement();if(c&&u&&(o===u||c.getProps().delegated&&o===c.getFirst(!1))){const f=l.focusable.findNext({container:u,currentElement:o,useActiveModalizer:!0});if(f&&(!n||n&&u.dispatchEvent(new Vr({by:"groupper",owner:u,next:f,relatedEvent:n}))))return n&&(n.preventDefault(),n.stopImmediatePropagation()),f.focus(),f}return null}_escapeGroupper(o,n,l){const s=this._tabster,c=rt.getTabsterContext(s,o);let u=c?.groupper||c?.modalizerInGroupper;const f=u?.getElement();if(u&&f&&X.nodeContains(f,o)){let p;if(o!==f||l)p=u.getFirst(!0);else{const m=X.getParentElement(f),g=m?rt.getTabsterContext(s,m):void 0;u=g?.groupper,p=u?.getFirst(!0)}if(p&&(!n||n&&f.dispatchEvent(new Vr({by:"groupper",owner:f,next:p,relatedEvent:n}))))return u&&u.makeTabbable(!1),p.focus(),p}return null}moveFocus(o,n){return n===Ki.Enter?this._enterGroupper(o):this._escapeGroupper(o)}handleKeyPress(o,n,l){const s=this._tabster,c=rt.getTabsterContext(s,o);if(c&&(c?.groupper||c?.modalizerInGroupper)){if(s.focusedElement.cancelAsyncFocus(qo.EscapeGroupper),c.ignoreKeydown(n))return;if(n.key===Ke.Enter)this._enterGroupper(o,n);else if(n.key===Ke.Escape){const u=s.focusedElement.getFocusedElement();s.focusedElement.requestAsyncFocus(qo.EscapeGroupper,()=>{u!==s.focusedElement.getFocusedElement()&&(l&&!u||!l)||this._escapeGroupper(o,n,l)},0)}}}}class Yy extends Yf{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 Jy=["input","textarea","*[contenteditable]"].join(", ");class Zy extends En{constructor(o,n,l,s){super(n,o,ba.Mover,s),this._onFocusDummyInput=c=>{var u,f;const p=this._element.get(),m=c.input;if(p&&m){const g=rt.getTabsterContext(this._tabster,p);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=(f=this._getMemorized())===null||f===void 0?void 0:f.get();k&&this._tabster.focusable.isFocusable(k)&&(v=k),v&&Tr(v)}},this._tabster=n,this._getMemorized=l,this._setHandlers(this._onFocusDummyInput)}}const wa=1,Zf=2,ep=3;class ew extends va{constructor(o,n,l,s,c){var u;super(o,n,s),this._visible={},this._onIntersection=p=>{for(const m of p){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 jf(x))}}},this._win=o.getWindow,this.visibilityTolerance=(u=s.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=l;const f=()=>s.memorizeCurrent?this._current:void 0;o.controlTab||(this.dummyManager=new Zy(this._element,o,f,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 hr(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 l=[];this._current!==this._prevCurrent&&(l.push(this._current),l.push(this._prevCurrent),this._prevCurrent=this._current);for(const s of l){const c=s?.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 f=this.getState(c);f&&c.dispatchEvent(new jf(f))}}}}))}getCurrent(){var o;return((o=this._current)===null||o===void 0?void 0:o.get())||null}findNextTabbable(o,n,l,s){const c=this.getElement(),u=c&&Pn(o)===c;if(!c)return null;let f=null,p=!1,m;if(this._props.tabbable||u||o&&!X.nodeContains(c,o)){const g={currentElement:o,referenceElement:n,container:c,ignoreAccessibility:s,useActiveModalizer:!0},v={};f=this._tabster.focusable[l?"findPrev":"findNext"](g,v),p=!!v.outOfDOMOrder,m=v.uncontrolled}return{element:f,uncontrolled:m,outOfDOMOrder:p}}acceptElement(o,n){var l,s;if(!Xe.isTabbing)return!((l=n.currentCtx)===null||l===void 0)&&l.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:c,visibilityAware:u,hasDefault:f=!0}=this._props,p=this.getElement();if(p&&(c||u||f)&&(!X.nodeContains(p,n.from)||Pn(n.from)===p)){let m;if(c){const g=(s=this._current)===null||s===void 0?void 0:s.get();g&&n.acceptCondition(g)&&(m=g)}if(!m&&f&&(m=this._tabster.focusable.findDefault({container:p,useActiveModalizer:!0})),!m&&u&&(m=this._tabster.focusable.findElement({container:p,useActiveModalizer:!0,isBackward:n.isBackward,acceptCondition:g=>{var v;const k=Xi(this._win,g),y=this._visible[k];return p!==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=p,n.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const o=this.getElement();if(this._unobserve||!o||typeof MutationObserver>"u")return;const n=this._win(),l=this._allElements=new WeakMap,s=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:Zf});else{for(let z=0;z<_.length;z++)c.push({element:_[z],type:ep});for(let z=0;z<B.length;z++)c.push({element:B[z],type:wa})}}v()}),f=(y,x)=>{var b,_;const B=l.get(y);B&&x&&((b=this._intersectionObserver)===null||b===void 0||b.unobserve(y),l.delete(y)),!B&&!x&&(l.set(y,this),(_=this._intersectionObserver)===null||_===void 0||_.observe(y))},p=y=>{const x=s.isFocusable(y);l.get(y)?x||f(y,!0):x&&f(y)},m=y=>{const{mover:x}=k(y);if(x&&x!==this)if(x.getElement()===y&&s.isFocusable(y))f(y);else return;const b=ma(n.document,y,_=>{const{mover:B,groupper:z}=k(_);if(B&&B!==this)return NodeFilter.FILTER_REJECT;const N=z?.getFirst(!0);return z&&z.getElement()!==_&&N&&N!==_?NodeFilter.FILTER_REJECT:(s.isFocusable(_)&&f(_),NodeFilter.FILTER_SKIP)});if(b)for(b.currentNode=y;b.nextNode(););},g=y=>{l.get(y)&&f(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 Zf:p(y);break;case wa:m(y);break;case ep: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:wa}),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 l=this._visible[n]||Wr.Invisible;return{isCurrent:this._current?this._current.get()===o:void 0,visibility:l}}}}function tw(t,o,n,l,s,c,u,f){const p=n<s?s-n:u<t?t-u:0,m=l<c?c-l:f<o?o-f:0;return p===0?m:m===0?p:Math.sqrt(p*p+m*m)}class rw{constructor(o,n){this._init=()=>{const l=this._win();l.addEventListener("keydown",this._onKeyDown,!0),l.addEventListener(da,this._onMoveFocus),l.addEventListener(Df,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=l=>{delete this._movers[l.id]},this._onFocus=l=>{var s;let c=l,u=l;for(let f=X.getParentElement(l);f;f=X.getParentElement(f)){const p=(s=$t(this._tabster,f))===null||s===void 0?void 0:s.mover;p&&(p.setCurrent(u),c=void 0),!c&&this._tabster.focusable.isFocusable(f)&&(c=u=f)}},this._onKeyDown=async l=>{var s;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),(s=this._ignoredInputResolve)===null||s===void 0||s.call(this,!1),l.ctrlKey||l.altKey||l.shiftKey||l.metaKey)return;const c=l.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 f=this._tabster.focusedElement.getFocusedElement();!f||await this._isIgnoredInput(f,c)||this._moveFocus(f,u,l)},this._onMoveFocus=l=>{var s;const c=l.composedPath()[0],u=(s=l.detail)===null||s===void 0?void 0:s.key;c&&u!==void 0&&!l.defaultPrevented&&(this._moveFocus(c,u),l.stopImmediatePropagation())},this._onMemorizedElement=l=>{var s;const c=l.composedPath()[0];let u=(s=l.detail)===null||s===void 0?void 0:s.memorizedElement;if(c){const f=rt.getTabsterContext(this._tabster,c),p=f?.mover;p&&(u&&!X.nodeContains(p.getElement(),u)&&(u=void 0),p.setCurrent(u),l.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(da,this._onMoveFocus),n.removeEventListener(Df,this._onMemorizedElement),Object.keys(this._movers).forEach(l=>{this._movers[l]&&(this._movers[l].dispose(),delete this._movers[l])})}createMover(o,n,l){const s=new ew(this._tabster,o,this._onMoverDispose,n,l);return this._movers[s.id]=s,s}moveFocus(o,n){return this._moveFocus(o,n)}_moveFocus(o,n,l){var s,c;const u=this._tabster,f=rt.getTabsterContext(u,o,{checkRtl:!0});if(!f||!f.mover||f.excludedFromMover||l&&f.ignoreKeydown(l))return null;const p=f.mover,m=p.getElement();if(f.groupperBeforeMover){const q=f.groupper;if(q&&!q.isActive(!0)){for(let Q=X.getParentElement(q.getElement());Q&&Q!==m;Q=X.getParentElement(Q))if(!((c=(s=$t(u,Q))===null||s===void 0?void 0:s.groupper)===null||c===void 0)&&c.isActive(!0))return null}else return null}if(!m)return null;const g=u.focusable,v=p.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,z=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)),f.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 q=Math.ceil(N.getBoundingClientRect().left);!_&&A>q&&(N=void 0)}else!N&&z&&(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 q=Math.floor(N.getBoundingClientRect().right);!_&&q>D&&(N=void 0)}else!N&&z&&(N=g.findLast({container:m,useActiveModalizer:!0}));else if(n===$e.Home)B?g.findElement({container:m,currentElement:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:q=>{var Q;if(!g.isFocusable(q))return!1;const ee=Math.ceil((Q=q.getBoundingClientRect().left)!==null&&Q!==void 0?Q:0);return q!==o&&D<=ee?!0:(N=q,!1)}}):N=g.findFirst({container:m,useActiveModalizer:!0});else if(n===$e.End)B?g.findElement({container:m,currentElement:o,useActiveModalizer:!0,acceptCondition:q=>{var Q;if(!g.isFocusable(q))return!1;const ee=Math.ceil((Q=q.getBoundingClientRect().left)!==null&&Q!==void 0?Q:0);return q!==o&&D>=ee?!0:(N=q,!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:q=>g.isFocusable(q)?Wf(this._win,q,p.visibilityTolerance)?(N=q,!1):!0:!1}),B&&N){const q=Math.ceil(N.getBoundingClientRect().left);g.findElement({currentElement:N,container:m,useActiveModalizer:!0,acceptCondition:Q=>{if(!g.isFocusable(Q))return!1;const ee=Math.ceil(Q.getBoundingClientRect().left);return D<ee||q>=ee?!0:(N=Q,!1)}})}T=!1}else if(n===$e.PageDown){if(g.findElement({currentElement:o,container:m,useActiveModalizer:!0,acceptCondition:q=>g.isFocusable(q)?Wf(this._win,q,p.visibilityTolerance)?(N=q,!1):!0:!1}),B&&N){const q=Math.ceil(N.getBoundingClientRect().left);g.findElement({currentElement:N,container:m,useActiveModalizer:!0,isBackward:!0,acceptCondition:Q=>{if(!g.isFocusable(Q))return!1;const ee=Math.ceil(Q.getBoundingClientRect().left);return D>ee||q<=ee?!0:(N=Q,!1)}})}T=!0}else if(B){const q=n===$e.ArrowUp,Q=D,ee=Math.ceil(R.top),ve=A,he=Math.floor(R.bottom);let H,re,xe=0;g.findAll({container:m,currentElement:o,isBackward:q,onElement:be=>{const pe=be.getBoundingClientRect(),U=Math.ceil(pe.left),te=Math.ceil(pe.top),Y=Math.floor(pe.right),F=Math.floor(pe.bottom);if(q&&ee<F||!q&&he>te)return!0;const M=Math.ceil(Math.min(ve,Y))-Math.floor(Math.max(Q,U)),le=Math.ceil(Math.min(ve-Q,Y-U));if(M>0&&le>=M){const me=M/le;me>xe&&(H=be,xe=me)}else if(xe===0){const me=tw(Q,ee,ve,he,U,te,Y,F);(re===void 0||me<re)&&(re=me,H=be)}else if(xe>0)return!1;return!0}}),N=H}return N&&(!l||l&&m.dispatchEvent(new Vr({by:"mover",owner:m,next:N,relatedEvent:l})))?(T!==void 0&&Ry(this._win,N,T),l&&(l.preventDefault(),l.stopImmediatePropagation()),Tr(N),N):null}async _isIgnoredInput(o,n){if(o.getAttribute("aria-expanded")==="true"&&o.hasAttribute("aria-activedescendant"))return!0;if(Gf(o,Jy)){let l=0,s=0,c=0,u;if(o.tagName==="INPUT"||o.tagName==="TEXTAREA"){const f=o.type;if(c=(o.value||"").length,f==="email"||f==="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 f==="hidden";l=m||0,s=o.selectionEnd||0}}else o.contentEditable==="true"&&(u=new(Dy(this._win))(f=>{this._ignoredInputResolve=y=>{delete this._ignoredInputResolve,f(y)};const p=this._win();this._ignoredInputTimer&&p.clearTimeout(this._ignoredInputTimer);const{anchorNode:m,focusNode:g,anchorOffset:v,focusOffset:k}=X.getSelection(o)||{};this._ignoredInputTimer=p.setTimeout(()=>{var y,x,b;delete this._ignoredInputTimer;const{anchorNode:_,focusNode:B,anchorOffset:z,focusOffset:N}=X.getSelection(o)||{};if(_!==m||B!==g||z!==v||N!==k){(y=this._ignoredInputResolve)===null||y===void 0||y.call(this,!1);return}if(l=z||0,s=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!==_&&(s+=Q):(l+=Q,s+=Q)}let q=!1;for(let Q=X.getFirstChild(D);Q&&!q;Q=Q.nextSibling)q=R(Q);return q};R(o)}(b=this._ignoredInputResolve)===null||b===void 0||b.call(this,!0)},0)}));if(u&&!await u||l!==s||l>0&&(n===Ke.ArrowLeft||n===Ke.ArrowUp||n===Ke.Home)||l<c&&(n===Ke.ArrowRight||n===Ke.ArrowDown||n===Ke.End))return!0}return!1}}function ow(t,o,n,l){if(typeof MutationObserver>"u")return()=>{};const s=o.getWindow;let c;const u=g=>{var v,k,y,x,b;const _=new Set;for(const B of g){const z=B.target,N=B.removedNodes,T=B.addedNodes;if(B.type==="attributes")B.attributeName===rr&&(_.has(z)||n(o,z));else{for(let R=0;R<N.length;R++){const D=N[R];_.add(D),f(D,!0),(k=(v=o._dummyObserver).domChanged)===null||k===void 0||k.call(v,z)}for(let R=0;R<T.length;R++)f(T[R]),(x=(y=o._dummyObserver).domChanged)===null||x===void 0||x.call(y,z)}}_.clear(),(b=o.modalizer)===null||b===void 0||b.hiddenUpdate()};function f(g,v){c||(c=zr(s).elementByUId),p(g,v);const k=ma(t,g,y=>p(y,v));if(k)for(;k.nextNode(););}function p(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 hr(s,g))),($t(o,g)||g.hasAttribute(rr))&&n(o,g,v),NodeFilter.FILTER_SKIP}const m=X.createMutationObserver(u);return l&&f(s().document.body),m.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[rr]}),()=>{m.disconnect()}}class nw{constructor(o){this._isUncontrolledCompletely=o}isUncontrolledCompletely(o,n){var l;const s=(l=this._isUncontrolledCompletely)===null||l===void 0?void 0:l.call(this,o,n);return s===void 0?n:s}}class iw{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 lw{constructor(o,n){var l,s;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=zy(o),this._win=o;const c=this.getWindow;n?.DOMAPI&&By({...n.DOMAPI}),this.keyboardNavigation=new Yy(c),this.focusedElement=new Xe(this,c),this.focusable=new Uy(this),this.root=new rt(this,n?.autoRoot),this.uncontrolled=new nw(n?.checkUncontrolledCompletely||n?.checkUncontrolledTrappingFocus),this.controlTab=(l=n?.controlTab)!==null&&l!==void 0?l:!0,this.rootDummyInputs=!!n?.rootDummyInputs,this._dummyObserver=new Ay(c),this.getParent=(s=n?.getParent)!==null&&s!==void 0?s:X.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:u=>{if(!this._unobserve){const f=c().document;this._unobserve=ow(f,this,If,u)}}},qf(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 l=new iw(this);return o||this._wrappers.add(l),this._mergeProps(n),l}disposeTabster(o,n){n?this._wrappers.clear():this._wrappers.delete(o),this._wrappers.size===0&&this.dispose()}dispose(){var o,n,l,s,c,u,f,p;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(),(l=this.deloser)===null||l===void 0||l.dispose(),(s=this.groupper)===null||s===void 0||s.dispose(),(c=this.mover)===null||c===void 0||c.dispose(),(u=this.modalizer)===null||u===void 0||u.dispose(),(f=this.observedElement)===null||f===void 0||f.dispose(),(p=this.restorer)===null||p===void 0||p.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Py(this.getWindow),Uf(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),m&&(Ty(m),delete m.__tabsterInstance,delete this._win)}storageEntry(o,n){const l=this._storage;let s=l.get(o);return s?n===!1&&Object.keys(s).length===0&&l.delete(o):n===!0&&(s={},l.set(o,s)),s}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())Uf(this.getWindow,o),Xe.forgetMemorized(this.focusedElement,o)},0),Lf(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 sw(t,o){let n=dw(t);return n?n.createTabster(!1,o):(n=new lw(t,o),t.__tabsterInstance=n,n.createTabster())}function aw(t){const o=t.core;return o.groupper||(o.groupper=new Qy(o,o.getWindow)),o.groupper}function cw(t){const o=t.core;return o.mover||(o.mover=new rw(o,o.getWindow)),o.mover}function uw(t,o){t.core.disposeTabster(t,o)}function dw(t){return t.__tabsterInstance}const fw=t=>t;function pw(t){const o=t?.defaultView||void 0,n=o?.__tabsterShadowDOMAPI;if(o)return sw(o,{autoRoot:{},controlTab:!1,getParent:Qb,checkUncontrolledCompletely:l=>{var s;return((s=l.firstElementChild)===null||s===void 0?void 0:s.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:n})}function Yi(t=fw){const{targetDocument:o}=at(),n=S.useRef(null);return Wt(()=>{const l=pw(o);if(l)return n.current=t(l),()=>{uw(l),n.current=null}},[o,t]),n}const ka=t=>{Yi();const o=Xf(t);return S.useMemo(()=>({[rr]:o}),[o])},xa=(t={})=>{const{circular:o,axis:n,memorizeCurrent:l=!0,tabbable:s,ignoreDefaultKeydown:c,unstable_hasDefault:u}=t;return Yi(cw),ka({mover:{cyclic:!!o,direction:hw(n??"vertical"),memorizeCurrent:l,tabbable:s,hasDefault:u},...c&&{focusable:{ignoreKeydown:c}}})};function hw(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 Sa=t=>(Yi(aw),ka({groupper:{tabbability:mw(t?.tabBehavior)},focusable:{ignoreKeydown:t?.ignoreDefaultKeydown}})),mw=t=>{switch(t){case"unlimited":return Gi.Unlimited;case"limited":return Gi.Limited;case"limited-trap-focus":return Gi.LimitedTrapFocus;default:return}},_a=()=>{const t=Yi(),{targetDocument:o}=at(),n=S.useCallback((f,p)=>{var m;return f&&((m=t.current)===null||m===void 0?void 0:m.focusable.findAll({container:f,acceptCondition:p}))||[]},[t]),l=S.useCallback(f=>{var p;return f&&((p=t.current)===null||p===void 0?void 0:p.focusable.findFirst({container:f}))},[t]),s=S.useCallback(f=>{var p;return f&&((p=t.current)===null||p===void 0?void 0:p.focusable.findLast({container:f}))},[t]),c=S.useCallback((f,p={})=>{if(!t.current||!o||!f)return null;const{container:m=o.body}=p;return t.current.focusable.findNext({currentElement:f,container:m})},[t,o]),u=S.useCallback((f,p={})=>{if(!t.current||!o||!f)return null;const{container:m=o.body}=p;return t.current.focusable.findPrev({currentElement:f,container:m})},[t,o]);return{findAllFocusable:n,findFirstFocusable:l,findLastFocusable:s,findNextFocusable:c,findPrevFocusable:u}},tp="data-fui-focus-visible",rp="data-fui-focus-within";function gw(t,o){if(op(t))return()=>{};const n={current:void 0},l=Vi(o);function s(p){l.isNavigatingWithKeyboard()&&Nr(p)&&(n.current=p,p.setAttribute(tp,""))}function c(){n.current&&(n.current.removeAttribute(tp),n.current=void 0)}l.subscribe(p=>{p?s(o.document.activeElement):c()});const u=p=>{c();const m=p.composedPath()[0];s(m)},f=p=>{(!p.relatedTarget||Nr(p.relatedTarget)&&!t.contains(p.relatedTarget))&&c()};return t.addEventListener(tr,u),t.addEventListener("focusout",f),t.focusVisible=!0,t.contains(o.document.activeElement)&&s(o.document.activeElement),()=>{c(),t.removeEventListener(tr,u),t.removeEventListener("focusout",f),t.focusVisible=void 0,Ui(l)}}function op(t){return t?t.focusVisible?!0:op(t?.parentElement):!1}function Ca(t={}){const o=at(),n=S.useRef(null);var l;const s=(l=t.targetDocument)!==null&&l!==void 0?l:o.targetDocument;return S.useEffect(()=>{if(s?.defaultView&&n.current)return gw(n.current,s.defaultView)},[n,s]),n}function vw(t,o){const n=Vi(o);n.subscribe(c=>{c||np(t)});const l=c=>{n.isNavigatingWithKeyboard()&&ip(c.target)&&bw(t)},s=c=>{(!c.relatedTarget||ip(c.relatedTarget)&&!t.contains(c.relatedTarget))&&np(t)};return t.addEventListener(tr,l),t.addEventListener("focusout",s),()=>{t.removeEventListener(tr,l),t.removeEventListener("focusout",s),Ui(n)}}function bw(t){t.setAttribute(rp,"")}function np(t){t.removeAttribute(rp)}function ip(t){return t?!!(t&&typeof t=="object"&&"classList"in t&&"contains"in t):!1}function Rn(){const{targetDocument:t}=at(),o=S.useRef(null);return S.useEffect(()=>{if(t?.defaultView&&o.current)return vw(o.current,t.defaultView)},[o,t]),o}function lp(){const{targetDocument:t}=at(),o=S.useRef(null);return S.useEffect(()=>{const n=t?.defaultView;if(n){const l=Vi(n);return o.current=l,()=>{Ui(l),o.current=null}}},[t]),o}function sp(t){const o=lp(),n=ke(t);S.useEffect(()=>{const l=o.current;if(l){const s=c=>{n(c)};return l.subscribe(s),s(l.isNavigatingWithKeyboard()),()=>{l.unsubscribe(s)}}},[o,n])}const yw=(...t)=>{"use no memo";const o=t.reduce((n,l)=>(l?.[rr]&&n.push(l[rr]),n),[]);return S.useMemo(()=>({[rr]:o.length>0?o.reduce(ww):void 0}),o)},ww=(t,o)=>JSON.stringify(Object.assign(ap(t),ap(o))),ap=t=>{try{return JSON.parse(t)}catch{return{}}};function kw(){const t=lp();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)"},xw={50:"rgba(26, 26, 26, 0.5)"},Sw={70:"rgba(31, 31, 31, 0.7)"},cp={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},ye="#ffffff",Ba="#000000",_w={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},up={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},Cw={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},Bw={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},Nw={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},Tw={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},zw={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Ew={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},Pw={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},Rw={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},Fw={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},Iw={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},Dw={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},jw={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},Ow={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},dp={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},Aw={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},Mw={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},Lw={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},qw={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},Hw={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},Ww={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},$w={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},Vw={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},Uw={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},Gw={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},Kw={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},Xw={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},Qw={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},Yw={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},Jw={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},Zw={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},ek={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},tk={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},rk={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},ok={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:Cw,green:dp,darkOrange:Bw,yellow:Pw,berry:Xw,lightGreen:Ow,marigold:Ew},Ur={darkRed:_w,cranberry:up,pumpkin:Nw,peach:zw,gold:Rw,brass:Fw,brown:Iw,forest:Dw,seafoam:jw,darkGreen:Aw,lightTeal:Mw,teal:Lw,steel:qw,blue:Hw,royalBlue:Ww,cornflower:$w,navy:Vw,lavender:Uw,purple:Gw,grape:Kw,lilac:Qw,pink:Yw,magenta:Jw,plum:Zw,beige:ek,mink:tk,platinum:rk,anchor:ok},_e={cranberry:up,green:dp,orange:Tw},fp=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],pp=["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"},Fn=fp.reduce((t,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),l={[`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,l)},{});Fn.colorPaletteYellowForeground1=Te.yellow.shade30,Fn.colorPaletteRedForegroundInverted=Te.red.tint20,Fn.colorPaletteGreenForegroundInverted=Te.green.tint20,Fn.colorPaletteYellowForegroundInverted=Te.yellow.tint40;const nk=pp.reduce((t,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorPalette${n}Background2`]:Ur[o].tint40,[`colorPalette${n}Foreground2`]:Ur[o].shade30,[`colorPalette${n}BorderActive`]:Ur[o].primary};return Object.assign(t,l)},{}),ik={...Fn,...nk},Ho=Object.entries(Bt).reduce((t,[o,n])=>{const l=o.slice(0,1).toUpperCase()+o.slice(1),s={[`colorStatus${l}Background1`]:_e[n].tint60,[`colorStatus${l}Background2`]:_e[n].tint40,[`colorStatus${l}Background3`]:_e[n].primary,[`colorStatus${l}Foreground1`]:_e[n].shade10,[`colorStatus${l}Foreground2`]:_e[n].shade30,[`colorStatus${l}Foreground3`]:_e[n].primary,[`colorStatus${l}ForegroundInverted`]:_e[n].tint30,[`colorStatus${l}BorderActive`]:_e[n].primary,[`colorStatus${l}Border1`]:_e[n].tint40,[`colorStatus${l}Border2`]:_e[n].primary};return Object.assign(t,s)},{});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 lk=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:Ba,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)"}),hp={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},mp={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)"},gp={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},vp={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},bp={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},yp={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Na={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"},wp={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},kp={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},xp={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},mr={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 Sp=t=>{const o=lk(t);return{...hp,...vp,...bp,...Na,...yp,...xp,...wp,...kp,...gp,...mp,...o,...ik,...Ho,...Ji(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...Ji(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},_p={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"},Cp={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"},Bp={...Na,fontFamilyBase:'-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'},sk={...Sp(_p),...Bp};({...Sp(Cp)});const gr=fp.reduce((t,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),l={[`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,l)},{});gr.colorPaletteRedForeground3=Te.red.tint30,gr.colorPaletteRedBorder2=Te.red.tint30,gr.colorPaletteGreenForeground3=Te.green.tint40,gr.colorPaletteGreenBorder2=Te.green.tint40,gr.colorPaletteDarkOrangeForeground3=Te.darkOrange.tint30,gr.colorPaletteDarkOrangeBorder2=Te.darkOrange.tint30,gr.colorPaletteRedForegroundInverted=Te.red.primary,gr.colorPaletteGreenForegroundInverted=Te.green.primary,gr.colorPaletteYellowForegroundInverted=Te.yellow.shade30;const Ta=pp.reduce((t,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorPalette${n}Background2`]:Ur[o].shade30,[`colorPalette${n}Foreground2`]:Ur[o].tint40,[`colorPalette${n}BorderActive`]:Ur[o].tint30};return Object.assign(t,l)},{});Ta.colorPaletteDarkRedBackground2=Ur.darkRed.shade20,Ta.colorPalettePlumBackground2=Ur.plum.shade20;const ak={...gr,...Ta},Gr=Object.entries(Bt).reduce((t,[o,n])=>{const l=o.slice(0,1).toUpperCase()+o.slice(1),s={[`colorStatus${l}Background1`]:_e[n].shade40,[`colorStatus${l}Background2`]:_e[n].shade30,[`colorStatus${l}Background3`]:_e[n].primary,[`colorStatus${l}Foreground1`]:_e[n].tint30,[`colorStatus${l}Foreground2`]:_e[n].tint40,[`colorStatus${l}Foreground3`]:_e[n].tint20,[`colorStatus${l}BorderActive`]:_e[n].tint30,[`colorStatus${l}ForegroundInverted`]:_e[n].shade10,[`colorStatus${l}Border1`]:_e[n].primary,[`colorStatus${l}Border2`]:_e[n].tint20};return Object.assign(t,s)},{});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 ck=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:Ba,colorNeutralBackground5Selected:L[10],colorNeutralBackground6:L[20],colorNeutralBackgroundInverted:ye,colorNeutralBackgroundStatic:L[24],colorNeutralBackgroundAlpha:xw[50],colorNeutralBackgroundAlpha2:Sw[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:L[22],colorSubtleBackgroundPressed:L[18],colorSubtleBackgroundSelected:L[20],colorSubtleBackgroundLightAlphaHover:cp[80],colorSubtleBackgroundLightAlphaPressed:cp[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:Ba,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)"}),Np=t=>{const o=ck(t);return{...hp,...vp,...bp,...Na,...yp,...xp,...wp,...kp,...gp,...mp,...o,...ak,...Gr,...Ji(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...Ji(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Tp={...Np(_p),...Bp};({...Np(Cp)});const zp={root:"fui-FluentProvider"},uk=tf({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);}"]}),dk=t=>{"use no memo";const o=Tn(),n=uk({dir:t.dir,renderer:o});return t.root.className=Z(zp.root,t.themeClassName,n.root,t.root.className),t},fk=S.useInsertionEffect?S.useInsertionEffect:Wt,pk=(t,o)=>{if(!t?.head)return;const n=t.createElement("style");return Object.keys(o).forEach(l=>{n.setAttribute(l,o[l])}),t.head.appendChild(n),n},hk=(t,o)=>{const n=t.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(o,0))},mk=t=>{"use no memo";const{targetDocument:o,theme:n,rendererAttributes:l}=t,s=S.useRef(void 0),c=pr(zp.root),u=l,f=S.useMemo(()=>W1(`.${c}`,n),[n,c]);return gk(o,c),fk(()=>{const p=o?.getElementById(c);return p?s.current=p:(s.current=pk(o,{...u,id:c}),s.current&&hk(s.current,f)),()=>{var m;(m=s.current)===null||m===void 0||m.remove()}},[c,o,f,u]),{styleTagId:c,rule:f}};function gk(t,o){S.useState(()=>{if(!t)return;const n=t.getElementById(o);n&&t.head.append(n)})}const vk={},bk={},yk=(t,o)=>{"use no memo";const n=at(),l=wk(),s=vf(),c=S.useContext(oa)||vk,{applyStylesToPortals:u=!0,customStyleHooks_unstable:f,dir:p=n.dir,targetDocument:m=n.targetDocument,theme:g,overrides_unstable:v={}}=t,k=za(l,g),y=za(s,v),x=za(c,f),b=Tn();var _;const{styleTagId:B,rule:z}=mk({theme:k,targetDocument:m,rendererAttributes:(_=b.styleElementAttributes)!==null&&_!==void 0?_:bk});return{applyStylesToPortals:u,customStyleHooks_unstable:x,dir:p,targetDocument:m,theme:k,overrides_unstable:y,themeClassName:B,components:{root:"div"},root:ze(yt("div",{...t,dir:p,ref:pt(o,Ca({targetDocument:m}))}),{elementType:"div"}),serverStyleProps:{cssRule:z,attributes:{...b.styleElementAttributes,id:B}}}};function za(t,o){return t&&o?{...t,...o}:t||o}function wk(){return S.useContext(pf)}function kk(t){const{applyStylesToPortals:o,customStyleHooks_unstable:n,dir:l,root:s,targetDocument:c,theme:u,themeClassName:f,overrides_unstable:p}=t,m=S.useMemo(()=>({dir:l,targetDocument:c}),[l,c]),[g]=S.useState(()=>({})),v=S.useMemo(()=>({textDirection:l}),[l]);return{customStyleHooks_unstable:n,overrides_unstable:p,provider:m,textDirection:l,iconDirection:v,tooltip:g,theme:u,themeClassName:o?s.className:f}}const Ep=S.forwardRef((t,o)=>{const n=yk(t,o);dk(n);const l=kk(n);return iy(n,l)});Ep.displayName="FluentProvider";var Pp=sd();const xk=t=>n=>{const l=S.useRef(n.value),s=S.useRef(0),c=S.useRef(null);return c.current||(c.current={value:l,version:s,listeners:[]}),Wt(()=>{l.current=n.value,s.current+=1,Pp.unstable_runWithPriority(Pp.unstable_NormalPriority,()=>{c.current.listeners.forEach(u=>{u([s.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=xk(o.Provider),delete o.Consumer,o},Rp=(t,o)=>{const n=S.useContext(t),{value:{current:l},version:{current:s},listeners:c}=n,u=o(l),[f,p]=S.useState([l,u]),m=v=>{p(k=>{if(!v)return[l,u];if(v[0]<=s)return Object.is(k[1],u)?k:[l,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(f[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]),f[1]};function Fp(t){const o=S.useContext(t);return o.version?o.version.current!==-1:!1}const Sk="Shift",Wo="Enter",vr=" ",_k="Tab",Pa="ArrowDown",Ip="ArrowLeft",Dp="ArrowRight",Zi="ArrowUp",jp="End",Op="Home",Ck="PageDown",Bk="PageUp",Ap="Escape";function Mp(t,o){const{disabled:n,disabledFocusable:l=!1,["aria-disabled"]:s,onClick:c,onKeyDown:u,onKeyUp:f,...p}=o??{},m=typeof s=="string"?s==="true":s,g=n||l||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===Wo||b===vr)){x.preventDefault(),x.stopPropagation();return}if(b===vr){x.preventDefault();return}else b===Wo&&(x.preventDefault(),x.currentTarget.click())}),y=ke(x=>{if(f?.(x),x.isDefaultPrevented())return;const b=x.key;if(g&&(b===Wo||b===vr)){x.preventDefault(),x.stopPropagation();return}b===vr&&(x.preventDefault(),x.currentTarget.click())});if(t==="button"||t===void 0)return{...p,disabled:n&&!l,"aria-disabled":l?!0:m,onClick:l?void 0:v,onKeyUp:l?void 0:f,onKeyDown:l?void 0:u};{const x=!!p.href;let b=x?void 0:"button";!b&&g&&(b="link");const _={role:b,tabIndex:l||!x&&!n?0:void 0,...p,onClick:v,onKeyUp:y,onKeyDown:k,"aria-disabled":g};return t==="a"&&g&&(_.href=void 0),_}}const Nt=()=>{},Nk={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}},Ra=S.createContext(void 0),Lp=Ra.Provider,qp=()=>{var t;return(t=S.useContext(Ra))!==null&&t!==void 0?t:Nk},Tk=()=>!!S.useContext(Ra);function zk(t){const{matchOption:o}=t,{targetDocument:n}=at(),l=S.useRef(null),s=S.useRef(null),c=S.useCallback(p=>Nr(p)&&o(p)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[o]),u=S.useCallback(p=>{p&&n?(s.current=p,l.current=n.createTreeWalker(p,NodeFilter.SHOW_ELEMENT,c)):(s.current=null,l.current=null)},[n,c]);return{optionWalker:S.useMemo(()=>({first:()=>!l.current||!s.current?null:(l.current.currentNode=s.current,l.current.firstChild()),last:()=>!l.current||!s.current?null:(l.current.currentNode=s.current,l.current.lastChild()),next:()=>l.current?l.current.nextNode():null,prev:()=>l.current?l.current.previousNode():null,find:(p,m)=>{if(!l.current||!s.current)return null;const g=m?n?.getElementById(m):null;l.current.currentNode=g??s.current;let v=l.current.currentNode;for(;v&&!p(v.id);)v=l.current.nextNode();return v},setCurrent:p=>{l.current&&(l.current.currentNode=p)}}),[n]),listboxCallbackRef:u}}const Hp="data-activedescendant",$o="data-activedescendant-focusvisible",Wp=t=>{if(!t)return;const o=$p(t.parentElement);if(!o)return;const{offsetHeight:n}=t,l=Vp(t,o),{scrollMarginTop:s,scrollMarginBottom:c}=Ek(t),{offsetHeight:u,scrollTop:f}=o,p=l-s<f,m=l+n+c>f+u,g=2;p?o.scrollTo(0,l-s-g):m&&o.scrollTo(0,l+n+c-u+g)},$p=t=>t?t.scrollHeight>t.offsetHeight?t:$p(t.parentElement):null,Vp=(t,o)=>!t||t===o?0:t.contains(o)?o.offsetTop*-1:t.offsetTop+Vp(t.offsetParent,o),Ek=t=>{var o;const n=(o=t.ownerDocument)===null||o===void 0?void 0:o.defaultView;if(!n)return{scrollMarginTop:0,scrollMarginBottom:0};const l=n.getComputedStyle(t);var s;const c=(s=el(l.scrollMarginTop))!==null&&s!==void 0?s:el(l.scrollMarginBlockStart);var u;const f=(u=el(l.scrollMarginBottom))!==null&&u!==void 0?u:el(l.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:f}},el=t=>t?parseInt(t,10):0,Pk=t=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:t});function Up(t){const{imperativeRef:o,matchOption:n}=t,l=S.useRef(!1),s=S.useRef(!0),c=S.useRef(null),u=S.useRef(null),f=S.useRef(null),p=S.useRef(!0),m=S.useCallback(()=>{var T;(T=f.current)===null||T===void 0||T.removeAttribute("aria-activedescendant")},[]),g=S.useCallback(T=>{if(T&&(c.current=T),p.current&&c.current){var R;(R=f.current)===null||R===void 0||R.setAttribute("aria-activedescendant",c.current)}},[]);sp(T=>{l.current=T;const R=b();R&&(T&&s.current?R.setAttribute($o,""):R.removeAttribute($o))});const v=ke(n),k=S.useRef(null),{optionWalker:y,listboxCallbackRef:x}=zk({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=>{s.current=T;const R=b();R&&(T&&l.current?R.setAttribute($o,""):R.removeAttribute($o))},[b]),B=S.useCallback(()=>{const T=b();T&&(T.removeAttribute(Hp),T.removeAttribute($o)),m(),u.current=c.current,c.current=null;var R;return(R=T?.id)!==null&&R!==void 0?R:null},[b,m]),z=S.useCallback(T=>{if(!T)return;const R=B();Wp(T),g(T.id),T.setAttribute(Hp,""),l.current&&s.current&&T.setAttribute($o,"");const D=Pk({id:T.id,previousId:R});T.dispatchEvent(D)},[B,g]),N=S.useMemo(()=>({first:({passive:T}={})=>{const R=y.first();return T||z(R),R?.id},last:({passive:T}={})=>{const R=y.last();return T||z(R),R?.id},next:({passive:T}={})=>{const R=b();if(!R)return;y.setCurrent(R);const D=y.next();return T||z(D),D?.id},prev:({passive:T}={})=>{const R=b();if(!R)return;y.setCurrent(R);const D=y.prev();return T||z(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&&z(R)},focusLastActive:()=>{if(!k.current||!u.current)return;const T=k.current.querySelector(`#${u.current}`);if(T)return z(T),!0},find(T,{passive:R,startFrom:D}={}){const A=y.find(T,D);return R||z(A),A?.id},scrollActiveIntoView:()=>{if(!k.current)return;const T=b();T&&Wp(T)},showAttributes(){p.current=!0,g()},hideAttributes(){p.current=!1,m()},showFocusVisibleAttributes(){_(!0)},hideFocusVisibleAttributes(){_(!1)}}),[y,k,g,m,z,B,b,_]);return S.useImperativeHandle(o,()=>N),{listboxRef:pt(k,x),activeParentRef:f,controller:N}}const Rk=ae({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),Fk=(t,o)=>{const{title:n,primaryFill:l="currentColor",...s}=t,c={...s,title:void 0,fill:l},u=Rk(),f=ny();return c.className=Z(u.root,o?.flipInRtl&&f?.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},Ik=ae({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),Tt=(t,o,n,l)=>{const s=o==="1em"?"20":o,c=S.forwardRef((u,f)=>{const p=Ik(),m=Fk(u,{flipInRtl:l?.flipInRtl}),g={...m,className:Z(m.className,p.root),ref:f,width:o,height:o,viewBox:`0 0 ${s} ${s}`,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},Dk=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"]),jk=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}),Ok=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"]),Ak=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"]),Mk=Tt("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Gp=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"]),Lk=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"]),qk=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"]),Kp=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"]),Hk=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"]),Wk=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"]),$k=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"]),Vk=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"]),Uk=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"]),Xp="data-popper-is-intersecting",Qp="data-popper-escaped",Yp="data-popper-reference-hidden",Gk="data-popper-placement",Fa="fui-positioningend",Kk=({options:t})=>t,Jp=S.createContext(void 0);Jp.Provider;const Xk=()=>{var t;return(t=S.useContext(Jp))!==null&&t!==void 0?t:Kk},Qk=["top","right","bottom","left"],bo=Math.min,Ut=Math.max,tl=Math.round,br=t=>({x:t,y:t}),Yk={left:"right",right:"left",bottom:"top",top:"bottom"},Jk={start:"end",end:"start"};function Ia(t,o,n){return Ut(t,bo(o,n))}function Er(t,o){return typeof t=="function"?t(o):t}function Pr(t){return t.split("-")[0]}function Vo(t){return t.split("-")[1]}function Da(t){return t==="x"?"y":"x"}function ja(t){return t==="y"?"height":"width"}const Zk=new Set(["top","bottom"]);function yr(t){return Zk.has(Pr(t))?"y":"x"}function Oa(t){return Da(yr(t))}function ex(t,o,n){n===void 0&&(n=!1);const l=Vo(t),s=Oa(t),c=ja(s);let u=s==="x"?l===(n?"end":"start")?"right":"left":l==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(u=rl(u)),[u,rl(u)]}function tx(t){const o=rl(t);return[Aa(t),o,Aa(o)]}function Aa(t){return t.replace(/start|end/g,o=>Jk[o])}const Zp=["left","right"],eh=["right","left"],rx=["top","bottom"],ox=["bottom","top"];function nx(t,o,n){switch(t){case"top":case"bottom":return n?o?eh:Zp:o?Zp:eh;case"left":case"right":return o?rx:ox;default:return[]}}function ix(t,o,n,l){const s=Vo(t);let c=nx(Pr(t),n==="start",l);return s&&(c=c.map(u=>u+"-"+s),o&&(c=c.concat(c.map(Aa)))),c}function rl(t){return t.replace(/left|right|bottom|top/g,o=>Yk[o])}function lx(t){return{top:0,right:0,bottom:0,left:0,...t}}function th(t){return typeof t!="number"?lx(t):{top:t,right:t,bottom:t,left:t}}function ol(t){const{x:o,y:n,width:l,height:s}=t;return{width:l,height:s,top:n,left:o,right:o+l,bottom:n+s,x:o,y:n}}function rh(t,o,n){let{reference:l,floating:s}=t;const c=yr(o),u=Oa(o),f=ja(u),p=Pr(o),m=c==="y",g=l.x+l.width/2-s.width/2,v=l.y+l.height/2-s.height/2,k=l[f]/2-s[f]/2;let y;switch(p){case"top":y={x:g,y:l.y-s.height};break;case"bottom":y={x:g,y:l.y+l.height};break;case"right":y={x:l.x+l.width,y:v};break;case"left":y={x:l.x-s.width,y:v};break;default:y={x:l.x,y:l.y}}switch(Vo(o)){case"start":y[u]-=k*(n&&m?-1:1);break;case"end":y[u]+=k*(n&&m?-1:1);break}return y}const sx=async(t,o,n)=>{const{placement:l="bottom",strategy:s="absolute",middleware:c=[],platform:u}=n,f=c.filter(Boolean),p=await(u.isRTL==null?void 0:u.isRTL(o));let m=await u.getElementRects({reference:t,floating:o,strategy:s}),{x:g,y:v}=rh(m,l,p),k=l,y={},x=0;for(let b=0;b<f.length;b++){const{name:_,fn:B}=f[b],{x:z,y:N,data:T,reset:R}=await B({x:g,y:v,initialPlacement:l,placement:k,strategy:s,middlewareData:y,rects:m,platform:u,elements:{reference:t,floating:o}});g=z??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:s}):R.rects),{x:g,y:v}=rh(m,k,p)),b=-1)}return{x:g,y:v,placement:k,strategy:s,middlewareData:y}};async function Uo(t,o){var n;o===void 0&&(o={});const{x:l,y:s,platform:c,rects:u,elements:f,strategy:p}=t,{boundary:m="clippingAncestors",rootBoundary:g="viewport",elementContext:v="floating",altBoundary:k=!1,padding:y=0}=Er(o,t),x=th(y),_=f[k?v==="floating"?"reference":"floating":v],B=ol(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(_)))==null||n?_:_.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(f.floating)),boundary:m,rootBoundary:g,strategy:p})),z=v==="floating"?{x:l,y:s,width:u.floating.width,height:u.floating.height}:u.reference,N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f.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=ol(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:z,offsetParent:N,strategy:p}):z);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 ax=t=>({name:"arrow",options:t,async fn(o){const{x:n,y:l,placement:s,rects:c,platform:u,elements:f,middlewareData:p}=o,{element:m,padding:g=0}=Er(t,o)||{};if(m==null)return{};const v=th(g),k={x:n,y:l},y=Oa(s),x=ja(y),b=await u.getDimensions(m),_=y==="y",B=_?"top":"left",z=_?"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=f.floating[N]||c.floating[x]);const q=T/2-R/2,Q=A/2-b[x]/2-1,ee=bo(v[B],Q),ve=bo(v[z],Q),he=ee,H=A-b[x]-ve,re=A/2-b[x]/2+q,xe=Ia(he,re,H),be=!p.arrow&&Vo(s)!=null&&re!==xe&&c.reference[x]/2-(re<he?ee:ve)-b[x]/2<0,pe=be?re<he?re-he:re-H:0;return{[y]:k[y]+pe,data:{[y]:xe,centerOffset:re-xe-pe,...be&&{alignmentOffset:pe}},reset:be}}}),cx=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(o){var n,l;const{placement:s,middlewareData:c,rects:u,initialPlacement:f,platform:p,elements:m}=o,{mainAxis:g=!0,crossAxis:v=!0,fallbackPlacements:k,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:b=!0,..._}=Er(t,o);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const B=Pr(s),z=yr(f),N=Pr(f)===f,T=await(p.isRTL==null?void 0:p.isRTL(m.floating)),R=k||(N||!b?[rl(f)]:tx(f)),D=x!=="none";!k&&D&&R.push(...ix(f,b,x,T));const A=[f,...R],q=await Uo(o,_),Q=[];let ee=((l=c.flip)==null?void 0:l.overflows)||[];if(g&&Q.push(q[B]),v){const re=ex(s,u,T);Q.push(q[re[0]],q[re[1]])}if(ee=[...ee,{placement:s,overflows:Q}],!Q.every(re=>re<=0)){var ve,he;const re=(((ve=c.flip)==null?void 0:ve.index)||0)+1,xe=A[re];if(xe&&(!(v==="alignment"?z!==yr(xe):!1)||ee.every(U=>yr(U.placement)===z?U.overflows[0]>0:!0)))return{data:{index:re,overflows:ee},reset:{placement:xe}};let be=(he=ee.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 H;const pe=(H=ee.filter(U=>{if(D){const te=yr(U.placement);return te===z||te==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(te=>te>0).reduce((te,Y)=>te+Y,0)]).sort((U,te)=>U[1]-te[1])[0])==null?void 0:H[0];pe&&(be=pe);break}case"initialPlacement":be=f;break}if(s!==be)return{reset:{placement:be}}}return{}}}};function oh(t,o){return{top:t.top-o.height,right:t.right-o.width,bottom:t.bottom-o.height,left:t.left-o.width}}function nh(t){return Qk.some(o=>t[o]>=0)}const ux=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(o){const{rects:n}=o,{strategy:l="referenceHidden",...s}=Er(t,o);switch(l){case"referenceHidden":{const c=await Uo(o,{...s,elementContext:"reference"}),u=oh(c,n.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:nh(u)}}}case"escaped":{const c=await Uo(o,{...s,altBoundary:!0}),u=oh(c,n.floating);return{data:{escapedOffsets:u,escaped:nh(u)}}}default:return{}}}}},ih=new Set(["left","top"]);async function dx(t,o){const{placement:n,platform:l,elements:s}=t,c=await(l.isRTL==null?void 0:l.isRTL(s.floating)),u=Pr(n),f=Vo(n),p=yr(n)==="y",m=ih.has(u)?-1:1,g=c&&p?-1:1,v=Er(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 f&&typeof x=="number"&&(y=f==="end"?x*-1:x),p?{x:y*g,y:k*m}:{x:k*m,y:y*g}}const fx=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(o){var n,l;const{x:s,y:c,placement:u,middlewareData:f}=o,p=await dx(o,t);return u===((n=f.offset)==null?void 0:n.placement)&&(l=f.arrow)!=null&&l.alignmentOffset?{}:{x:s+p.x,y:c+p.y,data:{...p,placement:u}}}}},px=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(o){const{x:n,y:l,placement:s}=o,{mainAxis:c=!0,crossAxis:u=!1,limiter:f={fn:_=>{let{x:B,y:z}=_;return{x:B,y:z}}},...p}=Er(t,o),m={x:n,y:l},g=await Uo(o,p),v=yr(Pr(s)),k=Da(v);let y=m[k],x=m[v];if(c){const _=k==="y"?"top":"left",B=k==="y"?"bottom":"right",z=y+g[_],N=y-g[B];y=Ia(z,y,N)}if(u){const _=v==="y"?"top":"left",B=v==="y"?"bottom":"right",z=x+g[_],N=x-g[B];x=Ia(z,x,N)}const b=f.fn({...o,[k]:y,[v]:x});return{...b,data:{x:b.x-n,y:b.y-l,enabled:{[k]:c,[v]:u}}}}}},hx=function(t){return t===void 0&&(t={}),{options:t,fn(o){const{x:n,y:l,placement:s,rects:c,middlewareData:u}=o,{offset:f=0,mainAxis:p=!0,crossAxis:m=!0}=Er(t,o),g={x:n,y:l},v=yr(s),k=Da(v);let y=g[k],x=g[v];const b=Er(f,o),_=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(p){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,z;const N=k==="y"?"width":"height",T=ih.has(Pr(s)),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:((z=u.offset)==null?void 0:z[v])||0)-(T?_.crossAxis:0);x<R?x=R:x>D&&(x=D)}return{[k]:y,[v]:x}}}},mx=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(o){var n,l;const{placement:s,rects:c,platform:u,elements:f}=o,{apply:p=()=>{},...m}=Er(t,o),g=await Uo(o,m),v=Pr(s),k=Vo(s),y=yr(s)==="y",{width:x,height:b}=c.floating;let _,B;v==="top"||v==="bottom"?(_=v,B=k===(await(u.isRTL==null?void 0:u.isRTL(f.floating))?"start":"end")?"left":"right"):(B=v,_=k==="end"?"top":"bottom");const z=b-g.top-g.bottom,N=x-g.left-g.right,T=bo(b-g[_],z),R=bo(x-g[B],N),D=!o.middlewareData.shift;let A=T,q=R;if((n=o.middlewareData.shift)!=null&&n.enabled.x&&(q=N),(l=o.middlewareData.shift)!=null&&l.enabled.y&&(A=z),D&&!k){const ee=Ut(g.left,0),ve=Ut(g.right,0),he=Ut(g.top,0),H=Ut(g.bottom,0);y?q=x-2*(ee!==0||ve!==0?ee+ve:Ut(g.left,g.right)):A=b-2*(he!==0||H!==0?he+H:Ut(g.top,g.bottom))}await p({...o,availableWidth:q,availableHeight:A});const Q=await u.getDimensions(f.floating);return x!==Q.width||b!==Q.height?{reset:{rects:!0}}:{}}}};function nl(){return typeof window<"u"}function Go(t){return lh(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=(lh(t)?t.ownerDocument:t.document)||window.document)==null?void 0:o.documentElement}function lh(t){return nl()?t instanceof Node||t instanceof Dt(t).Node:!1}function nr(t){return nl()?t instanceof Element||t instanceof Dt(t).Element:!1}function wr(t){return nl()?t instanceof HTMLElement||t instanceof Dt(t).HTMLElement:!1}function sh(t){return!nl()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Dt(t).ShadowRoot}const gx=new Set(["inline","contents"]);function In(t){const{overflow:o,overflowX:n,overflowY:l,display:s}=ir(t);return/auto|scroll|overlay|hidden|clip/.test(o+l+n)&&!gx.has(s)}const vx=new Set(["table","td","th"]);function bx(t){return vx.has(Go(t))}const yx=[":popover-open",":modal"];function il(t){return yx.some(o=>{try{return t.matches(o)}catch{return!1}})}const wx=["transform","translate","scale","rotate","perspective"],kx=["transform","translate","scale","rotate","perspective","filter"],xx=["paint","layout","strict","content"];function Ma(t){const o=La(),n=nr(t)?ir(t):t;return wx.some(l=>n[l]?n[l]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!o&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!o&&(n.filter?n.filter!=="none":!1)||kx.some(l=>(n.willChange||"").includes(l))||xx.some(l=>(n.contain||"").includes(l))}function Sx(t){let o=Kr(t);for(;wr(o)&&!Ko(o);){if(Ma(o))return o;if(il(o))return null;o=Kr(o)}return null}function La(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const _x=new Set(["html","body","#document"]);function Ko(t){return _x.has(Go(t))}function ir(t){return Dt(t).getComputedStyle(t)}function ll(t){return nr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Kr(t){if(Go(t)==="html")return t;const o=t.assignedSlot||t.parentNode||sh(t)&&t.host||Rr(t);return sh(o)?o.host:o}function ah(t){const o=Kr(t);return Ko(o)?t.ownerDocument?t.ownerDocument.body:t.body:wr(o)&&In(o)?o:ah(o)}function ch(t,o,n){var l;o===void 0&&(o=[]);const s=ah(t),c=s===((l=t.ownerDocument)==null?void 0:l.body),u=Dt(s);return c?(qa(u),o.concat(u,u.visualViewport||[],In(s)?s:[],[])):o.concat(s,ch(s,[]))}function qa(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function uh(t){const o=ir(t);let n=parseFloat(o.width)||0,l=parseFloat(o.height)||0;const s=wr(t),c=s?t.offsetWidth:n,u=s?t.offsetHeight:l,f=tl(n)!==c||tl(l)!==u;return f&&(n=c,l=u),{width:n,height:l,$:f}}function dh(t){return nr(t)?t:t.contextElement}function Xo(t){const o=dh(t);if(!wr(o))return br(1);const n=o.getBoundingClientRect(),{width:l,height:s,$:c}=uh(o);let u=(c?tl(n.width):n.width)/l,f=(c?tl(n.height):n.height)/s;return(!u||!Number.isFinite(u))&&(u=1),(!f||!Number.isFinite(f))&&(f=1),{x:u,y:f}}const Cx=br(0);function fh(t){const o=Dt(t);return!La()||!o.visualViewport?Cx:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Bx(t,o,n){return o===void 0&&(o=!1),!n||o&&n!==Dt(t)?!1:o}function Dn(t,o,n,l){o===void 0&&(o=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),c=dh(t);let u=br(1);o&&(l?nr(l)&&(u=Xo(l)):u=Xo(t));const f=Bx(c,n,l)?fh(c):br(0);let p=(s.left+f.x)/u.x,m=(s.top+f.y)/u.y,g=s.width/u.x,v=s.height/u.y;if(c){const k=Dt(c),y=l&&nr(l)?Dt(l):l;let x=k,b=qa(x);for(;b&&l&&y!==x;){const _=Xo(b),B=b.getBoundingClientRect(),z=ir(b),N=B.left+(b.clientLeft+parseFloat(z.paddingLeft))*_.x,T=B.top+(b.clientTop+parseFloat(z.paddingTop))*_.y;p*=_.x,m*=_.y,g*=_.x,v*=_.y,p+=N,m+=T,x=Dt(b),b=qa(x)}}return ol({width:g,height:v,x:p,y:m})}function sl(t,o){const n=ll(t).scrollLeft;return o?o.left+n:Dn(Rr(t)).left+n}function ph(t,o){const n=t.getBoundingClientRect(),l=n.left+o.scrollLeft-sl(t,n),s=n.top+o.scrollTop;return{x:l,y:s}}function Nx(t){let{elements:o,rect:n,offsetParent:l,strategy:s}=t;const c=s==="fixed",u=Rr(l),f=o?il(o.floating):!1;if(l===u||f&&c)return n;let p={scrollLeft:0,scrollTop:0},m=br(1);const g=br(0),v=wr(l);if((v||!v&&!c)&&((Go(l)!=="body"||In(u))&&(p=ll(l)),wr(l))){const y=Dn(l);m=Xo(l),g.x=y.x+l.clientLeft,g.y=y.y+l.clientTop}const k=u&&!v&&!c?ph(u,p):br(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-p.scrollLeft*m.x+g.x+k.x,y:n.y*m.y-p.scrollTop*m.y+g.y+k.y}}function Tx(t){return Array.from(t.getClientRects())}function zx(t){const o=Rr(t),n=ll(t),l=t.ownerDocument.body,s=Ut(o.scrollWidth,o.clientWidth,l.scrollWidth,l.clientWidth),c=Ut(o.scrollHeight,o.clientHeight,l.scrollHeight,l.clientHeight);let u=-n.scrollLeft+sl(t);const f=-n.scrollTop;return ir(l).direction==="rtl"&&(u+=Ut(o.clientWidth,l.clientWidth)-s),{width:s,height:c,x:u,y:f}}const hh=25;function Ex(t,o){const n=Dt(t),l=Rr(t),s=n.visualViewport;let c=l.clientWidth,u=l.clientHeight,f=0,p=0;if(s){c=s.width,u=s.height;const g=La();(!g||g&&o==="fixed")&&(f=s.offsetLeft,p=s.offsetTop)}const m=sl(l);if(m<=0){const g=l.ownerDocument,v=g.body,k=getComputedStyle(v),y=g.compatMode==="CSS1Compat"&&parseFloat(k.marginLeft)+parseFloat(k.marginRight)||0,x=Math.abs(l.clientWidth-v.clientWidth-y);x<=hh&&(c-=x)}else m<=hh&&(c+=m);return{width:c,height:u,x:f,y:p}}const Px=new Set(["absolute","fixed"]);function Rx(t,o){const n=Dn(t,!0,o==="fixed"),l=n.top+t.clientTop,s=n.left+t.clientLeft,c=wr(t)?Xo(t):br(1),u=t.clientWidth*c.x,f=t.clientHeight*c.y,p=s*c.x,m=l*c.y;return{width:u,height:f,x:p,y:m}}function mh(t,o,n){let l;if(o==="viewport")l=Ex(t,n);else if(o==="document")l=zx(Rr(t));else if(nr(o))l=Rx(o,n);else{const s=fh(t);l={x:o.x-s.x,y:o.y-s.y,width:o.width,height:o.height}}return ol(l)}function gh(t,o){const n=Kr(t);return n===o||!nr(n)||Ko(n)?!1:ir(n).position==="fixed"||gh(n,o)}function Fx(t,o){const n=o.get(t);if(n)return n;let l=ch(t,[]).filter(f=>nr(f)&&Go(f)!=="body"),s=null;const c=ir(t).position==="fixed";let u=c?Kr(t):t;for(;nr(u)&&!Ko(u);){const f=ir(u),p=Ma(u);!p&&f.position==="fixed"&&(s=null),(c?!p&&!s:!p&&f.position==="static"&&!!s&&Px.has(s.position)||In(u)&&!p&&gh(t,u))?l=l.filter(g=>g!==u):s=f,u=Kr(u)}return o.set(t,l),l}function Ix(t){let{element:o,boundary:n,rootBoundary:l,strategy:s}=t;const u=[...n==="clippingAncestors"?il(o)?[]:Fx(o,this._c):[].concat(n),l],f=u[0],p=u.reduce((m,g)=>{const v=mh(o,g,s);return m.top=Ut(v.top,m.top),m.right=bo(v.right,m.right),m.bottom=bo(v.bottom,m.bottom),m.left=Ut(v.left,m.left),m},mh(o,f,s));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Dx(t){const{width:o,height:n}=uh(t);return{width:o,height:n}}function jx(t,o,n){const l=wr(o),s=Rr(o),c=n==="fixed",u=Dn(t,!0,c,o);let f={scrollLeft:0,scrollTop:0};const p=br(0);function m(){p.x=sl(s)}if(l||!l&&!c)if((Go(o)!=="body"||In(s))&&(f=ll(o)),l){const y=Dn(o,!0,c,o);p.x=y.x+o.clientLeft,p.y=y.y+o.clientTop}else s&&m();c&&!l&&s&&m();const g=s&&!l&&!c?ph(s,f):br(0),v=u.left+f.scrollLeft-p.x-g.x,k=u.top+f.scrollTop-p.y-g.y;return{x:v,y:k,width:u.width,height:u.height}}function Ha(t){return ir(t).position==="static"}function vh(t,o){if(!wr(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 bh(t,o){const n=Dt(t);if(il(t))return n;if(!wr(t)){let s=Kr(t);for(;s&&!Ko(s);){if(nr(s)&&!Ha(s))return s;s=Kr(s)}return n}let l=vh(t,o);for(;l&&bx(l)&&Ha(l);)l=vh(l,o);return l&&Ko(l)&&Ha(l)&&!Ma(l)?n:l||Sx(t)||n}const Ox=async function(t){const o=this.getOffsetParent||bh,n=this.getDimensions,l=await n(t.floating);return{reference:jx(t.reference,await o(t.floating),t.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function Ax(t){return ir(t).direction==="rtl"}const Mx={convertOffsetParentRelativeRectToViewportRelativeRect:Nx,getDocumentElement:Rr,getClippingRect:Ix,getOffsetParent:bh,getElementRects:Ox,getClientRects:Tx,getDimensions:Dx,getScale:Xo,isElement:nr,isRTL:Ax},Lx=Uo,qx=fx,Hx=px,Wx=cx,$x=mx,yh=ux,Vx=ax,wh=hx,Ux=(t,o,n)=>{const l=new Map,s={platform:Mx,...n},c={...s.platform,_c:l};return sx(t,o,{...s,platform:c})};function kh(t){const o=t.split("-");return{side:o[0],alignment:o[1]}}const Gx=t=>t.nodeName==="HTML"?t:t.parentNode||t.host,Kx=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):{}},al=t=>{const o=t&&Gx(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:l,overflowY:s}=Kx(o);return/(auto|scroll|overlay)/.test(n+s+l)?o:al(o)},Xx=t=>{var o;const n=al(t);return n?n!==((o=n.ownerDocument)===null||o===void 0?void 0:o.body):!1};function Wa(t,o){if(o==="window")return t?.ownerDocument.documentElement;if(o==="clippingParents")return"clippingAncestors";if(o==="scrollParent"){let n=al(t);return n.nodeName==="BODY"&&(n=t?.ownerDocument.documentElement),n}return o}function xh(t,o){if(typeof t=="number")return t;const{start:n,end:l,...s}=t,c=s,u=o?"end":"start",f=o?"start":"end";return t[u]&&(c.left=t[u]),t[f]&&(c.right=t[f]),c}const Qx=t=>({above:"top",below:"bottom",before:t?"right":"left",after:t?"left":"right"}),Yx=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),Jx=(t,o)=>{const n=t==="above"||t==="below",l=o==="top"||o==="bottom";return n&&l||!n&&!l},Sh=(t,o,n)=>{const l=Jx(o,t)?"center":t,s=o&&Qx(n)[o],c=l&&Yx()[l];return s&&c?`${s}-${c}`:s},Zx=()=>({top:"above",bottom:"below",right:"after",left:"before"}),eS=t=>t==="above"||t==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},tS=t=>{const{side:o,alignment:n}=kh(t),l=Zx()[o],s=n&&eS(l)[n];return{position:l,alignment:s}},rS={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 _h(t){return t==null?{}:typeof t=="string"?rS[t]:t}function $a(t,o,n){const l=S.useRef(!0),[s]=S.useState(()=>({value:t,callback:o,facade:{get current(){return s.value},set current(c){const u=s.value;u!==c&&(s.value=c,s.callback(c,u))}}}));return Wt(()=>{l.current=!1},[]),s.callback=o,s.facade}function oS(t){let o;return()=>(o||(o=new Promise(n=>{Promise.resolve().then(()=>{o=void 0,n(t())})})),o)}function nS(t){const{arrow:o,middlewareData:n}=t;if(!n.arrow||!o)return;const{x:l,y:s}=n.arrow;Object.assign(o.style,{left:l!=null?`${l}px`:"",top:s!=null?`${s}px`:""})}function iS(t){var o,n,l;const{container:s,placement:c,middlewareData:u,strategy:f,lowPPI:p,coordinates:m,useTransform:g=!0}=t;if(!s)return;s.setAttribute(Gk,c),s.removeAttribute(Xp),u.intersectionObserver.intersecting&&s.setAttribute(Xp,""),s.removeAttribute(Qp),!((o=u.hide)===null||o===void 0)&&o.escaped&&s.setAttribute(Qp,""),s.removeAttribute(Yp),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&s.setAttribute(Yp,"");const v=((l=s.ownerDocument.defaultView)===null||l===void 0?void 0:l.devicePixelRatio)||1,k=Math.round(m.x*v)/v,y=Math.round(m.y*v)/v;if(Object.assign(s.style,{position:f}),g){Object.assign(s.style,{transform:p?`translate(${k}px, ${y}px)`:`translate3d(${k}px, ${y}px, 0)`});return}Object.assign(s.style,{left:`${k}px`,top:`${y}px`})}const lS=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 Ch(t){const o=[];let n=t;for(;n;){const l=al(n);if(t.ownerDocument.body===l){o.push(l);break}if(l.nodeName==="BODY"&&l!==t.ownerDocument.body)break;o.push(l),n=l}return o}function sS(t,o){return new t.ResizeObserver(o)}function aS(t){let o=!1;const{container:n,target:l,arrow:s,strategy:c,middleware:u,placement:f,useTransform:p=!0,disableUpdateOnResize:m=!1}=t,g=n.ownerDocument.defaultView;if(!l||!n||!g)return{updatePosition:()=>{},dispose:()=>{}};const v=m?null:sS(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&&(Ch(n).forEach(B=>y.add(B)),Nr(l)&&Ch(l).forEach(B=>y.add(B)),y.forEach(B=>{B.addEventListener("scroll",b,{passive:!0})}),v?.observe(n),Nr(l)&&v?.observe(l),k=!1),Object.assign(n.style,{position:c}),Ux(l,n,{placement:f,middleware:u,strategy:c}).then(({x:B,y:z,middlewareData:N,placement:T})=>{o||(nS({arrow:s,middlewareData:N}),iS({container:n,middlewareData:N,placement:T,coordinates:{x:B,y:z},lowPPI:(g?.devicePixelRatio||1)<=1,strategy:c,useTransform:p}),n.dispatchEvent(new CustomEvent(Fa)))}).catch(B=>{}))},b=oS(()=>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 cS(){return{name:"coverTarget",fn:t=>{const{placement:o,rects:n,x:l,y:s}=t,c=kh(o).side,u={x:l,y:s};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 uS(t){const{hasScrollableElement:o,flipBoundary:n,container:l,fallbackPositions:s=[],isRtl:c}=t,u=s.reduce((f,p)=>{const{position:m,align:g}=_h(p),v=Sh(g,m,c);return v&&f.push(v),f},[]);return Wx({...o&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:Wa(l,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function dS(){return{name:"intersectionObserver",fn:async t=>{const o=t.rects.floating,n=await Lx(t,{altBoundary:!0}),l=n.top<o.height&&n.top>0,s=n.bottom<o.height&&n.bottom>0;return{data:{intersecting:l||s}}}}}const fS=t=>({name:"resetMaxSize",fn({middlewareData:o,elements:n}){var l;if(!((l=o.resetMaxSize)===null||l===void 0)&&l.maxSizeAlreadyReset)return{};const{applyMaxWidth:s,applyMaxHeight:c}=t;return s&&(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 pS(t,o){const{container:n,overflowBoundary:l,overflowBoundaryPadding:s,isRtl:c}=o;return $x({...s&&{padding:xh(s,c)},...l&&{altBoundary:!0,boundary:Wa(n,l)},apply({availableHeight:u,availableWidth:f,elements:p,rects:m}){const g=(y,x,b)=>{if(y&&(p.floating.style.setProperty("box-sizing","border-box"),p.floating.style.setProperty(`max-${x}`,`${b}px`),m.floating[x]>b)){p.floating.style.setProperty(x,`${b}px`);const _=x==="width"?"x":"y";p.floating.style.getPropertyValue(`overflow-${_}`)||p.floating.style.setProperty(`overflow-${_}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:k}=t;g(v,"width",f),g(k,"height",u)}})}function hS(t){return!t||typeof t=="number"||typeof t=="object"?t:({rects:{floating:o,reference:n},placement:l})=>{const{position:s,alignment:c}=tS(l);return t({positionedRect:o,targetRect:n,position:s,alignment:c})}}function mS(t){const o=hS(t);return qx(o)}function gS(t){const{hasScrollableElement:o,shiftToCoverTarget:n,disableTether:l,overflowBoundary:s,container:c,overflowBoundaryPadding:u,isRtl:f}=t;return Hx({...o&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:wh({crossAxis:!0,mainAxis:!1})},...l&&{crossAxis:l==="all",limiter:wh({crossAxis:l!=="all",mainAxis:!1})},...u&&{padding:xh(u,f)},...s&&{altBoundary:!0,boundary:Wa(c,s)}})}const Bh="--fui-match-target-size";function vS(){return{name:"matchTargetSize",fn:async t=>{const{rects:{reference:o,floating:n},elements:{floating:l},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:s=!1}={}}}=t;if(o.width===n.width||s)return{};const{width:c}=o;return l.style.setProperty(Bh,`${c}px`),l.style.width||(l.style.width=`var(${Bh})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function bS(t,o){const{align:n,arrowPadding:l,autoSize:s,coverTarget:c,disableUpdateOnResize:u,flipBoundary:f,offset:p,overflowBoundary:m,pinned:g,position:v,unstable_disableTether:k,strategy:y,overflowBoundaryPadding:x,fallbackPositions:b,useTransform:_,matchTargetSize:B,shiftToCoverTarget:z}=o;return S.useCallback((N,T)=>t({container:N,arrow:T,options:{autoSize:s,disableUpdateOnResize:u,matchTargetSize:B,offset:p,strategy:y,coverTarget:c,flipBoundary:f,overflowBoundary:m,useTransform:_,overflowBoundaryPadding:x,pinned:g,arrowPadding:l,align:n,fallbackPositions:b,shiftToCoverTarget:z,position:v,unstable_disableTether:k}}),[s,u,B,p,y,c,f,m,_,x,g,l,n,b,z,v,k,t])}function yS(t){const{dir:o,targetDocument:n}=at(),l=o==="rtl",s=bS(Xk(),t),{positionFixed:c}=t;return S.useCallback((u,f)=>{const p=Xx(u),m=s(u,f),{autoSize:g,disableUpdateOnResize:v,matchTargetSize:k,offset:y,coverTarget:x,flipBoundary:b,overflowBoundary:_,useTransform:B,overflowBoundaryPadding:z,pinned:N,position:T,arrowPadding:R,strategy:D,align:A,fallbackPositions:q,shiftToCoverTarget:Q,unstable_disableTether:ee}=m,ve=lS(g),he=[ve&&fS(ve),k&&vS(),y&&mS(y),x&&cS(),!N&&uS({container:u,flipBoundary:b,hasScrollableElement:p,isRtl:l,fallbackPositions:q}),gS({container:u,hasScrollableElement:p,overflowBoundary:_,disableTether:ee,overflowBoundaryPadding:z,isRtl:l,shiftToCoverTarget:Q}),ve&&pS(ve,{container:u,overflowBoundary:_,overflowBoundaryPadding:z,isRtl:l}),dS(),f&&Vx({element:f,padding:R}),yh({strategy:"referenceHidden"}),yh({strategy:"escaped"}),!1].filter(Boolean);return{placement:Sh(A,T,l),middleware:he,strategy:D??c?"fixed":"absolute",disableUpdateOnResize:v,useTransform:B}},[s,l,n,c])}function wS(t){"use no memo";const o=S.useRef(null),n=S.useRef(null),l=S.useRef(null),s=S.useRef(null),c=S.useRef(null),{enabled:u=!0}=t,f=yS(t),p=S.useCallback(()=>{o.current&&o.current.dispose(),o.current=null;var x;const b=(x=l.current)!==null&&x!==void 0?x:n.current;u&&na()&&b&&s.current&&(o.current=aS({container:s.current,target:b,arrow:c.current,...f(s.current,c.current)}))},[u,f]),m=ke(x=>{l.current=x,p()});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(()=>{p()},[p]);const g=$a(null,x=>{n.current!==x&&(n.current=x,p())}),v=ke(()=>{var x;return(x=t.onPositioningEnd)===null||x===void 0?void 0:x.call(t)}),k=$a(null,x=>{if(s.current!==x){var b;(b=s.current)===null||b===void 0||b.removeEventListener(Fa,v),x?.addEventListener(Fa,v),s.current=x,p()}}),y=$a(null,x=>{c.current!==x&&(c.current=x,p())});return{targetRef:g,containerRef:k,arrowRef:y}}function kS(t){return Nr(t)?{element:t}:typeof t=="object"?t===null?{element:null}:t:{}}const xS=ae({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;}"]}),Nh=Ni.useInsertionEffect,SS=t=>{"use no memo";const{className:o,dir:n,focusVisibleRef:l,targetNode:s}=t,c=S.useMemo(()=>{if(s===void 0||t.disabled)return null;const u=s.ownerDocument.createElement("div");return s.appendChild(u),u},[s,t.disabled]);return S.useMemo(()=>{c&&(c.className=o,c.setAttribute("dir",n),c.setAttribute("data-portal-node","true"),l.current=c)},[o,n,c,l]),S.useEffect(()=>()=>{c?.remove()},[c]),c},_S=()=>{let t;function o(l,s){return t||(s&&(t=l.ownerDocument.createElement("div"),l.appendChild(t)),t)}function n(){t&&(t.remove(),t=void 0)}return{get:o,dispose:n}},CS=Nh?t=>{"use no memo";const{className:o,dir:n,focusVisibleRef:l,targetNode:s}=t,[c]=S.useState(_S),u=S.useMemo(()=>s===void 0||t.disabled?null:new Proxy({},{get(f,p){if(p==="nodeType")return 1;if(p==="remove"){const v=c.get(s,!1);return v&&v.childNodes.length===0&&c.dispose(),()=>{}}const m=c.get(s,!0),g=m?m[p]:void 0;return typeof g=="function"?g.bind(m):g},set(f,p,m){const g=p==="_virtual"||p==="focusVisible",v=g?c.get(s,!1):c.get(s,!0);return g&&!v?!0:v?(Object.assign(v,{[p]:m}),!0):!1}}),[c,s,t.disabled]);return Nh(()=>{if(!u)return;const f=o.split(" ").filter(Boolean);return u.classList.add(...f),u.setAttribute("dir",n),u.setAttribute("data-portal-node","true"),l.current=u,()=>{u.classList.remove(...f),u.removeAttribute("dir")}},[o,n,u,l]),S.useEffect(()=>()=>{u?.remove()},[u]),u}:SS,BS=t=>{"use no memo";const{targetDocument:o,dir:n}=at(),l=Nb(),s=Ca(),c=xS(),u=wb(),f={dir:n,disabled:t.disabled,focusVisibleRef:s,className:Z(u,c.root,t.className),targetNode:l??o?.body};return CS(f)},NS=t=>{const{element:o,className:n}=kS(t.mountNode),l=S.useRef(null),s=BS({disabled:!!o,className:n}),c=o??s,u={children:t.children,mountNode:c,virtualParentRootRef:l};return S.useEffect(()=>{if(!c)return;const f=l.current,p=c.contains(f);if(f&&!p)return Cf(c,f),()=>{Cf(c,void 0)}},[l,c]),u};var Va=ud();const TS=t=>S.createElement("span",{hidden:!0,ref:t.virtualParentRootRef},t.mountNode&&Va.createPortal(S.createElement(S.Fragment,null,t.children,S.createElement("span",{hidden:!0})),t.mountNode)),Th=t=>{const o=NS(t);return TS(o)};Th.displayName="Portal";const zS=t=>{const{iconOnly:o,iconPosition:n}=t;return wt(t.root,{children:[n!=="after"&&t.icon&&ce(t.icon,{}),!o&&t.root.children,n==="after"&&t.icon&&ce(t.icon,{})]})},zh=S.createContext(void 0),ES={};zh.Provider;const PS=()=>{var t;return(t=S.useContext(zh))!==null&&t!==void 0?t:ES},RS=(t,o)=>{const{size:n}=PS(),{appearance:l="secondary",as:s="button",disabled:c=!1,disabledFocusable:u=!1,icon:f,iconPosition:p="before",shape:m="rounded",size:g=n??"medium"}=t,v=Ge(f,{elementType:"span"});return{appearance:l,disabled:c,disabledFocusable:u,iconPosition:p,shape:m,size:g,iconOnly:!!(v?.children&&!t.children),components:{root:"button",icon:"span"},root:ze(yt(s,Mp(t.as,t)),{elementType:"button",defaultProps:{ref:o,type:s==="button"?"button":void 0}}),icon:v}},Eh={root:"fui-Button",icon:"fui-Button__icon"},FS=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;}}"]}),IS=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);}"]),DS=ae({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)"}]]}),jS=ae({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)"}]]}),OS=ae({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;}}"]}),AS=ae({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;}"]}),MS=ae({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);}"]}),LS=t=>{"use no memo";const o=FS(),n=IS(),l=DS(),s=jS(),c=OS(),u=AS(),f=MS(),{appearance:p,disabled:m,disabledFocusable:g,icon:v,iconOnly:k,iconPosition:y,shape:x,size:b}=t;return t.root.className=Z(Eh.root,o,p&&l[p],l[b],v&&b==="small"&&l.smallWithIcon,v&&b==="large"&&l.largeWithIcon,l[x],(m||g)&&s.base,(m||g)&&s.highContrast,p&&(m||g)&&s[p],p==="primary"&&c.primary,c[b],c[x],k&&u[b],t.root.className),t.icon&&(t.icon.className=Z(Eh.icon,n,!!t.root.children&&f[y],f[b],t.icon.className)),t},cl=S.forwardRef((t,o)=>{const n=RS(t,o);return LS(n),tt("useButtonStyles_unstable")(n),zS(n)});cl.displayName="Button";const Ph=S.createContext(void 0);Ph.Provider;const qS=()=>S.useContext(Ph);function ul(t,o){return HS(qS(),t,o)}function HS(t,o,n){if(!t)return o;o={...o};const{generatedControlId:l,hintId:s,labelFor:c,labelId:u,required:f,validationMessageId:p,validationState:m}=t;if(l){var g,v;(v=(g=o).id)!==null&&v!==void 0||(g.id=l)}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((p||s)&&(o["aria-describedby"]=[p,s,o?.["aria-describedby"]].filter(Boolean).join(" ")),m==="error"){var b,_,B;(B=(b=o)[_="aria-invalid"])!==null&&B!==void 0||(b[_]=!0)}if(f)if(n?.supportsRequired){var z,N;(N=(z=o).required)!==null&&N!==void 0||(z.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,q;(q=(A=o).size)!==null&&q!==void 0||(A.size=t.size)}return o}const WS=(t,o)=>{const{disabled:n=!1,required:l=!1,weight:s="regular",size:c="medium"}=t;return{disabled:n,required:Ge(l===!0?"*":l||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:s,size:c,components:{root:"label",required:"span"},root:ze(yt("label",{ref:o,...t}),{elementType:"label"})}},$S=t=>wt(t.root,{children:[t.root.children,t.required&&ce(t.required,{})]}),Rh={root:"fui-Label",required:"fui-Label__required"},VS=ae({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)"}]]}),US=t=>{"use no memo";const o=VS();return t.root.className=Z(Rh.root,o.root,t.disabled&&o.disabled,o[t.size],t.weight==="semibold"&&o.semibold,t.root.className),t.required&&(t.required.className=Z(Rh.required,o.required,t.disabled&&o.disabled,t.required.className)),t},yo=S.forwardRef((t,o)=>{const n=WS(t,o);return US(n),tt("useLabelStyles_unstable")(n),$S(n)});yo.displayName="Label";const GS=(t,o)=>{"use no memo";t=ul(t,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:n=!1,required:l,shape:s="square",size:c="medium",labelPosition:u="after",onChange:f}=t,[p,m]=Hr({defaultState:t.defaultChecked,state:t.checked,initialState:!1}),g=$i({props:t,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),v=p==="mixed",k=pr("checkbox-",g.primary.id);let y;v?s==="circular"?y=S.createElement(Mk,null):y=c==="large"?S.createElement(Uk,null):S.createElement(Vk,null):p&&(y=c==="large"?S.createElement(Hk,null):S.createElement(Kp,null));const x={shape:s,checked:p,disabled:n,size:c,labelPosition:u,components:{root:"span",input:"input",indicator:"div",label:yo},root:ze(t.root,{defaultProps:{ref:Rn(),...g.root},elementType:"span"}),input:ze(t.input,{defaultProps:{type:"checkbox",id:k,ref:o,checked:p===!0,...g.primary},elementType:"input"}),label:Ge(t.label,{defaultProps:{htmlFor:k,disabled:n,required:l,size:"medium"},elementType:yo}),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;f?.(_,{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},KS=t=>wt(t.root,{children:[ce(t.input,{}),t.labelPosition==="before"&&t.label&&ce(t.label,{}),t.indicator&&ce(t.indicator,{}),t.labelPosition==="after"&&t.label&&ce(t.label,{})]}),dl={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},XS=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;}}"]}),QS=ae({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)"}]]}),YS=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));}"]),JS=ae({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));}"]}),ZS=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;}"]),e_=ae({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}]]}),t_=ae({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);}"]}),r_=t=>{"use no memo";const{checked:o,disabled:n,labelPosition:l,shape:s,size:c}=t,u=XS(),f=QS();t.root.className=Z(dl.root,u,n?f.disabled:o==="mixed"?f.mixed:o?f.checked:f.unchecked,t.root.className);const p=YS(),m=JS();t.input.className=Z(dl.input,p,c==="large"&&m.large,m[l],t.input.className);const g=ZS(),v=e_();t.indicator&&(t.indicator.className=Z(dl.indicator,g,c==="large"&&v.large,s==="circular"&&v.circular,t.indicator.className));const k=t_();return t.label&&(t.label.className=Z(dl.label,k.base,k[c],k[l],t.label.className)),t},Ua=S.forwardRef((t,o)=>{const n=GS(t,o);return r_(n),tt("useCheckboxStyles_unstable")(n),KS(n)});Ua.displayName="Checkbox";const Fh=Ea({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});Fh.Provider;const o_={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Qo=Ea(void 0),jt=t=>Rp(Qo,(o=o_)=>t(o));Qo.Provider;function n_(t){const{appearance:o,open:n,getOptionById:l,getOptionsMatchingValue:s,registerOption:c,selectedOptions:u,selectOption:f,setOpen:p,size:m,activeDescendantController:g,onOptionClick:v,onActiveDescendantChange:k}=t,y={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:f,setActiveOption:()=>null,setOpen:p,size:m},x={activeOption:void 0,focusVisible:!1,getOptionById:l,getOptionsMatchingValue:s,registerOption:c,selectedOptions:u,selectOption:f,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:k},b=S.useMemo(()=>({controller:g}),[g]);return{combobox:y,activeDescendant:b,listbox:x}}function i_(t){const o=Fp(Qo),{getOptionById:n,getOptionsMatchingValue:l,multiselect:s,registerOption:c,selectedOptions:u,selectOption:f,activeDescendantController:p}=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:l,multiselect:s,registerOption:o?m:c,selectedOptions:u,selectOption:f,setActiveOption:()=>{},onOptionClick:g,onActiveDescendantChange:v},x=S.useMemo(()=>({controller:p}),[p]);return{listbox:y,activeDescendant:x}}function Ga(t,o={}){const{open:n=!0,multiselect:l=!1}=o,s=t.key,{altKey:c,ctrlKey:u,key:f,metaKey:p}=t;return f.length===1&&s!==vr&&!c&&!u&&!p?"Type":n?s===Zi&&c||s===Wo||!l&&s===vr?"CloseSelect":l&&s===vr?"Select":s===Ap?"Close":s===Pa?"Next":s===Zi?"Previous":s===Op?"First":s===jp?"Last":s===Bk?"PageUp":s===Ck?"PageDown":s===_k?"Tab":"None":s===Pa||s===Zi||s===Wo||s===vr?"Open":"None"}const Ih=()=>{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(l=>(t.current.set(l.id,l),()=>t.current.delete(l.id)),[]);return{...o,options:Array.from(t.current.values()),registerOption:n}},Dh=t=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:l}=t,[s,c]=Hr({state:t.selectedOptions,defaultState:o,initialState:[]}),u=S.useCallback((p,m)=>{if(m.disabled)return;let g=[m.value];if(n){const v=s.findIndex(k=>k===m.value);v>-1?g=[...s.slice(0,v),...s.slice(v+1)]:g=[...s,m.value]}c(g),l?.(p,{optionValue:m.value,optionText:m.text,selectedOptions:g})},[l,n,s,c]);return{clearSelection:p=>{c([]),l?.(p,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u,selectedOptions:s}},fl={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},l_=ae({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)"}]]}),s_=t=>{"use no memo";const{disabled:o,multiselect:n,selected:l}=t,s=l_();return t.root.className=Z(fl.root,s.root,s.active,o&&s.disabled,l&&s.selected,t.root.className),t.checkIcon&&(t.checkIcon.className=Z(fl.checkIcon,s.checkIcon,n&&s.multiselectCheck,l&&s.selectedCheck,l&&n&&s.selectedMultiselectCheck,o&&s.checkDisabled,o&&n&&s.multiselectCheckDisabled,t.checkIcon.className)),t},jh={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},a_=(t,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:l=!1}=t,s=Ih(),{listboxRef:c,activeParentRef:u,controller:f}=Up({matchOption:re=>re.classList.contains(fl.root)}),p=Fp(Qo),m=jt(re=>re.onActiveDescendantChange),g=jt(re=>re.getOptionById),v=jt(re=>re.getOptionsMatchingValue),k=p?g:s.getOptionById,y=p?v:s.getOptionsMatchingValue,x=S.useMemo(()=>{let re=null;const xe=be=>{m?.(be)};return be=>{if(!be){re?.removeEventListener("activedescendantchange",xe);return}re=be,re.addEventListener("activedescendantchange",xe)}},[m]),[b,_]=S.useState(!1);sp(_);const B=qp(),z=Tk(),N=z?B.controller:f,{clearSelection:T,selectedOptions:R,selectOption:D}=Dh(t),A=re=>{const xe=Ga(re,{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":re.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(re,pe);break}},q=jt(re=>re.selectedOptions),Q=jt(re=>re.selectOption),ee=p?{selectedOptions:q,selectOption:Q,...jh}:{selectedOptions:R,selectOption:D,...jh};S.useEffect(()=>{if(!z){if(N.hideFocusVisibleAttributes(),!l)if(!n&&ee.selectedOptions.length>0){const re=y(xe=>xe===ee.selectedOptions[0]).pop();re?.id&&N.focus(re.id)}else N.first();return()=>{N.blur()}}},[]);const ve=S.useCallback(()=>{z||(N.showFocusVisibleAttributes(),b&&N.scrollActiveIntoView())},[N,z,b]),he=S.useCallback(()=>{z||N.hideFocusVisibleAttributes()},[N,z]),H={components:{root:"div"},root:ze(yt("div",{ref:pt(o,u,c,x),role:n?"menu":"listbox",tabIndex:0,...t}),{elementType:"div"}),standalone:!p,multiselect:n,clearSelection:T,activeDescendantController:N,onActiveDescendantChange:m,...s,...ee};return H.root.onKeyDown=ke(Ct(H.root.onKeyDown,A)),H.root.onFocus=ke(Ct(H.root.onFocus,ve)),H.root.onBlur=ke(Ct(H.root.onBlur,he)),H},c_=(t,o)=>ce(Lp,{value:o.activeDescendant,children:ce(Qo.Provider,{value:o.listbox,children:ce(t.root,{})})}),u_={root:"fui-Listbox"},d_=ae({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);}"]}),f_=t=>{"use no memo";const o=d_();return t.root.className=Z(u_.root,o.root,t.root.className),t},Ka=S.forwardRef((t,o)=>{const n=a_(t,o),l=i_(n);return f_(n),tt("useListboxStyles_unstable")(n),c_(n,l)});Ka.displayName="Listbox";function p_(t,o){if(t!==void 0)return t;let n="",l=!1;return S.Children.forEach(o,s=>{typeof s=="string"?n+=s:l=!0}),l&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}const h_=(t,o)=>{const{children:n,disabled:l,text:s,value:c}=t,u=S.useRef(null),f=p_(s,n),p=c??f,m=pr("fluent-option",t.id),g=S.useMemo(()=>({id:m,disabled:l,text:f,value:p}),[m,l,f,p]),{controller:v}=qp(),k=jt(T=>T.multiselect),y=jt(T=>T.registerOption),x=jt(T=>{const R=T.selectedOptions;return p!==void 0&&R.find(D=>D===p)!==void 0}),b=jt(T=>T.selectOption),_=jt(T=>T.onOptionClick);let B=S.createElement(Ok,null);k&&(B=x?S.createElement(Kp,null):"");const z=T=>{var R;if(l){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:ze(yt("div",{ref:pt(o,u),"aria-disabled":l?"true":void 0,id:m,...N,...t,onClick:z}),{elementType:"div"}),checkIcon:Ge(t.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:B},elementType:"span"}),disabled:l,multiselect:k,selected:x,focusVisible:!1,active:!1}},m_=t=>wt(t.root,{children:[t.checkIcon&&ce(t.checkIcon,{}),t.root.children]}),Oh=S.forwardRef((t,o)=>{const n=h_(t,o);return s_(n),tt("useOptionStyles_unstable")(n),m_(n)});Oh.displayName="Option";const g_=t=>{"use no memo";const{appearance:o="outline",disableAutoFocus:n,children:l,clearable:s=!1,editable:c=!1,inlinePopup:u=!1,mountNode:f=void 0,multiselect:p,onOpenChange:m,size:g="medium",activeDescendantController:v,freeform:k=!1,disabled:y=!1,onActiveOptionChange:x=null}=t,b=Ih(),{getOptionsMatchingValue:_}=b,{getOptionById:B}=b,z=S.useCallback(()=>{const M=v.active();return M?B(M):void 0},[v,B]),N=z(),T=S.useCallback(M=>{let le;if(typeof M=="function"){const me=z();le=M(me)}le?v.focus(le.id):v.blur()},[v,z]),[R,D]=S.useState(!1),[A,q]=S.useState(!1),Q=S.useRef(!1),ee=Ob(),[ve,he]=Hr({state:t.value,initialState:void 0}),{selectedOptions:H,selectOption:re,clearSelection:xe}=Dh(t),be=S.useCallback((M,le)=>{Va.unstable_batchedUpdates(()=>{he(void 0),re(M,le)})},[he,re]),pe=S.useMemo(()=>{if(ve!==void 0)return ve;if(ee&&t.defaultValue!==void 0)return t.defaultValue;const M=_(le=>H.includes(le)).map(le=>le.text);return p?c?"":M.join(", "):M[0]},[ve,c,_,p,H]),[U,te]=Hr({state:t.open,defaultState:t.defaultOpen,initialState:!1}),Y=S.useCallback((M,le)=>{y||(m?.(M,{open:le}),Va.unstable_batchedUpdates(()=>{!le&&!k&&he(void 0),te(le)}))},[m,te,he,k,y]);S.useEffect(()=>{if(U){if(!p&&H.length>0){const M=_(le=>le===H[0]).pop();M?.id&&v.focus(M.id)}}else v.blur()},[U,v]),S.useEffect(()=>{U&&!n&&!v.active()&&v.first()},[U,l,n,v,B]);const F=ke(M=>{const le=M.detail.previousId?b.getOptionById(M.detail.previousId):null,me=b.getOptionById(M.detail.id);x?.(M,{event:M,type:"change",previousOption:le,nextOption:me})});return{...b,freeform:k,disabled:y,selectOption:be,clearSelection:xe,selectedOptions:H,activeOption:N,appearance:o,clearable:s,focusVisible:R,ignoreNextBlur:Q,inlinePopup:u,mountNode:f,open:U,hasFocus:A,setActiveOption:T,setFocusVisible:D,setHasFocus:q,setOpen:Y,setValue:he,size:g,value:pe,multiselect:p,onOptionClick:ke(M=>{p||Y(M,!1)}),onActiveDescendantChange:F}};function v_(t){const{positioning:o}=t,l={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,..._h(o)},{targetRef:s,containerRef:c}=wS(l);return[c,s]}function b_(t,o,n){const{state:{multiselect:l},triggerRef:s,defaultProps:c}=n,u=pr("fluent-listbox",af(t)?t.id:void 0),f=Ge(t,{renderByDefault:!0,elementType:Ka,defaultProps:{id:u,multiselect:l,tabIndex:void 0,...c}}),p=ul({id:u},{supportsLabelFor:!0});f&&!f["aria-label"]&&!f["aria-labelledby"]&&p["aria-labelledby"]&&(f["aria-labelledby"]=p["aria-labelledby"]);const m=ke(Ct(k=>{k.preventDefault()},f?.onMouseDown)),g=ke(Ct(k=>{var y;k.preventDefault(),(y=s.current)===null||y===void 0||y.focus()},f?.onClick)),v=pt(f?.ref,o);return f&&(f.ref=v,f.onMouseDown=m,f.onClick=g),f}function y_(t,o,n){const{state:{open:l,setOpen:s,setHasFocus:c},defaultProps:u,elementType:f,activeDescendantController:p}=n,m=ze(t,{defaultProps:{type:"text","aria-expanded":l,role:"combobox",...typeof u=="object"&&u},elementType:f}),g=S.useRef(null);return m.ref=pt(g,m.ref,o),m.onBlur=Ct(v=>{s(v,!1),c(!1)},m.onBlur),m.onFocus=Ct(v=>{v.target===v.currentTarget&&c(!0)},m.onFocus),m.onClick=Ct(v=>{s(v,!l)},m.onClick),m.onKeyDown=Ct(w_({activeDescendantController:p,...n.state}),m.onKeyDown),m}function w_(t){const{activeDescendantController:o,getOptionById:n,setOpen:l,selectOption:s,multiselect:c,open:u}=t,f=S.useCallback(()=>{const b=o.active();return b?n(b):void 0},[o,n]),p=()=>{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=kw();return ke(b=>{const _=Ga(b,{open:u,multiselect:c}),B=f();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":p();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":l(b,!0);break;case"Close":b.stopPropagation(),l(b,!1);break;case"CloseSelect":!c&&!B?.disabled&&l(b,!1);case"Select":B&&s(b,B);break;case"Tab":!c&&B&&s(b,B);break}})}function k_(t,o,n){"use no memo";const{state:{open:l,setOpen:s,getOptionById:c},defaultProps:u,activeDescendantController:f}=n,p=S.useRef(""),[m,g]=kf(),v=(b,_={startFromNext:!1})=>{const{startFromNext:B}=_,z=f.active(),N=f.find(T=>{const R=c(T);return!!R&&b(R.text)},{startFrom:B?f.next({passive:!0}):z});return N||f.find(T=>{const R=c(T);return!!R&&b(R.text)})},k=()=>{v(b=>b.toLocaleLowerCase().indexOf(p.current)===0,{startFromNext:p.current.length===1})||x_(p.current)&&v(b=>b.toLocaleLowerCase().indexOf(p.current[0])===0,{startFromNext:!0})||f.blur()},y=b=>{g(),Ga(b)==="Type"&&(p.current+=b.key.toLowerCase(),m(()=>{p.current=""},500),l&&k(),!l&&s(b,!0))},x=y_(t,o,{state:n.state,defaultProps:u,elementType:"button",activeDescendantController:f});return x.onKeyDown=Ct(y,x.onKeyDown),x}function x_(t){for(let o=1;o<t.length;o++)if(t[o]!==t[o-1])return!1;return!0}const S_=(t,o)=>{"use no memo";var n;t=ul(t,{supportsLabelFor:!0,supportsSize:!0});const{listboxRef:l,activeParentRef:s,controller:c}=Up({matchOption:he=>he.classList.contains(fl.root)}),u=g_({...t,activeDescendantController:c,freeform:!1}),{clearable:f,clearSelection:p,disabled:m,hasFocus:g,multiselect:v,open:k,selectedOptions:y,setOpen:x}=u,{primary:b,root:_}=$i({props:t,primarySlotTagName:"button",excludedPropNames:["children"]}),[B,z]=v_(t),N=S.useRef(null),T=b_(t.listbox,pt(B,l),{state:u,triggerRef:N,defaultProps:{children:t.children}}),{targetDocument:R}=at();Mb({element:R,callback:he=>x(he,!1),refs:[N,B,z],disabled:!k});var D;const A=k_((D=t.button)!==null&&D!==void 0?D:{},pt(N,s,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}),q=ze(t.root,{defaultProps:{"aria-owns":!t.inlinePopup&&k?T?.id:void 0,children:t.children,..._},elementType:"div"});q.ref=pt(q.ref,z);const Q=y.length>0&&!m&&f&&!v,ee={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:Ka},root:q,button:A,listbox:k||g?T:void 0,clearButton:Ge(t.clearButton,{defaultProps:{"aria-label":"Clear selection",children:S.createElement(Gp,null),tabIndex:Q?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:Ge(t.expandIcon,{renderByDefault:!0,defaultProps:{children:S.createElement(Ak,null)},elementType:"span"}),placeholderVisible:!u.value&&!!t.placeholder,showClearButton:Q,activeDescendantController:c,...u},ve=ke(Ct((n=ee.clearButton)===null||n===void 0?void 0:n.onClick,he=>{var H;p(he),(H=N.current)===null||H===void 0||H.focus()}));return ee.clearButton&&(ee.clearButton.onClick=ve),v&&(ee.clearButton=void 0),ee},__=(t,o)=>ce(t.root,{children:ce(Lp,{value:o.activeDescendant,children:ce(Qo.Provider,{value:o.listbox,children:wt(Fh.Provider,{value:o.combobox,children:[wt(t.button,{children:[t.button.children,t.expandIcon&&ce(t.expandIcon,{})]}),t.clearButton&&ce(t.clearButton,{}),t.listbox&&(t.inlinePopup?ce(t.listbox,{}):ce(Th,{mountNode:t.mountNode,children:ce(t.listbox,{})}))]})})})}),jn={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},C_=ae({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);}"]}),B_=ae({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);}"]}),N_=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;}}"]}),T_=t=>{"use no memo";const{appearance:o,open:n,placeholderVisible:l,showClearButton:s,size:c}=t,u=`${t.button["aria-invalid"]}`=="true",f=t.button.disabled,p=C_(),m=B_(),g=N_();return t.root.className=Z(jn.root,p.root,p[o],!f&&o==="outline"&&p.outlineInteractive,u&&o!=="underline"&&p.invalid,u&&o==="underline"&&p.invalidUnderline,f&&p.disabled,t.root.className),t.button.className=Z(jn.button,p.button,p[c],l&&p.placeholder,f&&p.disabledText,t.button.className),t.listbox&&(t.listbox.className=Z(jn.listbox,p.listbox,t.inlinePopup&&p.inlineListbox,!n&&p.listboxCollapsed,t.listbox.className)),t.expandIcon&&(t.expandIcon.className=Z(jn.expandIcon,m.icon,m[c],f&&m.disabled,s&&p.hidden,t.expandIcon.className)),t.clearButton&&(t.clearButton.className=Z(jn.clearButton,g,m.icon,m[c],f&&m.disabled,!s&&p.hidden,t.clearButton.className)),t},Ah=S.forwardRef((t,o)=>{const n=S_(t,o),l=n_(n);return T_(n),tt("useDropdownStyles_unstable")(n),__(n,l)});Ah.displayName="Dropdown";const z_=t=>ce(t.root,{children:t.root.children!==void 0&&ce(t.wrapper,{children:t.root.children})}),E_=(t,o)=>{const{alignContent:n="center",appearance:l="default",inset:s=!1,vertical:c=!1,wrapper:u}=t,f=pr("divider-");return{alignContent:n,appearance:l,inset:s,vertical:c,components:{root:"div",wrapper:"div"},root:ze(yt("div",{role:"separator","aria-orientation":c?"vertical":"horizontal","aria-labelledby":t.children?f:void 0,...t,ref:o}),{elementType:"div"}),wrapper:ze(u,{defaultProps:{id:f,children:t.children},elementType:"div"})}},Mh={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},P_=ae({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),R_=ae({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),F_=ae({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),I_=t=>{"use no memo";const o=P_(),n=R_(),l=F_(),{alignContent:s,appearance:c,inset:u,vertical:f}=t;return t.root.className=Z(Mh.root,o.base,o[s],c&&o[c],!f&&n.base,!f&&u&&n.inset,!f&&n[s],f&&l.base,f&&u&&l.inset,f&&l[s],f&&t.root.children!==void 0&&l.withChildren,t.root.children===void 0&&o.childless,t.root.className),t.wrapper&&(t.wrapper.className=Z(Mh.wrapper,t.wrapper.className)),t},Lh=S.forwardRef((t,o)=>{const n=E_(t,o);return I_(n),tt("useDividerStyles_unstable")(n),z_(n)});Lh.displayName="Divider";const D_=(t,o)=>{t=ul(t,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=vf();var l;const{size:s="medium",appearance:c=(l=n.inputDefaultAppearance)!==null&&l!==void 0?l:"outline",onChange:u}=t,[f,p]=Hr({state:t.value,defaultState:t.defaultValue,initialState:""}),m=$i({props:t,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),g={size:s,appearance:c,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:ze(t.input,{defaultProps:{type:"text",ref:o,...m.primary},elementType:"input"}),contentAfter:Ge(t.contentAfter,{elementType:"span"}),contentBefore:Ge(t.contentBefore,{elementType:"span"}),root:ze(t.root,{defaultProps:m.root,elementType:"span"})};return g.input.value=f,g.input.onChange=ke(v=>{const k=v.target.value;u?.(v,{value:k}),p(k)}),g},pl={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},j_=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;}}"]}),O_=ae({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;}"]}),A_=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;}"]),M_=ae({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);}"]}),L_=ft("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),q_=ae({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;}"]}),H_=t=>{"use no memo";const{size:o,appearance:n}=t,l=t.input.disabled,s=`${t.input["aria-invalid"]}`=="true",c=n.startsWith("filled"),u=O_(),f=M_(),p=q_();t.root.className=Z(pl.root,j_(),u[o],t.contentBefore&&u[`${o}WithContentBefore`],t.contentAfter&&u[`${o}WithContentAfter`],u[n],!l&&n==="outline"&&u.outlineInteractive,!l&&n==="underline"&&u.underlineInteractive,!l&&c&&u.filledInteractive,c&&u.filled,!l&&s&&u.invalid,l&&u.disabled,t.root.className),t.input.className=Z(pl.input,A_(),f[o],t.contentBefore&&f[`${o}WithContentBefore`],t.contentAfter&&f[`${o}WithContentAfter`],l&&f.disabled,t.input.className);const m=[L_(),l&&p.disabled,p[o]];return t.contentBefore&&(t.contentBefore.className=Z(pl.contentBefore,...m,t.contentBefore.className)),t.contentAfter&&(t.contentAfter.className=Z(pl.contentAfter,...m,t.contentAfter.className)),t},qh=S.createContext(void 0),W_={};qh.Provider;const $_=()=>S.useContext(qh)||W_,V_=t=>wt(t.root,{children:[ce(t.input,{}),ce(t.indicator,{}),t.label&&ce(t.label,{})]}),U_=(t,o)=>{const n=$_(),{name:l=n.name,checked:s=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:f=n.disabled,required:p=n.required,"aria-describedby":m=n["aria-describedby"],onChange:g}=t,v=$i({props:t,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),k=ze(t.root,{defaultProps:{ref:Rn(),...v.root},elementType:"span"}),y=ze(t.input,{defaultProps:{ref:o,type:"radio",id:pr("radio-",v.primary.id),name:l,checked:s,defaultChecked:c,disabled:f,required:p,"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:yo}),b=ze(t.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:yo,indicator:"div"},root:k,input:y,label:x,indicator:b}},hl={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},G_=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;}}"]}),K_=ae({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),X_=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;}}"]}),Q_=ae({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;}"]}),Y_=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;}"]),J_=ae({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;}"]}),Z_=t=>{"use no memo";const{labelPosition:o}=t,n=G_(),l=K_();t.root.className=Z(hl.root,n,o==="below"&&l.vertical,t.root.className);const s=X_(),c=Q_();t.input.className=Z(hl.input,s,o==="below"&&c.below,t.indicator.children?c.customIndicator:c.defaultIndicator,t.input.className);const u=Y_();t.indicator.className=Z(hl.indicator,u,t.indicator.className);const f=J_();return t.label&&(t.label.className=Z(hl.label,f.base,f[o],t.label.className)),t},Xa=S.forwardRef((t,o)=>{const n=U_(t,o);return Z_(n),tt("useRadioStyles_unstable")(n),V_(n)});Xa.displayName="Radio";const Hh=S.createContext(void 0),e2={};Hh.Provider;const t2=()=>{var t;return(t=S.useContext(Hh))!==null&&t!==void 0?t:e2},r2=(t,o)=>{const{size:n}=t2(),{appearance:l="primary",labelPosition:s="after",size:c=n??"medium",delay:u=0}=t,f=pr("spinner"),{role:p="progressbar",...m}=t,g=ze(yt("div",{ref:o,role:p,...m},["size"]),{elementType:"div"}),[v,k]=S.useState(!1),[y,x]=kf();S.useEffect(()=>{if(!(u<=0))return y(()=>{k(!0)},u),()=>{x()}},[y,x,u]);const b=Ge(t.label,{defaultProps:{id:f},renderByDefault:!1,elementType:yo}),_=Ge(t.spinner,{renderByDefault:!0,elementType:"span"});return b&&g&&!g["aria-labelledby"]&&(g["aria-labelledby"]=b.id),{appearance:l,delay:u,labelPosition:s,size:c,shouldRenderSpinner:!u||v,components:{root:"div",spinner:"span",spinnerTail:"span",label:yo},root:g,spinner:_,spinnerTail:ze(t.spinnerTail,{elementType:"span"}),label:b}},o2=t=>{const{labelPosition:o,shouldRenderSpinner:n}=t;return wt(t.root,{children:[t.label&&n&&(o==="above"||o==="before")&&ce(t.label,{}),t.spinner&&n&&ce(t.spinner,{children:t.spinnerTail&&ce(t.spinnerTail,{})}),t.label&&n&&(o==="below"||o==="after")&&ce(t.label,{})]})},ml={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},n2=ft("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),i2=ae({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),l2=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;}}"]}),s2=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;}}"]}),a2=ae({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)"}]]}),c2=ae({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);}"]}),u2=t=>{"use no memo";const{labelPosition:o,size:n,appearance:l}=t,{dir:s}=at(),c=n2(),u=i2(),f=l2(),p=a2(),m=s2(),g=c2();return t.root.className=Z(ml.root,c,(o==="above"||o==="below")&&u.vertical,t.root.className),t.spinner&&(t.spinner.className=Z(ml.spinner,f,p[n],l==="inverted"&&p.inverted,t.spinner.className)),t.spinnerTail&&(t.spinnerTail.className=Z(ml.spinnerTail,m,s==="rtl"&&p.rtlTail,t.spinnerTail.className)),t.label&&(t.label.className=Z(ml.label,g[n],l==="inverted"&&g.inverted,t.label.className)),t},Qa=S.forwardRef((t,o)=>{const n=r2(t,o);return u2(n),tt("useSpinnerStyles_unstable")(n),o2(n)});Qa.displayName="Spinner";const Wh=(t,o)=>{const{wrap:n,truncate:l,block:s,italic:c,underline:u,strikethrough:f,size:p,font:m,weight:g,align:v}=t;return{align:v??"start",block:s??!1,font:m??"base",italic:c??!1,size:p??300,strikethrough:f??!1,truncate:l??!1,underline:u??!1,weight:g??"regular",wrap:n??!0,components:{root:"span"},root:ze(yt("span",{ref:o,...t}),{elementType:"span"})}},$h=t=>ce(t.root,{}),d2={root:"fui-Text"},f2=ae({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;}"]}),Vh=t=>{"use no memo";const o=f2();return t.root.className=Z(d2.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},Uh=S.forwardRef((t,o)=>{const n=Wh(t,o);return Vh(n),tt("useTextStyles_unstable")(n),$h(n)});Uh.displayName="Text";function p2(t){const{useStyles:o,className:n,displayName:l}=t,s=S.forwardRef((c,u)=>{"use no memo";const f=o(),p=Wh(c,u);return Vh(p),p.root.className=Z(n,p.root.className,f.root,c.className),$h(p)});return s.displayName=l,s}const h2=p2({useStyles:ae({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"}),On=()=>{},Gh={allRowsSelected:!1,clearRows:On,deselectRow:On,isRowSelected:()=>!1,selectRow:On,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:On,toggleRow:On,selectionMode:"multiselect"};function m2(t){"use no memo";return o=>g2(o,t)}function g2(t,o){const{items:n,getRowId:l}=t,{selectionMode:s,defaultSelectedItems:c,selectedItems:u,onSelectionChange:f}=o,[p,m]=Gb({selectionMode:s,defaultSelectedItems:c,selectedItems:u,onSelectionChange:f}),g=S.useMemo(()=>{const N=new Set;for(let R=0;R<n.length;R++){var T;N.add((T=l?.(n[R]))!==null&&T!==void 0?T:R)}return N},[n,l]),v=S.useMemo(()=>{if(s==="single"){const T=Array.from(p)[0];return g.has(T)}if(p.size<g.size||g.size===0)return!1;let N=!0;return g.forEach(T=>{p.has(T)||(N=!1)}),N},[g,p,s]),k=S.useMemo(()=>{if(p.size<=0)return!1;let N=!1;return g.forEach(T=>{p.has(T)&&(N=!0)}),N},[g,p]),y=ke(N=>{m.toggleAllItems(N,n.map((T,R)=>{var D;return(D=l?.(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),z=ke(N=>m.clearItems(N));return{...t,selection:{selectionMode:s,someRowsSelected:k,allRowsSelected:v,selectedRows:p,toggleRow:x,toggleAllRows:y,clearRows:z,deselectRow:b,selectRow:_,isRowSelected:B}}}const Ya=()=>{},Kh={getSortDirection:()=>"ascending",setColumnSort:Ya,sort:t=>[...t],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:Ya};function v2(t){"use no memo";return o=>b2(o,t)}function b2(t,o){const{columns:n}=t,{sortState:l,defaultSortState:s,onSortChange:c=Ya}=o,[u,f]=Hr({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:s,state:l}),{sortColumn:p,sortDirection:m}=u,g=ke(c),v=S.useCallback((b,_)=>{f(B=>{const z={...B,sortColumn:_};return B.sortColumn===_?z.sortDirection=B.sortDirection==="ascending"?"descending":"ascending":z.sortDirection="ascending",g?.(b,z),z})},[g,f]),k=(b,_,B)=>{const z={sortColumn:_,sortDirection:B};g?.(b,z),f(z)},y=S.useCallback(b=>b.slice().sort((_,B)=>{const z=n.find(T=>T.columnId===p);if(!z?.compare)return 0;const N=m==="ascending"?1:-1;return z.compare(_.item,B.item)*N}),[n,p,m]);return{...t,sort:{sort:y,sortColumn:p,sortDirection:m,setColumnSort:k,toggleColumnSort:v,getSortDirection:b=>p===b?m:void 0}}}const y2=(t,o)=>{const n=ke(l=>{var s;(s=t.onClick)===null||s===void 0||s.call(t,l),l.stopPropagation()});return{components:{root:"div"},root:ze(yt("div",{ref:o,...t,onClick:n}),{elementType:"div"})}},w2=t=>ce(t.root,{}),k2={root:"fui-TableResizeHandle"},x2=ae({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;}"]}),S2=t=>{"use no memo";const o=x2();return t.root.className=Z(k2.root,o.root,t.root.className),t},Xh=S.forwardRef((t,o)=>{const n=y2(t,o);return S2(n),tt("useTableResizeHandleStyles_unstable")(n),w2(n)});Xh.displayName="TableResizeHandle";function _2(){const[t,o]=S.useState(0),n=S.useRef(void 0),l=S.useRef(null),{targetDocument:s}=at(),c=S.useCallback(()=>{var f;const p=(f=n.current)===null||f===void 0?void 0:f.getBoundingClientRect().width;o(p||0)},[]),u=S.useCallback(f=>{if(s&&(!f&&l.current&&n.current&&l.current.unobserve(n.current),n.current=void 0,f?.parentElement)){var p;n.current=f.parentElement,c(),(p=l.current)===null||p===void 0||p.observe(n.current)}},[s,c]);return S.useEffect(()=>{if(l.current=C2(s,c),!(!n.current||!l.current))return l.current.observe(n.current),()=>{var f;(f=l.current)===null||f===void 0||f.disconnect()}},[c,s]),{width:t,measureElementRef:u}}function C2(t,o){var n;return!(t==null||(n=t.defaultView)===null||n===void 0)&&n.ResizeObserver?new t.defaultView.ResizeObserver(o):null}function B2(t){const o=S.useRef(0),n=S.useRef(0),l=S.useRef(void 0),[s,c]=S.useState(!1),{targetDocument:u}=at(),{getColumnWidth:f,setColumnWidth:p}=t,m=S.useCallback(x=>{const{clientX:b}=xf(x),_=b-o.current;n.current+=_,l.current&&p(x,{columnId:l.current,width:n.current}),o.current=b},[p]),[g]=Eb(),v=S.useCallback(x=>{g(()=>m(x))},[g,m]),k=S.useCallback(x=>{sa(x)&&(u?.removeEventListener("mouseup",k),u?.removeEventListener("mousemove",v)),la(x)&&(u?.removeEventListener("touchend",k),u?.removeEventListener("touchmove",v)),c(!1)},[v,u]);return{getOnMouseDown:S.useCallback(x=>b=>{if(n.current=f(x),o.current=xf(b).clientX,l.current=x,sa(b)){if(b.target!==b.currentTarget||b.button!==0)return;u?.addEventListener("mouseup",k),u?.addEventListener("mousemove",v),c(!0)}la(b)&&(u?.addEventListener("touchend",k),u?.addEventListener("touchmove",v),c(!0))},[f,v,k,u]),dragging:s}}const N2=150,T2=100;function Ja(t,o=[],n={}){let l=!1;const s=new Map(o.map(u=>[u.columnId,u])),c=t.map(u=>{const f=s.get(u.columnId);if(f){var p;const{idealWidth:x=f.idealWidth,minWidth:b=f.minWidth,padding:_=f.padding}=(p=n[u.columnId])!==null&&p!==void 0?p:{};return x!==f.idealWidth||b!==f.minWidth||_!==f.padding?(l=!0,{...f,idealWidth:x,width:x,minWidth:b,padding:_}):f}var m;const{defaultWidth:g,idealWidth:v=N2,minWidth:k=T2,padding:y}=(m=n[u.columnId])!==null&&m!==void 0?m:{};return l=!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||l){const u=c.find(f=>f.width>f.idealWidth);u&&(u.width=u.idealWidth),l=!0}return l?c:o}function An(t,o){return t.find(n=>n.columnId===o)}function Za(t,o){return t[o]}function z2(t){return t.reduce((o,n)=>o+n.width+n.padding,0)}function E2(t,o){const n=An(t,o);var l;return(l=n?.width)!==null&&l!==void 0?l:0}function Mn(t,o,n,l){const s=An(t,o);if(!s||s?.[n]===l)return t;const c={...s,[n]:l};return t.reduce((f,p)=>p.columnId===c.columnId?[...f,c]:[...f,p],[])}function gl(t,o){let n=t;const l=z2(n);if(l<o){let s=o-l,c=0;for(;c<n.length&&s>0;){const u=Za(n,c);if(!u)break;const f=Math.min(u.idealWidth-u.width,s);if(n=Mn(n,u.columnId,"width",u.width+f),s-=f,c===n.length-1&&s!==0){const p=Za(n,c);p&&(n=Mn(n,p.columnId,"width",p.width+s))}c++}}else if(l>=o){let s=l-o,c=n.length-1;for(;c>=0&&s>0;){const u=Za(n,c);if(!u){c--;continue}if(u.width>u.minWidth){const f=Math.min(u.width-u.minWidth,s);s-=f,n=Mn(n,u.columnId,"width",u.width-f)}c--}}return n}const P2=t=>(o,n)=>{switch(n.type){case"CONTAINER_WIDTH_UPDATED":return{...o,containerWidth:n.containerWidth,columnWidthState:t?gl(o.columnWidthState,n.containerWidth):o.columnWidthState};case"COLUMNS_UPDATED":const l=Ja(n.columns,o.columnWidthState,o.columnSizingOptions);return{...o,columns:n.columns,columnWidthState:t?gl(l,o.containerWidth):l};case"COLUMN_SIZING_OPTIONS_UPDATED":const s=Ja(o.columns,o.columnWidthState,n.columnSizingOptions);return{...o,columnSizingOptions:n.columnSizingOptions,columnWidthState:t?gl(s,o.containerWidth):s};case"SET_COLUMN_WIDTH":const{columnId:c,width:u}=n,{containerWidth:f}=o,p=An(o.columnWidthState,c);let m=[...o.columnWidthState];return p?(m=Mn(m,c,"width",u),m=Mn(m,c,"idealWidth",u),t&&(m=gl(m,f)),{...o,columnWidthState:m}):o}};function R2(t,o,n={}){const{onColumnResize:l,columnSizingOptions:s,autoFitColumns:c=!0}=n,u=S.useMemo(()=>P2(c),[c]),[f,p]=S.useReducer(u,{columns:t,containerWidth:0,columnWidthState:Ja(t,void 0,s),columnSizingOptions:s});Wt(()=>{p({type:"CONTAINER_WIDTH_UPDATED",containerWidth:o})},[o]),Wt(()=>{p({type:"COLUMNS_UPDATED",columns:t})},[t]),Wt(()=>{p({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:s})},[s]);const m=ke((g,v)=>{let{width:k}=v;const{columnId:y}=v,x=An(f.columnWidthState,y);x&&(k=Math.max(x.minWidth||0,k),l&&l(g,{columnId:y,width:k}),p({type:"SET_COLUMN_WIDTH",columnId:y,width:k}))});return{getColumnById:S.useCallback(g=>An(f.columnWidthState,g),[f.columnWidthState]),getColumns:S.useCallback(()=>f.columnWidthState,[f.columnWidthState]),getColumnWidth:S.useCallback(g=>E2(f.columnWidthState,g),[f.columnWidthState]),setColumnWidth:m}}const vl=20,F2=Sk,Qh=1/4;function I2(t){const[o,n]=S.useState(),l=S.useRef(void 0),{findPrevFocusable:s}=_a(),c=S.useRef(t);S.useEffect(()=>{c.current=t},[t]);const[u]=S.useState(()=>new Map),f=ke(y=>{if(!o)return;const x=c.current.getColumnWidth(o),b=y.getModifierState(F2),_=()=>{y.preventDefault(),y.stopPropagation()};switch(y.key){case Ip:_(),c.current.setColumnWidth(y.nativeEvent,{columnId:o,width:x-(b?vl*Qh:vl)});return;case Dp:_(),c.current.setColumnWidth(y.nativeEvent,{columnId:o,width:x+(b?vl*Qh:vl)});return;case vr:case Wo:case Ap:var B,z;_(),(z=u.get(o))===null||z===void 0||(B=z.current)===null||B===void 0||B.blur();break}}),p=S.useCallback(y=>{var x,b;n(y),(x=l.current)===null||x===void 0||x.call(l,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=l.current)===null||y===void 0||y.call(l,o,!1);const b=(x=u.get(o))===null||x===void 0?void 0:x.current;if(b){var _;(_=s(b))===null||_===void 0||_.focus(),b.removeAttribute("tabindex")}n(void 0)},[o,s,u]),g=(y,x)=>{l.current=x,o?y&&o!==y?(p(y),n(y)):m():p(y)},v=S.useCallback(y=>{const x=u.get(y)||S.createRef();return u.set(y,x),x},[u]),k=ka({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:g,columnId:o,getKeyboardResizingProps:S.useCallback((y,x)=>({onKeyDown:f,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,f,k])}}const Yh={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function D2(t){"use no memo";return o=>j2(o,{autoFitColumns:!0,...t})}function Jh(t,o){const n=t.width;return{width:n,minWidth:n,maxWidth:n,...o?{pointerEvents:"none"}:{}}}function j2(t,o={}){const{columns:n}=t,{width:l,measureElementRef:s}=_2(),c=R2(n,l+(o?.containerWidthOffset||0),o),u=B2(c),{toggleInteractiveMode:f,getKeyboardResizingProps:p}=I2(c),{autoFitColumns:m}=o,g=S.useCallback((_,B)=>z=>{z.preventDefault(),z.nativeEvent.stopPropagation(),f(_,B)},[f]),{getColumnById:v,setColumnWidth:k,getColumns:y}=c,{getOnMouseDown:x,dragging:b}=u;return{...t,tableRef:s,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 z=v(_),T=((B=n[n.length-1])===null||B===void 0?void 0:B.columnId)===_&&m?null:S.createElement(Xh,{onMouseDown:x(_),onTouchStart:x(_),...p(_,z?.width||0)});return z?{style:Jh(z,b),aside:T}:{}},[v,n,b,p,x,m]),getTableCellProps:S.useCallback(_=>{const B=v(_);return B?{style:Jh(B)}:{}},[v]),enableKeyboardMode:g}}}const O2=t=>t,A2={selection:Gh,sort:Kh,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:Yh,tableRef:S.createRef()};function M2(t,o=[]){const{items:n,getRowId:l,columns:s}=t,c=S.useCallback((f=O2)=>n.map((p,m)=>{var g;return f({item:p,rowId:(g=l?.(p))!==null&&g!==void 0?g:m})}),[n,l]),u={getRowId:l,items:n,columns:s,getRows:c,selection:Gh,sort:Kh,columnSizing_unstable:Yh,tableRef:S.createRef()};return o.reduce((f,p)=>p(f),u)}const L2=()=>0,q2=()=>null,H2=()=>null;function wo(t){const{columnId:o,renderCell:n=q2,renderHeaderCell:l=H2,compare:s=L2}=t;return{columnId:o,renderCell:n,renderHeaderCell:l,compare:s}}function W2(){const t=xa({axis:"horizontal"}),o=xa({axis:"grid"}),n=Sa({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:l}=_a(),{targetDocument:s}=at(),c=yw(t,n);return{onTableKeyDown:S.useCallback(f=>{if(!s)return;let p=s.activeElement;if(!p||!f.currentTarget.contains(p))return;const m=p.getAttribute("role");if(f.key===Dp&&m==="row"&&Nr(p)){var g;(g=l(p))===null||g===void 0||g.focus()}if(m==="row")return;const v=(()=>{let k=Nr(p)?p:null;for(;k;){const y=k.getAttribute("role");if(y==="cell"||y==="gridcell")return!0;k=k.parentElement}return!1})();if(f.key===Ip&&v){p.dispatchEvent(new Of({action:Ki.Escape}));return}(f.key===Pa||f.key===Zi)&&v&&(p.dispatchEvent(new Of({action:Ki.Escape})),p=s.activeElement,p&&p.dispatchEvent(new Sy({key:$e[f.key]})))},[s,l]),tableTabsterAttribute:o,tableRowTabsterAttribute:c}}const Zh=S.createContext(void 0),$2={size:"medium",noNativeElements:!1,sortable:!1},V2=Zh.Provider,Xr=()=>{var t;return(t=S.useContext(Zh))!==null&&t!==void 0?t:$2},em=(t,o)=>{const{noNativeElements:n,size:l}=Xr();var s;const c=((s=t.as)!==null&&s!==void 0?s:n)?"div":"td";return{components:{root:c},root:ze(yt(c,{ref:o,role:c==="div"?"cell":void 0,...t}),{elementType:c}),noNativeElements:n,size:l}},U2=t=>ce(t.root,{}),G2={root:"fui-TableCell"},K2=ae({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;}"]}),X2=ae({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;}"]}),Q2=ae({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}]]}),Y2=t=>{"use no memo";const o=Q2(),n={table:K2(),flex:X2()};return t.root.className=Z(G2.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},tm=S.createContext(void 0),J2="",Z2=tm.Provider,ec=()=>S.useContext(tm)===J2,eC=(t,o)=>{const{noNativeElements:n,size:l}=Xr();var s;const c=((s=t.as)!==null&&s!==void 0?s:n)?"div":"tr",u=Ca(),f=Rn(),p=ec();var m;return{components:{root:c},root:ze(yt(c,{ref:pt(o,u,f),role:c==="div"?"row":void 0,...t}),{elementType:c}),size:l,noNativeElements:n,appearance:(m=t.appearance)!==null&&m!==void 0?m:"none",isHeaderRow:p}},tc={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},tC=ae({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),rC=ae({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;}"]}),oC=ae({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;}"]}),nC=t=>{"use no memo";const o=oC(),n={table:tC(),flex:rC()};return t.root.className=Z(tc.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=Z(tc.checkboxIndicator,t.checkboxIndicator.className)),t.radioIndicator&&(t.radioIndicator.className=Z(tc.radioIndicator,o.radioIndicator,t.radioIndicator.className)),t},iC={root:"fui-TableRow"},lC=ae({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),sC=ae({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),aC=ae({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)"}]]}),cC=t=>{"use no memo";const o=aC(),n={table:lC(),flex:sC()};return t.root.className=Z(iC.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},uC=(t,o)=>{const{noNativeElements:n}=Xr();var l;const s=((l=t.as)!==null&&l!==void 0?l:n)?"div":"tbody";return{components:{root:s},root:ze(yt(s,{ref:o,role:s==="div"?"rowgroup":void 0,...t}),{elementType:s}),noNativeElements:n}},dC=ae({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),fC=ae({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),pC="fui-TableBody",hC=t=>{"use no memo";const o={table:dC(),flex:fC()};return t.root.className=Z(pC,t.noNativeElements?o.flex.root:o.table.root,t.root.className),t},mC=(t,o)=>{var n;const l=((n=t.as)!==null&&n!==void 0?n:t.noNativeElements)?"div":"table";var s,c,u;return{components:{root:l},root:ze(yt(l,{ref:o,role:l==="div"?"table":void 0,...t}),{elementType:l}),size:(s=t.size)!==null&&s!==void 0?s:"medium",noNativeElements:(c=t.noNativeElements)!==null&&c!==void 0?c:!1,sortable:(u=t.sortable)!==null&&u!==void 0?u:!1}},gC=(t,o)=>ce(V2,{value:o.table,children:ce(t.root,{})}),vC="fui-Table",bC=ae({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),yC=ae({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),wC=ae({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),kC=t=>{"use no memo";const o=wC(),n={table:bC(),flex:yC()};return t.root.className=Z(vC,o.root,t.noNativeElements?n.flex.root:n.table.root,t.root.className),t};function xC(t){const{size:o,noNativeElements:n,sortable:l}=t;return{table:S.useMemo(()=>({noNativeElements:n,size:o,sortable:l}),[n,o,l])}}const SC=(t,o)=>{const{noNativeElements:n}=Xr();var l;const s=((l=t.as)!==null&&l!==void 0?l:n)?"div":"thead";return{components:{root:s},root:ze(yt(s,{ref:o,role:s==="div"?"rowgroup":void 0,...t}),{elementType:s}),noNativeElements:n}},_C=t=>ce(Z2,{value:"",children:ce(t.root,{})}),CC="fui-TableHeader",BC=ae({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),NC=ae({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),TC=t=>{"use no memo";const o={table:NC(),flex:BC()};return t.root.className=Z(CC,t.noNativeElements?o.flex.root:o.table.root,t.root.className),t},zC={ascending:S.createElement(jk,{fontSize:12}),descending:S.createElement(Dk,{fontSize:12})},EC=(t,o)=>{const{noNativeElements:n,sortable:l}=Xr(),{sortable:s=l}=t;var c;const u=((c=t.as)!==null&&c!==void 0?c:n)?"div":"th",f=ze(t.button,{elementType:"div",defaultProps:{as:"div"}}),p=Mp(f.as,f);var m;return{components:{root:u,button:"div",sortIcon:"span",aside:"span"},root:ze(yt(u,{ref:pt(o,Rn()),role:u==="div"?"columnheader":void 0,"aria-sort":s?(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?zC[t.sortDirection]:void 0},elementType:"span"}),button:s?p:f,sortable:s,noNativeElements:n}},PC=t=>wt(t.root,{children:[wt(t.button,{children:[t.root.children,t.sortIcon&&ce(t.sortIcon,{})]}),t.aside&&ce(t.aside,{})]}),bl={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},RC=ae({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),FC=ae({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;}"]}),IC=ae({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);}"]}),DC=t=>{"use no memo";const o=IC(),n={table:RC(),flex:FC()};return t.root.className=Z(bl.root,o.root,t.sortable&&o.rootInteractive,t.noNativeElements?n.flex.root:n.table.root,t.root.className),t.button.className=Z(bl.button,o.resetButton,o.button,t.sortable&&o.sortable,t.button.className),t.sortIcon&&(t.sortIcon.className=Z(bl.sortIcon,o.sortIcon,t.sortIcon.className)),t.aside&&(t.aside.className=Z(bl.aside,o.resizeHandle,t.aside.className)),t},rm=S.createContext(void 0),jC="",om=()=>{var t;return(t=S.useContext(rm))!==null&&t!==void 0?t:jC},OC=rm.Provider,nm=S.createContext(void 0),AC="",im=()=>{var t;return(t=S.useContext(nm))!==null&&t!==void 0?t:AC},MC=nm.Provider,LC=(t,o)=>{const n=em(t,pt(o,Rn())),{noNativeElements:l}=Xr(),{type:s="checkbox",checked:c=!1,subtle:u=!1,hidden:f=!1,invisible:p=!1}=t;return{...n,components:{...n.components,checkboxIndicator:Ua,radioIndicator:Xa},checkboxIndicator:Ge(t.checkboxIndicator,{renderByDefault:s==="checkbox",defaultProps:{checked:t.checked},elementType:Ua}),radioIndicator:Ge(t.radioIndicator,{renderByDefault:s==="radio",defaultProps:{checked:!!c,input:{name:pr("table-selection-radio")}},elementType:Xa}),type:s,checked:c,noNativeElements:l,subtle:u,hidden:p||f}},qC=t=>wt(t.root,{children:[t.type==="checkbox"&&t.checkboxIndicator&&ce(t.checkboxIndicator,{}),t.type==="radio"&&t.radioIndicator&&ce(t.radioIndicator,{})]}),lm=Ea(void 0),sm={...A2,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},HC=lm.Provider,qe=t=>Rp(lm,(o=sm)=>t(o)),WC=(t,o)=>{const{focusMode:n="cell"}=t,l=om(),s=qe(p=>(p.focusMode==="cell"||p.focusMode==="composite")&&n!=="none"),c=qe(p=>p.resizableColumns),u=qe(p=>p.columnSizing_unstable.getTableCellProps),f=Sa({tabBehavior:"limited-trap-focus"});return em({as:"div",role:"gridcell",...n==="group"&&f,tabIndex:s?0:void 0,...c?u(l):{},...t},o)},$C=t=>U2(t),VC={root:"fui-DataGridCell"},UC=t=>{"use no memo";return Y2(t),t.root.className=Z(VC.root,t.root.className),t},am=S.forwardRef((t,o)=>{const n=WC(t,o);return UC(n),tt("useDataGridCellStyles_unstable")(n),$C(n)});am.displayName="DataGridCell";const GC=(t,o)=>{const n=ec(),l=im(),s=qe(m=>m.subtleSelection),c=qe(m=>n&&m.selection.selectionMode==="multiselect"?m.selection.allRowsSelected?!0:m.selection.someRowsSelected?"mixed":!1:m.selection.isRowSelected(l)),u=qe(m=>m.selection.toggleAllRows),f=qe(m=>m.selection.selectionMode==="multiselect"?"checkbox":"radio"),p=ke(m=>{var g;n&&u(m),(g=t.onClick)===null||g===void 0||g.call(t,m)});return LC({as:"div",role:"gridcell",checked:c,type:f,invisible:n&&f==="radio","aria-selected":c==="mixed"?void 0:c,subtle:s,radioIndicator:n?null:void 0,...t,onClick:p},o)},KC=t=>qC(t),rc={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},XC=t=>{"use no memo";return nC(t),t.root.className=Z(rc.root,t.root.className),t.checkboxIndicator&&(t.checkboxIndicator.className=Z(rc.checkboxIndicator,t.checkboxIndicator.className)),t.radioIndicator&&(t.radioIndicator.className=Z(rc.radioIndicator,t.radioIndicator.className)),t},oc=S.forwardRef((t,o)=>{const n=GC(t,o);return XC(n),tt("useDataGridSelectionCellStyles_unstable")(n),KC(n)});oc.displayName="DataGridSelectionCell";const QC=(t,o)=>{const n=im(),l=ec(),s=qe(b=>b.columns),c=qe(b=>b.selectableRows),u=qe(b=>b.selection.isRowSelected(n)),f=qe(b=>b.focusMode),p=qe(b=>b.compositeRowTabsterAttribute),m=f==="row_unstable"||f==="composite",g=qe(b=>!l&&c&&b.selection.isRowSelected(n)?b.selectionAppearance:"none"),v=qe(b=>b.selection.toggleRow),k=ke(b=>{var _;c&&!l&&v(b,n),(_=t.onClick)===null||_===void 0||_.call(t,b)}),y=ke(b=>{var _;c&&!l&&b.key===vr&&!$b(b.target)&&(b.preventDefault(),v(b,n)),(_=t.onKeyDown)===null||_===void 0||_.call(t,b)}),x=eC({appearance:g,"aria-selected":c?u:void 0,tabIndex:m&&!l?0:void 0,...f==="composite"&&!l&&p,...t,onClick:k,onKeyDown:y,children:null,as:"div"},o);return{...x,components:{...x.components,selectionCell:oc},selectionCell:Ge(t.selectionCell,{renderByDefault:c,elementType:oc}),renderCell:t.children,columnDefs:s,dataGridContextValue:YC()}};function YC(){const t=S.useRef(sm);return qe(o=>(t.current=o,null)),t.current}const JC=t=>wt(t.root,{children:[t.selectionCell&&ce(t.selectionCell,{}),t.columnDefs.map(o=>ce(OC,{value:o.columnId,children:t.renderCell(o,t.dataGridContextValue)},o.columnId))]}),cm={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},ZC=ae({subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),e5=t=>{"use no memo";const o=qe(l=>l.subtleSelection),n=ZC();return cC(t),t.root.className=Z(cm.root,t.root.className,o&&n.subtleSelection),t.selectionCell&&(t.selectionCell.className=Z(cm.selectionCell,t.selectionCell.className)),t},nc=S.forwardRef((t,o)=>{const n=QC(t,o);return e5(n),tt("useDataGridRowStyles_unstable")(n),JC(n)});nc.displayName="DataGridRow";const t5=(t,o)=>{const{sortable:n}=Xr(),l=qe(f=>f.getRows),s=qe(f=>f.sort.sort),c=n?s(l()):l();return{...uC({...t,children:null,as:"div"},o),rows:c,renderRow:t.children}},r5=t=>ce(t.root,{children:t.rows.map(o=>ce(MC,{value:o.rowId,children:t.renderRow(o)},o.rowId))}),o5={root:"fui-DataGridBody"},n5=t=>{"use no memo";return hC(t),t.root.className=Z(o5.root,t.root.className),t},um=S.forwardRef((t,o)=>{const n=t5(t,o);return n5(n),tt("useDataGridBodyStyles_unstable")(n),r5(n)});um.displayName="DataGridBody";const i5=(t,o)=>{const{items:n,columns:l,focusMode:s="cell",selectionMode:c,onSortChange:u,onSelectionChange:f,defaultSortState:p,sortState:m,selectedItems:g,defaultSelectedItems:v,subtleSelection:k=!1,selectionAppearance:y="brand",getRowId:x,resizableColumns:b,columnSizingOptions:_,onColumnResize:B,containerWidthOffset:z,resizableColumnsOptions:N={}}=t,T=z??(c?-44:0),R=xa({axis:"grid"}),{onTableKeyDown:D,tableTabsterAttribute:A,tableRowTabsterAttribute:q}=W2();var Q;const ee=M2({items:n,columns:l,getRowId:x},[v2({defaultSortState:p,sortState:m,onSortChange:u}),m2({defaultSelectedItems:v,selectedItems:g,onSelectionChange:f,selectionMode:c??"multiselect"}),D2({onColumnResize:B,columnSizingOptions:_,containerWidthOffset:T,autoFitColumns:(Q=N.autoFitColumns)!==null&&Q!==void 0?Q:!0})]),ve=S.useRef(null),{findFirstFocusable:he,findLastFocusable:H}=_a(),re=ke(be=>{var pe;if((pe=t.onKeyDown)===null||pe===void 0||pe.call(t,be),s==="composite"&&D(be),!(!ve.current||!be.ctrlKey||be.defaultPrevented)){if(be.key===Op){const Y=ve.current.querySelector('[role="row"]');if(Y){var U;(U=he(Y))===null||U===void 0||U.focus()}}if(be.key===jp){const Y=ve.current.querySelectorAll('[role="row"]');if(Y.length){var te;const F=Y.item(Y.length-1);(te=H(F))===null||te===void 0||te.focus()}}}});return{...mC({role:"grid",as:"div",noNativeElements:!0,...s==="cell"&&R,...s==="composite"&&A,...t,onKeyDown:re,...b?ee.columnSizing_unstable.getTableProps(t):{}},pt(o,ee.tableRef,ve)),focusMode:s,tableState:ee,selectableRows:!!c,subtleSelection:k,selectionAppearance:y,resizableColumns:b,compositeRowTabsterAttribute:q}},l5=(t,o)=>S.createElement(HC,{value:o.dataGrid},gC(t,o)),s5={root:"fui-DataGrid"},a5=t=>{"use no memo";return kC(t),t.root.className=Z(s5.root,t.root.className),t};function c5(t){const o=xC(t),{tableState:n,focusMode:l,selectableRows:s,subtleSelection:c,selectionAppearance:u,resizableColumns:f,compositeRowTabsterAttribute:p}=t;return{...o,dataGrid:{...n,focusMode:l,selectableRows:s,subtleSelection:c,selectionAppearance:u,resizableColumns:f,compositeRowTabsterAttribute:p}}}const dm=S.forwardRef((t,o)=>{const n=i5(t,o);return a5(n),tt("useDataGridStyles_unstable")(n),l5(n,c5(n))});dm.displayName="DataGrid";const u5=(t,o)=>SC({...t,as:"div"},o),d5=t=>_C(t),f5={root:"fui-DataGridHeader"},p5=t=>{"use no memo";return TC(t),t.root.className=Z(f5.root,t.root.className),t},fm=S.forwardRef((t,o)=>{const n=u5(t,o);return p5(n),tt("useDataGridHeaderStyles_unstable")(n),d5(n)});fm.displayName="DataGridHeader";function h5(t){return t.compare.length>0}const m5=(t,o)=>{const n=om(),{sortable:l}=Xr(),s=qe(k=>k.sort.toggleColumnSort),c=qe(k=>{const y=!!k.columns.find(x=>x.columnId===n&&h5(x));return l?y:!1}),u=qe(k=>c?k.sort.getSortDirection(n):void 0),f=qe(k=>k.resizableColumns),p=qe(k=>k.columnSizing_unstable.getTableHeaderCellProps),{focusMode:m=c?"none":"cell"}=t,g=Sa({tabBehavior:"limited-trap-focus"}),v=ke(k=>{var y;c&&s(k,n),(y=t.onClick)===null||y===void 0||y.call(t,k)});return EC({sortable:c,sortDirection:u,as:"div",tabIndex:m!=="none"?0:void 0,...m==="group"&&g,...f?p(n):{},...t,onClick:v},o)},g5=t=>PC(t),yl={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},v5=t=>{"use no memo";return DC(t),t.root.className=Z(yl.root,t.root.className),t.button&&(t.button.className=Z(yl.button,t.button.className)),t.sortIcon&&(t.sortIcon.className=Z(yl.sortIcon,t.sortIcon.className)),t.aside&&(t.aside.className=Z(yl.aside,t.aside.className)),t},pm=S.forwardRef((t,o)=>{const n=m5(t,o);return v5(n),tt("useDataGridHeaderCellStyles_unstable")(n),g5(n)});pm.displayName="DataGridHeaderCell";const b5=(t,o)=>{const{size:n="medium",disabled:l=!1,root:s,contentBefore:c,dismiss:u,contentAfter:f,value:p,defaultValue:m,...g}=t,v=S.useRef(null),k=S.useRef(null),[y,x]=Hr({state:p,defaultState:m,initialState:""}),[b,_]=S.useState(!1),B=S.useCallback(()=>{_(!0)},[_]),z=S.useCallback(A=>{var q;_(!!(!((q=v.current)===null||q===void 0)&&q.contains(A.relatedTarget)))},[_]),N=sf(s),T=ke(A=>{var q,Q;if(af(u)){var ee;(ee=u.onClick)===null||ee===void 0||ee.call(u,A)}const ve="";x(ve),(q=t.onChange)===null||q===void 0||q.call(t,A,{value:ve}),(Q=k.current)===null||Q===void 0||Q.focus()}),R=D_({type:"search",disabled:l,size:n,value:y,root:ze({...N,ref:pt(N?.ref,v),onFocus:Ct(N?.onFocus,B),onBlur:Ct(N?.onBlur,z)},{elementType:"span"}),contentBefore:Ge(c,{renderByDefault:!0,defaultProps:{children:S.createElement(Lk,null)},elementType:"span"}),contentAfter:Ge(f,{renderByDefault:!0,elementType:"span"}),...g,onChange:ke(A=>{var q;const Q=A.target.value;(q=t.onChange)===null||q===void 0||q.call(t,A,{value:Q}),x(Q)})},pt(k,o)),D={...R,components:{...R.components,dismiss:"span"},dismiss:Ge(u,{defaultProps:{children:S.createElement(Gp,null),role:"button","aria-label":"clear",tabIndex:-1},renderByDefault:!0,elementType:"span"}),disabled:l,focused:b,size:n};return D.dismiss&&(D.dismiss.onClick=T),D},y5=t=>wt(t.root,{children:[t.contentBefore&&ce(t.contentBefore,{}),ce(t.input,{}),t.contentAfter&&wt(t.contentAfter,{children:[t.contentAfter.children,t.dismiss&&ce(t.dismiss,{})]})]}),Ln={root:"fui-SearchBox",dismiss:"fui-SearchBox__dismiss",contentAfter:"fui-SearchBox__contentAfter",contentBefore:"fui-SearchBox__contentBefore",input:"fui-SearchBox__input"},w5=ae({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;}"]}),k5=ae({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);}"]}),x5=ae({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}]]}),S5=ft("r1pvzcuu",null,[".r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}",".r1pvzcuu>svg{font-size:20px;}"]),_5=ae({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;}"]}),C5=t=>{"use no memo";const{disabled:o,focused:n,size:l}=t,s=w5(),c=k5(),u=x5(),f=S5(),p=_5();return t.root.className=Z(Ln.root,s[l],!n&&s.unfocusedNoContentAfter,t.root.className),t.input.className=Z(Ln.input,s.input,!n&&c[l],t.input.className),t.dismiss&&(t.dismiss.className=Z(Ln.dismiss,f,o&&p.disabled,p[l],t.dismiss.className)),t.contentBefore&&(t.contentBefore.className=Z(Ln.contentBefore,t.contentBefore.className)),t.contentAfter?t.contentAfter.className=Z(Ln.contentAfter,u.contentAfter,!n&&u.rest,t.contentAfter.className):t.dismiss&&(t.dismiss.className=Z(t.dismiss.className,u.contentAfter)),H_(t),t},hm=S.forwardRef((t,o)=>{const n=b5(t,o);return C5(n),tt("useSearchBoxStyles_unstable")(n),y5(n)});hm.displayName="SearchBox";const B5=t=>{const o=pr("dropdown"),n=pr("search-input"),{pluginAssemblies:l}=t,s=(m,g)=>{t.onFilterChanged(g.optionValue??"")},c=(m,g)=>{t.onTextFilterChanged(g.value)},u=[...l].sort((m,g)=>m.name.localeCompare(g.name)),p=ra({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 ue.jsxs("div",{className:p.root,children:[ue.jsxs("div",{className:p.field,children:[ue.jsx("label",{htmlFor:`${o}-plugin-assembly`,children:"Plugin Assembly"}),ue.jsx(Ah,{id:o,placeholder:"Select an plugin assembly",onOptionSelect:s,className:p.dropdown,children:u.map(m=>ue.jsx(Oh,{value:m.pluginassemblyid,className:p.option,children:`${m.name} (${m.version})`},m.pluginassemblyid))})]}),ue.jsxs("div",{className:p.field,children:[ue.jsx("label",{htmlFor:n,children:"Filter Steps"}),ue.jsx(hm,{id:n,placeholder:"Search assembly steps...",onChange:c,className:p.searchInput})]})]})},ko={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},N5=[wo({columnId:"name",compare:(t,o)=>t.name.localeCompare(o.name),renderHeaderCell:()=>"Name",renderCell:t=>ue.jsx("span",{title:t.name,style:ko,children:t.name})}),wo({columnId:"sdkMessage",compare:(t,o)=>t.sdkMessage.localeCompare(o.sdkMessage),renderHeaderCell:()=>"SDK Message",renderCell:t=>ue.jsx("span",{title:t.sdkMessage,style:ko,children:t.sdkMessage})}),wo({columnId:"mode",compare:(t,o)=>t.mode.localeCompare(o.mode),renderHeaderCell:()=>"Mode",renderCell:t=>ue.jsx("span",{title:t.mode,style:ko,children:t.mode})}),wo({columnId:"stage",compare:(t,o)=>t.stage.localeCompare(o.stage),renderHeaderCell:()=>"Stage",renderCell:t=>ue.jsx("span",{title:t.stage,style:ko,children:t.stage})}),wo({columnId:"rank",compare:(t,o)=>t.rank-o.rank,renderHeaderCell:()=>"Execution Order",renderCell:t=>ue.jsx("span",{title:t.rank.toString(),style:ko,children:t.rank})}),wo({columnId:"eventHandler",compare:(t,o)=>t.eventHandler.localeCompare(o.eventHandler),renderHeaderCell:()=>"EventHandler",renderCell:t=>ue.jsx("span",{title:t.eventHandler,style:ko,children:t.eventHandler})}),wo({columnId:"filteringattributes",compare:(t,o)=>t.filteringattributes.localeCompare(o.name),renderHeaderCell:()=>"Filtering attributes",renderCell:t=>ue.jsx("span",{title:t.filteringattributes,style:ko,children:t.filteringattributes})})],T5=t=>{const[o,n]=Fs.useState({sortColumn:"name",sortDirection:"ascending"}),l=(u,f)=>{n(f)};if(t.items.length===0)return ue.jsx("p",{children:"No assembly steps found."});const s=[...t.items].sort((u,f)=>u.name.localeCompare(f.name)),c={name:{idealWidth:400,minWidth:150},sdkMessage:{idealWidth:150,minWidth:100},mode:{idealWidth:120,minWidth:80},stage:{idealWidth:150,minWidth:100},rank:{idealWidth:120,minWidth:80},eventHandler:{idealWidth:350,minWidth:150},filteringattributes:{idealWidth:200,minWidth:150}};return ue.jsxs(dm,{items:s,columns:N5,sortable:!0,sortState:o,onSortChange:l,getRowId:u=>u.id,resizableColumns:!0,columnSizingOptions:c,children:[ue.jsx(fm,{children:ue.jsx(nc,{children:({renderHeaderCell:u})=>ue.jsx(pm,{children:u()})})}),ue.jsx(um,{children:({item:u,rowId:f})=>ue.jsx(nc,{children:({renderCell:p})=>ue.jsx(am,{children:p(u)})},f)})]})},z5=async(t,o,n)=>{if(!t||t.length===0){et.warning("No plugin assembly steps to export");return}try{const l=mm(t),s=`${o?.name||"plugin"}_assembly_steps.csv`;await window.toolboxAPI.utils.saveFile(s,l),et.success(`Exported ${t.length} plugin assembly steps`),n&&await n("Export Successful",`Exported ${t.length} plugin assembly steps to ${s}`,"success")}catch(l){et.error(`Error exporting data: ${l.message}`),n&&await n("Export Failed",`Error exporting data: ${l.message}`,"error")}},E5=async(t,o)=>{if(!t||t.length===0){et.warning("No plugin assembly steps to copy");return}try{const n=mm(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")}},P5=async(t,o)=>{if(!t||t.length===0){et.warning("No plugin assembly steps to copy");return}try{const n=R5(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 mm(t){const n=[["Name","SDK Message","Mode","Stage","Rank","Event Handler","Filtering Attributes"].join(",")];return t.forEach(l=>{const s=[`"${l.name.replace(/"/g,'""')}"`,`"${l.sdkMessage.replace(/"/g,'""')}"`,`"${l.mode.replace(/"/g,'""')}"`,`"${l.stage.replace(/"/g,'""')}"`,`"${l.rank}"`,`"${l.eventHandler.replace(/"/g,'""')}"`,`"${l.filteringattributes.replace(/"/g,'""')}"`];n.push(s.join(","))}),n.join(`
|
|
10
|
+
`)}function R5(t){const o=["Name","SDK Message","Mode","Stage","Rank","Event Handler","Filtering Attributes"];let n=`| ${o.join(" | ")} |
|
|
11
|
+
`;return n+=`| ${o.map(()=>"---").join(" | ")} |
|
|
12
|
+
`,t.forEach(l=>{const s=[l.name.replace(/\|/g,"\\|"),l.sdkMessage.replace(/\|/g,"\\|"),l.mode.replace(/\|/g,"\\|"),l.stage.replace(/\|/g,"\\|"),l.rank.toString(),l.eventHandler.replace(/\|/g,"\\|"),l.filteringattributes.replace(/\|/g,"\\|")];n+=`| ${s.join(" | ")} |
|
|
13
|
+
`}),n}const F5=({connection:t})=>{const[o,n]=S.useState([]),[l,s]=S.useState([]),[c,u]=S.useState(void 0),[f,p]=S.useState(""),[m,g]=S.useState(!1),[v,k]=S.useState(!1),x=ra({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"}})();S.useEffect(()=>{(async()=>{t&&B()})()},[t]),S.useEffect(()=>{_()},[c]);const b=S.useCallback(async(D,A,q)=>{try{await window.toolboxAPI.utils.showNotification({title:D,body:A,type:q,duration:3e3})}catch(Q){console.error("Error showing notification:",Q)}},[]),_=S.useCallback(async()=>{try{if(!c){s([]),g(!1);return}g(!0);const D=await C0(c.pluginassemblyid);s(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 _0();n(D),et.info(`Fetched ${D.length} plugins`)}catch(D){et.error(`Error querying sdk-steps: ${D.message}`)}finally{k(!1)}},[t,b]),z=S.useCallback(async()=>{await z5(l,c,b)},[l,c,b]),N=Fs.useMemo(()=>{if(!f)return l;const D=f.toLowerCase();return l.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))},[l,f]),T=S.useCallback(async()=>{await E5(N,b)},[N,b]),R=S.useCallback(async()=>{await P5(N,b)},[N,b]);return ue.jsxs(ue.Fragment,{children:[v?ue.jsx("div",{className:x.loadingContainer,children:ue.jsx(Qa,{label:"Loading plugin assemblies..."})}):ue.jsx("div",{className:"card",children:ue.jsxs("div",{className:x.filterContainer,children:[ue.jsx(B5,{pluginAssemblies:o,onFilterChanged:D=>{et.info(`Filter changed to: ${D}`);const A=o.find(q=>q.pluginassemblyid===D);u(A)},onTextFilterChanged:D=>{p(D)}}),ue.jsxs("div",{className:x.buttonGroup,children:[ue.jsx(cl,{appearance:"secondary",icon:ue.jsx(Wk,{}),onClick:T,disabled:!c||N.length===0,children:"Copy CSV"}),ue.jsx(cl,{appearance:"secondary",icon:ue.jsx($k,{}),onClick:R,disabled:!c||N.length===0,children:"Copy Markdown"}),ue.jsx(cl,{appearance:"primary",icon:ue.jsx(qk,{}),onClick:z,disabled:!c||l.length===0,children:"Export"})]})]})}),ue.jsx(Lh,{}),m?ue.jsx("div",{className:x.loadingContainer,children:ue.jsx(Qa,{label:"Loading plugin assembly steps..."})}):l.length>0&&ue.jsx("div",{className:"card",children:ue.jsx(T5,{items:N})})]})};function I5(){const[t,o]=S.useState(null),[n,l]=S.useState(!0),s=S.useCallback(async()=>{try{const c=await window.toolboxAPI.connections.getActiveConnection();o(c)}catch(c){console.error("Error refreshing connection:",c)}finally{l(!1)}},[]);return S.useEffect(()=>{s()},[s]),{connection:t,isLoading:n,refreshConnection:s}}function D5(t){S.useEffect(()=>{const o=(n,l)=>{console.log(`Toolbox event received: ${l.event}`,l.data),t(l.event,l.data)};return window.toolboxAPI.events.on(o),()=>{}},[t])}const j5=""+new URL("plugin-documentation_small-0KTcZSnt.png",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href,O5=ra({root:{display:"flex",flexDirection:"column",backgroundColor:mr.colorNeutralBackground1},header:{padding:mr.spacingVerticalL,paddingBottom:mr.spacingVerticalS,borderBottom:`1px solid ${mr.colorNeutralStroke1}`,display:"flex",flexDirection:"column",gap:mr.spacingVerticalXXS},headerTitle:{display:"flex",alignItems:"center",gap:mr.spacingHorizontalM},headerIcon:{height:"50px",objectFit:"contain"},subtitle:{color:mr.colorNeutralForeground3,fontSize:mr.fontSizeBase300},content:{flex:1,overflow:"auto",padding:mr.spacingVerticalL,display:"flex",flexDirection:"column",gap:mr.spacingVerticalL}});function A5(){const{connection:t,refreshConnection:o}=I5(),[n,l]=S.useState(Tp),s=O5(),c=S.useCallback((f,p)=>{switch(console.log(`Received event: ${f}`),f){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 f=await window.toolboxAPI.utils.getCurrentTheme();l(f==="dark"?Tp:sk),et.info(`Theme updated:${f}`)}return D5(c),S.useEffect(()=>{(async()=>{await u(),et.info("Initialized")})()},[]),ue.jsxs(Ep,{theme:n,className:s.root,children:[ue.jsx("div",{className:s.header,children:ue.jsxs("div",{className:s.headerTitle,children:[ue.jsx("img",{src:j5,alt:"Plugin Documentation Generator Icon",className:s.headerIcon}),ue.jsx(h2,{children:"Plugin Documentation Generator"}),ue.jsx(Uh,{className:s.subtitle,children:"Your tool to generate plugin & pluginstep documentation"})]})}),ue.jsx("div",{className:s.content,children:ue.jsx(F5,{connection:t})})]})}const qn=document.getElementById("root");qn&&!qn.hasAttribute("data-reactroot-initialized")?(qn.setAttribute("data-reactroot-initialized","true"),b0.createRoot(qn).render(ue.jsx(S.StrictMode,{children:ue.jsx(A5,{})}))):qn||console.error('Root element not found. Make sure the HTML contains <div id="root"></div>')})();
|