@pacaf/wizard-ux 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,127 @@
1
+ var P3=Object.defineProperty;var q1=e=>{throw TypeError(e)};var I3=(e,r,n)=>r in e?P3(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n;var H=(e,r,n)=>I3(e,typeof r!="symbol"?r+"":r,n),wh=(e,r,n)=>r.has(e)||q1("Cannot "+n);var A=(e,r,n)=>(wh(e,r,"read from private field"),n?n.call(e):r.get(e)),be=(e,r,n)=>r.has(e)?q1("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,n),ce=(e,r,n,a)=>(wh(e,r,"write to private field"),a?a.call(e,n):r.set(e,n),n),Re=(e,r,n)=>(wh(e,r,"access private method"),n);var Yc=(e,r,n,a)=>({set _(s){ce(e,r,s,n)},get _(){return A(e,r,a)}});function Ly(e,r){for(var n=0;n<r.length;n++){const a=r[n];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const c=Object.getOwnPropertyDescriptor(a,s);c&&Object.defineProperty(e,s,c.get?c:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&a(u)}).observe(document,{childList:!0,subtree:!0});function n(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function a(s){if(s.ep)return;s.ep=!0;const c=n(s);fetch(s.href,c)}})();function Py(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kh={exports:{}},Wl={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var F1;function U3(){if(F1)return Wl;F1=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function n(a,s,c){var u=null;if(c!==void 0&&(u=""+c),s.key!==void 0&&(u=""+s.key),"key"in s){c={};for(var d in s)d!=="key"&&(c[d]=s[d])}else c=s;return s=c.ref,{$$typeof:e,type:a,key:u,ref:s!==void 0?s:null,props:c}}return Wl.Fragment=r,Wl.jsx=n,Wl.jsxs=n,Wl}var H1;function V3(){return H1||(H1=1,kh.exports=U3()),kh.exports}var B=V3();const G3=Py(B),X3=Ly({__proto__:null,default:G3},[B]);var Bh={exports:{}},Ne={};/**
10
+ * @license React
11
+ * react.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var L1;function W3(){if(L1)return Ne;L1=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),S=Symbol.iterator;function k(D){return D===null||typeof D!="object"?null:(D=S&&D[S]||D["@@iterator"],typeof D=="function"?D:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,z={};function T(D,L,Z){this.props=D,this.context=L,this.refs=z,this.updater=Z||w}T.prototype.isReactComponent={},T.prototype.setState=function(D,L){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,L,"setState")},T.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function j(){}j.prototype=T.prototype;function N(D,L,Z){this.props=D,this.context=L,this.refs=z,this.updater=Z||w}var C=N.prototype=new j;C.constructor=N,x(C,T.prototype),C.isPureReactComponent=!0;var E=Array.isArray;function M(){}var Q={H:null,A:null,T:null,S:null},X=Object.prototype.hasOwnProperty;function oe(D,L,Z){var re=Z.ref;return{$$typeof:e,type:D,key:L,ref:re!==void 0?re:null,props:Z}}function ne(D,L){return oe(D.type,L,D.props)}function ge(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function ie(D){var L={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(Z){return L[Z]})}var le=/\/+/g;function ae(D,L){return typeof D=="object"&&D!==null&&D.key!=null?ie(""+D.key):L.toString(36)}function pe(D){switch(D.status){case"fulfilled":return D.value;case"rejected":throw D.reason;default:switch(typeof D.status=="string"?D.then(M,M):(D.status="pending",D.then(function(L){D.status==="pending"&&(D.status="fulfilled",D.value=L)},function(L){D.status==="pending"&&(D.status="rejected",D.reason=L)})),D.status){case"fulfilled":return D.value;case"rejected":throw D.reason}}throw D}function U(D,L,Z,re,fe){var ke=typeof D;(ke==="undefined"||ke==="boolean")&&(D=null);var Oe=!1;if(D===null)Oe=!0;else switch(ke){case"bigint":case"string":case"number":Oe=!0;break;case"object":switch(D.$$typeof){case e:case r:Oe=!0;break;case m:return Oe=D._init,U(Oe(D._payload),L,Z,re,fe)}}if(Oe)return fe=fe(D),Oe=re===""?"."+ae(D,0):re,E(fe)?(Z="",Oe!=null&&(Z=Oe.replace(le,"$&/")+"/"),U(fe,L,Z,"",function(lo){return lo})):fe!=null&&(ge(fe)&&(fe=ne(fe,Z+(fe.key==null||D&&D.key===fe.key?"":(""+fe.key).replace(le,"$&/")+"/")+Oe)),L.push(fe)),1;Oe=0;var xe=re===""?".":re+":";if(E(D))for(var ze=0;ze<D.length;ze++)re=D[ze],ke=xe+ae(re,ze),Oe+=U(re,L,Z,ke,fe);else if(ze=k(D),typeof ze=="function")for(D=ze.call(D),ze=0;!(re=D.next()).done;)re=re.value,ke=xe+ae(re,ze++),Oe+=U(re,L,Z,ke,fe);else if(ke==="object"){if(typeof D.then=="function")return U(pe(D),L,Z,re,fe);throw L=String(D),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return Oe}function J(D,L,Z){if(D==null)return D;var re=[],fe=0;return U(D,re,"","",function(ke){return L.call(Z,ke,fe++)}),re}function te(D){if(D._status===-1){var L=D._result;L=L(),L.then(function(Z){(D._status===0||D._status===-1)&&(D._status=1,D._result=Z)},function(Z){(D._status===0||D._status===-1)&&(D._status=2,D._result=Z)}),D._status===-1&&(D._status=0,D._result=L)}if(D._status===1)return D._result.default;throw D._result}var se=typeof reportError=="function"?reportError:function(D){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof D=="object"&&D!==null&&typeof D.message=="string"?String(D.message):String(D),error:D});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",D);return}console.error(D)},Te={map:J,forEach:function(D,L,Z){J(D,function(){L.apply(this,arguments)},Z)},count:function(D){var L=0;return J(D,function(){L++}),L},toArray:function(D){return J(D,function(L){return L})||[]},only:function(D){if(!ge(D))throw Error("React.Children.only expected to receive a single React element child.");return D}};return Ne.Activity=v,Ne.Children=Te,Ne.Component=T,Ne.Fragment=n,Ne.Profiler=s,Ne.PureComponent=N,Ne.StrictMode=a,Ne.Suspense=g,Ne.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q,Ne.__COMPILER_RUNTIME={__proto__:null,c:function(D){return Q.H.useMemoCache(D)}},Ne.cache=function(D){return function(){return D.apply(null,arguments)}},Ne.cacheSignal=function(){return null},Ne.cloneElement=function(D,L,Z){if(D==null)throw Error("The argument must be a React element, but you passed "+D+".");var re=x({},D.props),fe=D.key;if(L!=null)for(ke in L.key!==void 0&&(fe=""+L.key),L)!X.call(L,ke)||ke==="key"||ke==="__self"||ke==="__source"||ke==="ref"&&L.ref===void 0||(re[ke]=L[ke]);var ke=arguments.length-2;if(ke===1)re.children=Z;else if(1<ke){for(var Oe=Array(ke),xe=0;xe<ke;xe++)Oe[xe]=arguments[xe+2];re.children=Oe}return oe(D.type,fe,re)},Ne.createContext=function(D){return D={$$typeof:u,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null},D.Provider=D,D.Consumer={$$typeof:c,_context:D},D},Ne.createElement=function(D,L,Z){var re,fe={},ke=null;if(L!=null)for(re in L.key!==void 0&&(ke=""+L.key),L)X.call(L,re)&&re!=="key"&&re!=="__self"&&re!=="__source"&&(fe[re]=L[re]);var Oe=arguments.length-2;if(Oe===1)fe.children=Z;else if(1<Oe){for(var xe=Array(Oe),ze=0;ze<Oe;ze++)xe[ze]=arguments[ze+2];fe.children=xe}if(D&&D.defaultProps)for(re in Oe=D.defaultProps,Oe)fe[re]===void 0&&(fe[re]=Oe[re]);return oe(D,ke,fe)},Ne.createRef=function(){return{current:null}},Ne.forwardRef=function(D){return{$$typeof:d,render:D}},Ne.isValidElement=ge,Ne.lazy=function(D){return{$$typeof:m,_payload:{_status:-1,_result:D},_init:te}},Ne.memo=function(D,L){return{$$typeof:p,type:D,compare:L===void 0?null:L}},Ne.startTransition=function(D){var L=Q.T,Z={};Q.T=Z;try{var re=D(),fe=Q.S;fe!==null&&fe(Z,re),typeof re=="object"&&re!==null&&typeof re.then=="function"&&re.then(M,se)}catch(ke){se(ke)}finally{L!==null&&Z.types!==null&&(L.types=Z.types),Q.T=L}},Ne.unstable_useCacheRefresh=function(){return Q.H.useCacheRefresh()},Ne.use=function(D){return Q.H.use(D)},Ne.useActionState=function(D,L,Z){return Q.H.useActionState(D,L,Z)},Ne.useCallback=function(D,L){return Q.H.useCallback(D,L)},Ne.useContext=function(D){return Q.H.useContext(D)},Ne.useDebugValue=function(){},Ne.useDeferredValue=function(D,L){return Q.H.useDeferredValue(D,L)},Ne.useEffect=function(D,L){return Q.H.useEffect(D,L)},Ne.useEffectEvent=function(D){return Q.H.useEffectEvent(D)},Ne.useId=function(){return Q.H.useId()},Ne.useImperativeHandle=function(D,L,Z){return Q.H.useImperativeHandle(D,L,Z)},Ne.useInsertionEffect=function(D,L){return Q.H.useInsertionEffect(D,L)},Ne.useLayoutEffect=function(D,L){return Q.H.useLayoutEffect(D,L)},Ne.useMemo=function(D,L){return Q.H.useMemo(D,L)},Ne.useOptimistic=function(D,L){return Q.H.useOptimistic(D,L)},Ne.useReducer=function(D,L,Z){return Q.H.useReducer(D,L,Z)},Ne.useRef=function(D){return Q.H.useRef(D)},Ne.useState=function(D){return Q.H.useState(D)},Ne.useSyncExternalStore=function(D,L,Z){return Q.H.useSyncExternalStore(D,L,Z)},Ne.useTransition=function(){return Q.H.useTransition()},Ne.version="19.2.6",Ne}var P1;function O0(){return P1||(P1=1,Bh.exports=W3()),Bh.exports}var y=O0();const Zh=Py(y),pu=Ly({__proto__:null,default:Zh},[y]);var _h={exports:{}},Ql={},zh={exports:{}},Th={};/**
18
+ * @license React
19
+ * scheduler.production.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var I1;function Q3(){return I1||(I1=1,(function(e){function r(U,J){var te=U.length;U.push(J);e:for(;0<te;){var se=te-1>>>1,Te=U[se];if(0<s(Te,J))U[se]=J,U[te]=Te,te=se;else break e}}function n(U){return U.length===0?null:U[0]}function a(U){if(U.length===0)return null;var J=U[0],te=U.pop();if(te!==J){U[0]=te;e:for(var se=0,Te=U.length,D=Te>>>1;se<D;){var L=2*(se+1)-1,Z=U[L],re=L+1,fe=U[re];if(0>s(Z,te))re<Te&&0>s(fe,Z)?(U[se]=fe,U[re]=te,se=re):(U[se]=Z,U[L]=te,se=L);else if(re<Te&&0>s(fe,te))U[se]=fe,U[re]=te,se=re;else break e}}return J}function s(U,J){var te=U.sortIndex-J.sortIndex;return te!==0?te:U.id-J.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var g=[],p=[],m=1,v=null,S=3,k=!1,w=!1,x=!1,z=!1,T=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function C(U){for(var J=n(p);J!==null;){if(J.callback===null)a(p);else if(J.startTime<=U)a(p),J.sortIndex=J.expirationTime,r(g,J);else break;J=n(p)}}function E(U){if(x=!1,C(U),!w)if(n(g)!==null)w=!0,M||(M=!0,ie());else{var J=n(p);J!==null&&pe(E,J.startTime-U)}}var M=!1,Q=-1,X=5,oe=-1;function ne(){return z?!0:!(e.unstable_now()-oe<X)}function ge(){if(z=!1,M){var U=e.unstable_now();oe=U;var J=!0;try{e:{w=!1,x&&(x=!1,j(Q),Q=-1),k=!0;var te=S;try{t:{for(C(U),v=n(g);v!==null&&!(v.expirationTime>U&&ne());){var se=v.callback;if(typeof se=="function"){v.callback=null,S=v.priorityLevel;var Te=se(v.expirationTime<=U);if(U=e.unstable_now(),typeof Te=="function"){v.callback=Te,C(U),J=!0;break t}v===n(g)&&a(g),C(U)}else a(g);v=n(g)}if(v!==null)J=!0;else{var D=n(p);D!==null&&pe(E,D.startTime-U),J=!1}}break e}finally{v=null,S=te,k=!1}J=void 0}}finally{J?ie():M=!1}}}var ie;if(typeof N=="function")ie=function(){N(ge)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,ae=le.port2;le.port1.onmessage=ge,ie=function(){ae.postMessage(null)}}else ie=function(){T(ge,0)};function pe(U,J){Q=T(function(){U(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(U){U.callback=null},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):X=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return S},e.unstable_next=function(U){switch(S){case 1:case 2:case 3:var J=3;break;default:J=S}var te=S;S=J;try{return U()}finally{S=te}},e.unstable_requestPaint=function(){z=!0},e.unstable_runWithPriority=function(U,J){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var te=S;S=U;try{return J()}finally{S=te}},e.unstable_scheduleCallback=function(U,J,te){var se=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?se+te:se):te=se,U){case 1:var Te=-1;break;case 2:Te=250;break;case 5:Te=1073741823;break;case 4:Te=1e4;break;default:Te=5e3}return Te=te+Te,U={id:m++,callback:J,priorityLevel:U,startTime:te,expirationTime:Te,sortIndex:-1},te>se?(U.sortIndex=te,r(p,U),n(g)===null&&U===n(p)&&(x?(j(Q),Q=-1):x=!0,pe(E,te-se))):(U.sortIndex=Te,r(g,U),w||k||(w=!0,M||(M=!0,ie()))),U},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(U){var J=S;return function(){var te=S;S=J;try{return U.apply(this,arguments)}finally{S=te}}}})(Th)),Th}var U1;function Iy(){return U1||(U1=1,zh.exports=Q3()),zh.exports}var Nh={exports:{}},Ht={};/**
26
+ * @license React
27
+ * react-dom.production.js
28
+ *
29
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var V1;function Y3(){if(V1)return Ht;V1=1;var e=O0();function r(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var a={d:{f:n,r:function(){throw Error(r(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},s=Symbol.for("react.portal");function c(g,p,m){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:""+v,children:g,containerInfo:p,implementation:m}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Ht.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Ht.createPortal=function(g,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(r(299));return c(g,p,null,m)},Ht.flushSync=function(g){var p=u.T,m=a.p;try{if(u.T=null,a.p=2,g)return g()}finally{u.T=p,a.p=m,a.d.f()}},Ht.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,a.d.C(g,p))},Ht.prefetchDNS=function(g){typeof g=="string"&&a.d.D(g)},Ht.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var m=p.as,v=d(m,p.crossOrigin),S=typeof p.integrity=="string"?p.integrity:void 0,k=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?a.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:S,fetchPriority:k}):m==="script"&&a.d.X(g,{crossOrigin:v,integrity:S,fetchPriority:k,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Ht.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=d(p.as,p.crossOrigin);a.d.M(g,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&a.d.M(g)},Ht.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,v=d(m,p.crossOrigin);a.d.L(g,m,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Ht.preloadModule=function(g,p){if(typeof g=="string")if(p){var m=d(p.as,p.crossOrigin);a.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else a.d.m(g)},Ht.requestFormReset=function(g){a.d.r(g)},Ht.unstable_batchedUpdates=function(g,p){return g(p)},Ht.useFormState=function(g,p,m){return u.H.useFormState(g,p,m)},Ht.useFormStatus=function(){return u.H.useHostTransitionStatus()},Ht.version="19.2.6",Ht}var G1;function Uy(){if(G1)return Nh.exports;G1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),Nh.exports=Y3(),Nh.exports}/**
34
+ * @license React
35
+ * react-dom-client.production.js
36
+ *
37
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */var X1;function $3(){if(X1)return Ql;X1=1;var e=Iy(),r=O0(),n=Uy();function a(t){var o="https://react.dev/errors/"+t;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)o+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+t+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function c(t){var o=t,i=t;if(t.alternate)for(;o.return;)o=o.return;else{t=o;do o=t,(o.flags&4098)!==0&&(i=o.return),t=o.return;while(t)}return o.tag===3?i:null}function u(t){if(t.tag===13){var o=t.memoizedState;if(o===null&&(t=t.alternate,t!==null&&(o=t.memoizedState)),o!==null)return o.dehydrated}return null}function d(t){if(t.tag===31){var o=t.memoizedState;if(o===null&&(t=t.alternate,t!==null&&(o=t.memoizedState)),o!==null)return o.dehydrated}return null}function g(t){if(c(t)!==t)throw Error(a(188))}function p(t){var o=t.alternate;if(!o){if(o=c(t),o===null)throw Error(a(188));return o!==t?null:t}for(var i=t,l=o;;){var f=i.return;if(f===null)break;var h=f.alternate;if(h===null){if(l=f.return,l!==null){i=l;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===i)return g(f),t;if(h===l)return g(f),o;h=h.sibling}throw Error(a(188))}if(i.return!==l.return)i=f,l=h;else{for(var b=!1,_=f.child;_;){if(_===i){b=!0,i=f,l=h;break}if(_===l){b=!0,l=f,i=h;break}_=_.sibling}if(!b){for(_=h.child;_;){if(_===i){b=!0,i=h,l=f;break}if(_===l){b=!0,l=h,i=f;break}_=_.sibling}if(!b)throw Error(a(189))}}if(i.alternate!==l)throw Error(a(190))}if(i.tag!==3)throw Error(a(188));return i.stateNode.current===i?t:o}function m(t){var o=t.tag;if(o===5||o===26||o===27||o===6)return t;for(t=t.child;t!==null;){if(o=m(t),o!==null)return o;t=t.sibling}return null}var v=Object.assign,S=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),j=Symbol.for("react.consumer"),N=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),ne=Symbol.for("react.memo_cache_sentinel"),ge=Symbol.iterator;function ie(t){return t===null||typeof t!="object"?null:(t=ge&&t[ge]||t["@@iterator"],typeof t=="function"?t:null)}var le=Symbol.for("react.client.reference");function ae(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===le?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case x:return"Fragment";case T:return"Profiler";case z:return"StrictMode";case E:return"Suspense";case M:return"SuspenseList";case oe:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case w:return"Portal";case N:return t.displayName||"Context";case j:return(t._context.displayName||"Context")+".Consumer";case C:var o=t.render;return t=t.displayName,t||(t=o.displayName||o.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Q:return o=t.displayName||null,o!==null?o:ae(t.type)||"Memo";case X:o=t._payload,t=t._init;try{return ae(t(o))}catch{}}return null}var pe=Array.isArray,U=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},se=[],Te=-1;function D(t){return{current:t}}function L(t){0>Te||(t.current=se[Te],se[Te]=null,Te--)}function Z(t,o){Te++,se[Te]=t.current,t.current=o}var re=D(null),fe=D(null),ke=D(null),Oe=D(null);function xe(t,o){switch(Z(ke,o),Z(fe,t),Z(re,null),o.nodeType){case 9:case 11:t=(t=o.documentElement)&&(t=t.namespaceURI)?i1(t):0;break;default:if(t=o.tagName,o=o.namespaceURI)o=i1(o),t=l1(o,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}L(re),Z(re,t)}function ze(){L(re),L(fe),L(ke)}function lo(t){t.memoizedState!==null&&Z(Oe,t);var o=re.current,i=l1(o,t.type);o!==i&&(Z(fe,t),Z(re,i))}function Ea(t){fe.current===t&&(L(re),L(fe)),Oe.current===t&&(L(Oe),Ul._currentValue=te)}var el,Mg;function Xn(t){if(el===void 0)try{throw Error()}catch(i){var o=i.stack.trim().match(/\n( *(at )?)/);el=o&&o[1]||"",Mg=-1<i.stack.indexOf(`
42
+ at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
43
+ `+el+t+Mg}var nf=!1;function af(t,o){if(!t||nf)return"";nf=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(o){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(W){var V=W}Reflect.construct(t,[],K)}else{try{K.call()}catch(W){V=W}t.call(K.prototype)}}else{try{throw Error()}catch(W){V=W}(K=t())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(W){if(W&&V&&typeof W.stack=="string")return[W.stack,V.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=l.DetermineComponentFrameRoot(),b=h[0],_=h[1];if(b&&_){var R=b.split(`
44
+ `),I=_.split(`
45
+ `);for(f=l=0;l<R.length&&!R[l].includes("DetermineComponentFrameRoot");)l++;for(;f<I.length&&!I[f].includes("DetermineComponentFrameRoot");)f++;if(l===R.length||f===I.length)for(l=R.length-1,f=I.length-1;1<=l&&0<=f&&R[l]!==I[f];)f--;for(;1<=l&&0<=f;l--,f--)if(R[l]!==I[f]){if(l!==1||f!==1)do if(l--,f--,0>f||R[l]!==I[f]){var Y=`
46
+ `+R[l].replace(" at new "," at ");return t.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",t.displayName)),Y}while(1<=l&&0<=f);break}}}finally{nf=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?Xn(i):""}function b5(t,o){switch(t.tag){case 26:case 27:case 5:return Xn(t.type);case 16:return Xn("Lazy");case 13:return t.child!==o&&o!==null?Xn("Suspense Fallback"):Xn("Suspense");case 19:return Xn("SuspenseList");case 0:case 15:return af(t.type,!1);case 11:return af(t.type.render,!1);case 1:return af(t.type,!0);case 31:return Xn("Activity");default:return""}}function qg(t){try{var o="",i=null;do o+=b5(t,i),i=t,t=t.return;while(t);return o}catch(l){return`
47
+ Error generating stack: `+l.message+`
48
+ `+l.stack}}var lf=Object.prototype.hasOwnProperty,sf=e.unstable_scheduleCallback,cf=e.unstable_cancelCallback,y5=e.unstable_shouldYield,x5=e.unstable_requestPaint,so=e.unstable_now,S5=e.unstable_getCurrentPriorityLevel,Fg=e.unstable_ImmediatePriority,Hg=e.unstable_UserBlockingPriority,Rs=e.unstable_NormalPriority,w5=e.unstable_LowPriority,Lg=e.unstable_IdlePriority,k5=e.log,B5=e.unstable_setDisableYieldValue,tl=null,co=null;function en(t){if(typeof k5=="function"&&B5(t),co&&typeof co.setStrictMode=="function")try{co.setStrictMode(tl,t)}catch{}}var uo=Math.clz32?Math.clz32:T5,_5=Math.log,z5=Math.LN2;function T5(t){return t>>>=0,t===0?32:31-(_5(t)/z5|0)|0}var As=256,Ds=262144,Os=4194304;function Wn(t){var o=t&42;if(o!==0)return o;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ms(t,o,i){var l=t.pendingLanes;if(l===0)return 0;var f=0,h=t.suspendedLanes,b=t.pingedLanes;t=t.warmLanes;var _=l&134217727;return _!==0?(l=_&~h,l!==0?f=Wn(l):(b&=_,b!==0?f=Wn(b):i||(i=_&~t,i!==0&&(f=Wn(i))))):(_=l&~h,_!==0?f=Wn(_):b!==0?f=Wn(b):i||(i=l&~t,i!==0&&(f=Wn(i)))),f===0?0:o!==0&&o!==f&&(o&h)===0&&(h=f&-f,i=o&-o,h>=i||h===32&&(i&4194048)!==0)?o:f}function ol(t,o){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&o)===0}function N5(t,o){switch(t){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pg(){var t=Os;return Os<<=1,(Os&62914560)===0&&(Os=4194304),t}function uf(t){for(var o=[],i=0;31>i;i++)o.push(t);return o}function rl(t,o){t.pendingLanes|=o,o!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function C5(t,o,i,l,f,h){var b=t.pendingLanes;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=i,t.entangledLanes&=i,t.errorRecoveryDisabledLanes&=i,t.shellSuspendCounter=0;var _=t.entanglements,R=t.expirationTimes,I=t.hiddenUpdates;for(i=b&~i;0<i;){var Y=31-uo(i),K=1<<Y;_[Y]=0,R[Y]=-1;var V=I[Y];if(V!==null)for(I[Y]=null,Y=0;Y<V.length;Y++){var W=V[Y];W!==null&&(W.lane&=-536870913)}i&=~K}l!==0&&Ig(t,l,0),h!==0&&f===0&&t.tag!==0&&(t.suspendedLanes|=h&~(b&~o))}function Ig(t,o,i){t.pendingLanes|=o,t.suspendedLanes&=~o;var l=31-uo(o);t.entangledLanes|=o,t.entanglements[l]=t.entanglements[l]|1073741824|i&261930}function Ug(t,o){var i=t.entangledLanes|=o;for(t=t.entanglements;i;){var l=31-uo(i),f=1<<l;f&o|t[l]&o&&(t[l]|=o),i&=~f}}function Vg(t,o){var i=o&-o;return i=(i&42)!==0?1:ff(i),(i&(t.suspendedLanes|o))!==0?0:i}function ff(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function df(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Gg(){var t=J.p;return t!==0?t:(t=window.event,t===void 0?32:E1(t.type))}function Xg(t,o){var i=J.p;try{return J.p=t,o()}finally{J.p=i}}var tn=Math.random().toString(36).slice(2),At="__reactFiber$"+tn,Qt="__reactProps$"+tn,ja="__reactContainer$"+tn,hf="__reactEvents$"+tn,E5="__reactListeners$"+tn,j5="__reactHandles$"+tn,Wg="__reactResources$"+tn,nl="__reactMarker$"+tn;function gf(t){delete t[At],delete t[Qt],delete t[hf],delete t[E5],delete t[j5]}function Ra(t){var o=t[At];if(o)return o;for(var i=t.parentNode;i;){if(o=i[ja]||i[At]){if(i=o.alternate,o.child!==null||i!==null&&i.child!==null)for(t=g1(t);t!==null;){if(i=t[At])return i;t=g1(t)}return o}t=i,i=t.parentNode}return null}function Aa(t){if(t=t[At]||t[ja]){var o=t.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return t}return null}function al(t){var o=t.tag;if(o===5||o===26||o===27||o===6)return t.stateNode;throw Error(a(33))}function Da(t){var o=t[Wg];return o||(o=t[Wg]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function Ct(t){t[nl]=!0}var Qg=new Set,Yg={};function Qn(t,o){Oa(t,o),Oa(t+"Capture",o)}function Oa(t,o){for(Yg[t]=o,t=0;t<o.length;t++)Qg.add(o[t])}var R5=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),$g={},Kg={};function A5(t){return lf.call(Kg,t)?!0:lf.call($g,t)?!1:R5.test(t)?Kg[t]=!0:($g[t]=!0,!1)}function qs(t,o,i){if(A5(o))if(i===null)t.removeAttribute(o);else{switch(typeof i){case"undefined":case"function":case"symbol":t.removeAttribute(o);return;case"boolean":var l=o.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(o);return}}t.setAttribute(o,""+i)}}function Fs(t,o,i){if(i===null)t.removeAttribute(o);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(o);return}t.setAttribute(o,""+i)}}function xr(t,o,i,l){if(l===null)t.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttributeNS(o,i,""+l)}}function To(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Zg(t){var o=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function D5(t,o,i){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,o);if(!t.hasOwnProperty(o)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,h=l.set;return Object.defineProperty(t,o,{configurable:!0,get:function(){return f.call(this)},set:function(b){i=""+b,h.call(this,b)}}),Object.defineProperty(t,o,{enumerable:l.enumerable}),{getValue:function(){return i},setValue:function(b){i=""+b},stopTracking:function(){t._valueTracker=null,delete t[o]}}}}function pf(t){if(!t._valueTracker){var o=Zg(t)?"checked":"value";t._valueTracker=D5(t,o,""+t[o])}}function Jg(t){if(!t)return!1;var o=t._valueTracker;if(!o)return!0;var i=o.getValue(),l="";return t&&(l=Zg(t)?t.checked?"true":"false":t.value),t=l,t!==i?(o.setValue(t),!0):!1}function Hs(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var O5=/[\n"\\]/g;function No(t){return t.replace(O5,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function mf(t,o,i,l,f,h,b,_){t.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.type=b:t.removeAttribute("type"),o!=null?b==="number"?(o===0&&t.value===""||t.value!=o)&&(t.value=""+To(o)):t.value!==""+To(o)&&(t.value=""+To(o)):b!=="submit"&&b!=="reset"||t.removeAttribute("value"),o!=null?vf(t,b,To(o)):i!=null?vf(t,b,To(i)):l!=null&&t.removeAttribute("value"),f==null&&h!=null&&(t.defaultChecked=!!h),f!=null&&(t.checked=f&&typeof f!="function"&&typeof f!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?t.name=""+To(_):t.removeAttribute("name")}function ep(t,o,i,l,f,h,b,_){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.type=h),o!=null||i!=null){if(!(h!=="submit"&&h!=="reset"||o!=null)){pf(t);return}i=i!=null?""+To(i):"",o=o!=null?""+To(o):i,_||o===t.value||(t.value=o),t.defaultValue=o}l=l??f,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=_?t.checked:!!l,t.defaultChecked=!!l,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(t.name=b),pf(t)}function vf(t,o,i){o==="number"&&Hs(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function Ma(t,o,i,l){if(t=t.options,o){o={};for(var f=0;f<i.length;f++)o["$"+i[f]]=!0;for(i=0;i<t.length;i++)f=o.hasOwnProperty("$"+t[i].value),t[i].selected!==f&&(t[i].selected=f),f&&l&&(t[i].defaultSelected=!0)}else{for(i=""+To(i),o=null,f=0;f<t.length;f++){if(t[f].value===i){t[f].selected=!0,l&&(t[f].defaultSelected=!0);return}o!==null||t[f].disabled||(o=t[f])}o!==null&&(o.selected=!0)}}function tp(t,o,i){if(o!=null&&(o=""+To(o),o!==t.value&&(t.value=o),i==null)){t.defaultValue!==o&&(t.defaultValue=o);return}t.defaultValue=i!=null?""+To(i):""}function op(t,o,i,l){if(o==null){if(l!=null){if(i!=null)throw Error(a(92));if(pe(l)){if(1<l.length)throw Error(a(93));l=l[0]}i=l}i==null&&(i=""),o=i}i=To(o),t.defaultValue=i,l=t.textContent,l===i&&l!==""&&l!==null&&(t.value=l),pf(t)}function qa(t,o){if(o){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=o;return}}t.textContent=o}var M5=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function rp(t,o,i){var l=o.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?l?t.setProperty(o,""):o==="float"?t.cssFloat="":t[o]="":l?t.setProperty(o,i):typeof i!="number"||i===0||M5.has(o)?o==="float"?t.cssFloat=i:t[o]=(""+i).trim():t[o]=i+"px"}function np(t,o,i){if(o!=null&&typeof o!="object")throw Error(a(62));if(t=t.style,i!=null){for(var l in i)!i.hasOwnProperty(l)||o!=null&&o.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var f in o)l=o[f],o.hasOwnProperty(f)&&i[f]!==l&&rp(t,f,l)}else for(var h in o)o.hasOwnProperty(h)&&rp(t,h,o[h])}function bf(t){if(t.indexOf("-")===-1)return!1;switch(t){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 q5=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),F5=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ls(t){return F5.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Sr(){}var yf=null;function xf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Fa=null,Ha=null;function ap(t){var o=Aa(t);if(o&&(t=o.stateNode)){var i=t[Qt]||null;e:switch(t=o.stateNode,o.type){case"input":if(mf(t,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),o=i.name,i.type==="radio"&&o!=null){for(i=t;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+No(""+o)+'"][type="radio"]'),o=0;o<i.length;o++){var l=i[o];if(l!==t&&l.form===t.form){var f=l[Qt]||null;if(!f)throw Error(a(90));mf(l,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(o=0;o<i.length;o++)l=i[o],l.form===t.form&&Jg(l)}break e;case"textarea":tp(t,i.value,i.defaultValue);break e;case"select":o=i.value,o!=null&&Ma(t,!!i.multiple,o,!1)}}}var Sf=!1;function ip(t,o,i){if(Sf)return t(o,i);Sf=!0;try{var l=t(o);return l}finally{if(Sf=!1,(Fa!==null||Ha!==null)&&(Tc(),Fa&&(o=Fa,t=Ha,Ha=Fa=null,ap(o),t)))for(o=0;o<t.length;o++)ap(t[o])}}function il(t,o){var i=t.stateNode;if(i===null)return null;var l=i[Qt]||null;if(l===null)return null;i=l[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break e;default:t=!1}if(t)return null;if(i&&typeof i!="function")throw Error(a(231,o,typeof i));return i}var wr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wf=!1;if(wr)try{var ll={};Object.defineProperty(ll,"passive",{get:function(){wf=!0}}),window.addEventListener("test",ll,ll),window.removeEventListener("test",ll,ll)}catch{wf=!1}var on=null,kf=null,Ps=null;function lp(){if(Ps)return Ps;var t,o=kf,i=o.length,l,f="value"in on?on.value:on.textContent,h=f.length;for(t=0;t<i&&o[t]===f[t];t++);var b=i-t;for(l=1;l<=b&&o[i-l]===f[h-l];l++);return Ps=f.slice(t,1<l?1-l:void 0)}function Is(t){var o=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&o===13&&(t=13)):t=o,t===10&&(t=13),32<=t||t===13?t:0}function Us(){return!0}function sp(){return!1}function Yt(t){function o(i,l,f,h,b){this._reactName=i,this._targetInst=f,this.type=l,this.nativeEvent=h,this.target=b,this.currentTarget=null;for(var _ in t)t.hasOwnProperty(_)&&(i=t[_],this[_]=i?i(h):h[_]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Us:sp,this.isPropagationStopped=sp,this}return v(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Us)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Us)},persist:function(){},isPersistent:Us}),o}var Yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vs=Yt(Yn),sl=v({},Yn,{view:0,detail:0}),H5=Yt(sl),Bf,_f,cl,Gs=v({},sl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tf,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==cl&&(cl&&t.type==="mousemove"?(Bf=t.screenX-cl.screenX,_f=t.screenY-cl.screenY):_f=Bf=0,cl=t),Bf)},movementY:function(t){return"movementY"in t?t.movementY:_f}}),cp=Yt(Gs),L5=v({},Gs,{dataTransfer:0}),P5=Yt(L5),I5=v({},sl,{relatedTarget:0}),zf=Yt(I5),U5=v({},Yn,{animationName:0,elapsedTime:0,pseudoElement:0}),V5=Yt(U5),G5=v({},Yn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),X5=Yt(G5),W5=v({},Yn,{data:0}),up=Yt(W5),Q5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Y5={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"},$5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function K5(t){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(t):(t=$5[t])?!!o[t]:!1}function Tf(){return K5}var Z5=v({},sl,{key:function(t){if(t.key){var o=Q5[t.key]||t.key;if(o!=="Unidentified")return o}return t.type==="keypress"?(t=Is(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Y5[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tf,charCode:function(t){return t.type==="keypress"?Is(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Is(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),J5=Yt(Z5),ew=v({},Gs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fp=Yt(ew),tw=v({},sl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tf}),ow=Yt(tw),rw=v({},Yn,{propertyName:0,elapsedTime:0,pseudoElement:0}),nw=Yt(rw),aw=v({},Gs,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),iw=Yt(aw),lw=v({},Yn,{newState:0,oldState:0}),sw=Yt(lw),cw=[9,13,27,32],Nf=wr&&"CompositionEvent"in window,ul=null;wr&&"documentMode"in document&&(ul=document.documentMode);var uw=wr&&"TextEvent"in window&&!ul,dp=wr&&(!Nf||ul&&8<ul&&11>=ul),hp=" ",gp=!1;function pp(t,o){switch(t){case"keyup":return cw.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function mp(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var La=!1;function fw(t,o){switch(t){case"compositionend":return mp(o);case"keypress":return o.which!==32?null:(gp=!0,hp);case"textInput":return t=o.data,t===hp&&gp?null:t;default:return null}}function dw(t,o){if(La)return t==="compositionend"||!Nf&&pp(t,o)?(t=lp(),Ps=kf=on=null,La=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return dp&&o.locale!=="ko"?null:o.data;default:return null}}var hw={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 vp(t){var o=t&&t.nodeName&&t.nodeName.toLowerCase();return o==="input"?!!hw[t.type]:o==="textarea"}function bp(t,o,i,l){Fa?Ha?Ha.push(l):Ha=[l]:Fa=l,o=Dc(o,"onChange"),0<o.length&&(i=new Vs("onChange","change",null,i,l),t.push({event:i,listeners:o}))}var fl=null,dl=null;function gw(t){e1(t,0)}function Xs(t){var o=al(t);if(Jg(o))return t}function yp(t,o){if(t==="change")return o}var xp=!1;if(wr){var Cf;if(wr){var Ef="oninput"in document;if(!Ef){var Sp=document.createElement("div");Sp.setAttribute("oninput","return;"),Ef=typeof Sp.oninput=="function"}Cf=Ef}else Cf=!1;xp=Cf&&(!document.documentMode||9<document.documentMode)}function wp(){fl&&(fl.detachEvent("onpropertychange",kp),dl=fl=null)}function kp(t){if(t.propertyName==="value"&&Xs(dl)){var o=[];bp(o,dl,t,xf(t)),ip(gw,o)}}function pw(t,o,i){t==="focusin"?(wp(),fl=o,dl=i,fl.attachEvent("onpropertychange",kp)):t==="focusout"&&wp()}function mw(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Xs(dl)}function vw(t,o){if(t==="click")return Xs(o)}function bw(t,o){if(t==="input"||t==="change")return Xs(o)}function yw(t,o){return t===o&&(t!==0||1/t===1/o)||t!==t&&o!==o}var fo=typeof Object.is=="function"?Object.is:yw;function hl(t,o){if(fo(t,o))return!0;if(typeof t!="object"||t===null||typeof o!="object"||o===null)return!1;var i=Object.keys(t),l=Object.keys(o);if(i.length!==l.length)return!1;for(l=0;l<i.length;l++){var f=i[l];if(!lf.call(o,f)||!fo(t[f],o[f]))return!1}return!0}function Bp(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function _p(t,o){var i=Bp(t);t=0;for(var l;i;){if(i.nodeType===3){if(l=t+i.textContent.length,t<=o&&l>=o)return{node:i,offset:o-t};t=l}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Bp(i)}}function zp(t,o){return t&&o?t===o?!0:t&&t.nodeType===3?!1:o&&o.nodeType===3?zp(t,o.parentNode):"contains"in t?t.contains(o):t.compareDocumentPosition?!!(t.compareDocumentPosition(o)&16):!1:!1}function Tp(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var o=Hs(t.document);o instanceof t.HTMLIFrameElement;){try{var i=typeof o.contentWindow.location.href=="string"}catch{i=!1}if(i)t=o.contentWindow;else break;o=Hs(t.document)}return o}function jf(t){var o=t&&t.nodeName&&t.nodeName.toLowerCase();return o&&(o==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||o==="textarea"||t.contentEditable==="true")}var xw=wr&&"documentMode"in document&&11>=document.documentMode,Pa=null,Rf=null,gl=null,Af=!1;function Np(t,o,i){var l=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Af||Pa==null||Pa!==Hs(l)||(l=Pa,"selectionStart"in l&&jf(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),gl&&hl(gl,l)||(gl=l,l=Dc(Rf,"onSelect"),0<l.length&&(o=new Vs("onSelect","select",null,o,i),t.push({event:o,listeners:l}),o.target=Pa)))}function $n(t,o){var i={};return i[t.toLowerCase()]=o.toLowerCase(),i["Webkit"+t]="webkit"+o,i["Moz"+t]="moz"+o,i}var Ia={animationend:$n("Animation","AnimationEnd"),animationiteration:$n("Animation","AnimationIteration"),animationstart:$n("Animation","AnimationStart"),transitionrun:$n("Transition","TransitionRun"),transitionstart:$n("Transition","TransitionStart"),transitioncancel:$n("Transition","TransitionCancel"),transitionend:$n("Transition","TransitionEnd")},Df={},Cp={};wr&&(Cp=document.createElement("div").style,"AnimationEvent"in window||(delete Ia.animationend.animation,delete Ia.animationiteration.animation,delete Ia.animationstart.animation),"TransitionEvent"in window||delete Ia.transitionend.transition);function Kn(t){if(Df[t])return Df[t];if(!Ia[t])return t;var o=Ia[t],i;for(i in o)if(o.hasOwnProperty(i)&&i in Cp)return Df[t]=o[i];return t}var Ep=Kn("animationend"),jp=Kn("animationiteration"),Rp=Kn("animationstart"),Sw=Kn("transitionrun"),ww=Kn("transitionstart"),kw=Kn("transitioncancel"),Ap=Kn("transitionend"),Dp=new Map,Of="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Of.push("scrollEnd");function Xo(t,o){Dp.set(t,o),Qn(o,[t])}var Ws=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Co=[],Ua=0,Mf=0;function Qs(){for(var t=Ua,o=Mf=Ua=0;o<t;){var i=Co[o];Co[o++]=null;var l=Co[o];Co[o++]=null;var f=Co[o];Co[o++]=null;var h=Co[o];if(Co[o++]=null,l!==null&&f!==null){var b=l.pending;b===null?f.next=f:(f.next=b.next,b.next=f),l.pending=f}h!==0&&Op(i,f,h)}}function Ys(t,o,i,l){Co[Ua++]=t,Co[Ua++]=o,Co[Ua++]=i,Co[Ua++]=l,Mf|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function qf(t,o,i,l){return Ys(t,o,i,l),$s(t)}function Zn(t,o){return Ys(t,null,null,o),$s(t)}function Op(t,o,i){t.lanes|=i;var l=t.alternate;l!==null&&(l.lanes|=i);for(var f=!1,h=t.return;h!==null;)h.childLanes|=i,l=h.alternate,l!==null&&(l.childLanes|=i),h.tag===22&&(t=h.stateNode,t===null||t._visibility&1||(f=!0)),t=h,h=h.return;return t.tag===3?(h=t.stateNode,f&&o!==null&&(f=31-uo(i),t=h.hiddenUpdates,l=t[f],l===null?t[f]=[o]:l.push(o),o.lane=i|536870912),h):null}function $s(t){if(50<Ml)throw Ml=0,Xd=null,Error(a(185));for(var o=t.return;o!==null;)t=o,o=t.return;return t.tag===3?t.stateNode:null}var Va={};function Bw(t,o,i,l){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ho(t,o,i,l){return new Bw(t,o,i,l)}function Ff(t){return t=t.prototype,!(!t||!t.isReactComponent)}function kr(t,o){var i=t.alternate;return i===null?(i=ho(t.tag,o,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=o,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&65011712,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,o=t.dependencies,i.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i.refCleanup=t.refCleanup,i}function Mp(t,o){t.flags&=65011714;var i=t.alternate;return i===null?(t.childLanes=0,t.lanes=o,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=i.childLanes,t.lanes=i.lanes,t.child=i.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=i.memoizedProps,t.memoizedState=i.memoizedState,t.updateQueue=i.updateQueue,t.type=i.type,o=i.dependencies,t.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),t}function Ks(t,o,i,l,f,h){var b=0;if(l=t,typeof t=="function")Ff(t)&&(b=1);else if(typeof t=="string")b=C3(t,i,re.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case oe:return t=ho(31,i,o,f),t.elementType=oe,t.lanes=h,t;case x:return Jn(i.children,f,h,o);case z:b=8,f|=24;break;case T:return t=ho(12,i,o,f|2),t.elementType=T,t.lanes=h,t;case E:return t=ho(13,i,o,f),t.elementType=E,t.lanes=h,t;case M:return t=ho(19,i,o,f),t.elementType=M,t.lanes=h,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case N:b=10;break e;case j:b=9;break e;case C:b=11;break e;case Q:b=14;break e;case X:b=16,l=null;break e}b=29,i=Error(a(130,t===null?"null":typeof t,"")),l=null}return o=ho(b,i,o,f),o.elementType=t,o.type=l,o.lanes=h,o}function Jn(t,o,i,l){return t=ho(7,t,l,o),t.lanes=i,t}function Hf(t,o,i){return t=ho(6,t,null,o),t.lanes=i,t}function qp(t){var o=ho(18,null,null,0);return o.stateNode=t,o}function Lf(t,o,i){return o=ho(4,t.children!==null?t.children:[],t.key,o),o.lanes=i,o.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},o}var Fp=new WeakMap;function Eo(t,o){if(typeof t=="object"&&t!==null){var i=Fp.get(t);return i!==void 0?i:(o={value:t,source:o,stack:qg(o)},Fp.set(t,o),o)}return{value:t,source:o,stack:qg(o)}}var Ga=[],Xa=0,Zs=null,pl=0,jo=[],Ro=0,rn=null,sr=1,cr="";function Br(t,o){Ga[Xa++]=pl,Ga[Xa++]=Zs,Zs=t,pl=o}function Hp(t,o,i){jo[Ro++]=sr,jo[Ro++]=cr,jo[Ro++]=rn,rn=t;var l=sr;t=cr;var f=32-uo(l)-1;l&=~(1<<f),i+=1;var h=32-uo(o)+f;if(30<h){var b=f-f%5;h=(l&(1<<b)-1).toString(32),l>>=b,f-=b,sr=1<<32-uo(o)+f|i<<f|l,cr=h+t}else sr=1<<h|i<<f|l,cr=t}function Pf(t){t.return!==null&&(Br(t,1),Hp(t,1,0))}function If(t){for(;t===Zs;)Zs=Ga[--Xa],Ga[Xa]=null,pl=Ga[--Xa],Ga[Xa]=null;for(;t===rn;)rn=jo[--Ro],jo[Ro]=null,cr=jo[--Ro],jo[Ro]=null,sr=jo[--Ro],jo[Ro]=null}function Lp(t,o){jo[Ro++]=sr,jo[Ro++]=cr,jo[Ro++]=rn,sr=o.id,cr=o.overflow,rn=t}var Dt=null,rt=null,Fe=!1,nn=null,Ao=!1,Uf=Error(a(519));function an(t){var o=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ml(Eo(o,t)),Uf}function Pp(t){var o=t.stateNode,i=t.type,l=t.memoizedProps;switch(o[At]=t,o[Qt]=l,i){case"dialog":De("cancel",o),De("close",o);break;case"iframe":case"object":case"embed":De("load",o);break;case"video":case"audio":for(i=0;i<Fl.length;i++)De(Fl[i],o);break;case"source":De("error",o);break;case"img":case"image":case"link":De("error",o),De("load",o);break;case"details":De("toggle",o);break;case"input":De("invalid",o),ep(o,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":De("invalid",o);break;case"textarea":De("invalid",o),op(o,l.value,l.defaultValue,l.children)}i=l.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||o.textContent===""+i||l.suppressHydrationWarning===!0||n1(o.textContent,i)?(l.popover!=null&&(De("beforetoggle",o),De("toggle",o)),l.onScroll!=null&&De("scroll",o),l.onScrollEnd!=null&&De("scrollend",o),l.onClick!=null&&(o.onclick=Sr),o=!0):o=!1,o||an(t,!0)}function Ip(t){for(Dt=t.return;Dt;)switch(Dt.tag){case 5:case 31:case 13:Ao=!1;return;case 27:case 3:Ao=!0;return;default:Dt=Dt.return}}function Wa(t){if(t!==Dt)return!1;if(!Fe)return Ip(t),Fe=!0,!1;var o=t.tag,i;if((i=o!==3&&o!==27)&&((i=o===5)&&(i=t.type,i=!(i!=="form"&&i!=="button")||lh(t.type,t.memoizedProps)),i=!i),i&&rt&&an(t),Ip(t),o===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));rt=h1(t)}else if(o===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));rt=h1(t)}else o===27?(o=rt,xn(t.type)?(t=dh,dh=null,rt=t):rt=o):rt=Dt?Oo(t.stateNode.nextSibling):null;return!0}function ea(){rt=Dt=null,Fe=!1}function Vf(){var t=nn;return t!==null&&(Jt===null?Jt=t:Jt.push.apply(Jt,t),nn=null),t}function ml(t){nn===null?nn=[t]:nn.push(t)}var Gf=D(null),ta=null,_r=null;function ln(t,o,i){Z(Gf,o._currentValue),o._currentValue=i}function zr(t){t._currentValue=Gf.current,L(Gf)}function Xf(t,o,i){for(;t!==null;){var l=t.alternate;if((t.childLanes&o)!==o?(t.childLanes|=o,l!==null&&(l.childLanes|=o)):l!==null&&(l.childLanes&o)!==o&&(l.childLanes|=o),t===i)break;t=t.return}}function Wf(t,o,i,l){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var h=f.dependencies;if(h!==null){var b=f.child;h=h.firstContext;e:for(;h!==null;){var _=h;h=f;for(var R=0;R<o.length;R++)if(_.context===o[R]){h.lanes|=i,_=h.alternate,_!==null&&(_.lanes|=i),Xf(h.return,i,t),l||(b=null);break e}h=_.next}}else if(f.tag===18){if(b=f.return,b===null)throw Error(a(341));b.lanes|=i,h=b.alternate,h!==null&&(h.lanes|=i),Xf(b,i,t),b=null}else b=f.child;if(b!==null)b.return=f;else for(b=f;b!==null;){if(b===t){b=null;break}if(f=b.sibling,f!==null){f.return=b.return,b=f;break}b=b.return}f=b}}function Qa(t,o,i,l){t=null;for(var f=o,h=!1;f!==null;){if(!h){if((f.flags&524288)!==0)h=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var b=f.alternate;if(b===null)throw Error(a(387));if(b=b.memoizedProps,b!==null){var _=f.type;fo(f.pendingProps.value,b.value)||(t!==null?t.push(_):t=[_])}}else if(f===Oe.current){if(b=f.alternate,b===null)throw Error(a(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(t!==null?t.push(Ul):t=[Ul])}f=f.return}t!==null&&Wf(o,t,i,l),o.flags|=262144}function Js(t){for(t=t.firstContext;t!==null;){if(!fo(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function oa(t){ta=t,_r=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Ot(t){return Up(ta,t)}function ec(t,o){return ta===null&&oa(t),Up(t,o)}function Up(t,o){var i=o._currentValue;if(o={context:o,memoizedValue:i,next:null},_r===null){if(t===null)throw Error(a(308));_r=o,t.dependencies={lanes:0,firstContext:o},t.flags|=524288}else _r=_r.next=o;return i}var _w=typeof AbortController<"u"?AbortController:function(){var t=[],o=this.signal={aborted:!1,addEventListener:function(i,l){t.push(l)}};this.abort=function(){o.aborted=!0,t.forEach(function(i){return i()})}},zw=e.unstable_scheduleCallback,Tw=e.unstable_NormalPriority,bt={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Qf(){return{controller:new _w,data:new Map,refCount:0}}function vl(t){t.refCount--,t.refCount===0&&zw(Tw,function(){t.controller.abort()})}var bl=null,Yf=0,Ya=0,$a=null;function Nw(t,o){if(bl===null){var i=bl=[];Yf=0,Ya=Zd(),$a={status:"pending",value:void 0,then:function(l){i.push(l)}}}return Yf++,o.then(Vp,Vp),o}function Vp(){if(--Yf===0&&bl!==null){$a!==null&&($a.status="fulfilled");var t=bl;bl=null,Ya=0,$a=null;for(var o=0;o<t.length;o++)(0,t[o])()}}function Cw(t,o){var i=[],l={status:"pending",value:null,reason:null,then:function(f){i.push(f)}};return t.then(function(){l.status="fulfilled",l.value=o;for(var f=0;f<i.length;f++)(0,i[f])(o)},function(f){for(l.status="rejected",l.reason=f,f=0;f<i.length;f++)(0,i[f])(void 0)}),l}var Gp=U.S;U.S=function(t,o){Nv=so(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&Nw(t,o),Gp!==null&&Gp(t,o)};var ra=D(null);function $f(){var t=ra.current;return t!==null?t:tt.pooledCache}function tc(t,o){o===null?Z(ra,ra.current):Z(ra,o.pool)}function Xp(){var t=$f();return t===null?null:{parent:bt._currentValue,pool:t}}var Ka=Error(a(460)),Kf=Error(a(474)),oc=Error(a(542)),rc={then:function(){}};function Wp(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Qp(t,o,i){switch(i=t[i],i===void 0?t.push(o):i!==o&&(o.then(Sr,Sr),o=i),o.status){case"fulfilled":return o.value;case"rejected":throw t=o.reason,$p(t),t;default:if(typeof o.status=="string")o.then(Sr,Sr);else{if(t=tt,t!==null&&100<t.shellSuspendCounter)throw Error(a(482));t=o,t.status="pending",t.then(function(l){if(o.status==="pending"){var f=o;f.status="fulfilled",f.value=l}},function(l){if(o.status==="pending"){var f=o;f.status="rejected",f.reason=l}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw t=o.reason,$p(t),t}throw aa=o,Ka}}function na(t){try{var o=t._init;return o(t._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(aa=i,Ka):i}}var aa=null;function Yp(){if(aa===null)throw Error(a(459));var t=aa;return aa=null,t}function $p(t){if(t===Ka||t===oc)throw Error(a(483))}var Za=null,yl=0;function nc(t){var o=yl;return yl+=1,Za===null&&(Za=[]),Qp(Za,t,o)}function xl(t,o){o=o.props.ref,t.ref=o!==void 0?o:null}function ac(t,o){throw o.$$typeof===S?Error(a(525)):(t=Object.prototype.toString.call(o),Error(a(31,t==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":t)))}function Kp(t){function o(F,O){if(t){var P=F.deletions;P===null?(F.deletions=[O],F.flags|=16):P.push(O)}}function i(F,O){if(!t)return null;for(;O!==null;)o(F,O),O=O.sibling;return null}function l(F){for(var O=new Map;F!==null;)F.key!==null?O.set(F.key,F):O.set(F.index,F),F=F.sibling;return O}function f(F,O){return F=kr(F,O),F.index=0,F.sibling=null,F}function h(F,O,P){return F.index=P,t?(P=F.alternate,P!==null?(P=P.index,P<O?(F.flags|=67108866,O):P):(F.flags|=67108866,O)):(F.flags|=1048576,O)}function b(F){return t&&F.alternate===null&&(F.flags|=67108866),F}function _(F,O,P,$){return O===null||O.tag!==6?(O=Hf(P,F.mode,$),O.return=F,O):(O=f(O,P),O.return=F,O)}function R(F,O,P,$){var ye=P.type;return ye===x?Y(F,O,P.props.children,$,P.key):O!==null&&(O.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===X&&na(ye)===O.type)?(O=f(O,P.props),xl(O,P),O.return=F,O):(O=Ks(P.type,P.key,P.props,null,F.mode,$),xl(O,P),O.return=F,O)}function I(F,O,P,$){return O===null||O.tag!==4||O.stateNode.containerInfo!==P.containerInfo||O.stateNode.implementation!==P.implementation?(O=Lf(P,F.mode,$),O.return=F,O):(O=f(O,P.children||[]),O.return=F,O)}function Y(F,O,P,$,ye){return O===null||O.tag!==7?(O=Jn(P,F.mode,$,ye),O.return=F,O):(O=f(O,P),O.return=F,O)}function K(F,O,P){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=Hf(""+O,F.mode,P),O.return=F,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case k:return P=Ks(O.type,O.key,O.props,null,F.mode,P),xl(P,O),P.return=F,P;case w:return O=Lf(O,F.mode,P),O.return=F,O;case X:return O=na(O),K(F,O,P)}if(pe(O)||ie(O))return O=Jn(O,F.mode,P,null),O.return=F,O;if(typeof O.then=="function")return K(F,nc(O),P);if(O.$$typeof===N)return K(F,ec(F,O),P);ac(F,O)}return null}function V(F,O,P,$){var ye=O!==null?O.key:null;if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return ye!==null?null:_(F,O,""+P,$);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case k:return P.key===ye?R(F,O,P,$):null;case w:return P.key===ye?I(F,O,P,$):null;case X:return P=na(P),V(F,O,P,$)}if(pe(P)||ie(P))return ye!==null?null:Y(F,O,P,$,null);if(typeof P.then=="function")return V(F,O,nc(P),$);if(P.$$typeof===N)return V(F,O,ec(F,P),$);ac(F,P)}return null}function W(F,O,P,$,ye){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return F=F.get(P)||null,_(O,F,""+$,ye);if(typeof $=="object"&&$!==null){switch($.$$typeof){case k:return F=F.get($.key===null?P:$.key)||null,R(O,F,$,ye);case w:return F=F.get($.key===null?P:$.key)||null,I(O,F,$,ye);case X:return $=na($),W(F,O,P,$,ye)}if(pe($)||ie($))return F=F.get(P)||null,Y(O,F,$,ye,null);if(typeof $.then=="function")return W(F,O,P,nc($),ye);if($.$$typeof===N)return W(F,O,P,ec(O,$),ye);ac(O,$)}return null}function he(F,O,P,$){for(var ye=null,Pe=null,me=O,je=O=0,qe=null;me!==null&&je<P.length;je++){me.index>je?(qe=me,me=null):qe=me.sibling;var Ie=V(F,me,P[je],$);if(Ie===null){me===null&&(me=qe);break}t&&me&&Ie.alternate===null&&o(F,me),O=h(Ie,O,je),Pe===null?ye=Ie:Pe.sibling=Ie,Pe=Ie,me=qe}if(je===P.length)return i(F,me),Fe&&Br(F,je),ye;if(me===null){for(;je<P.length;je++)me=K(F,P[je],$),me!==null&&(O=h(me,O,je),Pe===null?ye=me:Pe.sibling=me,Pe=me);return Fe&&Br(F,je),ye}for(me=l(me);je<P.length;je++)qe=W(me,F,je,P[je],$),qe!==null&&(t&&qe.alternate!==null&&me.delete(qe.key===null?je:qe.key),O=h(qe,O,je),Pe===null?ye=qe:Pe.sibling=qe,Pe=qe);return t&&me.forEach(function(_n){return o(F,_n)}),Fe&&Br(F,je),ye}function we(F,O,P,$){if(P==null)throw Error(a(151));for(var ye=null,Pe=null,me=O,je=O=0,qe=null,Ie=P.next();me!==null&&!Ie.done;je++,Ie=P.next()){me.index>je?(qe=me,me=null):qe=me.sibling;var _n=V(F,me,Ie.value,$);if(_n===null){me===null&&(me=qe);break}t&&me&&_n.alternate===null&&o(F,me),O=h(_n,O,je),Pe===null?ye=_n:Pe.sibling=_n,Pe=_n,me=qe}if(Ie.done)return i(F,me),Fe&&Br(F,je),ye;if(me===null){for(;!Ie.done;je++,Ie=P.next())Ie=K(F,Ie.value,$),Ie!==null&&(O=h(Ie,O,je),Pe===null?ye=Ie:Pe.sibling=Ie,Pe=Ie);return Fe&&Br(F,je),ye}for(me=l(me);!Ie.done;je++,Ie=P.next())Ie=W(me,F,je,Ie.value,$),Ie!==null&&(t&&Ie.alternate!==null&&me.delete(Ie.key===null?je:Ie.key),O=h(Ie,O,je),Pe===null?ye=Ie:Pe.sibling=Ie,Pe=Ie);return t&&me.forEach(function(L3){return o(F,L3)}),Fe&&Br(F,je),ye}function Je(F,O,P,$){if(typeof P=="object"&&P!==null&&P.type===x&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case k:e:{for(var ye=P.key;O!==null;){if(O.key===ye){if(ye=P.type,ye===x){if(O.tag===7){i(F,O.sibling),$=f(O,P.props.children),$.return=F,F=$;break e}}else if(O.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===X&&na(ye)===O.type){i(F,O.sibling),$=f(O,P.props),xl($,P),$.return=F,F=$;break e}i(F,O);break}else o(F,O);O=O.sibling}P.type===x?($=Jn(P.props.children,F.mode,$,P.key),$.return=F,F=$):($=Ks(P.type,P.key,P.props,null,F.mode,$),xl($,P),$.return=F,F=$)}return b(F);case w:e:{for(ye=P.key;O!==null;){if(O.key===ye)if(O.tag===4&&O.stateNode.containerInfo===P.containerInfo&&O.stateNode.implementation===P.implementation){i(F,O.sibling),$=f(O,P.children||[]),$.return=F,F=$;break e}else{i(F,O);break}else o(F,O);O=O.sibling}$=Lf(P,F.mode,$),$.return=F,F=$}return b(F);case X:return P=na(P),Je(F,O,P,$)}if(pe(P))return he(F,O,P,$);if(ie(P)){if(ye=ie(P),typeof ye!="function")throw Error(a(150));return P=ye.call(P),we(F,O,P,$)}if(typeof P.then=="function")return Je(F,O,nc(P),$);if(P.$$typeof===N)return Je(F,O,ec(F,P),$);ac(F,P)}return typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint"?(P=""+P,O!==null&&O.tag===6?(i(F,O.sibling),$=f(O,P),$.return=F,F=$):(i(F,O),$=Hf(P,F.mode,$),$.return=F,F=$),b(F)):i(F,O)}return function(F,O,P,$){try{yl=0;var ye=Je(F,O,P,$);return Za=null,ye}catch(me){if(me===Ka||me===oc)throw me;var Pe=ho(29,me,null,F.mode);return Pe.lanes=$,Pe.return=F,Pe}finally{}}}var ia=Kp(!0),Zp=Kp(!1),sn=!1;function Zf(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jf(t,o){t=t.updateQueue,o.updateQueue===t&&(o.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function cn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function un(t,o,i){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Ge&2)!==0){var f=l.pending;return f===null?o.next=o:(o.next=f.next,f.next=o),l.pending=o,o=$s(t),Op(t,null,i),o}return Ys(t,l,o,i),$s(t)}function Sl(t,o,i){if(o=o.updateQueue,o!==null&&(o=o.shared,(i&4194048)!==0)){var l=o.lanes;l&=t.pendingLanes,i|=l,o.lanes=i,Ug(t,i)}}function ed(t,o){var i=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,i===l)){var f=null,h=null;if(i=i.firstBaseUpdate,i!==null){do{var b={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};h===null?f=h=b:h=h.next=b,i=i.next}while(i!==null);h===null?f=h=o:h=h.next=o}else f=h=o;i={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:l.shared,callbacks:l.callbacks},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=o:t.next=o,i.lastBaseUpdate=o}var td=!1;function wl(){if(td){var t=$a;if(t!==null)throw t}}function kl(t,o,i,l){td=!1;var f=t.updateQueue;sn=!1;var h=f.firstBaseUpdate,b=f.lastBaseUpdate,_=f.shared.pending;if(_!==null){f.shared.pending=null;var R=_,I=R.next;R.next=null,b===null?h=I:b.next=I,b=R;var Y=t.alternate;Y!==null&&(Y=Y.updateQueue,_=Y.lastBaseUpdate,_!==b&&(_===null?Y.firstBaseUpdate=I:_.next=I,Y.lastBaseUpdate=R))}if(h!==null){var K=f.baseState;b=0,Y=I=R=null,_=h;do{var V=_.lane&-536870913,W=V!==_.lane;if(W?(Me&V)===V:(l&V)===V){V!==0&&V===Ya&&(td=!0),Y!==null&&(Y=Y.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var he=t,we=_;V=o;var Je=i;switch(we.tag){case 1:if(he=we.payload,typeof he=="function"){K=he.call(Je,K,V);break e}K=he;break e;case 3:he.flags=he.flags&-65537|128;case 0:if(he=we.payload,V=typeof he=="function"?he.call(Je,K,V):he,V==null)break e;K=v({},K,V);break e;case 2:sn=!0}}V=_.callback,V!==null&&(t.flags|=64,W&&(t.flags|=8192),W=f.callbacks,W===null?f.callbacks=[V]:W.push(V))}else W={lane:V,tag:_.tag,payload:_.payload,callback:_.callback,next:null},Y===null?(I=Y=W,R=K):Y=Y.next=W,b|=V;if(_=_.next,_===null){if(_=f.shared.pending,_===null)break;W=_,_=W.next,W.next=null,f.lastBaseUpdate=W,f.shared.pending=null}}while(!0);Y===null&&(R=K),f.baseState=R,f.firstBaseUpdate=I,f.lastBaseUpdate=Y,h===null&&(f.shared.lanes=0),pn|=b,t.lanes=b,t.memoizedState=K}}function Jp(t,o){if(typeof t!="function")throw Error(a(191,t));t.call(o)}function em(t,o){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;t<i.length;t++)Jp(i[t],o)}var Ja=D(null),ic=D(0);function tm(t,o){t=Or,Z(ic,t),Z(Ja,o),Or=t|o.baseLanes}function od(){Z(ic,Or),Z(Ja,Ja.current)}function rd(){Or=ic.current,L(Ja),L(ic)}var go=D(null),Do=null;function fn(t){var o=t.alternate;Z(gt,gt.current&1),Z(go,t),Do===null&&(o===null||Ja.current!==null||o.memoizedState!==null)&&(Do=t)}function nd(t){Z(gt,gt.current),Z(go,t),Do===null&&(Do=t)}function om(t){t.tag===22?(Z(gt,gt.current),Z(go,t),Do===null&&(Do=t)):dn()}function dn(){Z(gt,gt.current),Z(go,go.current)}function po(t){L(go),Do===t&&(Do=null),L(gt)}var gt=D(0);function lc(t){for(var o=t;o!==null;){if(o.tag===13){var i=o.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||uh(i)||fh(i)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Tr=0,Ee=null,Ke=null,yt=null,sc=!1,ei=!1,la=!1,cc=0,Bl=0,ti=null,Ew=0;function st(){throw Error(a(321))}function ad(t,o){if(o===null)return!1;for(var i=0;i<o.length&&i<t.length;i++)if(!fo(t[i],o[i]))return!1;return!0}function id(t,o,i,l,f,h){return Tr=h,Ee=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,U.H=t===null||t.memoizedState===null?Hm:Sd,la=!1,h=i(l,f),la=!1,ei&&(h=nm(o,i,l,f)),rm(t),h}function rm(t){U.H=Tl;var o=Ke!==null&&Ke.next!==null;if(Tr=0,yt=Ke=Ee=null,sc=!1,Bl=0,ti=null,o)throw Error(a(300));t===null||xt||(t=t.dependencies,t!==null&&Js(t)&&(xt=!0))}function nm(t,o,i,l){Ee=t;var f=0;do{if(ei&&(ti=null),Bl=0,ei=!1,25<=f)throw Error(a(301));if(f+=1,yt=Ke=null,t.updateQueue!=null){var h=t.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}U.H=Lm,h=o(i,l)}while(ei);return h}function jw(){var t=U.H,o=t.useState()[0];return o=typeof o.then=="function"?_l(o):o,t=t.useState()[0],(Ke!==null?Ke.memoizedState:null)!==t&&(Ee.flags|=1024),o}function ld(){var t=cc!==0;return cc=0,t}function sd(t,o,i){o.updateQueue=t.updateQueue,o.flags&=-2053,t.lanes&=~i}function cd(t){if(sc){for(t=t.memoizedState;t!==null;){var o=t.queue;o!==null&&(o.pending=null),t=t.next}sc=!1}Tr=0,yt=Ke=Ee=null,ei=!1,Bl=cc=0,ti=null}function Vt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yt===null?Ee.memoizedState=yt=t:yt=yt.next=t,yt}function pt(){if(Ke===null){var t=Ee.alternate;t=t!==null?t.memoizedState:null}else t=Ke.next;var o=yt===null?Ee.memoizedState:yt.next;if(o!==null)yt=o,Ke=t;else{if(t===null)throw Ee.alternate===null?Error(a(467)):Error(a(310));Ke=t,t={memoizedState:Ke.memoizedState,baseState:Ke.baseState,baseQueue:Ke.baseQueue,queue:Ke.queue,next:null},yt===null?Ee.memoizedState=yt=t:yt=yt.next=t}return yt}function uc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function _l(t){var o=Bl;return Bl+=1,ti===null&&(ti=[]),t=Qp(ti,t,o),o=Ee,(yt===null?o.memoizedState:yt.next)===null&&(o=o.alternate,U.H=o===null||o.memoizedState===null?Hm:Sd),t}function fc(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return _l(t);if(t.$$typeof===N)return Ot(t)}throw Error(a(438,String(t)))}function ud(t){var o=null,i=Ee.updateQueue;if(i!==null&&(o=i.memoCache),o==null){var l=Ee.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(o={data:l.data.map(function(f){return f.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),i===null&&(i=uc(),Ee.updateQueue=i),i.memoCache=o,i=o.data[o.index],i===void 0)for(i=o.data[o.index]=Array(t),l=0;l<t;l++)i[l]=ne;return o.index++,i}function Nr(t,o){return typeof o=="function"?o(t):o}function dc(t){var o=pt();return fd(o,Ke,t)}function fd(t,o,i){var l=t.queue;if(l===null)throw Error(a(311));l.lastRenderedReducer=i;var f=t.baseQueue,h=l.pending;if(h!==null){if(f!==null){var b=f.next;f.next=h.next,h.next=b}o.baseQueue=f=h,l.pending=null}if(h=t.baseState,f===null)t.memoizedState=h;else{o=f.next;var _=b=null,R=null,I=o,Y=!1;do{var K=I.lane&-536870913;if(K!==I.lane?(Me&K)===K:(Tr&K)===K){var V=I.revertLane;if(V===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),K===Ya&&(Y=!0);else if((Tr&V)===V){I=I.next,V===Ya&&(Y=!0);continue}else K={lane:0,revertLane:I.revertLane,gesture:null,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},R===null?(_=R=K,b=h):R=R.next=K,Ee.lanes|=V,pn|=V;K=I.action,la&&i(h,K),h=I.hasEagerState?I.eagerState:i(h,K)}else V={lane:K,revertLane:I.revertLane,gesture:I.gesture,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},R===null?(_=R=V,b=h):R=R.next=V,Ee.lanes|=K,pn|=K;I=I.next}while(I!==null&&I!==o);if(R===null?b=h:R.next=_,!fo(h,t.memoizedState)&&(xt=!0,Y&&(i=$a,i!==null)))throw i;t.memoizedState=h,t.baseState=b,t.baseQueue=R,l.lastRenderedState=h}return f===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function dd(t){var o=pt(),i=o.queue;if(i===null)throw Error(a(311));i.lastRenderedReducer=t;var l=i.dispatch,f=i.pending,h=o.memoizedState;if(f!==null){i.pending=null;var b=f=f.next;do h=t(h,b.action),b=b.next;while(b!==f);fo(h,o.memoizedState)||(xt=!0),o.memoizedState=h,o.baseQueue===null&&(o.baseState=h),i.lastRenderedState=h}return[h,l]}function am(t,o,i){var l=Ee,f=pt(),h=Fe;if(h){if(i===void 0)throw Error(a(407));i=i()}else i=o();var b=!fo((Ke||f).memoizedState,i);if(b&&(f.memoizedState=i,xt=!0),f=f.queue,pd(sm.bind(null,l,f,t),[t]),f.getSnapshot!==o||b||yt!==null&&yt.memoizedState.tag&1){if(l.flags|=2048,oi(9,{destroy:void 0},lm.bind(null,l,f,i,o),null),tt===null)throw Error(a(349));h||(Tr&127)!==0||im(l,o,i)}return i}function im(t,o,i){t.flags|=16384,t={getSnapshot:o,value:i},o=Ee.updateQueue,o===null?(o=uc(),Ee.updateQueue=o,o.stores=[t]):(i=o.stores,i===null?o.stores=[t]:i.push(t))}function lm(t,o,i,l){o.value=i,o.getSnapshot=l,cm(o)&&um(t)}function sm(t,o,i){return i(function(){cm(o)&&um(t)})}function cm(t){var o=t.getSnapshot;t=t.value;try{var i=o();return!fo(t,i)}catch{return!0}}function um(t){var o=Zn(t,2);o!==null&&eo(o,t,2)}function hd(t){var o=Vt();if(typeof t=="function"){var i=t;if(t=i(),la){en(!0);try{i()}finally{en(!1)}}}return o.memoizedState=o.baseState=t,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nr,lastRenderedState:t},o}function fm(t,o,i,l){return t.baseState=i,fd(t,Ke,typeof l=="function"?l:Nr)}function Rw(t,o,i,l,f){if(pc(t))throw Error(a(485));if(t=o.action,t!==null){var h={payload:f,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){h.listeners.push(b)}};U.T!==null?i(!0):h.isTransition=!1,l(h),i=o.pending,i===null?(h.next=o.pending=h,dm(o,h)):(h.next=i.next,o.pending=i.next=h)}}function dm(t,o){var i=o.action,l=o.payload,f=t.state;if(o.isTransition){var h=U.T,b={};U.T=b;try{var _=i(f,l),R=U.S;R!==null&&R(b,_),hm(t,o,_)}catch(I){gd(t,o,I)}finally{h!==null&&b.types!==null&&(h.types=b.types),U.T=h}}else try{h=i(f,l),hm(t,o,h)}catch(I){gd(t,o,I)}}function hm(t,o,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(l){gm(t,o,l)},function(l){return gd(t,o,l)}):gm(t,o,i)}function gm(t,o,i){o.status="fulfilled",o.value=i,pm(o),t.state=i,o=t.pending,o!==null&&(i=o.next,i===o?t.pending=null:(i=i.next,o.next=i,dm(t,i)))}function gd(t,o,i){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do o.status="rejected",o.reason=i,pm(o),o=o.next;while(o!==l)}t.action=null}function pm(t){t=t.listeners;for(var o=0;o<t.length;o++)(0,t[o])()}function mm(t,o){return o}function vm(t,o){if(Fe){var i=tt.formState;if(i!==null){e:{var l=Ee;if(Fe){if(rt){t:{for(var f=rt,h=Ao;f.nodeType!==8;){if(!h){f=null;break t}if(f=Oo(f.nextSibling),f===null){f=null;break t}}h=f.data,f=h==="F!"||h==="F"?f:null}if(f){rt=Oo(f.nextSibling),l=f.data==="F!";break e}}an(l)}l=!1}l&&(o=i[0])}}return i=Vt(),i.memoizedState=i.baseState=o,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mm,lastRenderedState:o},i.queue=l,i=Mm.bind(null,Ee,l),l.dispatch=i,l=hd(!1),h=xd.bind(null,Ee,!1,l.queue),l=Vt(),f={state:o,dispatch:null,action:t,pending:null},l.queue=f,i=Rw.bind(null,Ee,f,h,i),f.dispatch=i,l.memoizedState=t,[o,i,!1]}function bm(t){var o=pt();return ym(o,Ke,t)}function ym(t,o,i){if(o=fd(t,o,mm)[0],t=dc(Nr)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var l=_l(o)}catch(b){throw b===Ka?oc:b}else l=o;o=pt();var f=o.queue,h=f.dispatch;return i!==o.memoizedState&&(Ee.flags|=2048,oi(9,{destroy:void 0},Aw.bind(null,f,i),null)),[l,h,t]}function Aw(t,o){t.action=o}function xm(t){var o=pt(),i=Ke;if(i!==null)return ym(o,i,t);pt(),o=o.memoizedState,i=pt();var l=i.queue.dispatch;return i.memoizedState=t,[o,l,!1]}function oi(t,o,i,l){return t={tag:t,create:i,deps:l,inst:o,next:null},o=Ee.updateQueue,o===null&&(o=uc(),Ee.updateQueue=o),i=o.lastEffect,i===null?o.lastEffect=t.next=t:(l=i.next,i.next=t,t.next=l,o.lastEffect=t),t}function Sm(){return pt().memoizedState}function hc(t,o,i,l){var f=Vt();Ee.flags|=t,f.memoizedState=oi(1|o,{destroy:void 0},i,l===void 0?null:l)}function gc(t,o,i,l){var f=pt();l=l===void 0?null:l;var h=f.memoizedState.inst;Ke!==null&&l!==null&&ad(l,Ke.memoizedState.deps)?f.memoizedState=oi(o,h,i,l):(Ee.flags|=t,f.memoizedState=oi(1|o,h,i,l))}function wm(t,o){hc(8390656,8,t,o)}function pd(t,o){gc(2048,8,t,o)}function Dw(t){Ee.flags|=4;var o=Ee.updateQueue;if(o===null)o=uc(),Ee.updateQueue=o,o.events=[t];else{var i=o.events;i===null?o.events=[t]:i.push(t)}}function km(t){var o=pt().memoizedState;return Dw({ref:o,nextImpl:t}),function(){if((Ge&2)!==0)throw Error(a(440));return o.impl.apply(void 0,arguments)}}function Bm(t,o){return gc(4,2,t,o)}function _m(t,o){return gc(4,4,t,o)}function zm(t,o){if(typeof o=="function"){t=t();var i=o(t);return function(){typeof i=="function"?i():o(null)}}if(o!=null)return t=t(),o.current=t,function(){o.current=null}}function Tm(t,o,i){i=i!=null?i.concat([t]):null,gc(4,4,zm.bind(null,o,t),i)}function md(){}function Nm(t,o){var i=pt();o=o===void 0?null:o;var l=i.memoizedState;return o!==null&&ad(o,l[1])?l[0]:(i.memoizedState=[t,o],t)}function Cm(t,o){var i=pt();o=o===void 0?null:o;var l=i.memoizedState;if(o!==null&&ad(o,l[1]))return l[0];if(l=t(),la){en(!0);try{t()}finally{en(!1)}}return i.memoizedState=[l,o],l}function vd(t,o,i){return i===void 0||(Tr&1073741824)!==0&&(Me&261930)===0?t.memoizedState=o:(t.memoizedState=i,t=Ev(),Ee.lanes|=t,pn|=t,i)}function Em(t,o,i,l){return fo(i,o)?i:Ja.current!==null?(t=vd(t,i,l),fo(t,o)||(xt=!0),t):(Tr&42)===0||(Tr&1073741824)!==0&&(Me&261930)===0?(xt=!0,t.memoizedState=i):(t=Ev(),Ee.lanes|=t,pn|=t,o)}function jm(t,o,i,l,f){var h=J.p;J.p=h!==0&&8>h?h:8;var b=U.T,_={};U.T=_,xd(t,!1,o,i);try{var R=f(),I=U.S;if(I!==null&&I(_,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var Y=Cw(R,l);zl(t,o,Y,bo(t))}else zl(t,o,l,bo(t))}catch(K){zl(t,o,{then:function(){},status:"rejected",reason:K},bo())}finally{J.p=h,b!==null&&_.types!==null&&(b.types=_.types),U.T=b}}function Ow(){}function bd(t,o,i,l){if(t.tag!==5)throw Error(a(476));var f=Rm(t).queue;jm(t,f,o,te,i===null?Ow:function(){return Am(t),i(l)})}function Rm(t){var o=t.memoizedState;if(o!==null)return o;o={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nr,lastRenderedState:te},next:null};var i={};return o.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Nr,lastRenderedState:i},next:null},t.memoizedState=o,t=t.alternate,t!==null&&(t.memoizedState=o),o}function Am(t){var o=Rm(t);o.next===null&&(o=t.alternate.memoizedState),zl(t,o.next.queue,{},bo())}function yd(){return Ot(Ul)}function Dm(){return pt().memoizedState}function Om(){return pt().memoizedState}function Mw(t){for(var o=t.return;o!==null;){switch(o.tag){case 24:case 3:var i=bo();t=cn(i);var l=un(o,t,i);l!==null&&(eo(l,o,i),Sl(l,o,i)),o={cache:Qf()},t.payload=o;return}o=o.return}}function qw(t,o,i){var l=bo();i={lane:l,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},pc(t)?qm(o,i):(i=qf(t,o,i,l),i!==null&&(eo(i,t,l),Fm(i,o,l)))}function Mm(t,o,i){var l=bo();zl(t,o,i,l)}function zl(t,o,i,l){var f={lane:l,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(pc(t))qm(o,f);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=o.lastRenderedReducer,h!==null))try{var b=o.lastRenderedState,_=h(b,i);if(f.hasEagerState=!0,f.eagerState=_,fo(_,b))return Ys(t,o,f,0),tt===null&&Qs(),!1}catch{}finally{}if(i=qf(t,o,f,l),i!==null)return eo(i,t,l),Fm(i,o,l),!0}return!1}function xd(t,o,i,l){if(l={lane:2,revertLane:Zd(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},pc(t)){if(o)throw Error(a(479))}else o=qf(t,i,l,2),o!==null&&eo(o,t,2)}function pc(t){var o=t.alternate;return t===Ee||o!==null&&o===Ee}function qm(t,o){ei=sc=!0;var i=t.pending;i===null?o.next=o:(o.next=i.next,i.next=o),t.pending=o}function Fm(t,o,i){if((i&4194048)!==0){var l=o.lanes;l&=t.pendingLanes,i|=l,o.lanes=i,Ug(t,i)}}var Tl={readContext:Ot,use:fc,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useLayoutEffect:st,useInsertionEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useSyncExternalStore:st,useId:st,useHostTransitionStatus:st,useFormState:st,useActionState:st,useOptimistic:st,useMemoCache:st,useCacheRefresh:st};Tl.useEffectEvent=st;var Hm={readContext:Ot,use:fc,useCallback:function(t,o){return Vt().memoizedState=[t,o===void 0?null:o],t},useContext:Ot,useEffect:wm,useImperativeHandle:function(t,o,i){i=i!=null?i.concat([t]):null,hc(4194308,4,zm.bind(null,o,t),i)},useLayoutEffect:function(t,o){return hc(4194308,4,t,o)},useInsertionEffect:function(t,o){hc(4,2,t,o)},useMemo:function(t,o){var i=Vt();o=o===void 0?null:o;var l=t();if(la){en(!0);try{t()}finally{en(!1)}}return i.memoizedState=[l,o],l},useReducer:function(t,o,i){var l=Vt();if(i!==void 0){var f=i(o);if(la){en(!0);try{i(o)}finally{en(!1)}}}else f=o;return l.memoizedState=l.baseState=f,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:f},l.queue=t,t=t.dispatch=qw.bind(null,Ee,t),[l.memoizedState,t]},useRef:function(t){var o=Vt();return t={current:t},o.memoizedState=t},useState:function(t){t=hd(t);var o=t.queue,i=Mm.bind(null,Ee,o);return o.dispatch=i,[t.memoizedState,i]},useDebugValue:md,useDeferredValue:function(t,o){var i=Vt();return vd(i,t,o)},useTransition:function(){var t=hd(!1);return t=jm.bind(null,Ee,t.queue,!0,!1),Vt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,o,i){var l=Ee,f=Vt();if(Fe){if(i===void 0)throw Error(a(407));i=i()}else{if(i=o(),tt===null)throw Error(a(349));(Me&127)!==0||im(l,o,i)}f.memoizedState=i;var h={value:i,getSnapshot:o};return f.queue=h,wm(sm.bind(null,l,h,t),[t]),l.flags|=2048,oi(9,{destroy:void 0},lm.bind(null,l,h,i,o),null),i},useId:function(){var t=Vt(),o=tt.identifierPrefix;if(Fe){var i=cr,l=sr;i=(l&~(1<<32-uo(l)-1)).toString(32)+i,o="_"+o+"R_"+i,i=cc++,0<i&&(o+="H"+i.toString(32)),o+="_"}else i=Ew++,o="_"+o+"r_"+i.toString(32)+"_";return t.memoizedState=o},useHostTransitionStatus:yd,useFormState:vm,useActionState:vm,useOptimistic:function(t){var o=Vt();o.memoizedState=o.baseState=t;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=i,o=xd.bind(null,Ee,!0,i),i.dispatch=o,[t,o]},useMemoCache:ud,useCacheRefresh:function(){return Vt().memoizedState=Mw.bind(null,Ee)},useEffectEvent:function(t){var o=Vt(),i={impl:t};return o.memoizedState=i,function(){if((Ge&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}},Sd={readContext:Ot,use:fc,useCallback:Nm,useContext:Ot,useEffect:pd,useImperativeHandle:Tm,useInsertionEffect:Bm,useLayoutEffect:_m,useMemo:Cm,useReducer:dc,useRef:Sm,useState:function(){return dc(Nr)},useDebugValue:md,useDeferredValue:function(t,o){var i=pt();return Em(i,Ke.memoizedState,t,o)},useTransition:function(){var t=dc(Nr)[0],o=pt().memoizedState;return[typeof t=="boolean"?t:_l(t),o]},useSyncExternalStore:am,useId:Dm,useHostTransitionStatus:yd,useFormState:bm,useActionState:bm,useOptimistic:function(t,o){var i=pt();return fm(i,Ke,t,o)},useMemoCache:ud,useCacheRefresh:Om};Sd.useEffectEvent=km;var Lm={readContext:Ot,use:fc,useCallback:Nm,useContext:Ot,useEffect:pd,useImperativeHandle:Tm,useInsertionEffect:Bm,useLayoutEffect:_m,useMemo:Cm,useReducer:dd,useRef:Sm,useState:function(){return dd(Nr)},useDebugValue:md,useDeferredValue:function(t,o){var i=pt();return Ke===null?vd(i,t,o):Em(i,Ke.memoizedState,t,o)},useTransition:function(){var t=dd(Nr)[0],o=pt().memoizedState;return[typeof t=="boolean"?t:_l(t),o]},useSyncExternalStore:am,useId:Dm,useHostTransitionStatus:yd,useFormState:xm,useActionState:xm,useOptimistic:function(t,o){var i=pt();return Ke!==null?fm(i,Ke,t,o):(i.baseState=t,[t,i.queue.dispatch])},useMemoCache:ud,useCacheRefresh:Om};Lm.useEffectEvent=km;function wd(t,o,i,l){o=t.memoizedState,i=i(l,o),i=i==null?o:v({},o,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var kd={enqueueSetState:function(t,o,i){t=t._reactInternals;var l=bo(),f=cn(l);f.payload=o,i!=null&&(f.callback=i),o=un(t,f,l),o!==null&&(eo(o,t,l),Sl(o,t,l))},enqueueReplaceState:function(t,o,i){t=t._reactInternals;var l=bo(),f=cn(l);f.tag=1,f.payload=o,i!=null&&(f.callback=i),o=un(t,f,l),o!==null&&(eo(o,t,l),Sl(o,t,l))},enqueueForceUpdate:function(t,o){t=t._reactInternals;var i=bo(),l=cn(i);l.tag=2,o!=null&&(l.callback=o),o=un(t,l,i),o!==null&&(eo(o,t,i),Sl(o,t,i))}};function Pm(t,o,i,l,f,h,b){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,h,b):o.prototype&&o.prototype.isPureReactComponent?!hl(i,l)||!hl(f,h):!0}function Im(t,o,i,l){t=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(i,l),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(i,l),o.state!==t&&kd.enqueueReplaceState(o,o.state,null)}function sa(t,o){var i=o;if("ref"in o){i={};for(var l in o)l!=="ref"&&(i[l]=o[l])}if(t=t.defaultProps){i===o&&(i=v({},i));for(var f in t)i[f]===void 0&&(i[f]=t[f])}return i}function Um(t){Ws(t)}function Vm(t){console.error(t)}function Gm(t){Ws(t)}function mc(t,o){try{var i=t.onUncaughtError;i(o.value,{componentStack:o.stack})}catch(l){setTimeout(function(){throw l})}}function Xm(t,o,i){try{var l=t.onCaughtError;l(i.value,{componentStack:i.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Bd(t,o,i){return i=cn(i),i.tag=3,i.payload={element:null},i.callback=function(){mc(t,o)},i}function Wm(t){return t=cn(t),t.tag=3,t}function Qm(t,o,i,l){var f=i.type.getDerivedStateFromError;if(typeof f=="function"){var h=l.value;t.payload=function(){return f(h)},t.callback=function(){Xm(o,i,l)}}var b=i.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(t.callback=function(){Xm(o,i,l),typeof f!="function"&&(mn===null?mn=new Set([this]):mn.add(this));var _=l.stack;this.componentDidCatch(l.value,{componentStack:_!==null?_:""})})}function Fw(t,o,i,l,f){if(i.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(o=i.alternate,o!==null&&Qa(o,i,f,!0),i=go.current,i!==null){switch(i.tag){case 31:case 13:return Do===null?Nc():i.alternate===null&&ct===0&&(ct=3),i.flags&=-257,i.flags|=65536,i.lanes=f,l===rc?i.flags|=16384:(o=i.updateQueue,o===null?i.updateQueue=new Set([l]):o.add(l),Yd(t,l,f)),!1;case 22:return i.flags|=65536,l===rc?i.flags|=16384:(o=i.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([l])},i.updateQueue=o):(i=o.retryQueue,i===null?o.retryQueue=new Set([l]):i.add(l)),Yd(t,l,f)),!1}throw Error(a(435,i.tag))}return Yd(t,l,f),Nc(),!1}if(Fe)return o=go.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=f,l!==Uf&&(t=Error(a(422),{cause:l}),ml(Eo(t,i)))):(l!==Uf&&(o=Error(a(423),{cause:l}),ml(Eo(o,i))),t=t.current.alternate,t.flags|=65536,f&=-f,t.lanes|=f,l=Eo(l,i),f=Bd(t.stateNode,l,f),ed(t,f),ct!==4&&(ct=2)),!1;var h=Error(a(520),{cause:l});if(h=Eo(h,i),Ol===null?Ol=[h]:Ol.push(h),ct!==4&&(ct=2),o===null)return!0;l=Eo(l,i),i=o;do{switch(i.tag){case 3:return i.flags|=65536,t=f&-f,i.lanes|=t,t=Bd(i.stateNode,l,t),ed(i,t),!1;case 1:if(o=i.type,h=i.stateNode,(i.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(mn===null||!mn.has(h))))return i.flags|=65536,f&=-f,i.lanes|=f,f=Wm(f),Qm(f,t,i,l),ed(i,f),!1}i=i.return}while(i!==null);return!1}var _d=Error(a(461)),xt=!1;function Mt(t,o,i,l){o.child=t===null?Zp(o,null,i,l):ia(o,t.child,i,l)}function Ym(t,o,i,l,f){i=i.render;var h=o.ref;if("ref"in l){var b={};for(var _ in l)_!=="ref"&&(b[_]=l[_])}else b=l;return oa(o),l=id(t,o,i,b,h,f),_=ld(),t!==null&&!xt?(sd(t,o,f),Cr(t,o,f)):(Fe&&_&&Pf(o),o.flags|=1,Mt(t,o,l,f),o.child)}function $m(t,o,i,l,f){if(t===null){var h=i.type;return typeof h=="function"&&!Ff(h)&&h.defaultProps===void 0&&i.compare===null?(o.tag=15,o.type=h,Km(t,o,h,l,f)):(t=Ks(i.type,null,l,o,o.mode,f),t.ref=o.ref,t.return=o,o.child=t)}if(h=t.child,!Ad(t,f)){var b=h.memoizedProps;if(i=i.compare,i=i!==null?i:hl,i(b,l)&&t.ref===o.ref)return Cr(t,o,f)}return o.flags|=1,t=kr(h,l),t.ref=o.ref,t.return=o,o.child=t}function Km(t,o,i,l,f){if(t!==null){var h=t.memoizedProps;if(hl(h,l)&&t.ref===o.ref)if(xt=!1,o.pendingProps=l=h,Ad(t,f))(t.flags&131072)!==0&&(xt=!0);else return o.lanes=t.lanes,Cr(t,o,f)}return zd(t,o,i,l,f)}function Zm(t,o,i,l){var f=l.children,h=t!==null?t.memoizedState:null;if(t===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((o.flags&128)!==0){if(h=h!==null?h.baseLanes|i:i,t!==null){for(l=o.child=t.child,f=0;l!==null;)f=f|l.lanes|l.childLanes,l=l.sibling;l=f&~h}else l=0,o.child=null;return Jm(t,o,h,i,l)}if((i&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},t!==null&&tc(o,h!==null?h.cachePool:null),h!==null?tm(o,h):od(),om(o);else return l=o.lanes=536870912,Jm(t,o,h!==null?h.baseLanes|i:i,i,l)}else h!==null?(tc(o,h.cachePool),tm(o,h),dn(),o.memoizedState=null):(t!==null&&tc(o,null),od(),dn());return Mt(t,o,f,i),o.child}function Nl(t,o){return t!==null&&t.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function Jm(t,o,i,l,f){var h=$f();return h=h===null?null:{parent:bt._currentValue,pool:h},o.memoizedState={baseLanes:i,cachePool:h},t!==null&&tc(o,null),od(),om(o),t!==null&&Qa(t,o,l,!0),o.childLanes=f,null}function vc(t,o){return o=yc({mode:o.mode,children:o.children},t.mode),o.ref=t.ref,t.child=o,o.return=t,o}function ev(t,o,i){return ia(o,t.child,null,i),t=vc(o,o.pendingProps),t.flags|=2,po(o),o.memoizedState=null,t}function Hw(t,o,i){var l=o.pendingProps,f=(o.flags&128)!==0;if(o.flags&=-129,t===null){if(Fe){if(l.mode==="hidden")return t=vc(o,l),o.lanes=536870912,Nl(null,t);if(nd(o),(t=rt)?(t=d1(t,Ao),t=t!==null&&t.data==="&"?t:null,t!==null&&(o.memoizedState={dehydrated:t,treeContext:rn!==null?{id:sr,overflow:cr}:null,retryLane:536870912,hydrationErrors:null},i=qp(t),i.return=o,o.child=i,Dt=o,rt=null)):t=null,t===null)throw an(o);return o.lanes=536870912,null}return vc(o,l)}var h=t.memoizedState;if(h!==null){var b=h.dehydrated;if(nd(o),f)if(o.flags&256)o.flags&=-257,o=ev(t,o,i);else if(o.memoizedState!==null)o.child=t.child,o.flags|=128,o=null;else throw Error(a(558));else if(xt||Qa(t,o,i,!1),f=(i&t.childLanes)!==0,xt||f){if(l=tt,l!==null&&(b=Vg(l,i),b!==0&&b!==h.retryLane))throw h.retryLane=b,Zn(t,b),eo(l,t,b),_d;Nc(),o=ev(t,o,i)}else t=h.treeContext,rt=Oo(b.nextSibling),Dt=o,Fe=!0,nn=null,Ao=!1,t!==null&&Lp(o,t),o=vc(o,l),o.flags|=4096;return o}return t=kr(t.child,{mode:l.mode,children:l.children}),t.ref=o.ref,o.child=t,t.return=o,t}function bc(t,o){var i=o.ref;if(i===null)t!==null&&t.ref!==null&&(o.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(a(284));(t===null||t.ref!==i)&&(o.flags|=4194816)}}function zd(t,o,i,l,f){return oa(o),i=id(t,o,i,l,void 0,f),l=ld(),t!==null&&!xt?(sd(t,o,f),Cr(t,o,f)):(Fe&&l&&Pf(o),o.flags|=1,Mt(t,o,i,f),o.child)}function tv(t,o,i,l,f,h){return oa(o),o.updateQueue=null,i=nm(o,l,i,f),rm(t),l=ld(),t!==null&&!xt?(sd(t,o,h),Cr(t,o,h)):(Fe&&l&&Pf(o),o.flags|=1,Mt(t,o,i,h),o.child)}function ov(t,o,i,l,f){if(oa(o),o.stateNode===null){var h=Va,b=i.contextType;typeof b=="object"&&b!==null&&(h=Ot(b)),h=new i(l,h),o.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=kd,o.stateNode=h,h._reactInternals=o,h=o.stateNode,h.props=l,h.state=o.memoizedState,h.refs={},Zf(o),b=i.contextType,h.context=typeof b=="object"&&b!==null?Ot(b):Va,h.state=o.memoizedState,b=i.getDerivedStateFromProps,typeof b=="function"&&(wd(o,i,b,l),h.state=o.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(b=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),b!==h.state&&kd.enqueueReplaceState(h,h.state,null),kl(o,l,h,f),wl(),h.state=o.memoizedState),typeof h.componentDidMount=="function"&&(o.flags|=4194308),l=!0}else if(t===null){h=o.stateNode;var _=o.memoizedProps,R=sa(i,_);h.props=R;var I=h.context,Y=i.contextType;b=Va,typeof Y=="object"&&Y!==null&&(b=Ot(Y));var K=i.getDerivedStateFromProps;Y=typeof K=="function"||typeof h.getSnapshotBeforeUpdate=="function",_=o.pendingProps!==_,Y||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(_||I!==b)&&Im(o,h,l,b),sn=!1;var V=o.memoizedState;h.state=V,kl(o,l,h,f),wl(),I=o.memoizedState,_||V!==I||sn?(typeof K=="function"&&(wd(o,i,K,l),I=o.memoizedState),(R=sn||Pm(o,i,R,l,V,I,b))?(Y||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(o.flags|=4194308)):(typeof h.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=l,o.memoizedState=I),h.props=l,h.state=I,h.context=b,l=R):(typeof h.componentDidMount=="function"&&(o.flags|=4194308),l=!1)}else{h=o.stateNode,Jf(t,o),b=o.memoizedProps,Y=sa(i,b),h.props=Y,K=o.pendingProps,V=h.context,I=i.contextType,R=Va,typeof I=="object"&&I!==null&&(R=Ot(I)),_=i.getDerivedStateFromProps,(I=typeof _=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(b!==K||V!==R)&&Im(o,h,l,R),sn=!1,V=o.memoizedState,h.state=V,kl(o,l,h,f),wl();var W=o.memoizedState;b!==K||V!==W||sn||t!==null&&t.dependencies!==null&&Js(t.dependencies)?(typeof _=="function"&&(wd(o,i,_,l),W=o.memoizedState),(Y=sn||Pm(o,i,Y,l,V,W,R)||t!==null&&t.dependencies!==null&&Js(t.dependencies))?(I||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(l,W,R),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(l,W,R)),typeof h.componentDidUpdate=="function"&&(o.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof h.componentDidUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=1024),o.memoizedProps=l,o.memoizedState=W),h.props=l,h.state=W,h.context=R,l=Y):(typeof h.componentDidUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&V===t.memoizedState||(o.flags|=1024),l=!1)}return h=l,bc(t,o),l=(o.flags&128)!==0,h||l?(h=o.stateNode,i=l&&typeof i.getDerivedStateFromError!="function"?null:h.render(),o.flags|=1,t!==null&&l?(o.child=ia(o,t.child,null,f),o.child=ia(o,null,i,f)):Mt(t,o,i,f),o.memoizedState=h.state,t=o.child):t=Cr(t,o,f),t}function rv(t,o,i,l){return ea(),o.flags|=256,Mt(t,o,i,l),o.child}var Td={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Nd(t){return{baseLanes:t,cachePool:Xp()}}function Cd(t,o,i){return t=t!==null?t.childLanes&~i:0,o&&(t|=vo),t}function nv(t,o,i){var l=o.pendingProps,f=!1,h=(o.flags&128)!==0,b;if((b=h)||(b=t!==null&&t.memoizedState===null?!1:(gt.current&2)!==0),b&&(f=!0,o.flags&=-129),b=(o.flags&32)!==0,o.flags&=-33,t===null){if(Fe){if(f?fn(o):dn(),(t=rt)?(t=d1(t,Ao),t=t!==null&&t.data!=="&"?t:null,t!==null&&(o.memoizedState={dehydrated:t,treeContext:rn!==null?{id:sr,overflow:cr}:null,retryLane:536870912,hydrationErrors:null},i=qp(t),i.return=o,o.child=i,Dt=o,rt=null)):t=null,t===null)throw an(o);return fh(t)?o.lanes=32:o.lanes=536870912,null}var _=l.children;return l=l.fallback,f?(dn(),f=o.mode,_=yc({mode:"hidden",children:_},f),l=Jn(l,f,i,null),_.return=o,l.return=o,_.sibling=l,o.child=_,l=o.child,l.memoizedState=Nd(i),l.childLanes=Cd(t,b,i),o.memoizedState=Td,Nl(null,l)):(fn(o),Ed(o,_))}var R=t.memoizedState;if(R!==null&&(_=R.dehydrated,_!==null)){if(h)o.flags&256?(fn(o),o.flags&=-257,o=jd(t,o,i)):o.memoizedState!==null?(dn(),o.child=t.child,o.flags|=128,o=null):(dn(),_=l.fallback,f=o.mode,l=yc({mode:"visible",children:l.children},f),_=Jn(_,f,i,null),_.flags|=2,l.return=o,_.return=o,l.sibling=_,o.child=l,ia(o,t.child,null,i),l=o.child,l.memoizedState=Nd(i),l.childLanes=Cd(t,b,i),o.memoizedState=Td,o=Nl(null,l));else if(fn(o),fh(_)){if(b=_.nextSibling&&_.nextSibling.dataset,b)var I=b.dgst;b=I,l=Error(a(419)),l.stack="",l.digest=b,ml({value:l,source:null,stack:null}),o=jd(t,o,i)}else if(xt||Qa(t,o,i,!1),b=(i&t.childLanes)!==0,xt||b){if(b=tt,b!==null&&(l=Vg(b,i),l!==0&&l!==R.retryLane))throw R.retryLane=l,Zn(t,l),eo(b,t,l),_d;uh(_)||Nc(),o=jd(t,o,i)}else uh(_)?(o.flags|=192,o.child=t.child,o=null):(t=R.treeContext,rt=Oo(_.nextSibling),Dt=o,Fe=!0,nn=null,Ao=!1,t!==null&&Lp(o,t),o=Ed(o,l.children),o.flags|=4096);return o}return f?(dn(),_=l.fallback,f=o.mode,R=t.child,I=R.sibling,l=kr(R,{mode:"hidden",children:l.children}),l.subtreeFlags=R.subtreeFlags&65011712,I!==null?_=kr(I,_):(_=Jn(_,f,i,null),_.flags|=2),_.return=o,l.return=o,l.sibling=_,o.child=l,Nl(null,l),l=o.child,_=t.child.memoizedState,_===null?_=Nd(i):(f=_.cachePool,f!==null?(R=bt._currentValue,f=f.parent!==R?{parent:R,pool:R}:f):f=Xp(),_={baseLanes:_.baseLanes|i,cachePool:f}),l.memoizedState=_,l.childLanes=Cd(t,b,i),o.memoizedState=Td,Nl(t.child,l)):(fn(o),i=t.child,t=i.sibling,i=kr(i,{mode:"visible",children:l.children}),i.return=o,i.sibling=null,t!==null&&(b=o.deletions,b===null?(o.deletions=[t],o.flags|=16):b.push(t)),o.child=i,o.memoizedState=null,i)}function Ed(t,o){return o=yc({mode:"visible",children:o},t.mode),o.return=t,t.child=o}function yc(t,o){return t=ho(22,t,null,o),t.lanes=0,t}function jd(t,o,i){return ia(o,t.child,null,i),t=Ed(o,o.pendingProps.children),t.flags|=2,o.memoizedState=null,t}function av(t,o,i){t.lanes|=o;var l=t.alternate;l!==null&&(l.lanes|=o),Xf(t.return,o,i)}function Rd(t,o,i,l,f,h){var b=t.memoizedState;b===null?t.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:l,tail:i,tailMode:f,treeForkCount:h}:(b.isBackwards=o,b.rendering=null,b.renderingStartTime=0,b.last=l,b.tail=i,b.tailMode=f,b.treeForkCount=h)}function iv(t,o,i){var l=o.pendingProps,f=l.revealOrder,h=l.tail;l=l.children;var b=gt.current,_=(b&2)!==0;if(_?(b=b&1|2,o.flags|=128):b&=1,Z(gt,b),Mt(t,o,l,i),l=Fe?pl:0,!_&&t!==null&&(t.flags&128)!==0)e:for(t=o.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&av(t,i,o);else if(t.tag===19)av(t,i,o);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===o)break e;for(;t.sibling===null;){if(t.return===null||t.return===o)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(f){case"forwards":for(i=o.child,f=null;i!==null;)t=i.alternate,t!==null&&lc(t)===null&&(f=i),i=i.sibling;i=f,i===null?(f=o.child,o.child=null):(f=i.sibling,i.sibling=null),Rd(o,!1,f,i,h,l);break;case"backwards":case"unstable_legacy-backwards":for(i=null,f=o.child,o.child=null;f!==null;){if(t=f.alternate,t!==null&&lc(t)===null){o.child=f;break}t=f.sibling,f.sibling=i,i=f,f=t}Rd(o,!0,i,null,h,l);break;case"together":Rd(o,!1,null,null,void 0,l);break;default:o.memoizedState=null}return o.child}function Cr(t,o,i){if(t!==null&&(o.dependencies=t.dependencies),pn|=o.lanes,(i&o.childLanes)===0)if(t!==null){if(Qa(t,o,i,!1),(i&o.childLanes)===0)return null}else return null;if(t!==null&&o.child!==t.child)throw Error(a(153));if(o.child!==null){for(t=o.child,i=kr(t,t.pendingProps),o.child=i,i.return=o;t.sibling!==null;)t=t.sibling,i=i.sibling=kr(t,t.pendingProps),i.return=o;i.sibling=null}return o.child}function Ad(t,o){return(t.lanes&o)!==0?!0:(t=t.dependencies,!!(t!==null&&Js(t)))}function Lw(t,o,i){switch(o.tag){case 3:xe(o,o.stateNode.containerInfo),ln(o,bt,t.memoizedState.cache),ea();break;case 27:case 5:lo(o);break;case 4:xe(o,o.stateNode.containerInfo);break;case 10:ln(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,nd(o),null;break;case 13:var l=o.memoizedState;if(l!==null)return l.dehydrated!==null?(fn(o),o.flags|=128,null):(i&o.child.childLanes)!==0?nv(t,o,i):(fn(o),t=Cr(t,o,i),t!==null?t.sibling:null);fn(o);break;case 19:var f=(t.flags&128)!==0;if(l=(i&o.childLanes)!==0,l||(Qa(t,o,i,!1),l=(i&o.childLanes)!==0),f){if(l)return iv(t,o,i);o.flags|=128}if(f=o.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Z(gt,gt.current),l)break;return null;case 22:return o.lanes=0,Zm(t,o,i,o.pendingProps);case 24:ln(o,bt,t.memoizedState.cache)}return Cr(t,o,i)}function lv(t,o,i){if(t!==null)if(t.memoizedProps!==o.pendingProps)xt=!0;else{if(!Ad(t,i)&&(o.flags&128)===0)return xt=!1,Lw(t,o,i);xt=(t.flags&131072)!==0}else xt=!1,Fe&&(o.flags&1048576)!==0&&Hp(o,pl,o.index);switch(o.lanes=0,o.tag){case 16:e:{var l=o.pendingProps;if(t=na(o.elementType),o.type=t,typeof t=="function")Ff(t)?(l=sa(t,l),o.tag=1,o=ov(null,o,t,l,i)):(o.tag=0,o=zd(null,o,t,l,i));else{if(t!=null){var f=t.$$typeof;if(f===C){o.tag=11,o=Ym(null,o,t,l,i);break e}else if(f===Q){o.tag=14,o=$m(null,o,t,l,i);break e}}throw o=ae(t)||t,Error(a(306,o,""))}}return o;case 0:return zd(t,o,o.type,o.pendingProps,i);case 1:return l=o.type,f=sa(l,o.pendingProps),ov(t,o,l,f,i);case 3:e:{if(xe(o,o.stateNode.containerInfo),t===null)throw Error(a(387));l=o.pendingProps;var h=o.memoizedState;f=h.element,Jf(t,o),kl(o,l,null,i);var b=o.memoizedState;if(l=b.cache,ln(o,bt,l),l!==h.cache&&Wf(o,[bt],i,!0),wl(),l=b.element,h.isDehydrated)if(h={element:l,isDehydrated:!1,cache:b.cache},o.updateQueue.baseState=h,o.memoizedState=h,o.flags&256){o=rv(t,o,l,i);break e}else if(l!==f){f=Eo(Error(a(424)),o),ml(f),o=rv(t,o,l,i);break e}else{switch(t=o.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(rt=Oo(t.firstChild),Dt=o,Fe=!0,nn=null,Ao=!0,i=Zp(o,null,l,i),o.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(ea(),l===f){o=Cr(t,o,i);break e}Mt(t,o,l,i)}o=o.child}return o;case 26:return bc(t,o),t===null?(i=b1(o.type,null,o.pendingProps,null))?o.memoizedState=i:Fe||(i=o.type,t=o.pendingProps,l=Oc(ke.current).createElement(i),l[At]=o,l[Qt]=t,qt(l,i,t),Ct(l),o.stateNode=l):o.memoizedState=b1(o.type,t.memoizedProps,o.pendingProps,t.memoizedState),null;case 27:return lo(o),t===null&&Fe&&(l=o.stateNode=p1(o.type,o.pendingProps,ke.current),Dt=o,Ao=!0,f=rt,xn(o.type)?(dh=f,rt=Oo(l.firstChild)):rt=f),Mt(t,o,o.pendingProps.children,i),bc(t,o),t===null&&(o.flags|=4194304),o.child;case 5:return t===null&&Fe&&((f=l=rt)&&(l=m3(l,o.type,o.pendingProps,Ao),l!==null?(o.stateNode=l,Dt=o,rt=Oo(l.firstChild),Ao=!1,f=!0):f=!1),f||an(o)),lo(o),f=o.type,h=o.pendingProps,b=t!==null?t.memoizedProps:null,l=h.children,lh(f,h)?l=null:b!==null&&lh(f,b)&&(o.flags|=32),o.memoizedState!==null&&(f=id(t,o,jw,null,null,i),Ul._currentValue=f),bc(t,o),Mt(t,o,l,i),o.child;case 6:return t===null&&Fe&&((t=i=rt)&&(i=v3(i,o.pendingProps,Ao),i!==null?(o.stateNode=i,Dt=o,rt=null,t=!0):t=!1),t||an(o)),null;case 13:return nv(t,o,i);case 4:return xe(o,o.stateNode.containerInfo),l=o.pendingProps,t===null?o.child=ia(o,null,l,i):Mt(t,o,l,i),o.child;case 11:return Ym(t,o,o.type,o.pendingProps,i);case 7:return Mt(t,o,o.pendingProps,i),o.child;case 8:return Mt(t,o,o.pendingProps.children,i),o.child;case 12:return Mt(t,o,o.pendingProps.children,i),o.child;case 10:return l=o.pendingProps,ln(o,o.type,l.value),Mt(t,o,l.children,i),o.child;case 9:return f=o.type._context,l=o.pendingProps.children,oa(o),f=Ot(f),l=l(f),o.flags|=1,Mt(t,o,l,i),o.child;case 14:return $m(t,o,o.type,o.pendingProps,i);case 15:return Km(t,o,o.type,o.pendingProps,i);case 19:return iv(t,o,i);case 31:return Hw(t,o,i);case 22:return Zm(t,o,i,o.pendingProps);case 24:return oa(o),l=Ot(bt),t===null?(f=$f(),f===null&&(f=tt,h=Qf(),f.pooledCache=h,h.refCount++,h!==null&&(f.pooledCacheLanes|=i),f=h),o.memoizedState={parent:l,cache:f},Zf(o),ln(o,bt,f)):((t.lanes&i)!==0&&(Jf(t,o),kl(o,null,null,i),wl()),f=t.memoizedState,h=o.memoizedState,f.parent!==l?(f={parent:l,cache:l},o.memoizedState=f,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=f),ln(o,bt,l)):(l=h.cache,ln(o,bt,l),l!==f.cache&&Wf(o,[bt],i,!0))),Mt(t,o,o.pendingProps.children,i),o.child;case 29:throw o.pendingProps}throw Error(a(156,o.tag))}function Er(t){t.flags|=4}function Dd(t,o,i,l,f){if((o=(t.mode&32)!==0)&&(o=!1),o){if(t.flags|=16777216,(f&335544128)===f)if(t.stateNode.complete)t.flags|=8192;else if(Dv())t.flags|=8192;else throw aa=rc,Kf}else t.flags&=-16777217}function sv(t,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!k1(o))if(Dv())t.flags|=8192;else throw aa=rc,Kf}function xc(t,o){o!==null&&(t.flags|=4),t.flags&16384&&(o=t.tag!==22?Pg():536870912,t.lanes|=o,ii|=o)}function Cl(t,o){if(!Fe)switch(t.tailMode){case"hidden":o=t.tail;for(var i=null;o!==null;)o.alternate!==null&&(i=o),o=o.sibling;i===null?t.tail=null:i.sibling=null;break;case"collapsed":i=t.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?o||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function nt(t){var o=t.alternate!==null&&t.alternate.child===t.child,i=0,l=0;if(o)for(var f=t.child;f!==null;)i|=f.lanes|f.childLanes,l|=f.subtreeFlags&65011712,l|=f.flags&65011712,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)i|=f.lanes|f.childLanes,l|=f.subtreeFlags,l|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=l,t.childLanes=i,o}function Pw(t,o,i){var l=o.pendingProps;switch(If(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nt(o),null;case 1:return nt(o),null;case 3:return i=o.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),o.memoizedState.cache!==l&&(o.flags|=2048),zr(bt),ze(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(Wa(o)?Er(o):t===null||t.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Vf())),nt(o),null;case 26:var f=o.type,h=o.memoizedState;return t===null?(Er(o),h!==null?(nt(o),sv(o,h)):(nt(o),Dd(o,f,null,l,i))):h?h!==t.memoizedState?(Er(o),nt(o),sv(o,h)):(nt(o),o.flags&=-16777217):(t=t.memoizedProps,t!==l&&Er(o),nt(o),Dd(o,f,t,l,i)),null;case 27:if(Ea(o),i=ke.current,f=o.type,t!==null&&o.stateNode!=null)t.memoizedProps!==l&&Er(o);else{if(!l){if(o.stateNode===null)throw Error(a(166));return nt(o),null}t=re.current,Wa(o)?Pp(o):(t=p1(f,l,i),o.stateNode=t,Er(o))}return nt(o),null;case 5:if(Ea(o),f=o.type,t!==null&&o.stateNode!=null)t.memoizedProps!==l&&Er(o);else{if(!l){if(o.stateNode===null)throw Error(a(166));return nt(o),null}if(h=re.current,Wa(o))Pp(o);else{var b=Oc(ke.current);switch(h){case 1:h=b.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:h=b.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":h=b.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":h=b.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":h=b.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof l.is=="string"?b.createElement("select",{is:l.is}):b.createElement("select"),l.multiple?h.multiple=!0:l.size&&(h.size=l.size);break;default:h=typeof l.is=="string"?b.createElement(f,{is:l.is}):b.createElement(f)}}h[At]=o,h[Qt]=l;e:for(b=o.child;b!==null;){if(b.tag===5||b.tag===6)h.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===o)break e;for(;b.sibling===null;){if(b.return===null||b.return===o)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}o.stateNode=h;e:switch(qt(h,f,l),f){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Er(o)}}return nt(o),Dd(o,o.type,t===null?null:t.memoizedProps,o.pendingProps,i),null;case 6:if(t&&o.stateNode!=null)t.memoizedProps!==l&&Er(o);else{if(typeof l!="string"&&o.stateNode===null)throw Error(a(166));if(t=ke.current,Wa(o)){if(t=o.stateNode,i=o.memoizedProps,l=null,f=Dt,f!==null)switch(f.tag){case 27:case 5:l=f.memoizedProps}t[At]=o,t=!!(t.nodeValue===i||l!==null&&l.suppressHydrationWarning===!0||n1(t.nodeValue,i)),t||an(o,!0)}else t=Oc(t).createTextNode(l),t[At]=o,o.stateNode=t}return nt(o),null;case 31:if(i=o.memoizedState,t===null||t.memoizedState!==null){if(l=Wa(o),i!==null){if(t===null){if(!l)throw Error(a(318));if(t=o.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(557));t[At]=o}else ea(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;nt(o),t=!1}else i=Vf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return o.flags&256?(po(o),o):(po(o),null);if((o.flags&128)!==0)throw Error(a(558))}return nt(o),null;case 13:if(l=o.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=Wa(o),l!==null&&l.dehydrated!==null){if(t===null){if(!f)throw Error(a(318));if(f=o.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(a(317));f[At]=o}else ea(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;nt(o),f=!1}else f=Vf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return o.flags&256?(po(o),o):(po(o),null)}return po(o),(o.flags&128)!==0?(o.lanes=i,o):(i=l!==null,t=t!==null&&t.memoizedState!==null,i&&(l=o.child,f=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(f=l.alternate.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==f&&(l.flags|=2048)),i!==t&&i&&(o.child.flags|=8192),xc(o,o.updateQueue),nt(o),null);case 4:return ze(),t===null&&oh(o.stateNode.containerInfo),nt(o),null;case 10:return zr(o.type),nt(o),null;case 19:if(L(gt),l=o.memoizedState,l===null)return nt(o),null;if(f=(o.flags&128)!==0,h=l.rendering,h===null)if(f)Cl(l,!1);else{if(ct!==0||t!==null&&(t.flags&128)!==0)for(t=o.child;t!==null;){if(h=lc(t),h!==null){for(o.flags|=128,Cl(l,!1),t=h.updateQueue,o.updateQueue=t,xc(o,t),o.subtreeFlags=0,t=i,i=o.child;i!==null;)Mp(i,t),i=i.sibling;return Z(gt,gt.current&1|2),Fe&&Br(o,l.treeForkCount),o.child}t=t.sibling}l.tail!==null&&so()>_c&&(o.flags|=128,f=!0,Cl(l,!1),o.lanes=4194304)}else{if(!f)if(t=lc(h),t!==null){if(o.flags|=128,f=!0,t=t.updateQueue,o.updateQueue=t,xc(o,t),Cl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!h.alternate&&!Fe)return nt(o),null}else 2*so()-l.renderingStartTime>_c&&i!==536870912&&(o.flags|=128,f=!0,Cl(l,!1),o.lanes=4194304);l.isBackwards?(h.sibling=o.child,o.child=h):(t=l.last,t!==null?t.sibling=h:o.child=h,l.last=h)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=so(),t.sibling=null,i=gt.current,Z(gt,f?i&1|2:i&1),Fe&&Br(o,l.treeForkCount),t):(nt(o),null);case 22:case 23:return po(o),rd(),l=o.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(o.flags|=8192):l&&(o.flags|=8192),l?(i&536870912)!==0&&(o.flags&128)===0&&(nt(o),o.subtreeFlags&6&&(o.flags|=8192)):nt(o),i=o.updateQueue,i!==null&&xc(o,i.retryQueue),i=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),l=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(l=o.memoizedState.cachePool.pool),l!==i&&(o.flags|=2048),t!==null&&L(ra),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),o.memoizedState.cache!==i&&(o.flags|=2048),zr(bt),nt(o),null;case 25:return null;case 30:return null}throw Error(a(156,o.tag))}function Iw(t,o){switch(If(o),o.tag){case 1:return t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 3:return zr(bt),ze(),t=o.flags,(t&65536)!==0&&(t&128)===0?(o.flags=t&-65537|128,o):null;case 26:case 27:case 5:return Ea(o),null;case 31:if(o.memoizedState!==null){if(po(o),o.alternate===null)throw Error(a(340));ea()}return t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 13:if(po(o),t=o.memoizedState,t!==null&&t.dehydrated!==null){if(o.alternate===null)throw Error(a(340));ea()}return t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 19:return L(gt),null;case 4:return ze(),null;case 10:return zr(o.type),null;case 22:case 23:return po(o),rd(),t!==null&&L(ra),t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 24:return zr(bt),null;case 25:return null;default:return null}}function cv(t,o){switch(If(o),o.tag){case 3:zr(bt),ze();break;case 26:case 27:case 5:Ea(o);break;case 4:ze();break;case 31:o.memoizedState!==null&&po(o);break;case 13:po(o);break;case 19:L(gt);break;case 10:zr(o.type);break;case 22:case 23:po(o),rd(),t!==null&&L(ra);break;case 24:zr(bt)}}function El(t,o){try{var i=o.updateQueue,l=i!==null?i.lastEffect:null;if(l!==null){var f=l.next;i=f;do{if((i.tag&t)===t){l=void 0;var h=i.create,b=i.inst;l=h(),b.destroy=l}i=i.next}while(i!==f)}}catch(_){$e(o,o.return,_)}}function hn(t,o,i){try{var l=o.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var h=f.next;l=h;do{if((l.tag&t)===t){var b=l.inst,_=b.destroy;if(_!==void 0){b.destroy=void 0,f=o;var R=i,I=_;try{I()}catch(Y){$e(f,R,Y)}}}l=l.next}while(l!==h)}}catch(Y){$e(o,o.return,Y)}}function uv(t){var o=t.updateQueue;if(o!==null){var i=t.stateNode;try{em(o,i)}catch(l){$e(t,t.return,l)}}}function fv(t,o,i){i.props=sa(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(l){$e(t,o,l)}}function jl(t,o){try{var i=t.ref;if(i!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof i=="function"?t.refCleanup=i(l):i.current=l}}catch(f){$e(t,o,f)}}function ur(t,o){var i=t.ref,l=t.refCleanup;if(i!==null)if(typeof l=="function")try{l()}catch(f){$e(t,o,f)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(f){$e(t,o,f)}else i.current=null}function dv(t){var o=t.type,i=t.memoizedProps,l=t.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":i.autoFocus&&l.focus();break e;case"img":i.src?l.src=i.src:i.srcSet&&(l.srcset=i.srcSet)}}catch(f){$e(t,t.return,f)}}function Od(t,o,i){try{var l=t.stateNode;u3(l,t.type,i,o),l[Qt]=o}catch(f){$e(t,t.return,f)}}function hv(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&xn(t.type)||t.tag===4}function Md(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||hv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&xn(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function qd(t,o,i){var l=t.tag;if(l===5||l===6)t=t.stateNode,o?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(t,o):(o=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,o.appendChild(t),i=i._reactRootContainer,i!=null||o.onclick!==null||(o.onclick=Sr));else if(l!==4&&(l===27&&xn(t.type)&&(i=t.stateNode,o=null),t=t.child,t!==null))for(qd(t,o,i),t=t.sibling;t!==null;)qd(t,o,i),t=t.sibling}function Sc(t,o,i){var l=t.tag;if(l===5||l===6)t=t.stateNode,o?i.insertBefore(t,o):i.appendChild(t);else if(l!==4&&(l===27&&xn(t.type)&&(i=t.stateNode),t=t.child,t!==null))for(Sc(t,o,i),t=t.sibling;t!==null;)Sc(t,o,i),t=t.sibling}function gv(t){var o=t.stateNode,i=t.memoizedProps;try{for(var l=t.type,f=o.attributes;f.length;)o.removeAttributeNode(f[0]);qt(o,l,i),o[At]=t,o[Qt]=i}catch(h){$e(t,t.return,h)}}var jr=!1,St=!1,Fd=!1,pv=typeof WeakSet=="function"?WeakSet:Set,Et=null;function Uw(t,o){if(t=t.containerInfo,ah=Ic,t=Tp(t),jf(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var l=i.getSelection&&i.getSelection();if(l&&l.rangeCount!==0){i=l.anchorNode;var f=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{i.nodeType,h.nodeType}catch{i=null;break e}var b=0,_=-1,R=-1,I=0,Y=0,K=t,V=null;t:for(;;){for(var W;K!==i||f!==0&&K.nodeType!==3||(_=b+f),K!==h||l!==0&&K.nodeType!==3||(R=b+l),K.nodeType===3&&(b+=K.nodeValue.length),(W=K.firstChild)!==null;)V=K,K=W;for(;;){if(K===t)break t;if(V===i&&++I===f&&(_=b),V===h&&++Y===l&&(R=b),(W=K.nextSibling)!==null)break;K=V,V=K.parentNode}K=W}i=_===-1||R===-1?null:{start:_,end:R}}else i=null}i=i||{start:0,end:0}}else i=null;for(ih={focusedElem:t,selectionRange:i},Ic=!1,Et=o;Et!==null;)if(o=Et,t=o.child,(o.subtreeFlags&1028)!==0&&t!==null)t.return=o,Et=t;else for(;Et!==null;){switch(o=Et,h=o.alternate,t=o.flags,o.tag){case 0:if((t&4)!==0&&(t=o.updateQueue,t=t!==null?t.events:null,t!==null))for(i=0;i<t.length;i++)f=t[i],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&h!==null){t=void 0,i=o,f=h.memoizedProps,h=h.memoizedState,l=i.stateNode;try{var he=sa(i.type,f);t=l.getSnapshotBeforeUpdate(he,h),l.__reactInternalSnapshotBeforeUpdate=t}catch(we){$e(i,i.return,we)}}break;case 3:if((t&1024)!==0){if(t=o.stateNode.containerInfo,i=t.nodeType,i===9)ch(t);else if(i===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":ch(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(a(163))}if(t=o.sibling,t!==null){t.return=o.return,Et=t;break}Et=o.return}}function mv(t,o,i){var l=i.flags;switch(i.tag){case 0:case 11:case 15:Ar(t,i),l&4&&El(5,i);break;case 1:if(Ar(t,i),l&4)if(t=i.stateNode,o===null)try{t.componentDidMount()}catch(b){$e(i,i.return,b)}else{var f=sa(i.type,o.memoizedProps);o=o.memoizedState;try{t.componentDidUpdate(f,o,t.__reactInternalSnapshotBeforeUpdate)}catch(b){$e(i,i.return,b)}}l&64&&uv(i),l&512&&jl(i,i.return);break;case 3:if(Ar(t,i),l&64&&(t=i.updateQueue,t!==null)){if(o=null,i.child!==null)switch(i.child.tag){case 27:case 5:o=i.child.stateNode;break;case 1:o=i.child.stateNode}try{em(t,o)}catch(b){$e(i,i.return,b)}}break;case 27:o===null&&l&4&&gv(i);case 26:case 5:Ar(t,i),o===null&&l&4&&dv(i),l&512&&jl(i,i.return);break;case 12:Ar(t,i);break;case 31:Ar(t,i),l&4&&yv(t,i);break;case 13:Ar(t,i),l&4&&xv(t,i),l&64&&(t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(i=Zw.bind(null,i),b3(t,i))));break;case 22:if(l=i.memoizedState!==null||jr,!l){o=o!==null&&o.memoizedState!==null||St,f=jr;var h=St;jr=l,(St=o)&&!h?Dr(t,i,(i.subtreeFlags&8772)!==0):Ar(t,i),jr=f,St=h}break;case 30:break;default:Ar(t,i)}}function vv(t){var o=t.alternate;o!==null&&(t.alternate=null,vv(o)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(o=t.stateNode,o!==null&&gf(o)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var at=null,$t=!1;function Rr(t,o,i){for(i=i.child;i!==null;)bv(t,o,i),i=i.sibling}function bv(t,o,i){if(co&&typeof co.onCommitFiberUnmount=="function")try{co.onCommitFiberUnmount(tl,i)}catch{}switch(i.tag){case 26:St||ur(i,o),Rr(t,o,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:St||ur(i,o);var l=at,f=$t;xn(i.type)&&(at=i.stateNode,$t=!1),Rr(t,o,i),Ll(i.stateNode),at=l,$t=f;break;case 5:St||ur(i,o);case 6:if(l=at,f=$t,at=null,Rr(t,o,i),at=l,$t=f,at!==null)if($t)try{(at.nodeType===9?at.body:at.nodeName==="HTML"?at.ownerDocument.body:at).removeChild(i.stateNode)}catch(h){$e(i,o,h)}else try{at.removeChild(i.stateNode)}catch(h){$e(i,o,h)}break;case 18:at!==null&&($t?(t=at,u1(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,i.stateNode),gi(t)):u1(at,i.stateNode));break;case 4:l=at,f=$t,at=i.stateNode.containerInfo,$t=!0,Rr(t,o,i),at=l,$t=f;break;case 0:case 11:case 14:case 15:hn(2,i,o),St||hn(4,i,o),Rr(t,o,i);break;case 1:St||(ur(i,o),l=i.stateNode,typeof l.componentWillUnmount=="function"&&fv(i,o,l)),Rr(t,o,i);break;case 21:Rr(t,o,i);break;case 22:St=(l=St)||i.memoizedState!==null,Rr(t,o,i),St=l;break;default:Rr(t,o,i)}}function yv(t,o){if(o.memoizedState===null&&(t=o.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{gi(t)}catch(i){$e(o,o.return,i)}}}function xv(t,o){if(o.memoizedState===null&&(t=o.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{gi(t)}catch(i){$e(o,o.return,i)}}function Vw(t){switch(t.tag){case 31:case 13:case 19:var o=t.stateNode;return o===null&&(o=t.stateNode=new pv),o;case 22:return t=t.stateNode,o=t._retryCache,o===null&&(o=t._retryCache=new pv),o;default:throw Error(a(435,t.tag))}}function wc(t,o){var i=Vw(t);o.forEach(function(l){if(!i.has(l)){i.add(l);var f=Jw.bind(null,t,l);l.then(f,f)}})}function Kt(t,o){var i=o.deletions;if(i!==null)for(var l=0;l<i.length;l++){var f=i[l],h=t,b=o,_=b;e:for(;_!==null;){switch(_.tag){case 27:if(xn(_.type)){at=_.stateNode,$t=!1;break e}break;case 5:at=_.stateNode,$t=!1;break e;case 3:case 4:at=_.stateNode.containerInfo,$t=!0;break e}_=_.return}if(at===null)throw Error(a(160));bv(h,b,f),at=null,$t=!1,h=f.alternate,h!==null&&(h.return=null),f.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)Sv(o,t),o=o.sibling}var Wo=null;function Sv(t,o){var i=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Kt(o,t),Zt(t),l&4&&(hn(3,t,t.return),El(3,t),hn(5,t,t.return));break;case 1:Kt(o,t),Zt(t),l&512&&(St||i===null||ur(i,i.return)),l&64&&jr&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(i=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=i===null?l:i.concat(l))));break;case 26:var f=Wo;if(Kt(o,t),Zt(t),l&512&&(St||i===null||ur(i,i.return)),l&4){var h=i!==null?i.memoizedState:null;if(l=t.memoizedState,i===null)if(l===null)if(t.stateNode===null){e:{l=t.type,i=t.memoizedProps,f=f.ownerDocument||f;t:switch(l){case"title":h=f.getElementsByTagName("title")[0],(!h||h[nl]||h[At]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=f.createElement(l),f.head.insertBefore(h,f.querySelector("head > title"))),qt(h,l,i),h[At]=t,Ct(h),l=h;break e;case"link":var b=S1("link","href",f).get(l+(i.href||""));if(b){for(var _=0;_<b.length;_++)if(h=b[_],h.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&h.getAttribute("rel")===(i.rel==null?null:i.rel)&&h.getAttribute("title")===(i.title==null?null:i.title)&&h.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){b.splice(_,1);break t}}h=f.createElement(l),qt(h,l,i),f.head.appendChild(h);break;case"meta":if(b=S1("meta","content",f).get(l+(i.content||""))){for(_=0;_<b.length;_++)if(h=b[_],h.getAttribute("content")===(i.content==null?null:""+i.content)&&h.getAttribute("name")===(i.name==null?null:i.name)&&h.getAttribute("property")===(i.property==null?null:i.property)&&h.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&h.getAttribute("charset")===(i.charSet==null?null:i.charSet)){b.splice(_,1);break t}}h=f.createElement(l),qt(h,l,i),f.head.appendChild(h);break;default:throw Error(a(468,l))}h[At]=t,Ct(h),l=h}t.stateNode=l}else w1(f,t.type,t.stateNode);else t.stateNode=x1(f,l,t.memoizedProps);else h!==l?(h===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):h.count--,l===null?w1(f,t.type,t.stateNode):x1(f,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Od(t,t.memoizedProps,i.memoizedProps)}break;case 27:Kt(o,t),Zt(t),l&512&&(St||i===null||ur(i,i.return)),i!==null&&l&4&&Od(t,t.memoizedProps,i.memoizedProps);break;case 5:if(Kt(o,t),Zt(t),l&512&&(St||i===null||ur(i,i.return)),t.flags&32){f=t.stateNode;try{qa(f,"")}catch(he){$e(t,t.return,he)}}l&4&&t.stateNode!=null&&(f=t.memoizedProps,Od(t,f,i!==null?i.memoizedProps:f)),l&1024&&(Fd=!0);break;case 6:if(Kt(o,t),Zt(t),l&4){if(t.stateNode===null)throw Error(a(162));l=t.memoizedProps,i=t.stateNode;try{i.nodeValue=l}catch(he){$e(t,t.return,he)}}break;case 3:if(Fc=null,f=Wo,Wo=Mc(o.containerInfo),Kt(o,t),Wo=f,Zt(t),l&4&&i!==null&&i.memoizedState.isDehydrated)try{gi(o.containerInfo)}catch(he){$e(t,t.return,he)}Fd&&(Fd=!1,wv(t));break;case 4:l=Wo,Wo=Mc(t.stateNode.containerInfo),Kt(o,t),Zt(t),Wo=l;break;case 12:Kt(o,t),Zt(t);break;case 31:Kt(o,t),Zt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,wc(t,l)));break;case 13:Kt(o,t),Zt(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Bc=so()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,wc(t,l)));break;case 22:f=t.memoizedState!==null;var R=i!==null&&i.memoizedState!==null,I=jr,Y=St;if(jr=I||f,St=Y||R,Kt(o,t),St=Y,jr=I,Zt(t),l&8192)e:for(o=t.stateNode,o._visibility=f?o._visibility&-2:o._visibility|1,f&&(i===null||R||jr||St||ca(t)),i=null,o=t;;){if(o.tag===5||o.tag===26){if(i===null){R=i=o;try{if(h=R.stateNode,f)b=h.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{_=R.stateNode;var K=R.memoizedProps.style,V=K!=null&&K.hasOwnProperty("display")?K.display:null;_.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(he){$e(R,R.return,he)}}}else if(o.tag===6){if(i===null){R=o;try{R.stateNode.nodeValue=f?"":R.memoizedProps}catch(he){$e(R,R.return,he)}}}else if(o.tag===18){if(i===null){R=o;try{var W=R.stateNode;f?f1(W,!0):f1(R.stateNode,!1)}catch(he){$e(R,R.return,he)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===t)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;i===o&&(i=null),o=o.return}i===o&&(i=null),o.sibling.return=o.return,o=o.sibling}l&4&&(l=t.updateQueue,l!==null&&(i=l.retryQueue,i!==null&&(l.retryQueue=null,wc(t,i))));break;case 19:Kt(o,t),Zt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,wc(t,l)));break;case 30:break;case 21:break;default:Kt(o,t),Zt(t)}}function Zt(t){var o=t.flags;if(o&2){try{for(var i,l=t.return;l!==null;){if(hv(l)){i=l;break}l=l.return}if(i==null)throw Error(a(160));switch(i.tag){case 27:var f=i.stateNode,h=Md(t);Sc(t,h,f);break;case 5:var b=i.stateNode;i.flags&32&&(qa(b,""),i.flags&=-33);var _=Md(t);Sc(t,_,b);break;case 3:case 4:var R=i.stateNode.containerInfo,I=Md(t);qd(t,I,R);break;default:throw Error(a(161))}}catch(Y){$e(t,t.return,Y)}t.flags&=-3}o&4096&&(t.flags&=-4097)}function wv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var o=t;wv(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),t=t.sibling}}function Ar(t,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)mv(t,o.alternate,o),o=o.sibling}function ca(t){for(t=t.child;t!==null;){var o=t;switch(o.tag){case 0:case 11:case 14:case 15:hn(4,o,o.return),ca(o);break;case 1:ur(o,o.return);var i=o.stateNode;typeof i.componentWillUnmount=="function"&&fv(o,o.return,i),ca(o);break;case 27:Ll(o.stateNode);case 26:case 5:ur(o,o.return),ca(o);break;case 22:o.memoizedState===null&&ca(o);break;case 30:ca(o);break;default:ca(o)}t=t.sibling}}function Dr(t,o,i){for(i=i&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var l=o.alternate,f=t,h=o,b=h.flags;switch(h.tag){case 0:case 11:case 15:Dr(f,h,i),El(4,h);break;case 1:if(Dr(f,h,i),l=h,f=l.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(I){$e(l,l.return,I)}if(l=h,f=l.updateQueue,f!==null){var _=l.stateNode;try{var R=f.shared.hiddenCallbacks;if(R!==null)for(f.shared.hiddenCallbacks=null,f=0;f<R.length;f++)Jp(R[f],_)}catch(I){$e(l,l.return,I)}}i&&b&64&&uv(h),jl(h,h.return);break;case 27:gv(h);case 26:case 5:Dr(f,h,i),i&&l===null&&b&4&&dv(h),jl(h,h.return);break;case 12:Dr(f,h,i);break;case 31:Dr(f,h,i),i&&b&4&&yv(f,h);break;case 13:Dr(f,h,i),i&&b&4&&xv(f,h);break;case 22:h.memoizedState===null&&Dr(f,h,i),jl(h,h.return);break;case 30:break;default:Dr(f,h,i)}o=o.sibling}}function Hd(t,o){var i=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),t=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(t=o.memoizedState.cachePool.pool),t!==i&&(t!=null&&t.refCount++,i!=null&&vl(i))}function Ld(t,o){t=null,o.alternate!==null&&(t=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==t&&(o.refCount++,t!=null&&vl(t))}function Qo(t,o,i,l){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)kv(t,o,i,l),o=o.sibling}function kv(t,o,i,l){var f=o.flags;switch(o.tag){case 0:case 11:case 15:Qo(t,o,i,l),f&2048&&El(9,o);break;case 1:Qo(t,o,i,l);break;case 3:Qo(t,o,i,l),f&2048&&(t=null,o.alternate!==null&&(t=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==t&&(o.refCount++,t!=null&&vl(t)));break;case 12:if(f&2048){Qo(t,o,i,l),t=o.stateNode;try{var h=o.memoizedProps,b=h.id,_=h.onPostCommit;typeof _=="function"&&_(b,o.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(R){$e(o,o.return,R)}}else Qo(t,o,i,l);break;case 31:Qo(t,o,i,l);break;case 13:Qo(t,o,i,l);break;case 23:break;case 22:h=o.stateNode,b=o.alternate,o.memoizedState!==null?h._visibility&2?Qo(t,o,i,l):Rl(t,o):h._visibility&2?Qo(t,o,i,l):(h._visibility|=2,ri(t,o,i,l,(o.subtreeFlags&10256)!==0||!1)),f&2048&&Hd(b,o);break;case 24:Qo(t,o,i,l),f&2048&&Ld(o.alternate,o);break;default:Qo(t,o,i,l)}}function ri(t,o,i,l,f){for(f=f&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var h=t,b=o,_=i,R=l,I=b.flags;switch(b.tag){case 0:case 11:case 15:ri(h,b,_,R,f),El(8,b);break;case 23:break;case 22:var Y=b.stateNode;b.memoizedState!==null?Y._visibility&2?ri(h,b,_,R,f):Rl(h,b):(Y._visibility|=2,ri(h,b,_,R,f)),f&&I&2048&&Hd(b.alternate,b);break;case 24:ri(h,b,_,R,f),f&&I&2048&&Ld(b.alternate,b);break;default:ri(h,b,_,R,f)}o=o.sibling}}function Rl(t,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var i=t,l=o,f=l.flags;switch(l.tag){case 22:Rl(i,l),f&2048&&Hd(l.alternate,l);break;case 24:Rl(i,l),f&2048&&Ld(l.alternate,l);break;default:Rl(i,l)}o=o.sibling}}var Al=8192;function ni(t,o,i){if(t.subtreeFlags&Al)for(t=t.child;t!==null;)Bv(t,o,i),t=t.sibling}function Bv(t,o,i){switch(t.tag){case 26:ni(t,o,i),t.flags&Al&&t.memoizedState!==null&&E3(i,Wo,t.memoizedState,t.memoizedProps);break;case 5:ni(t,o,i);break;case 3:case 4:var l=Wo;Wo=Mc(t.stateNode.containerInfo),ni(t,o,i),Wo=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=Al,Al=16777216,ni(t,o,i),Al=l):ni(t,o,i));break;default:ni(t,o,i)}}function _v(t){var o=t.alternate;if(o!==null&&(t=o.child,t!==null)){o.child=null;do o=t.sibling,t.sibling=null,t=o;while(t!==null)}}function Dl(t){var o=t.deletions;if((t.flags&16)!==0){if(o!==null)for(var i=0;i<o.length;i++){var l=o[i];Et=l,Tv(l,t)}_v(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)zv(t),t=t.sibling}function zv(t){switch(t.tag){case 0:case 11:case 15:Dl(t),t.flags&2048&&hn(9,t,t.return);break;case 3:Dl(t);break;case 12:Dl(t);break;case 22:var o=t.stateNode;t.memoizedState!==null&&o._visibility&2&&(t.return===null||t.return.tag!==13)?(o._visibility&=-3,kc(t)):Dl(t);break;default:Dl(t)}}function kc(t){var o=t.deletions;if((t.flags&16)!==0){if(o!==null)for(var i=0;i<o.length;i++){var l=o[i];Et=l,Tv(l,t)}_v(t)}for(t=t.child;t!==null;){switch(o=t,o.tag){case 0:case 11:case 15:hn(8,o,o.return),kc(o);break;case 22:i=o.stateNode,i._visibility&2&&(i._visibility&=-3,kc(o));break;default:kc(o)}t=t.sibling}}function Tv(t,o){for(;Et!==null;){var i=Et;switch(i.tag){case 0:case 11:case 15:hn(8,i,o);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var l=i.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:vl(i.memoizedState.cache)}if(l=i.child,l!==null)l.return=i,Et=l;else e:for(i=t;Et!==null;){l=Et;var f=l.sibling,h=l.return;if(vv(l),l===i){Et=null;break e}if(f!==null){f.return=h,Et=f;break e}Et=h}}}var Gw={getCacheForType:function(t){var o=Ot(bt),i=o.data.get(t);return i===void 0&&(i=t(),o.data.set(t,i)),i},cacheSignal:function(){return Ot(bt).controller.signal}},Xw=typeof WeakMap=="function"?WeakMap:Map,Ge=0,tt=null,Ae=null,Me=0,Ye=0,mo=null,gn=!1,ai=!1,Pd=!1,Or=0,ct=0,pn=0,ua=0,Id=0,vo=0,ii=0,Ol=null,Jt=null,Ud=!1,Bc=0,Nv=0,_c=1/0,zc=null,mn=null,_t=0,vn=null,li=null,Mr=0,Vd=0,Gd=null,Cv=null,Ml=0,Xd=null;function bo(){return(Ge&2)!==0&&Me!==0?Me&-Me:U.T!==null?Zd():Gg()}function Ev(){if(vo===0)if((Me&536870912)===0||Fe){var t=Ds;Ds<<=1,(Ds&3932160)===0&&(Ds=262144),vo=t}else vo=536870912;return t=go.current,t!==null&&(t.flags|=32),vo}function eo(t,o,i){(t===tt&&(Ye===2||Ye===9)||t.cancelPendingCommit!==null)&&(si(t,0),bn(t,Me,vo,!1)),rl(t,i),((Ge&2)===0||t!==tt)&&(t===tt&&((Ge&2)===0&&(ua|=i),ct===4&&bn(t,Me,vo,!1)),fr(t))}function jv(t,o,i){if((Ge&6)!==0)throw Error(a(327));var l=!i&&(o&127)===0&&(o&t.expiredLanes)===0||ol(t,o),f=l?Yw(t,o):Qd(t,o,!0),h=l;do{if(f===0){ai&&!l&&bn(t,o,0,!1);break}else{if(i=t.current.alternate,h&&!Ww(i)){f=Qd(t,o,!1),h=!1;continue}if(f===2){if(h=o,t.errorRecoveryDisabledLanes&h)var b=0;else b=t.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){o=b;e:{var _=t;f=Ol;var R=_.current.memoizedState.isDehydrated;if(R&&(si(_,b).flags|=256),b=Qd(_,b,!1),b!==2){if(Pd&&!R){_.errorRecoveryDisabledLanes|=h,ua|=h,f=4;break e}h=Jt,Jt=f,h!==null&&(Jt===null?Jt=h:Jt.push.apply(Jt,h))}f=b}if(h=!1,f!==2)continue}}if(f===1){si(t,0),bn(t,o,0,!0);break}e:{switch(l=t,h=f,h){case 0:case 1:throw Error(a(345));case 4:if((o&4194048)!==o)break;case 6:bn(l,o,vo,!gn);break e;case 2:Jt=null;break;case 3:case 5:break;default:throw Error(a(329))}if((o&62914560)===o&&(f=Bc+300-so(),10<f)){if(bn(l,o,vo,!gn),Ms(l,0,!0)!==0)break e;Mr=o,l.timeoutHandle=s1(Rv.bind(null,l,i,Jt,zc,Ud,o,vo,ua,ii,gn,h,"Throttled",-0,0),f);break e}Rv(l,i,Jt,zc,Ud,o,vo,ua,ii,gn,h,null,-0,0)}}break}while(!0);fr(t)}function Rv(t,o,i,l,f,h,b,_,R,I,Y,K,V,W){if(t.timeoutHandle=-1,K=o.subtreeFlags,K&8192||(K&16785408)===16785408){K={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Sr},Bv(o,h,K);var he=(h&62914560)===h?Bc-so():(h&4194048)===h?Nv-so():0;if(he=j3(K,he),he!==null){Mr=h,t.cancelPendingCommit=he(Lv.bind(null,t,o,h,i,l,f,b,_,R,Y,K,null,V,W)),bn(t,h,b,!I);return}}Lv(t,o,h,i,l,f,b,_,R)}function Ww(t){for(var o=t;;){var i=o.tag;if((i===0||i===11||i===15)&&o.flags&16384&&(i=o.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var l=0;l<i.length;l++){var f=i[l],h=f.getSnapshot;f=f.value;try{if(!fo(h(),f))return!1}catch{return!1}}if(i=o.child,o.subtreeFlags&16384&&i!==null)i.return=o,o=i;else{if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function bn(t,o,i,l){o&=~Id,o&=~ua,t.suspendedLanes|=o,t.pingedLanes&=~o,l&&(t.warmLanes|=o),l=t.expirationTimes;for(var f=o;0<f;){var h=31-uo(f),b=1<<h;l[h]=-1,f&=~b}i!==0&&Ig(t,i,o)}function Tc(){return(Ge&6)===0?(ql(0),!1):!0}function Wd(){if(Ae!==null){if(Ye===0)var t=Ae.return;else t=Ae,_r=ta=null,cd(t),Za=null,yl=0,t=Ae;for(;t!==null;)cv(t.alternate,t),t=t.return;Ae=null}}function si(t,o){var i=t.timeoutHandle;i!==-1&&(t.timeoutHandle=-1,h3(i)),i=t.cancelPendingCommit,i!==null&&(t.cancelPendingCommit=null,i()),Mr=0,Wd(),tt=t,Ae=i=kr(t.current,null),Me=o,Ye=0,mo=null,gn=!1,ai=ol(t,o),Pd=!1,ii=vo=Id=ua=pn=ct=0,Jt=Ol=null,Ud=!1,(o&8)!==0&&(o|=o&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=o;0<l;){var f=31-uo(l),h=1<<f;o|=t[f],l&=~h}return Or=o,Qs(),i}function Av(t,o){Ee=null,U.H=Tl,o===Ka||o===oc?(o=Yp(),Ye=3):o===Kf?(o=Yp(),Ye=4):Ye=o===_d?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,mo=o,Ae===null&&(ct=1,mc(t,Eo(o,t.current)))}function Dv(){var t=go.current;return t===null?!0:(Me&4194048)===Me?Do===null:(Me&62914560)===Me||(Me&536870912)!==0?t===Do:!1}function Ov(){var t=U.H;return U.H=Tl,t===null?Tl:t}function Mv(){var t=U.A;return U.A=Gw,t}function Nc(){ct=4,gn||(Me&4194048)!==Me&&go.current!==null||(ai=!0),(pn&134217727)===0&&(ua&134217727)===0||tt===null||bn(tt,Me,vo,!1)}function Qd(t,o,i){var l=Ge;Ge|=2;var f=Ov(),h=Mv();(tt!==t||Me!==o)&&(zc=null,si(t,o)),o=!1;var b=ct;e:do try{if(Ye!==0&&Ae!==null){var _=Ae,R=mo;switch(Ye){case 8:Wd(),b=6;break e;case 3:case 2:case 9:case 6:go.current===null&&(o=!0);var I=Ye;if(Ye=0,mo=null,ci(t,_,R,I),i&&ai){b=0;break e}break;default:I=Ye,Ye=0,mo=null,ci(t,_,R,I)}}Qw(),b=ct;break}catch(Y){Av(t,Y)}while(!0);return o&&t.shellSuspendCounter++,_r=ta=null,Ge=l,U.H=f,U.A=h,Ae===null&&(tt=null,Me=0,Qs()),b}function Qw(){for(;Ae!==null;)qv(Ae)}function Yw(t,o){var i=Ge;Ge|=2;var l=Ov(),f=Mv();tt!==t||Me!==o?(zc=null,_c=so()+500,si(t,o)):ai=ol(t,o);e:do try{if(Ye!==0&&Ae!==null){o=Ae;var h=mo;t:switch(Ye){case 1:Ye=0,mo=null,ci(t,o,h,1);break;case 2:case 9:if(Wp(h)){Ye=0,mo=null,Fv(o);break}o=function(){Ye!==2&&Ye!==9||tt!==t||(Ye=7),fr(t)},h.then(o,o);break e;case 3:Ye=7;break e;case 4:Ye=5;break e;case 7:Wp(h)?(Ye=0,mo=null,Fv(o)):(Ye=0,mo=null,ci(t,o,h,7));break;case 5:var b=null;switch(Ae.tag){case 26:b=Ae.memoizedState;case 5:case 27:var _=Ae;if(b?k1(b):_.stateNode.complete){Ye=0,mo=null;var R=_.sibling;if(R!==null)Ae=R;else{var I=_.return;I!==null?(Ae=I,Cc(I)):Ae=null}break t}}Ye=0,mo=null,ci(t,o,h,5);break;case 6:Ye=0,mo=null,ci(t,o,h,6);break;case 8:Wd(),ct=6;break e;default:throw Error(a(462))}}$w();break}catch(Y){Av(t,Y)}while(!0);return _r=ta=null,U.H=l,U.A=f,Ge=i,Ae!==null?0:(tt=null,Me=0,Qs(),ct)}function $w(){for(;Ae!==null&&!y5();)qv(Ae)}function qv(t){var o=lv(t.alternate,t,Or);t.memoizedProps=t.pendingProps,o===null?Cc(t):Ae=o}function Fv(t){var o=t,i=o.alternate;switch(o.tag){case 15:case 0:o=tv(i,o,o.pendingProps,o.type,void 0,Me);break;case 11:o=tv(i,o,o.pendingProps,o.type.render,o.ref,Me);break;case 5:cd(o);default:cv(i,o),o=Ae=Mp(o,Or),o=lv(i,o,Or)}t.memoizedProps=t.pendingProps,o===null?Cc(t):Ae=o}function ci(t,o,i,l){_r=ta=null,cd(o),Za=null,yl=0;var f=o.return;try{if(Fw(t,f,o,i,Me)){ct=1,mc(t,Eo(i,t.current)),Ae=null;return}}catch(h){if(f!==null)throw Ae=f,h;ct=1,mc(t,Eo(i,t.current)),Ae=null;return}o.flags&32768?(Fe||l===1?t=!0:ai||(Me&536870912)!==0?t=!1:(gn=t=!0,(l===2||l===9||l===3||l===6)&&(l=go.current,l!==null&&l.tag===13&&(l.flags|=16384))),Hv(o,t)):Cc(o)}function Cc(t){var o=t;do{if((o.flags&32768)!==0){Hv(o,gn);return}t=o.return;var i=Pw(o.alternate,o,Or);if(i!==null){Ae=i;return}if(o=o.sibling,o!==null){Ae=o;return}Ae=o=t}while(o!==null);ct===0&&(ct=5)}function Hv(t,o){do{var i=Iw(t.alternate,t);if(i!==null){i.flags&=32767,Ae=i;return}if(i=t.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!o&&(t=t.sibling,t!==null)){Ae=t;return}Ae=t=i}while(t!==null);ct=6,Ae=null}function Lv(t,o,i,l,f,h,b,_,R){t.cancelPendingCommit=null;do Ec();while(_t!==0);if((Ge&6)!==0)throw Error(a(327));if(o!==null){if(o===t.current)throw Error(a(177));if(h=o.lanes|o.childLanes,h|=Mf,C5(t,i,h,b,_,R),t===tt&&(Ae=tt=null,Me=0),li=o,vn=t,Mr=i,Vd=h,Gd=f,Cv=l,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,e3(Rs,function(){return Gv(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||l){l=U.T,U.T=null,f=J.p,J.p=2,b=Ge,Ge|=4;try{Uw(t,o,i)}finally{Ge=b,J.p=f,U.T=l}}_t=1,Pv(),Iv(),Uv()}}function Pv(){if(_t===1){_t=0;var t=vn,o=li,i=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||i){i=U.T,U.T=null;var l=J.p;J.p=2;var f=Ge;Ge|=4;try{Sv(o,t);var h=ih,b=Tp(t.containerInfo),_=h.focusedElem,R=h.selectionRange;if(b!==_&&_&&_.ownerDocument&&zp(_.ownerDocument.documentElement,_)){if(R!==null&&jf(_)){var I=R.start,Y=R.end;if(Y===void 0&&(Y=I),"selectionStart"in _)_.selectionStart=I,_.selectionEnd=Math.min(Y,_.value.length);else{var K=_.ownerDocument||document,V=K&&K.defaultView||window;if(V.getSelection){var W=V.getSelection(),he=_.textContent.length,we=Math.min(R.start,he),Je=R.end===void 0?we:Math.min(R.end,he);!W.extend&&we>Je&&(b=Je,Je=we,we=b);var F=_p(_,we),O=_p(_,Je);if(F&&O&&(W.rangeCount!==1||W.anchorNode!==F.node||W.anchorOffset!==F.offset||W.focusNode!==O.node||W.focusOffset!==O.offset)){var P=K.createRange();P.setStart(F.node,F.offset),W.removeAllRanges(),we>Je?(W.addRange(P),W.extend(O.node,O.offset)):(P.setEnd(O.node,O.offset),W.addRange(P))}}}}for(K=[],W=_;W=W.parentNode;)W.nodeType===1&&K.push({element:W,left:W.scrollLeft,top:W.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<K.length;_++){var $=K[_];$.element.scrollLeft=$.left,$.element.scrollTop=$.top}}Ic=!!ah,ih=ah=null}finally{Ge=f,J.p=l,U.T=i}}t.current=o,_t=2}}function Iv(){if(_t===2){_t=0;var t=vn,o=li,i=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||i){i=U.T,U.T=null;var l=J.p;J.p=2;var f=Ge;Ge|=4;try{mv(t,o.alternate,o)}finally{Ge=f,J.p=l,U.T=i}}_t=3}}function Uv(){if(_t===4||_t===3){_t=0,x5();var t=vn,o=li,i=Mr,l=Cv;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?_t=5:(_t=0,li=vn=null,Vv(t,t.pendingLanes));var f=t.pendingLanes;if(f===0&&(mn=null),df(i),o=o.stateNode,co&&typeof co.onCommitFiberRoot=="function")try{co.onCommitFiberRoot(tl,o,void 0,(o.current.flags&128)===128)}catch{}if(l!==null){o=U.T,f=J.p,J.p=2,U.T=null;try{for(var h=t.onRecoverableError,b=0;b<l.length;b++){var _=l[b];h(_.value,{componentStack:_.stack})}}finally{U.T=o,J.p=f}}(Mr&3)!==0&&Ec(),fr(t),f=t.pendingLanes,(i&261930)!==0&&(f&42)!==0?t===Xd?Ml++:(Ml=0,Xd=t):Ml=0,ql(0)}}function Vv(t,o){(t.pooledCacheLanes&=o)===0&&(o=t.pooledCache,o!=null&&(t.pooledCache=null,vl(o)))}function Ec(){return Pv(),Iv(),Uv(),Gv()}function Gv(){if(_t!==5)return!1;var t=vn,o=Vd;Vd=0;var i=df(Mr),l=U.T,f=J.p;try{J.p=32>i?32:i,U.T=null,i=Gd,Gd=null;var h=vn,b=Mr;if(_t=0,li=vn=null,Mr=0,(Ge&6)!==0)throw Error(a(331));var _=Ge;if(Ge|=4,zv(h.current),kv(h,h.current,b,i),Ge=_,ql(0,!1),co&&typeof co.onPostCommitFiberRoot=="function")try{co.onPostCommitFiberRoot(tl,h)}catch{}return!0}finally{J.p=f,U.T=l,Vv(t,o)}}function Xv(t,o,i){o=Eo(i,o),o=Bd(t.stateNode,o,2),t=un(t,o,2),t!==null&&(rl(t,2),fr(t))}function $e(t,o,i){if(t.tag===3)Xv(t,t,i);else for(;o!==null;){if(o.tag===3){Xv(o,t,i);break}else if(o.tag===1){var l=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(mn===null||!mn.has(l))){t=Eo(i,t),i=Wm(2),l=un(o,i,2),l!==null&&(Qm(i,l,o,t),rl(l,2),fr(l));break}}o=o.return}}function Yd(t,o,i){var l=t.pingCache;if(l===null){l=t.pingCache=new Xw;var f=new Set;l.set(o,f)}else f=l.get(o),f===void 0&&(f=new Set,l.set(o,f));f.has(i)||(Pd=!0,f.add(i),t=Kw.bind(null,t,o,i),o.then(t,t))}function Kw(t,o,i){var l=t.pingCache;l!==null&&l.delete(o),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,tt===t&&(Me&i)===i&&(ct===4||ct===3&&(Me&62914560)===Me&&300>so()-Bc?(Ge&2)===0&&si(t,0):Id|=i,ii===Me&&(ii=0)),fr(t)}function Wv(t,o){o===0&&(o=Pg()),t=Zn(t,o),t!==null&&(rl(t,o),fr(t))}function Zw(t){var o=t.memoizedState,i=0;o!==null&&(i=o.retryLane),Wv(t,i)}function Jw(t,o){var i=0;switch(t.tag){case 31:case 13:var l=t.stateNode,f=t.memoizedState;f!==null&&(i=f.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(a(314))}l!==null&&l.delete(o),Wv(t,i)}function e3(t,o){return sf(t,o)}var jc=null,ui=null,$d=!1,Rc=!1,Kd=!1,yn=0;function fr(t){t!==ui&&t.next===null&&(ui===null?jc=ui=t:ui=ui.next=t),Rc=!0,$d||($d=!0,o3())}function ql(t,o){if(!Kd&&Rc){Kd=!0;do for(var i=!1,l=jc;l!==null;){if(t!==0){var f=l.pendingLanes;if(f===0)var h=0;else{var b=l.suspendedLanes,_=l.pingedLanes;h=(1<<31-uo(42|t)+1)-1,h&=f&~(b&~_),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(i=!0,Kv(l,h))}else h=Me,h=Ms(l,l===tt?h:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(h&3)===0||ol(l,h)||(i=!0,Kv(l,h));l=l.next}while(i);Kd=!1}}function t3(){Qv()}function Qv(){Rc=$d=!1;var t=0;yn!==0&&d3()&&(t=yn);for(var o=so(),i=null,l=jc;l!==null;){var f=l.next,h=Yv(l,o);h===0?(l.next=null,i===null?jc=f:i.next=f,f===null&&(ui=i)):(i=l,(t!==0||(h&3)!==0)&&(Rc=!0)),l=f}_t!==0&&_t!==5||ql(t),yn!==0&&(yn=0)}function Yv(t,o){for(var i=t.suspendedLanes,l=t.pingedLanes,f=t.expirationTimes,h=t.pendingLanes&-62914561;0<h;){var b=31-uo(h),_=1<<b,R=f[b];R===-1?((_&i)===0||(_&l)!==0)&&(f[b]=N5(_,o)):R<=o&&(t.expiredLanes|=_),h&=~_}if(o=tt,i=Me,i=Ms(t,t===o?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,i===0||t===o&&(Ye===2||Ye===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&cf(l),t.callbackNode=null,t.callbackPriority=0;if((i&3)===0||ol(t,i)){if(o=i&-i,o===t.callbackPriority)return o;switch(l!==null&&cf(l),df(i)){case 2:case 8:i=Hg;break;case 32:i=Rs;break;case 268435456:i=Lg;break;default:i=Rs}return l=$v.bind(null,t),i=sf(i,l),t.callbackPriority=o,t.callbackNode=i,o}return l!==null&&l!==null&&cf(l),t.callbackPriority=2,t.callbackNode=null,2}function $v(t,o){if(_t!==0&&_t!==5)return t.callbackNode=null,t.callbackPriority=0,null;var i=t.callbackNode;if(Ec()&&t.callbackNode!==i)return null;var l=Me;return l=Ms(t,t===tt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(jv(t,l,o),Yv(t,so()),t.callbackNode!=null&&t.callbackNode===i?$v.bind(null,t):null)}function Kv(t,o){if(Ec())return null;jv(t,o,!0)}function o3(){g3(function(){(Ge&6)!==0?sf(Fg,t3):Qv()})}function Zd(){if(yn===0){var t=Ya;t===0&&(t=As,As<<=1,(As&261888)===0&&(As=256)),yn=t}return yn}function Zv(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ls(""+t)}function Jv(t,o){var i=o.ownerDocument.createElement("input");return i.name=o.name,i.value=o.value,t.id&&i.setAttribute("form",t.id),o.parentNode.insertBefore(i,o),t=new FormData(t),i.parentNode.removeChild(i),t}function r3(t,o,i,l,f){if(o==="submit"&&i&&i.stateNode===f){var h=Zv((f[Qt]||null).action),b=l.submitter;b&&(o=(o=b[Qt]||null)?Zv(o.formAction):b.getAttribute("formAction"),o!==null&&(h=o,b=null));var _=new Vs("action","action",null,l,f);t.push({event:_,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(yn!==0){var R=b?Jv(f,b):new FormData(f);bd(i,{pending:!0,data:R,method:f.method,action:h},null,R)}}else typeof h=="function"&&(_.preventDefault(),R=b?Jv(f,b):new FormData(f),bd(i,{pending:!0,data:R,method:f.method,action:h},h,R))},currentTarget:f}]})}}for(var Jd=0;Jd<Of.length;Jd++){var eh=Of[Jd],n3=eh.toLowerCase(),a3=eh[0].toUpperCase()+eh.slice(1);Xo(n3,"on"+a3)}Xo(Ep,"onAnimationEnd"),Xo(jp,"onAnimationIteration"),Xo(Rp,"onAnimationStart"),Xo("dblclick","onDoubleClick"),Xo("focusin","onFocus"),Xo("focusout","onBlur"),Xo(Sw,"onTransitionRun"),Xo(ww,"onTransitionStart"),Xo(kw,"onTransitionCancel"),Xo(Ap,"onTransitionEnd"),Oa("onMouseEnter",["mouseout","mouseover"]),Oa("onMouseLeave",["mouseout","mouseover"]),Oa("onPointerEnter",["pointerout","pointerover"]),Oa("onPointerLeave",["pointerout","pointerover"]),Qn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Qn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Qn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Qn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Qn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Qn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fl="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(" "),i3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Fl));function e1(t,o){o=(o&4)!==0;for(var i=0;i<t.length;i++){var l=t[i],f=l.event;l=l.listeners;e:{var h=void 0;if(o)for(var b=l.length-1;0<=b;b--){var _=l[b],R=_.instance,I=_.currentTarget;if(_=_.listener,R!==h&&f.isPropagationStopped())break e;h=_,f.currentTarget=I;try{h(f)}catch(Y){Ws(Y)}f.currentTarget=null,h=R}else for(b=0;b<l.length;b++){if(_=l[b],R=_.instance,I=_.currentTarget,_=_.listener,R!==h&&f.isPropagationStopped())break e;h=_,f.currentTarget=I;try{h(f)}catch(Y){Ws(Y)}f.currentTarget=null,h=R}}}}function De(t,o){var i=o[hf];i===void 0&&(i=o[hf]=new Set);var l=t+"__bubble";i.has(l)||(t1(o,t,2,!1),i.add(l))}function th(t,o,i){var l=0;o&&(l|=4),t1(i,t,l,o)}var Ac="_reactListening"+Math.random().toString(36).slice(2);function oh(t){if(!t[Ac]){t[Ac]=!0,Qg.forEach(function(i){i!=="selectionchange"&&(i3.has(i)||th(i,!1,t),th(i,!0,t))});var o=t.nodeType===9?t:t.ownerDocument;o===null||o[Ac]||(o[Ac]=!0,th("selectionchange",!1,o))}}function t1(t,o,i,l){switch(E1(o)){case 2:var f=D3;break;case 8:f=O3;break;default:f=vh}i=f.bind(null,o,i,t),f=void 0,!wf||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(f=!0),l?f!==void 0?t.addEventListener(o,i,{capture:!0,passive:f}):t.addEventListener(o,i,!0):f!==void 0?t.addEventListener(o,i,{passive:f}):t.addEventListener(o,i,!1)}function rh(t,o,i,l,f){var h=l;if((o&1)===0&&(o&2)===0&&l!==null)e:for(;;){if(l===null)return;var b=l.tag;if(b===3||b===4){var _=l.stateNode.containerInfo;if(_===f)break;if(b===4)for(b=l.return;b!==null;){var R=b.tag;if((R===3||R===4)&&b.stateNode.containerInfo===f)return;b=b.return}for(;_!==null;){if(b=Ra(_),b===null)return;if(R=b.tag,R===5||R===6||R===26||R===27){l=h=b;continue e}_=_.parentNode}}l=l.return}ip(function(){var I=h,Y=xf(i),K=[];e:{var V=Dp.get(t);if(V!==void 0){var W=Vs,he=t;switch(t){case"keypress":if(Is(i)===0)break e;case"keydown":case"keyup":W=J5;break;case"focusin":he="focus",W=zf;break;case"focusout":he="blur",W=zf;break;case"beforeblur":case"afterblur":W=zf;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":W=cp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":W=P5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":W=ow;break;case Ep:case jp:case Rp:W=V5;break;case Ap:W=nw;break;case"scroll":case"scrollend":W=H5;break;case"wheel":W=iw;break;case"copy":case"cut":case"paste":W=X5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":W=fp;break;case"toggle":case"beforetoggle":W=sw}var we=(o&4)!==0,Je=!we&&(t==="scroll"||t==="scrollend"),F=we?V!==null?V+"Capture":null:V;we=[];for(var O=I,P;O!==null;){var $=O;if(P=$.stateNode,$=$.tag,$!==5&&$!==26&&$!==27||P===null||F===null||($=il(O,F),$!=null&&we.push(Hl(O,$,P))),Je)break;O=O.return}0<we.length&&(V=new W(V,he,null,i,Y),K.push({event:V,listeners:we}))}}if((o&7)===0){e:{if(V=t==="mouseover"||t==="pointerover",W=t==="mouseout"||t==="pointerout",V&&i!==yf&&(he=i.relatedTarget||i.fromElement)&&(Ra(he)||he[ja]))break e;if((W||V)&&(V=Y.window===Y?Y:(V=Y.ownerDocument)?V.defaultView||V.parentWindow:window,W?(he=i.relatedTarget||i.toElement,W=I,he=he?Ra(he):null,he!==null&&(Je=c(he),we=he.tag,he!==Je||we!==5&&we!==27&&we!==6)&&(he=null)):(W=null,he=I),W!==he)){if(we=cp,$="onMouseLeave",F="onMouseEnter",O="mouse",(t==="pointerout"||t==="pointerover")&&(we=fp,$="onPointerLeave",F="onPointerEnter",O="pointer"),Je=W==null?V:al(W),P=he==null?V:al(he),V=new we($,O+"leave",W,i,Y),V.target=Je,V.relatedTarget=P,$=null,Ra(Y)===I&&(we=new we(F,O+"enter",he,i,Y),we.target=P,we.relatedTarget=Je,$=we),Je=$,W&&he)t:{for(we=l3,F=W,O=he,P=0,$=F;$;$=we($))P++;$=0;for(var ye=O;ye;ye=we(ye))$++;for(;0<P-$;)F=we(F),P--;for(;0<$-P;)O=we(O),$--;for(;P--;){if(F===O||O!==null&&F===O.alternate){we=F;break t}F=we(F),O=we(O)}we=null}else we=null;W!==null&&o1(K,V,W,we,!1),he!==null&&Je!==null&&o1(K,Je,he,we,!0)}}e:{if(V=I?al(I):window,W=V.nodeName&&V.nodeName.toLowerCase(),W==="select"||W==="input"&&V.type==="file")var Pe=yp;else if(vp(V))if(xp)Pe=bw;else{Pe=mw;var me=pw}else W=V.nodeName,!W||W.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?I&&bf(I.elementType)&&(Pe=yp):Pe=vw;if(Pe&&(Pe=Pe(t,I))){bp(K,Pe,i,Y);break e}me&&me(t,V,I),t==="focusout"&&I&&V.type==="number"&&I.memoizedProps.value!=null&&vf(V,"number",V.value)}switch(me=I?al(I):window,t){case"focusin":(vp(me)||me.contentEditable==="true")&&(Pa=me,Rf=I,gl=null);break;case"focusout":gl=Rf=Pa=null;break;case"mousedown":Af=!0;break;case"contextmenu":case"mouseup":case"dragend":Af=!1,Np(K,i,Y);break;case"selectionchange":if(xw)break;case"keydown":case"keyup":Np(K,i,Y)}var je;if(Nf)e:{switch(t){case"compositionstart":var qe="onCompositionStart";break e;case"compositionend":qe="onCompositionEnd";break e;case"compositionupdate":qe="onCompositionUpdate";break e}qe=void 0}else La?pp(t,i)&&(qe="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(qe="onCompositionStart");qe&&(dp&&i.locale!=="ko"&&(La||qe!=="onCompositionStart"?qe==="onCompositionEnd"&&La&&(je=lp()):(on=Y,kf="value"in on?on.value:on.textContent,La=!0)),me=Dc(I,qe),0<me.length&&(qe=new up(qe,t,null,i,Y),K.push({event:qe,listeners:me}),je?qe.data=je:(je=mp(i),je!==null&&(qe.data=je)))),(je=uw?fw(t,i):dw(t,i))&&(qe=Dc(I,"onBeforeInput"),0<qe.length&&(me=new up("onBeforeInput","beforeinput",null,i,Y),K.push({event:me,listeners:qe}),me.data=je)),r3(K,t,I,i,Y)}e1(K,o)})}function Hl(t,o,i){return{instance:t,listener:o,currentTarget:i}}function Dc(t,o){for(var i=o+"Capture",l=[];t!==null;){var f=t,h=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||h===null||(f=il(t,i),f!=null&&l.unshift(Hl(t,f,h)),f=il(t,o),f!=null&&l.push(Hl(t,f,h))),t.tag===3)return l;t=t.return}return[]}function l3(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function o1(t,o,i,l,f){for(var h=o._reactName,b=[];i!==null&&i!==l;){var _=i,R=_.alternate,I=_.stateNode;if(_=_.tag,R!==null&&R===l)break;_!==5&&_!==26&&_!==27||I===null||(R=I,f?(I=il(i,h),I!=null&&b.unshift(Hl(i,I,R))):f||(I=il(i,h),I!=null&&b.push(Hl(i,I,R)))),i=i.return}b.length!==0&&t.push({event:o,listeners:b})}var s3=/\r\n?/g,c3=/\u0000|\uFFFD/g;function r1(t){return(typeof t=="string"?t:""+t).replace(s3,`
49
+ `).replace(c3,"")}function n1(t,o){return o=r1(o),r1(t)===o}function Ze(t,o,i,l,f,h){switch(i){case"children":typeof l=="string"?o==="body"||o==="textarea"&&l===""||qa(t,l):(typeof l=="number"||typeof l=="bigint")&&o!=="body"&&qa(t,""+l);break;case"className":Fs(t,"class",l);break;case"tabIndex":Fs(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Fs(t,i,l);break;case"style":np(t,l,h);break;case"data":if(o!=="object"){Fs(t,"data",l);break}case"src":case"href":if(l===""&&(o!=="a"||i!=="href")){t.removeAttribute(i);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(i);break}l=Ls(""+l),t.setAttribute(i,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(i==="formAction"?(o!=="input"&&Ze(t,o,"name",f.name,f,null),Ze(t,o,"formEncType",f.formEncType,f,null),Ze(t,o,"formMethod",f.formMethod,f,null),Ze(t,o,"formTarget",f.formTarget,f,null)):(Ze(t,o,"encType",f.encType,f,null),Ze(t,o,"method",f.method,f,null),Ze(t,o,"target",f.target,f,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(i);break}l=Ls(""+l),t.setAttribute(i,l);break;case"onClick":l!=null&&(t.onclick=Sr);break;case"onScroll":l!=null&&De("scroll",t);break;case"onScrollEnd":l!=null&&De("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(a(61));if(i=l.__html,i!=null){if(f.children!=null)throw Error(a(60));t.innerHTML=i}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}i=Ls(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(i,""+l):t.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(i,""):t.removeAttribute(i);break;case"capture":case"download":l===!0?t.setAttribute(i,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(i,l):t.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(i,l):t.removeAttribute(i);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(i):t.setAttribute(i,l);break;case"popover":De("beforetoggle",t),De("toggle",t),qs(t,"popover",l);break;case"xlinkActuate":xr(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":xr(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":xr(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":xr(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":xr(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":xr(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":xr(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":xr(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":xr(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":qs(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=q5.get(i)||i,qs(t,i,l))}}function nh(t,o,i,l,f,h){switch(i){case"style":np(t,l,h);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(a(61));if(i=l.__html,i!=null){if(f.children!=null)throw Error(a(60));t.innerHTML=i}}break;case"children":typeof l=="string"?qa(t,l):(typeof l=="number"||typeof l=="bigint")&&qa(t,""+l);break;case"onScroll":l!=null&&De("scroll",t);break;case"onScrollEnd":l!=null&&De("scrollend",t);break;case"onClick":l!=null&&(t.onclick=Sr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Yg.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(f=i.endsWith("Capture"),o=i.slice(2,f?i.length-7:void 0),h=t[Qt]||null,h=h!=null?h[i]:null,typeof h=="function"&&t.removeEventListener(o,h,f),typeof l=="function")){typeof h!="function"&&h!==null&&(i in t?t[i]=null:t.hasAttribute(i)&&t.removeAttribute(i)),t.addEventListener(o,l,f);break e}i in t?t[i]=l:l===!0?t.setAttribute(i,""):qs(t,i,l)}}}function qt(t,o,i){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":De("error",t),De("load",t);var l=!1,f=!1,h;for(h in i)if(i.hasOwnProperty(h)){var b=i[h];if(b!=null)switch(h){case"src":l=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,o));default:Ze(t,o,h,b,i,null)}}f&&Ze(t,o,"srcSet",i.srcSet,i,null),l&&Ze(t,o,"src",i.src,i,null);return;case"input":De("invalid",t);var _=h=b=f=null,R=null,I=null;for(l in i)if(i.hasOwnProperty(l)){var Y=i[l];if(Y!=null)switch(l){case"name":f=Y;break;case"type":b=Y;break;case"checked":R=Y;break;case"defaultChecked":I=Y;break;case"value":h=Y;break;case"defaultValue":_=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(a(137,o));break;default:Ze(t,o,l,Y,i,null)}}ep(t,h,_,R,I,b,f,!1);return;case"select":De("invalid",t),l=b=h=null;for(f in i)if(i.hasOwnProperty(f)&&(_=i[f],_!=null))switch(f){case"value":h=_;break;case"defaultValue":b=_;break;case"multiple":l=_;default:Ze(t,o,f,_,i,null)}o=h,i=b,t.multiple=!!l,o!=null?Ma(t,!!l,o,!1):i!=null&&Ma(t,!!l,i,!0);return;case"textarea":De("invalid",t),h=f=l=null;for(b in i)if(i.hasOwnProperty(b)&&(_=i[b],_!=null))switch(b){case"value":l=_;break;case"defaultValue":f=_;break;case"children":h=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(a(91));break;default:Ze(t,o,b,_,i,null)}op(t,l,f,h);return;case"option":for(R in i)if(i.hasOwnProperty(R)&&(l=i[R],l!=null))switch(R){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ze(t,o,R,l,i,null)}return;case"dialog":De("beforetoggle",t),De("toggle",t),De("cancel",t),De("close",t);break;case"iframe":case"object":De("load",t);break;case"video":case"audio":for(l=0;l<Fl.length;l++)De(Fl[l],t);break;case"image":De("error",t),De("load",t);break;case"details":De("toggle",t);break;case"embed":case"source":case"link":De("error",t),De("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(I in i)if(i.hasOwnProperty(I)&&(l=i[I],l!=null))switch(I){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,o));default:Ze(t,o,I,l,i,null)}return;default:if(bf(o)){for(Y in i)i.hasOwnProperty(Y)&&(l=i[Y],l!==void 0&&nh(t,o,Y,l,i,void 0));return}}for(_ in i)i.hasOwnProperty(_)&&(l=i[_],l!=null&&Ze(t,o,_,l,i,null))}function u3(t,o,i,l){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,h=null,b=null,_=null,R=null,I=null,Y=null;for(W in i){var K=i[W];if(i.hasOwnProperty(W)&&K!=null)switch(W){case"checked":break;case"value":break;case"defaultValue":R=K;default:l.hasOwnProperty(W)||Ze(t,o,W,null,l,K)}}for(var V in l){var W=l[V];if(K=i[V],l.hasOwnProperty(V)&&(W!=null||K!=null))switch(V){case"type":h=W;break;case"name":f=W;break;case"checked":I=W;break;case"defaultChecked":Y=W;break;case"value":b=W;break;case"defaultValue":_=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(a(137,o));break;default:W!==K&&Ze(t,o,V,W,l,K)}}mf(t,b,_,R,I,Y,h,f);return;case"select":W=b=_=V=null;for(h in i)if(R=i[h],i.hasOwnProperty(h)&&R!=null)switch(h){case"value":break;case"multiple":W=R;default:l.hasOwnProperty(h)||Ze(t,o,h,null,l,R)}for(f in l)if(h=l[f],R=i[f],l.hasOwnProperty(f)&&(h!=null||R!=null))switch(f){case"value":V=h;break;case"defaultValue":_=h;break;case"multiple":b=h;default:h!==R&&Ze(t,o,f,h,l,R)}o=_,i=b,l=W,V!=null?Ma(t,!!i,V,!1):!!l!=!!i&&(o!=null?Ma(t,!!i,o,!0):Ma(t,!!i,i?[]:"",!1));return;case"textarea":W=V=null;for(_ in i)if(f=i[_],i.hasOwnProperty(_)&&f!=null&&!l.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Ze(t,o,_,null,l,f)}for(b in l)if(f=l[b],h=i[b],l.hasOwnProperty(b)&&(f!=null||h!=null))switch(b){case"value":V=f;break;case"defaultValue":W=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(a(91));break;default:f!==h&&Ze(t,o,b,f,l,h)}tp(t,V,W);return;case"option":for(var he in i)if(V=i[he],i.hasOwnProperty(he)&&V!=null&&!l.hasOwnProperty(he))switch(he){case"selected":t.selected=!1;break;default:Ze(t,o,he,null,l,V)}for(R in l)if(V=l[R],W=i[R],l.hasOwnProperty(R)&&V!==W&&(V!=null||W!=null))switch(R){case"selected":t.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:Ze(t,o,R,V,l,W)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var we in i)V=i[we],i.hasOwnProperty(we)&&V!=null&&!l.hasOwnProperty(we)&&Ze(t,o,we,null,l,V);for(I in l)if(V=l[I],W=i[I],l.hasOwnProperty(I)&&V!==W&&(V!=null||W!=null))switch(I){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(a(137,o));break;default:Ze(t,o,I,V,l,W)}return;default:if(bf(o)){for(var Je in i)V=i[Je],i.hasOwnProperty(Je)&&V!==void 0&&!l.hasOwnProperty(Je)&&nh(t,o,Je,void 0,l,V);for(Y in l)V=l[Y],W=i[Y],!l.hasOwnProperty(Y)||V===W||V===void 0&&W===void 0||nh(t,o,Y,V,l,W);return}}for(var F in i)V=i[F],i.hasOwnProperty(F)&&V!=null&&!l.hasOwnProperty(F)&&Ze(t,o,F,null,l,V);for(K in l)V=l[K],W=i[K],!l.hasOwnProperty(K)||V===W||V==null&&W==null||Ze(t,o,K,V,l,W)}function a1(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function f3(){if(typeof performance.getEntriesByType=="function"){for(var t=0,o=0,i=performance.getEntriesByType("resource"),l=0;l<i.length;l++){var f=i[l],h=f.transferSize,b=f.initiatorType,_=f.duration;if(h&&_&&a1(b)){for(b=0,_=f.responseEnd,l+=1;l<i.length;l++){var R=i[l],I=R.startTime;if(I>_)break;var Y=R.transferSize,K=R.initiatorType;Y&&a1(K)&&(R=R.responseEnd,b+=Y*(R<_?1:(_-I)/(R-I)))}if(--l,o+=8*(h+b)/(f.duration/1e3),t++,10<t)break}}if(0<t)return o/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var ah=null,ih=null;function Oc(t){return t.nodeType===9?t:t.ownerDocument}function i1(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function l1(t,o){if(t===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&o==="foreignObject"?0:t}function lh(t,o){return t==="textarea"||t==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var sh=null;function d3(){var t=window.event;return t&&t.type==="popstate"?t===sh?!1:(sh=t,!0):(sh=null,!1)}var s1=typeof setTimeout=="function"?setTimeout:void 0,h3=typeof clearTimeout=="function"?clearTimeout:void 0,c1=typeof Promise=="function"?Promise:void 0,g3=typeof queueMicrotask=="function"?queueMicrotask:typeof c1<"u"?function(t){return c1.resolve(null).then(t).catch(p3)}:s1;function p3(t){setTimeout(function(){throw t})}function xn(t){return t==="head"}function u1(t,o){var i=o,l=0;do{var f=i.nextSibling;if(t.removeChild(i),f&&f.nodeType===8)if(i=f.data,i==="/$"||i==="/&"){if(l===0){t.removeChild(f),gi(o);return}l--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")l++;else if(i==="html")Ll(t.ownerDocument.documentElement);else if(i==="head"){i=t.ownerDocument.head,Ll(i);for(var h=i.firstChild;h;){var b=h.nextSibling,_=h.nodeName;h[nl]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&h.rel.toLowerCase()==="stylesheet"||i.removeChild(h),h=b}}else i==="body"&&Ll(t.ownerDocument.body);i=f}while(i);gi(o)}function f1(t,o){var i=t;t=0;do{var l=i.nextSibling;if(i.nodeType===1?o?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(o?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),l&&l.nodeType===8)if(i=l.data,i==="/$"){if(t===0)break;t--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||t++;i=l}while(i)}function ch(t){var o=t.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var i=o;switch(o=o.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":ch(i),gf(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}t.removeChild(i)}}function m3(t,o,i,l){for(;t.nodeType===1;){var f=i;if(t.nodeName.toLowerCase()!==o.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[nl])switch(o){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(h=t.getAttribute("rel"),h==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(h!==f.rel||t.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||t.getAttribute("title")!==(f.title==null?null:f.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(h=t.getAttribute("src"),(h!==(f.src==null?null:f.src)||t.getAttribute("type")!==(f.type==null?null:f.type)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&h&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(o==="input"&&t.type==="hidden"){var h=f.name==null?null:""+f.name;if(f.type==="hidden"&&t.getAttribute("name")===h)return t}else return t;if(t=Oo(t.nextSibling),t===null)break}return null}function v3(t,o,i){if(o==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=Oo(t.nextSibling),t===null))return null;return t}function d1(t,o){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!o||(t=Oo(t.nextSibling),t===null))return null;return t}function uh(t){return t.data==="$?"||t.data==="$~"}function fh(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function b3(t,o){var i=t.ownerDocument;if(t.data==="$~")t._reactRetry=o;else if(t.data!=="$?"||i.readyState!=="loading")o();else{var l=function(){o(),i.removeEventListener("DOMContentLoaded",l)};i.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Oo(t){for(;t!=null;t=t.nextSibling){var o=t.nodeType;if(o===1||o===3)break;if(o===8){if(o=t.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;if(o==="/$"||o==="/&")return null}}return t}var dh=null;function h1(t){t=t.nextSibling;for(var o=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"||i==="/&"){if(o===0)return Oo(t.nextSibling);o--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||o++}t=t.nextSibling}return null}function g1(t){t=t.previousSibling;for(var o=0;t;){if(t.nodeType===8){var i=t.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(o===0)return t;o--}else i!=="/$"&&i!=="/&"||o++}t=t.previousSibling}return null}function p1(t,o,i){switch(o=Oc(i),t){case"html":if(t=o.documentElement,!t)throw Error(a(452));return t;case"head":if(t=o.head,!t)throw Error(a(453));return t;case"body":if(t=o.body,!t)throw Error(a(454));return t;default:throw Error(a(451))}}function Ll(t){for(var o=t.attributes;o.length;)t.removeAttributeNode(o[0]);gf(t)}var Mo=new Map,m1=new Set;function Mc(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var qr=J.d;J.d={f:y3,r:x3,D:S3,C:w3,L:k3,m:B3,X:z3,S:_3,M:T3};function y3(){var t=qr.f(),o=Tc();return t||o}function x3(t){var o=Aa(t);o!==null&&o.tag===5&&o.type==="form"?Am(o):qr.r(t)}var fi=typeof document>"u"?null:document;function v1(t,o,i){var l=fi;if(l&&typeof o=="string"&&o){var f=No(o);f='link[rel="'+t+'"][href="'+f+'"]',typeof i=="string"&&(f+='[crossorigin="'+i+'"]'),m1.has(f)||(m1.add(f),t={rel:t,crossOrigin:i,href:o},l.querySelector(f)===null&&(o=l.createElement("link"),qt(o,"link",t),Ct(o),l.head.appendChild(o)))}}function S3(t){qr.D(t),v1("dns-prefetch",t,null)}function w3(t,o){qr.C(t,o),v1("preconnect",t,o)}function k3(t,o,i){qr.L(t,o,i);var l=fi;if(l&&t&&o){var f='link[rel="preload"][as="'+No(o)+'"]';o==="image"&&i&&i.imageSrcSet?(f+='[imagesrcset="'+No(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(f+='[imagesizes="'+No(i.imageSizes)+'"]')):f+='[href="'+No(t)+'"]';var h=f;switch(o){case"style":h=di(t);break;case"script":h=hi(t)}Mo.has(h)||(t=v({rel:"preload",href:o==="image"&&i&&i.imageSrcSet?void 0:t,as:o},i),Mo.set(h,t),l.querySelector(f)!==null||o==="style"&&l.querySelector(Pl(h))||o==="script"&&l.querySelector(Il(h))||(o=l.createElement("link"),qt(o,"link",t),Ct(o),l.head.appendChild(o)))}}function B3(t,o){qr.m(t,o);var i=fi;if(i&&t){var l=o&&typeof o.as=="string"?o.as:"script",f='link[rel="modulepreload"][as="'+No(l)+'"][href="'+No(t)+'"]',h=f;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=hi(t)}if(!Mo.has(h)&&(t=v({rel:"modulepreload",href:t},o),Mo.set(h,t),i.querySelector(f)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Il(h)))return}l=i.createElement("link"),qt(l,"link",t),Ct(l),i.head.appendChild(l)}}}function _3(t,o,i){qr.S(t,o,i);var l=fi;if(l&&t){var f=Da(l).hoistableStyles,h=di(t);o=o||"default";var b=f.get(h);if(!b){var _={loading:0,preload:null};if(b=l.querySelector(Pl(h)))_.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":o},i),(i=Mo.get(h))&&hh(t,i);var R=b=l.createElement("link");Ct(R),qt(R,"link",t),R._p=new Promise(function(I,Y){R.onload=I,R.onerror=Y}),R.addEventListener("load",function(){_.loading|=1}),R.addEventListener("error",function(){_.loading|=2}),_.loading|=4,qc(b,o,l)}b={type:"stylesheet",instance:b,count:1,state:_},f.set(h,b)}}}function z3(t,o){qr.X(t,o);var i=fi;if(i&&t){var l=Da(i).hoistableScripts,f=hi(t),h=l.get(f);h||(h=i.querySelector(Il(f)),h||(t=v({src:t,async:!0},o),(o=Mo.get(f))&&gh(t,o),h=i.createElement("script"),Ct(h),qt(h,"link",t),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function T3(t,o){qr.M(t,o);var i=fi;if(i&&t){var l=Da(i).hoistableScripts,f=hi(t),h=l.get(f);h||(h=i.querySelector(Il(f)),h||(t=v({src:t,async:!0,type:"module"},o),(o=Mo.get(f))&&gh(t,o),h=i.createElement("script"),Ct(h),qt(h,"link",t),i.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function b1(t,o,i,l){var f=(f=ke.current)?Mc(f):null;if(!f)throw Error(a(446));switch(t){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(o=di(i.href),i=Da(f).hoistableStyles,l=i.get(o),l||(l={type:"style",instance:null,count:0,state:null},i.set(o,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){t=di(i.href);var h=Da(f).hoistableStyles,b=h.get(t);if(b||(f=f.ownerDocument||f,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(t,b),(h=f.querySelector(Pl(t)))&&!h._p&&(b.instance=h,b.state.loading=5),Mo.has(t)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Mo.set(t,i),h||N3(f,t,i,b.state))),o&&l===null)throw Error(a(528,""));return b}if(o&&l!==null)throw Error(a(529,""));return null;case"script":return o=i.async,i=i.src,typeof i=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=hi(i),i=Da(f).hoistableScripts,l=i.get(o),l||(l={type:"script",instance:null,count:0,state:null},i.set(o,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,t))}}function di(t){return'href="'+No(t)+'"'}function Pl(t){return'link[rel="stylesheet"]['+t+"]"}function y1(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function N3(t,o,i,l){t.querySelector('link[rel="preload"][as="style"]['+o+"]")?l.loading=1:(o=t.createElement("link"),l.preload=o,o.addEventListener("load",function(){return l.loading|=1}),o.addEventListener("error",function(){return l.loading|=2}),qt(o,"link",i),Ct(o),t.head.appendChild(o))}function hi(t){return'[src="'+No(t)+'"]'}function Il(t){return"script[async]"+t}function x1(t,o,i){if(o.count++,o.instance===null)switch(o.type){case"style":var l=t.querySelector('style[data-href~="'+No(i.href)+'"]');if(l)return o.instance=l,Ct(l),l;var f=v({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),Ct(l),qt(l,"style",f),qc(l,i.precedence,t),o.instance=l;case"stylesheet":f=di(i.href);var h=t.querySelector(Pl(f));if(h)return o.state.loading|=4,o.instance=h,Ct(h),h;l=y1(i),(f=Mo.get(f))&&hh(l,f),h=(t.ownerDocument||t).createElement("link"),Ct(h);var b=h;return b._p=new Promise(function(_,R){b.onload=_,b.onerror=R}),qt(h,"link",l),o.state.loading|=4,qc(h,i.precedence,t),o.instance=h;case"script":return h=hi(i.src),(f=t.querySelector(Il(h)))?(o.instance=f,Ct(f),f):(l=i,(f=Mo.get(h))&&(l=v({},i),gh(l,f)),t=t.ownerDocument||t,f=t.createElement("script"),Ct(f),qt(f,"link",l),t.head.appendChild(f),o.instance=f);case"void":return null;default:throw Error(a(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(l=o.instance,o.state.loading|=4,qc(l,i.precedence,t));return o.instance}function qc(t,o,i){for(var l=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=l.length?l[l.length-1]:null,h=f,b=0;b<l.length;b++){var _=l[b];if(_.dataset.precedence===o)h=_;else if(h!==f)break}h?h.parentNode.insertBefore(t,h.nextSibling):(o=i.nodeType===9?i.head:i,o.insertBefore(t,o.firstChild))}function hh(t,o){t.crossOrigin==null&&(t.crossOrigin=o.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=o.referrerPolicy),t.title==null&&(t.title=o.title)}function gh(t,o){t.crossOrigin==null&&(t.crossOrigin=o.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=o.referrerPolicy),t.integrity==null&&(t.integrity=o.integrity)}var Fc=null;function S1(t,o,i){if(Fc===null){var l=new Map,f=Fc=new Map;f.set(i,l)}else f=Fc,l=f.get(i),l||(l=new Map,f.set(i,l));if(l.has(t))return l;for(l.set(t,null),i=i.getElementsByTagName(t),f=0;f<i.length;f++){var h=i[f];if(!(h[nl]||h[At]||t==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var b=h.getAttribute(o)||"";b=t+b;var _=l.get(b);_?_.push(h):l.set(b,[h])}}return l}function w1(t,o,i){t=t.ownerDocument||t,t.head.insertBefore(i,o==="title"?t.querySelector("head > title"):null)}function C3(t,o,i){if(i===1||o.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return t=o.disabled,typeof o.precedence=="string"&&t==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function k1(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function E3(t,o,i,l){if(i.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var f=di(l.href),h=o.querySelector(Pl(f));if(h){o=h._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(t.count++,t=Hc.bind(t),o.then(t,t)),i.state.loading|=4,i.instance=h,Ct(h);return}h=o.ownerDocument||o,l=y1(l),(f=Mo.get(f))&&hh(l,f),h=h.createElement("link"),Ct(h);var b=h;b._p=new Promise(function(_,R){b.onload=_,b.onerror=R}),qt(h,"link",l),i.instance=h}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(i,o),(o=i.state.preload)&&(i.state.loading&3)===0&&(t.count++,i=Hc.bind(t),o.addEventListener("load",i),o.addEventListener("error",i))}}var ph=0;function j3(t,o){return t.stylesheets&&t.count===0&&Pc(t,t.stylesheets),0<t.count||0<t.imgCount?function(i){var l=setTimeout(function(){if(t.stylesheets&&Pc(t,t.stylesheets),t.unsuspend){var h=t.unsuspend;t.unsuspend=null,h()}},6e4+o);0<t.imgBytes&&ph===0&&(ph=62500*f3());var f=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Pc(t,t.stylesheets),t.unsuspend)){var h=t.unsuspend;t.unsuspend=null,h()}},(t.imgBytes>ph?50:800)+o);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(f)}}:null}function Hc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Pc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Lc=null;function Pc(t,o){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Lc=new Map,o.forEach(R3,t),Lc=null,Hc.call(t))}function R3(t,o){if(!(o.state.loading&4)){var i=Lc.get(t);if(i)var l=i.get(null);else{i=new Map,Lc.set(t,i);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<f.length;h++){var b=f[h];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(i.set(b.dataset.precedence,b),l=b)}l&&i.set(null,l)}f=o.instance,b=f.getAttribute("data-precedence"),h=i.get(b)||l,h===l&&i.set(null,f),i.set(b,f),this.count++,l=Hc.bind(this),f.addEventListener("load",l),f.addEventListener("error",l),h?h.parentNode.insertBefore(f,h.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(f,t.firstChild)),o.state.loading|=4}}var Ul={$$typeof:N,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function A3(t,o,i,l,f,h,b,_,R){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=uf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uf(0),this.hiddenUpdates=uf(null),this.identifierPrefix=l,this.onUncaughtError=f,this.onCaughtError=h,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function B1(t,o,i,l,f,h,b,_,R,I,Y,K){return t=new A3(t,o,i,b,R,I,Y,K,_),o=1,h===!0&&(o|=24),h=ho(3,null,null,o),t.current=h,h.stateNode=t,o=Qf(),o.refCount++,t.pooledCache=o,o.refCount++,h.memoizedState={element:l,isDehydrated:i,cache:o},Zf(h),t}function _1(t){return t?(t=Va,t):Va}function z1(t,o,i,l,f,h){f=_1(f),l.context===null?l.context=f:l.pendingContext=f,l=cn(o),l.payload={element:i},h=h===void 0?null:h,h!==null&&(l.callback=h),i=un(t,l,o),i!==null&&(eo(i,t,o),Sl(i,t,o))}function T1(t,o){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<o?i:o}}function mh(t,o){T1(t,o),(t=t.alternate)&&T1(t,o)}function N1(t){if(t.tag===13||t.tag===31){var o=Zn(t,67108864);o!==null&&eo(o,t,67108864),mh(t,67108864)}}function C1(t){if(t.tag===13||t.tag===31){var o=bo();o=ff(o);var i=Zn(t,o);i!==null&&eo(i,t,o),mh(t,o)}}var Ic=!0;function D3(t,o,i,l){var f=U.T;U.T=null;var h=J.p;try{J.p=2,vh(t,o,i,l)}finally{J.p=h,U.T=f}}function O3(t,o,i,l){var f=U.T;U.T=null;var h=J.p;try{J.p=8,vh(t,o,i,l)}finally{J.p=h,U.T=f}}function vh(t,o,i,l){if(Ic){var f=bh(l);if(f===null)rh(t,o,l,Uc,i),j1(t,l);else if(q3(f,t,o,i,l))l.stopPropagation();else if(j1(t,l),o&4&&-1<M3.indexOf(t)){for(;f!==null;){var h=Aa(f);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var b=Wn(h.pendingLanes);if(b!==0){var _=h;for(_.pendingLanes|=2,_.entangledLanes|=2;b;){var R=1<<31-uo(b);_.entanglements[1]|=R,b&=~R}fr(h),(Ge&6)===0&&(_c=so()+500,ql(0))}}break;case 31:case 13:_=Zn(h,2),_!==null&&eo(_,h,2),Tc(),mh(h,2)}if(h=bh(l),h===null&&rh(t,o,l,Uc,i),h===f)break;f=h}f!==null&&l.stopPropagation()}else rh(t,o,l,null,i)}}function bh(t){return t=xf(t),yh(t)}var Uc=null;function yh(t){if(Uc=null,t=Ra(t),t!==null){var o=c(t);if(o===null)t=null;else{var i=o.tag;if(i===13){if(t=u(o),t!==null)return t;t=null}else if(i===31){if(t=d(o),t!==null)return t;t=null}else if(i===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;t=null}else o!==t&&(t=null)}}return Uc=t,null}function E1(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(S5()){case Fg:return 2;case Hg:return 8;case Rs:case w5:return 32;case Lg:return 268435456;default:return 32}default:return 32}}var xh=!1,Sn=null,wn=null,kn=null,Vl=new Map,Gl=new Map,Bn=[],M3="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function j1(t,o){switch(t){case"focusin":case"focusout":Sn=null;break;case"dragenter":case"dragleave":wn=null;break;case"mouseover":case"mouseout":kn=null;break;case"pointerover":case"pointerout":Vl.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gl.delete(o.pointerId)}}function Xl(t,o,i,l,f,h){return t===null||t.nativeEvent!==h?(t={blockedOn:o,domEventName:i,eventSystemFlags:l,nativeEvent:h,targetContainers:[f]},o!==null&&(o=Aa(o),o!==null&&N1(o)),t):(t.eventSystemFlags|=l,o=t.targetContainers,f!==null&&o.indexOf(f)===-1&&o.push(f),t)}function q3(t,o,i,l,f){switch(o){case"focusin":return Sn=Xl(Sn,t,o,i,l,f),!0;case"dragenter":return wn=Xl(wn,t,o,i,l,f),!0;case"mouseover":return kn=Xl(kn,t,o,i,l,f),!0;case"pointerover":var h=f.pointerId;return Vl.set(h,Xl(Vl.get(h)||null,t,o,i,l,f)),!0;case"gotpointercapture":return h=f.pointerId,Gl.set(h,Xl(Gl.get(h)||null,t,o,i,l,f)),!0}return!1}function R1(t){var o=Ra(t.target);if(o!==null){var i=c(o);if(i!==null){if(o=i.tag,o===13){if(o=u(i),o!==null){t.blockedOn=o,Xg(t.priority,function(){C1(i)});return}}else if(o===31){if(o=d(i),o!==null){t.blockedOn=o,Xg(t.priority,function(){C1(i)});return}}else if(o===3&&i.stateNode.current.memoizedState.isDehydrated){t.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Vc(t){if(t.blockedOn!==null)return!1;for(var o=t.targetContainers;0<o.length;){var i=bh(t.nativeEvent);if(i===null){i=t.nativeEvent;var l=new i.constructor(i.type,i);yf=l,i.target.dispatchEvent(l),yf=null}else return o=Aa(i),o!==null&&N1(o),t.blockedOn=i,!1;o.shift()}return!0}function A1(t,o,i){Vc(t)&&i.delete(o)}function F3(){xh=!1,Sn!==null&&Vc(Sn)&&(Sn=null),wn!==null&&Vc(wn)&&(wn=null),kn!==null&&Vc(kn)&&(kn=null),Vl.forEach(A1),Gl.forEach(A1)}function Gc(t,o){t.blockedOn===o&&(t.blockedOn=null,xh||(xh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,F3)))}var Xc=null;function D1(t){Xc!==t&&(Xc=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Xc===t&&(Xc=null);for(var o=0;o<t.length;o+=3){var i=t[o],l=t[o+1],f=t[o+2];if(typeof l!="function"){if(yh(l||i)===null)continue;break}var h=Aa(i);h!==null&&(t.splice(o,3),o-=3,bd(h,{pending:!0,data:f,method:i.method,action:l},l,f))}}))}function gi(t){function o(R){return Gc(R,t)}Sn!==null&&Gc(Sn,t),wn!==null&&Gc(wn,t),kn!==null&&Gc(kn,t),Vl.forEach(o),Gl.forEach(o);for(var i=0;i<Bn.length;i++){var l=Bn[i];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Bn.length&&(i=Bn[0],i.blockedOn===null);)R1(i),i.blockedOn===null&&Bn.shift();if(i=(t.ownerDocument||t).$$reactFormReplay,i!=null)for(l=0;l<i.length;l+=3){var f=i[l],h=i[l+1],b=f[Qt]||null;if(typeof h=="function")b||D1(i);else if(b){var _=null;if(h&&h.hasAttribute("formAction")){if(f=h,b=h[Qt]||null)_=b.formAction;else if(yh(f)!==null)continue}else _=b.action;typeof _=="function"?i[l+1]=_:(i.splice(l,3),l-=3),D1(i)}}}function O1(){function t(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(b){return f=b})},focusReset:"manual",scroll:"manual"})}function o(){f!==null&&(f(),f=null),l||setTimeout(i,20)}function i(){if(!l&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,f=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(i,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),f!==null&&(f(),f=null)}}}function Sh(t){this._internalRoot=t}Wc.prototype.render=Sh.prototype.render=function(t){var o=this._internalRoot;if(o===null)throw Error(a(409));var i=o.current,l=bo();z1(i,l,t,o,null,null)},Wc.prototype.unmount=Sh.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var o=t.containerInfo;z1(t.current,2,null,t,null,null),Tc(),o[ja]=null}};function Wc(t){this._internalRoot=t}Wc.prototype.unstable_scheduleHydration=function(t){if(t){var o=Gg();t={blockedOn:null,target:t,priority:o};for(var i=0;i<Bn.length&&o!==0&&o<Bn[i].priority;i++);Bn.splice(i,0,t),i===0&&R1(t)}};var M1=r.version;if(M1!=="19.2.6")throw Error(a(527,M1,"19.2.6"));J.findDOMNode=function(t){var o=t._reactInternals;if(o===void 0)throw typeof t.render=="function"?Error(a(188)):(t=Object.keys(t).join(","),Error(a(268,t)));return t=p(o),t=t!==null?m(t):null,t=t===null?null:t.stateNode,t};var H3={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Qc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qc.isDisabled&&Qc.supportsFiber)try{tl=Qc.inject(H3),co=Qc}catch{}}return Ql.createRoot=function(t,o){if(!s(t))throw Error(a(299));var i=!1,l="",f=Um,h=Vm,b=Gm;return o!=null&&(o.unstable_strictMode===!0&&(i=!0),o.identifierPrefix!==void 0&&(l=o.identifierPrefix),o.onUncaughtError!==void 0&&(f=o.onUncaughtError),o.onCaughtError!==void 0&&(h=o.onCaughtError),o.onRecoverableError!==void 0&&(b=o.onRecoverableError)),o=B1(t,1,!1,null,null,i,l,null,f,h,b,O1),t[ja]=o.current,oh(t),new Sh(o)},Ql.hydrateRoot=function(t,o,i){if(!s(t))throw Error(a(299));var l=!1,f="",h=Um,b=Vm,_=Gm,R=null;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(h=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(_=i.onRecoverableError),i.formState!==void 0&&(R=i.formState)),o=B1(t,1,!0,o,i??null,l,f,R,h,b,_,O1),o.context=_1(null),i=o.current,l=bo(),l=ff(l),f=cn(l),f.callback=null,un(i,f,l),i=l,o.current.lanes=i,rl(o,i),fr(o),t[ja]=o.current,oh(t),new Wc(o)},Ql.version="19.2.6",Ql}var W1;function K3(){if(W1)return _h.exports;W1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),_h.exports=$3(),_h.exports}var Z3=K3();/**
50
+ * react-router v7.15.0
51
+ *
52
+ * Copyright (c) Remix Software Inc.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE.md file in the root directory of this source tree.
56
+ *
57
+ * @license MIT
58
+ */var Q1="popstate";function Y1(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function J3(e={}){function r(a,s){var p;let c=(p=s.state)==null?void 0:p.masked,{pathname:u,search:d,hash:g}=c||a.location;return Jh("",{pathname:u,search:d,hash:g},s.state&&s.state.usr||null,s.state&&s.state.key||"default",c?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function n(a,s){return typeof s=="string"?s:as(s)}return tk(r,n,null,e)}function it(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function rr(e,r){if(!e){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function ek(){return Math.random().toString(36).substring(2,10)}function $1(e,r){return{usr:e.state,key:e.key,idx:r,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Jh(e,r,n=null,a,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof r=="string"?Vi(r):r,state:n,key:r&&r.key||a||ek(),mask:s}}function as({pathname:e="/",search:r="",hash:n=""}){return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Vi(e){let r={};if(e){let n=e.indexOf("#");n>=0&&(r.hash=e.substring(n),e=e.substring(0,n));let a=e.indexOf("?");a>=0&&(r.search=e.substring(a),e=e.substring(0,a)),e&&(r.pathname=e)}return r}function tk(e,r,n,a={}){let{window:s=document.defaultView,v5Compat:c=!1}=a,u=s.history,d="POP",g=null,p=m();p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function m(){return(u.state||{idx:null}).idx}function v(){d="POP";let z=m(),T=z==null?null:z-p;p=z,g&&g({action:d,location:x.location,delta:T})}function S(z,T){d="PUSH";let j=Y1(z)?z:Jh(x.location,z,T);p=m()+1;let N=$1(j,p),C=x.createHref(j.mask||j);try{u.pushState(N,"",C)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;s.location.assign(C)}c&&g&&g({action:d,location:x.location,delta:1})}function k(z,T){d="REPLACE";let j=Y1(z)?z:Jh(x.location,z,T);p=m();let N=$1(j,p),C=x.createHref(j.mask||j);u.replaceState(N,"",C),c&&g&&g({action:d,location:x.location,delta:0})}function w(z){return ok(z)}let x={get action(){return d},get location(){return e(s,u)},listen(z){if(g)throw new Error("A history only accepts one active listener");return s.addEventListener(Q1,v),g=z,()=>{s.removeEventListener(Q1,v),g=null}},createHref(z){return r(s,z)},createURL:w,encodeLocation(z){let T=w(z);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:S,replace:k,go(z){return u.go(z)}};return x}function ok(e,r=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),it(n,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:as(e);return a=a.replace(/ $/,"%20"),!r&&a.startsWith("//")&&(a=n+a),new URL(a,n)}function Vy(e,r,n="/"){return rk(e,r,n,!1)}function rk(e,r,n,a,s){let c=typeof r=="string"?Vi(r):r,u=Xr(c.pathname||"/",n);if(u==null)return null;let d=nk(e),g=null,p=mk(u);for(let m=0;g==null&&m<d.length;++m)g=gk(d[m],p,a);return g}function nk(e){let r=Gy(e);return ak(r),r}function Gy(e,r=[],n=[],a="",s=!1){let c=(u,d,g=s,p)=>{let m={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(a)&&g)return;it(m.relativePath.startsWith(a),`Absolute route path "${m.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(a.length)}let v=tr([a,m.relativePath]),S=n.concat(m);u.children&&u.children.length>0&&(it(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Gy(u.children,r,S,v,g)),!(u.path==null&&!u.index)&&r.push({path:v,score:dk(v,u.index),routesMeta:S})};return e.forEach((u,d)=>{var g;if(u.path===""||!((g=u.path)!=null&&g.includes("?")))c(u,d);else for(let p of Xy(u.path))c(u,d,!0,p)}),r}function Xy(e){let r=e.split("/");if(r.length===0)return[];let[n,...a]=r,s=n.endsWith("?"),c=n.replace(/\?$/,"");if(a.length===0)return s?[c,""]:[c];let u=Xy(a.join("/")),d=[];return d.push(...u.map(g=>g===""?c:[c,g].join("/"))),s&&d.push(...u),d.map(g=>e.startsWith("/")&&g===""?"/":g)}function ak(e){e.sort((r,n)=>r.score!==n.score?n.score-r.score:hk(r.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}var ik=/^:[\w-]+$/,lk=3,sk=2,ck=1,uk=10,fk=-2,K1=e=>e==="*";function dk(e,r){let n=e.split("/"),a=n.length;return n.some(K1)&&(a+=fk),r&&(a+=sk),n.filter(s=>!K1(s)).reduce((s,c)=>s+(ik.test(c)?lk:c===""?ck:uk),a)}function hk(e,r){return e.length===r.length&&e.slice(0,-1).every((a,s)=>a===r[s])?e[e.length-1]-r[r.length-1]:0}function gk(e,r,n=!1){let{routesMeta:a}=e,s={},c="/",u=[];for(let d=0;d<a.length;++d){let g=a[d],p=d===a.length-1,m=c==="/"?r:r.slice(c.length)||"/",v=mu({path:g.relativePath,caseSensitive:g.caseSensitive,end:p},m),S=g.route;if(!v&&p&&n&&!a[a.length-1].route.index&&(v=mu({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},m)),!v)return null;Object.assign(s,v.params),u.push({params:s,pathname:tr([c,v.pathname]),pathnameBase:xk(tr([c,v.pathnameBase])),route:S}),v.pathnameBase!=="/"&&(c=tr([c,v.pathnameBase]))}return u}function mu(e,r){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=pk(e.path,e.caseSensitive,e.end),s=r.match(n);if(!s)return null;let c=s[0],u=c.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:a.reduce((p,{paramName:m,isOptional:v},S)=>{if(m==="*"){let w=d[S]||"";u=c.slice(0,c.length-w.length).replace(/(.)\/+$/,"$1")}const k=d[S];return v&&!k?p[m]=void 0:p[m]=(k||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:u,pattern:e}}function pk(e,r=!1,n=!0){rr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let a=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,g,p,m)=>{if(a.push({paramName:d,isOptional:g!=null}),g){let v=m.charAt(p+u.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,r?void 0:"i"),a]}function mk(e){try{return e.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return rr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}function Xr(e,r){if(r==="/")return e;if(!e.toLowerCase().startsWith(r.toLowerCase()))return null;let n=r.endsWith("/")?r.length-1:r.length,a=e.charAt(n);return a&&a!=="/"?null:e.slice(n)||"/"}var vk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function bk(e,r="/"){let{pathname:n,search:a="",hash:s=""}=typeof e=="string"?Vi(e):e,c;return n?(n=Wy(n),n.startsWith("/")?c=Z1(n.substring(1),"/"):c=Z1(n,r)):c=r,{pathname:c,search:Sk(a),hash:wk(s)}}function Z1(e,r){let n=vu(r).split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Ch(e,r,n,a){return`Cannot include a '${e}' character in a manually specified \`to.${r}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function yk(e){return e.filter((r,n)=>n===0||r.route.path&&r.route.path.length>0)}function M0(e){let r=yk(e);return r.map((n,a)=>a===r.length-1?n.pathname:n.pathnameBase)}function Au(e,r,n,a=!1){let s;typeof e=="string"?s=Vi(e):(s={...e},it(!s.pathname||!s.pathname.includes("?"),Ch("?","pathname","search",s)),it(!s.pathname||!s.pathname.includes("#"),Ch("#","pathname","hash",s)),it(!s.search||!s.search.includes("#"),Ch("#","search","hash",s)));let c=e===""||s.pathname==="",u=c?"/":s.pathname,d;if(u==null)d=n;else{let v=r.length-1;if(!a&&u.startsWith("..")){let S=u.split("/");for(;S[0]==="..";)S.shift(),v-=1;s.pathname=S.join("/")}d=v>=0?r[v]:"/"}let g=bk(s,d),p=u&&u!=="/"&&u.endsWith("/"),m=(c||u===".")&&n.endsWith("/");return!g.pathname.endsWith("/")&&(p||m)&&(g.pathname+="/"),g}var Wy=e=>e.replace(/\/\/+/g,"/"),tr=e=>Wy(e.join("/")),vu=e=>e.replace(/\/+$/,""),xk=e=>vu(e).replace(/^\/*/,"/"),Sk=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,wk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,kk=class{constructor(e,r,n,a=!1){this.status=e,this.statusText=r||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Bk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function _k(e){let r=e.map(n=>n.route.path).filter(Boolean);return tr(r)||"/"}var Qy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Yy(e,r){let n=e;if(typeof n!="string"||!vk.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let a=n,s=!1;if(Qy)try{let c=new URL(window.location.href),u=n.startsWith("//")?new URL(c.protocol+n):new URL(n),d=Xr(u.pathname,r);u.origin===c.origin&&d!=null?n=d+u.search+u.hash:s=!0}catch{rr(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:s,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var $y=["POST","PUT","PATCH","DELETE"];new Set($y);var zk=["GET",...$y];new Set(zk);var Gi=y.createContext(null);Gi.displayName="DataRouter";var Du=y.createContext(null);Du.displayName="DataRouterState";var Ky=y.createContext(!1);function Tk(){return y.useContext(Ky)}var Zy=y.createContext({isTransitioning:!1});Zy.displayName="ViewTransition";var Nk=y.createContext(new Map);Nk.displayName="Fetchers";var Ck=y.createContext(null);Ck.displayName="Await";var zo=y.createContext(null);zo.displayName="Navigation";var xs=y.createContext(null);xs.displayName="Location";var ir=y.createContext({outlet:null,matches:[],isDataRoute:!1});ir.displayName="Route";var q0=y.createContext(null);q0.displayName="RouteError";var Jy="REACT_ROUTER_ERROR",Ek="REDIRECT",jk="ROUTE_ERROR_RESPONSE";function Rk(e){if(e.startsWith(`${Jy}:${Ek}:{`))try{let r=JSON.parse(e.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function Ak(e){if(e.startsWith(`${Jy}:${jk}:{`))try{let r=JSON.parse(e.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new kk(r.status,r.statusText,r.data)}catch{}}function Dk(e,{relative:r}={}){it(Xi(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=y.useContext(zo),{hash:s,pathname:c,search:u}=ws(e,{relative:r}),d=c;return n!=="/"&&(d=c==="/"?n:tr([n,c])),a.createHref({pathname:d,search:u,hash:s})}function Xi(){return y.useContext(xs)!=null}function Vo(){return it(Xi(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(xs).location}var ex="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function tx(e){y.useContext(zo).static||y.useLayoutEffect(e)}function Ss(){let{isDataRoute:e}=y.useContext(ir);return e?Qk():Ok()}function Ok(){it(Xi(),"useNavigate() may be used only in the context of a <Router> component.");let e=y.useContext(Gi),{basename:r,navigator:n}=y.useContext(zo),{matches:a}=y.useContext(ir),{pathname:s}=Vo(),c=JSON.stringify(M0(a)),u=y.useRef(!1);return tx(()=>{u.current=!0}),y.useCallback((g,p={})=>{if(rr(u.current,ex),!u.current)return;if(typeof g=="number"){n.go(g);return}let m=Au(g,JSON.parse(c),s,p.relative==="path");e==null&&r!=="/"&&(m.pathname=m.pathname==="/"?r:tr([r,m.pathname])),(p.replace?n.replace:n.push)(m,p.state,p)},[r,n,c,s,e])}y.createContext(null);function Mk(){let{matches:e}=y.useContext(ir),r=e[e.length-1];return(r==null?void 0:r.params)??{}}function ws(e,{relative:r}={}){let{matches:n}=y.useContext(ir),{pathname:a}=Vo(),s=JSON.stringify(M0(n));return y.useMemo(()=>Au(e,JSON.parse(s),a,r==="path"),[e,s,a,r])}function qk(e,r){return ox(e,r)}function ox(e,r,n){var z;it(Xi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=y.useContext(zo),{matches:s}=y.useContext(ir),c=s[s.length-1],u=c?c.params:{},d=c?c.pathname:"/",g=c?c.pathnameBase:"/",p=c&&c.route;{let T=p&&p.path||"";nx(d,!p||T.endsWith("*")||T.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${T}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
59
+
60
+ Please change the parent <Route path="${T}"> to <Route path="${T==="/"?"*":`${T}/*`}">.`)}let m=Vo(),v;if(r){let T=typeof r=="string"?Vi(r):r;it(g==="/"||((z=T.pathname)==null?void 0:z.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${T.pathname}" was given in the \`location\` prop.`),v=T}else v=m;let S=v.pathname||"/",k=S;if(g!=="/"){let T=g.replace(/^\//,"").split("/");k="/"+S.replace(/^\//,"").split("/").slice(T.length).join("/")}let w=n&&n.state.matches.length?n.state.matches.map(T=>Object.assign(T,{route:n.manifest[T.route.id]||T.route})):Vy(e,{pathname:k});rr(p||w!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),rr(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let x=Ik(w&&w.map(T=>Object.assign({},T,{params:Object.assign({},u,T.params),pathname:tr([g,a.encodeLocation?a.encodeLocation(T.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?g:tr([g,a.encodeLocation?a.encodeLocation(T.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathnameBase])})),s,n);return r&&x?y.createElement(xs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...v},navigationType:"POP"}},x):x}function Fk(){let e=Wk(),r=Bk(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:a},c={padding:"2px 4px",backgroundColor:a},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:c},"ErrorBoundary")," or"," ",y.createElement("code",{style:c},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},r),n?y.createElement("pre",{style:s},n):null,u)}var Hk=y.createElement(Fk,null),rx=class extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){this.props.onError?this.props.onError(e,r):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=Ak(e.digest);n&&(e=n)}let r=e!==void 0?y.createElement(ir.Provider,{value:this.props.routeContext},y.createElement(q0.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?y.createElement(Lk,{error:e},r):r}};rx.contextType=Ky;var Eh=new WeakMap;function Lk({children:e,error:r}){let{basename:n}=y.useContext(zo);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let a=Rk(r.digest);if(a){let s=Eh.get(r);if(s)throw s;let c=Yy(a.location,n);if(Qy&&!Eh.get(r))if(c.isExternal||a.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:a.replace}));throw Eh.set(r,u),u}return y.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function Pk({routeContext:e,match:r,children:n}){let a=y.useContext(Gi);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),y.createElement(ir.Provider,{value:e},n)}function Ik(e,r=[],n){let a=n==null?void 0:n.state;if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(r.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let s=e,c=a==null?void 0:a.errors;if(c!=null){let m=s.findIndex(v=>v.route.id&&(c==null?void 0:c[v.route.id])!==void 0);it(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),s=s.slice(0,Math.min(s.length,m+1))}let u=!1,d=-1;if(n&&a){u=a.renderFallback;for(let m=0;m<s.length;m++){let v=s[m];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(d=m),v.route.id){let{loaderData:S,errors:k}=a,w=v.route.loader&&!S.hasOwnProperty(v.route.id)&&(!k||k[v.route.id]===void 0);if(v.route.lazy||w){n.isStatic&&(u=!0),d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}}let g=n==null?void 0:n.onError,p=a&&g?(m,v)=>{var S,k;g(m,{location:a.location,params:((k=(S=a.matches)==null?void 0:S[0])==null?void 0:k.params)??{},pattern:_k(a.matches),errorInfo:v})}:void 0;return s.reduceRight((m,v,S)=>{let k,w=!1,x=null,z=null;a&&(k=c&&v.route.id?c[v.route.id]:void 0,x=v.route.errorElement||Hk,u&&(d<0&&S===0?(nx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,z=null):d===S&&(w=!0,z=v.route.hydrateFallbackElement||null)));let T=r.concat(s.slice(0,S+1)),j=()=>{let N;return k?N=x:w?N=z:v.route.Component?N=y.createElement(v.route.Component,null):v.route.element?N=v.route.element:N=m,y.createElement(Pk,{match:v,routeContext:{outlet:m,matches:T,isDataRoute:a!=null},children:N})};return a&&(v.route.ErrorBoundary||v.route.errorElement||S===0)?y.createElement(rx,{location:a.location,revalidation:a.revalidation,component:x,error:k,children:j(),routeContext:{outlet:null,matches:T,isDataRoute:!0},onError:p}):j()},null)}function F0(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Uk(e){let r=y.useContext(Gi);return it(r,F0(e)),r}function Vk(e){let r=y.useContext(Du);return it(r,F0(e)),r}function Gk(e){let r=y.useContext(ir);return it(r,F0(e)),r}function H0(e){let r=Gk(e),n=r.matches[r.matches.length-1];return it(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Xk(){return H0("useRouteId")}function Wk(){var a;let e=y.useContext(q0),r=Vk("useRouteError"),n=H0("useRouteError");return e!==void 0?e:(a=r.errors)==null?void 0:a[n]}function Qk(){let{router:e}=Uk("useNavigate"),r=H0("useNavigate"),n=y.useRef(!1);return tx(()=>{n.current=!0}),y.useCallback(async(s,c={})=>{rr(n.current,ex),n.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:r,...c}))},[e,r])}var J1={};function nx(e,r,n){!r&&!J1[e]&&(J1[e]=!0,rr(!1,n))}y.memo(Yk);function Yk({routes:e,manifest:r,future:n,state:a,isStatic:s,onError:c}){return ox(e,void 0,{manifest:r,state:a,isStatic:s,onError:c})}function $k({to:e,replace:r,state:n,relative:a}){it(Xi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=y.useContext(zo);rr(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=y.useContext(ir),{pathname:u}=Vo(),d=Ss(),g=Au(e,M0(c),u,a==="path"),p=JSON.stringify(g);return y.useEffect(()=>{d(JSON.parse(p),{replace:r,state:n,relative:a})},[d,p,a,r,n]),null}function vi(e){it(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Kk({basename:e="/",children:r=null,location:n,navigationType:a="POP",navigator:s,static:c=!1,useTransitions:u}){it(!Xi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),g=y.useMemo(()=>({basename:d,navigator:s,static:c,useTransitions:u,future:{}}),[d,s,c,u]);typeof n=="string"&&(n=Vi(n));let{pathname:p="/",search:m="",hash:v="",state:S=null,key:k="default",mask:w}=n,x=y.useMemo(()=>{let z=Xr(p,d);return z==null?null:{location:{pathname:z,search:m,hash:v,state:S,key:k,mask:w},navigationType:a}},[d,p,m,v,S,k,a,w]);return rr(x!=null,`<Router basename="${d}"> is not able to match the URL "${p}${m}${v}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:y.createElement(zo.Provider,{value:g},y.createElement(xs.Provider,{children:r,value:x}))}function Zk({children:e,location:r}){return qk(e0(e),r)}function e0(e,r=[]){let n=[];return y.Children.forEach(e,(a,s)=>{if(!y.isValidElement(a))return;let c=[...r,s];if(a.type===y.Fragment){n.push.apply(n,e0(a.props.children,c));return}it(a.type===vi,`[${typeof a.type=="string"?a.type:a.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),it(!a.props.index||!a.props.children,"An index route cannot have child routes.");let u={id:a.props.id||c.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(u.children=e0(a.props.children,c)),n.push(u)}),n}var lu="get",su="application/x-www-form-urlencoded";function Ou(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Jk(e){return Ou(e)&&e.tagName.toLowerCase()==="button"}function eB(e){return Ou(e)&&e.tagName.toLowerCase()==="form"}function tB(e){return Ou(e)&&e.tagName.toLowerCase()==="input"}function oB(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function rB(e,r){return e.button===0&&(!r||r==="_self")&&!oB(e)}var $c=null;function nB(){if($c===null)try{new FormData(document.createElement("form"),0),$c=!1}catch{$c=!0}return $c}var aB=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function jh(e){return e!=null&&!aB.has(e)?(rr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${su}"`),null):e}function iB(e,r){let n,a,s,c,u;if(eB(e)){let d=e.getAttribute("action");a=d?Xr(d,r):null,n=e.getAttribute("method")||lu,s=jh(e.getAttribute("enctype"))||su,c=new FormData(e)}else if(Jk(e)||tB(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=e.getAttribute("formaction")||d.getAttribute("action");if(a=g?Xr(g,r):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||lu,s=jh(e.getAttribute("formenctype"))||jh(d.getAttribute("enctype"))||su,c=new FormData(d,e),!nB()){let{name:p,type:m,value:v}=e;if(m==="image"){let S=p?`${p}.`:"";c.append(`${S}x`,"0"),c.append(`${S}y`,"0")}else p&&c.append(p,v)}}else{if(Ou(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=lu,a=null,s=su,u=e}return c&&s==="text/plain"&&(u=c,c=void 0),{action:a,method:n.toLowerCase(),encType:s,formData:c,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function L0(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function ax(e,r,n,a){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${a}`:s.pathname=`${s.pathname}.${a}`:s.pathname==="/"?s.pathname=`_root.${a}`:r&&Xr(s.pathname,r)==="/"?s.pathname=`${vu(r)}/_root.${a}`:s.pathname=`${vu(s.pathname)}.${a}`,s}async function lB(e,r){if(e.id in r)return r[e.id];try{let n=await import(e.module);return r[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function sB(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function cB(e,r,n){let a=await Promise.all(e.map(async s=>{let c=r.routes[s.route.id];if(c){let u=await lB(c,n);return u.links?u.links():[]}return[]}));return hB(a.flat(1).filter(sB).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function eb(e,r,n,a,s,c){let u=(g,p)=>n[p]?g.route.id!==n[p].route.id:!0,d=(g,p)=>{var m;return n[p].pathname!==g.pathname||((m=n[p].route.path)==null?void 0:m.endsWith("*"))&&n[p].params["*"]!==g.params["*"]};return c==="assets"?r.filter((g,p)=>u(g,p)||d(g,p)):c==="data"?r.filter((g,p)=>{var v;let m=a.routes[g.route.id];if(!m||!m.hasLoader)return!1;if(u(g,p)||d(g,p))return!0;if(g.route.shouldRevalidate){let S=g.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:((v=n[0])==null?void 0:v.params)||{},nextUrl:new URL(e,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function uB(e,r,{includeHydrateFallback:n}={}){return fB(e.map(a=>{let s=r.routes[a.route.id];if(!s)return[];let c=[s.module];return s.clientActionModule&&(c=c.concat(s.clientActionModule)),s.clientLoaderModule&&(c=c.concat(s.clientLoaderModule)),n&&s.hydrateFallbackModule&&(c=c.concat(s.hydrateFallbackModule)),s.imports&&(c=c.concat(s.imports)),c}).flat(1))}function fB(e){return[...new Set(e)]}function dB(e){let r={},n=Object.keys(e).sort();for(let a of n)r[a]=e[a];return r}function hB(e,r){let n=new Set;return new Set(r),e.reduce((a,s)=>{let c=JSON.stringify(dB(s));return n.has(c)||(n.add(c),a.push({key:c,link:s})),a},[])}function P0(){let e=y.useContext(Gi);return L0(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function gB(){let e=y.useContext(Du);return L0(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var I0=y.createContext(void 0);I0.displayName="FrameworkContext";function U0(){let e=y.useContext(I0);return L0(e,"You must render this element inside a <HydratedRouter> element"),e}function pB(e,r){let n=y.useContext(I0),[a,s]=y.useState(!1),[c,u]=y.useState(!1),{onFocus:d,onBlur:g,onMouseEnter:p,onMouseLeave:m,onTouchStart:v}=r,S=y.useRef(null);y.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let x=T=>{T.forEach(j=>{u(j.isIntersecting)})},z=new IntersectionObserver(x,{threshold:.5});return S.current&&z.observe(S.current),()=>{z.disconnect()}}},[e]),y.useEffect(()=>{if(a){let x=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(x)}}},[a]);let k=()=>{s(!0)},w=()=>{s(!1),u(!1)};return n?e!=="intent"?[c,S,{}]:[c,S,{onFocus:Yl(d,k),onBlur:Yl(g,w),onMouseEnter:Yl(p,k),onMouseLeave:Yl(m,w),onTouchStart:Yl(v,k)}]:[!1,S,{}]}function Yl(e,r){return n=>{e&&e(n),n.defaultPrevented||r(n)}}function mB({page:e,...r}){let n=Tk(),{router:a}=P0(),s=y.useMemo(()=>Vy(a.routes,e,a.basename),[a.routes,e,a.basename]);return s?n?y.createElement(bB,{page:e,matches:s,...r}):y.createElement(yB,{page:e,matches:s,...r}):null}function vB(e){let{manifest:r,routeModules:n}=U0(),[a,s]=y.useState([]);return y.useEffect(()=>{let c=!1;return cB(e,r,n).then(u=>{c||s(u)}),()=>{c=!0}},[e,r,n]),a}function bB({page:e,matches:r,...n}){let a=Vo(),{future:s}=U0(),{basename:c}=P0(),u=y.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let d=ax(e,c,s.unstable_trailingSlashAwareDataRequests,"rsc"),g=!1,p=[];for(let m of r)typeof m.route.shouldRevalidate=="function"?g=!0:p.push(m.route.id);return g&&p.length>0&&d.searchParams.set("_routes",p.join(",")),[d.pathname+d.search]},[c,s.unstable_trailingSlashAwareDataRequests,e,a,r]);return y.createElement(y.Fragment,null,u.map(d=>y.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...n})))}function yB({page:e,matches:r,...n}){let a=Vo(),{future:s,manifest:c,routeModules:u}=U0(),{basename:d}=P0(),{loaderData:g,matches:p}=gB(),m=y.useMemo(()=>eb(e,r,p,c,a,"data"),[e,r,p,c,a]),v=y.useMemo(()=>eb(e,r,p,c,a,"assets"),[e,r,p,c,a]),S=y.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let x=new Set,z=!1;if(r.forEach(j=>{var C;let N=c.routes[j.route.id];!N||!N.hasLoader||(!m.some(E=>E.route.id===j.route.id)&&j.route.id in g&&((C=u[j.route.id])!=null&&C.shouldRevalidate)||N.hasClientLoader?z=!0:x.add(j.route.id))}),x.size===0)return[];let T=ax(e,d,s.unstable_trailingSlashAwareDataRequests,"data");return z&&x.size>0&&T.searchParams.set("_routes",r.filter(j=>x.has(j.route.id)).map(j=>j.route.id).join(",")),[T.pathname+T.search]},[d,s.unstable_trailingSlashAwareDataRequests,g,a,c,m,r,e,u]),k=y.useMemo(()=>uB(v,c),[v,c]),w=vB(v);return y.createElement(y.Fragment,null,S.map(x=>y.createElement("link",{key:x,rel:"prefetch",as:"fetch",href:x,...n})),k.map(x=>y.createElement("link",{key:x,rel:"modulepreload",href:x,...n})),w.map(({key:x,link:z})=>y.createElement("link",{key:x,nonce:n.nonce,...z,crossOrigin:z.crossOrigin??n.crossOrigin})))}function xB(...e){return r=>{e.forEach(n=>{typeof n=="function"?n(r):n!=null&&(n.current=r)})}}var SB=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{SB&&(window.__reactRouterVersion="7.15.0")}catch{}function wB({basename:e,children:r,useTransitions:n,window:a}){let s=y.useRef();s.current==null&&(s.current=J3({window:a,v5Compat:!0}));let c=s.current,[u,d]=y.useState({action:c.action,location:c.location}),g=y.useCallback(p=>{n===!1?d(p):y.startTransition(()=>d(p))},[n]);return y.useLayoutEffect(()=>c.listen(g),[c,g]),y.createElement(Kk,{basename:e,children:r,location:u.location,navigationType:u.action,navigator:c,useTransitions:n})}var ix=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ur=y.forwardRef(function({onClick:r,discover:n="render",prefetch:a="none",relative:s,reloadDocument:c,replace:u,mask:d,state:g,target:p,to:m,preventScrollReset:v,viewTransition:S,defaultShouldRevalidate:k,...w},x){let{basename:z,navigator:T,useTransitions:j}=y.useContext(zo),N=typeof m=="string"&&ix.test(m),C=Yy(m,z);m=C.to;let E=Dk(m,{relative:s}),M=Vo(),Q=null;if(d){let pe=Au(d,[],M.mask?M.mask.pathname:"/",!0);z!=="/"&&(pe.pathname=pe.pathname==="/"?z:tr([z,pe.pathname])),Q=T.createHref(pe)}let[X,oe,ne]=pB(a,w),ge=zB(m,{replace:u,mask:d,state:g,target:p,preventScrollReset:v,relative:s,viewTransition:S,defaultShouldRevalidate:k,useTransitions:j});function ie(pe){r&&r(pe),pe.defaultPrevented||ge(pe)}let le=!(C.isExternal||c),ae=y.createElement("a",{...w,...ne,href:(le?Q:void 0)||C.absoluteURL||E,onClick:le?ie:r,ref:xB(x,oe),target:p,"data-discover":!N&&n==="render"?"true":void 0});return X&&!N?y.createElement(y.Fragment,null,ae,y.createElement(mB,{page:E})):ae});Ur.displayName="Link";var kB=y.forwardRef(function({"aria-current":r="page",caseSensitive:n=!1,className:a="",end:s=!1,style:c,to:u,viewTransition:d,children:g,...p},m){let v=ws(u,{relative:p.relative}),S=Vo(),k=y.useContext(Du),{navigator:w,basename:x}=y.useContext(zo),z=k!=null&&jB(v)&&d===!0,T=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,j=S.pathname,N=k&&k.navigation&&k.navigation.location?k.navigation.location.pathname:null;n||(j=j.toLowerCase(),N=N?N.toLowerCase():null,T=T.toLowerCase()),N&&x&&(N=Xr(N,x)||N);const C=T!=="/"&&T.endsWith("/")?T.length-1:T.length;let E=j===T||!s&&j.startsWith(T)&&j.charAt(C)==="/",M=N!=null&&(N===T||!s&&N.startsWith(T)&&N.charAt(T.length)==="/"),Q={isActive:E,isPending:M,isTransitioning:z},X=E?r:void 0,oe;typeof a=="function"?oe=a(Q):oe=[a,E?"active":null,M?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let ne=typeof c=="function"?c(Q):c;return y.createElement(Ur,{...p,"aria-current":X,className:oe,ref:m,style:ne,to:u,viewTransition:d},typeof g=="function"?g(Q):g)});kB.displayName="NavLink";var BB=y.forwardRef(({discover:e="render",fetcherKey:r,navigate:n,reloadDocument:a,replace:s,state:c,method:u=lu,action:d,onSubmit:g,relative:p,preventScrollReset:m,viewTransition:v,defaultShouldRevalidate:S,...k},w)=>{let{useTransitions:x}=y.useContext(zo),z=CB(),T=EB(d,{relative:p}),j=u.toLowerCase()==="get"?"get":"post",N=typeof d=="string"&&ix.test(d),C=E=>{if(g&&g(E),E.defaultPrevented)return;E.preventDefault();let M=E.nativeEvent.submitter,Q=(M==null?void 0:M.getAttribute("formmethod"))||u,X=()=>z(M||E.currentTarget,{fetcherKey:r,method:Q,navigate:n,replace:s,state:c,relative:p,preventScrollReset:m,viewTransition:v,defaultShouldRevalidate:S});x&&n!==!1?y.startTransition(()=>X()):X()};return y.createElement("form",{ref:w,method:j,action:T,onSubmit:a?g:C,...k,"data-discover":!N&&e==="render"?"true":void 0})});BB.displayName="Form";function _B(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function lx(e){let r=y.useContext(Gi);return it(r,_B(e)),r}function zB(e,{target:r,replace:n,mask:a,state:s,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:g,useTransitions:p}={}){let m=Ss(),v=Vo(),S=ws(e,{relative:u});return y.useCallback(k=>{if(rB(k,r)){k.preventDefault();let w=n!==void 0?n:as(v)===as(S),x=()=>m(e,{replace:w,mask:a,state:s,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:g});p?y.startTransition(()=>x()):x()}},[v,m,S,n,a,s,r,e,c,u,d,g,p])}var TB=0,NB=()=>`__${String(++TB)}__`;function CB(){let{router:e}=lx("useSubmit"),{basename:r}=y.useContext(zo),n=Xk(),a=e.fetch,s=e.navigate;return y.useCallback(async(c,u={})=>{let{action:d,method:g,encType:p,formData:m,body:v}=iB(c,r);if(u.navigate===!1){let S=u.fetcherKey||NB();await a(S,n,u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:m,body:v,formMethod:u.method||g,formEncType:u.encType||p,flushSync:u.flushSync})}else await s(u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:m,body:v,formMethod:u.method||g,formEncType:u.encType||p,replace:u.replace,state:u.state,fromRouteId:n,flushSync:u.flushSync,viewTransition:u.viewTransition})},[a,s,r,n])}function EB(e,{relative:r}={}){let{basename:n}=y.useContext(zo),a=y.useContext(ir);it(a,"useFormAction must be used inside a RouteContext");let[s]=a.matches.slice(-1),c={...ws(e||".",{relative:r})},u=Vo();if(e==null){c.search=u.search;let d=new URLSearchParams(c.search),g=d.getAll("index");if(g.some(m=>m==="")){d.delete("index"),g.filter(v=>v).forEach(v=>d.append("index",v));let m=d.toString();c.search=m?`?${m}`:""}}return(!e||e===".")&&s.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(c.pathname=c.pathname==="/"?n:tr([n,c.pathname])),as(c)}function jB(e,{relative:r}={}){let n=y.useContext(Zy);it(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=lx("useViewTransitionState"),s=ws(e,{relative:r});if(!n.isTransitioning)return!1;let c=Xr(n.currentLocation.pathname,a)||n.currentLocation.pathname,u=Xr(n.nextLocation.pathname,a)||n.nextLocation.pathname;return mu(s.pathname,u)!=null||mu(s.pathname,c)!=null}var t0=Uy(),Wi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(r){return this.listeners.add(r),this.onSubscribe(),()=>{this.listeners.delete(r),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ma,Tn,Bi,Cy,RB=(Cy=class extends Wi{constructor(){super();be(this,ma);be(this,Tn);be(this,Bi);ce(this,Bi,r=>{if(typeof window<"u"&&window.addEventListener){const n=()=>r();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,Tn)||this.setEventListener(A(this,Bi))}onUnsubscribe(){var r;this.hasListeners()||((r=A(this,Tn))==null||r.call(this),ce(this,Tn,void 0))}setEventListener(r){var n;ce(this,Bi,r),(n=A(this,Tn))==null||n.call(this),ce(this,Tn,r(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(r){A(this,ma)!==r&&(ce(this,ma,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(n=>{n(r)})}isFocused(){var r;return typeof A(this,ma)=="boolean"?A(this,ma):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},ma=new WeakMap,Tn=new WeakMap,Bi=new WeakMap,Cy),V0=new RB,AB={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:e=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:e=>clearInterval(e)},Nn,D0,Ey,DB=(Ey=class{constructor(){be(this,Nn,AB);be(this,D0,!1)}setTimeoutProvider(e){ce(this,Nn,e)}setTimeout(e,r){return A(this,Nn).setTimeout(e,r)}clearTimeout(e){A(this,Nn).clearTimeout(e)}setInterval(e,r){return A(this,Nn).setInterval(e,r)}clearInterval(e){A(this,Nn).clearInterval(e)}},Nn=new WeakMap,D0=new WeakMap,Ey),ga=new DB;function OB(e){setTimeout(e,0)}var MB=typeof window>"u"||"Deno"in globalThis;function Wt(){}function qB(e,r){return typeof e=="function"?e(r):e}function o0(e){return typeof e=="number"&&e>=0&&e!==1/0}function sx(e,r){return Math.max(e+(r||0)-Date.now(),0)}function Fn(e,r){return typeof e=="function"?e(r):e}function xo(e,r){return typeof e=="function"?e(r):e}function tb(e,r){const{type:n="all",exact:a,fetchStatus:s,predicate:c,queryKey:u,stale:d}=e;if(u){if(a){if(r.queryHash!==G0(u,r.options))return!1}else if(!is(r.queryKey,u))return!1}if(n!=="all"){const g=r.isActive();if(n==="active"&&!g||n==="inactive"&&g)return!1}return!(typeof d=="boolean"&&r.isStale()!==d||s&&s!==r.state.fetchStatus||c&&!c(r))}function ob(e,r){const{exact:n,status:a,predicate:s,mutationKey:c}=e;if(c){if(!r.options.mutationKey)return!1;if(n){if(za(r.options.mutationKey)!==za(c))return!1}else if(!is(r.options.mutationKey,c))return!1}return!(a&&r.state.status!==a||s&&!s(r))}function G0(e,r){return((r==null?void 0:r.queryKeyHashFn)||za)(e)}function za(e){return JSON.stringify(e,(r,n)=>r0(n)?Object.keys(n).sort().reduce((a,s)=>(a[s]=n[s],a),{}):n)}function is(e,r){return e===r?!0:typeof e!=typeof r?!1:e&&r&&typeof e=="object"&&typeof r=="object"?Object.keys(r).every(n=>is(e[n],r[n])):!1}var FB=Object.prototype.hasOwnProperty;function cx(e,r,n=0){if(e===r)return e;if(n>500)return r;const a=rb(e)&&rb(r);if(!a&&!(r0(e)&&r0(r)))return r;const c=(a?e:Object.keys(e)).length,u=a?r:Object.keys(r),d=u.length,g=a?new Array(d):{};let p=0;for(let m=0;m<d;m++){const v=a?m:u[m],S=e[v],k=r[v];if(S===k){g[v]=S,(a?m<c:FB.call(e,v))&&p++;continue}if(S===null||k===null||typeof S!="object"||typeof k!="object"){g[v]=k;continue}const w=cx(S,k,n+1);g[v]=w,w===S&&p++}return c===d&&p===c?e:g}function bu(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(const n in e)if(e[n]!==r[n])return!1;return!0}function rb(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function r0(e){if(!nb(e))return!1;const r=e.constructor;if(r===void 0)return!0;const n=r.prototype;return!(!nb(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function nb(e){return Object.prototype.toString.call(e)==="[object Object]"}function HB(e){return new Promise(r=>{ga.setTimeout(r,e)})}function n0(e,r,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,r):n.structuralSharing!==!1?cx(e,r):r}function LB(e,r,n=0){const a=[...e,r];return n&&a.length>n?a.slice(1):a}function PB(e,r,n=0){const a=[r,...e];return n&&a.length>n?a.slice(0,-1):a}var X0=Symbol();function ux(e,r){return!e.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!e.queryFn||e.queryFn===X0?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function W0(e,r){return typeof e=="function"?e(...r):!!e}function IB(e,r,n){let a=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??(s=r()),a||(a=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var ls=(()=>{let e=()=>MB;return{isServer(){return e()},setIsServer(r){e=r}}})();function a0(){let e,r;const n=new Promise((s,c)=>{e=s,r=c});n.status="pending",n.catch(()=>{});function a(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{a({status:"fulfilled",value:s}),e(s)},n.reject=s=>{a({status:"rejected",reason:s}),r(s)},n}var UB=OB;function VB(){let e=[],r=0,n=d=>{d()},a=d=>{d()},s=UB;const c=d=>{r?e.push(d):s(()=>{n(d)})},u=()=>{const d=e;e=[],d.length&&s(()=>{a(()=>{d.forEach(g=>{n(g)})})})};return{batch:d=>{let g;r++;try{g=d()}finally{r--,r||u()}return g},batchCalls:d=>(...g)=>{c(()=>{d(...g)})},schedule:c,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{a=d},setScheduler:d=>{s=d}}}var Tt=VB(),_i,Cn,zi,jy,GB=(jy=class extends Wi{constructor(){super();be(this,_i,!0);be(this,Cn);be(this,zi);ce(this,zi,r=>{if(typeof window<"u"&&window.addEventListener){const n=()=>r(!0),a=()=>r(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",a)}}})}onSubscribe(){A(this,Cn)||this.setEventListener(A(this,zi))}onUnsubscribe(){var r;this.hasListeners()||((r=A(this,Cn))==null||r.call(this),ce(this,Cn,void 0))}setEventListener(r){var n;ce(this,zi,r),(n=A(this,Cn))==null||n.call(this),ce(this,Cn,r(this.setOnline.bind(this)))}setOnline(r){A(this,_i)!==r&&(ce(this,_i,r),this.listeners.forEach(a=>{a(r)}))}isOnline(){return A(this,_i)}},_i=new WeakMap,Cn=new WeakMap,zi=new WeakMap,jy),yu=new GB;function XB(e){return Math.min(1e3*2**e,3e4)}function fx(e){return(e??"online")==="online"?yu.isOnline():!0}var i0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function dx(e){let r=!1,n=0,a;const s=a0(),c=()=>s.status!=="pending",u=x=>{var z;if(!c()){const T=new i0(x);S(T),(z=e.onCancel)==null||z.call(e,T)}},d=()=>{r=!0},g=()=>{r=!1},p=()=>V0.isFocused()&&(e.networkMode==="always"||yu.isOnline())&&e.canRun(),m=()=>fx(e.networkMode)&&e.canRun(),v=x=>{c()||(a==null||a(),s.resolve(x))},S=x=>{c()||(a==null||a(),s.reject(x))},k=()=>new Promise(x=>{var z;a=T=>{(c()||p())&&x(T)},(z=e.onPause)==null||z.call(e)}).then(()=>{var x;a=void 0,c()||(x=e.onContinue)==null||x.call(e)}),w=()=>{if(c())return;let x;const z=n===0?e.initialPromise:void 0;try{x=z??e.fn()}catch(T){x=Promise.reject(T)}Promise.resolve(x).then(v).catch(T=>{var M;if(c())return;const j=e.retry??(ls.isServer()?0:3),N=e.retryDelay??XB,C=typeof N=="function"?N(n,T):N,E=j===!0||typeof j=="number"&&n<j||typeof j=="function"&&j(n,T);if(r||!E){S(T);return}n++,(M=e.onFail)==null||M.call(e,n,T),HB(C).then(()=>p()?void 0:k()).then(()=>{r?S(T):w()})})};return{promise:s,status:()=>s.status,cancel:u,continue:()=>(a==null||a(),s),cancelRetry:d,continueRetry:g,canStart:m,start:()=>(m()?w():k().then(w),s)}}var va,Ry,hx=(Ry=class{constructor(){be(this,va)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),o0(this.gcTime)&&ce(this,va,ga.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ls.isServer()?1/0:300*1e3))}clearGcTimeout(){A(this,va)!==void 0&&(ga.clearTimeout(A(this,va)),ce(this,va,void 0))}},va=new WeakMap,Ry);function WB(e){return{onFetch:(r,n)=>{var m,v,S,k,w;const a=r.options,s=(S=(v=(m=r.fetchOptions)==null?void 0:m.meta)==null?void 0:v.fetchMore)==null?void 0:S.direction,c=((k=r.state.data)==null?void 0:k.pages)||[],u=((w=r.state.data)==null?void 0:w.pageParams)||[];let d={pages:[],pageParams:[]},g=0;const p=async()=>{let x=!1;const z=N=>{IB(N,()=>r.signal,()=>x=!0)},T=ux(r.options,r.fetchOptions),j=async(N,C,E)=>{if(x)return Promise.reject(r.signal.reason);if(C==null&&N.pages.length)return Promise.resolve(N);const Q=(()=>{const ge={client:r.client,queryKey:r.queryKey,pageParam:C,direction:E?"backward":"forward",meta:r.options.meta};return z(ge),ge})(),X=await T(Q),{maxPages:oe}=r.options,ne=E?PB:LB;return{pages:ne(N.pages,X,oe),pageParams:ne(N.pageParams,C,oe)}};if(s&&c.length){const N=s==="backward",C=N?QB:ab,E={pages:c,pageParams:u},M=C(a,E);d=await j(E,M,N)}else{const N=e??c.length;do{const C=g===0?u[0]??a.initialPageParam:ab(a,d);if(g>0&&C==null)break;d=await j(d,C),g++}while(g<N)}return d};r.options.persister?r.fetchFn=()=>{var x,z;return(z=(x=r.options).persister)==null?void 0:z.call(x,p,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},n)}:r.fetchFn=p}}}function ab(e,{pages:r,pageParams:n}){const a=r.length-1;return r.length>0?e.getNextPageParam(r[a],r,n[a],n):void 0}function QB(e,{pages:r,pageParams:n}){var a;return r.length>0?(a=e.getPreviousPageParam)==null?void 0:a.call(e,r[0],r,n[0],n):void 0}var Ti,ba,Ni,qo,ya,jt,ps,xa,yo,gx,Fr,Ay,YB=(Ay=class extends hx{constructor(r){super();be(this,yo);be(this,Ti);be(this,ba);be(this,Ni);be(this,qo);be(this,ya);be(this,jt);be(this,ps);be(this,xa);ce(this,xa,!1),ce(this,ps,r.defaultOptions),this.setOptions(r.options),this.observers=[],ce(this,ya,r.client),ce(this,qo,A(this,ya).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,ce(this,ba,lb(this.options)),this.state=r.state??A(this,ba),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return A(this,Ti)}get promise(){var r;return(r=A(this,jt))==null?void 0:r.promise}setOptions(r){if(this.options={...A(this,ps),...r},r!=null&&r._type&&ce(this,Ti,r._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=lb(this.options);n.data!==void 0&&(this.setState(ib(n.data,n.dataUpdatedAt)),ce(this,ba,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,qo).remove(this)}setData(r,n){const a=n0(this.state.data,r,this.options);return Re(this,yo,Fr).call(this,{data:a,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),a}setState(r){Re(this,yo,Fr).call(this,{type:"setState",state:r})}cancel(r){var a,s;const n=(a=A(this,jt))==null?void 0:a.promise;return(s=A(this,jt))==null||s.cancel(r),n?n.then(Wt).catch(Wt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return A(this,ba)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(r=>xo(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===X0||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(r=>Fn(r.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(r=0){return this.state.data===void 0?!0:r==="static"?!1:this.state.isInvalidated?!0:!sx(this.state.dataUpdatedAt,r)}onFocus(){var n;const r=this.observers.find(a=>a.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(n=A(this,jt))==null||n.continue()}onOnline(){var n;const r=this.observers.find(a=>a.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(n=A(this,jt))==null||n.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),A(this,qo).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(n=>n!==r),this.observers.length||(A(this,jt)&&(A(this,xa)||Re(this,yo,gx).call(this)?A(this,jt).cancel({revert:!0}):A(this,jt).cancelRetry()),this.scheduleGc()),A(this,qo).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Re(this,yo,Fr).call(this,{type:"invalidate"})}async fetch(r,n){var p,m,v,S,k,w,x,z,T,j,N;if(this.state.fetchStatus!=="idle"&&((p=A(this,jt))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,jt))return A(this,jt).continueRetry(),A(this,jt).promise}if(r&&this.setOptions(r),!this.options.queryFn){const C=this.observers.find(E=>E.options.queryFn);C&&this.setOptions(C.options)}const a=new AbortController,s=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(ce(this,xa,!0),a.signal)})},c=()=>{const C=ux(this.options,n),M=(()=>{const Q={client:A(this,ya),queryKey:this.queryKey,meta:this.meta};return s(Q),Q})();return ce(this,xa,!1),this.options.persister?this.options.persister(C,M,this):C(M)},d=(()=>{const C={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,ya),state:this.state,fetchFn:c};return s(C),C})(),g=A(this,Ti)==="infinite"?WB(this.options.pages):this.options.behavior;g==null||g.onFetch(d,this),ce(this,Ni,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((m=d.fetchOptions)==null?void 0:m.meta))&&Re(this,yo,Fr).call(this,{type:"fetch",meta:(v=d.fetchOptions)==null?void 0:v.meta}),ce(this,jt,dx({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:C=>{C instanceof i0&&C.revert&&this.setState({...A(this,Ni),fetchStatus:"idle"}),a.abort()},onFail:(C,E)=>{Re(this,yo,Fr).call(this,{type:"failed",failureCount:C,error:E})},onPause:()=>{Re(this,yo,Fr).call(this,{type:"pause"})},onContinue:()=>{Re(this,yo,Fr).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const C=await A(this,jt).start();if(C===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(C),(k=(S=A(this,qo).config).onSuccess)==null||k.call(S,C,this),(x=(w=A(this,qo).config).onSettled)==null||x.call(w,C,this.state.error,this),C}catch(C){if(C instanceof i0){if(C.silent)return A(this,jt).promise;if(C.revert){if(this.state.data===void 0)throw C;return this.state.data}}throw Re(this,yo,Fr).call(this,{type:"error",error:C}),(T=(z=A(this,qo).config).onError)==null||T.call(z,C,this),(N=(j=A(this,qo).config).onSettled)==null||N.call(j,this.state.data,C,this),C}finally{this.scheduleGc()}}},Ti=new WeakMap,ba=new WeakMap,Ni=new WeakMap,qo=new WeakMap,ya=new WeakMap,jt=new WeakMap,ps=new WeakMap,xa=new WeakMap,yo=new WeakSet,gx=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Fr=function(r){const n=a=>{switch(r.type){case"failed":return{...a,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...px(a.data,this.options),fetchMeta:r.meta??null};case"success":const s={...a,...ib(r.data,r.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ce(this,Ni,r.manual?s:void 0),s;case"error":const c=r.error;return{...a,error:c,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...r.state}}};this.state=n(this.state),Tt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),A(this,qo).notify({query:this,type:"updated",action:r})})},Ay);function px(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:fx(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ib(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function lb(e){const r=typeof e.initialData=="function"?e.initialData():e.initialData,n=r!==void 0,a=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:n?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var oo,He,ms,Xt,Sa,Ci,Hr,En,vs,Ei,ji,wa,ka,jn,Ri,Qe,Jl,l0,s0,c0,u0,f0,d0,h0,mx,Dy,$B=(Dy=class extends Wi{constructor(r,n){super();be(this,Qe);be(this,oo);be(this,He);be(this,ms);be(this,Xt);be(this,Sa);be(this,Ci);be(this,Hr);be(this,En);be(this,vs);be(this,Ei);be(this,ji);be(this,wa);be(this,ka);be(this,jn);be(this,Ri,new Set);this.options=n,ce(this,oo,r),ce(this,En,null),ce(this,Hr,a0()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(A(this,He).addObserver(this),sb(A(this,He),this.options)?Re(this,Qe,Jl).call(this):this.updateResult(),Re(this,Qe,u0).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return g0(A(this,He),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return g0(A(this,He),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Re(this,Qe,f0).call(this),Re(this,Qe,d0).call(this),A(this,He).removeObserver(this)}setOptions(r){const n=this.options,a=A(this,He);if(this.options=A(this,oo).defaultQueryOptions(r),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof xo(this.options.enabled,A(this,He))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Re(this,Qe,h0).call(this),A(this,He).setOptions(this.options),n._defaulted&&!bu(this.options,n)&&A(this,oo).getQueryCache().notify({type:"observerOptionsUpdated",query:A(this,He),observer:this});const s=this.hasListeners();s&&cb(A(this,He),a,this.options,n)&&Re(this,Qe,Jl).call(this),this.updateResult(),s&&(A(this,He)!==a||xo(this.options.enabled,A(this,He))!==xo(n.enabled,A(this,He))||Fn(this.options.staleTime,A(this,He))!==Fn(n.staleTime,A(this,He)))&&Re(this,Qe,l0).call(this);const c=Re(this,Qe,s0).call(this);s&&(A(this,He)!==a||xo(this.options.enabled,A(this,He))!==xo(n.enabled,A(this,He))||c!==A(this,jn))&&Re(this,Qe,c0).call(this,c)}getOptimisticResult(r){const n=A(this,oo).getQueryCache().build(A(this,oo),r),a=this.createResult(n,r);return ZB(this,a)&&(ce(this,Xt,a),ce(this,Ci,this.options),ce(this,Sa,A(this,He).state)),a}getCurrentResult(){return A(this,Xt)}trackResult(r,n){return new Proxy(r,{get:(a,s)=>(this.trackProp(s),n==null||n(s),s==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&A(this,Hr).status==="pending"&&A(this,Hr).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,s))})}trackProp(r){A(this,Ri).add(r)}getCurrentQuery(){return A(this,He)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const n=A(this,oo).defaultQueryOptions(r),a=A(this,oo).getQueryCache().build(A(this,oo),n);return a.fetch().then(()=>this.createResult(a,n))}fetch(r){return Re(this,Qe,Jl).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),A(this,Xt)))}createResult(r,n){var oe;const a=A(this,He),s=this.options,c=A(this,Xt),u=A(this,Sa),d=A(this,Ci),p=r!==a?r.state:A(this,ms),{state:m}=r;let v={...m},S=!1,k;if(n._optimisticResults){const ne=this.hasListeners(),ge=!ne&&sb(r,n),ie=ne&&cb(r,a,n,s);(ge||ie)&&(v={...v,...px(m.data,r.options)}),n._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:w,errorUpdatedAt:x,status:z}=v;k=v.data;let T=!1;if(n.placeholderData!==void 0&&k===void 0&&z==="pending"){let ne;c!=null&&c.isPlaceholderData&&n.placeholderData===(d==null?void 0:d.placeholderData)?(ne=c.data,T=!0):ne=typeof n.placeholderData=="function"?n.placeholderData((oe=A(this,ji))==null?void 0:oe.state.data,A(this,ji)):n.placeholderData,ne!==void 0&&(z="success",k=n0(c==null?void 0:c.data,ne,n),S=!0)}if(n.select&&k!==void 0&&!T)if(c&&k===(u==null?void 0:u.data)&&n.select===A(this,vs))k=A(this,Ei);else try{ce(this,vs,n.select),k=n.select(k),k=n0(c==null?void 0:c.data,k,n),ce(this,Ei,k),ce(this,En,null)}catch(ne){ce(this,En,ne)}A(this,En)&&(w=A(this,En),k=A(this,Ei),x=Date.now(),z="error");const j=v.fetchStatus==="fetching",N=z==="pending",C=z==="error",E=N&&j,M=k!==void 0,X={status:z,fetchStatus:v.fetchStatus,isPending:N,isSuccess:z==="success",isError:C,isInitialLoading:E,isLoading:E,data:k,dataUpdatedAt:v.dataUpdatedAt,error:w,errorUpdatedAt:x,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:r.isFetched(),isFetchedAfterMount:v.dataUpdateCount>p.dataUpdateCount||v.errorUpdateCount>p.errorUpdateCount,isFetching:j,isRefetching:j&&!N,isLoadingError:C&&!M,isPaused:v.fetchStatus==="paused",isPlaceholderData:S,isRefetchError:C&&M,isStale:Q0(r,n),refetch:this.refetch,promise:A(this,Hr),isEnabled:xo(n.enabled,r)!==!1};if(this.options.experimental_prefetchInRender){const ne=X.data!==void 0,ge=X.status==="error"&&!ne,ie=pe=>{ge?pe.reject(X.error):ne&&pe.resolve(X.data)},le=()=>{const pe=ce(this,Hr,X.promise=a0());ie(pe)},ae=A(this,Hr);switch(ae.status){case"pending":r.queryHash===a.queryHash&&ie(ae);break;case"fulfilled":(ge||X.data!==ae.value)&&le();break;case"rejected":(!ge||X.error!==ae.reason)&&le();break}}return X}updateResult(){const r=A(this,Xt),n=this.createResult(A(this,He),this.options);if(ce(this,Sa,A(this,He).state),ce(this,Ci,this.options),A(this,Sa).data!==void 0&&ce(this,ji,A(this,He)),bu(n,r))return;ce(this,Xt,n);const a=()=>{if(!r)return!0;const{notifyOnChangeProps:s}=this.options,c=typeof s=="function"?s():s;if(c==="all"||!c&&!A(this,Ri).size)return!0;const u=new Set(c??A(this,Ri));return this.options.throwOnError&&u.add("error"),Object.keys(A(this,Xt)).some(d=>{const g=d;return A(this,Xt)[g]!==r[g]&&u.has(g)})};Re(this,Qe,mx).call(this,{listeners:a()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Re(this,Qe,u0).call(this)}},oo=new WeakMap,He=new WeakMap,ms=new WeakMap,Xt=new WeakMap,Sa=new WeakMap,Ci=new WeakMap,Hr=new WeakMap,En=new WeakMap,vs=new WeakMap,Ei=new WeakMap,ji=new WeakMap,wa=new WeakMap,ka=new WeakMap,jn=new WeakMap,Ri=new WeakMap,Qe=new WeakSet,Jl=function(r){Re(this,Qe,h0).call(this);let n=A(this,He).fetch(this.options,r);return r!=null&&r.throwOnError||(n=n.catch(Wt)),n},l0=function(){Re(this,Qe,f0).call(this);const r=Fn(this.options.staleTime,A(this,He));if(ls.isServer()||A(this,Xt).isStale||!o0(r))return;const a=sx(A(this,Xt).dataUpdatedAt,r)+1;ce(this,wa,ga.setTimeout(()=>{A(this,Xt).isStale||this.updateResult()},a))},s0=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(A(this,He)):this.options.refetchInterval)??!1},c0=function(r){Re(this,Qe,d0).call(this),ce(this,jn,r),!(ls.isServer()||xo(this.options.enabled,A(this,He))===!1||!o0(A(this,jn))||A(this,jn)===0)&&ce(this,ka,ga.setInterval(()=>{(this.options.refetchIntervalInBackground||V0.isFocused())&&Re(this,Qe,Jl).call(this)},A(this,jn)))},u0=function(){Re(this,Qe,l0).call(this),Re(this,Qe,c0).call(this,Re(this,Qe,s0).call(this))},f0=function(){A(this,wa)!==void 0&&(ga.clearTimeout(A(this,wa)),ce(this,wa,void 0))},d0=function(){A(this,ka)!==void 0&&(ga.clearInterval(A(this,ka)),ce(this,ka,void 0))},h0=function(){const r=A(this,oo).getQueryCache().build(A(this,oo),this.options);if(r===A(this,He))return;const n=A(this,He);ce(this,He,r),ce(this,ms,r.state),this.hasListeners()&&(n==null||n.removeObserver(this),r.addObserver(this))},mx=function(r){Tt.batch(()=>{r.listeners&&this.listeners.forEach(n=>{n(A(this,Xt))}),A(this,oo).getQueryCache().notify({query:A(this,He),type:"observerResultsUpdated"})})},Dy);function KB(e,r){return xo(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&xo(r.retryOnMount,e)===!1)}function sb(e,r){return KB(e,r)||e.state.data!==void 0&&g0(e,r,r.refetchOnMount)}function g0(e,r,n){if(xo(r.enabled,e)!==!1&&Fn(r.staleTime,e)!=="static"){const a=typeof n=="function"?n(e):n;return a==="always"||a!==!1&&Q0(e,r)}return!1}function cb(e,r,n,a){return(e!==r||xo(a.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Q0(e,n)}function Q0(e,r){return xo(r.enabled,e)!==!1&&e.isStaleByTime(Fn(r.staleTime,e))}function ZB(e,r){return!bu(e.getCurrentResult(),r)}var bs,hr,Lt,Ba,gr,zn,Oy,JB=(Oy=class extends hx{constructor(r){super();be(this,gr);be(this,bs);be(this,hr);be(this,Lt);be(this,Ba);ce(this,bs,r.client),this.mutationId=r.mutationId,ce(this,Lt,r.mutationCache),ce(this,hr,[]),this.state=r.state||vx(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){A(this,hr).includes(r)||(A(this,hr).push(r),this.clearGcTimeout(),A(this,Lt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){ce(this,hr,A(this,hr).filter(n=>n!==r)),this.scheduleGc(),A(this,Lt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){A(this,hr).length||(this.state.status==="pending"?this.scheduleGc():A(this,Lt).remove(this))}continue(){var r;return((r=A(this,Ba))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var u,d,g,p,m,v,S,k,w,x,z,T,j,N,C,E,M,Q;const n=()=>{Re(this,gr,zn).call(this,{type:"continue"})},a={client:A(this,bs),meta:this.options.meta,mutationKey:this.options.mutationKey};ce(this,Ba,dx({fn:()=>this.options.mutationFn?this.options.mutationFn(r,a):Promise.reject(new Error("No mutationFn found")),onFail:(X,oe)=>{Re(this,gr,zn).call(this,{type:"failed",failureCount:X,error:oe})},onPause:()=>{Re(this,gr,zn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,Lt).canRun(this)}));const s=this.state.status==="pending",c=!A(this,Ba).canStart();try{if(s)n();else{Re(this,gr,zn).call(this,{type:"pending",variables:r,isPaused:c}),A(this,Lt).config.onMutate&&await A(this,Lt).config.onMutate(r,this,a);const oe=await((d=(u=this.options).onMutate)==null?void 0:d.call(u,r,a));oe!==this.state.context&&Re(this,gr,zn).call(this,{type:"pending",context:oe,variables:r,isPaused:c})}const X=await A(this,Ba).start();return await((p=(g=A(this,Lt).config).onSuccess)==null?void 0:p.call(g,X,r,this.state.context,this,a)),await((v=(m=this.options).onSuccess)==null?void 0:v.call(m,X,r,this.state.context,a)),await((k=(S=A(this,Lt).config).onSettled)==null?void 0:k.call(S,X,null,this.state.variables,this.state.context,this,a)),await((x=(w=this.options).onSettled)==null?void 0:x.call(w,X,null,r,this.state.context,a)),Re(this,gr,zn).call(this,{type:"success",data:X}),X}catch(X){try{await((T=(z=A(this,Lt).config).onError)==null?void 0:T.call(z,X,r,this.state.context,this,a))}catch(oe){Promise.reject(oe)}try{await((N=(j=this.options).onError)==null?void 0:N.call(j,X,r,this.state.context,a))}catch(oe){Promise.reject(oe)}try{await((E=(C=A(this,Lt).config).onSettled)==null?void 0:E.call(C,void 0,X,this.state.variables,this.state.context,this,a))}catch(oe){Promise.reject(oe)}try{await((Q=(M=this.options).onSettled)==null?void 0:Q.call(M,void 0,X,r,this.state.context,a))}catch(oe){Promise.reject(oe)}throw Re(this,gr,zn).call(this,{type:"error",error:X}),X}finally{A(this,Lt).runNext(this)}}},bs=new WeakMap,hr=new WeakMap,Lt=new WeakMap,Ba=new WeakMap,gr=new WeakSet,zn=function(r){const n=a=>{switch(r.type){case"failed":return{...a,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...a,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:r.error,failureCount:a.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Tt.batch(()=>{A(this,hr).forEach(a=>{a.onMutationUpdate(r)}),A(this,Lt).notify({mutation:this,type:"updated",action:r})})},Oy);function vx(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Lr,Ko,ys,My,e4=(My=class extends Wi{constructor(r={}){super();be(this,Lr);be(this,Ko);be(this,ys);this.config=r,ce(this,Lr,new Set),ce(this,Ko,new Map),ce(this,ys,0)}build(r,n,a){const s=new JB({client:r,mutationCache:this,mutationId:++Yc(this,ys)._,options:r.defaultMutationOptions(n),state:a});return this.add(s),s}add(r){A(this,Lr).add(r);const n=Kc(r);if(typeof n=="string"){const a=A(this,Ko).get(n);a?a.push(r):A(this,Ko).set(n,[r])}this.notify({type:"added",mutation:r})}remove(r){if(A(this,Lr).delete(r)){const n=Kc(r);if(typeof n=="string"){const a=A(this,Ko).get(n);if(a)if(a.length>1){const s=a.indexOf(r);s!==-1&&a.splice(s,1)}else a[0]===r&&A(this,Ko).delete(n)}}this.notify({type:"removed",mutation:r})}canRun(r){const n=Kc(r);if(typeof n=="string"){const a=A(this,Ko).get(n),s=a==null?void 0:a.find(c=>c.state.status==="pending");return!s||s===r}else return!0}runNext(r){var a;const n=Kc(r);if(typeof n=="string"){const s=(a=A(this,Ko).get(n))==null?void 0:a.find(c=>c!==r&&c.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Tt.batch(()=>{A(this,Lr).forEach(r=>{this.notify({type:"removed",mutation:r})}),A(this,Lr).clear(),A(this,Ko).clear()})}getAll(){return Array.from(A(this,Lr))}find(r){const n={exact:!0,...r};return this.getAll().find(a=>ob(n,a))}findAll(r={}){return this.getAll().filter(n=>ob(r,n))}notify(r){Tt.batch(()=>{this.listeners.forEach(n=>{n(r)})})}resumePausedMutations(){const r=this.getAll().filter(n=>n.state.isPaused);return Tt.batch(()=>Promise.all(r.map(n=>n.continue().catch(Wt))))}},Lr=new WeakMap,Ko=new WeakMap,ys=new WeakMap,My);function Kc(e){var r;return(r=e.options.scope)==null?void 0:r.id}var Pr,Rn,ro,Ir,Gr,cu,p0,qy,t4=(qy=class extends Wi{constructor(n,a){super();be(this,Gr);be(this,Pr);be(this,Rn);be(this,ro);be(this,Ir);ce(this,Pr,n),this.setOptions(a),this.bindMethods(),Re(this,Gr,cu).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var s;const a=this.options;this.options=A(this,Pr).defaultMutationOptions(n),bu(this.options,a)||A(this,Pr).getMutationCache().notify({type:"observerOptionsUpdated",mutation:A(this,ro),observer:this}),a!=null&&a.mutationKey&&this.options.mutationKey&&za(a.mutationKey)!==za(this.options.mutationKey)?this.reset():((s=A(this,ro))==null?void 0:s.state.status)==="pending"&&A(this,ro).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=A(this,ro))==null||n.removeObserver(this)}onMutationUpdate(n){Re(this,Gr,cu).call(this),Re(this,Gr,p0).call(this,n)}getCurrentResult(){return A(this,Rn)}reset(){var n;(n=A(this,ro))==null||n.removeObserver(this),ce(this,ro,void 0),Re(this,Gr,cu).call(this),Re(this,Gr,p0).call(this)}mutate(n,a){var s;return ce(this,Ir,a),(s=A(this,ro))==null||s.removeObserver(this),ce(this,ro,A(this,Pr).getMutationCache().build(A(this,Pr),this.options)),A(this,ro).addObserver(this),A(this,ro).execute(n)}},Pr=new WeakMap,Rn=new WeakMap,ro=new WeakMap,Ir=new WeakMap,Gr=new WeakSet,cu=function(){var a;const n=((a=A(this,ro))==null?void 0:a.state)??vx();ce(this,Rn,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},p0=function(n){Tt.batch(()=>{var a,s,c,u,d,g,p,m;if(A(this,Ir)&&this.hasListeners()){const v=A(this,Rn).variables,S=A(this,Rn).context,k={client:A(this,Pr),meta:this.options.meta,mutationKey:this.options.mutationKey};if((n==null?void 0:n.type)==="success"){try{(s=(a=A(this,Ir)).onSuccess)==null||s.call(a,n.data,v,S,k)}catch(w){Promise.reject(w)}try{(u=(c=A(this,Ir)).onSettled)==null||u.call(c,n.data,null,v,S,k)}catch(w){Promise.reject(w)}}else if((n==null?void 0:n.type)==="error"){try{(g=(d=A(this,Ir)).onError)==null||g.call(d,n.error,v,S,k)}catch(w){Promise.reject(w)}try{(m=(p=A(this,Ir)).onSettled)==null||m.call(p,void 0,n.error,v,S,k)}catch(w){Promise.reject(w)}}}this.listeners.forEach(v=>{v(A(this,Rn))})})},qy),pr,Fy,o4=(Fy=class extends Wi{constructor(r={}){super();be(this,pr);this.config=r,ce(this,pr,new Map)}build(r,n,a){const s=n.queryKey,c=n.queryHash??G0(s,n);let u=this.get(c);return u||(u=new YB({client:r,queryKey:s,queryHash:c,options:r.defaultQueryOptions(n),state:a,defaultOptions:r.getQueryDefaults(s)}),this.add(u)),u}add(r){A(this,pr).has(r.queryHash)||(A(this,pr).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const n=A(this,pr).get(r.queryHash);n&&(r.destroy(),n===r&&A(this,pr).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){Tt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return A(this,pr).get(r)}getAll(){return[...A(this,pr).values()]}find(r){const n={exact:!0,...r};return this.getAll().find(a=>tb(n,a))}findAll(r={}){const n=this.getAll();return Object.keys(r).length>0?n.filter(a=>tb(r,a)):n}notify(r){Tt.batch(()=>{this.listeners.forEach(n=>{n(r)})})}onFocus(){Tt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){Tt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},pr=new WeakMap,Fy),ut,An,Dn,Ai,Di,On,Oi,Mi,Hy,r4=(Hy=class{constructor(e={}){be(this,ut);be(this,An);be(this,Dn);be(this,Ai);be(this,Di);be(this,On);be(this,Oi);be(this,Mi);ce(this,ut,e.queryCache||new o4),ce(this,An,e.mutationCache||new e4),ce(this,Dn,e.defaultOptions||{}),ce(this,Ai,new Map),ce(this,Di,new Map),ce(this,On,0)}mount(){Yc(this,On)._++,A(this,On)===1&&(ce(this,Oi,V0.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ut).onFocus())})),ce(this,Mi,yu.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ut).onOnline())})))}unmount(){var e,r;Yc(this,On)._--,A(this,On)===0&&((e=A(this,Oi))==null||e.call(this),ce(this,Oi,void 0),(r=A(this,Mi))==null||r.call(this),ce(this,Mi,void 0))}isFetching(e){return A(this,ut).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,An).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const r=this.defaultQueryOptions({queryKey:e});return(n=A(this,ut).get(r.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const r=this.defaultQueryOptions(e),n=A(this,ut).build(this,r),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Fn(r.staleTime,n))&&this.prefetchQuery(r),Promise.resolve(a))}getQueriesData(e){return A(this,ut).findAll(e).map(({queryKey:r,state:n})=>{const a=n.data;return[r,a]})}setQueryData(e,r,n){const a=this.defaultQueryOptions({queryKey:e}),s=A(this,ut).get(a.queryHash),c=s==null?void 0:s.state.data,u=qB(r,c);if(u!==void 0)return A(this,ut).build(this,a).setData(u,{...n,manual:!0})}setQueriesData(e,r,n){return Tt.batch(()=>A(this,ut).findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,r,n)]))}getQueryState(e){var n;const r=this.defaultQueryOptions({queryKey:e});return(n=A(this,ut).get(r.queryHash))==null?void 0:n.state}removeQueries(e){const r=A(this,ut);Tt.batch(()=>{r.findAll(e).forEach(n=>{r.remove(n)})})}resetQueries(e,r){const n=A(this,ut);return Tt.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},r)))}cancelQueries(e,r={}){const n={revert:!0,...r},a=Tt.batch(()=>A(this,ut).findAll(e).map(s=>s.cancel(n)));return Promise.all(a).then(Wt).catch(Wt)}invalidateQueries(e,r={}){return Tt.batch(()=>(A(this,ut).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},r)))}refetchQueries(e,r={}){const n={...r,cancelRefetch:r.cancelRefetch??!0},a=Tt.batch(()=>A(this,ut).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let c=s.fetch(void 0,n);return n.throwOnError||(c=c.catch(Wt)),s.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(a).then(Wt)}fetchQuery(e){const r=this.defaultQueryOptions(e);r.retry===void 0&&(r.retry=!1);const n=A(this,ut).build(this,r);return n.isStaleByTime(Fn(r.staleTime,n))?n.fetch(r):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Wt).catch(Wt)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Wt).catch(Wt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return yu.isOnline()?A(this,An).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,ut)}getMutationCache(){return A(this,An)}getDefaultOptions(){return A(this,Dn)}setDefaultOptions(e){ce(this,Dn,e)}setQueryDefaults(e,r){A(this,Ai).set(za(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){const r=[...A(this,Ai).values()],n={};return r.forEach(a=>{is(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,r){A(this,Di).set(za(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){const r=[...A(this,Di).values()],n={};return r.forEach(a=>{is(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const r={...A(this,Dn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return r.queryHash||(r.queryHash=G0(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===X0&&(r.enabled=!1),r}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,Dn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,ut).clear(),A(this,An).clear()}},ut=new WeakMap,An=new WeakMap,Dn=new WeakMap,Ai=new WeakMap,Di=new WeakMap,On=new WeakMap,Oi=new WeakMap,Mi=new WeakMap,Hy),bx=y.createContext(void 0),Mu=e=>{const r=y.useContext(bx);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},n4=({client:e,children:r})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),B.jsx(bx.Provider,{value:e,children:r})),yx=y.createContext(!1),a4=()=>y.useContext(yx);yx.Provider;function i4(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var l4=y.createContext(i4()),s4=()=>y.useContext(l4),c4=(e,r,n)=>{const a=n!=null&&n.state.error&&typeof e.throwOnError=="function"?W0(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||a)&&(r.isReset()||(e.retryOnMount=!1))},u4=e=>{y.useEffect(()=>{e.clearReset()},[e])},f4=({result:e,errorResetBoundary:r,throwOnError:n,query:a,suspense:s})=>e.isError&&!r.isReset()&&!e.isFetching&&a&&(s&&e.data===void 0||W0(n,[e.error,a])),d4=e=>{if(e.suspense){const n=s=>s==="static"?s:Math.max(s??1e3,1e3),a=e.staleTime;e.staleTime=typeof a=="function"?(...s)=>n(a(...s)):n(a),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},h4=(e,r)=>e.isLoading&&e.isFetching&&!r,g4=(e,r)=>(e==null?void 0:e.suspense)&&r.isPending,ub=(e,r,n)=>r.fetchOptimistic(e).catch(()=>{n.clearReset()});function p4(e,r,n){var S,k,w,x;const a=a4(),s=s4(),c=Mu(),u=c.defaultQueryOptions(e);(k=(S=c.getDefaultOptions().queries)==null?void 0:S._experimental_beforeQuery)==null||k.call(S,u);const d=c.getQueryCache().get(u.queryHash);u._optimisticResults=a?"isRestoring":"optimistic",d4(u),c4(u,s,d),u4(s);const g=!c.getQueryCache().get(u.queryHash),[p]=y.useState(()=>new r(c,u)),m=p.getOptimisticResult(u),v=!a&&e.subscribed!==!1;if(y.useSyncExternalStore(y.useCallback(z=>{const T=v?p.subscribe(Tt.batchCalls(z)):Wt;return p.updateResult(),T},[p,v]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),y.useEffect(()=>{p.setOptions(u)},[u,p]),g4(u,m))throw ub(u,p,s);if(f4({result:m,errorResetBoundary:s,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw m.error;if((x=(w=c.getDefaultOptions().queries)==null?void 0:w._experimental_afterQuery)==null||x.call(w,u,m),u.experimental_prefetchInRender&&!ls.isServer()&&h4(m,a)){const z=g?ub(u,p,s):d==null?void 0:d.promise;z==null||z.catch(Wt).finally(()=>{p.updateResult()})}return u.notifyOnChangeProps?m:p.trackResult(m)}function qu(e,r){return p4(e,$B)}function xx(e,r){const n=Mu(),[a]=y.useState(()=>new t4(n,e));y.useEffect(()=>{a.setOptions(e)},[a,e]);const s=y.useSyncExternalStore(y.useCallback(u=>a.subscribe(Tt.batchCalls(u)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),c=y.useCallback((u,d)=>{a.mutate(u,d).catch(Wt)},[a]);if(s.error&&W0(a.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:c,mutateAsync:s.mutate}}const Rh=typeof window>"u"?global:window,Ah="@griffel/";function m4(e,r){return Rh[Symbol.for(Ah+e)]||(Rh[Symbol.for(Ah+e)]=r),Rh[Symbol.for(Ah+e)]}const m0=m4("DEFINITION_LOOKUP_TABLE",{}),ts="data-make-styles-bucket",v4="data-priority",v0="f",b0=7,Y0="___",b4=Y0.length+b0,y4=0,x4=1,S4={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},y0="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function ss(e){for(var r=0,n,a=0,s=e.length;s>=4;++a,s-=4)n=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,r=(n&65535)*1540483477+((n>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(s){case 3:r^=(e.charCodeAt(a+2)&255)<<16;case 2:r^=(e.charCodeAt(a+1)&255)<<8;case 1:r^=e.charCodeAt(a)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}function w4(e){const r=e.length;if(r===b0)return e;for(let n=r;n<b0;n++)e+="0";return e}function Sx(e,r,n=[]){return Y0+w4(ss(e+r))}function wx(e,r){let n="",a="";for(const s in e){const c=e[s];if(c===0){a+=s+" ";continue}const u=Array.isArray(c),d=r==="rtl"?(u?c[1]:c)+" ":(u?c[0]:c)+" ";n+=d,a+=d}return[n.slice(0,-1),a.slice(0,-1)]}function xu(e,r){const n={};for(const a in e){const[s,c]=wx(e[a],r);if(c===""){n[a]="";continue}const u=Sx(c,r),d=u+(s===""?"":" "+s);m0[u]=[e[a],r],n[a]=d}return n}const fb={};function ve(){let e=null,r="",n="";const a=new Array(arguments.length);for(let v=0;v<arguments.length;v++){const S=arguments[v];if(typeof S=="string"&&S!==""){const k=S.indexOf(Y0);if(k===-1)r+=S+" ";else{const w=S.substr(k,b4);k>0&&(r+=S.slice(0,k)),n+=w,a[v]=w}}}if(n==="")return r.slice(0,-1);const s=fb[n];if(s!==void 0)return r+s;const c=[];for(let v=0;v<arguments.length;v++){const S=a[v];if(S){const k=m0[S];k&&(c.push(k[y4]),e=k[x4])}}const u=Object.assign.apply(Object,[{}].concat(c)),[d,g]=wx(u,e),p=Sx(g,e,a),m=p+" "+d;return fb[n]=m,m0[p]=[u,e],r+m}function k4(e){return Array.isArray(e)?e:[e]}function B4(e,r,n,a){const s=[];if(a[ts]=r,a[v4]=String(n),e)for(const u in a)e.setAttribute(u,a[u]);function c(u){return e!=null&&e.sheet?e.sheet.insertRule(u,e.sheet.cssRules.length):s.push(u)}return{elementAttributes:a,insertRule:c,element:e,bucketName:r,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(u=>u.cssText):s}}}const _4=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],db=_4.reduce((e,r,n)=>(e[r]=n,e),{});function z4(e,r,n){return(e==="m"?e+r:e)+n}function T4(e,r,n,a,s={}){var c,u;const d=e==="m",g=(c=s.m)!==null&&c!==void 0?c:"0",p=(u=s.p)!==null&&u!==void 0?u:0,m=z4(e,g,p);if(!a.stylesheets[m]){const v=r&&r.createElement("style"),S=B4(v,e,p,{...a.styleElementAttributes,...d&&{media:g}});a.stylesheets[m]=S,r!=null&&r.head&&v&&r.head.insertBefore(v,C4(r,n,e,a,s))}return a.stylesheets[m]}function N4(e,r,n){var a,s;const c=r+((a=n.m)!==null&&a!==void 0?a:""),u=e.getAttribute(ts)+((s=e.media)!==null&&s!==void 0?s:"");return c===u}function C4(e,r,n,a,s={}){var c,u;const d=db[n],g=(c=s.m)!==null&&c!==void 0?c:"",p=(u=s.p)!==null&&u!==void 0?u:0;let m=x=>d-db[x.getAttribute(ts)],v=e.head.querySelectorAll(`[${ts}]`);if(n==="m"){const x=e.head.querySelectorAll(`[${ts}="${n}"]`);x.length&&(v=x,m=z=>a.compareMediaQueries(g,z.media))}const S=x=>N4(x,n,s)?p-Number(x.getAttribute("data-priority")):m(x),k=v.length;let w=k-1;for(;w>=0;){const x=v.item(w);if(S(x)>0)return x.nextSibling;w--}return k>0?v.item(0):r?r.nextSibling:null}function hb(e,r){try{e.insertRule(r)}catch{}}let E4=0;const j4=(e,r)=>e<r?-1:e>r?1:0;function R4(e=typeof document>"u"?void 0:document,r={}){const{classNameHashSalt:n,unstable_filterCSSRule:a,insertionPoint:s,styleElementAttributes:c,compareMediaQueries:u=j4}=r,d={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${E4++}`,insertCSSRules(g){for(const p in g){const m=g[p];for(let v=0,S=m.length;v<S;v++){const[k,w]=k4(m[v]),x=T4(p,e,s||null,d,w);d.insertionCache[k]||(d.insertionCache[k]=p,a?a(k)&&hb(x,k):hb(x,k))}}}};return d}const $0=()=>{const e={};return function(n,a){e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}};function kx(e){return e.reduce(function(r,n){var a=n[0],s=n[1];return r[a]=s,r[s]=a,r},{})}function A4(e){return typeof e=="boolean"}function D4(e){return typeof e=="function"}function es(e){return typeof e=="number"}function O4(e){return e===null||typeof e>"u"}function M4(e){return e&&typeof e=="object"}function q4(e){return typeof e=="string"}function uu(e,r){return e.indexOf(r)!==-1}function F4(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function Zc(e,r,n,a){return r+F4(n)+a}function H4(e){var r=e.indexOf(".");if(r===-1)e=100-parseFloat(e)+"%";else{var n=e.length-r-2;e=100-parseFloat(e),e=e.toFixed(n)+"%"}return e}function Bx(e){return e.replace(/ +/g," ").split(" ").map(function(r){return r.trim()}).filter(Boolean).reduce(function(r,n){var a=r.list,s=r.state,c=(n.match(/\(/g)||[]).length,u=(n.match(/\)/g)||[]).length;return s.parensDepth>0?a[a.length-1]=a[a.length-1]+" "+n:a.push(n),s.parensDepth+=c-u,{list:a,state:s}},{list:[],state:{parensDepth:0}}).list}function gb(e){var r=Bx(e);if(r.length<=3||r.length>4)return e;var n=r[0],a=r[1],s=r[2],c=r[3];return[n,c,s,a].join(" ")}function L4(e){return!A4(e)&&!O4(e)}function P4(e){for(var r=[],n=0,a=0,s=!1;a<e.length;)!s&&e[a]===","?(r.push(e.substring(n,a).trim()),a++,n=a):e[a]==="("?(s=!0,a++):(e[a]===")"&&(s=!1),a++);return n!=a&&r.push(e.substring(n,a+1)),r}var ee={padding:function(r){var n=r.value;return es(n)?n:gb(n)},textShadow:function(r){var n=r.value,a=P4(n).map(function(s){return s.replace(/(^|\s)(-*)([.|\d]+)/,function(c,u,d,g){if(g==="0")return c;var p=d===""?"-":"";return""+u+p+g})});return a.join(",")},borderColor:function(r){var n=r.value;return gb(n)},borderRadius:function(r){var n=r.value;if(es(n))return n;if(uu(n,"/")){var a=n.split("/"),s=a[0],c=a[1],u=ee.borderRadius({value:s.trim()}),d=ee.borderRadius({value:c.trim()});return u+" / "+d}var g=Bx(n);switch(g.length){case 2:return g.reverse().join(" ");case 4:{var p=g[0],m=g[1],v=g[2],S=g[3];return[m,p,S,v].join(" ")}default:return n}},background:function(r){var n=r.value,a=r.valuesToConvert,s=r.isRtl,c=r.bgImgDirectionRegex,u=r.bgPosDirectionRegex;if(es(n))return n;var d=n.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return n=n.replace(d,ee.backgroundPosition({value:d,valuesToConvert:a,isRtl:s,bgPosDirectionRegex:u})),ee.backgroundImage({value:n,valuesToConvert:a,bgImgDirectionRegex:c})},backgroundImage:function(r){var n=r.value,a=r.valuesToConvert,s=r.bgImgDirectionRegex;return!uu(n,"url(")&&!uu(n,"linear-gradient(")?n:n.replace(s,function(c,u,d){return c.replace(d,a[d])})},backgroundPosition:function(r){var n=r.value,a=r.valuesToConvert,s=r.isRtl,c=r.bgPosDirectionRegex;return n.replace(s?/^((-|\d|\.)+%)/:null,function(u,d){return H4(d)}).replace(c,function(u){return a[u]})},backgroundPositionX:function(r){var n=r.value,a=r.valuesToConvert,s=r.isRtl,c=r.bgPosDirectionRegex;return es(n)?n:ee.backgroundPosition({value:n,valuesToConvert:a,isRtl:s,bgPosDirectionRegex:c})},transition:function(r){var n=r.value,a=r.propertiesToConvert;return n.split(/,\s*/g).map(function(s){var c=s.split(" ");return c[0]=a[c[0]]||c[0],c.join(" ")}).join(", ")},transitionProperty:function(r){var n=r.value,a=r.propertiesToConvert;return n.split(/,\s*/g).map(function(s){return a[s]||s}).join(", ")},transform:function(r){var n=r.value,a="[^\\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]|"+a+"|"+s+")")+("(?:[_a-z0-9-]|"+a+"|"+s+")")+"*")+")?")+")|(?:inherit|auto))",u=new RegExp("(translateX\\s*\\(\\s*)"+c+"(\\s*\\))","gi"),d=new RegExp("(translate\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,1}\\s*\\))","gi"),g=new RegExp("(translate3d\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,2}\\s*\\))","gi"),p=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+c+"(\\s*\\))","gi");return n.replace(u,Zc).replace(d,Zc).replace(g,Zc).replace(p,Zc)}};ee.objectPosition=ee.backgroundPosition;ee.margin=ee.padding;ee.borderWidth=ee.padding;ee.boxShadow=ee.textShadow;ee.webkitBoxShadow=ee.boxShadow;ee.mozBoxShadow=ee.boxShadow;ee.WebkitBoxShadow=ee.boxShadow;ee.MozBoxShadow=ee.boxShadow;ee.borderStyle=ee.borderColor;ee.webkitTransform=ee.transform;ee.mozTransform=ee.transform;ee.WebkitTransform=ee.transform;ee.MozTransform=ee.transform;ee.transformOrigin=ee.backgroundPosition;ee.webkitTransformOrigin=ee.transformOrigin;ee.mozTransformOrigin=ee.transformOrigin;ee.WebkitTransformOrigin=ee.transformOrigin;ee.MozTransformOrigin=ee.transformOrigin;ee.webkitTransition=ee.transition;ee.mozTransition=ee.transition;ee.WebkitTransition=ee.transition;ee.MozTransition=ee.transition;ee.webkitTransitionProperty=ee.transitionProperty;ee.mozTransitionProperty=ee.transitionProperty;ee.WebkitTransitionProperty=ee.transitionProperty;ee.MozTransitionProperty=ee.transitionProperty;ee["text-shadow"]=ee.textShadow;ee["border-color"]=ee.borderColor;ee["border-radius"]=ee.borderRadius;ee["background-image"]=ee.backgroundImage;ee["background-position"]=ee.backgroundPosition;ee["background-position-x"]=ee.backgroundPositionX;ee["object-position"]=ee.objectPosition;ee["border-width"]=ee.padding;ee["box-shadow"]=ee.textShadow;ee["-webkit-box-shadow"]=ee.textShadow;ee["-moz-box-shadow"]=ee.textShadow;ee["border-style"]=ee.borderColor;ee["-webkit-transform"]=ee.transform;ee["-moz-transform"]=ee.transform;ee["transform-origin"]=ee.transformOrigin;ee["-webkit-transform-origin"]=ee.transformOrigin;ee["-moz-transform-origin"]=ee.transformOrigin;ee["-webkit-transition"]=ee.transition;ee["-moz-transition"]=ee.transition;ee["transition-property"]=ee.transitionProperty;ee["-webkit-transition-property"]=ee.transitionProperty;ee["-moz-transition-property"]=ee.transitionProperty;var _x=kx([["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"]]),I4=["content"],pb=kx([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),U4=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),V4=new RegExp("(left)|(right)");function zx(e){return Object.keys(e).reduce(function(r,n){var a=e[n];if(q4(a)&&(a=a.trim()),uu(I4,n))return r[n]=a,r;var s=x0(n,a),c=s.key,u=s.value;return r[c]=u,r},Array.isArray(e)?[]:{})}function x0(e,r){var n=/\/\*\s?@noflip\s?\*\//.test(r),a=n?e:G4(e),s=n?r:X4(a,r);return{key:a,value:s}}function G4(e){return _x[e]||e}function X4(e,r){if(!L4(r))return r;if(M4(r))return zx(r);var n=es(r),a=D4(r),s=n||a?r:r.replace(/ !important.*?$/,""),c=!n&&s.length!==r.length,u=ee[e],d;return u?d=u({value:s,valuesToConvert:pb,propertiesToConvert:_x,isRtl:!0,bgImgDirectionRegex:U4,bgPosDirectionRegex:V4}):d=pb[s]||s,c?d+" !important":d}var os="-moz-",Yo="-webkit-",Tx="comm",Fu="rule",K0="decl",W4="@media",Q4="@import",Y4="@supports",$4="@namespace",K4="@keyframes",Nx="@layer",Z4=Math.abs,xi=String.fromCharCode,J4=Object.assign;function e6(e,r){return It(e,0)^45?(((r<<2^It(e,0))<<2^It(e,1))<<2^It(e,2))<<2^It(e,3):0}function Cx(e){return e.trim()}function Ex(e,r){return(e=r.exec(e))?e[0]:e}function So(e,r,n){return e.replace(r,n)}function t6(e,r){return e.indexOf(r)}function It(e,r){return e.charCodeAt(r)|0}function qi(e,r,n){return e.slice(r,n)}function Zo(e){return e.length}function jx(e){return e.length}function pa(e,r){return r.push(e),e}function o6(e,r){return e.map(r).join("")}var Hu=1,Fi=1,Rx=0,Bo=0,lt=0,Qi="";function Lu(e,r,n,a,s,c,u,d){return{value:e,root:r,parent:n,type:a,props:s,children:c,line:Hu,column:Fi,length:u,return:"",siblings:d}}function Dh(e,r){return J4(Lu("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},r)}function r6(){return lt}function n6(){return lt=Bo>0?It(Qi,--Bo):0,Fi--,lt===10&&(Fi=1,Hu--),lt}function Io(){return lt=Bo<Rx?It(Qi,Bo++):0,Fi++,lt===10&&(Fi=1,Hu++),lt}function Mn(){return It(Qi,Bo)}function fu(){return Bo}function Pu(e,r){return qi(Qi,e,r)}function Hi(e){switch(e){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 Ax(e){return Hu=Fi=1,Rx=Zo(Qi=e),Bo=0,[]}function Dx(e){return Qi="",e}function du(e){return Cx(Pu(Bo-1,S0(e===91?e+2:e===40?e+1:e)))}function a6(e){return Dx(l6(Ax(e)))}function i6(e){for(;(lt=Mn())&&lt<33;)Io();return Hi(e)>2||Hi(lt)>3?"":" "}function l6(e){for(;Io();)switch(Hi(lt)){case 0:pa(Ox(Bo-1),e);break;case 2:pa(du(lt),e);break;default:pa(xi(lt),e)}return e}function s6(e,r){for(;--r&&Io()&&!(lt<48||lt>102||lt>57&&lt<65||lt>70&&lt<97););return Pu(e,fu()+(r<6&&Mn()==32&&Io()==32))}function S0(e){for(;Io();)switch(lt){case e:return Bo;case 34:case 39:e!==34&&e!==39&&S0(lt);break;case 40:e===41&&S0(e);break;case 92:Io();break}return Bo}function c6(e,r){for(;Io()&&e+lt!==57;)if(e+lt===84&&Mn()===47)break;return"/*"+Pu(r,Bo-1)+"*"+xi(e===47?e:Io())}function Ox(e){for(;!Hi(Mn());)Io();return Pu(e,Bo)}function Mx(e){return Dx(hu("",null,null,null,[""],e=Ax(e),0,[0],e))}function hu(e,r,n,a,s,c,u,d,g){for(var p=0,m=0,v=u,S=0,k=0,w=0,x=1,z=1,T=1,j=0,N=0,C="",E=s,M=c,Q=a,X=C;z;)switch(w=N,N=Io()){case 40:w!=108&&It(X,v-1)==58?(j++,X+="("):X+=du(N);break;case 41:j--,X+=")";break;case 34:case 39:case 91:X+=du(N);break;case 9:case 10:case 13:case 32:if(j>0){X+=xi(N);break}X+=i6(w);break;case 92:X+=s6(fu()-1,7);continue;case 47:switch(Mn()){case 42:case 47:pa(u6(c6(Io(),fu()),r,n,g),g),(Hi(w||1)==5||Hi(Mn()||1)==5)&&Zo(X)&&qi(X,-1,void 0)!==" "&&(X+=" ");break;default:X+="/"}break;case 123*x:d[p++]=Zo(X)*T;case 125*x:case 59:case 0:if(j>0&&N){X+=xi(N);break}switch(N){case 0:case 125:z=0;case 59+m:T==-1&&(X=So(X,/\f/g,"")),k>0&&(Zo(X)-v||x===0)&&pa(k>32?vb(X+";",a,n,v-1,g):vb(So(X," ","")+";",a,n,v-2,g),g);break;case 59:X+=";";default:if(pa(Q=mb(X,r,n,p,m,s,d,C,E=[],M=[],v,c),c),N===123)if(m===0)hu(X,r,Q,Q,E,c,v,d,M);else{switch(S){case 99:if(It(X,3)===110)break;case 108:if(It(X,2)===97)break;default:m=0;case 100:case 109:case 115:}m?hu(e,Q,Q,a&&pa(mb(e,Q,Q,0,0,s,d,C,s,E=[],v,M),M),s,M,v,d,a?E:M):hu(X,Q,Q,Q,[""],M,0,d,M)}}p=m=k=0,x=T=1,C=X="",v=u;break;case 58:v=1+Zo(X),k=w;default:if(x<1){if(N==123)--x;else if(N==125&&x++==0&&n6()==125)continue}switch(X+=xi(N),N*x){case 38:T=m>0?1:(X+="\f",-1);break;case 44:if(j>0)break;d[p++]=(Zo(X)-1)*T,T=1;break;case 64:Mn()===45&&(X+=du(Io())),S=Mn(),m=v=Zo(C=X+=Ox(fu())),N++;break;case 45:w===45&&Zo(X)==2&&(x=0)}}return c}function mb(e,r,n,a,s,c,u,d,g,p,m,v){for(var S=s-1,k=s===0?c:[""],w=jx(k),x=0,z=0,T=0;x<a;++x)for(var j=0,N=qi(e,S+1,S=Z4(z=u[x])),C=e;j<w;++j)(C=Cx(z>0?k[j]+" "+N:So(N,/&\f/g,k[j])))&&(g[T++]=C);return Lu(e,r,n,s===0?Fu:d,g,p,m,v)}function u6(e,r,n,a){return Lu(e,r,n,Tx,xi(r6()),qi(e,2,-2),0,a)}function vb(e,r,n,a,s){return Lu(e,r,n,K0,qi(e,0,a),qi(e,a+1,-1),a,s)}function Li(e,r){for(var n="",a=0;a<e.length;a++)n+=r(e[a],a,e,r)||"";return n}function qx(e,r,n,a){switch(e.type){case Nx:if(e.children.length)break;case Q4:case $4:case K0:return e.return=e.return||e.value;case Tx:return"";case K4:return e.return=e.value+"{"+Li(e.children,a)+"}";case Fu:if(!Zo(e.value=e.props.join(",")))return""}return Zo(n=Li(e.children,a))?e.return=e.value+"{"+n+"}":""}function Fx(e){var r=jx(e);return function(n,a,s,c){for(var u="",d=0;d<r;d++)u+=e[d](n,a,s,c)||"";return u}}function Hx(e){return function(r){r.root||(r=r.return)&&e(r)}}const f6=e=>{switch(e.type){case Fu:if(typeof e.props=="string")return;e.props=e.props.map(r=>r.indexOf(":global(")===-1?r:a6(r).reduce((n,a,s,c)=>{if(a==="")return n;if(a===":"&&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(a),n},[]).join(""))}};function Lx(e,r,n){switch(e6(e,r)){case 5103:return Yo+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return Yo+e+e;case 4215:if(It(e,9)===102||It(e,r+1)===116)return Yo+e+e;break;case 4789:return os+e+e;case 5349:case 4246:case 6968:return Yo+e+os+e+e;case 6187:if(!Ex(e,/grab/))return So(So(So(e,/(zoom-|grab)/,Yo+"$1"),/(image-set)/,Yo+"$1"),e,"")+e;case 5495:case 3959:return So(e,/(image-set\([^]*)/,Yo+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return So(e,/(.+)-inline(.+)/,Yo+"$1$2")+e;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(Zo(e)-1-r>6)switch(It(e,r+1)){case 102:if(It(e,r+3)===108)return So(e,/(.+:)(.+)-([^]+)/,"$1"+Yo+"$2-$3$1"+os+(It(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~t6(e,"stretch")?Lx(So(e,"stretch","fill-available"),r)+e:e}break}return e}function Px(e,r,n,a){if(e.length>-1&&!e.return)switch(e.type){case K0:e.return=Lx(e.value,e.length);return;case Fu:if(e.length)return o6(e.props,function(s){switch(Ex(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Li([Dh(e,{props:[So(s,/:(read-\w+)/,":"+os+"$1")]})],a);case"::placeholder":return Li([Dh(e,{props:[So(s,/:(plac\w+)/,":"+Yo+"input-$1")]}),Dh(e,{props:[So(s,/:(plac\w+)/,":"+os+"$1")]})],a)}return""})}}function d6(e){switch(e.type){case"@container":case W4:case Y4:case Nx:return!0}return!1}const h6=e=>{d6(e)&&Array.isArray(e.children)&&e.children.sort((r,n)=>r.props[0]>n.props[0]?1:-1)};function g6(e,r){const n=[];return Li(Mx(e),Fx([f6,h6,Px,qx,Hx(a=>n.push(a))])),n}const p6=/[A-Z]/g,m6=/^ms-/,Oh={};function v6(e){return"-"+e.toLowerCase()}function bi(e){if(Object.prototype.hasOwnProperty.call(Oh,e))return Oh[e];if(e.substr(0,2)==="--")return e;const r=e.replace(p6,v6);return Oh[e]=m6.test(r)?"-"+r:r}function Ix(e){return e.charAt(0)==="&"?e.slice(1):e}const b6=/,( *[^ &])/g;function y6(e){return"&"+Ix(e.replace(b6,",&$1"))}function bb(e,r){return r.reduceRight((n,a)=>`${y6(a)} { ${n} }`,e)}function yb(e,r){const{className:n,selectors:a,property:s,rtlClassName:c,rtlProperty:u,rtlValue:d,value:g}=e,{container:p,layer:m,media:v,scope:S,supports:k}=r,w=`.${n}`,x=Array.isArray(g)?`${g.map(j=>`${bi(s)}: ${j}`).join(";")};`:`${bi(s)}: ${g};`,z=bb(x,a);let T=S?`@scope (${w}) ${S} { :scope{${z}} }`:`${w}{${z}}`;if(u&&c){const j=`.${c}`,N=Array.isArray(d)?`${d.map(E=>`${bi(u)}: ${E}`).join(";")};`:`${bi(u)}: ${d};`,C=bb(N,a);T+=S?`@scope (${j}) ${S} { :scope{${C}} }`:`${j}{${C}}`}return v&&(T=`@media ${v} { ${T} }`),m&&(T=`@layer ${m} { ${T} }`),k&&(T=`@supports ${k} { ${T} }`),p&&(T=`@container ${p} { ${T} }`),g6(T)}function x6(e){let r="";for(const n in e){const a=e[n];if(typeof a=="string"||typeof a=="number"){r+=bi(n)+":"+a+";";continue}if(Array.isArray(a))for(const s of a)r+=bi(n)+":"+s+";"}return r}function xb(e){let r="";for(const n in e)r+=`${n}{${x6(e[n])}}`;return r}function Sb(e,r){const n=`@keyframes ${e} {${r}}`,a=[];return Li(Mx(n),Fx([qx,Px,Hx(s=>a.push(s))])),a}const wb={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function kb(e,r){if(r.media)return"m";if(r.layer||r.supports)return"t";if(r.container)return"c";if(e.length>0){const n=e[0].trim();if(n.charCodeAt(0)===58)return wb[n.slice(4,8)]||wb[n.slice(3,5)]||"d"}return"d"}const S6={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 Bb(e,r){return e.length===0?r:`${e} and ${r}`}function $l(e,r){return e&&r+e}function Ux(e){return $l(e.container,"c")+$l(e.media,"m")+$l(e.layer,"l")+$l(e.supports,"s")+$l(e.scope,"o")}function Mh(e,r,n){const a=e+Ux(n)+r,s=ss(a),c=s.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+s.slice(1):s}function Jc({property:e,selector:r,salt:n,value:a},s){return v0+ss(n+r+Ux(s)+e+a.trim())}function w6(e){return e.substring(0,10)==="@container"}function k6(e){return e.substr(0,6)==="@layer"}function B6(e){return e.substr(0,6)==="@media"}const _6=/^(:|\[|>|&)/;function z6(e){return _6.test(e)}function T6(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function N6(e){return e===y0}function C6(e){return e.substring(0,6)==="@scope"}function E6(e){return e.substr(0,9)==="@supports"}function qh(e){return e.replace(/>\s+/g,">")}function _b(e){return S6[e]}function zb(e){var r;return(r=e==null?void 0:e[0])!==null&&r!==void 0?r:0}function Fh(e,r,n,a){e[r]=a?[n,a]:n}function Tb(e,r){return r.length>0?[e,Object.fromEntries(r)]:e}function Hh(e,r,n,a,s,c){var u;const d=[];c!==0&&d.push(["p",c]),r==="m"&&s&&d.push(["m",s]),(u=e[r])!==null&&u!==void 0||(e[r]=[]),n&&e[r].push(Tb(n,d)),a&&e[r].push(Tb(a,d))}function dr(e,r="",n=[],a={container:"",layer:"",media:"",supports:"",scope:""},s={},c={},u){for(const d in e){if(S4.hasOwnProperty(d)){e[d];continue}const g=e[d];if(g!=null){if(N6(g)){const p=qh(n.join("")),m=Mh(p,d,a);Fh(s,m,0,void 0);continue}if(typeof g=="string"||typeof g=="number"){const p=qh(n.join("")),m=_b(d);if(m){const C=m[1],E=Object.fromEntries(C.map(M=>[M,y0]));dr(E,r,n,a,s,c)}const v=Mh(p,d,a),S=Jc({value:g.toString(),salt:r,selector:p,property:d},a),k=u&&{key:d,value:u}||x0(d,g),w=k.key!==d||k.value!==g,x=w?Jc({value:k.value.toString(),property:k.key,salt:r,selector:p},a):void 0,z=w?{rtlClassName:x,rtlProperty:k.key,rtlValue:k.value}:void 0,T=kb(n,a),[j,N]=yb({className:S,selectors:n,property:d,value:g,...z},a);Fh(s,v,S,x),Hh(c,T,j,N,a.media,zb(m))}else if(d==="animationName"){const p=Array.isArray(g)?g:[g],m=[],v=[];for(const S of p){const k=xb(S),w=xb(zx(S)),x=v0+ss(k);let z;const T=Sb(x,k);let j=[];k===w?z=x:(z=v0+ss(w),j=Sb(z,w));for(let N=0;N<T.length;N++)Hh(c,"k",T[N],j[N],a.media,0);m.push(x),v.push(z)}dr({animationName:m.join(", ")},r,n,a,s,c,v.join(", "))}else if(Array.isArray(g)){if(g.length===0)continue;const p=qh(n.join("")),m=_b(d);if(m){const E=m[1],M=Object.fromEntries(E.map(Q=>[Q,y0]));dr(M,r,n,a,s,c)}const v=Mh(p,d,a),S=Jc({value:g.map(E=>(E??"").toString()).join(";"),salt:r,selector:p,property:d},a),k=g.map(E=>x0(d,E));if(!!k.some(E=>E.key!==k[0].key))continue;const x=k[0].key!==d||k.some((E,M)=>E.value!==g[M]),z=x?Jc({value:k.map(E=>{var M;return((M=E==null?void 0:E.value)!==null&&M!==void 0?M:"").toString()}).join(";"),salt:r,property:k[0].key,selector:p},a):void 0,T=x?{rtlClassName:z,rtlProperty:k[0].key,rtlValue:k.map(E=>E.value)}:void 0,j=kb(n,a),[N,C]=yb({className:S,selectors:n,property:d,value:g,...T},a);Fh(s,v,S,z),Hh(c,j,N,C,a.media,zb(m))}else if(T6(g)){if(z6(d))dr(g,r,n.concat(Ix(d)),a,s,c);else if(B6(d)){const p=Bb(a.media,d.slice(6).trim());dr(g,r,n,{...a,media:p},s,c)}else if(k6(d)){const p=(a.layer?`${a.layer}.`:"")+d.slice(6).trim();dr(g,r,n,{...a,layer:p},s,c)}else if(E6(d)){const p=Bb(a.supports,d.slice(9).trim());dr(g,r,n,{...a,supports:p},s,c)}else if(w6(d)){const p=d.slice(10).trim();dr(g,r,n,{...a,container:p},s,c)}else if(C6(d)){if(a.scope)continue;const p=d.slice(6).trim();if(p===""||!p.startsWith("to "))continue;dr(g,r,n,{...a,scope:p},s,c)}}}}return[s,c]}function j6(e,r=""){const n={},a={};for(const s in e){const c=e[s],[u,d]=dr(c,r);n[s]=u,Object.keys(d).forEach(g=>{a[g]=(a[g]||[]).concat(d[g])})}return[n,a]}function R6(e,r=$0){const n=r();let a=null,s=null,c=null,u=null;function d(g){const{dir:p,renderer:m}=g;a===null&&([a,s]=j6(e,m.classNameHashSalt));const v=p==="ltr";return v?c===null&&(c=xu(a,p)):u===null&&(u=xu(a,p)),n(m,s),v?c:u}return d}function Vx(e,r,n=$0){const a=n();let s=null,c=null;function u(d){const{dir:g,renderer:p}=d,m=g==="ltr";return m?s===null&&(s=xu(e,g)):c===null&&(c=xu(e,g)),a(p,r),m?s:c}return u}function A6(e,r,n,a=$0){const s=a();function c(u){const{dir:d,renderer:g}=u,p=d==="ltr"?e:r||e;return s(g,Array.isArray(n)?{r:n}:n),p}return c}function D6(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Nb=Zh.useInsertionEffect?Zh.useInsertionEffect:void 0,Z0=()=>{const e={};return function(n,a){if(Nb&&D6()){Nb(()=>{n.insertCSSRules(a)},[n,a]);return}e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}},O6=y.createContext(R4());function ks(){return y.useContext(O6)}const Gx=y.createContext("ltr"),M6=({children:e,dir:r})=>B.jsx(Gx.Provider,{value:r,children:e});function J0(){return y.useContext(Gx)}function lr(e){const r=R6(e,Z0);return function(){const a=J0(),s=ks();return r({dir:a,renderer:s})}}function Se(e,r){const n=Vx(e,r,Z0);return function(){const s=J0(),c=ks();return n({dir:s,renderer:c})}}function Le(e,r,n){const a=A6(e,r,n,Z0);return function(){const c=J0(),u=ks();return a({dir:c,renderer:u})}}const q6={"<":"\\3C ",">":"\\3E "};function F6(e){return e.replace(/[<>]/g,r=>q6[r])}function H6(e,r){if(r){const n=Object.keys(r).reduce((a,s)=>`${a}--${s}: ${r[s]}; `,"");return`${e} { ${F6(n)} }`}return`${e} {}`}const Su=Symbol.for("fui.slotRenderFunction"),Pi=Symbol.for("fui.slotElementType"),Xx=Symbol.for("fui.slotClassNameProp");function Ve(e,r){const{defaultProps:n,elementType:a}=r,s=L6(e),c={...n,...s,[Pi]:a,[Xx]:(s==null?void 0:s.className)||(n==null?void 0:n.className)};return s&&typeof s.children=="function"&&(c[Su]=s.children,c.children=n==null?void 0:n.children),c}function et(e,r){if(!(e===null||e===void 0&&!r.renderByDefault))return Ve(e,r)}function L6(e){return typeof e=="string"||typeof e=="number"||P6(e)||y.isValidElement(e)?{children:e}:e}const P6=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function Wx(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!y.isValidElement(e)}function Cb(e){return!!(e!=null&&e.hasOwnProperty(Pi))}const ot=(...e)=>{const r={};for(const n of e){const a=Array.isArray(n)?n:Object.keys(n);for(const s of a)r[s]=1}return r},I6=ot(["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"]),U6=ot(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),V6=ot(["itemID","itemProp","itemRef","itemScope","itemType"]),Bt=ot(U6,I6,V6),G6=ot(Bt,["form"]),Qx=ot(Bt,["height","loop","muted","preload","src","width"]),X6=ot(Qx,["poster"]),W6=ot(Bt,["start"]),Q6=ot(Bt,["value"]),Y6=ot(Bt,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),$6=ot(Bt,["dateTime"]),Iu=ot(Bt,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),K6=ot(Iu,["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"]),Z6=ot(Iu,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),J6=ot(Iu,["form","multiple","required"]),e_=ot(Bt,["selected","value"]),t_=ot(Bt,["cellPadding","cellSpacing"]),o_=Bt,r_=ot(Bt,["colSpan","rowSpan","scope"]),n_=ot(Bt,["colSpan","headers","rowSpan","scope"]),a_=ot(Bt,["span"]),i_=ot(Bt,["span"]),l_=ot(Bt,["disabled","form"]),s_=ot(Bt,["acceptCharset","action","encType","encType","method","noValidate","target"]),c_=ot(Bt,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),u_=ot(Bt,["alt","crossOrigin","height","src","srcSet","useMap","width"]),f_=ot(Bt,["open","onCancel","onClose"]);function d_(e,r,n){const a=Array.isArray(r),s={},c=Object.keys(e);for(const u of c)(!a&&r[u]||a&&r.indexOf(u)>=0||u.indexOf("data-")===0||u.indexOf("aria-")===0)&&(!n||(n==null?void 0:n.indexOf(u))===-1)&&(s[u]=e[u]);return s}const h_={label:G6,audio:Qx,video:X6,ol:W6,li:Q6,a:Y6,button:Iu,input:K6,textarea:Z6,select:J6,option:e_,table:t_,tr:o_,th:r_,td:n_,colGroup:a_,col:i_,fieldset:l_,form:s_,iframe:c_,img:u_,time:$6,dialog:f_};function Yx(e,r,n){const a=e&&h_[e]||Bt;return a.as=1,d_(r,a,n)}const Bs=({primarySlotTagName:e,props:r,excludedPropNames:n})=>({root:{style:r.style,className:r.className},primary:Yx(e,r,[...n||[],"style","className"])}),Ut=(e,r,n)=>{var a;return Yx((a=r.as)!==null&&a!==void 0?a:e,r,n)};function g_(e,r){const n=y.useRef(void 0),a=y.useCallback((c,u)=>(n.current!==void 0&&r(n.current),n.current=e(c,u),n.current),[r,e]),s=y.useCallback(()=>{n.current!==void 0&&(r(n.current),n.current=void 0)},[r]);return y.useEffect(()=>s,[s]),[a,s]}const $x=y.createContext(void 0),p_=$x.Provider,Kx=y.createContext(void 0),m_="",v_=Kx.Provider;function b_(){var e;return(e=y.useContext(Kx))!==null&&e!==void 0?e:m_}const Zx=y.createContext(void 0),y_={},x_=Zx.Provider;function S_(){var e;return(e=y.useContext(Zx))!==null&&e!==void 0?e:y_}const Jx=y.createContext(void 0),w_={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},k_=Jx.Provider;function dt(){var e;return(e=y.useContext(Jx))!==null&&e!==void 0?e:w_}const e2=y.createContext(void 0),B_=e2.Provider;function eg(){var e;return(e=y.useContext(e2))!==null&&e!==void 0?e:{}}const tg=y.createContext(void 0),__=()=>{},z_=tg.Provider,ht=e=>{var r,n;return(n=(r=y.useContext(tg))===null||r===void 0?void 0:r[e])!==null&&n!==void 0?n:__},t2=y.createContext(void 0);t2.Provider;function T_(){return y.useContext(t2)}const o2=y.createContext(void 0);o2.Provider;function N_(){var e;return(e=y.useContext(o2))!==null&&e!==void 0?e:{announce:()=>{}}}function C_(e){return typeof e=="function"}const Wr=e=>{"use no memo";const[r,n]=y.useState(()=>e.defaultState===void 0?e.initialState:E_(e.defaultState)?e.defaultState():e.defaultState),a=y.useRef(e.state);y.useEffect(()=>{a.current=e.state},[e.state]);const s=y.useCallback(c=>{C_(c)&&c(a.current)},[]);return j_(e.state)?[e.state,s]:[r,n]};function E_(e){return typeof e=="function"}const j_=e=>{"use no memo";const[r]=y.useState(()=>e!==void 0);return r};function Uu(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const r2={current:0},R_=y.createContext(void 0);function n2(){var e;return(e=y.useContext(R_))!==null&&e!==void 0?e:r2}function A_(){const e=n2()!==r2,[r,n]=y.useState(e);return Uu()&&e&&y.useLayoutEffect(()=>{n(!1)},[]),r}const Rt=Uu()?y.useLayoutEffect:y.useEffect,_e=e=>{const r=y.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Rt(()=>{r.current=e},[e]),y.useCallback((...n)=>{const a=r.current;return a(...n)},[r])};function a2(){const e=y.useRef(!0);return y.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function D_(){return y.useReducer(e=>e+1,0)[1]}const i2=y.createContext(void 0);i2.Provider;function O_(){return y.useContext(i2)||""}function Go(e="fui-",r){"use no memo";const n=n2(),a=O_(),s=pu.useId;if(s){const c=s(),u=y.useMemo(()=>c.replace(/:/g,""),[c]);return r||`${a}${e}${u}`}return y.useMemo(()=>r||`${a}${e}${++n.current}`,[a,e,r,n])}function Nt(...e){"use no memo";const r=y.useCallback(n=>{r.current=n;for(const a of e)typeof a=="function"?a(n):a&&(a.current=n)},[...e]);return r}const l2=(e,r)=>!!(e!=null&&e.contains(r)),s2=e=>{const{targetDocument:r}=dt(),n=r==null?void 0:r.defaultView,{refs:a,callback:s,element:c,disabled:u,disabledFocusOnIframe:d,contains:g=l2}=e,p=y.useRef(void 0);q_({element:c,disabled:d||u,callback:s,refs:a,contains:g});const m=y.useRef(!1),v=_e(k=>{if(m.current){m.current=!1;return}const w=k.composedPath()[0];a.every(z=>!g(z.current||null,w))&&!u&&s(k)}),S=_e(k=>{m.current=a.some(w=>g(w.current||null,k.target))});y.useEffect(()=>{if(u)return;let k=M_(n);const w=x=>{if(x===k){k=void 0;return}v(x)};return c==null||c.addEventListener("click",w,!0),c==null||c.addEventListener("touchstart",w,!0),c==null||c.addEventListener("contextmenu",w,!0),c==null||c.addEventListener("mousedown",S,!0),p.current=n==null?void 0:n.setTimeout(()=>{k=void 0},1),()=>{c==null||c.removeEventListener("click",w,!0),c==null||c.removeEventListener("touchstart",w,!0),c==null||c.removeEventListener("contextmenu",w,!0),c==null||c.removeEventListener("mousedown",S,!0),n==null||n.clearTimeout(p.current),k=void 0}},[v,c,u,S,n])},M_=e=>{if(e){var r,n;if(typeof e.window=="object"&&e.window===e)return e.event;var a;return(a=(n=e.ownerDocument)===null||n===void 0||(r=n.defaultView)===null||r===void 0?void 0:r.event)!==null&&a!==void 0?a:void 0}},Lh="fuiframefocus",q_=e=>{const{disabled:r,element:n,callback:a,contains:s=l2,pollDuration:c=100,refs:u}=e,d=y.useRef(void 0),g=_e(p=>{u.every(v=>!s(v.current||null,p.target))&&!r&&a(p)});y.useEffect(()=>{if(!r)return n==null||n.addEventListener(Lh,g,!0),()=>{n==null||n.removeEventListener(Lh,g,!0)}},[n,r,g]),y.useEffect(()=>{var p;if(!r)return d.current=n==null||(p=n.defaultView)===null||p===void 0?void 0:p.setInterval(()=>{const m=n==null?void 0:n.activeElement;if((m==null?void 0:m.tagName)==="IFRAME"||(m==null?void 0:m.tagName)==="WEBVIEW"){const v=new CustomEvent(Lh,{bubbles:!0});m.dispatchEvent(v)}},c),()=>{var m;n==null||(m=n.defaultView)===null||m===void 0||m.clearInterval(d.current)}},[n,r,c])},F_=e=>{const{refs:r,callback:n,element:a,disabled:s,contains:c}=e,u=_e(d=>{const g=c||((v,S)=>!!(v!=null&&v.contains(S))),p=d.composedPath()[0];r.every(v=>!g(v.current||null,p))&&!s&&n(d)});y.useEffect(()=>{if(!s)return a==null||a.addEventListener("wheel",u),a==null||a.addEventListener("touchmove",u),()=>{a==null||a.removeEventListener("wheel",u),a==null||a.removeEventListener("touchmove",u)}},[u,a,s])},H_=e=>-1,L_=e=>{};function og(){const{targetDocument:e}=dt(),r=e==null?void 0:e.defaultView,n=r?r.setTimeout:H_,a=r?r.clearTimeout:L_;return g_(n,a)}const P_=parseInt(y.version,10)>=19;function Vu(e){if(e)return P_?e.props.ref:e.ref}function We(e,r){return(...n)=>{e==null||e(...n),r==null||r(...n)}}function In(e,r){var n;const a=e;var s;return!!(!(a==null||(n=a.ownerDocument)===null||n===void 0)&&n.defaultView&&a instanceof a.ownerDocument.defaultView[(s=void 0)!==null&&s!==void 0?s:"HTMLElement"])}function c2(e){return!!e.type.isFluentTriggerComponent}function rg(e,r){return typeof e=="function"?e(r):e?u2(e,r):e||null}function u2(e,r){if(!y.isValidElement(e)||e.type===y.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(c2(e)){const n=u2(e.props.children,r);return y.cloneElement(e,void 0,n)}else return y.cloneElement(e,r)}function Gu(e){return y.isValidElement(e)?c2(e)?Gu(e.props.children):e:null}function I_(e){return e&&!!e._virtual}function U_(e){return I_(e)&&e._virtual.parent||null}function f2(e,r={}){if(!e)return null;if(!r.skipVirtual){const a=U_(e);if(a)return a}const n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Eb(e,r){if(!e||!r)return!1;if(e===r)return!0;{const n=new WeakSet;for(;r;){const a=f2(r,{skipVirtual:n.has(r)});if(n.add(r),a===e)return!0;r=a}}return!1}function jb(e,r){e&&Object.assign(e,{_virtual:{parent:r}})}function V_(e,r){return{...r,[Pi]:e}}function d2(e,r){return function(a,s,c,u,d){return Cb(s)?r(V_(a,s),null,c,u,d):Cb(a)?r(a,s,c,u,d):e(a,s,c,u,d)}}function h2(e){const{as:r,[Xx]:n,[Pi]:a,[Su]:s,...c}=e,u=c,d=typeof a=="string"?r??a:a;return typeof d!="string"&&r&&(u.as=r),{elementType:d,props:u,renderFunction:s}}const _a=X3,G_=(e,r,n)=>{const{elementType:a,renderFunction:s,props:c}=h2(e),u={...c,...r};return s?_a.jsx(y.Fragment,{children:s(a,u)},n):_a.jsx(a,u,n)},X_=(e,r,n)=>{const{elementType:a,renderFunction:s,props:c}=h2(e),u={...c,...r};return s?_a.jsx(y.Fragment,{children:s(a,{...u,children:_a.jsxs(y.Fragment,{children:u.children},void 0)})},n):_a.jsxs(a,u,n)},ue=d2(_a.jsx,G_),kt=d2(_a.jsxs,X_),g2=y.createContext(void 0),W_={},Q_=g2.Provider,Y_=()=>{const e=y.useContext(g2);return e??W_},$_=(e,r)=>ue(k_,{value:r.provider,children:ue(p_,{value:r.theme,children:ue(v_,{value:r.themeClassName,children:ue(z_,{value:r.customStyleHooks_unstable,children:ue(x_,{value:r.tooltip,children:ue(M6,{dir:r.textDirection,children:ue(Q_,{value:r.iconDirection,children:ue(B_,{value:r.overrides_unstable,children:kt(e.root,{children:[Uu()?null:ue("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});/*!
61
+ * Copyright (c) Microsoft Corporation. All rights reserved.
62
+ * Licensed under the MIT License.
63
+ */const Hn="data-tabster",K_="data-tabster-dummy",p2=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,Si={EscapeGroupper:1,Restorer:2,Deloser:3},Ii={Source:0,Target:1},Z_={Outside:2};/*!
64
+ * Copyright (c) Microsoft Corporation. All rights reserved.
65
+ * Licensed under the MIT License.
66
+ */function Uo(e,r){var n;return(n=e.storageEntry(r))==null?void 0:n.tabster}function m2(e,r,n){var p,m;const a=n||e._noop?void 0:r.getAttribute(Hn);let s=e.storageEntry(r),c;if(a)if(a!==((p=s==null?void 0:s.attr)==null?void 0:p.string))try{const v=JSON.parse(a);if(typeof v!="object")throw new Error(`Value is not a JSON object, got '${a}'.`);c={string:a,object:v}}catch{}else return;else if(!s)return;s||(s=e.storageEntry(r,!0)),s.tabster||(s.tabster={});const u=s.tabster||{},d=((m=s.attr)==null?void 0:m.object)||{},g=(c==null?void 0:c.object)||{};for(const v of Object.keys(d))if(!g[v]){if(v==="root"){const S=u[v];S&&e.root.onRoot(S,!0)}switch(v){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const S=u[v];S&&(S.dispose(),delete u[v]);break;case"observed":delete u[v],e.observedElement&&e.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete u[v];break}}for(const v of Object.keys(g)){const S=g.sys;switch(v){case"root":u.root?u.root.setProps(g.root):u.root=e.root.createRoot(r,g.root,S),e.root.onRoot(u.root);break;case"focusable":u.focusable=g.focusable;break;case"observed":e.observedElement&&(u.observed=g.observed,e.observedElement.onObservedElementUpdate(r));break;case"uncontrolled":u.uncontrolled=g.uncontrolled;break;case"outline":e.outline&&(u.outline=g.outline);break;case"sys":u.sys=g.sys;break;default:{const k=e.attrHandlers.get(v);k&&(u[v]=k(r,u[v],g[v],d==null?void 0:d[v],S))}}}c?s.attr=c:(Object.keys(u).length===0&&(delete s.tabster,delete s.attr),e.storageEntry(r,!1))}/*!
67
+ * Copyright (c) Microsoft Corporation. All rights reserved.
68
+ * Licensed under the MIT License.
69
+ */const mr=(e,r,n)=>{e.addEventListener(r,n,!0)},Lo=(e,r,n)=>{e.removeEventListener(r,n,!0)};/*!
70
+ * Copyright (c) Microsoft Corporation. All rights reserved.
71
+ * Licensed under the MIT License.
72
+ */const _o="keyborg:focusin",cs="keyborg:focusout",Rb=0,Ab=1,Db=2,eu=3;function J_(e){const r=e.HTMLElement,n=r.prototype.focus;let a=!1;return r.prototype.focus=function(){a=!0},e.document.createElement("button").focus(),r.prototype.focus=n,a}let Ph=!1;function Ta(e){const r=e.focus;r.__keyborgNativeFocus?r.__keyborgNativeFocus.call(e):e.focus()}function ez(e){const r=e,n=r.document,a=r.HTMLElement.prototype;Ph||(Ph=J_(r));const s=a.focus;if(s.__keyborgNativeFocus)return;a.focus=m;const c=new Set,u=S=>{const k=S.target;if(!k)return;const w=new CustomEvent(cs,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:S}});k.dispatchEvent(w)},d=S=>{const k=S.target;if(!k)return;let w=S.composedPath()[0];const x=new Set;for(;w;)w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(x.add(w),w=w.host):w=w.parentNode;for(const z of c){const T=z.deref();(!T||!x.has(T))&&(c.delete(z),T&&(Lo(T,"focusin",d),Lo(T,"focusout",u)))}g(k,S.relatedTarget||void 0)},g=(S,k,w)=>{var j;const x=S.shadowRoot;if(x){for(const N of c)if(N.deref()===x)return;mr(x,"focusin",d),mr(x,"focusout",u),c.add(new WeakRef(x));return}const z={relatedTarget:k,originalEvent:w},T=new CustomEvent(_o,{cancelable:!0,bubbles:!0,composed:!0,detail:z});T.details=z,(Ph||p[eu])&&(z.isFocusedProgrammatically=S===((j=p[eu])==null?void 0:j.deref()),p[eu]=void 0),S.dispatchEvent(T)},p=[d,u,c];r.__keyborgData=p,mr(n,"focusin",d),mr(n,"focusout",u);function m(){const S=r.__keyborgData;return S&&(S[eu]=new WeakRef(this)),s.apply(this,arguments)}let v=n.activeElement;for(;v&&v.shadowRoot;)g(v),v=v.shadowRoot.activeElement;m.__keyborgNativeFocus=s}function tz(e){const r=e,n=r.HTMLElement.prototype,a=n.focus.__keyborgNativeFocus,s=r.__keyborgData;if(s){const c=r.document;Lo(c,"focusin",s[Rb]),Lo(c,"focusout",s[Ab]);for(const u of s[Db]){const d=u.deref();d&&(Lo(d,"focusin",s[Rb]),Lo(d,"focusout",s[Ab]))}s[Db].clear(),delete r.__keyborgData}a&&(n.focus=a)}let oz=0;function rz(e,r){let n=e,a=!1,s;const c=()=>{var x;const w=(x=n==null?void 0:n.__keyborg)==null?void 0:x.refs;if(w)for(const z of Object.keys(w))w[z]._cb.forEach(T=>T(a))},u=w=>{a!==w&&(a=w,c())},d=w=>{if(w.key==="Tab")return!0;const x=n==null?void 0:n.document.activeElement,z=!0,T=x&&(x.tagName==="INPUT"||x.tagName==="TEXTAREA"||x.isContentEditable);return z&&!T},g=w=>{if(s||a)return;const x=w.detail;x.relatedTarget&&(x.isFocusedProgrammatically||x.isFocusedProgrammatically===void 0||u(!0))},p=()=>{n&&(s&&n.clearTimeout(s),s=n.setTimeout(()=>{s=void 0},1e3)),u(!1)},m=w=>{w.buttons===0||w.clientX===0&&w.clientY===0&&w.screenX===0&&w.screenY===0||p()},v=w=>{a||d(w)&&u(!0)},S=e.document;return mr(S,_o,g),mr(S,"mousedown",m),mr(e,"keydown",v),mr(S,"touchstart",p),mr(S,"touchend",p),mr(S,"touchcancel",p),ez(e),{dispose:()=>{if(!n)return;s&&(n.clearTimeout(s),s=void 0),tz(n);const w=n.document;Lo(w,_o,g),Lo(w,"mousedown",m),Lo(n,"keydown",v),Lo(w,"touchstart",p),Lo(w,"touchend",p),Lo(w,"touchcancel",p),n=void 0},get isNavigatingWithKeyboard(){return a},set isNavigatingWithKeyboard(w){u(w)}}}function Xu(e,r){const n=e,a="k"+ ++oz;let s=n,c;const u=[],d=n.__keyborg;d?c=d.core:c=rz(n);const g={isNavigatingWithKeyboard(){return!!(c!=null&&c.isNavigatingWithKeyboard)},subscribe(p){u.push(p)},unsubscribe(p){const m=u.indexOf(p);m>=0&&u.splice(m,1)},setVal(p){c&&(c.isNavigatingWithKeyboard=p)},_cb:u,dispose(){const p=s==null?void 0:s.__keyborg;p!=null&&p.refs[a]&&(delete p.refs[a],Object.keys(p.refs).length===0&&(p.core.dispose(),delete s.__keyborg)),u.length=0,c=void 0,s=void 0}};return d?d.refs[a]=g:n.__keyborg={core:c,refs:{[a]:g}},g}function Wu(e){e.dispose()}/*!
73
+ * Copyright (c) Microsoft Corporation. All rights reserved.
74
+ * Licensed under the MIT License.
75
+ */const nz="tabster:focusin",az="tabster:focusout",iz="tabster:movefocus",lz="tabster:modalizer:active",sz="tabster:modalizer:inactive",w0="tabster:restorer:restore-focus",cz="tabster:root:focus",uz="tabster:root:blur",fz=typeof CustomEvent<"u"?CustomEvent:function(){};class Vn extends fz{constructor(n,a){super(n,{bubbles:!0,cancelable:!0,composed:!0,detail:a});H(this,"details");this.details=a}}class dz extends Vn{constructor(r){super(nz,r)}}class hz extends Vn{constructor(r){super(az,r)}}class rs extends Vn{constructor(r){super(iz,r)}}class gz extends Vn{constructor(r){super(lz,r)}}class pz extends Vn{constructor(r){super(sz,r)}}class Ob extends Vn{constructor(){super(w0)}}class mz extends Vn{constructor(r){super(cz,r)}}class vz extends Vn{constructor(r){super(uz,r)}}/*!
76
+ * Copyright (c) Microsoft Corporation. All rights reserved.
77
+ * Licensed under the MIT License.
78
+ */const bz=e=>new MutationObserver(e),yz=(e,r,n,a)=>e.createTreeWalker(r,n,a),xz=e=>e?e.parentNode:null,Sz=e=>e?e.parentElement:null,wz=(e,r)=>!!(r&&(e!=null&&e.contains(r))),kz=e=>e.activeElement,Bz=(e,r)=>e.querySelector(r),_z=(e,r)=>Array.prototype.slice.call(e.querySelectorAll(r),0),zz=(e,r)=>e.getElementById(r),Tz=e=>(e==null?void 0:e.firstChild)||null,Nz=e=>(e==null?void 0:e.lastChild)||null,Cz=e=>(e==null?void 0:e.nextSibling)||null,Ez=e=>(e==null?void 0:e.previousSibling)||null,jz=e=>(e==null?void 0:e.firstElementChild)||null,Rz=e=>(e==null?void 0:e.lastElementChild)||null,Az=e=>(e==null?void 0:e.nextElementSibling)||null,Dz=e=>(e==null?void 0:e.previousElementSibling)||null,Oz=(e,r)=>e.appendChild(r),Mz=(e,r,n)=>e.insertBefore(r,n),qz=e=>{var r;return((r=e.ownerDocument)==null?void 0:r.getSelection())||null},Fz=(e,r)=>e.ownerDocument.getElementsByName(r),de={createMutationObserver:bz,createTreeWalker:yz,getParentNode:xz,getParentElement:Sz,nodeContains:wz,getActiveElement:kz,querySelector:Bz,querySelectorAll:_z,getElementById:zz,getFirstChild:Tz,getLastChild:Nz,getNextSibling:Cz,getPreviousSibling:Ez,getFirstElementChild:jz,getLastElementChild:Rz,getNextElementSibling:Az,getPreviousElementSibling:Dz,appendChild:Oz,insertBefore:Mz,getSelection:qz,getElementsByName:Fz};function Hz(e){for(const r of Object.keys(e))de[r]=e[r]}/*!
79
+ * Copyright (c) Microsoft Corporation. All rights reserved.
80
+ * Licensed under the MIT License.
81
+ */let Lz=0;function ng(e){const r=e();let n=r.__tabsterInstanceContext;return n||(n={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0},r.__tabsterInstanceContext=n),n}function Pz(e){const r=e.__tabsterInstanceContext;r&&(r.elementByUId={},r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&e.clearTimeout(r.containerBoundingRectCacheTimer),delete e.__tabsterInstanceContext)}function Iz(e){return!!e.querySelector(p2)}class or{constructor(r,n){H(this,"_ref");H(this,"_data");this._ref=new WeakRef(r),this._data=n}get(){const r=this._ref;let n;return r&&(n=r.deref(),n||delete this._ref),n}getData(){return this._data}}function v2(e,r,n){if(r.nodeType===Node.ELEMENT_NODE)return de.createTreeWalker(e,r,NodeFilter.SHOW_ELEMENT,{acceptNode:n})}function Uz(e){e.__shouldIgnoreFocus=!0}function b2(e){return!!e.__shouldIgnoreFocus}function Vz(e){const r=new Uint32Array(4);e.crypto.getRandomValues(r);const n=[];for(let a=0;a<r.length;a++)n.push(r[a].toString(36));return n.push("|"),n.push((++Lz).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function Gz(e,r){const n=ng(e);let a=r.__tabsterElementUID;return a||(a=r.__tabsterElementUID=Vz(e())),!n.elementByUId[a]&&y2(r.ownerDocument,r)&&(n.elementByUId[a]=new or(r)),a}function Mb(e,r){const n=ng(e);for(const a of Object.keys(n.elementByUId)){const s=n.elementByUId[a],c=s&&s.get();c&&r&&!de.nodeContains(r,c)||delete n.elementByUId[a]}}function y2(e,r){return de.nodeContains(e==null?void 0:e.body,r)}function Xz(e,r){return typeof e.matches=="function"&&e.matches(r)}let Wz=0;class ag{constructor(r,n,a){H(this,"_tabster");H(this,"_element");H(this,"_props");H(this,"id");this._tabster=r,this._element=new or(n),this._props={...a},this.id="i"+ ++Wz}getElement(){return this._element.get()}getProps(){return this._props}setProps(r){this._props={...r}}}function x2(e){let r=null;for(let n=de.getLastElementChild(e);n;n=de.getLastElementChild(n))r=n;return r||void 0}function Ih(e,r,n,a){const s=e.storageEntry(r,!0);let c=!1;if(!s.aug){if(a===void 0)return c;s.aug={}}if(a===void 0){if(n in s.aug){const u=s.aug[n];delete s.aug[n],u===null?r.removeAttribute(n):r.setAttribute(n,u),c=!0}}else{let u;n in s.aug||(u=r.getAttribute(n)),u!==void 0&&u!==a&&(s.aug[n]=u,a===null?r.removeAttribute(n):r.setAttribute(n,a),c=!0)}return a===void 0&&Object.keys(s.aug).length===0&&(delete s.aug,e.storageEntry(r,!1)),c}function Qz(e){var a,s;const r=e.ownerDocument,n=(a=r.defaultView)==null?void 0:a.getComputedStyle(e);return e.offsetParent===null&&r.body!==e&&(n==null?void 0:n.position)!=="fixed"||(n==null?void 0:n.visibility)==="hidden"||(n==null?void 0:n.position)==="fixed"&&(n.display==="none"||((s=e.parentElement)==null?void 0:s.offsetParent)===null&&r.body!==e.parentElement)}function k0(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function Yz(e){if(!k0(e))return;const r=e.name;let n=Array.from(de.getElementsByName(e,r)),a;return n=n.filter(s=>k0(s)?(s.checked&&(a=s),!0):!1),{name:r,buttons:new Set(n),checked:a}}/*!
82
+ * Copyright (c) Microsoft Corporation. All rights reserved.
83
+ * Licensed under the MIT License.
84
+ */const Uh=100;class wu{constructor(r,n,a,s,c){H(this,"_isPhantom");H(this,"_fixedTarget");H(this,"_disposeTimer");H(this,"_clearDisposeTimeout");H(this,"input");H(this,"useDefaultAction");H(this,"isFirst");H(this,"isOutside");H(this,"onFocusIn");H(this,"onFocusOut");H(this,"_focusIn",r=>{if(this._fixedTarget){const a=this._fixedTarget.get();a&&Ta(a);return}const n=this.input;if(this.onFocusIn&&n){const a=r.relatedTarget;this.onFocusIn(this,this._isBackward(!0,n,a),a)}});H(this,"_focusOut",r=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const n=this.input;if(this.onFocusOut&&n){const a=r.relatedTarget;this.onFocusOut(this,this._isBackward(!1,n,a),a)}});const u=r(),d=u.document.createElement("i");d.tabIndex=0,d.setAttribute("role","none"),d.setAttribute(K_,""),d.setAttribute("aria-hidden","true");const g=d.style;g.position="fixed",g.width=g.height="1px",g.opacity="0.001",g.zIndex="-1",g.setProperty("content-visibility","hidden"),Uz(d),this.input=d,this.isFirst=a.isFirst,this.isOutside=n,this._isPhantom=a.isPhantom??!1,this._fixedTarget=c,d.addEventListener("focusin",this._focusIn),d.addEventListener("focusout",this._focusOut),d.__tabsterDummyContainer=s,this._isPhantom&&(this._disposeTimer=u.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(u.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var n;this._clearDisposeTimeout&&this._clearDisposeTimeout();const r=this.input;r&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,r.removeEventListener("focusin",this._focusIn),r.removeEventListener("focusout",this._focusOut),delete r.__tabsterDummyContainer,(n=de.getParentNode(r))==null||n.removeChild(r))}setTopLeft(r,n){var s;const a=(s=this.input)==null?void 0:s.style;a&&(a.top=`${r}px`,a.left=`${n}px`)}_isBackward(r,n,a){return r&&!a?!this.isFirst:!!(a&&n.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING)}}const S2={Root:1,Modalizer:2};class ku{constructor(r,n,a,s,c,u){H(this,"_instance");H(this,"_onFocusIn");H(this,"_onFocusOut");H(this,"_element");this._element=n,this._instance=new Kz(r,n,this,a,s,c,u)}_setHandlers(r,n){this._onFocusIn=r,this._onFocusOut=n}moveOut(r){var n;(n=this._instance)==null||n.moveOut(r)}moveOutWithDefaultAction(r,n){var a;(a=this._instance)==null||a.moveOutWithDefaultAction(r,n)}getHandler(r){return r?this._onFocusIn:this._onFocusOut}setTabbable(r){var n;(n=this._instance)==null||n.setTabbable(this,r)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(r,n,a,s,c){const d=new wu(r.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let g,p;if(n.tagName==="BODY")g=n,p=a&&s||!a&&!s?de.getFirstElementChild(n):null;else{a&&(!s||s&&!r.focusable.isFocusable(n,!1,!0,!0))?(g=n,p=s?n.firstElementChild:null):(g=de.getParentElement(n),p=a&&s||!a&&!s?n:de.getNextElementSibling(n));let m,v;do m=a&&s||!a&&!s?de.getPreviousElementSibling(p):p,v=ig(m),v===n?p=a&&s||!a&&!s?m:de.getNextElementSibling(m):v=null;while(v)}g!=null&&g.dispatchEvent(new rs({by:"root",owner:g,next:null,relatedEvent:c}))&&(de.insertBefore(g,d,p),Ta(d))}}static addPhantomDummyWithTarget(r,n,a,s){const u=new wu(r.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new or(s)).input;if(u){let d,g;Iz(n)&&!a?(d=n,g=de.getFirstElementChild(n)):(d=de.getParentElement(n),g=a?n:de.getNextElementSibling(n)),d&&de.insertBefore(d,u,g)}}}class $z{constructor(r){H(this,"_win");H(this,"_updateQueue",new Set);H(this,"_updateTimer");H(this,"_lastUpdateQueueTime",0);H(this,"_changedParents",new WeakSet);H(this,"_updateDummyInputsTimer");H(this,"_dummyElements",[]);H(this,"_dummyCallbacks",new WeakMap);H(this,"_domChanged",r=>{var n;this._changedParents.has(r)||(this._changedParents.add(r),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(n=this._win)==null?void 0:n.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const a of this._dummyElements){const s=a.get();if(s){const c=this._dummyCallbacks.get(s);if(c){const u=de.getParentNode(s);(!u||this._changedParents.has(u))&&c()}}}this._changedParents=new WeakSet},Uh)))});this._win=r}add(r,n){!this._dummyCallbacks.has(r)&&this._win&&(this._dummyElements.push(new or(r)),this._dummyCallbacks.set(r,n),this.domChanged=this._domChanged)}remove(r){this._dummyElements=this._dummyElements.filter(n=>{const a=n.get();return a&&a!==r}),this._dummyCallbacks.delete(r),this._dummyElements.length===0&&delete this.domChanged}dispose(){var n;const r=(n=this._win)==null?void 0:n.call(this);this._updateTimer&&(r==null||r.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(r==null||r.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(r){this._win&&(this._updateQueue.add(r),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var r;this._updateTimer||(this._updateTimer=(r=this._win)==null?void 0:r.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+Uh<=Date.now()){const n=new Map,a=[];for(const s of this._updateQueue)a.push(s(n));this._updateQueue.clear();for(const s of a)s();n.clear()}else this._scheduledUpdatePositions()},Uh))}}class Kz{constructor(r,n,a,s,c,u,d){H(this,"_tabster");H(this,"_addTimer");H(this,"_getWindow");H(this,"_wrappers",[]);H(this,"_element");H(this,"_isOutside",!1);H(this,"_firstDummy");H(this,"_lastDummy");H(this,"_transformElements",new Set);H(this,"_callForDefaultAction");H(this,"_onFocusIn",(r,n,a)=>{this._onFocus(!0,r,n,a)});H(this,"_onFocusOut",(r,n,a)=>{this._onFocus(!1,r,n,a)});H(this,"moveOut",r=>{var s;const n=this._firstDummy,a=this._lastDummy;if(n&&a){this._ensurePosition();const c=n.input,u=a.input,d=(s=this._element)==null?void 0:s.get();if(c&&u&&d){let g;r?(c.tabIndex=0,g=c):(u.tabIndex=0,g=u),g&&Ta(g)}}});H(this,"moveOutWithDefaultAction",(r,n)=>{var c;const a=this._firstDummy,s=this._lastDummy;if(a&&s){this._ensurePosition();const u=a.input,d=s.input,g=(c=this._element)==null?void 0:c.get();if(u&&d&&g){let p;r?!a.isOutside&&this._tabster.focusable.isFocusable(g,!0,!0,!0)?p=g:(a.useDefaultAction=!0,u.tabIndex=0,p=u):(s.useDefaultAction=!0,d.tabIndex=0,p=d),p&&g.dispatchEvent(new rs({by:"root",owner:g,next:null,relatedEvent:n}))&&Ta(p)}}});H(this,"setTabbable",(r,n)=>{var s,c;for(const u of this._wrappers)if(u.manager===r){u.tabbable=n;break}const a=this._getCurrent();if(a){const u=a.tabbable?0:-1;let d=(s=this._firstDummy)==null?void 0:s.input;d&&(d.tabIndex=u),d=(c=this._lastDummy)==null?void 0:c.input,d&&(d.tabIndex=u)}});H(this,"_addDummyInputs",()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))});H(this,"_addTransformOffsets",()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)});H(this,"_computeTransformOffsets",r=>{var g,p;const n=((g=this._firstDummy)==null?void 0:g.input)||((p=this._lastDummy)==null?void 0:p.input),a=this._transformElements,s=new Set;let c=0,u=0;const d=this._getWindow();for(let m=n;m&&m.nodeType===Node.ELEMENT_NODE;m=de.getParentElement(m)){let v=r.get(m);if(v===void 0){const S=d.getComputedStyle(m).transform;S&&S!=="none"&&(v={scrollTop:m.scrollTop,scrollLeft:m.scrollLeft}),r.set(m,v||null)}v&&(s.add(m),a.has(m)||m.addEventListener("scroll",this._addTransformOffsets),c+=v.scrollTop,u+=v.scrollLeft)}for(const m of a)s.has(m)||m.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=s,()=>{var m,v;(m=this._firstDummy)==null||m.setTopLeft(c,u),(v=this._lastDummy)==null||v.setTopLeft(c,u)}});const g=n.get();if(!g)throw new Error("No element");this._tabster=r,this._getWindow=r.getWindow,this._callForDefaultAction=d;const p=g.__tabsterDummy;if((p||this)._wrappers.push({manager:a,priority:s,tabbable:!0}),p)return p;g.__tabsterDummy=this;const m=c==null?void 0:c.dummyInputsPosition,v=g.tagName;this._isOutside=m?m===Z_.Outside:(u||v==="UL"||v==="OL"||v==="TABLE")&&!(v==="LI"||v==="TD"||v==="TH"),this._firstDummy=new wu(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new wu(this._getWindow,this._isOutside,{isFirst:!1},n);const S=this._firstDummy.input;S&&r._dummyObserver.add(S,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(r,n){var s,c,u,d;if((this._wrappers=this._wrappers.filter(g=>g.manager!==r&&!n)).length===0){delete((s=this._element)==null?void 0:s.get()).__tabsterDummy;for(const m of this._transformElements)m.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const g=this._getWindow();this._addTimer&&(g.clearTimeout(this._addTimer),delete this._addTimer);const p=(c=this._firstDummy)==null?void 0:c.input;p&&this._tabster._dummyObserver.remove(p),(u=this._firstDummy)==null||u.dispose(),(d=this._lastDummy)==null||d.dispose()}}_onFocus(r,n,a,s){var u;const c=this._getCurrent();c&&(!n.useDefaultAction||this._callForDefaultAction)&&((u=c.manager.getHandler(r))==null||u(n,a,s))}_getCurrent(){return this._wrappers.sort((r,n)=>r.tabbable!==n.tabbable?r.tabbable?-1:1:r.priority-n.priority),this._wrappers[0]}_ensurePosition(){var s,c,u;const r=(s=this._element)==null?void 0:s.get(),n=(c=this._firstDummy)==null?void 0:c.input,a=(u=this._lastDummy)==null?void 0:u.input;if(!(!r||!n||!a))if(this._isOutside){const d=de.getParentNode(r);if(d){const g=de.getNextSibling(r);g!==a&&de.insertBefore(d,a,g),de.getPreviousElementSibling(r)!==n&&de.insertBefore(d,n,r)}}else{de.getLastElementChild(r)!==a&&de.appendChild(r,a);const d=de.getFirstElementChild(r);d&&d!==n&&d.parentNode&&de.insertBefore(d.parentNode,n,d)}}}function ig(e){var r;return((r=e==null?void 0:e.__tabsterDummyContainer)==null?void 0:r.get())||null}/*!
85
+ * Copyright (c) Microsoft Corporation. All rights reserved.
86
+ * Licensed under the MIT License.
87
+ */function w2(e,r){return JSON.stringify(e)}function Zz(e,r){for(const n of Object.keys(r)){const a=r[n];a?e[n]=a:delete e[n]}}function Jz(e,r,n){let a;{const s=e.getAttribute(Hn);if(s)try{a=JSON.parse(s)}catch{}}a||(a={}),Zz(a,r),Object.keys(a).length>0?e.setAttribute(Hn,w2(a)):e.removeAttribute(Hn)}/*!
88
+ * Copyright (c) Microsoft Corporation. All rights reserved.
89
+ * Licensed under the MIT License.
90
+ */class qb extends ku{constructor(n,a,s,c){super(n,a,S2.Root,c,void 0,!0);H(this,"_tabster");H(this,"_setFocused");H(this,"_onDummyInputFocus",n=>{var a;if(n.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const s=this._element.get();if(s){this._setFocused(!0);const c=this._tabster.focusedElement.getFirstOrLastTabbable(n.isFirst,{container:s,ignoreAccessibility:!0});if(c){Ta(c);return}}(a=n.input)==null||a.blur()}});this._setHandlers(this._onDummyInputFocus),this._tabster=n,this._setFocused=s}}class eT extends ag{constructor(n,a,s,c,u){super(n,a,c);H(this,"uid");H(this,"_dummyManager");H(this,"_sys");H(this,"_isFocused",!1);H(this,"_setFocusedTimer");H(this,"_onDispose");H(this,"_setFocused",n=>{var s;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===n)return;const a=this._element.get();a&&(n?(this._isFocused=!0,(s=this._dummyManager)==null||s.setTabbable(!1),a.dispatchEvent(new mz({element:a}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var c;delete this._setFocusedTimer,this._isFocused=!1,(c=this._dummyManager)==null||c.setTabbable(!0),a.dispatchEvent(new vz({element:a}))},0))});H(this,"_onFocusIn",n=>{const a=this._tabster.getParent,s=this._element.get();let c=n.composedPath()[0];do{if(c===s){this._setFocused(!0);return}c=c&&a(c)}while(c)});H(this,"_onFocusOut",()=>{this._setFocused(!1)});this._onDispose=s;const d=n.getWindow;this.uid=Gz(d,a),this._sys=u,(n.controlTab||n.rootDummyInputs)&&this.addDummyInputs();const p=d().document;p.addEventListener(_o,this._onFocusIn),p.addEventListener(cs,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new qb(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var s;this._onDispose(this);const n=this._tabster.getWindow(),a=n.document;a.removeEventListener(_o,this._onFocusIn),a.removeEventListener(cs,this._onFocusOut),this._setFocusedTimer&&(n.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(s=this._dummyManager)==null||s.dispose(),this._remove()}moveOutWithDefaultAction(n,a){const s=this._dummyManager;if(s)s.moveOutWithDefaultAction(n,a);else{const c=this.getElement();c&&qb.moveWithPhantomDummy(this._tabster,c,!0,n,a)}}_add(){}_remove(){}}class wt{constructor(r,n){H(this,"_tabster");H(this,"_win");H(this,"_autoRoot");H(this,"_autoRootWaiting",!1);H(this,"_roots",{});H(this,"_forceDummy",!1);H(this,"rootById",{});H(this,"_autoRootCreate",()=>{var a;const r=this._win().document,n=r.body;if(n){this._autoRootUnwait(r);const s=this._autoRoot;if(s)return Jz(n,{root:s}),m2(this._tabster,n),(a=Uo(this._tabster,n))==null?void 0:a.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,r.addEventListener("readystatechange",this._autoRootCreate))});H(this,"_onRootDispose",r=>{delete this._roots[r.id]});this._tabster=r,this._win=r.getWindow,this._autoRoot=n,r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(n=>{this._roots[n]&&(this._roots[n].dispose(),delete this._roots[n])}),this.rootById={}}createRoot(r,n,a){const s=new eT(this._tabster,r,this._onRootDispose,n,a);return this._roots[s.id]=s,this._forceDummy&&s.addDummyInputs(),s}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const n of Object.keys(r))r[n].addDummyInputs()}static getRootByUId(r,n){const a=r().__tabsterInstance;return a&&a.root.rootById[n]}static getTabsterContext(r,n,a={}){var N,C,E,M;if(!n.ownerDocument)return;const{checkRtl:s,referenceElement:c}=a,u=r.getParent;r.drainInitQueue();let d,g,p,m,v=!1,S,k,w,x,z=c||n;const T={};for(;z&&(!d||s);){const Q=Uo(r,z);if(s&&w===void 0){const ie=z.dir;ie&&(w=ie.toLowerCase()==="rtl")}if(!Q){z=u(z);continue}const X=z.tagName;(Q.uncontrolled||X==="IFRAME"||X==="WEBVIEW")&&r.focusable.isVisible(z)&&(x=z),!m&&((N=Q.focusable)!=null&&N.excludeFromMover)&&!p&&(v=!0);const oe=Q.modalizer,ne=Q.groupper,ge=Q.mover;!g&&oe&&(g=oe),!p&&ne&&(!g||oe)&&(g?(!ne.isActive()&&ne.getProps().tabbability&&g.userId!==((C=r.modalizer)==null?void 0:C.activeId)&&(g=void 0,p=ne),k=ne):p=ne),!m&&ge&&(!g||oe)&&(!ne||z!==n)&&z.contains(n)&&(m=ge,S=!!p&&p!==ne),Q.root&&(d=Q.root),(E=Q.focusable)!=null&&E.ignoreKeydown&&Object.assign(T,Q.focusable.ignoreKeydown),z=u(z)}if(!d){const Q=r.root;Q._autoRoot&&(M=n.ownerDocument)!=null&&M.body&&(d=Q._autoRootCreate())}return p&&!m&&(S=!0),d?{root:d,modalizer:g,groupper:p,mover:m,groupperBeforeMover:S,modalizerInGroupper:k,rtl:s?!!w:void 0,uncontrolled:x,excludedFromMover:v,ignoreKeydown:Q=>!!T[Q.key]}:void 0}static getRoot(r,n){var s;const a=r.getParent;for(let c=n;c;c=a(c)){const u=(s=Uo(r,c))==null?void 0:s.root;if(u)return u}}onRoot(r,n){n?delete this.rootById[r.uid]:this.rootById[r.uid]=r}}/*!
91
+ * Copyright (c) Microsoft Corporation. All rights reserved.
92
+ * Licensed under the MIT License.
93
+ */class tT{constructor(r){H(this,"_tabster");this._tabster=r}dispose(){}getProps(r){const n=Uo(this._tabster,r);return n&&n.focusable||{}}isFocusable(r,n,a,s){return Xz(r,p2)&&(n||r.tabIndex!==-1)?(a||this.isVisible(r))&&(s||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||Qz(r))return!1;const n=r.ownerDocument.body.getBoundingClientRect();return!(n.width===0&&n.height===0)}isAccessible(r){var n;for(let a=r;a;a=de.getParentElement(a)){const s=Uo(this._tabster,a);if(this._isHidden(a)||!((n=s==null?void 0:s.focusable)==null?void 0:n.ignoreAriaDisabled)&&this._isDisabled(a))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var a;const n=r.getAttribute("aria-hidden");return!!(n&&n.toLowerCase()==="true"&&!((a=this._tabster.modalizer)!=null&&a.isAugmented(r)))}findFirst(r,n){return this.findElement({...r},n)}findLast(r,n){return this.findElement({isBackward:!0,...r},n)}findNext(r,n){return this.findElement({...r},n)}findPrev(r,n){return this.findElement({...r,isBackward:!0},n)}findDefault(r,n){return this.findElement({...r,acceptCondition:a=>this.isFocusable(a,r.includeProgrammaticallyFocusable)&&!!this.getProps(a).isDefault},n)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,n){const a=this._findElements(!1,r,n);return a&&a[0]}_findElements(r,n,a){var j,N,C;const{container:s,currentElement:c=null,includeProgrammaticallyFocusable:u,useActiveModalizer:d,ignoreAccessibility:g,modalizerId:p,isBackward:m,onElement:v}=n;a||(a={});const S=[];let{acceptCondition:k}=n;const w=!!k;if(!s)return null;k||(k=E=>this.isFocusable(E,u,!1,g));const x={container:s,modalizerUserId:p===void 0&&d?(j=this._tabster.modalizer)==null?void 0:j.activeId:p||((C=(N=wt.getTabsterContext(this._tabster,s))==null?void 0:N.modalizer)==null?void 0:C.userId),from:c||s,isBackward:m,isFindAll:r,acceptCondition:k,hasCustomCondition:w,includeProgrammaticallyFocusable:u,ignoreAccessibility:g,cachedGrouppers:{},cachedRadioGroups:{}},z=v2(s.ownerDocument,s,E=>this._acceptElement(E,x));if(!z)return null;const T=E=>{var Q;const M=x.foundElement??x.foundBackward;return M&&S.push(M),r?M&&(x.found=!1,delete x.foundElement,delete x.foundBackward,delete x.fromCtx,x.from=M,v&&!v(M))?!1:!!(M||E):(M&&a&&(a.uncontrolled=(Q=wt.getTabsterContext(this._tabster,M))==null?void 0:Q.uncontrolled),!!(E&&!M))};if(c||(a.outOfDOMOrder=!0),c&&de.nodeContains(s,c))z.currentNode=c;else if(m){const E=x2(s);if(!E)return null;if(this._acceptElement(E,x)===NodeFilter.FILTER_ACCEPT&&!T(!0))return x.skippedFocusable&&(a.outOfDOMOrder=!0),S;z.currentNode=E}do m?z.previousNode():z.nextNode();while(T());return x.skippedFocusable&&(a.outOfDOMOrder=!0),S.length?S:null}_acceptElement(r,n){var v,S,k;if(n.found)return NodeFilter.FILTER_ACCEPT;const a=n.foundBackward;if(a&&(r===a||!de.nodeContains(a,r)))return n.found=!0,n.foundElement=a,NodeFilter.FILTER_ACCEPT;const s=n.container;if(r===s)return NodeFilter.FILTER_SKIP;if(!de.nodeContains(s,r)||ig(r)||de.nodeContains(n.rejectElementsFrom,r))return NodeFilter.FILTER_REJECT;const c=n.currentCtx=wt.getTabsterContext(this._tabster,r);if(!c)return NodeFilter.FILTER_SKIP;if(b2(r))return this.isFocusable(r,void 0,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!n.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return this.isVisible(r)&&((v=c.modalizer)==null?void 0:v.userId)===((S=this._tabster.modalizer)==null?void 0:S.activeId)?(n.found=!0,n.rejectElementsFrom=n.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!n.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let u,d=n.fromCtx;d||(d=n.fromCtx=wt.getTabsterContext(this._tabster,n.from));const g=d==null?void 0:d.mover;let p=c.groupper,m=c.mover;if(u=(k=this._tabster.modalizer)==null?void 0:k.acceptElement(r,n),u!==void 0&&(n.skippedFocusable=!0),u===void 0&&(p||m||g)){const w=p==null?void 0:p.getElement(),x=g==null?void 0:g.getElement();let z=m==null?void 0:m.getElement();if(z&&de.nodeContains(x,z)&&de.nodeContains(s,x)&&(!w||!m||de.nodeContains(x,w))&&(m=g,z=x),w){if(w===s||!de.nodeContains(s,w))p=void 0;else if(!de.nodeContains(w,r))return NodeFilter.FILTER_REJECT}if(z){if(!de.nodeContains(s,z))m=void 0;else if(!de.nodeContains(z,r))return NodeFilter.FILTER_REJECT}p&&m&&(z&&w&&!de.nodeContains(w,z)?m=void 0:p=void 0),p&&(u=p.acceptElement(r,n)),m&&(u=m.acceptElement(r,n))}if(u===void 0&&(u=n.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,u===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(n.skippedFocusable=!0)),u===NodeFilter.FILTER_ACCEPT&&!n.found){if(!n.isFindAll&&k0(r)&&!r.checked){const w=r.name;let x=n.cachedRadioGroups[w];if(x||(x=Yz(r),x&&(n.cachedRadioGroups[w]=x)),x!=null&&x.checked&&x.checked!==r)return NodeFilter.FILTER_SKIP}n.isBackward?(n.foundBackward=r,u=NodeFilter.FILTER_SKIP):(n.found=!0,n.foundElement=r)}return u}}/*!
94
+ * Copyright (c) Microsoft Corporation. All rights reserved.
95
+ * Licensed under the MIT License.
96
+ */const k2={Tab:"Tab",Escape:"Escape"};/*!
97
+ * Copyright (c) Microsoft Corporation. All rights reserved.
98
+ * Licensed under the MIT License.
99
+ */class B2{constructor(){H(this,"_val");H(this,"_callbacks",[])}dispose(){this._callbacks=[],delete this._val}subscribe(r){const n=this._callbacks;n.indexOf(r)<0&&n.push(r)}subscribeFirst(r){const n=this._callbacks,a=n.indexOf(r);a>=0&&n.splice(a,1),n.unshift(r)}unsubscribe(r){const n=this._callbacks.indexOf(r);n>=0&&this._callbacks.splice(n,1)}setVal(r,n){this._val!==r&&(this._val=r,this._callCallbacks(r,n))}getVal(){return this._val}trigger(r,n){this._callCallbacks(r,n)}_callCallbacks(r,n){this._callbacks.forEach(a=>a(r,n))}}/*!
100
+ * Copyright (c) Microsoft Corporation. All rights reserved.
101
+ * Licensed under the MIT License.
102
+ */function oT(e,r){var s;const n=e.getParent;let a=r;do{const c=(s=Uo(e,a))==null?void 0:s.uncontrolled;if(c&&e.uncontrolled.isUncontrolledCompletely(a,!!c.completely))return a;a=n(a)}while(a)}const Fb={[Si.Restorer]:0,[Si.Deloser]:1,[Si.EscapeGroupper]:2},zt=class zt extends B2{constructor(n,a){super();H(this,"_tabster");H(this,"_win");H(this,"_nextVal");H(this,"_lastVal");H(this,"_asyncFocus");H(this,"_init",()=>{const n=this._win(),a=n.document;a.addEventListener(_o,this._onFocusIn,!0),a.addEventListener(cs,this._onFocusOut,!0),n.addEventListener("keydown",this._onKeyDown,!0);const s=de.getActiveElement(a);s&&s!==a.body&&this._setFocusedElement(s),this.subscribe(this._onChanged)});H(this,"_onFocusIn",n=>{const a=n.composedPath()[0];a&&this._setFocusedElement(a,n.detail.relatedTarget,n.detail.isFocusedProgrammatically)});H(this,"_onFocusOut",n=>{var a;this._setFocusedElement(void 0,(a=n.detail)==null?void 0:a.originalEvent.relatedTarget)});H(this,"_validateFocusedElement",n=>{});H(this,"_onKeyDown",n=>{if(n.key!==k2.Tab||n.ctrlKey)return;const a=this.getVal();if(!a||!a.ownerDocument||a.contentEditable==="true")return;const s=this._tabster,c=s.controlTab,u=wt.getTabsterContext(s,a);if(!u||u.ignoreKeydown(n))return;const d=n.shiftKey,g=zt.findNextTabbable(s,u,void 0,a,void 0,d,!0),p=u.root.getElement();if(!p)return;const m=g==null?void 0:g.element,v=oT(s,a);if(m){const S=g.uncontrolled;if(u.uncontrolled||de.nodeContains(S,a)){if(!g.outOfDOMOrder&&S===u.uncontrolled||v&&!de.nodeContains(v,m))return;ku.addPhantomDummyWithTarget(s,a,d,m);return}if(S&&s.focusable.isVisible(S)||m.tagName==="IFRAME"&&s.focusable.isVisible(m)){p.dispatchEvent(new rs({by:"root",owner:p,next:m,relatedEvent:n}))&&ku.moveWithPhantomDummy(s,S??m,!1,d,n);return}(c||g!=null&&g.outOfDOMOrder)&&p.dispatchEvent(new rs({by:"root",owner:p,next:m,relatedEvent:n}))&&(n.preventDefault(),n.stopImmediatePropagation(),Ta(m))}else!v&&p.dispatchEvent(new rs({by:"root",owner:p,next:null,relatedEvent:n}))&&u.root.moveOutWithDefaultAction(d,n)});H(this,"_onChanged",(n,a)=>{var s,c;if(n)n.dispatchEvent(new dz(a));else{const u=(s=this._lastVal)==null?void 0:s.get();if(u){const d={...a},g=wt.getTabsterContext(this._tabster,u),p=(c=g==null?void 0:g.modalizer)==null?void 0:c.userId;p&&(d.modalizerId=p),u.dispatchEvent(new hz(d))}}});this._tabster=n,this._win=a,n.queueInit(this._init)}dispose(){super.dispose();const n=this._win(),a=n.document;a.removeEventListener(_o,this._onFocusIn,!0),a.removeEventListener(cs,this._onFocusOut,!0),n.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const s=this._asyncFocus;s&&(n.clearTimeout(s.timeout),delete this._asyncFocus),delete zt._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(n,a){var u,d;let s=zt._lastResetElement,c=s&&s.get();c&&de.nodeContains(a,c)&&delete zt._lastResetElement,c=(d=(u=n._nextVal)==null?void 0:u.element)==null?void 0:d.get(),c&&de.nodeContains(a,c)&&delete n._nextVal,s=n._lastVal,c=s&&s.get(),c&&de.nodeContains(a,c)&&delete n._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var a;let n=(a=this._lastVal)==null?void 0:a.get();return(!n||n&&!y2(n.ownerDocument,n))&&(this._lastVal=n=void 0),n}focus(n,a,s,c){return this._tabster.focusable.isFocusable(n,a,!1,s)?(n.focus({preventScroll:c}),!0):!1}focusDefault(n){const a=this._tabster.focusable.findDefault({container:n});return a?(this._tabster.focusedElement.focus(a),!0):!1}getFirstOrLastTabbable(n,a){var d;const{container:s,ignoreAccessibility:c}=a;let u;if(s){const g=wt.getTabsterContext(this._tabster,s);g&&(u=(d=zt.findNextTabbable(this._tabster,g,s,void 0,void 0,!n,c))==null?void 0:d.element)}return u&&!de.nodeContains(s,u)&&(u=void 0),u||void 0}_focusFirstOrLast(n,a){const s=this.getFirstOrLastTabbable(n,a);return s?(this.focus(s,!1,!0),!0):!1}focusFirst(n){return this._focusFirstOrLast(!0,n)}focusLast(n){return this._focusFirstOrLast(!1,n)}resetFocus(n){if(!this._tabster.focusable.isVisible(n))return!1;if(this._tabster.focusable.isFocusable(n,!0,!0,!0))this.focus(n);else{const a=n.getAttribute("tabindex"),s=n.getAttribute("aria-hidden");n.tabIndex=-1,n.setAttribute("aria-hidden","true"),zt._lastResetElement=new or(n),this.focus(n,!0,!0),this._setOrRemoveAttribute(n,"tabindex",a),this._setOrRemoveAttribute(n,"aria-hidden",s)}return!0}requestAsyncFocus(n,a,s){const c=this._tabster.getWindow(),u=this._asyncFocus;if(u){if(Fb[n]>Fb[u.source])return;c.clearTimeout(u.timeout)}this._asyncFocus={source:n,callback:a,timeout:c.setTimeout(()=>{this._asyncFocus=void 0,a()},s)}}cancelAsyncFocus(n){const a=this._asyncFocus;(a==null?void 0:a.source)===n&&(this._tabster.getWindow().clearTimeout(a.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(n,a,s){s===null?n.removeAttribute(a):n.setAttribute(a,s)}_setFocusedElement(n,a,s){var d,g;if(this._tabster._noop)return;const c={relatedTarget:a};if(n){const p=(d=zt._lastResetElement)==null?void 0:d.get();if(zt._lastResetElement=void 0,p===n||b2(n))return;c.isFocusedProgrammatically=s;const m=wt.getTabsterContext(this._tabster,n),v=(g=m==null?void 0:m.modalizer)==null?void 0:g.userId;v&&(c.modalizerId=v)}const u=this._nextVal={element:n?new or(n):void 0,detail:c};n&&n!==this._val&&this._validateFocusedElement(n),this._nextVal===u&&this.setVal(n,c),this._nextVal=void 0}setVal(n,a){super.setVal(n,a),n&&(this._lastVal=new or(n))}static findNextTabbable(n,a,s,c,u,d,g){const p=s||a.root.getElement();if(!p)return null;let m=null;const v=zt._isTabbingTimer,S=n.getWindow();v&&S.clearTimeout(v),zt.isTabbing=!0,zt._isTabbingTimer=S.setTimeout(()=>{delete zt._isTabbingTimer,zt.isTabbing=!1},0);const k=a.modalizer,w=a.groupper,x=a.mover,z=T=>{if(m=T.findNextTabbable(c,u,d,g),c&&!(m!=null&&m.element)){const j=T!==k&&de.getParentElement(T.getElement());if(j){const N=wt.getTabsterContext(n,c,{referenceElement:j});if(N){const C=T.getElement(),E=d?C:C&&x2(C)||C;E&&(m=zt.findNextTabbable(n,N,s,E,j,d,g),m&&(m.outOfDOMOrder=!0))}}}};if(w&&x)z(a.groupperBeforeMover?w:x);else if(w)z(w);else if(x)z(x);else if(k)z(k);else{const T={container:p,currentElement:c,referenceElement:u,ignoreAccessibility:g,useActiveModalizer:!0},j={};m={element:n.focusable[d?"findPrev":"findNext"](T,j),outOfDOMOrder:j.outOfDOMOrder,uncontrolled:j.uncontrolled}}return m}};H(zt,"_lastResetElement"),H(zt,"_isTabbingTimer"),H(zt,"isTabbing",!1);let us=zt;/*!
103
+ * Copyright (c) Microsoft Corporation. All rights reserved.
104
+ * Licensed under the MIT License.
105
+ */class rT extends B2{constructor(n){super();H(this,"_keyborg");H(this,"_onChange",n=>{this.setVal(n,void 0)});this._keyborg=Xu(n()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Wu(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(n){var a;(a=this._keyborg)==null||a.setVal(n)}isNavigatingWithKeyboard(){var n;return!!((n=this._keyborg)!=null&&n.isNavigatingWithKeyboard())}}/*!
106
+ * Copyright (c) Microsoft Corporation. All rights reserved.
107
+ * Licensed under the MIT License.
108
+ */function nT(e,r,n,a){if(typeof MutationObserver>"u")return()=>{};const s=r.getWindow;let c;const u=m=>{var S,k,w,x,z;const v=new Set;for(const T of m){const j=T.target,N=T.removedNodes,C=T.addedNodes;if(T.type==="attributes")T.attributeName===Hn&&(v.has(j)||n(r,j));else{for(let E=0;E<N.length;E++){const M=N[E];v.add(M),d(M,!0),(k=(S=r._dummyObserver).domChanged)==null||k.call(S,j)}for(let E=0;E<C.length;E++)d(C[E]),(x=(w=r._dummyObserver).domChanged)==null||x.call(w,j)}}v.clear(),(z=r.modalizer)==null||z.hiddenUpdate()};function d(m,v){c||(c=ng(s).elementByUId),g(m,v);const S=v2(e,m,k=>g(k,v));if(S)for(;S.nextNode(););}function g(m,v){if(!m.getAttribute)return NodeFilter.FILTER_SKIP;const S=m.__tabsterElementUID;return S&&c&&(v?delete c[S]:c[S]??(c[S]=new or(m))),(Uo(r,m)||m.hasAttribute(Hn))&&n(r,m,v),NodeFilter.FILTER_SKIP}const p=de.createMutationObserver(u);return a&&d(s().document.body),p.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Hn]}),()=>{p.disconnect()}}/*!
109
+ * Copyright (c) Microsoft Corporation. All rights reserved.
110
+ * Licensed under the MIT License.
111
+ */class aT{constructor(r){H(this,"_isUncontrolledCompletely");this._isUncontrolledCompletely=r}isUncontrolledCompletely(r,n){var s;const a=(s=this._isUncontrolledCompletely)==null?void 0:s.call(this,r,n);return a===void 0?n:a}}/*!
112
+ * Copyright (c) Microsoft Corporation. All rights reserved.
113
+ * Licensed under the MIT License.
114
+ */let iT=0;const Vh="aria-hidden";class lT extends ku{constructor(r,n,a){super(n,r,S2.Modalizer,a),this._setHandlers((s,c)=>{var m,v;const u=r.get(),d=u&&((m=wt.getRoot(n,u))==null?void 0:m.getElement()),g=s.input;let p;if(d&&g){const S=ig(g),k=wt.getTabsterContext(n,S||g);k&&(p=(v=us.findNextTabbable(n,k,d,g,void 0,c,!0))==null?void 0:v.element),p&&Ta(p)}})}}class sT extends ag{constructor(n,a,s,c,u,d){super(n,a,c);H(this,"userId");H(this,"_isActive");H(this,"_wasFocused",0);H(this,"_onDispose");H(this,"_activeElements");H(this,"dummyManager");this.userId=c.id,this._onDispose=s,this._activeElements=d,n.controlTab||(this.dummyManager=new lT(this._element,n,u))}makeActive(n){if(this._isActive!==n){this._isActive=n;const a=this.getElement();if(a){const s=this._activeElements,c=s.map(u=>u.get()).indexOf(a);n?c<0&&s.push(new or(a)):c>=0&&s.splice(c,1)}this._dispatchEvent(n)}}focused(n){return n||(this._wasFocused=++iT),this._wasFocused}setProps(n){n.id&&(this.userId=n.id),this._props={...n}}dispose(){var n;this.makeActive(!1),this._onDispose(this),(n=this.dummyManager)==null||n.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(n){return de.nodeContains(this.getElement(),n)}findNextTabbable(n,a,s,c){var S,k;if(!this.getElement())return null;const d=this._tabster;let g=null,p=!1,m;const v=n&&((S=wt.getRoot(d,n))==null?void 0:S.getElement());if(v){const w={container:v,currentElement:n,referenceElement:a,ignoreAccessibility:c,useActiveModalizer:!0},x={};g=d.focusable[s?"findPrev":"findNext"](w,x),!g&&this._props.isTrapped&&((k=d.modalizer)!=null&&k.activeId)?(g=d.focusable[s?"findLast":"findFirst"]({container:v,ignoreAccessibility:c,useActiveModalizer:!0},x),g===null&&(g=n),p=!0):p=!!x.outOfDOMOrder,m=x.uncontrolled}return{element:g,uncontrolled:m,outOfDOMOrder:p}}_dispatchEvent(n,a){const s=this.getElement();let c=!1;if(s){const u=a?this._activeElements.map(d=>d.get()):[s];for(const d of u)if(d){const g={id:this.userId,element:s},p=n?new gz(g):new pz(g);d.dispatchEvent(p),p.defaultPrevented&&(c=!0)}}return c}_remove(){}}class cT{constructor(r,n,a){H(this,"_tabster");H(this,"_win");H(this,"_restoreModalizerFocusTimer");H(this,"_modalizers");H(this,"_parts");H(this,"_augMap");H(this,"_aug");H(this,"_hiddenUpdateTimer");H(this,"_alwaysAccessibleSelector");H(this,"_accessibleCheck");H(this,"_activationHistory");H(this,"activeId");H(this,"currentIsOthersAccessible");H(this,"activeElements");H(this,"_onModalizerDispose",r=>{const n=r.id,a=r.userId,s=this._parts[a];if(delete this._modalizers[n],s&&(delete s[n],Object.keys(s).length===0)){delete this._parts[a];const c=this._activationHistory,u=[];let d;for(let g=c.length;g--;){const p=c[g];p!==a&&p!==d&&(d=p,(p||u.length>0)&&u.unshift(p))}if(this._activationHistory=u,this.activeId===a){const g=u[0],p=g?Object.values(this._parts[g])[0]:void 0;this.setActive(p)}}});H(this,"_onKeyDown",r=>{var s;if(r.key!==k2.Escape)return;const n=this._tabster,a=n.focusedElement.getFocusedElement();if(a){const c=wt.getTabsterContext(n,a),u=c==null?void 0:c.modalizer;if(c&&!c.groupper&&(u!=null&&u.isActive())&&!c.ignoreKeydown(r)){const d=u.userId;if(d){const g=this._parts[d];if(g){const p=Object.keys(g).map(m=>{var w;const v=g[m],S=v.getElement();let k;return S&&(k=(w=Uo(n,S))==null?void 0:w.groupper),v&&S&&k?{el:S,focusedSince:v.focused(!0)}:{focusedSince:0}}).filter(m=>m.focusedSince>0).sort((m,v)=>m.focusedSince>v.focusedSince?-1:m.focusedSince<v.focusedSince?1:0);if(p.length){const m=p[0].el;m&&((s=n.groupper)==null||s.handleKeyPress(m,r,!0))}}}}}});H(this,"_onFocus",(r,n)=>{var p;const a=this._tabster,s=r&&wt.getTabsterContext(a,r);if(!s||!r)return;const c=this._augMap;for(let m=r;m;m=de.getParentElement(m))c.has(m)&&(c.delete(m),Ih(a,m,Vh));let u=s.modalizer;const d=Uo(a,r),g=d==null?void 0:d.modalizer;if(g&&(g.focused(),g.userId===this.activeId&&d.groupper)){const m=a.getParent(r),v=m&&((p=wt.getTabsterContext(a,m))==null?void 0:p.modalizer);if(v)u=v;else{this.setActive(void 0);return}}if(u==null||u.focused(),(u==null?void 0:u.userId)===this.activeId){this.currentIsOthersAccessible=u==null?void 0:u.getProps().isOthersAccessible;return}if(n.isFocusedProgrammatically||this.currentIsOthersAccessible||u!=null&&u.getProps().isAlwaysAccessible)this.setActive(u);else{const m=this._win();m.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=m.setTimeout(()=>this._restoreModalizerFocus(r),100)}});this._tabster=r,this._win=r.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=n,this._accessibleCheck=a,this._activationHistory=[],this.activeElements=[],r.controlTab||r.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),r.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const r=this._win();r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(n=>{this._modalizers[n]&&(this._modalizers[n].dispose(),delete this._modalizers[n])}),r.clearTimeout(this._restoreModalizerFocusTimer),r.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(r,n,a){const s=new sT(this._tabster,r,this._onModalizerDispose,n,a,this.activeElements),c=s.id,u=n.id;this._modalizers[c]=s;let d=this._parts[u];d||(d=this._parts[u]={}),d[c]=s;const g=this._tabster.focusedElement.getFocusedElement()??null;return r!==g&&de.nodeContains(r,g)&&(u!==this.activeId?this.setActive(s):s.makeActive(!0)),s}isAugmented(r){return this._augMap.has(r)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(r){const n=r==null?void 0:r.userId,a=this.activeId;if(a===n)return;if(this.activeId=n,a){const c=this._parts[a];if(c)for(const u of Object.keys(c))c[u].makeActive(!1)}if(n){const c=this._parts[n];if(c)for(const u of Object.keys(c))c[u].makeActive(!0)}this.currentIsOthersAccessible=r==null?void 0:r.getProps().isOthersAccessible,this.hiddenUpdate();const s=this._activationHistory;s[0]!==n&&(n!==void 0||s.length>0)&&s.unshift(n)}focus(r,n,a){const s=this._tabster,c=wt.getTabsterContext(s,r),u=c==null?void 0:c.modalizer;if(u){this.setActive(u);const d=u.getProps(),g=u.getElement();if(g){if(n===void 0&&(n=d.isNoFocusFirst),!n&&s.keyboardNavigation.isNavigatingWithKeyboard()&&s.focusedElement.focusFirst({container:g})||(a===void 0&&(a=d.isNoFocusDefault),!a&&s.focusedElement.focusDefault(g)))return!0;s.focusedElement.resetFocus(g)}}return!1}activate(r){var a;const n=r?(a=wt.getTabsterContext(this._tabster,r))==null?void 0:a.modalizer:void 0;return!r||n?(this.setActive(n),!0):!1}acceptElement(r,n){var u;const a=n.modalizerUserId,s=(u=n.currentCtx)==null?void 0:u.modalizer;if(a)for(const d of this.activeElements){const g=d.get();if(g&&(de.nodeContains(r,g)||g===r))return NodeFilter.FILTER_SKIP}const c=a===(s==null?void 0:s.userId)||!a&&(s!=null&&s.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return c!==void 0&&(n.skippedFocusable=!0),c}_hiddenUpdate(){var z;const r=this._tabster,n=r.getWindow().document.body,a=this.activeId,s=this._parts,c=[],u=[],d=this._alwaysAccessibleSelector,g=d?Array.from(de.querySelectorAll(n,d)):[],p=[];for(const T of Object.keys(s)){const j=s[T];for(const N of Object.keys(j)){const C=j[N],E=C.getElement(),Q=C.getProps().isAlwaysAccessible;E&&(T===a?(p.push(E),this.currentIsOthersAccessible||c.push(E)):Q?g.push(E):u.push(E))}}const m=this._augMap,v=c.length>0?[...c,...g]:void 0,S=[],k=new WeakMap,w=(T,j)=>{var E;const N=T.tagName;if(N==="SCRIPT"||N==="STYLE")return;let C=!1;m.has(T)?j?C=!0:(m.delete(T),Ih(r,T,Vh)):j&&!((E=this._accessibleCheck)!=null&&E.call(this,T,p))&&Ih(r,T,Vh,"true")&&(m.set(T,!0),C=!0),C&&(S.push(new or(T)),k.set(T,!0))},x=T=>{var j;for(let N=de.getFirstElementChild(T);N;N=de.getNextElementSibling(N)){let C=!1,E=!1,M=!1;if(v){const Q=r.getParent(N);for(const X of v){if(N===X){C=!0;break}if(de.nodeContains(N,X)){E=!0;break}else de.nodeContains(X,Q)&&(M=!0)}E||(j=N.__tabsterElementFlags)!=null&&j.noDirectAriaHidden?x(N):!C&&!M&&w(N,!0)}else w(N,!1)}};v||g.forEach(T=>w(T,!1)),u.forEach(T=>w(T,!0)),n&&x(n),(z=this._aug)==null||z.map(T=>T.get()).forEach(T=>{T&&!k.get(T)&&w(T,!1)}),this._aug=S,this._augMap=k}_restoreModalizerFocus(r){var m;const n=r==null?void 0:r.ownerDocument;if(!r||!n)return;const a=this._tabster.focusedElement.getFocusedElement(),s=a&&((m=wt.getTabsterContext(this._tabster,a))==null?void 0:m.modalizer);if(!a||a&&(s==null?void 0:s.userId)===this.activeId)return;const c=this._tabster,u=wt.getTabsterContext(c,r),d=u==null?void 0:u.modalizer,g=this.activeId;if(!d&&!g||d&&g===d.userId)return;const p=u==null?void 0:u.root.getElement();if(p){let v=c.focusable.findFirst({container:p,useActiveModalizer:!0});if(v){if(r.compareDocumentPosition(v)&document.DOCUMENT_POSITION_PRECEDING&&(v=c.focusable.findLast({container:p,useActiveModalizer:!0}),!v))throw new Error("Something went wrong.");c.focusedElement.focus(v);return}}r.blur()}}/*!
115
+ * Copyright (c) Microsoft Corporation. All rights reserved.
116
+ * Licensed under the MIT License.
117
+ */function _2(e,r,n){const a=e.core;if(!a.modalizer){const s=new cT(a,r,n);a.modalizer=s,a.attrHandlers.set("modalizer",(c,u,d,g,p)=>u?d.id&&(g==null?void 0:g.id)!==d.id?(u.dispose(),s.createModalizer(c,d,p)):(u.setProps(d),u):s.createModalizer(c,d,p))}return a.modalizer}/*!
118
+ * Copyright (c) Microsoft Corporation. All rights reserved.
119
+ * Licensed under the MIT License.
120
+ */class uT extends ag{constructor(n,a,s){var c;super(n,a,s);H(this,"_hasFocus",!1);H(this,"_onFocusOut",n=>{var s;const a=(s=this._element)==null?void 0:s.get();a&&n.relatedTarget===null&&a.dispatchEvent(new Ob),a&&!de.nodeContains(a,n.relatedTarget)&&(this._hasFocus=!1)});H(this,"_onFocusIn",()=>{this._hasFocus=!0});if(this._props.type===Ii.Source){const u=(c=this._element)==null?void 0:c.get();u==null||u.addEventListener("focusout",this._onFocusOut),u==null||u.addEventListener("focusin",this._onFocusIn),this._hasFocus=de.nodeContains(u,u&&de.getActiveElement(u.ownerDocument))}}dispose(){var n;if(this._props.type===Ii.Source){const a=(n=this._element)==null?void 0:n.get();a==null||a.removeEventListener("focusout",this._onFocusOut),a==null||a.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new Ob)}}}const Ru=class Ru{constructor(r){H(this,"_stack",[]);H(this,"_getWindow");this._getWindow=r}push(r){var n;((n=this._stack[this._stack.length-1])==null?void 0:n.get())!==r&&(this._stack.length>Ru.DEPTH&&this._stack.shift(),this._stack.push(new or(r)))}pop(r=()=>!0){var a;const n=this._getWindow().document;for(let s=this._stack.length-1;s>=0;s--){const c=(a=this._stack.pop())==null?void 0:a.get();if(c&&de.nodeContains(n.body,de.getParentElement(c))&&r(c))return c}}};H(Ru,"DEPTH",10);let B0=Ru;class fT{constructor(r){H(this,"_tabster");H(this,"_history");H(this,"_keyboardNavState");H(this,"_focusedElementState");H(this,"_getWindow");H(this,"_onRestoreFocus",r=>{var a,s;this._focusedElementState.cancelAsyncFocus(Si.Restorer);const n=r.composedPath()[0];if(n){const c=(s=(a=Uo(this._tabster,n))==null?void 0:a.restorer)==null?void 0:s.getProps().id;this._focusedElementState.requestAsyncFocus(Si.Restorer,()=>this._restoreFocus(n,c),0)}});H(this,"_onFocusIn",r=>{var a;if(!r)return;const n=Uo(this._tabster,r);((a=n==null?void 0:n.restorer)==null?void 0:a.getProps().type)===Ii.Target&&this._history.push(r)});H(this,"_restoreFocus",(r,n)=>{var c;const a=this._getWindow().document;if(de.getActiveElement(a)!==a.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&de.nodeContains(a.body,r))return;const s=u=>{var g,p;const d=(p=(g=Uo(this._tabster,u))==null?void 0:g.restorer)==null?void 0:p.getProps();return d?d.id:null};(c=this._history.pop(u=>n===s(u)))==null||c.focus()});this._tabster=r,this._getWindow=r.getWindow,this._getWindow().addEventListener(w0,this._onRestoreFocus),this._history=new B0(this._getWindow),this._keyboardNavState=r.keyboardNavigation,this._focusedElementState=r.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const r=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(Si.Restorer),r.removeEventListener(w0,this._onRestoreFocus)}createRestorer(r,n){const a=new uT(this._tabster,r,n);return n.type===Ii.Target&&de.getActiveElement(r.ownerDocument)===r&&this._history.push(r),a}}/*!
121
+ * Copyright (c) Microsoft Corporation. All rights reserved.
122
+ * Licensed under the MIT License.
123
+ */function dT(e){const r=e.core;if(!r.restorer){const n=new fT(r);r.restorer=n,r.attrHandlers.set("restorer",(a,s,c)=>s?(s.setProps(c),s):n.createRestorer(a,c))}return r.restorer}/*!
124
+ * Copyright (c) Microsoft Corporation. All rights reserved.
125
+ * Licensed under the MIT License.
126
+ */class hT{constructor(r){H(this,"keyboardNavigation");H(this,"focusedElement");H(this,"focusable");H(this,"root");H(this,"uncontrolled");H(this,"core");this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class gT{constructor(r,n){H(this,"_storage");H(this,"_unobserve");H(this,"_win");H(this,"_forgetMemorizedTimer");H(this,"_forgetMemorizedElements",[]);H(this,"_wrappers",new Set);H(this,"_initTimer");H(this,"_initQueue",[]);H(this,"_version","8.8.0");H(this,"_noop",!1);H(this,"controlTab");H(this,"rootDummyInputs");H(this,"attrHandlers",new Map);H(this,"keyboardNavigation");H(this,"focusedElement");H(this,"focusable");H(this,"root");H(this,"uncontrolled");H(this,"internal");H(this,"_dummyObserver");H(this,"groupper");H(this,"mover");H(this,"outline");H(this,"deloser");H(this,"modalizer");H(this,"observedElement");H(this,"crossOrigin");H(this,"restorer");H(this,"getParent");H(this,"getWindow",()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win});this._storage=new WeakMap,this._win=r;const a=this.getWindow;n!=null&&n.DOMAPI&&Hz({...n.DOMAPI}),this.keyboardNavigation=new rT(a),this.focusedElement=new us(this,a),this.focusable=new tT(this),this.root=new wt(this,n==null?void 0:n.autoRoot),this.uncontrolled=new aT((n==null?void 0:n.checkUncontrolledCompletely)||(n==null?void 0:n.checkUncontrolledTrappingFocus)),this.controlTab=(n==null?void 0:n.controlTab)??!0,this.rootDummyInputs=!!(n!=null&&n.rootDummyInputs),this._dummyObserver=new $z(a),this.getParent=(n==null?void 0:n.getParent)??de.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:s=>{if(!this._unobserve){const c=a().document;this._unobserve=nT(c,this,m2,s)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){r&&(this.getParent=r.getParent??this.getParent)}createTabster(r,n){const a=new hT(this);return r||this._wrappers.add(a),this._mergeProps(n),a}disposeTabster(r,n){n?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var n,a,s,c,u,d,g,p;this.internal.stopObserver();const r=this._win;r==null||r.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],r&&this._forgetMemorizedTimer&&(r.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(n=this.outline)==null||n.dispose(),(a=this.crossOrigin)==null||a.dispose(),(s=this.deloser)==null||s.dispose(),(c=this.groupper)==null||c.dispose(),(u=this.mover)==null||u.dispose(),(d=this.modalizer)==null||d.dispose(),(g=this.observedElement)==null||g.dispose(),(p=this.restorer)==null||p.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),this.attrHandlers.clear(),Mb(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),r&&(Pz(r),delete r.__tabsterInstance,delete this._win)}storageEntry(r,n){const a=this._storage;let s=a.get(r);return s?n===!1&&Object.keys(s).length===0&&a.delete(r):n===!0&&(s={},a.set(r,s)),s}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())Mb(this.getWindow,r),us.forgetMemorized(this.focusedElement,r)},0)))}queueInit(r){var n;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(n=this._win)==null?void 0:n.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(n=>n())}}function pT(e,r){let n=vT(e);return n?n.createTabster(!1,r):(n=new gT(e,r),e.__tabsterInstance=n,n.createTabster())}function mT(e,r){e.core.disposeTabster(e,r)}function vT(e){return e.__tabsterInstance}const bT=e=>e;function yT(e){const r=(e==null?void 0:e.defaultView)||void 0,n=r==null?void 0:r.__tabsterShadowDOMAPI;if(r)return pT(r,{autoRoot:{},controlTab:!1,getParent:f2,checkUncontrolledCompletely:a=>{var s;return((s=a.firstElementChild)===null||s===void 0?void 0:s.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:n})}function Qu(e=bT){const{targetDocument:r}=dt(),n=y.useRef(null);return Rt(()=>{const a=yT(r);if(a)return n.current=e(a),()=>{mT(a),n.current=null}},[r,e]),n}const Hb=e=>{Qu();const r=w2(e);return y.useMemo(()=>({[Hn]:r}),[r])},z2=()=>{const e=Qu(),{targetDocument:r}=dt(),n=y.useCallback((d,g)=>{var p;return d&&((p=e.current)===null||p===void 0?void 0:p.focusable.findAll({container:d,acceptCondition:g}))||[]},[e]),a=y.useCallback(d=>{var g;return d&&((g=e.current)===null||g===void 0?void 0:g.focusable.findFirst({container:d}))},[e]),s=y.useCallback(d=>{var g;return d&&((g=e.current)===null||g===void 0?void 0:g.focusable.findLast({container:d}))},[e]),c=y.useCallback((d,g={})=>{if(!e.current||!r||!d)return null;const{container:p=r.body}=g;return e.current.focusable.findNext({currentElement:d,container:p})},[e,r]),u=y.useCallback((d,g={})=>{if(!e.current||!r||!d)return null;const{container:p=r.body}=g;return e.current.focusable.findPrev({currentElement:d,container:p})},[e,r]);return{findAllFocusable:n,findFirstFocusable:a,findLastFocusable:s,findNextFocusable:c,findPrevFocusable:u}},Lb="data-fui-focus-visible",T2="data-fui-focus-within";function xT(e,r){if(N2(e))return()=>{};const n={current:void 0},a=Xu(r);function s(g){a.isNavigatingWithKeyboard()&&In(g)&&(n.current=g,g.setAttribute(Lb,""))}function c(){n.current&&(n.current.removeAttribute(Lb),n.current=void 0)}a.subscribe(g=>{g?s(r.document.activeElement):c()});const u=g=>{c();const p=g.composedPath()[0];s(p)},d=g=>{(!g.relatedTarget||In(g.relatedTarget)&&!e.contains(g.relatedTarget))&&c()};return e.addEventListener(_o,u),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(r.document.activeElement)&&s(r.document.activeElement),()=>{c(),e.removeEventListener(_o,u),e.removeEventListener("focusout",d),e.focusVisible=void 0,Wu(a)}}function N2(e){return e?e.focusVisible?!0:N2(e==null?void 0:e.parentElement):!1}function C2(e={}){const r=dt(),n=y.useRef(null);var a;const s=(a=e.targetDocument)!==null&&a!==void 0?a:r.targetDocument;return y.useEffect(()=>{if(s!=null&&s.defaultView&&n.current)return xT(n.current,s.defaultView)},[n,s]),n}function ST(e,r){const n=Xu(r);n.subscribe(c=>{c||Pb(e)});const a=c=>{n.isNavigatingWithKeyboard()&&Ib(c.target)&&wT(e)},s=c=>{(!c.relatedTarget||Ib(c.relatedTarget)&&!e.contains(c.relatedTarget))&&Pb(e)};return e.addEventListener(_o,a),e.addEventListener("focusout",s),()=>{e.removeEventListener(_o,a),e.removeEventListener("focusout",s),Wu(n)}}function wT(e){e.setAttribute(T2,"")}function Pb(e){e.removeAttribute(T2)}function Ib(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function E2(){const{targetDocument:e}=dt(),r=y.useRef(null);return y.useEffect(()=>{if(e!=null&&e.defaultView&&r.current)return ST(r.current,e.defaultView)},[r,e]),r}function lg(){const{targetDocument:e}=dt(),r=y.useRef(null);return y.useEffect(()=>{const n=e==null?void 0:e.defaultView;if(n){const a=Xu(n);return r.current=a,()=>{Wu(a),r.current=null}}},[e]),r}function j2(e){const r=lg(),n=_e(e);y.useEffect(()=>{const a=r.current;if(a){const s=c=>{n(c)};return a.subscribe(s),s(a.isNavigatingWithKeyboard()),()=>{a.unsubscribe(s)}}},[r,n])}const kT="data-tabster-never-hide",BT=e=>e.hasAttribute(kT);function _T(e){_2(e,void 0,BT),dT(e)}const Yu=(e={})=>{const{trapFocus:r,alwaysFocusable:n,legacyTrapFocus:a}=e;Qu(_T);const s=Go("modal-",e.id),c=Hb({restorer:{type:Ii.Source},...r&&{modalizer:{id:s,isOthersAccessible:!r,isAlwaysAccessible:n,isTrapped:a&&r}}}),u=Hb({restorer:{type:Ii.Target}});return{modalAttributes:c,triggerAttributes:u}};function zT(){const e=lg();return y.useCallback(()=>{var r,n;return(n=(r=e.current)===null||r===void 0?void 0:r.isNavigatingWithKeyboard())!==null&&n!==void 0?n:!1},[e])}function TT(){const e=lg();return y.useCallback(r=>{var n;(n=e.current)===null||n===void 0||n.setVal(r)},[e])}function NT(){const e=Qu(_2),[r]=og();return y.useCallback(a=>{r(()=>{var s;(s=e.current)===null||s===void 0||s.activate(a)},0)},[e,r])}const G={2:"#050505",4:"#0a0a0a",6:"#0f0f0f",8:"#141414",10:"#1a1a1a",12:"#1f1f1f",14:"#242424",16:"#292929",18:"#2e2e2e",20:"#333333",22:"#383838",24:"#3d3d3d",26:"#424242",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",99:"#fcfcfc"},Pt={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)"},Fo={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)"},CT={50:"rgba(26, 26, 26, 0.5)"},ET={70:"rgba(31, 31, 31, 0.7)"},Ub={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},Be="#ffffff",gu="#000000",jT={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},R2={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},RT={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},AT={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},DT={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},OT={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},MT={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},qT={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},FT={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},HT={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},LT={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},PT={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},IT={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},UT={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},VT={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},A2={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},GT={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},XT={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},WT={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},QT={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},YT={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},$T={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},KT={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},ZT={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},JT={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},eN={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},tN={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},oN={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},rN={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},nN={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},aN={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},iN={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},lN={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},sN={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},cN={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},uN={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Xe={red:RT,green:A2,darkOrange:AT,yellow:FT,berry:oN,lightGreen:VT,marigold:qT},Ln={darkRed:jT,cranberry:R2,pumpkin:DT,peach:MT,gold:HT,brass:LT,brown:PT,forest:IT,seafoam:UT,darkGreen:GT,lightTeal:XT,teal:WT,steel:QT,blue:YT,royalBlue:$T,cornflower:KT,navy:ZT,lavender:JT,purple:eN,grape:tN,lilac:rN,pink:nN,magenta:aN,plum:iN,beige:lN,mink:sN,platinum:cN,anchor:uN},Ue={cranberry:R2,green:A2,orange:OT},D2=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],O2=["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"],io={success:"green",warning:"orange",danger:"cranberry"},_s=D2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background1`]:Xe[r].tint60,[`colorPalette${n}Background2`]:Xe[r].tint40,[`colorPalette${n}Background3`]:Xe[r].primary,[`colorPalette${n}Foreground1`]:Xe[r].shade10,[`colorPalette${n}Foreground2`]:Xe[r].shade30,[`colorPalette${n}Foreground3`]:Xe[r].primary,[`colorPalette${n}BorderActive`]:Xe[r].primary,[`colorPalette${n}Border1`]:Xe[r].tint40,[`colorPalette${n}Border2`]:Xe[r].primary};return Object.assign(e,a)},{});_s.colorPaletteYellowForeground1=Xe.yellow.shade30;_s.colorPaletteRedForegroundInverted=Xe.red.tint20;_s.colorPaletteGreenForegroundInverted=Xe.green.tint20;_s.colorPaletteYellowForegroundInverted=Xe.yellow.tint40;const fN=O2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background2`]:Ln[r].tint40,[`colorPalette${n}Foreground2`]:Ln[r].shade30,[`colorPalette${n}BorderActive`]:Ln[r].primary};return Object.assign(e,a)},{}),dN={..._s,...fN},Yi=Object.entries(io).reduce((e,[r,n])=>{const a=r.slice(0,1).toUpperCase()+r.slice(1),s={[`colorStatus${a}Background1`]:Ue[n].tint60,[`colorStatus${a}Background2`]:Ue[n].tint40,[`colorStatus${a}Background3`]:Ue[n].primary,[`colorStatus${a}Foreground1`]:Ue[n].shade10,[`colorStatus${a}Foreground2`]:Ue[n].shade30,[`colorStatus${a}Foreground3`]:Ue[n].primary,[`colorStatus${a}ForegroundInverted`]:Ue[n].tint30,[`colorStatus${a}BorderActive`]:Ue[n].primary,[`colorStatus${a}Border1`]:Ue[n].tint40,[`colorStatus${a}Border2`]:Ue[n].primary};return Object.assign(e,s)},{});Yi.colorStatusDangerBackground3Hover=Ue[io.danger].shade10;Yi.colorStatusDangerBackground3Pressed=Ue[io.danger].shade20;Yi.colorStatusWarningForeground1=Ue[io.warning].shade20;Yi.colorStatusWarningForeground3=Ue[io.warning].shade20;Yi.colorStatusWarningBorder2=Ue[io.warning].shade20;const hN=e=>({colorNeutralForeground1:G[14],colorNeutralForeground1Hover:G[14],colorNeutralForeground1Pressed:G[14],colorNeutralForeground1Selected:G[14],colorNeutralForeground2:G[26],colorNeutralForeground2Hover:G[14],colorNeutralForeground2Pressed:G[14],colorNeutralForeground2Selected:G[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:G[38],colorNeutralForeground3Hover:G[26],colorNeutralForeground3Pressed:G[26],colorNeutralForeground3Selected:G[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:G[44],colorNeutralForeground5:G[38],colorNeutralForeground5Hover:G[14],colorNeutralForeground5Pressed:G[14],colorNeutralForeground5Selected:G[14],colorNeutralForegroundDisabled:G[74],colorNeutralForegroundInvertedDisabled:Pt[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:G[26],colorNeutralForeground2LinkHover:G[14],colorNeutralForeground2LinkPressed:G[14],colorNeutralForeground2LinkSelected:G[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:G[14],colorNeutralForegroundStaticInverted:Be,colorNeutralForegroundInverted:Be,colorNeutralForegroundInvertedHover:Be,colorNeutralForegroundInvertedPressed:Be,colorNeutralForegroundInvertedSelected:Be,colorNeutralForegroundInverted2:Be,colorNeutralForegroundOnBrand:Be,colorNeutralForegroundInvertedLink:Be,colorNeutralForegroundInvertedLinkHover:Be,colorNeutralForegroundInvertedLinkPressed:Be,colorNeutralForegroundInvertedLinkSelected:Be,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Be,colorNeutralBackground1Hover:G[96],colorNeutralBackground1Pressed:G[88],colorNeutralBackground1Selected:G[92],colorNeutralBackground2:G[98],colorNeutralBackground2Hover:G[94],colorNeutralBackground2Pressed:G[86],colorNeutralBackground2Selected:G[90],colorNeutralBackground3:G[96],colorNeutralBackground3Hover:G[92],colorNeutralBackground3Pressed:G[84],colorNeutralBackground3Selected:G[88],colorNeutralBackground4:G[94],colorNeutralBackground4Hover:G[98],colorNeutralBackground4Pressed:G[96],colorNeutralBackground4Selected:Be,colorNeutralBackground5:G[92],colorNeutralBackground5Hover:G[96],colorNeutralBackground5Pressed:G[94],colorNeutralBackground5Selected:G[98],colorNeutralBackground6:G[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:G[92],colorNeutralBackground7Pressed:G[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:G[99],colorNeutralBackgroundInverted:G[16],colorNeutralBackgroundInvertedHover:G[24],colorNeutralBackgroundInvertedPressed:G[12],colorNeutralBackgroundInvertedSelected:G[22],colorNeutralBackgroundStatic:G[20],colorNeutralBackgroundAlpha:Pt[50],colorNeutralBackgroundAlpha2:Pt[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:G[96],colorSubtleBackgroundPressed:G[88],colorSubtleBackgroundSelected:G[92],colorSubtleBackgroundLightAlphaHover:Pt[70],colorSubtleBackgroundLightAlphaPressed:Pt[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Fo[10],colorSubtleBackgroundInvertedPressed:Fo[30],colorSubtleBackgroundInvertedSelected:Fo[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:G[94],colorNeutralBackgroundDisabled2:Be,colorNeutralBackgroundInvertedDisabled:Pt[10],colorNeutralStencil1:G[90],colorNeutralStencil2:G[98],colorNeutralStencil1Alpha:Fo[10],colorNeutralStencil2Alpha:Fo[5],colorBackgroundOverlay:Fo[40],colorScrollbarOverlay:Fo[50],colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Be,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:G[98],colorNeutralCardBackgroundHover:Be,colorNeutralCardBackgroundPressed:G[96],colorNeutralCardBackgroundSelected:G[92],colorNeutralCardBackgroundDisabled:G[94],colorNeutralStrokeAccessible:G[38],colorNeutralStrokeAccessibleHover:G[34],colorNeutralStrokeAccessiblePressed:G[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:G[82],colorNeutralStroke1Hover:G[78],colorNeutralStroke1Pressed:G[70],colorNeutralStroke1Selected:G[74],colorNeutralStroke2:G[88],colorNeutralStroke3:G[94],colorNeutralStroke4:G[92],colorNeutralStroke4Hover:G[88],colorNeutralStroke4Pressed:G[84],colorNeutralStroke4Selected:G[92],colorNeutralStrokeSubtle:G[88],colorNeutralStrokeOnBrand:Be,colorNeutralStrokeOnBrand2:Be,colorNeutralStrokeOnBrand2Hover:Be,colorNeutralStrokeOnBrand2Pressed:Be,colorNeutralStrokeOnBrand2Selected:Be,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:G[88],colorNeutralStrokeDisabled2:G[92],colorNeutralStrokeInvertedDisabled:Pt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Fo[5],colorNeutralStrokeAlpha2:Pt[20],colorStrokeFocus1:Be,colorStrokeFocus2:gu,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)"}),M2={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},q2={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)"},F2={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},H2={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},L2={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},P2={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},I2={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"},ft={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},U2={spacingHorizontalNone:ft.none,spacingHorizontalXXS:ft.xxs,spacingHorizontalXS:ft.xs,spacingHorizontalSNudge:ft.sNudge,spacingHorizontalS:ft.s,spacingHorizontalMNudge:ft.mNudge,spacingHorizontalM:ft.m,spacingHorizontalL:ft.l,spacingHorizontalXL:ft.xl,spacingHorizontalXXL:ft.xxl,spacingHorizontalXXXL:ft.xxxl},V2={spacingVerticalNone:ft.none,spacingVerticalXXS:ft.xxs,spacingVerticalXS:ft.xs,spacingVerticalSNudge:ft.sNudge,spacingVerticalS:ft.s,spacingVerticalMNudge:ft.mNudge,spacingVerticalM:ft.m,spacingVerticalL:ft.l,spacingVerticalXL:ft.xl,spacingVerticalXXL:ft.xxl,spacingVerticalXXXL:ft.xxxl},G2={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},q={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorBrandBackground2:"var(--colorBrandBackground2)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightSemibold:"var(--fontWeightSemibold)",lineHeightBase200:"var(--lineHeightBase200)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)"};function Bu(e,r,n=""){return{[`shadow2${n}`]:`0 0 2px ${e}, 0 1px 2px ${r}`,[`shadow4${n}`]:`0 0 2px ${e}, 0 2px 4px ${r}`,[`shadow8${n}`]:`0 0 2px ${e}, 0 4px 8px ${r}`,[`shadow16${n}`]:`0 0 2px ${e}, 0 8px 16px ${r}`,[`shadow28${n}`]:`0 0 8px ${e}, 0 14px 28px ${r}`,[`shadow64${n}`]:`0 0 8px ${e}, 0 32px 64px ${r}`}}const gN=e=>{const r=hN(e);return{...M2,...H2,...L2,...I2,...P2,...G2,...U2,...V2,...F2,...q2,...r,...dN,...Yi,...Bu(r.colorNeutralShadowAmbient,r.colorNeutralShadowKey),...Bu(r.colorBrandShadowAmbient,r.colorBrandShadowKey,"Brand")}},yr=D2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background1`]:Xe[r].shade40,[`colorPalette${n}Background2`]:Xe[r].shade30,[`colorPalette${n}Background3`]:Xe[r].primary,[`colorPalette${n}Foreground1`]:Xe[r].tint30,[`colorPalette${n}Foreground2`]:Xe[r].tint40,[`colorPalette${n}Foreground3`]:Xe[r].tint20,[`colorPalette${n}BorderActive`]:Xe[r].tint30,[`colorPalette${n}Border1`]:Xe[r].primary,[`colorPalette${n}Border2`]:Xe[r].tint20};return Object.assign(e,a)},{});yr.colorPaletteRedForeground3=Xe.red.tint30;yr.colorPaletteRedBorder2=Xe.red.tint30;yr.colorPaletteGreenForeground3=Xe.green.tint40;yr.colorPaletteGreenBorder2=Xe.green.tint40;yr.colorPaletteDarkOrangeForeground3=Xe.darkOrange.tint30;yr.colorPaletteDarkOrangeBorder2=Xe.darkOrange.tint30;yr.colorPaletteRedForegroundInverted=Xe.red.primary;yr.colorPaletteGreenForegroundInverted=Xe.green.primary;yr.colorPaletteYellowForegroundInverted=Xe.yellow.shade30;const sg=O2.reduce((e,r)=>{const n=r.slice(0,1).toUpperCase()+r.slice(1),a={[`colorPalette${n}Background2`]:Ln[r].shade30,[`colorPalette${n}Foreground2`]:Ln[r].tint40,[`colorPalette${n}BorderActive`]:Ln[r].tint30};return Object.assign(e,a)},{});sg.colorPaletteDarkRedBackground2=Ln.darkRed.shade20;sg.colorPalettePlumBackground2=Ln.plum.shade20;const pN={...yr,...sg},Gn=Object.entries(io).reduce((e,[r,n])=>{const a=r.slice(0,1).toUpperCase()+r.slice(1),s={[`colorStatus${a}Background1`]:Ue[n].shade40,[`colorStatus${a}Background2`]:Ue[n].shade30,[`colorStatus${a}Background3`]:Ue[n].primary,[`colorStatus${a}Foreground1`]:Ue[n].tint30,[`colorStatus${a}Foreground2`]:Ue[n].tint40,[`colorStatus${a}Foreground3`]:Ue[n].tint20,[`colorStatus${a}BorderActive`]:Ue[n].tint30,[`colorStatus${a}ForegroundInverted`]:Ue[n].shade10,[`colorStatus${a}Border1`]:Ue[n].primary,[`colorStatus${a}Border2`]:Ue[n].tint20};return Object.assign(e,s)},{});Gn.colorStatusDangerBackground3Hover=Ue[io.danger].shade10;Gn.colorStatusDangerBackground3Pressed=Ue[io.danger].shade20;Gn.colorStatusDangerForeground3=Ue[io.danger].tint40;Gn.colorStatusDangerBorder2=Ue[io.danger].tint30;Gn.colorStatusSuccessForeground3=Ue[io.success].tint40;Gn.colorStatusSuccessBorder2=Ue[io.success].tint40;Gn.colorStatusWarningForegroundInverted=Ue[io.warning].shade20;const mN=e=>({colorNeutralForeground1:Be,colorNeutralForeground1Hover:Be,colorNeutralForeground1Pressed:Be,colorNeutralForeground1Selected:Be,colorNeutralForeground2:G[84],colorNeutralForeground2Hover:Be,colorNeutralForeground2Pressed:Be,colorNeutralForeground2Selected:Be,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:G[68],colorNeutralForeground3Hover:G[84],colorNeutralForeground3Pressed:G[84],colorNeutralForeground3Selected:G[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:G[60],colorNeutralForeground5:G[68],colorNeutralForeground5Hover:Be,colorNeutralForeground5Pressed:Be,colorNeutralForeground5Selected:Be,colorNeutralForegroundDisabled:G[36],colorNeutralForegroundInvertedDisabled:Pt[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:G[84],colorNeutralForeground2LinkHover:Be,colorNeutralForeground2LinkPressed:Be,colorNeutralForeground2LinkSelected:Be,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:G[14],colorNeutralForegroundStaticInverted:Be,colorNeutralForegroundInverted:G[14],colorNeutralForegroundInvertedHover:G[14],colorNeutralForegroundInvertedPressed:G[14],colorNeutralForegroundInvertedSelected:G[14],colorNeutralForegroundInverted2:G[14],colorNeutralForegroundOnBrand:Be,colorNeutralForegroundInvertedLink:Be,colorNeutralForegroundInvertedLinkHover:Be,colorNeutralForegroundInvertedLinkPressed:Be,colorNeutralForegroundInvertedLinkSelected:Be,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:G[16],colorNeutralBackground1Hover:G[24],colorNeutralBackground1Pressed:G[12],colorNeutralBackground1Selected:G[22],colorNeutralBackground2:G[12],colorNeutralBackground2Hover:G[20],colorNeutralBackground2Pressed:G[8],colorNeutralBackground2Selected:G[18],colorNeutralBackground3:G[8],colorNeutralBackground3Hover:G[16],colorNeutralBackground3Pressed:G[4],colorNeutralBackground3Selected:G[14],colorNeutralBackground4:G[4],colorNeutralBackground4Hover:G[12],colorNeutralBackground4Pressed:gu,colorNeutralBackground4Selected:G[10],colorNeutralBackground5:gu,colorNeutralBackground5Hover:G[8],colorNeutralBackground5Pressed:G[2],colorNeutralBackground5Selected:G[6],colorNeutralBackground6:G[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:G[10],colorNeutralBackground7Pressed:G[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:G[16],colorNeutralBackgroundInverted:Be,colorNeutralBackgroundInvertedHover:G[96],colorNeutralBackgroundInvertedPressed:G[88],colorNeutralBackgroundInvertedSelected:G[92],colorNeutralBackgroundStatic:G[24],colorNeutralBackgroundAlpha:CT[50],colorNeutralBackgroundAlpha2:ET[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:G[22],colorSubtleBackgroundPressed:G[18],colorSubtleBackgroundSelected:G[20],colorSubtleBackgroundLightAlphaHover:Ub[80],colorSubtleBackgroundLightAlphaPressed:Ub[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Fo[10],colorSubtleBackgroundInvertedPressed:Fo[30],colorSubtleBackgroundInvertedSelected:Fo[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:G[8],colorNeutralBackgroundDisabled2:G[16],colorNeutralBackgroundInvertedDisabled:Pt[10],colorNeutralStencil1:G[34],colorNeutralStencil2:G[20],colorNeutralStencil1Alpha:Pt[10],colorNeutralStencil2Alpha:Pt[5],colorBackgroundOverlay:Fo[50],colorScrollbarOverlay:Pt[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Be,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:G[20],colorNeutralCardBackgroundHover:G[24],colorNeutralCardBackgroundPressed:G[18],colorNeutralCardBackgroundSelected:G[22],colorNeutralCardBackgroundDisabled:G[8],colorNeutralStrokeAccessible:G[68],colorNeutralStrokeAccessibleHover:G[74],colorNeutralStrokeAccessiblePressed:G[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:G[40],colorNeutralStroke1Hover:G[46],colorNeutralStroke1Pressed:G[42],colorNeutralStroke1Selected:G[44],colorNeutralStroke2:G[32],colorNeutralStroke3:G[24],colorNeutralStroke4:G[24],colorNeutralStroke4Hover:G[18],colorNeutralStroke4Pressed:G[14],colorNeutralStroke4Selected:G[24],colorNeutralStrokeSubtle:G[4],colorNeutralStrokeOnBrand:G[16],colorNeutralStrokeOnBrand2:Be,colorNeutralStrokeOnBrand2Hover:Be,colorNeutralStrokeOnBrand2Pressed:Be,colorNeutralStrokeOnBrand2Selected:Be,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:G[26],colorNeutralStrokeDisabled2:G[24],colorNeutralStrokeInvertedDisabled:Pt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Pt[10],colorNeutralStrokeAlpha2:Pt[20],colorStrokeFocus1:gu,colorStrokeFocus2:Be,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)"}),vN=e=>{const r=mN(e);return{...M2,...H2,...L2,...I2,...P2,...G2,...U2,...V2,...F2,...q2,...r,...pN,...Gn,...Bu(r.colorNeutralShadowAmbient,r.colorNeutralShadowKey),...Bu(r.colorBrandShadowAmbient,r.colorBrandShadowKey,"Brand")}},X2={root:"fui-FluentProvider"},bN=Vx({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);}"]}),yN=e=>{"use no memo";const r=ks(),n=bN({dir:e.dir,renderer:r});return e.root.className=ve(X2.root,e.themeClassName,n.root,e.root.className),e},xN=y.useInsertionEffect?y.useInsertionEffect:Rt,SN=(e,r)=>{if(!(e!=null&&e.head))return;const n=e.createElement("style");return Object.keys(r).forEach(a=>{n.setAttribute(a,r[a])}),e.head.appendChild(n),n},wN=(e,r)=>{const n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(r,0))},kN=e=>{"use no memo";const{targetDocument:r,theme:n,rendererAttributes:a}=e,s=y.useRef(void 0),c=Go(X2.root),u=a,d=y.useMemo(()=>H6(`.${c}`,n),[n,c]);return BN(r,c),xN(()=>{const g=r==null?void 0:r.getElementById(c);return g?s.current=g:(s.current=SN(r,{...u,id:c}),s.current&&wN(s.current,d)),()=>{var p;(p=s.current)===null||p===void 0||p.remove()}},[c,r,d,u]),{styleTagId:c,rule:d}};function BN(e,r){y.useState(()=>{if(!e)return;const n=e.getElementById(r);n&&e.head.append(n)})}const _N={},zN={},TN=(e,r)=>{"use no memo";const n=dt(),a=NN(),s=eg(),c=y.useContext(tg)||_N,{applyStylesToPortals:u=!0,customStyleHooks_unstable:d,dir:g=n.dir,targetDocument:p=n.targetDocument,theme:m,overrides_unstable:v={}}=e,S=Gh(a,m),k=Gh(s,v),w=Gh(c,d),x=ks();var z;const{styleTagId:T,rule:j}=kN({theme:S,targetDocument:p,rendererAttributes:(z=x.styleElementAttributes)!==null&&z!==void 0?z:zN});return{applyStylesToPortals:u,customStyleHooks_unstable:w,dir:g,targetDocument:p,theme:S,overrides_unstable:k,themeClassName:T,components:{root:"div"},root:Ve(Ut("div",{...e,dir:g,ref:Nt(r,C2({targetDocument:p}))}),{elementType:"div"}),serverStyleProps:{cssRule:j,attributes:{...x.styleElementAttributes,id:T}}}};function Gh(e,r){return e&&r?{...e,...r}:e||r}function NN(){return y.useContext($x)}function CN(e){const{applyStylesToPortals:r,customStyleHooks_unstable:n,dir:a,root:s,targetDocument:c,theme:u,themeClassName:d,overrides_unstable:g}=e,p=y.useMemo(()=>({dir:a,targetDocument:c}),[a,c]),[m]=y.useState(()=>({})),v=y.useMemo(()=>({textDirection:a}),[a]);return{customStyleHooks_unstable:n,overrides_unstable:g,provider:p,textDirection:a,iconDirection:v,tooltip:m,theme:u,themeClassName:r?s.className:d}}const W2=y.forwardRef((e,r)=>{const n=TN(e,r);yN(n);const a=CN(n);return $_(n,a)});W2.displayName="FluentProvider";var Vb=Iy();const EN=e=>n=>{const a=y.useRef(n.value),s=y.useRef(null);return s.current||(s.current={value:a,listeners:[]}),Rt(()=>{a.current=n.value,Vb.unstable_runWithPriority(Vb.unstable_NormalPriority,()=>{s.current.listeners.forEach(c=>{c(n.value)})})},[n.value]),y.createElement(e,{value:s.current},n.children)},$u=e=>{const r=y.createContext({value:{current:e},listeners:[],isDefault:!0});return r.Provider=EN(r.Provider),delete r.Consumer,r},cg=(e,r)=>{const n=y.useContext(e),{value:a,listeners:s}=n,c=r(a.current),[,u]=y.useReducer(p=>p+1,0),d=y.useRef(r),g=y.useRef(c);return Rt(()=>{d.current=r,g.current=c}),Rt(()=>{const p=m=>{try{const v=d.current(m);Object.is(g.current,v)||u()}catch{}};return s.push(p),p(a.current),()=>{const m=s.indexOf(p);m!==-1&&s.splice(m,1)}},[s,a]),c};function ug(e){return!y.useContext(e).isDefault}const ns="Enter",qn=" ",jN="Tab",Gb="ArrowDown",RN="ArrowLeft",AN="ArrowRight",Xh="ArrowUp",DN="End",ON="Home",MN="PageDown",qN="PageUp",Ku="Escape";function _u(e,r){const{disabled:n,disabledFocusable:a=!1,["aria-disabled"]:s,onClick:c,onKeyDown:u,onKeyUp:d,...g}=r??{},p=typeof s=="string"?s==="true":s,m=n||a||p,v=_e(w=>{m?(w.preventDefault(),w.stopPropagation()):c==null||c(w)}),S=_e(w=>{if(u==null||u(w),w.isDefaultPrevented())return;const x=w.key;if(m&&(x===ns||x===qn)){w.preventDefault(),w.stopPropagation();return}if(x===qn){w.preventDefault();return}else x===ns&&(w.preventDefault(),w.currentTarget.click())}),k=_e(w=>{if(d==null||d(w),w.isDefaultPrevented())return;const x=w.key;if(m&&(x===ns||x===qn)){w.preventDefault(),w.stopPropagation();return}x===qn&&(w.preventDefault(),w.currentTarget.click())});if(e==="button"||e===void 0)return{...g,disabled:n&&!a,"aria-disabled":a?!0:p,onClick:a?void 0:v,onKeyUp:a?void 0:d,onKeyDown:a?void 0:u};{const w=!!g.href;let x=w?void 0:"button";!x&&m&&(x="link");const z={role:x,tabIndex:a||!w&&!n?0:void 0,...g,onClick:v,onKeyUp:k,onKeyDown:S,"aria-disabled":m};return e==="a"&&m&&(z.href=void 0),z}}const to=()=>{},FN={controller:{active:to,blur:to,find:to,first:to,focus:to,focusLastActive:to,scrollActiveIntoView:to,last:to,next:to,prev:to,showAttributes:to,hideAttributes:to,showFocusVisibleAttributes:to,hideFocusVisibleAttributes:to}},fg=y.createContext(void 0),Q2=fg.Provider,Y2=()=>{var e;return(e=y.useContext(fg))!==null&&e!==void 0?e:FN},HN=()=>!!y.useContext(fg);function LN(e){const{matchOption:r}=e,{targetDocument:n}=dt(),a=y.useRef(null),s=y.useRef(null),c=y.useCallback(g=>In(g)&&r(g)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[r]),u=y.useCallback(g=>{g&&n?(s.current=g,a.current=n.createTreeWalker(g,NodeFilter.SHOW_ELEMENT,c)):(s.current=null,a.current=null)},[n,c]);return{optionWalker:y.useMemo(()=>({first:()=>!a.current||!s.current?null:(a.current.currentNode=s.current,a.current.firstChild()),last:()=>!a.current||!s.current?null:(a.current.currentNode=s.current,a.current.lastChild()),next:()=>a.current?a.current.nextNode():null,prev:()=>a.current?a.current.previousNode():null,find:(g,p)=>{if(!a.current||!s.current)return null;const m=p?n==null?void 0:n.getElementById(p):null;a.current.currentNode=m??s.current;let v=a.current.currentNode;for(;v&&!g(v.id);)v=a.current.nextNode();return v},setCurrent:g=>{a.current&&(a.current.currentNode=g)}}),[n]),listboxCallbackRef:u}}const Xb="data-activedescendant",pi="data-activedescendant-focusvisible",Wb=e=>{if(!e)return;const r=$2(e.parentElement);if(!r)return;const{offsetHeight:n}=e,a=K2(e,r),{scrollMarginTop:s,scrollMarginBottom:c}=PN(e),{offsetHeight:u,scrollTop:d}=r,g=a-s<d,p=a+n+c>d+u,m=2;g?r.scrollTo(0,a-s-m):p&&r.scrollTo(0,a+n+c-u+m)},$2=e=>e?e.scrollHeight>e.offsetHeight?e:$2(e.parentElement):null,K2=(e,r)=>!e||e===r?0:e.contains(r)?r.offsetTop*-1:e.offsetTop+K2(e.offsetParent,r),PN=e=>{var r;const n=(r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView;if(!n)return{scrollMarginTop:0,scrollMarginBottom:0};const a=n.getComputedStyle(e);var s;const c=(s=tu(a.scrollMarginTop))!==null&&s!==void 0?s:tu(a.scrollMarginBlockStart);var u;const d=(u=tu(a.scrollMarginBottom))!==null&&u!==void 0?u:tu(a.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:d}},tu=e=>e?parseInt(e,10):0,IN=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function Z2(e){const{imperativeRef:r,matchOption:n}=e,a=y.useRef(!1),s=y.useRef(!0),c=y.useRef(null),u=y.useRef(null),d=y.useRef(null),g=y.useRef(!0),p=y.useCallback(()=>{var C;(C=d.current)===null||C===void 0||C.removeAttribute("aria-activedescendant")},[]),m=y.useCallback(C=>{if(C&&(c.current=C),g.current&&c.current){var E;(E=d.current)===null||E===void 0||E.setAttribute("aria-activedescendant",c.current)}},[]);j2(C=>{a.current=C;const E=x();E&&(C&&s.current?E.setAttribute(pi,""):E.removeAttribute(pi))});const v=_e(n),S=y.useRef(null),{optionWalker:k,listboxCallbackRef:w}=LN({matchOption:v}),x=y.useCallback(()=>{var C;return(C=S.current)===null||C===void 0?void 0:C.querySelector(`#${c.current}`)},[S]),z=y.useCallback(C=>{s.current=C;const E=x();E&&(C&&a.current?E.setAttribute(pi,""):E.removeAttribute(pi))},[x]),T=y.useCallback(()=>{const C=x();C&&(C.removeAttribute(Xb),C.removeAttribute(pi)),p(),u.current=c.current,c.current=null;var E;return(E=C==null?void 0:C.id)!==null&&E!==void 0?E:null},[x,p]),j=y.useCallback(C=>{if(!C)return;const E=T();Wb(C),m(C.id),C.setAttribute(Xb,""),a.current&&s.current&&C.setAttribute(pi,"");const M=IN({id:C.id,previousId:E});C.dispatchEvent(M)},[T,m]),N=y.useMemo(()=>({first:({passive:C}={})=>{const E=k.first();return C||j(E),E==null?void 0:E.id},last:({passive:C}={})=>{const E=k.last();return C||j(E),E==null?void 0:E.id},next:({passive:C}={})=>{const E=x();if(!E)return;k.setCurrent(E);const M=k.next();return C||j(M),M==null?void 0:M.id},prev:({passive:C}={})=>{const E=x();if(!E)return;k.setCurrent(E);const M=k.prev();return C||j(M),M==null?void 0:M.id},blur:()=>{T()},active:()=>{var C;return(C=x())===null||C===void 0?void 0:C.id},focus:C=>{if(!S.current)return;const E=S.current.querySelector(`#${C}`);E&&j(E)},focusLastActive:()=>{if(!S.current||!u.current)return;const C=S.current.querySelector(`#${u.current}`);if(C)return j(C),!0},find(C,{passive:E,startFrom:M}={}){const Q=k.find(C,M);return E||j(Q),Q==null?void 0:Q.id},scrollActiveIntoView:()=>{if(!S.current)return;const C=x();C&&Wb(C)},showAttributes(){g.current=!0,m()},hideAttributes(){g.current=!1,p()},showFocusVisibleAttributes(){z(!0)},hideFocusVisibleAttributes(){z(!1)}}),[k,S,m,p,j,T,x,z]);return y.useImperativeHandle(r,()=>N),{listboxRef:Nt(S,w),activeParentRef:d,controller:N}}const UN=Se({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),VN=(e,r)=>{const{filled:n,title:a,primaryFill:s="currentColor",...c}=e,u={...c,fill:s},d=UN(),g=Y_();return u.className=ve(d.root,(r==null?void 0:r.flipInRtl)&&(g==null?void 0:g.textDirection)==="rtl"&&d.rtl,u.className),a&&(u["aria-label"]=a),!u["aria-label"]&&!u["aria-labelledby"]?u["aria-hidden"]=!0:u.role="img",u},GN=Se({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),XN="fui-Icon",Ce=(e,r,n,a)=>{const s=r==="1em"?"20":r,c=y.forwardRef((u,d)=>{const g=GN(),p=VN(u,{flipInRtl:a==null?void 0:a.flipInRtl}),m={...p,className:ve(XN,p.className,g.root),ref:d,width:r,height:r,viewBox:`0 0 ${s} ${s}`,xmlns:"http://www.w3.org/2000/svg"};return typeof n=="string"?y.createElement("svg",{...m,dangerouslySetInnerHTML:{__html:n}}):y.createElement("svg",m,...n.map(v=>y.createElement("path",{d:v,fill:m.fill})))});return c.displayName=e,c},J2=Ce("DesktopRegular","1em",["M4 2a2 2 0 0 0-2 2v9c0 1.1.9 2 2 2h3v2H5.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H13v-2h3a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4Zm8 13v2H8v-2h4ZM3 4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Z"]),mi=Ce("DocumentBulletListRegular","1em",["M6 10.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm.5 1.5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM6 14.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0ZM8.5 10a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM8 12.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Zm.5 1.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM6 2a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6ZM5 4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4Zm9.8 3h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7Z"]),WN=Ce("CopyRegular","1em",["M8 2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h6a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8ZM7 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4ZM4 6a2 2 0 0 1 1-1.73V14.5A2.5 2.5 0 0 0 7.5 17h6.23A2 2 0 0 1 12 18H7.5A3.5 3.5 0 0 1 4 14.5V6Z"]),Qb=Ce("OpenRegular","1em",["M6 4a2 2 0 0 0-2 2v8c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2v-2.5a.5.5 0 0 1 1 0V14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2.5a.5.5 0 0 1 0 1H6Zm5-.5c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V4.7l-4.15 4.15a.5.5 0 0 1-.7-.7L15.29 4H11.5a.5.5 0 0 1-.5-.5Z"]),QN=Ce("WarningFilled","1em",["M7.37 3.56a3 3 0 0 1 5.26 0l5.5 10A3 3 0 0 1 15.5 18h-11a3 3 0 0 1-2.63-4.44l5.5-10ZM10 12.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0-6.25a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 1 0V7a.5.5 0 0 0-.5-.5Z"]),YN=Ce("WeatherMoonRegular","1em",["M15.5 13.5A6.98 6.98 0 0 1 4 14.39c2.83-1.09 4.56-2.42 5.6-4.4 1.04-2 1.33-4.16.75-6.9A6.98 6.98 0 0 1 15.5 13.5ZM5.45 16.92A7.98 7.98 0 1 0 9.88 2.04a.6.6 0 0 0-.61.73c.69 2.82.43 4.88-.55 6.76-.94 1.78-2.55 3.03-5.55 4.1a.6.6 0 0 0-.3.9 7.95 7.95 0 0 0 2.59 2.39Z"]),$N=Ce("WeatherSunnyRegular","1em",["M10 2c.28 0 .5.22.5.5v1a.5.5 0 0 1-1 0v-1c0-.28.22-.5.5-.5Zm0 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0-1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm7.5-2.5a.5.5 0 0 0 0-1h-1a.5.5 0 0 0 0 1h1ZM10 16c.28 0 .5.22.5.5v1a.5.5 0 0 1-1 0v-1c0-.28.22-.5.5-.5Zm-6.5-5.5a.5.5 0 0 0 0-1H2.46a.5.5 0 0 0 0 1H3.5Zm.65-6.35c.2-.2.5-.2.7 0l1 1a.5.5 0 1 1-.7.7l-1-1a.5.5 0 0 1 0-.7Zm.7 11.7a.5.5 0 0 1-.7-.7l1-1a.5.5 0 0 1 .7.7l-1 1Zm11-11.7a.5.5 0 0 0-.7 0l-1 1a.5.5 0 0 0 .7.7l1-1a.5.5 0 0 0 0-.7Zm-.7 11.7a.5.5 0 0 0 .7-.7l-1-1a.5.5 0 0 0-.7.7l1 1Z"]),KN=Ce("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]),zu=Ce("InfoRegular","1em",["M10.5 8.91a.5.5 0 0 0-1 .09v4.6a.5.5 0 0 0 1-.1V8.91Zm.3-2.16a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0ZM18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z"]),ZN=Ce("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"]),JN=Ce("StethoscopeRegular","1em",["M2.5 2a.5.5 0 0 0-.5.5v5a4.5 4.5 0 0 0 4 4.47V13a5 5 0 0 0 10 0v-1.05a2.5 2.5 0 1 0-1 0V13a4 4 0 1 1-8 0v-1.03a4.5 4.5 0 0 0 4-4.47v-5a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0 0 1H10v4.5a3.5 3.5 0 0 1-7 0V3h1.5a.5.5 0 0 0 0-1h-2Zm13 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z"]),dg=Ce("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),hg=Ce("CircleRegular","1em",["M10 3a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm-8 7a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),eC=Ce("EditRegular","1em",["M17.18 2.93a2.97 2.97 0 0 0-4.26-.06l-9.37 9.38c-.33.33-.56.74-.66 1.2l-.88 3.94a.5.5 0 0 0 .6.6l3.93-.87c.46-.1.9-.34 1.23-.68l9.36-9.36a2.97 2.97 0 0 0 .05-4.15Zm-3.55.65a1.97 1.97 0 1 1 2.8 2.8l-.68.66-2.8-2.79.68-.67Zm-1.38 1.38 2.8 2.8-7.99 7.97c-.2.2-.46.35-.74.41l-3.16.7.7-3.18c.07-.27.2-.51.4-.7l8-8Z"]),tC=Ce("LockClosedRegular","1em",["M10 1a4 4 0 0 1 4 4v2.05a2.5 2.5 0 0 1 2 2.45v6a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 4 15.5v-6c0-1.2.86-2.22 2-2.45V5a4 4 0 0 1 4-4ZM6.5 8C5.67 8 5 8.67 5 9.5v6c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-6c0-.83-.67-1.5-1.5-1.5h-7Zm3.5 3.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2ZM10 2a3 3 0 0 0-3 3v2h6V5a3 3 0 0 0-3-3Z"]),eS=Ce("WindowConsoleRegular","1em",["M5.65 9.15c.2-.2.5-.2.7 0l2 2a.5.5 0 0 1 0 .7l-2 2a.5.5 0 0 1-.7-.7l1.64-1.65-1.64-1.65a.5.5 0 0 1 0-.7ZM14.5 13h-5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1ZM3 5.5A2.5 2.5 0 0 1 5.5 3h9A2.5 2.5 0 0 1 17 5.5v9a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 3 14.5v-9ZM16 6v-.5c0-.83-.68-1.5-1.5-1.5h-9C4.67 4 4 4.67 4 5.5V6h12ZM4 7v7.5c0 .83.67 1.5 1.5 1.5h9c.82 0 1.5-.67 1.5-1.5V7H4Z"]),oC=Ce("BookGlobeRegular","1em",["M4 16V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v11a1 1 0 0 1-1 1H5a1 1 0 0 0 1 1h9.5a.5.5 0 0 1 0 1H6a2 2 0 0 1-2-2ZM15 4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v11h10V4ZM7.04 8h.97c.05-.77.2-1.49.42-2.06A3 3 0 0 0 7.04 8ZM6 8.5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.96-.5a3 3 0 0 0-1.4-2.06c.23.57.38 1.29.43 2.06h.97Zm-.97 1c-.05.77-.2 1.49-.42 2.06A3 3 0 0 0 12.96 9h-.97Zm-1-1a5.56 5.56 0 0 0-.39-1.78 1.88 1.88 0 0 0-.37-.59c-.11-.11-.2-.13-.23-.13-.04 0-.12.02-.23.13-.12.12-.25.31-.37.6-.2.45-.34 1.06-.38 1.77h1.96ZM9.01 9c.04.7.18 1.32.38 1.78.12.28.25.47.37.59.11.11.2.13.23.13.04 0 .12-.02.23-.13.12-.12.25-.31.37-.6.2-.45.34-1.06.38-1.77H9.02Zm-1 0h-.98a3 3 0 0 0 1.4 2.06A6.75 6.75 0 0 1 8 9Z"]),rC=Ce("ArrowDownloadRegular","1em",["M15.5 17a.5.5 0 0 1 .09 1H4.5a.5.5 0 0 1-.09-1H15.5ZM10 2a.5.5 0 0 1 .5.41V14.3l3.64-3.65a.5.5 0 0 1 .64-.06l.07.06c.17.17.2.44.06.63l-.06.07-4.5 4.5a.5.5 0 0 1-.25.14L10 16a.5.5 0 0 1-.4-.2l-4.46-4.45a.5.5 0 0 1 .64-.76l.07.06 3.65 3.64V2.5c0-.27.22-.5.5-.5Z"]),nC=Ce("ArrowLeftRegular","1em",["M9.16 16.87a.5.5 0 1 0 .67-.74L3.67 10.5H17.5a.5.5 0 0 0 0-1H3.67l6.16-5.63a.5.5 0 0 0-.67-.74L2.24 9.44a.75.75 0 0 0 0 1.11l6.92 6.32Z"]),aC=Ce("ArrowResetRegular","1em",["M5.85 2.65c.2.2.2.5 0 .7L4.21 5H11a6 6 0 1 1-6 6 .5.5 0 0 1 1 0 5 5 0 1 0 5-5H4.2l1.65 1.65a.5.5 0 1 1-.7.7l-2.5-2.5a.5.5 0 0 1 0-.7l2.5-2.5c.2-.2.5-.2.7 0Z"],{flipInRtl:!0}),Vr=Ce("ArrowRightFilled","1em",["M11.27 3.2a.75.75 0 0 0-1.04 1.1l5.24 4.95H2.75a.75.75 0 0 0 0 1.5h12.73l-5.25 4.96a.75.75 0 1 0 1.04 1.09l6.41-6.07a1 1 0 0 0 0-1.46l-6.41-6.06Z"]),iC=Ce("ArrowRightRegular","1em",["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]),lC=Ce("BranchRegular","1em",["M10 5a3 3 0 0 1-2.15 2.88A5.76 5.76 0 0 0 12 9.98a3 3 0 1 1 .17 1.01A6.8 6.8 0 0 1 7.5 9v3.05a3 3 0 1 1-1 0V7.96A3 3 0 1 1 10 5ZM7 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm10 3a2 2 0 1 0-4 0 2 2 0 0 0 4 0ZM7 17a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"]),sC=Ce("BroomRegular","1em",["M17.91 2.18c.2.2.2.51 0 .7l-5.32 5.33a4.5 4.5 0 0 1-.34 6l-.66.66-2.09 3.48a.5.5 0 0 1-.78.1l-7.07-7.08a.5.5 0 0 1 .1-.78L5.22 8.5l.66-.66a4.5 4.5 0 0 1 5.99-.34l5.32-5.32c.2-.2.51-.2.71 0ZM6.24 8.9l4.95 4.95.36-.35A3.5 3.5 0 1 0 6.6 8.55l-.36.35Zm-.78.63L2.8 11.12l6.16 6.17 1.6-2.66-5.11-5.1Z"]),cC=Ce("ShieldKeyholeRegular","1em",["M11.5 9c0 .65-.42 1.2-1 1.41v2.09a.5.5 0 0 1-1 0v-2.09a1.5 1.5 0 1 1 2-1.41Zm-1.22-6.92a.5.5 0 0 0-.56 0 15.05 15.05 0 0 1-6.3 2.43A.5.5 0 0 0 3 5v4.5c0 3.9 2.3 6.73 6.82 8.47a.5.5 0 0 0 .36 0C14.69 16.23 17 13.39 17 9.5V5a.5.5 0 0 0-.43-.5 15.05 15.05 0 0 1-6.3-2.42ZM4 5.43a15.97 15.97 0 0 0 5.6-2.08l.4-.25.4.25A15.97 15.97 0 0 0 16 5.43V9.5c0 3.4-1.97 5.86-6 7.46-4.03-1.6-6-4.07-6-7.46V5.43Z"]),uC=Ce("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"]),Qr=Ce("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]),fC=Ce("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"]),tS=Ce("HomeRegular","1em",["M9 2.39a1.5 1.5 0 0 1 2 0l5.5 4.94c.32.28.5.69.5 1.12v7.05c0 .83-.67 1.5-1.5 1.5H13a1.5 1.5 0 0 1-1.5-1.5V12a.5.5 0 0 0-.5-.5H9a.5.5 0 0 0-.5.5v3.5c0 .83-.67 1.5-1.5 1.5H4.5A1.5 1.5 0 0 1 3 15.5V8.45c0-.43.18-.84.5-1.12L9 2.39Zm1.33.74a.5.5 0 0 0-.66 0l-5.5 4.94a.5.5 0 0 0-.17.38v7.05c0 .28.22.5.5.5H7a.5.5 0 0 0 .5-.5V12c0-.83.67-1.5 1.5-1.5h2c.83 0 1.5.67 1.5 1.5v3.5c0 .28.22.5.5.5h2.5a.5.5 0 0 0 .5-.5V8.45a.5.5 0 0 0-.17-.38l-5.5-4.94Z"]),dC=Ce("BoxMultipleRegular","1em",["M13.58 2.38a3 3 0 0 0-2.16 0L7.96 3.71A1.5 1.5 0 0 0 7 5.11v1.1a4 4 0 0 1 1 0v-1.1c0-.2.13-.4.32-.47l3.46-1.33a2 2 0 0 1 1.44 0l3.46 1.33c.2.08.32.26.32.47v7.78c0 .2-.13.4-.32.47L14 14.39v.5c0 .2-.03.4-.07.6l3.1-1.2c.59-.22.97-.78.97-1.4V5.11a1.5 1.5 0 0 0-.96-1.4l-3.46-1.33Zm2.51 2.92a.5.5 0 0 0-.64-.3l-2.77 1.07a.5.5 0 0 1-.36 0L9.55 5.01a.5.5 0 1 0-.35.93l2.76 1.07c.35.13.73.13 1.08 0l2.76-1.07a.5.5 0 0 0 .3-.64Zm-5 5a.5.5 0 0 0-.64-.3L7.5 11.15l-2.95-1.13a.5.5 0 0 0-.35.93L7 12.02v2.49a.5.5 0 1 0 1 0v-2.49l2.8-1.08a.5.5 0 0 0 .3-.64ZM8.58 7.38a3 3 0 0 0-2.16 0L2.96 8.71a1.5 1.5 0 0 0-.96 1.4v4.78c0 .62.38 1.18.96 1.4l3.46 1.33a3 3 0 0 0 2.16 0l3.46-1.33c.58-.22.96-.78.96-1.4v-4.78a1.5 1.5 0 0 0-.96-1.4L8.58 7.38Zm-1.8.93a2 2 0 0 1 1.44 0l3.46 1.33c.2.08.32.26.32.47v4.78c0 .2-.13.4-.32.47l-3.46 1.33a2 2 0 0 1-1.44 0l-3.46-1.33a.5.5 0 0 1-.32-.47v-4.78c0-.2.13-.4.32-.47l3.46-1.33Z"]),hC=Ce("DiamondDismissFilled","1em",["M7.88 1.88a3 3 0 0 1 4.24 0l6 6a3 3 0 0 1 0 4.24l-6 6a3 3 0 0 1-4.24 0l-6-6a3 3 0 0 1 0-4.24l6-6ZM13.1 6.9a.5.5 0 0 0-.7 0L10 9.3 7.6 6.9a.5.5 0 0 0-.7.7L9.3 10l-2.4 2.4a.5.5 0 0 0 .7.7l2.4-2.4 2.4 2.4a.5.5 0 0 0 .7-.7L10.7 10l2.4-2.4a.5.5 0 0 0 0-.7Z"]),gC=Ce("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"]),pC=Ce("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]),mC=Ce("RocketRegular","1em",["M10.76 6.43a2 2 0 1 1 2.82 2.82 2 2 0 0 1-2.82-2.82Zm2.11.7a1 1 0 1 0-1.4 1.42 1 1 0 0 0 1.4-1.42Zm-1.12 7.37a1.5 1.5 0 0 1-1.7-.3l-.61-.6-.74 1.22a.5.5 0 0 1-.78.1L5.1 12.09a.5.5 0 0 1 .1-.79l1.22-.73-.61-.6a1.5 1.5 0 0 1-.3-1.71L4.38 7.14a.5.5 0 0 1 0-.7l1.06-1.07a3 3 0 0 1 3.42-.59l.93-.93a6.3 6.3 0 0 1 6.33-1.56c.76.24 1.36.83 1.6 1.6a6.3 6.3 0 0 1-1.56 6.32l-.94.94a3 3 0 0 1-.58 3.41l-1.06 1.06a.5.5 0 0 1-.71 0l-1.12-1.12Zm4.08-11.26a5.3 5.3 0 0 0-5.33 1.31l-.81.82-.7.7h-.01L6.86 8.2l-.4.4a.5.5 0 0 0 .05.66l4.24 4.24c.18.18.46.2.66.05l.4-.4 2.12-2.12.7-.71.82-.81a5.3 5.3 0 0 0 1.31-5.33c-.14-.45-.49-.8-.93-.94Zm-3.31 10.62.7.7.7-.7a2 2 0 0 0 .53-1.93l-1.93 1.93Zm-4.44-8.3a2 2 0 0 0-1.93.52l-.7.7.7.71 1.93-1.93Zm.63 7.31L7.14 11.3l-.89.53 1.93 1.93.53-.89Zm-2.9 2.04a.5.5 0 1 0-.71-.7l-1.77 1.76a.5.5 0 1 0 .7.71l1.77-1.77ZM4.38 12.8c.2.2.2.51 0 .7l-.71.72a.5.5 0 0 1-.7-.71l.7-.71c.2-.2.51-.2.7 0Zm2.83 3.54a.5.5 0 0 0-.7-.71l-.72.7a.5.5 0 1 0 .7.72l.72-.71Z"]),vC=Ce("QuestionCircleRegular","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 10.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-8a2.5 2.5 0 0 1 1.65 4.38l-.15.12-.22.17-.09.07-.16.15c-.33.36-.53.85-.53 1.61a.5.5 0 0 1-1 0 3.2 3.2 0 0 1 1.16-2.62l.25-.19.12-.1A1.5 1.5 0 0 0 10 6.5c-.83 0-1.5.67-1.5 1.5a.5.5 0 0 1-1 0A2.5 2.5 0 0 1 10 5.5Z"]),bC=Ce("Warning12Filled","12",["M4.28 1.97a2 2 0 0 1 3.43 0l3 5A2 2 0 0 1 9 10H3A2 2 0 0 1 1.3 6.98l3-5ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM6 3.5a.5.5 0 0 0-.5.5v1.5a.5.5 0 0 0 1 0V4a.5.5 0 0 0-.5-.5Z"]),oS=Ce("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"]),yC=Ce("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"]),xC=Ce("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),SC=Ce("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"]),wC=Ce("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"]),kC=Ce("DiamondDismiss12Filled","12",["M4.59 1.09a2 2 0 0 1 2.82 0l3.5 3.5a2 2 0 0 1 0 2.82l-3.5 3.5a2 2 0 0 1-2.82 0l-3.5-3.5a2 2 0 0 1 0-2.83l3.5-3.5Zm3.26 3.06a.5.5 0 0 0-.7 0L6 5.29 4.85 4.15a.5.5 0 0 0-.7.7L5.29 6 4.15 7.15a.5.5 0 0 0 .7.7L6 6.71l1.15 1.14a.5.5 0 1 0 .7-.7L6.71 6l1.14-1.15a.5.5 0 0 0 0-.7Z"]),BC=Ce("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),_C={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},zC={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)"},vt={..._C,...zC};function TC(e){if(e.playState==="running"){var r;if(e.overallProgress!==void 0){var n;const d=(n=e.overallProgress)!==null&&n!==void 0?n:0;return d>0&&d<1}var a;const c=Number((a=e.currentTime)!==null&&a!==void 0?a:0);var s;const u=Number((s=(r=e.effect)===null||r===void 0?void 0:r.getTiming().duration)!==null&&s!==void 0?s:0);return c>0&&c<u}return!1}const NC={fill:"forwards"},CC={duration:1};function EC(e){return{set playbackRate(r){e.forEach(n=>{n.playbackRate=r})},setMotionEndCallbacks(r,n){const a=e.map(s=>new Promise((c,u)=>{s.onfinish=()=>c(),s.oncancel=()=>u()}));Promise.all(a).then(()=>{r()}).catch(()=>{n()})},isRunning(){return e.some(r=>TC(r))},dispose:()=>{e.length=0},cancel:()=>{e.forEach(r=>{r.cancel()})},pause:()=>{e.forEach(r=>{r.pause()})},play:()=>{e.forEach(r=>{r.play()})},finish:()=>{e.forEach(r=>{r.finish()})},reverse:()=>{e.forEach(r=>{r.reverse()})}}}function jC(){var e;const r=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return y.useCallback((n,a,s)=>{const c=Array.isArray(a)?a:[a],{isReducedMotion:u}=s,d=c.map(g=>{const{keyframes:p,reducedMotion:m=CC,...v}=g,{keyframes:S=p,...k}=m,w=u?S:p,x={...NC,...v,...u&&k};try{const T=n.animate(w,x);if(r)T==null||T.persist();else{const j=w[w.length-1];var z;Object.assign((z=n.style)!==null&&z!==void 0?z:{},j)}return T}catch{return null}}).filter(g=>!!g);return EC(d)},[r])}function rS(){"use no memo";return jC()}function nS(e){const r=y.useRef(void 0);return y.useImperativeHandle(e,()=>({setPlayState:n=>{if(n==="running"){var a;(a=r.current)===null||a===void 0||a.play()}if(n==="paused"){var s;(s=r.current)===null||s===void 0||s.pause()}},setPlaybackRate:n=>{r.current&&(r.current.playbackRate=n)}})),r}const RC="screen and (prefers-reduced-motion: reduce)";function aS(){const{targetDocument:e}=dt();var r;const n=(r=e==null?void 0:e.defaultView)!==null&&r!==void 0?r:null,a=y.useRef(!1),s=y.useCallback(()=>a.current,[]);return Rt(()=>{if(n===null||typeof n.matchMedia!="function")return;const c=n.matchMedia(RC);c.matches&&(a.current=!0);const u=d=>{a.current=d.matches};return c.addEventListener("change",u),()=>{c.removeEventListener("change",u)}},[n]),s}const AC=["@fluentui/react-motion: Invalid child element.",`
127
+ `,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function iS(e,r=!0){const n=y.useRef(null);y.useEffect(()=>{},[r]);try{const a=y.Children.only(e);if(y.isValidElement(a))return[y.cloneElement(a,{ref:Nt(n,Vu(a))}),n]}catch{}throw new Error(AC)}const lS=y.createContext(void 0);lS.Provider;const sS=()=>{var e;return(e=y.useContext(lS))!==null&&e!==void 0?e:"default"},DC=Symbol("MOTION_DEFINITION");function Yb(e){return Object.assign(n=>{"use no memo";const{children:a,imperativeRef:s,onMotionFinish:c,onMotionStart:u,onMotionCancel:d,...g}=n,p=g,[m,v]=iS(a),S=nS(s),k=sS()==="skip",w=y.useRef({skipMotions:k,params:p}),x=rS(),z=aS(),T=_e(()=>{u==null||u(null)}),j=_e(()=>{c==null||c(null)}),N=_e(()=>{d==null||d(null)});return Rt(()=>{w.current={skipMotions:k,params:p}}),Rt(()=>{const C=v.current;if(C){const E=typeof e=="function"?e({element:C,...w.current.params}):e;T();const M=x(C,E,{isReducedMotion:z()});return S.current=M,M.setMotionEndCallbacks(j,N),w.current.skipMotions&&M.finish(),()=>{M.cancel()}}},[x,v,S,z,j,T,N]),m},{[DC]:typeof e=="function"?e:()=>e})}const cS=y.createContext(void 0);cS.Provider;function OC(e=!1,r=!1){const n=y.useRef(r?e:!0),a=D_(),s=y.useCallback(c=>{n.current!==c&&(n.current=c,a())},[a]);return y.useEffect(()=>{e&&(n.current=e)}),[e||n.current,s]}const uS=Symbol("PRESENCE_MOTION_DEFINITION"),MC=Symbol.for("interruptablePresence");function Zu(e){return Object.assign(r=>{"use no memo";const a={...y.useContext(cS),...r},s=sS()==="skip",{appear:c,children:u,imperativeRef:d,onExit:g,onMotionFinish:p,onMotionStart:m,onMotionCancel:v,visible:S,unmountOnExit:k,...w}=a,x=w,[z,T]=OC(S,k),[j,N]=iS(u,z),C=nS(d),E=y.useRef({appear:c,params:x,skipMotions:s}),M=rS(),Q=a2(),X=aS(),oe=_e(ie=>{m==null||m(null,{direction:ie})}),ne=_e(ie=>{p==null||p(null,{direction:ie}),ie==="exit"&&k&&(T(!1),g==null||g())}),ge=_e(ie=>{v==null||v(null,{direction:ie})});return Rt(()=>{E.current={appear:c,params:x,skipMotions:s}}),Rt(()=>{const ie=N.current;if(!ie)return;let le;function ae(){le&&(U&&le.isRunning()||(le.cancel(),C.current=void 0))}const pe=typeof e=="function"?e({element:ie,...E.current.params}):e,U=pe[MC];if(U&&(le=C.current,le&&le.isRunning()))return le.reverse(),ae;const J=S?pe.enter:pe.exit,te=S?"enter":"exit",se=!E.current.appear&&Q,Te=E.current.skipMotions;return se||oe(te),le=M(ie,J,{isReducedMotion:X()}),se?(le.finish(),ae):(C.current=le,le.setMotionEndCallbacks(()=>ne(te),()=>ge(te)),Te&&le.finish(),ae)},[M,N,C,X,ne,oe,ge,S]),y.useEffect(()=>{if(k&&!z){var ie;(ie=C.current)===null||ie===void 0||ie.dispose()}},[C,k,z]),z?j:null},{[uS]:typeof e=="function"?e:()=>e},{In:Yb(typeof e=="function"?(...r)=>e(...r).enter:e.enter),Out:Yb(typeof e=="function"?(...r)=>e(...r).exit:e.exit)})}function qC(e,r){return a=>e({...r,...a})}function zs(e,r){const n=e[uS],a=qC(n,r);return Zu(a)}const gg=y.createContext(void 0);function pg(){return y.useContext(gg)}const mg=y.forwardRef((e,r)=>y.createElement(gg.Provider,{value:r},e.children));mg.displayName="MotionRefForwarder";const fS=e=>y.createElement(gg.Provider,{value:void 0},e.children);fS.displayName="MotionRefForwarderReset";function vg(e,r){const{as:n,children:a,...s}=e??{};if(e===null){const u=!r.defaultProps.visible&&r.defaultProps.unmountOnExit,d=(g,p)=>u?null:y.createElement(y.Fragment,null,p.children);return{[Su]:d,[Pi]:r.elementType}}const c={...r.defaultProps,...s,[Pi]:r.elementType};return typeof a=="function"&&(c[Su]=a),c}const fs=({direction:e,duration:r,easing:n=vt.curveLinear,delay:a=0,outOpacity:s=0,inOpacity:c=1})=>{const u=[{opacity:s},{opacity:c}];return e==="exit"&&u.reverse(),{keyframes:u,duration:r,easing:n,delay:a,fill:"both"}},FC=({duration:e=vt.durationNormal,easing:r=vt.curveEasyEase,delay:n=0,exitDuration:a=e,exitEasing:s=r,exitDelay:c=n,outOpacity:u=0,inOpacity:d=1})=>({enter:fs({direction:"enter",duration:e,easing:r,delay:n,outOpacity:u,inOpacity:d}),exit:fs({direction:"exit",duration:a,easing:s,delay:c,outOpacity:u,inOpacity:d})}),dS=Zu(FC);zs(dS,{duration:vt.durationFast});const HC=zs(dS,{duration:vt.durationGentle}),$b=({direction:e,duration:r,easing:n=vt.curveLinear,delay:a=0,outScale:s=.9,inScale:c=1})=>{const u=[{scale:s},{scale:c}];return e==="exit"&&u.reverse(),{keyframes:u,duration:r,easing:n,delay:a}},LC=({duration:e=vt.durationGentle,easing:r=vt.curveDecelerateMax,delay:n=0,exitDuration:a=vt.durationNormal,exitEasing:s=vt.curveAccelerateMax,exitDelay:c=n,outScale:u=.9,inScale:d=1,animateOpacity:g=!0})=>{const p=[$b({direction:"enter",duration:e,easing:r,delay:n,outScale:u,inScale:d})],m=[$b({direction:"exit",duration:a,easing:s,delay:c,outScale:u,inScale:d})];return g&&(p.push(fs({direction:"enter",duration:e,easing:r,delay:n})),m.push(fs({direction:"exit",duration:a,easing:s,delay:c}))),{enter:p,exit:m}},bg=Zu(LC);zs(bg,{duration:vt.durationNormal,exitDuration:vt.durationFast});zs(bg,{duration:vt.durationSlow,exitDuration:vt.durationGentle});const PC=({direction:e,duration:r,easing:n=vt.curveLinear,delay:a=0,outX:s="0px",outY:c="0px",inX:u="0px",inY:d="0px"})=>({keyframes:[{translate:`${s} ${c}`},{translate:`${u} ${d}`}],duration:r,easing:n,delay:a}),IC=(e,r)=>{const{shape:n="circular",size:a="medium",appearance:s="filled",color:c="brand",...u}=e;return{...UC(u,r),shape:n,size:a,appearance:s,color:c}},UC=(e,r)=>{const{iconPosition:n="before"}=e;return{iconPosition:n,components:{root:"div",icon:"span"},root:Ve(Ut("div",{ref:r,...e}),{elementType:"div"}),icon:et(e.icon,{elementType:"span"})}},Kb={root:"fui-Badge",icon:"fui-Badge__icon"},VC=Le("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),GC=Se({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),XC=Le("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),WC=Se({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),QC=e=>{"use no memo";const r=VC(),n=GC(),a=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=ve(Kb.root,r,a&&n.fontSmallToTiny,n[e.size],n[e.shape],e.shape==="rounded"&&a&&n.roundedSmallToTiny,e.appearance==="ghost"&&n.borderGhost,n[e.appearance],n[`${e.appearance}-${e.color}`],e.root.className);const s=XC(),c=WC();if(e.icon){let u;y.Children.toArray(e.root.children).length>0&&(e.size==="extra-large"?u=e.iconPosition==="after"?c.afterTextXL:c.beforeTextXL:u=e.iconPosition==="after"?c.afterText:c.beforeText),e.icon.className=ve(Kb.icon,s,u,c[e.size],e.icon.className)}return e},YC=e=>kt(e.root,{children:[e.iconPosition==="before"&&e.icon&&ue(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&ue(e.icon,{})]}),Jo=y.forwardRef((e,r)=>{const n=IC(e,r);return QC(n),ht("useBadgeStyles_unstable")(n),YC(n)});Jo.displayName="Badge";function $C(e){const r=e.clientX,n=e.clientY,a=r+1,s=n+1;function c(){return{left:r,top:n,right:a,bottom:s,x:r,y:n,height:1,width:1}}return{getBoundingClientRect:c}}const Zb="data-popper-is-intersecting",Jb="data-popper-escaped",ey="data-popper-reference-hidden",KC="data-popper-placement",_0="fui-positioningend",z0="--fui-positioning-slide-direction-x",T0="--fui-positioning-slide-direction-y";function ZC(e){const r=e.split("-")[0];let n=0,a=1;return r==="right"?(n=-1,a=0):r==="bottom"?(n=0,a=-1):r==="left"&&(n=1,a=0),{x:n,y:a}}function JC(e){const{targetDocument:r,onPositioningEnd:n}=e,a=_e(s=>{n==null||n(s);const c=s.target,u=s.detail.placement;if(!In(c))return;const{x:d,y:g}=ZC(u);c.style.setProperty(z0,`${d}px`),c.style.setProperty(T0,`${g}px`)});return y.useEffect(()=>{var s,c,u;const d=(u=r==null||(c=r.defaultView)===null||c===void 0||(s=c.CSS)===null||s===void 0?void 0:s.registerProperty)!==null&&u!==void 0?u:()=>{};try{d({name:z0,syntax:"<length>",inherits:!1,initialValue:"0px"}),d({name:T0,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[r]),a}const eE=({options:e})=>e,hS=y.createContext(void 0);hS.Provider;const tE=()=>{var e;return(e=y.useContext(hS))!==null&&e!==void 0?e:eE},oE=["top","right","bottom","left"],Na=Math.min,Po=Math.max,Tu=Math.round,br=e=>({x:e,y:e}),rE={left:"right",right:"left",bottom:"top",top:"bottom"};function N0(e,r,n){return Po(e,Na(r,n))}function Yr(e,r){return typeof e=="function"?e(r):e}function $r(e){return e.split("-")[0]}function $i(e){return e.split("-")[1]}function yg(e){return e==="x"?"y":"x"}function xg(e){return e==="y"?"height":"width"}function vr(e){const r=e[0];return r==="t"||r==="b"?"y":"x"}function Sg(e){return yg(vr(e))}function nE(e,r,n){n===void 0&&(n=!1);const a=$i(e),s=Sg(e),c=xg(s);let u=s==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(u=Nu(u)),[u,Nu(u)]}function aE(e){const r=Nu(e);return[C0(e),r,C0(r)]}function C0(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const ty=["left","right"],oy=["right","left"],iE=["top","bottom"],lE=["bottom","top"];function sE(e,r,n){switch(e){case"top":case"bottom":return n?r?oy:ty:r?ty:oy;case"left":case"right":return r?iE:lE;default:return[]}}function cE(e,r,n,a){const s=$i(e);let c=sE($r(e),n==="start",a);return s&&(c=c.map(u=>u+"-"+s),r&&(c=c.concat(c.map(C0)))),c}function Nu(e){const r=$r(e);return rE[r]+e.slice(r.length)}function uE(e){return{top:0,right:0,bottom:0,left:0,...e}}function gS(e){return typeof e!="number"?uE(e):{top:e,right:e,bottom:e,left:e}}function Cu(e){const{x:r,y:n,width:a,height:s}=e;return{width:a,height:s,top:n,left:r,right:r+a,bottom:n+s,x:r,y:n}}function ry(e,r,n){let{reference:a,floating:s}=e;const c=vr(r),u=Sg(r),d=xg(u),g=$r(r),p=c==="y",m=a.x+a.width/2-s.width/2,v=a.y+a.height/2-s.height/2,S=a[d]/2-s[d]/2;let k;switch(g){case"top":k={x:m,y:a.y-s.height};break;case"bottom":k={x:m,y:a.y+a.height};break;case"right":k={x:a.x+a.width,y:v};break;case"left":k={x:a.x-s.width,y:v};break;default:k={x:a.x,y:a.y}}switch($i(r)){case"start":k[u]-=S*(n&&p?-1:1);break;case"end":k[u]+=S*(n&&p?-1:1);break}return k}async function pS(e,r){var n;r===void 0&&(r={});const{x:a,y:s,platform:c,rects:u,elements:d,strategy:g}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:v="floating",altBoundary:S=!1,padding:k=0}=Yr(r,e),w=gS(k),z=d[S?v==="floating"?"reference":"floating":v],T=Cu(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(z)))==null||n?z:z.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(d.floating)),boundary:p,rootBoundary:m,strategy:g})),j=v==="floating"?{x:a,y:s,width:u.floating.width,height:u.floating.height}:u.reference,N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(d.floating)),C=await(c.isElement==null?void 0:c.isElement(N))?await(c.getScale==null?void 0:c.getScale(N))||{x:1,y:1}:{x:1,y:1},E=Cu(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:j,offsetParent:N,strategy:g}):j);return{top:(T.top-E.top+w.top)/C.y,bottom:(E.bottom-T.bottom+w.bottom)/C.y,left:(T.left-E.left+w.left)/C.x,right:(E.right-T.right+w.right)/C.x}}const fE=50,dE=async(e,r,n)=>{const{placement:a="bottom",strategy:s="absolute",middleware:c=[],platform:u}=n,d=u.detectOverflow?u:{...u,detectOverflow:pS},g=await(u.isRTL==null?void 0:u.isRTL(r));let p=await u.getElementRects({reference:e,floating:r,strategy:s}),{x:m,y:v}=ry(p,a,g),S=a,k=0;const w={};for(let x=0;x<c.length;x++){const z=c[x];if(!z)continue;const{name:T,fn:j}=z,{x:N,y:C,data:E,reset:M}=await j({x:m,y:v,initialPlacement:a,placement:S,strategy:s,middlewareData:w,rects:p,platform:d,elements:{reference:e,floating:r}});m=N??m,v=C??v,w[T]={...w[T],...E},M&&k<fE&&(k++,typeof M=="object"&&(M.placement&&(S=M.placement),M.rects&&(p=M.rects===!0?await u.getElementRects({reference:e,floating:r,strategy:s}):M.rects),{x:m,y:v}=ry(p,S,g)),x=-1)}return{x:m,y:v,placement:S,strategy:s,middlewareData:w}},hE=e=>({name:"arrow",options:e,async fn(r){const{x:n,y:a,placement:s,rects:c,platform:u,elements:d,middlewareData:g}=r,{element:p,padding:m=0}=Yr(e,r)||{};if(p==null)return{};const v=gS(m),S={x:n,y:a},k=Sg(s),w=xg(k),x=await u.getDimensions(p),z=k==="y",T=z?"top":"left",j=z?"bottom":"right",N=z?"clientHeight":"clientWidth",C=c.reference[w]+c.reference[k]-S[k]-c.floating[w],E=S[k]-c.reference[k],M=await(u.getOffsetParent==null?void 0:u.getOffsetParent(p));let Q=M?M[N]:0;(!Q||!await(u.isElement==null?void 0:u.isElement(M)))&&(Q=d.floating[N]||c.floating[w]);const X=C/2-E/2,oe=Q/2-x[w]/2-1,ne=Na(v[T],oe),ge=Na(v[j],oe),ie=ne,le=Q-x[w]-ge,ae=Q/2-x[w]/2+X,pe=N0(ie,ae,le),U=!g.arrow&&$i(s)!=null&&ae!==pe&&c.reference[w]/2-(ae<ie?ne:ge)-x[w]/2<0,J=U?ae<ie?ae-ie:ae-le:0;return{[k]:S[k]+J,data:{[k]:pe,centerOffset:ae-pe-J,...U&&{alignmentOffset:J}},reset:U}}}),gE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(r){var n,a;const{placement:s,middlewareData:c,rects:u,initialPlacement:d,platform:g,elements:p}=r,{mainAxis:m=!0,crossAxis:v=!0,fallbackPlacements:S,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:x=!0,...z}=Yr(e,r);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const T=$r(s),j=vr(d),N=$r(d)===d,C=await(g.isRTL==null?void 0:g.isRTL(p.floating)),E=S||(N||!x?[Nu(d)]:aE(d)),M=w!=="none";!S&&M&&E.push(...cE(d,x,w,C));const Q=[d,...E],X=await g.detectOverflow(r,z),oe=[];let ne=((a=c.flip)==null?void 0:a.overflows)||[];if(m&&oe.push(X[T]),v){const ae=nE(s,u,C);oe.push(X[ae[0]],X[ae[1]])}if(ne=[...ne,{placement:s,overflows:oe}],!oe.every(ae=>ae<=0)){var ge,ie;const ae=(((ge=c.flip)==null?void 0:ge.index)||0)+1,pe=Q[ae];if(pe&&(!(v==="alignment"?j!==vr(pe):!1)||ne.every(te=>vr(te.placement)===j?te.overflows[0]>0:!0)))return{data:{index:ae,overflows:ne},reset:{placement:pe}};let U=(ie=ne.filter(J=>J.overflows[0]<=0).sort((J,te)=>J.overflows[1]-te.overflows[1])[0])==null?void 0:ie.placement;if(!U)switch(k){case"bestFit":{var le;const J=(le=ne.filter(te=>{if(M){const se=vr(te.placement);return se===j||se==="y"}return!0}).map(te=>[te.placement,te.overflows.filter(se=>se>0).reduce((se,Te)=>se+Te,0)]).sort((te,se)=>te[1]-se[1])[0])==null?void 0:le[0];J&&(U=J);break}case"initialPlacement":U=d;break}if(s!==U)return{reset:{placement:U}}}return{}}}};function ny(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function ay(e){return oE.some(r=>e[r]>=0)}const pE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(r){const{rects:n,platform:a}=r,{strategy:s="referenceHidden",...c}=Yr(e,r);switch(s){case"referenceHidden":{const u=await a.detectOverflow(r,{...c,elementContext:"reference"}),d=ny(u,n.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:ay(d)}}}case"escaped":{const u=await a.detectOverflow(r,{...c,altBoundary:!0}),d=ny(u,n.floating);return{data:{escapedOffsets:d,escaped:ay(d)}}}default:return{}}}}},mS=new Set(["left","top"]);async function mE(e,r){const{placement:n,platform:a,elements:s}=e,c=await(a.isRTL==null?void 0:a.isRTL(s.floating)),u=$r(n),d=$i(n),g=vr(n)==="y",p=mS.has(u)?-1:1,m=c&&g?-1:1,v=Yr(r,e);let{mainAxis:S,crossAxis:k,alignmentAxis:w}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return d&&typeof w=="number"&&(k=d==="end"?w*-1:w),g?{x:k*m,y:S*p}:{x:S*p,y:k*m}}const vE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(r){var n,a;const{x:s,y:c,placement:u,middlewareData:d}=r,g=await mE(r,e);return u===((n=d.offset)==null?void 0:n.placement)&&(a=d.arrow)!=null&&a.alignmentOffset?{}:{x:s+g.x,y:c+g.y,data:{...g,placement:u}}}}},bE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){const{x:n,y:a,placement:s,platform:c}=r,{mainAxis:u=!0,crossAxis:d=!1,limiter:g={fn:T=>{let{x:j,y:N}=T;return{x:j,y:N}}},...p}=Yr(e,r),m={x:n,y:a},v=await c.detectOverflow(r,p),S=vr($r(s)),k=yg(S);let w=m[k],x=m[S];if(u){const T=k==="y"?"top":"left",j=k==="y"?"bottom":"right",N=w+v[T],C=w-v[j];w=N0(N,w,C)}if(d){const T=S==="y"?"top":"left",j=S==="y"?"bottom":"right",N=x+v[T],C=x-v[j];x=N0(N,x,C)}const z=g.fn({...r,[k]:w,[S]:x});return{...z,data:{x:z.x-n,y:z.y-a,enabled:{[k]:u,[S]:d}}}}}},yE=function(e){return e===void 0&&(e={}),{options:e,fn(r){const{x:n,y:a,placement:s,rects:c,middlewareData:u}=r,{offset:d=0,mainAxis:g=!0,crossAxis:p=!0}=Yr(e,r),m={x:n,y:a},v=vr(s),S=yg(v);let k=m[S],w=m[v];const x=Yr(d,r),z=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(g){const N=S==="y"?"height":"width",C=c.reference[S]-c.floating[N]+z.mainAxis,E=c.reference[S]+c.reference[N]-z.mainAxis;k<C?k=C:k>E&&(k=E)}if(p){var T,j;const N=S==="y"?"width":"height",C=mS.has($r(s)),E=c.reference[v]-c.floating[N]+(C&&((T=u.offset)==null?void 0:T[v])||0)+(C?0:z.crossAxis),M=c.reference[v]+c.reference[N]+(C?0:((j=u.offset)==null?void 0:j[v])||0)-(C?z.crossAxis:0);w<E?w=E:w>M&&(w=M)}return{[S]:k,[v]:w}}}},xE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(r){var n,a;const{placement:s,rects:c,platform:u,elements:d}=r,{apply:g=()=>{},...p}=Yr(e,r),m=await u.detectOverflow(r,p),v=$r(s),S=$i(s),k=vr(s)==="y",{width:w,height:x}=c.floating;let z,T;v==="top"||v==="bottom"?(z=v,T=S===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(T=v,z=S==="end"?"top":"bottom");const j=x-m.top-m.bottom,N=w-m.left-m.right,C=Na(x-m[z],j),E=Na(w-m[T],N),M=!r.middlewareData.shift;let Q=C,X=E;if((n=r.middlewareData.shift)!=null&&n.enabled.x&&(X=N),(a=r.middlewareData.shift)!=null&&a.enabled.y&&(Q=j),M&&!S){const ne=Po(m.left,0),ge=Po(m.right,0),ie=Po(m.top,0),le=Po(m.bottom,0);k?X=w-2*(ne!==0||ge!==0?ne+ge:Po(m.left,m.right)):Q=x-2*(ie!==0||le!==0?ie+le:Po(m.top,m.bottom))}await g({...r,availableWidth:X,availableHeight:Q});const oe=await u.getDimensions(d.floating);return w!==oe.width||x!==oe.height?{reset:{rects:!0}}:{}}}};function Ju(){return typeof window<"u"}function Ki(e){return vS(e)?(e.nodeName||"").toLowerCase():"#document"}function ko(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function Zr(e){var r;return(r=(vS(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function vS(e){return Ju()?e instanceof Node||e instanceof ko(e).Node:!1}function nr(e){return Ju()?e instanceof Element||e instanceof ko(e).Element:!1}function Jr(e){return Ju()?e instanceof HTMLElement||e instanceof ko(e).HTMLElement:!1}function iy(e){return!Ju()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ko(e).ShadowRoot}function Ts(e){const{overflow:r,overflowX:n,overflowY:a,display:s}=ar(e);return/auto|scroll|overlay|hidden|clip/.test(r+a+n)&&s!=="inline"&&s!=="contents"}function SE(e){return/^(table|td|th)$/.test(Ki(e))}function ef(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const wE=/transform|translate|scale|rotate|perspective|filter/,kE=/paint|layout|strict|content/,fa=e=>!!e&&e!=="none";let Wh;function wg(e){const r=nr(e)?ar(e):e;return fa(r.transform)||fa(r.translate)||fa(r.scale)||fa(r.rotate)||fa(r.perspective)||!kg()&&(fa(r.backdropFilter)||fa(r.filter))||wE.test(r.willChange||"")||kE.test(r.contain||"")}function BE(e){let r=Un(e);for(;Jr(r)&&!Ui(r);){if(wg(r))return r;if(ef(r))return null;r=Un(r)}return null}function kg(){return Wh==null&&(Wh=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Wh}function Ui(e){return/^(html|body|#document)$/.test(Ki(e))}function ar(e){return ko(e).getComputedStyle(e)}function tf(e){return nr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Un(e){if(Ki(e)==="html")return e;const r=e.assignedSlot||e.parentNode||iy(e)&&e.host||Zr(e);return iy(r)?r.host:r}function bS(e){const r=Un(e);return Ui(r)?e.ownerDocument?e.ownerDocument.body:e.body:Jr(r)&&Ts(r)?r:bS(r)}function yS(e,r,n){var a;r===void 0&&(r=[]);const s=bS(e),c=s===((a=e.ownerDocument)==null?void 0:a.body),u=ko(s);return c?(E0(u),r.concat(u,u.visualViewport||[],Ts(s)?s:[],[])):r.concat(s,yS(s,[]))}function E0(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function xS(e){const r=ar(e);let n=parseFloat(r.width)||0,a=parseFloat(r.height)||0;const s=Jr(e),c=s?e.offsetWidth:n,u=s?e.offsetHeight:a,d=Tu(n)!==c||Tu(a)!==u;return d&&(n=c,a=u),{width:n,height:a,$:d}}function SS(e){return nr(e)?e:e.contextElement}function wi(e){const r=SS(e);if(!Jr(r))return br(1);const n=r.getBoundingClientRect(),{width:a,height:s,$:c}=xS(r);let u=(c?Tu(n.width):n.width)/a,d=(c?Tu(n.height):n.height)/s;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const _E=br(0);function wS(e){const r=ko(e);return!kg()||!r.visualViewport?_E:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function zE(e,r,n){return r===void 0&&(r=!1),!n||r&&n!==ko(e)?!1:r}function ds(e,r,n,a){r===void 0&&(r=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),c=SS(e);let u=br(1);r&&(a?nr(a)&&(u=wi(a)):u=wi(e));const d=zE(c,n,a)?wS(c):br(0);let g=(s.left+d.x)/u.x,p=(s.top+d.y)/u.y,m=s.width/u.x,v=s.height/u.y;if(c){const S=ko(c),k=a&&nr(a)?ko(a):a;let w=S,x=E0(w);for(;x&&a&&k!==w;){const z=wi(x),T=x.getBoundingClientRect(),j=ar(x),N=T.left+(x.clientLeft+parseFloat(j.paddingLeft))*z.x,C=T.top+(x.clientTop+parseFloat(j.paddingTop))*z.y;g*=z.x,p*=z.y,m*=z.x,v*=z.y,g+=N,p+=C,w=ko(x),x=E0(w)}}return Cu({width:m,height:v,x:g,y:p})}function of(e,r){const n=tf(e).scrollLeft;return r?r.left+n:ds(Zr(e)).left+n}function kS(e,r){const n=e.getBoundingClientRect(),a=n.left+r.scrollLeft-of(e,n),s=n.top+r.scrollTop;return{x:a,y:s}}function TE(e){let{elements:r,rect:n,offsetParent:a,strategy:s}=e;const c=s==="fixed",u=Zr(a),d=r?ef(r.floating):!1;if(a===u||d&&c)return n;let g={scrollLeft:0,scrollTop:0},p=br(1);const m=br(0),v=Jr(a);if((v||!v&&!c)&&((Ki(a)!=="body"||Ts(u))&&(g=tf(a)),v)){const k=ds(a);p=wi(a),m.x=k.x+a.clientLeft,m.y=k.y+a.clientTop}const S=u&&!v&&!c?kS(u,g):br(0);return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-g.scrollLeft*p.x+m.x+S.x,y:n.y*p.y-g.scrollTop*p.y+m.y+S.y}}function NE(e){return Array.from(e.getClientRects())}function CE(e){const r=Zr(e),n=tf(e),a=e.ownerDocument.body,s=Po(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),c=Po(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let u=-n.scrollLeft+of(e);const d=-n.scrollTop;return ar(a).direction==="rtl"&&(u+=Po(r.clientWidth,a.clientWidth)-s),{width:s,height:c,x:u,y:d}}const ly=25;function EE(e,r){const n=ko(e),a=Zr(e),s=n.visualViewport;let c=a.clientWidth,u=a.clientHeight,d=0,g=0;if(s){c=s.width,u=s.height;const m=kg();(!m||m&&r==="fixed")&&(d=s.offsetLeft,g=s.offsetTop)}const p=of(a);if(p<=0){const m=a.ownerDocument,v=m.body,S=getComputedStyle(v),k=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,w=Math.abs(a.clientWidth-v.clientWidth-k);w<=ly&&(c-=w)}else p<=ly&&(c+=p);return{width:c,height:u,x:d,y:g}}function jE(e,r){const n=ds(e,!0,r==="fixed"),a=n.top+e.clientTop,s=n.left+e.clientLeft,c=Jr(e)?wi(e):br(1),u=e.clientWidth*c.x,d=e.clientHeight*c.y,g=s*c.x,p=a*c.y;return{width:u,height:d,x:g,y:p}}function sy(e,r,n){let a;if(r==="viewport")a=EE(e,n);else if(r==="document")a=CE(Zr(e));else if(nr(r))a=jE(r,n);else{const s=wS(e);a={x:r.x-s.x,y:r.y-s.y,width:r.width,height:r.height}}return Cu(a)}function BS(e,r){const n=Un(e);return n===r||!nr(n)||Ui(n)?!1:ar(n).position==="fixed"||BS(n,r)}function RE(e,r){const n=r.get(e);if(n)return n;let a=yS(e,[]).filter(d=>nr(d)&&Ki(d)!=="body"),s=null;const c=ar(e).position==="fixed";let u=c?Un(e):e;for(;nr(u)&&!Ui(u);){const d=ar(u),g=wg(u);!g&&d.position==="fixed"&&(s=null),(c?!g&&!s:!g&&d.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||Ts(u)&&!g&&BS(e,u))?a=a.filter(m=>m!==u):s=d,u=Un(u)}return r.set(e,a),a}function AE(e){let{element:r,boundary:n,rootBoundary:a,strategy:s}=e;const u=[...n==="clippingAncestors"?ef(r)?[]:RE(r,this._c):[].concat(n),a],d=sy(r,u[0],s);let g=d.top,p=d.right,m=d.bottom,v=d.left;for(let S=1;S<u.length;S++){const k=sy(r,u[S],s);g=Po(k.top,g),p=Na(k.right,p),m=Na(k.bottom,m),v=Po(k.left,v)}return{width:p-v,height:m-g,x:v,y:g}}function DE(e){const{width:r,height:n}=xS(e);return{width:r,height:n}}function OE(e,r,n){const a=Jr(r),s=Zr(r),c=n==="fixed",u=ds(e,!0,c,r);let d={scrollLeft:0,scrollTop:0};const g=br(0);function p(){g.x=of(s)}if(a||!a&&!c)if((Ki(r)!=="body"||Ts(s))&&(d=tf(r)),a){const k=ds(r,!0,c,r);g.x=k.x+r.clientLeft,g.y=k.y+r.clientTop}else s&&p();c&&!a&&s&&p();const m=s&&!a&&!c?kS(s,d):br(0),v=u.left+d.scrollLeft-g.x-m.x,S=u.top+d.scrollTop-g.y-m.y;return{x:v,y:S,width:u.width,height:u.height}}function Qh(e){return ar(e).position==="static"}function cy(e,r){if(!Jr(e)||ar(e).position==="fixed")return null;if(r)return r(e);let n=e.offsetParent;return Zr(e)===n&&(n=n.ownerDocument.body),n}function _S(e,r){const n=ko(e);if(ef(e))return n;if(!Jr(e)){let s=Un(e);for(;s&&!Ui(s);){if(nr(s)&&!Qh(s))return s;s=Un(s)}return n}let a=cy(e,r);for(;a&&SE(a)&&Qh(a);)a=cy(a,r);return a&&Ui(a)&&Qh(a)&&!wg(a)?n:a||BE(e)||n}const ME=async function(e){const r=this.getOffsetParent||_S,n=this.getDimensions,a=await n(e.floating);return{reference:OE(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function qE(e){return ar(e).direction==="rtl"}const FE={convertOffsetParentRelativeRectToViewportRelativeRect:TE,getDocumentElement:Zr,getClippingRect:AE,getOffsetParent:_S,getElementRects:ME,getClientRects:NE,getDimensions:DE,getScale:wi,isElement:nr,isRTL:qE},HE=pS,LE=vE,PE=bE,IE=gE,UE=xE,uy=pE,VE=hE,fy=yE,GE=(e,r,n)=>{const a=new Map,s={platform:FE,...n},c={...s.platform,_c:a};return dE(e,r,{...s,platform:c})};function zS(e){const r=e.split("-");return{side:r[0],alignment:r[1]}}const XE=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,WE=e=>{var r;if(e.nodeType!==1)return{};const n=(r=e.ownerDocument)===null||r===void 0?void 0:r.defaultView;return n?n.getComputedStyle(e,null):{}},rf=e=>{const r=e&&XE(e);if(!r)return document.body;switch(r.nodeName){case"HTML":case"BODY":return r.ownerDocument.body;case"#document":return r.body}const{overflow:n,overflowX:a,overflowY:s}=WE(r);return/(auto|scroll|overlay)/.test(n+s+a)?r:rf(r)},QE=e=>{var r;const n=rf(e);return n?n!==((r=n.ownerDocument)===null||r===void 0?void 0:r.body):!1};function Bg(e,r){if(r==="window")return e==null?void 0:e.ownerDocument.documentElement;if(r==="clippingParents")return"clippingAncestors";if(r==="scrollParent"){let n=rf(e);return n.nodeName==="BODY"&&(n=e==null?void 0:e.ownerDocument.documentElement),n}return r}function TS(e,r){return typeof e=="number"||typeof e=="object"&&e!==null?Yh(e,r):typeof e=="function"?n=>{const a=e(n);return Yh(a,r)}:{mainAxis:r}}const Yh=(e,r)=>{if(typeof e=="number")return{mainAxis:e+r};var n;return{...e,mainAxis:((n=e.mainAxis)!==null&&n!==void 0?n:0)+r}};function NS(e,r){if(typeof e=="number")return e;const{start:n,end:a,...s}=e,c=s,u=r?"end":"start",d=r?"start":"end";return e[u]&&(c.left=e[u]),e[d]&&(c.right=e[d]),c}const YE=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),$E=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),KE=(e,r)=>{const n=e==="above"||e==="below",a=r==="top"||r==="bottom";return n&&a||!n&&!a},CS=(e,r,n)=>{const a=KE(r,e)?"center":e,s=r&&YE(n)[r],c=a&&$E()[a];return s&&c?`${s}-${c}`:s},ZE=()=>({top:"above",bottom:"below",right:"after",left:"before"}),JE=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},e7=e=>{const{side:r,alignment:n}=zS(e),a=ZE()[r],s=n&&JE(a)[n];return{position:a,alignment:s}},t7={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 Ns(e){return e==null?{}:typeof e=="string"?t7[e]:e}function $h(e,r,n){const a=y.useRef(!0),[s]=y.useState(()=>({value:e,callback:r,facade:{get current(){return s.value},set current(c){const u=s.value;u!==c&&(s.value=c,s.callback(c,u))}}}));return Rt(()=>{a.current=!1},[]),s.callback=r,s.facade}function o7(e){let r;return()=>(r||(r=new Promise(n=>{Promise.resolve().then(()=>{r=void 0,n(e())})})),r)}function r7(e){const{arrow:r,middlewareData:n}=e;if(!n.arrow||!r)return;const{x:a,y:s}=n.arrow;Object.assign(r.style,{left:a!=null?`${a}px`:"",top:s!=null?`${s}px`:""})}function n7(e){var r,n,a;const{container:s,placement:c,middlewareData:u,strategy:d,lowPPI:g,coordinates:p,useTransform:m=!0}=e;if(!s)return;s.setAttribute(KC,c),s.removeAttribute(Zb),u.intersectionObserver.intersecting&&s.setAttribute(Zb,""),s.removeAttribute(Jb),!((r=u.hide)===null||r===void 0)&&r.escaped&&s.setAttribute(Jb,""),s.removeAttribute(ey),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&s.setAttribute(ey,"");const v=((a=s.ownerDocument.defaultView)===null||a===void 0?void 0:a.devicePixelRatio)||1,S=Math.round(p.x*v)/v,k=Math.round(p.y*v)/v;if(Object.assign(s.style,{position:d}),m){Object.assign(s.style,{transform:g?`translate(${S}px, ${k}px)`:`translate3d(${S}px, ${k}px, 0)`});return}Object.assign(s.style,{left:`${S}px`,top:`${k}px`})}const a7=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function dy(e){const r=[];let n=e;for(;n;){const a=rf(n);if(e.ownerDocument.body===a){r.push(a);break}if(a.nodeName==="BODY"&&a!==e.ownerDocument.body)break;r.push(a),n=a}return r}function i7(e,r){return new e.ResizeObserver(r)}function l7(e){let r=!1;const{container:n,target:a,arrow:s,strategy:c,middleware:u,placement:d,useTransform:g=!0,disableUpdateOnResize:p=!1}=e,m=n.ownerDocument.defaultView;if(!a||!n||!m)return{updatePosition:()=>{},dispose:()=>{}};const v=p?null:i7(m,T=>{T.every(N=>N.contentRect.width>0&&N.contentRect.height>0)&&x()});let S=!0;const k=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const w=()=>{r||(S&&(dy(n).forEach(T=>k.add(T)),In(a)&&dy(a).forEach(T=>k.add(T)),k.forEach(T=>{T.addEventListener("scroll",x,{passive:!0})}),v==null||v.observe(n),In(a)&&(v==null||v.observe(a)),S=!1),Object.assign(n.style,{position:c}),GE(a,n,{placement:d,middleware:u,strategy:c}).then(({x:T,y:j,middlewareData:N,placement:C})=>{r||(r7({arrow:s,middlewareData:N}),n7({container:n,middlewareData:N,placement:C,coordinates:{x:T,y:j},lowPPI:((m==null?void 0:m.devicePixelRatio)||1)<=1,strategy:c,useTransform:g}),n.dispatchEvent(new CustomEvent(_0,{detail:{placement:C}})))}).catch(T=>{}))},x=o7(()=>w()),z=()=>{r=!0,m&&(m.removeEventListener("scroll",x),m.removeEventListener("resize",x)),k.forEach(T=>{T.removeEventListener("scroll",x)}),k.clear(),v==null||v.disconnect()};return m&&(m.addEventListener("scroll",x,{passive:!0}),m.addEventListener("resize",x)),x(),{updatePosition:x,dispose:z}}function s7(){return{name:"coverTarget",fn:e=>{const{placement:r,rects:n,x:a,y:s}=e,c=zS(r).side,u={x:a,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 c7(e){const{hasScrollableElement:r,flipBoundary:n,container:a,fallbackPositions:s=[],isRtl:c}=e,u=s.reduce((d,g)=>{const{position:p,align:m}=Ns(g),v=CS(m,p,c);return v&&d.push(v),d},[]);return IE({...r&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:Bg(a,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function u7(){return{name:"intersectionObserver",fn:async e=>{const r=e.rects.floating,n=await HE(e,{altBoundary:!0}),a=n.top<r.height&&n.top>0,s=n.bottom<r.height&&n.bottom>0;return{data:{intersecting:a||s}}}}}const f7=e=>({name:"resetMaxSize",fn({middlewareData:r,elements:n}){var a;if(!((a=r.resetMaxSize)===null||a===void 0)&&a.maxSizeAlreadyReset)return{};const{applyMaxWidth:s,applyMaxHeight:c}=e;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 d7(e,r){const{container:n,overflowBoundary:a,overflowBoundaryPadding:s,isRtl:c}=r;return UE({...s&&{padding:NS(s,c)},...a&&{altBoundary:!0,boundary:Bg(n,a)},apply({availableHeight:u,availableWidth:d,elements:g,rects:p}){const m=(k,w,x)=>{if(k&&(g.floating.style.setProperty("box-sizing","border-box"),g.floating.style.setProperty(`max-${w}`,`${x}px`),p.floating[w]>x)){g.floating.style.setProperty(w,`${x}px`);const z=w==="width"?"x":"y";g.floating.style.getPropertyValue(`overflow-${z}`)||g.floating.style.setProperty(`overflow-${z}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:S}=e;m(v,"width",d),m(S,"height",u)}})}function h7(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:r,reference:n},placement:a})=>{const{position:s,alignment:c}=e7(a);return e({positionedRect:r,targetRect:n,position:s,alignment:c})}}function g7(e){const r=h7(e);return LE(r)}function p7(e){const{hasScrollableElement:r,shiftToCoverTarget:n,disableTether:a,overflowBoundary:s,container:c,overflowBoundaryPadding:u,isRtl:d}=e;return PE({...r&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:fy({crossAxis:!0,mainAxis:!1})},...a&&{crossAxis:a==="all",limiter:fy({crossAxis:a!=="all",mainAxis:!1})},...u&&{padding:NS(u,d)},...s&&{altBoundary:!0,boundary:Bg(c,s)}})}const hy="--fui-match-target-size";function m7(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:r,floating:n},elements:{floating:a},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:s=!1}={}}}=e;if(r.width===n.width||s)return{};const{width:c}=r;return a.style.setProperty(hy,`${c}px`),a.style.width||(a.style.width=`var(${hy})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function v7(e,r){const{align:n,arrowPadding:a,autoSize:s,coverTarget:c,disableUpdateOnResize:u,flipBoundary:d,offset:g,overflowBoundary:p,pinned:m,position:v,unstable_disableTether:S,strategy:k,overflowBoundaryPadding:w,fallbackPositions:x,useTransform:z,matchTargetSize:T,shiftToCoverTarget:j}=r;return y.useCallback((N,C)=>e({container:N,arrow:C,options:{autoSize:s,disableUpdateOnResize:u,matchTargetSize:T,offset:g,strategy:k,coverTarget:c,flipBoundary:d,overflowBoundary:p,useTransform:z,overflowBoundaryPadding:w,pinned:m,arrowPadding:a,align:n,fallbackPositions:x,shiftToCoverTarget:j,position:v,unstable_disableTether:S}}),[s,u,T,g,k,c,d,p,z,w,m,a,n,x,j,v,S,e])}function b7(e){const{dir:r,targetDocument:n}=dt(),a=r==="rtl",s=v7(tE(),e),{positionFixed:c}=e;return y.useCallback((u,d)=>{const g=QE(u),p=s(u,d),{autoSize:m,disableUpdateOnResize:v,matchTargetSize:S,offset:k,coverTarget:w,flipBoundary:x,overflowBoundary:z,useTransform:T,overflowBoundaryPadding:j,pinned:N,position:C,arrowPadding:E,strategy:M,align:Q,fallbackPositions:X,shiftToCoverTarget:oe,unstable_disableTether:ne}=p,ge=a7(m),ie=[ge&&f7(ge),S&&m7(),k&&g7(k),w&&s7(),!N&&c7({container:u,flipBoundary:x,hasScrollableElement:g,isRtl:a,fallbackPositions:X}),p7({container:u,hasScrollableElement:g,overflowBoundary:z,disableTether:ne,overflowBoundaryPadding:j,isRtl:a,shiftToCoverTarget:oe}),ge&&d7(ge,{container:u,overflowBoundary:z,overflowBoundaryPadding:j,isRtl:a}),u7(),d&&VE({element:d,padding:E}),uy({strategy:"referenceHidden"}),uy({strategy:"escaped"}),!1].filter(Boolean);return{placement:CS(Q,C,a),middleware:ie,strategy:M??c?"fixed":"absolute",disableUpdateOnResize:v,useTransform:T}},[s,a,n,c])}function _g(e){"use no memo";const r=y.useRef(null),n=y.useRef(null),a=y.useRef(null),s=y.useRef(null),c=y.useRef(null),{enabled:u=!0}=e,d=b7(e),g=y.useCallback(()=>{r.current&&r.current.dispose(),r.current=null;var w;const x=(w=a.current)!==null&&w!==void 0?w:n.current;u&&Uu()&&x&&s.current&&(r.current=l7({container:s.current,target:x,arrow:c.current,...d(s.current,c.current)}))},[u,d]),p=_e(w=>{a.current=w,g()});y.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var w;return(w=r.current)===null||w===void 0?void 0:w.updatePosition()},setTarget:w=>{e.target,p(w)}}),[e.target,p]),Rt(()=>{var w;p((w=e.target)!==null&&w!==void 0?w:null)},[e.target,p]),Rt(()=>{g()},[g]);const m=$h(null,w=>{n.current!==w&&(n.current=w,g())}),v=_e(w=>{var x;return(x=e.onPositioningEnd)===null||x===void 0?void 0:x.call(e,w)}),S=$h(null,w=>{if(s.current!==w){var x;(x=s.current)===null||x===void 0||x.removeEventListener(_0,v),w==null||w.addEventListener(_0,v),s.current=w,g()}}),k=$h(null,w=>{c.current!==w&&(c.current=w,g())});return{targetRef:m,containerRef:S,arrowRef:k}}const y7=e=>{const[r,n]=y.useState(e);return[r,s=>{if(s==null){n(void 0);return}let c;s instanceof MouseEvent?c=s:c=s.nativeEvent;const u=$C(c);n(u)}]},zg=$u(void 0),ES={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1};zg.Provider;const Ft=e=>cg(zg,(r=ES)=>e(r)),x7=(e,r)=>{const n=Ft(u=>u.size),a=Ft(u=>u.appearance),s=pg(),c=S7(e,Nt(r,s));return{appearance:a,size:n,...c}},S7=(e,r)=>{const n=Ft(z=>z.contentRef),a=Ft(z=>z.openOnHover),s=Ft(z=>z.setOpen),c=Ft(z=>z.mountNode),u=Ft(z=>z.arrowRef),d=Ft(z=>z.withArrow),g=Ft(z=>z.trapFocus),p=Ft(z=>z.inertTrapFocus),m=Ft(z=>z.inline),{modalAttributes:v}=Yu({trapFocus:g,legacyTrapFocus:!p,alwaysFocusable:!g}),S={inline:m,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ve({ref:Nt(r,n),role:g?"dialog":"group","aria-modal":g?!0:void 0,...v,...e},{elementType:"div"})},{onMouseEnter:k,onMouseLeave:w,onKeyDown:x}=S.root;return S.root.onMouseEnter=z=>{a&&s(z,!0),k==null||k(z)},S.root.onMouseLeave=z=>{a&&s(z,!1),w==null||w(z)},S.root.onKeyDown=z=>{var T;z.key==="Escape"&&(!((T=n.current)===null||T===void 0)&&T.contains(z.target))&&(z.preventDefault(),s(z,!1)),x==null||x(z)},S};function w7(e){return In(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const k7=pu.useInsertionEffect?pu.useInsertionEffect:Rt,jS=Symbol.for("fui-portal-style-ref-count"),B7="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",RS="fui-portal-styles";function AS(e){var r;return(r=e[jS])!==null&&r!==void 0?r:0}function j0(e,r){e[jS]=r}function _7(e){var r;const n=AS(e);if(n>0){j0(e,n+1);return}const a=e.createElement("style");a.id=RS,e.head.prepend(a),(r=a.sheet)===null||r===void 0||r.insertRule(B7),j0(e,1)}function z7(e){const r=AS(e);if(r===0)return;const n=r-1;if(n===0){var a;(a=e.head.querySelector(`#${RS}`))===null||a===void 0||a.remove()}j0(e,n)}function T7(e){const{targetDocument:r}=dt();k7(()=>{if(!(e||!r))return _7(r),()=>z7(r)},[e,r])}const DS=pu.useInsertionEffect,N7=e=>{"use no memo";const{className:r,dir:n,focusVisibleRef:a,targetNode:s}=e,c=y.useMemo(()=>{if(s===void 0||e.disabled)return null;const u=s.ownerDocument.createElement("div");return s.appendChild(u),u},[s,e.disabled]);return y.useMemo(()=>{c&&(c.className=r,c.setAttribute("dir",n),c.setAttribute("data-portal-node","true"),a.current=c)},[r,n,c,a]),y.useEffect(()=>()=>{c==null||c.remove()},[c]),c},C7=()=>{let e;function r(a,s){return e||(s&&(e=a.ownerDocument.createElement("div"),a.appendChild(e)),e)}function n(){e&&(e.remove(),e=void 0)}return{get:r,dispose:n}},E7=e=>{"use no memo";const{className:r,dir:n,focusVisibleRef:a,targetNode:s}=e,[c]=y.useState(C7),u=y.useMemo(()=>s===void 0||e.disabled?null:new Proxy({},{get(d,g){if(g==="nodeType")return 1;if(g==="remove"){const v=c.get(s,!1);return v&&v.childNodes.length===0&&c.dispose(),()=>{}}const p=c.get(s,!0),m=p?p[g]:void 0;return typeof m=="function"?m.bind(p):m},set(d,g,p){const m=g==="_virtual"||g==="focusVisible",v=m?c.get(s,!1):c.get(s,!0);return m&&!v?!0:v?(Object.assign(v,{[g]:p}),!0):!1}}),[c,s,e.disabled]);return DS(()=>{if(u)return u.setAttribute("class",r),u.setAttribute("dir",n),u.setAttribute("data-portal-node","true"),a.current=u,()=>{u.removeAttribute("class"),u.removeAttribute("dir")}},[r,n,u,a]),y.useEffect(()=>()=>{u==null||u.remove()},[u]),u},j7=DS?E7:N7,R7=e=>{"use no memo";const{targetDocument:r,dir:n}=dt(),a=T_(),s=C2(),c=b_(),u={dir:n,disabled:e.disabled,focusVisibleRef:s,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(r==null?void 0:r.body)};return T7(e.disabled),j7(u)},A7=e=>{const{element:r,className:n}=w7(e.mountNode),a=y.useRef(null),s=R7({disabled:!!r,className:n}),c=r??s,u={children:e.children,mountNode:c,virtualParentRootRef:a};return y.useEffect(()=>{if(!c)return;const d=a.current,g=c.contains(d);if(d&&!g)return jb(c,d),()=>{jb(c,void 0)}},[a,c]),u},D7=e=>y.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&t0.createPortal(y.createElement(y.Fragment,null,e.children,y.createElement("span",{hidden:!0})),e.mountNode)),Cs=e=>{const r=A7(e);return D7(r)};Cs.displayName="Portal";const O7=e=>{const r=kt(e.root,{children:[e.withArrow&&ue("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?r:ue(Cs,{mountNode:e.mountNode,children:r})},M7={root:"fui-PopoverSurface"},q7={small:6,medium:8,large:8},F7=Se({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),H7=e=>{"use no memo";const r=F7();return e.root.className=ve(M7.root,r.root,e.inline&&r.inline,e.size==="small"&&r.smallPadding,e.size==="medium"&&r.mediumPadding,e.size==="large"&&r.largePadding,e.appearance==="inverted"&&r.inverted,e.appearance==="brand"&&r.brand,e.root.className),e.arrowClassName=ve(r.arrow,e.size==="small"?r.smallArrow:r.mediumLargeArrow),e},OS=y.forwardRef((e,r)=>{const n=x7(e,r);return H7(n),ht("usePopoverSurfaceStyles_unstable")(n),O7(n)});OS.displayName="PopoverSurface";const L7=4,gy=vt.durationSlower,py=vt.curveDecelerateMid,my=Zu(({distance:e=10})=>({enter:[fs({duration:gy,easing:py,direction:"enter"}),{...PC({duration:gy,easing:py,direction:"enter",outX:`calc(var(${z0}, 0px) * ${e})`,outY:`calc(var(${T0}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),P7=e=>{const{appearance:r,size:n="medium"}=e,a=Ns(e.positioning),s=e.withArrow&&!a.coverTarget,{targetDocument:c}=dt(),u=JC({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=I7({...e,positioning:{...a,onPositioningEnd:u,...s?{offset:TS(a.offset,q7[n])}:{}}});return{components:{surfaceMotion:my},appearance:r,size:n,...d,surfaceMotion:vg(e.surfaceMotion,{elementType:my,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},I7=e=>{const[r,n]=y7(),a={contextTarget:r,setContextTarget:n,...e},s=y.Children.toArray(e.children);let c,u;s.length===2?(c=s[0],u=s[1]):s.length===1&&(u=s[0]);const[d,g]=U7(a),[p,m]=og(),v=_e((E,M)=>{if(m(),!(E instanceof Event)&&E.persist&&E.persist(),E.type==="mouseleave"){var Q;p(()=>{g(E,M)},(Q=e.mouseLeaveDelay)!==null&&Q!==void 0?Q:500)}else g(E,M)}),S=y.useCallback(E=>{v(E,!d)},[v,d]),k=V7(a),{targetDocument:w}=dt();var x;s2({contains:Eb,element:w,callback:E=>v(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d,disabledFocusOnIframe:!(!((x=e.closeOnIframeFocus)!==null&&x!==void 0)||x)});const z=a.openOnContext||a.closeOnScroll;F_({contains:Eb,element:w,callback:E=>v(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d||!z});const{findFirstFocusable:T}=z2(),j=NT();y.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const E=k.contentRef.current;if(d&&E){var M;const Q=!isNaN((M=E.getAttribute("tabIndex"))!==null&&M!==void 0?M:void 0),X=Q?E:T(E);X==null||X.focus(),Q&&j(E)}},[T,j,d,k.contentRef,e.unstable_disableAutoFocus]);var N,C;return{...a,...k,inertTrapFocus:(N=e.inertTrapFocus)!==null&&N!==void 0?N:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:u,open:d,setOpen:v,toggleOpen:S,setContextTarget:n,contextTarget:r,inline:(C=e.inline)!==null&&C!==void 0?C:!1}};function U7(e){"use no memo";const r=_e((u,d)=>{var g;return(g=e.onOpenChange)===null||g===void 0?void 0:g.call(e,u,d)}),[n,a]=Wr({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=n!==void 0?n:e.open;const s=e.setContextTarget,c=y.useCallback((u,d)=>{d&&u.type==="contextmenu"&&s(u),d||s(void 0),a(d),r==null||r(u,{open:d})},[a,r,s]);return[n,c]}function V7(e){"use no memo";const r={position:"above",align:"center",arrowPadding:2*L7,target:e.openOnContext?e.contextTarget:void 0,...Ns(e.positioning)};r.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:s}=_g(r);return{triggerRef:n,contentRef:a,arrowRef:s}}function G7(e){const{appearance:r,arrowRef:n,contentRef:a,inline:s,mountNode:c,open:u,openOnContext:d,openOnHover:g,setOpen:p,size:m,toggleOpen:v,trapFocus:S,triggerRef:k,withArrow:w,inertTrapFocus:x}=e;return{popover:y.useMemo(()=>({appearance:r,arrowRef:n,contentRef:a,inline:s,mountNode:c,open:u,openOnContext:d,openOnHover:g,setOpen:p,size:m,toggleOpen:v,trapFocus:S,triggerRef:k,withArrow:w,inertTrapFocus:x}),[r,n,a,s,c,u,d,g,p,m,v,S,k,w,x])}}const X7=(e,r)=>{var n;return kt(zg.Provider,{value:(n=r==null?void 0:r.popover)!==null&&n!==void 0?n:ES,children:[e.popoverTrigger,e.popoverSurface&&ue(e.surfaceMotion,{children:ue(mg,{children:e.popoverSurface})})]})},MS=e=>{const r=P7(e),n=G7(r);return X7(r,n)};MS.displayName="Popover";const W7=e=>{const{children:r,disableButtonEnhancement:n=!1}=e,a=Gu(r),s=Ft(N=>N.open),c=Ft(N=>N.setOpen),u=Ft(N=>N.toggleOpen),d=Ft(N=>N.triggerRef),g=Ft(N=>N.openOnHover),p=Ft(N=>N.openOnContext),{triggerAttributes:m}=Yu(),v=N=>{p&&(N.preventDefault(),c(N,!0))},S=N=>{p||u(N)},k=N=>{N.key===Ku&&s&&!N.isDefaultPrevented()&&(c(N,!1),N.preventDefault())},w=N=>{g&&c(N,!0)},x=N=>{g&&c(N,!1)},z={...m,"aria-expanded":`${s}`,...a==null?void 0:a.props,onMouseEnter:_e(We(a==null?void 0:a.props.onMouseEnter,w)),onMouseLeave:_e(We(a==null?void 0:a.props.onMouseLeave,x)),onContextMenu:_e(We(a==null?void 0:a.props.onContextMenu,v)),ref:Nt(d,Vu(a))},T={...z,onClick:_e(We(a==null?void 0:a.props.onClick,S)),onKeyDown:_e(We(a==null?void 0:a.props.onKeyDown,k))},j=_u((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",T);return{children:rg(e.children,_u((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",p?z:n?T:j))}},Q7=e=>e.children,Tg=e=>{const r=W7(e);return Q7(r)};Tg.displayName="PopoverTrigger";Tg.isFluentTriggerComponent=!0;const Y7=6,$7=4,K7=e=>-1,Z7=e=>{};function J7(e){const{targetDocument:r}=dt(),n=r==null?void 0:r.defaultView,a=n?n.setTimeout:K7,s=n?n.clearTimeout:Z7,c=y.useRef(void 0),u=y.useCallback((g,p)=>(c.current!==void 0&&s(c.current),c.current=a(g,p??0),c.current),[s,a]),d=y.useCallback(()=>{c.current!==void 0&&(s(c.current),c.current=void 0)},[s]);return y.useEffect(()=>{const g=e.current;return()=>{(!g||!g.isConnected)&&d()}},[d,e]),[u,d]}const e8=e=>{"use no memo";var r,n,a,s,c,u,d;const g=S_(),p=A_(),{targetDocument:m}=dt(),[v,S]=Wr({state:e.visible,initialState:!1}),{children:k,content:w,withArrow:x=!1,positioning:z="above",onVisibleChange:T,relationship:j,showDelay:N=250,hideDelay:C=250,mountNode:E}=e,M={withArrow:x,positioning:z,showDelay:N,hideDelay:C,relationship:j,visible:v,shouldRenderTooltip:v,mountNode:E,components:{content:"div"},content:Ve(w,{defaultProps:{role:"tooltip"},elementType:"div"})};M.content.id=Go("tooltip-",M.content.id);const Q={enabled:M.visible,arrowPadding:2*$7,position:"above",align:"center",offset:4,...Ns(M.positioning)};M.withArrow&&(Q.offset=TS(Q.offset,Y7));const{targetRef:X,containerRef:oe,arrowRef:ne}=_g(Q),[ge,ie]=J7(oe),le=y.useCallback((L,Z)=>{ie(),S(re=>(Z.visible!==re&&(T==null||T(L,Z)),Z.visible))},[ie,S,T]);M.content.ref=Nt(M.content.ref,oe),M.arrowRef=ne,Rt(()=>{if(v){var L;const Z={hide:fe=>le(void 0,{visible:!1,documentKeyboardEvent:fe})};(L=g.visibleTooltip)===null||L===void 0||L.hide(),g.visibleTooltip=Z;const re=fe=>{fe.key===Ku&&!fe.defaultPrevented&&(Z.hide(fe),fe.preventDefault())};return m==null||m.addEventListener("keydown",re,{capture:!0}),()=>{g.visibleTooltip===Z&&(g.visibleTooltip=void 0),m==null||m.removeEventListener("keydown",re,{capture:!0})}}},[g,m,v,le]);const ae=y.useRef(!1),pe=y.useCallback(L=>{if(L.type==="focus"&&ae.current){ae.current=!1;return}const Z=g.visibleTooltip?0:M.showDelay;ge(()=>{le(L,{visible:!0})},Z),L.persist()},[ge,le,M.showDelay,g]),U=zT(),[J]=y.useState(()=>{const L=re=>{var fe;!((fe=re.detail)===null||fe===void 0)&&fe.isFocusedProgrammatically&&!U()&&(ae.current=!0)};let Z=null;return re=>{Z==null||Z.removeEventListener(_o,L),re==null||re.addEventListener(_o,L),Z=re}}),te=y.useCallback(L=>{let Z=M.hideDelay;L.type==="blur"&&(Z=0,ae.current=(m==null?void 0:m.activeElement)===L.target),ge(()=>{le(L,{visible:!1})},Z),L.persist()},[ge,le,M.hideDelay,m]);M.content.onPointerEnter=We(M.content.onPointerEnter,ie),M.content.onPointerLeave=We(M.content.onPointerLeave,te),M.content.onFocus=We(M.content.onFocus,ie),M.content.onBlur=We(M.content.onBlur,te);const se=Gu(k),Te={},D=(se==null||(r=se.props)===null||r===void 0?void 0:r["aria-haspopup"])&&((se==null||(n=se.props)===null||n===void 0?void 0:n["aria-expanded"])===!0||(se==null||(a=se.props)===null||a===void 0?void 0:a["aria-expanded"])==="true");return j==="label"?typeof M.content.children=="string"?Te["aria-label"]=M.content.children:(Te["aria-labelledby"]=M.content.id,M.shouldRenderTooltip=!0):j==="description"&&(Te["aria-describedby"]=M.content.id,M.shouldRenderTooltip=!0),(p||D)&&(M.shouldRenderTooltip=!1),M.children=rg(k,{...Te,...se==null?void 0:se.props,ref:Nt(Vu(se),J,Q.target===void 0?X:void 0),onPointerEnter:_e(We(se==null||(s=se.props)===null||s===void 0?void 0:s.onPointerEnter,pe)),onPointerLeave:_e(We(se==null||(c=se.props)===null||c===void 0?void 0:c.onPointerLeave,te)),onFocus:_e(We(se==null||(u=se.props)===null||u===void 0?void 0:u.onFocus,pe)),onBlur:_e(We(se==null||(d=se.props)===null||d===void 0?void 0:d.onBlur,te))}),M},t8=e=>{"use no memo";const{appearance:r="normal",...n}=e,a=e8(n);return{appearance:r,...a}},o8=e=>kt(y.Fragment,{children:[e.children,e.shouldRenderTooltip&&ue(Cs,{mountNode:e.mountNode,children:kt(e.content,{children:[e.withArrow&&ue("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),r8={content:"fui-Tooltip__content"},n8=Se({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),a8=e=>{"use no memo";const r=n8();return e.content.className=ve(r8.content,r.root,e.appearance==="inverted"&&r.inverted,e.visible&&r.visible,e.content.className),e.arrowClassName=r.arrow,e},Ng=e=>{const r=t8(e);return a8(r),ht("useTooltipStyles_unstable")(r),o8(r)};Ng.displayName="Tooltip";Ng.isFluentTriggerComponent=!0;const i8=e=>{const{iconOnly:r,iconPosition:n}=e;return kt(e.root,{children:[n!=="after"&&e.icon&&ue(e.icon,{}),!r&&e.root.children,n==="after"&&e.icon&&ue(e.icon,{})]})},qS=y.createContext(void 0),l8={};qS.Provider;const s8=()=>{var e;return(e=y.useContext(qS))!==null&&e!==void 0?e:l8},c8=(e,r)=>{const{size:n}=s8(),{appearance:a="secondary",shape:s="rounded",size:c=n??"medium",...u}=e,d=u8(u,r);return{appearance:a,shape:s,size:c,...d}},u8=(e,r)=>{const{icon:n,iconPosition:a="before",...s}=e,c=et(n,{elementType:"span"});var u,d;return{disabled:(u=e.disabled)!==null&&u!==void 0?u:!1,disabledFocusable:(d=e.disabledFocusable)!==null&&d!==void 0?d:!1,iconPosition:a,iconOnly:!!(c!=null&&c.children&&!e.children),components:{root:"button",icon:"span"},root:Ve(_u(s.as,s),{elementType:"button",defaultProps:{ref:r,type:e.as!=="a"?"button":void 0}}),icon:c}},vy={root:"fui-Button",icon:"fui-Button__icon"},f8=Le("r1f29ykk",null,{r:[".r1f29ykk{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),d8=Le("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);}"]),h8=Se({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),g8=Se({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),p8=Se({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;}}"]}),m8=Se({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;}"]}),v8=Se({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);}"]}),b8=e=>{"use no memo";const r=f8(),n=d8(),a=h8(),s=g8(),c=p8(),u=m8(),d=v8(),{appearance:g,disabled:p,disabledFocusable:m,icon:v,iconOnly:S,iconPosition:k,shape:w,size:x}=e;return e.root.className=ve(vy.root,r,g&&a[g],a[x],v&&x==="small"&&a.smallWithIcon,v&&x==="large"&&a.largeWithIcon,a[w],(p||m)&&s.base,(p||m)&&s.highContrast,g&&(p||m)&&s[g],g==="primary"&&c.primary,c[x],c[w],S&&u[x],e.root.className),e.icon&&(e.icon.className=ve(vy.icon,n,!!e.root.children&&d[k],d[x],e.icon.className)),e},mt=y.forwardRef((e,r)=>{const n=c8(e,r);return b8(n),ht("useButtonStyles_unstable")(n),i8(n)});mt.displayName="Button";const FS=y.createContext(void 0),y8=FS.Provider,x8=()=>y.useContext(FS),S8=e=>{var r,n,a,s;const{generatedControlId:c,orientation:u,required:d,size:g,validationState:p}=e,m=(r=e.label)===null||r===void 0?void 0:r.htmlFor,v=(n=e.label)===null||n===void 0?void 0:n.id,S=(a=e.validationMessage)===null||a===void 0?void 0:a.id,k=(s=e.hint)===null||s===void 0?void 0:s.id;return{field:y.useMemo(()=>({generatedControlId:c,hintId:k,labelFor:m,labelId:v,orientation:u,required:d,size:g,validationMessageId:S,validationState:p}),[c,k,m,v,u,d,g,S,p])}};function Zi(e,r){return HS(x8(),e,r)}function HS(e,r,n){if(!e)return r;r={...r};const{generatedControlId:a,hintId:s,labelFor:c,labelId:u,required:d,validationMessageId:g,validationState:p}=e;if(a){var m,v;(v=(m=r).id)!==null&&v!==void 0||(m.id=a)}if(u&&(!(n!=null&&n.supportsLabelFor)||c!==r.id)){var S,k,w;(w=(S=r)[k="aria-labelledby"])!==null&&w!==void 0||(S[k]=u)}if((g||s)&&(r["aria-describedby"]=[g,s,r==null?void 0:r["aria-describedby"]].filter(Boolean).join(" ")),p==="error"){var x,z,T;(T=(x=r)[z="aria-invalid"])!==null&&T!==void 0||(x[z]=!0)}if(d)if(n!=null&&n.supportsRequired){var j,N;(N=(j=r).required)!==null&&N!==void 0||(j.required=!0)}else{var C,E,M;(M=(C=r)[E="aria-required"])!==null&&M!==void 0||(C[E]=!0)}if(n!=null&&n.supportsSize){var Q,X;(X=(Q=r).size)!==null&&X!==void 0||(Q.size=e.size)}return r}const w8=(e,r)=>{let{children:n}=e;return typeof n=="function"&&(n=n(HS(r.field)||{})),ue(y8,{value:r==null?void 0:r.field,children:kt(e.root,{children:[e.label&&ue(e.label,{}),n,e.validationMessage&&kt(e.validationMessage,{children:[e.validationMessageIcon&&ue(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&ue(e.hint,{})]})})},k8=(e,r)=>{const{weight:n="regular",size:a="medium",...s}=e,c=B8(s,r);return{weight:n,size:a,...c}},B8=(e,r)=>{const{disabled:n=!1,required:a=!1,...s}=e;return{disabled:n,required:et(a===!0?"*":a||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Ve(Ut("label",{ref:r,...s}),{elementType:"label"})}},_8=e=>kt(e.root,{children:[e.root.children,e.required&&ue(e.required,{})]}),by={root:"fui-Label",required:"fui-Label__required"},z8=Se({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)"}]]}),T8=e=>{"use no memo";const r=z8();return e.root.className=ve(by.root,r.root,e.disabled&&r.disabled,r[e.size],e.weight==="semibold"&&r.semibold,e.root.className),e.required&&(e.required.className=ve(by.required,r.required,e.disabled&&r.disabled,e.required.className)),e},Kr=y.forwardRef((e,r)=>{const n=k8(e,r);return T8(n),ht("useLabelStyles_unstable")(n),_8(n)});Kr.displayName="Label";const N8=(e,r)=>{const{children:n,required:a=!1,validationState:s=e.validationMessage?"error":"none"}=e,c=Go("field-"),u=c+"__control",d=Ve(Ut("div",{...e,ref:r},["children"]),{elementType:"div"}),g=et(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:a},elementType:"label"}),p=et(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:s==="error"||s==="warning"?"alert":void 0},elementType:"div"}),m=et(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),v=et(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"});return{children:n,generatedControlId:u,required:a,validationState:s,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:d,label:g,validationMessageIcon:v,validationMessage:p,hint:m}},C8={error:y.createElement(kC,null),warning:y.createElement(bC,null),success:y.createElement(xC,null),none:void 0},E8=(e,r)=>{const{orientation:n="vertical",size:a="medium",...s}=e,c=N8(s,r),u=C8[c.validationState];return{...c,components:{...c.components,label:Kr},label:et(e.label,{defaultProps:{size:a,...c.label},elementType:Kr}),validationMessageIcon:et(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},Kl={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},j8=Se({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),R8=Se({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),A8=Le("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),D8=Se({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),O8=Le("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),M8=Se({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),q8=e=>{"use no memo";const{validationState:r,size:n}=e,a=e.orientation==="horizontal",s=j8();e.root.className=ve(Kl.root,s.base,a&&s.horizontal,a&&!e.label&&s.horizontalNoLabel,e.root.className);const c=R8();e.label&&(e.label.className=ve(Kl.label,c.base,a&&c.horizontal,a&&n==="small"&&c.horizontalSmall,a&&n==="large"&&c.horizontalLarge,!a&&c.vertical,!a&&n==="large"&&c.verticalLarge,e.label.className));const u=O8(),d=M8();e.validationMessageIcon&&(e.validationMessageIcon.className=ve(Kl.validationMessageIcon,u,r!=="none"&&d[r],e.validationMessageIcon.className));const g=A8(),p=D8();return e.validationMessage&&(e.validationMessage.className=ve(Kl.validationMessage,g,r==="error"&&p.error,!!e.validationMessageIcon&&p.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=ve(Kl.hint,g,e.hint.className)),e},LS=y.forwardRef((e,r)=>{const n=E8(e,r);q8(n),ht("useFieldStyles_unstable")(n);const a=S8(n);return w8(n,a)});LS.displayName="Field";const F8=(e,r)=>{"use no memo";e=Zi(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...s}=e,c=H8(s,r),u=c.checked==="mixed";let d;if(u?n==="circular"?d=y.createElement(dg,null):d=a==="large"?y.createElement(wC,null):y.createElement(SC,null):c.checked&&(d=a==="large"?y.createElement(yC,null):y.createElement(oS,null)),c.indicator){var g,p;(p=(g=c.indicator).children)!==null&&p!==void 0||(g.children=d)}return{shape:n,size:a,...c,components:{...c.components,label:Kr},label:et(e.label,{defaultProps:{...c.label,size:"medium"},elementType:Kr})}},H8=(e,r)=>{"use no memo";const{disabled:n=!1,required:a,labelPosition:s="after",onChange:c}=e,[u,d]=Wr({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),g=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=u==="mixed",m=Go("checkbox-",g.primary.id),v={checked:u,disabled:n,labelPosition:s,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Ve(e.root,{defaultProps:{ref:E2(),...g.root},elementType:"span"}),input:Ve(e.input,{defaultProps:{type:"checkbox",id:m,ref:r,checked:u===!0,...g.primary},elementType:"input"}),label:et(e.label,{defaultProps:{htmlFor:m,disabled:n,required:a},elementType:"label"}),indicator:et(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};v.input.onChange=We(v.input.onChange,k=>{const w=k.currentTarget.indeterminate?"mixed":k.currentTarget.checked;c==null||c(k,{checked:w}),d(w)});const S=Nt(v.input.ref);return v.input.ref=S,Rt(()=>{S.current&&(S.current.indeterminate=p)},[S,p]),v},L8=e=>kt(e.root,{children:[ue(e.input,{}),e.labelPosition==="before"&&e.label&&ue(e.label,{}),e.indicator&&ue(e.indicator,{}),e.labelPosition==="after"&&e.label&&ue(e.label,{})]}),ou={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},P8=Le("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;}}"]}),I8=Se({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)"}]]}),U8=Le("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));}"]),V8=Se({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));}"]}),G8=Le("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;}"]),X8=Se({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}]]}),W8=Se({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);}"]}),Q8=e=>{"use no memo";const{checked:r,disabled:n,labelPosition:a,shape:s,size:c}=e,u=P8(),d=I8();e.root.className=ve(ou.root,u,n?d.disabled:r==="mixed"?d.mixed:r?d.checked:d.unchecked,e.root.className);const g=U8(),p=V8();e.input.className=ve(ou.input,g,c==="large"&&p.large,p[a],e.input.className);const m=G8(),v=X8();e.indicator&&(e.indicator.className=ve(ou.indicator,m,c==="large"&&v.large,s==="circular"&&v.circular,e.indicator.className));const S=W8();return e.label&&(e.label.className=ve(ou.label,S.base,S[c],S[a],e.label.className)),e},PS=y.forwardRef((e,r)=>{const n=F8(e,r);return Q8(n),ht("useCheckboxStyles_unstable")(n),L8(n)});PS.displayName="Checkbox";const IS=$u({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});IS.Provider;const Y8={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Es=$u(void 0),wo=e=>cg(Es,(r=Y8)=>e(r)),$8=Es.Provider;function K8(e){const{appearance:r,open:n,getOptionById:a,getOptionsMatchingValue:s,registerOption:c,selectedOptions:u,selectOption:d,setOpen:g,size:p,activeDescendantController:m,onOptionClick:v,onActiveDescendantChange:S}=e,k={activeOption:void 0,appearance:r,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:g,size:p},w={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:s,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:S},x=y.useMemo(()=>({controller:m}),[m]);return{combobox:k,activeDescendant:x,listbox:w}}function Z8(e){const r=ug(Es),{getOptionById:n,getOptionsMatchingValue:a,multiselect:s,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:g}=e,p=wo(x=>x.registerOption),m=wo(x=>x.onOptionClick),v=wo(x=>x.onActiveDescendantChange),k={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:s,registerOption:r?p:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:m,onActiveDescendantChange:v},w=y.useMemo(()=>({controller:g}),[g]);return{listbox:k,activeDescendant:w}}function Eu(e,r={}){const{open:n=!0,multiselect:a=!1}=r,s=e.key,{altKey:c,ctrlKey:u,key:d,metaKey:g}=e;return d.length===1&&s!==qn&&!c&&!u&&!g?"Type":n?s===Xh&&c||s===ns||!a&&s===qn?"CloseSelect":a&&s===qn?"Select":s===Ku?"Close":s===Gb?"Next":s===Xh?"Previous":s===ON?"First":s===DN?"Last":s===qN?"PageUp":s===MN?"PageDown":s===jN?"Tab":"None":s===Gb||s===Xh||s===ns||s===qn?"Open":"None"}const US=()=>{const e=y.useRef(new Map),r=y.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:p=>e.current.get(p),getOptionsMatchingText:p=>Array.from(e.current.values()).filter(({text:m})=>p(m)),getOptionsMatchingValue:p=>{const m=[];for(const v of e.current.values())p(v.value)&&m.push(v);return m}}),[]),n=y.useCallback(a=>(e.current.set(a.id,a),()=>e.current.delete(a.id)),[]);return{...r,options:Array.from(e.current.values()),registerOption:n}},VS=e=>{const{defaultSelectedOptions:r,multiselect:n,onOptionSelect:a}=e,[s,c]=Wr({state:e.selectedOptions,defaultState:r,initialState:[]}),u=y.useCallback((g,p)=>{if(p.disabled)return;let m=[p.value];if(n){const v=s.findIndex(S=>S===p.value);v>-1?m=[...s.slice(0,v),...s.slice(v+1)]:m=[...s,p.value]}c(m),a==null||a(g,{optionValue:p.value,optionText:p.text,selectedOptions:m})},[a,n,s,c]);return{clearSelection:g=>{c([]),a==null||a(g,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u,selectedOptions:s}},ju={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},J8=Se({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)"}]]}),e9=e=>{"use no memo";const{disabled:r,multiselect:n,selected:a}=e,s=J8();return e.root.className=ve(ju.root,s.root,s.active,r&&s.disabled,a&&s.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=ve(ju.checkIcon,s.checkIcon,n&&s.multiselectCheck,a&&s.selectedCheck,a&&n&&s.selectedMultiselectCheck,r&&s.checkDisabled,r&&n&&s.multiselectCheckDisabled,e.checkIcon.className)),e},yy={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},t9=(e,r)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,s=US(),{listboxRef:c,activeParentRef:u,controller:d}=Z2({matchOption:ae=>ae.classList.contains(ju.root)}),g=ug(Es),p=wo(ae=>ae.onActiveDescendantChange),m=wo(ae=>ae.getOptionById),v=wo(ae=>ae.getOptionsMatchingValue),S=g?m:s.getOptionById,k=g?v:s.getOptionsMatchingValue,w=y.useMemo(()=>{let ae=null;const pe=U=>{const J=U;p==null||p(J)};return U=>{if(!U){ae==null||ae.removeEventListener("activedescendantchange",pe);return}ae=U,ae.addEventListener("activedescendantchange",pe)}},[p]),[x,z]=y.useState(!1);j2(z);const T=Y2(),j=HN(),N=j?T.controller:d,{clearSelection:C,selectedOptions:E,selectOption:M}=VS(e),Q=ae=>{const pe=Eu(ae,{open:!0}),U=N.active(),J=U?S(U):null;switch(pe){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":ae.preventDefault();break}switch(pe){case"Next":J?N.next():N.first();break;case"Previous":J?N.prev():N.first();break;case"PageUp":case"First":N.first();break;case"PageDown":case"Last":N.last();break;case"Select":case"CloseSelect":J&&M(ae,J);break}},X=wo(ae=>ae.selectedOptions),oe=wo(ae=>ae.selectOption),ne=g?{selectedOptions:X,selectOption:oe,...yy}:{selectedOptions:E,selectOption:M,...yy};y.useEffect(()=>{if(!j){if(N.hideFocusVisibleAttributes(),!a)if(!n&&ne.selectedOptions.length>0){const ae=k(pe=>pe===ne.selectedOptions[0]).pop();ae!=null&&ae.id&&N.focus(ae.id)}else N.first();return()=>{N.blur()}}},[]);const ge=y.useCallback(()=>{j||(N.showFocusVisibleAttributes(),x&&N.scrollActiveIntoView())},[N,j,x]),ie=y.useCallback(()=>{j||N.hideFocusVisibleAttributes()},[N,j]),le={components:{root:"div"},root:Ve(Ut("div",{ref:Nt(r,u,c,w),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!g,multiselect:n,clearSelection:C,activeDescendantController:N,onActiveDescendantChange:p,...s,...ne};return le.root.onKeyDown=_e(We(le.root.onKeyDown,Q)),le.root.onFocus=_e(We(le.root.onFocus,ge)),le.root.onBlur=_e(We(le.root.onBlur,ie)),le},o9=(e,r)=>ue(Q2,{value:r.activeDescendant,children:ue(Es.Provider,{value:r.listbox,children:ue(e.root,{})})}),r9={root:"fui-Listbox"},n9=Se({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);}"]}),a9=e=>{"use no memo";const r=n9();return e.root.className=ve(r9.root,r.root,e.root.className),e},Cg=y.forwardRef((e,r)=>{const n=t9(e,r),a=Z8(n);return a9(n),ht("useListboxStyles_unstable")(n),o9(n,a)});Cg.displayName="Listbox";function i9(e,r){if(e!==void 0)return e;let n="",a=!1;return y.Children.forEach(r,s=>{typeof s=="string"?n+=s:a=!0}),a&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}const l9=(e,r)=>{"use no memo";const n=s9(e,r);let a=y.createElement(uC,null);if(n.multiselect&&(a=n.selected?y.createElement(oS,null):""),n.checkIcon){var s,c;(c=(s=n.checkIcon).children)!==null&&c!==void 0||(s.children=a)}return n},s9=(e,r)=>{const{children:n,disabled:a,text:s,value:c}=e,u=y.useRef(null),d=i9(s,n),g=c??d,p=Go("fluent-option",e.id),m=y.useMemo(()=>({id:p,disabled:a,text:d,value:g}),[p,a,d,g]),{controller:v}=Y2(),S=wo(N=>N.multiselect),k=wo(N=>N.registerOption),w=wo(N=>{const C=N.selectedOptions;return g!==void 0&&C.find(E=>E===g)!==void 0}),x=wo(N=>N.selectOption),z=wo(N=>N.onOptionClick),T=N=>{var C;if(a){N.preventDefault();return}v.focus(p),x(N,m),z(N),(C=e.onClick)===null||C===void 0||C.call(e,N)};y.useEffect(()=>{if(p&&u.current)return k(m,u.current)},[p,m,k]);const j=S?{role:"menuitemcheckbox","aria-checked":w}:{role:"option","aria-selected":w};return{components:{root:"div",checkIcon:"span"},root:Ve(Ut("div",{ref:Nt(r,u),"aria-disabled":a?"true":void 0,id:p,...j,...e,onClick:T}),{elementType:"div"}),checkIcon:et(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:S,selected:w,focusVisible:!1,active:!1}},c9=e=>kt(e.root,{children:[e.checkIcon&&ue(e.checkIcon,{}),e.root.children]}),GS=y.forwardRef((e,r)=>{const n=l9(e,r);return e9(n),ht("useOptionStyles_unstable")(n),c9(n)});GS.displayName="Option";const u9=e=>{"use no memo";const{appearance:r="outline",disableAutoFocus:n,children:a,clearable:s=!1,editable:c=!1,inlinePopup:u=!1,mountNode:d=void 0,multiselect:g,onOpenChange:p,size:m="medium",activeDescendantController:v,freeform:S=!1,disabled:k=!1,onActiveOptionChange:w=null}=e,x=US(),{getOptionsMatchingValue:z}=x,{getOptionById:T}=x,j=y.useCallback(()=>{const L=v.active();return L?T(L):void 0},[v,T]),N=j(),C=y.useCallback(L=>{let Z;if(typeof L=="function"){const re=j();Z=L(re)}Z?v.focus(Z.id):v.blur()},[v,j]),[E,M]=y.useState(!1),[Q,X]=y.useState(!1),oe=y.useRef(!1),ne=a2(),[ge,ie]=Wr({state:e.value,initialState:void 0}),{selectedOptions:le,selectOption:ae,clearSelection:pe}=VS(e),U=y.useCallback((L,Z)=>{t0.unstable_batchedUpdates(()=>{ie(void 0),ae(L,Z)})},[ie,ae]),J=y.useMemo(()=>{if(ge!==void 0)return ge;if(ne&&e.defaultValue!==void 0)return e.defaultValue;const L=z(Z=>le.includes(Z)).map(Z=>Z.text);return g?c?"":L.join(", "):L[0]},[ge,c,z,g,le]),[te,se]=Wr({state:e.open,defaultState:e.defaultOpen,initialState:!1}),Te=y.useCallback((L,Z)=>{k||(p==null||p(L,{open:Z}),t0.unstable_batchedUpdates(()=>{!Z&&!S&&ie(void 0),se(Z)}))},[p,se,ie,S,k]);y.useEffect(()=>{if(te){if(!g&&le.length>0){const L=z(Z=>Z===le[0]).pop();L!=null&&L.id&&v.focus(L.id)}}else v.blur()},[te,v]),y.useEffect(()=>{te&&!n&&!v.active()&&v.first()},[te,a,n,v,T]);const D=_e(L=>{const Z=L.detail.previousId?x.getOptionById(L.detail.previousId):null,re=x.getOptionById(L.detail.id);w==null||w(L,{event:L,type:"change",previousOption:Z,nextOption:re})});return{...x,freeform:S,disabled:k,selectOption:U,clearSelection:pe,selectedOptions:le,activeOption:N,appearance:r,clearable:s,focusVisible:E,ignoreNextBlur:oe,inlinePopup:u,mountNode:d,open:te,hasFocus:Q,setActiveOption:C,setFocusVisible:M,setHasFocus:X,setOpen:Te,setValue:ie,size:m,value:J,multiselect:g,onOptionClick:_e(L=>{g||Te(L,!1)}),onActiveDescendantChange:D}};function f9(e){const{positioning:r}=e,a={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Ns(r)},{targetRef:s,containerRef:c}=_g(a);return[c,s]}function d9(e,r,n){const{state:{multiselect:a},triggerRef:s,defaultProps:c}=n,u=Go("fluent-listbox",Wx(e)?e.id:void 0),d=et(e,{renderByDefault:!0,elementType:Cg,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),g=Zi({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&g["aria-labelledby"]&&(d["aria-labelledby"]=g["aria-labelledby"]);const p=_e(We(S=>{S.preventDefault()},d==null?void 0:d.onMouseDown)),m=_e(We(S=>{var k;S.preventDefault(),(k=s.current)===null||k===void 0||k.focus()},d==null?void 0:d.onClick)),v=Nt(d==null?void 0:d.ref,r);return d&&(d.ref=v,d.onMouseDown=p,d.onClick=m),d}function h9(e,r,n){const{state:{open:a,setOpen:s,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:g}=n,p=Ve(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),m=y.useRef(null);return p.ref=Nt(m,p.ref,r),p.onBlur=We(v=>{s(v,!1),c(!1)},p.onBlur),p.onFocus=We(v=>{v.target===v.currentTarget&&c(!0)},p.onFocus),p.onClick=We(v=>{s(v,!a)},p.onClick),p.onKeyDown=We(g9({activeDescendantController:g,...n.state}),p.onKeyDown),p}function g9(e){const{activeDescendantController:r,getOptionById:n,setOpen:a,selectOption:s,multiselect:c,open:u}=e,d=y.useCallback(()=>{const x=r.active();return x?n(x):void 0},[r,n]),g=()=>{r.first()},p=()=>{r.last()},m=x=>{x?r.next():r.first()},v=x=>{x?r.prev():r.first()},S=()=>{for(let x=0;x<10;x++)r.prev()},k=()=>{for(let x=0;x<10;x++)r.next()},w=TT();return _e(x=>{const z=Eu(x,{open:u,multiselect:c}),T=d();switch(z){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":x.preventDefault();break}switch(w(!0),z){case"First":g();break;case"Last":p();break;case"Next":m(T);break;case"Previous":v(T);break;case"PageDown":k();break;case"PageUp":S();break;case"Open":a(x,!0);break;case"Close":x.stopPropagation(),a(x,!1);break;case"CloseSelect":!c&&!(T!=null&&T.disabled)&&a(x,!1);case"Select":T&&s(x,T);break;case"Tab":!c&&T&&s(x,T);break}})}function p9(e,r,n){"use no memo";const{state:{open:a,value:s,selectOption:c,setValue:u,multiselect:d,selectedOptions:g,clearSelection:p,getOptionById:m,setOpen:v},freeform:S,defaultProps:k,activeDescendantController:w}=n,x=X=>{if(!a&&!S){const oe=w.active(),ne=oe?m(oe):null;s&&ne&&s.trim().toLowerCase()===(ne==null?void 0:ne.text.toLowerCase())&&c(X,ne),u(void 0)}},z=X=>{const oe=X==null?void 0:X.trim().toLowerCase();if(!oe||oe.length===0){w.blur();return}const ne=ie=>ie.toLowerCase().indexOf(oe)===0,ge=w.find(ie=>{const le=m(ie);return!!le&&ne(le.text)});if(!ge){w.blur();return}return m(ge)},T=X=>{const oe=X.target.value;u(oe);const ne=z(oe);!d&&g.length===1&&(oe.length<1||!ne)&&p(X)},j=h9(e,r,{state:n.state,defaultProps:k,elementType:"input",activeDescendantController:w});j.onChange=We(j.onChange,T),j.onBlur=We(j.onBlur,x);const[N,C]=y.useState(!1),E=y.useRef(!1),M=j.onKeyDown,Q=_e(X=>{!a&&Eu(X)==="Type"&&v(X,!0),X.key===RN||X.key===AN?C(!0):C(!1);const oe=Eu(X,{open:a,multiselect:d});if(oe==="Type"?E.current=!0:(oe==="Open"&&X.key!==" "||oe==="Next"||oe==="Previous"||oe==="First"||oe==="Last"||oe==="PageUp"||oe==="PageDown")&&(E.current=!1),(E.current||!a)&&X.key===" "){var ne;e==null||(ne=e.onKeyDown)===null||ne===void 0||ne.call(e,X);return}M==null||M(X)});return j.onKeyDown=Q,N&&(j["aria-activedescendant"]=void 0),j}const m9=(e,r)=>{"use no memo";var n,a;e=Zi(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:s,activeParentRef:c,controller:u}=Z2({matchOption:fe=>fe.classList.contains(ju.root)}),d=u9({...e,editable:!0,activeDescendantController:u}),{appearance:g,size:p,...m}=d,{clearable:v,clearSelection:S,disabled:k,multiselect:w,open:x,selectedOptions:z,setOpen:T,value:j,hasFocus:N}=m,[C,E]=f9(e),{disableAutoFocus:M=!1,freeform:Q,inlinePopup:X}=e,oe=Go("combobox-"),{primary:ne,root:ge}=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),ie=y.useRef(null),le=d9(e.listbox,Nt(C,s),{state:d,triggerRef:ie,defaultProps:{children:e.children,disableAutoFocus:M}});var ae;const pe=p9((ae=e.input)!==null&&ae!==void 0?ae:{},Nt(ie,c,r),{state:d,freeform:Q,defaultProps:{type:"text",value:j??"","aria-controls":x?le==null?void 0:le.id:void 0,...ne},activeDescendantController:u}),U=Ve(e.root,{defaultProps:{"aria-owns":!X&&x?le==null?void 0:le.id:void 0,...ge},elementType:"div"});U.ref=Nt(U.ref,E);const J=z.length>0&&!k&&v&&!w,te={components:{root:"div",input:"input",expandIcon:"span",listbox:Cg,clearIcon:"span"},root:U,input:pe,listbox:x||N?le:void 0,clearIcon:et(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:et(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":k?"true":void 0,"aria-expanded":x,role:"button"},elementType:"span"}),showClearIcon:J,activeDescendantController:u,...m},{targetDocument:se}=dt();s2({element:se,callback:fe=>T(fe,!1),refs:[ie,C,E],disabled:!x});const{onMouseDown:Te}=te.expandIcon||{},D=_e(We(Te,fe=>{var ke;fe.preventDefault(),te.setOpen(fe,!te.open),(ke=ie.current)===null||ke===void 0||ke.focus()}));if(te.expandIcon){te.expandIcon.onMouseDown=D;const fe=te.expandIcon["aria-label"]||te.expandIcon["aria-labelledby"],ke="Open";if(!fe)if(e["aria-labelledby"]){var L;const Oe=(L=te.expandIcon.id)!==null&&L!==void 0?L:`${oe}-chevron`,xe=`${Oe} ${te.input["aria-labelledby"]}`;te.expandIcon["aria-label"]=ke,te.expandIcon.id=Oe,te.expandIcon["aria-labelledby"]=xe}else e["aria-label"]?te.expandIcon["aria-label"]=`${ke} ${e["aria-label"]}`:te.expandIcon["aria-label"]=ke}const Z=_e(We((n=te.clearIcon)===null||n===void 0?void 0:n.onMouseDown,fe=>{fe.preventDefault()})),re=_e(We((a=te.clearIcon)===null||a===void 0?void 0:a.onClick,fe=>{S(fe)}));return te.clearIcon&&(te.clearIcon.onMouseDown=Z,te.clearIcon.onClick=re),w&&(te.clearIcon=void 0),te},v9=(e,r)=>{"use no memo";const{appearance:n="outline",size:a="medium",...s}=e,c=m9(s,r);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=y.createElement(gC,null))}if(c.expandIcon){var g,p;(p=(g=c.expandIcon).children)!==null&&p!==void 0||(g.children=y.createElement(fC,null))}return{...c,appearance:n,size:a}},b9=(e,r)=>ue(e.root,{children:ue(Q2,{value:r.activeDescendant,children:ue($8,{value:r.listbox,children:kt(IS.Provider,{value:r.combobox,children:[ue(e.input,{}),e.clearIcon&&ue(e.clearIcon,{}),e.expandIcon&&ue(e.expandIcon,{}),e.listbox&&(e.inlinePopup?ue(e.listbox,{}):ue(Cs,{mountNode:e.mountNode,children:ue(e.listbox,{})}))]})})})}),Zl={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},y9=Se({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",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:"f145g4dw",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"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},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:"f88035w"},"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:"f88035w"},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"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".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;}",".f145g4dw::after{height:max(2px, 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;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{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);}"],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)"}]],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);}"]}),x9=Se({input:{qb2dma:"f1ub7u0d",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",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),S9=Se({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",qhf8xq:"f10pi13n",Bo70h7d:"fvc9v3g",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["f1gwjbcf","f1rbysb6"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["fpsl3z4","f1po37t9"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],B1piin3:["f1je5ipm","fb53jzl"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f10pi13n{position:relative;}",".fvc9v3g svg{display:block;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1gwjbcf::after{right:calc(-1 * var(--spacingHorizontalSNudge));}",".f1rbysb6::after{left:calc(-1 * var(--spacingHorizontalSNudge));}",".fe5j1ua{font-size:20px;}",".fpsl3z4::after{right:calc(-1 * var(--spacingHorizontalMNudge));}",".f1po37t9::after{left:calc(-1 * var(--spacingHorizontalMNudge));}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1je5ipm::after{right:calc(-1 * var(--spacingHorizontalM));}",".fb53jzl::after{left:calc(-1 * var(--spacingHorizontalM));}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),w9=e=>{"use no memo";const{appearance:r,open:n,size:a,showClearIcon:s}=e,c=`${e.input["aria-invalid"]}`=="true",u=e.input.disabled,d=y9(),g=S9(),p=x9();return e.root.className=ve(Zl.root,d.root,d[r],d[a],!u&&r==="outline"&&d.outlineInteractive,c&&r!=="underline"&&d.invalid,c&&r==="underline"&&d.invalidUnderline,u&&d.disabled,e.root.className),e.input.className=ve(Zl.input,p.input,p[a],u&&p.disabled,e.input.className),e.listbox&&(e.listbox.className=ve(Zl.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=ve(Zl.expandIcon,g.icon,g[a],u&&g.disabled,s&&g.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=ve(Zl.clearIcon,g.icon,g[a],u&&g.disabled,!s&&g.hidden,e.clearIcon.className)),e},XS=y.forwardRef((e,r)=>{const n=v9(e,r),a=K8(n);return w9(n),ht("useComboboxStyles_unstable")(n),b9(n,a)});XS.displayName="Combobox";const k9=(e,r)=>{e=Zi(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=eg();var a;const{size:s="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=B9(u,r);return{size:s,appearance:c,...d}},B9=(e,r)=>{const{onChange:n}=e,[a,s]=Wr({state:e.value,defaultState:e.defaultValue,initialState:""}),c=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),u={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Ve(e.input,{defaultProps:{type:"text",ref:r,...c.primary},elementType:"input"}),contentAfter:et(e.contentAfter,{elementType:"span"}),contentBefore:et(e.contentBefore,{elementType:"span"}),root:Ve(e.root,{defaultProps:c.root,elementType:"span"})};return u.input.value=a,u.input.onChange=_e(d=>{const g=d.target.value;n==null||n(d,{value:g}),s(g)}),u},_9=e=>kt(e.root,{children:[e.contentBefore&&ue(e.contentBefore,{}),ue(e.input,{}),e.contentAfter&&ue(e.contentAfter,{})]}),ru={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},z9=Le("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;}}"]}),T9=Se({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;}"]}),N9=Le("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;}"]),C9=Se({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);}"]}),E9=Le("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),j9=Se({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;}"]}),R9=e=>{"use no memo";const{size:r,appearance:n}=e,a=e.input.disabled,s=`${e.input["aria-invalid"]}`=="true",c=n.startsWith("filled"),u=T9(),d=C9(),g=j9();e.root.className=ve(ru.root,z9(),u[r],e.contentBefore&&u[`${r}WithContentBefore`],e.contentAfter&&u[`${r}WithContentAfter`],u[n],!a&&n==="outline"&&u.outlineInteractive,!a&&n==="underline"&&u.underlineInteractive,!a&&c&&u.filledInteractive,c&&u.filled,!a&&s&&u.invalid,a&&u.disabled,e.root.className),e.input.className=ve(ru.input,N9(),d[r],e.contentBefore&&d[`${r}WithContentBefore`],e.contentAfter&&d[`${r}WithContentAfter`],a&&d.disabled,e.input.className);const p=[E9(),a&&g.disabled,g[r]];return e.contentBefore&&(e.contentBefore.className=ve(ru.contentBefore,...p,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=ve(ru.contentAfter,...p,e.contentAfter.className)),e},R0=y.forwardRef((e,r)=>{const n=k9(e,r);return R9(n),ht("useInputStyles_unstable")(n),_9(n)});R0.displayName="Input";const A9=y.createContext(void 0),D9=A9.Provider,WS=y.createContext(void 0),O9={};WS.Provider;const M9=()=>{var e;return(e=y.useContext(WS))!==null&&e!==void 0?e:O9},q9=(e,r)=>{const{size:n}=M9(),{appearance:a="primary",size:s=n??"medium",...c}=e,u=F9(c,r);return{...u,appearance:a,size:s,components:{...u.components,label:Kr},label:et(e.label,{defaultProps:u.label,elementType:Kr})}},F9=(e,r)=>{const{delay:n=0,labelPosition:a="after"}=e,s=Go("spinner"),{role:c="progressbar",...u}=e,d=Ve(Ut("div",{ref:r,role:c,...u}),{elementType:"div"}),[g,p]=y.useState(!1),[m,v]=og();y.useEffect(()=>{if(!(n<=0))return m(()=>{p(!0)},n),()=>{v()}},[m,v,n]);const S=et(e.label,{defaultProps:{id:s},renderByDefault:!1,elementType:"label"}),k=et(e.spinner,{renderByDefault:!0,elementType:"span"});return S&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=S.id),{delay:n,labelPosition:a,shouldRenderSpinner:!n||g,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:k,spinnerTail:Ve(e.spinnerTail,{elementType:"span"}),label:S}},H9=e=>{const{labelPosition:r,shouldRenderSpinner:n}=e;return kt(e.root,{children:[e.label&&n&&(r==="above"||r==="before")&&ue(e.label,{}),e.spinner&&n&&ue(e.spinner,{children:e.spinnerTail&&ue(e.spinnerTail,{})}),e.label&&n&&(r==="below"||r==="after")&&ue(e.label,{})]})},nu={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},L9=Le("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),P9=Se({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),I9=Le("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;}}"]}),U9=Le("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;}}"]}),V9=Se({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)"}]]}),G9=Se({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);}"]}),X9=e=>{"use no memo";const{labelPosition:r,size:n,appearance:a}=e,{dir:s}=dt(),c=L9(),u=P9(),d=I9(),g=V9(),p=U9(),m=G9();return e.root.className=ve(nu.root,c,(r==="above"||r==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=ve(nu.spinner,d,g[n],a==="inverted"&&g.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=ve(nu.spinnerTail,p,s==="rtl"&&g.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=ve(nu.label,m[n],a==="inverted"&&m.inverted,e.label.className)),e},Pn=y.forwardRef((e,r)=>{const n=q9(e,r);return X9(n),ht("useSpinnerStyles_unstable")(n),H9(n)});Pn.displayName="Spinner";const W9=(e,r)=>{var n;const{size:a="medium",...s}=e,c=Q9(s,r);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=y.createElement(dg,null)),{...c,components:{...c.components,label:Kr},size:a,label:et(e.label,{defaultProps:{size:"medium",...c.label},elementType:Kr})}},Q9=(e,r)=>{e=Zi(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:s,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:g}=e,p=Bs({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),m=Go("switch-",p.primary.id),v=Ve(e.root,{defaultProps:{ref:E2(),...p.root},elementType:"div"}),S=Ve(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),k=Ve(e.input,{defaultProps:{checked:n,defaultChecked:a,id:m,ref:r,role:"switch",type:"checkbox",...p.primary,disabled:s&&!c,...c&&{"aria-disabled":!0}},elementType:"input"});k.onChange=We(k.onChange,x=>d==null?void 0:d(x,{checked:x.currentTarget.checked})),k.onClick=We(k.onClick,x=>{c&&x.preventDefault()}),k.onKeyDown=We(k.onKeyDown,x=>{c&&(x.key===" "||x.key==="Enter")&&x.preventDefault()});const w=et(e.label,{defaultProps:{disabled:s||c,htmlFor:m,required:g},elementType:"label"});return{disabledFocusable:c,labelPosition:u,components:{root:"div",indicator:"div",input:"input",label:"label"},root:v,indicator:S,input:k,label:w}},Y9=e=>{const{labelPosition:r}=e;return kt(e.root,{children:[ue(e.input,{}),r!=="after"&&e.label&&ue(e.label,{}),ue(e.indicator,{}),r==="after"&&e.label&&ue(e.label,{})]})},au={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},$9=Le("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),K9=Se({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),Z9=Le("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),J9=Se({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),ej=Le("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),tj=Se({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),oj=Se({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),rj=e=>{"use no memo";const r=$9(),n=K9(),a=Z9(),s=J9(),c=ej(),u=tj(),d=oj(),{label:g,labelPosition:p,size:m}=e;return e.root.className=ve(au.root,r,p==="above"&&n.vertical,e.root.className),e.indicator.className=ve(au.indicator,a,g&&p==="above"&&s.labelAbove,m==="small"&&s.sizeSmall,e.indicator.className),e.input.className=ve(au.input,c,g&&u[p],m==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=ve(au.label,d.base,d[p],m==="small"&&d.sizeSmall,e.label.className)),e},QS=y.forwardRef((e,r)=>{const n=W9(e,r);return rj(n),ht("useSwitchStyles_unstable")(n),Y9(n)});QS.displayName="Switch";const nj=(e,r)=>{const{wrap:n,truncate:a,block:s,italic:c,underline:u,strikethrough:d,size:g,font:p,weight:m,align:v}=e;return{align:v??"start",block:s??!1,font:p??"base",italic:c??!1,size:g??300,strikethrough:d??!1,truncate:a??!1,underline:u??!1,weight:m??"regular",wrap:n??!0,components:{root:"span"},root:Ve(Ut("span",{ref:r,...e}),{elementType:"span"})}},aj=e=>ue(e.root,{}),ij={root:"fui-Text"},lj=Se({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;}"]}),sj=e=>{"use no memo";const r=lj();return e.root.className=ve(ij.root,r.root,e.wrap===!1&&r.nowrap,e.truncate&&r.truncate,e.block&&r.block,e.italic&&r.italic,e.underline&&r.underline,e.strikethrough&&r.strikethrough,e.underline&&e.strikethrough&&r.strikethroughUnderline,e.size===100&&r.base100,e.size===200&&r.base200,e.size===400&&r.base400,e.size===500&&r.base500,e.size===600&&r.base600,e.size===700&&r.hero700,e.size===800&&r.hero800,e.size===900&&r.hero900,e.size===1e3&&r.hero1000,e.font==="monospace"&&r.monospace,e.font==="numeric"&&r.numeric,e.weight==="medium"&&r.weightMedium,e.weight==="semibold"&&r.weightSemibold,e.weight==="bold"&&r.weightBold,e.align==="center"&&r.alignCenter,e.align==="end"&&r.alignEnd,e.align==="justify"&&r.alignJustify,e.root.className),e};function Ca(e){const{useStyles:r,className:n,displayName:a}=e,s=y.forwardRef((c,u)=>{"use no memo";const d=r(),g=nj(c,u);return sj(g),g.root.className=ve(n,g.root.className,d.root,c.className),aj(g)});return s.displayName=a,s}const cj={root:"fui-Body1"},uj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),er=Ca({useStyles:uj,className:cj.root,displayName:"Body1"}),fj={root:"fui-Body1Strong"},dj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),YS=Ca({useStyles:dj,className:fj.root,displayName:"Body1Strong"}),hj={root:"fui-Body2"},gj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".figsok6{font-weight:var(--fontWeightRegular);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Eg=Ca({useStyles:gj,className:hj.root,displayName:"Body2"}),pj={root:"fui-Caption1"},mj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),ao=Ca({useStyles:mj,className:pj.root,displayName:"Caption1"}),vj={root:"fui-Subtitle2"},bj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Ho=Ca({useStyles:bj,className:vj.root,displayName:"Subtitle2"}),yj={root:"fui-Title2"},xj=Se({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]}),A0=Ca({useStyles:xj,className:yj.root,displayName:"Title2"}),Sj={root:"fui-Title3"},wj=Se({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);}"]}),yi=Ca({useStyles:wj,className:Sj.root,displayName:"Title3"}),kj=e=>ue(e.root,{children:ue(e.textarea,{})}),Bj=(e,r)=>{const n=eg();var a;const{size:s="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e;return{..._j(u,r),size:s,appearance:c}},_j=(e,r)=>{e=Zi(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:n="none",onChange:a}=e,[s,c]=Wr({state:e.value,defaultState:e.defaultValue,initialState:void 0}),u=Bs({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:n,components:{root:"span",textarea:"textarea"},textarea:Ve(e.textarea,{defaultProps:{ref:r,...u.primary},elementType:"textarea"}),root:Ve(e.root,{defaultProps:u.root,elementType:"span"})};return d.textarea.value=s,d.textarea.onChange=_e(g=>{const p=g.target.value;a==null||a(g,{value:p}),c(p)}),d},xy={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},zj=Se({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),Tj=Se({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Nj=Se({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),Cj=e=>{"use no memo";const{size:r,appearance:n,resize:a}=e,s=e.textarea.disabled,c=`${e.textarea["aria-invalid"]}`=="true",u=n.startsWith("filled"),d=zj();e.root.className=ve(xy.root,d.base,s&&d.disabled,!s&&u&&d.filled,!s&&d[n],!s&&d.interactive,!s&&n==="outline"&&d.outlineInteractive,!s&&c&&d.invalid,e.root.className);const g=Tj(),p=Nj();return e.textarea.className=ve(xy.textarea,g.base,g[r],p[a],s&&g.disabled,e.textarea.className),e},$S=y.forwardRef((e,r)=>{const n=Bj(e,r);return Cj(n),ht("useTextareaStyles_unstable")(n),kj(n)});$S.displayName="Textarea";const Ej=Le("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),jj=Le("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function Rj(){const e=Ej(),r=jj(),{targetDocument:n}=dt(),a=y.useCallback(()=>{var c;if(!n)return;var u;Math.floor(n.body.getBoundingClientRect().height)>((u=(c=n.defaultView)===null||c===void 0?void 0:c.innerHeight)!==null&&u!==void 0?u:0)&&(n.documentElement.classList.add(e),n.body.classList.add(r))},[n,e,r]),s=y.useCallback(()=>{n&&(n.documentElement.classList.remove(e),n.body.classList.remove(r))},[n,e,r]);return{disableBodyScroll:a,enableBodyScroll:s}}function Aj(e,r){const{findFirstFocusable:n}=z2(),{targetDocument:a}=dt(),s=y.useRef(null);return y.useEffect(()=>{if(!e)return;const c=s.current&&n(s.current);if(c)c.focus();else{var u;(u=s.current)===null||u===void 0||u.focus()}},[n,e,r,a]),s}const Dj={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},jg=$u(void 0),Oj=jg.Provider,$o=e=>cg(jg,(r=Dj)=>e(r)),Mj=!1,KS=y.createContext(void 0),ZS=KS.Provider,qj=()=>{var e;return(e=y.useContext(KS))!==null&&e!==void 0?e:Mj},JS=y.createContext(void 0);JS.Provider;const Fj=()=>y.useContext(JS),Sy=zs(bg,{outScale:.85,easing:vt.curveDecelerateMid,duration:vt.durationGentle,exitEasing:vt.curveAccelerateMin,exitDuration:vt.durationGentle}),Hj=e=>{const{children:r,modalType:n="modal",onOpenChange:a,inertTrapFocus:s=!1,unmountOnClose:c=!0}=e,u=Go("dialog-title-"),[d,g]=Lj(r),[p,m]=Wr({state:e.open,defaultState:e.defaultOpen,initialState:!1}),v=_e(z=>{a==null||a(z.event,z),z.event.isDefaultPrevented()||m(z.open)}),S=Aj(p,n),{modalAttributes:k,triggerAttributes:w}=Yu({trapFocus:n!=="non-modal",legacyTrapFocus:!s}),x=ug(jg);return{components:{surfaceMotion:Sy},inertTrapFocus:s,open:p,modalType:n,content:g,trigger:d,requestOpenChange:v,dialogTitleId:u,isNestedDialog:x,unmountOnClose:c,dialogRef:S,modalAttributes:k,triggerAttributes:w,surfaceMotion:vg(e.surfaceMotion,{elementType:Sy,defaultProps:{visible:p,appear:c,unmountOnExit:c}})}};function Lj(e){const r=y.Children.toArray(e);switch(r.length){case 2:return r;case 1:return[void 0,r[0]];default:return[void 0,void 0]}}const Pj=(e,r)=>ue(Oj,{value:r.dialog,children:kt(ZS,{value:r.dialogSurface,children:[e.trigger,e.content&&ue(e.surfaceMotion,{children:ue(mg,{children:e.content})})]})});function Ij(e){const{modalType:r,open:n,dialogRef:a,dialogTitleId:s,isNestedDialog:c,inertTrapFocus:u,requestOpenChange:d,modalAttributes:g,triggerAttributes:p,unmountOnClose:m}=e;return{dialog:y.useMemo(()=>({open:n,modalType:r,dialogRef:a,dialogTitleId:s,isNestedDialog:c,inertTrapFocus:u,modalAttributes:g,triggerAttributes:p,unmountOnClose:m,requestOpenChange:d}),[n,r,a,s,c,u,g,p,m,d]),dialogSurface:!1}}const e5=y.memo(e=>{const r=Hj(e),n=Ij(r);return Pj(r,n)});e5.displayName="Dialog";const Uj=e=>{const r=qj(),{children:n,disableButtonEnhancement:a=!1,action:s=r?"close":"open"}=e,c=Gu(n),u=$o(v=>v.requestOpenChange),{triggerAttributes:d}=Yu(),g=_e(v=>{var S,k;c==null||(S=(k=c.props).onClick)===null||S===void 0||S.call(k,v),v.isDefaultPrevented()||u({event:v,type:"triggerClick",open:s==="open"})}),p={...c==null?void 0:c.props,ref:Vu(c),onClick:g,...d},m=_u((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...p,type:"button"});return{children:rg(n,a?p:m)}},Vj=e=>e.children,ki=e=>{const r=Uj(e);return Vj(r)};ki.displayName="DialogTrigger";ki.isFluentTriggerComponent=!0;const Gj=(e,r)=>{const{position:n="end",fluid:a=!1}=e;return{components:{root:"div"},root:Ve(Ut("div",{ref:r,...e}),{elementType:"div"}),position:n,fluid:a}},Xj=e=>ue(e.root,{}),Wj={root:"fui-DialogActions"},Qj=Le("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),Yj=Se({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),$j=e=>{"use no memo";const r=Qj(),n=Yj();return e.root.className=ve(Wj.root,r,e.position==="start"&&n.gridPositionStart,e.position==="end"&&n.gridPositionEnd,e.fluid&&e.position==="start"&&n.fluidStart,e.fluid&&e.position==="end"&&n.fluidEnd,e.root.className),e},t5=y.forwardRef((e,r)=>{const n=Gj(e,r);return $j(n),ht("useDialogActionsStyles_unstable")(n),Xj(n)});t5.displayName="DialogActions";const Kj=(e,r)=>{var n;return{components:{root:"div"},root:Ve(Ut((n=e.as)!==null&&n!==void 0?n:"div",{ref:r,...e}),{elementType:"div"})}},Zj=e=>ue(e.root,{}),Jj={root:"fui-DialogBody"},eR=Le("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),tR=e=>{"use no memo";const r=eR();return e.root.className=ve(Jj.root,r,e.root.className),e},o5=y.forwardRef((e,r)=>{const n=Kj(e,r);return tR(n),ht("useDialogBodyStyles_unstable")(n),Zj(n)});o5.displayName="DialogBody";const wy={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},oR=Le("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),rR=Se({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),nR=Le("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),aR=Le("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),iR=e=>{"use no memo";const r=oR(),n=nR(),a=rR();return e.root.className=ve(wy.root,r,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=ve(wy.action,n,e.action.className)),e},lR=(e,r)=>{const{action:n}=e,a=$o(c=>c.modalType),s=aR();return{components:{root:"h2",action:"div"},root:Ve(Ut("h2",{ref:r,id:$o(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:et(n,{renderByDefault:a==="non-modal",defaultProps:{children:y.createElement(ki,{disableButtonEnhancement:!0,action:"close"},y.createElement("button",{type:"button",className:s,"aria-label":"close"},y.createElement(BC,null)))},elementType:"div"})}},sR=e=>kt(y.Fragment,{children:[ue(e.root,{children:e.root.children}),e.action&&ue(e.action,{})]}),r5=y.forwardRef((e,r)=>{const n=lR(e,r);return iR(n),ht("useDialogTitleStyles_unstable")(n),sR(n)});r5.displayName="DialogTitle";const ky=HC,cR=(e,r)=>{const n=pg(),a=$o(N=>N.modalType),s=$o(N=>N.isNestedDialog),c=Fj(),u=c??s,d=$o(N=>N.modalAttributes),g=$o(N=>N.dialogRef),p=$o(N=>N.requestOpenChange),m=$o(N=>N.dialogTitleId),v=$o(N=>N.open),S=$o(N=>N.unmountOnClose),k=_e(N=>{if(Wx(e.backdrop)){var C,E;(C=(E=e.backdrop).onClick)===null||C===void 0||C.call(E,N)}a==="modal"&&!N.isDefaultPrevented()&&p({event:N,open:!1,type:"backdropClick"})}),w=_e(N=>{var C;(C=e.onKeyDown)===null||C===void 0||C.call(e,N),N.key===Ku&&!N.isDefaultPrevented()&&(p({event:N,open:!1,type:"escapeKeyDown"}),N.preventDefault())}),x=et(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),z=x==null?void 0:x.appearance;x&&(x.onClick=k,delete x.appearance);const{disableBodyScroll:T,enableBodyScroll:j}=Rj();return Rt(()=>{if(!v){j();return}if(!(s||a==="non-modal"))return T(),()=>j()},[v,a,s,T,j]),{components:{backdrop:"div",root:"div",backdropMotion:ky},open:v,backdrop:x,isNestedDialog:s,treatBackdropAsNested:u,backdropAppearance:z,unmountOnClose:S,mountNode:e.mountNode,root:Ve(Ut("div",{tabIndex:-1,role:a==="alert"?"alertdialog":"dialog","aria-modal":a!=="non-modal","aria-labelledby":e["aria-label"]?void 0:m,"aria-hidden":!S&&!v?!0:void 0,...e,...d,onKeyDown:w,ref:Nt(r,n,g)}),{elementType:"div"}),backdropMotion:vg(e.backdropMotion,{elementType:ky,defaultProps:{appear:S,visible:v}}),transitionStatus:void 0}},uR=(e,r)=>kt(Cs,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ue(e.backdropMotion,{children:ue(e.backdrop,{})}),ue(fS,{children:ue(ZS,{value:r.dialogSurface,children:ue(e.root,{})})})]}),By={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},fR=Le("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),dR=Le("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),hR=Se({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),gR=e=>{"use no memo";const{root:r,backdrop:n,open:a,unmountOnClose:s,treatBackdropAsNested:c,backdropAppearance:u}=e,d=fR(),g=dR(),p=hR(),m=u?u==="transparent":c,v=!s&&!a;return r.className=ve(By.root,d,v&&p.dialogHidden,r.className),n&&(n.className=ve(By.backdrop,g,v&&p.dialogHidden,m&&p.nestedDialogBackdrop,n.className)),e};function pR(e){return{dialogSurface:!0}}const n5=y.forwardRef((e,r)=>{const n=cR(e,r),a=pR();return gR(n),ht("useDialogSurfaceStyles_unstable")(n),uR(n,a)});n5.displayName="DialogSurface";const mR=(e,r)=>{var n;return{components:{root:"div"},root:Ve(Ut((n=e.as)!==null&&n!==void 0?n:"div",{ref:r,...e}),{elementType:"div"})}},vR=e=>ue(e.root,{}),bR={root:"fui-DialogContent"},yR=Le("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),xR=e=>{"use no memo";const r=yR();return e.root.className=ve(bR.root,r,e.root.className),e},a5=y.forwardRef((e,r)=>{const n=mR(e,r);return xR(n),ht("useDialogContentStyles_unstable")(n),vR(n)});a5.displayName="DialogContent";function SR(e){switch(e){case"info":return y.createElement(KN,null);case"warning":return y.createElement(QN,null);case"error":return y.createElement(hC,null);case"success":return y.createElement(Qr,null);default:return null}}function wR(e=!1){const{targetDocument:r}=dt(),n=y.useReducer(()=>({}),{})[1],a=y.useRef(!1),s=y.useRef(null),c=y.useRef(-1),u=y.useCallback(g=>{var p,m;const v=g[0];var S;const k=(S=v==null||(m=v.borderBoxSize)===null||m===void 0||(p=m[0])===null||p===void 0?void 0:p.inlineSize)!==null&&S!==void 0?S:v==null?void 0:v.target.getBoundingClientRect().width;if(k===void 0||!v)return;const{target:w}=v;if(!In(w))return;let x;if(a.current)c.current<k&&(x=!1);else{const z=w.scrollWidth;k<z&&(x=!0)}c.current=k,typeof x<"u"&&a.current!==x&&(a.current=x,n())},[n]),d=y.useCallback(g=>{var p;if(!e||!g||!(r!=null&&r.defaultView))return;(p=s.current)===null||p===void 0||p.disconnect();const m=r.defaultView,v=new m.ResizeObserver(u);s.current=v,v.observe(g,{box:"border-box"})},[r,u,e]);return y.useEffect(()=>()=>{var g;(g=s.current)===null||g===void 0||g.disconnect()},[]),{ref:d,reflowing:a.current}}const i5=y.createContext(void 0),kR={className:"",nodeRef:y.createRef()};i5.Provider;const BR=()=>{var e;return(e=y.useContext(i5))!==null&&e!==void 0?e:kR},_R=(e,r)=>{const{layout:n="auto",intent:a="info",politeness:s}=e,c=s??a==="info"?"polite":"assertive",u=n==="auto",{ref:d,reflowing:g}=wR(u),p=u?g?"multiline":"singleline":n,{className:m,nodeRef:v}=BR(),S=pg(),k=y.useRef(null),w=y.useRef(null),{announce:x}=N_(),z=Go();return y.useEffect(()=>{var T,j;const N=(T=w.current)===null||T===void 0?void 0:T.textContent,C=(j=k.current)===null||j===void 0?void 0:j.textContent,E=[N,C].filter(Boolean).join(",");x(E,{polite:c==="polite",alert:c==="assertive"})},[w,k,x,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ve(Ut("div",{ref:Nt(r,d,v,S),role:"group","aria-labelledby":z,...e}),{elementType:"div"}),icon:et(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:et(e.bottomReflowSpacer,{renderByDefault:p==="multiline",elementType:"div"}),layout:p,intent:a,transitionClassName:m,actionsRef:k,bodyRef:w,titleId:z}},zR=(e,r)=>{const{shape:n="rounded",...a}=e,s=_R(a,r);return{...s,shape:n,icon:et(e.icon,{defaultProps:{children:SR(s.intent)},renderByDefault:!0,elementType:"div"})}},l5=y.createContext(void 0),TR={titleId:"",layout:"singleline",actionsRef:y.createRef(),bodyRef:y.createRef()},NR=l5.Provider,s5=()=>{var e;return(e=y.useContext(l5))!==null&&e!==void 0?e:TR},CR=(e,r)=>ue(NR,{value:r.messageBar,children:kt(e.root,{children:[e.icon&&ue(e.icon,{}),e.root.children,e.bottomReflowSpacer&&ue(e.bottomReflowSpacer,{})]})}),Kh={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},ER=Le("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),jR=Le("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),RR=Le("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),AR=Se({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),DR=Se({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),OR=Se({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),MR=e=>{"use no memo";const r=ER(),n=jR(),a=DR(),s=OR(),c=RR(),u=AR();return e.root.className=ve(Kh.root,r,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,s[e.intent],e.root.className),e.icon&&(e.icon.className=ve(Kh.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=ve(Kh.bottomReflowSpacer,c)),e};function qR(e){const{layout:r,actionsRef:n,bodyRef:a,titleId:s}=e;return{messageBar:y.useMemo(()=>({layout:r,actionsRef:n,bodyRef:a,titleId:s}),[r,n,a,s])}}const hs=y.forwardRef((e,r)=>{const n=zR(e,r);return MR(n),ht("useMessageBarStyles_unstable")(n),CR(n,qR(n))});hs.displayName="MessageBar";const FR=(e,r)=>{const{titleId:n}=s5();return{components:{root:"span"},root:Ve(Ut("span",{ref:r,id:n,...e}),{elementType:"span"})}},HR=e=>ue(e.root,{}),LR={root:"fui-MessageBarTitle"},PR=Le("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),IR=e=>{"use no memo";const r=PR();return e.root.className=ve(LR.root,r,e.root.className),e},c5=y.forwardRef((e,r)=>{const n=FR(e,r);return IR(n),ht("useMessageBarTitleStyles_unstable")(n),HR(n)});c5.displayName="MessageBarTitle";const UR=(e,r)=>{const{bodyRef:n}=s5();return{components:{root:"div"},root:Ve(Ut("div",{ref:Nt(r,n),...e}),{elementType:"div"})}},VR=(e,r)=>ue(D9,{value:r.link,children:ue(e.root,{})}),GR={root:"fui-MessageBarBody"},XR=Le("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),WR=e=>{"use no memo";const r=XR();return e.root.className=ve(GR.root,r,e.root.className),e};function QR(e){return{link:y.useMemo(()=>({inline:!0}),[])}}const gs=y.forwardRef((e,r)=>{const n=UR(e,r),a=QR();return WR(n),ht("useMessageBarBodyStyles_unstable")(n),VR(n,a)});gs.displayName="MessageBarBody";const u5={10:"#001120",20:"#002A4D",30:"#003E70",40:"#005091",50:"#0061AC",60:"#0078D4",70:"#1B8AE0",80:"#3398E8",90:"#4FA7EE",100:"#6BB6F2",110:"#85C3F5",120:"#9FCFF7",130:"#B7DBF9",140:"#CCE5FB",150:"#DEEDFC",160:"#EFF6FE"},no={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},YR={...gN(u5)},js={...vN(u5)};js.colorNeutralBackground1="#0E1620";js.colorNeutralBackground2="#131F2D";js.colorNeutralBackground3="#1A2838";js.colorNeutralBackground4="#223145";const _y="wizardux.theme",f5=y.createContext(null);function zy(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function $R({children:e}){const[r,n]=y.useState(()=>localStorage.getItem(_y)||"system"),[a,s]=y.useState(zy);y.useEffect(()=>{const g=window.matchMedia("(prefers-color-scheme: dark)"),p=()=>s(zy());return g.addEventListener("change",p),()=>g.removeEventListener("change",p)},[]),y.useEffect(()=>{localStorage.setItem(_y,r)},[r]);const c=r==="system"?a:r,u=c==="dark"?js:YR;y.useEffect(()=>{document.body.style.background=u.colorNeutralBackground1,document.body.style.color=u.colorNeutralForeground1},[u]);const d=y.useMemo(()=>({mode:r,resolved:c,setMode:n}),[r,c]);return B.jsx(f5.Provider,{value:d,children:B.jsx(W2,{theme:u,style:{height:"100%"},children:e})})}function KR(){const e=y.useContext(f5);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}const ZR=lr({root:{display:"flex",alignItems:"center",gap:"16px",padding:"0 24px",borderBottom:`1px solid ${q.colorNeutralStroke2}`,backgroundColor:q.colorNeutralBackground1Hover,backdropFilter:"blur(20px) saturate(180%)"},brand:{display:"flex",alignItems:"center",gap:"12px",color:q.colorNeutralForeground1,textDecoration:"none"},badge:{width:"32px",height:"32px",borderRadius:"8px",background:no.accent,display:"grid",placeItems:"center",color:"#ffffff",fontWeight:700,boxShadow:q.shadow8},spacer:{flex:1},navLinks:{display:"flex",gap:"4px"},navLink:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"6px",color:q.colorNeutralForeground2,textDecoration:"none",fontSize:q.fontSizeBase300},navLinkActive:{backgroundColor:q.colorNeutralBackground3,color:q.colorNeutralForeground1}});function JR(){const e=ZR(),{mode:r,setMode:n}=KR(),a=Vo(),s=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=r==="system"?"light":r==="light"?"dark":"system",u=r==="dark"?YN:r==="light"?$N:J2;return B.jsxs("header",{className:e.root,children:[B.jsxs(Ur,{to:"/",className:e.brand,children:[B.jsx("div",{className:e.badge,children:"F"}),B.jsx(YS,{children:"Foundations"})]}),B.jsx("div",{className:e.spacer}),B.jsxs("nav",{className:e.navLinks,children:[B.jsxs(Ur,{to:"/",className:ve(e.navLink,s("/")&&e.navLinkActive),children:[B.jsx(tS,{})," Home"]}),B.jsxs(Ur,{to:"/summary",className:ve(e.navLink,s("/summary")&&e.navLinkActive),children:[B.jsx(dC,{})," Summary"]}),B.jsxs(Ur,{to:"/diagnostics",className:ve(e.navLink,s("/diagnostics")&&e.navLinkActive),children:[B.jsx(zu,{})," Diagnostics"]})]}),B.jsx(Ng,{relationship:"label",content:`Theme: ${r}. Click to cycle.`,children:B.jsx(mt,{appearance:"subtle",icon:B.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})})]})}const eA=lr({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function d5(){const e=eA(),r=y.useRef(null);return y.useEffect(()=>{const n=r.current;if(!n)return;const a=n.getContext("2d");if(!a)return;const s=window.matchMedia("(prefers-reduced-motion: reduce)").matches;let c=0;function u(){const g=Math.min(window.devicePixelRatio||1,2);n.width=n.clientWidth*g,n.height=n.clientHeight*g,a.scale(g,g)}u(),window.addEventListener("resize",u);function d(g){const p=n.clientWidth,m=n.clientHeight;a.clearRect(0,0,p,m);const v=s?0:g/6e3,S=p*(.28+.15*Math.sin(v)),k=m*(.38+.1*Math.cos(v*1.2)),w=a.createRadialGradient(S,k,0,S,k,Math.max(p,m)*.7);w.addColorStop(0,"rgba(0, 120, 212, 0.55)"),w.addColorStop(1,"rgba(0, 120, 212, 0)"),a.fillStyle=w,a.fillRect(0,0,p,m);const x=p*(.72+.1*Math.cos(v*.8)),z=m*(.55+.12*Math.sin(v*1.5)),T=a.createRadialGradient(x,z,0,x,z,Math.max(p,m)*.6);T.addColorStop(0,"rgba(92, 45, 145, 0.45)"),T.addColorStop(1,"rgba(92, 45, 145, 0)"),a.fillStyle=T,a.fillRect(0,0,p,m);const j=p*(.4+.18*Math.cos(v*.6+1.7)),N=m*(.85+.1*Math.sin(v*.9)),C=a.createRadialGradient(j,N,0,j,N,Math.max(p,m)*.55);C.addColorStop(0,"rgba(0, 130, 114, 0.35)"),C.addColorStop(1,"rgba(0, 130, 114, 0)"),a.fillStyle=C,a.fillRect(0,0,p,m),s||(c=requestAnimationFrame(d))}return c=requestAnimationFrame(d),()=>{cancelAnimationFrame(c),window.removeEventListener("resize",u)}},[]),B.jsx("canvas",{ref:r,className:e.canvas,"aria-hidden":"true"})}let iu=null;async function tA(){if(iu)return iu;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return iu=(await e.json()).csrfToken,iu}async function da(e,r,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await tA());const s=await fetch(r,{method:e,headers:a,body:n!==void 0?JSON.stringify(n):void 0,credentials:"same-origin"});if(!s.ok){let c=null;try{c=await s.json()}catch{}const u=(c==null?void 0:c.error)||`${e} ${r} failed (${s.status})`,d=new Error(u);throw d.payload=c,d.status=s.status,d}return s.json()}const Ji={state:()=>da("GET","/api/state"),resetState:()=>da("POST","/api/state/reset",{}),jumpTo:e=>da("POST","/api/state/jump",{step:e}),system:()=>da("GET","/api/system"),steps:()=>da("GET","/api/steps"),questions:e=>da("GET",`/api/steps/${e}/questions`),apply:(e,r)=>da("POST",`/api/steps/${e}/apply`,{answers:r})};function Rg(){return qu({queryKey:["state"],queryFn:()=>Ji.state(),refetchInterval:5e3})}function h5(){return qu({queryKey:["system"],queryFn:()=>Ji.system(),staleTime:3e4})}function Ag(){return qu({queryKey:["steps"],queryFn:()=>Ji.steps(),refetchInterval:5e3})}function oA(e){return qu({queryKey:["questions",e],queryFn:()=>Ji.questions(e),enabled:e!=null})}const rA=lr({root:{position:"relative",height:"100%",overflowY:"auto"},hero:{position:"relative",minHeight:"340px",display:"grid",placeItems:"center",padding:"64px 32px 40px"},heroInner:{position:"relative",zIndex:1,textAlign:"center",maxWidth:"660px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},pill:{display:"inline-flex",alignItems:"center",gap:"8px",padding:"6px 14px",borderRadius:"999px",background:q.colorNeutralBackground1,border:`1px solid ${q.colorNeutralStroke2}`,boxShadow:q.shadow4,fontSize:q.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:q.colorBrandForeground1,alignSelf:"center"},title:{margin:0,background:no.accent,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",letterSpacing:"-0.02em",fontSize:"clamp(32px, 4.5vw, 48px)",lineHeight:1.1,fontWeight:700,width:"100%"},subtitle:{color:q.colorNeutralForeground2,fontSize:q.fontSizeBase300,lineHeight:1.55,maxWidth:"520px"},body:{position:"relative",zIndex:1,maxWidth:"720px",margin:"0 auto",padding:"0 32px 60px",display:"grid",gap:"32px"},ctaCard:{position:"relative",padding:"28px 32px",borderRadius:"16px",background:no.accentSoft,border:`1px solid ${q.colorNeutralStroke2}`,boxShadow:q.shadow16,overflow:"hidden"},ctaInner:{display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},ctaText:{flex:1,minWidth:"220px"},ctaActions:{display:"flex",gap:"12px",flexWrap:"wrap"},ctaPrimary:{background:no.accent,color:"#ffffff",border:"none",boxShadow:q.shadow8,minWidth:"180px",height:"44px",fontSize:q.fontSizeBase400,fontWeight:600},ctaTrack:{width:"100%",height:"6px",borderRadius:"999px",background:q.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},ctaFill:{height:"100%",background:no.accent,transition:"width 280ms ease"},systemBar:{display:"flex",flexWrap:"wrap",gap:"8px",justifyContent:"center"},stepSection:{display:"grid",gap:"2px",borderRadius:"12px",overflow:"hidden",border:`1px solid ${q.colorNeutralStroke2}`},stepRow:{display:"flex",alignItems:"center",gap:"12px",padding:"12px 16px",background:q.colorNeutralBackground1,cursor:"pointer",transition:"background-color 120ms",":hover":{backgroundColor:q.colorNeutralBackground1Hover}},stepIcon:{fontSize:"16px",flexShrink:0},stepDone:{color:q.colorPaletteGreenForeground1},stepCurrent:{color:q.colorBrandForeground1},stepPending:{color:q.colorNeutralForeground4},stepLabel:{flex:1,fontSize:q.fontSizeBase300,fontWeight:q.fontWeightSemibold,color:q.colorNeutralForeground1},stepLabelDim:{flex:1,fontSize:q.fontSizeBase300,fontWeight:q.fontWeightRegular,color:q.colorNeutralForeground3},stepBadge:{fontSize:q.fontSizeBase200,color:q.colorNeutralForeground3},footer:{textAlign:"center",color:q.colorNeutralForeground3,fontSize:q.fontSizeBase200}});function nA(){var k,w,x,z,T,j;const e=rA(),r=Ss(),n=Rg(),a=Ag(),s=h5(),c=Mu(),u=xx({mutationFn:()=>Ji.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((k=n.data)==null?void 0:k.completed)??0,g=((w=n.data)==null?void 0:w.next)??1,p=((x=n.data)==null?void 0:x.totalSteps)??9,m=((T=(z=n.data)==null?void 0:z.state)==null?void 0:T.APP_NAME)||"",v=d>0,S=Math.round(d/Math.max(1,p)*100);return B.jsxs("div",{className:e.root,children:[B.jsxs("div",{className:e.hero,children:[B.jsx(d5,{}),B.jsxs("div",{className:e.heroInner,children:[B.jsxs("div",{className:e.pill,children:[B.jsx(mC,{})," Foundations"]}),B.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),B.jsx(er,{className:e.subtitle,children:"Nine guided steps from zero to a deployed Power Apps Code App. Every decision is captured and every step is re-runnable."})]})]}),B.jsxs("div",{className:e.body,children:[B.jsx("div",{className:e.ctaCard,children:B.jsxs("div",{className:e.ctaInner,children:[B.jsx("div",{className:e.ctaText,children:v?B.jsxs(B.Fragment,{children:[B.jsxs(Ho,{style:{display:"block",color:q.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",m?`, ${m}`:""]}),B.jsxs(A0,{style:{margin:0},children:["Pick up at step ",g," of ",p]}),B.jsxs(er,{style:{marginTop:"6px",color:q.colorNeutralForeground3},children:[d," of ",p," steps complete · ",S,"%"]}),B.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:B.jsx("div",{className:e.ctaFill,style:{width:`${S}%`}})})]}):B.jsxs(B.Fragment,{children:[B.jsx(A0,{style:{margin:0},children:"Ready when you are"}),B.jsx(er,{style:{marginTop:"6px",color:q.colorNeutralForeground2},children:"Each step is self-contained. You'll end with a deployable app."})]})}),B.jsxs("div",{className:e.ctaActions,children:[B.jsx(mt,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(Vr,{}),onClick:()=>r(`/step/${g}`),children:v?"Resume":"Get started"}),v&&B.jsxs(e5,{children:[B.jsx(ki,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"subtle",icon:B.jsx(aC,{}),children:"Start over"})}),B.jsx(n5,{children:B.jsxs(o5,{children:[B.jsx(r5,{children:"Reset wizard state?"}),B.jsx(a5,{children:"This clears all collected answers. Your project files are not affected."}),B.jsxs(t5,{children:[B.jsx(ki,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"secondary",children:"Cancel"})}),B.jsx(ki,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?B.jsx(Pn,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),s.data&&B.jsxs("div",{className:e.systemBar,children:[B.jsxs(Jo,{appearance:"filled",color:s.data.node?"success":"danger",children:["Node ",s.data.node||"—"]}),B.jsxs(Jo,{appearance:"filled",color:s.data.git?"success":"danger",children:["Git ",s.data.git||"missing"]}),B.jsxs(Jo,{appearance:"filled",color:s.data.dotnet?"success":"danger",children:[".NET ",s.data.dotnet||"missing"]}),B.jsxs(Jo,{appearance:"filled",color:s.data.pac?"success":"danger",children:["PAC ",s.data.pac||"missing"]}),B.jsx(Jo,{appearance:"filled",color:s.data.op?"success":"informative",children:s.data.op?`1Password ${s.data.op}`:"1Password (optional)"})]}),a.data&&B.jsx("div",{className:e.stepSection,children:a.data.steps.map(N=>{const C=N.status==="done",E=N.status==="current";return B.jsxs("div",{className:e.stepRow,role:"button",tabIndex:0,onClick:()=>r(`/step/${N.number}`),onKeyDown:M=>{(M.key==="Enter"||M.key===" ")&&r(`/step/${N.number}`)},children:[C?B.jsx(Qr,{className:`${e.stepIcon} ${e.stepDone}`}):E?B.jsx(iC,{className:`${e.stepIcon} ${e.stepCurrent}`}):B.jsx(hg,{className:`${e.stepIcon} ${e.stepPending}`}),B.jsxs("span",{className:C||E?e.stepLabel:e.stepLabelDim,children:[N.number,". ",N.title]}),C&&B.jsx("span",{className:e.stepBadge,children:"Done"}),E&&B.jsx(Jo,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},N.number)})}),((j=s.data)==null?void 0:j.rootDir)&&B.jsxs("div",{className:e.footer,children:[B.jsx(oC,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",B.jsx("code",{children:s.data.rootDir})]}),u.isError&&B.jsx(hs,{intent:"error",children:B.jsxs(gs,{children:[B.jsx(c5,{children:"Reset failed"}),u.error.message]})})]})]})}function aA(e,r){const[n,a]=y.useState({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return y.useEffect(()=>{if(!r||!e){a({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return}a({lines:[],status:"running",error:null,exitCode:null,deviceCode:null});const s=`/api/steps/${e}/stream?runId=${encodeURIComponent(r)}`,c=new EventSource(s,{withCredentials:!0});return c.addEventListener("line",u=>{try{const d=JSON.parse(u.data);a(g=>({...g,lines:[...g.lines,d]}))}catch{}}),c.addEventListener("deviceCode",u=>{try{const d=JSON.parse(u.data);a(g=>({...g,deviceCode:d}))}catch{}}),c.addEventListener("end",u=>{try{const d=JSON.parse(u.data);a(g=>({...g,status:d.status,exitCode:d.exitCode,error:d.error}))}catch{}c.close()}),c.onerror=()=>{a(u=>({...u,status:u.status==="running"?"error":u.status,error:"Stream connection lost"})),c.close()},()=>c.close()},[e,r]),n}const iA=lr({root:{width:"220px",height:"100%",overflowY:"auto",padding:"12px",borderRight:`1px solid ${q.colorNeutralStroke2}`,backgroundColor:q.colorNeutralBackground2},heading:{color:q.colorNeutralForeground3,paddingLeft:"8px",marginBottom:"6px"},item:{display:"flex",alignItems:"center",gap:"10px",padding:"8px 10px",borderRadius:"8px",cursor:"pointer",border:"1px solid transparent",transition:"background-color 150ms ease-out",":hover":{backgroundColor:q.colorNeutralBackground3}},itemActive:{backgroundColor:q.colorBrandBackground2,border:`1px solid ${q.colorBrandStroke2}`},iconCol:{flex:"0 0 18px",fontSize:"18px",display:"grid",placeItems:"center"},done:{color:q.colorPaletteGreenForeground1},current:{color:q.colorBrandForeground1},pending:{color:q.colorNeutralForeground3},terminal:{color:q.colorNeutralForeground3},title:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:q.fontWeightSemibold,fontSize:q.fontSizeBase300}});function lA({steps:e,current:r}){const n=iA(),a=Ss(),s=Vo();return B.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[B.jsx(ao,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===r&&s.pathname.includes("/step/"),d=c.status==="done"?Qr:c.status==="current"?Vr:c.canRunInBrowser?hg:eS,g=c.status==="done"?n.done:c.status==="current"?n.current:c.canRunInBrowser?n.pending:n.terminal;return B.jsxs("div",{className:[n.item,u&&n.itemActive].filter(Boolean).join(" "),onClick:()=>a(`/step/${c.number}`),role:"button",tabIndex:0,onKeyDown:p=>{(p.key==="Enter"||p.key===" ")&&a(`/step/${c.number}`)},"aria-current":u?"step":void 0,children:[B.jsx("div",{className:`${n.iconCol} ${g}`,children:B.jsx(d,{})}),B.jsxs(Eg,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}function Ty(e){const r=/https?:\/\/[^\s)]+/g,n=[];let a=0,s;for(;(s=r.exec(e))!==null;)s.index>a&&n.push(e.slice(a,s.index)),n.push(B.jsx("a",{href:s[0],target:"_blank",rel:"noopener noreferrer",children:s[0]},s.index)),a=s.index+s[0].length;return a<e.length&&n.push(e.slice(a)),n}const Dg=lr({card:{padding:"16px",borderRadius:"10px",backgroundColor:q.colorNeutralBackground2,border:`1px solid ${q.colorNeutralStroke2}`,display:"flex",flexDirection:"column",gap:"8px"},required:{color:q.colorPaletteRedForeground1,marginLeft:"4px"},help:{color:q.colorNeutralForeground3},groupHeader:{display:"flex",flexDirection:"column",gap:"4px",paddingBottom:"4px"},groupTitle:{fontWeight:q.fontWeightSemibold},groupItems:{display:"flex",flexDirection:"column"},groupItem:{padding:"12px 0",borderTop:`1px solid ${q.colorNeutralStroke2}`},firstGroupItem:{paddingTop:"8px"},why:{fontSize:q.fontSizeBase200,color:q.colorNeutralForeground2,whiteSpace:"pre-wrap",lineHeight:1.5,maxWidth:"360px",padding:"4px 0"},whyTrigger:{minWidth:"auto",padding:"2px",height:"auto",color:q.colorNeutralForeground3,":hover":{color:q.colorBrandForeground1}},labelRow:{display:"flex",alignItems:"center",gap:"4px"},checkboxList:{display:"flex",flexDirection:"column",gap:"6px"},savedSecret:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderRadius:"6px",background:q.colorNeutralBackground3,border:`1px solid ${q.colorNeutralStroke2}`,color:q.colorNeutralForeground2,fontSize:q.fontSizeBase200},savedSecretIcon:{color:q.colorPaletteGreenForeground1,fontSize:"16px",flexShrink:0},savedSecretEdit:{marginLeft:"auto",minWidth:"auto",padding:"2px 8px",height:"auto"}});function Ny(e,r){return(Array.isArray(e)?e:[e]).every(a=>{const s=r[a.id];return"contains"in a?Array.isArray(s)&&s.includes(a.contains):s===a.equals})}function Og(e,r){return!!(e.showIf&&!Ny(e.showIf,r)||e.hideIf&&Ny(e.hideIf,r))}function sA(e){if(!e)return null;const r=/^https?:\/\//i.test(e)?e:`https://${e}`;try{return new URL(r).protocol.startsWith("https")?null:"Must be an https:// URL"}catch{return"Not a valid URL"}}function cA(e,r,n){return e.required&&(r==null||r==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof r=="string"?sA(r):null}function g5({question:e,value:r,onChange:n,showError:a,answers:s}){var N;const c=Dg(),u=cA(e,r,a),[d,g]=y.useState(!1),p=e.type==="secret"&&e.savedHint&&!r&&!d,m=e.dynamicOptions,v=m?String(s[m.dependsOn]??""):"",[S,k]=y.useState([]),[w,x]=y.useState(!1),z=y.useRef(v);y.useEffect(()=>{if(!m)return;if(!v||v.startsWith("__")){k([]);return}if(v===z.current&&S.length>0)return;z.current=v,x(!0);const C=new AbortController;return fetch(`${m.endpoint}?${m.param}=${encodeURIComponent(v)}`,{signal:C.signal}).then(E=>E.json()).then(E=>{const M=E[m.responseKey]||[];k(M),x(!1)}).catch(()=>{C.signal.aborted||x(!1)}),()=>C.abort()},[m,v]);const T=y.useMemo(()=>{if(!m)return e.options||[];const C=(e.options||[]).filter(E=>E.value.startsWith("__"));return[...S,...C]},[m,e.options,S]),j=B.jsxs("span",{className:c.labelRow,children:[e.label,e.required?B.jsx("span",{className:c.required,"aria-hidden":!0,children:"*"}):null,e.why&&B.jsxs(MS,{withArrow:!0,children:[B.jsx(Tg,{disableButtonEnhancement:!0,children:B.jsx(mt,{appearance:"transparent",icon:B.jsx(vC,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),B.jsx(OS,{children:B.jsx("div",{className:c.why,children:Ty(e.why)})})]})]});return B.jsxs(B.Fragment,{children:[B.jsx(LS,{label:j,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?B.jsx(R0,{value:r??"",onChange:(C,E)=>n(e.id,E.value),"aria-required":e.required||void 0}):e.type==="secret"?p?B.jsxs("div",{className:c.savedSecret,children:[B.jsx(tC,{className:c.savedSecretIcon}),B.jsx("span",{children:e.savedHint}),B.jsx(mt,{appearance:"subtle",size:"small",icon:B.jsx(eC,{}),className:c.savedSecretEdit,onClick:()=>g(!0),children:"Change"})]}):B.jsx(R0,{type:"password",value:r??"",onChange:(C,E)=>n(e.id,E.value),placeholder:e.savedHint?"Enter new value to replace":void 0,"aria-required":e.required||void 0}):e.type==="confirm"?B.jsx(QS,{checked:!!r,onChange:(C,E)=>n(e.id,E.checked)}):e.type==="select"?w?B.jsx(Pn,{size:"tiny",label:"Loading options…"}):B.jsx(XS,{value:((N=T.find(C=>C.value===r))==null?void 0:N.label)??"",selectedOptions:r?[String(r)]:[],onOptionSelect:(C,E)=>n(e.id,E.optionValue),children:T.map(C=>B.jsx(GS,{value:C.value,children:C.label},C.value))}):e.type==="multiselect"?B.jsx($S,{value:Array.isArray(r)?r.join(", "):"",onChange:(C,E)=>n(e.id,E.value.split(",").map(M=>M.trim()).filter(Boolean))}):e.type==="checkboxes"?B.jsx("div",{className:c.checkboxList,children:(e.options||[]).map(C=>{const E=Array.isArray(r)&&r.includes(C.value);return B.jsx(PS,{label:C.label,checked:E,onChange:(M,Q)=>{const X=Array.isArray(r)?[...r]:[];n(e.id,Q.checked?Array.from(new Set([...X,C.value])):X.filter(oe=>oe!==C.value))}},C.value)})}):B.jsxs(ao,{children:["Unsupported question type: ",e.type]})}),e.help&&B.jsx(Eg,{className:c.help,children:Ty(e.help)})]})}function uA({question:e,answers:r,value:n,onChange:a,showError:s}){const c=Dg();return Og(e,r)?null:B.jsx("div",{className:c.card,children:B.jsx(g5,{question:e,answers:r,value:n,onChange:a,showError:s})})}function fA({group:e,questions:r,answers:n,onChange:a,showError:s}){const c=Dg(),u=r.filter(d=>!Og(d,n));return u.length===0?null:B.jsxs("div",{className:c.card,children:[B.jsxs("div",{className:c.groupHeader,children:[B.jsx(er,{className:c.groupTitle,children:e.label}),e.help&&B.jsx(Eg,{className:c.help,children:e.help})]}),B.jsx("div",{className:c.groupItems,children:u.map((d,g)=>B.jsx("div",{className:`${c.groupItem} ${g===0?c.firstGroupItem:""}`,children:B.jsx(g5,{question:d,answers:n,value:n[d.id],onChange:a,showError:s})},d.id))})]})}const dA=lr({root:{height:"100%",display:"grid",gridTemplateRows:"auto 1fr",backgroundColor:q.colorNeutralBackground3,borderRadius:"10px",overflow:"hidden",border:`1px solid ${q.colorNeutralStroke2}`},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderBottom:`1px solid ${q.colorNeutralStroke2}`,backgroundColor:q.colorNeutralBackground4},spacer:{flex:1},output:{margin:0,padding:"12px 16px",overflowY:"auto",fontFamily:q.fontFamilyMonospace,fontSize:q.fontSizeBase200,lineHeight:q.lineHeightBase200,color:q.colorNeutralForeground1,whiteSpace:"pre-wrap",wordBreak:"break-word"},err:{color:q.colorPaletteRedForeground1},info:{color:q.colorNeutralForeground3,fontStyle:"italic"}});function hA({lines:e,status:r,onClear:n}){const a=dA(),s=y.useRef(null);y.useEffect(()=>{s.current&&(s.current.scrollTop=s.current.scrollHeight)},[e]);function c(){const u=e.map(m=>m.text).join(""),d=new Blob([u],{type:"text/plain"}),g=URL.createObjectURL(d),p=document.createElement("a");p.href=g,p.download=`wizardux-log-${Date.now()}.txt`,p.click(),URL.revokeObjectURL(g)}return B.jsxs("div",{className:a.root,children:[B.jsxs("div",{className:a.toolbar,children:[B.jsx(YS,{children:"Live output"}),B.jsx(ao,{style:{color:r==="error"?q.colorPaletteRedForeground1:r==="done"?q.colorPaletteGreenForeground1:q.colorNeutralForeground3},children:r==="idle"?"Idle":r==="running"?"Running…":r==="done"?"Complete":"Failed"}),B.jsx("div",{className:a.spacer}),B.jsx(mt,{appearance:"subtle",size:"small",icon:B.jsx(rC,{}),onClick:c,disabled:e.length===0,children:"Save"}),n&&B.jsx(mt,{appearance:"subtle",size:"small",icon:B.jsx(sC,{}),onClick:n,disabled:e.length===0,children:"Clear"})]}),B.jsx("pre",{ref:s,className:a.output,"aria-live":"polite",children:e.length===0?B.jsx("span",{className:a.info,children:"No output yet. Save the form to begin."}):e.map((u,d)=>B.jsx("span",{className:u.stream==="stderr"?a.err:void 0,children:u.text},d))})]})}const gA=lr({root:{height:"100%",display:"flex"},main:{flex:1,height:"100%",minWidth:0,overflow:"hidden"},pane:{height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"},formWrap:{height:"100%",overflowY:"auto",padding:"24px 32px 32px",display:"flex",flexDirection:"column",gap:"16px",maxWidth:"820px",margin:"0 auto",width:"100%"},header:{display:"flex",alignItems:"center",gap:"12px",paddingBottom:"12px",borderBottom:`1px solid ${q.colorNeutralStroke2}`,marginBottom:"8px"},stepBadge:{width:"36px",height:"36px",borderRadius:"10px",display:"grid",placeItems:"center",fontWeight:700,fontSize:"15px",flexShrink:0},stepBadgePending:{background:q.colorNeutralBackground3,color:q.colorNeutralForeground2},stepBadgeDone:{background:q.colorPaletteGreenBackground2,color:q.colorPaletteGreenForeground1},stepBadgeBrand:{background:no.accent,color:"#ffffff"},headerText:{flex:1,display:"flex",flexDirection:"column",gap:"2px",minWidth:0},questions:{display:"flex",flexDirection:"column",gap:"12px"},actions:{display:"flex",gap:"8px",alignItems:"center",paddingTop:"16px",borderTop:`1px solid ${q.colorNeutralStroke2}`,marginTop:"8px"},spacer:{flex:1},inlineLog:{marginTop:"4px",border:`1px solid ${q.colorNeutralStroke2}`,borderRadius:"10px",overflow:"hidden",minHeight:"180px",maxHeight:"320px",display:"flex",flexDirection:"column"},successBanner:{display:"flex",alignItems:"center",gap:"12px",padding:"16px 20px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(16,124,16,0.10), rgba(0,120,212,0.08))",border:`1px solid ${q.colorPaletteGreenBorder1}`},successIcon:{fontSize:"24px",color:q.colorPaletteGreenForeground1,flexShrink:0},successText:{flex:1},ctaPrimary:{background:no.accent,color:"#ffffff",border:"none",boxShadow:q.shadow4,minWidth:"160px",height:"40px",fontWeight:600},terminalNote:{display:"flex",alignItems:"center",gap:"10px",padding:"14px 16px",borderRadius:"10px",background:q.colorNeutralBackground3,border:`1px solid ${q.colorNeutralStroke2}`,color:q.colorNeutralForeground2},terminalIcon:{fontSize:"20px",color:q.colorBrandForeground1,flexShrink:0},deviceCodeCard:{display:"flex",flexDirection:"column",gap:"12px",padding:"20px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(0,120,212,0.08), rgba(0,150,255,0.04))",border:`1.5px solid ${q.colorBrandStroke1}`},deviceCodeHeader:{display:"flex",alignItems:"center",gap:"8px",fontWeight:600},deviceCodeBody:{display:"flex",alignItems:"center",gap:"16px",flexWrap:"wrap"},deviceCodeValue:{fontFamily:"monospace",fontSize:"28px",fontWeight:700,letterSpacing:"4px",color:q.colorBrandForeground1,padding:"8px 16px",background:q.colorNeutralBackground1,borderRadius:"8px",border:`1px solid ${q.colorNeutralStroke2}`,userSelect:"all"}});function pA(){var se,Te,D,L,Z,re,fe,ke,Oe;const e=gA(),r=Mk(),n=Math.max(1,Math.min(9,parseInt(r.n||"1",10))),a=Ss(),s=Mu(),c=Ag(),u=oA(n),[d,g]=y.useState({}),[p,m]=y.useState({}),[v,S]=y.useState(!1),[k,w]=y.useState(null),x=y.useRef(null),z=y.useMemo(()=>{var xe;return JSON.stringify((((xe=u.data)==null?void 0:xe.questions)??[]).map(ze=>[ze.id,ze.defaultValue??""]))},[(se=u.data)==null?void 0:se.questions]);y.useEffect(()=>{if(!u.data)return;const xe={};for(const ze of u.data.questions)xe[ze.id]=ze.defaultValue??"";g(xe),m(xe),S(!1)},[(Te=u.data)==null?void 0:Te.meta.number,z]),y.useEffect(()=>{w(null)},[n]);const T=xx({mutationFn:xe=>Ji.apply(n,xe),onSuccess:xe=>{w(xe.runId)}}),j=aA(n,k);y.useEffect(()=>{j.status==="done"&&(x.current&&(m(x.current),x.current=null),s.invalidateQueries({queryKey:["state"]}),s.invalidateQueries({queryKey:["steps"]}),s.invalidateQueries({queryKey:["questions"]}))},[j.status,s,n]);const N=y.useMemo(()=>j.lines.some(xe=>xe.stream==="stderr"),[j.lines]),C=y.useRef(null);y.useEffect(()=>{var xe;if(j.status==="done"&&!N){const ze=((xe=c.data)==null?void 0:xe.totalSteps)??9;C.current=setTimeout(()=>{n>=ze?a("/summary"):a(`/step/${n+1}`)},1500)}return()=>{C.current&&clearTimeout(C.current)}},[j.status,n,(D=c.data)==null?void 0:D.totalSteps,a]);const E=(L=u.data)==null?void 0:L.meta,M=((Z=u.data)==null?void 0:Z.questions)??[],Q=y.useMemo(()=>{const xe=[];for(const ze of M){if(!ze.group){xe.push({kind:"question",question:ze});continue}const lo=xe[xe.length-1];(lo==null?void 0:lo.kind)==="group"&&lo.group.id===ze.group.id?lo.questions.push(ze):xe.push({kind:"group",group:ze.group,questions:[ze]})}return xe},[M]),X=y.useMemo(()=>JSON.stringify(d)!==JSON.stringify(p),[d,p]),oe=y.useMemo(()=>{if(!(E!=null&&E.canRunInBrowser))return[];const xe=[];for(const ze of M)Og(ze,d)||ze.required&&(d[ze.id]==null||d[ze.id]==="")&&xe.push(ze.label);return xe},[M,d,E]);function ne(){if(E!=null&&E.canRunInBrowser){if(M.length>0&&oe.length>0){S(!0);return}x.current=d,T.mutate(d)}}const ge=((fe=(re=c.data)==null?void 0:re.steps.find(xe=>xe.number===n))==null?void 0:fe.status)??"pending",ie=T.isPending||j.status==="running",le=j.status==="done",ae=((ke=c.data)==null?void 0:ke.totalSteps)??9,pe=n>=ae,U=E==null?void 0:E.canRunInBrowser,J=ie?E!=null&&E.readOnly?"Checking…":"Running…":le&&N?pe?"Finish":"Continue":le?pe?"Finish":"Continuing…":ge==="done"&&X?"Save & re-run":E!=null&&E.readOnly?"Run checks":ge==="done"?"Re-run":M.length===0?"Run":"Save & run";function te(){if(le){C.current&&clearTimeout(C.current),a(pe?"/summary":`/step/${n+1}`);return}ne()}return B.jsxs("div",{className:e.root,children:[c.data&&B.jsx(lA,{steps:c.data.steps,current:n}),B.jsx("div",{className:e.main,children:B.jsx("div",{className:e.pane,children:B.jsxs("div",{className:e.formWrap,children:[B.jsxs("div",{className:e.header,children:[B.jsx("div",{className:[e.stepBadge,ge==="done"?e.stepBadgeDone:ge==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:ge==="done"?B.jsx(Qr,{}):n}),B.jsxs("div",{className:e.headerText,children:[B.jsx(A0,{style:{margin:0},children:(E==null?void 0:E.title)||"Loading…"}),B.jsxs(ao,{style:{color:q.colorNeutralForeground3},children:["Step ",n," of ",ae,E!=null&&E.optional?" · optional":""]})]})]}),(E==null?void 0:E.description)&&B.jsx(er,{style:{color:q.colorNeutralForeground2},children:E.description}),u.isLoading&&(n===8?B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[B.jsx(Pn,{size:"small"}),B.jsx(ao,{style:{color:q.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):B.jsx(Pn,{size:"small"})),E&&!U&&B.jsxs("div",{className:e.terminalNote,children:[B.jsx(eS,{className:e.terminalIcon}),B.jsx(er,{children:"This step requires an interactive terminal session. Use the embedded terminal or run the command in your own shell, then come back and advance."})]}),U&&M.length>0&&B.jsx("div",{className:e.questions,children:Q.map(xe=>{const ze=(lo,Ea)=>g(el=>({...el,[lo]:Ea}));return xe.kind==="group"?B.jsx(fA,{group:xe.group,questions:xe.questions,answers:d,onChange:ze,showError:v},xe.group.id):B.jsx(uA,{question:xe.question,answers:d,value:d[xe.question.id],onChange:ze,showError:v},xe.question.id)})}),T.isError&&B.jsx(hs,{intent:"error",children:B.jsx(gs,{children:T.error.message})}),j.status==="error"&&B.jsx(hs,{intent:"error",children:B.jsx(gs,{children:j.error||"Step failed — see output above."})}),((Oe=j.deviceCode)==null?void 0:Oe.code)&&j.status==="running"&&B.jsxs("div",{className:e.deviceCodeCard,children:[B.jsxs("div",{className:e.deviceCodeHeader,children:[B.jsx(Qb,{style:{color:q.colorBrandForeground1}}),B.jsx(er,{children:"Sign in with a device code"})]}),B.jsx(ao,{style:{color:q.colorNeutralForeground3},children:"Open the link below, then enter the code to authenticate."}),B.jsxs("div",{className:e.deviceCodeBody,children:[B.jsx("span",{className:e.deviceCodeValue,children:j.deviceCode.code}),B.jsx(mt,{appearance:"subtle",icon:B.jsx(WN,{}),onClick:()=>navigator.clipboard.writeText(j.deviceCode.code),children:"Copy code"})]}),B.jsxs(mt,{appearance:"primary",icon:B.jsx(Qb,{}),as:"a",href:j.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",j.deviceCode.url]})]}),le&&B.jsxs("div",{className:e.successBanner,children:[B.jsx(Qr,{className:e.successIcon}),B.jsxs("div",{className:e.successText,children:[B.jsx(er,{style:{fontWeight:600},children:pe?"All steps complete!":N?"Step complete — review items above":"Step complete"}),B.jsx(ao,{style:{color:q.colorNeutralForeground3},children:pe?"Heading to summary…":N?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),B.jsx(mt,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(Vr,{}),onClick:()=>{C.current&&clearTimeout(C.current),a(pe?"/summary":`/step/${n+1}`)},children:pe?"View summary":"Continue now"})]}),U&&(j.status==="running"||j.lines.length>0)&&B.jsx("div",{className:e.inlineLog,children:B.jsx(hA,{lines:j.lines,status:j.status})}),B.jsxs("div",{className:e.actions,children:[B.jsx(mt,{appearance:"subtle",icon:B.jsx(nC,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),B.jsx("div",{className:e.spacer}),U?B.jsx(mt,{appearance:"primary",icon:ie?B.jsx(Pn,{size:"tiny"}):le?B.jsx(Vr,{}):B.jsx(ZN,{}),iconPosition:le?"after":"before",onClick:te,disabled:ie,children:J}):B.jsx(mt,{appearance:"primary",iconPosition:"after",icon:B.jsx(Vr,{}),onClick:()=>{a(pe?"/summary":`/step/${n+1}`)},children:pe?"Finish":"Next"})]})]})})})]})}const mA=lr({hero:{position:"relative",minHeight:"260px",display:"grid",placeItems:"center",paddingTop:"56px",paddingRight:"32px",paddingBottom:"36px",paddingLeft:"32px"},inner:{position:"relative",zIndex:1,textAlign:"center",maxWidth:"760px",display:"flex",flexDirection:"column",alignItems:"center",gap:"16px"},pill:{display:"inline-flex",alignItems:"center",gap:"8px",padding:"6px 14px",borderRadius:"999px",background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,boxShadow:q.shadow4,fontSize:q.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:q.colorBrandForeground1},title:{margin:0,background:no.accent,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",letterSpacing:"-0.02em",fontSize:"clamp(30px, 4.2vw, 44px)",lineHeight:1.1,fontWeight:700,width:"100%"},subtitle:{color:q.colorNeutralForeground2,fontSize:q.fontSizeBase400,lineHeight:1.55,maxWidth:"620px"}});function p5({eyebrowIcon:e,eyebrow:r,title:n,subtitle:a}){const s=mA();return B.jsxs("div",{className:s.hero,children:[B.jsx(d5,{}),B.jsxs("div",{className:s.inner,children:[B.jsxs("div",{className:s.pill,children:[e,r]}),B.jsx("h1",{className:s.title,children:n}),a&&B.jsx(er,{className:s.subtitle,children:a})]})]})}const m5=lr({root:{height:"100%",overflowY:"auto"},body:{position:"relative",zIndex:1,maxWidth:"1080px",margin:"0 auto",padding:"0 32px 80px",display:"grid",gap:"32px"},progressCard:{padding:"24px 28px",borderRadius:"14px",background:no.accentSoft,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,boxShadow:q.shadow8,display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},progressText:{flex:1,minWidth:"240px"},progressBar:{width:"100%",height:"6px",borderRadius:"999px",background:q.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},progressFill:{height:"100%",background:no.accent,transition:"width 280ms ease"},sectionLabel:{display:"block",color:q.colorBrandForeground1,fontSize:q.fontSizeBase200,letterSpacing:"0.08em",textTransform:"uppercase",fontWeight:600,marginBottom:"6px"},sectionTitle:{margin:0,letterSpacing:"-0.01em"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gap:"16px"},card:{padding:"20px",borderRadius:"12px",background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,transition:"transform 220ms cubic-bezier(0.1,0.9,0.2,1), box-shadow 220ms",":hover":{transform:"translateY(-2px)",boxShadow:q.shadow8}},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:no.accent,color:"#ffffff",fontSize:"16px",flexShrink:0},field:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:"12px",paddingTop:"8px",paddingBottom:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},fieldLabel:{color:q.colorNeutralForeground3,fontWeight:500},fieldVal:{fontFamily:q.fontFamilyMonospace,color:q.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},fieldEmpty:{color:q.colorNeutralForeground4,fontStyle:"italic",fontFamily:q.fontFamilyBase},stepRow:{display:"flex",alignItems:"center",gap:"10px",paddingTop:"8px",paddingBottom:"8px"},stepIconDone:{color:q.colorPaletteGreenForeground1,fontSize:"18px"},stepIconCurrent:{color:q.colorBrandForeground1,fontSize:"12px"},stepIconPending:{color:q.colorNeutralForeground4,fontSize:"14px"},actions:{display:"flex",justifyContent:"center",gap:"12px",flexWrap:"wrap",marginTop:"8px"},ctaPrimary:{background:no.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:q.shadow8,minWidth:"200px",height:"44px",fontWeight:600},launchCard:{padding:"22px 24px",borderRadius:"14px",background:"linear-gradient(145deg, rgba(16,124,16,0.12), rgba(0,120,212,0.1))",borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,boxShadow:q.shadow8,display:"grid",gap:"14px"},launchTitle:{margin:0,color:q.colorNeutralForeground1,letterSpacing:"-0.01em"},launchUrl:{display:"block",padding:"12px 14px",borderRadius:"10px",textDecorationLine:"none",fontFamily:q.fontFamilyMonospace,background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2,color:q.colorBrandForeground1,overflowWrap:"anywhere",":hover":{textDecorationLine:"underline"}},launchActions:{display:"flex",gap:"10px",flexWrap:"wrap"},launchBtn:{background:no.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:q.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function Gt({label:e,value:r}){const n=m5(),a=!r||r.trim()==="";return B.jsxs("div",{className:n.field,children:[B.jsx(ao,{className:n.fieldLabel,children:e}),B.jsx(ao,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":r})]})}function vA(){var v,S,k,w,x,z,T,j,N;const e=m5(),r=Rg(),n=Ag(),a=((v=r.data)==null?void 0:v.state)??{},s=((S=r.data)==null?void 0:S.completed)??0,c=((k=r.data)==null?void 0:k.totalSteps)??9,u=((w=r.data)==null?void 0:w.next)??1,d=Math.round(s/Math.max(1,c)*100),g=s>=c,p=((z=(x=r.data)==null?void 0:x.powerApp)==null?void 0:z.launchUrl)||"",m=((j=(T=r.data)==null?void 0:T.powerApp)==null?void 0:j.targetEnv)||a.WIZARD_TARGET_ENV||"dev";return B.jsxs("div",{className:e.root,children:[B.jsx(p5,{eyebrowIcon:B.jsx(mi,{}),eyebrow:"Project Summary",title:"Everything captured for this project",subtitle:"Live values from .wizard-state.json — the single source of truth for how your Code App is wired together."}),B.jsxs("div",{className:e.body,children:[B.jsxs("div",{className:e.progressCard,children:[B.jsxs("div",{className:e.progressText,children:[B.jsx(Ho,{style:{display:"block",color:q.colorBrandForeground1,marginBottom:"4px"},children:g?"Setup complete":"In progress"}),B.jsxs(yi,{style:{margin:0},children:[s," of ",c," steps complete · ",d,"%"]}),B.jsx("div",{className:e.progressBar,"aria-hidden":!0,children:B.jsx("div",{className:e.progressFill,style:{width:`${d}%`}})})]}),!g&&B.jsx(Ur,{to:`/step/${u}`,children:B.jsx(mt,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(Vr,{}),children:"Continue setup"})}),g&&p&&B.jsx(mt,{className:e.ctaPrimary,size:"large",as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(Vr,{}),children:"Open Power App"})]}),g&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Launch"}),B.jsx(yi,{as:"h2",className:e.sectionTitle,children:"You did it. Your app is ready to launch."}),B.jsx("div",{className:e.launchCard,style:{marginTop:"16px"},children:p?B.jsxs(B.Fragment,{children:[B.jsxs(Ho,{className:e.launchTitle,children:["Power Apps URL (",String(m).toUpperCase(),")"]}),B.jsx("a",{className:e.launchUrl,href:p,target:"_blank",rel:"noopener noreferrer",children:p}),B.jsx("div",{className:e.launchActions,children:B.jsx(mt,{className:e.launchBtn,as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(Vr,{}),children:"Launch App Now"})})]}):B.jsxs(B.Fragment,{children:[B.jsx(Ho,{className:e.launchTitle,children:"Power Apps URL not available yet"}),B.jsx(ao,{children:'Complete Step 9 with "Push to Power Platform" enabled to generate and surface your launch URL here.'})]})})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Project values"}),B.jsx(yi,{as:"h2",className:e.sectionTitle,children:"What the wizard knows about your app"}),B.jsxs("div",{className:e.grid,style:{marginTop:"20px"},children:[B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(mi,{})}),B.jsx(Ho,{children:"Project"})]}),B.jsx(Gt,{label:"App name",value:a.APP_NAME}),B.jsx(Gt,{label:"Project dir",value:a.PROJECT_DIR})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(mi,{})}),B.jsx(Ho,{children:"Environments"})]}),B.jsx(Gt,{label:"Dev",value:a.PP_ENV_DEV}),B.jsx(Gt,{label:"Test",value:a.PP_ENV_TEST}),B.jsx(Gt,{label:"Prod",value:a.PP_ENV_PROD}),B.jsx(Gt,{label:"Active target",value:a.WIZARD_TARGET_ENV})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(mi,{})}),B.jsx(Ho,{children:"Identity"})]}),B.jsx(Gt,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Gt,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Gt,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Gt,{label:"Credential storage",value:a.AUTH_MODE})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(mi,{})}),B.jsx(Ho,{children:"Publisher"})]}),B.jsx(Gt,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),B.jsx(Gt,{label:"Prefix",value:a.PUBLISHER_PREFIX}),B.jsx(Gt,{label:"Choice value prefix",value:a.CHOICE_VALUE_PREFIX})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(mi,{})}),B.jsx(Ho,{children:"Solution"})]}),B.jsx(Gt,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),B.jsx(Gt,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),B.jsx(yi,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),B.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&B.jsx(Pn,{size:"small"}),(N=n.data)==null?void 0:N.steps.map(C=>B.jsxs("div",{className:e.stepRow,children:[C.status==="done"&&B.jsx(Qr,{className:e.stepIconDone}),C.status==="current"&&B.jsx(dg,{className:e.stepIconCurrent}),C.status==="pending"&&B.jsx(hg,{className:e.stepIconPending}),B.jsxs(er,{style:{flex:1},children:[B.jsx("span",{style:{color:q.colorNeutralForeground3,marginRight:"8px"},children:String(C.number).padStart(2,"0")}),C.title]}),C.status==="done"&&B.jsx(Jo,{appearance:"filled",color:"success",size:"small",children:"Done"}),C.status==="current"&&B.jsx(Jo,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},C.number))]})]}),!r.data&&B.jsx(hs,{intent:"info",children:B.jsx(gs,{children:"Loading state…"})}),B.jsxs("div",{className:e.actions,children:[B.jsx(Ur,{to:"/",children:B.jsx(mt,{appearance:"subtle",icon:B.jsx(tS,{}),children:"Home"})}),!g&&B.jsx(Ur,{to:`/step/${u}`,children:B.jsx(mt,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(Vr,{}),children:"Continue setup"})})]})]})]})}const v5=lr({root:{height:"100%",overflowY:"auto"},body:{position:"relative",zIndex:1,maxWidth:"1080px",margin:"0 auto",padding:"0 32px 80px",display:"grid",gap:"32px"},sectionLabel:{display:"block",color:q.colorBrandForeground1,fontSize:q.fontSizeBase200,letterSpacing:"0.08em",textTransform:"uppercase",fontWeight:600,marginBottom:"6px"},sectionTitle:{margin:0,letterSpacing:"-0.01em"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(320px, 1fr))",gap:"16px",marginTop:"20px"},card:{padding:"20px",borderRadius:"12px",background:q.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:q.colorNeutralStroke2,borderRightColor:q.colorNeutralStroke2,borderBottomColor:q.colorNeutralStroke2,borderLeftColor:q.colorNeutralStroke2},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:no.accent,color:"#ffffff",fontSize:"16px",flexShrink:0},row:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"12px",paddingTop:"8px",paddingBottom:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:q.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},rowLabel:{color:q.colorNeutralForeground3,display:"flex",alignItems:"center",gap:"6px"},rowVal:{fontFamily:q.fontFamilyMonospace,color:q.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},rowValMissing:{color:q.colorPaletteRedForeground1,fontStyle:"italic",fontFamily:q.fontFamilyBase},pre:{margin:0,padding:"16px",background:q.colorNeutralBackground3,borderRadius:"10px",overflowX:"auto",fontFamily:q.fontFamilyMonospace,fontSize:q.fontSizeBase200,lineHeight:1.6,color:q.colorNeutralForeground1,maxHeight:"480px",overflowY:"auto"}});function ha({icon:e,label:r,value:n,ok:a,neutral:s}){const c=v5(),u=!n,d=s?B.jsx(zu,{style:{color:q.colorBrandForeground1}}):a?B.jsx(Qr,{style:{color:q.colorPaletteGreenForeground1}}):B.jsx(pC,{style:{color:q.colorPaletteRedForeground1}});return B.jsxs("div",{className:c.row,children:[B.jsxs(ao,{className:c.rowLabel,children:[d,e,r]}),B.jsx(ao,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function bA(){var s;const e=v5(),r=h5(),n=Rg(),a=r.data;return B.jsxs("div",{className:e.root,children:[B.jsx(p5,{eyebrowIcon:B.jsx(JN,{}),eyebrow:"Diagnostics",title:"What the wizard sees on this machine",subtitle:"A read-only view of system tooling and the raw .wizard-state.json. If something looks off, this is where you check first."}),B.jsxs("div",{className:e.body,children:[!a&&B.jsx(Pn,{size:"medium"}),a&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Environment"}),B.jsx(yi,{as:"h2",className:e.sectionTitle,children:"Tooling and host detection"}),B.jsxs("div",{className:e.grid,children:[B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(J2,{})}),B.jsx(Ho,{children:"Host"})]}),B.jsx(ha,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),B.jsx(ha,{ok:!!a.node,label:"Node.js",value:a.node}),B.jsx(ha,{ok:!!a.git,label:"Git",value:a.git}),B.jsx(ha,{ok:!!a.dotnet,label:".NET SDK",value:a.dotnet})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(cC,{})}),B.jsx(Ho,{children:"Power Platform tooling"})]}),B.jsx(ha,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),B.jsxs("div",{className:e.row,children:[B.jsxs(ao,{className:e.rowLabel,children:[a.op?B.jsx(Qr,{style:{color:q.colorPaletteGreenForeground1}}):B.jsx(zu,{style:{color:q.colorBrandForeground1}}),"1Password CLI"]}),B.jsx(Jo,{appearance:"filled",color:a.op?"success":"informative",children:a.op?a.op:"optional · not installed"})]})]}),B.jsxs("div",{className:e.card,children:[B.jsxs("div",{className:e.cardHeader,children:[B.jsx("div",{className:e.cardIcon,children:B.jsx(lC,{})}),B.jsx(Ho,{children:"Repository"})]}),B.jsx(ha,{neutral:!0,label:"Branch",value:a.branch}),B.jsxs("div",{className:e.row,children:[B.jsxs(ao,{className:e.rowLabel,children:[a.repoIsClean?B.jsx(Qr,{style:{color:q.colorPaletteGreenForeground1}}):B.jsx(zu,{style:{color:q.colorPaletteYellowForeground1}}),"Working tree"]}),B.jsx(Jo,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),B.jsx(ha,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Raw state"}),B.jsx(yi,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),B.jsx(er,{style:{color:q.colorNeutralForeground2,marginTop:"8px",marginBottom:"16px"},children:"The exact contents the server sees on disk. This is what every step reads from and writes to."}),B.jsx("pre",{className:e.pre,children:JSON.stringify(((s=n.data)==null?void 0:s.state)??{},null,2)})]})]})]})}const yA=lr({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:q.colorNeutralBackground1,color:q.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function xA(){const e=yA();return B.jsxs("div",{className:e.root,children:[B.jsx(JR,{}),B.jsx("div",{className:e.body,children:B.jsxs(Zk,{children:[B.jsx(vi,{path:"/",element:B.jsx(nA,{})}),B.jsx(vi,{path:"/step/:n",element:B.jsx(pA,{})}),B.jsx(vi,{path:"/summary",element:B.jsx(vA,{})}),B.jsx(vi,{path:"/diagnostics",element:B.jsx(bA,{})}),B.jsx(vi,{path:"*",element:B.jsx($k,{to:"/",replace:!0})})]})})]})}const SA=new r4({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),wA=document.getElementById("root");Z3.createRoot(wA).render(B.jsx(y.StrictMode,{children:B.jsx(n4,{client:SA,children:B.jsx($R,{children:B.jsx(wB,{children:B.jsx(xA,{})})})})}));