@cyco77/pptb-fast-record-counter 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ (function(){"use strict";var Zu=document.createElement("style");Zu.textContent=`*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.6;min-height:100vh}#root{height:100vh}[role=grid] [role=rowgroup]:first-child{position:sticky;top:0;z-index:10;background-color:var(--colorNeutralBackground1, #ffffff)}
2
+ /*$vite$:1*/`,document.head.appendChild(Zu);function ed(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 td(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Rs={exports:{}},kn={},Fs={exports:{}},we={};var rd;function s0(){if(rd)return we;rd=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 w(F){return F===null||typeof F!="object"?null:(F=v&&F[v]||F["@@iterator"],typeof F=="function"?F:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,y={};function S(F,L,le){this.props=F,this.context=L,this.refs=y,this.updater=le||b}S.prototype.isReactComponent={},S.prototype.setState=function(F,L){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,L,"setState")},S.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function B(){}B.prototype=S.prototype;function E(F,L,le){this.props=F,this.context=L,this.refs=y,this.updater=le||b}var T=E.prototype=new B;T.constructor=E,x(T,S.prototype),T.isPureReactComponent=!0;var N=Array.isArray,R=Object.prototype.hasOwnProperty,A={current:null},D={key:!0,ref:!0,__self:!0,__source:!0};function M(F,L,le){var ge,Ce={},Be=null,Ie=null;if(L!=null)for(ge in L.ref!==void 0&&(Ie=L.ref),L.key!==void 0&&(Be=""+L.key),L)R.call(L,ge)&&!D.hasOwnProperty(ge)&&(Ce[ge]=L[ge]);var Ee=arguments.length-2;if(Ee===1)Ce.children=le;else if(1<Ee){for(var Le=Array(Ee),jt=0;jt<Ee;jt++)Le[jt]=arguments[jt+2];Ce.children=Le}if(F&&F.defaultProps)for(ge in Ee=F.defaultProps,Ee)Ce[ge]===void 0&&(Ce[ge]=Ee[ge]);return{$$typeof:t,type:F,key:Be,ref:Ie,props:Ce,_owner:A.current}}function U(F,L){return{$$typeof:t,type:F.type,key:L,ref:F.ref,props:F.props,_owner:F._owner}}function Y(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function ae(F){var L={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(le){return L[le]})}var he=/\/+/g;function H(F,L){return typeof F=="object"&&F!==null&&F.key!=null?ae(""+F.key):L.toString(36)}function Z(F,L,le,ge,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=ge===""?"."+H(Ie,0):ge,N(Ce)?(le="",F!=null&&(le=F.replace(he,"$&/")+"/"),Z(Ce,L,le,"",function(jt){return jt})):Ce!=null&&(Y(Ce)&&(Ce=U(Ce,le+(!Ce.key||Ie&&Ie.key===Ce.key?"":(""+Ce.key).replace(he,"$&/")+"/")+F)),L.push(Ce)),1;if(Ie=0,ge=ge===""?".":ge+":",N(F))for(var Ee=0;Ee<F.length;Ee++){Be=F[Ee];var Le=ge+H(Be,Ee);Ie+=Z(Be,L,le,Le,Ce)}else if(Le=w(F),typeof Le=="function")for(F=Le.call(F),Ee=0;!(Be=F.next()).done;)Be=Be.value,Le=ge+H(Be,Ee++),Ie+=Z(Be,L,le,Le,Ce);else if(Be==="object")throw L=String(F),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.");return Ie}function xe(F,L,le){if(F==null)return F;var ge=[],Ce=0;return Z(F,ge,"","",function(Be){return L.call(le,Be,Ce++)}),ge}function be(F){if(F._status===-1){var L=F._result;L=L(),L.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=L)}if(F._status===1)return F._result.default;throw F._result}var me={current:null},G={transition:null},te={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:G,ReactCurrentOwner:A};function J(){throw Error("act(...) is not supported in production builds of React.")}return we.Children={map:xe,forEach:function(F,L,le){xe(F,function(){L.apply(this,arguments)},le)},count:function(F){var L=0;return xe(F,function(){L++}),L},toArray:function(F){return xe(F,function(L){return L})||[]},only:function(F){if(!Y(F))throw Error("React.Children.only expected to receive a single React element child.");return F}},we.Component=S,we.Fragment=n,we.Profiler=s,we.PureComponent=E,we.StrictMode=l,we.Suspense=p,we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=te,we.act=J,we.cloneElement=function(F,L,le){if(F==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+F+".");var ge=x({},F.props),Ce=F.key,Be=F.ref,Ie=F._owner;if(L!=null){if(L.ref!==void 0&&(Be=L.ref,Ie=A.current),L.key!==void 0&&(Ce=""+L.key),F.type&&F.type.defaultProps)var Ee=F.type.defaultProps;for(Le in L)R.call(L,Le)&&!D.hasOwnProperty(Le)&&(ge[Le]=L[Le]===void 0&&Ee!==void 0?Ee[Le]:L[Le])}var Le=arguments.length-2;if(Le===1)ge.children=le;else if(1<Le){Ee=Array(Le);for(var jt=0;jt<Le;jt++)Ee[jt]=arguments[jt+2];ge.children=Ee}return{$$typeof:t,type:F.type,key:Ce,ref:Be,props:ge,_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=M,we.createFactory=function(F){var L=M.bind(null,F);return L.type=F,L},we.createRef=function(){return{current:null}},we.forwardRef=function(F){return{$$typeof:f,render:F}},we.isValidElement=Y,we.lazy=function(F){return{$$typeof:g,_payload:{_status:-1,_result:F},_init:be}},we.memo=function(F,L){return{$$typeof:m,type:F,compare:L===void 0?null:L}},we.startTransition=function(F){var L=G.transition;G.transition={};try{F()}finally{G.transition=L}},we.unstable_act=J,we.useCallback=function(F,L){return me.current.useCallback(F,L)},we.useContext=function(F){return me.current.useContext(F)},we.useDebugValue=function(){},we.useDeferredValue=function(F){return me.current.useDeferredValue(F)},we.useEffect=function(F,L){return me.current.useEffect(F,L)},we.useId=function(){return me.current.useId()},we.useImperativeHandle=function(F,L,le){return me.current.useImperativeHandle(F,L,le)},we.useInsertionEffect=function(F,L){return me.current.useInsertionEffect(F,L)},we.useLayoutEffect=function(F,L){return me.current.useLayoutEffect(F,L)},we.useMemo=function(F,L){return me.current.useMemo(F,L)},we.useReducer=function(F,L,le){return me.current.useReducer(F,L,le)},we.useRef=function(F){return me.current.useRef(F)},we.useState=function(F){return me.current.useState(F)},we.useSyncExternalStore=function(F,L,le){return me.current.useSyncExternalStore(F,L,le)},we.useTransition=function(){return me.current.useTransition()},we.version="18.3.1",we}var od;function Is(){return od||(od=1,Fs.exports=s0()),Fs.exports}var nd;function a0(){if(nd)return kn;nd=1;var t=Is(),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={},w=null,b=null;m!==void 0&&(w=""+m),p.key!==void 0&&(w=""+p.key),p.ref!==void 0&&(b=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:w,ref:b,props:v,_owner:s.current}}return kn.Fragment=n,kn.jsx=u,kn.jsxs=u,kn}var id;function c0(){return id||(id=1,Rs.exports=a0()),Rs.exports}var pe=c0();const u0=ed({__proto__:null,default:td(pe)},[pe]);var _=Is();const Ni=td(_),Ti=ed({__proto__:null,default:Ni},[_]);var Ei={},Ds={exports:{}},xt={},js={exports:{}},Os={};var ld;function d0(){return ld||(ld=1,(function(t){function o(G,te){var J=G.length;G.push(te);e:for(;0<J;){var F=J-1>>>1,L=G[F];if(0<s(L,te))G[F]=te,G[J]=L,J=F;else break e}}function n(G){return G.length===0?null:G[0]}function l(G){if(G.length===0)return null;var te=G[0],J=G.pop();if(J!==te){G[0]=J;e:for(var F=0,L=G.length,le=L>>>1;F<le;){var ge=2*(F+1)-1,Ce=G[ge],Be=ge+1,Ie=G[Be];if(0>s(Ce,J))Be<L&&0>s(Ie,Ce)?(G[F]=Ie,G[Be]=J,F=Be):(G[F]=Ce,G[ge]=J,F=ge);else if(Be<L&&0>s(Ie,J))G[F]=Ie,G[Be]=J,F=Be;else break e}}return te}function s(G,te){var J=G.sortIndex-te.sortIndex;return J!==0?J:G.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,w=3,b=!1,x=!1,y=!1,S=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(G){for(var te=n(m);te!==null;){if(te.callback===null)l(m);else if(te.startTime<=G)l(m),te.sortIndex=te.expirationTime,o(p,te);else break;te=n(m)}}function N(G){if(y=!1,T(G),!x)if(n(p)!==null)x=!0,be(R);else{var te=n(m);te!==null&&me(N,te.startTime-G)}}function R(G,te){x=!1,y&&(y=!1,B(M),M=-1),b=!0;var J=w;try{for(T(te),v=n(p);v!==null&&(!(v.expirationTime>te)||G&&!ae());){var F=v.callback;if(typeof F=="function"){v.callback=null,w=v.priorityLevel;var L=F(v.expirationTime<=te);te=t.unstable_now(),typeof L=="function"?v.callback=L:v===n(p)&&l(p),T(te)}else l(p);v=n(p)}if(v!==null)var le=!0;else{var ge=n(m);ge!==null&&me(N,ge.startTime-te),le=!1}return le}finally{v=null,w=J,b=!1}}var A=!1,D=null,M=-1,U=5,Y=-1;function ae(){return!(t.unstable_now()-Y<U)}function he(){if(D!==null){var G=t.unstable_now();Y=G;var te=!0;try{te=D(!0,G)}finally{te?H():(A=!1,D=null)}}else A=!1}var H;if(typeof E=="function")H=function(){E(he)};else if(typeof MessageChannel<"u"){var Z=new MessageChannel,xe=Z.port2;Z.port1.onmessage=he,H=function(){xe.postMessage(null)}}else H=function(){S(he,0)};function be(G){D=G,A||(A=!0,H())}function me(G,te){M=S(function(){G(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(G){G.callback=null},t.unstable_continueExecution=function(){x||b||(x=!0,be(R))},t.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<G?Math.floor(1e3/G):5},t.unstable_getCurrentPriorityLevel=function(){return w},t.unstable_getFirstCallbackNode=function(){return n(p)},t.unstable_next=function(G){switch(w){case 1:case 2:case 3:var te=3;break;default:te=w}var J=w;w=te;try{return G()}finally{w=J}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(G,te){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var J=w;w=G;try{return te()}finally{w=J}},t.unstable_scheduleCallback=function(G,te,J){var F=t.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?F+J:F):J=F,G){case 1:var L=-1;break;case 2:L=250;break;case 5:L=1073741823;break;case 4:L=1e4;break;default:L=5e3}return L=J+L,G={id:g++,callback:te,priorityLevel:G,startTime:J,expirationTime:L,sortIndex:-1},J>F?(G.sortIndex=J,o(m,G),n(p)===null&&G===n(m)&&(y?(B(M),M=-1):y=!0,me(N,J-F))):(G.sortIndex=L,o(p,G),x||b||(x=!0,be(R))),G},t.unstable_shouldYield=ae,t.unstable_wrapCallback=function(G){var te=w;return function(){var J=w;w=te;try{return G.apply(this,arguments)}finally{w=J}}}})(Os)),Os}var sd;function ad(){return sd||(sd=1,js.exports=d0()),js.exports}var cd;function f0(){if(cd)return xt;cd=1;var t=Is(),o=ad();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 w(e){return p.call(v,e)?!0:p.call(g,e)?!1:m.test(e)?v[e]=!0:(g[e]=!0,!1)}function b(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"||b(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 y(e,r,i,a,d,h,k){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=k}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new y(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];S[r]=new y(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new y(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new y(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){S[e]=new y(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new y(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new y(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new y(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new y(e,5,!1,e.toLowerCase(),null,!1,!1)});var B=/[\-:]([a-z])/g;function E(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var r=e.replace(B,E);S[r]=new y(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(B,E);S[r]=new y(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(B,E);S[r]=new y(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new y(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new y(e,1,!1,e.toLowerCase(),null,!0,!0)});function T(e,r,i,a){var d=S.hasOwnProperty(r)?S[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?w(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 N=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,R=Symbol.for("react.element"),A=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),Y=Symbol.for("react.provider"),ae=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),be=Symbol.for("react.lazy"),me=Symbol.for("react.offscreen"),G=Symbol.iterator;function te(e){return e===null||typeof e!="object"?null:(e=G&&e[G]||e["@@iterator"],typeof e=="function"?e:null)}var J=Object.assign,F;function L(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 ge(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
+ `),k=d.length-1,C=h.length-1;1<=k&&0<=C&&d[k]!==h[C];)C--;for(;1<=k&&0<=C;k--,C--)if(d[k]!==h[C]){if(k!==1||C!==1)do if(k--,C--,0>C||d[k]!==h[C]){var z=`
6
+ `+d[k].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),z}while(1<=k&&0<=C);break}}}finally{le=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?L(e):""}function Ce(e){switch(e.tag){case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return e=ge(e.type,!1),e;case 11:return e=ge(e.type.render,!1),e;case 1:return e=ge(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 D:return"Fragment";case A:return"Portal";case U:return"Profiler";case M:return"StrictMode";case H:return"Suspense";case Z:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ae:return(e.displayName||"Context")+".Consumer";case Y: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===M?"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 Le(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function jt(e){var r=Le(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(k){a=""+k,h.call(this,k)}}),Object.defineProperty(e,r,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(k){a=""+k},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function xl(e){e._valueTracker||(e._valueTracker=jt(e))}function fm(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var i=r.getValue(),a="";return e&&(a=Le(e)?e.checked?"true":"false":e.value),e=a,e!==i?(r.setValue(e),!0):!1}function _l(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 lc(e,r){var i=r.checked;return J({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function pm(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 hm(e,r){r=r.checked,r!=null&&T(e,"checked",r,!1)}function sc(e,r){hm(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")?ac(e,r.type,i):r.hasOwnProperty("defaultValue")&&ac(e,r.type,Ee(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(e.defaultChecked=!!r.defaultChecked)}function mm(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 ac(e,r,i){(r!=="number"||_l(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Hn=Array.isArray;function Xo(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 cc(e,r){if(r.dangerouslySetInnerHTML!=null)throw Error(n(91));return J({},r,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function gm(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 vm(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 bm(e){var r=e.textContent;r===e._wrapperState.initialValue&&r!==""&&r!==null&&(e.value=r)}function ym(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 uc(e,r){return e==null||e==="http://www.w3.org/1999/xhtml"?ym(r):e==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Sl,wm=(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(Sl=Sl||document.createElement("div"),Sl.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Sl.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},xB=["Webkit","ms","Moz","O"];Object.keys($n).forEach(function(e){xB.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),$n[r]=$n[e]})});function km(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 xm(e,r){e=e.style;for(var i in r)if(r.hasOwnProperty(i)){var a=i.indexOf("--")===0,d=km(i,r[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,d):e[i]=d}}var _B=J({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 dc(e,r){if(r){if(_B[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 fc(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 pc=null;function hc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mc=null,Qo=null,Yo=null;function _m(e){if(e=fi(e)){if(typeof mc!="function")throw Error(n(280));var r=e.stateNode;r&&(r=Gl(r),mc(e.stateNode,e.type,r))}}function Sm(e){Qo?Yo?Yo.push(e):Yo=[e]:Qo=e}function Cm(){if(Qo){var e=Qo,r=Yo;if(Yo=Qo=null,_m(e),r)for(e=0;e<r.length;e++)_m(r[e])}}function Bm(e,r){return e(r)}function Nm(){}var gc=!1;function Tm(e,r,i){if(gc)return e(r,i);gc=!0;try{return Bm(e,r,i)}finally{gc=!1,(Qo!==null||Yo!==null)&&(Nm(),Cm())}}function Vn(e,r){var i=e.stateNode;if(i===null)return null;var a=Gl(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 vc=!1;if(f)try{var Un={};Object.defineProperty(Un,"passive",{get:function(){vc=!0}}),window.addEventListener("test",Un,Un),window.removeEventListener("test",Un,Un)}catch{vc=!1}function SB(e,r,i,a,d,h,k,C,z){var O=Array.prototype.slice.call(arguments,3);try{r.apply(i,O)}catch(V){this.onError(V)}}var Gn=!1,Cl=null,Bl=!1,bc=null,CB={onError:function(e){Gn=!0,Cl=e}};function BB(e,r,i,a,d,h,k,C,z){Gn=!1,Cl=null,SB.apply(CB,arguments)}function NB(e,r,i,a,d,h,k,C,z){if(BB.apply(this,arguments),Gn){if(Gn){var O=Cl;Gn=!1,Cl=null}else throw Error(n(198));Bl||(Bl=!0,bc=O)}}function wo(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 Em(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 zm(e){if(wo(e)!==e)throw Error(n(188))}function TB(e){var r=e.alternate;if(!r){if(r=wo(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 zm(d),e;if(h===a)return zm(d),r;h=h.sibling}throw Error(n(188))}if(i.return!==a.return)i=d,a=h;else{for(var k=!1,C=d.child;C;){if(C===i){k=!0,i=d,a=h;break}if(C===a){k=!0,a=d,i=h;break}C=C.sibling}if(!k){for(C=h.child;C;){if(C===i){k=!0,i=h,a=d;break}if(C===a){k=!0,a=h,i=d;break}C=C.sibling}if(!k)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 Pm(e){return e=TB(e),e!==null?Rm(e):null}function Rm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var r=Rm(e);if(r!==null)return r;e=e.sibling}return null}var Fm=o.unstable_scheduleCallback,Im=o.unstable_cancelCallback,EB=o.unstable_shouldYield,zB=o.unstable_requestPaint,Ye=o.unstable_now,PB=o.unstable_getCurrentPriorityLevel,yc=o.unstable_ImmediatePriority,Dm=o.unstable_UserBlockingPriority,Nl=o.unstable_NormalPriority,RB=o.unstable_LowPriority,jm=o.unstable_IdlePriority,Tl=null,wr=null;function FB(e){if(wr&&typeof wr.onCommitFiberRoot=="function")try{wr.onCommitFiberRoot(Tl,e,void 0,(e.current.flags&128)===128)}catch{}}var lr=Math.clz32?Math.clz32:jB,IB=Math.log,DB=Math.LN2;function jB(e){return e>>>=0,e===0?32:31-(IB(e)/DB|0)|0}var El=64,zl=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 Pl(e,r){var i=e.pendingLanes;if(i===0)return 0;var a=0,d=e.suspendedLanes,h=e.pingedLanes,k=i&268435455;if(k!==0){var C=k&~d;C!==0?a=Kn(C):(h&=k,h!==0&&(a=Kn(h)))}else k=i&~d,k!==0?a=Kn(k):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 OB(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 AB(e,r){for(var i=e.suspendedLanes,a=e.pingedLanes,d=e.expirationTimes,h=e.pendingLanes;0<h;){var k=31-lr(h),C=1<<k,z=d[k];z===-1?((C&i)===0||(C&a)!==0)&&(d[k]=OB(C,r)):z<=r&&(e.expiredLanes|=C),h&=~C}}function wc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Om(){var e=El;return El<<=1,(El&4194240)===0&&(El=64),e}function kc(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 LB(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 xc(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 ze=0;function Am(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Lm,_c,Mm,qm,Hm,Sc=!1,Rl=[],Qr=null,Yr=null,Jr=null,Qn=new Map,Yn=new Map,Zr=[],MB="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 Wm(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&&_c(r)),e):(e.eventSystemFlags|=a,r=e.targetContainers,d!==null&&r.indexOf(d)===-1&&r.push(d),e)}function qB(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 $m(e){var r=ko(e.target);if(r!==null){var i=wo(r);if(i!==null){if(r=i.tag,r===13){if(r=Em(i),r!==null){e.blockedOn=r,Hm(e.priority,function(){Mm(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 Fl(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var i=Bc(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var a=new i.constructor(i.type,i);pc=a,i.target.dispatchEvent(a),pc=null}else return r=fi(i),r!==null&&_c(r),e.blockedOn=i,!1;r.shift()}return!0}function Vm(e,r,i){Fl(e)&&i.delete(r)}function HB(){Sc=!1,Qr!==null&&Fl(Qr)&&(Qr=null),Yr!==null&&Fl(Yr)&&(Yr=null),Jr!==null&&Fl(Jr)&&(Jr=null),Qn.forEach(Vm),Yn.forEach(Vm)}function Zn(e,r){e.blockedOn===r&&(e.blockedOn=null,Sc||(Sc=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,HB)))}function ei(e){function r(d){return Zn(d,e)}if(0<Rl.length){Zn(Rl[0],e);for(var i=1;i<Rl.length;i++){var a=Rl[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);)$m(i),i.blockedOn===null&&Zr.shift()}var Jo=N.ReactCurrentBatchConfig,Il=!0;function WB(e,r,i,a){var d=ze,h=Jo.transition;Jo.transition=null;try{ze=1,Cc(e,r,i,a)}finally{ze=d,Jo.transition=h}}function $B(e,r,i,a){var d=ze,h=Jo.transition;Jo.transition=null;try{ze=4,Cc(e,r,i,a)}finally{ze=d,Jo.transition=h}}function Cc(e,r,i,a){if(Il){var d=Bc(e,r,i,a);if(d===null)Wc(e,r,a,Dl,i),Wm(e,a);else if(qB(d,e,r,i,a))a.stopPropagation();else if(Wm(e,a),r&4&&-1<MB.indexOf(e)){for(;d!==null;){var h=fi(d);if(h!==null&&Lm(h),h=Bc(e,r,i,a),h===null&&Wc(e,r,a,Dl,i),h===d)break;d=h}d!==null&&a.stopPropagation()}else Wc(e,r,a,null,i)}}var Dl=null;function Bc(e,r,i,a){if(Dl=null,e=hc(a),e=ko(e),e!==null)if(r=wo(e),r===null)e=null;else if(i=r.tag,i===13){if(e=Em(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 Dl=e,null}function Um(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(PB()){case yc:return 1;case Dm:return 4;case Nl:case RB:return 16;case jm:return 536870912;default:return 16}default:return 16}}var eo=null,Nc=null,jl=null;function Gm(){if(jl)return jl;var e,r=Nc,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 k=i-e;for(a=1;a<=k&&r[i-a]===d[h-a];a++);return jl=d.slice(e,1<a?1-a:void 0)}function Ol(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 Al(){return!0}function Km(){return!1}function Ot(e){function r(i,a,d,h,k){this._reactName=i,this._targetInst=d,this.type=a,this.nativeEvent=h,this.target=k,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)?Al:Km,this.isPropagationStopped=Km,this}return J(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=Al)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Al)},persist:function(){},isPersistent:Al}),r}var Zo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tc=Ot(Zo),ti=J({},Zo,{view:0,detail:0}),VB=Ot(ti),Ec,zc,ri,Ll=J({},ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rc,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"?(Ec=e.screenX-ri.screenX,zc=e.screenY-ri.screenY):zc=Ec=0,ri=e),Ec)},movementY:function(e){return"movementY"in e?e.movementY:zc}}),Xm=Ot(Ll),UB=J({},Ll,{dataTransfer:0}),GB=Ot(UB),KB=J({},ti,{relatedTarget:0}),Pc=Ot(KB),XB=J({},Zo,{animationName:0,elapsedTime:0,pseudoElement:0}),QB=Ot(XB),YB=J({},Zo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),JB=Ot(YB),ZB=J({},Zo,{data:0}),Qm=Ot(ZB),e3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},t3={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"},r3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function o3(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=r3[e])?!!r[e]:!1}function Rc(){return o3}var n3=J({},ti,{key:function(e){if(e.key){var r=e3[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=Ol(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?t3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rc,charCode:function(e){return e.type==="keypress"?Ol(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ol(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),i3=Ot(n3),l3=J({},Ll,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ym=Ot(l3),s3=J({},ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rc}),a3=Ot(s3),c3=J({},Zo,{propertyName:0,elapsedTime:0,pseudoElement:0}),u3=Ot(c3),d3=J({},Ll,{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}),f3=Ot(d3),p3=[9,13,27,32],Fc=f&&"CompositionEvent"in window,oi=null;f&&"documentMode"in document&&(oi=document.documentMode);var h3=f&&"TextEvent"in window&&!oi,Jm=f&&(!Fc||oi&&8<oi&&11>=oi),Zm=" ",eg=!1;function tg(e,r){switch(e){case"keyup":return p3.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var en=!1;function m3(e,r){switch(e){case"compositionend":return rg(r);case"keypress":return r.which!==32?null:(eg=!0,Zm);case"textInput":return e=r.data,e===Zm&&eg?null:e;default:return null}}function g3(e,r){if(en)return e==="compositionend"||!Fc&&tg(e,r)?(e=Gm(),jl=Nc=eo=null,en=!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 Jm&&r.locale!=="ko"?null:r.data;default:return null}}var v3={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 og(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!v3[e.type]:r==="textarea"}function ng(e,r,i,a){Sm(a),r=$l(r,"onChange"),0<r.length&&(i=new Tc("onChange","change",null,i,a),e.push({event:i,listeners:r}))}var ni=null,ii=null;function b3(e){xg(e,0)}function Ml(e){var r=ln(e);if(fm(r))return e}function y3(e,r){if(e==="change")return r}var ig=!1;if(f){var Ic;if(f){var Dc="oninput"in document;if(!Dc){var lg=document.createElement("div");lg.setAttribute("oninput","return;"),Dc=typeof lg.oninput=="function"}Ic=Dc}else Ic=!1;ig=Ic&&(!document.documentMode||9<document.documentMode)}function sg(){ni&&(ni.detachEvent("onpropertychange",ag),ii=ni=null)}function ag(e){if(e.propertyName==="value"&&Ml(ii)){var r=[];ng(r,ii,e,hc(e)),Tm(b3,r)}}function w3(e,r,i){e==="focusin"?(sg(),ni=r,ii=i,ni.attachEvent("onpropertychange",ag)):e==="focusout"&&sg()}function k3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ml(ii)}function x3(e,r){if(e==="click")return Ml(r)}function _3(e,r){if(e==="input"||e==="change")return Ml(r)}function S3(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var sr=typeof Object.is=="function"?Object.is:S3;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 cg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ug(e,r){var i=cg(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=cg(i)}}function dg(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?dg(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function fg(){for(var e=window,r=_l();r instanceof e.HTMLIFrameElement;){try{var i=typeof r.contentWindow.location.href=="string"}catch{i=!1}if(i)e=r.contentWindow;else break;r=_l(e.document)}return r}function jc(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 C3(e){var r=fg(),i=e.focusedElem,a=e.selectionRange;if(r!==i&&i&&i.ownerDocument&&dg(i.ownerDocument.documentElement,i)){if(a!==null&&jc(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=ug(i,h);var k=ug(i,a);d&&k&&(e.rangeCount!==1||e.anchorNode!==d.node||e.anchorOffset!==d.offset||e.focusNode!==k.node||e.focusOffset!==k.offset)&&(r=r.createRange(),r.setStart(d.node,d.offset),e.removeAllRanges(),h>a?(e.addRange(r),e.extend(k.node,k.offset)):(r.setEnd(k.node,k.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 B3=f&&"documentMode"in document&&11>=document.documentMode,tn=null,Oc=null,si=null,Ac=!1;function pg(e,r,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Ac||tn==null||tn!==_l(a)||(a=tn,"selectionStart"in a&&jc(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=$l(Oc,"onSelect"),0<a.length&&(r=new Tc("onSelect","select",null,r,i),e.push({event:r,listeners:a}),r.target=tn)))}function ql(e,r){var i={};return i[e.toLowerCase()]=r.toLowerCase(),i["Webkit"+e]="webkit"+r,i["Moz"+e]="moz"+r,i}var rn={animationend:ql("Animation","AnimationEnd"),animationiteration:ql("Animation","AnimationIteration"),animationstart:ql("Animation","AnimationStart"),transitionend:ql("Transition","TransitionEnd")},Lc={},hg={};f&&(hg=document.createElement("div").style,"AnimationEvent"in window||(delete rn.animationend.animation,delete rn.animationiteration.animation,delete rn.animationstart.animation),"TransitionEvent"in window||delete rn.transitionend.transition);function Hl(e){if(Lc[e])return Lc[e];if(!rn[e])return e;var r=rn[e],i;for(i in r)if(r.hasOwnProperty(i)&&i in hg)return Lc[e]=r[i];return e}var mg=Hl("animationend"),gg=Hl("animationiteration"),vg=Hl("animationstart"),bg=Hl("transitionend"),yg=new Map,wg="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){yg.set(e,r),c(r,[e])}for(var Mc=0;Mc<wg.length;Mc++){var qc=wg[Mc],N3=qc.toLowerCase(),T3=qc[0].toUpperCase()+qc.slice(1);to(N3,"on"+T3)}to(mg,"onAnimationEnd"),to(gg,"onAnimationIteration"),to(vg,"onAnimationStart"),to("dblclick","onDoubleClick"),to("focusin","onFocus"),to("focusout","onBlur"),to(bg,"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(" "),E3=new Set("cancel close invalid load scroll toggle".split(" ").concat(ai));function kg(e,r,i){var a=e.type||"unknown-event";e.currentTarget=i,NB(a,r,void 0,e),e.currentTarget=null}function xg(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 k=a.length-1;0<=k;k--){var C=a[k],z=C.instance,O=C.currentTarget;if(C=C.listener,z!==h&&d.isPropagationStopped())break e;kg(d,C,O),h=z}else for(k=0;k<a.length;k++){if(C=a[k],z=C.instance,O=C.currentTarget,C=C.listener,z!==h&&d.isPropagationStopped())break e;kg(d,C,O),h=z}}}if(Bl)throw e=bc,Bl=!1,bc=null,e}function Oe(e,r){var i=r[Xc];i===void 0&&(i=r[Xc]=new Set);var a=e+"__bubble";i.has(a)||(_g(r,e,2,!1),i.add(a))}function Hc(e,r,i){var a=0;r&&(a|=4),_g(i,e,a,r)}var Wl="_reactListening"+Math.random().toString(36).slice(2);function ci(e){if(!e[Wl]){e[Wl]=!0,l.forEach(function(i){i!=="selectionchange"&&(E3.has(i)||Hc(i,!1,e),Hc(i,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[Wl]||(r[Wl]=!0,Hc("selectionchange",!1,r))}}function _g(e,r,i,a){switch(Um(r)){case 1:var d=WB;break;case 4:d=$B;break;default:d=Cc}i=d.bind(null,r,i,e),d=void 0,!vc||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 Wc(e,r,i,a,d){var h=a;if((r&1)===0&&(r&2)===0&&a!==null)e:for(;;){if(a===null)return;var k=a.tag;if(k===3||k===4){var C=a.stateNode.containerInfo;if(C===d||C.nodeType===8&&C.parentNode===d)break;if(k===4)for(k=a.return;k!==null;){var z=k.tag;if((z===3||z===4)&&(z=k.stateNode.containerInfo,z===d||z.nodeType===8&&z.parentNode===d))return;k=k.return}for(;C!==null;){if(k=ko(C),k===null)return;if(z=k.tag,z===5||z===6){a=h=k;continue e}C=C.parentNode}}a=a.return}Tm(function(){var O=h,V=hc(i),K=[];e:{var W=yg.get(e);if(W!==void 0){var ee=Tc,ne=e;switch(e){case"keypress":if(Ol(i)===0)break e;case"keydown":case"keyup":ee=i3;break;case"focusin":ne="focus",ee=Pc;break;case"focusout":ne="blur",ee=Pc;break;case"beforeblur":case"afterblur":ee=Pc;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":ee=Xm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=GB;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=a3;break;case mg:case gg:case vg:ee=QB;break;case bg:ee=u3;break;case"scroll":ee=VB;break;case"wheel":ee=f3;break;case"copy":case"cut":case"paste":ee=JB;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=Ym}var ie=(r&4)!==0,Je=!ie&&e==="scroll",I=ie?W!==null?W+"Capture":null:W;ie=[];for(var P=O,j;P!==null;){j=P;var X=j.stateNode;if(j.tag===5&&X!==null&&(j=X,I!==null&&(X=Vn(P,I),X!=null&&ie.push(ui(P,X,j)))),Je)break;P=P.return}0<ie.length&&(W=new ee(W,ne,null,i,V),K.push({event:W,listeners:ie}))}}if((r&7)===0){e:{if(W=e==="mouseover"||e==="pointerover",ee=e==="mouseout"||e==="pointerout",W&&i!==pc&&(ne=i.relatedTarget||i.fromElement)&&(ko(ne)||ne[Fr]))break e;if((ee||W)&&(W=V.window===V?V:(W=V.ownerDocument)?W.defaultView||W.parentWindow:window,ee?(ne=i.relatedTarget||i.toElement,ee=O,ne=ne?ko(ne):null,ne!==null&&(Je=wo(ne),ne!==Je||ne.tag!==5&&ne.tag!==6)&&(ne=null)):(ee=null,ne=O),ee!==ne)){if(ie=Xm,X="onMouseLeave",I="onMouseEnter",P="mouse",(e==="pointerout"||e==="pointerover")&&(ie=Ym,X="onPointerLeave",I="onPointerEnter",P="pointer"),Je=ee==null?W:ln(ee),j=ne==null?W:ln(ne),W=new ie(X,P+"leave",ee,i,V),W.target=Je,W.relatedTarget=j,X=null,ko(V)===O&&(ie=new ie(I,P+"enter",ne,i,V),ie.target=j,ie.relatedTarget=Je,X=ie),Je=X,ee&&ne)t:{for(ie=ee,I=ne,P=0,j=ie;j;j=on(j))P++;for(j=0,X=I;X;X=on(X))j++;for(;0<P-j;)ie=on(ie),P--;for(;0<j-P;)I=on(I),j--;for(;P--;){if(ie===I||I!==null&&ie===I.alternate)break t;ie=on(ie),I=on(I)}ie=null}else ie=null;ee!==null&&Sg(K,W,ee,ie,!1),ne!==null&&Je!==null&&Sg(K,Je,ne,ie,!0)}}e:{if(W=O?ln(O):window,ee=W.nodeName&&W.nodeName.toLowerCase(),ee==="select"||ee==="input"&&W.type==="file")var se=y3;else if(og(W))if(ig)se=_3;else{se=k3;var de=w3}else(ee=W.nodeName)&&ee.toLowerCase()==="input"&&(W.type==="checkbox"||W.type==="radio")&&(se=x3);if(se&&(se=se(e,O))){ng(K,se,i,V);break e}de&&de(e,W,O),e==="focusout"&&(de=W._wrapperState)&&de.controlled&&W.type==="number"&&ac(W,"number",W.value)}switch(de=O?ln(O):window,e){case"focusin":(og(de)||de.contentEditable==="true")&&(tn=de,Oc=O,si=null);break;case"focusout":si=Oc=tn=null;break;case"mousedown":Ac=!0;break;case"contextmenu":case"mouseup":case"dragend":Ac=!1,pg(K,i,V);break;case"selectionchange":if(B3)break;case"keydown":case"keyup":pg(K,i,V)}var fe;if(Fc)e:{switch(e){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else en?tg(e,i)&&(ve="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(ve="onCompositionStart");ve&&(Jm&&i.locale!=="ko"&&(en||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&en&&(fe=Gm()):(eo=V,Nc="value"in eo?eo.value:eo.textContent,en=!0)),de=$l(O,ve),0<de.length&&(ve=new Qm(ve,e,null,i,V),K.push({event:ve,listeners:de}),fe?ve.data=fe:(fe=rg(i),fe!==null&&(ve.data=fe)))),(fe=h3?m3(e,i):g3(e,i))&&(O=$l(O,"onBeforeInput"),0<O.length&&(V=new Qm("onBeforeInput","beforeinput",null,i,V),K.push({event:V,listeners:O}),V.data=fe))}xg(K,r)})}function ui(e,r,i){return{instance:e,listener:r,currentTarget:i}}function $l(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 on(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Sg(e,r,i,a,d){for(var h=r._reactName,k=[];i!==null&&i!==a;){var C=i,z=C.alternate,O=C.stateNode;if(z!==null&&z===a)break;C.tag===5&&O!==null&&(C=O,d?(z=Vn(i,h),z!=null&&k.unshift(ui(i,z,C))):d||(z=Vn(i,h),z!=null&&k.push(ui(i,z,C)))),i=i.return}k.length!==0&&e.push({event:r,listeners:k})}var z3=/\r\n?/g,P3=/\u0000|\uFFFD/g;function Cg(e){return(typeof e=="string"?e:""+e).replace(z3,`
7
+ `).replace(P3,"")}function Vl(e,r,i){if(r=Cg(r),Cg(e)!==r&&i)throw Error(n(425))}function Ul(){}var $c=null,Vc=null;function Uc(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 Gc=typeof setTimeout=="function"?setTimeout:void 0,R3=typeof clearTimeout=="function"?clearTimeout:void 0,Bg=typeof Promise=="function"?Promise:void 0,F3=typeof queueMicrotask=="function"?queueMicrotask:typeof Bg<"u"?function(e){return Bg.resolve(null).then(e).catch(I3)}:Gc;function I3(e){setTimeout(function(){throw e})}function Kc(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 Ng(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 nn=Math.random().toString(36).slice(2),kr="__reactFiber$"+nn,di="__reactProps$"+nn,Fr="__reactContainer$"+nn,Xc="__reactEvents$"+nn,D3="__reactListeners$"+nn,j3="__reactHandles$"+nn;function ko(e){var r=e[kr];if(r)return r;for(var i=e.parentNode;i;){if(r=i[Fr]||i[kr]){if(i=r.alternate,r.child!==null||i!==null&&i.child!==null)for(e=Ng(e);e!==null;){if(i=e[kr])return i;e=Ng(e)}return r}e=i,i=e.parentNode}return null}function fi(e){return e=e[kr]||e[Fr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ln(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(n(33))}function Gl(e){return e[di]||null}var Qc=[],sn=-1;function oo(e){return{current:e}}function Ae(e){0>sn||(e.current=Qc[sn],Qc[sn]=null,sn--)}function De(e,r){sn++,Qc[sn]=e.current,e.current=r}var no={},mt=oo(no),Tt=oo(!1),xo=no;function an(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 Kl(){Ae(Tt),Ae(mt)}function Tg(e,r,i){if(mt.current!==no)throw Error(n(168));De(mt,r),De(Tt,i)}function Eg(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 J({},i,a)}function Xl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||no,xo=mt.current,De(mt,e),De(Tt,Tt.current),!0}function zg(e,r,i){var a=e.stateNode;if(!a)throw Error(n(169));i?(e=Eg(e,r,xo),a.__reactInternalMemoizedMergedChildContext=e,Ae(Tt),Ae(mt),De(mt,e)):Ae(Tt),De(Tt,i)}var Ir=null,Ql=!1,Yc=!1;function Pg(e){Ir===null?Ir=[e]:Ir.push(e)}function O3(e){Ql=!0,Pg(e)}function io(){if(!Yc&&Ir!==null){Yc=!0;var e=0,r=ze;try{var i=Ir;for(ze=1;e<i.length;e++){var a=i[e];do a=a(!0);while(a!==null)}Ir=null,Ql=!1}catch(d){throw Ir!==null&&(Ir=Ir.slice(e+1)),Fm(yc,io),d}finally{ze=r,Yc=!1}}return null}var cn=[],un=0,Yl=null,Jl=0,Gt=[],Kt=0,_o=null,Dr=1,jr="";function So(e,r){cn[un++]=Jl,cn[un++]=Yl,Yl=e,Jl=r}function Rg(e,r,i){Gt[Kt++]=Dr,Gt[Kt++]=jr,Gt[Kt++]=_o,_o=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 k=d-d%5;h=(a&(1<<k)-1).toString(32),a>>=k,d-=k,Dr=1<<32-lr(r)+d|i<<d|a,jr=h+e}else Dr=1<<h|i<<d|a,jr=e}function Jc(e){e.return!==null&&(So(e,1),Rg(e,1,0))}function Zc(e){for(;e===Yl;)Yl=cn[--un],cn[un]=null,Jl=cn[--un],cn[un]=null;for(;e===_o;)_o=Gt[--Kt],Gt[Kt]=null,jr=Gt[--Kt],Gt[Kt]=null,Dr=Gt[--Kt],Gt[Kt]=null}var At=null,Lt=null,Me=!1,ar=null;function Fg(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 Ig(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,At=e,Lt=ro(r.firstChild),!0):!1;case 6:return r=e.pendingProps===""||r.nodeType!==3?null:r,r!==null?(e.stateNode=r,At=e,Lt=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(i=_o!==null?{id:Dr,overflow:jr}:null,e.memoizedState={dehydrated:r,treeContext:i,retryLane:1073741824},i=Jt(18,null,null,0),i.stateNode=r,i.return=e,e.child=i,At=e,Lt=null,!0):!1;default:return!1}}function eu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function tu(e){if(Me){var r=Lt;if(r){var i=r;if(!Ig(e,r)){if(eu(e))throw Error(n(418));r=ro(i.nextSibling);var a=At;r&&Ig(e,r)?Fg(a,i):(e.flags=e.flags&-4097|2,Me=!1,At=e)}}else{if(eu(e))throw Error(n(418));e.flags=e.flags&-4097|2,Me=!1,At=e}}}function Dg(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;At=e}function Zl(e){if(e!==At)return!1;if(!Me)return Dg(e),Me=!0,!1;var r;if((r=e.tag!==3)&&!(r=e.tag!==5)&&(r=e.type,r=r!=="head"&&r!=="body"&&!Uc(e.type,e.memoizedProps)),r&&(r=Lt)){if(eu(e))throw jg(),Error(n(418));for(;r;)Fg(e,r),r=ro(r.nextSibling)}if(Dg(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=At?ro(e.stateNode.nextSibling):null;return!0}function jg(){for(var e=Lt;e;)e=ro(e.nextSibling)}function dn(){Lt=At=null,Me=!1}function ru(e){ar===null?ar=[e]:ar.push(e)}var A3=N.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(k){var C=d.refs;k===null?delete C[h]:C[h]=k},r._stringRef=h,r)}if(typeof e!="string")throw Error(n(284));if(!i._owner)throw Error(n(290,e))}return e}function es(e,r){throw e=Object.prototype.toString.call(r),Error(n(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function Og(e){var r=e._init;return r(e._payload)}function Ag(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 k(I){return e&&I.alternate===null&&(I.flags|=2),I}function C(I,P,j,X){return P===null||P.tag!==6?(P=Gu(j,I.mode,X),P.return=I,P):(P=d(P,j),P.return=I,P)}function z(I,P,j,X){var se=j.type;return se===D?V(I,P,j.props.children,X,j.key):P!==null&&(P.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===be&&Og(se)===P.type)?(X=d(P,j.props),X.ref=pi(I,P,j),X.return=I,X):(X=Ss(j.type,j.key,j.props,null,I.mode,X),X.ref=pi(I,P,j),X.return=I,X)}function O(I,P,j,X){return P===null||P.tag!==4||P.stateNode.containerInfo!==j.containerInfo||P.stateNode.implementation!==j.implementation?(P=Ku(j,I.mode,X),P.return=I,P):(P=d(P,j.children||[]),P.return=I,P)}function V(I,P,j,X,se){return P===null||P.tag!==7?(P=Ro(j,I.mode,X,se),P.return=I,P):(P=d(P,j),P.return=I,P)}function K(I,P,j){if(typeof P=="string"&&P!==""||typeof P=="number")return P=Gu(""+P,I.mode,j),P.return=I,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case R:return j=Ss(P.type,P.key,P.props,null,I.mode,j),j.ref=pi(I,null,P),j.return=I,j;case A:return P=Ku(P,I.mode,j),P.return=I,P;case be:var X=P._init;return K(I,X(P._payload),j)}if(Hn(P)||te(P))return P=Ro(P,I.mode,j,null),P.return=I,P;es(I,P)}return null}function W(I,P,j,X){var se=P!==null?P.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return se!==null?null:C(I,P,""+j,X);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case R:return j.key===se?z(I,P,j,X):null;case A:return j.key===se?O(I,P,j,X):null;case be:return se=j._init,W(I,P,se(j._payload),X)}if(Hn(j)||te(j))return se!==null?null:V(I,P,j,X,null);es(I,j)}return null}function ee(I,P,j,X,se){if(typeof X=="string"&&X!==""||typeof X=="number")return I=I.get(j)||null,C(P,I,""+X,se);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case R:return I=I.get(X.key===null?j:X.key)||null,z(P,I,X,se);case A:return I=I.get(X.key===null?j:X.key)||null,O(P,I,X,se);case be:var de=X._init;return ee(I,P,j,de(X._payload),se)}if(Hn(X)||te(X))return I=I.get(j)||null,V(P,I,X,se,null);es(P,X)}return null}function ne(I,P,j,X){for(var se=null,de=null,fe=P,ve=P=0,st=null;fe!==null&&ve<j.length;ve++){fe.index>ve?(st=fe,fe=null):st=fe.sibling;var Ne=W(I,fe,j[ve],X);if(Ne===null){fe===null&&(fe=st);break}e&&fe&&Ne.alternate===null&&r(I,fe),P=h(Ne,P,ve),de===null?se=Ne:de.sibling=Ne,de=Ne,fe=st}if(ve===j.length)return i(I,fe),Me&&So(I,ve),se;if(fe===null){for(;ve<j.length;ve++)fe=K(I,j[ve],X),fe!==null&&(P=h(fe,P,ve),de===null?se=fe:de.sibling=fe,de=fe);return Me&&So(I,ve),se}for(fe=a(I,fe);ve<j.length;ve++)st=ee(fe,I,ve,j[ve],X),st!==null&&(e&&st.alternate!==null&&fe.delete(st.key===null?ve:st.key),P=h(st,P,ve),de===null?se=st:de.sibling=st,de=st);return e&&fe.forEach(function(mo){return r(I,mo)}),Me&&So(I,ve),se}function ie(I,P,j,X){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,ve=P=0,st=null,Ne=j.next();fe!==null&&!Ne.done;ve++,Ne=j.next()){fe.index>ve?(st=fe,fe=null):st=fe.sibling;var mo=W(I,fe,Ne.value,X);if(mo===null){fe===null&&(fe=st);break}e&&fe&&mo.alternate===null&&r(I,fe),P=h(mo,P,ve),de===null?se=mo:de.sibling=mo,de=mo,fe=st}if(Ne.done)return i(I,fe),Me&&So(I,ve),se;if(fe===null){for(;!Ne.done;ve++,Ne=j.next())Ne=K(I,Ne.value,X),Ne!==null&&(P=h(Ne,P,ve),de===null?se=Ne:de.sibling=Ne,de=Ne);return Me&&So(I,ve),se}for(fe=a(I,fe);!Ne.done;ve++,Ne=j.next())Ne=ee(fe,I,ve,Ne.value,X),Ne!==null&&(e&&Ne.alternate!==null&&fe.delete(Ne.key===null?ve:Ne.key),P=h(Ne,P,ve),de===null?se=Ne:de.sibling=Ne,de=Ne);return e&&fe.forEach(function(v5){return r(I,v5)}),Me&&So(I,ve),se}function Je(I,P,j,X){if(typeof j=="object"&&j!==null&&j.type===D&&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===D){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&&Og(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===D?(P=Ro(j.props.children,I.mode,X,j.key),P.return=I,I=P):(X=Ss(j.type,j.key,j.props,null,I.mode,X),X.ref=pi(I,P,j),X.return=I,I=X)}return k(I);case A: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=Ku(j,I.mode,X),P.return=I,I=P}return k(I);case be:return de=j._init,Je(I,P,de(j._payload),X)}if(Hn(j))return ne(I,P,j,X);if(te(j))return ie(I,P,j,X);es(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=Gu(j,I.mode,X),P.return=I,I=P),k(I)):i(I,P)}return Je}var fn=Ag(!0),Lg=Ag(!1),ts=oo(null),rs=null,pn=null,ou=null;function nu(){ou=pn=rs=null}function iu(e){var r=ts.current;Ae(ts),e._currentValue=r}function lu(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 hn(e,r){rs=e,ou=pn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&r)!==0&&(zt=!0),e.firstContext=null)}function Xt(e){var r=e._currentValue;if(ou!==e)if(e={context:e,memoizedValue:r,next:null},pn===null){if(rs===null)throw Error(n(308));pn=e,rs.dependencies={lanes:0,firstContext:e}}else pn=pn.next=e;return r}var Co=null;function su(e){Co===null?Co=[e]:Co.push(e)}function Mg(e,r,i,a){var d=r.interleaved;return d===null?(i.next=i,su(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 au(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qg(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ar(e,r){return{eventTime:e,lane:r,tag:0,payload:null,callback:null,next:null}}function so(e,r,i){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(_e&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,su(a)):(r.next=d.next,d.next=r),a.interleaved=r,Or(e,i)}function os(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,xc(e,i)}}function Hg(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 k={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};h===null?d=h=k:h=h.next=k,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 ns(e,r,i,a){var d=e.updateQueue;lo=!1;var h=d.firstBaseUpdate,k=d.lastBaseUpdate,C=d.shared.pending;if(C!==null){d.shared.pending=null;var z=C,O=z.next;z.next=null,k===null?h=O:k.next=O,k=z;var V=e.alternate;V!==null&&(V=V.updateQueue,C=V.lastBaseUpdate,C!==k&&(C===null?V.firstBaseUpdate=O:C.next=O,V.lastBaseUpdate=z))}if(h!==null){var K=d.baseState;k=0,V=O=z=null,C=h;do{var W=C.lane,ee=C.eventTime;if((a&W)===W){V!==null&&(V=V.next={eventTime:ee,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var ne=e,ie=C;switch(W=r,ee=i,ie.tag){case 1:if(ne=ie.payload,typeof ne=="function"){K=ne.call(ee,K,W);break e}K=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=ie.payload,W=typeof ne=="function"?ne.call(ee,K,W):ne,W==null)break e;K=J({},K,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 ee={eventTime:ee,lane:W,tag:C.tag,payload:C.payload,callback:C.callback,next:null},V===null?(O=V=ee,z=K):V=V.next=ee,k|=W;if(C=C.next,C===null){if(C=d.shared.pending,C===null)break;W=C,C=W.next,W.next=null,d.lastBaseUpdate=W,d.shared.pending=null}}while(!0);if(V===null&&(z=K),d.baseState=z,d.firstBaseUpdate=O,d.lastBaseUpdate=V,r=d.shared.interleaved,r!==null){d=r;do k|=d.lane,d=d.next;while(d!==r)}else h===null&&(d.shared.lanes=0);To|=k,e.lanes=k,e.memoizedState=K}}function Wg(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={},xr=oo(hi),mi=oo(hi),gi=oo(hi);function Bo(e){if(e===hi)throw Error(n(174));return e}function cu(e,r){switch(De(gi,r),De(mi,e),De(xr,hi),e=r.nodeType,e){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:uc(null,"");break;default:e=e===8?r.parentNode:r,r=e.namespaceURI||null,e=e.tagName,r=uc(r,e)}Ae(xr),De(xr,r)}function mn(){Ae(xr),Ae(mi),Ae(gi)}function $g(e){Bo(gi.current);var r=Bo(xr.current),i=uc(r,e.type);r!==i&&(De(mi,e),De(xr,i))}function uu(e){mi.current===e&&(Ae(xr),Ae(mi))}var We=oo(0);function is(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 du=[];function fu(){for(var e=0;e<du.length;e++)du[e]._workInProgressVersionPrimary=null;du.length=0}var ls=N.ReactCurrentDispatcher,pu=N.ReactCurrentBatchConfig,No=0,$e=null,rt=null,it=null,ss=!1,vi=!1,bi=0,L3=0;function gt(){throw Error(n(321))}function hu(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 mu(e,r,i,a,d,h){if(No=h,$e=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,ls.current=e===null||e.memoizedState===null?W3:$3,e=i(a,d),vi){h=0;do{if(vi=!1,bi=0,25<=h)throw Error(n(301));h+=1,it=rt=null,r.updateQueue=null,ls.current=V3,e=i(a,d)}while(vi)}if(ls.current=us,r=rt!==null&&rt.next!==null,No=0,it=rt=$e=null,ss=!1,r)throw Error(n(300));return e}function gu(){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?$e.memoizedState=it=e:it=it.next=e,it}function Qt(){if(rt===null){var e=$e.alternate;e=e!==null?e.memoizedState:null}else e=rt.next;var r=it===null?$e.memoizedState:it.next;if(r!==null)it=r,rt=e;else{if(e===null)throw Error(n(310));rt=e,e={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},it===null?$e.memoizedState=it=e:it=it.next=e}return it}function yi(e,r){return typeof r=="function"?r(e):r}function vu(e){var r=Qt(),i=r.queue;if(i===null)throw Error(n(311));i.lastRenderedReducer=e;var a=rt,d=a.baseQueue,h=i.pending;if(h!==null){if(d!==null){var k=d.next;d.next=h.next,h.next=k}a.baseQueue=d=h,i.pending=null}if(d!==null){h=d.next,a=a.baseState;var C=k=null,z=null,O=h;do{var V=O.lane;if((No&V)===V)z!==null&&(z=z.next={lane:0,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),a=O.hasEagerState?O.eagerState:e(a,O.action);else{var K={lane:V,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null};z===null?(C=z=K,k=a):z=z.next=K,$e.lanes|=V,To|=V}O=O.next}while(O!==null&&O!==h);z===null?k=a:z.next=C,sr(a,r.memoizedState)||(zt=!0),r.memoizedState=a,r.baseState=k,r.baseQueue=z,i.lastRenderedState=a}if(e=i.interleaved,e!==null){d=e;do h=d.lane,$e.lanes|=h,To|=h,d=d.next;while(d!==e)}else d===null&&(i.lanes=0);return[r.memoizedState,i.dispatch]}function bu(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 k=d=d.next;do h=e(h,k.action),k=k.next;while(k!==d);sr(h,r.memoizedState)||(zt=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),i.lastRenderedState=h}return[h,a]}function Vg(){}function Ug(e,r){var i=$e,a=Qt(),d=r(),h=!sr(a.memoizedState,d);if(h&&(a.memoizedState=d,zt=!0),a=a.queue,yu(Xg.bind(null,i,a,e),[e]),a.getSnapshot!==r||h||it!==null&&it.memoizedState.tag&1){if(i.flags|=2048,wi(9,Kg.bind(null,i,a,d,r),void 0,null),lt===null)throw Error(n(349));(No&30)!==0||Gg(i,r,d)}return d}function Gg(e,r,i){e.flags|=16384,e={getSnapshot:r,value:i},r=$e.updateQueue,r===null?(r={lastEffect:null,stores:null},$e.updateQueue=r,r.stores=[e]):(i=r.stores,i===null?r.stores=[e]:i.push(e))}function Kg(e,r,i,a){r.value=i,r.getSnapshot=a,Qg(r)&&Yg(e)}function Xg(e,r,i){return i(function(){Qg(r)&&Yg(e)})}function Qg(e){var r=e.getSnapshot;e=e.value;try{var i=r();return!sr(e,i)}catch{return!0}}function Yg(e){var r=Or(e,1);r!==null&&fr(r,e,1,-1)}function Jg(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=H3.bind(null,$e,e),[r.memoizedState,e]}function wi(e,r,i,a){return e={tag:e,create:r,destroy:i,deps:a,next:null},r=$e.updateQueue,r===null?(r={lastEffect:null,stores:null},$e.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 Zg(){return Qt().memoizedState}function as(e,r,i,a){var d=_r();$e.flags|=e,d.memoizedState=wi(1|r,i,void 0,a===void 0?null:a)}function cs(e,r,i,a){var d=Qt();a=a===void 0?null:a;var h=void 0;if(rt!==null){var k=rt.memoizedState;if(h=k.destroy,a!==null&&hu(a,k.deps)){d.memoizedState=wi(r,i,h,a);return}}$e.flags|=e,d.memoizedState=wi(1|r,i,h,a)}function ev(e,r){return as(8390656,8,e,r)}function yu(e,r){return cs(2048,8,e,r)}function tv(e,r){return cs(4,2,e,r)}function rv(e,r){return cs(4,4,e,r)}function ov(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 nv(e,r,i){return i=i!=null?i.concat([e]):null,cs(4,4,ov.bind(null,r,e),i)}function wu(){}function iv(e,r){var i=Qt();r=r===void 0?null:r;var a=i.memoizedState;return a!==null&&r!==null&&hu(r,a[1])?a[0]:(i.memoizedState=[e,r],e)}function lv(e,r){var i=Qt();r=r===void 0?null:r;var a=i.memoizedState;return a!==null&&r!==null&&hu(r,a[1])?a[0]:(e=e(),i.memoizedState=[e,r],e)}function sv(e,r,i){return(No&21)===0?(e.baseState&&(e.baseState=!1,zt=!0),e.memoizedState=i):(sr(i,r)||(i=Om(),$e.lanes|=i,To|=i,e.baseState=!0),r)}function M3(e,r){var i=ze;ze=i!==0&&4>i?i:4,e(!0);var a=pu.transition;pu.transition={};try{e(!1),r()}finally{ze=i,pu.transition=a}}function av(){return Qt().memoizedState}function q3(e,r,i){var a=fo(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},cv(e))uv(r,i);else if(i=Mg(e,r,i,a),i!==null){var d=kt();fr(i,e,a,d),dv(i,r,a)}}function H3(e,r,i){var a=fo(e),d={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(cv(e))uv(r,d);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var k=r.lastRenderedState,C=h(k,i);if(d.hasEagerState=!0,d.eagerState=C,sr(C,k)){var z=r.interleaved;z===null?(d.next=d,su(r)):(d.next=z.next,z.next=d),r.interleaved=d;return}}catch{}finally{}i=Mg(e,r,d,a),i!==null&&(d=kt(),fr(i,e,a,d),dv(i,r,a))}}function cv(e){var r=e.alternate;return e===$e||r!==null&&r===$e}function uv(e,r){vi=ss=!0;var i=e.pending;i===null?r.next=r:(r.next=i.next,i.next=r),e.pending=r}function dv(e,r,i){if((i&4194240)!==0){var a=r.lanes;a&=e.pendingLanes,i|=a,r.lanes=i,xc(e,i)}}var us={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},W3={readContext:Xt,useCallback:function(e,r){return _r().memoizedState=[e,r===void 0?null:r],e},useContext:Xt,useEffect:ev,useImperativeHandle:function(e,r,i){return i=i!=null?i.concat([e]):null,as(4194308,4,ov.bind(null,r,e),i)},useLayoutEffect:function(e,r){return as(4194308,4,e,r)},useInsertionEffect:function(e,r){return as(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=q3.bind(null,$e,e),[a.memoizedState,e]},useRef:function(e){var r=_r();return e={current:e},r.memoizedState=e},useState:Jg,useDebugValue:wu,useDeferredValue:function(e){return _r().memoizedState=e},useTransition:function(){var e=Jg(!1),r=e[0];return e=M3.bind(null,e[1]),_r().memoizedState=e,[r,e]},useMutableSource:function(){},useSyncExternalStore:function(e,r,i){var a=$e,d=_r();if(Me){if(i===void 0)throw Error(n(407));i=i()}else{if(i=r(),lt===null)throw Error(n(349));(No&30)!==0||Gg(a,r,i)}d.memoizedState=i;var h={value:i,getSnapshot:r};return d.queue=h,ev(Xg.bind(null,a,h,e),[e]),a.flags|=2048,wi(9,Kg.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=L3++,r=":"+r+"r"+i.toString(32)+":";return e.memoizedState=r},unstable_isNewReconciler:!1},$3={readContext:Xt,useCallback:iv,useContext:Xt,useEffect:yu,useImperativeHandle:nv,useInsertionEffect:tv,useLayoutEffect:rv,useMemo:lv,useReducer:vu,useRef:Zg,useState:function(){return vu(yi)},useDebugValue:wu,useDeferredValue:function(e){var r=Qt();return sv(r,rt.memoizedState,e)},useTransition:function(){var e=vu(yi)[0],r=Qt().memoizedState;return[e,r]},useMutableSource:Vg,useSyncExternalStore:Ug,useId:av,unstable_isNewReconciler:!1},V3={readContext:Xt,useCallback:iv,useContext:Xt,useEffect:yu,useImperativeHandle:nv,useInsertionEffect:tv,useLayoutEffect:rv,useMemo:lv,useReducer:bu,useRef:Zg,useState:function(){return bu(yi)},useDebugValue:wu,useDeferredValue:function(e){var r=Qt();return rt===null?r.memoizedState=e:sv(r,rt.memoizedState,e)},useTransition:function(){var e=bu(yi)[0],r=Qt().memoizedState;return[e,r]},useMutableSource:Vg,useSyncExternalStore:Ug,useId:av,unstable_isNewReconciler:!1};function cr(e,r){if(e&&e.defaultProps){r=J({},r),e=e.defaultProps;for(var i in e)r[i]===void 0&&(r[i]=e[i]);return r}return r}function ku(e,r,i,a){r=e.memoizedState,i=i(a,r),i=i==null?r:J({},r,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var ds={isMounted:function(e){return(e=e._reactInternals)?wo(e)===e:!1},enqueueSetState:function(e,r,i){e=e._reactInternals;var a=kt(),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),os(r,e,d))},enqueueReplaceState:function(e,r,i){e=e._reactInternals;var a=kt(),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),os(r,e,d))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var i=kt(),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),os(r,e,a))}};function fv(e,r,i,a,d,h,k){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,h,k):r.prototype&&r.prototype.isPureReactComponent?!li(i,a)||!li(d,h):!0}function pv(e,r,i){var a=!1,d=no,h=r.contextType;return typeof h=="object"&&h!==null?h=Xt(h):(d=Et(r)?xo:mt.current,a=r.contextTypes,h=(a=a!=null)?an(e,d):no),r=new r(i,h),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=ds,e.stateNode=r,r._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=d,e.__reactInternalMemoizedMaskedChildContext=h),r}function hv(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&&ds.enqueueReplaceState(r,r.state,null)}function xu(e,r,i,a){var d=e.stateNode;d.props=i,d.state=e.memoizedState,d.refs={},au(e);var h=r.contextType;typeof h=="object"&&h!==null?d.context=Xt(h):(h=Et(r)?xo:mt.current,d.context=an(e,h)),d.state=e.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(ku(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&&ds.enqueueReplaceState(d,d.state,null),ns(e,i,d,a),d.state=e.memoizedState),typeof d.componentDidMount=="function"&&(e.flags|=4194308)}function gn(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 _u(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 U3=typeof WeakMap=="function"?WeakMap:Map;function mv(e,r,i){i=Ar(-1,i),i.tag=3,i.payload={element:null};var a=r.value;return i.callback=function(){bs||(bs=!0,Lu=a),Su(e,r)},i}function gv(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 k=r.stack;this.componentDidCatch(r.value,{componentStack:k!==null?k:""})}),i}function vv(e,r,i){var a=e.pingCache;if(a===null){a=e.pingCache=new U3;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=l5.bind(null,e,r,i),r.then(e,e))}function bv(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 yv(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 G3=N.ReactCurrentOwner,zt=!1;function wt(e,r,i,a){r.child=e===null?Lg(r,null,i,a):fn(r,e.child,i,a)}function wv(e,r,i,a,d){i=i.render;var h=r.ref;return hn(r,d),a=mu(e,r,i,a,h,d),i=gu(),e!==null&&!zt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~d,Lr(e,r,d)):(Me&&i&&Jc(r),r.flags|=1,wt(e,r,a,d),r.child)}function kv(e,r,i,a,d){if(e===null){var h=i.type;return typeof h=="function"&&!Uu(h)&&h.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(r.tag=15,r.type=h,xv(e,r,h,a,d)):(e=Ss(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 k=h.memoizedProps;if(i=i.compare,i=i!==null?i:li,i(k,a)&&e.ref===r.ref)return Lr(e,r,d)}return r.flags|=1,e=ho(h,a),e.ref=r.ref,e.return=r,r.child=e}function xv(e,r,i,a,d){if(e!==null){var h=e.memoizedProps;if(li(h,a)&&e.ref===r.ref)if(zt=!1,r.pendingProps=a=h,(e.lanes&d)!==0)(e.flags&131072)!==0&&(zt=!0);else return r.lanes=e.lanes,Lr(e,r,d)}return Cu(e,r,i,a,d)}function _v(e,r,i){var a=r.pendingProps,d=a.children,h=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},De(bn,Mt),Mt|=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(bn,Mt),Mt|=e,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=h!==null?h.baseLanes:i,De(bn,Mt),Mt|=a}else h!==null?(a=h.baseLanes|i,r.memoizedState=null):a=i,De(bn,Mt),Mt|=a;return wt(e,r,d,i),r.child}function Sv(e,r){var i=r.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(r.flags|=512,r.flags|=2097152)}function Cu(e,r,i,a,d){var h=Et(i)?xo:mt.current;return h=an(r,h),hn(r,d),i=mu(e,r,i,a,h,d),a=gu(),e!==null&&!zt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~d,Lr(e,r,d)):(Me&&a&&Jc(r),r.flags|=1,wt(e,r,i,d),r.child)}function Cv(e,r,i,a,d){if(Et(i)){var h=!0;Xl(r)}else h=!1;if(hn(r,d),r.stateNode===null)ps(e,r),pv(r,i,a),xu(r,i,a,d),a=!0;else if(e===null){var k=r.stateNode,C=r.memoizedProps;k.props=C;var z=k.context,O=i.contextType;typeof O=="object"&&O!==null?O=Xt(O):(O=Et(i)?xo:mt.current,O=an(r,O));var V=i.getDerivedStateFromProps,K=typeof V=="function"||typeof k.getSnapshotBeforeUpdate=="function";K||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(C!==a||z!==O)&&hv(r,k,a,O),lo=!1;var W=r.memoizedState;k.state=W,ns(r,a,k,d),z=r.memoizedState,C!==a||W!==z||Tt.current||lo?(typeof V=="function"&&(ku(r,i,V,a),z=r.memoizedState),(C=lo||fv(r,i,C,a,W,z,O))?(K||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(r.flags|=4194308)):(typeof k.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=a,r.memoizedState=z),k.props=a,k.state=z,k.context=O,a=C):(typeof k.componentDidMount=="function"&&(r.flags|=4194308),a=!1)}else{k=r.stateNode,qg(e,r),C=r.memoizedProps,O=r.type===r.elementType?C:cr(r.type,C),k.props=O,K=r.pendingProps,W=k.context,z=i.contextType,typeof z=="object"&&z!==null?z=Xt(z):(z=Et(i)?xo:mt.current,z=an(r,z));var ee=i.getDerivedStateFromProps;(V=typeof ee=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(C!==K||W!==z)&&hv(r,k,a,z),lo=!1,W=r.memoizedState,k.state=W,ns(r,a,k,d);var ne=r.memoizedState;C!==K||W!==ne||Tt.current||lo?(typeof ee=="function"&&(ku(r,i,ee,a),ne=r.memoizedState),(O=lo||fv(r,i,O,a,W,ne,z)||!1)?(V||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(a,ne,z),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(a,ne,z)),typeof k.componentDidUpdate=="function"&&(r.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof k.componentDidUpdate!="function"||C===e.memoizedProps&&W===e.memoizedState||(r.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||C===e.memoizedProps&&W===e.memoizedState||(r.flags|=1024),r.memoizedProps=a,r.memoizedState=ne),k.props=a,k.state=ne,k.context=z,a=O):(typeof k.componentDidUpdate!="function"||C===e.memoizedProps&&W===e.memoizedState||(r.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||C===e.memoizedProps&&W===e.memoizedState||(r.flags|=1024),a=!1)}return Bu(e,r,i,a,h,d)}function Bu(e,r,i,a,d,h){Sv(e,r);var k=(r.flags&128)!==0;if(!a&&!k)return d&&zg(r,i,!1),Lr(e,r,h);a=r.stateNode,G3.current=r;var C=k&&typeof i.getDerivedStateFromError!="function"?null:a.render();return r.flags|=1,e!==null&&k?(r.child=fn(r,e.child,null,h),r.child=fn(r,null,C,h)):wt(e,r,C,h),r.memoizedState=a.state,d&&zg(r,i,!0),r.child}function Bv(e){var r=e.stateNode;r.pendingContext?Tg(e,r.pendingContext,r.pendingContext!==r.context):r.context&&Tg(e,r.context,!1),cu(e,r.containerInfo)}function Nv(e,r,i,a,d){return dn(),ru(d),r.flags|=256,wt(e,r,i,a),r.child}var Nu={dehydrated:null,treeContext:null,retryLane:0};function Tu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Tv(e,r,i){var a=r.pendingProps,d=We.current,h=!1,k=(r.flags&128)!==0,C;if((C=k)||(C=e!==null&&e.memoizedState===null?!1:(d&2)!==0),C?(h=!0,r.flags&=-129):(e===null||e.memoizedState!==null)&&(d|=1),De(We,d&1),e===null)return tu(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):(k=a.children,e=a.fallback,h?(a=r.mode,h=r.child,k={mode:"hidden",children:k},(a&1)===0&&h!==null?(h.childLanes=0,h.pendingProps=k):h=Cs(k,a,0,null),e=Ro(e,a,i,null),h.return=r,e.return=r,h.sibling=e,r.child=h,r.child.memoizedState=Tu(i),r.memoizedState=Nu,e):Eu(r,k));if(d=e.memoizedState,d!==null&&(C=d.dehydrated,C!==null))return K3(e,r,k,a,C,d,i);if(h){h=a.fallback,k=r.mode,d=e.child,C=d.sibling;var z={mode:"hidden",children:a.children};return(k&1)===0&&r.child!==d?(a=r.child,a.childLanes=0,a.pendingProps=z,r.deletions=null):(a=ho(d,z),a.subtreeFlags=d.subtreeFlags&14680064),C!==null?h=ho(C,h):(h=Ro(h,k,i,null),h.flags|=2),h.return=r,a.return=r,a.sibling=h,r.child=a,a=h,h=r.child,k=e.child.memoizedState,k=k===null?Tu(i):{baseLanes:k.baseLanes|i,cachePool:null,transitions:k.transitions},h.memoizedState=k,h.childLanes=e.childLanes&~i,r.memoizedState=Nu,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 Eu(e,r){return r=Cs({mode:"visible",children:r},e.mode,0,null),r.return=e,e.child=r}function fs(e,r,i,a){return a!==null&&ru(a),fn(r,e.child,null,i),e=Eu(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function K3(e,r,i,a,d,h,k){if(i)return r.flags&256?(r.flags&=-257,a=_u(Error(n(422))),fs(e,r,k,a)):r.memoizedState!==null?(r.child=e.child,r.flags|=128,null):(h=a.fallback,d=r.mode,a=Cs({mode:"visible",children:a.children},d,0,null),h=Ro(h,d,k,null),h.flags|=2,a.return=r,h.return=r,a.sibling=h,r.child=a,(r.mode&1)!==0&&fn(r,e.child,null,k),r.child.memoizedState=Tu(k),r.memoizedState=Nu,h);if((r.mode&1)===0)return fs(e,r,k,null);if(d.data==="$!"){if(a=d.nextSibling&&d.nextSibling.dataset,a)var C=a.dgst;return a=C,h=Error(n(419)),a=_u(h,a,void 0),fs(e,r,k,a)}if(C=(k&e.childLanes)!==0,zt||C){if(a=lt,a!==null){switch(k&-k){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|k))!==0?0:d,d!==0&&d!==h.retryLane&&(h.retryLane=d,Or(e,d),fr(a,e,d,-1))}return Vu(),a=_u(Error(n(421))),fs(e,r,k,a)}return d.data==="$?"?(r.flags|=128,r.child=e.child,r=s5.bind(null,e),d._reactRetry=r,null):(e=h.treeContext,Lt=ro(d.nextSibling),At=r,Me=!0,ar=null,e!==null&&(Gt[Kt++]=Dr,Gt[Kt++]=jr,Gt[Kt++]=_o,Dr=e.id,jr=e.overflow,_o=r),r=Eu(r,a.children),r.flags|=4096,r)}function Ev(e,r,i){e.lanes|=r;var a=e.alternate;a!==null&&(a.lanes|=r),lu(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 zv(e,r,i){var a=r.pendingProps,d=a.revealOrder,h=a.tail;if(wt(e,r,a.children,i),a=We.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&&Ev(e,i,r);else if(e.tag===19)Ev(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(We,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&&is(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&&is(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 ps(e,r){(r.mode&1)===0&&e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2)}function Lr(e,r,i){if(e!==null&&(r.dependencies=e.dependencies),To|=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 X3(e,r,i){switch(r.tag){case 3:Bv(r),dn();break;case 5:$g(r);break;case 1:Et(r.type)&&Xl(r);break;case 4:cu(r,r.stateNode.containerInfo);break;case 10:var a=r.type._context,d=r.memoizedProps.value;De(ts,a._currentValue),a._currentValue=d;break;case 13:if(a=r.memoizedState,a!==null)return a.dehydrated!==null?(De(We,We.current&1),r.flags|=128,null):(i&r.child.childLanes)!==0?Tv(e,r,i):(De(We,We.current&1),e=Lr(e,r,i),e!==null?e.sibling:null);De(We,We.current&1);break;case 19:if(a=(i&r.childLanes)!==0,(e.flags&128)!==0){if(a)return zv(e,r,i);r.flags|=128}if(d=r.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),De(We,We.current),a)break;return null;case 22:case 23:return r.lanes=0,_v(e,r,i)}return Lr(e,r,i)}var Pv,Pu,Rv,Fv;Pv=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}},Pu=function(){},Rv=function(e,r,i,a){var d=e.memoizedProps;if(d!==a){e=r.stateNode,Bo(xr.current);var h=null;switch(i){case"input":d=lc(e,d),a=lc(e,a),h=[];break;case"select":d=J({},d,{value:void 0}),a=J({},a,{value:void 0}),h=[];break;case"textarea":d=cc(e,d),a=cc(e,a),h=[];break;default:typeof d.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Ul)}dc(i,a);var k;i=null;for(O in d)if(!a.hasOwnProperty(O)&&d.hasOwnProperty(O)&&d[O]!=null)if(O==="style"){var C=d[O];for(k in C)C.hasOwnProperty(k)&&(i||(i={}),i[k]="")}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 z=a[O];if(C=d?.[O],a.hasOwnProperty(O)&&z!==C&&(z!=null||C!=null))if(O==="style")if(C){for(k in C)!C.hasOwnProperty(k)||z&&z.hasOwnProperty(k)||(i||(i={}),i[k]="");for(k in z)z.hasOwnProperty(k)&&C[k]!==z[k]&&(i||(i={}),i[k]=z[k])}else i||(h||(h=[]),h.push(O,i)),i=z;else O==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,C=C?C.__html:void 0,z!=null&&C!==z&&(h=h||[]).push(O,z)):O==="children"?typeof z!="string"&&typeof z!="number"||(h=h||[]).push(O,""+z):O!=="suppressContentEditableWarning"&&O!=="suppressHydrationWarning"&&(s.hasOwnProperty(O)?(z!=null&&O==="onScroll"&&Oe("scroll",e),h||C===z||(h=[])):(h=h||[]).push(O,z))}i&&(h=h||[]).push("style",i);var O=h;(r.updateQueue=O)&&(r.flags|=4)}},Fv=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 Q3(e,r,i){var a=r.pendingProps;switch(Zc(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)&&Kl(),vt(r),null;case 3:return a=r.stateNode,mn(),Ae(Tt),Ae(mt),fu(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Zl(r)?r.flags|=4:e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,ar!==null&&(Hu(ar),ar=null))),Pu(e,r),vt(r),null;case 5:uu(r);var d=Bo(gi.current);if(i=r.type,e!==null&&r.stateNode!=null)Rv(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=Bo(xr.current),Zl(r)){a=r.stateNode,i=r.type;var h=r.memoizedProps;switch(a[kr]=r,a[di]=h,e=(r.mode&1)!==0,i){case"dialog":Oe("cancel",a),Oe("close",a);break;case"iframe":case"object":case"embed":Oe("load",a);break;case"video":case"audio":for(d=0;d<ai.length;d++)Oe(ai[d],a);break;case"source":Oe("error",a);break;case"img":case"image":case"link":Oe("error",a),Oe("load",a);break;case"details":Oe("toggle",a);break;case"input":pm(a,h),Oe("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!h.multiple},Oe("invalid",a);break;case"textarea":gm(a,h),Oe("invalid",a)}dc(i,h),d=null;for(var k in h)if(h.hasOwnProperty(k)){var C=h[k];k==="children"?typeof C=="string"?a.textContent!==C&&(h.suppressHydrationWarning!==!0&&Vl(a.textContent,C,e),d=["children",C]):typeof C=="number"&&a.textContent!==""+C&&(h.suppressHydrationWarning!==!0&&Vl(a.textContent,C,e),d=["children",""+C]):s.hasOwnProperty(k)&&C!=null&&k==="onScroll"&&Oe("scroll",a)}switch(i){case"input":xl(a),mm(a,h,!0);break;case"textarea":xl(a),bm(a);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(a.onclick=Ul)}a=d,r.updateQueue=a,a!==null&&(r.flags|=4)}else{k=d.nodeType===9?d:d.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ym(i)),e==="http://www.w3.org/1999/xhtml"?i==="script"?(e=k.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=k.createElement(i,{is:a.is}):(e=k.createElement(i),i==="select"&&(k=e,a.multiple?k.multiple=!0:a.size&&(k.size=a.size))):e=k.createElementNS(e,i),e[kr]=r,e[di]=a,Pv(e,r,!1,!1),r.stateNode=e;e:{switch(k=fc(i,a),i){case"dialog":Oe("cancel",e),Oe("close",e),d=a;break;case"iframe":case"object":case"embed":Oe("load",e),d=a;break;case"video":case"audio":for(d=0;d<ai.length;d++)Oe(ai[d],e);d=a;break;case"source":Oe("error",e),d=a;break;case"img":case"image":case"link":Oe("error",e),Oe("load",e),d=a;break;case"details":Oe("toggle",e),d=a;break;case"input":pm(e,a),d=lc(e,a),Oe("invalid",e);break;case"option":d=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},d=J({},a,{value:void 0}),Oe("invalid",e);break;case"textarea":gm(e,a),d=cc(e,a),Oe("invalid",e);break;default:d=a}dc(i,d),C=d;for(h in C)if(C.hasOwnProperty(h)){var z=C[h];h==="style"?xm(e,z):h==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,z!=null&&wm(e,z)):h==="children"?typeof z=="string"?(i!=="textarea"||z!=="")&&Wn(e,z):typeof z=="number"&&Wn(e,""+z):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(s.hasOwnProperty(h)?z!=null&&h==="onScroll"&&Oe("scroll",e):z!=null&&T(e,h,z,k))}switch(i){case"input":xl(e),mm(e,a,!1);break;case"textarea":xl(e),bm(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?Xo(e,!!a.multiple,h,!1):a.defaultValue!=null&&Xo(e,!!a.multiple,a.defaultValue,!0);break;default:typeof d.onClick=="function"&&(e.onclick=Ul)}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)Fv(e,r,e.memoizedProps,a);else{if(typeof a!="string"&&r.stateNode===null)throw Error(n(166));if(i=Bo(gi.current),Bo(xr.current),Zl(r)){if(a=r.stateNode,i=r.memoizedProps,a[kr]=r,(h=a.nodeValue!==i)&&(e=At,e!==null))switch(e.tag){case 3:Vl(a.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Vl(a.nodeValue,i,(e.mode&1)!==0)}h&&(r.flags|=4)}else a=(i.nodeType===9?i:i.ownerDocument).createTextNode(a),a[kr]=r,r.stateNode=a}return vt(r),null;case 13:if(Ae(We),a=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Me&&Lt!==null&&(r.mode&1)!==0&&(r.flags&128)===0)jg(),dn(),r.flags|=98560,h=!1;else if(h=Zl(r),a!==null&&a.dehydrated!==null){if(e===null){if(!h)throw Error(n(318));if(h=r.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(n(317));h[kr]=r}else dn(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;vt(r),h=!1}else ar!==null&&(Hu(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||(We.current&1)!==0?ot===0&&(ot=3):Vu())),r.updateQueue!==null&&(r.flags|=4),vt(r),null);case 4:return mn(),Pu(e,r),e===null&&ci(r.stateNode.containerInfo),vt(r),null;case 10:return iu(r.type._context),vt(r),null;case 17:return Et(r.type)&&Kl(),vt(r),null;case 19:if(Ae(We),h=r.memoizedState,h===null)return vt(r),null;if(a=(r.flags&128)!==0,k=h.rendering,k===null)if(a)ki(h,!1);else{if(ot!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(k=is(e),k!==null){for(r.flags|=128,ki(h,!1),a=k.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,k=h.alternate,k===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=k.childLanes,h.lanes=k.lanes,h.child=k.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=k.memoizedProps,h.memoizedState=k.memoizedState,h.updateQueue=k.updateQueue,h.type=k.type,e=k.dependencies,h.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return De(We,We.current&1|2),r.child}e=e.sibling}h.tail!==null&&Ye()>yn&&(r.flags|=128,a=!0,ki(h,!1),r.lanes=4194304)}else{if(!a)if(e=is(k),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"&&!k.alternate&&!Me)return vt(r),null}else 2*Ye()-h.renderingStartTime>yn&&i!==1073741824&&(r.flags|=128,a=!0,ki(h,!1),r.lanes=4194304);h.isBackwards?(k.sibling=r.child,r.child=k):(i=h.last,i!==null?i.sibling=k:r.child=k,h.last=k)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=Ye(),r.sibling=null,i=We.current,De(We,a?i&1|2:i&1),r):(vt(r),null);case 22:case 23:return $u(),a=r.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(r.flags|=8192),a&&(r.mode&1)!==0?(Mt&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 Y3(e,r){switch(Zc(r),r.tag){case 1:return Et(r.type)&&Kl(),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return mn(),Ae(Tt),Ae(mt),fu(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 5:return uu(r),null;case 13:if(Ae(We),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(n(340));dn()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Ae(We),null;case 4:return mn(),null;case 10:return iu(r.type._context),null;case 22:case 23:return $u(),null;case 24:return null;default:return null}}var hs=!1,bt=!1,J3=typeof WeakSet=="function"?WeakSet:Set,oe=null;function vn(e,r){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){Ge(e,r,a)}else i.current=null}function Ru(e,r,i){try{i()}catch(a){Ge(e,r,a)}}var Iv=!1;function Z3(e,r){if($c=Il,e=fg(),jc(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 k=0,C=-1,z=-1,O=0,V=0,K=e,W=null;t:for(;;){for(var ee;K!==i||d!==0&&K.nodeType!==3||(C=k+d),K!==h||a!==0&&K.nodeType!==3||(z=k+a),K.nodeType===3&&(k+=K.nodeValue.length),(ee=K.firstChild)!==null;)W=K,K=ee;for(;;){if(K===e)break t;if(W===i&&++O===d&&(C=k),W===h&&++V===a&&(z=k),(ee=K.nextSibling)!==null)break;K=W,W=K.parentNode}K=ee}i=C===-1||z===-1?null:{start:C,end:z}}else i=null}i=i||{start:0,end:0}}else i=null;for(Vc={focusedElem:e,selectionRange:i},Il=!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,Je=ne.memoizedState,I=r.stateNode,P=I.getSnapshotBeforeUpdate(r.elementType===r.type?ie:cr(r.type,ie),Je);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(X){Ge(r,r.return,X)}if(e=r.sibling,e!==null){e.return=r.return,oe=e;break}oe=r.return}return ne=Iv,Iv=!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&&Ru(r,i,h)}d=d.next}while(d!==a)}}function ms(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 Fu(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 Dv(e){var r=e.alternate;r!==null&&(e.alternate=null,Dv(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&(delete r[kr],delete r[di],delete r[Xc],delete r[D3],delete r[j3])),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 jv(e){return e.tag===5||e.tag===3||e.tag===4}function Ov(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jv(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 Iu(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=Ul));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}function Du(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(Du(e,r,i),e=e.sibling;e!==null;)Du(e,r,i),e=e.sibling}var ct=null,ur=!1;function ao(e,r,i){for(i=i.child;i!==null;)Av(e,r,i),i=i.sibling}function Av(e,r,i){if(wr&&typeof wr.onCommitFiberUnmount=="function")try{wr.onCommitFiberUnmount(Tl,i)}catch{}switch(i.tag){case 5:bt||vn(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?Kc(e.parentNode,i):e.nodeType===1&&Kc(e,i),ei(e)):Kc(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,k=h.destroy;h=h.tag,k!==void 0&&((h&2)!==0||(h&4)!==0)&&Ru(i,r,k),d=d.next}while(d!==a)}ao(e,r,i);break;case 1:if(!bt&&(vn(i,r),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(C){Ge(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 Lv(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new J3),r.forEach(function(a){var d=a5.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,k=r,C=k;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));Av(h,k,d),ct=null,ur=!1;var z=d.alternate;z!==null&&(z.return=null),d.return=null}catch(O){Ge(d,r,O)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Mv(r,e),r=r.sibling}function Mv(e,r){var i=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(dr(r,e),Sr(e),a&4){try{xi(3,e,e.return),ms(3,e)}catch(ie){Ge(e,e.return,ie)}try{xi(5,e,e.return)}catch(ie){Ge(e,e.return,ie)}}break;case 1:dr(r,e),Sr(e),a&512&&i!==null&&vn(i,i.return);break;case 5:if(dr(r,e),Sr(e),a&512&&i!==null&&vn(i,i.return),e.flags&32){var d=e.stateNode;try{Wn(d,"")}catch(ie){Ge(e,e.return,ie)}}if(a&4&&(d=e.stateNode,d!=null)){var h=e.memoizedProps,k=i!==null?i.memoizedProps:h,C=e.type,z=e.updateQueue;if(e.updateQueue=null,z!==null)try{C==="input"&&h.type==="radio"&&h.name!=null&&hm(d,h),fc(C,k);var O=fc(C,h);for(k=0;k<z.length;k+=2){var V=z[k],K=z[k+1];V==="style"?xm(d,K):V==="dangerouslySetInnerHTML"?wm(d,K):V==="children"?Wn(d,K):T(d,V,K,O)}switch(C){case"input":sc(d,h);break;case"textarea":vm(d,h);break;case"select":var W=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!h.multiple;var ee=h.value;ee!=null?Xo(d,!!h.multiple,ee,!1):W!==!!h.multiple&&(h.defaultValue!=null?Xo(d,!!h.multiple,h.defaultValue,!0):Xo(d,!!h.multiple,h.multiple?[]:"",!1))}d[di]=h}catch(ie){Ge(e,e.return,ie)}}break;case 6:if(dr(r,e),Sr(e),a&4){if(e.stateNode===null)throw Error(n(162));d=e.stateNode,h=e.memoizedProps;try{d.nodeValue=h}catch(ie){Ge(e,e.return,ie)}}break;case 3:if(dr(r,e),Sr(e),a&4&&i!==null&&i.memoizedState.isDehydrated)try{ei(r.containerInfo)}catch(ie){Ge(e,e.return,ie)}break;case 4:dr(r,e),Sr(e);break;case 13:dr(r,e),Sr(e),d=e.child,d.flags&8192&&(h=d.memoizedState!==null,d.stateNode.isHidden=h,!h||d.alternate!==null&&d.alternate.memoizedState!==null||(Au=Ye())),a&4&&Lv(e);break;case 22:if(V=i!==null&&i.memoizedState!==null,e.mode&1?(bt=(O=bt)||V,dr(r,e),bt=O):dr(r,e),Sr(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(K=oe=V;oe!==null;){switch(W=oe,ee=W.child,W.tag){case 0:case 11:case 14:case 15:xi(4,W,W.return);break;case 1:vn(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){Ge(a,i,ie)}}break;case 5:vn(W,W.return);break;case 22:if(W.memoizedState!==null){Wv(K);continue}}ee!==null?(ee.return=W,oe=ee):Wv(K)}V=V.sibling}e:for(V=null,K=e;;){if(K.tag===5){if(V===null){V=K;try{d=K.stateNode,O?(h=d.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(C=K.stateNode,z=K.memoizedProps.style,k=z!=null&&z.hasOwnProperty("display")?z.display:null,C.style.display=km("display",k))}catch(ie){Ge(e,e.return,ie)}}}else if(K.tag===6){if(V===null)try{K.stateNode.nodeValue=O?"":K.memoizedProps}catch(ie){Ge(e,e.return,ie)}}else if((K.tag!==22&&K.tag!==23||K.memoizedState===null||K===e)&&K.child!==null){K.child.return=K,K=K.child;continue}if(K===e)break e;for(;K.sibling===null;){if(K.return===null||K.return===e)break e;V===K&&(V=null),K=K.return}V===K&&(V=null),K.sibling.return=K.return,K=K.sibling}}break;case 19:dr(r,e),Sr(e),a&4&&Lv(e);break;case 21:break;default:dr(r,e),Sr(e)}}function Sr(e){var r=e.flags;if(r&2){try{e:{for(var i=e.return;i!==null;){if(jv(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=Ov(e);Du(e,h,d);break;case 3:case 4:var k=a.stateNode.containerInfo,C=Ov(e);Iu(e,C,k);break;default:throw Error(n(161))}}catch(z){Ge(e,e.return,z)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function e5(e,r,i){oe=e,qv(e)}function qv(e,r,i){for(var a=(e.mode&1)!==0;oe!==null;){var d=oe,h=d.child;if(d.tag===22&&a){var k=d.memoizedState!==null||hs;if(!k){var C=d.alternate,z=C!==null&&C.memoizedState!==null||bt;C=hs;var O=bt;if(hs=k,(bt=z)&&!O)for(oe=d;oe!==null;)k=oe,z=k.child,k.tag===22&&k.memoizedState!==null?$v(d):z!==null?(z.return=k,oe=z):$v(d);for(;h!==null;)oe=h,qv(h),h=h.sibling;oe=d,hs=C,bt=O}Hv(e)}else(d.subtreeFlags&8772)!==0&&h!==null?(h.return=d,oe=h):Hv(e)}}function Hv(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||ms(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&&Wg(r,h,a);break;case 3:var k=r.updateQueue;if(k!==null){if(i=null,r.child!==null)switch(r.child.tag){case 5:i=r.child.stateNode;break;case 1:i=r.child.stateNode}Wg(r,k,i)}break;case 5:var C=r.stateNode;if(i===null&&r.flags&4){i=C;var z=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":z.autoFocus&&i.focus();break;case"img":z.src&&(i.src=z.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var O=r.alternate;if(O!==null){var V=O.memoizedState;if(V!==null){var K=V.dehydrated;K!==null&&ei(K)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}bt||r.flags&512&&Fu(r)}catch(W){Ge(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 Wv(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 $v(e){for(;oe!==null;){var r=oe;try{switch(r.tag){case 0:case 11:case 15:var i=r.return;try{ms(4,r)}catch(z){Ge(r,i,z)}break;case 1:var a=r.stateNode;if(typeof a.componentDidMount=="function"){var d=r.return;try{a.componentDidMount()}catch(z){Ge(r,d,z)}}var h=r.return;try{Fu(r)}catch(z){Ge(r,h,z)}break;case 5:var k=r.return;try{Fu(r)}catch(z){Ge(r,k,z)}}}catch(z){Ge(r,r.return,z)}if(r===e){oe=null;break}var C=r.sibling;if(C!==null){C.return=r.return,oe=C;break}oe=r.return}}var t5=Math.ceil,gs=N.ReactCurrentDispatcher,ju=N.ReactCurrentOwner,Yt=N.ReactCurrentBatchConfig,_e=0,lt=null,et=null,ut=0,Mt=0,bn=oo(0),ot=0,_i=null,To=0,vs=0,Ou=0,Si=null,Pt=null,Au=0,yn=1/0,Mr=null,bs=!1,Lu=null,co=null,ys=!1,uo=null,ws=0,Ci=0,Mu=null,ks=-1,xs=0;function kt(){return(_e&6)!==0?Ye():ks!==-1?ks:ks=Ye()}function fo(e){return(e.mode&1)===0?1:(_e&2)!==0&&ut!==0?ut&-ut:A3.transition!==null?(xs===0&&(xs=Om()),xs):(e=ze,e!==0||(e=window.event,e=e===void 0?16:Um(e.type)),e)}function fr(e,r,i,a){if(50<Ci)throw Ci=0,Mu=null,Error(n(185));Xn(e,i,a),((_e&2)===0||e!==lt)&&(e===lt&&((_e&2)===0&&(vs|=i),ot===4&&po(e,ut)),Rt(e,a),i===1&&_e===0&&(r.mode&1)===0&&(yn=Ye()+500,Ql&&io()))}function Rt(e,r){var i=e.callbackNode;AB(e,r);var a=Pl(e,e===lt?ut:0);if(a===0)i!==null&&Im(i),e.callbackNode=null,e.callbackPriority=0;else if(r=a&-a,e.callbackPriority!==r){if(i!=null&&Im(i),r===1)e.tag===0?O3(Uv.bind(null,e)):Pg(Uv.bind(null,e)),F3(function(){(_e&6)===0&&io()}),i=null;else{switch(Am(a)){case 1:i=yc;break;case 4:i=Dm;break;case 16:i=Nl;break;case 536870912:i=jm;break;default:i=Nl}i=e0(i,Vv.bind(null,e))}e.callbackPriority=r,e.callbackNode=i}}function Vv(e,r){if(ks=-1,xs=0,(_e&6)!==0)throw Error(n(327));var i=e.callbackNode;if(wn()&&e.callbackNode!==i)return null;var a=Pl(e,e===lt?ut:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||r)r=_s(e,a);else{r=a;var d=_e;_e|=2;var h=Kv();(lt!==e||ut!==r)&&(Mr=null,yn=Ye()+500,zo(e,r));do try{n5();break}catch(C){Gv(e,C)}while(!0);nu(),gs.current=h,_e=d,et!==null?r=0:(lt=null,ut=0,r=ot)}if(r!==0){if(r===2&&(d=wc(e),d!==0&&(a=d,r=qu(e,d))),r===1)throw i=_i,zo(e,0),po(e,a),Rt(e,Ye()),i;if(r===6)po(e,a);else{if(d=e.current.alternate,(a&30)===0&&!r5(d)&&(r=_s(e,a),r===2&&(h=wc(e),h!==0&&(a=h,r=qu(e,h))),r===1))throw i=_i,zo(e,0),po(e,a),Rt(e,Ye()),i;switch(e.finishedWork=d,e.finishedLanes=a,r){case 0:case 1:throw Error(n(345));case 2:Po(e,Pt,Mr);break;case 3:if(po(e,a),(a&130023424)===a&&(r=Au+500-Ye(),10<r)){if(Pl(e,0)!==0)break;if(d=e.suspendedLanes,(d&a)!==a){kt(),e.pingedLanes|=e.suspendedLanes&d;break}e.timeoutHandle=Gc(Po.bind(null,e,Pt,Mr),r);break}Po(e,Pt,Mr);break;case 4:if(po(e,a),(a&4194240)===a)break;for(r=e.eventTimes,d=-1;0<a;){var k=31-lr(a);h=1<<k,k=r[k],k>d&&(d=k),a&=~h}if(a=d,a=Ye()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*t5(a/1960))-a,10<a){e.timeoutHandle=Gc(Po.bind(null,e,Pt,Mr),a);break}Po(e,Pt,Mr);break;case 5:Po(e,Pt,Mr);break;default:throw Error(n(329))}}}return Rt(e,Ye()),e.callbackNode===i?Vv.bind(null,e):null}function qu(e,r){var i=Si;return e.current.memoizedState.isDehydrated&&(zo(e,r).flags|=256),e=_s(e,r),e!==2&&(r=Pt,Pt=i,r!==null&&Hu(r)),e}function Hu(e){Pt===null?Pt=e:Pt.push.apply(Pt,e)}function r5(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&=~Ou,r&=~vs,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 Uv(e){if((_e&6)!==0)throw Error(n(327));wn();var r=Pl(e,0);if((r&1)===0)return Rt(e,Ye()),null;var i=_s(e,r);if(e.tag!==0&&i===2){var a=wc(e);a!==0&&(r=a,i=qu(e,a))}if(i===1)throw i=_i,zo(e,0),po(e,r),Rt(e,Ye()),i;if(i===6)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=r,Po(e,Pt,Mr),Rt(e,Ye()),null}function Wu(e,r){var i=_e;_e|=1;try{return e(r)}finally{_e=i,_e===0&&(yn=Ye()+500,Ql&&io())}}function Eo(e){uo!==null&&uo.tag===0&&(_e&6)===0&&wn();var r=_e;_e|=1;var i=Yt.transition,a=ze;try{if(Yt.transition=null,ze=1,e)return e()}finally{ze=a,Yt.transition=i,_e=r,(_e&6)===0&&io()}}function $u(){Mt=bn.current,Ae(bn)}function zo(e,r){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,R3(i)),et!==null)for(i=et.return;i!==null;){var a=i;switch(Zc(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Kl();break;case 3:mn(),Ae(Tt),Ae(mt),fu();break;case 5:uu(a);break;case 4:mn();break;case 13:Ae(We);break;case 19:Ae(We);break;case 10:iu(a.type._context);break;case 22:case 23:$u()}i=i.return}if(lt=e,et=e=ho(e.current,null),ut=Mt=r,ot=0,_i=null,Ou=vs=To=0,Pt=Si=null,Co!==null){for(r=0;r<Co.length;r++)if(i=Co[r],a=i.interleaved,a!==null){i.interleaved=null;var d=a.next,h=i.pending;if(h!==null){var k=h.next;h.next=d,a.next=k}i.pending=a}Co=null}return e}function Gv(e,r){do{var i=et;try{if(nu(),ls.current=us,ss){for(var a=$e.memoizedState;a!==null;){var d=a.queue;d!==null&&(d.pending=null),a=a.next}ss=!1}if(No=0,it=rt=$e=null,vi=!1,bi=0,ju.current=null,i===null||i.return===null){ot=1,_i=r,et=null;break}e:{var h=e,k=i.return,C=i,z=r;if(r=ut,C.flags|=32768,z!==null&&typeof z=="object"&&typeof z.then=="function"){var O=z,V=C,K=V.tag;if((V.mode&1)===0&&(K===0||K===11||K===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 ee=bv(k);if(ee!==null){ee.flags&=-257,yv(ee,k,C,h,r),ee.mode&1&&vv(h,O,r),r=ee,z=O;var ne=r.updateQueue;if(ne===null){var ie=new Set;ie.add(z),r.updateQueue=ie}else ne.add(z);break e}else{if((r&1)===0){vv(h,O,r),Vu();break e}z=Error(n(426))}}else if(Me&&C.mode&1){var Je=bv(k);if(Je!==null){(Je.flags&65536)===0&&(Je.flags|=256),yv(Je,k,C,h,r),ru(gn(z,C));break e}}h=z=gn(z,C),ot!==4&&(ot=2),Si===null?Si=[h]:Si.push(h),h=k;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var I=mv(h,z,r);Hg(h,I);break e;case 1:C=z;var P=h.type,j=h.stateNode;if((h.flags&128)===0&&(typeof P.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(co===null||!co.has(j)))){h.flags|=65536,r&=-r,h.lanes|=r;var X=gv(h,C,r);Hg(h,X);break e}}h=h.return}while(h!==null)}Qv(i)}catch(se){r=se,et===i&&i!==null&&(et=i=i.return);continue}break}while(!0)}function Kv(){var e=gs.current;return gs.current=us,e===null?us:e}function Vu(){(ot===0||ot===3||ot===2)&&(ot=4),lt===null||(To&268435455)===0&&(vs&268435455)===0||po(lt,ut)}function _s(e,r){var i=_e;_e|=2;var a=Kv();(lt!==e||ut!==r)&&(Mr=null,zo(e,r));do try{o5();break}catch(d){Gv(e,d)}while(!0);if(nu(),_e=i,gs.current=a,et!==null)throw Error(n(261));return lt=null,ut=0,ot}function o5(){for(;et!==null;)Xv(et)}function n5(){for(;et!==null&&!EB();)Xv(et)}function Xv(e){var r=Zv(e.alternate,e,Mt);e.memoizedProps=e.pendingProps,r===null?Qv(e):et=r,ju.current=null}function Qv(e){var r=e;do{var i=r.alternate;if(e=r.return,(r.flags&32768)===0){if(i=Q3(i,r,Mt),i!==null){et=i;return}}else{if(i=Y3(i,r),i!==null){i.flags&=32767,et=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ot=6,et=null;return}}if(r=r.sibling,r!==null){et=r;return}et=r=e}while(r!==null);ot===0&&(ot=5)}function Po(e,r,i){var a=ze,d=Yt.transition;try{Yt.transition=null,ze=1,i5(e,r,i,a)}finally{Yt.transition=d,ze=a}return null}function i5(e,r,i,a){do wn();while(uo!==null);if((_e&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(LB(e,h),e===lt&&(et=lt=null,ut=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||ys||(ys=!0,e0(Nl,function(){return wn(),null})),h=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||h){h=Yt.transition,Yt.transition=null;var k=ze;ze=1;var C=_e;_e|=4,ju.current=null,Z3(e,i),Mv(i,e),C3(Vc),Il=!!$c,Vc=$c=null,e.current=i,e5(i),zB(),_e=C,ze=k,Yt.transition=h}else e.current=i;if(ys&&(ys=!1,uo=e,ws=d),h=e.pendingLanes,h===0&&(co=null),FB(i.stateNode),Rt(e,Ye()),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(bs)throw bs=!1,e=Lu,Lu=null,e;return(ws&1)!==0&&e.tag!==0&&wn(),h=e.pendingLanes,(h&1)!==0?e===Mu?Ci++:(Ci=0,Mu=e):Ci=0,io(),null}function wn(){if(uo!==null){var e=Am(ws),r=Yt.transition,i=ze;try{if(Yt.transition=null,ze=16>e?16:e,uo===null)var a=!1;else{if(e=uo,uo=null,ws=0,(_e&6)!==0)throw Error(n(331));var d=_e;for(_e|=4,oe=e.current;oe!==null;){var h=oe,k=h.child;if((oe.flags&16)!==0){var C=h.deletions;if(C!==null){for(var z=0;z<C.length;z++){var O=C[z];for(oe=O;oe!==null;){var V=oe;switch(V.tag){case 0:case 11:case 15:xi(8,V,h)}var K=V.child;if(K!==null)K.return=V,oe=K;else for(;oe!==null;){V=oe;var W=V.sibling,ee=V.return;if(Dv(V),V===O){oe=null;break}if(W!==null){W.return=ee,oe=W;break}oe=ee}}}var ne=h.alternate;if(ne!==null){var ie=ne.child;if(ie!==null){ne.child=null;do{var Je=ie.sibling;ie.sibling=null,ie=Je}while(ie!==null)}}oe=h}}if((h.subtreeFlags&2064)!==0&&k!==null)k.return=h,oe=k;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;){k=oe;var j=k.child;if((k.subtreeFlags&2064)!==0&&j!==null)j.return=k,oe=j;else e:for(k=P;oe!==null;){if(C=oe,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:ms(9,C)}}catch(se){Ge(C,C.return,se)}if(C===k){oe=null;break e}var X=C.sibling;if(X!==null){X.return=C.return,oe=X;break e}oe=C.return}}if(_e=d,io(),wr&&typeof wr.onPostCommitFiberRoot=="function")try{wr.onPostCommitFiberRoot(Tl,e)}catch{}a=!0}return a}finally{ze=i,Yt.transition=r}}return!1}function Yv(e,r,i){r=gn(i,r),r=mv(e,r,1),e=so(e,r,1),r=kt(),e!==null&&(Xn(e,1,r),Rt(e,r))}function Ge(e,r,i){if(e.tag===3)Yv(e,e,i);else for(;r!==null;){if(r.tag===3){Yv(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=gn(i,e),e=gv(r,e,1),r=so(r,e,1),e=kt(),r!==null&&(Xn(r,1,e),Rt(r,e));break}}r=r.return}}function l5(e,r,i){var a=e.pingCache;a!==null&&a.delete(r),r=kt(),e.pingedLanes|=e.suspendedLanes&i,lt===e&&(ut&i)===i&&(ot===4||ot===3&&(ut&130023424)===ut&&500>Ye()-Au?zo(e,0):Ou|=i),Rt(e,r)}function Jv(e,r){r===0&&((e.mode&1)===0?r=1:(r=zl,zl<<=1,(zl&130023424)===0&&(zl=4194304)));var i=kt();e=Or(e,r),e!==null&&(Xn(e,r,i),Rt(e,i))}function s5(e){var r=e.memoizedState,i=0;r!==null&&(i=r.retryLane),Jv(e,i)}function a5(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),Jv(e,i)}var Zv;Zv=function(e,r,i){if(e!==null)if(e.memoizedProps!==r.pendingProps||Tt.current)zt=!0;else{if((e.lanes&i)===0&&(r.flags&128)===0)return zt=!1,X3(e,r,i);zt=(e.flags&131072)!==0}else zt=!1,Me&&(r.flags&1048576)!==0&&Rg(r,Jl,r.index);switch(r.lanes=0,r.tag){case 2:var a=r.type;ps(e,r),e=r.pendingProps;var d=an(r,mt.current);hn(r,i),d=mu(null,r,a,e,d,i);var h=gu();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,Xl(r)):h=!1,r.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,au(r),d.updater=ds,r.stateNode=d,d._reactInternals=r,xu(r,a,e,i),r=Bu(null,r,a,!0,h,i)):(r.tag=0,Me&&h&&Jc(r),wt(null,r,d,i),r=r.child),r;case 16:a=r.elementType;e:{switch(ps(e,r),e=r.pendingProps,d=a._init,a=d(a._payload),r.type=a,d=r.tag=u5(a),e=cr(a,e),d){case 0:r=Cu(null,r,a,e,i);break e;case 1:r=Cv(null,r,a,e,i);break e;case 11:r=wv(null,r,a,e,i);break e;case 14:r=kv(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),Cu(e,r,a,d,i);case 1:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:cr(a,d),Cv(e,r,a,d,i);case 3:e:{if(Bv(r),e===null)throw Error(n(387));a=r.pendingProps,h=r.memoizedState,d=h.element,qg(e,r),ns(r,a,null,i);var k=r.memoizedState;if(a=k.element,h.isDehydrated)if(h={element:a,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){d=gn(Error(n(423)),r),r=Nv(e,r,a,i,d);break e}else if(a!==d){d=gn(Error(n(424)),r),r=Nv(e,r,a,i,d);break e}else for(Lt=ro(r.stateNode.containerInfo.firstChild),At=r,Me=!0,ar=null,i=Lg(r,null,a,i),r.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(dn(),a===d){r=Lr(e,r,i);break e}wt(e,r,a,i)}r=r.child}return r;case 5:return $g(r),e===null&&tu(r),a=r.type,d=r.pendingProps,h=e!==null?e.memoizedProps:null,k=d.children,Uc(a,d)?k=null:h!==null&&Uc(a,h)&&(r.flags|=32),Sv(e,r),wt(e,r,k,i),r.child;case 6:return e===null&&tu(r),null;case 13:return Tv(e,r,i);case 4:return cu(r,r.stateNode.containerInfo),a=r.pendingProps,e===null?r.child=fn(r,null,a,i):wt(e,r,a,i),r.child;case 11:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:cr(a,d),wv(e,r,a,d,i);case 7:return wt(e,r,r.pendingProps,i),r.child;case 8:return wt(e,r,r.pendingProps.children,i),r.child;case 12:return wt(e,r,r.pendingProps.children,i),r.child;case 10:e:{if(a=r.type._context,d=r.pendingProps,h=r.memoizedProps,k=d.value,De(ts,a._currentValue),a._currentValue=k,h!==null)if(sr(h.value,k)){if(h.children===d.children&&!Tt.current){r=Lr(e,r,i);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var C=h.dependencies;if(C!==null){k=h.child;for(var z=C.firstContext;z!==null;){if(z.context===a){if(h.tag===1){z=Ar(-1,i&-i),z.tag=2;var O=h.updateQueue;if(O!==null){O=O.shared;var V=O.pending;V===null?z.next=z:(z.next=V.next,V.next=z),O.pending=z}}h.lanes|=i,z=h.alternate,z!==null&&(z.lanes|=i),lu(h.return,i,r),C.lanes|=i;break}z=z.next}}else if(h.tag===10)k=h.type===r.type?null:h.child;else if(h.tag===18){if(k=h.return,k===null)throw Error(n(341));k.lanes|=i,C=k.alternate,C!==null&&(C.lanes|=i),lu(k,i,r),k=h.sibling}else k=h.child;if(k!==null)k.return=h;else for(k=h;k!==null;){if(k===r){k=null;break}if(h=k.sibling,h!==null){h.return=k.return,k=h;break}k=k.return}h=k}wt(e,r,d.children,i),r=r.child}return r;case 9:return d=r.type,a=r.pendingProps.children,hn(r,i),d=Xt(d),a=a(d),r.flags|=1,wt(e,r,a,i),r.child;case 14:return a=r.type,d=cr(a,r.pendingProps),d=cr(a.type,d),kv(e,r,a,d,i);case 15:return xv(e,r,r.type,r.pendingProps,i);case 17:return a=r.type,d=r.pendingProps,d=r.elementType===a?d:cr(a,d),ps(e,r),r.tag=1,Et(a)?(e=!0,Xl(r)):e=!1,hn(r,i),pv(r,a,d),xu(r,a,d,i),Bu(null,r,a,!0,e,i);case 19:return zv(e,r,i);case 22:return _v(e,r,i)}throw Error(n(156,r.tag))};function e0(e,r){return Fm(e,r)}function c5(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 c5(e,r,i,a)}function Uu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function u5(e){if(typeof e=="function")return Uu(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 Ss(e,r,i,a,d,h){var k=2;if(a=e,typeof e=="function")Uu(e)&&(k=1);else if(typeof e=="string")k=5;else e:switch(e){case D:return Ro(i.children,d,h,r);case M:k=8,d|=8;break;case U:return e=Jt(12,i,r,d|2),e.elementType=U,e.lanes=h,e;case H:return e=Jt(13,i,r,d),e.elementType=H,e.lanes=h,e;case Z:return e=Jt(19,i,r,d),e.elementType=Z,e.lanes=h,e;case me:return Cs(i,d,h,r);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Y:k=10;break e;case ae:k=9;break e;case he:k=11;break e;case xe:k=14;break e;case be:k=16,a=null;break e}throw Error(n(130,e==null?e:typeof e,""))}return r=Jt(k,i,r,d),r.elementType=e,r.type=a,r.lanes=h,r}function Ro(e,r,i,a){return e=Jt(7,e,a,r),e.lanes=i,e}function Cs(e,r,i,a){return e=Jt(22,e,a,r),e.elementType=me,e.lanes=i,e.stateNode={isHidden:!1},e}function Gu(e,r,i){return e=Jt(6,e,null,r),e.lanes=i,e}function Ku(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 d5(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=kc(0),this.expirationTimes=kc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kc(0),this.identifierPrefix=a,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function Xu(e,r,i,a,d,h,k,C,z){return e=new d5(e,r,i,C,z),r===1?(r=1,h===!0&&(r|=8)):r=0,h=Jt(3,null,null,r),e.current=h,h.stateNode=e,h.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},au(h),e}function f5(e,r,i){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:A,key:a==null?null:""+a,children:e,containerInfo:r,implementation:i}}function t0(e){if(!e)return no;e=e._reactInternals;e:{if(wo(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 Eg(e,i,r)}return r}function r0(e,r,i,a,d,h,k,C,z){return e=Xu(i,a,!0,e,d,h,k,C,z),e.context=t0(null),i=e.current,a=kt(),d=fo(i),h=Ar(a,d),h.callback=r??null,so(i,h,d),e.current.lanes=d,Xn(e,d,a),Rt(e,a),e}function Bs(e,r,i,a){var d=r.current,h=kt(),k=fo(d);return i=t0(i),r.context===null?r.context=i:r.pendingContext=i,r=Ar(h,k),r.payload={element:e},a=a===void 0?null:a,a!==null&&(r.callback=a),e=so(d,r,k),e!==null&&(fr(e,d,k,h),os(e,d,k)),k}function Ns(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 o0(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<r?i:r}}function Qu(e,r){o0(e,r),(e=e.alternate)&&o0(e,r)}function p5(){return null}var n0=typeof reportError=="function"?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}Ts.prototype.render=Yu.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(n(409));Bs(e,r,null,null)},Ts.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;Eo(function(){Bs(null,e,null,null)}),r[Fr]=null}};function Ts(e){this._internalRoot=e}Ts.prototype.unstable_scheduleHydration=function(e){if(e){var r=qm();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&&$m(e)}};function Ju(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Es(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function i0(){}function h5(e,r,i,a,d){if(d){if(typeof a=="function"){var h=a;a=function(){var O=Ns(k);h.call(O)}}var k=r0(r,a,e,0,null,!1,!1,"",i0);return e._reactRootContainer=k,e[Fr]=k.current,ci(e.nodeType===8?e.parentNode:e),Eo(),k}for(;d=e.lastChild;)e.removeChild(d);if(typeof a=="function"){var C=a;a=function(){var O=Ns(z);C.call(O)}}var z=Xu(e,0,!1,null,null,!1,!1,"",i0);return e._reactRootContainer=z,e[Fr]=z.current,ci(e.nodeType===8?e.parentNode:e),Eo(function(){Bs(r,z,i,a)}),z}function zs(e,r,i,a,d){var h=i._reactRootContainer;if(h){var k=h;if(typeof d=="function"){var C=d;d=function(){var z=Ns(k);C.call(z)}}Bs(r,k,e,d)}else k=h5(i,r,e,d,a);return Ns(k)}Lm=function(e){switch(e.tag){case 3:var r=e.stateNode;if(r.current.memoizedState.isDehydrated){var i=Kn(r.pendingLanes);i!==0&&(xc(r,i|1),Rt(r,Ye()),(_e&6)===0&&(yn=Ye()+500,io()))}break;case 13:Eo(function(){var a=Or(e,1);if(a!==null){var d=kt();fr(a,e,1,d)}}),Qu(e,1)}},_c=function(e){if(e.tag===13){var r=Or(e,134217728);if(r!==null){var i=kt();fr(r,e,134217728,i)}Qu(e,134217728)}},Mm=function(e){if(e.tag===13){var r=fo(e),i=Or(e,r);if(i!==null){var a=kt();fr(i,e,r,a)}Qu(e,r)}},qm=function(){return ze},Hm=function(e,r){var i=ze;try{return ze=e,r()}finally{ze=i}},mc=function(e,r,i){switch(r){case"input":if(sc(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=Gl(a);if(!d)throw Error(n(90));fm(a),sc(a,d)}}}break;case"textarea":vm(e,i);break;case"select":r=i.value,r!=null&&Xo(e,!!i.multiple,r,!1)}},Bm=Wu,Nm=Eo;var m5={usingClientEntryPoint:!1,Events:[fi,ln,Gl,Sm,Cm,Wu]},Bi={findFiberByHostInstance:ko,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},g5={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:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Pm(e),e===null?null:e.stateNode},findFiberByHostInstance:Bi.findFiberByHostInstance||p5,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 Ps=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ps.isDisabled&&Ps.supportsFiber)try{Tl=Ps.inject(g5),wr=Ps}catch{}}return xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=m5,xt.createPortal=function(e,r){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ju(r))throw Error(n(200));return f5(e,r,null,i)},xt.createRoot=function(e,r){if(!Ju(e))throw Error(n(299));var i=!1,a="",d=n0;return r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(d=r.onRecoverableError)),r=Xu(e,1,!1,null,null,i,!1,a,d),e[Fr]=r.current,ci(e.nodeType===8?e.parentNode:e),new Yu(r)},xt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(n(188)):(e=Object.keys(e).join(","),Error(n(268,e)));return e=Pm(r),e=e===null?null:e.stateNode,e},xt.flushSync=function(e){return Eo(e)},xt.hydrate=function(e,r,i){if(!Es(r))throw Error(n(200));return zs(null,e,r,!0,i)},xt.hydrateRoot=function(e,r,i){if(!Ju(e))throw Error(n(405));var a=i!=null&&i.hydratedSources||null,d=!1,h="",k=n0;if(i!=null&&(i.unstable_strictMode===!0&&(d=!0),i.identifierPrefix!==void 0&&(h=i.identifierPrefix),i.onRecoverableError!==void 0&&(k=i.onRecoverableError)),r=r0(r,null,e,1,i??null,d,!1,h,k),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 Ts(r)},xt.render=function(e,r,i){if(!Es(r))throw Error(n(200));return zs(null,e,r,!1,i)},xt.unmountComponentAtNode=function(e){if(!Es(e))throw Error(n(40));return e._reactRootContainer?(Eo(function(){zs(null,null,e,!1,function(){e._reactRootContainer=null,e[Fr]=null})}),!0):!1},xt.unstable_batchedUpdates=Wu,xt.unstable_renderSubtreeIntoContainer=function(e,r,i,a){if(!Es(i))throw Error(n(200));if(e==null||e._reactInternals===void 0)throw Error(n(38));return zs(e,r,i,!1,a)},xt.version="18.3.1-next-f1338f8080-20240426",xt}var ud;function dd(){if(ud)return Ds.exports;ud=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(),Ds.exports=f0(),Ds.exports}var fd;function p0(){if(fd)return Ei;fd=1;var t=dd();return Ei.createRoot=t.createRoot,Ei.hydrateRoot=t.hydrateRoot,Ei}var h0=p0();class m0{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 je=new m0,g0=async()=>(await xn("solutions?$select=solutionid,friendlyname,uniquename&$filter=isvisible eq true&$orderby=friendlyname asc")).map(n=>({solutionid:n.solutionid,friendlyname:n.friendlyname,uniquename:n.uniquename})),v0=async t=>{let l=(await xn("EntityDefinitions?$select=LogicalName,DisplayName,EntitySetName&$filter=IsCustomizable/Value eq true")).map(s=>({logicalname:s.LogicalName,displayname:s.DisplayName?.UserLocalizedLabel?.Label||s.LogicalName,entitysetname:s.EntitySetName}));if(t){const s=await b0(t);l=l.filter(c=>s.includes(c.logicalname))}return l},b0=async t=>{const o=`solutioncomponents?$select=objectid&$filter=_solutionid_value eq ${t} and componenttype eq 1`,l=(await xn(o)).map(f=>f.objectid);return l.length===0?[]:(await xn("EntityDefinitions?$select=LogicalName,MetadataId&$filter=IsCustomizable/Value eq true")).filter(f=>l.includes(f.MetadataId)).map(f=>f.LogicalName)},y0=async()=>{try{const o=await xn("savedqueries?$select=savedqueryid,name,returnedtypecode,fetchxml&$filter=querytype eq 0&$orderby=returnedtypecode,name asc"),n=new Map;return o.forEach(l=>{const s={savedqueryid:l.savedqueryid,name:l.name,returnedtypecode:l.returnedtypecode,fetchxml:l.fetchxml},c=l.returnedtypecode;n.has(c)||n.set(c,[]),n.get(c).push(s)}),je.info(`Loaded ${o.length} views for ${n.size} entities`),n}catch(t){return je.error(`Error loading all views: ${t.message}`),new Map}},w0=async(t,o,n)=>{try{if(!t)return je.info(`No EntitySetName provided for ${o}`),0;let l,s;if(n){je.info(`Counting records for ${o} using view FetchXML`);let c=n;c.includes("returntotalrecordcount=")?c=c.replace(/returntotalrecordcount=['"]?(true|false)['"]?/i,'returntotalrecordcount="true"'):c=c.replace(/<fetch([^>]*)>/i,'<fetch$1 returntotalrecordcount="true">'),c.includes("count=")?c=c.replace(/count=['"]?\d+['"]?/i,'count="1"'):c=c.replace(/<fetch([^>]*)>/i,'<fetch$1 count="1">'),je.info("Modified FetchXML for count"),l=`${t}?fetchXml=${encodeURIComponent(c)}`,s=await window.dataverseAPI.queryData(l);const u=s["@Microsoft.Dynamics.CRM.totalrecordcount"]||s["@odata.count"]||s.value?.length||0;return je.info(`Count result for ${o}: ${u}`),u}else{l=`${t}?$top=1&$count=true`,je.info(`Counting records for ${o} using ${l}`),s=await window.dataverseAPI.queryData(l);const c=s["@odata.count"]||0;return je.info(`Count result for ${o}: ${c}`),c}}catch(l){return je.error(`Error counting records for ${o}: ${l.message}`),0}},xn=async t=>{const o=[];for(;t;){je.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}je.info(`Cleaned URL: ${n}`);const l=await window.dataverseAPI.queryData(n);o.push(...l.value),t=l["@odata.nextLink"]||null}return o},As=typeof window>"u"?global:window,Ls="@griffel/";function k0(t,o){return As[Symbol.for(Ls+t)]||(As[Symbol.for(Ls+t)]=o),As[Symbol.for(Ls+t)]}const Ms=k0("DEFINITION_LOOKUP_TABLE",{}),_n="data-make-styles-bucket",x0="data-priority",qs="f",Hs=7,Ws="___",_0=Ws.length+Hs,S0=0,C0=1,B0={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},$s="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Sn(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 N0(t){const o=t.length;if(o===Hs)return t;for(let n=o;n<Hs;n++)t+="0";return t}function pd(t,o,n=[]){return Ws+N0(Sn(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 re(){let t=null,o="",n="";const l=new Array(arguments.length);for(let v=0;v<arguments.length;v++){const w=arguments[v];if(typeof w=="string"&&w!==""){const b=w.indexOf(Ws);if(b===-1)o+=w+" ";else{const x=w.substr(b,_0);b>0&&(o+=w.slice(0,b)),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 w=l[v];if(w){const b=Ms[w];b&&(c.push(b[S0]),t=b[C0])}}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 T0(t){return Array.isArray(t)?t:[t]}function E0(t,o,n,l){const s=[];if(l[_n]=o,l[x0]=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 z0(t,o,n){return(t==="m"?t+o:t)+n}function P0(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=z0(t,p,m);if(!l.stylesheets[g]){const v=o&&o.createElement("style"),w=E0(v,t,m,Object.assign({},l.styleElementAttributes,f&&{media:p}));l.stylesheets[g]=w,o?.head&&v&&o.head.insertBefore(v,F0(o,n,t,l,s))}return l.stylesheets[g]}function R0(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 F0(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=y=>f-gd[y.getAttribute(_n)],v=t.head.querySelectorAll(`[${_n}]`);if(n==="m"){const y=t.head.querySelectorAll(`[${_n}="${n}"]`);y.length&&(v=y,g=S=>l.compareMediaQueries(p,S.media))}const w=y=>R0(y,n,s)?m-Number(y.getAttribute("data-priority")):g(y),b=v.length;let x=b-1;for(;x>=0;){const y=v.item(x);if(w(y)>0)return y.nextSibling;x--}return b>0?v.item(0):o?o.nextSibling:null}function vd(t,o){try{t.insertRule(o)}catch{}}let I0=0;const D0=(t,o)=>t<o?-1:t>o?1:0;function j0(t=typeof document>"u"?void 0:document,o={}){const{classNameHashSalt:n,unstable_filterCSSRule:l,insertionPoint:s,styleElementAttributes:c,compareMediaQueries:u=D0}=o,f={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${I0++}`,insertCSSRules(p){for(const m in p){const g=p[m];for(let v=0,w=g.length;v<w;v++){const[b,x]=T0(g[v]),y=P0(m,t,s||null,f,x);f.insertionCache[b]||(f.insertionCache[b]=m,l?l(b)&&vd(y,b):vd(y,b))}}}};return f}const Vs=()=>{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 O0(t){return typeof t=="boolean"}function A0(t){return typeof t=="function"}function Cn(t){return typeof t=="number"}function L0(t){return t===null||typeof t>"u"}function M0(t){return t&&typeof t=="object"}function q0(t){return typeof t=="string"}function Pi(t,o){return t.indexOf(o)!==-1}function H0(t){return parseFloat(t)===0?t:t[0]==="-"?t.slice(1):"-"+t}function Ri(t,o,n,l){return o+H0(n)+l}function W0(t){var o=t.indexOf(".");if(o===-1)t=100-parseFloat(t)+"%";else{var n=t.length-o-2;t=100-parseFloat(t),t=t.toFixed(n)+"%"}return t}function 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 $0(t){return!O0(t)&&!L0(t)}function V0(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 Cn(n)?n:wd(n)},textShadow:function(o){var n=o.value,l=V0(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(Cn(n))return n;if(Pi(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],w=p[3];return[g,m,w,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(Cn(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!Pi(n,"url(")&&!Pi(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 W0(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 Cn(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,Ri).replace(f,Ri).replace(p,Ri).replace(m,Ri)}};$.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"]]),U0=["content"],xd=bd([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),G0=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),K0=new RegExp("(left)|(right)");function _d(t){return Object.keys(t).reduce(function(o,n){var l=t[n];if(q0(l)&&(l=l.trim()),Pi(U0,n))return o[n]=l,o;var s=Us(n,l),c=s.key,u=s.value;return o[c]=u,o},Array.isArray(t)?[]:{})}function Us(t,o){var n=/\/\*\s?@noflip\s?\*\//.test(o),l=n?t:X0(t),s=n?o:Q0(l,o);return{key:l,value:s}}function X0(t){return kd[t]||t}function Q0(t,o){if(!$0(o))return o;if(M0(o))return _d(o);var n=Cn(o),l=A0(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:G0,bgPosDirectionRegex:K0}):f=xd[s]||s,c?f+" !important":f}const Y0=/[A-Z]/g,J0=/^ms-/,Gs={};function Z0(t){return"-"+t.toLowerCase()}function Fo(t){if(Object.prototype.hasOwnProperty.call(Gs,t))return Gs[t];if(t.substr(0,2)==="--")return t;const o=t.replace(Y0,Z0);return Gs[t]=J0.test(o)?"-"+o:o}function Sd(t){return t.charAt(0)==="&"?t.slice(1):t}var Bn="-moz-",Zt="-webkit-",Cd="comm",Fi="rule",Ks="decl",e1="@media",t1="@import",r1="@supports",o1="@namespace",n1="@keyframes",Bd="@layer",Nd=Math.abs,Ii=String.fromCharCode,i1=Object.assign;function l1(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 Ed(t,o){return(t=o.exec(t))?t[0]:t}function _t(t,o,n){return t.replace(o,n)}function zd(t,o,n){return t.indexOf(o,n)}function dt(t,o){return t.charCodeAt(o)|0}function Io(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 s1(t,o){return t.map(o).join("")}var Di=1,Do=1,Rd=0,Ft=0,qe=0,jo="";function ji(t,o,n,l,s,c,u,f){return{value:t,root:o,parent:n,type:l,props:s,children:c,line:Di,column:Do,length:u,return:"",siblings:f}}function Xs(t,o){return i1(ji("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},o)}function a1(){return qe}function c1(){return qe=Ft>0?dt(jo,--Ft):0,Do--,qe===10&&(Do=1,Di--),qe}function qt(){return qe=Ft<Rd?dt(jo,Ft++):0,Do++,qe===10&&(Do=1,Di++),qe}function qr(){return dt(jo,Ft)}function Oi(){return Ft}function Ai(t,o){return Io(jo,t,o)}function Oo(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 Di=Do=1,Rd=er(jo=t),Ft=0,[]}function Id(t){return jo="",t}function Li(t){return Td(Ai(Ft-1,Qs(t===91?t+2:t===40?t+1:t)))}function u1(t){return Id(f1(Fd(t)))}function d1(t){for(;(qe=qr())&&qe<33;)qt();return Oo(t)>2||Oo(qe)>3?"":" "}function f1(t){for(;qt();)switch(Oo(qe)){case 0:go(Dd(Ft-1),t);break;case 2:go(Li(qe),t);break;default:go(Ii(qe),t)}return t}function p1(t,o){for(;--o&&qt()&&!(qe<48||qe>102||qe>57&&qe<65||qe>70&&qe<97););return Ai(t,Oi()+(o<6&&qr()==32&&qt()==32))}function Qs(t){for(;qt();)switch(qe){case t:return Ft;case 34:case 39:t!==34&&t!==39&&Qs(qe);break;case 40:t===41&&Qs(t);break;case 92:qt();break}return Ft}function h1(t,o){for(;qt()&&t+qe!==57;)if(t+qe===84&&qr()===47)break;return"/*"+Ai(o,Ft-1)+"*"+Ii(t===47?t:qt())}function Dd(t){for(;!Oo(qr());)qt();return Ai(t,Ft)}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,w=0,b=0,x=0,y=1,S=1,B=1,E=0,T="",N=s,R=c,A=l,D=T;S;)switch(x=E,E=qt()){case 40:if(x!=108&&dt(D,v-1)==58){zd(D+=_t(Li(E),"&","&\f"),"&\f",Nd(m?f[m-1]:0))!=-1&&(B=-1);break}case 34:case 39:case 91:D+=Li(E);break;case 9:case 10:case 13:case 32:D+=d1(x);break;case 92:D+=p1(Oi()-1,7);continue;case 47:switch(qr()){case 42:case 47:go(m1(h1(qt(),Oi()),o,n,p),p),(Oo(x||1)==5||Oo(qr()||1)==5)&&er(D)&&Io(D,-1,void 0)!==" "&&(D+=" ");break;default:D+="/"}break;case 123*y:f[m++]=er(D)*B;case 125*y:case 59:case 0:switch(E){case 0:case 125:S=0;case 59+g:B==-1&&(D=_t(D,/\f/g,"")),b>0&&(er(D)-v||y===0&&x===47)&&go(b>32?Ad(D+";",l,n,v-1,p):Ad(_t(D," ","")+";",l,n,v-2,p),p);break;case 59:D+=";";default:if(go(A=Od(D,o,n,m,g,s,f,T,N=[],R=[],v,c),c),E===123)if(g===0)Mi(D,o,A,A,N,c,v,f,R);else{switch(w){case 99:if(dt(D,3)===110)break;case 108:if(dt(D,2)===97)break;default:g=0;case 100:case 109:case 115:}g?Mi(t,A,A,l&&go(Od(t,A,A,0,0,s,f,T,s,N=[],v,R),R),s,R,v,f,l?N:R):Mi(D,A,A,A,[""],R,0,f,R)}}m=g=b=0,y=B=1,T=D="",v=u;break;case 58:v=1+er(D),b=x;default:if(y<1){if(E==123)--y;else if(E==125&&y++==0&&c1()==125)continue}switch(D+=Ii(E),E*y){case 38:B=g>0?1:(D+="\f",-1);break;case 44:f[m++]=(er(D)-1)*B,B=1;break;case 64:qr()===45&&(D+=Li(qt())),w=qr(),g=v=er(T=D+=Dd(Oi())),E++;break;case 45:x===45&&er(D)==2&&(y=0)}}return c}function Od(t,o,n,l,s,c,u,f,p,m,g,v){for(var w=s-1,b=s===0?c:[""],x=Pd(b),y=0,S=0,B=0;y<l;++y)for(var E=0,T=Io(t,w+1,w=Nd(S=u[y])),N=t;E<x;++E)(N=Td(S>0?b[E]+" "+T:_t(T,/&\f/g,b[E])))&&(p[B++]=N);return ji(t,o,n,s===0?Fi:f,p,m,g,v)}function m1(t,o,n,l){return ji(t,o,n,Cd,Ii(a1()),Io(t,2,-2),0,l)}function Ad(t,o,n,l,s){return ji(t,o,n,Ks,Io(t,0,l),Io(t,l+1,-1),l,s)}function Ao(t,o){for(var n="",l=0;l<t.length;l++)n+=o(t[l],l,t,o)||"";return n}function Ld(t,o,n,l){switch(t.type){case Bd:if(t.children.length)break;case t1:case o1:case Ks:return t.return=t.return||t.value;case Cd:return"";case n1:return t.return=t.value+"{"+Ao(t.children,l)+"}";case Fi:if(!er(t.value=t.props.join(",")))return""}return er(n=Ao(t.children,l))?t.return=t.value+"{"+n+"}":""}function Md(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 g1=t=>{switch(t.type){case Fi:if(typeof t.props=="string")return;t.props=t.props.map(o=>o.indexOf(":global(")===-1?o:u1(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(l1(t,o)){case 5103:return Zt+"print-"+t+t;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return Zt+t+t;case 4215:if(dt(t,9)===102||dt(t,o+1)===116)return Zt+t+t;break;case 4789:return Bn+t+t;case 5349:case 4246:case 6968:return Zt+t+Bn+t+t;case 6187:if(!Ed(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"+Bn+(dt(t,o+3)==108?"$3":"$2-$3"))+t;case 115:return~zd(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 Ks:t.return=Hd(t.value,t.length);return;case Fi:if(t.length)return s1(t.props,function(s){switch(Ed(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ao([Xs(t,{props:[_t(s,/:(read-\w+)/,":"+Bn+"$1")]})],l);case"::placeholder":return Ao([Xs(t,{props:[_t(s,/:(plac\w+)/,":"+Zt+"input-$1")]}),Xs(t,{props:[_t(s,/:(plac\w+)/,":"+Bn+"$1")]})],l)}return""})}}function v1(t){switch(t.type){case"@container":case e1:case r1:case Bd:return!0}return!1}const b1=t=>{v1(t)&&Array.isArray(t.children)&&t.children.sort((o,n)=>o.props[0]>n.props[0]?1:-1)};function y1(t,o){const n=[];return Ao(jd(t),Md([g1,b1,Wd,Ld,qd(l=>n.push(l))])),n}const w1=/,( *[^ &])/g;function k1(t){return"&"+Sd(t.replace(w1,",&$1"))}function $d(t,o,n){let l=o;return n.length>0&&(l=n.reduceRight((s,c)=>`${k1(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:w}=o,b=`.${n}`,x=Array.isArray(p)?`${p.map(S=>`${Fo(s)}: ${S}`).join(";")};`:`${Fo(s)}: ${p};`;let y=$d(b,x,l);if(u&&c){const S=`.${c}`,B=Array.isArray(f)?`${f.map(E=>`${Fo(u)}: ${E}`).join(";")};`:`${Fo(u)}: ${f};`;y+=$d(S,B,l)}return v&&(y=`@media ${v} { ${y} }`),g&&(y=`@layer ${g} { ${y} }`),w&&(y=`@supports ${w} { ${y} }`),m&&(y=`@container ${m} { ${y} }`),y1(y)}function x1(t){let o="";for(const n in t){const l=t[n];if(typeof l=="string"||typeof l=="number"){o+=Fo(n)+":"+l+";";continue}if(Array.isArray(l))for(const s of l)o+=Fo(n)+":"+s+";"}return o}function Ud(t){let o="";for(const n in t)o+=`${n}{${x1(t[n])}}`;return o}function Gd(t,o){const n=`@keyframes ${t} {${o}}`,l=[];return Ao(jd(n),Md([Ld,Wd,qd(s=>l.push(s))])),l}const _1={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 S1(t){return t.substr(0,6)==="@media"}function C1(t){return t.substr(0,6)==="@layer"}const B1=/^(:|\[|>|&)/;function N1(t){return B1.test(t)}function T1(t){return t.substr(0,9)==="@supports"}function E1(t){return t.substring(0,10)==="@container"}function z1(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1}const 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 qi(t,o){return t&&o+t}function Yd(t){return qi(t.container,"c")+qi(t.media,"m")+qi(t.layer,"l")+qi(t.supports,"s")}function Ys(t,o,n){const l=t+Yd(n)+o,s=Sn(l),c=s.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+s.slice(1):s}function Hi({property:t,selector:o,salt:n,value:l},s){return qs+Sn(n+o+Yd(s)+t+l.trim())}function P1(t){return t===$s}function Js(t){return t.replace(/>\s+/g,">")}function w5(t,o){}function Jd(t){return _1[t]}function Zd(t){var o;return(o=t?.[0])!==null&&o!==void 0?o:0}function Zs(t,o,n,l){t[o]=l?[n,l]:n}function ef(t,o){return o.length>0?[t,Object.fromEntries(o)]:t}function ea(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 Cr(t,o="",n=[],l={container:"",layer:"",media:"",supports:""},s={},c={},u){for(const f in t){if(B0.hasOwnProperty(f)){t[f];continue}const p=t[f];if(p!=null){if(P1(p)){const m=Js(n.join("")),g=Ys(m,f,l);Zs(s,g,0,void 0);continue}if(typeof p=="string"||typeof p=="number"){const m=Js(n.join("")),g=Jd(f);if(g){const N=g[1],R=Object.fromEntries(N.map(A=>[A,$s]));Cr(R,o,n,l,s,c)}const v=Ys(m,f,l),w=Hi({value:p.toString(),salt:o,selector:m,property:f},l),b=u&&{key:f,value:u}||Us(f,p),x=b.key!==f||b.value!==p,y=x?Hi({value:b.value.toString(),property:b.key,salt:o,selector:m},l):void 0,S=x?{rtlClassName:y,rtlProperty:b.key,rtlValue:b.value}:void 0,B=Qd(n,l),[E,T]=Vd(Object.assign({className:w,selectors:n,property:f,value:p},S),l);Zs(s,v,w,y),ea(c,B,E,T,l.media,Zd(g))}else if(f==="animationName"){const m=Array.isArray(p)?p:[p],g=[],v=[];for(const w of m){const b=Ud(w),x=Ud(_d(w)),y=qs+Sn(b);let S;const B=Gd(y,b);let E=[];b===x?S=y:(S=qs+Sn(x),E=Gd(S,x));for(let T=0;T<B.length;T++)ea(c,"k",B[T],E[T],l.media,0);g.push(y),v.push(S)}Cr({animationName:g.join(", ")},o,n,l,s,c,v.join(", "))}else if(Array.isArray(p)){if(p.length===0)continue;const m=Js(n.join("")),g=Jd(f);if(g){const R=g[1],A=Object.fromEntries(R.map(D=>[D,$s]));Cr(A,o,n,l,s,c)}const v=Ys(m,f,l),w=Hi({value:p.map(R=>(R??"").toString()).join(";"),salt:o,selector:m,property:f},l),b=p.map(R=>Us(f,R));if(!!b.some(R=>R.key!==b[0].key))continue;const y=b[0].key!==f||b.some((R,A)=>R.value!==p[A]),S=y?Hi({value:b.map(R=>{var A;return((A=R?.value)!==null&&A!==void 0?A:"").toString()}).join(";"),salt:o,property:b[0].key,selector:m},l):void 0,B=y?{rtlClassName:S,rtlProperty:b[0].key,rtlValue:b.map(R=>R.value)}:void 0,E=Qd(n,l),[T,N]=Vd(Object.assign({className:w,selectors:n,property:f,value:p},B),l);Zs(s,v,w,S),ea(c,E,T,N,l.media,Zd(g))}else if(z1(p)){if(N1(f))Cr(p,o,n.concat(Sd(f)),l,s,c);else if(S1(f)){const m=Kd(l.media,f.slice(6).trim());Cr(p,o,n,Object.assign({},l,{media:m}),s,c)}else if(C1(f)){const m=(l.layer?`${l.layer}.`:"")+f.slice(6).trim();Cr(p,o,n,Object.assign({},l,{layer:m}),s,c)}else if(T1(f)){const m=Kd(l.supports,f.slice(9).trim());Cr(p,o,n,Object.assign({},l,{supports:m}),s,c)}else if(E1(f)){const m=f.slice(10).trim();Cr(p,o,n,Object.assign({},l,{container:m}),s,c)}}}}return[s,c]}function R1(t,o=""){const n={},l={};for(const s in t){const c=t[s],[u,f]=Cr(c,o);n[s]=u,Object.keys(f).forEach(p=>{l[p]=(l[p]||[]).concat(f[p])})}return[n,l]}function F1(t,o=Vs){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]=R1(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=Vs){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 I1(t,o,n,l=Vs){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 D1(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const rf=Ti.useInsertionEffect?Ti.useInsertionEffect:void 0,ta=()=>{const t={};return function(n,l){if(rf&&D1()){rf(()=>{n.insertCSSRules(l)},[n,l]);return}t[n.id]===void 0&&(n.insertCSSRules(l),t[n.id]=!0)}},j1=_.createContext(j0());function Nn(){return _.useContext(j1)}const of=_.createContext("ltr"),O1=({children:t,dir:o})=>_.createElement(of.Provider,{value:o},t);function ra(){return _.useContext(of)}function Wi(t){const o=F1(t,ta);return function(){const l=ra(),s=Nn();return o({dir:l,renderer:s})}}function ce(t,o){const n=tf(t,o,ta);return function(){const s=ra(),c=Nn();return n({dir:s,renderer:c})}}function ft(t,o,n){const l=I1(t,o,n,ta);return function(){const c=ra(),u=Nn();return l({dir:c,renderer:u})}}function A1(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"),$i=Symbol.for("fui.slotElementType"),lf=Symbol.for("fui.slotClassNameProp");function Re(t,o){const{defaultProps:n,elementType:l}=o,s=sf(t),c={...n,...s,[$i]:l,[lf]:s?.className};return s&&typeof s.children=="function"&&(c[nf]=s.children,c.children=n?.children),c}function Ke(t,o){if(!(t===null||t===void 0&&!o.renderByDefault))return Re(t,o)}function sf(t){return typeof t=="string"||typeof t=="number"||L1(t)||_.isValidElement(t)?{children:t}:t}const L1=t=>typeof t=="object"&&t!==null&&Symbol.iterator in t;function af(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)&&!_.isValidElement(t)}function cf(t){return!!t?.hasOwnProperty($i)}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},M1=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"]),q1=Fe(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),H1=Fe(["itemID","itemProp","itemRef","itemScope","itemType"]),Ze=Fe(q1,M1,H1),W1=Fe(Ze,["form"]),uf=Fe(Ze,["height","loop","muted","preload","src","width"]),$1=Fe(uf,["poster"]),V1=Fe(Ze,["start"]),U1=Fe(Ze,["value"]),G1=Fe(Ze,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),K1=Fe(Ze,["dateTime"]),Vi=Fe(Ze,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),X1=Fe(Vi,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Q1=Fe(Vi,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),Y1=Fe(Vi,["form","multiple","required"]),J1=Fe(Ze,["selected","value"]),Z1=Fe(Ze,["cellPadding","cellSpacing"]),eb=Ze,tb=Fe(Ze,["colSpan","rowSpan","scope"]),rb=Fe(Ze,["colSpan","headers","rowSpan","scope"]),ob=Fe(Ze,["span"]),nb=Fe(Ze,["span"]),ib=Fe(Ze,["disabled","form"]),lb=Fe(Ze,["acceptCharset","action","encType","encType","method","noValidate","target"]),sb=Fe(Ze,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),ab=Fe(Ze,["alt","crossOrigin","height","src","srcSet","useMap","width"]),cb=Fe(Ze,["open","onCancel","onClose"]);function ub(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 db={label:W1,audio:uf,video:$1,ol:V1,li:U1,a:G1,button:Vi,input:X1,textarea:Q1,select:Y1,option:J1,table:Z1,tr:eb,th:tb,td:rb,colGroup:ob,col:nb,fieldset:ib,form:lb,iframe:sb,img:ab,time:K1,dialog:cb};function df(t,o,n){const l=t&&db[t]||Ze;return l.as=1,ub(o,l,n)}const Ui=({primarySlotTagName:t,props:o,excludedPropNames:n})=>({root:{style:o.style,className:o.className},primary:df(t,o,[...n||[],"style","className"])}),St=(t,o,n)=>{var l;return df((l=o.as)!==null&&l!==void 0?l:t,o,n)};function ff(t,o){const n=_.useRef(void 0),l=_.useCallback((c,u)=>(n.current!==void 0&&o(n.current),n.current=t(c,u),n.current),[o,t]),s=_.useCallback(()=>{n.current!==void 0&&(o(n.current),n.current=void 0)},[o]);return _.useEffect(()=>s,[s]),[l,s]}const pf=_.createContext(void 0),fb=pf.Provider,hf=_.createContext(void 0),pb="",hb=hf.Provider;function mb(){var t;return(t=_.useContext(hf))!==null&&t!==void 0?t:pb}const gb=_.createContext(void 0).Provider,mf=_.createContext(void 0),vb={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},bb=mf.Provider;function at(){var t;return(t=_.useContext(mf))!==null&&t!==void 0?t:vb}const gf=_.createContext(void 0),yb=gf.Provider;function vf(){var t;return(t=_.useContext(gf))!==null&&t!==void 0?t:{}}const oa=_.createContext(void 0),wb=()=>{},kb=oa.Provider,nt=t=>{var o,n;return(n=(o=_.useContext(oa))===null||o===void 0?void 0:o[t])!==null&&n!==void 0?n:wb},bf=_.createContext(void 0);bf.Provider;function xb(){return _.useContext(bf)}const _b=t=>(t(0),0),Sb=t=>t;function Cb(){const{targetDocument:t}=at(),o=t?.defaultView,n=o?o.requestAnimationFrame:_b,l=o?o.cancelAnimationFrame:Sb;return ff(n,l)}function Bb(t){return typeof t=="function"}const Hr=t=>{"use no memo";const[o,n]=_.useState(()=>t.defaultState===void 0?t.initialState:Nb(t.defaultState)?t.defaultState():t.defaultState),l=_.useRef(t.state);_.useEffect(()=>{l.current=t.state},[t.state]);const s=_.useCallback(c=>{Bb(c)&&c(l.current)},[]);return Tb(t.state)?[t.state,s]:[o,n]};function Nb(t){return typeof t=="function"}const Tb=t=>{"use no memo";const[o]=_.useState(()=>t!==void 0);return o};function na(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Eb={current:0},zb=_.createContext(void 0);function Pb(){var t;return(t=_.useContext(zb))!==null&&t!==void 0?t:Eb}const Ht=na()?_.useLayoutEffect:_.useEffect,ke=t=>{const o=_.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Ht(()=>{o.current=t},[t]),_.useCallback((...n)=>{const l=o.current;return l(...n)},[o])};function Rb(){const t=_.useRef(!0);return _.useEffect(()=>{t.current&&(t.current=!1)},[]),t.current}const yf=_.createContext(void 0);yf.Provider;function Fb(){return _.useContext(yf)||""}function Br(t="fui-",o){"use no memo";const n=Pb(),l=Fb(),s=Ti.useId;if(s){const c=s(),u=_.useMemo(()=>c.replace(/:/g,""),[c]);return o||`${l}${t}${u}`}return _.useMemo(()=>o||`${l}${t}${++n.current}`,[l,t,o,n])}function pt(...t){"use no memo";const o=_.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),Ib=t=>{const{targetDocument:o}=at(),n=o?.defaultView,{refs:l,callback:s,element:c,disabled:u,disabledFocusOnIframe:f,contains:p=wf}=t,m=_.useRef(void 0);jb({element:c,disabled:f||u,callback:s,refs:l,contains:p});const g=_.useRef(!1),v=ke(b=>{if(g.current){g.current=!1;return}const x=b.composedPath()[0];l.every(S=>!p(S.current||null,x))&&!u&&s(b)}),w=ke(b=>{g.current=l.some(x=>p(x.current||null,b.target))});_.useEffect(()=>{if(u)return;let b=Db(n);const x=y=>{if(y===b){b=void 0;return}v(y)};return c?.addEventListener("click",x,!0),c?.addEventListener("touchstart",x,!0),c?.addEventListener("contextmenu",x,!0),c?.addEventListener("mousedown",w,!0),m.current=n?.setTimeout(()=>{b=void 0},1),()=>{c?.removeEventListener("click",x,!0),c?.removeEventListener("touchstart",x,!0),c?.removeEventListener("contextmenu",x,!0),c?.removeEventListener("mousedown",w,!0),n?.clearTimeout(m.current),b=void 0}},[v,c,u,w,n])},Db=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",jb=t=>{const{disabled:o,element:n,callback:l,contains:s=wf,pollDuration:c=100,refs:u}=t,f=_.useRef(void 0),p=ke(m=>{u.every(v=>!s(v.current||null,m.target))&&!o&&l(m)});_.useEffect(()=>{if(!o)return n?.addEventListener(ia,p,!0),()=>{n?.removeEventListener(ia,p,!0)}},[n,o,p]),_.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])},Ob=t=>-1,Ab=t=>{};function kf(){const{targetDocument:t}=at(),o=t?.defaultView,n=o?o.setTimeout:Ob,l=o?o.clearTimeout:Ab;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 Lb(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 _f(t){return t instanceof Set?t:new Set(t)}function Sf(t){const[o,n]=Hr({initialState:new Set,defaultState:_.useMemo(()=>t.defaultSelectedItems&&_f(t.defaultSelectedItems),[t.defaultSelectedItems]),state:_.useMemo(()=>t.selectedItems&&_f(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 Mb(t){const[o,n]=Sf(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 qb(t){const[o,n]=Sf(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 Hb(t){"use no memo";return t.selectionMode==="multiselect"?qb(t):Mb(t)}function Wb(t){return t&&!!t._virtual}function $b(t){return Wb(t)&&t._virtual.parent||null}function Vb(t,o={}){if(!t)return null;if(!o.skipVirtual){const l=$b(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 Ub(t,o){return{...o,[$i]:t}}var aa={exports:{}},Pe={};var Bf;function Gb(){if(Bf)return Pe;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,w=60121,b=60122,x=60117,y=60129,S=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"),w=B("react.block"),b=B("react.server.block"),x=B("react.fundamental"),y=B("react.debug_trace_mode"),S=B("react.legacy_hidden")}function E(H){if(typeof H=="object"&&H!==null){var Z=H.$$typeof;switch(Z){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 Z}}case o:return Z}}}var T=c,N=t,R=f,A=n,D=v,M=g,U=o,Y=s,ae=l,he=p;return Pe.ContextConsumer=u,Pe.ContextProvider=T,Pe.Element=N,Pe.ForwardRef=R,Pe.Fragment=A,Pe.Lazy=D,Pe.Memo=M,Pe.Portal=U,Pe.Profiler=Y,Pe.StrictMode=ae,Pe.Suspense=he,Pe.isAsyncMode=function(){return!1},Pe.isConcurrentMode=function(){return!1},Pe.isContextConsumer=function(H){return E(H)===u},Pe.isContextProvider=function(H){return E(H)===c},Pe.isElement=function(H){return typeof H=="object"&&H!==null&&H.$$typeof===t},Pe.isForwardRef=function(H){return E(H)===f},Pe.isFragment=function(H){return E(H)===n},Pe.isLazy=function(H){return E(H)===v},Pe.isMemo=function(H){return E(H)===g},Pe.isPortal=function(H){return E(H)===o},Pe.isProfiler=function(H){return E(H)===s},Pe.isStrictMode=function(H){return E(H)===l},Pe.isSuspense=function(H){return E(H)===p},Pe.isValidElementType=function(H){return typeof H=="string"||typeof H=="function"||H===n||H===s||H===y||H===l||H===p||H===m||H===S||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===w||H[0]===b)},Pe.typeOf=E,Pe}var Nf;function Kb(){return Nf||(Nf=1,aa.exports=Gb()),aa.exports}Kb();function Tf(t,o){return function(l,s,c,u,f){return cf(s)?o(Ub(l,s),null,c,u,f):cf(l)?o(l,s,c,u,f):t(l,s,c,u,f)}}function Ef(t){const{as:o,[lf]:n,[$i]: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=u0,Xb=(t,o,n)=>{const{elementType:l,renderFunction:s,props:c}=Ef(t),u={...c,...o};return s?vo.jsx(_.Fragment,{children:s(l,u)},n):vo.jsx(l,u,n)},Qb=(t,o,n)=>{const{elementType:l,renderFunction:s,props:c}=Ef(t),u={...c,...o};return s?vo.jsx(_.Fragment,{children:s(l,{...u,children:vo.jsxs(_.Fragment,{children:u.children},void 0)})},n):vo.jsxs(l,u,n)},ue=Tf(vo.jsx,Xb),yt=Tf(vo.jsxs,Qb),zf=_.createContext(void 0),Yb={},Jb=zf.Provider,Zb=()=>{const t=_.useContext(zf);return t??Yb},ey=(t,o)=>ue(bb,{value:o.provider,children:ue(fb,{value:o.theme,children:ue(hb,{value:o.themeClassName,children:ue(kb,{value:o.customStyleHooks_unstable,children:ue(gb,{value:o.tooltip,children:ue(O1,{dir:o.textDirection,children:ue(Jb,{value:o.iconDirection,children:ue(yb,{value:o.overrides_unstable,children:yt(t.root,{children:[na()?null:ue("style",{dangerouslySetInnerHTML:{__html:t.serverStyleProps.cssRule},...t.serverStyleProps.attributes}),t.root.children]})})})})})})})})});var ty=typeof WeakRef<"u",Pf=class{constructor(t){ty&&typeof t=="object"?this._weakRef=new WeakRef(t):this._instance=t}deref(){var t,o;let n;return this._weakRef?(n=(t=this._weakRef)==null?void 0:t.deref(),n||delete this._weakRef):(n=this._instance,(o=n?.isDisposed)!=null&&o.call(n)&&delete this._instance),n}},tr="keyborg:focusin",Tn="keyborg:focusout";function ry(t){const o=t.HTMLElement,n=o.prototype.focus;let 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 oy(t){const o=t;ca||(ca=ry(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 w=new CustomEvent(Tn,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:g}});v.dispatchEvent(w)},c=g=>{const v=g.target;if(!v)return;let w=g.composedPath()[0];const b=new Set;for(;w;)w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(b.add(w),w=w.host):w=w.parentNode;for(const x of l){const y=x.deref();(!y||!b.has(y))&&(l.delete(x),y&&(y.removeEventListener("focusin",c,!0),y.removeEventListener("focusout",s,!0)))}u(v,g.relatedTarget||void 0)},u=(g,v,w)=>{var b;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 y={relatedTarget:v,originalEvent:w},S=new CustomEvent(tr,{cancelable:!0,bubbles:!0,composed:!0,detail:y});S.details=y,(ca||f.lastFocusedProgrammatically)&&(y.isFocusedProgrammatically=g===((b=f.lastFocusedProgrammatically)==null?void 0:b.deref()),f.lastFocusedProgrammatically=void 0),g.dispatchEvent(S)},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 ny(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 iy=500,Rf=0,ly=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),oy(t)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(t){this._isNavigatingWithKeyboard_DO_NOT_USE!==t&&(this._isNavigatingWithKeyboard_DO_NOT_USE=t,this.update())}dispose(){const t=this._win;if(t){this._isMouseOrTouchUsedTimer&&(t.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(t.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),ny(t);const o=t.document;o.removeEventListener(tr,this._onFocusIn,!0),o.removeEventListener("mousedown",this._onMouseDown,!0),t.removeEventListener("keydown",this._onKeyDown,!0),o.removeEventListener("touchstart",this._onMouseOrTouch,!0),o.removeEventListener("touchend",this._onMouseOrTouch,!0),o.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var t,o;const n=(o=(t=this._win)==null?void 0:t.__keyborg)==null?void 0:o.refs;if(n)for(const 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)},iy)}}},ua=class l0{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 ly(o,n),o.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(o,n){return new l0(o,n)}static dispose(o){o.dispose()}static update(o,n){o._cb.forEach(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 Gi(t,o){return ua.create(t,o)}function Ki(t){ua.dispose(t)}const rr="data-tabster",sy="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(", "),Lo={EscapeGroupper:1,Restorer:2,Deloser:3},Wr={Invisible:0,PartiallyVisible:1,Visible:2},or={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},Ve={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Xi={Unlimited:0,Limited:1,LimitedTrapFocus:2},Qi={Enter:1,Escape:2},ay={Outside:2};function Wt(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 w=p[v];w&&t.root.onRoot(w,!0)}switch(v){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const w=p[v];w&&(w.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 w=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,w),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,w));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,w));break;case"mover":p.mover?p.mover.setProps(g.mover):t.mover&&(p.mover=t.mover.createMover(o,g.mover,w));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 cy="tabster:focusin",uy="tabster:focusout",dy="tabster:movefocus",fy="tabster:mover:state",da="tabster:mover:movefocus",Df="tabster:mover:memorized-element",fa="tabster:groupper:movefocus",py="tabster:root:focus",hy="tabster:root:blur",my=typeof CustomEvent<"u"?CustomEvent:function(){};class $r extends my{constructor(o,n){super(o,{bubbles:!0,cancelable:!0,composed:!0,detail:n}),this.details=n}}class gy extends $r{constructor(o){super(cy,o)}}class vy extends $r{constructor(o){super(uy,o)}}class Vr extends $r{constructor(o){super(dy,o)}}class jf extends $r{constructor(o){super(fy,o)}}class by extends $r{constructor(o){super(da,o)}}class Of extends $r{constructor(o){super(fa,o)}}class yy extends $r{constructor(o){super(py,o)}}class wy extends $r{constructor(o){super(hy,o)}}const Q={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 ky(t){for(const o of Object.keys(t))Q[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 xy=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),pa=!1}catch{pa=!0}const ha=100;function Er(t){const o=t();let n=o.__tabsterInstanceContext;return n||(n={elementByUId:{},basics:{Promise:o.Promise||void 0,WeakRef:o.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},o.__tabsterInstanceContext=n),n}function _y(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 Sy(t){const o=t.__tabsterInstanceContext;return new(o?.basics.WeakMap||WeakMap)}function Cy(t){return!!t.querySelector(Ff)}class Lf{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 pr{constructor(o,n,l){const s=Er(o);let c;s.WeakRef?c=new s.WeakRef(n):(c=new Lf(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 Mf(t,o){const n=Er(t);n.fakeWeakRefs=n.fakeWeakRefs.filter(l=>!Lf.cleanup(l,o))}function qf(t){const o=Er(t);o.fakeWeakRefsStarted||(o.fakeWeakRefsStarted=!0,o.WeakRef=Py(o)),o.fakeWeakRefsTimer||(o.fakeWeakRefsTimer=t().setTimeout(()=>{o.fakeWeakRefsTimer=void 0,Mf(t),qf(t)},120*1e3))}function By(t){const o=Er(t);o.fakeWeakRefsStarted=!1,o.fakeWeakRefsTimer&&(t().clearTimeout(o.fakeWeakRefsTimer),o.fakeWeakRefsTimer=void 0,o.fakeWeakRefs=[])}function ma(t,o,n){if(o.nodeType!==Node.ELEMENT_NODE)return;const l=pa?n:{acceptNode:n};return Q.createTreeWalker(t,o,NodeFilter.SHOW_ELEMENT,l,!1)}function Hf(t,o){let n=o.__tabsterCacheId;const l=Er(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 Ny(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=Q.getParentElement(t);n;n=Q.getParentElement(n))if(n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight)return n;return o.documentElement}return null}function Ty(t){t.__shouldIgnoreFocus=!0}function Vf(t){return!!t.__shouldIgnoreFocus}function Ey(t){const o=new Uint32Array(4);if(t.crypto&&t.crypto.getRandomValues)t.crypto.getRandomValues(o);else if(t.msCrypto&&t.msCrypto.getRandomValues)t.msCrypto.getRandomValues(o);else for(let 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((++xy).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function Yi(t,o){const n=Er(t);let l=o.__tabsterElementUID;return l||(l=o.__tabsterElementUID=Ey(t())),!n.elementByUId[l]&&ga(o.ownerDocument,o)&&(n.elementByUId[l]=new pr(t,o)),l}function Uf(t,o){const n=Er(t);for(const l of Object.keys(n.elementByUId)){const s=n.elementByUId[l],c=s&&s.get();c&&o&&!Q.nodeContains(o,c)||delete n.elementByUId[l]}}function ga(t,o){return Q.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 zy(t){const o=Er(t);if(o.basics.Promise)return o.basics.Promise;throw new Error("No Promise defined.")}function Py(t){return t.basics.WeakRef}let Ry=0;class va{constructor(o,n,l){const s=o.getWindow;this._tabster=o,this._element=new pr(s,n),this._props={...l},this.id="i"+ ++Ry}getElement(){return this._element.get()}getProps(){return this._props}setProps(o){this._props={...o}}}class Ji{constructor(o,n,l,s,c){var u;this._focusIn=g=>{if(this._fixedTarget){const w=this._fixedTarget.get();w&&Tr(w);return}const v=this.input;if(this.onFocusIn&&v){const w=g.relatedTarget;this.onFocusIn(this,this._isBackward(!0,v,w),w)}},this._focusOut=g=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const v=this.input;if(this.onFocusOut&&v){const w=g.relatedTarget;this.onFocusOut(this,this._isBackward(!1,v,w),w)}};const f=o(),p=f.document.createElement("i");p.tabIndex=0,p.setAttribute("role","none"),p.setAttribute(sy,""),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"),Ty(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=Q.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 Iy(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 Ji(o.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(f){let p,m;if(n.tagName==="BODY")p=n,m=l&&s||!l&&!s?Q.getFirstElementChild(n):null;else{l&&(!s||s&&!o.focusable.isFocusable(n,!1,!0,!0))?(p=n,m=s?n.firstElementChild:null):(p=Q.getParentElement(n),m=l&&s||!l&&!s?n:Q.getNextElementSibling(n));let g,v;do g=l&&s||!l&&!s?Q.getPreviousElementSibling(m):m,v=zn(g),v===n?m=l&&s||!l&&!s?g:Q.getNextElementSibling(g):v=null;while(v)}p?.dispatchEvent(new Vr({by:"root",owner:p,next:null,relatedEvent:c}))&&(Q.insertBefore(p,f,m),Tr(f))}}static addPhantomDummyWithTarget(o,n,l,s){const u=new Ji(o.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new pr(o.getWindow,s)).input;if(u){let f,p;Cy(n)&&!l?(f=n,p=Q.getFirstElementChild(n)):(f=Q.getParentElement(n),p=l?n:Q.getNextElementSibling(n)),f&&Q.insertBefore(f,u,p)}}}class Fy{constructor(o){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=n=>{var 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=Q.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 pr(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 Iy{constructor(o,n,l,s,c,u,f){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(b,x,y)=>{this._onFocus(!0,b,x,y)},this._onFocusOut=(b,x,y)=>{this._onFocus(!1,b,x,y)},this.moveOut=b=>{var x;const y=this._firstDummy,S=this._lastDummy;if(y&&S){this._ensurePosition();const B=y.input,E=S.input,T=(x=this._element)===null||x===void 0?void 0:x.get();if(B&&E&&T){let N;b?(B.tabIndex=0,N=B):(E.tabIndex=0,N=E),N&&Tr(N)}}},this.moveOutWithDefaultAction=(b,x)=>{var y;const S=this._firstDummy,B=this._lastDummy;if(S&&B){this._ensurePosition();const E=S.input,T=B.input,N=(y=this._element)===null||y===void 0?void 0:y.get();if(E&&T&&N){let R;b?!S.isOutside&&this._tabster.focusable.isFocusable(N,!0,!0,!0)?R=N:(S.useDefaultAction=!0,E.tabIndex=0,R=E):(B.useDefaultAction=!0,T.tabIndex=0,R=T),R&&N.dispatchEvent(new Vr({by:"root",owner:N,next:null,relatedEvent:x}))&&Tr(R)}}},this.setTabbable=(b,x)=>{var y,S;for(const E of this._wrappers)if(E.manager===b){E.tabbable=x;break}const B=this._getCurrent();if(B){const E=B.tabbable?0:-1;let T=(y=this._firstDummy)===null||y===void 0?void 0:y.input;T&&(T.tabIndex=E),T=(S=this._lastDummy)===null||S===void 0?void 0:S.input,T&&(T.tabIndex=E)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=b=>{var x,y;const S=((x=this._firstDummy)===null||x===void 0?void 0:x.input)||((y=this._lastDummy)===null||y===void 0?void 0:y.input),B=this._transformElements,E=new Set;let T=0,N=0;const R=this._getWindow();for(let A=S;A&&A.nodeType===Node.ELEMENT_NODE;A=Q.getParentElement(A)){let D=b.get(A);if(D===void 0){const M=R.getComputedStyle(A).transform;M&&M!=="none"&&(D={scrollTop:A.scrollTop,scrollLeft:A.scrollLeft}),b.set(A,D||null)}D&&(E.add(A),B.has(A)||A.addEventListener("scroll",this._addTransformOffsets),T+=D.scrollTop,N+=D.scrollLeft)}for(const A of B)E.has(A)||A.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=E,()=>{var A,D;(A=this._firstDummy)===null||A===void 0||A.setTopLeft(T,N),(D=this._lastDummy)===null||D===void 0||D.setTopLeft(T,N)}};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===ay.Outside:(u||v==="UL"||v==="OL"||v==="TABLE")&&!(v==="LI"||v==="TD"||v==="TH"),this._firstDummy=new Ji(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new Ji(this._getWindow,this._isOutside,{isFirst:!1},n);const w=this._firstDummy.input;w&&o._dummyObserver.add(w,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=Q.getParentNode(s);if(f){const p=Q.getNextSibling(s);p!==u&&Q.insertBefore(f,u,p),Q.getPreviousElementSibling(s)!==c&&Q.insertBefore(f,c,s)}}else{Q.getLastElementChild(s)!==u&&Q.appendChild(s,u);const f=Q.getFirstElementChild(s);f&&f!==c&&f.parentNode&&Q.insertBefore(f.parentNode,c,f)}}}function Kf(t){let o=null;for(let n=Q.getLastElementChild(t);n;n=Q.getLastElementChild(n))o=n;return o||void 0}function Dy(t,o){let n=t,l=null;for(;n&&!l;)l=o?Q.getPreviousElementSibling(n):Q.getNextElementSibling(n),n=Q.getParentElement(n);return l||void 0}function jy(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 Oy(t){if(!ya(t))return;const o=t.name;let n=Array.from(Q.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 zn(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 Ay(t,o){for(const n of Object.keys(o)){const l=o[n];l?t[n]=l:delete t[n]}}function Ly(t,o,n){let l;{const s=t.getAttribute(rr);if(s)try{l=JSON.parse(s)}catch{}}l||(l={}),Ay(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 My 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 yy({element:v}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var w;delete this._setFocusedTimer,this._isFocused=!1,(w=this._dummyManager)===null||w===void 0||w.setTabbable(!0),v.dispatchEvent(new wy({element:v}))},0))},this._onFocusIn=m=>{const g=this._tabster.getParent,v=this._element.get();let w=m.composedPath()[0];do{if(w===v){this._setFocused(!0);return}w=w&&g(w)}while(w)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=l;const u=o.getWindow;this.uid=Yi(u,n),this._sys=c,(o.controlTab||o.rootDummyInputs)&&this.addDummyInputs();const p=u().document;p.addEventListener(tr,this._onFocusIn),p.addEventListener(Tn,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(Tn,this._onFocusOut),this._setFocusedTimer&&(n.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(o=this._dummyManager)===null||o===void 0||o.dispose(),this._remove()}moveOutWithDefaultAction(o,n){const 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 tt{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 Ly(c,{root:u}),If(this._tabster,c),(l=Wt(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 My(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,w,b,x,y=!1,S,B,E,T,N=m||n;const R={};for(;N&&(!v||p);){const D=Wt(o,N);if(p&&E===void 0){const he=N.dir;he&&(E=he.toLowerCase()==="rtl")}if(!D){N=g(N);continue}const M=N.tagName;(D.uncontrolled||M==="IFRAME"||M==="WEBVIEW")&&o.focusable.isVisible(N)&&(T=N),!x&&(!((s=D.focusable)===null||s===void 0)&&s.excludeFromMover)&&!b&&(y=!0);const U=D.modalizer,Y=D.groupper,ae=D.mover;!w&&U&&(w=U),!b&&Y&&(!w||U)&&(w?(!Y.isActive()&&Y.getProps().tabbability&&w.userId!==((c=o.modalizer)===null||c===void 0?void 0:c.activeId)&&(w=void 0,b=Y),B=Y):b=Y),!x&&ae&&(!w||U)&&(!Y||N!==n)&&N.contains(n)&&(x=ae,S=!!b&&b!==Y),D.root&&(v=D.root),!((u=D.focusable)===null||u===void 0)&&u.ignoreKeydown&&Object.assign(R,D.focusable.ignoreKeydown),N=g(N)}if(!v){const D=o.root;D._autoRoot&&!((f=n.ownerDocument)===null||f===void 0)&&f.body&&(v=D._autoRootCreate())}return b&&!x&&(S=!0),v?{root:v,modalizer:w,groupper:b,mover:x,groupperBeforeMover:S,modalizerInGroupper:B,rtl:p?!!E:void 0,uncontrolled:T,excludedFromMover:y,ignoreKeydown:D=>!!R[D.key]}:void 0}static getRoot(o,n){var l;const s=o.getParent;for(let c=n;c;c=s(c)){const u=(l=Wt(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 qy{constructor(o){this._tabster=o}dispose(){}getProps(o){const n=Wt(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||jy(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=Q.getParentElement(l)){const s=Wt(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:w,isBackward:b,onElement:x}=n;l||(l={});const y=[];let{acceptCondition:S}=n;const B=!!S;if(!f)return null;S||(S=R=>this.isFocusable(R,m,!1,v));const E={container:f,modalizerUserId:w===void 0&&g?(s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId:w||((u=(c=tt.getTabsterContext(this._tabster,f))===null||c===void 0?void 0:c.modalizer)===null||u===void 0?void 0:u.userId),from:p||f,isBackward:b,isFindAll:o,acceptCondition:S,hasCustomCondition:B,includeProgrammaticallyFocusable:m,ignoreAccessibility:v,cachedGrouppers:{},cachedRadioGroups:{}},T=ma(f.ownerDocument,f,R=>this._acceptElement(R,E));if(!T)return null;const N=R=>{var A,D;const M=(A=E.foundElement)!==null&&A!==void 0?A:E.foundBackward;return M&&y.push(M),o?M&&(E.found=!1,delete E.foundElement,delete E.foundBackward,delete E.fromCtx,E.from=M,x&&!x(M))?!1:!!(M||R):(M&&l&&(l.uncontrolled=(D=tt.getTabsterContext(this._tabster,M))===null||D===void 0?void 0:D.uncontrolled),!!(R&&!M))};if(p||(l.outOfDOMOrder=!0),p&&Q.nodeContains(f,p))T.currentNode=p;else if(b){const R=Kf(f);if(!R)return null;if(this._acceptElement(R,E)===NodeFilter.FILTER_ACCEPT&&!N(!0))return E.skippedFocusable&&(l.outOfDOMOrder=!0),y;T.currentNode=R}do b?T.previousNode():T.nextNode();while(N());return E.skippedFocusable&&(l.outOfDOMOrder=!0),y.length?y:null}_acceptElement(o,n){var l,s,c;if(n.found)return NodeFilter.FILTER_ACCEPT;const u=n.foundBackward;if(u&&(o===u||!Q.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(!Q.nodeContains(f,o)||zn(o)||Q.nodeContains(n.rejectElementsFrom,o))return NodeFilter.FILTER_REJECT;const p=n.currentCtx=tt.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=tt.getTabsterContext(this._tabster,n.from));const v=g?.mover;let w=p.groupper,b=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&&(w||b||v)){const x=w?.getElement(),y=v?.getElement();let S=b?.getElement();if(S&&Q.nodeContains(y,S)&&Q.nodeContains(f,y)&&(!x||!b||Q.nodeContains(y,x))&&(b=v,S=y),x){if(x===f||!Q.nodeContains(f,x))w=void 0;else if(!Q.nodeContains(x,o))return NodeFilter.FILTER_REJECT}if(S){if(!Q.nodeContains(f,S))b=void 0;else if(!Q.nodeContains(S,o))return NodeFilter.FILTER_REJECT}w&&b&&(S&&x&&!Q.nodeContains(x,S)?b=void 0:w=void 0),w&&(m=w.acceptElement(o,n)),b&&(m=b.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 y=n.cachedRadioGroups[x];if(y||(y=Oy(o),y&&(n.cachedRadioGroups[x]=y)),y?.checked&&y.checked!==o)return NodeFilter.FILTER_SKIP}n.isBackward?(n.foundBackward=o,m=NodeFilter.FILTER_SKIP):(n.found=!0,n.foundElement=o)}return m}}const Xe={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};function Hy(t,o){var n;const l=t.getParent;let s=o;do{const c=(n=Wt(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={[Lo.Restorer]:0,[Lo.Deloser]:1,[Lo.EscapeGroupper]:2};class Qe extends Yf{constructor(o,n){super(),this._init=()=>{const l=this._win(),s=l.document;s.addEventListener(tr,this._onFocusIn,!0),s.addEventListener(Tn,this._onFocusOut,!0),l.addEventListener("keydown",this._onKeyDown,!0);const c=Q.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!==Xe.Tab||l.ctrlKey)return;const s=this.getVal();if(!s||!s.ownerDocument||s.contentEditable==="true")return;const c=this._tabster,u=c.controlTab,f=tt.getTabsterContext(c,s);if(!f||f.ignoreKeydown(l))return;const p=l.shiftKey,m=Qe.findNextTabbable(c,f,void 0,s,void 0,p,!0),g=f.root.getElement();if(!g)return;const v=m?.element,w=Hy(c,s);if(v){const b=m.uncontrolled;if(f.uncontrolled||Q.nodeContains(b,s)){if(!m.outOfDOMOrder&&b===f.uncontrolled||w&&!Q.nodeContains(w,v))return;En.addPhantomDummyWithTarget(c,s,p,v);return}if(b&&c.focusable.isVisible(b)||v.tagName==="IFRAME"&&c.focusable.isVisible(v)){g.dispatchEvent(new Vr({by:"root",owner:g,next:v,relatedEvent:l}))&&En.moveWithPhantomDummy(c,b??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!w&&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 gy(s));else{const f=(c=this._lastVal)===null||c===void 0?void 0:c.get();if(f){const p={...s},m=tt.getTabsterContext(this._tabster,f),g=(u=m?.modalizer)===null||u===void 0?void 0:u.userId;g&&(p.modalizerId=g),f.dispatchEvent(new vy(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(Tn,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 Qe._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(o,n){var l,s;let c=Qe._lastResetElement,u=c&&c.get();u&&Q.nodeContains(n,u)&&delete Qe._lastResetElement,u=(s=(l=o._nextVal)===null||l===void 0?void 0:l.element)===null||s===void 0?void 0:s.get(),u&&Q.nodeContains(n,u)&&delete o._nextVal,c=o._lastVal,u=c&&c.get(),u&&Q.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=tt.getTabsterContext(this._tabster,s);f&&(u=(l=Qe.findNextTabbable(this._tabster,f,s,void 0,void 0,!o,c))===null||l===void 0?void 0:l.element)}return u&&!Q.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"),Qe._lastResetElement=new pr(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=Qe._lastResetElement)===null||s===void 0?void 0:s.get();if(Qe._lastResetElement=void 0,p===o||Vf(o))return;u.isFocusedProgrammatically=l;const m=tt.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 pr(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 pr(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=Qe._isTabbingTimer,v=o.getWindow();g&&v.clearTimeout(g),Qe.isTabbing=!0,Qe._isTabbingTimer=v.setTimeout(()=>{delete Qe._isTabbingTimer,Qe.isTabbing=!1},0);const w=n.modalizer,b=n.groupper,x=n.mover,y=S=>{if(m=S.findNextTabbable(s,c,u,f),s&&!m?.element){const B=S!==w&&Q.getParentElement(S.getElement());if(B){const E=tt.getTabsterContext(o,s,{referenceElement:B});if(E){const T=S.getElement(),N=u?T:T&&Kf(T)||T;N&&(m=Qe.findNextTabbable(o,E,l,N,B,u,f),m&&(m.outOfDOMOrder=!0))}}}};if(b&&x)y(n.groupperBeforeMover?b:x);else if(b)y(b);else if(x)y(x);else if(w)y(w);else{const S={container:p,currentElement:s,referenceElement:c,ignoreAccessibility:f,useActiveModalizer:!0},B={};m={element:o.focusable[u?"findPrev":"findNext"](S,B),outOfDOMOrder:B.outOfDOMOrder,uncontrolled:B.uncontrolled}}return m}}Qe.isTabbing=!1;class Wy 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 w=tt.getTabsterContext(l,v);if(w){let b;b=(p=n.findNextTabbable(f||void 0,void 0,u,!0))===null||p===void 0?void 0:p.element,b||(b=(m=Qe.findNextTabbable(l,w,void 0,c.isOutside?v:Dy(g,!u),void 0,u,!0))===null||m===void 0?void 0:m.element),b&&Tr(b)}}})}}class $y 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 Wy(this._element,this,o,c))}dispose(){var o;this._onDispose(this),this._element.get(),(o=this.dummyManager)===null||o===void 0||o.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(o,n,l,s){const c=this.getElement();if(!c)return null;const u=zn(o)===c;if(!this._shouldTabInside&&o&&Q.nodeContains(c,o)&&!u)return{element:void 0,outOfDOMOrder:!0};const f=this.getFirst(!0);if(!o||!Q.nodeContains(c,o)||u)return{element:f,outOfDOMOrder:!0};const p=this._tabster;let m=null,g=!1,v;if(this._shouldTabInside&&f){const w={container:c,currentElement:o,referenceElement:n,ignoreAccessibility:s,useActiveModalizer:!0},b={};m=p.focusable[l?"findPrev":"findNext"](w,b),g=!!b.outOfDOMOrder,!m&&this._props.tabbability===Xi.LimitedTrapFocus&&(m=p.focusable[l?"findLast":"findFirst"]({container:c,ignoreAccessibility:s,useActiveModalizer:!0},b),g=!0),v=b.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=Q.getParentElement(l);u;u=Q.getParentElement(u)){const f=(n=Wt(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 pr(this._tabster.getWindow,o):delete this._first}acceptElement(o,n){const l=n.cachedGrouppers,s=Q.getParentElement(this.getElement()),c=s&&tt.getTabsterContext(this._tabster,s),u=c?.groupper,f=c?.groupperBeforeMover?u:void 0;let p;const m=w=>{let b=l[w.id],x;return b?x=b.isActive:(x=this.isActive(!0),b=l[w.id]={isActive:x}),x};if(f&&(p=f.getElement(),!m(f)&&p&&n.container!==p&&Q.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)&&Q.nodeContains(n.container,p)&&p!==n.container)||v!==o&&Q.nodeContains(v,o))return n.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const w=l[this.id];let b;if("first"in w?b=w.first:b=w.first=this.getFirst(!0),b&&n.acceptCondition(b))return n.rejectElementsFrom=v,n.skippedFocusable=!0,b!==n.from?(n.found=!0,n.foundElement=b,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class Vy{constructor(o,n){this._current={},this._grouppers={},this._init=()=>{const l=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const s=l.document,c=Q.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!==Xe.Enter&&l.key!==Xe.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===Qi.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(Lo.EscapeGroupper),this._current={},this._updateTimer&&(o.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),o.document.removeEventListener("mousedown",this._onMouseDown,!0),o.removeEventListener("keydown",this._onKeyDown,!0),o.removeEventListener(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 $y(s,o,this._onGroupperDispose,n,l);this._grouppers[c.id]=c;const u=s.focusedElement.getFocusedElement();return u&&Q.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=Wt(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=tt.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=tt.getTabsterContext(s,o);let u=c?.groupper||c?.modalizerInGroupper;const f=u?.getElement();if(u&&f&&Q.nodeContains(f,o)){let p;if(o!==f||l)p=u.getFirst(!0);else{const m=Q.getParentElement(f),g=m?tt.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===Qi.Enter?this._enterGroupper(o):this._escapeGroupper(o)}handleKeyPress(o,n,l){const s=this._tabster,c=tt.getTabsterContext(s,o);if(c&&(c?.groupper||c?.modalizerInGroupper)){if(s.focusedElement.cancelAsyncFocus(Lo.EscapeGroupper),c.ignoreKeydown(n))return;if(n.key===Xe.Enter)this._enterGroupper(o,n);else if(n.key===Xe.Escape){const u=s.focusedElement.getFocusedElement();s.focusedElement.requestAsyncFocus(Lo.EscapeGroupper,()=>{u!==s.focusedElement.getFocusedElement()&&(l&&!u||!l)||this._escapeGroupper(o,n,l)},0)}}}}class Uy extends Yf{constructor(o){super(),this._onChange=n=>{this.setVal(n,void 0)},this._keyborg=Gi(o()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Ki(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(o){var n;(n=this._keyborg)===null||n===void 0||n.setVal(o)}isNavigatingWithKeyboard(){var o;return!!(!((o=this._keyborg)===null||o===void 0)&&o.isNavigatingWithKeyboard())}}const Gy=["input","textarea","*[contenteditable]"].join(", ");class Ky extends En{constructor(o,n,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=tt.getTabsterContext(this._tabster,p);let v;g&&(v=(u=Qe.findNextTabbable(this._tabster,g,void 0,m,void 0,!c.isFirst,!0))===null||u===void 0?void 0:u.element);const w=(f=this._getMemorized())===null||f===void 0?void 0:f.get();w&&this._tabster.focusable.isFocusable(w)&&(v=w),v&&Tr(v)}},this._tabster=n,this._getMemorized=l,this._setHandlers(this._onFocusDummyInput)}}const wa=1,Zf=2,ep=3;class Xy 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=Yi(this._win,g);let w,b=this._fullyVisible;if(m.intersectionRatio>=.25?(w=m.intersectionRatio>=.75?Wr.Visible:Wr.PartiallyVisible,w===Wr.Visible&&(b=v)):w=Wr.Invisible,this._visible[v]!==w){w===void 0?(delete this._visible[v],b===v&&delete this._fullyVisible):(this._visible[v]=w,this._fullyVisible=b);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 Ky(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 pr(this._win,o):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{var n;delete this._setCurrentTimer;const 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&&zn(o)===c;if(!c)return null;let f=null,p=!1,m;if(this._props.tabbable||u||o&&!Q.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(!Qe.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)&&(!Q.nodeContains(p,n.from)||zn(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 w=Yi(this._win,g),b=this._visible[w];return p!==g&&!!(!((v=this._allElements)===null||v===void 0)&&v.get(g))&&n.acceptCondition(g)&&(b===Wr.Visible||b===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=Q.createMutationObserver(b=>{for(const x of b){const y=x.target,S=x.removedNodes,B=x.addedNodes;if(x.type==="attributes")x.attributeName==="tabindex"&&c.push({element:y,type:Zf});else{for(let E=0;E<S.length;E++)c.push({element:S[E],type:ep});for(let E=0;E<B.length;E++)c.push({element:B[E],type:wa})}}v()}),f=(b,x)=>{var y,S;const B=l.get(b);B&&x&&((y=this._intersectionObserver)===null||y===void 0||y.unobserve(b),l.delete(b)),!B&&!x&&(l.set(b,this),(S=this._intersectionObserver)===null||S===void 0||S.observe(b))},p=b=>{const x=s.isFocusable(b);l.get(b)?x||f(b,!0):x&&f(b)},m=b=>{const{mover:x}=w(b);if(x&&x!==this)if(x.getElement()===b&&s.isFocusable(b))f(b);else return;const y=ma(n.document,b,S=>{const{mover:B,groupper:E}=w(S);if(B&&B!==this)return NodeFilter.FILTER_REJECT;const T=E?.getFirst(!0);return E&&E.getElement()!==S&&T&&T!==S?NodeFilter.FILTER_REJECT:(s.isFocusable(S)&&f(S),NodeFilter.FILTER_SKIP)});if(y)for(y.currentNode=b;y.nextNode(););},g=b=>{l.get(b)&&f(b,!0);for(let y=Q.getFirstElementChild(b);y;y=Q.getNextElementSibling(y))g(y)},v=()=>{!this._updateTimer&&c.length&&(this._updateTimer=n.setTimeout(()=>{delete this._updateTimer;for(const{element:b,type:x}of c)switch(x){case Zf:p(b);break;case wa:m(b);break;case ep:g(b);break}c=this._updateQueue=[]},0))},w=b=>{const x={};for(let y=b;y;y=Q.getParentElement(y)){const S=Wt(this._tabster,y);if(S&&(S.groupper&&!x.groupper&&(x.groupper=S.groupper),S.mover)){x.mover=S.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=Yi(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 Qy(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 Yy{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=Q.getParentElement(l);f;f=Q.getParentElement(f)){const p=(s=Wt(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===Xe.ArrowDown?u=Ve.ArrowDown:c===Xe.ArrowRight?u=Ve.ArrowRight:c===Xe.ArrowUp?u=Ve.ArrowUp:c===Xe.ArrowLeft?u=Ve.ArrowLeft:c===Xe.PageDown?u=Ve.PageDown:c===Xe.PageUp?u=Ve.PageUp:c===Xe.Home?u=Ve.Home:c===Xe.End&&(u=Ve.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=tt.getTabsterContext(this._tabster,c),p=f?.mover;p&&(u&&!Q.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 Xy(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=tt.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 M=f.groupper;if(M&&!M.isActive(!0)){for(let U=Q.getParentElement(M.getElement());U&&U!==m;U=Q.getParentElement(U))if(!((c=(s=Wt(u,U))===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(),w=v.direction||or.Both,b=w===or.Both,x=b||w===or.Vertical,y=b||w===or.Horizontal,S=w===or.GridLinear,B=S||w===or.Grid,E=v.cyclic;let T,N,R,A=0,D=0;if(B&&(R=o.getBoundingClientRect(),A=Math.ceil(R.left),D=Math.floor(R.right)),f.rtl&&(n===Ve.ArrowRight?n=Ve.ArrowLeft:n===Ve.ArrowLeft&&(n=Ve.ArrowRight)),n===Ve.ArrowDown&&x||n===Ve.ArrowRight&&(y||B))if(T=g.findNext({currentElement:o,container:m,useActiveModalizer:!0}),T&&B){const M=Math.ceil(T.getBoundingClientRect().left);!S&&D>M&&(T=void 0)}else!T&&E&&(T=g.findFirst({container:m,useActiveModalizer:!0}));else if(n===Ve.ArrowUp&&x||n===Ve.ArrowLeft&&(y||B))if(T=g.findPrev({currentElement:o,container:m,useActiveModalizer:!0}),T&&B){const M=Math.floor(T.getBoundingClientRect().right);!S&&M>A&&(T=void 0)}else!T&&E&&(T=g.findLast({container:m,useActiveModalizer:!0}));else if(n===Ve.Home)B?g.findElement({container:m,currentElement:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:M=>{var U;if(!g.isFocusable(M))return!1;const Y=Math.ceil((U=M.getBoundingClientRect().left)!==null&&U!==void 0?U:0);return M!==o&&A<=Y?!0:(T=M,!1)}}):T=g.findFirst({container:m,useActiveModalizer:!0});else if(n===Ve.End)B?g.findElement({container:m,currentElement:o,useActiveModalizer:!0,acceptCondition:M=>{var U;if(!g.isFocusable(M))return!1;const Y=Math.ceil((U=M.getBoundingClientRect().left)!==null&&U!==void 0?U:0);return M!==o&&A>=Y?!0:(T=M,!1)}}):T=g.findLast({container:m,useActiveModalizer:!0});else if(n===Ve.PageUp){if(g.findElement({currentElement:o,container:m,useActiveModalizer:!0,isBackward:!0,acceptCondition:M=>g.isFocusable(M)?Wf(this._win,M,p.visibilityTolerance)?(T=M,!1):!0:!1}),B&&T){const M=Math.ceil(T.getBoundingClientRect().left);g.findElement({currentElement:T,container:m,useActiveModalizer:!0,acceptCondition:U=>{if(!g.isFocusable(U))return!1;const Y=Math.ceil(U.getBoundingClientRect().left);return A<Y||M>=Y?!0:(T=U,!1)}})}N=!1}else if(n===Ve.PageDown){if(g.findElement({currentElement:o,container:m,useActiveModalizer:!0,acceptCondition:M=>g.isFocusable(M)?Wf(this._win,M,p.visibilityTolerance)?(T=M,!1):!0:!1}),B&&T){const M=Math.ceil(T.getBoundingClientRect().left);g.findElement({currentElement:T,container:m,useActiveModalizer:!0,isBackward:!0,acceptCondition:U=>{if(!g.isFocusable(U))return!1;const Y=Math.ceil(U.getBoundingClientRect().left);return A>Y||M<=Y?!0:(T=U,!1)}})}N=!0}else if(B){const M=n===Ve.ArrowUp,U=A,Y=Math.ceil(R.top),ae=D,he=Math.floor(R.bottom);let H,Z,xe=0;g.findAll({container:m,currentElement:o,isBackward:M,onElement:be=>{const me=be.getBoundingClientRect(),G=Math.ceil(me.left),te=Math.ceil(me.top),J=Math.floor(me.right),F=Math.floor(me.bottom);if(M&&Y<F||!M&&he>te)return!0;const L=Math.ceil(Math.min(ae,J))-Math.floor(Math.max(U,G)),le=Math.ceil(Math.min(ae-U,J-G));if(L>0&&le>=L){const ge=L/le;ge>xe&&(H=be,xe=ge)}else if(xe===0){const ge=Qy(U,Y,ae,he,G,te,J,F);(Z===void 0||ge<Z)&&(Z=ge,H=be)}else if(xe>0)return!1;return!0}}),T=H}return T&&(!l||l&&m.dispatchEvent(new Vr({by:"mover",owner:m,next:T,relatedEvent:l})))?(N!==void 0&&Ny(this._win,T,N),l&&(l.preventDefault(),l.stopImmediatePropagation()),Tr(T),T):null}async _isIgnoredInput(o,n){if(o.getAttribute("aria-expanded")==="true"&&o.hasAttribute("aria-activedescendant"))return!0;if(Gf(o,Gy)){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=Q.getSelection(o);if(m){const g=m.toString().length,v=n===Xe.ArrowLeft||n===Xe.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(zy(this._win))(f=>{this._ignoredInputResolve=b=>{delete this._ignoredInputResolve,f(b)};const p=this._win();this._ignoredInputTimer&&p.clearTimeout(this._ignoredInputTimer);const{anchorNode:m,focusNode:g,anchorOffset:v,focusOffset:w}=Q.getSelection(o)||{};this._ignoredInputTimer=p.setTimeout(()=>{var b,x,y;delete this._ignoredInputTimer;const{anchorNode:S,focusNode:B,anchorOffset:E,focusOffset:T}=Q.getSelection(o)||{};if(S!==m||B!==g||E!==v||T!==w){(b=this._ignoredInputResolve)===null||b===void 0||b.call(this,!1);return}if(l=E||0,s=T||0,c=((x=o.textContent)===null||x===void 0?void 0:x.length)||0,S&&B&&Q.nodeContains(o,S)&&Q.nodeContains(o,B)&&S!==o){let N=!1;const R=A=>{if(A===S)N=!0;else if(A===B)return!0;const D=A.textContent;if(D&&!Q.getFirstChild(A)){const U=D.length;N?B!==S&&(s+=U):(l+=U,s+=U)}let M=!1;for(let U=Q.getFirstChild(A);U&&!M;U=U.nextSibling)M=R(U);return M};R(o)}(y=this._ignoredInputResolve)===null||y===void 0||y.call(this,!0)},0)}));if(u&&!await u||l!==s||l>0&&(n===Xe.ArrowLeft||n===Xe.ArrowUp||n===Xe.Home)||l<c&&(n===Xe.ArrowRight||n===Xe.ArrowDown||n===Xe.End))return!0}return!1}}function Jy(t,o,n,l){if(typeof MutationObserver>"u")return()=>{};const s=o.getWindow;let c;const u=g=>{var v,w,b,x,y;const S=new Set;for(const B of g){const E=B.target,T=B.removedNodes,N=B.addedNodes;if(B.type==="attributes")B.attributeName===rr&&(S.has(E)||n(o,E));else{for(let R=0;R<T.length;R++){const A=T[R];S.add(A),f(A,!0),(w=(v=o._dummyObserver).domChanged)===null||w===void 0||w.call(v,E)}for(let R=0;R<N.length;R++)f(N[R]),(x=(b=o._dummyObserver).domChanged)===null||x===void 0||x.call(b,E)}}S.clear(),(y=o.modalizer)===null||y===void 0||y.hiddenUpdate()};function f(g,v){c||(c=Er(s).elementByUId),p(g,v);const w=ma(t,g,b=>p(b,v));if(w)for(;w.nextNode(););}function p(g,v){var w;if(!g.getAttribute)return NodeFilter.FILTER_SKIP;const b=g.__tabsterElementUID;return b&&c&&(v?delete c[b]:(w=c[b])!==null&&w!==void 0||(c[b]=new pr(s,g))),(Wt(o,g)||g.hasAttribute(rr))&&n(o,g,v),NodeFilter.FILTER_SKIP}const m=Q.createMutationObserver(u);return l&&f(s().document.body),m.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[rr]}),()=>{m.disconnect()}}class Zy{constructor(o){this._isUncontrolledCompletely=o}isUncontrolledCompletely(o,n){var l;const s=(l=this._isUncontrolledCompletely)===null||l===void 0?void 0:l.call(this,o,n);return s===void 0?n:s}}class ew{constructor(o){this.keyboardNavigation=o.keyboardNavigation,this.focusedElement=o.focusedElement,this.focusable=o.focusable,this.root=o.root,this.uncontrolled=o.uncontrolled,this.core=o}}class tw{constructor(o,n){var 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=Sy(o),this._win=o;const c=this.getWindow;n?.DOMAPI&&ky({...n.DOMAPI}),this.keyboardNavigation=new Uy(c),this.focusedElement=new Qe(this,c),this.focusable=new qy(this),this.root=new tt(this,n?.autoRoot),this.uncontrolled=new Zy(n?.checkUncontrolledCompletely||n?.checkUncontrolledTrappingFocus),this.controlTab=(l=n?.controlTab)!==null&&l!==void 0?l:!0,this.rootDummyInputs=!!n?.rootDummyInputs,this._dummyObserver=new Fy(c),this.getParent=(s=n?.getParent)!==null&&s!==void 0?s:Q.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:u=>{if(!this._unobserve){const f=c().document;this._unobserve=Jy(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 ew(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(),By(this.getWindow),Uf(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),m&&(_y(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),Qe.forgetMemorized(this.focusedElement,o)},0),Mf(this.getWindow,!0)))}queueInit(o){var n;this._win&&(this._initQueue.push(o),this._initTimer||(this._initTimer=(n=this._win)===null||n===void 0?void 0:n.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const o=this._initQueue;this._initQueue=[],o.forEach(n=>n())}}function rw(t,o){let n=lw(t);return n?n.createTabster(!1,o):(n=new tw(t,o),t.__tabsterInstance=n,n.createTabster())}function ow(t){const o=t.core;return o.groupper||(o.groupper=new Vy(o,o.getWindow)),o.groupper}function nw(t){const o=t.core;return o.mover||(o.mover=new Yy(o,o.getWindow)),o.mover}function iw(t,o){t.core.disposeTabster(t,o)}function lw(t){return t.__tabsterInstance}const sw=t=>t;function aw(t){const o=t?.defaultView||void 0,n=o?.__tabsterShadowDOMAPI;if(o)return rw(o,{autoRoot:{},controlTab:!1,getParent:Vb,checkUncontrolledCompletely: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 Zi(t=sw){const{targetDocument:o}=at(),n=_.useRef(null);return Ht(()=>{const l=aw(o);if(l)return n.current=t(l),()=>{iw(l),n.current=null}},[o,t]),n}const ka=t=>{Zi();const o=Xf(t);return _.useMemo(()=>({[rr]:o}),[o])},xa=(t={})=>{const{circular:o,axis:n,memorizeCurrent:l=!0,tabbable:s,ignoreDefaultKeydown:c,unstable_hasDefault:u}=t;return Zi(nw),ka({mover:{cyclic:!!o,direction:cw(n??"vertical"),memorizeCurrent:l,tabbable:s,hasDefault:u},...c&&{focusable:{ignoreKeydown:c}}})};function cw(t){switch(t){case"horizontal":return or.Horizontal;case"grid":return or.Grid;case"grid-linear":return or.GridLinear;case"both":return or.Both;case"vertical":default:return or.Vertical}}const _a=t=>(Zi(ow),ka({groupper:{tabbability:uw(t?.tabBehavior)},focusable:{ignoreKeydown:t?.ignoreDefaultKeydown}})),uw=t=>{switch(t){case"unlimited":return Xi.Unlimited;case"limited":return Xi.Limited;case"limited-trap-focus":return Xi.LimitedTrapFocus;default:return}},Sa=()=>{const t=Zi(),{targetDocument:o}=at(),n=_.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=_.useCallback(f=>{var p;return f&&((p=t.current)===null||p===void 0?void 0:p.focusable.findFirst({container:f}))},[t]),s=_.useCallback(f=>{var p;return f&&((p=t.current)===null||p===void 0?void 0:p.focusable.findLast({container:f}))},[t]),c=_.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=_.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 dw(t,o){if(op(t))return()=>{};const n={current:void 0},l=Gi(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,Ki(l)}}function op(t){return t?t.focusVisible?!0:op(t?.parentElement):!1}function Ca(t={}){const o=at(),n=_.useRef(null);var l;const s=(l=t.targetDocument)!==null&&l!==void 0?l:o.targetDocument;return _.useEffect(()=>{if(s?.defaultView&&n.current)return dw(n.current,s.defaultView)},[n,s]),n}function fw(t,o){const n=Gi(o);n.subscribe(c=>{c||np(t)});const l=c=>{n.isNavigatingWithKeyboard()&&ip(c.target)&&pw(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),Ki(n)}}function pw(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 Pn(){const{targetDocument:t}=at(),o=_.useRef(null);return _.useEffect(()=>{if(t?.defaultView&&o.current)return fw(o.current,t.defaultView)},[o,t]),o}function lp(){const{targetDocument:t}=at(),o=_.useRef(null);return _.useEffect(()=>{const n=t?.defaultView;if(n){const l=Gi(n);return o.current=l,()=>{Ki(l),o.current=null}}},[t]),o}function sp(t){const o=lp(),n=ke(t);_.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 hw=(...t)=>{"use no memo";const o=t.reduce((n,l)=>(l?.[rr]&&n.push(l[rr]),n),[]);return _.useMemo(()=>({[rr]:o.length>0?o.reduce(mw):void 0}),o)},mw=(t,o)=>JSON.stringify(Object.assign(ap(t),ap(o))),ap=t=>{try{return JSON.parse(t)}catch{return{}}};function gw(){const t=lp();return _.useCallback(o=>{var n;(n=t.current)===null||n===void 0||n.setVal(o)},[t])}const q={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)"},$t={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.1)",20:"rgba(0, 0, 0, 0.2)",30:"rgba(0, 0, 0, 0.3)",40:"rgba(0, 0, 0, 0.4)",50:"rgba(0, 0, 0, 0.5)"},vw={50:"rgba(26, 26, 26, 0.5)"},bw={70:"rgba(31, 31, 31, 0.7)"},cp={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},ye="#ffffff",Ba="#000000",yw={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},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"},ww={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},kw={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},xw={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},_w={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},Sw={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Cw={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},Bw={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},Nw={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},Tw={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},Ew={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},zw={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},Pw={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},Rw={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},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"},Fw={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},Iw={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},Dw={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},jw={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},Ow={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},Aw={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},Lw={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},Mw={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},qw={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},Hw={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},Ww={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},$w={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},Vw={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},Uw={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},Gw={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},Kw={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},Xw={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},Qw={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},Yw={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},Jw={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Te={red:ww,green:dp,darkOrange:kw,yellow:Bw,berry:$w,lightGreen:Rw,marigold:Cw},Ur={darkRed:yw,cranberry:up,pumpkin:xw,peach:Sw,gold:Nw,brass:Tw,brown:Ew,forest:zw,seafoam:Pw,darkGreen:Fw,lightTeal:Iw,teal:Dw,steel:jw,blue:Ow,royalBlue:Aw,cornflower:Lw,navy:Mw,lavender:qw,purple:Hw,grape:Ww,lilac:Vw,pink:Uw,magenta:Gw,plum:Kw,beige:Xw,mink:Qw,platinum:Yw,anchor:Jw},Se={cranberry:up,green:dp,orange:_w},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"},Rn=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)},{});Rn.colorPaletteYellowForeground1=Te.yellow.shade30,Rn.colorPaletteRedForegroundInverted=Te.red.tint20,Rn.colorPaletteGreenForegroundInverted=Te.green.tint20,Rn.colorPaletteYellowForegroundInverted=Te.yellow.tint40;const Zw=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)},{}),ek={...Rn,...Zw},Mo=Object.entries(Bt).reduce((t,[o,n])=>{const l=o.slice(0,1).toUpperCase()+o.slice(1),s={[`colorStatus${l}Background1`]:Se[n].tint60,[`colorStatus${l}Background2`]:Se[n].tint40,[`colorStatus${l}Background3`]:Se[n].primary,[`colorStatus${l}Foreground1`]:Se[n].shade10,[`colorStatus${l}Foreground2`]:Se[n].shade30,[`colorStatus${l}Foreground3`]:Se[n].primary,[`colorStatus${l}ForegroundInverted`]:Se[n].tint30,[`colorStatus${l}BorderActive`]:Se[n].primary,[`colorStatus${l}Border1`]:Se[n].tint40,[`colorStatus${l}Border2`]:Se[n].primary};return Object.assign(t,s)},{});Mo.colorStatusDangerBackground3Hover=Se[Bt.danger].shade10,Mo.colorStatusDangerBackground3Pressed=Se[Bt.danger].shade20,Mo.colorStatusWarningForeground1=Se[Bt.warning].shade20,Mo.colorStatusWarningForeground3=Se[Bt.warning].shade20,Mo.colorStatusWarningBorder2=Se[Bt.warning].shade20;const tk=t=>({colorNeutralForeground1:q[14],colorNeutralForeground1Hover:q[14],colorNeutralForeground1Pressed:q[14],colorNeutralForeground1Selected:q[14],colorNeutralForeground2:q[26],colorNeutralForeground2Hover:q[14],colorNeutralForeground2Pressed:q[14],colorNeutralForeground2Selected:q[14],colorNeutralForeground2BrandHover:t[80],colorNeutralForeground2BrandPressed:t[70],colorNeutralForeground2BrandSelected:t[80],colorNeutralForeground3:q[38],colorNeutralForeground3Hover:q[26],colorNeutralForeground3Pressed:q[26],colorNeutralForeground3Selected:q[26],colorNeutralForeground3BrandHover:t[80],colorNeutralForeground3BrandPressed:t[70],colorNeutralForeground3BrandSelected:t[80],colorNeutralForeground4:q[44],colorNeutralForegroundDisabled:q[74],colorNeutralForegroundInvertedDisabled:ht[40],colorBrandForegroundLink:t[70],colorBrandForegroundLinkHover:t[60],colorBrandForegroundLinkPressed:t[40],colorBrandForegroundLinkSelected:t[70],colorNeutralForeground2Link:q[26],colorNeutralForeground2LinkHover:q[14],colorNeutralForeground2LinkPressed:q[14],colorNeutralForeground2LinkSelected:q[14],colorCompoundBrandForeground1:t[80],colorCompoundBrandForeground1Hover:t[70],colorCompoundBrandForeground1Pressed:t[60],colorBrandForeground1:t[80],colorBrandForeground2:t[70],colorBrandForeground2Hover:t[60],colorBrandForeground2Pressed:t[30],colorNeutralForeground1Static:q[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:q[96],colorNeutralBackground1Pressed:q[88],colorNeutralBackground1Selected:q[92],colorNeutralBackground2:q[98],colorNeutralBackground2Hover:q[94],colorNeutralBackground2Pressed:q[86],colorNeutralBackground2Selected:q[90],colorNeutralBackground3:q[96],colorNeutralBackground3Hover:q[92],colorNeutralBackground3Pressed:q[84],colorNeutralBackground3Selected:q[88],colorNeutralBackground4:q[94],colorNeutralBackground4Hover:q[98],colorNeutralBackground4Pressed:q[96],colorNeutralBackground4Selected:ye,colorNeutralBackground5:q[92],colorNeutralBackground5Hover:q[96],colorNeutralBackground5Pressed:q[94],colorNeutralBackground5Selected:q[98],colorNeutralBackground6:q[90],colorNeutralBackgroundInverted:q[16],colorNeutralBackgroundStatic:q[20],colorNeutralBackgroundAlpha:ht[50],colorNeutralBackgroundAlpha2:ht[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:q[96],colorSubtleBackgroundPressed:q[88],colorSubtleBackgroundSelected:q[92],colorSubtleBackgroundLightAlphaHover:ht[70],colorSubtleBackgroundLightAlphaPressed:ht[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:$t[10],colorSubtleBackgroundInvertedPressed:$t[30],colorSubtleBackgroundInvertedSelected:$t[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:q[94],colorNeutralBackgroundInvertedDisabled:ht[10],colorNeutralStencil1:q[90],colorNeutralStencil2:q[98],colorNeutralStencil1Alpha:$t[10],colorNeutralStencil2Alpha:$t[5],colorBackgroundOverlay:$t[40],colorScrollbarOverlay:$t[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:q[98],colorNeutralCardBackgroundHover:ye,colorNeutralCardBackgroundPressed:q[96],colorNeutralCardBackgroundSelected:q[92],colorNeutralCardBackgroundDisabled:q[94],colorNeutralStrokeAccessible:q[38],colorNeutralStrokeAccessibleHover:q[34],colorNeutralStrokeAccessiblePressed:q[30],colorNeutralStrokeAccessibleSelected:t[80],colorNeutralStroke1:q[82],colorNeutralStroke1Hover:q[78],colorNeutralStroke1Pressed:q[70],colorNeutralStroke1Selected:q[74],colorNeutralStroke2:q[88],colorNeutralStroke3:q[94],colorNeutralStrokeSubtle:q[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:q[88],colorNeutralStrokeInvertedDisabled:ht[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:$t[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"},Ue={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},wp={spacingHorizontalNone:Ue.none,spacingHorizontalXXS:Ue.xxs,spacingHorizontalXS:Ue.xs,spacingHorizontalSNudge:Ue.sNudge,spacingHorizontalS:Ue.s,spacingHorizontalMNudge:Ue.mNudge,spacingHorizontalM:Ue.m,spacingHorizontalL:Ue.l,spacingHorizontalXL:Ue.xl,spacingHorizontalXXL:Ue.xxl,spacingHorizontalXXXL:Ue.xxxl},kp={spacingVerticalNone:Ue.none,spacingVerticalXXS:Ue.xxs,spacingVerticalXS:Ue.xs,spacingVerticalSNudge:Ue.sNudge,spacingVerticalS:Ue.s,spacingVerticalMNudge:Ue.mNudge,spacingVerticalM:Ue.m,spacingVerticalL:Ue.l,spacingVerticalXL:Ue.xl,spacingVerticalXXL:Ue.xxl,spacingVerticalXXXL:Ue.xxxl},xp={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},hr={colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralStroke1:"var(--colorNeutralStroke1)",fontSizeBase300:"var(--fontSizeBase300)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalL:"var(--spacingVerticalL)"};function el(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 _p=t=>{const o=tk(t);return{...hp,...vp,...bp,...Na,...yp,...xp,...wp,...kp,...gp,...mp,...o,...ek,...Mo,...el(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...el(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Sp={10:"#2b2b40",20:"#2f2f4a",30:"#333357",40:"#383966",50:"#3d3e78",60:"#444791",70:"#4f52b2",80:"#5b5fc7",90:"#7579eb",100:"#7f85f5",110:"#9299f7",120:"#aab1fa",130:"#b6bcfa",140:"#c5cbfa",150:"#dce0fa",160:"#e8ebfa"},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'},rk={..._p(Sp),...Bp};({..._p(Cp)});const mr=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)},{});mr.colorPaletteRedForeground3=Te.red.tint30,mr.colorPaletteRedBorder2=Te.red.tint30,mr.colorPaletteGreenForeground3=Te.green.tint40,mr.colorPaletteGreenBorder2=Te.green.tint40,mr.colorPaletteDarkOrangeForeground3=Te.darkOrange.tint30,mr.colorPaletteDarkOrangeBorder2=Te.darkOrange.tint30,mr.colorPaletteRedForegroundInverted=Te.red.primary,mr.colorPaletteGreenForegroundInverted=Te.green.primary,mr.colorPaletteYellowForegroundInverted=Te.yellow.shade30;const 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 ok={...mr,...Ta},Gr=Object.entries(Bt).reduce((t,[o,n])=>{const l=o.slice(0,1).toUpperCase()+o.slice(1),s={[`colorStatus${l}Background1`]:Se[n].shade40,[`colorStatus${l}Background2`]:Se[n].shade30,[`colorStatus${l}Background3`]:Se[n].primary,[`colorStatus${l}Foreground1`]:Se[n].tint30,[`colorStatus${l}Foreground2`]:Se[n].tint40,[`colorStatus${l}Foreground3`]:Se[n].tint20,[`colorStatus${l}BorderActive`]:Se[n].tint30,[`colorStatus${l}ForegroundInverted`]:Se[n].shade10,[`colorStatus${l}Border1`]:Se[n].primary,[`colorStatus${l}Border2`]:Se[n].tint20};return Object.assign(t,s)},{});Gr.colorStatusDangerBackground3Hover=Se[Bt.danger].shade10,Gr.colorStatusDangerBackground3Pressed=Se[Bt.danger].shade20,Gr.colorStatusDangerForeground3=Se[Bt.danger].tint40,Gr.colorStatusDangerBorder2=Se[Bt.danger].tint30,Gr.colorStatusSuccessForeground3=Se[Bt.success].tint40,Gr.colorStatusSuccessBorder2=Se[Bt.success].tint40,Gr.colorStatusWarningForegroundInverted=Se[Bt.warning].shade20;const nk=t=>({colorNeutralForeground1:ye,colorNeutralForeground1Hover:ye,colorNeutralForeground1Pressed:ye,colorNeutralForeground1Selected:ye,colorNeutralForeground2:q[84],colorNeutralForeground2Hover:ye,colorNeutralForeground2Pressed:ye,colorNeutralForeground2Selected:ye,colorNeutralForeground2BrandHover:t[100],colorNeutralForeground2BrandPressed:t[90],colorNeutralForeground2BrandSelected:t[100],colorNeutralForeground3:q[68],colorNeutralForeground3Hover:q[84],colorNeutralForeground3Pressed:q[84],colorNeutralForeground3Selected:q[84],colorNeutralForeground3BrandHover:t[100],colorNeutralForeground3BrandPressed:t[90],colorNeutralForeground3BrandSelected:t[100],colorNeutralForeground4:q[60],colorNeutralForegroundDisabled:q[36],colorNeutralForegroundInvertedDisabled:ht[40],colorBrandForegroundLink:t[100],colorBrandForegroundLinkHover:t[110],colorBrandForegroundLinkPressed:t[90],colorBrandForegroundLinkSelected:t[100],colorNeutralForeground2Link:q[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:q[14],colorNeutralForegroundStaticInverted:ye,colorNeutralForegroundInverted:q[14],colorNeutralForegroundInvertedHover:q[14],colorNeutralForegroundInvertedPressed:q[14],colorNeutralForegroundInvertedSelected:q[14],colorNeutralForegroundInverted2:q[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:q[16],colorNeutralBackground1Hover:q[24],colorNeutralBackground1Pressed:q[12],colorNeutralBackground1Selected:q[22],colorNeutralBackground2:q[14],colorNeutralBackground2Hover:q[22],colorNeutralBackground2Pressed:q[10],colorNeutralBackground2Selected:q[20],colorNeutralBackground3:q[12],colorNeutralBackground3Hover:q[20],colorNeutralBackground3Pressed:q[8],colorNeutralBackground3Selected:q[18],colorNeutralBackground4:q[8],colorNeutralBackground4Hover:q[16],colorNeutralBackground4Pressed:q[4],colorNeutralBackground4Selected:q[14],colorNeutralBackground5:q[4],colorNeutralBackground5Hover:q[12],colorNeutralBackground5Pressed:Ba,colorNeutralBackground5Selected:q[10],colorNeutralBackground6:q[20],colorNeutralBackgroundInverted:ye,colorNeutralBackgroundStatic:q[24],colorNeutralBackgroundAlpha:vw[50],colorNeutralBackgroundAlpha2:bw[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:q[22],colorSubtleBackgroundPressed:q[18],colorSubtleBackgroundSelected:q[20],colorSubtleBackgroundLightAlphaHover:cp[80],colorSubtleBackgroundLightAlphaPressed:cp[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:$t[10],colorSubtleBackgroundInvertedPressed:$t[30],colorSubtleBackgroundInvertedSelected:$t[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:q[8],colorNeutralBackgroundInvertedDisabled:ht[10],colorNeutralStencil1:q[34],colorNeutralStencil2:q[20],colorNeutralStencil1Alpha:ht[10],colorNeutralStencil2Alpha:ht[5],colorBackgroundOverlay:$t[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:q[20],colorNeutralCardBackgroundHover:q[24],colorNeutralCardBackgroundPressed:q[18],colorNeutralCardBackgroundSelected:q[22],colorNeutralCardBackgroundDisabled:q[8],colorNeutralStrokeAccessible:q[68],colorNeutralStrokeAccessibleHover:q[74],colorNeutralStrokeAccessiblePressed:q[70],colorNeutralStrokeAccessibleSelected:t[100],colorNeutralStroke1:q[40],colorNeutralStroke1Hover:q[46],colorNeutralStroke1Pressed:q[42],colorNeutralStroke1Selected:q[44],colorNeutralStroke2:q[32],colorNeutralStroke3:q[24],colorNeutralStrokeSubtle:q[4],colorNeutralStrokeOnBrand:q[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:q[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=nk(t);return{...hp,...vp,...bp,...Na,...yp,...xp,...wp,...kp,...gp,...mp,...o,...ok,...Gr,...el(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...el(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Tp={...Np(Sp),...Bp};({...Np(Cp)});const Ep={root:"fui-FluentProvider"},ik=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);}"]}),lk=t=>{"use no memo";const o=Nn(),n=ik({dir:t.dir,renderer:o});return t.root.className=re(Ep.root,t.themeClassName,n.root,t.root.className),t},sk=_.useInsertionEffect?_.useInsertionEffect:Ht,ak=(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},ck=(t,o)=>{const n=t.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(o,0))},uk=t=>{"use no memo";const{targetDocument:o,theme:n,rendererAttributes:l}=t,s=_.useRef(void 0),c=Br(Ep.root),u=l,f=_.useMemo(()=>A1(`.${c}`,n),[n,c]);return dk(o,c),sk(()=>{const p=o?.getElementById(c);return p?s.current=p:(s.current=ak(o,{...u,id:c}),s.current&&ck(s.current,f)),()=>{var m;(m=s.current)===null||m===void 0||m.remove()}},[c,o,f,u]),{styleTagId:c,rule:f}};function dk(t,o){_.useState(()=>{if(!t)return;const n=t.getElementById(o);n&&t.head.append(n)})}const fk={},pk={},hk=(t,o)=>{"use no memo";const n=at(),l=mk(),s=vf(),c=_.useContext(oa)||fk,{applyStylesToPortals:u=!0,customStyleHooks_unstable:f,dir:p=n.dir,targetDocument:m=n.targetDocument,theme:g,overrides_unstable:v={}}=t,w=Ea(l,g),b=Ea(s,v),x=Ea(c,f),y=Nn();var S;const{styleTagId:B,rule:E}=uk({theme:w,targetDocument:m,rendererAttributes:(S=y.styleElementAttributes)!==null&&S!==void 0?S:pk});return{applyStylesToPortals:u,customStyleHooks_unstable:x,dir:p,targetDocument:m,theme:w,overrides_unstable:b,themeClassName:B,components:{root:"div"},root:Re(St("div",{...t,dir:p,ref:pt(o,Ca({targetDocument:m}))}),{elementType:"div"}),serverStyleProps:{cssRule:E,attributes:{...y.styleElementAttributes,id:B}}}};function Ea(t,o){return t&&o?{...t,...o}:t||o}function mk(){return _.useContext(pf)}function gk(t){const{applyStylesToPortals:o,customStyleHooks_unstable:n,dir:l,root:s,targetDocument:c,theme:u,themeClassName:f,overrides_unstable:p}=t,m=_.useMemo(()=>({dir:l,targetDocument:c}),[l,c]),[g]=_.useState(()=>({})),v=_.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 zp=_.forwardRef((t,o)=>{const n=hk(t,o);lk(n);const l=gk(n);return ey(n,l)});zp.displayName="FluentProvider";var Pp=ad();const vk=t=>n=>{const l=_.useRef(n.value),s=_.useRef(0),c=_.useRef(null);return c.current||(c.current={value:l,version:s,listeners:[]}),Ht(()=>{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]),_.createElement(t,{value:c.current},n.children)},za=t=>{const o=_.createContext({value:{current:t},version:{current:-1},listeners:[]});return o.Provider=vk(o.Provider),delete o.Consumer,o},Rp=(t,o)=>{const n=_.useContext(t),{value:{current:l},version:{current:s},listeners:c}=n,u=o(l),[f,p]=_.useState([l,u]),m=v=>{p(w=>{if(!v)return[l,u];if(v[0]<=s)return Object.is(w[1],u)?w:[l,u];try{if(Object.is(w[0],v[1]))return w;const b=o(v[1]);return Object.is(w[1],b)?w:[v[1],b]}catch{}return[w[0],w[1]]})};Object.is(f[1],u)||m(void 0);const g=ke(m);return Ht(()=>(c.push(g),()=>{const v=c.indexOf(g);c.splice(v,1)}),[g,c]),f[1]};function Fp(t){const o=_.useContext(t);return o.version?o.version.current!==-1:!1}const bk="Shift",qo="Enter",gr=" ",yk="Tab",Pa="ArrowDown",Ip="ArrowLeft",Dp="ArrowRight",tl="ArrowUp",jp="End",Op="Home",wk="PageDown",kk="PageUp",Ap="Escape";function Lp(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)}),w=ke(x=>{if(u?.(x),x.isDefaultPrevented())return;const y=x.key;if(g&&(y===qo||y===gr)){x.preventDefault(),x.stopPropagation();return}if(y===gr){x.preventDefault();return}else y===qo&&(x.preventDefault(),x.currentTarget.click())}),b=ke(x=>{if(f?.(x),x.isDefaultPrevented())return;const y=x.key;if(g&&(y===qo||y===gr)){x.preventDefault(),x.stopPropagation();return}y===gr&&(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 y=x?void 0:"button";!y&&g&&(y="link");const S={role:y,tabIndex:l||!x&&!n?0:void 0,...p,onClick:v,onKeyUp:b,onKeyDown:w,"aria-disabled":g};return t==="a"&&g&&(S.href=void 0),S}}const Nt=()=>{},xk={controller:{active:Nt,blur:Nt,find:Nt,first:Nt,focus:Nt,focusLastActive:Nt,scrollActiveIntoView:Nt,last:Nt,next:Nt,prev:Nt,showAttributes:Nt,hideAttributes:Nt,showFocusVisibleAttributes:Nt,hideFocusVisibleAttributes:Nt}},Ra=_.createContext(void 0),Mp=Ra.Provider,qp=()=>{var t;return(t=_.useContext(Ra))!==null&&t!==void 0?t:xk},_k=()=>!!_.useContext(Ra);function Sk(t){const{matchOption:o}=t,{targetDocument:n}=at(),l=_.useRef(null),s=_.useRef(null),c=_.useCallback(p=>Nr(p)&&o(p)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[o]),u=_.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:_.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",Ho="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}=Ck(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),Ck=t=>{var o;const n=(o=t.ownerDocument)===null||o===void 0?void 0:o.defaultView;if(!n)return{scrollMarginTop:0,scrollMarginBottom:0};const l=n.getComputedStyle(t);var s;const c=(s=rl(l.scrollMarginTop))!==null&&s!==void 0?s:rl(l.scrollMarginBlockStart);var u;const f=(u=rl(l.scrollMarginBottom))!==null&&u!==void 0?u:rl(l.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:f}},rl=t=>t?parseInt(t,10):0,Bk=t=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:t});function Up(t){const{imperativeRef:o,matchOption:n}=t,l=_.useRef(!1),s=_.useRef(!0),c=_.useRef(null),u=_.useRef(null),f=_.useRef(null),p=_.useRef(!0),m=_.useCallback(()=>{var N;(N=f.current)===null||N===void 0||N.removeAttribute("aria-activedescendant")},[]),g=_.useCallback(N=>{if(N&&(c.current=N),p.current&&c.current){var R;(R=f.current)===null||R===void 0||R.setAttribute("aria-activedescendant",c.current)}},[]);sp(N=>{l.current=N;const R=y();R&&(N&&s.current?R.setAttribute(Ho,""):R.removeAttribute(Ho))});const v=ke(n),w=_.useRef(null),{optionWalker:b,listboxCallbackRef:x}=Sk({matchOption:v}),y=_.useCallback(()=>{var N;return(N=w.current)===null||N===void 0?void 0:N.querySelector(`#${c.current}`)},[w]),S=_.useCallback(N=>{s.current=N;const R=y();R&&(N&&l.current?R.setAttribute(Ho,""):R.removeAttribute(Ho))},[y]),B=_.useCallback(()=>{const N=y();N&&(N.removeAttribute(Hp),N.removeAttribute(Ho)),m(),u.current=c.current,c.current=null;var R;return(R=N?.id)!==null&&R!==void 0?R:null},[y,m]),E=_.useCallback(N=>{if(!N)return;const R=B();Wp(N),g(N.id),N.setAttribute(Hp,""),l.current&&s.current&&N.setAttribute(Ho,"");const A=Bk({id:N.id,previousId:R});N.dispatchEvent(A)},[B,g]),T=_.useMemo(()=>({first:({passive:N}={})=>{const R=b.first();return N||E(R),R?.id},last:({passive:N}={})=>{const R=b.last();return N||E(R),R?.id},next:({passive:N}={})=>{const R=y();if(!R)return;b.setCurrent(R);const A=b.next();return N||E(A),A?.id},prev:({passive:N}={})=>{const R=y();if(!R)return;b.setCurrent(R);const A=b.prev();return N||E(A),A?.id},blur:()=>{B()},active:()=>{var N;return(N=y())===null||N===void 0?void 0:N.id},focus:N=>{if(!w.current)return;const R=w.current.querySelector(`#${N}`);R&&E(R)},focusLastActive:()=>{if(!w.current||!u.current)return;const N=w.current.querySelector(`#${u.current}`);if(N)return E(N),!0},find(N,{passive:R,startFrom:A}={}){const D=b.find(N,A);return R||E(D),D?.id},scrollActiveIntoView:()=>{if(!w.current)return;const N=y();N&&Wp(N)},showAttributes(){p.current=!0,g()},hideAttributes(){p.current=!1,m()},showFocusVisibleAttributes(){S(!0)},hideFocusVisibleAttributes(){S(!1)}}),[b,w,g,m,E,B,y,S]);return _.useImperativeHandle(o,()=>T),{listboxRef:pt(w,x),activeParentRef:f,controller:T}}const Nk=ce({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),Tk=(t,o)=>{const{title:n,primaryFill:l="currentColor",...s}=t,c={...s,title:void 0,fill:l},u=Nk(),f=Zb();return c.className=re(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},Ek=ce({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),Vt=(t,o,n,l)=>{const s=o==="1em"?"20":o,c=_.forwardRef((u,f)=>{const p=Ek(),m=Tk(u,{flipInRtl:l?.flipInRtl}),g={...m,className:re(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"?_.createElement("svg",{...g,dangerouslySetInnerHTML:{__html:n}}):_.createElement("svg",g,...n.map(v=>_.createElement("path",{d:v,fill:g.fill})))});return c.displayName=t,c},zk=Vt("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]),Pk=Vt("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0}),Rk=Vt("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),Fk=Vt("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),Ik=Vt("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Gp=Vt("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),Dk=Vt("PlayRegular","1em",["M17.22 8.69a1.5 1.5 0 0 1 0 2.62l-10 5.5A1.5 1.5 0 0 1 5 15.5v-11A1.5 1.5 0 0 1 7.22 3.2l10 5.5Zm-.48 1.75a.5.5 0 0 0 0-.88l-10-5.5A.5.5 0 0 0 6 4.5v11c0 .38.4.62.74.44l10-5.5Z"]),jk=Vt("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"]),Kp=Vt("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),Ok=Vt("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),Ak=Vt("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"]),Lk=Vt("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",Mk="data-popper-placement",Fa="fui-positioningend",qk=({options:t})=>t,Jp=_.createContext(void 0);Jp.Provider;const Hk=()=>{var t;return(t=_.useContext(Jp))!==null&&t!==void 0?t:qk},Wk=["top","right","bottom","left"],bo=Math.min,Ut=Math.max,ol=Math.round,vr=t=>({x:t,y:t}),$k={left:"right",right:"left",bottom:"top",top:"bottom"},Vk={start:"end",end:"start"};function Ia(t,o,n){return Ut(t,bo(o,n))}function zr(t,o){return typeof t=="function"?t(o):t}function Pr(t){return t.split("-")[0]}function Wo(t){return t.split("-")[1]}function Da(t){return t==="x"?"y":"x"}function ja(t){return t==="y"?"height":"width"}const Uk=new Set(["top","bottom"]);function br(t){return Uk.has(Pr(t))?"y":"x"}function Oa(t){return Da(br(t))}function Gk(t,o,n){n===void 0&&(n=!1);const l=Wo(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=nl(u)),[u,nl(u)]}function Kk(t){const o=nl(t);return[Aa(t),o,Aa(o)]}function Aa(t){return t.replace(/start|end/g,o=>Vk[o])}const Zp=["left","right"],eh=["right","left"],Xk=["top","bottom"],Qk=["bottom","top"];function Yk(t,o,n){switch(t){case"top":case"bottom":return n?o?eh:Zp:o?Zp:eh;case"left":case"right":return o?Xk:Qk;default:return[]}}function Jk(t,o,n,l){const s=Wo(t);let c=Yk(Pr(t),n==="start",l);return s&&(c=c.map(u=>u+"-"+s),o&&(c=c.concat(c.map(Aa)))),c}function nl(t){return t.replace(/left|right|bottom|top/g,o=>$k[o])}function Zk(t){return{top:0,right:0,bottom:0,left:0,...t}}function th(t){return typeof t!="number"?Zk(t):{top:t,right:t,bottom:t,left:t}}function il(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=br(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,w=l[f]/2-s[f]/2;let b;switch(p){case"top":b={x:g,y:l.y-s.height};break;case"bottom":b={x:g,y:l.y+l.height};break;case"right":b={x:l.x+l.width,y:v};break;case"left":b={x:l.x-s.width,y:v};break;default:b={x:l.x,y:l.y}}switch(Wo(o)){case"start":b[u]-=w*(n&&m?-1:1);break;case"end":b[u]+=w*(n&&m?-1:1);break}return b}const ex=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),w=l,b={},x=0;for(let y=0;y<f.length;y++){const{name:S,fn:B}=f[y],{x:E,y:T,data:N,reset:R}=await B({x:g,y:v,initialPlacement:l,placement:w,strategy:s,middlewareData:b,rects:m,platform:u,elements:{reference:t,floating:o}});g=E??g,v=T??v,b={...b,[S]:{...b[S],...N}},R&&x<=50&&(x++,typeof R=="object"&&(R.placement&&(w=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,w,p)),y=-1)}return{x:g,y:v,placement:w,strategy:s,middlewareData:b}};async function $o(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:w=!1,padding:b=0}=zr(o,t),x=th(b),S=f[w?v==="floating"?"reference":"floating":v],B=il(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(S)))==null||n?S:S.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(f.floating)),boundary:m,rootBoundary:g,strategy:p})),E=v==="floating"?{x:l,y:s,width:u.floating.width,height:u.floating.height}:u.reference,T=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f.floating)),N=await(c.isElement==null?void 0:c.isElement(T))?await(c.getScale==null?void 0:c.getScale(T))||{x:1,y:1}:{x:1,y:1},R=il(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:E,offsetParent:T,strategy:p}):E);return{top:(B.top-R.top+x.top)/N.y,bottom:(R.bottom-B.bottom+x.bottom)/N.y,left:(B.left-R.left+x.left)/N.x,right:(R.right-B.right+x.right)/N.x}}const tx=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}=zr(t,o)||{};if(m==null)return{};const v=th(g),w={x:n,y:l},b=Oa(s),x=ja(b),y=await u.getDimensions(m),S=b==="y",B=S?"top":"left",E=S?"bottom":"right",T=S?"clientHeight":"clientWidth",N=c.reference[x]+c.reference[b]-w[b]-c.floating[x],R=w[b]-c.reference[b],A=await(u.getOffsetParent==null?void 0:u.getOffsetParent(m));let D=A?A[T]:0;(!D||!await(u.isElement==null?void 0:u.isElement(A)))&&(D=f.floating[T]||c.floating[x]);const M=N/2-R/2,U=D/2-y[x]/2-1,Y=bo(v[B],U),ae=bo(v[E],U),he=Y,H=D-y[x]-ae,Z=D/2-y[x]/2+M,xe=Ia(he,Z,H),be=!p.arrow&&Wo(s)!=null&&Z!==xe&&c.reference[x]/2-(Z<he?Y:ae)-y[x]/2<0,me=be?Z<he?Z-he:Z-H:0;return{[b]:w[b]+me,data:{[b]:xe,centerOffset:Z-xe-me,...be&&{alignmentOffset:me}},reset:be}}}),rx=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:w,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:y=!0,...S}=zr(t,o);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const B=Pr(s),E=br(f),T=Pr(f)===f,N=await(p.isRTL==null?void 0:p.isRTL(m.floating)),R=w||(T||!y?[nl(f)]:Kk(f)),A=x!=="none";!w&&A&&R.push(...Jk(f,y,x,N));const D=[f,...R],M=await $o(o,S),U=[];let Y=((l=c.flip)==null?void 0:l.overflows)||[];if(g&&U.push(M[B]),v){const Z=Gk(s,u,N);U.push(M[Z[0]],M[Z[1]])}if(Y=[...Y,{placement:s,overflows:U}],!U.every(Z=>Z<=0)){var ae,he;const Z=(((ae=c.flip)==null?void 0:ae.index)||0)+1,xe=D[Z];if(xe&&(!(v==="alignment"?E!==br(xe):!1)||Y.every(G=>br(G.placement)===E?G.overflows[0]>0:!0)))return{data:{index:Z,overflows:Y},reset:{placement:xe}};let be=(he=Y.filter(me=>me.overflows[0]<=0).sort((me,G)=>me.overflows[1]-G.overflows[1])[0])==null?void 0:he.placement;if(!be)switch(b){case"bestFit":{var H;const me=(H=Y.filter(G=>{if(A){const te=br(G.placement);return te===E||te==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(te=>te>0).reduce((te,J)=>te+J,0)]).sort((G,te)=>G[1]-te[1])[0])==null?void 0:H[0];me&&(be=me);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 Wk.some(o=>t[o]>=0)}const ox=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(o){const{rects:n}=o,{strategy:l="referenceHidden",...s}=zr(t,o);switch(l){case"referenceHidden":{const c=await $o(o,{...s,elementContext:"reference"}),u=oh(c,n.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:nh(u)}}}case"escaped":{const c=await $o(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 nx(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=Wo(n),p=br(n)==="y",m=ih.has(u)?-1:1,g=c&&p?-1:1,v=zr(o,t);let{mainAxis:w,crossAxis:b,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"&&(b=f==="end"?x*-1:x),p?{x:b*g,y:w*m}:{x:w*m,y:b*g}}const ix=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 nx(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}}}}},lx=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:S=>{let{x:B,y:E}=S;return{x:B,y:E}}},...p}=zr(t,o),m={x:n,y:l},g=await $o(o,p),v=br(Pr(s)),w=Da(v);let b=m[w],x=m[v];if(c){const S=w==="y"?"top":"left",B=w==="y"?"bottom":"right",E=b+g[S],T=b-g[B];b=Ia(E,b,T)}if(u){const S=v==="y"?"top":"left",B=v==="y"?"bottom":"right",E=x+g[S],T=x-g[B];x=Ia(E,x,T)}const y=f.fn({...o,[w]:b,[v]:x});return{...y,data:{x:y.x-n,y:y.y-l,enabled:{[w]:c,[v]:u}}}}}},sx=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}=zr(t,o),g={x:n,y:l},v=br(s),w=Da(v);let b=g[w],x=g[v];const y=zr(f,o),S=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(p){const T=w==="y"?"height":"width",N=c.reference[w]-c.floating[T]+S.mainAxis,R=c.reference[w]+c.reference[T]-S.mainAxis;b<N?b=N:b>R&&(b=R)}if(m){var B,E;const T=w==="y"?"width":"height",N=ih.has(Pr(s)),R=c.reference[v]-c.floating[T]+(N&&((B=u.offset)==null?void 0:B[v])||0)+(N?0:S.crossAxis),A=c.reference[v]+c.reference[T]+(N?0:((E=u.offset)==null?void 0:E[v])||0)-(N?S.crossAxis:0);x<R?x=R:x>A&&(x=A)}return{[w]:b,[v]:x}}}},ax=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}=zr(t,o),g=await $o(o,m),v=Pr(s),w=Wo(s),b=br(s)==="y",{width:x,height:y}=c.floating;let S,B;v==="top"||v==="bottom"?(S=v,B=w===(await(u.isRTL==null?void 0:u.isRTL(f.floating))?"start":"end")?"left":"right"):(B=v,S=w==="end"?"top":"bottom");const E=y-g.top-g.bottom,T=x-g.left-g.right,N=bo(y-g[S],E),R=bo(x-g[B],T),A=!o.middlewareData.shift;let D=N,M=R;if((n=o.middlewareData.shift)!=null&&n.enabled.x&&(M=T),(l=o.middlewareData.shift)!=null&&l.enabled.y&&(D=E),A&&!w){const Y=Ut(g.left,0),ae=Ut(g.right,0),he=Ut(g.top,0),H=Ut(g.bottom,0);b?M=x-2*(Y!==0||ae!==0?Y+ae:Ut(g.left,g.right)):D=y-2*(he!==0||H!==0?he+H:Ut(g.top,g.bottom))}await p({...o,availableWidth:M,availableHeight:D});const U=await u.getDimensions(f.floating);return x!==U.width||y!==U.height?{reset:{rects:!0}}:{}}}};function ll(){return typeof window<"u"}function Vo(t){return lh(t)?(t.nodeName||"").toLowerCase():"#document"}function It(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 ll()?t instanceof Node||t instanceof It(t).Node:!1}function nr(t){return ll()?t instanceof Element||t instanceof It(t).Element:!1}function yr(t){return ll()?t instanceof HTMLElement||t instanceof It(t).HTMLElement:!1}function sh(t){return!ll()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof It(t).ShadowRoot}const cx=new Set(["inline","contents"]);function Fn(t){const{overflow:o,overflowX:n,overflowY:l,display:s}=ir(t);return/auto|scroll|overlay|hidden|clip/.test(o+l+n)&&!cx.has(s)}const ux=new Set(["table","td","th"]);function dx(t){return ux.has(Vo(t))}const fx=[":popover-open",":modal"];function sl(t){return fx.some(o=>{try{return t.matches(o)}catch{return!1}})}const px=["transform","translate","scale","rotate","perspective"],hx=["transform","translate","scale","rotate","perspective","filter"],mx=["paint","layout","strict","content"];function La(t){const o=Ma(),n=nr(t)?ir(t):t;return px.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)||hx.some(l=>(n.willChange||"").includes(l))||mx.some(l=>(n.contain||"").includes(l))}function gx(t){let o=Kr(t);for(;yr(o)&&!Uo(o);){if(La(o))return o;if(sl(o))return null;o=Kr(o)}return null}function Ma(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const vx=new Set(["html","body","#document"]);function Uo(t){return vx.has(Vo(t))}function ir(t){return It(t).getComputedStyle(t)}function al(t){return nr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Kr(t){if(Vo(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 Uo(o)?t.ownerDocument?t.ownerDocument.body:t.body:yr(o)&&Fn(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=It(s);return c?(qa(u),o.concat(u,u.visualViewport||[],Fn(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=yr(t),c=s?t.offsetWidth:n,u=s?t.offsetHeight:l,f=ol(n)!==c||ol(l)!==u;return f&&(n=c,l=u),{width:n,height:l,$:f}}function dh(t){return nr(t)?t:t.contextElement}function Go(t){const o=dh(t);if(!yr(o))return vr(1);const n=o.getBoundingClientRect(),{width:l,height:s,$:c}=uh(o);let u=(c?ol(n.width):n.width)/l,f=(c?ol(n.height):n.height)/s;return(!u||!Number.isFinite(u))&&(u=1),(!f||!Number.isFinite(f))&&(f=1),{x:u,y:f}}const bx=vr(0);function fh(t){const o=It(t);return!Ma()||!o.visualViewport?bx:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function yx(t,o,n){return o===void 0&&(o=!1),!n||o&&n!==It(t)?!1:o}function In(t,o,n,l){o===void 0&&(o=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),c=dh(t);let u=vr(1);o&&(l?nr(l)&&(u=Go(l)):u=Go(t));const f=yx(c,n,l)?fh(c):vr(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 w=It(c),b=l&&nr(l)?It(l):l;let x=w,y=qa(x);for(;y&&l&&b!==x;){const S=Go(y),B=y.getBoundingClientRect(),E=ir(y),T=B.left+(y.clientLeft+parseFloat(E.paddingLeft))*S.x,N=B.top+(y.clientTop+parseFloat(E.paddingTop))*S.y;p*=S.x,m*=S.y,g*=S.x,v*=S.y,p+=T,m+=N,x=It(y),y=qa(x)}}return il({width:g,height:v,x:p,y:m})}function cl(t,o){const n=al(t).scrollLeft;return o?o.left+n:In(Rr(t)).left+n}function ph(t,o){const n=t.getBoundingClientRect(),l=n.left+o.scrollLeft-cl(t,n),s=n.top+o.scrollTop;return{x:l,y:s}}function wx(t){let{elements:o,rect:n,offsetParent:l,strategy:s}=t;const c=s==="fixed",u=Rr(l),f=o?sl(o.floating):!1;if(l===u||f&&c)return n;let p={scrollLeft:0,scrollTop:0},m=vr(1);const g=vr(0),v=yr(l);if((v||!v&&!c)&&((Vo(l)!=="body"||Fn(u))&&(p=al(l)),yr(l))){const b=In(l);m=Go(l),g.x=b.x+l.clientLeft,g.y=b.y+l.clientTop}const w=u&&!v&&!c?ph(u,p):vr(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-p.scrollLeft*m.x+g.x+w.x,y:n.y*m.y-p.scrollTop*m.y+g.y+w.y}}function kx(t){return Array.from(t.getClientRects())}function xx(t){const o=Rr(t),n=al(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+cl(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 _x(t,o){const n=It(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=Ma();(!g||g&&o==="fixed")&&(f=s.offsetLeft,p=s.offsetTop)}const m=cl(l);if(m<=0){const g=l.ownerDocument,v=g.body,w=getComputedStyle(v),b=g.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,x=Math.abs(l.clientWidth-v.clientWidth-b);x<=hh&&(c-=x)}else m<=hh&&(c+=m);return{width:c,height:u,x:f,y:p}}const Sx=new Set(["absolute","fixed"]);function Cx(t,o){const n=In(t,!0,o==="fixed"),l=n.top+t.clientTop,s=n.left+t.clientLeft,c=yr(t)?Go(t):vr(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=_x(t,n);else if(o==="document")l=xx(Rr(t));else if(nr(o))l=Cx(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 il(l)}function gh(t,o){const n=Kr(t);return n===o||!nr(n)||Uo(n)?!1:ir(n).position==="fixed"||gh(n,o)}function Bx(t,o){const n=o.get(t);if(n)return n;let l=ch(t,[]).filter(f=>nr(f)&&Vo(f)!=="body"),s=null;const c=ir(t).position==="fixed";let u=c?Kr(t):t;for(;nr(u)&&!Uo(u);){const f=ir(u),p=La(u);!p&&f.position==="fixed"&&(s=null),(c?!p&&!s:!p&&f.position==="static"&&!!s&&Sx.has(s.position)||Fn(u)&&!p&&gh(t,u))?l=l.filter(g=>g!==u):s=f,u=Kr(u)}return o.set(t,l),l}function Nx(t){let{element:o,boundary:n,rootBoundary:l,strategy:s}=t;const u=[...n==="clippingAncestors"?sl(o)?[]:Bx(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 Tx(t){const{width:o,height:n}=uh(t);return{width:o,height:n}}function Ex(t,o,n){const l=yr(o),s=Rr(o),c=n==="fixed",u=In(t,!0,c,o);let f={scrollLeft:0,scrollTop:0};const p=vr(0);function m(){p.x=cl(s)}if(l||!l&&!c)if((Vo(o)!=="body"||Fn(s))&&(f=al(o)),l){const b=In(o,!0,c,o);p.x=b.x+o.clientLeft,p.y=b.y+o.clientTop}else s&&m();c&&!l&&s&&m();const g=s&&!l&&!c?ph(s,f):vr(0),v=u.left+f.scrollLeft-p.x-g.x,w=u.top+f.scrollTop-p.y-g.y;return{x:v,y:w,width:u.width,height:u.height}}function Ha(t){return ir(t).position==="static"}function vh(t,o){if(!yr(t)||ir(t).position==="fixed")return null;if(o)return o(t);let n=t.offsetParent;return Rr(t)===n&&(n=n.ownerDocument.body),n}function bh(t,o){const n=It(t);if(sl(t))return n;if(!yr(t)){let s=Kr(t);for(;s&&!Uo(s);){if(nr(s)&&!Ha(s))return s;s=Kr(s)}return n}let l=vh(t,o);for(;l&&dx(l)&&Ha(l);)l=vh(l,o);return l&&Uo(l)&&Ha(l)&&!La(l)?n:l||gx(t)||n}const zx=async function(t){const o=this.getOffsetParent||bh,n=this.getDimensions,l=await n(t.floating);return{reference:Ex(t.reference,await o(t.floating),t.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function Px(t){return ir(t).direction==="rtl"}const Rx={convertOffsetParentRelativeRectToViewportRelativeRect:wx,getDocumentElement:Rr,getClippingRect:Nx,getOffsetParent:bh,getElementRects:zx,getClientRects:kx,getDimensions:Tx,getScale:Go,isElement:nr,isRTL:Px},Fx=$o,Ix=ix,Dx=lx,jx=rx,Ox=ax,yh=ox,Ax=tx,wh=sx,Lx=(t,o,n)=>{const l=new Map,s={platform:Rx,...n},c={...s.platform,_c:l};return ex(t,o,{...s,platform:c})};function kh(t){const o=t.split("-");return{side:o[0],alignment:o[1]}}const Mx=t=>t.nodeName==="HTML"?t:t.parentNode||t.host,qx=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):{}},ul=t=>{const o=t&&Mx(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}=qx(o);return/(auto|scroll|overlay)/.test(n+s+l)?o:ul(o)},Hx=t=>{var o;const n=ul(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=ul(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 Wx=t=>({above:"top",below:"bottom",before:t?"right":"left",after:t?"left":"right"}),$x=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),Vx=(t,o)=>{const n=t==="above"||t==="below",l=o==="top"||o==="bottom";return n&&l||!n&&!l},_h=(t,o,n)=>{const l=Vx(o,t)?"center":t,s=o&&Wx(n)[o],c=l&&$x()[l];return s&&c?`${s}-${c}`:s},Ux=()=>({top:"above",bottom:"below",right:"after",left:"before"}),Gx=t=>t==="above"||t==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},Kx=t=>{const{side:o,alignment:n}=kh(t),l=Ux()[o],s=n&&Gx(l)[n];return{position:l,alignment:s}},Xx={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function Sh(t){return t==null?{}:typeof t=="string"?Xx[t]:t}function $a(t,o,n){const l=_.useRef(!0),[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 Ht(()=>{l.current=!1},[]),s.callback=o,s.facade}function Qx(t){let o;return()=>(o||(o=new Promise(n=>{Promise.resolve().then(()=>{o=void 0,n(t())})})),o)}function Yx(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 Jx(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(Mk,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,w=Math.round(m.x*v)/v,b=Math.round(m.y*v)/v;if(Object.assign(s.style,{position:f}),g){Object.assign(s.style,{transform:p?`translate(${w}px, ${b}px)`:`translate3d(${w}px, ${b}px, 0)`});return}Object.assign(s.style,{left:`${w}px`,top:`${b}px`})}const Zx=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=ul(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 e_(t,o){return new t.ResizeObserver(o)}function t_(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:e_(g,B=>{B.every(T=>T.contentRect.width>0&&T.contentRect.height>0)&&y()});let w=!0;const b=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const x=()=>{o||(w&&(Ch(n).forEach(B=>b.add(B)),Nr(l)&&Ch(l).forEach(B=>b.add(B)),b.forEach(B=>{B.addEventListener("scroll",y,{passive:!0})}),v?.observe(n),Nr(l)&&v?.observe(l),w=!1),Object.assign(n.style,{position:c}),Lx(l,n,{placement:f,middleware:u,strategy:c}).then(({x:B,y:E,middlewareData:T,placement:N})=>{o||(Yx({arrow:s,middlewareData:T}),Jx({container:n,middlewareData:T,placement:N,coordinates:{x:B,y:E},lowPPI:(g?.devicePixelRatio||1)<=1,strategy:c,useTransform:p}),n.dispatchEvent(new CustomEvent(Fa)))}).catch(B=>{}))},y=Qx(()=>x()),S=()=>{o=!0,g&&(g.removeEventListener("scroll",y),g.removeEventListener("resize",y)),b.forEach(B=>{B.removeEventListener("scroll",y)}),b.clear(),v?.disconnect()};return g&&(g.addEventListener("scroll",y,{passive:!0}),g.addEventListener("resize",y)),y(),{updatePosition:y,dispose:S}}function r_(){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 o_(t){const{hasScrollableElement:o,flipBoundary:n,container:l,fallbackPositions:s=[],isRtl:c}=t,u=s.reduce((f,p)=>{const{position:m,align:g}=Sh(p),v=_h(g,m,c);return v&&f.push(v),f},[]);return jx({...o&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:Wa(l,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function n_(){return{name:"intersectionObserver",fn:async t=>{const o=t.rects.floating,n=await Fx(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 i_=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 l_(t,o){const{container:n,overflowBoundary:l,overflowBoundaryPadding:s,isRtl:c}=o;return Ox({...s&&{padding:xh(s,c)},...l&&{altBoundary:!0,boundary:Wa(n,l)},apply({availableHeight:u,availableWidth:f,elements:p,rects:m}){const g=(b,x,y)=>{if(b&&(p.floating.style.setProperty("box-sizing","border-box"),p.floating.style.setProperty(`max-${x}`,`${y}px`),m.floating[x]>y)){p.floating.style.setProperty(x,`${y}px`);const S=x==="width"?"x":"y";p.floating.style.getPropertyValue(`overflow-${S}`)||p.floating.style.setProperty(`overflow-${S}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:w}=t;g(v,"width",f),g(w,"height",u)}})}function s_(t){return!t||typeof t=="number"||typeof t=="object"?t:({rects:{floating:o,reference:n},placement:l})=>{const{position:s,alignment:c}=Kx(l);return t({positionedRect:o,targetRect:n,position:s,alignment:c})}}function a_(t){const o=s_(t);return Ix(o)}function c_(t){const{hasScrollableElement:o,shiftToCoverTarget:n,disableTether:l,overflowBoundary:s,container:c,overflowBoundaryPadding:u,isRtl:f}=t;return Dx({...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 u_(){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 d_(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:w,strategy:b,overflowBoundaryPadding:x,fallbackPositions:y,useTransform:S,matchTargetSize:B,shiftToCoverTarget:E}=o;return _.useCallback((T,N)=>t({container:T,arrow:N,options:{autoSize:s,disableUpdateOnResize:u,matchTargetSize:B,offset:p,strategy:b,coverTarget:c,flipBoundary:f,overflowBoundary:m,useTransform:S,overflowBoundaryPadding:x,pinned:g,arrowPadding:l,align:n,fallbackPositions:y,shiftToCoverTarget:E,position:v,unstable_disableTether:w}}),[s,u,B,p,b,c,f,m,S,x,g,l,n,y,E,v,w,t])}function f_(t){const{dir:o,targetDocument:n}=at(),l=o==="rtl",s=d_(Hk(),t),{positionFixed:c}=t;return _.useCallback((u,f)=>{const p=Hx(u),m=s(u,f),{autoSize:g,disableUpdateOnResize:v,matchTargetSize:w,offset:b,coverTarget:x,flipBoundary:y,overflowBoundary:S,useTransform:B,overflowBoundaryPadding:E,pinned:T,position:N,arrowPadding:R,strategy:A,align:D,fallbackPositions:M,shiftToCoverTarget:U,unstable_disableTether:Y}=m,ae=Zx(g),he=[ae&&i_(ae),w&&u_(),b&&a_(b),x&&r_(),!T&&o_({container:u,flipBoundary:y,hasScrollableElement:p,isRtl:l,fallbackPositions:M}),c_({container:u,hasScrollableElement:p,overflowBoundary:S,disableTether:Y,overflowBoundaryPadding:E,isRtl:l,shiftToCoverTarget:U}),ae&&l_(ae,{container:u,overflowBoundary:S,overflowBoundaryPadding:E,isRtl:l}),n_(),f&&Ax({element:f,padding:R}),yh({strategy:"referenceHidden"}),yh({strategy:"escaped"}),!1].filter(Boolean);return{placement:_h(D,N,l),middleware:he,strategy:A??c?"fixed":"absolute",disableUpdateOnResize:v,useTransform:B}},[s,l,n,c])}function p_(t){"use no memo";const o=_.useRef(null),n=_.useRef(null),l=_.useRef(null),s=_.useRef(null),c=_.useRef(null),{enabled:u=!0}=t,f=f_(t),p=_.useCallback(()=>{o.current&&o.current.dispose(),o.current=null;var x;const y=(x=l.current)!==null&&x!==void 0?x:n.current;u&&na()&&y&&s.current&&(o.current=t_({container:s.current,target:y,arrow:c.current,...f(s.current,c.current)}))},[u,f]),m=ke(x=>{l.current=x,p()});_.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]),Ht(()=>{var x;m((x=t.target)!==null&&x!==void 0?x:null)},[t.target,m]),Ht(()=>{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)}),w=$a(null,x=>{if(s.current!==x){var y;(y=s.current)===null||y===void 0||y.removeEventListener(Fa,v),x?.addEventListener(Fa,v),s.current=x,p()}}),b=$a(null,x=>{c.current!==x&&(c.current=x,p())});return{targetRef:g,containerRef:w,arrowRef:b}}function h_(t){return Nr(t)?{element:t}:typeof t=="object"?t===null?{element:null}:t:{}}const m_=ce({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),Nh=Ti.useInsertionEffect,g_=t=>{"use no memo";const{className:o,dir:n,focusVisibleRef:l,targetNode:s}=t,c=_.useMemo(()=>{if(s===void 0||t.disabled)return null;const u=s.ownerDocument.createElement("div");return s.appendChild(u),u},[s,t.disabled]);return _.useMemo(()=>{c&&(c.className=o,c.setAttribute("dir",n),c.setAttribute("data-portal-node","true"),l.current=c)},[o,n,c,l]),_.useEffect(()=>()=>{c?.remove()},[c]),c},v_=()=>{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}},b_=Nh?t=>{"use no memo";const{className:o,dir:n,focusVisibleRef:l,targetNode:s}=t,[c]=_.useState(v_),u=_.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]),_.useEffect(()=>()=>{u?.remove()},[u]),u}:g_,y_=t=>{"use no memo";const{targetDocument:o,dir:n}=at(),l=xb(),s=Ca(),c=m_(),u=mb(),f={dir:n,disabled:t.disabled,focusVisibleRef:s,className:re(u,c.root,t.className),targetNode:l??o?.body};return b_(f)},w_=t=>{const{element:o,className:n}=h_(t.mountNode),l=_.useRef(null),s=y_({disabled:!!o,className:n}),c=o??s,u={children:t.children,mountNode:c,virtualParentRootRef:l};return _.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=dd();const k_=t=>_.createElement("span",{hidden:!0,ref:t.virtualParentRootRef},t.mountNode&&Va.createPortal(_.createElement(_.Fragment,null,t.children,_.createElement("span",{hidden:!0})),t.mountNode)),Th=t=>{const o=w_(t);return k_(o)};Th.displayName="Portal";const x_=t=>{const{iconOnly:o,iconPosition:n}=t;return yt(t.root,{children:[n!=="after"&&t.icon&&ue(t.icon,{}),!o&&t.root.children,n==="after"&&t.icon&&ue(t.icon,{})]})},Eh=_.createContext(void 0),__={};Eh.Provider;const S_=()=>{var t;return(t=_.useContext(Eh))!==null&&t!==void 0?t:__},C_=(t,o)=>{const{size:n}=S_(),{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=Ke(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:Re(St(s,Lp(t.as,t)),{elementType:"button",defaultProps:{ref:o,type:s==="button"?"button":void 0}}),icon:v}},zh={root:"fui-Button",icon:"fui-Button__icon"},B_=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;}}"]}),N_=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);}"]),T_=ce({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",rxnm8d:"fpelvsg",Bso50sa:"f1r9enuy",B65bq0w:["fdvt4n0","f1grx941"],Buont6p:"f1l34yyb",B0o9ejx:["f1grx941","fdvt4n0"],Dcq74g:"fqfbdvs"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",Dcq74g:"fqfbdvs",zyxd5v:"f1wfsnb3"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",rxnm8d:"f11slz88",Dcq74g:"fqfbdvs"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpelvsg:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1r9enuy:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1grx941:hover:active{border-left-color:Highlight;}.fdvt4n0:hover:active{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l34yyb:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqfbdvs:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wfsnb3:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11slz88:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),E_=ce({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",rxnm8d:"f1xxg0vq",Bso50sa:"f16oldlo",B65bq0w:["f17g64ui","fqbrke7"],Buont6p:"fjvf891",B0o9ejx:["fqbrke7","f17g64ui"],Dcq74g:"f1efp33f",zyxd5v:"f1gue8i"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1xxg0vq:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16oldlo:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f17g64ui:hover:active{border-right-color:GrayText;}.fqbrke7:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjvf891:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gue8i:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),z_=ce({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),P_=ce({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),R_=ce({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),F_=t=>{"use no memo";const o=B_(),n=N_(),l=T_(),s=E_(),c=z_(),u=P_(),f=R_(),{appearance:p,disabled:m,disabledFocusable:g,icon:v,iconOnly:w,iconPosition:b,shape:x,size:y}=t;return t.root.className=re(zh.root,o,p&&l[p],l[y],v&&y==="small"&&l.smallWithIcon,v&&y==="large"&&l.largeWithIcon,l[x],(m||g)&&s.base,(m||g)&&s.highContrast,p&&(m||g)&&s[p],p==="primary"&&c.primary,c[y],c[x],w&&u[y],t.root.className),t.icon&&(t.icon.className=re(zh.icon,n,!!t.root.children&&f[b],f[y],t.icon.className)),t},Ph=_.forwardRef((t,o)=>{const n=C_(t,o);return F_(n),nt("useButtonStyles_unstable")(n),x_(n)});Ph.displayName="Button";const Rh=_.createContext(void 0);Rh.Provider;const I_=()=>_.useContext(Rh);function dl(t,o){return D_(I_(),t,o)}function D_(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 w,b,x;(x=(w=o)[b="aria-labelledby"])!==null&&x!==void 0||(w[b]=u)}if((p||s)&&(o["aria-describedby"]=[p,s,o?.["aria-describedby"]].filter(Boolean).join(" ")),m==="error"){var y,S,B;(B=(y=o)[S="aria-invalid"])!==null&&B!==void 0||(y[S]=!0)}if(f)if(n?.supportsRequired){var E,T;(T=(E=o).required)!==null&&T!==void 0||(E.required=!0)}else{var N,R,A;(A=(N=o)[R="aria-required"])!==null&&A!==void 0||(N[R]=!0)}if(n?.supportsSize){var D,M;(M=(D=o).size)!==null&&M!==void 0||(D.size=t.size)}return o}const j_=(t,o)=>{const{disabled:n=!1,required:l=!1,weight:s="regular",size:c="medium"}=t;return{disabled:n,required:Ke(l===!0?"*":l||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:s,size:c,components:{root:"label",required:"span"},root:Re(St("label",{ref:o,...t}),{elementType:"label"})}},O_=t=>yt(t.root,{children:[t.root.children,t.required&&ue(t.required,{})]}),Fh={root:"fui-Label",required:"fui-Label__required"},A_=ce({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),L_=t=>{"use no memo";const o=A_();return t.root.className=re(Fh.root,o.root,t.disabled&&o.disabled,o[t.size],t.weight==="semibold"&&o.semibold,t.root.className),t.required&&(t.required.className=re(Fh.required,o.required,t.disabled&&o.disabled,t.required.className)),t},yo=_.forwardRef((t,o)=>{const n=j_(t,o);return L_(n),nt("useLabelStyles_unstable")(n),O_(n)});yo.displayName="Label";const M_=(t,o)=>{"use no memo";t=dl(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=Ui({props:t,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),v=p==="mixed",w=Br("checkbox-",g.primary.id);let b;v?s==="circular"?b=_.createElement(Ik,null):b=c==="large"?_.createElement(Lk,null):_.createElement(Ak,null):p&&(b=c==="large"?_.createElement(Ok,null):_.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:Re(t.root,{defaultProps:{ref:Pn(),...g.root},elementType:"span"}),input:Re(t.input,{defaultProps:{type:"checkbox",id:w,ref:o,checked:p===!0,...g.primary},elementType:"input"}),label:Ke(t.label,{defaultProps:{htmlFor:w,disabled:n,required:l,size:"medium"},elementType:yo}),indicator:Ke(t.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:b},elementType:"div"})};x.input.onChange=ke(S=>{const B=S.currentTarget.indeterminate?"mixed":S.currentTarget.checked;f?.(S,{checked:B}),m(B)});const y=pt(x.input.ref);return x.input.ref=y,Ht(()=>{y.current&&(y.current.indeterminate=v)},[y,v]),x},q_=t=>yt(t.root,{children:[ue(t.input,{}),t.labelPosition==="before"&&t.label&&ue(t.label,{}),t.indicator&&ue(t.indicator,{}),t.labelPosition==="after"&&t.label&&ue(t.label,{})]}),fl={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},H_=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;}}"]}),W_=ce({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),$_=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));}"]),V_=ce({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),U_=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;}"]),G_=ce({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),K_=ce({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),X_=t=>{"use no memo";const{checked:o,disabled:n,labelPosition:l,shape:s,size:c}=t,u=H_(),f=W_();t.root.className=re(fl.root,u,n?f.disabled:o==="mixed"?f.mixed:o?f.checked:f.unchecked,t.root.className);const p=$_(),m=V_();t.input.className=re(fl.input,p,c==="large"&&m.large,m[l],t.input.className);const g=U_(),v=G_();t.indicator&&(t.indicator.className=re(fl.indicator,g,c==="large"&&v.large,s==="circular"&&v.circular,t.indicator.className));const w=K_();return t.label&&(t.label.className=re(fl.label,w.base,w[c],w[l],t.label.className)),t},Ua=_.forwardRef((t,o)=>{const n=M_(t,o);return X_(n),nt("useCheckboxStyles_unstable")(n),q_(n)});Ua.displayName="Checkbox";const Ih=za({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});Ih.Provider;const Q_={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Ko=za(void 0),Dt=t=>Rp(Ko,(o=Q_)=>t(o));Ko.Provider;function Y_(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:w}=t,b={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:w},y=_.useMemo(()=>({controller:g}),[g]);return{combobox:b,activeDescendant:y,listbox:x}}function J_(t){const o=Fp(Ko),{getOptionById:n,getOptionsMatchingValue:l,multiselect:s,registerOption:c,selectedOptions:u,selectOption:f,activeDescendantController:p}=t,m=Dt(y=>y.registerOption),g=Dt(y=>y.onOptionClick),v=Dt(y=>y.onActiveDescendantChange),b={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=_.useMemo(()=>({controller:p}),[p]);return{listbox:b,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!==gr&&!c&&!u&&!p?"Type":n?s===tl&&c||s===qo||!l&&s===gr?"CloseSelect":l&&s===gr?"Select":s===Ap?"Close":s===Pa?"Next":s===tl?"Previous":s===Op?"First":s===jp?"Last":s===kk?"PageUp":s===wk?"PageDown":s===yk?"Tab":"None":s===Pa||s===tl||s===qo||s===gr?"Open":"None"}const Dh=()=>{const t=_.useRef(new Map),o=_.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=_.useCallback(l=>(t.current.set(l.id,l),()=>t.current.delete(l.id)),[]);return{...o,options:Array.from(t.current.values()),registerOption:n}},jh=t=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:l}=t,[s,c]=Hr({state:t.selectedOptions,defaultState:o,initialState:[]}),u=_.useCallback((p,m)=>{if(m.disabled)return;let g=[m.value];if(n){const v=s.findIndex(w=>w===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}},pl={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},Z_=ce({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),eS=t=>{"use no memo";const{disabled:o,multiselect:n,selected:l}=t,s=Z_();return t.root.className=re(pl.root,s.root,s.active,o&&s.disabled,l&&s.selected,t.root.className),t.checkIcon&&(t.checkIcon.className=re(pl.checkIcon,s.checkIcon,n&&s.multiselectCheck,l&&s.selectedCheck,l&&n&&s.selectedMultiselectCheck,o&&s.checkDisabled,o&&n&&s.multiselectCheckDisabled,t.checkIcon.className)),t},Oh={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},tS=(t,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:l=!1}=t,s=Dh(),{listboxRef:c,activeParentRef:u,controller:f}=Up({matchOption:Z=>Z.classList.contains(pl.root)}),p=Fp(Ko),m=Dt(Z=>Z.onActiveDescendantChange),g=Dt(Z=>Z.getOptionById),v=Dt(Z=>Z.getOptionsMatchingValue),w=p?g:s.getOptionById,b=p?v:s.getOptionsMatchingValue,x=_.useMemo(()=>{let Z=null;const xe=be=>{m?.(be)};return be=>{if(!be){Z?.removeEventListener("activedescendantchange",xe);return}Z=be,Z.addEventListener("activedescendantchange",xe)}},[m]),[y,S]=_.useState(!1);sp(S);const B=qp(),E=_k(),T=E?B.controller:f,{clearSelection:N,selectedOptions:R,selectOption:A}=jh(t),D=Z=>{const xe=Ga(Z,{open:!0}),be=T.active(),me=be?w(be):null;switch(xe){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":Z.preventDefault();break}switch(xe){case"Next":me?T.next():T.first();break;case"Previous":me?T.prev():T.first();break;case"PageUp":case"First":T.first();break;case"PageDown":case"Last":T.last();break;case"Select":case"CloseSelect":me&&A(Z,me);break}},M=Dt(Z=>Z.selectedOptions),U=Dt(Z=>Z.selectOption),Y=p?{selectedOptions:M,selectOption:U,...Oh}:{selectedOptions:R,selectOption:A,...Oh};_.useEffect(()=>{if(!E){if(T.hideFocusVisibleAttributes(),!l)if(!n&&Y.selectedOptions.length>0){const Z=b(xe=>xe===Y.selectedOptions[0]).pop();Z?.id&&T.focus(Z.id)}else T.first();return()=>{T.blur()}}},[]);const ae=_.useCallback(()=>{E||(T.showFocusVisibleAttributes(),y&&T.scrollActiveIntoView())},[T,E,y]),he=_.useCallback(()=>{E||T.hideFocusVisibleAttributes()},[T,E]),H={components:{root:"div"},root:Re(St("div",{ref:pt(o,u,c,x),role:n?"menu":"listbox",tabIndex:0,...t}),{elementType:"div"}),standalone:!p,multiselect:n,clearSelection:N,activeDescendantController:T,onActiveDescendantChange:m,...s,...Y};return H.root.onKeyDown=ke(Ct(H.root.onKeyDown,D)),H.root.onFocus=ke(Ct(H.root.onFocus,ae)),H.root.onBlur=ke(Ct(H.root.onBlur,he)),H},rS=(t,o)=>ue(Mp,{value:o.activeDescendant,children:ue(Ko.Provider,{value:o.listbox,children:ue(t.root,{})})}),oS={root:"fui-Listbox"},nS=ce({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),iS=t=>{"use no memo";const o=nS();return t.root.className=re(oS.root,o.root,t.root.className),t},Ka=_.forwardRef((t,o)=>{const n=tS(t,o),l=J_(n);return iS(n),nt("useListboxStyles_unstable")(n),rS(n,l)});Ka.displayName="Listbox";function lS(t,o){if(t!==void 0)return t;let n="",l=!1;return _.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 sS=(t,o)=>{const{children:n,disabled:l,text:s,value:c}=t,u=_.useRef(null),f=lS(s,n),p=c??f,m=Br("fluent-option",t.id),g=_.useMemo(()=>({id:m,disabled:l,text:f,value:p}),[m,l,f,p]),{controller:v}=qp(),w=Dt(N=>N.multiselect),b=Dt(N=>N.registerOption),x=Dt(N=>{const R=N.selectedOptions;return p!==void 0&&R.find(A=>A===p)!==void 0}),y=Dt(N=>N.selectOption),S=Dt(N=>N.onOptionClick);let B=_.createElement(Rk,null);w&&(B=x?_.createElement(Kp,null):"");const E=N=>{var R;if(l){N.preventDefault();return}v.focus(m),y(N,g),S(N),(R=t.onClick)===null||R===void 0||R.call(t,N)};_.useEffect(()=>{if(m&&u.current)return b(g,u.current)},[m,g,b]);const T=w?{role:"menuitemcheckbox","aria-checked":x}:{role:"option","aria-selected":x};return{components:{root:"div",checkIcon:"span"},root:Re(St("div",{ref:pt(o,u),"aria-disabled":l?"true":void 0,id:m,...T,...t,onClick:E}),{elementType:"div"}),checkIcon:Ke(t.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:B},elementType:"span"}),disabled:l,multiselect:w,selected:x,focusVisible:!1,active:!1}},aS=t=>yt(t.root,{children:[t.checkIcon&&ue(t.checkIcon,{}),t.root.children]}),Dn=_.forwardRef((t,o)=>{const n=sS(t,o);return eS(n),nt("useOptionStyles_unstable")(n),aS(n)});Dn.displayName="Option";const cS=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:w=!1,disabled:b=!1,onActiveOptionChange:x=null}=t,y=Dh(),{getOptionsMatchingValue:S}=y,{getOptionById:B}=y,E=_.useCallback(()=>{const L=v.active();return L?B(L):void 0},[v,B]),T=E(),N=_.useCallback(L=>{let le;if(typeof L=="function"){const ge=E();le=L(ge)}le?v.focus(le.id):v.blur()},[v,E]),[R,A]=_.useState(!1),[D,M]=_.useState(!1),U=_.useRef(!1),Y=Rb(),[ae,he]=Hr({state:t.value,initialState:void 0}),{selectedOptions:H,selectOption:Z,clearSelection:xe}=jh(t),be=_.useCallback((L,le)=>{Va.unstable_batchedUpdates(()=>{he(void 0),Z(L,le)})},[he,Z]),me=_.useMemo(()=>{if(ae!==void 0)return ae;if(Y&&t.defaultValue!==void 0)return t.defaultValue;const L=S(le=>H.includes(le)).map(le=>le.text);return p?c?"":L.join(", "):L[0]},[ae,c,S,p,H]),[G,te]=Hr({state:t.open,defaultState:t.defaultOpen,initialState:!1}),J=_.useCallback((L,le)=>{b||(m?.(L,{open:le}),Va.unstable_batchedUpdates(()=>{!le&&!w&&he(void 0),te(le)}))},[m,te,he,w,b]);_.useEffect(()=>{if(G){if(!p&&H.length>0){const L=S(le=>le===H[0]).pop();L?.id&&v.focus(L.id)}}else v.blur()},[G,v]),_.useEffect(()=>{G&&!n&&!v.active()&&v.first()},[G,l,n,v,B]);const F=ke(L=>{const le=L.detail.previousId?y.getOptionById(L.detail.previousId):null,ge=y.getOptionById(L.detail.id);x?.(L,{event:L,type:"change",previousOption:le,nextOption:ge})});return{...y,freeform:w,disabled:b,selectOption:be,clearSelection:xe,selectedOptions:H,activeOption:T,appearance:o,clearable:s,focusVisible:R,ignoreNextBlur:U,inlinePopup:u,mountNode:f,open:G,hasFocus:D,setActiveOption:N,setFocusVisible:A,setHasFocus:M,setOpen:J,setValue:he,size:g,value:me,multiselect:p,onOptionClick:ke(L=>{p||J(L,!1)}),onActiveDescendantChange:F}};function uS(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,...Sh(o)},{targetRef:s,containerRef:c}=p_(l);return[c,s]}function dS(t,o,n){const{state:{multiselect:l},triggerRef:s,defaultProps:c}=n,u=Br("fluent-listbox",af(t)?t.id:void 0),f=Ke(t,{renderByDefault:!0,elementType:Ka,defaultProps:{id:u,multiselect:l,tabIndex:void 0,...c}}),p=dl({id:u},{supportsLabelFor:!0});f&&!f["aria-label"]&&!f["aria-labelledby"]&&p["aria-labelledby"]&&(f["aria-labelledby"]=p["aria-labelledby"]);const m=ke(Ct(w=>{w.preventDefault()},f?.onMouseDown)),g=ke(Ct(w=>{var b;w.preventDefault(),(b=s.current)===null||b===void 0||b.focus()},f?.onClick)),v=pt(f?.ref,o);return f&&(f.ref=v,f.onMouseDown=m,f.onClick=g),f}function fS(t,o,n){const{state:{open:l,setOpen:s,setHasFocus:c},defaultProps:u,elementType:f,activeDescendantController:p}=n,m=Re(t,{defaultProps:{type:"text","aria-expanded":l,role:"combobox",...typeof u=="object"&&u},elementType:f}),g=_.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(pS({activeDescendantController:p,...n.state}),m.onKeyDown),m}function pS(t){const{activeDescendantController:o,getOptionById:n,setOpen:l,selectOption:s,multiselect:c,open:u}=t,f=_.useCallback(()=>{const y=o.active();return y?n(y):void 0},[o,n]),p=()=>{o.first()},m=()=>{o.last()},g=y=>{y?o.next():o.first()},v=y=>{y?o.prev():o.first()},w=()=>{for(let y=0;y<10;y++)o.prev()},b=()=>{for(let y=0;y<10;y++)o.next()},x=gw();return ke(y=>{const S=Ga(y,{open:u,multiselect:c}),B=f();switch(S){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":y.preventDefault();break}switch(x(!0),S){case"First":p();break;case"Last":m();break;case"Next":g(B);break;case"Previous":v(B);break;case"PageDown":b();break;case"PageUp":w();break;case"Open":l(y,!0);break;case"Close":y.stopPropagation(),l(y,!1);break;case"CloseSelect":!c&&!B?.disabled&&l(y,!1);case"Select":B&&s(y,B);break;case"Tab":!c&&B&&s(y,B);break}})}function hS(t,o,n){"use no memo";const{state:{open:l,setOpen:s,getOptionById:c},defaultProps:u,activeDescendantController:f}=n,p=_.useRef(""),[m,g]=kf(),v=(y,S={startFromNext:!1})=>{const{startFromNext:B}=S,E=f.active(),T=f.find(N=>{const R=c(N);return!!R&&y(R.text)},{startFrom:B?f.next({passive:!0}):E});return T||f.find(N=>{const R=c(N);return!!R&&y(R.text)})},w=()=>{v(y=>y.toLocaleLowerCase().indexOf(p.current)===0,{startFromNext:p.current.length===1})||mS(p.current)&&v(y=>y.toLocaleLowerCase().indexOf(p.current[0])===0,{startFromNext:!0})||f.blur()},b=y=>{g(),Ga(y)==="Type"&&(p.current+=y.key.toLowerCase(),m(()=>{p.current=""},500),l&&w(),!l&&s(y,!0))},x=fS(t,o,{state:n.state,defaultProps:u,elementType:"button",activeDescendantController:f});return x.onKeyDown=Ct(b,x.onKeyDown),x}function mS(t){for(let o=1;o<t.length;o++)if(t[o]!==t[o-1])return!1;return!0}const gS=(t,o)=>{"use no memo";var n;t=dl(t,{supportsLabelFor:!0,supportsSize:!0});const{listboxRef:l,activeParentRef:s,controller:c}=Up({matchOption:he=>he.classList.contains(pl.root)}),u=cS({...t,activeDescendantController:c,freeform:!1}),{clearable:f,clearSelection:p,disabled:m,hasFocus:g,multiselect:v,open:w,selectedOptions:b,setOpen:x}=u,{primary:y,root:S}=Ui({props:t,primarySlotTagName:"button",excludedPropNames:["children"]}),[B,E]=uS(t),T=_.useRef(null),N=dS(t.listbox,pt(B,l),{state:u,triggerRef:T,defaultProps:{children:t.children}}),{targetDocument:R}=at();Ib({element:R,callback:he=>x(he,!1),refs:[T,B,E],disabled:!w});var A;const D=hS((A=t.button)!==null&&A!==void 0?A:{},pt(T,s,o),{state:u,defaultProps:{type:"button",tabIndex:y.disabled?void 0:0,children:u.value||t.placeholder,"aria-controls":w?N?.id:void 0,...y},activeDescendantController:c}),M=Re(t.root,{defaultProps:{"aria-owns":!t.inlinePopup&&w?N?.id:void 0,children:t.children,...S},elementType:"div"});M.ref=pt(M.ref,E);const U=b.length>0&&!m&&f&&!v,Y={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:Ka},root:M,button:D,listbox:w||g?N:void 0,clearButton:Ke(t.clearButton,{defaultProps:{"aria-label":"Clear selection",children:_.createElement(Gp,null),tabIndex:U?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:Ke(t.expandIcon,{renderByDefault:!0,defaultProps:{children:_.createElement(Fk,null)},elementType:"span"}),placeholderVisible:!u.value&&!!t.placeholder,showClearButton:U,activeDescendantController:c,...u},ae=ke(Ct((n=Y.clearButton)===null||n===void 0?void 0:n.onClick,he=>{var H;p(he),(H=T.current)===null||H===void 0||H.focus()}));return Y.clearButton&&(Y.clearButton.onClick=ae),v&&(Y.clearButton=void 0),Y},vS=(t,o)=>ue(t.root,{children:ue(Mp,{value:o.activeDescendant,children:ue(Ko.Provider,{value:o.listbox,children:yt(Ih.Provider,{value:o.combobox,children:[yt(t.button,{children:[t.button.children,t.expandIcon&&ue(t.expandIcon,{})]}),t.clearButton&&ue(t.clearButton,{}),t.listbox&&(t.inlinePopup?ue(t.listbox,{}):ue(Th,{mountNode:t.mountNode,children:ue(t.listbox,{})}))]})})})}),jn={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},bS=ce({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),yS=ce({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),wS=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;}}"]}),kS=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=bS(),m=yS(),g=wS();return t.root.className=re(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=re(jn.button,p.button,p[c],l&&p.placeholder,f&&p.disabledText,t.button.className),t.listbox&&(t.listbox.className=re(jn.listbox,p.listbox,t.inlinePopup&&p.inlineListbox,!n&&p.listboxCollapsed,t.listbox.className)),t.expandIcon&&(t.expandIcon.className=re(jn.expandIcon,m.icon,m[c],f&&m.disabled,s&&p.hidden,t.expandIcon.className)),t.clearButton&&(t.clearButton.className=re(jn.clearButton,g,m.icon,m[c],f&&m.disabled,!s&&p.hidden,t.clearButton.className)),t},Xa=_.forwardRef((t,o)=>{const n=gS(t,o),l=Y_(n);return kS(n),nt("useDropdownStyles_unstable")(n),vS(n,l)});Xa.displayName="Dropdown";const xS=(t,o)=>{t=dl(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=Ui({props:t,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),g={size:s,appearance:c,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Re(t.input,{defaultProps:{type:"text",ref:o,...m.primary},elementType:"input"}),contentAfter:Ke(t.contentAfter,{elementType:"span"}),contentBefore:Ke(t.contentBefore,{elementType:"span"}),root:Re(t.root,{defaultProps:m.root,elementType:"span"})};return g.input.value=f,g.input.onChange=ke(v=>{const w=v.target.value;u?.(v,{value:w}),p(w)}),g},hl={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},_S=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;}}"]}),SS=ce({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),CS=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;}"]),BS=ce({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),NS=ft("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),TS=ce({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),ES=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=SS(),f=BS(),p=TS();t.root.className=re(hl.root,_S(),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=re(hl.input,CS(),f[o],t.contentBefore&&f[`${o}WithContentBefore`],t.contentAfter&&f[`${o}WithContentAfter`],l&&f.disabled,t.input.className);const m=[NS(),l&&p.disabled,p[o]];return t.contentBefore&&(t.contentBefore.className=re(hl.contentBefore,...m,t.contentBefore.className)),t.contentAfter&&(t.contentAfter.className=re(hl.contentAfter,...m,t.contentAfter.className)),t},Ah=_.createContext(void 0),zS={};Ah.Provider;const PS=()=>_.useContext(Ah)||zS,RS=t=>yt(t.root,{children:[ue(t.input,{}),ue(t.indicator,{}),t.label&&ue(t.label,{})]}),FS=(t,o)=>{const n=PS(),{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=Ui({props:t,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),w=Re(t.root,{defaultProps:{ref:Pn(),...v.root},elementType:"span"}),b=Re(t.input,{defaultProps:{ref:o,type:"radio",id:Br("radio-",v.primary.id),name:l,checked:s,defaultChecked:c,disabled:f,required:p,"aria-describedby":m,...v.primary},elementType:"input"});b.onChange=Ct(b.onChange,S=>g?.(S,{value:S.currentTarget.value}));const x=Ke(t.label,{defaultProps:{htmlFor:b.id,disabled:b.disabled},elementType:yo}),y=Re(t.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:yo,indicator:"div"},root:w,input:b,label:x,indicator:y}},ml={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},IS=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;}}"]}),DS=ce({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),jS=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;}}"]}),OS=ce({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),AS=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;}"]),LS=ce({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),MS=t=>{"use no memo";const{labelPosition:o}=t,n=IS(),l=DS();t.root.className=re(ml.root,n,o==="below"&&l.vertical,t.root.className);const s=jS(),c=OS();t.input.className=re(ml.input,s,o==="below"&&c.below,t.indicator.children?c.customIndicator:c.defaultIndicator,t.input.className);const u=AS();t.indicator.className=re(ml.indicator,u,t.indicator.className);const f=LS();return t.label&&(t.label.className=re(ml.label,f.base,f[o],t.label.className)),t},Qa=_.forwardRef((t,o)=>{const n=FS(t,o);return MS(n),nt("useRadioStyles_unstable")(n),RS(n)});Qa.displayName="Radio";const Lh=_.createContext(void 0),qS={};Lh.Provider;const HS=()=>{var t;return(t=_.useContext(Lh))!==null&&t!==void 0?t:qS},WS=(t,o)=>{const{size:n}=HS(),{appearance:l="primary",labelPosition:s="after",size:c=n??"medium",delay:u=0}=t,f=Br("spinner"),{role:p="progressbar",...m}=t,g=Re(St("div",{ref:o,role:p,...m},["size"]),{elementType:"div"}),[v,w]=_.useState(!1),[b,x]=kf();_.useEffect(()=>{if(!(u<=0))return b(()=>{w(!0)},u),()=>{x()}},[b,x,u]);const y=Ke(t.label,{defaultProps:{id:f},renderByDefault:!1,elementType:yo}),S=Ke(t.spinner,{renderByDefault:!0,elementType:"span"});return y&&g&&!g["aria-labelledby"]&&(g["aria-labelledby"]=y.id),{appearance:l,delay:u,labelPosition:s,size:c,shouldRenderSpinner:!u||v,components:{root:"div",spinner:"span",spinnerTail:"span",label:yo},root:g,spinner:S,spinnerTail:Re(t.spinnerTail,{elementType:"span"}),label:y}},$S=t=>{const{labelPosition:o,shouldRenderSpinner:n}=t;return yt(t.root,{children:[t.label&&n&&(o==="above"||o==="before")&&ue(t.label,{}),t.spinner&&n&&ue(t.spinner,{children:t.spinnerTail&&ue(t.spinnerTail,{})}),t.label&&n&&(o==="below"||o==="after")&&ue(t.label,{})]})},gl={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},VS=ft("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),US=ce({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),GS=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;}}"]}),KS=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;}}"]}),XS=ce({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),QS=ce({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),YS=t=>{"use no memo";const{labelPosition:o,size:n,appearance:l}=t,{dir:s}=at(),c=VS(),u=US(),f=GS(),p=XS(),m=KS(),g=QS();return t.root.className=re(gl.root,c,(o==="above"||o==="below")&&u.vertical,t.root.className),t.spinner&&(t.spinner.className=re(gl.spinner,f,p[n],l==="inverted"&&p.inverted,t.spinner.className)),t.spinnerTail&&(t.spinnerTail.className=re(gl.spinnerTail,m,s==="rtl"&&p.rtlTail,t.spinnerTail.className)),t.label&&(t.label.className=re(gl.label,g[n],l==="inverted"&&g.inverted,t.label.className)),t},Ya=_.forwardRef((t,o)=>{const n=WS(t,o);return YS(n),nt("useSpinnerStyles_unstable")(n),$S(n)});Ya.displayName="Spinner";const Mh=(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:Re(St("span",{ref:o,...t}),{elementType:"span"})}},qh=t=>ue(t.root,{}),JS={root:"fui-Text"},ZS=ce({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),Hh=t=>{"use no memo";const o=ZS();return t.root.className=re(JS.root,o.root,t.wrap===!1&&o.nowrap,t.truncate&&o.truncate,t.block&&o.block,t.italic&&o.italic,t.underline&&o.underline,t.strikethrough&&o.strikethrough,t.underline&&t.strikethrough&&o.strikethroughUnderline,t.size===100&&o.base100,t.size===200&&o.base200,t.size===400&&o.base400,t.size===500&&o.base500,t.size===600&&o.base600,t.size===700&&o.hero700,t.size===800&&o.hero800,t.size===900&&o.hero900,t.size===1e3&&o.hero1000,t.font==="monospace"&&o.monospace,t.font==="numeric"&&o.numeric,t.weight==="medium"&&o.weightMedium,t.weight==="semibold"&&o.weightSemibold,t.weight==="bold"&&o.weightBold,t.align==="center"&&o.alignCenter,t.align==="end"&&o.alignEnd,t.align==="justify"&&o.alignJustify,t.root.className),t},Wh=_.forwardRef((t,o)=>{const n=Mh(t,o);return Hh(n),nt("useTextStyles_unstable")(n),qh(n)});Wh.displayName="Text";function e2(t){const{useStyles:o,className:n,displayName:l}=t,s=_.forwardRef((c,u)=>{"use no memo";const f=o(),p=Mh(c,u);return Hh(p),p.root.className=re(n,p.root.className,f.root,c.className),qh(p)});return s.displayName=l,s}const t2=e2({useStyles:ce({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1x0m3f5",Bhrd7zp:"fl43uef",Bg96gwp:"fb86gi6"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fb86gi6{line-height:var(--lineHeightBase600);}"]}),className:{root:"fui-Title3"}.root,displayName:"Title3"}),On=()=>{},$h={allRowsSelected:!1,clearRows:On,deselectRow:On,isRowSelected:()=>!1,selectRow:On,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:On,toggleRow:On,selectionMode:"multiselect"};function r2(t){"use no memo";return o=>o2(o,t)}function o2(t,o){const{items:n,getRowId:l}=t,{selectionMode:s,defaultSelectedItems:c,selectedItems:u,onSelectionChange:f}=o,[p,m]=Hb({selectionMode:s,defaultSelectedItems:c,selectedItems:u,onSelectionChange:f}),g=_.useMemo(()=>{const T=new Set;for(let R=0;R<n.length;R++){var N;T.add((N=l?.(n[R]))!==null&&N!==void 0?N:R)}return T},[n,l]),v=_.useMemo(()=>{if(s==="single"){const N=Array.from(p)[0];return g.has(N)}if(p.size<g.size||g.size===0)return!1;let T=!0;return g.forEach(N=>{p.has(N)||(T=!1)}),T},[g,p,s]),w=_.useMemo(()=>{if(p.size<=0)return!1;let T=!1;return g.forEach(N=>{p.has(N)&&(T=!0)}),T},[g,p]),b=ke(T=>{m.toggleAllItems(T,n.map((N,R)=>{var A;return(A=l?.(N))!==null&&A!==void 0?A:R}))}),x=ke((T,N)=>m.toggleItem(T,N)),y=ke((T,N)=>m.deselectItem(T,N)),S=ke((T,N)=>m.selectItem(T,N)),B=T=>m.isSelected(T),E=ke(T=>m.clearItems(T));return{...t,selection:{selectionMode:s,someRowsSelected:w,allRowsSelected:v,selectedRows:p,toggleRow:x,toggleAllRows:b,clearRows:E,deselectRow:y,selectRow:S,isRowSelected:B}}}const Ja=()=>{},Vh={getSortDirection:()=>"ascending",setColumnSort:Ja,sort:t=>[...t],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:Ja};function n2(t){"use no memo";return o=>i2(o,t)}function i2(t,o){const{columns:n}=t,{sortState:l,defaultSortState:s,onSortChange:c=Ja}=o,[u,f]=Hr({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:s,state:l}),{sortColumn:p,sortDirection:m}=u,g=ke(c),v=_.useCallback((y,S)=>{f(B=>{const E={...B,sortColumn:S};return B.sortColumn===S?E.sortDirection=B.sortDirection==="ascending"?"descending":"ascending":E.sortDirection="ascending",g?.(y,E),E})},[g,f]),w=(y,S,B)=>{const E={sortColumn:S,sortDirection:B};g?.(y,E),f(E)},b=_.useCallback(y=>y.slice().sort((S,B)=>{const E=n.find(N=>N.columnId===p);if(!E?.compare)return 0;const T=m==="ascending"?1:-1;return E.compare(S.item,B.item)*T}),[n,p,m]);return{...t,sort:{sort:b,sortColumn:p,sortDirection:m,setColumnSort:w,toggleColumnSort:v,getSortDirection:y=>p===y?m:void 0}}}const l2=(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:Re(St("div",{ref:o,...t,onClick:n}),{elementType:"div"})}},s2=t=>ue(t.root,{}),a2={root:"fui-TableResizeHandle"},c2=ce({root:{qhf8xq:"f1euv43f",j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk",B5kzvoi:"f1yab3r1",a9b677:"fjw5fx7",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fg06o1j",Bceei9c:"fc3en1c",abs64n:"fk73vx1",Bmy1vo4:"f13u1uyl",B3o57yi:"fezquic",Bj3rh1h:"f19g0ac",B3cna0y:"f1tkae59",Brovlpu:"ftqa4ok",B7zu5sd:"f15pjodv",Bsft5z2:"f1rcdj94",ap17g6:"f2gz7yw",a2br6o:"ff2ryt5",E3zdtr:"f1mdlcz9",Eqx8gd:["f10awi5f","f1nzedbg"],bn5sak:"frwkxtg",By385i5:"fo72kxq",Bjyk6c5:"fdlpgxj"}},{d:[".f1euv43f{position:absolute;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".fjw5fx7{width:16px;}",[".fg06o1j{margin:0 -8px;}",{p:-1}],".fc3en1c{cursor:col-resize;}",".fk73vx1{opacity:0;}",".f13u1uyl{transition-property:opacity;}",".fezquic{transition-duration:.2s;}",".f19g0ac{z-index:1;}",'.f1rcdj94::after{content:" ";}',".f2gz7yw::after{display:block;}",".ff2ryt5::after{width:1px;}",".f1mdlcz9::after{position:absolute;}",".f10awi5f::after{left:50%;}",".f1nzedbg::after{right:50%;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}"],f:[".f1tkae59:focus{opacity:1;}",".ftqa4ok:focus{outline-style:none;}"],h:[".f15pjodv:hover{opacity:1;}"]}),u2=t=>{"use no memo";const o=c2();return t.root.className=re(a2.root,o.root,t.root.className),t},Uh=_.forwardRef((t,o)=>{const n=l2(t,o);return u2(n),nt("useTableResizeHandleStyles_unstable")(n),s2(n)});Uh.displayName="TableResizeHandle";function d2(){const[t,o]=_.useState(0),n=_.useRef(void 0),l=_.useRef(null),{targetDocument:s}=at(),c=_.useCallback(()=>{var f;const p=(f=n.current)===null||f===void 0?void 0:f.getBoundingClientRect().width;o(p||0)},[]),u=_.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 _.useEffect(()=>{if(l.current=f2(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 f2(t,o){var n;return!(t==null||(n=t.defaultView)===null||n===void 0)&&n.ResizeObserver?new t.defaultView.ResizeObserver(o):null}function p2(t){const o=_.useRef(0),n=_.useRef(0),l=_.useRef(void 0),[s,c]=_.useState(!1),{targetDocument:u}=at(),{getColumnWidth:f,setColumnWidth:p}=t,m=_.useCallback(x=>{const{clientX:y}=xf(x),S=y-o.current;n.current+=S,l.current&&p(x,{columnId:l.current,width:n.current}),o.current=y},[p]),[g]=Cb(),v=_.useCallback(x=>{g(()=>m(x))},[g,m]),w=_.useCallback(x=>{sa(x)&&(u?.removeEventListener("mouseup",w),u?.removeEventListener("mousemove",v)),la(x)&&(u?.removeEventListener("touchend",w),u?.removeEventListener("touchmove",v)),c(!1)},[v,u]);return{getOnMouseDown:_.useCallback(x=>y=>{if(n.current=f(x),o.current=xf(y).clientX,l.current=x,sa(y)){if(y.target!==y.currentTarget||y.button!==0)return;u?.addEventListener("mouseup",w),u?.addEventListener("mousemove",v),c(!0)}la(y)&&(u?.addEventListener("touchend",w),u?.addEventListener("touchmove",v),c(!0))},[f,v,w,u]),dragging:s}}const h2=150,m2=100;function Za(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:y=f.minWidth,padding:S=f.padding}=(p=n[u.columnId])!==null&&p!==void 0?p:{};return x!==f.idealWidth||y!==f.minWidth||S!==f.padding?(l=!0,{...f,idealWidth:x,width:x,minWidth:y,padding:S}):f}var m;const{defaultWidth:g,idealWidth:v=h2,minWidth:w=m2,padding:b}=(m=n[u.columnId])!==null&&m!==void 0?m:{};return l=!0,{columnId:u.columnId,width:Math.max(g??v,w),minWidth:w,idealWidth:Math.max(g??v,w),padding:b??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 ec(t,o){return t[o]}function g2(t){return t.reduce((o,n)=>o+n.width+n.padding,0)}function v2(t,o){const n=An(t,o);var l;return(l=n?.width)!==null&&l!==void 0?l:0}function Ln(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 vl(t,o){let n=t;const l=g2(n);if(l<o){let s=o-l,c=0;for(;c<n.length&&s>0;){const u=ec(n,c);if(!u)break;const f=Math.min(u.idealWidth-u.width,s);if(n=Ln(n,u.columnId,"width",u.width+f),s-=f,c===n.length-1&&s!==0){const p=ec(n,c);p&&(n=Ln(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=ec(n,c);if(!u){c--;continue}if(u.width>u.minWidth){const f=Math.min(u.width-u.minWidth,s);s-=f,n=Ln(n,u.columnId,"width",u.width-f)}c--}}return n}const b2=t=>(o,n)=>{switch(n.type){case"CONTAINER_WIDTH_UPDATED":return{...o,containerWidth:n.containerWidth,columnWidthState:t?vl(o.columnWidthState,n.containerWidth):o.columnWidthState};case"COLUMNS_UPDATED":const l=Za(n.columns,o.columnWidthState,o.columnSizingOptions);return{...o,columns:n.columns,columnWidthState:t?vl(l,o.containerWidth):l};case"COLUMN_SIZING_OPTIONS_UPDATED":const s=Za(o.columns,o.columnWidthState,n.columnSizingOptions);return{...o,columnSizingOptions:n.columnSizingOptions,columnWidthState:t?vl(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=Ln(m,c,"width",u),m=Ln(m,c,"idealWidth",u),t&&(m=vl(m,f)),{...o,columnWidthState:m}):o}};function y2(t,o,n={}){const{onColumnResize:l,columnSizingOptions:s,autoFitColumns:c=!0}=n,u=_.useMemo(()=>b2(c),[c]),[f,p]=_.useReducer(u,{columns:t,containerWidth:0,columnWidthState:Za(t,void 0,s),columnSizingOptions:s});Ht(()=>{p({type:"CONTAINER_WIDTH_UPDATED",containerWidth:o})},[o]),Ht(()=>{p({type:"COLUMNS_UPDATED",columns:t})},[t]),Ht(()=>{p({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:s})},[s]);const m=ke((g,v)=>{let{width:w}=v;const{columnId:b}=v,x=An(f.columnWidthState,b);x&&(w=Math.max(x.minWidth||0,w),l&&l(g,{columnId:b,width:w}),p({type:"SET_COLUMN_WIDTH",columnId:b,width:w}))});return{getColumnById:_.useCallback(g=>An(f.columnWidthState,g),[f.columnWidthState]),getColumns:_.useCallback(()=>f.columnWidthState,[f.columnWidthState]),getColumnWidth:_.useCallback(g=>v2(f.columnWidthState,g),[f.columnWidthState]),setColumnWidth:m}}const bl=20,w2=bk,Gh=1/4;function k2(t){const[o,n]=_.useState(),l=_.useRef(void 0),{findPrevFocusable:s}=Sa(),c=_.useRef(t);_.useEffect(()=>{c.current=t},[t]);const[u]=_.useState(()=>new Map),f=ke(b=>{if(!o)return;const x=c.current.getColumnWidth(o),y=b.getModifierState(w2),S=()=>{b.preventDefault(),b.stopPropagation()};switch(b.key){case Ip:S(),c.current.setColumnWidth(b.nativeEvent,{columnId:o,width:x-(y?bl*Gh:bl)});return;case Dp:S(),c.current.setColumnWidth(b.nativeEvent,{columnId:o,width:x+(y?bl*Gh:bl)});return;case gr:case qo:case Ap:var B,E;S(),(E=u.get(o))===null||E===void 0||(B=E.current)===null||B===void 0||B.blur();break}}),p=_.useCallback(b=>{var x,y;n(b),(x=l.current)===null||x===void 0||x.call(l,b,!0);const S=(y=u.get(b))===null||y===void 0?void 0:y.current;S&&(S.setAttribute("tabindex","-1"),S.tabIndex=-1,S.focus())},[u]),m=_.useCallback(()=>{var b,x;if(!o)return;(b=l.current)===null||b===void 0||b.call(l,o,!1);const y=(x=u.get(o))===null||x===void 0?void 0:x.current;if(y){var S;(S=s(y))===null||S===void 0||S.focus(),y.removeAttribute("tabindex")}n(void 0)},[o,s,u]),g=(b,x)=>{l.current=x,o?b&&o!==b?(p(b),n(b)):m():p(b)},v=_.useCallback(b=>{const x=u.get(b)||_.createRef();return u.set(b,x),x},[u]),w=ka({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:g,columnId:o,getKeyboardResizingProps:_.useCallback((b,x)=>({onKeyDown:f,onBlur:m,ref:v(b),role:"separator","aria-label":"Resize column","aria-valuetext":`${x} pixels`,"aria-hidden":b!==o,tabIndex:b===o?0:void 0,...w}),[o,m,v,f,w])}}const Kh={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function x2(t){"use no memo";return o=>_2(o,{autoFitColumns:!0,...t})}function Xh(t,o){const n=t.width;return{width:n,minWidth:n,maxWidth:n,...o?{pointerEvents:"none"}:{}}}function _2(t,o={}){const{columns:n}=t,{width:l,measureElementRef:s}=d2(),c=y2(n,l+(o?.containerWidthOffset||0),o),u=p2(c),{toggleInteractiveMode:f,getKeyboardResizingProps:p}=k2(c),{autoFitColumns:m}=o,g=_.useCallback((S,B)=>E=>{E.preventDefault(),E.nativeEvent.stopPropagation(),f(S,B)},[f]),{getColumnById:v,setColumnWidth:w,getColumns:b}=c,{getOnMouseDown:x,dragging:y}=u;return{...t,tableRef:s,columnSizing_unstable:{getOnMouseDown:x,setColumnWidth:(S,B)=>w(void 0,{columnId:S,width:B}),getColumnWidths:b,getTableProps:(S={})=>({...S,style:{minWidth:"fit-content",...S.style||{}}}),getTableHeaderCellProps:_.useCallback(S=>{var B;const E=v(S),N=((B=n[n.length-1])===null||B===void 0?void 0:B.columnId)===S&&m?null:_.createElement(Uh,{onMouseDown:x(S),onTouchStart:x(S),...p(S,E?.width||0)});return E?{style:Xh(E,y),aside:N}:{}},[v,n,y,p,x,m]),getTableCellProps:_.useCallback(S=>{const B=v(S);return B?{style:Xh(B)}:{}},[v]),enableKeyboardMode:g}}}const S2=t=>t,C2={selection:$h,sort:Vh,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:Kh,tableRef:_.createRef()};function B2(t,o=[]){const{items:n,getRowId:l,columns:s}=t,c=_.useCallback((f=S2)=>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:$h,sort:Vh,columnSizing_unstable:Kh,tableRef:_.createRef()};return o.reduce((f,p)=>p(f),u)}const N2=()=>0,T2=()=>null,E2=()=>null;function yl(t){const{columnId:o,renderCell:n=T2,renderHeaderCell:l=E2,compare:s=N2}=t;return{columnId:o,renderCell:n,renderHeaderCell:l,compare:s}}function z2(){const t=xa({axis:"horizontal"}),o=xa({axis:"grid"}),n=_a({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:l}=Sa(),{targetDocument:s}=at(),c=hw(t,n);return{onTableKeyDown:_.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 w=Nr(p)?p:null;for(;w;){const b=w.getAttribute("role");if(b==="cell"||b==="gridcell")return!0;w=w.parentElement}return!1})();if(f.key===Ip&&v){p.dispatchEvent(new Of({action:Qi.Escape}));return}(f.key===Pa||f.key===tl)&&v&&(p.dispatchEvent(new Of({action:Qi.Escape})),p=s.activeElement,p&&p.dispatchEvent(new by({key:Ve[f.key]})))},[s,l]),tableTabsterAttribute:o,tableRowTabsterAttribute:c}}const Qh=_.createContext(void 0),P2={size:"medium",noNativeElements:!1,sortable:!1},R2=Qh.Provider,Xr=()=>{var t;return(t=_.useContext(Qh))!==null&&t!==void 0?t:P2},Yh=(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:Re(St(c,{ref:o,role:c==="div"?"cell":void 0,...t}),{elementType:c}),noNativeElements:n,size:l}},F2=t=>ue(t.root,{}),I2={root:"fui-TableCell"},D2=ce({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),j2=ce({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),O2=ce({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),A2=t=>{"use no memo";const o=O2(),n={table:D2(),flex:j2()};return t.root.className=re(I2.root,o.root,t.noNativeElements?n.flex.root:n.table.root,t.noNativeElements?n.flex[t.size]:n.table[t.size],t.root.className),t},Jh=_.createContext(void 0),L2="",M2=Jh.Provider,tc=()=>_.useContext(Jh)===L2,q2=(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=Pn(),p=tc();var m;return{components:{root:c},root:Re(St(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}},rc={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},H2=ce({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),W2=ce({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"fvrlu0f",B2u0y6b:"f1c71y05",Brf1p80:"f4d9j23"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".fvrlu0f{min-width:44px;}",".f1c71y05{max-width:44px;}",".f4d9j23{justify-content:center;}"]}),$2=ce({root:{fsow6f:"f17mccla",Huce71:"fz5stix",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},radioIndicator:{mc9l5x:"f22iagw",Bh6795r:"fqerorx",Bt984gj:"f122n59",Brf1p80:"f4d9j23"},subtle:{abs64n:"fk73vx1",B8a84jv:"f1y7ij6c"},hidden:{abs64n:"fk73vx1"}},{d:[".f17mccla{text-align:center;}",".fz5stix{white-space:nowrap;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fk73vx1{opacity:0;}",".f1y7ij6c[data-fui-focus-within]:focus-within{opacity:1;}"]}),V2=t=>{"use no memo";const o=$2(),n={table:H2(),flex:W2()};return t.root.className=re(rc.root,o.root,t.noNativeElements?n.flex.root:n.table.root,t.subtle&&t.checked===!1&&o.subtle,t.hidden&&o.hidden,t.root.className),t.checkboxIndicator&&(t.checkboxIndicator.className=re(rc.checkboxIndicator,t.checkboxIndicator.className)),t.radioIndicator&&(t.radioIndicator.className=re(rc.radioIndicator,o.radioIndicator,t.radioIndicator.className)),t},U2={root:"fui-TableRow"},G2=ce({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),K2=ce({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),X2=ce({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",Bahaeuw:"f1v3eptx",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq"},neutral:{wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",Jwef8y:"f1uqaxdt",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1msmgpi{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbo0xvd{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjuvmhu{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kvufhq:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),Q2=t=>{"use no memo";const o=X2(),n={table:G2(),flex:K2()};return t.root.className=re(U2.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},Y2=(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:Re(St(s,{ref:o,role:s==="div"?"rowgroup":void 0,...t}),{elementType:s}),noNativeElements:n}},J2=ce({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),Z2=ce({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),eC="fui-TableBody",tC=t=>{"use no memo";const o={table:J2(),flex:Z2()};return t.root.className=re(eC,t.noNativeElements?o.flex.root:o.table.root,t.root.className),t},rC=(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:Re(St(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}},oC=(t,o)=>ue(R2,{value:o.table,children:ue(t.root,{})}),nC="fui-Table",iC=ce({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),lC=ce({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),sC=ce({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),aC=t=>{"use no memo";const o=sC(),n={table:iC(),flex:lC()};return t.root.className=re(nC,o.root,t.noNativeElements?n.flex.root:n.table.root,t.root.className),t};function cC(t){const{size:o,noNativeElements:n,sortable:l}=t;return{table:_.useMemo(()=>({noNativeElements:n,size:o,sortable:l}),[n,o,l])}}const uC=(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:Re(St(s,{ref:o,role:s==="div"?"rowgroup":void 0,...t}),{elementType:s}),noNativeElements:n}},dC=t=>ue(M2,{value:"",children:ue(t.root,{})}),fC="fui-TableHeader",pC=ce({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),hC=ce({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),mC=t=>{"use no memo";const o={table:hC(),flex:pC()};return t.root.className=re(fC,t.noNativeElements?o.flex.root:o.table.root,t.root.className),t},gC={ascending:_.createElement(Pk,{fontSize:12}),descending:_.createElement(zk,{fontSize:12})},vC=(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=Re(t.button,{elementType:"div",defaultProps:{as:"div"}}),p=Lp(f.as,f);var m;return{components:{root:u,button:"div",sortIcon:"span",aside:"span"},root:Re(St(u,{ref:pt(o,Pn()),role:u==="div"?"columnheader":void 0,"aria-sort":s?(m=t.sortDirection)!==null&&m!==void 0?m:"none":void 0,...t}),{elementType:u}),aside:Ke(t.aside,{elementType:"span"}),sortIcon:Ke(t.sortIcon,{renderByDefault:!!t.sortDirection,defaultProps:{children:t.sortDirection?gC[t.sortDirection]:void 0},elementType:"span"}),button:s?p:f,sortable:s,noNativeElements:n}},bC=t=>yt(t.root,{children:[yt(t.button,{children:[t.root.children,t.sortIcon&&ue(t.sortIcon,{})]}),t.aside&&ue(t.aside,{})]}),wl={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},yC=ce({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),wC=ce({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),kC=ce({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),xC=t=>{"use no memo";const o=kC(),n={table:yC(),flex:wC()};return t.root.className=re(wl.root,o.root,t.sortable&&o.rootInteractive,t.noNativeElements?n.flex.root:n.table.root,t.root.className),t.button.className=re(wl.button,o.resetButton,o.button,t.sortable&&o.sortable,t.button.className),t.sortIcon&&(t.sortIcon.className=re(wl.sortIcon,o.sortIcon,t.sortIcon.className)),t.aside&&(t.aside.className=re(wl.aside,o.resizeHandle,t.aside.className)),t},Zh=_.createContext(void 0),_C="",em=()=>{var t;return(t=_.useContext(Zh))!==null&&t!==void 0?t:_C},SC=Zh.Provider,tm=_.createContext(void 0),CC="",rm=()=>{var t;return(t=_.useContext(tm))!==null&&t!==void 0?t:CC},BC=tm.Provider,NC=(t,o)=>{const n=Yh(t,pt(o,Pn())),{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:Qa},checkboxIndicator:Ke(t.checkboxIndicator,{renderByDefault:s==="checkbox",defaultProps:{checked:t.checked},elementType:Ua}),radioIndicator:Ke(t.radioIndicator,{renderByDefault:s==="radio",defaultProps:{checked:!!c,input:{name:Br("table-selection-radio")}},elementType:Qa}),type:s,checked:c,noNativeElements:l,subtle:u,hidden:p||f}},TC=t=>yt(t.root,{children:[t.type==="checkbox"&&t.checkboxIndicator&&ue(t.checkboxIndicator,{}),t.type==="radio"&&t.radioIndicator&&ue(t.radioIndicator,{})]}),om=za(void 0),nm={...C2,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},EC=om.Provider,He=t=>Rp(om,(o=nm)=>t(o)),zC=(t,o)=>{const{focusMode:n="cell"}=t,l=em(),s=He(p=>(p.focusMode==="cell"||p.focusMode==="composite")&&n!=="none"),c=He(p=>p.resizableColumns),u=He(p=>p.columnSizing_unstable.getTableCellProps),f=_a({tabBehavior:"limited-trap-focus"});return Yh({as:"div",role:"gridcell",...n==="group"&&f,tabIndex:s?0:void 0,...c?u(l):{},...t},o)},PC=t=>F2(t),RC={root:"fui-DataGridCell"},FC=t=>{"use no memo";return A2(t),t.root.className=re(RC.root,t.root.className),t},im=_.forwardRef((t,o)=>{const n=zC(t,o);return FC(n),nt("useDataGridCellStyles_unstable")(n),PC(n)});im.displayName="DataGridCell";const IC=(t,o)=>{const n=tc(),l=rm(),s=He(m=>m.subtleSelection),c=He(m=>n&&m.selection.selectionMode==="multiselect"?m.selection.allRowsSelected?!0:m.selection.someRowsSelected?"mixed":!1:m.selection.isRowSelected(l)),u=He(m=>m.selection.toggleAllRows),f=He(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 NC({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)},DC=t=>TC(t),oc={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},jC=t=>{"use no memo";return V2(t),t.root.className=re(oc.root,t.root.className),t.checkboxIndicator&&(t.checkboxIndicator.className=re(oc.checkboxIndicator,t.checkboxIndicator.className)),t.radioIndicator&&(t.radioIndicator.className=re(oc.radioIndicator,t.radioIndicator.className)),t},nc=_.forwardRef((t,o)=>{const n=IC(t,o);return jC(n),nt("useDataGridSelectionCellStyles_unstable")(n),DC(n)});nc.displayName="DataGridSelectionCell";const OC=(t,o)=>{const n=rm(),l=tc(),s=He(y=>y.columns),c=He(y=>y.selectableRows),u=He(y=>y.selection.isRowSelected(n)),f=He(y=>y.focusMode),p=He(y=>y.compositeRowTabsterAttribute),m=f==="row_unstable"||f==="composite",g=He(y=>!l&&c&&y.selection.isRowSelected(n)?y.selectionAppearance:"none"),v=He(y=>y.selection.toggleRow),w=ke(y=>{var S;c&&!l&&v(y,n),(S=t.onClick)===null||S===void 0||S.call(t,y)}),b=ke(y=>{var S;c&&!l&&y.key===gr&&!Lb(y.target)&&(y.preventDefault(),v(y,n)),(S=t.onKeyDown)===null||S===void 0||S.call(t,y)}),x=q2({appearance:g,"aria-selected":c?u:void 0,tabIndex:m&&!l?0:void 0,...f==="composite"&&!l&&p,...t,onClick:w,onKeyDown:b,children:null,as:"div"},o);return{...x,components:{...x.components,selectionCell:nc},selectionCell:Ke(t.selectionCell,{renderByDefault:c,elementType:nc}),renderCell:t.children,columnDefs:s,dataGridContextValue:AC()}};function AC(){const t=_.useRef(nm);return He(o=>(t.current=o,null)),t.current}const LC=t=>yt(t.root,{children:[t.selectionCell&&ue(t.selectionCell,{}),t.columnDefs.map(o=>ue(SC,{value:o.columnId,children:t.renderCell(o,t.dataGridContextValue)},o.columnId))]}),lm={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},MC=ce({subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),qC=t=>{"use no memo";const o=He(l=>l.subtleSelection),n=MC();return Q2(t),t.root.className=re(lm.root,t.root.className,o&&n.subtleSelection),t.selectionCell&&(t.selectionCell.className=re(lm.selectionCell,t.selectionCell.className)),t},ic=_.forwardRef((t,o)=>{const n=OC(t,o);return qC(n),nt("useDataGridRowStyles_unstable")(n),LC(n)});ic.displayName="DataGridRow";const HC=(t,o)=>{const{sortable:n}=Xr(),l=He(f=>f.getRows),s=He(f=>f.sort.sort),c=n?s(l()):l();return{...Y2({...t,children:null,as:"div"},o),rows:c,renderRow:t.children}},WC=t=>ue(t.root,{children:t.rows.map(o=>ue(BC,{value:o.rowId,children:t.renderRow(o)},o.rowId))}),$C={root:"fui-DataGridBody"},VC=t=>{"use no memo";return tC(t),t.root.className=re($C.root,t.root.className),t},sm=_.forwardRef((t,o)=>{const n=HC(t,o);return VC(n),nt("useDataGridBodyStyles_unstable")(n),WC(n)});sm.displayName="DataGridBody";const UC=(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:w=!1,selectionAppearance:b="brand",getRowId:x,resizableColumns:y,columnSizingOptions:S,onColumnResize:B,containerWidthOffset:E,resizableColumnsOptions:T={}}=t,N=E??(c?-44:0),R=xa({axis:"grid"}),{onTableKeyDown:A,tableTabsterAttribute:D,tableRowTabsterAttribute:M}=z2();var U;const Y=B2({items:n,columns:l,getRowId:x},[n2({defaultSortState:p,sortState:m,onSortChange:u}),r2({defaultSelectedItems:v,selectedItems:g,onSelectionChange:f,selectionMode:c??"multiselect"}),x2({onColumnResize:B,columnSizingOptions:S,containerWidthOffset:N,autoFitColumns:(U=T.autoFitColumns)!==null&&U!==void 0?U:!0})]),ae=_.useRef(null),{findFirstFocusable:he,findLastFocusable:H}=Sa(),Z=ke(be=>{var me;if((me=t.onKeyDown)===null||me===void 0||me.call(t,be),s==="composite"&&A(be),!(!ae.current||!be.ctrlKey||be.defaultPrevented)){if(be.key===Op){const J=ae.current.querySelector('[role="row"]');if(J){var G;(G=he(J))===null||G===void 0||G.focus()}}if(be.key===jp){const J=ae.current.querySelectorAll('[role="row"]');if(J.length){var te;const F=J.item(J.length-1);(te=H(F))===null||te===void 0||te.focus()}}}});return{...rC({role:"grid",as:"div",noNativeElements:!0,...s==="cell"&&R,...s==="composite"&&D,...t,onKeyDown:Z,...y?Y.columnSizing_unstable.getTableProps(t):{}},pt(o,Y.tableRef,ae)),focusMode:s,tableState:Y,selectableRows:!!c,subtleSelection:w,selectionAppearance:b,resizableColumns:y,compositeRowTabsterAttribute:M}},GC=(t,o)=>_.createElement(EC,{value:o.dataGrid},oC(t,o)),KC={root:"fui-DataGrid"},XC=t=>{"use no memo";return aC(t),t.root.className=re(KC.root,t.root.className),t};function QC(t){const o=cC(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 am=_.forwardRef((t,o)=>{const n=UC(t,o);return XC(n),nt("useDataGridStyles_unstable")(n),GC(n,QC(n))});am.displayName="DataGrid";const YC=(t,o)=>uC({...t,as:"div"},o),JC=t=>dC(t),ZC={root:"fui-DataGridHeader"},eB=t=>{"use no memo";return mC(t),t.root.className=re(ZC.root,t.root.className),t},cm=_.forwardRef((t,o)=>{const n=YC(t,o);return eB(n),nt("useDataGridHeaderStyles_unstable")(n),JC(n)});cm.displayName="DataGridHeader";function tB(t){return t.compare.length>0}const rB=(t,o)=>{const n=em(),{sortable:l}=Xr(),s=He(w=>w.sort.toggleColumnSort),c=He(w=>{const b=!!w.columns.find(x=>x.columnId===n&&tB(x));return l?b:!1}),u=He(w=>c?w.sort.getSortDirection(n):void 0),f=He(w=>w.resizableColumns),p=He(w=>w.columnSizing_unstable.getTableHeaderCellProps),{focusMode:m=c?"none":"cell"}=t,g=_a({tabBehavior:"limited-trap-focus"}),v=ke(w=>{var b;c&&s(w,n),(b=t.onClick)===null||b===void 0||b.call(t,w)});return vC({sortable:c,sortDirection:u,as:"div",tabIndex:m!=="none"?0:void 0,...m==="group"&&g,...f?p(n):{},...t,onClick:v},o)},oB=t=>bC(t),kl={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},nB=t=>{"use no memo";return xC(t),t.root.className=re(kl.root,t.root.className),t.button&&(t.button.className=re(kl.button,t.button.className)),t.sortIcon&&(t.sortIcon.className=re(kl.sortIcon,t.sortIcon.className)),t.aside&&(t.aside.className=re(kl.aside,t.aside.className)),t},um=_.forwardRef((t,o)=>{const n=rB(t,o);return nB(n),nt("useDataGridHeaderCellStyles_unstable")(n),oB(n)});um.displayName="DataGridHeaderCell";const iB=(t,o)=>{const{size:n="medium",disabled:l=!1,root:s,contentBefore:c,dismiss:u,contentAfter:f,value:p,defaultValue:m,...g}=t,v=_.useRef(null),w=_.useRef(null),[b,x]=Hr({state:p,defaultState:m,initialState:""}),[y,S]=_.useState(!1),B=_.useCallback(()=>{S(!0)},[S]),E=_.useCallback(D=>{var M;S(!!(!((M=v.current)===null||M===void 0)&&M.contains(D.relatedTarget)))},[S]),T=sf(s),N=ke(D=>{var M,U;if(af(u)){var Y;(Y=u.onClick)===null||Y===void 0||Y.call(u,D)}const ae="";x(ae),(M=t.onChange)===null||M===void 0||M.call(t,D,{value:ae}),(U=w.current)===null||U===void 0||U.focus()}),R=xS({type:"search",disabled:l,size:n,value:b,root:Re({...T,ref:pt(T?.ref,v),onFocus:Ct(T?.onFocus,B),onBlur:Ct(T?.onBlur,E)},{elementType:"span"}),contentBefore:Ke(c,{renderByDefault:!0,defaultProps:{children:_.createElement(jk,null)},elementType:"span"}),contentAfter:Ke(f,{renderByDefault:!0,elementType:"span"}),...g,onChange:ke(D=>{var M;const U=D.target.value;(M=t.onChange)===null||M===void 0||M.call(t,D,{value:U}),x(U)})},pt(w,o)),A={...R,components:{...R.components,dismiss:"span"},dismiss:Ke(u,{defaultProps:{children:_.createElement(Gp,null),role:"button","aria-label":"clear",tabIndex:-1},renderByDefault:!0,elementType:"span"}),disabled:l,focused:y,size:n};return A.dismiss&&(A.dismiss.onClick=N),A},lB=t=>yt(t.root,{children:[t.contentBefore&&ue(t.contentBefore,{}),ue(t.input,{}),t.contentAfter&&yt(t.contentAfter,{children:[t.contentAfter.children,t.dismiss&&ue(t.dismiss,{})]})]}),Mn={root:"fui-SearchBox",dismiss:"fui-SearchBox__dismiss",contentAfter:"fui-SearchBox__contentAfter",contentBefore:"fui-SearchBox__contentBefore",input:"fui-SearchBox__input"},sB=ce({small:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"]},medium:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},large:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1ng84yb","f11gcy0p"],z189sj:["f11gcy0p","f1ng84yb"]},input:{uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fhxju0i","f1cnd47f"],Boqhc8c:"f18izjht",B8uat0v:"fcoa6sg"},unfocusedNoContentAfter:{z189sj:["fhxju0i","f1cnd47f"]}},{d:[".fjuset5{column-gap:0;}",".f1xzfw5u{max-width:468px;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".fhxju0i{padding-right:0;}",".f1cnd47f{padding-left:0;}",".f18izjht::-webkit-search-decoration{display:none;}",".fcoa6sg::-webkit-search-cancel-button{display:none;}"]}),aB=ce({small:{z189sj:["fdw0yi8","fk8j09s"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},large:{z189sj:["f11gcy0p","f1ng84yb"]}},{d:[".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}"]}),cB=ce({contentAfter:{uwmqm3:["f1uw59to","fw5db7e"],i8kkvl:"f1ufnopg"},rest:{Bqenvij:"fniina8",a9b677:"f3tsq5r",uwmqm3:["f1cnd47f","fhxju0i"],B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"}},{d:[".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}]]}),uB=ft("r1pvzcuu",null,[".r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}",".r1pvzcuu>svg{font-size:20px;}"]),dB=ce({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),fB=t=>{"use no memo";const{disabled:o,focused:n,size:l}=t,s=sB(),c=aB(),u=cB(),f=uB(),p=dB();return t.root.className=re(Mn.root,s[l],!n&&s.unfocusedNoContentAfter,t.root.className),t.input.className=re(Mn.input,s.input,!n&&c[l],t.input.className),t.dismiss&&(t.dismiss.className=re(Mn.dismiss,f,o&&p.disabled,p[l],t.dismiss.className)),t.contentBefore&&(t.contentBefore.className=re(Mn.contentBefore,t.contentBefore.className)),t.contentAfter?t.contentAfter.className=re(Mn.contentAfter,u.contentAfter,!n&&u.rest,t.contentAfter.className):t.dismiss&&(t.dismiss.className=re(t.dismiss.className,u.contentAfter)),ES(t),t},dm=_.forwardRef((t,o)=>{const n=iB(t,o);return fB(n),nt("useSearchBoxStyles_unstable")(n),lB(n)});dm.displayName="SearchBox";const pB=t=>{const o=Br("solution-dropdown"),n=Br("search-input"),l="All",s=()=>{if(!t.selectedSolutionId)return l;const m=t.solutions.find(g=>g.solutionid===t.selectedSolutionId);return m?m.friendlyname:l},c=(m,g)=>{const v=g.optionValue;t.onSolutionFilterChanged(v===l?void 0:v)},u=(m,g)=>{t.onTextFilterChanged(g.value)},p=Wi({root:{display:"flex",gap:"12px",alignItems:"flex-end"},field:{display:"grid",justifyItems:"start",gap:"2px"},dropdown:{minWidth:"350px"},searchInput:{minWidth:"300px"}})();return pe.jsxs("div",{className:p.root,children:[pe.jsxs("div",{className:p.field,children:[pe.jsx("label",{htmlFor:o,children:"Solution"}),pe.jsxs(Xa,{id:o,placeholder:"All",value:s(),selectedOptions:[t.selectedSolutionId||"All"],onOptionSelect:c,className:p.dropdown,children:[pe.jsx(Dn,{value:"All",children:"All"},"all"),t.solutions.map(m=>pe.jsx(Dn,{value:m.solutionid,children:m.friendlyname},m.solutionid))]})]}),pe.jsxs("div",{className:p.field,children:[pe.jsx("label",{htmlFor:n,children:"Filter Entities"}),pe.jsx(dm,{id:n,placeholder:"Search by display name or logical name...",value:t.textFilter,onChange:u,className:p.searchInput})]}),pe.jsx(Ph,{appearance:"primary",icon:pe.jsx(Dk,{}),onClick:t.onCountRecords,disabled:t.isCountingRecords,children:t.isCountingRecords?"Counting...":"Count Records"})]})},hB=Wi({scrollWrapper:{height:"100%",overflow:"auto",position:"relative"},gridContainer:{minWidth:"max-content"},stickyHeader:{position:"sticky",top:0,zIndex:10,backgroundColor:hr.colorNeutralBackground1},cellStyles:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},cellStylesRight:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",textAlign:"right"},viewDropdown:{width:"100%"}}),mB=t=>{const o=hB(),[n,l]=Ni.useState({sortColumn:"displayname",sortDirection:"ascending"}),s=[yl({columnId:"displayname",compare:(f,p)=>f.displayname.localeCompare(p.displayname),renderHeaderCell:()=>"Display Name",renderCell:f=>pe.jsx("span",{title:f.displayname,className:o.cellStyles,children:f.displayname})}),yl({columnId:"logicalname",compare:(f,p)=>f.logicalname.localeCompare(p.logicalname),renderHeaderCell:()=>"Logical Name",renderCell:f=>pe.jsx("span",{title:f.logicalname,className:o.cellStyles,children:f.logicalname})}),yl({columnId:"views",compare:()=>0,renderHeaderCell:()=>"View",renderCell:f=>{const m=f.views?.find(w=>w.savedqueryid===f.selectedViewId),g=m?m.name:"All",v=(w,b)=>{const x=b.optionValue==="All"?void 0:b.optionValue;t.onViewChange(f.logicalname,x)};return pe.jsxs(Xa,{value:g,selectedOptions:[f.selectedViewId||"All"],onOptionSelect:v,className:o.viewDropdown,size:"medium",children:[pe.jsx(Dn,{value:"All",children:"All"},"all"),f.views?.map(w=>pe.jsx(Dn,{value:w.savedqueryid,children:w.name},w.savedqueryid))]})}}),yl({columnId:"recordCount",compare:(f,p)=>{const m=f.recordCount??-1,g=p.recordCount??-1;return m-g},renderHeaderCell:()=>pe.jsx("div",{style:{textAlign:"right"},children:"Record Count"}),renderCell:f=>f.isLoading?pe.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"8px"},children:[pe.jsx(Ya,{size:"tiny"}),pe.jsx("span",{children:"Progressing..."})]}):pe.jsx("div",{style:{textAlign:"right"},children:f.recordCount!==void 0?f.recordCount.toLocaleString():"-"})})],c=Ni.useMemo(()=>[...t.items].sort((p,m)=>{const g=s.find(w=>w.columnId===n.sortColumn);if(!g||!g.compare)return 0;const v=g.compare(p,m);return n.sortDirection==="ascending"?v:-v}),[t.items,n]),u={displayname:{minWidth:300,defaultWidth:300},logicalname:{minWidth:300,defaultWidth:300},views:{minWidth:450,defaultWidth:450}};return pe.jsx("div",{className:o.scrollWrapper,children:pe.jsxs(am,{items:c,columns:s,sortable:!0,sortState:n,onSortChange:(f,p)=>l(p),getRowId:f=>f.logicalname,className:o.gridContainer,resizableColumns:!0,columnSizingOptions:u,children:[pe.jsx(cm,{className:o.stickyHeader,children:pe.jsx(ic,{children:({renderHeaderCell:f})=>pe.jsx(um,{children:f()})})}),pe.jsx(sm,{children:({item:f,rowId:p})=>pe.jsx(ic,{children:({renderCell:m})=>pe.jsx(im,{children:m(f)})},p)})]})})},gB=({connection:t})=>{const[o,n]=_.useState([]),[l,s]=_.useState([]),[c,u]=_.useState(void 0),[f,p]=_.useState(""),[m,g]=_.useState(!1),[v,w]=_.useState(!1),[b,x]=_.useState(!1),S=Wi({overviewRoot:{height:"100%",display:"flex",flexDirection:"column",gap:"16px",overflow:"hidden"},filterSection:{flexShrink:0},loadingContainer:{display:"flex",justifyContent:"center",alignItems:"center",padding:"40px"},dataGridSection:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden",minHeight:0}})();_.useEffect(()=>{(async()=>{t&&(await E(),await T())})()},[t]),_.useEffect(()=>{t&&T()},[c]);const B=_.useCallback(async(D,M,U)=>{try{await window.toolboxAPI.utils.showNotification({title:D,body:M,type:U,duration:3e3})}catch(Y){console.error("Error showing notification:",Y)}},[]),E=_.useCallback(async()=>{try{w(!0);const D=await g0();n(D),je.info(`Fetched ${D.length} solutions`)}catch(D){je.error(`Error querying solutions: ${D.message}`),await B("Error",`Failed to load solutions: ${D.message}`,"error")}finally{w(!1)}},[B]),T=_.useCallback(async()=>{try{g(!0);const D=await v0(c),M=await y0(),U=D.map(ae=>{const he=M.get(ae.logicalname)||[];return{...ae,views:he}});s(U),je.info(`Fetched ${U.length} entities with views`);const Y=c?" for selected solution":"";await B("Entities Loaded",`Successfully loaded ${U.length} entities${Y}`,"success")}catch(D){je.error(`Error querying entities: ${D.message}`),await B("Error",`Failed to load entities: ${D.message}`,"error")}finally{g(!1)}},[c,B]),N=Ni.useMemo(()=>{if(!f)return l;const D=f.toLowerCase();return l.filter(M=>M.displayname?.toLowerCase().includes(D)||M.logicalname?.toLowerCase().includes(D))},[l,f]),R=_.useCallback(async()=>{try{x(!0),je.info("Starting record count for all entities...");const D=N;s(M=>M.map(U=>D.find(Y=>Y.logicalname===U.logicalname)?{...U,isLoading:!0,recordCount:void 0}:U));for(const M of D)try{const U=M.views?.find(H=>H.savedqueryid===M.selectedViewId),Y=U?.fetchxml,ae=await w0(M.entitysetname,M.logicalname,Y);s(H=>H.map(Z=>Z.logicalname===M.logicalname?{...Z,recordCount:ae,isLoading:!1}:Z));const he=U?` (view: ${U.name})`:"";je.info(`Counted ${ae} records for ${M.logicalname}${he}`)}catch(U){je.error(`Error counting records for ${M.logicalname}: ${U.message}`),s(Y=>Y.map(ae=>ae.logicalname===M.logicalname?{...ae,recordCount:0,isLoading:!1}:ae))}await B("Record Count Complete",`Successfully counted records for ${D.length} entities`,"success"),je.info("Record count completed")}catch(D){je.error(`Error counting records: ${D.message}`),await B("Error",`Failed to count records: ${D.message}`,"error")}finally{x(!1)}},[N,B]),A=_.useCallback((D,M)=>{je.info(`View changed for ${D} to: ${M||"All"}`),s(U=>U.map(Y=>Y.logicalname===D?{...Y,selectedViewId:M,recordCount:void 0}:Y))},[]);return pe.jsx("div",{className:S.overviewRoot,children:m||v?pe.jsx("div",{className:S.loadingContainer,children:pe.jsx(Ya,{label:v?"Loading solutions...":"Loading entities..."})}):pe.jsxs(pe.Fragment,{children:[pe.jsx("div",{className:S.filterSection,children:pe.jsx(pB,{solutions:o,selectedSolutionId:c,textFilter:f,onSolutionFilterChanged:D=>{je.info(`Solution filter changed to: ${D||"All"}`),u(D)},onTextFilterChanged:D=>{p(D)},onCountRecords:R,isCountingRecords:b})}),l.length>0&&pe.jsx("div",{className:S.dataGridSection,children:pe.jsx(mB,{items:N,onViewChange:A})})]})})};function vB(){const[t,o]=_.useState(null),[n,l]=_.useState(!0),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 _.useEffect(()=>{s()},[s]),{connection:t,isLoading:n,refreshConnection:s}}function bB(t){_.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 yB=""+new URL("fast-record-counter_small-CcFp3TaT.png",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href,wB=Wi({container:{backgroundColor:hr.colorNeutralBackground1,height:"100vh",display:"flex",flexDirection:"column",overflow:"hidden"},header:{padding:hr.spacingVerticalL,paddingBottom:hr.spacingVerticalS,borderBottom:`1px solid ${hr.colorNeutralStroke1}`,gap:hr.spacingVerticalXXS,flexShrink:0},headerTitle:{display:"flex",alignItems:"center",gap:hr.spacingHorizontalM},headerIcon:{height:"50px",objectFit:"contain"},subtitle:{color:hr.colorNeutralForeground3,fontSize:hr.fontSizeBase300},content:{padding:hr.spacingVerticalL,flex:1,overflow:"hidden",minHeight:0}});function kB(){const{connection:t,refreshConnection:o}=vB(),[n,l]=_.useState(Tp),s=wB(),c=_.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(),je.info("Settings updated");break}},[o]);async function u(){const f=await window.toolboxAPI.utils.getCurrentTheme();l(f==="dark"?Tp:rk),je.info(`Theme updated:${f}`)}return bB(c),_.useEffect(()=>{(async()=>{await u(),je.info("Initialized")})()},[]),pe.jsx(zp,{theme:n,children:pe.jsxs("div",{className:s.container,children:[pe.jsx("div",{className:s.header,children:pe.jsxs("div",{className:s.headerTitle,children:[pe.jsx("img",{src:yB,alt:"Fast Record Counter Icon",className:s.headerIcon}),pe.jsx(t2,{children:"Fast Record Counter"}),pe.jsx(Wh,{className:s.subtitle,children:"Count records across all entities in your environment"})]})}),pe.jsx("div",{className:s.content,children:pe.jsx(gB,{connection:t})})]})})}const qn=document.getElementById("root");qn&&!qn.hasAttribute("data-reactroot-initialized")?(qn.setAttribute("data-reactroot-initialized","true"),h0.createRoot(qn).render(pe.jsx(_.StrictMode,{children:pe.jsx(kB,{})}))):qn||console.error('Root element not found. Make sure the HTML contains <div id="root"></div>')})();