@pacaf/wizard-ux 3.4.2 → 3.5.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.
@@ -1,141 +0,0 @@
1
- var vB=Object.defineProperty;var R1=e=>{throw TypeError(e)};var bB=(e,o,n)=>o in e?vB(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n;var H=(e,o,n)=>bB(e,typeof o!="symbol"?o+"":o,n),ng=(e,o,n)=>o.has(e)||R1("Cannot "+n);var D=(e,o,n)=>(ng(e,o,"read from private field"),n?n.call(e):o.get(e)),xe=(e,o,n)=>o.has(e)?R1("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(e):o.set(e,n),ge=(e,o,n,a)=>(ng(e,o,"write to private field"),a?a.call(e,n):o.set(e,n),n),je=(e,o,n)=>(ng(e,o,"access private method"),n);var Cu=(e,o,n,a)=>({set _(l){ge(e,o,l,n)},get _(){return D(e,o,a)}});function Qx(e,o){for(var n=0;n<o.length;n++){const a=o[n];if(typeof a!="string"&&!Array.isArray(a)){for(const l in a)if(l!=="default"&&!(l in e)){const c=Object.getOwnPropertyDescriptor(a,l);c&&Object.defineProperty(e,l,c.get?c:{enumerable:!0,get:()=>a[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))a(l);new MutationObserver(l=>{for(const c of l)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(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function a(l){if(l.ep)return;l.ep=!0;const c=n(l);fetch(l.href,c)}})();function Zx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ag={exports:{}},Ss={};/**
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 j1;function yB(){if(j1)return Ss;j1=1;var e=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function n(a,l,c){var u=null;if(c!==void 0&&(u=""+c),l.key!==void 0&&(u=""+l.key),"key"in l){c={};for(var d in l)d!=="key"&&(c[d]=l[d])}else c=l;return l=c.ref,{$$typeof:e,type:a,key:u,ref:l!==void 0?l:null,props:c}}return Ss.Fragment=o,Ss.jsx=n,Ss.jsxs=n,Ss}var A1;function xB(){return A1||(A1=1,ag.exports=yB()),ag.exports}var B=xB();const wB=Zx(B),SB=Qx({__proto__:null,default:wB},[B]);var ig={exports:{}},Ce={};/**
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 D1;function kB(){if(D1)return Ce;D1=1;var e=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),x=Symbol.iterator;function k(F){return F===null||typeof F!="object"?null:(F=x&&F[x]||F["@@iterator"],typeof F=="function"?F:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,z={};function _(F,U,te){this.props=F,this.context=U,this.refs=z,this.updater=te||w}_.prototype.isReactComponent={},_.prototype.setState=function(F,U){if(typeof F!="object"&&typeof F!="function"&&F!=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,F,U,"setState")},_.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function R(){}R.prototype=_.prototype;function C(F,U,te){this.props=F,this.context=U,this.refs=z,this.updater=te||w}var T=C.prototype=new R;T.constructor=C,y(T,_.prototype),T.isPureReactComponent=!0;var E=Array.isArray;function j(){}var M={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function W(F,U,te){var ce=te.ref;return{$$typeof:e,type:F,key:U,ref:ce!==void 0?ce:null,props:te}}function Y(F,U){return W(F.type,U,F.props)}function fe(F){return typeof F=="object"&&F!==null&&F.$$typeof===e}function le(F){var U={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(te){return U[te]})}var se=/\/+/g;function ie(F,U){return typeof F=="object"&&F!==null&&F.key!=null?le(""+F.key):U.toString(36)}function Q(F){switch(F.status){case"fulfilled":return F.value;case"rejected":throw F.reason;default:switch(typeof F.status=="string"?F.then(j,j):(F.status="pending",F.then(function(U){F.status==="pending"&&(F.status="fulfilled",F.value=U)},function(U){F.status==="pending"&&(F.status="rejected",F.reason=U)})),F.status){case"fulfilled":return F.value;case"rejected":throw F.reason}}throw F}function I(F,U,te,ce,me){var _e=typeof F;(_e==="undefined"||_e==="boolean")&&(F=null);var Fe=!1;if(F===null)Fe=!0;else switch(_e){case"bigint":case"string":case"number":Fe=!0;break;case"object":switch(F.$$typeof){case e:case o:Fe=!0;break;case v:return Fe=F._init,I(Fe(F._payload),U,te,ce,me)}}if(Fe)return me=me(F),Fe=ce===""?"."+ie(F,0):ce,E(me)?(te="",Fe!=null&&(te=Fe.replace(se,"$&/")+"/"),I(me,U,te,"",function(qe){return qe})):me!=null&&(fe(me)&&(me=Y(me,te+(me.key==null||F&&F.key===me.key?"":(""+me.key).replace(se,"$&/")+"/")+Fe)),U.push(me)),1;Fe=0;var Bt=ce===""?".":ce+":";if(E(F))for(var ft=0;ft<F.length;ft++)ce=F[ft],_e=Bt+ie(ce,ft),Fe+=I(ce,U,te,_e,me);else if(ft=k(F),typeof ft=="function")for(F=ft.call(F),ft=0;!(ce=F.next()).done;)ce=ce.value,_e=Bt+ie(ce,ft++),Fe+=I(ce,U,te,_e,me);else if(_e==="object"){if(typeof F.then=="function")return I(Q(F),U,te,ce,me);throw U=String(F),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return Fe}function ee(F,U,te){if(F==null)return F;var ce=[],me=0;return I(F,ce,"","",function(_e){return U.call(te,_e,me++)}),ce}function oe(F){if(F._status===-1){var U=F._result;U=U(),U.then(function(te){(F._status===0||F._status===-1)&&(F._status=1,F._result=te)},function(te){(F._status===0||F._status===-1)&&(F._status=2,F._result=te)}),F._status===-1&&(F._status=0,F._result=U)}if(F._status===1)return F._result.default;throw F._result}var he=typeof reportError=="function"?reportError:function(F){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof F=="object"&&F!==null&&typeof F.message=="string"?String(F.message):String(F),error:F});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",F);return}console.error(F)},Se={map:ee,forEach:function(F,U,te){ee(F,function(){U.apply(this,arguments)},te)},count:function(F){var U=0;return ee(F,function(){U++}),U},toArray:function(F){return ee(F,function(U){return U})||[]},only:function(F){if(!fe(F))throw Error("React.Children.only expected to receive a single React element child.");return F}};return Ce.Activity=m,Ce.Children=Se,Ce.Component=_,Ce.Fragment=n,Ce.Profiler=l,Ce.PureComponent=C,Ce.StrictMode=a,Ce.Suspense=h,Ce.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,Ce.__COMPILER_RUNTIME={__proto__:null,c:function(F){return M.H.useMemoCache(F)}},Ce.cache=function(F){return function(){return F.apply(null,arguments)}},Ce.cacheSignal=function(){return null},Ce.cloneElement=function(F,U,te){if(F==null)throw Error("The argument must be a React element, but you passed "+F+".");var ce=y({},F.props),me=F.key;if(U!=null)for(_e in U.key!==void 0&&(me=""+U.key),U)!O.call(U,_e)||_e==="key"||_e==="__self"||_e==="__source"||_e==="ref"&&U.ref===void 0||(ce[_e]=U[_e]);var _e=arguments.length-2;if(_e===1)ce.children=te;else if(1<_e){for(var Fe=Array(_e),Bt=0;Bt<_e;Bt++)Fe[Bt]=arguments[Bt+2];ce.children=Fe}return W(F.type,me,ce)},Ce.createContext=function(F){return F={$$typeof:u,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null},F.Provider=F,F.Consumer={$$typeof:c,_context:F},F},Ce.createElement=function(F,U,te){var ce,me={},_e=null;if(U!=null)for(ce in U.key!==void 0&&(_e=""+U.key),U)O.call(U,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(me[ce]=U[ce]);var Fe=arguments.length-2;if(Fe===1)me.children=te;else if(1<Fe){for(var Bt=Array(Fe),ft=0;ft<Fe;ft++)Bt[ft]=arguments[ft+2];me.children=Bt}if(F&&F.defaultProps)for(ce in Fe=F.defaultProps,Fe)me[ce]===void 0&&(me[ce]=Fe[ce]);return W(F,_e,me)},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(F){return{$$typeof:d,render:F}},Ce.isValidElement=fe,Ce.lazy=function(F){return{$$typeof:v,_payload:{_status:-1,_result:F},_init:oe}},Ce.memo=function(F,U){return{$$typeof:g,type:F,compare:U===void 0?null:U}},Ce.startTransition=function(F){var U=M.T,te={};M.T=te;try{var ce=F(),me=M.S;me!==null&&me(te,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(j,he)}catch(_e){he(_e)}finally{U!==null&&te.types!==null&&(U.types=te.types),M.T=U}},Ce.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},Ce.use=function(F){return M.H.use(F)},Ce.useActionState=function(F,U,te){return M.H.useActionState(F,U,te)},Ce.useCallback=function(F,U){return M.H.useCallback(F,U)},Ce.useContext=function(F){return M.H.useContext(F)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(F,U){return M.H.useDeferredValue(F,U)},Ce.useEffect=function(F,U){return M.H.useEffect(F,U)},Ce.useEffectEvent=function(F){return M.H.useEffectEvent(F)},Ce.useId=function(){return M.H.useId()},Ce.useImperativeHandle=function(F,U,te){return M.H.useImperativeHandle(F,U,te)},Ce.useInsertionEffect=function(F,U){return M.H.useInsertionEffect(F,U)},Ce.useLayoutEffect=function(F,U){return M.H.useLayoutEffect(F,U)},Ce.useMemo=function(F,U){return M.H.useMemo(F,U)},Ce.useOptimistic=function(F,U){return M.H.useOptimistic(F,U)},Ce.useReducer=function(F,U,te){return M.H.useReducer(F,U,te)},Ce.useRef=function(F){return M.H.useRef(F)},Ce.useState=function(F){return M.H.useState(F)},Ce.useSyncExternalStore=function(F,U,te){return M.H.useSyncExternalStore(F,U,te)},Ce.useTransition=function(){return M.H.useTransition()},Ce.version="19.2.6",Ce}var M1;function md(){return M1||(M1=1,ig.exports=kB()),ig.exports}var b=md();const Fg=Zx(b),Zu=Qx({__proto__:null,default:Fg},[b]);var lg={exports:{}},ks={},sg={exports:{}},cg={};/**
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 O1;function BB(){return O1||(O1=1,(function(e){function o(I,ee){var oe=I.length;I.push(ee);e:for(;0<oe;){var he=oe-1>>>1,Se=I[he];if(0<l(Se,ee))I[he]=ee,I[oe]=Se,oe=he;else break e}}function n(I){return I.length===0?null:I[0]}function a(I){if(I.length===0)return null;var ee=I[0],oe=I.pop();if(oe!==ee){I[0]=oe;e:for(var he=0,Se=I.length,F=Se>>>1;he<F;){var U=2*(he+1)-1,te=I[U],ce=U+1,me=I[ce];if(0>l(te,oe))ce<Se&&0>l(me,te)?(I[he]=me,I[ce]=oe,he=ce):(I[he]=te,I[U]=oe,he=U);else if(ce<Se&&0>l(me,oe))I[he]=me,I[ce]=oe,he=ce;else break e}}return ee}function l(I,ee){var oe=I.sortIndex-ee.sortIndex;return oe!==0?oe:I.id-ee.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 h=[],g=[],v=1,m=null,x=3,k=!1,w=!1,y=!1,z=!1,_=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function T(I){for(var ee=n(g);ee!==null;){if(ee.callback===null)a(g);else if(ee.startTime<=I)a(g),ee.sortIndex=ee.expirationTime,o(h,ee);else break;ee=n(g)}}function E(I){if(y=!1,T(I),!w)if(n(h)!==null)w=!0,j||(j=!0,le());else{var ee=n(g);ee!==null&&Q(E,ee.startTime-I)}}var j=!1,M=-1,O=5,W=-1;function Y(){return z?!0:!(e.unstable_now()-W<O)}function fe(){if(z=!1,j){var I=e.unstable_now();W=I;var ee=!0;try{e:{w=!1,y&&(y=!1,R(M),M=-1),k=!0;var oe=x;try{t:{for(T(I),m=n(h);m!==null&&!(m.expirationTime>I&&Y());){var he=m.callback;if(typeof he=="function"){m.callback=null,x=m.priorityLevel;var Se=he(m.expirationTime<=I);if(I=e.unstable_now(),typeof Se=="function"){m.callback=Se,T(I),ee=!0;break t}m===n(h)&&a(h),T(I)}else a(h);m=n(h)}if(m!==null)ee=!0;else{var F=n(g);F!==null&&Q(E,F.startTime-I),ee=!1}}break e}finally{m=null,x=oe,k=!1}ee=void 0}}finally{ee?le():j=!1}}}var le;if(typeof C=="function")le=function(){C(fe)};else if(typeof MessageChannel<"u"){var se=new MessageChannel,ie=se.port2;se.port1.onmessage=fe,le=function(){ie.postMessage(null)}}else le=function(){_(fe,0)};function Q(I,ee){M=_(function(){I(e.unstable_now())},ee)}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(I){I.callback=null},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function(I){switch(x){case 1:case 2:case 3:var ee=3;break;default:ee=x}var oe=x;x=ee;try{return I()}finally{x=oe}},e.unstable_requestPaint=function(){z=!0},e.unstable_runWithPriority=function(I,ee){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var oe=x;x=I;try{return ee()}finally{x=oe}},e.unstable_scheduleCallback=function(I,ee,oe){var he=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?he+oe:he):oe=he,I){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=oe+Se,I={id:v++,callback:ee,priorityLevel:I,startTime:oe,expirationTime:Se,sortIndex:-1},oe>he?(I.sortIndex=oe,o(g,I),n(h)===null&&I===n(g)&&(y?(R(M),M=-1):y=!0,Q(E,oe-he))):(I.sortIndex=Se,o(h,I),w||k||(w=!0,j||(j=!0,le()))),I},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(I){var ee=x;return function(){var oe=x;x=ee;try{return I.apply(this,arguments)}finally{x=oe}}}})(cg)),cg}var F1;function Yx(){return F1||(F1=1,sg.exports=BB()),sg.exports}var ug={exports:{}},Gt={};/**
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 q1;function _B(){if(q1)return Gt;q1=1;var e=md();function o(h){var g="https://react.dev/errors/"+h;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)g+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+h+"; visit "+g+" 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(o(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},l=Symbol.for("react.portal");function c(h,g,v){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:m==null?null:""+m,children:h,containerInfo:g,implementation:v}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(h,g){if(h==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Gt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Gt.createPortal=function(h,g){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(o(299));return c(h,g,null,v)},Gt.flushSync=function(h){var g=u.T,v=a.p;try{if(u.T=null,a.p=2,h)return h()}finally{u.T=g,a.p=v,a.d.f()}},Gt.preconnect=function(h,g){typeof h=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,a.d.C(h,g))},Gt.prefetchDNS=function(h){typeof h=="string"&&a.d.D(h)},Gt.preinit=function(h,g){if(typeof h=="string"&&g&&typeof g.as=="string"){var v=g.as,m=d(v,g.crossOrigin),x=typeof g.integrity=="string"?g.integrity:void 0,k=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;v==="style"?a.d.S(h,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:m,integrity:x,fetchPriority:k}):v==="script"&&a.d.X(h,{crossOrigin:m,integrity:x,fetchPriority:k,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Gt.preinitModule=function(h,g){if(typeof h=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var v=d(g.as,g.crossOrigin);a.d.M(h,{crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&a.d.M(h)},Gt.preload=function(h,g){if(typeof h=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var v=g.as,m=d(v,g.crossOrigin);a.d.L(h,v,{crossOrigin:m,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Gt.preloadModule=function(h,g){if(typeof h=="string")if(g){var v=d(g.as,g.crossOrigin);a.d.m(h,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else a.d.m(h)},Gt.requestFormReset=function(h){a.d.r(h)},Gt.unstable_batchedUpdates=function(h,g){return h(g)},Gt.useFormState=function(h,g,v){return u.H.useFormState(h,g,v)},Gt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Gt.version="19.2.6",Gt}var H1;function Jx(){if(H1)return ug.exports;H1=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(o){console.error(o)}}return e(),ug.exports=_B(),ug.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 P1;function zB(){if(P1)return ks;P1=1;var e=Yx(),o=md(),n=Jx();function a(t){var r="https://react.dev/errors/"+t;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)r+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+t+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function c(t){var r=t,i=t;if(t.alternate)for(;r.return;)r=r.return;else{t=r;do r=t,(r.flags&4098)!==0&&(i=r.return),t=r.return;while(t)}return r.tag===3?i:null}function u(t){if(t.tag===13){var r=t.memoizedState;if(r===null&&(t=t.alternate,t!==null&&(r=t.memoizedState)),r!==null)return r.dehydrated}return null}function d(t){if(t.tag===31){var r=t.memoizedState;if(r===null&&(t=t.alternate,t!==null&&(r=t.memoizedState)),r!==null)return r.dehydrated}return null}function h(t){if(c(t)!==t)throw Error(a(188))}function g(t){var r=t.alternate;if(!r){if(r=c(t),r===null)throw Error(a(188));return r!==t?null:t}for(var i=t,s=r;;){var f=i.return;if(f===null)break;var p=f.alternate;if(p===null){if(s=f.return,s!==null){i=s;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===i)return h(f),t;if(p===s)return h(f),r;p=p.sibling}throw Error(a(188))}if(i.return!==s.return)i=f,s=p;else{for(var S=!1,N=f.child;N;){if(N===i){S=!0,i=f,s=p;break}if(N===s){S=!0,s=f,i=p;break}N=N.sibling}if(!S){for(N=p.child;N;){if(N===i){S=!0,i=p,s=f;break}if(N===s){S=!0,s=p,i=f;break}N=N.sibling}if(!S)throw Error(a(189))}}if(i.alternate!==s)throw Error(a(190))}if(i.tag!==3)throw Error(a(188));return i.stateNode.current===i?t:r}function v(t){var r=t.tag;if(r===5||r===26||r===27||r===6)return t;for(t=t.child;t!==null;){if(r=v(t),r!==null)return r;t=t.sibling}return null}var m=Object.assign,x=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),C=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Y=Symbol.for("react.memo_cache_sentinel"),fe=Symbol.iterator;function le(t){return t===null||typeof t!="object"?null:(t=fe&&t[fe]||t["@@iterator"],typeof t=="function"?t:null)}var se=Symbol.for("react.client.reference");function ie(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===se?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case y:return"Fragment";case _:return"Profiler";case z:return"StrictMode";case E:return"Suspense";case j:return"SuspenseList";case W:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case w:return"Portal";case C:return t.displayName||"Context";case R:return(t._context.displayName||"Context")+".Consumer";case T:var r=t.render;return t=t.displayName,t||(t=r.displayName||r.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case M:return r=t.displayName||null,r!==null?r:ie(t.type)||"Memo";case O:r=t._payload,t=t._init;try{return ie(t(r))}catch{}}return null}var Q=Array.isArray,I=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},he=[],Se=-1;function F(t){return{current:t}}function U(t){0>Se||(t.current=he[Se],he[Se]=null,Se--)}function te(t,r){Se++,he[Se]=t.current,t.current=r}var ce=F(null),me=F(null),_e=F(null),Fe=F(null);function Bt(t,r){switch(te(_e,r),te(me,t),te(ce,null),r.nodeType){case 9:case 11:t=(t=r.documentElement)&&(t=t.namespaceURI)?e1(t):0;break;default:if(t=r.tagName,r=r.namespaceURI)r=e1(r),t=t1(r,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}U(ce),te(ce,t)}function ft(){U(ce),U(me),U(_e)}function qe(t){t.memoizedState!==null&&te(Fe,t);var r=ce.current,i=t1(r,t.type);r!==i&&(te(me,t),te(ce,i))}function et(t){me.current===t&&(U(ce),U(me)),Fe.current===t&&(U(Fe),bs._currentValue=oe)}var Zt,xr;function Yt(t){if(Zt===void 0)try{throw Error()}catch(i){var r=i.stack.trim().match(/\n( *(at )?)/);Zt=r&&r[1]||"",xr=-1<i.stack.indexOf(`
42
- at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
43
- `+Zt+t+xr}var wr=!1;function Or(t,r){if(!t||wr)return"";wr=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(r){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(K){var X=K}Reflect.construct(t,[],re)}else{try{re.call()}catch(K){X=K}t.call(re.prototype)}}else{try{throw Error()}catch(K){X=K}(re=t())&&typeof re.catch=="function"&&re.catch(function(){})}}catch(K){if(K&&X&&typeof K.stack=="string")return[K.stack,X.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=s.DetermineComponentFrameRoot(),S=p[0],N=p[1];if(S&&N){var A=S.split(`
44
- `),G=N.split(`
45
- `);for(f=s=0;s<A.length&&!A[s].includes("DetermineComponentFrameRoot");)s++;for(;f<G.length&&!G[f].includes("DetermineComponentFrameRoot");)f++;if(s===A.length||f===G.length)for(s=A.length-1,f=G.length-1;1<=s&&0<=f&&A[s]!==G[f];)f--;for(;1<=s&&0<=f;s--,f--)if(A[s]!==G[f]){if(s!==1||f!==1)do if(s--,f--,0>f||A[s]!==G[f]){var Z=`
46
- `+A[s].replace(" at new "," at ");return t.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",t.displayName)),Z}while(1<=s&&0<=f);break}}}finally{wr=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?Yt(i):""}function $S(t,r){switch(t.tag){case 26:case 27:case 5:return Yt(t.type);case 16:return Yt("Lazy");case 13:return t.child!==r&&r!==null?Yt("Suspense Fallback"):Yt("Suspense");case 19:return Yt("SuspenseList");case 0:case 15:return Or(t.type,!1);case 11:return Or(t.type.render,!1);case 1:return Or(t.type,!0);case 31:return Yt("Activity");default:return""}}function Rm(t){try{var r="",i=null;do r+=$S(t,i),i=t,t=t.return;while(t);return r}catch(s){return`
47
- Error generating stack: `+s.message+`
48
- `+s.stack}}var Id=Object.prototype.hasOwnProperty,Ud=e.unstable_scheduleCallback,Vd=e.unstable_cancelCallback,KS=e.unstable_shouldYield,QS=e.unstable_requestPaint,vo=e.unstable_now,ZS=e.unstable_getCurrentPriorityLevel,jm=e.unstable_ImmediatePriority,Am=e.unstable_UserBlockingPriority,uc=e.unstable_NormalPriority,YS=e.unstable_LowPriority,Dm=e.unstable_IdlePriority,JS=e.log,ek=e.unstable_setDisableYieldValue,El=null,bo=null;function wn(t){if(typeof JS=="function"&&ek(t),bo&&typeof bo.setStrictMode=="function")try{bo.setStrictMode(El,t)}catch{}}var yo=Math.clz32?Math.clz32:rk,tk=Math.log,ok=Math.LN2;function rk(t){return t>>>=0,t===0?32:31-(tk(t)/ok|0)|0}var dc=256,fc=262144,hc=4194304;function da(t){var r=t&42;if(r!==0)return r;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 gc(t,r,i){var s=t.pendingLanes;if(s===0)return 0;var f=0,p=t.suspendedLanes,S=t.pingedLanes;t=t.warmLanes;var N=s&134217727;return N!==0?(s=N&~p,s!==0?f=da(s):(S&=N,S!==0?f=da(S):i||(i=N&~t,i!==0&&(f=da(i))))):(N=s&~p,N!==0?f=da(N):S!==0?f=da(S):i||(i=s&~t,i!==0&&(f=da(i)))),f===0?0:r!==0&&r!==f&&(r&p)===0&&(p=f&-f,i=r&-r,p>=i||p===32&&(i&4194048)!==0)?r:f}function Rl(t,r){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&r)===0}function nk(t,r){switch(t){case 1:case 2:case 4:case 8:case 64:return r+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 r+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 Mm(){var t=hc;return hc<<=1,(hc&62914560)===0&&(hc=4194304),t}function Gd(t){for(var r=[],i=0;31>i;i++)r.push(t);return r}function jl(t,r){t.pendingLanes|=r,r!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function ak(t,r,i,s,f,p){var S=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 N=t.entanglements,A=t.expirationTimes,G=t.hiddenUpdates;for(i=S&~i;0<i;){var Z=31-yo(i),re=1<<Z;N[Z]=0,A[Z]=-1;var X=G[Z];if(X!==null)for(G[Z]=null,Z=0;Z<X.length;Z++){var K=X[Z];K!==null&&(K.lane&=-536870913)}i&=~re}s!==0&&Om(t,s,0),p!==0&&f===0&&t.tag!==0&&(t.suspendedLanes|=p&~(S&~r))}function Om(t,r,i){t.pendingLanes|=r,t.suspendedLanes&=~r;var s=31-yo(r);t.entangledLanes|=r,t.entanglements[s]=t.entanglements[s]|1073741824|i&261930}function Fm(t,r){var i=t.entangledLanes|=r;for(t=t.entanglements;i;){var s=31-yo(i),f=1<<s;f&r|t[s]&r&&(t[s]|=r),i&=~f}}function qm(t,r){var i=r&-r;return i=(i&42)!==0?1:Wd(i),(i&(t.suspendedLanes|r))!==0?0:i}function Wd(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 Xd(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Hm(){var t=ee.p;return t!==0?t:(t=window.event,t===void 0?32:B1(t.type))}function Pm(t,r){var i=ee.p;try{return ee.p=t,r()}finally{ee.p=i}}var Sn=Math.random().toString(36).slice(2),Ht="__reactFiber$"+Sn,no="__reactProps$"+Sn,Ja="__reactContainer$"+Sn,$d="__reactEvents$"+Sn,ik="__reactListeners$"+Sn,lk="__reactHandles$"+Sn,Lm="__reactResources$"+Sn,Al="__reactMarker$"+Sn;function Kd(t){delete t[Ht],delete t[no],delete t[$d],delete t[ik],delete t[lk]}function ei(t){var r=t[Ht];if(r)return r;for(var i=t.parentNode;i;){if(r=i[Ja]||i[Ht]){if(i=r.alternate,r.child!==null||i!==null&&i.child!==null)for(t=s1(t);t!==null;){if(i=t[Ht])return i;t=s1(t)}return r}t=i,i=t.parentNode}return null}function ti(t){if(t=t[Ht]||t[Ja]){var r=t.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return t}return null}function Dl(t){var r=t.tag;if(r===5||r===26||r===27||r===6)return t.stateNode;throw Error(a(33))}function oi(t){var r=t[Lm];return r||(r=t[Lm]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Mt(t){t[Al]=!0}var Im=new Set,Um={};function fa(t,r){ri(t,r),ri(t+"Capture",r)}function ri(t,r){for(Um[t]=r,t=0;t<r.length;t++)Im.add(r[t])}var sk=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]*$"),Vm={},Gm={};function ck(t){return Id.call(Gm,t)?!0:Id.call(Vm,t)?!1:sk.test(t)?Gm[t]=!0:(Vm[t]=!0,!1)}function pc(t,r,i){if(ck(r))if(i===null)t.removeAttribute(r);else{switch(typeof i){case"undefined":case"function":case"symbol":t.removeAttribute(r);return;case"boolean":var s=r.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){t.removeAttribute(r);return}}t.setAttribute(r,""+i)}}function mc(t,r,i){if(i===null)t.removeAttribute(r);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(r);return}t.setAttribute(r,""+i)}}function Fr(t,r,i,s){if(s===null)t.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttributeNS(r,i,""+s)}}function Oo(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Wm(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function uk(t,r,i){var s=Object.getOwnPropertyDescriptor(t.constructor.prototype,r);if(!t.hasOwnProperty(r)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var f=s.get,p=s.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return f.call(this)},set:function(S){i=""+S,p.call(this,S)}}),Object.defineProperty(t,r,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(S){i=""+S},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function Qd(t){if(!t._valueTracker){var r=Wm(t)?"checked":"value";t._valueTracker=uk(t,r,""+t[r])}}function Xm(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var i=r.getValue(),s="";return t&&(s=Wm(t)?t.checked?"true":"false":t.value),t=s,t!==i?(r.setValue(t),!0):!1}function vc(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 dk=/[\n"\\]/g;function Fo(t){return t.replace(dk,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Zd(t,r,i,s,f,p,S,N){t.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.type=S:t.removeAttribute("type"),r!=null?S==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+Oo(r)):t.value!==""+Oo(r)&&(t.value=""+Oo(r)):S!=="submit"&&S!=="reset"||t.removeAttribute("value"),r!=null?Yd(t,S,Oo(r)):i!=null?Yd(t,S,Oo(i)):s!=null&&t.removeAttribute("value"),f==null&&p!=null&&(t.defaultChecked=!!p),f!=null&&(t.checked=f&&typeof f!="function"&&typeof f!="symbol"),N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?t.name=""+Oo(N):t.removeAttribute("name")}function $m(t,r,i,s,f,p,S,N){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(t.type=p),r!=null||i!=null){if(!(p!=="submit"&&p!=="reset"||r!=null)){Qd(t);return}i=i!=null?""+Oo(i):"",r=r!=null?""+Oo(r):i,N||r===t.value||(t.value=r),t.defaultValue=r}s=s??f,s=typeof s!="function"&&typeof s!="symbol"&&!!s,t.checked=N?t.checked:!!s,t.defaultChecked=!!s,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(t.name=S),Qd(t)}function Yd(t,r,i){r==="number"&&vc(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function ni(t,r,i,s){if(t=t.options,r){r={};for(var f=0;f<i.length;f++)r["$"+i[f]]=!0;for(i=0;i<t.length;i++)f=r.hasOwnProperty("$"+t[i].value),t[i].selected!==f&&(t[i].selected=f),f&&s&&(t[i].defaultSelected=!0)}else{for(i=""+Oo(i),r=null,f=0;f<t.length;f++){if(t[f].value===i){t[f].selected=!0,s&&(t[f].defaultSelected=!0);return}r!==null||t[f].disabled||(r=t[f])}r!==null&&(r.selected=!0)}}function Km(t,r,i){if(r!=null&&(r=""+Oo(r),r!==t.value&&(t.value=r),i==null)){t.defaultValue!==r&&(t.defaultValue=r);return}t.defaultValue=i!=null?""+Oo(i):""}function Qm(t,r,i,s){if(r==null){if(s!=null){if(i!=null)throw Error(a(92));if(Q(s)){if(1<s.length)throw Error(a(93));s=s[0]}i=s}i==null&&(i=""),r=i}i=Oo(r),t.defaultValue=i,s=t.textContent,s===i&&s!==""&&s!==null&&(t.value=s),Qd(t)}function ai(t,r){if(r){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=r;return}}t.textContent=r}var fk=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 Zm(t,r,i){var s=r.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?s?t.setProperty(r,""):r==="float"?t.cssFloat="":t[r]="":s?t.setProperty(r,i):typeof i!="number"||i===0||fk.has(r)?r==="float"?t.cssFloat=i:t[r]=(""+i).trim():t[r]=i+"px"}function Ym(t,r,i){if(r!=null&&typeof r!="object")throw Error(a(62));if(t=t.style,i!=null){for(var s in i)!i.hasOwnProperty(s)||r!=null&&r.hasOwnProperty(s)||(s.indexOf("--")===0?t.setProperty(s,""):s==="float"?t.cssFloat="":t[s]="");for(var f in r)s=r[f],r.hasOwnProperty(f)&&i[f]!==s&&Zm(t,f,s)}else for(var p in r)r.hasOwnProperty(p)&&Zm(t,p,r[p])}function Jd(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 hk=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"]]),gk=/^[\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 bc(t){return gk.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function qr(){}var ef=null;function tf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ii=null,li=null;function Jm(t){var r=ti(t);if(r&&(t=r.stateNode)){var i=t[no]||null;e:switch(t=r.stateNode,r.type){case"input":if(Zd(t,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),r=i.name,i.type==="radio"&&r!=null){for(i=t;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Fo(""+r)+'"][type="radio"]'),r=0;r<i.length;r++){var s=i[r];if(s!==t&&s.form===t.form){var f=s[no]||null;if(!f)throw Error(a(90));Zd(s,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(r=0;r<i.length;r++)s=i[r],s.form===t.form&&Xm(s)}break e;case"textarea":Km(t,i.value,i.defaultValue);break e;case"select":r=i.value,r!=null&&ni(t,!!i.multiple,r,!1)}}}var of=!1;function e0(t,r,i){if(of)return t(r,i);of=!0;try{var s=t(r);return s}finally{if(of=!1,(ii!==null||li!==null)&&(au(),ii&&(r=ii,t=li,li=ii=null,Jm(r),t)))for(r=0;r<t.length;r++)Jm(t[r])}}function Ml(t,r){var i=t.stateNode;if(i===null)return null;var s=i[no]||null;if(s===null)return null;i=s[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(t=t.type,s=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!s;break e;default:t=!1}if(t)return null;if(i&&typeof i!="function")throw Error(a(231,r,typeof i));return i}var Hr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rf=!1;if(Hr)try{var Ol={};Object.defineProperty(Ol,"passive",{get:function(){rf=!0}}),window.addEventListener("test",Ol,Ol),window.removeEventListener("test",Ol,Ol)}catch{rf=!1}var kn=null,nf=null,yc=null;function t0(){if(yc)return yc;var t,r=nf,i=r.length,s,f="value"in kn?kn.value:kn.textContent,p=f.length;for(t=0;t<i&&r[t]===f[t];t++);var S=i-t;for(s=1;s<=S&&r[i-s]===f[p-s];s++);return yc=f.slice(t,1<s?1-s:void 0)}function xc(t){var r=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&r===13&&(t=13)):t=r,t===10&&(t=13),32<=t||t===13?t:0}function wc(){return!0}function o0(){return!1}function ao(t){function r(i,s,f,p,S){this._reactName=i,this._targetInst=f,this.type=s,this.nativeEvent=p,this.target=S,this.currentTarget=null;for(var N in t)t.hasOwnProperty(N)&&(i=t[N],this[N]=i?i(p):p[N]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?wc:o0,this.isPropagationStopped=o0,this}return m(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=wc)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=wc)},persist:function(){},isPersistent:wc}),r}var ha={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sc=ao(ha),Fl=m({},ha,{view:0,detail:0}),pk=ao(Fl),af,lf,ql,kc=m({},Fl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:cf,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!==ql&&(ql&&t.type==="mousemove"?(af=t.screenX-ql.screenX,lf=t.screenY-ql.screenY):lf=af=0,ql=t),af)},movementY:function(t){return"movementY"in t?t.movementY:lf}}),r0=ao(kc),mk=m({},kc,{dataTransfer:0}),vk=ao(mk),bk=m({},Fl,{relatedTarget:0}),sf=ao(bk),yk=m({},ha,{animationName:0,elapsedTime:0,pseudoElement:0}),xk=ao(yk),wk=m({},ha,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Sk=ao(wk),kk=m({},ha,{data:0}),n0=ao(kk),Bk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_k={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"},zk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ck(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=zk[t])?!!r[t]:!1}function cf(){return Ck}var Nk=m({},Fl,{key:function(t){if(t.key){var r=Bk[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=xc(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?_k[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:cf,charCode:function(t){return t.type==="keypress"?xc(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?xc(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Tk=ao(Nk),Ek=m({},kc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),a0=ao(Ek),Rk=m({},Fl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:cf}),jk=ao(Rk),Ak=m({},ha,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dk=ao(Ak),Mk=m({},kc,{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}),Ok=ao(Mk),Fk=m({},ha,{newState:0,oldState:0}),qk=ao(Fk),Hk=[9,13,27,32],uf=Hr&&"CompositionEvent"in window,Hl=null;Hr&&"documentMode"in document&&(Hl=document.documentMode);var Pk=Hr&&"TextEvent"in window&&!Hl,i0=Hr&&(!uf||Hl&&8<Hl&&11>=Hl),l0=" ",s0=!1;function c0(t,r){switch(t){case"keyup":return Hk.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function u0(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var si=!1;function Lk(t,r){switch(t){case"compositionend":return u0(r);case"keypress":return r.which!==32?null:(s0=!0,l0);case"textInput":return t=r.data,t===l0&&s0?null:t;default:return null}}function Ik(t,r){if(si)return t==="compositionend"||!uf&&c0(t,r)?(t=t0(),yc=nf=kn=null,si=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return i0&&r.locale!=="ko"?null:r.data;default:return null}}var Uk={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 d0(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!Uk[t.type]:r==="textarea"}function f0(t,r,i,s){ii?li?li.push(s):li=[s]:ii=s,r=fu(r,"onChange"),0<r.length&&(i=new Sc("onChange","change",null,i,s),t.push({event:i,listeners:r}))}var Pl=null,Ll=null;function Vk(t){$b(t,0)}function Bc(t){var r=Dl(t);if(Xm(r))return t}function h0(t,r){if(t==="change")return r}var g0=!1;if(Hr){var df;if(Hr){var ff="oninput"in document;if(!ff){var p0=document.createElement("div");p0.setAttribute("oninput","return;"),ff=typeof p0.oninput=="function"}df=ff}else df=!1;g0=df&&(!document.documentMode||9<document.documentMode)}function m0(){Pl&&(Pl.detachEvent("onpropertychange",v0),Ll=Pl=null)}function v0(t){if(t.propertyName==="value"&&Bc(Ll)){var r=[];f0(r,Ll,t,tf(t)),e0(Vk,r)}}function Gk(t,r,i){t==="focusin"?(m0(),Pl=r,Ll=i,Pl.attachEvent("onpropertychange",v0)):t==="focusout"&&m0()}function Wk(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Bc(Ll)}function Xk(t,r){if(t==="click")return Bc(r)}function $k(t,r){if(t==="input"||t==="change")return Bc(r)}function Kk(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var xo=typeof Object.is=="function"?Object.is:Kk;function Il(t,r){if(xo(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var i=Object.keys(t),s=Object.keys(r);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var f=i[s];if(!Id.call(r,f)||!xo(t[f],r[f]))return!1}return!0}function b0(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function y0(t,r){var i=b0(t);t=0;for(var s;i;){if(i.nodeType===3){if(s=t+i.textContent.length,t<=r&&s>=r)return{node:i,offset:r-t};t=s}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=b0(i)}}function x0(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?x0(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function w0(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var r=vc(t.document);r instanceof t.HTMLIFrameElement;){try{var i=typeof r.contentWindow.location.href=="string"}catch{i=!1}if(i)t=r.contentWindow;else break;r=vc(t.document)}return r}function hf(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&(r==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||r==="textarea"||t.contentEditable==="true")}var Qk=Hr&&"documentMode"in document&&11>=document.documentMode,ci=null,gf=null,Ul=null,pf=!1;function S0(t,r,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;pf||ci==null||ci!==vc(s)||(s=ci,"selectionStart"in s&&hf(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Ul&&Il(Ul,s)||(Ul=s,s=fu(gf,"onSelect"),0<s.length&&(r=new Sc("onSelect","select",null,r,i),t.push({event:r,listeners:s}),r.target=ci)))}function ga(t,r){var i={};return i[t.toLowerCase()]=r.toLowerCase(),i["Webkit"+t]="webkit"+r,i["Moz"+t]="moz"+r,i}var ui={animationend:ga("Animation","AnimationEnd"),animationiteration:ga("Animation","AnimationIteration"),animationstart:ga("Animation","AnimationStart"),transitionrun:ga("Transition","TransitionRun"),transitionstart:ga("Transition","TransitionStart"),transitioncancel:ga("Transition","TransitionCancel"),transitionend:ga("Transition","TransitionEnd")},mf={},k0={};Hr&&(k0=document.createElement("div").style,"AnimationEvent"in window||(delete ui.animationend.animation,delete ui.animationiteration.animation,delete ui.animationstart.animation),"TransitionEvent"in window||delete ui.transitionend.transition);function pa(t){if(mf[t])return mf[t];if(!ui[t])return t;var r=ui[t],i;for(i in r)if(r.hasOwnProperty(i)&&i in k0)return mf[t]=r[i];return t}var B0=pa("animationend"),_0=pa("animationiteration"),z0=pa("animationstart"),Zk=pa("transitionrun"),Yk=pa("transitionstart"),Jk=pa("transitioncancel"),C0=pa("transitionend"),N0=new Map,vf="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(" ");vf.push("scrollEnd");function rr(t,r){N0.set(t,r),fa(r,[t])}var _c=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=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(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},qo=[],di=0,bf=0;function zc(){for(var t=di,r=bf=di=0;r<t;){var i=qo[r];qo[r++]=null;var s=qo[r];qo[r++]=null;var f=qo[r];qo[r++]=null;var p=qo[r];if(qo[r++]=null,s!==null&&f!==null){var S=s.pending;S===null?f.next=f:(f.next=S.next,S.next=f),s.pending=f}p!==0&&T0(i,f,p)}}function Cc(t,r,i,s){qo[di++]=t,qo[di++]=r,qo[di++]=i,qo[di++]=s,bf|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function yf(t,r,i,s){return Cc(t,r,i,s),Nc(t)}function ma(t,r){return Cc(t,null,null,r),Nc(t)}function T0(t,r,i){t.lanes|=i;var s=t.alternate;s!==null&&(s.lanes|=i);for(var f=!1,p=t.return;p!==null;)p.childLanes|=i,s=p.alternate,s!==null&&(s.childLanes|=i),p.tag===22&&(t=p.stateNode,t===null||t._visibility&1||(f=!0)),t=p,p=p.return;return t.tag===3?(p=t.stateNode,f&&r!==null&&(f=31-yo(i),t=p.hiddenUpdates,s=t[f],s===null?t[f]=[r]:s.push(r),r.lane=i|536870912),p):null}function Nc(t){if(50<ds)throw ds=0,Nh=null,Error(a(185));for(var r=t.return;r!==null;)t=r,r=t.return;return t.tag===3?t.stateNode:null}var fi={};function e3(t,r,i,s){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=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wo(t,r,i,s){return new e3(t,r,i,s)}function xf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Pr(t,r){var i=t.alternate;return i===null?(i=wo(t.tag,r,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=r,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,r=t.dependencies,i.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i.refCleanup=t.refCleanup,i}function E0(t,r){t.flags&=65011714;var i=t.alternate;return i===null?(t.childLanes=0,t.lanes=r,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,r=i.dependencies,t.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),t}function Tc(t,r,i,s,f,p){var S=0;if(s=t,typeof t=="function")xf(t)&&(S=1);else if(typeof t=="string")S=aB(t,i,ce.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case W:return t=wo(31,i,r,f),t.elementType=W,t.lanes=p,t;case y:return va(i.children,f,p,r);case z:S=8,f|=24;break;case _:return t=wo(12,i,r,f|2),t.elementType=_,t.lanes=p,t;case E:return t=wo(13,i,r,f),t.elementType=E,t.lanes=p,t;case j:return t=wo(19,i,r,f),t.elementType=j,t.lanes=p,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case C:S=10;break e;case R:S=9;break e;case T:S=11;break e;case M:S=14;break e;case O:S=16,s=null;break e}S=29,i=Error(a(130,t===null?"null":typeof t,"")),s=null}return r=wo(S,i,r,f),r.elementType=t,r.type=s,r.lanes=p,r}function va(t,r,i,s){return t=wo(7,t,s,r),t.lanes=i,t}function wf(t,r,i){return t=wo(6,t,null,r),t.lanes=i,t}function R0(t){var r=wo(18,null,null,0);return r.stateNode=t,r}function Sf(t,r,i){return r=wo(4,t.children!==null?t.children:[],t.key,r),r.lanes=i,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}var j0=new WeakMap;function Ho(t,r){if(typeof t=="object"&&t!==null){var i=j0.get(t);return i!==void 0?i:(r={value:t,source:r,stack:Rm(r)},j0.set(t,r),r)}return{value:t,source:r,stack:Rm(r)}}var hi=[],gi=0,Ec=null,Vl=0,Po=[],Lo=0,Bn=null,Sr=1,kr="";function Lr(t,r){hi[gi++]=Vl,hi[gi++]=Ec,Ec=t,Vl=r}function A0(t,r,i){Po[Lo++]=Sr,Po[Lo++]=kr,Po[Lo++]=Bn,Bn=t;var s=Sr;t=kr;var f=32-yo(s)-1;s&=~(1<<f),i+=1;var p=32-yo(r)+f;if(30<p){var S=f-f%5;p=(s&(1<<S)-1).toString(32),s>>=S,f-=S,Sr=1<<32-yo(r)+f|i<<f|s,kr=p+t}else Sr=1<<p|i<<f|s,kr=t}function kf(t){t.return!==null&&(Lr(t,1),A0(t,1,0))}function Bf(t){for(;t===Ec;)Ec=hi[--gi],hi[gi]=null,Vl=hi[--gi],hi[gi]=null;for(;t===Bn;)Bn=Po[--Lo],Po[Lo]=null,kr=Po[--Lo],Po[Lo]=null,Sr=Po[--Lo],Po[Lo]=null}function D0(t,r){Po[Lo++]=Sr,Po[Lo++]=kr,Po[Lo++]=Bn,Sr=r.id,kr=r.overflow,Bn=t}var Pt=null,ut=null,Ie=!1,_n=null,Io=!1,_f=Error(a(519));function zn(t){var r=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Gl(Ho(r,t)),_f}function M0(t){var r=t.stateNode,i=t.type,s=t.memoizedProps;switch(r[Ht]=t,r[no]=s,i){case"dialog":Oe("cancel",r),Oe("close",r);break;case"iframe":case"object":case"embed":Oe("load",r);break;case"video":case"audio":for(i=0;i<hs.length;i++)Oe(hs[i],r);break;case"source":Oe("error",r);break;case"img":case"image":case"link":Oe("error",r),Oe("load",r);break;case"details":Oe("toggle",r);break;case"input":Oe("invalid",r),$m(r,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":Oe("invalid",r);break;case"textarea":Oe("invalid",r),Qm(r,s.value,s.defaultValue,s.children)}i=s.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||r.textContent===""+i||s.suppressHydrationWarning===!0||Yb(r.textContent,i)?(s.popover!=null&&(Oe("beforetoggle",r),Oe("toggle",r)),s.onScroll!=null&&Oe("scroll",r),s.onScrollEnd!=null&&Oe("scrollend",r),s.onClick!=null&&(r.onclick=qr),r=!0):r=!1,r||zn(t,!0)}function O0(t){for(Pt=t.return;Pt;)switch(Pt.tag){case 5:case 31:case 13:Io=!1;return;case 27:case 3:Io=!0;return;default:Pt=Pt.return}}function pi(t){if(t!==Pt)return!1;if(!Ie)return O0(t),Ie=!0,!1;var r=t.tag,i;if((i=r!==3&&r!==27)&&((i=r===5)&&(i=t.type,i=!(i!=="form"&&i!=="button")||Uh(t.type,t.memoizedProps)),i=!i),i&&ut&&zn(t),O0(t),r===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));ut=l1(t)}else if(r===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));ut=l1(t)}else r===27?(r=ut,Pn(t.type)?(t=$h,$h=null,ut=t):ut=r):ut=Pt?Vo(t.stateNode.nextSibling):null;return!0}function ba(){ut=Pt=null,Ie=!1}function zf(){var t=_n;return t!==null&&(co===null?co=t:co.push.apply(co,t),_n=null),t}function Gl(t){_n===null?_n=[t]:_n.push(t)}var Cf=F(null),ya=null,Ir=null;function Cn(t,r,i){te(Cf,r._currentValue),r._currentValue=i}function Ur(t){t._currentValue=Cf.current,U(Cf)}function Nf(t,r,i){for(;t!==null;){var s=t.alternate;if((t.childLanes&r)!==r?(t.childLanes|=r,s!==null&&(s.childLanes|=r)):s!==null&&(s.childLanes&r)!==r&&(s.childLanes|=r),t===i)break;t=t.return}}function Tf(t,r,i,s){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var p=f.dependencies;if(p!==null){var S=f.child;p=p.firstContext;e:for(;p!==null;){var N=p;p=f;for(var A=0;A<r.length;A++)if(N.context===r[A]){p.lanes|=i,N=p.alternate,N!==null&&(N.lanes|=i),Nf(p.return,i,t),s||(S=null);break e}p=N.next}}else if(f.tag===18){if(S=f.return,S===null)throw Error(a(341));S.lanes|=i,p=S.alternate,p!==null&&(p.lanes|=i),Nf(S,i,t),S=null}else S=f.child;if(S!==null)S.return=f;else for(S=f;S!==null;){if(S===t){S=null;break}if(f=S.sibling,f!==null){f.return=S.return,S=f;break}S=S.return}f=S}}function mi(t,r,i,s){t=null;for(var f=r,p=!1;f!==null;){if(!p){if((f.flags&524288)!==0)p=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var S=f.alternate;if(S===null)throw Error(a(387));if(S=S.memoizedProps,S!==null){var N=f.type;xo(f.pendingProps.value,S.value)||(t!==null?t.push(N):t=[N])}}else if(f===Fe.current){if(S=f.alternate,S===null)throw Error(a(387));S.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(t!==null?t.push(bs):t=[bs])}f=f.return}t!==null&&Tf(r,t,i,s),r.flags|=262144}function Rc(t){for(t=t.firstContext;t!==null;){if(!xo(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function xa(t){ya=t,Ir=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Lt(t){return F0(ya,t)}function jc(t,r){return ya===null&&xa(t),F0(t,r)}function F0(t,r){var i=r._currentValue;if(r={context:r,memoizedValue:i,next:null},Ir===null){if(t===null)throw Error(a(308));Ir=r,t.dependencies={lanes:0,firstContext:r},t.flags|=524288}else Ir=Ir.next=r;return i}var t3=typeof AbortController<"u"?AbortController:function(){var t=[],r=this.signal={aborted:!1,addEventListener:function(i,s){t.push(s)}};this.abort=function(){r.aborted=!0,t.forEach(function(i){return i()})}},o3=e.unstable_scheduleCallback,r3=e.unstable_NormalPriority,_t={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ef(){return{controller:new t3,data:new Map,refCount:0}}function Wl(t){t.refCount--,t.refCount===0&&o3(r3,function(){t.controller.abort()})}var Xl=null,Rf=0,vi=0,bi=null;function n3(t,r){if(Xl===null){var i=Xl=[];Rf=0,vi=Dh(),bi={status:"pending",value:void 0,then:function(s){i.push(s)}}}return Rf++,r.then(q0,q0),r}function q0(){if(--Rf===0&&Xl!==null){bi!==null&&(bi.status="fulfilled");var t=Xl;Xl=null,vi=0,bi=null;for(var r=0;r<t.length;r++)(0,t[r])()}}function a3(t,r){var i=[],s={status:"pending",value:null,reason:null,then:function(f){i.push(f)}};return t.then(function(){s.status="fulfilled",s.value=r;for(var f=0;f<i.length;f++)(0,i[f])(r)},function(f){for(s.status="rejected",s.reason=f,f=0;f<i.length;f++)(0,i[f])(void 0)}),s}var H0=I.S;I.S=function(t,r){Sb=vo(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&n3(t,r),H0!==null&&H0(t,r)};var wa=F(null);function jf(){var t=wa.current;return t!==null?t:nt.pooledCache}function Ac(t,r){r===null?te(wa,wa.current):te(wa,r.pool)}function P0(){var t=jf();return t===null?null:{parent:_t._currentValue,pool:t}}var yi=Error(a(460)),Af=Error(a(474)),Dc=Error(a(542)),Mc={then:function(){}};function L0(t){return t=t.status,t==="fulfilled"||t==="rejected"}function I0(t,r,i){switch(i=t[i],i===void 0?t.push(r):i!==r&&(r.then(qr,qr),r=i),r.status){case"fulfilled":return r.value;case"rejected":throw t=r.reason,V0(t),t;default:if(typeof r.status=="string")r.then(qr,qr);else{if(t=nt,t!==null&&100<t.shellSuspendCounter)throw Error(a(482));t=r,t.status="pending",t.then(function(s){if(r.status==="pending"){var f=r;f.status="fulfilled",f.value=s}},function(s){if(r.status==="pending"){var f=r;f.status="rejected",f.reason=s}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw t=r.reason,V0(t),t}throw ka=r,yi}}function Sa(t){try{var r=t._init;return r(t._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(ka=i,yi):i}}var ka=null;function U0(){if(ka===null)throw Error(a(459));var t=ka;return ka=null,t}function V0(t){if(t===yi||t===Dc)throw Error(a(483))}var xi=null,$l=0;function Oc(t){var r=$l;return $l+=1,xi===null&&(xi=[]),I0(xi,t,r)}function Kl(t,r){r=r.props.ref,t.ref=r!==void 0?r:null}function Fc(t,r){throw r.$$typeof===x?Error(a(525)):(t=Object.prototype.toString.call(r),Error(a(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t)))}function G0(t){function r(L,q){if(t){var V=L.deletions;V===null?(L.deletions=[q],L.flags|=16):V.push(q)}}function i(L,q){if(!t)return null;for(;q!==null;)r(L,q),q=q.sibling;return null}function s(L){for(var q=new Map;L!==null;)L.key!==null?q.set(L.key,L):q.set(L.index,L),L=L.sibling;return q}function f(L,q){return L=Pr(L,q),L.index=0,L.sibling=null,L}function p(L,q,V){return L.index=V,t?(V=L.alternate,V!==null?(V=V.index,V<q?(L.flags|=67108866,q):V):(L.flags|=67108866,q)):(L.flags|=1048576,q)}function S(L){return t&&L.alternate===null&&(L.flags|=67108866),L}function N(L,q,V,J){return q===null||q.tag!==6?(q=wf(V,L.mode,J),q.return=L,q):(q=f(q,V),q.return=L,q)}function A(L,q,V,J){var we=V.type;return we===y?Z(L,q,V.props.children,J,V.key):q!==null&&(q.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===O&&Sa(we)===q.type)?(q=f(q,V.props),Kl(q,V),q.return=L,q):(q=Tc(V.type,V.key,V.props,null,L.mode,J),Kl(q,V),q.return=L,q)}function G(L,q,V,J){return q===null||q.tag!==4||q.stateNode.containerInfo!==V.containerInfo||q.stateNode.implementation!==V.implementation?(q=Sf(V,L.mode,J),q.return=L,q):(q=f(q,V.children||[]),q.return=L,q)}function Z(L,q,V,J,we){return q===null||q.tag!==7?(q=va(V,L.mode,J,we),q.return=L,q):(q=f(q,V),q.return=L,q)}function re(L,q,V){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return q=wf(""+q,L.mode,V),q.return=L,q;if(typeof q=="object"&&q!==null){switch(q.$$typeof){case k:return V=Tc(q.type,q.key,q.props,null,L.mode,V),Kl(V,q),V.return=L,V;case w:return q=Sf(q,L.mode,V),q.return=L,q;case O:return q=Sa(q),re(L,q,V)}if(Q(q)||le(q))return q=va(q,L.mode,V,null),q.return=L,q;if(typeof q.then=="function")return re(L,Oc(q),V);if(q.$$typeof===C)return re(L,jc(L,q),V);Fc(L,q)}return null}function X(L,q,V,J){var we=q!==null?q.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return we!==null?null:N(L,q,""+V,J);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case k:return V.key===we?A(L,q,V,J):null;case w:return V.key===we?G(L,q,V,J):null;case O:return V=Sa(V),X(L,q,V,J)}if(Q(V)||le(V))return we!==null?null:Z(L,q,V,J,null);if(typeof V.then=="function")return X(L,q,Oc(V),J);if(V.$$typeof===C)return X(L,q,jc(L,V),J);Fc(L,V)}return null}function K(L,q,V,J,we){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return L=L.get(V)||null,N(q,L,""+J,we);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case k:return L=L.get(J.key===null?V:J.key)||null,A(q,L,J,we);case w:return L=L.get(J.key===null?V:J.key)||null,G(q,L,J,we);case O:return J=Sa(J),K(L,q,V,J,we)}if(Q(J)||le(J))return L=L.get(V)||null,Z(q,L,J,we,null);if(typeof J.then=="function")return K(L,q,V,Oc(J),we);if(J.$$typeof===C)return K(L,q,V,jc(q,J),we);Fc(q,J)}return null}function be(L,q,V,J){for(var we=null,Ve=null,ye=q,Re=q=0,Pe=null;ye!==null&&Re<V.length;Re++){ye.index>Re?(Pe=ye,ye=null):Pe=ye.sibling;var Ge=X(L,ye,V[Re],J);if(Ge===null){ye===null&&(ye=Pe);break}t&&ye&&Ge.alternate===null&&r(L,ye),q=p(Ge,q,Re),Ve===null?we=Ge:Ve.sibling=Ge,Ve=Ge,ye=Pe}if(Re===V.length)return i(L,ye),Ie&&Lr(L,Re),we;if(ye===null){for(;Re<V.length;Re++)ye=re(L,V[Re],J),ye!==null&&(q=p(ye,q,Re),Ve===null?we=ye:Ve.sibling=ye,Ve=ye);return Ie&&Lr(L,Re),we}for(ye=s(ye);Re<V.length;Re++)Pe=K(ye,L,Re,V[Re],J),Pe!==null&&(t&&Pe.alternate!==null&&ye.delete(Pe.key===null?Re:Pe.key),q=p(Pe,q,Re),Ve===null?we=Pe:Ve.sibling=Pe,Ve=Pe);return t&&ye.forEach(function(Gn){return r(L,Gn)}),Ie&&Lr(L,Re),we}function ke(L,q,V,J){if(V==null)throw Error(a(151));for(var we=null,Ve=null,ye=q,Re=q=0,Pe=null,Ge=V.next();ye!==null&&!Ge.done;Re++,Ge=V.next()){ye.index>Re?(Pe=ye,ye=null):Pe=ye.sibling;var Gn=X(L,ye,Ge.value,J);if(Gn===null){ye===null&&(ye=Pe);break}t&&ye&&Gn.alternate===null&&r(L,ye),q=p(Gn,q,Re),Ve===null?we=Gn:Ve.sibling=Gn,Ve=Gn,ye=Pe}if(Ge.done)return i(L,ye),Ie&&Lr(L,Re),we;if(ye===null){for(;!Ge.done;Re++,Ge=V.next())Ge=re(L,Ge.value,J),Ge!==null&&(q=p(Ge,q,Re),Ve===null?we=Ge:Ve.sibling=Ge,Ve=Ge);return Ie&&Lr(L,Re),we}for(ye=s(ye);!Ge.done;Re++,Ge=V.next())Ge=K(ye,L,Re,Ge.value,J),Ge!==null&&(t&&Ge.alternate!==null&&ye.delete(Ge.key===null?Re:Ge.key),q=p(Ge,q,Re),Ve===null?we=Ge:Ve.sibling=Ge,Ve=Ge);return t&&ye.forEach(function(mB){return r(L,mB)}),Ie&&Lr(L,Re),we}function rt(L,q,V,J){if(typeof V=="object"&&V!==null&&V.type===y&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case k:e:{for(var we=V.key;q!==null;){if(q.key===we){if(we=V.type,we===y){if(q.tag===7){i(L,q.sibling),J=f(q,V.props.children),J.return=L,L=J;break e}}else if(q.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===O&&Sa(we)===q.type){i(L,q.sibling),J=f(q,V.props),Kl(J,V),J.return=L,L=J;break e}i(L,q);break}else r(L,q);q=q.sibling}V.type===y?(J=va(V.props.children,L.mode,J,V.key),J.return=L,L=J):(J=Tc(V.type,V.key,V.props,null,L.mode,J),Kl(J,V),J.return=L,L=J)}return S(L);case w:e:{for(we=V.key;q!==null;){if(q.key===we)if(q.tag===4&&q.stateNode.containerInfo===V.containerInfo&&q.stateNode.implementation===V.implementation){i(L,q.sibling),J=f(q,V.children||[]),J.return=L,L=J;break e}else{i(L,q);break}else r(L,q);q=q.sibling}J=Sf(V,L.mode,J),J.return=L,L=J}return S(L);case O:return V=Sa(V),rt(L,q,V,J)}if(Q(V))return be(L,q,V,J);if(le(V)){if(we=le(V),typeof we!="function")throw Error(a(150));return V=we.call(V),ke(L,q,V,J)}if(typeof V.then=="function")return rt(L,q,Oc(V),J);if(V.$$typeof===C)return rt(L,q,jc(L,V),J);Fc(L,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(V=""+V,q!==null&&q.tag===6?(i(L,q.sibling),J=f(q,V),J.return=L,L=J):(i(L,q),J=wf(V,L.mode,J),J.return=L,L=J),S(L)):i(L,q)}return function(L,q,V,J){try{$l=0;var we=rt(L,q,V,J);return xi=null,we}catch(ye){if(ye===yi||ye===Dc)throw ye;var Ve=wo(29,ye,null,L.mode);return Ve.lanes=J,Ve.return=L,Ve}finally{}}}var Ba=G0(!0),W0=G0(!1),Nn=!1;function Df(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mf(t,r){t=t.updateQueue,r.updateQueue===t&&(r.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Tn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function En(t,r,i){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,($e&2)!==0){var f=s.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),s.pending=r,r=Nc(t),T0(t,null,i),r}return Cc(t,s,r,i),Nc(t)}function Ql(t,r,i){if(r=r.updateQueue,r!==null&&(r=r.shared,(i&4194048)!==0)){var s=r.lanes;s&=t.pendingLanes,i|=s,r.lanes=i,Fm(t,i)}}function Of(t,r){var i=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var f=null,p=null;if(i=i.firstBaseUpdate,i!==null){do{var S={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};p===null?f=p=S:p=p.next=S,i=i.next}while(i!==null);p===null?f=p=r:p=p.next=r}else f=p=r;i={baseState:s.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:s.shared,callbacks:s.callbacks},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=r:t.next=r,i.lastBaseUpdate=r}var Ff=!1;function Zl(){if(Ff){var t=bi;if(t!==null)throw t}}function Yl(t,r,i,s){Ff=!1;var f=t.updateQueue;Nn=!1;var p=f.firstBaseUpdate,S=f.lastBaseUpdate,N=f.shared.pending;if(N!==null){f.shared.pending=null;var A=N,G=A.next;A.next=null,S===null?p=G:S.next=G,S=A;var Z=t.alternate;Z!==null&&(Z=Z.updateQueue,N=Z.lastBaseUpdate,N!==S&&(N===null?Z.firstBaseUpdate=G:N.next=G,Z.lastBaseUpdate=A))}if(p!==null){var re=f.baseState;S=0,Z=G=A=null,N=p;do{var X=N.lane&-536870913,K=X!==N.lane;if(K?(He&X)===X:(s&X)===X){X!==0&&X===vi&&(Ff=!0),Z!==null&&(Z=Z.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});e:{var be=t,ke=N;X=r;var rt=i;switch(ke.tag){case 1:if(be=ke.payload,typeof be=="function"){re=be.call(rt,re,X);break e}re=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=ke.payload,X=typeof be=="function"?be.call(rt,re,X):be,X==null)break e;re=m({},re,X);break e;case 2:Nn=!0}}X=N.callback,X!==null&&(t.flags|=64,K&&(t.flags|=8192),K=f.callbacks,K===null?f.callbacks=[X]:K.push(X))}else K={lane:X,tag:N.tag,payload:N.payload,callback:N.callback,next:null},Z===null?(G=Z=K,A=re):Z=Z.next=K,S|=X;if(N=N.next,N===null){if(N=f.shared.pending,N===null)break;K=N,N=K.next,K.next=null,f.lastBaseUpdate=K,f.shared.pending=null}}while(!0);Z===null&&(A=re),f.baseState=A,f.firstBaseUpdate=G,f.lastBaseUpdate=Z,p===null&&(f.shared.lanes=0),Mn|=S,t.lanes=S,t.memoizedState=re}}function X0(t,r){if(typeof t!="function")throw Error(a(191,t));t.call(r)}function $0(t,r){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;t<i.length;t++)X0(i[t],r)}var wi=F(null),qc=F(0);function K0(t,r){t=Yr,te(qc,t),te(wi,r),Yr=t|r.baseLanes}function qf(){te(qc,Yr),te(wi,wi.current)}function Hf(){Yr=qc.current,U(wi),U(qc)}var So=F(null),Uo=null;function Rn(t){var r=t.alternate;te(wt,wt.current&1),te(So,t),Uo===null&&(r===null||wi.current!==null||r.memoizedState!==null)&&(Uo=t)}function Pf(t){te(wt,wt.current),te(So,t),Uo===null&&(Uo=t)}function Q0(t){t.tag===22?(te(wt,wt.current),te(So,t),Uo===null&&(Uo=t)):jn()}function jn(){te(wt,wt.current),te(So,So.current)}function ko(t){U(So),Uo===t&&(Uo=null),U(wt)}var wt=F(0);function Hc(t){for(var r=t;r!==null;){if(r.tag===13){var i=r.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Wh(i)||Xh(i)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Vr=0,Te=null,tt=null,zt=null,Pc=!1,Si=!1,_a=!1,Lc=0,Jl=0,ki=null,i3=0;function vt(){throw Error(a(321))}function Lf(t,r){if(r===null)return!1;for(var i=0;i<r.length&&i<t.length;i++)if(!xo(t[i],r[i]))return!1;return!0}function If(t,r,i,s,f,p){return Vr=p,Te=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,I.H=t===null||t.memoizedState===null?Av:rh,_a=!1,p=i(s,f),_a=!1,Si&&(p=Y0(r,i,s,f)),Z0(t),p}function Z0(t){I.H=os;var r=tt!==null&&tt.next!==null;if(Vr=0,zt=tt=Te=null,Pc=!1,Jl=0,ki=null,r)throw Error(a(300));t===null||Ct||(t=t.dependencies,t!==null&&Rc(t)&&(Ct=!0))}function Y0(t,r,i,s){Te=t;var f=0;do{if(Si&&(ki=null),Jl=0,Si=!1,25<=f)throw Error(a(301));if(f+=1,zt=tt=null,t.updateQueue!=null){var p=t.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}I.H=Dv,p=r(i,s)}while(Si);return p}function l3(){var t=I.H,r=t.useState()[0];return r=typeof r.then=="function"?es(r):r,t=t.useState()[0],(tt!==null?tt.memoizedState:null)!==t&&(Te.flags|=1024),r}function Uf(){var t=Lc!==0;return Lc=0,t}function Vf(t,r,i){r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~i}function Gf(t){if(Pc){for(t=t.memoizedState;t!==null;){var r=t.queue;r!==null&&(r.pending=null),t=t.next}Pc=!1}Vr=0,zt=tt=Te=null,Si=!1,Jl=Lc=0,ki=null}function Jt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return zt===null?Te.memoizedState=zt=t:zt=zt.next=t,zt}function St(){if(tt===null){var t=Te.alternate;t=t!==null?t.memoizedState:null}else t=tt.next;var r=zt===null?Te.memoizedState:zt.next;if(r!==null)zt=r,tt=t;else{if(t===null)throw Te.alternate===null?Error(a(467)):Error(a(310));tt=t,t={memoizedState:tt.memoizedState,baseState:tt.baseState,baseQueue:tt.baseQueue,queue:tt.queue,next:null},zt===null?Te.memoizedState=zt=t:zt=zt.next=t}return zt}function Ic(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function es(t){var r=Jl;return Jl+=1,ki===null&&(ki=[]),t=I0(ki,t,r),r=Te,(zt===null?r.memoizedState:zt.next)===null&&(r=r.alternate,I.H=r===null||r.memoizedState===null?Av:rh),t}function Uc(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return es(t);if(t.$$typeof===C)return Lt(t)}throw Error(a(438,String(t)))}function Wf(t){var r=null,i=Te.updateQueue;if(i!==null&&(r=i.memoCache),r==null){var s=Te.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(r={data:s.data.map(function(f){return f.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),i===null&&(i=Ic(),Te.updateQueue=i),i.memoCache=r,i=r.data[r.index],i===void 0)for(i=r.data[r.index]=Array(t),s=0;s<t;s++)i[s]=Y;return r.index++,i}function Gr(t,r){return typeof r=="function"?r(t):r}function Vc(t){var r=St();return Xf(r,tt,t)}function Xf(t,r,i){var s=t.queue;if(s===null)throw Error(a(311));s.lastRenderedReducer=i;var f=t.baseQueue,p=s.pending;if(p!==null){if(f!==null){var S=f.next;f.next=p.next,p.next=S}r.baseQueue=f=p,s.pending=null}if(p=t.baseState,f===null)t.memoizedState=p;else{r=f.next;var N=S=null,A=null,G=r,Z=!1;do{var re=G.lane&-536870913;if(re!==G.lane?(He&re)===re:(Vr&re)===re){var X=G.revertLane;if(X===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null}),re===vi&&(Z=!0);else if((Vr&X)===X){G=G.next,X===vi&&(Z=!0);continue}else re={lane:0,revertLane:G.revertLane,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},A===null?(N=A=re,S=p):A=A.next=re,Te.lanes|=X,Mn|=X;re=G.action,_a&&i(p,re),p=G.hasEagerState?G.eagerState:i(p,re)}else X={lane:re,revertLane:G.revertLane,gesture:G.gesture,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},A===null?(N=A=X,S=p):A=A.next=X,Te.lanes|=re,Mn|=re;G=G.next}while(G!==null&&G!==r);if(A===null?S=p:A.next=N,!xo(p,t.memoizedState)&&(Ct=!0,Z&&(i=bi,i!==null)))throw i;t.memoizedState=p,t.baseState=S,t.baseQueue=A,s.lastRenderedState=p}return f===null&&(s.lanes=0),[t.memoizedState,s.dispatch]}function $f(t){var r=St(),i=r.queue;if(i===null)throw Error(a(311));i.lastRenderedReducer=t;var s=i.dispatch,f=i.pending,p=r.memoizedState;if(f!==null){i.pending=null;var S=f=f.next;do p=t(p,S.action),S=S.next;while(S!==f);xo(p,r.memoizedState)||(Ct=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),i.lastRenderedState=p}return[p,s]}function J0(t,r,i){var s=Te,f=St(),p=Ie;if(p){if(i===void 0)throw Error(a(407));i=i()}else i=r();var S=!xo((tt||f).memoizedState,i);if(S&&(f.memoizedState=i,Ct=!0),f=f.queue,Zf(ov.bind(null,s,f,t),[t]),f.getSnapshot!==r||S||zt!==null&&zt.memoizedState.tag&1){if(s.flags|=2048,Bi(9,{destroy:void 0},tv.bind(null,s,f,i,r),null),nt===null)throw Error(a(349));p||(Vr&127)!==0||ev(s,r,i)}return i}function ev(t,r,i){t.flags|=16384,t={getSnapshot:r,value:i},r=Te.updateQueue,r===null?(r=Ic(),Te.updateQueue=r,r.stores=[t]):(i=r.stores,i===null?r.stores=[t]:i.push(t))}function tv(t,r,i,s){r.value=i,r.getSnapshot=s,rv(r)&&nv(t)}function ov(t,r,i){return i(function(){rv(r)&&nv(t)})}function rv(t){var r=t.getSnapshot;t=t.value;try{var i=r();return!xo(t,i)}catch{return!0}}function nv(t){var r=ma(t,2);r!==null&&uo(r,t,2)}function Kf(t){var r=Jt();if(typeof t=="function"){var i=t;if(t=i(),_a){wn(!0);try{i()}finally{wn(!1)}}}return r.memoizedState=r.baseState=t,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gr,lastRenderedState:t},r}function av(t,r,i,s){return t.baseState=i,Xf(t,tt,typeof s=="function"?s:Gr)}function s3(t,r,i,s,f){if(Xc(t))throw Error(a(485));if(t=r.action,t!==null){var p={payload:f,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){p.listeners.push(S)}};I.T!==null?i(!0):p.isTransition=!1,s(p),i=r.pending,i===null?(p.next=r.pending=p,iv(r,p)):(p.next=i.next,r.pending=i.next=p)}}function iv(t,r){var i=r.action,s=r.payload,f=t.state;if(r.isTransition){var p=I.T,S={};I.T=S;try{var N=i(f,s),A=I.S;A!==null&&A(S,N),lv(t,r,N)}catch(G){Qf(t,r,G)}finally{p!==null&&S.types!==null&&(p.types=S.types),I.T=p}}else try{p=i(f,s),lv(t,r,p)}catch(G){Qf(t,r,G)}}function lv(t,r,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){sv(t,r,s)},function(s){return Qf(t,r,s)}):sv(t,r,i)}function sv(t,r,i){r.status="fulfilled",r.value=i,cv(r),t.state=i,r=t.pending,r!==null&&(i=r.next,i===r?t.pending=null:(i=i.next,r.next=i,iv(t,i)))}function Qf(t,r,i){var s=t.pending;if(t.pending=null,s!==null){s=s.next;do r.status="rejected",r.reason=i,cv(r),r=r.next;while(r!==s)}t.action=null}function cv(t){t=t.listeners;for(var r=0;r<t.length;r++)(0,t[r])()}function uv(t,r){return r}function dv(t,r){if(Ie){var i=nt.formState;if(i!==null){e:{var s=Te;if(Ie){if(ut){t:{for(var f=ut,p=Io;f.nodeType!==8;){if(!p){f=null;break t}if(f=Vo(f.nextSibling),f===null){f=null;break t}}p=f.data,f=p==="F!"||p==="F"?f:null}if(f){ut=Vo(f.nextSibling),s=f.data==="F!";break e}}zn(s)}s=!1}s&&(r=i[0])}}return i=Jt(),i.memoizedState=i.baseState=r,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:uv,lastRenderedState:r},i.queue=s,i=Ev.bind(null,Te,s),s.dispatch=i,s=Kf(!1),p=oh.bind(null,Te,!1,s.queue),s=Jt(),f={state:r,dispatch:null,action:t,pending:null},s.queue=f,i=s3.bind(null,Te,f,p,i),f.dispatch=i,s.memoizedState=t,[r,i,!1]}function fv(t){var r=St();return hv(r,tt,t)}function hv(t,r,i){if(r=Xf(t,r,uv)[0],t=Vc(Gr)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var s=es(r)}catch(S){throw S===yi?Dc:S}else s=r;r=St();var f=r.queue,p=f.dispatch;return i!==r.memoizedState&&(Te.flags|=2048,Bi(9,{destroy:void 0},c3.bind(null,f,i),null)),[s,p,t]}function c3(t,r){t.action=r}function gv(t){var r=St(),i=tt;if(i!==null)return hv(r,i,t);St(),r=r.memoizedState,i=St();var s=i.queue.dispatch;return i.memoizedState=t,[r,s,!1]}function Bi(t,r,i,s){return t={tag:t,create:i,deps:s,inst:r,next:null},r=Te.updateQueue,r===null&&(r=Ic(),Te.updateQueue=r),i=r.lastEffect,i===null?r.lastEffect=t.next=t:(s=i.next,i.next=t,t.next=s,r.lastEffect=t),t}function pv(){return St().memoizedState}function Gc(t,r,i,s){var f=Jt();Te.flags|=t,f.memoizedState=Bi(1|r,{destroy:void 0},i,s===void 0?null:s)}function Wc(t,r,i,s){var f=St();s=s===void 0?null:s;var p=f.memoizedState.inst;tt!==null&&s!==null&&Lf(s,tt.memoizedState.deps)?f.memoizedState=Bi(r,p,i,s):(Te.flags|=t,f.memoizedState=Bi(1|r,p,i,s))}function mv(t,r){Gc(8390656,8,t,r)}function Zf(t,r){Wc(2048,8,t,r)}function u3(t){Te.flags|=4;var r=Te.updateQueue;if(r===null)r=Ic(),Te.updateQueue=r,r.events=[t];else{var i=r.events;i===null?r.events=[t]:i.push(t)}}function vv(t){var r=St().memoizedState;return u3({ref:r,nextImpl:t}),function(){if(($e&2)!==0)throw Error(a(440));return r.impl.apply(void 0,arguments)}}function bv(t,r){return Wc(4,2,t,r)}function yv(t,r){return Wc(4,4,t,r)}function xv(t,r){if(typeof r=="function"){t=t();var i=r(t);return function(){typeof i=="function"?i():r(null)}}if(r!=null)return t=t(),r.current=t,function(){r.current=null}}function wv(t,r,i){i=i!=null?i.concat([t]):null,Wc(4,4,xv.bind(null,r,t),i)}function Yf(){}function Sv(t,r){var i=St();r=r===void 0?null:r;var s=i.memoizedState;return r!==null&&Lf(r,s[1])?s[0]:(i.memoizedState=[t,r],t)}function kv(t,r){var i=St();r=r===void 0?null:r;var s=i.memoizedState;if(r!==null&&Lf(r,s[1]))return s[0];if(s=t(),_a){wn(!0);try{t()}finally{wn(!1)}}return i.memoizedState=[s,r],s}function Jf(t,r,i){return i===void 0||(Vr&1073741824)!==0&&(He&261930)===0?t.memoizedState=r:(t.memoizedState=i,t=Bb(),Te.lanes|=t,Mn|=t,i)}function Bv(t,r,i,s){return xo(i,r)?i:wi.current!==null?(t=Jf(t,i,s),xo(t,r)||(Ct=!0),t):(Vr&42)===0||(Vr&1073741824)!==0&&(He&261930)===0?(Ct=!0,t.memoizedState=i):(t=Bb(),Te.lanes|=t,Mn|=t,r)}function _v(t,r,i,s,f){var p=ee.p;ee.p=p!==0&&8>p?p:8;var S=I.T,N={};I.T=N,oh(t,!1,r,i);try{var A=f(),G=I.S;if(G!==null&&G(N,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var Z=a3(A,s);ts(t,r,Z,zo(t))}else ts(t,r,s,zo(t))}catch(re){ts(t,r,{then:function(){},status:"rejected",reason:re},zo())}finally{ee.p=p,S!==null&&N.types!==null&&(S.types=N.types),I.T=S}}function d3(){}function eh(t,r,i,s){if(t.tag!==5)throw Error(a(476));var f=zv(t).queue;_v(t,f,r,oe,i===null?d3:function(){return Cv(t),i(s)})}function zv(t){var r=t.memoizedState;if(r!==null)return r;r={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gr,lastRenderedState:oe},next:null};var i={};return r.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gr,lastRenderedState:i},next:null},t.memoizedState=r,t=t.alternate,t!==null&&(t.memoizedState=r),r}function Cv(t){var r=zv(t);r.next===null&&(r=t.alternate.memoizedState),ts(t,r.next.queue,{},zo())}function th(){return Lt(bs)}function Nv(){return St().memoizedState}function Tv(){return St().memoizedState}function f3(t){for(var r=t.return;r!==null;){switch(r.tag){case 24:case 3:var i=zo();t=Tn(i);var s=En(r,t,i);s!==null&&(uo(s,r,i),Ql(s,r,i)),r={cache:Ef()},t.payload=r;return}r=r.return}}function h3(t,r,i){var s=zo();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Xc(t)?Rv(r,i):(i=yf(t,r,i,s),i!==null&&(uo(i,t,s),jv(i,r,s)))}function Ev(t,r,i){var s=zo();ts(t,r,i,s)}function ts(t,r,i,s){var f={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Xc(t))Rv(r,f);else{var p=t.alternate;if(t.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var S=r.lastRenderedState,N=p(S,i);if(f.hasEagerState=!0,f.eagerState=N,xo(N,S))return Cc(t,r,f,0),nt===null&&zc(),!1}catch{}finally{}if(i=yf(t,r,f,s),i!==null)return uo(i,t,s),jv(i,r,s),!0}return!1}function oh(t,r,i,s){if(s={lane:2,revertLane:Dh(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Xc(t)){if(r)throw Error(a(479))}else r=yf(t,i,s,2),r!==null&&uo(r,t,2)}function Xc(t){var r=t.alternate;return t===Te||r!==null&&r===Te}function Rv(t,r){Si=Pc=!0;var i=t.pending;i===null?r.next=r:(r.next=i.next,i.next=r),t.pending=r}function jv(t,r,i){if((i&4194048)!==0){var s=r.lanes;s&=t.pendingLanes,i|=s,r.lanes=i,Fm(t,i)}}var os={readContext:Lt,use:Uc,useCallback:vt,useContext:vt,useEffect:vt,useImperativeHandle:vt,useLayoutEffect:vt,useInsertionEffect:vt,useMemo:vt,useReducer:vt,useRef:vt,useState:vt,useDebugValue:vt,useDeferredValue:vt,useTransition:vt,useSyncExternalStore:vt,useId:vt,useHostTransitionStatus:vt,useFormState:vt,useActionState:vt,useOptimistic:vt,useMemoCache:vt,useCacheRefresh:vt};os.useEffectEvent=vt;var Av={readContext:Lt,use:Uc,useCallback:function(t,r){return Jt().memoizedState=[t,r===void 0?null:r],t},useContext:Lt,useEffect:mv,useImperativeHandle:function(t,r,i){i=i!=null?i.concat([t]):null,Gc(4194308,4,xv.bind(null,r,t),i)},useLayoutEffect:function(t,r){return Gc(4194308,4,t,r)},useInsertionEffect:function(t,r){Gc(4,2,t,r)},useMemo:function(t,r){var i=Jt();r=r===void 0?null:r;var s=t();if(_a){wn(!0);try{t()}finally{wn(!1)}}return i.memoizedState=[s,r],s},useReducer:function(t,r,i){var s=Jt();if(i!==void 0){var f=i(r);if(_a){wn(!0);try{i(r)}finally{wn(!1)}}}else f=r;return s.memoizedState=s.baseState=f,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:f},s.queue=t,t=t.dispatch=h3.bind(null,Te,t),[s.memoizedState,t]},useRef:function(t){var r=Jt();return t={current:t},r.memoizedState=t},useState:function(t){t=Kf(t);var r=t.queue,i=Ev.bind(null,Te,r);return r.dispatch=i,[t.memoizedState,i]},useDebugValue:Yf,useDeferredValue:function(t,r){var i=Jt();return Jf(i,t,r)},useTransition:function(){var t=Kf(!1);return t=_v.bind(null,Te,t.queue,!0,!1),Jt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,r,i){var s=Te,f=Jt();if(Ie){if(i===void 0)throw Error(a(407));i=i()}else{if(i=r(),nt===null)throw Error(a(349));(He&127)!==0||ev(s,r,i)}f.memoizedState=i;var p={value:i,getSnapshot:r};return f.queue=p,mv(ov.bind(null,s,p,t),[t]),s.flags|=2048,Bi(9,{destroy:void 0},tv.bind(null,s,p,i,r),null),i},useId:function(){var t=Jt(),r=nt.identifierPrefix;if(Ie){var i=kr,s=Sr;i=(s&~(1<<32-yo(s)-1)).toString(32)+i,r="_"+r+"R_"+i,i=Lc++,0<i&&(r+="H"+i.toString(32)),r+="_"}else i=i3++,r="_"+r+"r_"+i.toString(32)+"_";return t.memoizedState=r},useHostTransitionStatus:th,useFormState:dv,useActionState:dv,useOptimistic:function(t){var r=Jt();r.memoizedState=r.baseState=t;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=i,r=oh.bind(null,Te,!0,i),i.dispatch=r,[t,r]},useMemoCache:Wf,useCacheRefresh:function(){return Jt().memoizedState=f3.bind(null,Te)},useEffectEvent:function(t){var r=Jt(),i={impl:t};return r.memoizedState=i,function(){if(($e&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}},rh={readContext:Lt,use:Uc,useCallback:Sv,useContext:Lt,useEffect:Zf,useImperativeHandle:wv,useInsertionEffect:bv,useLayoutEffect:yv,useMemo:kv,useReducer:Vc,useRef:pv,useState:function(){return Vc(Gr)},useDebugValue:Yf,useDeferredValue:function(t,r){var i=St();return Bv(i,tt.memoizedState,t,r)},useTransition:function(){var t=Vc(Gr)[0],r=St().memoizedState;return[typeof t=="boolean"?t:es(t),r]},useSyncExternalStore:J0,useId:Nv,useHostTransitionStatus:th,useFormState:fv,useActionState:fv,useOptimistic:function(t,r){var i=St();return av(i,tt,t,r)},useMemoCache:Wf,useCacheRefresh:Tv};rh.useEffectEvent=vv;var Dv={readContext:Lt,use:Uc,useCallback:Sv,useContext:Lt,useEffect:Zf,useImperativeHandle:wv,useInsertionEffect:bv,useLayoutEffect:yv,useMemo:kv,useReducer:$f,useRef:pv,useState:function(){return $f(Gr)},useDebugValue:Yf,useDeferredValue:function(t,r){var i=St();return tt===null?Jf(i,t,r):Bv(i,tt.memoizedState,t,r)},useTransition:function(){var t=$f(Gr)[0],r=St().memoizedState;return[typeof t=="boolean"?t:es(t),r]},useSyncExternalStore:J0,useId:Nv,useHostTransitionStatus:th,useFormState:gv,useActionState:gv,useOptimistic:function(t,r){var i=St();return tt!==null?av(i,tt,t,r):(i.baseState=t,[t,i.queue.dispatch])},useMemoCache:Wf,useCacheRefresh:Tv};Dv.useEffectEvent=vv;function nh(t,r,i,s){r=t.memoizedState,i=i(s,r),i=i==null?r:m({},r,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var ah={enqueueSetState:function(t,r,i){t=t._reactInternals;var s=zo(),f=Tn(s);f.payload=r,i!=null&&(f.callback=i),r=En(t,f,s),r!==null&&(uo(r,t,s),Ql(r,t,s))},enqueueReplaceState:function(t,r,i){t=t._reactInternals;var s=zo(),f=Tn(s);f.tag=1,f.payload=r,i!=null&&(f.callback=i),r=En(t,f,s),r!==null&&(uo(r,t,s),Ql(r,t,s))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var i=zo(),s=Tn(i);s.tag=2,r!=null&&(s.callback=r),r=En(t,s,i),r!==null&&(uo(r,t,i),Ql(r,t,i))}};function Mv(t,r,i,s,f,p,S){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,p,S):r.prototype&&r.prototype.isPureReactComponent?!Il(i,s)||!Il(f,p):!0}function Ov(t,r,i,s){t=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(i,s),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(i,s),r.state!==t&&ah.enqueueReplaceState(r,r.state,null)}function za(t,r){var i=r;if("ref"in r){i={};for(var s in r)s!=="ref"&&(i[s]=r[s])}if(t=t.defaultProps){i===r&&(i=m({},i));for(var f in t)i[f]===void 0&&(i[f]=t[f])}return i}function Fv(t){_c(t)}function qv(t){console.error(t)}function Hv(t){_c(t)}function $c(t,r){try{var i=t.onUncaughtError;i(r.value,{componentStack:r.stack})}catch(s){setTimeout(function(){throw s})}}function Pv(t,r,i){try{var s=t.onCaughtError;s(i.value,{componentStack:i.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function ih(t,r,i){return i=Tn(i),i.tag=3,i.payload={element:null},i.callback=function(){$c(t,r)},i}function Lv(t){return t=Tn(t),t.tag=3,t}function Iv(t,r,i,s){var f=i.type.getDerivedStateFromError;if(typeof f=="function"){var p=s.value;t.payload=function(){return f(p)},t.callback=function(){Pv(r,i,s)}}var S=i.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(t.callback=function(){Pv(r,i,s),typeof f!="function"&&(On===null?On=new Set([this]):On.add(this));var N=s.stack;this.componentDidCatch(s.value,{componentStack:N!==null?N:""})})}function g3(t,r,i,s,f){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(r=i.alternate,r!==null&&mi(r,i,f,!0),i=So.current,i!==null){switch(i.tag){case 31:case 13:return Uo===null?iu():i.alternate===null&&bt===0&&(bt=3),i.flags&=-257,i.flags|=65536,i.lanes=f,s===Mc?i.flags|=16384:(r=i.updateQueue,r===null?i.updateQueue=new Set([s]):r.add(s),Rh(t,s,f)),!1;case 22:return i.flags|=65536,s===Mc?i.flags|=16384:(r=i.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([s])},i.updateQueue=r):(i=r.retryQueue,i===null?r.retryQueue=new Set([s]):i.add(s)),Rh(t,s,f)),!1}throw Error(a(435,i.tag))}return Rh(t,s,f),iu(),!1}if(Ie)return r=So.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,s!==_f&&(t=Error(a(422),{cause:s}),Gl(Ho(t,i)))):(s!==_f&&(r=Error(a(423),{cause:s}),Gl(Ho(r,i))),t=t.current.alternate,t.flags|=65536,f&=-f,t.lanes|=f,s=Ho(s,i),f=ih(t.stateNode,s,f),Of(t,f),bt!==4&&(bt=2)),!1;var p=Error(a(520),{cause:s});if(p=Ho(p,i),us===null?us=[p]:us.push(p),bt!==4&&(bt=2),r===null)return!0;s=Ho(s,i),i=r;do{switch(i.tag){case 3:return i.flags|=65536,t=f&-f,i.lanes|=t,t=ih(i.stateNode,s,t),Of(i,t),!1;case 1:if(r=i.type,p=i.stateNode,(i.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(On===null||!On.has(p))))return i.flags|=65536,f&=-f,i.lanes|=f,f=Lv(f),Iv(f,t,i,s),Of(i,f),!1}i=i.return}while(i!==null);return!1}var lh=Error(a(461)),Ct=!1;function It(t,r,i,s){r.child=t===null?W0(r,null,i,s):Ba(r,t.child,i,s)}function Uv(t,r,i,s,f){i=i.render;var p=r.ref;if("ref"in s){var S={};for(var N in s)N!=="ref"&&(S[N]=s[N])}else S=s;return xa(r),s=If(t,r,i,S,p,f),N=Uf(),t!==null&&!Ct?(Vf(t,r,f),Wr(t,r,f)):(Ie&&N&&kf(r),r.flags|=1,It(t,r,s,f),r.child)}function Vv(t,r,i,s,f){if(t===null){var p=i.type;return typeof p=="function"&&!xf(p)&&p.defaultProps===void 0&&i.compare===null?(r.tag=15,r.type=p,Gv(t,r,p,s,f)):(t=Tc(i.type,null,s,r,r.mode,f),t.ref=r.ref,t.return=r,r.child=t)}if(p=t.child,!ph(t,f)){var S=p.memoizedProps;if(i=i.compare,i=i!==null?i:Il,i(S,s)&&t.ref===r.ref)return Wr(t,r,f)}return r.flags|=1,t=Pr(p,s),t.ref=r.ref,t.return=r,r.child=t}function Gv(t,r,i,s,f){if(t!==null){var p=t.memoizedProps;if(Il(p,s)&&t.ref===r.ref)if(Ct=!1,r.pendingProps=s=p,ph(t,f))(t.flags&131072)!==0&&(Ct=!0);else return r.lanes=t.lanes,Wr(t,r,f)}return sh(t,r,i,s,f)}function Wv(t,r,i,s){var f=s.children,p=t!==null?t.memoizedState:null;if(t===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((r.flags&128)!==0){if(p=p!==null?p.baseLanes|i:i,t!==null){for(s=r.child=t.child,f=0;s!==null;)f=f|s.lanes|s.childLanes,s=s.sibling;s=f&~p}else s=0,r.child=null;return Xv(t,r,p,i,s)}if((i&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},t!==null&&Ac(r,p!==null?p.cachePool:null),p!==null?K0(r,p):qf(),Q0(r);else return s=r.lanes=536870912,Xv(t,r,p!==null?p.baseLanes|i:i,i,s)}else p!==null?(Ac(r,p.cachePool),K0(r,p),jn(),r.memoizedState=null):(t!==null&&Ac(r,null),qf(),jn());return It(t,r,f,i),r.child}function rs(t,r){return t!==null&&t.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function Xv(t,r,i,s,f){var p=jf();return p=p===null?null:{parent:_t._currentValue,pool:p},r.memoizedState={baseLanes:i,cachePool:p},t!==null&&Ac(r,null),qf(),Q0(r),t!==null&&mi(t,r,s,!0),r.childLanes=f,null}function Kc(t,r){return r=Zc({mode:r.mode,children:r.children},t.mode),r.ref=t.ref,t.child=r,r.return=t,r}function $v(t,r,i){return Ba(r,t.child,null,i),t=Kc(r,r.pendingProps),t.flags|=2,ko(r),r.memoizedState=null,t}function p3(t,r,i){var s=r.pendingProps,f=(r.flags&128)!==0;if(r.flags&=-129,t===null){if(Ie){if(s.mode==="hidden")return t=Kc(r,s),r.lanes=536870912,rs(null,t);if(Pf(r),(t=ut)?(t=i1(t,Io),t=t!==null&&t.data==="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:Bn!==null?{id:Sr,overflow:kr}:null,retryLane:536870912,hydrationErrors:null},i=R0(t),i.return=r,r.child=i,Pt=r,ut=null)):t=null,t===null)throw zn(r);return r.lanes=536870912,null}return Kc(r,s)}var p=t.memoizedState;if(p!==null){var S=p.dehydrated;if(Pf(r),f)if(r.flags&256)r.flags&=-257,r=$v(t,r,i);else if(r.memoizedState!==null)r.child=t.child,r.flags|=128,r=null;else throw Error(a(558));else if(Ct||mi(t,r,i,!1),f=(i&t.childLanes)!==0,Ct||f){if(s=nt,s!==null&&(S=qm(s,i),S!==0&&S!==p.retryLane))throw p.retryLane=S,ma(t,S),uo(s,t,S),lh;iu(),r=$v(t,r,i)}else t=p.treeContext,ut=Vo(S.nextSibling),Pt=r,Ie=!0,_n=null,Io=!1,t!==null&&D0(r,t),r=Kc(r,s),r.flags|=4096;return r}return t=Pr(t.child,{mode:s.mode,children:s.children}),t.ref=r.ref,r.child=t,t.return=r,t}function Qc(t,r){var i=r.ref;if(i===null)t!==null&&t.ref!==null&&(r.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(a(284));(t===null||t.ref!==i)&&(r.flags|=4194816)}}function sh(t,r,i,s,f){return xa(r),i=If(t,r,i,s,void 0,f),s=Uf(),t!==null&&!Ct?(Vf(t,r,f),Wr(t,r,f)):(Ie&&s&&kf(r),r.flags|=1,It(t,r,i,f),r.child)}function Kv(t,r,i,s,f,p){return xa(r),r.updateQueue=null,i=Y0(r,s,i,f),Z0(t),s=Uf(),t!==null&&!Ct?(Vf(t,r,p),Wr(t,r,p)):(Ie&&s&&kf(r),r.flags|=1,It(t,r,i,p),r.child)}function Qv(t,r,i,s,f){if(xa(r),r.stateNode===null){var p=fi,S=i.contextType;typeof S=="object"&&S!==null&&(p=Lt(S)),p=new i(s,p),r.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=ah,r.stateNode=p,p._reactInternals=r,p=r.stateNode,p.props=s,p.state=r.memoizedState,p.refs={},Df(r),S=i.contextType,p.context=typeof S=="object"&&S!==null?Lt(S):fi,p.state=r.memoizedState,S=i.getDerivedStateFromProps,typeof S=="function"&&(nh(r,i,S,s),p.state=r.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(S=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),S!==p.state&&ah.enqueueReplaceState(p,p.state,null),Yl(r,s,p,f),Zl(),p.state=r.memoizedState),typeof p.componentDidMount=="function"&&(r.flags|=4194308),s=!0}else if(t===null){p=r.stateNode;var N=r.memoizedProps,A=za(i,N);p.props=A;var G=p.context,Z=i.contextType;S=fi,typeof Z=="object"&&Z!==null&&(S=Lt(Z));var re=i.getDerivedStateFromProps;Z=typeof re=="function"||typeof p.getSnapshotBeforeUpdate=="function",N=r.pendingProps!==N,Z||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(N||G!==S)&&Ov(r,p,s,S),Nn=!1;var X=r.memoizedState;p.state=X,Yl(r,s,p,f),Zl(),G=r.memoizedState,N||X!==G||Nn?(typeof re=="function"&&(nh(r,i,re,s),G=r.memoizedState),(A=Nn||Mv(r,i,A,s,X,G,S))?(Z||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(r.flags|=4194308)):(typeof p.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=s,r.memoizedState=G),p.props=s,p.state=G,p.context=S,s=A):(typeof p.componentDidMount=="function"&&(r.flags|=4194308),s=!1)}else{p=r.stateNode,Mf(t,r),S=r.memoizedProps,Z=za(i,S),p.props=Z,re=r.pendingProps,X=p.context,G=i.contextType,A=fi,typeof G=="object"&&G!==null&&(A=Lt(G)),N=i.getDerivedStateFromProps,(G=typeof N=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(S!==re||X!==A)&&Ov(r,p,s,A),Nn=!1,X=r.memoizedState,p.state=X,Yl(r,s,p,f),Zl();var K=r.memoizedState;S!==re||X!==K||Nn||t!==null&&t.dependencies!==null&&Rc(t.dependencies)?(typeof N=="function"&&(nh(r,i,N,s),K=r.memoizedState),(Z=Nn||Mv(r,i,Z,s,X,K,A)||t!==null&&t.dependencies!==null&&Rc(t.dependencies))?(G||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(s,K,A),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(s,K,A)),typeof p.componentDidUpdate=="function"&&(r.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof p.componentDidUpdate!="function"||S===t.memoizedProps&&X===t.memoizedState||(r.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===t.memoizedProps&&X===t.memoizedState||(r.flags|=1024),r.memoizedProps=s,r.memoizedState=K),p.props=s,p.state=K,p.context=A,s=Z):(typeof p.componentDidUpdate!="function"||S===t.memoizedProps&&X===t.memoizedState||(r.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===t.memoizedProps&&X===t.memoizedState||(r.flags|=1024),s=!1)}return p=s,Qc(t,r),s=(r.flags&128)!==0,p||s?(p=r.stateNode,i=s&&typeof i.getDerivedStateFromError!="function"?null:p.render(),r.flags|=1,t!==null&&s?(r.child=Ba(r,t.child,null,f),r.child=Ba(r,null,i,f)):It(t,r,i,f),r.memoizedState=p.state,t=r.child):t=Wr(t,r,f),t}function Zv(t,r,i,s){return ba(),r.flags|=256,It(t,r,i,s),r.child}var ch={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function uh(t){return{baseLanes:t,cachePool:P0()}}function dh(t,r,i){return t=t!==null?t.childLanes&~i:0,r&&(t|=_o),t}function Yv(t,r,i){var s=r.pendingProps,f=!1,p=(r.flags&128)!==0,S;if((S=p)||(S=t!==null&&t.memoizedState===null?!1:(wt.current&2)!==0),S&&(f=!0,r.flags&=-129),S=(r.flags&32)!==0,r.flags&=-33,t===null){if(Ie){if(f?Rn(r):jn(),(t=ut)?(t=i1(t,Io),t=t!==null&&t.data!=="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:Bn!==null?{id:Sr,overflow:kr}:null,retryLane:536870912,hydrationErrors:null},i=R0(t),i.return=r,r.child=i,Pt=r,ut=null)):t=null,t===null)throw zn(r);return Xh(t)?r.lanes=32:r.lanes=536870912,null}var N=s.children;return s=s.fallback,f?(jn(),f=r.mode,N=Zc({mode:"hidden",children:N},f),s=va(s,f,i,null),N.return=r,s.return=r,N.sibling=s,r.child=N,s=r.child,s.memoizedState=uh(i),s.childLanes=dh(t,S,i),r.memoizedState=ch,rs(null,s)):(Rn(r),fh(r,N))}var A=t.memoizedState;if(A!==null&&(N=A.dehydrated,N!==null)){if(p)r.flags&256?(Rn(r),r.flags&=-257,r=hh(t,r,i)):r.memoizedState!==null?(jn(),r.child=t.child,r.flags|=128,r=null):(jn(),N=s.fallback,f=r.mode,s=Zc({mode:"visible",children:s.children},f),N=va(N,f,i,null),N.flags|=2,s.return=r,N.return=r,s.sibling=N,r.child=s,Ba(r,t.child,null,i),s=r.child,s.memoizedState=uh(i),s.childLanes=dh(t,S,i),r.memoizedState=ch,r=rs(null,s));else if(Rn(r),Xh(N)){if(S=N.nextSibling&&N.nextSibling.dataset,S)var G=S.dgst;S=G,s=Error(a(419)),s.stack="",s.digest=S,Gl({value:s,source:null,stack:null}),r=hh(t,r,i)}else if(Ct||mi(t,r,i,!1),S=(i&t.childLanes)!==0,Ct||S){if(S=nt,S!==null&&(s=qm(S,i),s!==0&&s!==A.retryLane))throw A.retryLane=s,ma(t,s),uo(S,t,s),lh;Wh(N)||iu(),r=hh(t,r,i)}else Wh(N)?(r.flags|=192,r.child=t.child,r=null):(t=A.treeContext,ut=Vo(N.nextSibling),Pt=r,Ie=!0,_n=null,Io=!1,t!==null&&D0(r,t),r=fh(r,s.children),r.flags|=4096);return r}return f?(jn(),N=s.fallback,f=r.mode,A=t.child,G=A.sibling,s=Pr(A,{mode:"hidden",children:s.children}),s.subtreeFlags=A.subtreeFlags&65011712,G!==null?N=Pr(G,N):(N=va(N,f,i,null),N.flags|=2),N.return=r,s.return=r,s.sibling=N,r.child=s,rs(null,s),s=r.child,N=t.child.memoizedState,N===null?N=uh(i):(f=N.cachePool,f!==null?(A=_t._currentValue,f=f.parent!==A?{parent:A,pool:A}:f):f=P0(),N={baseLanes:N.baseLanes|i,cachePool:f}),s.memoizedState=N,s.childLanes=dh(t,S,i),r.memoizedState=ch,rs(t.child,s)):(Rn(r),i=t.child,t=i.sibling,i=Pr(i,{mode:"visible",children:s.children}),i.return=r,i.sibling=null,t!==null&&(S=r.deletions,S===null?(r.deletions=[t],r.flags|=16):S.push(t)),r.child=i,r.memoizedState=null,i)}function fh(t,r){return r=Zc({mode:"visible",children:r},t.mode),r.return=t,t.child=r}function Zc(t,r){return t=wo(22,t,null,r),t.lanes=0,t}function hh(t,r,i){return Ba(r,t.child,null,i),t=fh(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function Jv(t,r,i){t.lanes|=r;var s=t.alternate;s!==null&&(s.lanes|=r),Nf(t.return,r,i)}function gh(t,r,i,s,f,p){var S=t.memoizedState;S===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:f,treeForkCount:p}:(S.isBackwards=r,S.rendering=null,S.renderingStartTime=0,S.last=s,S.tail=i,S.tailMode=f,S.treeForkCount=p)}function eb(t,r,i){var s=r.pendingProps,f=s.revealOrder,p=s.tail;s=s.children;var S=wt.current,N=(S&2)!==0;if(N?(S=S&1|2,r.flags|=128):S&=1,te(wt,S),It(t,r,s,i),s=Ie?Vl:0,!N&&t!==null&&(t.flags&128)!==0)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Jv(t,i,r);else if(t.tag===19)Jv(t,i,r);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===r)break e;for(;t.sibling===null;){if(t.return===null||t.return===r)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(f){case"forwards":for(i=r.child,f=null;i!==null;)t=i.alternate,t!==null&&Hc(t)===null&&(f=i),i=i.sibling;i=f,i===null?(f=r.child,r.child=null):(f=i.sibling,i.sibling=null),gh(r,!1,f,i,p,s);break;case"backwards":case"unstable_legacy-backwards":for(i=null,f=r.child,r.child=null;f!==null;){if(t=f.alternate,t!==null&&Hc(t)===null){r.child=f;break}t=f.sibling,f.sibling=i,i=f,f=t}gh(r,!0,i,null,p,s);break;case"together":gh(r,!1,null,null,void 0,s);break;default:r.memoizedState=null}return r.child}function Wr(t,r,i){if(t!==null&&(r.dependencies=t.dependencies),Mn|=r.lanes,(i&r.childLanes)===0)if(t!==null){if(mi(t,r,i,!1),(i&r.childLanes)===0)return null}else return null;if(t!==null&&r.child!==t.child)throw Error(a(153));if(r.child!==null){for(t=r.child,i=Pr(t,t.pendingProps),r.child=i,i.return=r;t.sibling!==null;)t=t.sibling,i=i.sibling=Pr(t,t.pendingProps),i.return=r;i.sibling=null}return r.child}function ph(t,r){return(t.lanes&r)!==0?!0:(t=t.dependencies,!!(t!==null&&Rc(t)))}function m3(t,r,i){switch(r.tag){case 3:Bt(r,r.stateNode.containerInfo),Cn(r,_t,t.memoizedState.cache),ba();break;case 27:case 5:qe(r);break;case 4:Bt(r,r.stateNode.containerInfo);break;case 10:Cn(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,Pf(r),null;break;case 13:var s=r.memoizedState;if(s!==null)return s.dehydrated!==null?(Rn(r),r.flags|=128,null):(i&r.child.childLanes)!==0?Yv(t,r,i):(Rn(r),t=Wr(t,r,i),t!==null?t.sibling:null);Rn(r);break;case 19:var f=(t.flags&128)!==0;if(s=(i&r.childLanes)!==0,s||(mi(t,r,i,!1),s=(i&r.childLanes)!==0),f){if(s)return eb(t,r,i);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),te(wt,wt.current),s)break;return null;case 22:return r.lanes=0,Wv(t,r,i,r.pendingProps);case 24:Cn(r,_t,t.memoizedState.cache)}return Wr(t,r,i)}function tb(t,r,i){if(t!==null)if(t.memoizedProps!==r.pendingProps)Ct=!0;else{if(!ph(t,i)&&(r.flags&128)===0)return Ct=!1,m3(t,r,i);Ct=(t.flags&131072)!==0}else Ct=!1,Ie&&(r.flags&1048576)!==0&&A0(r,Vl,r.index);switch(r.lanes=0,r.tag){case 16:e:{var s=r.pendingProps;if(t=Sa(r.elementType),r.type=t,typeof t=="function")xf(t)?(s=za(t,s),r.tag=1,r=Qv(null,r,t,s,i)):(r.tag=0,r=sh(null,r,t,s,i));else{if(t!=null){var f=t.$$typeof;if(f===T){r.tag=11,r=Uv(null,r,t,s,i);break e}else if(f===M){r.tag=14,r=Vv(null,r,t,s,i);break e}}throw r=ie(t)||t,Error(a(306,r,""))}}return r;case 0:return sh(t,r,r.type,r.pendingProps,i);case 1:return s=r.type,f=za(s,r.pendingProps),Qv(t,r,s,f,i);case 3:e:{if(Bt(r,r.stateNode.containerInfo),t===null)throw Error(a(387));s=r.pendingProps;var p=r.memoizedState;f=p.element,Mf(t,r),Yl(r,s,null,i);var S=r.memoizedState;if(s=S.cache,Cn(r,_t,s),s!==p.cache&&Tf(r,[_t],i,!0),Zl(),s=S.element,p.isDehydrated)if(p={element:s,isDehydrated:!1,cache:S.cache},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){r=Zv(t,r,s,i);break e}else if(s!==f){f=Ho(Error(a(424)),r),Gl(f),r=Zv(t,r,s,i);break e}else{switch(t=r.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(ut=Vo(t.firstChild),Pt=r,Ie=!0,_n=null,Io=!0,i=W0(r,null,s,i),r.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(ba(),s===f){r=Wr(t,r,i);break e}It(t,r,s,i)}r=r.child}return r;case 26:return Qc(t,r),t===null?(i=f1(r.type,null,r.pendingProps,null))?r.memoizedState=i:Ie||(i=r.type,t=r.pendingProps,s=hu(_e.current).createElement(i),s[Ht]=r,s[no]=t,Ut(s,i,t),Mt(s),r.stateNode=s):r.memoizedState=f1(r.type,t.memoizedProps,r.pendingProps,t.memoizedState),null;case 27:return qe(r),t===null&&Ie&&(s=r.stateNode=c1(r.type,r.pendingProps,_e.current),Pt=r,Io=!0,f=ut,Pn(r.type)?($h=f,ut=Vo(s.firstChild)):ut=f),It(t,r,r.pendingProps.children,i),Qc(t,r),t===null&&(r.flags|=4194304),r.child;case 5:return t===null&&Ie&&((f=s=ut)&&(s=W3(s,r.type,r.pendingProps,Io),s!==null?(r.stateNode=s,Pt=r,ut=Vo(s.firstChild),Io=!1,f=!0):f=!1),f||zn(r)),qe(r),f=r.type,p=r.pendingProps,S=t!==null?t.memoizedProps:null,s=p.children,Uh(f,p)?s=null:S!==null&&Uh(f,S)&&(r.flags|=32),r.memoizedState!==null&&(f=If(t,r,l3,null,null,i),bs._currentValue=f),Qc(t,r),It(t,r,s,i),r.child;case 6:return t===null&&Ie&&((t=i=ut)&&(i=X3(i,r.pendingProps,Io),i!==null?(r.stateNode=i,Pt=r,ut=null,t=!0):t=!1),t||zn(r)),null;case 13:return Yv(t,r,i);case 4:return Bt(r,r.stateNode.containerInfo),s=r.pendingProps,t===null?r.child=Ba(r,null,s,i):It(t,r,s,i),r.child;case 11:return Uv(t,r,r.type,r.pendingProps,i);case 7:return It(t,r,r.pendingProps,i),r.child;case 8:return It(t,r,r.pendingProps.children,i),r.child;case 12:return It(t,r,r.pendingProps.children,i),r.child;case 10:return s=r.pendingProps,Cn(r,r.type,s.value),It(t,r,s.children,i),r.child;case 9:return f=r.type._context,s=r.pendingProps.children,xa(r),f=Lt(f),s=s(f),r.flags|=1,It(t,r,s,i),r.child;case 14:return Vv(t,r,r.type,r.pendingProps,i);case 15:return Gv(t,r,r.type,r.pendingProps,i);case 19:return eb(t,r,i);case 31:return p3(t,r,i);case 22:return Wv(t,r,i,r.pendingProps);case 24:return xa(r),s=Lt(_t),t===null?(f=jf(),f===null&&(f=nt,p=Ef(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=i),f=p),r.memoizedState={parent:s,cache:f},Df(r),Cn(r,_t,f)):((t.lanes&i)!==0&&(Mf(t,r),Yl(r,null,null,i),Zl()),f=t.memoizedState,p=r.memoizedState,f.parent!==s?(f={parent:s,cache:s},r.memoizedState=f,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=f),Cn(r,_t,s)):(s=p.cache,Cn(r,_t,s),s!==f.cache&&Tf(r,[_t],i,!0))),It(t,r,r.pendingProps.children,i),r.child;case 29:throw r.pendingProps}throw Error(a(156,r.tag))}function Xr(t){t.flags|=4}function mh(t,r,i,s,f){if((r=(t.mode&32)!==0)&&(r=!1),r){if(t.flags|=16777216,(f&335544128)===f)if(t.stateNode.complete)t.flags|=8192;else if(Nb())t.flags|=8192;else throw ka=Mc,Af}else t.flags&=-16777217}function ob(t,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!v1(r))if(Nb())t.flags|=8192;else throw ka=Mc,Af}function Yc(t,r){r!==null&&(t.flags|=4),t.flags&16384&&(r=t.tag!==22?Mm():536870912,t.lanes|=r,Ni|=r)}function ns(t,r){if(!Ie)switch(t.tailMode){case"hidden":r=t.tail;for(var i=null;r!==null;)r.alternate!==null&&(i=r),r=r.sibling;i===null?t.tail=null:i.sibling=null;break;case"collapsed":i=t.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?r||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function dt(t){var r=t.alternate!==null&&t.alternate.child===t.child,i=0,s=0;if(r)for(var f=t.child;f!==null;)i|=f.lanes|f.childLanes,s|=f.subtreeFlags&65011712,s|=f.flags&65011712,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)i|=f.lanes|f.childLanes,s|=f.subtreeFlags,s|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=s,t.childLanes=i,r}function v3(t,r,i){var s=r.pendingProps;switch(Bf(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dt(r),null;case 1:return dt(r),null;case 3:return i=r.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),r.memoizedState.cache!==s&&(r.flags|=2048),Ur(_t),ft(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(pi(r)?Xr(r):t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,zf())),dt(r),null;case 26:var f=r.type,p=r.memoizedState;return t===null?(Xr(r),p!==null?(dt(r),ob(r,p)):(dt(r),mh(r,f,null,s,i))):p?p!==t.memoizedState?(Xr(r),dt(r),ob(r,p)):(dt(r),r.flags&=-16777217):(t=t.memoizedProps,t!==s&&Xr(r),dt(r),mh(r,f,t,s,i)),null;case 27:if(et(r),i=_e.current,f=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==s&&Xr(r);else{if(!s){if(r.stateNode===null)throw Error(a(166));return dt(r),null}t=ce.current,pi(r)?M0(r):(t=c1(f,s,i),r.stateNode=t,Xr(r))}return dt(r),null;case 5:if(et(r),f=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==s&&Xr(r);else{if(!s){if(r.stateNode===null)throw Error(a(166));return dt(r),null}if(p=ce.current,pi(r))M0(r);else{var S=hu(_e.current);switch(p){case 1:p=S.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:p=S.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":p=S.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":p=S.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":p=S.createElement("div"),p.innerHTML="<script><\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof s.is=="string"?S.createElement("select",{is:s.is}):S.createElement("select"),s.multiple?p.multiple=!0:s.size&&(p.size=s.size);break;default:p=typeof s.is=="string"?S.createElement(f,{is:s.is}):S.createElement(f)}}p[Ht]=r,p[no]=s;e:for(S=r.child;S!==null;){if(S.tag===5||S.tag===6)p.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===r)break e;for(;S.sibling===null;){if(S.return===null||S.return===r)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}r.stateNode=p;e:switch(Ut(p,f,s),f){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&Xr(r)}}return dt(r),mh(r,r.type,t===null?null:t.memoizedProps,r.pendingProps,i),null;case 6:if(t&&r.stateNode!=null)t.memoizedProps!==s&&Xr(r);else{if(typeof s!="string"&&r.stateNode===null)throw Error(a(166));if(t=_e.current,pi(r)){if(t=r.stateNode,i=r.memoizedProps,s=null,f=Pt,f!==null)switch(f.tag){case 27:case 5:s=f.memoizedProps}t[Ht]=r,t=!!(t.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||Yb(t.nodeValue,i)),t||zn(r,!0)}else t=hu(t).createTextNode(s),t[Ht]=r,r.stateNode=t}return dt(r),null;case 31:if(i=r.memoizedState,t===null||t.memoizedState!==null){if(s=pi(r),i!==null){if(t===null){if(!s)throw Error(a(318));if(t=r.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(557));t[Ht]=r}else ba(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;dt(r),t=!1}else i=zf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return r.flags&256?(ko(r),r):(ko(r),null);if((r.flags&128)!==0)throw Error(a(558))}return dt(r),null;case 13:if(s=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=pi(r),s!==null&&s.dehydrated!==null){if(t===null){if(!f)throw Error(a(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(a(317));f[Ht]=r}else ba(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;dt(r),f=!1}else f=zf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return r.flags&256?(ko(r),r):(ko(r),null)}return ko(r),(r.flags&128)!==0?(r.lanes=i,r):(i=s!==null,t=t!==null&&t.memoizedState!==null,i&&(s=r.child,f=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(f=s.alternate.memoizedState.cachePool.pool),p=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(p=s.memoizedState.cachePool.pool),p!==f&&(s.flags|=2048)),i!==t&&i&&(r.child.flags|=8192),Yc(r,r.updateQueue),dt(r),null);case 4:return ft(),t===null&&qh(r.stateNode.containerInfo),dt(r),null;case 10:return Ur(r.type),dt(r),null;case 19:if(U(wt),s=r.memoizedState,s===null)return dt(r),null;if(f=(r.flags&128)!==0,p=s.rendering,p===null)if(f)ns(s,!1);else{if(bt!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(p=Hc(t),p!==null){for(r.flags|=128,ns(s,!1),t=p.updateQueue,r.updateQueue=t,Yc(r,t),r.subtreeFlags=0,t=i,i=r.child;i!==null;)E0(i,t),i=i.sibling;return te(wt,wt.current&1|2),Ie&&Lr(r,s.treeForkCount),r.child}t=t.sibling}s.tail!==null&&vo()>ru&&(r.flags|=128,f=!0,ns(s,!1),r.lanes=4194304)}else{if(!f)if(t=Hc(p),t!==null){if(r.flags|=128,f=!0,t=t.updateQueue,r.updateQueue=t,Yc(r,t),ns(s,!0),s.tail===null&&s.tailMode==="hidden"&&!p.alternate&&!Ie)return dt(r),null}else 2*vo()-s.renderingStartTime>ru&&i!==536870912&&(r.flags|=128,f=!0,ns(s,!1),r.lanes=4194304);s.isBackwards?(p.sibling=r.child,r.child=p):(t=s.last,t!==null?t.sibling=p:r.child=p,s.last=p)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=vo(),t.sibling=null,i=wt.current,te(wt,f?i&1|2:i&1),Ie&&Lr(r,s.treeForkCount),t):(dt(r),null);case 22:case 23:return ko(r),Hf(),s=r.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(r.flags|=8192):s&&(r.flags|=8192),s?(i&536870912)!==0&&(r.flags&128)===0&&(dt(r),r.subtreeFlags&6&&(r.flags|=8192)):dt(r),i=r.updateQueue,i!==null&&Yc(r,i.retryQueue),i=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),s=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(s=r.memoizedState.cachePool.pool),s!==i&&(r.flags|=2048),t!==null&&U(wa),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),Ur(_t),dt(r),null;case 25:return null;case 30:return null}throw Error(a(156,r.tag))}function b3(t,r){switch(Bf(r),r.tag){case 1:return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return Ur(_t),ft(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 26:case 27:case 5:return et(r),null;case 31:if(r.memoizedState!==null){if(ko(r),r.alternate===null)throw Error(a(340));ba()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 13:if(ko(r),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(a(340));ba()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return U(wt),null;case 4:return ft(),null;case 10:return Ur(r.type),null;case 22:case 23:return ko(r),Hf(),t!==null&&U(wa),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 24:return Ur(_t),null;case 25:return null;default:return null}}function rb(t,r){switch(Bf(r),r.tag){case 3:Ur(_t),ft();break;case 26:case 27:case 5:et(r);break;case 4:ft();break;case 31:r.memoizedState!==null&&ko(r);break;case 13:ko(r);break;case 19:U(wt);break;case 10:Ur(r.type);break;case 22:case 23:ko(r),Hf(),t!==null&&U(wa);break;case 24:Ur(_t)}}function as(t,r){try{var i=r.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var f=s.next;i=f;do{if((i.tag&t)===t){s=void 0;var p=i.create,S=i.inst;s=p(),S.destroy=s}i=i.next}while(i!==f)}}catch(N){Je(r,r.return,N)}}function An(t,r,i){try{var s=r.updateQueue,f=s!==null?s.lastEffect:null;if(f!==null){var p=f.next;s=p;do{if((s.tag&t)===t){var S=s.inst,N=S.destroy;if(N!==void 0){S.destroy=void 0,f=r;var A=i,G=N;try{G()}catch(Z){Je(f,A,Z)}}}s=s.next}while(s!==p)}}catch(Z){Je(r,r.return,Z)}}function nb(t){var r=t.updateQueue;if(r!==null){var i=t.stateNode;try{$0(r,i)}catch(s){Je(t,t.return,s)}}}function ab(t,r,i){i.props=za(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(s){Je(t,r,s)}}function is(t,r){try{var i=t.ref;if(i!==null){switch(t.tag){case 26:case 27:case 5:var s=t.stateNode;break;case 30:s=t.stateNode;break;default:s=t.stateNode}typeof i=="function"?t.refCleanup=i(s):i.current=s}}catch(f){Je(t,r,f)}}function Br(t,r){var i=t.ref,s=t.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(f){Je(t,r,f)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(f){Je(t,r,f)}else i.current=null}function ib(t){var r=t.type,i=t.memoizedProps,s=t.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":i.autoFocus&&s.focus();break e;case"img":i.src?s.src=i.src:i.srcSet&&(s.srcset=i.srcSet)}}catch(f){Je(t,t.return,f)}}function vh(t,r,i){try{var s=t.stateNode;P3(s,t.type,i,r),s[no]=r}catch(f){Je(t,t.return,f)}}function lb(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Pn(t.type)||t.tag===4}function bh(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||lb(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&&Pn(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 yh(t,r,i){var s=t.tag;if(s===5||s===6)t=t.stateNode,r?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(t,r):(r=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,r.appendChild(t),i=i._reactRootContainer,i!=null||r.onclick!==null||(r.onclick=qr));else if(s!==4&&(s===27&&Pn(t.type)&&(i=t.stateNode,r=null),t=t.child,t!==null))for(yh(t,r,i),t=t.sibling;t!==null;)yh(t,r,i),t=t.sibling}function Jc(t,r,i){var s=t.tag;if(s===5||s===6)t=t.stateNode,r?i.insertBefore(t,r):i.appendChild(t);else if(s!==4&&(s===27&&Pn(t.type)&&(i=t.stateNode),t=t.child,t!==null))for(Jc(t,r,i),t=t.sibling;t!==null;)Jc(t,r,i),t=t.sibling}function sb(t){var r=t.stateNode,i=t.memoizedProps;try{for(var s=t.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);Ut(r,s,i),r[Ht]=t,r[no]=i}catch(p){Je(t,t.return,p)}}var $r=!1,Nt=!1,xh=!1,cb=typeof WeakSet=="function"?WeakSet:Set,Ot=null;function y3(t,r){if(t=t.containerInfo,Lh=xu,t=w0(t),hf(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var f=s.anchorOffset,p=s.focusNode;s=s.focusOffset;try{i.nodeType,p.nodeType}catch{i=null;break e}var S=0,N=-1,A=-1,G=0,Z=0,re=t,X=null;t:for(;;){for(var K;re!==i||f!==0&&re.nodeType!==3||(N=S+f),re!==p||s!==0&&re.nodeType!==3||(A=S+s),re.nodeType===3&&(S+=re.nodeValue.length),(K=re.firstChild)!==null;)X=re,re=K;for(;;){if(re===t)break t;if(X===i&&++G===f&&(N=S),X===p&&++Z===s&&(A=S),(K=re.nextSibling)!==null)break;re=X,X=re.parentNode}re=K}i=N===-1||A===-1?null:{start:N,end:A}}else i=null}i=i||{start:0,end:0}}else i=null;for(Ih={focusedElem:t,selectionRange:i},xu=!1,Ot=r;Ot!==null;)if(r=Ot,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,Ot=t;else for(;Ot!==null;){switch(r=Ot,p=r.alternate,t=r.flags,r.tag){case 0:if((t&4)!==0&&(t=r.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&&p!==null){t=void 0,i=r,f=p.memoizedProps,p=p.memoizedState,s=i.stateNode;try{var be=za(i.type,f);t=s.getSnapshotBeforeUpdate(be,p),s.__reactInternalSnapshotBeforeUpdate=t}catch(ke){Je(i,i.return,ke)}}break;case 3:if((t&1024)!==0){if(t=r.stateNode.containerInfo,i=t.nodeType,i===9)Gh(t);else if(i===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Gh(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=r.sibling,t!==null){t.return=r.return,Ot=t;break}Ot=r.return}}function ub(t,r,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:Qr(t,i),s&4&&as(5,i);break;case 1:if(Qr(t,i),s&4)if(t=i.stateNode,r===null)try{t.componentDidMount()}catch(S){Je(i,i.return,S)}else{var f=za(i.type,r.memoizedProps);r=r.memoizedState;try{t.componentDidUpdate(f,r,t.__reactInternalSnapshotBeforeUpdate)}catch(S){Je(i,i.return,S)}}s&64&&nb(i),s&512&&is(i,i.return);break;case 3:if(Qr(t,i),s&64&&(t=i.updateQueue,t!==null)){if(r=null,i.child!==null)switch(i.child.tag){case 27:case 5:r=i.child.stateNode;break;case 1:r=i.child.stateNode}try{$0(t,r)}catch(S){Je(i,i.return,S)}}break;case 27:r===null&&s&4&&sb(i);case 26:case 5:Qr(t,i),r===null&&s&4&&ib(i),s&512&&is(i,i.return);break;case 12:Qr(t,i);break;case 31:Qr(t,i),s&4&&hb(t,i);break;case 13:Qr(t,i),s&4&&gb(t,i),s&64&&(t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(i=N3.bind(null,i),$3(t,i))));break;case 22:if(s=i.memoizedState!==null||$r,!s){r=r!==null&&r.memoizedState!==null||Nt,f=$r;var p=Nt;$r=s,(Nt=r)&&!p?Zr(t,i,(i.subtreeFlags&8772)!==0):Qr(t,i),$r=f,Nt=p}break;case 30:break;default:Qr(t,i)}}function db(t){var r=t.alternate;r!==null&&(t.alternate=null,db(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&Kd(r)),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 ht=null,io=!1;function Kr(t,r,i){for(i=i.child;i!==null;)fb(t,r,i),i=i.sibling}function fb(t,r,i){if(bo&&typeof bo.onCommitFiberUnmount=="function")try{bo.onCommitFiberUnmount(El,i)}catch{}switch(i.tag){case 26:Nt||Br(i,r),Kr(t,r,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Nt||Br(i,r);var s=ht,f=io;Pn(i.type)&&(ht=i.stateNode,io=!1),Kr(t,r,i),ps(i.stateNode),ht=s,io=f;break;case 5:Nt||Br(i,r);case 6:if(s=ht,f=io,ht=null,Kr(t,r,i),ht=s,io=f,ht!==null)if(io)try{(ht.nodeType===9?ht.body:ht.nodeName==="HTML"?ht.ownerDocument.body:ht).removeChild(i.stateNode)}catch(p){Je(i,r,p)}else try{ht.removeChild(i.stateNode)}catch(p){Je(i,r,p)}break;case 18:ht!==null&&(io?(t=ht,n1(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,i.stateNode),Oi(t)):n1(ht,i.stateNode));break;case 4:s=ht,f=io,ht=i.stateNode.containerInfo,io=!0,Kr(t,r,i),ht=s,io=f;break;case 0:case 11:case 14:case 15:An(2,i,r),Nt||An(4,i,r),Kr(t,r,i);break;case 1:Nt||(Br(i,r),s=i.stateNode,typeof s.componentWillUnmount=="function"&&ab(i,r,s)),Kr(t,r,i);break;case 21:Kr(t,r,i);break;case 22:Nt=(s=Nt)||i.memoizedState!==null,Kr(t,r,i),Nt=s;break;default:Kr(t,r,i)}}function hb(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Oi(t)}catch(i){Je(r,r.return,i)}}}function gb(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Oi(t)}catch(i){Je(r,r.return,i)}}function x3(t){switch(t.tag){case 31:case 13:case 19:var r=t.stateNode;return r===null&&(r=t.stateNode=new cb),r;case 22:return t=t.stateNode,r=t._retryCache,r===null&&(r=t._retryCache=new cb),r;default:throw Error(a(435,t.tag))}}function eu(t,r){var i=x3(t);r.forEach(function(s){if(!i.has(s)){i.add(s);var f=T3.bind(null,t,s);s.then(f,f)}})}function lo(t,r){var i=r.deletions;if(i!==null)for(var s=0;s<i.length;s++){var f=i[s],p=t,S=r,N=S;e:for(;N!==null;){switch(N.tag){case 27:if(Pn(N.type)){ht=N.stateNode,io=!1;break e}break;case 5:ht=N.stateNode,io=!1;break e;case 3:case 4:ht=N.stateNode.containerInfo,io=!0;break e}N=N.return}if(ht===null)throw Error(a(160));fb(p,S,f),ht=null,io=!1,p=f.alternate,p!==null&&(p.return=null),f.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)pb(r,t),r=r.sibling}var nr=null;function pb(t,r){var i=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:lo(r,t),so(t),s&4&&(An(3,t,t.return),as(3,t),An(5,t,t.return));break;case 1:lo(r,t),so(t),s&512&&(Nt||i===null||Br(i,i.return)),s&64&&$r&&(t=t.updateQueue,t!==null&&(s=t.callbacks,s!==null&&(i=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=i===null?s:i.concat(s))));break;case 26:var f=nr;if(lo(r,t),so(t),s&512&&(Nt||i===null||Br(i,i.return)),s&4){var p=i!==null?i.memoizedState:null;if(s=t.memoizedState,i===null)if(s===null)if(t.stateNode===null){e:{s=t.type,i=t.memoizedProps,f=f.ownerDocument||f;t:switch(s){case"title":p=f.getElementsByTagName("title")[0],(!p||p[Al]||p[Ht]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=f.createElement(s),f.head.insertBefore(p,f.querySelector("head > title"))),Ut(p,s,i),p[Ht]=t,Mt(p),s=p;break e;case"link":var S=p1("link","href",f).get(s+(i.href||""));if(S){for(var N=0;N<S.length;N++)if(p=S[N],p.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&p.getAttribute("rel")===(i.rel==null?null:i.rel)&&p.getAttribute("title")===(i.title==null?null:i.title)&&p.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){S.splice(N,1);break t}}p=f.createElement(s),Ut(p,s,i),f.head.appendChild(p);break;case"meta":if(S=p1("meta","content",f).get(s+(i.content||""))){for(N=0;N<S.length;N++)if(p=S[N],p.getAttribute("content")===(i.content==null?null:""+i.content)&&p.getAttribute("name")===(i.name==null?null:i.name)&&p.getAttribute("property")===(i.property==null?null:i.property)&&p.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&p.getAttribute("charset")===(i.charSet==null?null:i.charSet)){S.splice(N,1);break t}}p=f.createElement(s),Ut(p,s,i),f.head.appendChild(p);break;default:throw Error(a(468,s))}p[Ht]=t,Mt(p),s=p}t.stateNode=s}else m1(f,t.type,t.stateNode);else t.stateNode=g1(f,s,t.memoizedProps);else p!==s?(p===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):p.count--,s===null?m1(f,t.type,t.stateNode):g1(f,s,t.memoizedProps)):s===null&&t.stateNode!==null&&vh(t,t.memoizedProps,i.memoizedProps)}break;case 27:lo(r,t),so(t),s&512&&(Nt||i===null||Br(i,i.return)),i!==null&&s&4&&vh(t,t.memoizedProps,i.memoizedProps);break;case 5:if(lo(r,t),so(t),s&512&&(Nt||i===null||Br(i,i.return)),t.flags&32){f=t.stateNode;try{ai(f,"")}catch(be){Je(t,t.return,be)}}s&4&&t.stateNode!=null&&(f=t.memoizedProps,vh(t,f,i!==null?i.memoizedProps:f)),s&1024&&(xh=!0);break;case 6:if(lo(r,t),so(t),s&4){if(t.stateNode===null)throw Error(a(162));s=t.memoizedProps,i=t.stateNode;try{i.nodeValue=s}catch(be){Je(t,t.return,be)}}break;case 3:if(mu=null,f=nr,nr=gu(r.containerInfo),lo(r,t),nr=f,so(t),s&4&&i!==null&&i.memoizedState.isDehydrated)try{Oi(r.containerInfo)}catch(be){Je(t,t.return,be)}xh&&(xh=!1,mb(t));break;case 4:s=nr,nr=gu(t.stateNode.containerInfo),lo(r,t),so(t),nr=s;break;case 12:lo(r,t),so(t);break;case 31:lo(r,t),so(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,eu(t,s)));break;case 13:lo(r,t),so(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(ou=vo()),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,eu(t,s)));break;case 22:f=t.memoizedState!==null;var A=i!==null&&i.memoizedState!==null,G=$r,Z=Nt;if($r=G||f,Nt=Z||A,lo(r,t),Nt=Z,$r=G,so(t),s&8192)e:for(r=t.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(i===null||A||$r||Nt||Ca(t)),i=null,r=t;;){if(r.tag===5||r.tag===26){if(i===null){A=i=r;try{if(p=A.stateNode,f)S=p.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{N=A.stateNode;var re=A.memoizedProps.style,X=re!=null&&re.hasOwnProperty("display")?re.display:null;N.style.display=X==null||typeof X=="boolean"?"":(""+X).trim()}}catch(be){Je(A,A.return,be)}}}else if(r.tag===6){if(i===null){A=r;try{A.stateNode.nodeValue=f?"":A.memoizedProps}catch(be){Je(A,A.return,be)}}}else if(r.tag===18){if(i===null){A=r;try{var K=A.stateNode;f?a1(K,!0):a1(A.stateNode,!1)}catch(be){Je(A,A.return,be)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===t)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;i===r&&(i=null),r=r.return}i===r&&(i=null),r.sibling.return=r.return,r=r.sibling}s&4&&(s=t.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,eu(t,i))));break;case 19:lo(r,t),so(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,eu(t,s)));break;case 30:break;case 21:break;default:lo(r,t),so(t)}}function so(t){var r=t.flags;if(r&2){try{for(var i,s=t.return;s!==null;){if(lb(s)){i=s;break}s=s.return}if(i==null)throw Error(a(160));switch(i.tag){case 27:var f=i.stateNode,p=bh(t);Jc(t,p,f);break;case 5:var S=i.stateNode;i.flags&32&&(ai(S,""),i.flags&=-33);var N=bh(t);Jc(t,N,S);break;case 3:case 4:var A=i.stateNode.containerInfo,G=bh(t);yh(t,G,A);break;default:throw Error(a(161))}}catch(Z){Je(t,t.return,Z)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function mb(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var r=t;mb(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),t=t.sibling}}function Qr(t,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)ub(t,r.alternate,r),r=r.sibling}function Ca(t){for(t=t.child;t!==null;){var r=t;switch(r.tag){case 0:case 11:case 14:case 15:An(4,r,r.return),Ca(r);break;case 1:Br(r,r.return);var i=r.stateNode;typeof i.componentWillUnmount=="function"&&ab(r,r.return,i),Ca(r);break;case 27:ps(r.stateNode);case 26:case 5:Br(r,r.return),Ca(r);break;case 22:r.memoizedState===null&&Ca(r);break;case 30:Ca(r);break;default:Ca(r)}t=t.sibling}}function Zr(t,r,i){for(i=i&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var s=r.alternate,f=t,p=r,S=p.flags;switch(p.tag){case 0:case 11:case 15:Zr(f,p,i),as(4,p);break;case 1:if(Zr(f,p,i),s=p,f=s.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(G){Je(s,s.return,G)}if(s=p,f=s.updateQueue,f!==null){var N=s.stateNode;try{var A=f.shared.hiddenCallbacks;if(A!==null)for(f.shared.hiddenCallbacks=null,f=0;f<A.length;f++)X0(A[f],N)}catch(G){Je(s,s.return,G)}}i&&S&64&&nb(p),is(p,p.return);break;case 27:sb(p);case 26:case 5:Zr(f,p,i),i&&s===null&&S&4&&ib(p),is(p,p.return);break;case 12:Zr(f,p,i);break;case 31:Zr(f,p,i),i&&S&4&&hb(f,p);break;case 13:Zr(f,p,i),i&&S&4&&gb(f,p);break;case 22:p.memoizedState===null&&Zr(f,p,i),is(p,p.return);break;case 30:break;default:Zr(f,p,i)}r=r.sibling}}function wh(t,r){var i=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),t=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(t=r.memoizedState.cachePool.pool),t!==i&&(t!=null&&t.refCount++,i!=null&&Wl(i))}function Sh(t,r){t=null,r.alternate!==null&&(t=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==t&&(r.refCount++,t!=null&&Wl(t))}function ar(t,r,i,s){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)vb(t,r,i,s),r=r.sibling}function vb(t,r,i,s){var f=r.flags;switch(r.tag){case 0:case 11:case 15:ar(t,r,i,s),f&2048&&as(9,r);break;case 1:ar(t,r,i,s);break;case 3:ar(t,r,i,s),f&2048&&(t=null,r.alternate!==null&&(t=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==t&&(r.refCount++,t!=null&&Wl(t)));break;case 12:if(f&2048){ar(t,r,i,s),t=r.stateNode;try{var p=r.memoizedProps,S=p.id,N=p.onPostCommit;typeof N=="function"&&N(S,r.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){Je(r,r.return,A)}}else ar(t,r,i,s);break;case 31:ar(t,r,i,s);break;case 13:ar(t,r,i,s);break;case 23:break;case 22:p=r.stateNode,S=r.alternate,r.memoizedState!==null?p._visibility&2?ar(t,r,i,s):ls(t,r):p._visibility&2?ar(t,r,i,s):(p._visibility|=2,_i(t,r,i,s,(r.subtreeFlags&10256)!==0||!1)),f&2048&&wh(S,r);break;case 24:ar(t,r,i,s),f&2048&&Sh(r.alternate,r);break;default:ar(t,r,i,s)}}function _i(t,r,i,s,f){for(f=f&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var p=t,S=r,N=i,A=s,G=S.flags;switch(S.tag){case 0:case 11:case 15:_i(p,S,N,A,f),as(8,S);break;case 23:break;case 22:var Z=S.stateNode;S.memoizedState!==null?Z._visibility&2?_i(p,S,N,A,f):ls(p,S):(Z._visibility|=2,_i(p,S,N,A,f)),f&&G&2048&&wh(S.alternate,S);break;case 24:_i(p,S,N,A,f),f&&G&2048&&Sh(S.alternate,S);break;default:_i(p,S,N,A,f)}r=r.sibling}}function ls(t,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var i=t,s=r,f=s.flags;switch(s.tag){case 22:ls(i,s),f&2048&&wh(s.alternate,s);break;case 24:ls(i,s),f&2048&&Sh(s.alternate,s);break;default:ls(i,s)}r=r.sibling}}var ss=8192;function zi(t,r,i){if(t.subtreeFlags&ss)for(t=t.child;t!==null;)bb(t,r,i),t=t.sibling}function bb(t,r,i){switch(t.tag){case 26:zi(t,r,i),t.flags&ss&&t.memoizedState!==null&&iB(i,nr,t.memoizedState,t.memoizedProps);break;case 5:zi(t,r,i);break;case 3:case 4:var s=nr;nr=gu(t.stateNode.containerInfo),zi(t,r,i),nr=s;break;case 22:t.memoizedState===null&&(s=t.alternate,s!==null&&s.memoizedState!==null?(s=ss,ss=16777216,zi(t,r,i),ss=s):zi(t,r,i));break;default:zi(t,r,i)}}function yb(t){var r=t.alternate;if(r!==null&&(t=r.child,t!==null)){r.child=null;do r=t.sibling,t.sibling=null,t=r;while(t!==null)}}function cs(t){var r=t.deletions;if((t.flags&16)!==0){if(r!==null)for(var i=0;i<r.length;i++){var s=r[i];Ot=s,wb(s,t)}yb(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)xb(t),t=t.sibling}function xb(t){switch(t.tag){case 0:case 11:case 15:cs(t),t.flags&2048&&An(9,t,t.return);break;case 3:cs(t);break;case 12:cs(t);break;case 22:var r=t.stateNode;t.memoizedState!==null&&r._visibility&2&&(t.return===null||t.return.tag!==13)?(r._visibility&=-3,tu(t)):cs(t);break;default:cs(t)}}function tu(t){var r=t.deletions;if((t.flags&16)!==0){if(r!==null)for(var i=0;i<r.length;i++){var s=r[i];Ot=s,wb(s,t)}yb(t)}for(t=t.child;t!==null;){switch(r=t,r.tag){case 0:case 11:case 15:An(8,r,r.return),tu(r);break;case 22:i=r.stateNode,i._visibility&2&&(i._visibility&=-3,tu(r));break;default:tu(r)}t=t.sibling}}function wb(t,r){for(;Ot!==null;){var i=Ot;switch(i.tag){case 0:case 11:case 15:An(8,i,r);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var s=i.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:Wl(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Ot=s;else e:for(i=t;Ot!==null;){s=Ot;var f=s.sibling,p=s.return;if(db(s),s===i){Ot=null;break e}if(f!==null){f.return=p,Ot=f;break e}Ot=p}}}var w3={getCacheForType:function(t){var r=Lt(_t),i=r.data.get(t);return i===void 0&&(i=t(),r.data.set(t,i)),i},cacheSignal:function(){return Lt(_t).controller.signal}},S3=typeof WeakMap=="function"?WeakMap:Map,$e=0,nt=null,Me=null,He=0,Ye=0,Bo=null,Dn=!1,Ci=!1,kh=!1,Yr=0,bt=0,Mn=0,Na=0,Bh=0,_o=0,Ni=0,us=null,co=null,_h=!1,ou=0,Sb=0,ru=1/0,nu=null,On=null,Rt=0,Fn=null,Ti=null,Jr=0,zh=0,Ch=null,kb=null,ds=0,Nh=null;function zo(){return($e&2)!==0&&He!==0?He&-He:I.T!==null?Dh():Hm()}function Bb(){if(_o===0)if((He&536870912)===0||Ie){var t=fc;fc<<=1,(fc&3932160)===0&&(fc=262144),_o=t}else _o=536870912;return t=So.current,t!==null&&(t.flags|=32),_o}function uo(t,r,i){(t===nt&&(Ye===2||Ye===9)||t.cancelPendingCommit!==null)&&(Ei(t,0),qn(t,He,_o,!1)),jl(t,i),(($e&2)===0||t!==nt)&&(t===nt&&(($e&2)===0&&(Na|=i),bt===4&&qn(t,He,_o,!1)),_r(t))}function _b(t,r,i){if(($e&6)!==0)throw Error(a(327));var s=!i&&(r&127)===0&&(r&t.expiredLanes)===0||Rl(t,r),f=s?_3(t,r):Eh(t,r,!0),p=s;do{if(f===0){Ci&&!s&&qn(t,r,0,!1);break}else{if(i=t.current.alternate,p&&!k3(i)){f=Eh(t,r,!1),p=!1;continue}if(f===2){if(p=r,t.errorRecoveryDisabledLanes&p)var S=0;else S=t.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){r=S;e:{var N=t;f=us;var A=N.current.memoizedState.isDehydrated;if(A&&(Ei(N,S).flags|=256),S=Eh(N,S,!1),S!==2){if(kh&&!A){N.errorRecoveryDisabledLanes|=p,Na|=p,f=4;break e}p=co,co=f,p!==null&&(co===null?co=p:co.push.apply(co,p))}f=S}if(p=!1,f!==2)continue}}if(f===1){Ei(t,0),qn(t,r,0,!0);break}e:{switch(s=t,p=f,p){case 0:case 1:throw Error(a(345));case 4:if((r&4194048)!==r)break;case 6:qn(s,r,_o,!Dn);break e;case 2:co=null;break;case 3:case 5:break;default:throw Error(a(329))}if((r&62914560)===r&&(f=ou+300-vo(),10<f)){if(qn(s,r,_o,!Dn),gc(s,0,!0)!==0)break e;Jr=r,s.timeoutHandle=o1(zb.bind(null,s,i,co,nu,_h,r,_o,Na,Ni,Dn,p,"Throttled",-0,0),f);break e}zb(s,i,co,nu,_h,r,_o,Na,Ni,Dn,p,null,-0,0)}}break}while(!0);_r(t)}function zb(t,r,i,s,f,p,S,N,A,G,Z,re,X,K){if(t.timeoutHandle=-1,re=r.subtreeFlags,re&8192||(re&16785408)===16785408){re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:qr},bb(r,p,re);var be=(p&62914560)===p?ou-vo():(p&4194048)===p?Sb-vo():0;if(be=lB(re,be),be!==null){Jr=p,t.cancelPendingCommit=be(Db.bind(null,t,r,p,i,s,f,S,N,A,Z,re,null,X,K)),qn(t,p,S,!G);return}}Db(t,r,p,i,s,f,S,N,A)}function k3(t){for(var r=t;;){var i=r.tag;if((i===0||i===11||i===15)&&r.flags&16384&&(i=r.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var s=0;s<i.length;s++){var f=i[s],p=f.getSnapshot;f=f.value;try{if(!xo(p(),f))return!1}catch{return!1}}if(i=r.child,r.subtreeFlags&16384&&i!==null)i.return=r,r=i;else{if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function qn(t,r,i,s){r&=~Bh,r&=~Na,t.suspendedLanes|=r,t.pingedLanes&=~r,s&&(t.warmLanes|=r),s=t.expirationTimes;for(var f=r;0<f;){var p=31-yo(f),S=1<<p;s[p]=-1,f&=~S}i!==0&&Om(t,i,r)}function au(){return($e&6)===0?(fs(0),!1):!0}function Th(){if(Me!==null){if(Ye===0)var t=Me.return;else t=Me,Ir=ya=null,Gf(t),xi=null,$l=0,t=Me;for(;t!==null;)rb(t.alternate,t),t=t.return;Me=null}}function Ei(t,r){var i=t.timeoutHandle;i!==-1&&(t.timeoutHandle=-1,U3(i)),i=t.cancelPendingCommit,i!==null&&(t.cancelPendingCommit=null,i()),Jr=0,Th(),nt=t,Me=i=Pr(t.current,null),He=r,Ye=0,Bo=null,Dn=!1,Ci=Rl(t,r),kh=!1,Ni=_o=Bh=Na=Mn=bt=0,co=us=null,_h=!1,(r&8)!==0&&(r|=r&32);var s=t.entangledLanes;if(s!==0)for(t=t.entanglements,s&=r;0<s;){var f=31-yo(s),p=1<<f;r|=t[f],s&=~p}return Yr=r,zc(),i}function Cb(t,r){Te=null,I.H=os,r===yi||r===Dc?(r=U0(),Ye=3):r===Af?(r=U0(),Ye=4):Ye=r===lh?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,Bo=r,Me===null&&(bt=1,$c(t,Ho(r,t.current)))}function Nb(){var t=So.current;return t===null?!0:(He&4194048)===He?Uo===null:(He&62914560)===He||(He&536870912)!==0?t===Uo:!1}function Tb(){var t=I.H;return I.H=os,t===null?os:t}function Eb(){var t=I.A;return I.A=w3,t}function iu(){bt=4,Dn||(He&4194048)!==He&&So.current!==null||(Ci=!0),(Mn&134217727)===0&&(Na&134217727)===0||nt===null||qn(nt,He,_o,!1)}function Eh(t,r,i){var s=$e;$e|=2;var f=Tb(),p=Eb();(nt!==t||He!==r)&&(nu=null,Ei(t,r)),r=!1;var S=bt;e:do try{if(Ye!==0&&Me!==null){var N=Me,A=Bo;switch(Ye){case 8:Th(),S=6;break e;case 3:case 2:case 9:case 6:So.current===null&&(r=!0);var G=Ye;if(Ye=0,Bo=null,Ri(t,N,A,G),i&&Ci){S=0;break e}break;default:G=Ye,Ye=0,Bo=null,Ri(t,N,A,G)}}B3(),S=bt;break}catch(Z){Cb(t,Z)}while(!0);return r&&t.shellSuspendCounter++,Ir=ya=null,$e=s,I.H=f,I.A=p,Me===null&&(nt=null,He=0,zc()),S}function B3(){for(;Me!==null;)Rb(Me)}function _3(t,r){var i=$e;$e|=2;var s=Tb(),f=Eb();nt!==t||He!==r?(nu=null,ru=vo()+500,Ei(t,r)):Ci=Rl(t,r);e:do try{if(Ye!==0&&Me!==null){r=Me;var p=Bo;t:switch(Ye){case 1:Ye=0,Bo=null,Ri(t,r,p,1);break;case 2:case 9:if(L0(p)){Ye=0,Bo=null,jb(r);break}r=function(){Ye!==2&&Ye!==9||nt!==t||(Ye=7),_r(t)},p.then(r,r);break e;case 3:Ye=7;break e;case 4:Ye=5;break e;case 7:L0(p)?(Ye=0,Bo=null,jb(r)):(Ye=0,Bo=null,Ri(t,r,p,7));break;case 5:var S=null;switch(Me.tag){case 26:S=Me.memoizedState;case 5:case 27:var N=Me;if(S?v1(S):N.stateNode.complete){Ye=0,Bo=null;var A=N.sibling;if(A!==null)Me=A;else{var G=N.return;G!==null?(Me=G,lu(G)):Me=null}break t}}Ye=0,Bo=null,Ri(t,r,p,5);break;case 6:Ye=0,Bo=null,Ri(t,r,p,6);break;case 8:Th(),bt=6;break e;default:throw Error(a(462))}}z3();break}catch(Z){Cb(t,Z)}while(!0);return Ir=ya=null,I.H=s,I.A=f,$e=i,Me!==null?0:(nt=null,He=0,zc(),bt)}function z3(){for(;Me!==null&&!KS();)Rb(Me)}function Rb(t){var r=tb(t.alternate,t,Yr);t.memoizedProps=t.pendingProps,r===null?lu(t):Me=r}function jb(t){var r=t,i=r.alternate;switch(r.tag){case 15:case 0:r=Kv(i,r,r.pendingProps,r.type,void 0,He);break;case 11:r=Kv(i,r,r.pendingProps,r.type.render,r.ref,He);break;case 5:Gf(r);default:rb(i,r),r=Me=E0(r,Yr),r=tb(i,r,Yr)}t.memoizedProps=t.pendingProps,r===null?lu(t):Me=r}function Ri(t,r,i,s){Ir=ya=null,Gf(r),xi=null,$l=0;var f=r.return;try{if(g3(t,f,r,i,He)){bt=1,$c(t,Ho(i,t.current)),Me=null;return}}catch(p){if(f!==null)throw Me=f,p;bt=1,$c(t,Ho(i,t.current)),Me=null;return}r.flags&32768?(Ie||s===1?t=!0:Ci||(He&536870912)!==0?t=!1:(Dn=t=!0,(s===2||s===9||s===3||s===6)&&(s=So.current,s!==null&&s.tag===13&&(s.flags|=16384))),Ab(r,t)):lu(r)}function lu(t){var r=t;do{if((r.flags&32768)!==0){Ab(r,Dn);return}t=r.return;var i=v3(r.alternate,r,Yr);if(i!==null){Me=i;return}if(r=r.sibling,r!==null){Me=r;return}Me=r=t}while(r!==null);bt===0&&(bt=5)}function Ab(t,r){do{var i=b3(t.alternate,t);if(i!==null){i.flags&=32767,Me=i;return}if(i=t.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!r&&(t=t.sibling,t!==null)){Me=t;return}Me=t=i}while(t!==null);bt=6,Me=null}function Db(t,r,i,s,f,p,S,N,A){t.cancelPendingCommit=null;do su();while(Rt!==0);if(($e&6)!==0)throw Error(a(327));if(r!==null){if(r===t.current)throw Error(a(177));if(p=r.lanes|r.childLanes,p|=bf,ak(t,i,p,S,N,A),t===nt&&(Me=nt=null,He=0),Ti=r,Fn=t,Jr=i,zh=p,Ch=f,kb=s,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,E3(uc,function(){return Hb(),null})):(t.callbackNode=null,t.callbackPriority=0),s=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||s){s=I.T,I.T=null,f=ee.p,ee.p=2,S=$e,$e|=4;try{y3(t,r,i)}finally{$e=S,ee.p=f,I.T=s}}Rt=1,Mb(),Ob(),Fb()}}function Mb(){if(Rt===1){Rt=0;var t=Fn,r=Ti,i=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||i){i=I.T,I.T=null;var s=ee.p;ee.p=2;var f=$e;$e|=4;try{pb(r,t);var p=Ih,S=w0(t.containerInfo),N=p.focusedElem,A=p.selectionRange;if(S!==N&&N&&N.ownerDocument&&x0(N.ownerDocument.documentElement,N)){if(A!==null&&hf(N)){var G=A.start,Z=A.end;if(Z===void 0&&(Z=G),"selectionStart"in N)N.selectionStart=G,N.selectionEnd=Math.min(Z,N.value.length);else{var re=N.ownerDocument||document,X=re&&re.defaultView||window;if(X.getSelection){var K=X.getSelection(),be=N.textContent.length,ke=Math.min(A.start,be),rt=A.end===void 0?ke:Math.min(A.end,be);!K.extend&&ke>rt&&(S=rt,rt=ke,ke=S);var L=y0(N,ke),q=y0(N,rt);if(L&&q&&(K.rangeCount!==1||K.anchorNode!==L.node||K.anchorOffset!==L.offset||K.focusNode!==q.node||K.focusOffset!==q.offset)){var V=re.createRange();V.setStart(L.node,L.offset),K.removeAllRanges(),ke>rt?(K.addRange(V),K.extend(q.node,q.offset)):(V.setEnd(q.node,q.offset),K.addRange(V))}}}}for(re=[],K=N;K=K.parentNode;)K.nodeType===1&&re.push({element:K,left:K.scrollLeft,top:K.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;N<re.length;N++){var J=re[N];J.element.scrollLeft=J.left,J.element.scrollTop=J.top}}xu=!!Lh,Ih=Lh=null}finally{$e=f,ee.p=s,I.T=i}}t.current=r,Rt=2}}function Ob(){if(Rt===2){Rt=0;var t=Fn,r=Ti,i=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||i){i=I.T,I.T=null;var s=ee.p;ee.p=2;var f=$e;$e|=4;try{ub(t,r.alternate,r)}finally{$e=f,ee.p=s,I.T=i}}Rt=3}}function Fb(){if(Rt===4||Rt===3){Rt=0,QS();var t=Fn,r=Ti,i=Jr,s=kb;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Rt=5:(Rt=0,Ti=Fn=null,qb(t,t.pendingLanes));var f=t.pendingLanes;if(f===0&&(On=null),Xd(i),r=r.stateNode,bo&&typeof bo.onCommitFiberRoot=="function")try{bo.onCommitFiberRoot(El,r,void 0,(r.current.flags&128)===128)}catch{}if(s!==null){r=I.T,f=ee.p,ee.p=2,I.T=null;try{for(var p=t.onRecoverableError,S=0;S<s.length;S++){var N=s[S];p(N.value,{componentStack:N.stack})}}finally{I.T=r,ee.p=f}}(Jr&3)!==0&&su(),_r(t),f=t.pendingLanes,(i&261930)!==0&&(f&42)!==0?t===Nh?ds++:(ds=0,Nh=t):ds=0,fs(0)}}function qb(t,r){(t.pooledCacheLanes&=r)===0&&(r=t.pooledCache,r!=null&&(t.pooledCache=null,Wl(r)))}function su(){return Mb(),Ob(),Fb(),Hb()}function Hb(){if(Rt!==5)return!1;var t=Fn,r=zh;zh=0;var i=Xd(Jr),s=I.T,f=ee.p;try{ee.p=32>i?32:i,I.T=null,i=Ch,Ch=null;var p=Fn,S=Jr;if(Rt=0,Ti=Fn=null,Jr=0,($e&6)!==0)throw Error(a(331));var N=$e;if($e|=4,xb(p.current),vb(p,p.current,S,i),$e=N,fs(0,!1),bo&&typeof bo.onPostCommitFiberRoot=="function")try{bo.onPostCommitFiberRoot(El,p)}catch{}return!0}finally{ee.p=f,I.T=s,qb(t,r)}}function Pb(t,r,i){r=Ho(i,r),r=ih(t.stateNode,r,2),t=En(t,r,2),t!==null&&(jl(t,2),_r(t))}function Je(t,r,i){if(t.tag===3)Pb(t,t,i);else for(;r!==null;){if(r.tag===3){Pb(r,t,i);break}else if(r.tag===1){var s=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(On===null||!On.has(s))){t=Ho(i,t),i=Lv(2),s=En(r,i,2),s!==null&&(Iv(i,s,r,t),jl(s,2),_r(s));break}}r=r.return}}function Rh(t,r,i){var s=t.pingCache;if(s===null){s=t.pingCache=new S3;var f=new Set;s.set(r,f)}else f=s.get(r),f===void 0&&(f=new Set,s.set(r,f));f.has(i)||(kh=!0,f.add(i),t=C3.bind(null,t,r,i),r.then(t,t))}function C3(t,r,i){var s=t.pingCache;s!==null&&s.delete(r),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,nt===t&&(He&i)===i&&(bt===4||bt===3&&(He&62914560)===He&&300>vo()-ou?($e&2)===0&&Ei(t,0):Bh|=i,Ni===He&&(Ni=0)),_r(t)}function Lb(t,r){r===0&&(r=Mm()),t=ma(t,r),t!==null&&(jl(t,r),_r(t))}function N3(t){var r=t.memoizedState,i=0;r!==null&&(i=r.retryLane),Lb(t,i)}function T3(t,r){var i=0;switch(t.tag){case 31:case 13:var s=t.stateNode,f=t.memoizedState;f!==null&&(i=f.retryLane);break;case 19:s=t.stateNode;break;case 22:s=t.stateNode._retryCache;break;default:throw Error(a(314))}s!==null&&s.delete(r),Lb(t,i)}function E3(t,r){return Ud(t,r)}var cu=null,ji=null,jh=!1,uu=!1,Ah=!1,Hn=0;function _r(t){t!==ji&&t.next===null&&(ji===null?cu=ji=t:ji=ji.next=t),uu=!0,jh||(jh=!0,j3())}function fs(t,r){if(!Ah&&uu){Ah=!0;do for(var i=!1,s=cu;s!==null;){if(t!==0){var f=s.pendingLanes;if(f===0)var p=0;else{var S=s.suspendedLanes,N=s.pingedLanes;p=(1<<31-yo(42|t)+1)-1,p&=f&~(S&~N),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(i=!0,Gb(s,p))}else p=He,p=gc(s,s===nt?p:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(p&3)===0||Rl(s,p)||(i=!0,Gb(s,p));s=s.next}while(i);Ah=!1}}function R3(){Ib()}function Ib(){uu=jh=!1;var t=0;Hn!==0&&I3()&&(t=Hn);for(var r=vo(),i=null,s=cu;s!==null;){var f=s.next,p=Ub(s,r);p===0?(s.next=null,i===null?cu=f:i.next=f,f===null&&(ji=i)):(i=s,(t!==0||(p&3)!==0)&&(uu=!0)),s=f}Rt!==0&&Rt!==5||fs(t),Hn!==0&&(Hn=0)}function Ub(t,r){for(var i=t.suspendedLanes,s=t.pingedLanes,f=t.expirationTimes,p=t.pendingLanes&-62914561;0<p;){var S=31-yo(p),N=1<<S,A=f[S];A===-1?((N&i)===0||(N&s)!==0)&&(f[S]=nk(N,r)):A<=r&&(t.expiredLanes|=N),p&=~N}if(r=nt,i=He,i=gc(t,t===r?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s=t.callbackNode,i===0||t===r&&(Ye===2||Ye===9)||t.cancelPendingCommit!==null)return s!==null&&s!==null&&Vd(s),t.callbackNode=null,t.callbackPriority=0;if((i&3)===0||Rl(t,i)){if(r=i&-i,r===t.callbackPriority)return r;switch(s!==null&&Vd(s),Xd(i)){case 2:case 8:i=Am;break;case 32:i=uc;break;case 268435456:i=Dm;break;default:i=uc}return s=Vb.bind(null,t),i=Ud(i,s),t.callbackPriority=r,t.callbackNode=i,r}return s!==null&&s!==null&&Vd(s),t.callbackPriority=2,t.callbackNode=null,2}function Vb(t,r){if(Rt!==0&&Rt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var i=t.callbackNode;if(su()&&t.callbackNode!==i)return null;var s=He;return s=gc(t,t===nt?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s===0?null:(_b(t,s,r),Ub(t,vo()),t.callbackNode!=null&&t.callbackNode===i?Vb.bind(null,t):null)}function Gb(t,r){if(su())return null;_b(t,r,!0)}function j3(){V3(function(){($e&6)!==0?Ud(jm,R3):Ib()})}function Dh(){if(Hn===0){var t=vi;t===0&&(t=dc,dc<<=1,(dc&261888)===0&&(dc=256)),Hn=t}return Hn}function Wb(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:bc(""+t)}function Xb(t,r){var i=r.ownerDocument.createElement("input");return i.name=r.name,i.value=r.value,t.id&&i.setAttribute("form",t.id),r.parentNode.insertBefore(i,r),t=new FormData(t),i.parentNode.removeChild(i),t}function A3(t,r,i,s,f){if(r==="submit"&&i&&i.stateNode===f){var p=Wb((f[no]||null).action),S=s.submitter;S&&(r=(r=S[no]||null)?Wb(r.formAction):S.getAttribute("formAction"),r!==null&&(p=r,S=null));var N=new Sc("action","action",null,s,f);t.push({event:N,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Hn!==0){var A=S?Xb(f,S):new FormData(f);eh(i,{pending:!0,data:A,method:f.method,action:p},null,A)}}else typeof p=="function"&&(N.preventDefault(),A=S?Xb(f,S):new FormData(f),eh(i,{pending:!0,data:A,method:f.method,action:p},p,A))},currentTarget:f}]})}}for(var Mh=0;Mh<vf.length;Mh++){var Oh=vf[Mh],D3=Oh.toLowerCase(),M3=Oh[0].toUpperCase()+Oh.slice(1);rr(D3,"on"+M3)}rr(B0,"onAnimationEnd"),rr(_0,"onAnimationIteration"),rr(z0,"onAnimationStart"),rr("dblclick","onDoubleClick"),rr("focusin","onFocus"),rr("focusout","onBlur"),rr(Zk,"onTransitionRun"),rr(Yk,"onTransitionStart"),rr(Jk,"onTransitionCancel"),rr(C0,"onTransitionEnd"),ri("onMouseEnter",["mouseout","mouseover"]),ri("onMouseLeave",["mouseout","mouseover"]),ri("onPointerEnter",["pointerout","pointerover"]),ri("onPointerLeave",["pointerout","pointerover"]),fa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),fa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),fa("onBeforeInput",["compositionend","keypress","textInput","paste"]),fa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),fa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),fa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hs="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(" "),O3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hs));function $b(t,r){r=(r&4)!==0;for(var i=0;i<t.length;i++){var s=t[i],f=s.event;s=s.listeners;e:{var p=void 0;if(r)for(var S=s.length-1;0<=S;S--){var N=s[S],A=N.instance,G=N.currentTarget;if(N=N.listener,A!==p&&f.isPropagationStopped())break e;p=N,f.currentTarget=G;try{p(f)}catch(Z){_c(Z)}f.currentTarget=null,p=A}else for(S=0;S<s.length;S++){if(N=s[S],A=N.instance,G=N.currentTarget,N=N.listener,A!==p&&f.isPropagationStopped())break e;p=N,f.currentTarget=G;try{p(f)}catch(Z){_c(Z)}f.currentTarget=null,p=A}}}}function Oe(t,r){var i=r[$d];i===void 0&&(i=r[$d]=new Set);var s=t+"__bubble";i.has(s)||(Kb(r,t,2,!1),i.add(s))}function Fh(t,r,i){var s=0;r&&(s|=4),Kb(i,t,s,r)}var du="_reactListening"+Math.random().toString(36).slice(2);function qh(t){if(!t[du]){t[du]=!0,Im.forEach(function(i){i!=="selectionchange"&&(O3.has(i)||Fh(i,!1,t),Fh(i,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[du]||(r[du]=!0,Fh("selectionchange",!1,r))}}function Kb(t,r,i,s){switch(B1(r)){case 2:var f=uB;break;case 8:f=dB;break;default:f=Jh}i=f.bind(null,r,i,t),f=void 0,!rf||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),s?f!==void 0?t.addEventListener(r,i,{capture:!0,passive:f}):t.addEventListener(r,i,!0):f!==void 0?t.addEventListener(r,i,{passive:f}):t.addEventListener(r,i,!1)}function Hh(t,r,i,s,f){var p=s;if((r&1)===0&&(r&2)===0&&s!==null)e:for(;;){if(s===null)return;var S=s.tag;if(S===3||S===4){var N=s.stateNode.containerInfo;if(N===f)break;if(S===4)for(S=s.return;S!==null;){var A=S.tag;if((A===3||A===4)&&S.stateNode.containerInfo===f)return;S=S.return}for(;N!==null;){if(S=ei(N),S===null)return;if(A=S.tag,A===5||A===6||A===26||A===27){s=p=S;continue e}N=N.parentNode}}s=s.return}e0(function(){var G=p,Z=tf(i),re=[];e:{var X=N0.get(t);if(X!==void 0){var K=Sc,be=t;switch(t){case"keypress":if(xc(i)===0)break e;case"keydown":case"keyup":K=Tk;break;case"focusin":be="focus",K=sf;break;case"focusout":be="blur",K=sf;break;case"beforeblur":case"afterblur":K=sf;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":K=r0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=vk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=jk;break;case B0:case _0:case z0:K=xk;break;case C0:K=Dk;break;case"scroll":case"scrollend":K=pk;break;case"wheel":K=Ok;break;case"copy":case"cut":case"paste":K=Sk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=a0;break;case"toggle":case"beforetoggle":K=qk}var ke=(r&4)!==0,rt=!ke&&(t==="scroll"||t==="scrollend"),L=ke?X!==null?X+"Capture":null:X;ke=[];for(var q=G,V;q!==null;){var J=q;if(V=J.stateNode,J=J.tag,J!==5&&J!==26&&J!==27||V===null||L===null||(J=Ml(q,L),J!=null&&ke.push(gs(q,J,V))),rt)break;q=q.return}0<ke.length&&(X=new K(X,be,null,i,Z),re.push({event:X,listeners:ke}))}}if((r&7)===0){e:{if(X=t==="mouseover"||t==="pointerover",K=t==="mouseout"||t==="pointerout",X&&i!==ef&&(be=i.relatedTarget||i.fromElement)&&(ei(be)||be[Ja]))break e;if((K||X)&&(X=Z.window===Z?Z:(X=Z.ownerDocument)?X.defaultView||X.parentWindow:window,K?(be=i.relatedTarget||i.toElement,K=G,be=be?ei(be):null,be!==null&&(rt=c(be),ke=be.tag,be!==rt||ke!==5&&ke!==27&&ke!==6)&&(be=null)):(K=null,be=G),K!==be)){if(ke=r0,J="onMouseLeave",L="onMouseEnter",q="mouse",(t==="pointerout"||t==="pointerover")&&(ke=a0,J="onPointerLeave",L="onPointerEnter",q="pointer"),rt=K==null?X:Dl(K),V=be==null?X:Dl(be),X=new ke(J,q+"leave",K,i,Z),X.target=rt,X.relatedTarget=V,J=null,ei(Z)===G&&(ke=new ke(L,q+"enter",be,i,Z),ke.target=V,ke.relatedTarget=rt,J=ke),rt=J,K&&be)t:{for(ke=F3,L=K,q=be,V=0,J=L;J;J=ke(J))V++;J=0;for(var we=q;we;we=ke(we))J++;for(;0<V-J;)L=ke(L),V--;for(;0<J-V;)q=ke(q),J--;for(;V--;){if(L===q||q!==null&&L===q.alternate){ke=L;break t}L=ke(L),q=ke(q)}ke=null}else ke=null;K!==null&&Qb(re,X,K,ke,!1),be!==null&&rt!==null&&Qb(re,rt,be,ke,!0)}}e:{if(X=G?Dl(G):window,K=X.nodeName&&X.nodeName.toLowerCase(),K==="select"||K==="input"&&X.type==="file")var Ve=h0;else if(d0(X))if(g0)Ve=$k;else{Ve=Wk;var ye=Gk}else K=X.nodeName,!K||K.toLowerCase()!=="input"||X.type!=="checkbox"&&X.type!=="radio"?G&&Jd(G.elementType)&&(Ve=h0):Ve=Xk;if(Ve&&(Ve=Ve(t,G))){f0(re,Ve,i,Z);break e}ye&&ye(t,X,G),t==="focusout"&&G&&X.type==="number"&&G.memoizedProps.value!=null&&Yd(X,"number",X.value)}switch(ye=G?Dl(G):window,t){case"focusin":(d0(ye)||ye.contentEditable==="true")&&(ci=ye,gf=G,Ul=null);break;case"focusout":Ul=gf=ci=null;break;case"mousedown":pf=!0;break;case"contextmenu":case"mouseup":case"dragend":pf=!1,S0(re,i,Z);break;case"selectionchange":if(Qk)break;case"keydown":case"keyup":S0(re,i,Z)}var Re;if(uf)e:{switch(t){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else si?c0(t,i)&&(Pe="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(Pe="onCompositionStart");Pe&&(i0&&i.locale!=="ko"&&(si||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&si&&(Re=t0()):(kn=Z,nf="value"in kn?kn.value:kn.textContent,si=!0)),ye=fu(G,Pe),0<ye.length&&(Pe=new n0(Pe,t,null,i,Z),re.push({event:Pe,listeners:ye}),Re?Pe.data=Re:(Re=u0(i),Re!==null&&(Pe.data=Re)))),(Re=Pk?Lk(t,i):Ik(t,i))&&(Pe=fu(G,"onBeforeInput"),0<Pe.length&&(ye=new n0("onBeforeInput","beforeinput",null,i,Z),re.push({event:ye,listeners:Pe}),ye.data=Re)),A3(re,t,G,i,Z)}$b(re,r)})}function gs(t,r,i){return{instance:t,listener:r,currentTarget:i}}function fu(t,r){for(var i=r+"Capture",s=[];t!==null;){var f=t,p=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||p===null||(f=Ml(t,i),f!=null&&s.unshift(gs(t,f,p)),f=Ml(t,r),f!=null&&s.push(gs(t,f,p))),t.tag===3)return s;t=t.return}return[]}function F3(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Qb(t,r,i,s,f){for(var p=r._reactName,S=[];i!==null&&i!==s;){var N=i,A=N.alternate,G=N.stateNode;if(N=N.tag,A!==null&&A===s)break;N!==5&&N!==26&&N!==27||G===null||(A=G,f?(G=Ml(i,p),G!=null&&S.unshift(gs(i,G,A))):f||(G=Ml(i,p),G!=null&&S.push(gs(i,G,A)))),i=i.return}S.length!==0&&t.push({event:r,listeners:S})}var q3=/\r\n?/g,H3=/\u0000|\uFFFD/g;function Zb(t){return(typeof t=="string"?t:""+t).replace(q3,`
49
- `).replace(H3,"")}function Yb(t,r){return r=Zb(r),Zb(t)===r}function ot(t,r,i,s,f,p){switch(i){case"children":typeof s=="string"?r==="body"||r==="textarea"&&s===""||ai(t,s):(typeof s=="number"||typeof s=="bigint")&&r!=="body"&&ai(t,""+s);break;case"className":mc(t,"class",s);break;case"tabIndex":mc(t,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":mc(t,i,s);break;case"style":Ym(t,s,p);break;case"data":if(r!=="object"){mc(t,"data",s);break}case"src":case"href":if(s===""&&(r!=="a"||i!=="href")){t.removeAttribute(i);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(i);break}s=bc(""+s),t.setAttribute(i,s);break;case"action":case"formAction":if(typeof s=="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 p=="function"&&(i==="formAction"?(r!=="input"&&ot(t,r,"name",f.name,f,null),ot(t,r,"formEncType",f.formEncType,f,null),ot(t,r,"formMethod",f.formMethod,f,null),ot(t,r,"formTarget",f.formTarget,f,null)):(ot(t,r,"encType",f.encType,f,null),ot(t,r,"method",f.method,f,null),ot(t,r,"target",f.target,f,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(i);break}s=bc(""+s),t.setAttribute(i,s);break;case"onClick":s!=null&&(t.onclick=qr);break;case"onScroll":s!=null&&Oe("scroll",t);break;case"onScrollEnd":s!=null&&Oe("scrollend",t);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(a(61));if(i=s.__html,i!=null){if(f.children!=null)throw Error(a(60));t.innerHTML=i}}break;case"multiple":t.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":t.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){t.removeAttribute("xlink:href");break}i=bc(""+s),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":s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(i,""+s):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":s&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(i,""):t.removeAttribute(i);break;case"capture":case"download":s===!0?t.setAttribute(i,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(i,s):t.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?t.setAttribute(i,s):t.removeAttribute(i);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?t.removeAttribute(i):t.setAttribute(i,s);break;case"popover":Oe("beforetoggle",t),Oe("toggle",t),pc(t,"popover",s);break;case"xlinkActuate":Fr(t,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":Fr(t,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":Fr(t,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":Fr(t,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":Fr(t,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":Fr(t,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":Fr(t,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":Fr(t,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":Fr(t,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":pc(t,"is",s);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=hk.get(i)||i,pc(t,i,s))}}function Ph(t,r,i,s,f,p){switch(i){case"style":Ym(t,s,p);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(a(61));if(i=s.__html,i!=null){if(f.children!=null)throw Error(a(60));t.innerHTML=i}}break;case"children":typeof s=="string"?ai(t,s):(typeof s=="number"||typeof s=="bigint")&&ai(t,""+s);break;case"onScroll":s!=null&&Oe("scroll",t);break;case"onScrollEnd":s!=null&&Oe("scrollend",t);break;case"onClick":s!=null&&(t.onclick=qr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Um.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(f=i.endsWith("Capture"),r=i.slice(2,f?i.length-7:void 0),p=t[no]||null,p=p!=null?p[i]:null,typeof p=="function"&&t.removeEventListener(r,p,f),typeof s=="function")){typeof p!="function"&&p!==null&&(i in t?t[i]=null:t.hasAttribute(i)&&t.removeAttribute(i)),t.addEventListener(r,s,f);break e}i in t?t[i]=s:s===!0?t.setAttribute(i,""):pc(t,i,s)}}}function Ut(t,r,i){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Oe("error",t),Oe("load",t);var s=!1,f=!1,p;for(p in i)if(i.hasOwnProperty(p)){var S=i[p];if(S!=null)switch(p){case"src":s=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,r));default:ot(t,r,p,S,i,null)}}f&&ot(t,r,"srcSet",i.srcSet,i,null),s&&ot(t,r,"src",i.src,i,null);return;case"input":Oe("invalid",t);var N=p=S=f=null,A=null,G=null;for(s in i)if(i.hasOwnProperty(s)){var Z=i[s];if(Z!=null)switch(s){case"name":f=Z;break;case"type":S=Z;break;case"checked":A=Z;break;case"defaultChecked":G=Z;break;case"value":p=Z;break;case"defaultValue":N=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(a(137,r));break;default:ot(t,r,s,Z,i,null)}}$m(t,p,N,A,G,S,f,!1);return;case"select":Oe("invalid",t),s=S=p=null;for(f in i)if(i.hasOwnProperty(f)&&(N=i[f],N!=null))switch(f){case"value":p=N;break;case"defaultValue":S=N;break;case"multiple":s=N;default:ot(t,r,f,N,i,null)}r=p,i=S,t.multiple=!!s,r!=null?ni(t,!!s,r,!1):i!=null&&ni(t,!!s,i,!0);return;case"textarea":Oe("invalid",t),p=f=s=null;for(S in i)if(i.hasOwnProperty(S)&&(N=i[S],N!=null))switch(S){case"value":s=N;break;case"defaultValue":f=N;break;case"children":p=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error(a(91));break;default:ot(t,r,S,N,i,null)}Qm(t,s,f,p);return;case"option":for(A in i)if(i.hasOwnProperty(A)&&(s=i[A],s!=null))switch(A){case"selected":t.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:ot(t,r,A,s,i,null)}return;case"dialog":Oe("beforetoggle",t),Oe("toggle",t),Oe("cancel",t),Oe("close",t);break;case"iframe":case"object":Oe("load",t);break;case"video":case"audio":for(s=0;s<hs.length;s++)Oe(hs[s],t);break;case"image":Oe("error",t),Oe("load",t);break;case"details":Oe("toggle",t);break;case"embed":case"source":case"link":Oe("error",t),Oe("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(G in i)if(i.hasOwnProperty(G)&&(s=i[G],s!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,r));default:ot(t,r,G,s,i,null)}return;default:if(Jd(r)){for(Z in i)i.hasOwnProperty(Z)&&(s=i[Z],s!==void 0&&Ph(t,r,Z,s,i,void 0));return}}for(N in i)i.hasOwnProperty(N)&&(s=i[N],s!=null&&ot(t,r,N,s,i,null))}function P3(t,r,i,s){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,p=null,S=null,N=null,A=null,G=null,Z=null;for(K in i){var re=i[K];if(i.hasOwnProperty(K)&&re!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":A=re;default:s.hasOwnProperty(K)||ot(t,r,K,null,s,re)}}for(var X in s){var K=s[X];if(re=i[X],s.hasOwnProperty(X)&&(K!=null||re!=null))switch(X){case"type":p=K;break;case"name":f=K;break;case"checked":G=K;break;case"defaultChecked":Z=K;break;case"value":S=K;break;case"defaultValue":N=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(a(137,r));break;default:K!==re&&ot(t,r,X,K,s,re)}}Zd(t,S,N,A,G,Z,p,f);return;case"select":K=S=N=X=null;for(p in i)if(A=i[p],i.hasOwnProperty(p)&&A!=null)switch(p){case"value":break;case"multiple":K=A;default:s.hasOwnProperty(p)||ot(t,r,p,null,s,A)}for(f in s)if(p=s[f],A=i[f],s.hasOwnProperty(f)&&(p!=null||A!=null))switch(f){case"value":X=p;break;case"defaultValue":N=p;break;case"multiple":S=p;default:p!==A&&ot(t,r,f,p,s,A)}r=N,i=S,s=K,X!=null?ni(t,!!i,X,!1):!!s!=!!i&&(r!=null?ni(t,!!i,r,!0):ni(t,!!i,i?[]:"",!1));return;case"textarea":K=X=null;for(N in i)if(f=i[N],i.hasOwnProperty(N)&&f!=null&&!s.hasOwnProperty(N))switch(N){case"value":break;case"children":break;default:ot(t,r,N,null,s,f)}for(S in s)if(f=s[S],p=i[S],s.hasOwnProperty(S)&&(f!=null||p!=null))switch(S){case"value":X=f;break;case"defaultValue":K=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(a(91));break;default:f!==p&&ot(t,r,S,f,s,p)}Km(t,X,K);return;case"option":for(var be in i)if(X=i[be],i.hasOwnProperty(be)&&X!=null&&!s.hasOwnProperty(be))switch(be){case"selected":t.selected=!1;break;default:ot(t,r,be,null,s,X)}for(A in s)if(X=s[A],K=i[A],s.hasOwnProperty(A)&&X!==K&&(X!=null||K!=null))switch(A){case"selected":t.selected=X&&typeof X!="function"&&typeof X!="symbol";break;default:ot(t,r,A,X,s,K)}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 ke in i)X=i[ke],i.hasOwnProperty(ke)&&X!=null&&!s.hasOwnProperty(ke)&&ot(t,r,ke,null,s,X);for(G in s)if(X=s[G],K=i[G],s.hasOwnProperty(G)&&X!==K&&(X!=null||K!=null))switch(G){case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(a(137,r));break;default:ot(t,r,G,X,s,K)}return;default:if(Jd(r)){for(var rt in i)X=i[rt],i.hasOwnProperty(rt)&&X!==void 0&&!s.hasOwnProperty(rt)&&Ph(t,r,rt,void 0,s,X);for(Z in s)X=s[Z],K=i[Z],!s.hasOwnProperty(Z)||X===K||X===void 0&&K===void 0||Ph(t,r,Z,X,s,K);return}}for(var L in i)X=i[L],i.hasOwnProperty(L)&&X!=null&&!s.hasOwnProperty(L)&&ot(t,r,L,null,s,X);for(re in s)X=s[re],K=i[re],!s.hasOwnProperty(re)||X===K||X==null&&K==null||ot(t,r,re,X,s,K)}function Jb(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function L3(){if(typeof performance.getEntriesByType=="function"){for(var t=0,r=0,i=performance.getEntriesByType("resource"),s=0;s<i.length;s++){var f=i[s],p=f.transferSize,S=f.initiatorType,N=f.duration;if(p&&N&&Jb(S)){for(S=0,N=f.responseEnd,s+=1;s<i.length;s++){var A=i[s],G=A.startTime;if(G>N)break;var Z=A.transferSize,re=A.initiatorType;Z&&Jb(re)&&(A=A.responseEnd,S+=Z*(A<N?1:(N-G)/(A-G)))}if(--s,r+=8*(p+S)/(f.duration/1e3),t++,10<t)break}}if(0<t)return r/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Lh=null,Ih=null;function hu(t){return t.nodeType===9?t:t.ownerDocument}function e1(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 t1(t,r){if(t===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&r==="foreignObject"?0:t}function Uh(t,r){return t==="textarea"||t==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Vh=null;function I3(){var t=window.event;return t&&t.type==="popstate"?t===Vh?!1:(Vh=t,!0):(Vh=null,!1)}var o1=typeof setTimeout=="function"?setTimeout:void 0,U3=typeof clearTimeout=="function"?clearTimeout:void 0,r1=typeof Promise=="function"?Promise:void 0,V3=typeof queueMicrotask=="function"?queueMicrotask:typeof r1<"u"?function(t){return r1.resolve(null).then(t).catch(G3)}:o1;function G3(t){setTimeout(function(){throw t})}function Pn(t){return t==="head"}function n1(t,r){var i=r,s=0;do{var f=i.nextSibling;if(t.removeChild(i),f&&f.nodeType===8)if(i=f.data,i==="/$"||i==="/&"){if(s===0){t.removeChild(f),Oi(r);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")ps(t.ownerDocument.documentElement);else if(i==="head"){i=t.ownerDocument.head,ps(i);for(var p=i.firstChild;p;){var S=p.nextSibling,N=p.nodeName;p[Al]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&p.rel.toLowerCase()==="stylesheet"||i.removeChild(p),p=S}}else i==="body"&&ps(t.ownerDocument.body);i=f}while(i);Oi(r)}function a1(t,r){var i=t;t=0;do{var s=i.nextSibling;if(i.nodeType===1?r?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(r?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),s&&s.nodeType===8)if(i=s.data,i==="/$"){if(t===0)break;t--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||t++;i=s}while(i)}function Gh(t){var r=t.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var i=r;switch(r=r.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":Gh(i),Kd(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}t.removeChild(i)}}function W3(t,r,i,s){for(;t.nodeType===1;){var f=i;if(t.nodeName.toLowerCase()!==r.toLowerCase()){if(!s&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(s){if(!t[Al])switch(r){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(p=t.getAttribute("rel"),p==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(p!==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(p=t.getAttribute("src"),(p!==(f.src==null?null:f.src)||t.getAttribute("type")!==(f.type==null?null:f.type)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&p&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(r==="input"&&t.type==="hidden"){var p=f.name==null?null:""+f.name;if(f.type==="hidden"&&t.getAttribute("name")===p)return t}else return t;if(t=Vo(t.nextSibling),t===null)break}return null}function X3(t,r,i){if(r==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=Vo(t.nextSibling),t===null))return null;return t}function i1(t,r){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!r||(t=Vo(t.nextSibling),t===null))return null;return t}function Wh(t){return t.data==="$?"||t.data==="$~"}function Xh(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function $3(t,r){var i=t.ownerDocument;if(t.data==="$~")t._reactRetry=r;else if(t.data!=="$?"||i.readyState!=="loading")r();else{var s=function(){r(),i.removeEventListener("DOMContentLoaded",s)};i.addEventListener("DOMContentLoaded",s),t._reactRetry=s}}function Vo(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===1||r===3)break;if(r===8){if(r=t.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return t}var $h=null;function l1(t){t=t.nextSibling;for(var r=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"||i==="/&"){if(r===0)return Vo(t.nextSibling);r--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||r++}t=t.nextSibling}return null}function s1(t){t=t.previousSibling;for(var r=0;t;){if(t.nodeType===8){var i=t.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(r===0)return t;r--}else i!=="/$"&&i!=="/&"||r++}t=t.previousSibling}return null}function c1(t,r,i){switch(r=hu(i),t){case"html":if(t=r.documentElement,!t)throw Error(a(452));return t;case"head":if(t=r.head,!t)throw Error(a(453));return t;case"body":if(t=r.body,!t)throw Error(a(454));return t;default:throw Error(a(451))}}function ps(t){for(var r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Kd(t)}var Go=new Map,u1=new Set;function gu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var en=ee.d;ee.d={f:K3,r:Q3,D:Z3,C:Y3,L:J3,m:eB,X:oB,S:tB,M:rB};function K3(){var t=en.f(),r=au();return t||r}function Q3(t){var r=ti(t);r!==null&&r.tag===5&&r.type==="form"?Cv(r):en.r(t)}var Ai=typeof document>"u"?null:document;function d1(t,r,i){var s=Ai;if(s&&typeof r=="string"&&r){var f=Fo(r);f='link[rel="'+t+'"][href="'+f+'"]',typeof i=="string"&&(f+='[crossorigin="'+i+'"]'),u1.has(f)||(u1.add(f),t={rel:t,crossOrigin:i,href:r},s.querySelector(f)===null&&(r=s.createElement("link"),Ut(r,"link",t),Mt(r),s.head.appendChild(r)))}}function Z3(t){en.D(t),d1("dns-prefetch",t,null)}function Y3(t,r){en.C(t,r),d1("preconnect",t,r)}function J3(t,r,i){en.L(t,r,i);var s=Ai;if(s&&t&&r){var f='link[rel="preload"][as="'+Fo(r)+'"]';r==="image"&&i&&i.imageSrcSet?(f+='[imagesrcset="'+Fo(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(f+='[imagesizes="'+Fo(i.imageSizes)+'"]')):f+='[href="'+Fo(t)+'"]';var p=f;switch(r){case"style":p=Di(t);break;case"script":p=Mi(t)}Go.has(p)||(t=m({rel:"preload",href:r==="image"&&i&&i.imageSrcSet?void 0:t,as:r},i),Go.set(p,t),s.querySelector(f)!==null||r==="style"&&s.querySelector(ms(p))||r==="script"&&s.querySelector(vs(p))||(r=s.createElement("link"),Ut(r,"link",t),Mt(r),s.head.appendChild(r)))}}function eB(t,r){en.m(t,r);var i=Ai;if(i&&t){var s=r&&typeof r.as=="string"?r.as:"script",f='link[rel="modulepreload"][as="'+Fo(s)+'"][href="'+Fo(t)+'"]',p=f;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Mi(t)}if(!Go.has(p)&&(t=m({rel:"modulepreload",href:t},r),Go.set(p,t),i.querySelector(f)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(vs(p)))return}s=i.createElement("link"),Ut(s,"link",t),Mt(s),i.head.appendChild(s)}}}function tB(t,r,i){en.S(t,r,i);var s=Ai;if(s&&t){var f=oi(s).hoistableStyles,p=Di(t);r=r||"default";var S=f.get(p);if(!S){var N={loading:0,preload:null};if(S=s.querySelector(ms(p)))N.loading=5;else{t=m({rel:"stylesheet",href:t,"data-precedence":r},i),(i=Go.get(p))&&Kh(t,i);var A=S=s.createElement("link");Mt(A),Ut(A,"link",t),A._p=new Promise(function(G,Z){A.onload=G,A.onerror=Z}),A.addEventListener("load",function(){N.loading|=1}),A.addEventListener("error",function(){N.loading|=2}),N.loading|=4,pu(S,r,s)}S={type:"stylesheet",instance:S,count:1,state:N},f.set(p,S)}}}function oB(t,r){en.X(t,r);var i=Ai;if(i&&t){var s=oi(i).hoistableScripts,f=Mi(t),p=s.get(f);p||(p=i.querySelector(vs(f)),p||(t=m({src:t,async:!0},r),(r=Go.get(f))&&Qh(t,r),p=i.createElement("script"),Mt(p),Ut(p,"link",t),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},s.set(f,p))}}function rB(t,r){en.M(t,r);var i=Ai;if(i&&t){var s=oi(i).hoistableScripts,f=Mi(t),p=s.get(f);p||(p=i.querySelector(vs(f)),p||(t=m({src:t,async:!0,type:"module"},r),(r=Go.get(f))&&Qh(t,r),p=i.createElement("script"),Mt(p),Ut(p,"link",t),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},s.set(f,p))}}function f1(t,r,i,s){var f=(f=_e.current)?gu(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"?(r=Di(i.href),i=oi(f).hoistableStyles,s=i.get(r),s||(s={type:"style",instance:null,count:0,state:null},i.set(r,s)),s):{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 p=oi(f).hoistableStyles,S=p.get(t);if(S||(f=f.ownerDocument||f,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(t,S),(p=f.querySelector(ms(t)))&&!p._p&&(S.instance=p,S.state.loading=5),Go.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},Go.set(t,i),p||nB(f,t,i,S.state))),r&&s===null)throw Error(a(528,""));return S}if(r&&s!==null)throw Error(a(529,""));return null;case"script":return r=i.async,i=i.src,typeof i=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Mi(i),i=oi(f).hoistableScripts,s=i.get(r),s||(s={type:"script",instance:null,count:0,state:null},i.set(r,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,t))}}function Di(t){return'href="'+Fo(t)+'"'}function ms(t){return'link[rel="stylesheet"]['+t+"]"}function h1(t){return m({},t,{"data-precedence":t.precedence,precedence:null})}function nB(t,r,i,s){t.querySelector('link[rel="preload"][as="style"]['+r+"]")?s.loading=1:(r=t.createElement("link"),s.preload=r,r.addEventListener("load",function(){return s.loading|=1}),r.addEventListener("error",function(){return s.loading|=2}),Ut(r,"link",i),Mt(r),t.head.appendChild(r))}function Mi(t){return'[src="'+Fo(t)+'"]'}function vs(t){return"script[async]"+t}function g1(t,r,i){if(r.count++,r.instance===null)switch(r.type){case"style":var s=t.querySelector('style[data-href~="'+Fo(i.href)+'"]');if(s)return r.instance=s,Mt(s),s;var f=m({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return s=(t.ownerDocument||t).createElement("style"),Mt(s),Ut(s,"style",f),pu(s,i.precedence,t),r.instance=s;case"stylesheet":f=Di(i.href);var p=t.querySelector(ms(f));if(p)return r.state.loading|=4,r.instance=p,Mt(p),p;s=h1(i),(f=Go.get(f))&&Kh(s,f),p=(t.ownerDocument||t).createElement("link"),Mt(p);var S=p;return S._p=new Promise(function(N,A){S.onload=N,S.onerror=A}),Ut(p,"link",s),r.state.loading|=4,pu(p,i.precedence,t),r.instance=p;case"script":return p=Mi(i.src),(f=t.querySelector(vs(p)))?(r.instance=f,Mt(f),f):(s=i,(f=Go.get(p))&&(s=m({},i),Qh(s,f)),t=t.ownerDocument||t,f=t.createElement("script"),Mt(f),Ut(f,"link",s),t.head.appendChild(f),r.instance=f);case"void":return null;default:throw Error(a(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(s=r.instance,r.state.loading|=4,pu(s,i.precedence,t));return r.instance}function pu(t,r,i){for(var s=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=s.length?s[s.length-1]:null,p=f,S=0;S<s.length;S++){var N=s[S];if(N.dataset.precedence===r)p=N;else if(p!==f)break}p?p.parentNode.insertBefore(t,p.nextSibling):(r=i.nodeType===9?i.head:i,r.insertBefore(t,r.firstChild))}function Kh(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.title==null&&(t.title=r.title)}function Qh(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.integrity==null&&(t.integrity=r.integrity)}var mu=null;function p1(t,r,i){if(mu===null){var s=new Map,f=mu=new Map;f.set(i,s)}else f=mu,s=f.get(i),s||(s=new Map,f.set(i,s));if(s.has(t))return s;for(s.set(t,null),i=i.getElementsByTagName(t),f=0;f<i.length;f++){var p=i[f];if(!(p[Al]||p[Ht]||t==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var S=p.getAttribute(r)||"";S=t+S;var N=s.get(S);N?N.push(p):s.set(S,[p])}}return s}function m1(t,r,i){t=t.ownerDocument||t,t.head.insertBefore(i,r==="title"?t.querySelector("head > title"):null)}function aB(t,r,i){if(i===1||r.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return t=r.disabled,typeof r.precedence=="string"&&t==null;default:return!0}case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function v1(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function iB(t,r,i,s){if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var f=Di(s.href),p=r.querySelector(ms(f));if(p){r=p._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(t.count++,t=vu.bind(t),r.then(t,t)),i.state.loading|=4,i.instance=p,Mt(p);return}p=r.ownerDocument||r,s=h1(s),(f=Go.get(f))&&Kh(s,f),p=p.createElement("link"),Mt(p);var S=p;S._p=new Promise(function(N,A){S.onload=N,S.onerror=A}),Ut(p,"link",s),i.instance=p}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(i,r),(r=i.state.preload)&&(i.state.loading&3)===0&&(t.count++,i=vu.bind(t),r.addEventListener("load",i),r.addEventListener("error",i))}}var Zh=0;function lB(t,r){return t.stylesheets&&t.count===0&&yu(t,t.stylesheets),0<t.count||0<t.imgCount?function(i){var s=setTimeout(function(){if(t.stylesheets&&yu(t,t.stylesheets),t.unsuspend){var p=t.unsuspend;t.unsuspend=null,p()}},6e4+r);0<t.imgBytes&&Zh===0&&(Zh=62500*L3());var f=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&yu(t,t.stylesheets),t.unsuspend)){var p=t.unsuspend;t.unsuspend=null,p()}},(t.imgBytes>Zh?50:800)+r);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(s),clearTimeout(f)}}:null}function vu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)yu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var bu=null;function yu(t,r){t.stylesheets=null,t.unsuspend!==null&&(t.count++,bu=new Map,r.forEach(sB,t),bu=null,vu.call(t))}function sB(t,r){if(!(r.state.loading&4)){var i=bu.get(t);if(i)var s=i.get(null);else{i=new Map,bu.set(t,i);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<f.length;p++){var S=f[p];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(i.set(S.dataset.precedence,S),s=S)}s&&i.set(null,s)}f=r.instance,S=f.getAttribute("data-precedence"),p=i.get(S)||s,p===s&&i.set(null,f),i.set(S,f),this.count++,s=vu.bind(this),f.addEventListener("load",s),f.addEventListener("error",s),p?p.parentNode.insertBefore(f,p.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(f,t.firstChild)),r.state.loading|=4}}var bs={$$typeof:C,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function cB(t,r,i,s,f,p,S,N,A){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=Gd(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gd(0),this.hiddenUpdates=Gd(null),this.identifierPrefix=s,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function b1(t,r,i,s,f,p,S,N,A,G,Z,re){return t=new cB(t,r,i,S,A,G,Z,re,N),r=1,p===!0&&(r|=24),p=wo(3,null,null,r),t.current=p,p.stateNode=t,r=Ef(),r.refCount++,t.pooledCache=r,r.refCount++,p.memoizedState={element:s,isDehydrated:i,cache:r},Df(p),t}function y1(t){return t?(t=fi,t):fi}function x1(t,r,i,s,f,p){f=y1(f),s.context===null?s.context=f:s.pendingContext=f,s=Tn(r),s.payload={element:i},p=p===void 0?null:p,p!==null&&(s.callback=p),i=En(t,s,r),i!==null&&(uo(i,t,r),Ql(i,t,r))}function w1(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<r?i:r}}function Yh(t,r){w1(t,r),(t=t.alternate)&&w1(t,r)}function S1(t){if(t.tag===13||t.tag===31){var r=ma(t,67108864);r!==null&&uo(r,t,67108864),Yh(t,67108864)}}function k1(t){if(t.tag===13||t.tag===31){var r=zo();r=Wd(r);var i=ma(t,r);i!==null&&uo(i,t,r),Yh(t,r)}}var xu=!0;function uB(t,r,i,s){var f=I.T;I.T=null;var p=ee.p;try{ee.p=2,Jh(t,r,i,s)}finally{ee.p=p,I.T=f}}function dB(t,r,i,s){var f=I.T;I.T=null;var p=ee.p;try{ee.p=8,Jh(t,r,i,s)}finally{ee.p=p,I.T=f}}function Jh(t,r,i,s){if(xu){var f=eg(s);if(f===null)Hh(t,r,s,wu,i),_1(t,s);else if(hB(f,t,r,i,s))s.stopPropagation();else if(_1(t,s),r&4&&-1<fB.indexOf(t)){for(;f!==null;){var p=ti(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var S=da(p.pendingLanes);if(S!==0){var N=p;for(N.pendingLanes|=2,N.entangledLanes|=2;S;){var A=1<<31-yo(S);N.entanglements[1]|=A,S&=~A}_r(p),($e&6)===0&&(ru=vo()+500,fs(0))}}break;case 31:case 13:N=ma(p,2),N!==null&&uo(N,p,2),au(),Yh(p,2)}if(p=eg(s),p===null&&Hh(t,r,s,wu,i),p===f)break;f=p}f!==null&&s.stopPropagation()}else Hh(t,r,s,null,i)}}function eg(t){return t=tf(t),tg(t)}var wu=null;function tg(t){if(wu=null,t=ei(t),t!==null){var r=c(t);if(r===null)t=null;else{var i=r.tag;if(i===13){if(t=u(r),t!==null)return t;t=null}else if(i===31){if(t=d(r),t!==null)return t;t=null}else if(i===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;t=null}else r!==t&&(t=null)}}return wu=t,null}function B1(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(ZS()){case jm:return 2;case Am:return 8;case uc:case YS:return 32;case Dm:return 268435456;default:return 32}default:return 32}}var og=!1,Ln=null,In=null,Un=null,ys=new Map,xs=new Map,Vn=[],fB="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 _1(t,r){switch(t){case"focusin":case"focusout":Ln=null;break;case"dragenter":case"dragleave":In=null;break;case"mouseover":case"mouseout":Un=null;break;case"pointerover":case"pointerout":ys.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":xs.delete(r.pointerId)}}function ws(t,r,i,s,f,p){return t===null||t.nativeEvent!==p?(t={blockedOn:r,domEventName:i,eventSystemFlags:s,nativeEvent:p,targetContainers:[f]},r!==null&&(r=ti(r),r!==null&&S1(r)),t):(t.eventSystemFlags|=s,r=t.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),t)}function hB(t,r,i,s,f){switch(r){case"focusin":return Ln=ws(Ln,t,r,i,s,f),!0;case"dragenter":return In=ws(In,t,r,i,s,f),!0;case"mouseover":return Un=ws(Un,t,r,i,s,f),!0;case"pointerover":var p=f.pointerId;return ys.set(p,ws(ys.get(p)||null,t,r,i,s,f)),!0;case"gotpointercapture":return p=f.pointerId,xs.set(p,ws(xs.get(p)||null,t,r,i,s,f)),!0}return!1}function z1(t){var r=ei(t.target);if(r!==null){var i=c(r);if(i!==null){if(r=i.tag,r===13){if(r=u(i),r!==null){t.blockedOn=r,Pm(t.priority,function(){k1(i)});return}}else if(r===31){if(r=d(i),r!==null){t.blockedOn=r,Pm(t.priority,function(){k1(i)});return}}else if(r===3&&i.stateNode.current.memoizedState.isDehydrated){t.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Su(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var i=eg(t.nativeEvent);if(i===null){i=t.nativeEvent;var s=new i.constructor(i.type,i);ef=s,i.target.dispatchEvent(s),ef=null}else return r=ti(i),r!==null&&S1(r),t.blockedOn=i,!1;r.shift()}return!0}function C1(t,r,i){Su(t)&&i.delete(r)}function gB(){og=!1,Ln!==null&&Su(Ln)&&(Ln=null),In!==null&&Su(In)&&(In=null),Un!==null&&Su(Un)&&(Un=null),ys.forEach(C1),xs.forEach(C1)}function ku(t,r){t.blockedOn===r&&(t.blockedOn=null,og||(og=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,gB)))}var Bu=null;function N1(t){Bu!==t&&(Bu=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Bu===t&&(Bu=null);for(var r=0;r<t.length;r+=3){var i=t[r],s=t[r+1],f=t[r+2];if(typeof s!="function"){if(tg(s||i)===null)continue;break}var p=ti(i);p!==null&&(t.splice(r,3),r-=3,eh(p,{pending:!0,data:f,method:i.method,action:s},s,f))}}))}function Oi(t){function r(A){return ku(A,t)}Ln!==null&&ku(Ln,t),In!==null&&ku(In,t),Un!==null&&ku(Un,t),ys.forEach(r),xs.forEach(r);for(var i=0;i<Vn.length;i++){var s=Vn[i];s.blockedOn===t&&(s.blockedOn=null)}for(;0<Vn.length&&(i=Vn[0],i.blockedOn===null);)z1(i),i.blockedOn===null&&Vn.shift();if(i=(t.ownerDocument||t).$$reactFormReplay,i!=null)for(s=0;s<i.length;s+=3){var f=i[s],p=i[s+1],S=f[no]||null;if(typeof p=="function")S||N1(i);else if(S){var N=null;if(p&&p.hasAttribute("formAction")){if(f=p,S=p[no]||null)N=S.formAction;else if(tg(f)!==null)continue}else N=S.action;typeof N=="function"?i[s+1]=N:(i.splice(s,3),s-=3),N1(i)}}}function T1(){function t(p){p.canIntercept&&p.info==="react-transition"&&p.intercept({handler:function(){return new Promise(function(S){return f=S})},focusReset:"manual",scroll:"manual"})}function r(){f!==null&&(f(),f=null),s||setTimeout(i,20)}function i(){if(!s&&!navigation.transition){var p=navigation.currentEntry;p&&p.url!=null&&navigation.navigate(p.url,{state:p.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,f=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(i,100),function(){s=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),f!==null&&(f(),f=null)}}}function rg(t){this._internalRoot=t}_u.prototype.render=rg.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(a(409));var i=r.current,s=zo();x1(i,s,t,r,null,null)},_u.prototype.unmount=rg.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;x1(t.current,2,null,t,null,null),au(),r[Ja]=null}};function _u(t){this._internalRoot=t}_u.prototype.unstable_scheduleHydration=function(t){if(t){var r=Hm();t={blockedOn:null,target:t,priority:r};for(var i=0;i<Vn.length&&r!==0&&r<Vn[i].priority;i++);Vn.splice(i,0,t),i===0&&z1(t)}};var E1=o.version;if(E1!=="19.2.6")throw Error(a(527,E1,"19.2.6"));ee.findDOMNode=function(t){var r=t._reactInternals;if(r===void 0)throw typeof t.render=="function"?Error(a(188)):(t=Object.keys(t).join(","),Error(a(268,t)));return t=g(r),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var pB={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:I,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zu.isDisabled&&zu.supportsFiber)try{El=zu.inject(pB),bo=zu}catch{}}return ks.createRoot=function(t,r){if(!l(t))throw Error(a(299));var i=!1,s="",f=Fv,p=qv,S=Hv;return r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(s=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(p=r.onCaughtError),r.onRecoverableError!==void 0&&(S=r.onRecoverableError)),r=b1(t,1,!1,null,null,i,s,null,f,p,S,T1),t[Ja]=r.current,qh(t),new rg(r)},ks.hydrateRoot=function(t,r,i){if(!l(t))throw Error(a(299));var s=!1,f="",p=Fv,S=qv,N=Hv,A=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(p=i.onUncaughtError),i.onCaughtError!==void 0&&(S=i.onCaughtError),i.onRecoverableError!==void 0&&(N=i.onRecoverableError),i.formState!==void 0&&(A=i.formState)),r=b1(t,1,!0,r,i??null,s,f,A,p,S,N,T1),r.context=y1(null),i=r.current,s=zo(),s=Wd(s),f=Tn(s),f.callback=null,En(i,f,s),i=s,r.current.lanes=i,jl(r,i),_r(r),t[Ja]=r.current,qh(t),new _u(r)},ks.version="19.2.6",ks}var L1;function CB(){if(L1)return lg.exports;L1=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(o){console.error(o)}}return e(),lg.exports=zB(),lg.exports}var NB=CB();/**
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 I1="popstate";function U1(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function TB(e={}){function o(a,l){var g;let c=(g=l.state)==null?void 0:g.masked,{pathname:u,search:d,hash:h}=c||a.location;return qg("",{pathname:u,search:d,hash:h},l.state&&l.state.usr||null,l.state&&l.state.key||"default",c?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function n(a,l){return typeof l=="string"?l:js(l)}return RB(o,n,null,e)}function gt(e,o){if(e===!1||e===null||typeof e>"u")throw new Error(o)}function gr(e,o){if(!e){typeof console<"u"&&console.warn(o);try{throw new Error(o)}catch{}}}function EB(){return Math.random().toString(36).substring(2,10)}function V1(e,o){return{usr:e.state,key:e.key,idx:o,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function qg(e,o,n=null,a,l){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof o=="string"?gl(o):o,state:n,key:o&&o.key||a||EB(),mask:l}}function js({pathname:e="/",search:o="",hash:n=""}){return o&&o!=="?"&&(e+=o.charAt(0)==="?"?o:"?"+o),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function gl(e){let o={};if(e){let n=e.indexOf("#");n>=0&&(o.hash=e.substring(n),e=e.substring(0,n));let a=e.indexOf("?");a>=0&&(o.search=e.substring(a),e=e.substring(0,a)),e&&(o.pathname=e)}return o}function RB(e,o,n,a={}){let{window:l=document.defaultView,v5Compat:c=!1}=a,u=l.history,d="POP",h=null,g=v();g==null&&(g=0,u.replaceState({...u.state,idx:g},""));function v(){return(u.state||{idx:null}).idx}function m(){d="POP";let z=v(),_=z==null?null:z-g;g=z,h&&h({action:d,location:y.location,delta:_})}function x(z,_){d="PUSH";let R=U1(z)?z:qg(y.location,z,_);g=v()+1;let C=V1(R,g),T=y.createHref(R.mask||R);try{u.pushState(C,"",T)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;l.location.assign(T)}c&&h&&h({action:d,location:y.location,delta:1})}function k(z,_){d="REPLACE";let R=U1(z)?z:qg(y.location,z,_);g=v();let C=V1(R,g),T=y.createHref(R.mask||R);u.replaceState(C,"",T),c&&h&&h({action:d,location:y.location,delta:0})}function w(z){return jB(z)}let y={get action(){return d},get location(){return e(l,u)},listen(z){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(I1,m),h=z,()=>{l.removeEventListener(I1,m),h=null}},createHref(z){return o(l,z)},createURL:w,encodeLocation(z){let _=w(z);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:x,replace:k,go(z){return u.go(z)}};return y}function jB(e,o=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),gt(n,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:js(e);return a=a.replace(/ $/,"%20"),!o&&a.startsWith("//")&&(a=n+a),new URL(a,n)}function e2(e,o,n="/"){return AB(e,o,n,!1)}function AB(e,o,n,a,l){let c=typeof o=="string"?gl(o):o,u=hn(c.pathname||"/",n);if(u==null)return null;let d=DB(e),h=null,g=WB(u);for(let v=0;h==null&&v<d.length;++v)h=VB(d[v],g,a);return h}function DB(e){let o=t2(e);return MB(o),o}function t2(e,o=[],n=[],a="",l=!1){let c=(u,d,h=l,g)=>{let v={relativePath:g===void 0?u.path||"":g,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(a)&&h)return;gt(v.relativePath.startsWith(a),`Absolute route path "${v.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(a.length)}let m=hr([a,v.relativePath]),x=n.concat(v);u.children&&u.children.length>0&&(gt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),t2(u.children,o,x,m,h)),!(u.path==null&&!u.index)&&o.push({path:m,score:IB(m,u.index),routesMeta:x})};return e.forEach((u,d)=>{var h;if(u.path===""||!((h=u.path)!=null&&h.includes("?")))c(u,d);else for(let g of o2(u.path))c(u,d,!0,g)}),o}function o2(e){let o=e.split("/");if(o.length===0)return[];let[n,...a]=o,l=n.endsWith("?"),c=n.replace(/\?$/,"");if(a.length===0)return l?[c,""]:[c];let u=o2(a.join("/")),d=[];return d.push(...u.map(h=>h===""?c:[c,h].join("/"))),l&&d.push(...u),d.map(h=>e.startsWith("/")&&h===""?"/":h)}function MB(e){e.sort((o,n)=>o.score!==n.score?n.score-o.score:UB(o.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}var OB=/^:[\w-]+$/,FB=3,qB=2,HB=1,PB=10,LB=-2,G1=e=>e==="*";function IB(e,o){let n=e.split("/"),a=n.length;return n.some(G1)&&(a+=LB),o&&(a+=qB),n.filter(l=>!G1(l)).reduce((l,c)=>l+(OB.test(c)?FB:c===""?HB:PB),a)}function UB(e,o){return e.length===o.length&&e.slice(0,-1).every((a,l)=>a===o[l])?e[e.length-1]-o[o.length-1]:0}function VB(e,o,n=!1){let{routesMeta:a}=e,l={},c="/",u=[];for(let d=0;d<a.length;++d){let h=a[d],g=d===a.length-1,v=c==="/"?o:o.slice(c.length)||"/",m=Yu({path:h.relativePath,caseSensitive:h.caseSensitive,end:g},v),x=h.route;if(!m&&g&&n&&!a[a.length-1].route.index&&(m=Yu({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!m)return null;Object.assign(l,m.params),u.push({params:l,pathname:hr([c,m.pathname]),pathnameBase:QB(hr([c,m.pathnameBase])),route:x}),m.pathnameBase!=="/"&&(c=hr([c,m.pathnameBase]))}return u}function Yu(e,o){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=GB(e.path,e.caseSensitive,e.end),l=o.match(n);if(!l)return null;let c=l[0],u=c.replace(/(.)\/+$/,"$1"),d=l.slice(1);return{params:a.reduce((g,{paramName:v,isOptional:m},x)=>{if(v==="*"){let w=d[x]||"";u=c.slice(0,c.length-w.length).replace(/(.)\/+$/,"$1")}const k=d[x];return m&&!k?g[v]=void 0:g[v]=(k||"").replace(/%2F/g,"/"),g},{}),pathname:c,pathnameBase:u,pattern:e}}function GB(e,o=!1,n=!0){gr(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=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,h,g,v)=>{if(a.push({paramName:d,isOptional:h!=null}),h){let m=v.charAt(g+u.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,o?void 0:"i"),a]}function WB(e){try{return e.split("/").map(o=>decodeURIComponent(o).replace(/\//g,"%2F")).join("/")}catch(o){return gr(!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 (${o}).`),e}}function hn(e,o){if(o==="/")return e;if(!e.toLowerCase().startsWith(o.toLowerCase()))return null;let n=o.endsWith("/")?o.length-1:o.length,a=e.charAt(n);return a&&a!=="/"?null:e.slice(n)||"/"}var XB=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function $B(e,o="/"){let{pathname:n,search:a="",hash:l=""}=typeof e=="string"?gl(e):e,c;return n?(n=r2(n),n.startsWith("/")?c=W1(n.substring(1),"/"):c=W1(n,o)):c=o,{pathname:c,search:ZB(a),hash:YB(l)}}function W1(e,o){let n=Ju(o).split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function dg(e,o,n,a){return`Cannot include a '${e}' character in a manually specified \`to.${o}\` 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 KB(e){return e.filter((o,n)=>n===0||o.route.path&&o.route.path.length>0)}function kp(e){let o=KB(e);return o.map((n,a)=>a===o.length-1?n.pathname:n.pathnameBase)}function vd(e,o,n,a=!1){let l;typeof e=="string"?l=gl(e):(l={...e},gt(!l.pathname||!l.pathname.includes("?"),dg("?","pathname","search",l)),gt(!l.pathname||!l.pathname.includes("#"),dg("#","pathname","hash",l)),gt(!l.search||!l.search.includes("#"),dg("#","search","hash",l)));let c=e===""||l.pathname==="",u=c?"/":l.pathname,d;if(u==null)d=n;else{let m=o.length-1;if(!a&&u.startsWith("..")){let x=u.split("/");for(;x[0]==="..";)x.shift(),m-=1;l.pathname=x.join("/")}d=m>=0?o[m]:"/"}let h=$B(l,d),g=u&&u!=="/"&&u.endsWith("/"),v=(c||u===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(g||v)&&(h.pathname+="/"),h}var r2=e=>e.replace(/\/\/+/g,"/"),hr=e=>r2(e.join("/")),Ju=e=>e.replace(/\/+$/,""),QB=e=>Ju(e).replace(/^\/*/,"/"),ZB=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,YB=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,JB=class{constructor(e,o,n,a=!1){this.status=e,this.statusText=o||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function e4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function t4(e){let o=e.map(n=>n.route.path).filter(Boolean);return hr(o)||"/"}var n2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function a2(e,o){let n=e;if(typeof n!="string"||!XB.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let a=n,l=!1;if(n2)try{let c=new URL(window.location.href),u=n.startsWith("//")?new URL(c.protocol+n):new URL(n),d=hn(u.pathname,o);u.origin===c.origin&&d!=null?n=d+u.search+u.hash:l=!0}catch{gr(!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:l,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var i2=["POST","PUT","PATCH","DELETE"];new Set(i2);var o4=["GET",...i2];new Set(o4);var pl=b.createContext(null);pl.displayName="DataRouter";var bd=b.createContext(null);bd.displayName="DataRouterState";var l2=b.createContext(!1);function r4(){return b.useContext(l2)}var s2=b.createContext({isTransitioning:!1});s2.displayName="ViewTransition";var n4=b.createContext(new Map);n4.displayName="Fetchers";var a4=b.createContext(null);a4.displayName="Await";var Mo=b.createContext(null);Mo.displayName="Navigation";var Qs=b.createContext(null);Qs.displayName="Location";var yr=b.createContext({outlet:null,matches:[],isDataRoute:!1});yr.displayName="Route";var Bp=b.createContext(null);Bp.displayName="RouteError";var c2="REACT_ROUTER_ERROR",i4="REDIRECT",l4="ROUTE_ERROR_RESPONSE";function s4(e){if(e.startsWith(`${c2}:${i4}:{`))try{let o=JSON.parse(e.slice(28));if(typeof o=="object"&&o&&typeof o.status=="number"&&typeof o.statusText=="string"&&typeof o.location=="string"&&typeof o.reloadDocument=="boolean"&&typeof o.replace=="boolean")return o}catch{}}function c4(e){if(e.startsWith(`${c2}:${l4}:{`))try{let o=JSON.parse(e.slice(40));if(typeof o=="object"&&o&&typeof o.status=="number"&&typeof o.statusText=="string")return new JB(o.status,o.statusText,o.data)}catch{}}function u4(e,{relative:o}={}){gt(ml(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=b.useContext(Mo),{hash:l,pathname:c,search:u}=Ys(e,{relative:o}),d=c;return n!=="/"&&(d=c==="/"?n:hr([n,c])),a.createHref({pathname:d,search:u,hash:l})}function ml(){return b.useContext(Qs)!=null}function tr(){return gt(ml(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(Qs).location}var u2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function d2(e){b.useContext(Mo).static||b.useLayoutEffect(e)}function Zs(){let{isDataRoute:e}=b.useContext(yr);return e?B4():d4()}function d4(){gt(ml(),"useNavigate() may be used only in the context of a <Router> component.");let e=b.useContext(pl),{basename:o,navigator:n}=b.useContext(Mo),{matches:a}=b.useContext(yr),{pathname:l}=tr(),c=JSON.stringify(kp(a)),u=b.useRef(!1);return d2(()=>{u.current=!0}),b.useCallback((h,g={})=>{if(gr(u.current,u2),!u.current)return;if(typeof h=="number"){n.go(h);return}let v=vd(h,JSON.parse(c),l,g.relative==="path");e==null&&o!=="/"&&(v.pathname=v.pathname==="/"?o:hr([o,v.pathname])),(g.replace?n.replace:n.push)(v,g.state,g)},[o,n,c,l,e])}b.createContext(null);function f4(){let{matches:e}=b.useContext(yr),o=e[e.length-1];return(o==null?void 0:o.params)??{}}function Ys(e,{relative:o}={}){let{matches:n}=b.useContext(yr),{pathname:a}=tr(),l=JSON.stringify(kp(n));return b.useMemo(()=>vd(e,JSON.parse(l),a,o==="path"),[e,l,a,o])}function h4(e,o){return f2(e,o)}function f2(e,o,n){var z;gt(ml(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=b.useContext(Mo),{matches:l}=b.useContext(yr),c=l[l.length-1],u=c?c.params:{},d=c?c.pathname:"/",h=c?c.pathnameBase:"/",g=c&&c.route;{let _=g&&g.path||"";g2(d,!g||_.endsWith("*")||_.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${_}">) 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="${_}"> to <Route path="${_==="/"?"*":`${_}/*`}">.`)}let v=tr(),m;if(o){let _=typeof o=="string"?gl(o):o;gt(h==="/"||((z=_.pathname)==null?void 0:z.startsWith(h)),`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 "${h}" but pathname "${_.pathname}" was given in the \`location\` prop.`),m=_}else m=v;let x=m.pathname||"/",k=x;if(h!=="/"){let _=h.replace(/^\//,"").split("/");k="/"+x.replace(/^\//,"").split("/").slice(_.length).join("/")}let w=n&&n.state.matches.length?n.state.matches.map(_=>Object.assign(_,{route:n.manifest[_.route.id]||_.route})):e2(e,{pathname:k});gr(g||w!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),gr(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 "${m.pathname}${m.search}${m.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 y=b4(w&&w.map(_=>Object.assign({},_,{params:Object.assign({},u,_.params),pathname:hr([h,a.encodeLocation?a.encodeLocation(_.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?h:hr([h,a.encodeLocation?a.encodeLocation(_.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathnameBase])})),l,n);return o&&y?b.createElement(Qs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},y):y}function g4(){let e=k4(),o=e4(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)",l={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=b.createElement(b.Fragment,null,b.createElement("p",null,"💿 Hey developer 👋"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:c},"ErrorBoundary")," or"," ",b.createElement("code",{style:c},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},o),n?b.createElement("pre",{style:l},n):null,u)}var p4=b.createElement(g4,null),h2=class extends b.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,o){return o.location!==e.location||o.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:o.error,location:o.location,revalidation:e.revalidation||o.revalidation}}componentDidCatch(e,o){this.props.onError?this.props.onError(e,o):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=c4(e.digest);n&&(e=n)}let o=e!==void 0?b.createElement(yr.Provider,{value:this.props.routeContext},b.createElement(Bp.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?b.createElement(m4,{error:e},o):o}};h2.contextType=l2;var fg=new WeakMap;function m4({children:e,error:o}){let{basename:n}=b.useContext(Mo);if(typeof o=="object"&&o&&"digest"in o&&typeof o.digest=="string"){let a=s4(o.digest);if(a){let l=fg.get(o);if(l)throw l;let c=a2(a.location,n);if(n2&&!fg.get(o))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 fg.set(o,u),u}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function v4({routeContext:e,match:o,children:n}){let a=b.useContext(pl);return a&&a.static&&a.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=o.route.id),b.createElement(yr.Provider,{value:e},n)}function b4(e,o=[],n){let a=n==null?void 0:n.state;if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(o.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let l=e,c=a==null?void 0:a.errors;if(c!=null){let v=l.findIndex(m=>m.route.id&&(c==null?void 0:c[m.route.id])!==void 0);gt(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),l=l.slice(0,Math.min(l.length,v+1))}let u=!1,d=-1;if(n&&a){u=a.renderFallback;for(let v=0;v<l.length;v++){let m=l[v];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(d=v),m.route.id){let{loaderData:x,errors:k}=a,w=m.route.loader&&!x.hasOwnProperty(m.route.id)&&(!k||k[m.route.id]===void 0);if(m.route.lazy||w){n.isStatic&&(u=!0),d>=0?l=l.slice(0,d+1):l=[l[0]];break}}}}let h=n==null?void 0:n.onError,g=a&&h?(v,m)=>{var x,k;h(v,{location:a.location,params:((k=(x=a.matches)==null?void 0:x[0])==null?void 0:k.params)??{},pattern:t4(a.matches),errorInfo:m})}:void 0;return l.reduceRight((v,m,x)=>{let k,w=!1,y=null,z=null;a&&(k=c&&m.route.id?c[m.route.id]:void 0,y=m.route.errorElement||p4,u&&(d<0&&x===0?(g2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,z=null):d===x&&(w=!0,z=m.route.hydrateFallbackElement||null)));let _=o.concat(l.slice(0,x+1)),R=()=>{let C;return k?C=y:w?C=z:m.route.Component?C=b.createElement(m.route.Component,null):m.route.element?C=m.route.element:C=v,b.createElement(v4,{match:m,routeContext:{outlet:v,matches:_,isDataRoute:a!=null},children:C})};return a&&(m.route.ErrorBoundary||m.route.errorElement||x===0)?b.createElement(h2,{location:a.location,revalidation:a.revalidation,component:y,error:k,children:R(),routeContext:{outlet:null,matches:_,isDataRoute:!0},onError:g}):R()},null)}function _p(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function y4(e){let o=b.useContext(pl);return gt(o,_p(e)),o}function x4(e){let o=b.useContext(bd);return gt(o,_p(e)),o}function w4(e){let o=b.useContext(yr);return gt(o,_p(e)),o}function zp(e){let o=w4(e),n=o.matches[o.matches.length-1];return gt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function S4(){return zp("useRouteId")}function k4(){var a;let e=b.useContext(Bp),o=x4("useRouteError"),n=zp("useRouteError");return e!==void 0?e:(a=o.errors)==null?void 0:a[n]}function B4(){let{router:e}=y4("useNavigate"),o=zp("useNavigate"),n=b.useRef(!1);return d2(()=>{n.current=!0}),b.useCallback(async(l,c={})=>{gr(n.current,u2),n.current&&(typeof l=="number"?await e.navigate(l):await e.navigate(l,{fromRouteId:o,...c}))},[e,o])}var X1={};function g2(e,o,n){!o&&!X1[e]&&(X1[e]=!0,gr(!1,n))}b.memo(_4);function _4({routes:e,manifest:o,future:n,state:a,isStatic:l,onError:c}){return f2(e,void 0,{manifest:o,state:a,isStatic:l,onError:c})}function z4({to:e,replace:o,state:n,relative:a}){gt(ml(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=b.useContext(Mo);gr(!l,"<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}=b.useContext(yr),{pathname:u}=tr(),d=Zs(),h=vd(e,kp(c),u,a==="path"),g=JSON.stringify(h);return b.useEffect(()=>{d(JSON.parse(g),{replace:o,state:n,relative:a})},[d,g,a,o,n]),null}function Pi(e){gt(!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 C4({basename:e="/",children:o=null,location:n,navigationType:a="POP",navigator:l,static:c=!1,useTransitions:u}){gt(!ml(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),h=b.useMemo(()=>({basename:d,navigator:l,static:c,useTransitions:u,future:{}}),[d,l,c,u]);typeof n=="string"&&(n=gl(n));let{pathname:g="/",search:v="",hash:m="",state:x=null,key:k="default",mask:w}=n,y=b.useMemo(()=>{let z=hn(g,d);return z==null?null:{location:{pathname:z,search:v,hash:m,state:x,key:k,mask:w},navigationType:a}},[d,g,v,m,x,k,a,w]);return gr(y!=null,`<Router basename="${d}"> is not able to match the URL "${g}${v}${m}" because it does not start with the basename, so the <Router> won't render anything.`),y==null?null:b.createElement(Mo.Provider,{value:h},b.createElement(Qs.Provider,{children:o,value:y}))}function N4({children:e,location:o}){return h4(Hg(e),o)}function Hg(e,o=[]){let n=[];return b.Children.forEach(e,(a,l)=>{if(!b.isValidElement(a))return;let c=[...o,l];if(a.type===b.Fragment){n.push.apply(n,Hg(a.props.children,c));return}gt(a.type===Pi,`[${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>`),gt(!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=Hg(a.props.children,c)),n.push(u)}),n}var Iu="get",Uu="application/x-www-form-urlencoded";function yd(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function T4(e){return yd(e)&&e.tagName.toLowerCase()==="button"}function E4(e){return yd(e)&&e.tagName.toLowerCase()==="form"}function R4(e){return yd(e)&&e.tagName.toLowerCase()==="input"}function j4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function A4(e,o){return e.button===0&&(!o||o==="_self")&&!j4(e)}var Nu=null;function D4(){if(Nu===null)try{new FormData(document.createElement("form"),0),Nu=!1}catch{Nu=!0}return Nu}var M4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function hg(e){return e!=null&&!M4.has(e)?(gr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Uu}"`),null):e}function O4(e,o){let n,a,l,c,u;if(E4(e)){let d=e.getAttribute("action");a=d?hn(d,o):null,n=e.getAttribute("method")||Iu,l=hg(e.getAttribute("enctype"))||Uu,c=new FormData(e)}else if(T4(e)||R4(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 h=e.getAttribute("formaction")||d.getAttribute("action");if(a=h?hn(h,o):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||Iu,l=hg(e.getAttribute("formenctype"))||hg(d.getAttribute("enctype"))||Uu,c=new FormData(d,e),!D4()){let{name:g,type:v,value:m}=e;if(v==="image"){let x=g?`${g}.`:"";c.append(`${x}x`,"0"),c.append(`${x}y`,"0")}else g&&c.append(g,m)}}else{if(yd(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Iu,a=null,l=Uu,u=e}return c&&l==="text/plain"&&(u=c,c=void 0),{action:a,method:n.toLowerCase(),encType:l,formData:c,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Cp(e,o){if(e===!1||e===null||typeof e>"u")throw new Error(o)}function p2(e,o,n,a){let l=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?l.pathname.endsWith("/")?l.pathname=`${l.pathname}_.${a}`:l.pathname=`${l.pathname}.${a}`:l.pathname==="/"?l.pathname=`_root.${a}`:o&&hn(l.pathname,o)==="/"?l.pathname=`${Ju(o)}/_root.${a}`:l.pathname=`${Ju(l.pathname)}.${a}`,l}async function F4(e,o){if(e.id in o)return o[e.id];try{let n=await import(e.module);return o[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 q4(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 H4(e,o,n){let a=await Promise.all(e.map(async l=>{let c=o.routes[l.route.id];if(c){let u=await F4(c,n);return u.links?u.links():[]}return[]}));return U4(a.flat(1).filter(q4).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function $1(e,o,n,a,l,c){let u=(h,g)=>n[g]?h.route.id!==n[g].route.id:!0,d=(h,g)=>{var v;return n[g].pathname!==h.pathname||((v=n[g].route.path)==null?void 0:v.endsWith("*"))&&n[g].params["*"]!==h.params["*"]};return c==="assets"?o.filter((h,g)=>u(h,g)||d(h,g)):c==="data"?o.filter((h,g)=>{var m;let v=a.routes[h.route.id];if(!v||!v.hasLoader)return!1;if(u(h,g)||d(h,g))return!0;if(h.route.shouldRevalidate){let x=h.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((m=n[0])==null?void 0:m.params)||{},nextUrl:new URL(e,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function P4(e,o,{includeHydrateFallback:n}={}){return L4(e.map(a=>{let l=o.routes[a.route.id];if(!l)return[];let c=[l.module];return l.clientActionModule&&(c=c.concat(l.clientActionModule)),l.clientLoaderModule&&(c=c.concat(l.clientLoaderModule)),n&&l.hydrateFallbackModule&&(c=c.concat(l.hydrateFallbackModule)),l.imports&&(c=c.concat(l.imports)),c}).flat(1))}function L4(e){return[...new Set(e)]}function I4(e){let o={},n=Object.keys(e).sort();for(let a of n)o[a]=e[a];return o}function U4(e,o){let n=new Set;return new Set(o),e.reduce((a,l)=>{let c=JSON.stringify(I4(l));return n.has(c)||(n.add(c),a.push({key:c,link:l})),a},[])}function Np(){let e=b.useContext(pl);return Cp(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function V4(){let e=b.useContext(bd);return Cp(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Tp=b.createContext(void 0);Tp.displayName="FrameworkContext";function Ep(){let e=b.useContext(Tp);return Cp(e,"You must render this element inside a <HydratedRouter> element"),e}function G4(e,o){let n=b.useContext(Tp),[a,l]=b.useState(!1),[c,u]=b.useState(!1),{onFocus:d,onBlur:h,onMouseEnter:g,onMouseLeave:v,onTouchStart:m}=o,x=b.useRef(null);b.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let y=_=>{_.forEach(R=>{u(R.isIntersecting)})},z=new IntersectionObserver(y,{threshold:.5});return x.current&&z.observe(x.current),()=>{z.disconnect()}}},[e]),b.useEffect(()=>{if(a){let y=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(y)}}},[a]);let k=()=>{l(!0)},w=()=>{l(!1),u(!1)};return n?e!=="intent"?[c,x,{}]:[c,x,{onFocus:Bs(d,k),onBlur:Bs(h,w),onMouseEnter:Bs(g,k),onMouseLeave:Bs(v,w),onTouchStart:Bs(m,k)}]:[!1,x,{}]}function Bs(e,o){return n=>{e&&e(n),n.defaultPrevented||o(n)}}function W4({page:e,...o}){let n=r4(),{router:a}=Np(),l=b.useMemo(()=>e2(a.routes,e,a.basename),[a.routes,e,a.basename]);return l?n?b.createElement($4,{page:e,matches:l,...o}):b.createElement(K4,{page:e,matches:l,...o}):null}function X4(e){let{manifest:o,routeModules:n}=Ep(),[a,l]=b.useState([]);return b.useEffect(()=>{let c=!1;return H4(e,o,n).then(u=>{c||l(u)}),()=>{c=!0}},[e,o,n]),a}function $4({page:e,matches:o,...n}){let a=tr(),{future:l}=Ep(),{basename:c}=Np(),u=b.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let d=p2(e,c,l.unstable_trailingSlashAwareDataRequests,"rsc"),h=!1,g=[];for(let v of o)typeof v.route.shouldRevalidate=="function"?h=!0:g.push(v.route.id);return h&&g.length>0&&d.searchParams.set("_routes",g.join(",")),[d.pathname+d.search]},[c,l.unstable_trailingSlashAwareDataRequests,e,a,o]);return b.createElement(b.Fragment,null,u.map(d=>b.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...n})))}function K4({page:e,matches:o,...n}){let a=tr(),{future:l,manifest:c,routeModules:u}=Ep(),{basename:d}=Np(),{loaderData:h,matches:g}=V4(),v=b.useMemo(()=>$1(e,o,g,c,a,"data"),[e,o,g,c,a]),m=b.useMemo(()=>$1(e,o,g,c,a,"assets"),[e,o,g,c,a]),x=b.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let y=new Set,z=!1;if(o.forEach(R=>{var T;let C=c.routes[R.route.id];!C||!C.hasLoader||(!v.some(E=>E.route.id===R.route.id)&&R.route.id in h&&((T=u[R.route.id])!=null&&T.shouldRevalidate)||C.hasClientLoader?z=!0:y.add(R.route.id))}),y.size===0)return[];let _=p2(e,d,l.unstable_trailingSlashAwareDataRequests,"data");return z&&y.size>0&&_.searchParams.set("_routes",o.filter(R=>y.has(R.route.id)).map(R=>R.route.id).join(",")),[_.pathname+_.search]},[d,l.unstable_trailingSlashAwareDataRequests,h,a,c,v,o,e,u]),k=b.useMemo(()=>P4(m,c),[m,c]),w=X4(m);return b.createElement(b.Fragment,null,x.map(y=>b.createElement("link",{key:y,rel:"prefetch",as:"fetch",href:y,...n})),k.map(y=>b.createElement("link",{key:y,rel:"modulepreload",href:y,...n})),w.map(({key:y,link:z})=>b.createElement("link",{key:y,nonce:n.nonce,...z,crossOrigin:z.crossOrigin??n.crossOrigin})))}function Q4(...e){return o=>{e.forEach(n=>{typeof n=="function"?n(o):n!=null&&(n.current=o)})}}var Z4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Z4&&(window.__reactRouterVersion="7.15.0")}catch{}function Y4({basename:e,children:o,useTransitions:n,window:a}){let l=b.useRef();l.current==null&&(l.current=TB({window:a,v5Compat:!0}));let c=l.current,[u,d]=b.useState({action:c.action,location:c.location}),h=b.useCallback(g=>{n===!1?d(g):b.startTransition(()=>d(g))},[n]);return b.useLayoutEffect(()=>c.listen(h),[c,h]),b.createElement(C4,{basename:e,children:o,location:u.location,navigationType:u.action,navigator:c,useTransitions:n})}var m2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ln=b.forwardRef(function({onClick:o,discover:n="render",prefetch:a="none",relative:l,reloadDocument:c,replace:u,mask:d,state:h,target:g,to:v,preventScrollReset:m,viewTransition:x,defaultShouldRevalidate:k,...w},y){let{basename:z,navigator:_,useTransitions:R}=b.useContext(Mo),C=typeof v=="string"&&m2.test(v),T=a2(v,z);v=T.to;let E=u4(v,{relative:l}),j=tr(),M=null;if(d){let Q=vd(d,[],j.mask?j.mask.pathname:"/",!0);z!=="/"&&(Q.pathname=Q.pathname==="/"?z:hr([z,Q.pathname])),M=_.createHref(Q)}let[O,W,Y]=G4(a,w),fe=o_(v,{replace:u,mask:d,state:h,target:g,preventScrollReset:m,relative:l,viewTransition:x,defaultShouldRevalidate:k,useTransitions:R});function le(Q){o&&o(Q),Q.defaultPrevented||fe(Q)}let se=!(T.isExternal||c),ie=b.createElement("a",{...w,...Y,href:(se?M:void 0)||T.absoluteURL||E,onClick:se?le:o,ref:Q4(y,W),target:g,"data-discover":!C&&n==="render"?"true":void 0});return O&&!C?b.createElement(b.Fragment,null,ie,b.createElement(W4,{page:E})):ie});ln.displayName="Link";var J4=b.forwardRef(function({"aria-current":o="page",caseSensitive:n=!1,className:a="",end:l=!1,style:c,to:u,viewTransition:d,children:h,...g},v){let m=Ys(u,{relative:g.relative}),x=tr(),k=b.useContext(bd),{navigator:w,basename:y}=b.useContext(Mo),z=k!=null&&l_(m)&&d===!0,_=w.encodeLocation?w.encodeLocation(m).pathname:m.pathname,R=x.pathname,C=k&&k.navigation&&k.navigation.location?k.navigation.location.pathname:null;n||(R=R.toLowerCase(),C=C?C.toLowerCase():null,_=_.toLowerCase()),C&&y&&(C=hn(C,y)||C);const T=_!=="/"&&_.endsWith("/")?_.length-1:_.length;let E=R===_||!l&&R.startsWith(_)&&R.charAt(T)==="/",j=C!=null&&(C===_||!l&&C.startsWith(_)&&C.charAt(_.length)==="/"),M={isActive:E,isPending:j,isTransitioning:z},O=E?o:void 0,W;typeof a=="function"?W=a(M):W=[a,E?"active":null,j?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let Y=typeof c=="function"?c(M):c;return b.createElement(ln,{...g,"aria-current":O,className:W,ref:v,style:Y,to:u,viewTransition:d},typeof h=="function"?h(M):h)});J4.displayName="NavLink";var e_=b.forwardRef(({discover:e="render",fetcherKey:o,navigate:n,reloadDocument:a,replace:l,state:c,method:u=Iu,action:d,onSubmit:h,relative:g,preventScrollReset:v,viewTransition:m,defaultShouldRevalidate:x,...k},w)=>{let{useTransitions:y}=b.useContext(Mo),z=a_(),_=i_(d,{relative:g}),R=u.toLowerCase()==="get"?"get":"post",C=typeof d=="string"&&m2.test(d),T=E=>{if(h&&h(E),E.defaultPrevented)return;E.preventDefault();let j=E.nativeEvent.submitter,M=(j==null?void 0:j.getAttribute("formmethod"))||u,O=()=>z(j||E.currentTarget,{fetcherKey:o,method:M,navigate:n,replace:l,state:c,relative:g,preventScrollReset:v,viewTransition:m,defaultShouldRevalidate:x});y&&n!==!1?b.startTransition(()=>O()):O()};return b.createElement("form",{ref:w,method:R,action:_,onSubmit:a?h:T,...k,"data-discover":!C&&e==="render"?"true":void 0})});e_.displayName="Form";function t_(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function v2(e){let o=b.useContext(pl);return gt(o,t_(e)),o}function o_(e,{target:o,replace:n,mask:a,state:l,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:h,useTransitions:g}={}){let v=Zs(),m=tr(),x=Ys(e,{relative:u});return b.useCallback(k=>{if(A4(k,o)){k.preventDefault();let w=n!==void 0?n:js(m)===js(x),y=()=>v(e,{replace:w,mask:a,state:l,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:h});g?b.startTransition(()=>y()):y()}},[m,v,x,n,a,l,o,e,c,u,d,h,g])}var r_=0,n_=()=>`__${String(++r_)}__`;function a_(){let{router:e}=v2("useSubmit"),{basename:o}=b.useContext(Mo),n=S4(),a=e.fetch,l=e.navigate;return b.useCallback(async(c,u={})=>{let{action:d,method:h,encType:g,formData:v,body:m}=O4(c,o);if(u.navigate===!1){let x=u.fetcherKey||n_();await a(x,n,u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:v,body:m,formMethod:u.method||h,formEncType:u.encType||g,flushSync:u.flushSync})}else await l(u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:v,body:m,formMethod:u.method||h,formEncType:u.encType||g,replace:u.replace,state:u.state,fromRouteId:n,flushSync:u.flushSync,viewTransition:u.viewTransition})},[a,l,o,n])}function i_(e,{relative:o}={}){let{basename:n}=b.useContext(Mo),a=b.useContext(yr);gt(a,"useFormAction must be used inside a RouteContext");let[l]=a.matches.slice(-1),c={...Ys(e||".",{relative:o})},u=tr();if(e==null){c.search=u.search;let d=new URLSearchParams(c.search),h=d.getAll("index");if(h.some(v=>v==="")){d.delete("index"),h.filter(m=>m).forEach(m=>d.append("index",m));let v=d.toString();c.search=v?`?${v}`:""}}return(!e||e===".")&&l.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(c.pathname=c.pathname==="/"?n:hr([n,c.pathname])),js(c)}function l_(e,{relative:o}={}){let n=b.useContext(s2);gt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=v2("useViewTransitionState"),l=Ys(e,{relative:o});if(!n.isTransitioning)return!1;let c=hn(n.currentLocation.pathname,a)||n.currentLocation.pathname,u=hn(n.nextLocation.pathname,a)||n.nextLocation.pathname;return Yu(l.pathname,u)!=null||Yu(l.pathname,c)!=null}var Pg=Jx(),vl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(o){return this.listeners.add(o),this.onSubscribe(),()=>{this.listeners.delete(o),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Aa,Kn,Ki,Hx,s_=(Hx=class extends vl{constructor(){super();xe(this,Aa);xe(this,Kn);xe(this,Ki);ge(this,Ki,o=>{if(typeof window<"u"&&window.addEventListener){const n=()=>o();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){D(this,Kn)||this.setEventListener(D(this,Ki))}onUnsubscribe(){var o;this.hasListeners()||((o=D(this,Kn))==null||o.call(this),ge(this,Kn,void 0))}setEventListener(o){var n;ge(this,Ki,o),(n=D(this,Kn))==null||n.call(this),ge(this,Kn,o(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(o){D(this,Aa)!==o&&(ge(this,Aa,o),this.onFocus())}onFocus(){const o=this.isFocused();this.listeners.forEach(n=>{n(o)})}isFocused(){var o;return typeof D(this,Aa)=="boolean"?D(this,Aa):((o=globalThis.document)==null?void 0:o.visibilityState)!=="hidden"}},Aa=new WeakMap,Kn=new WeakMap,Ki=new WeakMap,Hx),Rp=new s_,c_={setTimeout:(e,o)=>setTimeout(e,o),clearTimeout:e=>clearTimeout(e),setInterval:(e,o)=>setInterval(e,o),clearInterval:e=>clearInterval(e)},Qn,Sp,Px,u_=(Px=class{constructor(){xe(this,Qn,c_);xe(this,Sp,!1)}setTimeoutProvider(e){ge(this,Qn,e)}setTimeout(e,o){return D(this,Qn).setTimeout(e,o)}clearTimeout(e){D(this,Qn).clearTimeout(e)}setInterval(e,o){return D(this,Qn).setInterval(e,o)}clearInterval(e){D(this,Qn).clearInterval(e)}},Qn=new WeakMap,Sp=new WeakMap,Px),Ra=new u_;function d_(e){setTimeout(e,0)}var f_=typeof window>"u"||"Deno"in globalThis;function oo(){}function h_(e,o){return typeof e=="function"?e(o):e}function Lg(e){return typeof e=="number"&&e>=0&&e!==1/0}function b2(e,o){return Math.max(e+(o||0)-Date.now(),0)}function aa(e,o){return typeof e=="function"?e(o):e}function No(e,o){return typeof e=="function"?e(o):e}function K1(e,o){const{type:n="all",exact:a,fetchStatus:l,predicate:c,queryKey:u,stale:d}=e;if(u){if(a){if(o.queryHash!==jp(u,o.options))return!1}else if(!As(o.queryKey,u))return!1}if(n!=="all"){const h=o.isActive();if(n==="active"&&!h||n==="inactive"&&h)return!1}return!(typeof d=="boolean"&&o.isStale()!==d||l&&l!==o.state.fetchStatus||c&&!c(o))}function Q1(e,o){const{exact:n,status:a,predicate:l,mutationKey:c}=e;if(c){if(!o.options.mutationKey)return!1;if(n){if(Va(o.options.mutationKey)!==Va(c))return!1}else if(!As(o.options.mutationKey,c))return!1}return!(a&&o.state.status!==a||l&&!l(o))}function jp(e,o){return((o==null?void 0:o.queryKeyHashFn)||Va)(e)}function Va(e){return JSON.stringify(e,(o,n)=>Ig(n)?Object.keys(n).sort().reduce((a,l)=>(a[l]=n[l],a),{}):n)}function As(e,o){return e===o?!0:typeof e!=typeof o?!1:e&&o&&typeof e=="object"&&typeof o=="object"?Object.keys(o).every(n=>As(e[n],o[n])):!1}var g_=Object.prototype.hasOwnProperty;function y2(e,o,n=0){if(e===o)return e;if(n>500)return o;const a=Z1(e)&&Z1(o);if(!a&&!(Ig(e)&&Ig(o)))return o;const c=(a?e:Object.keys(e)).length,u=a?o:Object.keys(o),d=u.length,h=a?new Array(d):{};let g=0;for(let v=0;v<d;v++){const m=a?v:u[v],x=e[m],k=o[m];if(x===k){h[m]=x,(a?v<c:g_.call(e,m))&&g++;continue}if(x===null||k===null||typeof x!="object"||typeof k!="object"){h[m]=k;continue}const w=y2(x,k,n+1);h[m]=w,w===x&&g++}return c===d&&g===c?e:h}function ed(e,o){if(!o||Object.keys(e).length!==Object.keys(o).length)return!1;for(const n in e)if(e[n]!==o[n])return!1;return!0}function Z1(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ig(e){if(!Y1(e))return!1;const o=e.constructor;if(o===void 0)return!0;const n=o.prototype;return!(!Y1(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Y1(e){return Object.prototype.toString.call(e)==="[object Object]"}function p_(e){return new Promise(o=>{Ra.setTimeout(o,e)})}function Ug(e,o,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,o):n.structuralSharing!==!1?y2(e,o):o}function m_(e,o,n=0){const a=[...e,o];return n&&a.length>n?a.slice(1):a}function v_(e,o,n=0){const a=[o,...e];return n&&a.length>n?a.slice(0,-1):a}var Ap=Symbol();function x2(e,o){return!e.queryFn&&(o!=null&&o.initialPromise)?()=>o.initialPromise:!e.queryFn||e.queryFn===Ap?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Dp(e,o){return typeof e=="function"?e(...o):!!e}function b_(e,o,n){let a=!1,l;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(l??(l=o()),a||(a=!0,l.aborted?n():l.addEventListener("abort",n,{once:!0})),l)}),e}var Ds=(()=>{let e=()=>f_;return{isServer(){return e()},setIsServer(o){e=o}}})();function Vg(){let e,o;const n=new Promise((l,c)=>{e=l,o=c});n.status="pending",n.catch(()=>{});function a(l){Object.assign(n,l),delete n.resolve,delete n.reject}return n.resolve=l=>{a({status:"fulfilled",value:l}),e(l)},n.reject=l=>{a({status:"rejected",reason:l}),o(l)},n}var y_=d_;function x_(){let e=[],o=0,n=d=>{d()},a=d=>{d()},l=y_;const c=d=>{o?e.push(d):l(()=>{n(d)})},u=()=>{const d=e;e=[],d.length&&l(()=>{a(()=>{d.forEach(h=>{n(h)})})})};return{batch:d=>{let h;o++;try{h=d()}finally{o--,o||u()}return h},batchCalls:d=>(...h)=>{c(()=>{d(...h)})},schedule:c,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{a=d},setScheduler:d=>{l=d}}}var At=x_(),Qi,Zn,Zi,Lx,w_=(Lx=class extends vl{constructor(){super();xe(this,Qi,!0);xe(this,Zn);xe(this,Zi);ge(this,Zi,o=>{if(typeof window<"u"&&window.addEventListener){const n=()=>o(!0),a=()=>o(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",a)}}})}onSubscribe(){D(this,Zn)||this.setEventListener(D(this,Zi))}onUnsubscribe(){var o;this.hasListeners()||((o=D(this,Zn))==null||o.call(this),ge(this,Zn,void 0))}setEventListener(o){var n;ge(this,Zi,o),(n=D(this,Zn))==null||n.call(this),ge(this,Zn,o(this.setOnline.bind(this)))}setOnline(o){D(this,Qi)!==o&&(ge(this,Qi,o),this.listeners.forEach(a=>{a(o)}))}isOnline(){return D(this,Qi)}},Qi=new WeakMap,Zn=new WeakMap,Zi=new WeakMap,Lx),td=new w_;function S_(e){return Math.min(1e3*2**e,3e4)}function w2(e){return(e??"online")==="online"?td.isOnline():!0}var Gg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function S2(e){let o=!1,n=0,a;const l=Vg(),c=()=>l.status!=="pending",u=y=>{var z;if(!c()){const _=new Gg(y);x(_),(z=e.onCancel)==null||z.call(e,_)}},d=()=>{o=!0},h=()=>{o=!1},g=()=>Rp.isFocused()&&(e.networkMode==="always"||td.isOnline())&&e.canRun(),v=()=>w2(e.networkMode)&&e.canRun(),m=y=>{c()||(a==null||a(),l.resolve(y))},x=y=>{c()||(a==null||a(),l.reject(y))},k=()=>new Promise(y=>{var z;a=_=>{(c()||g())&&y(_)},(z=e.onPause)==null||z.call(e)}).then(()=>{var y;a=void 0,c()||(y=e.onContinue)==null||y.call(e)}),w=()=>{if(c())return;let y;const z=n===0?e.initialPromise:void 0;try{y=z??e.fn()}catch(_){y=Promise.reject(_)}Promise.resolve(y).then(m).catch(_=>{var j;if(c())return;const R=e.retry??(Ds.isServer()?0:3),C=e.retryDelay??S_,T=typeof C=="function"?C(n,_):C,E=R===!0||typeof R=="number"&&n<R||typeof R=="function"&&R(n,_);if(o||!E){x(_);return}n++,(j=e.onFail)==null||j.call(e,n,_),p_(T).then(()=>g()?void 0:k()).then(()=>{o?x(_):w()})})};return{promise:l,status:()=>l.status,cancel:u,continue:()=>(a==null||a(),l),cancelRetry:d,continueRetry:h,canStart:v,start:()=>(v()?w():k().then(w),l)}}var Da,Ix,k2=(Ix=class{constructor(){xe(this,Da)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Lg(this.gcTime)&&ge(this,Da,Ra.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ds.isServer()?1/0:300*1e3))}clearGcTimeout(){D(this,Da)!==void 0&&(Ra.clearTimeout(D(this,Da)),ge(this,Da,void 0))}},Da=new WeakMap,Ix);function k_(e){return{onFetch:(o,n)=>{var v,m,x,k,w;const a=o.options,l=(x=(m=(v=o.fetchOptions)==null?void 0:v.meta)==null?void 0:m.fetchMore)==null?void 0:x.direction,c=((k=o.state.data)==null?void 0:k.pages)||[],u=((w=o.state.data)==null?void 0:w.pageParams)||[];let d={pages:[],pageParams:[]},h=0;const g=async()=>{let y=!1;const z=C=>{b_(C,()=>o.signal,()=>y=!0)},_=x2(o.options,o.fetchOptions),R=async(C,T,E)=>{if(y)return Promise.reject(o.signal.reason);if(T==null&&C.pages.length)return Promise.resolve(C);const M=(()=>{const fe={client:o.client,queryKey:o.queryKey,pageParam:T,direction:E?"backward":"forward",meta:o.options.meta};return z(fe),fe})(),O=await _(M),{maxPages:W}=o.options,Y=E?v_:m_;return{pages:Y(C.pages,O,W),pageParams:Y(C.pageParams,T,W)}};if(l&&c.length){const C=l==="backward",T=C?B_:J1,E={pages:c,pageParams:u},j=T(a,E);d=await R(E,j,C)}else{const C=e??c.length;do{const T=h===0?u[0]??a.initialPageParam:J1(a,d);if(h>0&&T==null)break;d=await R(d,T),h++}while(h<C)}return d};o.options.persister?o.fetchFn=()=>{var y,z;return(z=(y=o.options).persister)==null?void 0:z.call(y,g,{client:o.client,queryKey:o.queryKey,meta:o.options.meta,signal:o.signal},n)}:o.fetchFn=g}}}function J1(e,{pages:o,pageParams:n}){const a=o.length-1;return o.length>0?e.getNextPageParam(o[a],o,n[a],n):void 0}function B_(e,{pages:o,pageParams:n}){var a;return o.length>0?(a=e.getPreviousPageParam)==null?void 0:a.call(e,o[0],o,n[0],n):void 0}var Yi,Ma,Ji,Wo,Oa,qt,Gs,Fa,Co,B2,tn,Ux,__=(Ux=class extends k2{constructor(o){super();xe(this,Co);xe(this,Yi);xe(this,Ma);xe(this,Ji);xe(this,Wo);xe(this,Oa);xe(this,qt);xe(this,Gs);xe(this,Fa);ge(this,Fa,!1),ge(this,Gs,o.defaultOptions),this.setOptions(o.options),this.observers=[],ge(this,Oa,o.client),ge(this,Wo,D(this,Oa).getQueryCache()),this.queryKey=o.queryKey,this.queryHash=o.queryHash,ge(this,Ma,ty(this.options)),this.state=o.state??D(this,Ma),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return D(this,Yi)}get promise(){var o;return(o=D(this,qt))==null?void 0:o.promise}setOptions(o){if(this.options={...D(this,Gs),...o},o!=null&&o._type&&ge(this,Yi,o._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=ty(this.options);n.data!==void 0&&(this.setState(ey(n.data,n.dataUpdatedAt)),ge(this,Ma,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&D(this,Wo).remove(this)}setData(o,n){const a=Ug(this.state.data,o,this.options);return je(this,Co,tn).call(this,{data:a,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),a}setState(o){je(this,Co,tn).call(this,{type:"setState",state:o})}cancel(o){var a,l;const n=(a=D(this,qt))==null?void 0:a.promise;return(l=D(this,qt))==null||l.cancel(o),n?n.then(oo).catch(oo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return D(this,Ma)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(o=>No(o.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ap||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(o=>aa(o.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(o=>o.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(o=0){return this.state.data===void 0?!0:o==="static"?!1:this.state.isInvalidated?!0:!b2(this.state.dataUpdatedAt,o)}onFocus(){var n;const o=this.observers.find(a=>a.shouldFetchOnWindowFocus());o==null||o.refetch({cancelRefetch:!1}),(n=D(this,qt))==null||n.continue()}onOnline(){var n;const o=this.observers.find(a=>a.shouldFetchOnReconnect());o==null||o.refetch({cancelRefetch:!1}),(n=D(this,qt))==null||n.continue()}addObserver(o){this.observers.includes(o)||(this.observers.push(o),this.clearGcTimeout(),D(this,Wo).notify({type:"observerAdded",query:this,observer:o}))}removeObserver(o){this.observers.includes(o)&&(this.observers=this.observers.filter(n=>n!==o),this.observers.length||(D(this,qt)&&(D(this,Fa)||je(this,Co,B2).call(this)?D(this,qt).cancel({revert:!0}):D(this,qt).cancelRetry()),this.scheduleGc()),D(this,Wo).notify({type:"observerRemoved",query:this,observer:o}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,Co,tn).call(this,{type:"invalidate"})}async fetch(o,n){var g,v,m,x,k,w,y,z,_,R,C;if(this.state.fetchStatus!=="idle"&&((g=D(this,qt))==null?void 0:g.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(D(this,qt))return D(this,qt).continueRetry(),D(this,qt).promise}if(o&&this.setOptions(o),!this.options.queryFn){const T=this.observers.find(E=>E.options.queryFn);T&&this.setOptions(T.options)}const a=new AbortController,l=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(ge(this,Fa,!0),a.signal)})},c=()=>{const T=x2(this.options,n),j=(()=>{const M={client:D(this,Oa),queryKey:this.queryKey,meta:this.meta};return l(M),M})();return ge(this,Fa,!1),this.options.persister?this.options.persister(T,j,this):T(j)},d=(()=>{const T={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:D(this,Oa),state:this.state,fetchFn:c};return l(T),T})(),h=D(this,Yi)==="infinite"?k_(this.options.pages):this.options.behavior;h==null||h.onFetch(d,this),ge(this,Ji,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=d.fetchOptions)==null?void 0:v.meta))&&je(this,Co,tn).call(this,{type:"fetch",meta:(m=d.fetchOptions)==null?void 0:m.meta}),ge(this,qt,S2({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:T=>{T instanceof Gg&&T.revert&&this.setState({...D(this,Ji),fetchStatus:"idle"}),a.abort()},onFail:(T,E)=>{je(this,Co,tn).call(this,{type:"failed",failureCount:T,error:E})},onPause:()=>{je(this,Co,tn).call(this,{type:"pause"})},onContinue:()=>{je(this,Co,tn).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const T=await D(this,qt).start();if(T===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(T),(k=(x=D(this,Wo).config).onSuccess)==null||k.call(x,T,this),(y=(w=D(this,Wo).config).onSettled)==null||y.call(w,T,this.state.error,this),T}catch(T){if(T instanceof Gg){if(T.silent)return D(this,qt).promise;if(T.revert){if(this.state.data===void 0)throw T;return this.state.data}}throw je(this,Co,tn).call(this,{type:"error",error:T}),(_=(z=D(this,Wo).config).onError)==null||_.call(z,T,this),(C=(R=D(this,Wo).config).onSettled)==null||C.call(R,this.state.data,T,this),T}finally{this.scheduleGc()}}},Yi=new WeakMap,Ma=new WeakMap,Ji=new WeakMap,Wo=new WeakMap,Oa=new WeakMap,qt=new WeakMap,Gs=new WeakMap,Fa=new WeakMap,Co=new WeakSet,B2=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},tn=function(o){const n=a=>{switch(o.type){case"failed":return{...a,fetchFailureCount:o.failureCount,fetchFailureReason:o.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,..._2(a.data,this.options),fetchMeta:o.meta??null};case"success":const l={...a,...ey(o.data,o.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!o.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ge(this,Ji,o.manual?l:void 0),l;case"error":const c=o.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,...o.state}}};this.state=n(this.state),At.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),D(this,Wo).notify({query:this,type:"updated",action:o})})},Ux);function _2(e,o){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:w2(o.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ey(e,o){return{data:e,dataUpdatedAt:o??Date.now(),error:null,isInvalidated:!1,status:"success"}}function ty(e){const o=typeof e.initialData=="function"?e.initialData():e.initialData,n=o!==void 0,a=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:o,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 ho,Ue,Ws,to,qa,el,on,Yn,Xs,tl,ol,Ha,Pa,Jn,rl,Ze,Ns,Wg,Xg,$g,Kg,Qg,Zg,Yg,z2,Vx,z_=(Vx=class extends vl{constructor(o,n){super();xe(this,Ze);xe(this,ho);xe(this,Ue);xe(this,Ws);xe(this,to);xe(this,qa);xe(this,el);xe(this,on);xe(this,Yn);xe(this,Xs);xe(this,tl);xe(this,ol);xe(this,Ha);xe(this,Pa);xe(this,Jn);xe(this,rl,new Set);this.options=n,ge(this,ho,o),ge(this,Yn,null),ge(this,on,Vg()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(D(this,Ue).addObserver(this),oy(D(this,Ue),this.options)?je(this,Ze,Ns).call(this):this.updateResult(),je(this,Ze,Kg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Jg(D(this,Ue),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Jg(D(this,Ue),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,je(this,Ze,Qg).call(this),je(this,Ze,Zg).call(this),D(this,Ue).removeObserver(this)}setOptions(o){const n=this.options,a=D(this,Ue);if(this.options=D(this,ho).defaultQueryOptions(o),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof No(this.options.enabled,D(this,Ue))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");je(this,Ze,Yg).call(this),D(this,Ue).setOptions(this.options),n._defaulted&&!ed(this.options,n)&&D(this,ho).getQueryCache().notify({type:"observerOptionsUpdated",query:D(this,Ue),observer:this});const l=this.hasListeners();l&&ry(D(this,Ue),a,this.options,n)&&je(this,Ze,Ns).call(this),this.updateResult(),l&&(D(this,Ue)!==a||No(this.options.enabled,D(this,Ue))!==No(n.enabled,D(this,Ue))||aa(this.options.staleTime,D(this,Ue))!==aa(n.staleTime,D(this,Ue)))&&je(this,Ze,Wg).call(this);const c=je(this,Ze,Xg).call(this);l&&(D(this,Ue)!==a||No(this.options.enabled,D(this,Ue))!==No(n.enabled,D(this,Ue))||c!==D(this,Jn))&&je(this,Ze,$g).call(this,c)}getOptimisticResult(o){const n=D(this,ho).getQueryCache().build(D(this,ho),o),a=this.createResult(n,o);return N_(this,a)&&(ge(this,to,a),ge(this,el,this.options),ge(this,qa,D(this,Ue).state)),a}getCurrentResult(){return D(this,to)}trackResult(o,n){return new Proxy(o,{get:(a,l)=>(this.trackProp(l),n==null||n(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&D(this,on).status==="pending"&&D(this,on).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,l))})}trackProp(o){D(this,rl).add(o)}getCurrentQuery(){return D(this,Ue)}refetch({...o}={}){return this.fetch({...o})}fetchOptimistic(o){const n=D(this,ho).defaultQueryOptions(o),a=D(this,ho).getQueryCache().build(D(this,ho),n);return a.fetch().then(()=>this.createResult(a,n))}fetch(o){return je(this,Ze,Ns).call(this,{...o,cancelRefetch:o.cancelRefetch??!0}).then(()=>(this.updateResult(),D(this,to)))}createResult(o,n){var W;const a=D(this,Ue),l=this.options,c=D(this,to),u=D(this,qa),d=D(this,el),g=o!==a?o.state:D(this,Ws),{state:v}=o;let m={...v},x=!1,k;if(n._optimisticResults){const Y=this.hasListeners(),fe=!Y&&oy(o,n),le=Y&&ry(o,a,n,l);(fe||le)&&(m={...m,..._2(v.data,o.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:w,errorUpdatedAt:y,status:z}=m;k=m.data;let _=!1;if(n.placeholderData!==void 0&&k===void 0&&z==="pending"){let Y;c!=null&&c.isPlaceholderData&&n.placeholderData===(d==null?void 0:d.placeholderData)?(Y=c.data,_=!0):Y=typeof n.placeholderData=="function"?n.placeholderData((W=D(this,ol))==null?void 0:W.state.data,D(this,ol)):n.placeholderData,Y!==void 0&&(z="success",k=Ug(c==null?void 0:c.data,Y,n),x=!0)}if(n.select&&k!==void 0&&!_)if(c&&k===(u==null?void 0:u.data)&&n.select===D(this,Xs))k=D(this,tl);else try{ge(this,Xs,n.select),k=n.select(k),k=Ug(c==null?void 0:c.data,k,n),ge(this,tl,k),ge(this,Yn,null)}catch(Y){ge(this,Yn,Y)}D(this,Yn)&&(w=D(this,Yn),k=D(this,tl),y=Date.now(),z="error");const R=m.fetchStatus==="fetching",C=z==="pending",T=z==="error",E=C&&R,j=k!==void 0,O={status:z,fetchStatus:m.fetchStatus,isPending:C,isSuccess:z==="success",isError:T,isInitialLoading:E,isLoading:E,data:k,dataUpdatedAt:m.dataUpdatedAt,error:w,errorUpdatedAt:y,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:o.isFetched(),isFetchedAfterMount:m.dataUpdateCount>g.dataUpdateCount||m.errorUpdateCount>g.errorUpdateCount,isFetching:R,isRefetching:R&&!C,isLoadingError:T&&!j,isPaused:m.fetchStatus==="paused",isPlaceholderData:x,isRefetchError:T&&j,isStale:Mp(o,n),refetch:this.refetch,promise:D(this,on),isEnabled:No(n.enabled,o)!==!1};if(this.options.experimental_prefetchInRender){const Y=O.data!==void 0,fe=O.status==="error"&&!Y,le=Q=>{fe?Q.reject(O.error):Y&&Q.resolve(O.data)},se=()=>{const Q=ge(this,on,O.promise=Vg());le(Q)},ie=D(this,on);switch(ie.status){case"pending":o.queryHash===a.queryHash&&le(ie);break;case"fulfilled":(fe||O.data!==ie.value)&&se();break;case"rejected":(!fe||O.error!==ie.reason)&&se();break}}return O}updateResult(){const o=D(this,to),n=this.createResult(D(this,Ue),this.options);if(ge(this,qa,D(this,Ue).state),ge(this,el,this.options),D(this,qa).data!==void 0&&ge(this,ol,D(this,Ue)),ed(n,o))return;ge(this,to,n);const a=()=>{if(!o)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!D(this,rl).size)return!0;const u=new Set(c??D(this,rl));return this.options.throwOnError&&u.add("error"),Object.keys(D(this,to)).some(d=>{const h=d;return D(this,to)[h]!==o[h]&&u.has(h)})};je(this,Ze,z2).call(this,{listeners:a()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&je(this,Ze,Kg).call(this)}},ho=new WeakMap,Ue=new WeakMap,Ws=new WeakMap,to=new WeakMap,qa=new WeakMap,el=new WeakMap,on=new WeakMap,Yn=new WeakMap,Xs=new WeakMap,tl=new WeakMap,ol=new WeakMap,Ha=new WeakMap,Pa=new WeakMap,Jn=new WeakMap,rl=new WeakMap,Ze=new WeakSet,Ns=function(o){je(this,Ze,Yg).call(this);let n=D(this,Ue).fetch(this.options,o);return o!=null&&o.throwOnError||(n=n.catch(oo)),n},Wg=function(){je(this,Ze,Qg).call(this);const o=aa(this.options.staleTime,D(this,Ue));if(Ds.isServer()||D(this,to).isStale||!Lg(o))return;const a=b2(D(this,to).dataUpdatedAt,o)+1;ge(this,Ha,Ra.setTimeout(()=>{D(this,to).isStale||this.updateResult()},a))},Xg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(D(this,Ue)):this.options.refetchInterval)??!1},$g=function(o){je(this,Ze,Zg).call(this),ge(this,Jn,o),!(Ds.isServer()||No(this.options.enabled,D(this,Ue))===!1||!Lg(D(this,Jn))||D(this,Jn)===0)&&ge(this,Pa,Ra.setInterval(()=>{(this.options.refetchIntervalInBackground||Rp.isFocused())&&je(this,Ze,Ns).call(this)},D(this,Jn)))},Kg=function(){je(this,Ze,Wg).call(this),je(this,Ze,$g).call(this,je(this,Ze,Xg).call(this))},Qg=function(){D(this,Ha)!==void 0&&(Ra.clearTimeout(D(this,Ha)),ge(this,Ha,void 0))},Zg=function(){D(this,Pa)!==void 0&&(Ra.clearInterval(D(this,Pa)),ge(this,Pa,void 0))},Yg=function(){const o=D(this,ho).getQueryCache().build(D(this,ho),this.options);if(o===D(this,Ue))return;const n=D(this,Ue);ge(this,Ue,o),ge(this,Ws,o.state),this.hasListeners()&&(n==null||n.removeObserver(this),o.addObserver(this))},z2=function(o){At.batch(()=>{o.listeners&&this.listeners.forEach(n=>{n(D(this,to))}),D(this,ho).getQueryCache().notify({query:D(this,Ue),type:"observerResultsUpdated"})})},Vx);function C_(e,o){return No(o.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&No(o.retryOnMount,e)===!1)}function oy(e,o){return C_(e,o)||e.state.data!==void 0&&Jg(e,o,o.refetchOnMount)}function Jg(e,o,n){if(No(o.enabled,e)!==!1&&aa(o.staleTime,e)!=="static"){const a=typeof n=="function"?n(e):n;return a==="always"||a!==!1&&Mp(e,o)}return!1}function ry(e,o,n,a){return(e!==o||No(a.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Mp(e,n)}function Mp(e,o){return No(o.enabled,e)!==!1&&e.isStaleByTime(aa(o.staleTime,e))}function N_(e,o){return!ed(e.getCurrentResult(),o)}var $s,Nr,Wt,La,Tr,Xn,Gx,T_=(Gx=class extends k2{constructor(o){super();xe(this,Tr);xe(this,$s);xe(this,Nr);xe(this,Wt);xe(this,La);ge(this,$s,o.client),this.mutationId=o.mutationId,ge(this,Wt,o.mutationCache),ge(this,Nr,[]),this.state=o.state||C2(),this.setOptions(o.options),this.scheduleGc()}setOptions(o){this.options=o,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(o){D(this,Nr).includes(o)||(D(this,Nr).push(o),this.clearGcTimeout(),D(this,Wt).notify({type:"observerAdded",mutation:this,observer:o}))}removeObserver(o){ge(this,Nr,D(this,Nr).filter(n=>n!==o)),this.scheduleGc(),D(this,Wt).notify({type:"observerRemoved",mutation:this,observer:o})}optionalRemove(){D(this,Nr).length||(this.state.status==="pending"?this.scheduleGc():D(this,Wt).remove(this))}continue(){var o;return((o=D(this,La))==null?void 0:o.continue())??this.execute(this.state.variables)}async execute(o){var u,d,h,g,v,m,x,k,w,y,z,_,R,C,T,E,j,M;const n=()=>{je(this,Tr,Xn).call(this,{type:"continue"})},a={client:D(this,$s),meta:this.options.meta,mutationKey:this.options.mutationKey};ge(this,La,S2({fn:()=>this.options.mutationFn?this.options.mutationFn(o,a):Promise.reject(new Error("No mutationFn found")),onFail:(O,W)=>{je(this,Tr,Xn).call(this,{type:"failed",failureCount:O,error:W})},onPause:()=>{je(this,Tr,Xn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(this,Wt).canRun(this)}));const l=this.state.status==="pending",c=!D(this,La).canStart();try{if(l)n();else{je(this,Tr,Xn).call(this,{type:"pending",variables:o,isPaused:c}),D(this,Wt).config.onMutate&&await D(this,Wt).config.onMutate(o,this,a);const W=await((d=(u=this.options).onMutate)==null?void 0:d.call(u,o,a));W!==this.state.context&&je(this,Tr,Xn).call(this,{type:"pending",context:W,variables:o,isPaused:c})}const O=await D(this,La).start();return await((g=(h=D(this,Wt).config).onSuccess)==null?void 0:g.call(h,O,o,this.state.context,this,a)),await((m=(v=this.options).onSuccess)==null?void 0:m.call(v,O,o,this.state.context,a)),await((k=(x=D(this,Wt).config).onSettled)==null?void 0:k.call(x,O,null,this.state.variables,this.state.context,this,a)),await((y=(w=this.options).onSettled)==null?void 0:y.call(w,O,null,o,this.state.context,a)),je(this,Tr,Xn).call(this,{type:"success",data:O}),O}catch(O){try{await((_=(z=D(this,Wt).config).onError)==null?void 0:_.call(z,O,o,this.state.context,this,a))}catch(W){Promise.reject(W)}try{await((C=(R=this.options).onError)==null?void 0:C.call(R,O,o,this.state.context,a))}catch(W){Promise.reject(W)}try{await((E=(T=D(this,Wt).config).onSettled)==null?void 0:E.call(T,void 0,O,this.state.variables,this.state.context,this,a))}catch(W){Promise.reject(W)}try{await((M=(j=this.options).onSettled)==null?void 0:M.call(j,void 0,O,o,this.state.context,a))}catch(W){Promise.reject(W)}throw je(this,Tr,Xn).call(this,{type:"error",error:O}),O}finally{D(this,Wt).runNext(this)}}},$s=new WeakMap,Nr=new WeakMap,Wt=new WeakMap,La=new WeakMap,Tr=new WeakSet,Xn=function(o){const n=a=>{switch(o.type){case"failed":return{...a,failureCount:o.failureCount,failureReason:o.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:o.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:o.isPaused,status:"pending",variables:o.variables,submittedAt:Date.now()};case"success":return{...a,data:o.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:o.error,failureCount:a.failureCount+1,failureReason:o.error,isPaused:!1,status:"error"}}};this.state=n(this.state),At.batch(()=>{D(this,Nr).forEach(a=>{a.onMutationUpdate(o)}),D(this,Wt).notify({mutation:this,type:"updated",action:o})})},Gx);function C2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var rn,sr,Ks,Wx,E_=(Wx=class extends vl{constructor(o={}){super();xe(this,rn);xe(this,sr);xe(this,Ks);this.config=o,ge(this,rn,new Set),ge(this,sr,new Map),ge(this,Ks,0)}build(o,n,a){const l=new T_({client:o,mutationCache:this,mutationId:++Cu(this,Ks)._,options:o.defaultMutationOptions(n),state:a});return this.add(l),l}add(o){D(this,rn).add(o);const n=Tu(o);if(typeof n=="string"){const a=D(this,sr).get(n);a?a.push(o):D(this,sr).set(n,[o])}this.notify({type:"added",mutation:o})}remove(o){if(D(this,rn).delete(o)){const n=Tu(o);if(typeof n=="string"){const a=D(this,sr).get(n);if(a)if(a.length>1){const l=a.indexOf(o);l!==-1&&a.splice(l,1)}else a[0]===o&&D(this,sr).delete(n)}}this.notify({type:"removed",mutation:o})}canRun(o){const n=Tu(o);if(typeof n=="string"){const a=D(this,sr).get(n),l=a==null?void 0:a.find(c=>c.state.status==="pending");return!l||l===o}else return!0}runNext(o){var a;const n=Tu(o);if(typeof n=="string"){const l=(a=D(this,sr).get(n))==null?void 0:a.find(c=>c!==o&&c.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){At.batch(()=>{D(this,rn).forEach(o=>{this.notify({type:"removed",mutation:o})}),D(this,rn).clear(),D(this,sr).clear()})}getAll(){return Array.from(D(this,rn))}find(o){const n={exact:!0,...o};return this.getAll().find(a=>Q1(n,a))}findAll(o={}){return this.getAll().filter(n=>Q1(o,n))}notify(o){At.batch(()=>{this.listeners.forEach(n=>{n(o)})})}resumePausedMutations(){const o=this.getAll().filter(n=>n.state.isPaused);return At.batch(()=>Promise.all(o.map(n=>n.continue().catch(oo))))}},rn=new WeakMap,sr=new WeakMap,Ks=new WeakMap,Wx);function Tu(e){var o;return(o=e.options.scope)==null?void 0:o.id}var nn,ea,go,an,fn,Vu,ep,Xx,R_=(Xx=class extends vl{constructor(n,a){super();xe(this,fn);xe(this,nn);xe(this,ea);xe(this,go);xe(this,an);ge(this,nn,n),this.setOptions(a),this.bindMethods(),je(this,fn,Vu).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var l;const a=this.options;this.options=D(this,nn).defaultMutationOptions(n),ed(this.options,a)||D(this,nn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:D(this,go),observer:this}),a!=null&&a.mutationKey&&this.options.mutationKey&&Va(a.mutationKey)!==Va(this.options.mutationKey)?this.reset():((l=D(this,go))==null?void 0:l.state.status)==="pending"&&D(this,go).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=D(this,go))==null||n.removeObserver(this)}onMutationUpdate(n){je(this,fn,Vu).call(this),je(this,fn,ep).call(this,n)}getCurrentResult(){return D(this,ea)}reset(){var n;(n=D(this,go))==null||n.removeObserver(this),ge(this,go,void 0),je(this,fn,Vu).call(this),je(this,fn,ep).call(this)}mutate(n,a){var l;return ge(this,an,a),(l=D(this,go))==null||l.removeObserver(this),ge(this,go,D(this,nn).getMutationCache().build(D(this,nn),this.options)),D(this,go).addObserver(this),D(this,go).execute(n)}},nn=new WeakMap,ea=new WeakMap,go=new WeakMap,an=new WeakMap,fn=new WeakSet,Vu=function(){var a;const n=((a=D(this,go))==null?void 0:a.state)??C2();ge(this,ea,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},ep=function(n){At.batch(()=>{var a,l,c,u,d,h,g,v;if(D(this,an)&&this.hasListeners()){const m=D(this,ea).variables,x=D(this,ea).context,k={client:D(this,nn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((n==null?void 0:n.type)==="success"){try{(l=(a=D(this,an)).onSuccess)==null||l.call(a,n.data,m,x,k)}catch(w){Promise.reject(w)}try{(u=(c=D(this,an)).onSettled)==null||u.call(c,n.data,null,m,x,k)}catch(w){Promise.reject(w)}}else if((n==null?void 0:n.type)==="error"){try{(h=(d=D(this,an)).onError)==null||h.call(d,n.error,m,x,k)}catch(w){Promise.reject(w)}try{(v=(g=D(this,an)).onSettled)==null||v.call(g,void 0,n.error,m,x,k)}catch(w){Promise.reject(w)}}}this.listeners.forEach(m=>{m(D(this,ea))})})},Xx),Er,$x,j_=($x=class extends vl{constructor(o={}){super();xe(this,Er);this.config=o,ge(this,Er,new Map)}build(o,n,a){const l=n.queryKey,c=n.queryHash??jp(l,n);let u=this.get(c);return u||(u=new __({client:o,queryKey:l,queryHash:c,options:o.defaultQueryOptions(n),state:a,defaultOptions:o.getQueryDefaults(l)}),this.add(u)),u}add(o){D(this,Er).has(o.queryHash)||(D(this,Er).set(o.queryHash,o),this.notify({type:"added",query:o}))}remove(o){const n=D(this,Er).get(o.queryHash);n&&(o.destroy(),n===o&&D(this,Er).delete(o.queryHash),this.notify({type:"removed",query:o}))}clear(){At.batch(()=>{this.getAll().forEach(o=>{this.remove(o)})})}get(o){return D(this,Er).get(o)}getAll(){return[...D(this,Er).values()]}find(o){const n={exact:!0,...o};return this.getAll().find(a=>K1(n,a))}findAll(o={}){const n=this.getAll();return Object.keys(o).length>0?n.filter(a=>K1(o,a)):n}notify(o){At.batch(()=>{this.listeners.forEach(n=>{n(o)})})}onFocus(){At.batch(()=>{this.getAll().forEach(o=>{o.onFocus()})})}onOnline(){At.batch(()=>{this.getAll().forEach(o=>{o.onOnline()})})}},Er=new WeakMap,$x),yt,ta,oa,nl,al,ra,il,ll,Kx,A_=(Kx=class{constructor(e={}){xe(this,yt);xe(this,ta);xe(this,oa);xe(this,nl);xe(this,al);xe(this,ra);xe(this,il);xe(this,ll);ge(this,yt,e.queryCache||new j_),ge(this,ta,e.mutationCache||new E_),ge(this,oa,e.defaultOptions||{}),ge(this,nl,new Map),ge(this,al,new Map),ge(this,ra,0)}mount(){Cu(this,ra)._++,D(this,ra)===1&&(ge(this,il,Rp.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,yt).onFocus())})),ge(this,ll,td.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,yt).onOnline())})))}unmount(){var e,o;Cu(this,ra)._--,D(this,ra)===0&&((e=D(this,il))==null||e.call(this),ge(this,il,void 0),(o=D(this,ll))==null||o.call(this),ge(this,ll,void 0))}isFetching(e){return D(this,yt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return D(this,ta).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const o=this.defaultQueryOptions({queryKey:e});return(n=D(this,yt).get(o.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const o=this.defaultQueryOptions(e),n=D(this,yt).build(this,o),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(aa(o.staleTime,n))&&this.prefetchQuery(o),Promise.resolve(a))}getQueriesData(e){return D(this,yt).findAll(e).map(({queryKey:o,state:n})=>{const a=n.data;return[o,a]})}setQueryData(e,o,n){const a=this.defaultQueryOptions({queryKey:e}),l=D(this,yt).get(a.queryHash),c=l==null?void 0:l.state.data,u=h_(o,c);if(u!==void 0)return D(this,yt).build(this,a).setData(u,{...n,manual:!0})}setQueriesData(e,o,n){return At.batch(()=>D(this,yt).findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,o,n)]))}getQueryState(e){var n;const o=this.defaultQueryOptions({queryKey:e});return(n=D(this,yt).get(o.queryHash))==null?void 0:n.state}removeQueries(e){const o=D(this,yt);At.batch(()=>{o.findAll(e).forEach(n=>{o.remove(n)})})}resetQueries(e,o){const n=D(this,yt);return At.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},o)))}cancelQueries(e,o={}){const n={revert:!0,...o},a=At.batch(()=>D(this,yt).findAll(e).map(l=>l.cancel(n)));return Promise.all(a).then(oo).catch(oo)}invalidateQueries(e,o={}){return At.batch(()=>(D(this,yt).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"},o)))}refetchQueries(e,o={}){const n={...o,cancelRefetch:o.cancelRefetch??!0},a=At.batch(()=>D(this,yt).findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,n);return n.throwOnError||(c=c.catch(oo)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(a).then(oo)}fetchQuery(e){const o=this.defaultQueryOptions(e);o.retry===void 0&&(o.retry=!1);const n=D(this,yt).build(this,o);return n.isStaleByTime(aa(o.staleTime,n))?n.fetch(o):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(oo).catch(oo)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(oo).catch(oo)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return td.isOnline()?D(this,ta).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(this,yt)}getMutationCache(){return D(this,ta)}getDefaultOptions(){return D(this,oa)}setDefaultOptions(e){ge(this,oa,e)}setQueryDefaults(e,o){D(this,nl).set(Va(e),{queryKey:e,defaultOptions:o})}getQueryDefaults(e){const o=[...D(this,nl).values()],n={};return o.forEach(a=>{As(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,o){D(this,al).set(Va(e),{mutationKey:e,defaultOptions:o})}getMutationDefaults(e){const o=[...D(this,al).values()],n={};return o.forEach(a=>{As(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const o={...D(this,oa).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return o.queryHash||(o.queryHash=jp(o.queryKey,o)),o.refetchOnReconnect===void 0&&(o.refetchOnReconnect=o.networkMode!=="always"),o.throwOnError===void 0&&(o.throwOnError=!!o.suspense),!o.networkMode&&o.persister&&(o.networkMode="offlineFirst"),o.queryFn===Ap&&(o.enabled=!1),o}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...D(this,oa).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){D(this,yt).clear(),D(this,ta).clear()}},yt=new WeakMap,ta=new WeakMap,oa=new WeakMap,nl=new WeakMap,al=new WeakMap,ra=new WeakMap,il=new WeakMap,ll=new WeakMap,Kx),N2=b.createContext(void 0),Js=e=>{const o=b.useContext(N2);if(!o)throw new Error("No QueryClient set, use QueryClientProvider to set one");return o},D_=({client:e,children:o})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),B.jsx(N2.Provider,{value:e,children:o})),T2=b.createContext(!1),M_=()=>b.useContext(T2);T2.Provider;function O_(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var F_=b.createContext(O_()),q_=()=>b.useContext(F_),H_=(e,o,n)=>{const a=n!=null&&n.state.error&&typeof e.throwOnError=="function"?Dp(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||a)&&(o.isReset()||(e.retryOnMount=!1))},P_=e=>{b.useEffect(()=>{e.clearReset()},[e])},L_=({result:e,errorResetBoundary:o,throwOnError:n,query:a,suspense:l})=>e.isError&&!o.isReset()&&!e.isFetching&&a&&(l&&e.data===void 0||Dp(n,[e.error,a])),I_=e=>{if(e.suspense){const n=l=>l==="static"?l:Math.max(l??1e3,1e3),a=e.staleTime;e.staleTime=typeof a=="function"?(...l)=>n(a(...l)):n(a),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},U_=(e,o)=>e.isLoading&&e.isFetching&&!o,V_=(e,o)=>(e==null?void 0:e.suspense)&&o.isPending,ny=(e,o,n)=>o.fetchOptimistic(e).catch(()=>{n.clearReset()});function G_(e,o,n){var x,k,w,y;const a=M_(),l=q_(),c=Js(),u=c.defaultQueryOptions(e);(k=(x=c.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||k.call(x,u);const d=c.getQueryCache().get(u.queryHash);u._optimisticResults=a?"isRestoring":"optimistic",I_(u),H_(u,l,d),P_(l);const h=!c.getQueryCache().get(u.queryHash),[g]=b.useState(()=>new o(c,u)),v=g.getOptimisticResult(u),m=!a&&e.subscribed!==!1;if(b.useSyncExternalStore(b.useCallback(z=>{const _=m?g.subscribe(At.batchCalls(z)):oo;return g.updateResult(),_},[g,m]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),b.useEffect(()=>{g.setOptions(u)},[u,g]),V_(u,v))throw ny(u,g,l);if(L_({result:v,errorResetBoundary:l,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw v.error;if((y=(w=c.getDefaultOptions().queries)==null?void 0:w._experimental_afterQuery)==null||y.call(w,u,v),u.experimental_prefetchInRender&&!Ds.isServer()&&U_(v,a)){const z=h?ny(u,g,l):d==null?void 0:d.promise;z==null||z.catch(oo).finally(()=>{g.updateResult()})}return u.notifyOnChangeProps?v:g.trackResult(v)}function xd(e,o){return G_(e,z_)}function E2(e,o){const n=Js(),[a]=b.useState(()=>new R_(n,e));b.useEffect(()=>{a.setOptions(e)},[a,e]);const l=b.useSyncExternalStore(b.useCallback(u=>a.subscribe(At.batchCalls(u)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),c=b.useCallback((u,d)=>{a.mutate(u,d).catch(oo)},[a]);if(l.error&&Dp(a.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}const gg=typeof window>"u"?global:window,pg="@griffel/";function W_(e,o){return gg[Symbol.for(pg+e)]||(gg[Symbol.for(pg+e)]=o),gg[Symbol.for(pg+e)]}const tp=W_("DEFINITION_LOOKUP_TABLE",{}),Es="data-make-styles-bucket",X_="data-priority",op="f",rp=7,Op="___",$_=Op.length+rp,K_=0,Q_=1,Z_={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},np="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Ms(e){for(var o=0,n,a=0,l=e.length;l>=4;++a,l-=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,o=(n&65535)*1540483477+((n>>>16)*59797<<16)^(o&65535)*1540483477+((o>>>16)*59797<<16);switch(l){case 3:o^=(e.charCodeAt(a+2)&255)<<16;case 2:o^=(e.charCodeAt(a+1)&255)<<8;case 1:o^=e.charCodeAt(a)&255,o=(o&65535)*1540483477+((o>>>16)*59797<<16)}return o^=o>>>13,o=(o&65535)*1540483477+((o>>>16)*59797<<16),((o^o>>>15)>>>0).toString(36)}function Y_(e){const o=e.length;if(o===rp)return e;for(let n=o;n<rp;n++)e+="0";return e}function R2(e,o,n=[]){return Op+Y_(Ms(e+o))}function j2(e,o){let n="",a="";for(const l in e){const c=e[l];if(c===0){a+=l+" ";continue}const u=Array.isArray(c),d=o==="rtl"?(u?c[1]:c)+" ":(u?c[0]:c)+" ";n+=d,a+=d}return[n.slice(0,-1),a.slice(0,-1)]}function od(e,o){const n={};for(const a in e){const[l,c]=j2(e[a],o);if(c===""){n[a]="";continue}const u=R2(c,o),d=u+(l===""?"":" "+l);tp[u]=[e[a],o],n[a]=d}return n}const ay={};function de(){let e=null,o="",n="";const a=new Array(arguments.length);for(let m=0;m<arguments.length;m++){const x=arguments[m];if(typeof x=="string"&&x!==""){const k=x.indexOf(Op);if(k===-1)o+=x+" ";else{const w=x.substr(k,$_);k>0&&(o+=x.slice(0,k)),n+=w,a[m]=w}}}if(n==="")return o.slice(0,-1);const l=ay[n];if(l!==void 0)return o+l;const c=[];for(let m=0;m<arguments.length;m++){const x=a[m];if(x){const k=tp[x];k&&(c.push(k[K_]),e=k[Q_])}}const u=Object.assign.apply(Object,[{}].concat(c)),[d,h]=j2(u,e),g=R2(h,e,a),v=g+" "+d;return ay[n]=v,tp[g]=[u,e],o+v}function J_(e){return Array.isArray(e)?e:[e]}function ez(e,o,n,a){const l=[];if(a[Es]=o,a[X_]=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):l.push(u)}return{elementAttributes:a,insertRule:c,element:e,bucketName:o,cssRules(){return e!=null&&e.sheet?Array.from(e.sheet.cssRules).map(u=>u.cssText):l}}}const tz=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],iy=tz.reduce((e,o,n)=>(e[o]=n,e),{});function oz(e,o,n){return(e==="m"?e+o:e)+n}function rz(e,o,n,a,l={}){var c,u;const d=e==="m",h=(c=l.m)!==null&&c!==void 0?c:"0",g=(u=l.p)!==null&&u!==void 0?u:0,v=oz(e,h,g);if(!a.stylesheets[v]){const m=o&&o.createElement("style"),x=ez(m,e,g,{...a.styleElementAttributes,...d&&{media:h}});a.stylesheets[v]=x,o!=null&&o.head&&m&&o.head.insertBefore(m,az(o,n,e,a,l))}return a.stylesheets[v]}function nz(e,o,n){var a,l;const c=o+((a=n.m)!==null&&a!==void 0?a:""),u=e.getAttribute(Es)+((l=e.media)!==null&&l!==void 0?l:"");return c===u}function az(e,o,n,a,l={}){var c,u;const d=iy[n],h=(c=l.m)!==null&&c!==void 0?c:"",g=(u=l.p)!==null&&u!==void 0?u:0;let v=y=>d-iy[y.getAttribute(Es)],m=e.head.querySelectorAll(`[${Es}]`);if(n==="m"){const y=e.head.querySelectorAll(`[${Es}="${n}"]`);y.length&&(m=y,v=z=>a.compareMediaQueries(h,z.media))}const x=y=>nz(y,n,l)?g-Number(y.getAttribute("data-priority")):v(y),k=m.length;let w=k-1;for(;w>=0;){const y=m.item(w);if(x(y)>0)return y.nextSibling;w--}return k>0?m.item(0):o?o.nextSibling:null}function ly(e,o){try{e.insertRule(o)}catch{}}let iz=0;const lz=(e,o)=>e<o?-1:e>o?1:0;function sz(e=typeof document>"u"?void 0:document,o={}){const{classNameHashSalt:n,unstable_filterCSSRule:a,insertionPoint:l,styleElementAttributes:c,compareMediaQueries:u=lz}=o,d={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${iz++}`,insertCSSRules(h){for(const g in h){const v=h[g];for(let m=0,x=v.length;m<x;m++){const[k,w]=J_(v[m]),y=rz(g,e,l||null,d,w);d.insertionCache[k]||(d.insertionCache[k]=g,a?a(k)&&ly(y,k):ly(y,k))}}}};return d}const Fp=()=>{const e={};return function(n,a){e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}};function A2(e){return e.reduce(function(o,n){var a=n[0],l=n[1];return o[a]=l,o[l]=a,o},{})}function cz(e){return typeof e=="boolean"}function uz(e){return typeof e=="function"}function Ts(e){return typeof e=="number"}function dz(e){return e===null||typeof e>"u"}function fz(e){return e&&typeof e=="object"}function hz(e){return typeof e=="string"}function Gu(e,o){return e.indexOf(o)!==-1}function gz(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function Eu(e,o,n,a){return o+gz(n)+a}function pz(e){var o=e.indexOf(".");if(o===-1)e=100-parseFloat(e)+"%";else{var n=e.length-o-2;e=100-parseFloat(e),e=e.toFixed(n)+"%"}return e}function D2(e){return e.replace(/ +/g," ").split(" ").map(function(o){return o.trim()}).filter(Boolean).reduce(function(o,n){var a=o.list,l=o.state,c=(n.match(/\(/g)||[]).length,u=(n.match(/\)/g)||[]).length;return l.parensDepth>0?a[a.length-1]=a[a.length-1]+" "+n:a.push(n),l.parensDepth+=c-u,{list:a,state:l}},{list:[],state:{parensDepth:0}}).list}function sy(e){var o=D2(e);if(o.length<=3||o.length>4)return e;var n=o[0],a=o[1],l=o[2],c=o[3];return[n,c,l,a].join(" ")}function mz(e){return!cz(e)&&!dz(e)}function vz(e){for(var o=[],n=0,a=0,l=!1;a<e.length;)!l&&e[a]===","?(o.push(e.substring(n,a).trim()),a++,n=a):e[a]==="("?(l=!0,a++):(e[a]===")"&&(l=!1),a++);return n!=a&&o.push(e.substring(n,a+1)),o}var ae={padding:function(o){var n=o.value;return Ts(n)?n:sy(n)},textShadow:function(o){var n=o.value,a=vz(n).map(function(l){return l.replace(/(^|\s)(-*)([.|\d]+)/,function(c,u,d,h){if(h==="0")return c;var g=d===""?"-":"";return""+u+g+h})});return a.join(",")},borderColor:function(o){var n=o.value;return sy(n)},borderRadius:function(o){var n=o.value;if(Ts(n))return n;if(Gu(n,"/")){var a=n.split("/"),l=a[0],c=a[1],u=ae.borderRadius({value:l.trim()}),d=ae.borderRadius({value:c.trim()});return u+" / "+d}var h=D2(n);switch(h.length){case 2:return h.reverse().join(" ");case 4:{var g=h[0],v=h[1],m=h[2],x=h[3];return[v,g,x,m].join(" ")}default:return n}},background:function(o){var n=o.value,a=o.valuesToConvert,l=o.isRtl,c=o.bgImgDirectionRegex,u=o.bgPosDirectionRegex;if(Ts(n))return n;var d=n.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return n=n.replace(d,ae.backgroundPosition({value:d,valuesToConvert:a,isRtl:l,bgPosDirectionRegex:u})),ae.backgroundImage({value:n,valuesToConvert:a,bgImgDirectionRegex:c})},backgroundImage:function(o){var n=o.value,a=o.valuesToConvert,l=o.bgImgDirectionRegex;return!Gu(n,"url(")&&!Gu(n,"linear-gradient(")?n:n.replace(l,function(c,u,d){return c.replace(d,a[d])})},backgroundPosition:function(o){var n=o.value,a=o.valuesToConvert,l=o.isRtl,c=o.bgPosDirectionRegex;return n.replace(l?/^((-|\d|\.)+%)/:null,function(u,d){return pz(d)}).replace(c,function(u){return a[u]})},backgroundPositionX:function(o){var n=o.value,a=o.valuesToConvert,l=o.isRtl,c=o.bgPosDirectionRegex;return Ts(n)?n:ae.backgroundPosition({value:n,valuesToConvert:a,isRtl:l,bgPosDirectionRegex:c})},transition:function(o){var n=o.value,a=o.propertiesToConvert;return n.split(/,\s*/g).map(function(l){var c=l.split(" ");return c[0]=a[c[0]]||c[0],c.join(" ")}).join(", ")},transitionProperty:function(o){var n=o.value,a=o.propertiesToConvert;return n.split(/,\s*/g).map(function(l){return a[l]||l}).join(", ")},transform:function(o){var n=o.value,a="[^\\u0020-\\u007e]",l="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+a+"|"+l+")")+("(?:[_a-z0-9-]|"+a+"|"+l+")")+"*")+")?")+")|(?: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"),h=new RegExp("(translate3d\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,2}\\s*\\))","gi"),g=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+c+"(\\s*\\))","gi");return n.replace(u,Eu).replace(d,Eu).replace(h,Eu).replace(g,Eu)}};ae.objectPosition=ae.backgroundPosition;ae.margin=ae.padding;ae.borderWidth=ae.padding;ae.boxShadow=ae.textShadow;ae.webkitBoxShadow=ae.boxShadow;ae.mozBoxShadow=ae.boxShadow;ae.WebkitBoxShadow=ae.boxShadow;ae.MozBoxShadow=ae.boxShadow;ae.borderStyle=ae.borderColor;ae.webkitTransform=ae.transform;ae.mozTransform=ae.transform;ae.WebkitTransform=ae.transform;ae.MozTransform=ae.transform;ae.transformOrigin=ae.backgroundPosition;ae.webkitTransformOrigin=ae.transformOrigin;ae.mozTransformOrigin=ae.transformOrigin;ae.WebkitTransformOrigin=ae.transformOrigin;ae.MozTransformOrigin=ae.transformOrigin;ae.webkitTransition=ae.transition;ae.mozTransition=ae.transition;ae.WebkitTransition=ae.transition;ae.MozTransition=ae.transition;ae.webkitTransitionProperty=ae.transitionProperty;ae.mozTransitionProperty=ae.transitionProperty;ae.WebkitTransitionProperty=ae.transitionProperty;ae.MozTransitionProperty=ae.transitionProperty;ae["text-shadow"]=ae.textShadow;ae["border-color"]=ae.borderColor;ae["border-radius"]=ae.borderRadius;ae["background-image"]=ae.backgroundImage;ae["background-position"]=ae.backgroundPosition;ae["background-position-x"]=ae.backgroundPositionX;ae["object-position"]=ae.objectPosition;ae["border-width"]=ae.padding;ae["box-shadow"]=ae.textShadow;ae["-webkit-box-shadow"]=ae.textShadow;ae["-moz-box-shadow"]=ae.textShadow;ae["border-style"]=ae.borderColor;ae["-webkit-transform"]=ae.transform;ae["-moz-transform"]=ae.transform;ae["transform-origin"]=ae.transformOrigin;ae["-webkit-transform-origin"]=ae.transformOrigin;ae["-moz-transform-origin"]=ae.transformOrigin;ae["-webkit-transition"]=ae.transition;ae["-moz-transition"]=ae.transition;ae["transition-property"]=ae.transitionProperty;ae["-webkit-transition-property"]=ae.transitionProperty;ae["-moz-transition-property"]=ae.transitionProperty;var M2=A2([["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"]]),bz=["content"],cy=A2([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),yz=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),xz=new RegExp("(left)|(right)");function O2(e){return Object.keys(e).reduce(function(o,n){var a=e[n];if(hz(a)&&(a=a.trim()),Gu(bz,n))return o[n]=a,o;var l=ap(n,a),c=l.key,u=l.value;return o[c]=u,o},Array.isArray(e)?[]:{})}function ap(e,o){var n=/\/\*\s?@noflip\s?\*\//.test(o),a=n?e:wz(e),l=n?o:Sz(a,o);return{key:a,value:l}}function wz(e){return M2[e]||e}function Sz(e,o){if(!mz(o))return o;if(fz(o))return O2(o);var n=Ts(o),a=uz(o),l=n||a?o:o.replace(/ !important.*?$/,""),c=!n&&l.length!==o.length,u=ae[e],d;return u?d=u({value:l,valuesToConvert:cy,propertiesToConvert:M2,isRtl:!0,bgImgDirectionRegex:yz,bgPosDirectionRegex:xz}):d=cy[l]||l,c?d+" !important":d}var Rs="-moz-",ir="-webkit-",F2="comm",wd="rule",qp="decl",kz="@media",Bz="@import",_z="@supports",zz="@namespace",Cz="@keyframes",q2="@layer",Nz=Math.abs,Ui=String.fromCharCode,Tz=Object.assign;function Ez(e,o){return $t(e,0)^45?(((o<<2^$t(e,0))<<2^$t(e,1))<<2^$t(e,2))<<2^$t(e,3):0}function H2(e){return e.trim()}function P2(e,o){return(e=o.exec(e))?e[0]:e}function To(e,o,n){return e.replace(o,n)}function Rz(e,o){return e.indexOf(o)}function $t(e,o){return e.charCodeAt(o)|0}function sl(e,o,n){return e.slice(o,n)}function cr(e){return e.length}function L2(e){return e.length}function ja(e,o){return o.push(e),e}function jz(e,o){return e.map(o).join("")}var Sd=1,cl=1,I2=0,jo=0,mt=0,bl="";function kd(e,o,n,a,l,c,u,d){return{value:e,root:o,parent:n,type:a,props:l,children:c,line:Sd,column:cl,length:u,return:"",siblings:d}}function mg(e,o){return Tz(kd("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},o)}function Az(){return mt}function Dz(){return mt=jo>0?$t(bl,--jo):0,cl--,mt===10&&(cl=1,Sd--),mt}function Zo(){return mt=jo<I2?$t(bl,jo++):0,cl++,mt===10&&(cl=1,Sd++),mt}function na(){return $t(bl,jo)}function Wu(){return jo}function Bd(e,o){return sl(bl,e,o)}function ul(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 U2(e){return Sd=cl=1,I2=cr(bl=e),jo=0,[]}function V2(e){return bl="",e}function Xu(e){return H2(Bd(jo-1,ip(e===91?e+2:e===40?e+1:e)))}function Mz(e){return V2(Fz(U2(e)))}function Oz(e){for(;(mt=na())&&mt<33;)Zo();return ul(e)>2||ul(mt)>3?"":" "}function Fz(e){for(;Zo();)switch(ul(mt)){case 0:ja(G2(jo-1),e);break;case 2:ja(Xu(mt),e);break;default:ja(Ui(mt),e)}return e}function qz(e,o){for(;--o&&Zo()&&!(mt<48||mt>102||mt>57&&mt<65||mt>70&&mt<97););return Bd(e,Wu()+(o<6&&na()==32&&Zo()==32))}function ip(e){for(;Zo();)switch(mt){case e:return jo;case 34:case 39:e!==34&&e!==39&&ip(mt);break;case 40:e===41&&ip(e);break;case 92:Zo();break}return jo}function Hz(e,o){for(;Zo()&&e+mt!==57;)if(e+mt===84&&na()===47)break;return"/*"+Bd(o,jo-1)+"*"+Ui(e===47?e:Zo())}function G2(e){for(;!ul(na());)Zo();return Bd(e,jo)}function W2(e){return V2($u("",null,null,null,[""],e=U2(e),0,[0],e))}function $u(e,o,n,a,l,c,u,d,h){for(var g=0,v=0,m=u,x=0,k=0,w=0,y=1,z=1,_=1,R=0,C=0,T="",E=l,j=c,M=a,O=T;z;)switch(w=C,C=Zo()){case 40:w!=108&&$t(O,m-1)==58?(R++,O+="("):O+=Xu(C);break;case 41:R--,O+=")";break;case 34:case 39:case 91:O+=Xu(C);break;case 9:case 10:case 13:case 32:if(R>0){O+=Ui(C);break}O+=Oz(w);break;case 92:O+=qz(Wu()-1,7);continue;case 47:switch(na()){case 42:case 47:ja(Pz(Hz(Zo(),Wu()),o,n,h),h),(ul(w||1)==5||ul(na()||1)==5)&&cr(O)&&sl(O,-1,void 0)!==" "&&(O+=" ");break;default:O+="/"}break;case 123*y:d[g++]=cr(O)*_;case 125*y:case 59:case 0:if(R>0&&C){O+=Ui(C);break}switch(C){case 0:case 125:z=0;case 59+v:_==-1&&(O=To(O,/\f/g,"")),k>0&&(cr(O)-m||y===0)&&ja(k>32?dy(O+";",a,n,m-1,h):dy(To(O," ","")+";",a,n,m-2,h),h);break;case 59:O+=";";default:if(ja(M=uy(O,o,n,g,v,l,d,T,E=[],j=[],m,c),c),C===123)if(v===0)$u(O,o,M,M,E,c,m,d,j);else{switch(x){case 99:if($t(O,3)===110)break;case 108:if($t(O,2)===97)break;default:v=0;case 100:case 109:case 115:}v?$u(e,M,M,a&&ja(uy(e,M,M,0,0,l,d,T,l,E=[],m,j),j),l,j,m,d,a?E:j):$u(O,M,M,M,[""],j,0,d,j)}}g=v=k=0,y=_=1,T=O="",m=u;break;case 58:m=1+cr(O),k=w;default:if(y<1){if(C==123)--y;else if(C==125&&y++==0&&Dz()==125)continue}switch(O+=Ui(C),C*y){case 38:_=v>0?1:(O+="\f",-1);break;case 44:if(R>0)break;d[g++]=(cr(O)-1)*_,_=1;break;case 64:na()===45&&(O+=Xu(Zo())),x=na(),v=m=cr(T=O+=G2(Wu())),C++;break;case 45:w===45&&cr(O)==2&&(y=0)}}return c}function uy(e,o,n,a,l,c,u,d,h,g,v,m){for(var x=l-1,k=l===0?c:[""],w=L2(k),y=0,z=0,_=0;y<a;++y)for(var R=0,C=sl(e,x+1,x=Nz(z=u[y])),T=e;R<w;++R)(T=H2(z>0?k[R]+" "+C:To(C,/&\f/g,k[R])))&&(h[_++]=T);return kd(e,o,n,l===0?wd:d,h,g,v,m)}function Pz(e,o,n,a){return kd(e,o,n,F2,Ui(Az()),sl(e,2,-2),0,a)}function dy(e,o,n,a,l){return kd(e,o,n,qp,sl(e,0,a),sl(e,a+1,-1),a,l)}function dl(e,o){for(var n="",a=0;a<e.length;a++)n+=o(e[a],a,e,o)||"";return n}function X2(e,o,n,a){switch(e.type){case q2:if(e.children.length)break;case Bz:case zz:case qp:return e.return=e.return||e.value;case F2:return"";case Cz:return e.return=e.value+"{"+dl(e.children,a)+"}";case wd:if(!cr(e.value=e.props.join(",")))return""}return cr(n=dl(e.children,a))?e.return=e.value+"{"+n+"}":""}function $2(e){var o=L2(e);return function(n,a,l,c){for(var u="",d=0;d<o;d++)u+=e[d](n,a,l,c)||"";return u}}function K2(e){return function(o){o.root||(o=o.return)&&e(o)}}const Lz=e=>{switch(e.type){case wd:if(typeof e.props=="string")return;e.props=e.props.map(o=>o.indexOf(":global(")===-1?o:Mz(o).reduce((n,a,l,c)=>{if(a==="")return n;if(a===":"&&c[l+1]==="global"){const u=c[l+2].slice(1,-1)+" ";return n.unshift(u),c[l+1]="",c[l+2]="",n}return n.push(a),n},[]).join(""))}};function Q2(e,o,n){switch(Ez(e,o)){case 5103:return ir+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return ir+e+e;case 4215:if($t(e,9)===102||$t(e,o+1)===116)return ir+e+e;break;case 4789:return Rs+e+e;case 5349:case 4246:case 6968:return ir+e+Rs+e+e;case 6187:if(!P2(e,/grab/))return To(To(To(e,/(zoom-|grab)/,ir+"$1"),/(image-set)/,ir+"$1"),e,"")+e;case 5495:case 3959:return To(e,/(image-set\([^]*)/,ir+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return To(e,/(.+)-inline(.+)/,ir+"$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(cr(e)-1-o>6)switch($t(e,o+1)){case 102:if($t(e,o+3)===108)return To(e,/(.+:)(.+)-([^]+)/,"$1"+ir+"$2-$3$1"+Rs+($t(e,o+3)==108?"$3":"$2-$3"))+e;case 115:return~Rz(e,"stretch")?Q2(To(e,"stretch","fill-available"),o)+e:e}break}return e}function Z2(e,o,n,a){if(e.length>-1&&!e.return)switch(e.type){case qp:e.return=Q2(e.value,e.length);return;case wd:if(e.length)return jz(e.props,function(l){switch(P2(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return dl([mg(e,{props:[To(l,/:(read-\w+)/,":"+Rs+"$1")]})],a);case"::placeholder":return dl([mg(e,{props:[To(l,/:(plac\w+)/,":"+ir+"input-$1")]}),mg(e,{props:[To(l,/:(plac\w+)/,":"+Rs+"$1")]})],a)}return""})}}function Iz(e){switch(e.type){case"@container":case kz:case _z:case q2:return!0}return!1}const Uz=e=>{Iz(e)&&Array.isArray(e.children)&&e.children.sort((o,n)=>o.props[0]>n.props[0]?1:-1)};function Vz(e,o){const n=[];return dl(W2(e),$2([Lz,Uz,Z2,X2,K2(a=>n.push(a))])),n}const Gz=/[A-Z]/g,Wz=/^ms-/,vg={};function Xz(e){return"-"+e.toLowerCase()}function Li(e){if(Object.prototype.hasOwnProperty.call(vg,e))return vg[e];if(e.substr(0,2)==="--")return e;const o=e.replace(Gz,Xz);return vg[e]=Wz.test(o)?"-"+o:o}function Y2(e){return e.charAt(0)==="&"?e.slice(1):e}const $z=/,( *[^ &])/g;function Kz(e){return"&"+Y2(e.replace($z,",&$1"))}function fy(e,o){return o.reduceRight((n,a)=>`${Kz(a)} { ${n} }`,e)}function hy(e,o){const{className:n,selectors:a,property:l,rtlClassName:c,rtlProperty:u,rtlValue:d,value:h}=e,{container:g,layer:v,media:m,scope:x,supports:k}=o,w=`.${n}`,y=Array.isArray(h)?`${h.map(R=>`${Li(l)}: ${R}`).join(";")};`:`${Li(l)}: ${h};`,z=fy(y,a);let _=x?`@scope (${w}) ${x} { :scope{${z}} }`:`${w}{${z}}`;if(u&&c){const R=`.${c}`,C=Array.isArray(d)?`${d.map(E=>`${Li(u)}: ${E}`).join(";")};`:`${Li(u)}: ${d};`,T=fy(C,a);_+=x?`@scope (${R}) ${x} { :scope{${T}} }`:`${R}{${T}}`}return m&&(_=`@media ${m} { ${_} }`),v&&(_=`@layer ${v} { ${_} }`),k&&(_=`@supports ${k} { ${_} }`),g&&(_=`@container ${g} { ${_} }`),Vz(_)}function Qz(e){let o="";for(const n in e){const a=e[n];if(typeof a=="string"||typeof a=="number"){o+=Li(n)+":"+a+";";continue}if(Array.isArray(a))for(const l of a)o+=Li(n)+":"+l+";"}return o}function gy(e){let o="";for(const n in e)o+=`${n}{${Qz(e[n])}}`;return o}function py(e,o){const n=`@keyframes ${e} {${o}}`,a=[];return dl(W2(n),$2([X2,Z2,K2(l=>a.push(l))])),a}const my={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function vy(e,o){if(o.media)return"m";if(o.layer||o.supports)return"t";if(o.container)return"c";if(e.length>0){const n=e[0].trim();if(n.charCodeAt(0)===58)return my[n.slice(4,8)]||my[n.slice(3,5)]||"d"}return"d"}const Zz={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 by(e,o){return e.length===0?o:`${e} and ${o}`}function _s(e,o){return e&&o+e}function J2(e){return _s(e.container,"c")+_s(e.media,"m")+_s(e.layer,"l")+_s(e.supports,"s")+_s(e.scope,"o")}function bg(e,o,n){const a=e+J2(n)+o,l=Ms(a),c=l.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+l.slice(1):l}function Ru({property:e,selector:o,salt:n,value:a},l){return op+Ms(n+o+J2(l)+e+a.trim())}function Yz(e){return e.substring(0,10)==="@container"}function Jz(e){return e.substr(0,6)==="@layer"}function e6(e){return e.substr(0,6)==="@media"}const t6=/^(:|\[|>|&)/;function o6(e){return t6.test(e)}function r6(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function n6(e){return e===np}function a6(e){return e.substring(0,6)==="@scope"}function i6(e){return e.substr(0,9)==="@supports"}function yg(e){return e.replace(/>\s+/g,">")}function yy(e){return Zz[e]}function xy(e){var o;return(o=e==null?void 0:e[0])!==null&&o!==void 0?o:0}function xg(e,o,n,a){e[o]=a?[n,a]:n}function wy(e,o){return o.length>0?[e,Object.fromEntries(o)]:e}function wg(e,o,n,a,l,c){var u;const d=[];c!==0&&d.push(["p",c]),o==="m"&&l&&d.push(["m",l]),(u=e[o])!==null&&u!==void 0||(e[o]=[]),n&&e[o].push(wy(n,d)),a&&e[o].push(wy(a,d))}function Cr(e,o="",n=[],a={container:"",layer:"",media:"",supports:"",scope:""},l={},c={},u){for(const d in e){if(Z_.hasOwnProperty(d)){e[d];continue}const h=e[d];if(h!=null){if(n6(h)){const g=yg(n.join("")),v=bg(g,d,a);xg(l,v,0,void 0);continue}if(typeof h=="string"||typeof h=="number"){const g=yg(n.join("")),v=yy(d);if(v){const T=v[1],E=Object.fromEntries(T.map(j=>[j,np]));Cr(E,o,n,a,l,c)}const m=bg(g,d,a),x=Ru({value:h.toString(),salt:o,selector:g,property:d},a),k=u&&{key:d,value:u}||ap(d,h),w=k.key!==d||k.value!==h,y=w?Ru({value:k.value.toString(),property:k.key,salt:o,selector:g},a):void 0,z=w?{rtlClassName:y,rtlProperty:k.key,rtlValue:k.value}:void 0,_=vy(n,a),[R,C]=hy({className:x,selectors:n,property:d,value:h,...z},a);xg(l,m,x,y),wg(c,_,R,C,a.media,xy(v))}else if(d==="animationName"){const g=Array.isArray(h)?h:[h],v=[],m=[];for(const x of g){const k=gy(x),w=gy(O2(x)),y=op+Ms(k);let z;const _=py(y,k);let R=[];k===w?z=y:(z=op+Ms(w),R=py(z,w));for(let C=0;C<_.length;C++)wg(c,"k",_[C],R[C],a.media,0);v.push(y),m.push(z)}Cr({animationName:v.join(", ")},o,n,a,l,c,m.join(", "))}else if(Array.isArray(h)){if(h.length===0)continue;const g=yg(n.join("")),v=yy(d);if(v){const E=v[1],j=Object.fromEntries(E.map(M=>[M,np]));Cr(j,o,n,a,l,c)}const m=bg(g,d,a),x=Ru({value:h.map(E=>(E??"").toString()).join(";"),salt:o,selector:g,property:d},a),k=h.map(E=>ap(d,E));if(!!k.some(E=>E.key!==k[0].key))continue;const y=k[0].key!==d||k.some((E,j)=>E.value!==h[j]),z=y?Ru({value:k.map(E=>{var j;return((j=E==null?void 0:E.value)!==null&&j!==void 0?j:"").toString()}).join(";"),salt:o,property:k[0].key,selector:g},a):void 0,_=y?{rtlClassName:z,rtlProperty:k[0].key,rtlValue:k.map(E=>E.value)}:void 0,R=vy(n,a),[C,T]=hy({className:x,selectors:n,property:d,value:h,..._},a);xg(l,m,x,z),wg(c,R,C,T,a.media,xy(v))}else if(r6(h)){if(o6(d))Cr(h,o,n.concat(Y2(d)),a,l,c);else if(e6(d)){const g=by(a.media,d.slice(6).trim());Cr(h,o,n,{...a,media:g},l,c)}else if(Jz(d)){const g=(a.layer?`${a.layer}.`:"")+d.slice(6).trim();Cr(h,o,n,{...a,layer:g},l,c)}else if(i6(d)){const g=by(a.supports,d.slice(9).trim());Cr(h,o,n,{...a,supports:g},l,c)}else if(Yz(d)){const g=d.slice(10).trim();Cr(h,o,n,{...a,container:g},l,c)}else if(a6(d)){if(a.scope)continue;const g=d.slice(6).trim();if(g===""||!g.startsWith("to "))continue;Cr(h,o,n,{...a,scope:g},l,c)}}}}return[l,c]}function l6(e,o=""){const n={},a={};for(const l in e){const c=e[l],[u,d]=Cr(c,o);n[l]=u,Object.keys(d).forEach(h=>{a[h]=(a[h]||[]).concat(d[h])})}return[n,a]}function s6(e,o=Fp){const n=o();let a=null,l=null,c=null,u=null;function d(h){const{dir:g,renderer:v}=h;a===null&&([a,l]=l6(e,v.classNameHashSalt));const m=g==="ltr";return m?c===null&&(c=od(a,g)):u===null&&(u=od(a,g)),n(v,l),m?c:u}return d}function ew(e,o,n=Fp){const a=n();let l=null,c=null;function u(d){const{dir:h,renderer:g}=d,v=h==="ltr";return v?l===null&&(l=od(e,h)):c===null&&(c=od(e,h)),a(g,o),v?l:c}return u}function c6(e,o,n,a=Fp){const l=a();function c(u){const{dir:d,renderer:h}=u,g=d==="ltr"?e:o||e;return l(h,Array.isArray(n)?{r:n}:n),g}return c}function u6(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Sy=Fg.useInsertionEffect?Fg.useInsertionEffect:void 0,Hp=()=>{const e={};return function(n,a){if(Sy&&u6()){Sy(()=>{n.insertCSSRules(a)},[n,a]);return}e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}},d6=b.createContext(sz());function ec(){return b.useContext(d6)}const tw=b.createContext("ltr"),f6=({children:e,dir:o})=>B.jsx(tw.Provider,{value:o,children:e});function Pp(){return b.useContext(tw)}function or(e){const o=s6(e,Hp);return function(){const a=Pp(),l=ec();return o({dir:a,renderer:l})}}function ve(e,o){const n=ew(e,o,Hp);return function(){const l=Pp(),c=ec();return n({dir:l,renderer:c})}}function Ee(e,o,n){const a=c6(e,o,n,Hp);return function(){const c=Pp(),u=ec();return a({dir:c,renderer:u})}}const h6={"<":"\\3C ",">":"\\3E "};function g6(e){return e.replace(/[<>]/g,o=>h6[o])}function p6(e,o){if(o){const n=Object.keys(o).reduce((a,l)=>`${a}--${l}: ${o[l]}; `,"");return`${e} { ${g6(n)} }`}return`${e} {}`}const rd=Symbol.for("fui.slotRenderFunction"),fl=Symbol.for("fui.slotElementType"),ow=Symbol.for("fui.slotClassNameProp");function Ne(e,o){const{defaultProps:n,elementType:a}=o,l=m6(e),c={...n,...l,[fl]:a,[ow]:(l==null?void 0:l.className)||(n==null?void 0:n.className)};return l&&typeof l.children=="function"&&(c[rd]=l.children,c.children=n==null?void 0:n.children),c}function De(e,o){if(!(e===null||e===void 0&&!o.renderByDefault))return Ne(e,o)}function m6(e){return typeof e=="string"||typeof e=="number"||v6(e)||b.isValidElement(e)?{children:e}:e}const v6=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function Lp(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!b.isValidElement(e)}function ky(e){return!!(e!=null&&e.hasOwnProperty(fl))}const ct=(...e)=>{const o={};for(const n of e){const a=Array.isArray(n)?n:Object.keys(n);for(const l of a)o[l]=1}return o},b6=ct(["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"]),y6=ct(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),x6=ct(["itemID","itemProp","itemRef","itemScope","itemType"]),Tt=ct(y6,b6,x6),w6=ct(Tt,["form"]),rw=ct(Tt,["height","loop","muted","preload","src","width"]),S6=ct(rw,["poster"]),k6=ct(Tt,["start"]),B6=ct(Tt,["value"]),_6=ct(Tt,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),z6=ct(Tt,["dateTime"]),_d=ct(Tt,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),C6=ct(_d,["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"]),N6=ct(_d,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),T6=ct(_d,["form","multiple","required"]),E6=ct(Tt,["selected","value"]),R6=ct(Tt,["cellPadding","cellSpacing"]),j6=Tt,A6=ct(Tt,["colSpan","rowSpan","scope"]),D6=ct(Tt,["colSpan","headers","rowSpan","scope"]),M6=ct(Tt,["span"]),O6=ct(Tt,["span"]),F6=ct(Tt,["disabled","form"]),q6=ct(Tt,["acceptCharset","action","encType","encType","method","noValidate","target"]),H6=ct(Tt,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),P6=ct(Tt,["alt","crossOrigin","height","src","srcSet","useMap","width"]),L6=ct(Tt,["open","onCancel","onClose"]);function I6(e,o,n){const a=Array.isArray(o),l={},c=Object.keys(e);for(const u of c)(!a&&o[u]||a&&o.indexOf(u)>=0||u.indexOf("data-")===0||u.indexOf("aria-")===0)&&(!n||(n==null?void 0:n.indexOf(u))===-1)&&(l[u]=e[u]);return l}const U6={label:w6,audio:rw,video:S6,ol:k6,li:B6,a:_6,button:_d,input:C6,textarea:N6,select:T6,option:E6,table:R6,tr:j6,th:A6,td:D6,colGroup:M6,col:O6,fieldset:F6,form:q6,iframe:H6,img:P6,time:z6,dialog:L6};function nw(e,o,n){const a=e&&U6[e]||Tt;return a.as=1,I6(o,a,n)}const yl=({primarySlotTagName:e,props:o,excludedPropNames:n})=>({root:{style:o.style,className:o.className},primary:nw(e,o,[...n||[],"style","className"])}),Et=(e,o,n)=>{var a;return nw((a=o.as)!==null&&a!==void 0?a:e,o,n)};function aw(e,o){const n=b.useRef(void 0),a=b.useCallback((c,u)=>(n.current!==void 0&&o(n.current),n.current=e(c,u),n.current),[o,e]),l=b.useCallback(()=>{n.current!==void 0&&(o(n.current),n.current=void 0)},[o]);return b.useEffect(()=>l,[l]),[a,l]}const iw=b.createContext(void 0),V6=iw.Provider,lw=b.createContext(void 0),G6="",W6=lw.Provider;function X6(){var e;return(e=b.useContext(lw))!==null&&e!==void 0?e:G6}const sw=b.createContext(void 0),$6={},K6=sw.Provider;function Q6(){var e;return(e=b.useContext(sw))!==null&&e!==void 0?e:$6}const cw=b.createContext(void 0),Z6={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},Y6=cw.Provider;function Qe(){var e;return(e=b.useContext(cw))!==null&&e!==void 0?e:Z6}const uw=b.createContext(void 0),J6=uw.Provider;function Ip(){var e;return(e=b.useContext(uw))!==null&&e!==void 0?e:{}}const Up=b.createContext(void 0),eC=()=>{},tC=Up.Provider,Xe=e=>{var o,n;return(n=(o=b.useContext(Up))===null||o===void 0?void 0:o[e])!==null&&n!==void 0?n:eC},dw=b.createContext(void 0);dw.Provider;function oC(){return b.useContext(dw)}const fw=b.createContext(void 0);fw.Provider;function rC(){var e;return(e=b.useContext(fw))!==null&&e!==void 0?e:{announce:()=>{}}}const nC=e=>(e(0),0),aC=e=>e;function iC(){const{targetDocument:e}=Qe(),o=e==null?void 0:e.defaultView,n=o?o.requestAnimationFrame:nC,a=o?o.cancelAnimationFrame:aC;return aw(n,a)}function lC(e){return typeof e=="function"}const Ao=e=>{"use no memo";const[o,n]=b.useState(()=>e.defaultState===void 0?e.initialState:sC(e.defaultState)?e.defaultState():e.defaultState),a=b.useRef(e.state);b.useEffect(()=>{a.current=e.state},[e.state]);const l=b.useCallback(c=>{lC(c)&&c(a.current)},[]);return cC(e.state)?[e.state,l]:[o,n]};function sC(e){return typeof e=="function"}const cC=e=>{"use no memo";const[o]=b.useState(()=>e!==void 0);return o};function zd(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const hw={current:0},uC=b.createContext(void 0);function gw(){var e;return(e=b.useContext(uC))!==null&&e!==void 0?e:hw}function dC(){const e=gw()!==hw,[o,n]=b.useState(e);return zd()&&e&&b.useLayoutEffect(()=>{n(!1)},[]),o}const Dt=zd()?b.useLayoutEffect:b.useEffect,pe=e=>{const o=b.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Dt(()=>{o.current=e},[e]),b.useCallback((...n)=>{const a=o.current;return a(...n)},[o])};function Vp(){const e=b.useRef(!0);return b.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function fC(){return b.useReducer(e=>e+1,0)[1]}const pw=b.createContext(void 0);pw.Provider;function hC(){return b.useContext(pw)||""}function Qt(e="fui-",o){"use no memo";const n=gw(),a=hC(),l=Zu.useId;if(l){const c=l(),u=b.useMemo(()=>c.replace(/:/g,""),[c]);return o||`${a}${e}${u}`}return b.useMemo(()=>o||`${a}${e}${++n.current}`,[a,e,o,n])}function at(...e){"use no memo";const o=b.useCallback(n=>{o.current=n;for(const a of e)typeof a=="function"?a(n):a&&(a.current=n)},[...e]);return o}const mw=(e,o)=>!!(e!=null&&e.contains(o)),Gp=e=>{const{targetDocument:o}=Qe(),n=o==null?void 0:o.defaultView,{refs:a,callback:l,element:c,disabled:u,disabledFocusOnIframe:d,contains:h=mw}=e,g=b.useRef(void 0);pC({element:c,disabled:d||u,callback:l,refs:a,contains:h});const v=b.useRef(!1),m=pe(k=>{if(v.current){v.current=!1;return}const w=k.composedPath()[0];a.every(z=>!h(z.current||null,w))&&!u&&l(k)}),x=pe(k=>{v.current=a.some(w=>h(w.current||null,k.target))});b.useEffect(()=>{if(u)return;let k=gC(n);const w=y=>{if(y===k){k=void 0;return}m(y)};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",x,!0),g.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",x,!0),n==null||n.clearTimeout(g.current),k=void 0}},[m,c,u,x,n])},gC=e=>{if(e){var o,n;if(typeof e.window=="object"&&e.window===e)return e.event;var a;return(a=(n=e.ownerDocument)===null||n===void 0||(o=n.defaultView)===null||o===void 0?void 0:o.event)!==null&&a!==void 0?a:void 0}},Sg="fuiframefocus",pC=e=>{const{disabled:o,element:n,callback:a,contains:l=mw,pollDuration:c=100,refs:u}=e,d=b.useRef(void 0),h=pe(g=>{u.every(m=>!l(m.current||null,g.target))&&!o&&a(g)});b.useEffect(()=>{if(!o)return n==null||n.addEventListener(Sg,h,!0),()=>{n==null||n.removeEventListener(Sg,h,!0)}},[n,o,h]),b.useEffect(()=>{var g;if(!o)return d.current=n==null||(g=n.defaultView)===null||g===void 0?void 0:g.setInterval(()=>{const v=n==null?void 0:n.activeElement;if((v==null?void 0:v.tagName)==="IFRAME"||(v==null?void 0:v.tagName)==="WEBVIEW"){const m=new CustomEvent(Sg,{bubbles:!0});v.dispatchEvent(m)}},c),()=>{var v;n==null||(v=n.defaultView)===null||v===void 0||v.clearInterval(d.current)}},[n,o,c])},vw=e=>{const{refs:o,callback:n,element:a,disabled:l,contains:c}=e,u=pe(d=>{const h=c||((m,x)=>!!(m!=null&&m.contains(x))),g=d.composedPath()[0];o.every(m=>!h(m.current||null,g))&&!l&&n(d)});b.useEffect(()=>{if(!l)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,l])},mC=e=>-1,vC=e=>{};function xl(){const{targetDocument:e}=Qe(),o=e==null?void 0:e.defaultView,n=o?o.setTimeout:mC,a=o?o.clearTimeout:vC;return aw(n,a)}const bC=parseInt(b.version,10)>=19;function tc(e){if(e)return bC?e.props.ref:e.ref}function Ae(e,o){return(...n)=>{e==null||e(...n),o==null||o(...n)}}function pr(e,o){var n;const a=e;var l;return!!(!(a==null||(n=a.ownerDocument)===null||n===void 0)&&n.defaultView&&a instanceof a.ownerDocument.defaultView[(l=o==null?void 0:o.constructorName)!==null&&l!==void 0?l:"HTMLElement"])}function bw(e){return!!e.type.isFluentTriggerComponent}function Cd(e,o){return typeof e=="function"?e(o):e?yw(e,o):e||null}function yw(e,o){if(!b.isValidElement(e)||e.type===b.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(bw(e)){const n=yw(e.props.children,o);return b.cloneElement(e,void 0,n)}else return b.cloneElement(e,o)}function oc(e){return b.isValidElement(e)?bw(e)?oc(e.props.children):e:null}function yC(e){return e&&!!e._virtual}function xC(e){return yC(e)&&e._virtual.parent||null}function xw(e,o={}){if(!e)return null;if(!o.skipVirtual){const a=xC(e);if(a)return a}const n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Os(e,o){if(!e||!o)return!1;if(e===o)return!0;{const n=new WeakSet;for(;o;){const a=xw(o,{skipVirtual:n.has(o)});if(n.add(o),a===e)return!0;o=a}}return!1}function By(e,o){e&&Object.assign(e,{_virtual:{parent:o}})}function wC(e,o){return{...o,[fl]:e}}function ww(e,o){return function(a,l,c,u,d){return ky(l)?o(wC(a,l),null,c,u,d):ky(a)?o(a,l,c,u,d):e(a,l,c,u,d)}}function Sw(e){const{as:o,[ow]:n,[fl]:a,[rd]:l,...c}=e,u=c,d=typeof a=="string"?o??a:a;return typeof d!="string"&&o&&(u.as=o),{elementType:d,props:u,renderFunction:l}}const Ia=SB,SC=(e,o,n)=>{const{elementType:a,renderFunction:l,props:c}=Sw(e),u={...c,...o};return l?Ia.jsx(b.Fragment,{children:l(a,u)},n):Ia.jsx(a,u,n)},kC=(e,o,n)=>{const{elementType:a,renderFunction:l,props:c}=Sw(e),u={...c,...o};return l?Ia.jsx(b.Fragment,{children:l(a,{...u,children:Ia.jsxs(b.Fragment,{children:u.children},void 0)})},n):Ia.jsxs(a,u,n)},ne=ww(Ia.jsx,SC),it=ww(Ia.jsxs,kC),kw=b.createContext(void 0),BC={},_C=kw.Provider,zC=()=>{const e=b.useContext(kw);return e??BC},CC=(e,o)=>ne(Y6,{value:o.provider,children:ne(V6,{value:o.theme,children:ne(W6,{value:o.themeClassName,children:ne(tC,{value:o.customStyleHooks_unstable,children:ne(K6,{value:o.tooltip,children:ne(f6,{dir:o.textDirection,children:ne(_C,{value:o.iconDirection,children:ne(J6,{value:o.overrides_unstable,children:it(e.root,{children:[zd()?null:ne("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 un="data-tabster",NC="data-tabster-dummy",Bw=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,Vi={EscapeGroupper:1,Restorer:2,Deloser:3},Wn={Invisible:0,PartiallyVisible:1,Visible:2},Ga={Source:0,Target:1},ur={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},kt={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},TC={Outside:2};/*!
64
- * Copyright (c) Microsoft Corporation. All rights reserved.
65
- * Licensed under the MIT License.
66
- */function ro(e,o){var n;return(n=e.storageEntry(o))==null?void 0:n.tabster}function _w(e,o,n){var g,v;const a=n||e._noop?void 0:o.getAttribute(un);let l=e.storageEntry(o),c;if(a)if(a!==((g=l==null?void 0:l.attr)==null?void 0:g.string))try{const m=JSON.parse(a);if(typeof m!="object")throw new Error(`Value is not a JSON object, got '${a}'.`);c={string:a,object:m}}catch{}else return;else if(!l)return;l||(l=e.storageEntry(o,!0)),l.tabster||(l.tabster={});const u=l.tabster||{},d=((v=l.attr)==null?void 0:v.object)||{},h=(c==null?void 0:c.object)||{};for(const m of Object.keys(d))if(!h[m]){if(m==="root"){const x=u[m];x&&e.root.onRoot(x,!0)}switch(m){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const x=u[m];x&&(x.dispose(),delete u[m]);break;case"observed":delete u[m],e.observedElement&&e.observedElement.onObservedElementUpdate(o);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete u[m];break}}for(const m of Object.keys(h)){const x=h.sys;switch(m){case"root":u.root?u.root.setProps(h.root):u.root=e.root.createRoot(o,h.root,x),e.root.onRoot(u.root);break;case"focusable":u.focusable=h.focusable;break;case"observed":e.observedElement&&(u.observed=h.observed,e.observedElement.onObservedElementUpdate(o));break;case"uncontrolled":u.uncontrolled=h.uncontrolled;break;case"outline":e.outline&&(u.outline=h.outline);break;case"sys":u.sys=h.sys;break;default:{const k=e.attrHandlers.get(m);k&&(u[m]=k(o,u[m],h[m],d==null?void 0:d[m],x))}}}c?l.attr=c:(Object.keys(u).length===0&&(delete l.tabster,delete l.attr),e.storageEntry(o,!1))}/*!
67
- * Copyright (c) Microsoft Corporation. All rights reserved.
68
- * Licensed under the MIT License.
69
- */const Rr=(e,o,n)=>{e.addEventListener(o,n,!0)},Ko=(e,o,n)=>{e.removeEventListener(o,n,!0)};/*!
70
- * Copyright (c) Microsoft Corporation. All rights reserved.
71
- * Licensed under the MIT License.
72
- */const Do="keyborg:focusin",Fs="keyborg:focusout",_y=0,zy=1,Cy=2,ju=3;function EC(e){const o=e.HTMLElement,n=o.prototype.focus;let a=!1;return o.prototype.focus=function(){a=!0},e.document.createElement("button").focus(),o.prototype.focus=n,a}let kg=!1;function gn(e){const o=e.focus;o.__keyborgNativeFocus?o.__keyborgNativeFocus.call(e):e.focus()}function RC(e){const o=e,n=o.document,a=o.HTMLElement.prototype;kg||(kg=EC(o));const l=a.focus;if(l.__keyborgNativeFocus)return;a.focus=v;const c=new Set,u=x=>{const k=x.target;if(!k)return;const w=new CustomEvent(Fs,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:x}});k.dispatchEvent(w)},d=x=>{const k=x.target;if(!k)return;let w=x.composedPath()[0];const y=new Set;for(;w;)w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(y.add(w),w=w.host):w=w.parentNode;for(const z of c){const _=z.deref();(!_||!y.has(_))&&(c.delete(z),_&&(Ko(_,"focusin",d),Ko(_,"focusout",u)))}h(k,x.relatedTarget||void 0)},h=(x,k,w)=>{var R;const y=x.shadowRoot;if(y){for(const C of c)if(C.deref()===y)return;Rr(y,"focusin",d),Rr(y,"focusout",u),c.add(new WeakRef(y));return}const z={relatedTarget:k,originalEvent:w},_=new CustomEvent(Do,{cancelable:!0,bubbles:!0,composed:!0,detail:z});_.details=z,(kg||g[ju])&&(z.isFocusedProgrammatically=x===((R=g[ju])==null?void 0:R.deref()),g[ju]=void 0),x.dispatchEvent(_)},g=[d,u,c];o.__keyborgData=g,Rr(n,"focusin",d),Rr(n,"focusout",u);function v(){const x=o.__keyborgData;return x&&(x[ju]=new WeakRef(this)),l.apply(this,arguments)}let m=n.activeElement;for(;m&&m.shadowRoot;)h(m),m=m.shadowRoot.activeElement;v.__keyborgNativeFocus=l}function jC(e){const o=e,n=o.HTMLElement.prototype,a=n.focus.__keyborgNativeFocus,l=o.__keyborgData;if(l){const c=o.document;Ko(c,"focusin",l[_y]),Ko(c,"focusout",l[zy]);for(const u of l[Cy]){const d=u.deref();d&&(Ko(d,"focusin",l[_y]),Ko(d,"focusout",l[zy]))}l[Cy].clear(),delete o.__keyborgData}a&&(n.focus=a)}let AC=0;function DC(e,o){let n=e,a=!1,l;const c=()=>{var y;const w=(y=n==null?void 0:n.__keyborg)==null?void 0:y.refs;if(w)for(const z of Object.keys(w))w[z]._cb.forEach(_=>_(a))},u=w=>{a!==w&&(a=w,c())},d=w=>{if(w.key==="Tab")return!0;const y=n==null?void 0:n.document.activeElement,z=!0,_=y&&(y.tagName==="INPUT"||y.tagName==="TEXTAREA"||y.isContentEditable);return z&&!_},h=w=>{if(l||a)return;const y=w.detail;y.relatedTarget&&(y.isFocusedProgrammatically||y.isFocusedProgrammatically===void 0||u(!0))},g=()=>{n&&(l&&n.clearTimeout(l),l=n.setTimeout(()=>{l=void 0},1e3)),u(!1)},v=w=>{w.buttons===0||w.clientX===0&&w.clientY===0&&w.screenX===0&&w.screenY===0||g()},m=w=>{a||d(w)&&u(!0)},x=e.document;return Rr(x,Do,h),Rr(x,"mousedown",v),Rr(e,"keydown",m),Rr(x,"touchstart",g),Rr(x,"touchend",g),Rr(x,"touchcancel",g),RC(e),{dispose:()=>{if(!n)return;l&&(n.clearTimeout(l),l=void 0),jC(n);const w=n.document;Ko(w,Do,h),Ko(w,"mousedown",v),Ko(n,"keydown",m),Ko(w,"touchstart",g),Ko(w,"touchend",g),Ko(w,"touchcancel",g),n=void 0},get isNavigatingWithKeyboard(){return a},set isNavigatingWithKeyboard(w){u(w)}}}function Nd(e,o){const n=e,a="k"+ ++AC;let l=n,c;const u=[],d=n.__keyborg;d?c=d.core:c=DC(n);const h={isNavigatingWithKeyboard(){return!!(c!=null&&c.isNavigatingWithKeyboard)},subscribe(g){u.push(g)},unsubscribe(g){const v=u.indexOf(g);v>=0&&u.splice(v,1)},setVal(g){c&&(c.isNavigatingWithKeyboard=g)},_cb:u,dispose(){const g=l==null?void 0:l.__keyborg;g!=null&&g.refs[a]&&(delete g.refs[a],Object.keys(g.refs).length===0&&(g.core.dispose(),delete l.__keyborg)),u.length=0,c=void 0,l=void 0}};return d?d.refs[a]=h:n.__keyborg={core:c,refs:{[a]:h}},h}function Td(e){e.dispose()}/*!
73
- * Copyright (c) Microsoft Corporation. All rights reserved.
74
- * Licensed under the MIT License.
75
- */const MC="tabster:focusin",OC="tabster:focusout",lp="tabster:movefocus",FC="tabster:modalizer:active",qC="tabster:modalizer:inactive",HC="tabster:mover:state",Ny="tabster:mover:movefocus",Ty="tabster:mover:memorized-element",sp="tabster:restorer:restore-focus",PC="tabster:root:focus",LC="tabster:root:blur",IC=typeof CustomEvent<"u"?CustomEvent:function(){};class bn extends IC{constructor(n,a){super(n,{bubbles:!0,cancelable:!0,composed:!0,detail:a});H(this,"details");this.details=a}}class UC extends bn{constructor(o){super(MC,o)}}class VC extends bn{constructor(o){super(OC,o)}}class Gi extends bn{constructor(o){super(lp,o)}}class Ey extends bn{constructor(o){super(HC,o)}}class GC extends bn{constructor(o){super(FC,o)}}class WC extends bn{constructor(o){super(qC,o)}}class Ry extends bn{constructor(){super(sp)}}class XC extends bn{constructor(o){super(PC,o)}}class $C extends bn{constructor(o){super(LC,o)}}/*!
76
- * Copyright (c) Microsoft Corporation. All rights reserved.
77
- * Licensed under the MIT License.
78
- */const KC=e=>new MutationObserver(e),QC=(e,o,n,a)=>e.createTreeWalker(o,n,a),ZC=e=>e?e.parentNode:null,YC=e=>e?e.parentElement:null,JC=(e,o)=>!!(o&&(e!=null&&e.contains(o))),eN=e=>e.activeElement,tN=(e,o)=>e.querySelector(o),oN=(e,o)=>Array.prototype.slice.call(e.querySelectorAll(o),0),rN=(e,o)=>e.getElementById(o),nN=e=>(e==null?void 0:e.firstChild)||null,aN=e=>(e==null?void 0:e.lastChild)||null,iN=e=>(e==null?void 0:e.nextSibling)||null,lN=e=>(e==null?void 0:e.previousSibling)||null,sN=e=>(e==null?void 0:e.firstElementChild)||null,cN=e=>(e==null?void 0:e.lastElementChild)||null,uN=e=>(e==null?void 0:e.nextElementSibling)||null,dN=e=>(e==null?void 0:e.previousElementSibling)||null,fN=(e,o)=>e.appendChild(o),hN=(e,o,n)=>e.insertBefore(o,n),gN=e=>{var o;return((o=e.ownerDocument)==null?void 0:o.getSelection())||null},pN=(e,o)=>e.ownerDocument.getElementsByName(o),ue={createMutationObserver:KC,createTreeWalker:QC,getParentNode:ZC,getParentElement:YC,nodeContains:JC,getActiveElement:eN,querySelector:tN,querySelectorAll:oN,getElementById:rN,getFirstChild:nN,getLastChild:aN,getNextSibling:iN,getPreviousSibling:lN,getFirstElementChild:sN,getLastElementChild:cN,getNextElementSibling:uN,getPreviousElementSibling:dN,appendChild:fN,insertBefore:hN,getSelection:gN,getElementsByName:pN};function mN(e){for(const o of Object.keys(e))ue[o]=e[o]}/*!
79
- * Copyright (c) Microsoft Corporation. All rights reserved.
80
- * Licensed under the MIT License.
81
- */let vN=0;function Ed(e){const o=e();let n=o.__tabsterInstanceContext;return n||(n={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0},o.__tabsterInstanceContext=n),n}function bN(e){const o=e.__tabsterInstanceContext;o&&(o.elementByUId={},o.containerBoundingRectCache={},o.containerBoundingRectCacheTimer&&e.clearTimeout(o.containerBoundingRectCacheTimer),delete e.__tabsterInstanceContext)}function yN(e){return!!e.querySelector(Bw)}class Yo{constructor(o,n){H(this,"_ref");H(this,"_data");this._ref=new WeakRef(o),this._data=n}get(){const o=this._ref;let n;return o&&(n=o.deref(),n||delete this._ref),n}getData(){return this._data}}function Wp(e,o,n){if(o.nodeType===Node.ELEMENT_NODE)return ue.createTreeWalker(e,o,NodeFilter.SHOW_ELEMENT,{acceptNode:n})}function zw(e,o){let n=o.__tabsterCacheId;const a=Ed(e),l=n?a.containerBoundingRectCache[n]:void 0;if(l)return l.rect;const c=o.ownerDocument&&o.ownerDocument.documentElement;if(!c)return new DOMRect;let u=0,d=0,h=c.clientWidth,g=c.clientHeight;if(o!==c){const m=o.getBoundingClientRect();u=Math.max(u,m.left),d=Math.max(d,m.top),h=Math.min(h,m.right),g=Math.min(g,m.bottom)}const v=new DOMRect(u<h?u:-1,d<g?d:-1,u<h?h-u:0,d<g?g-d:0);return n||(n="r-"+ ++a.lastContainerBoundingRectCacheId,o.__tabsterCacheId=n),a.containerBoundingRectCache[n]={rect:v,element:o},a.containerBoundingRectCacheTimer||(a.containerBoundingRectCacheTimer=window.setTimeout(()=>{a.containerBoundingRectCacheTimer=void 0;for(const m of Object.keys(a.containerBoundingRectCache))delete a.containerBoundingRectCache[m].element.__tabsterCacheId;a.containerBoundingRectCache={}},50)),v}function jy(e,o,n){const a=Cw(o);if(!a)return!1;const l=zw(e,a),c=o.getBoundingClientRect(),u=c.height*(1-n),d=Math.max(0,l.top-c.top),h=Math.max(0,c.bottom-l.bottom),g=d+h;return g===0||g<=u}function xN(e,o,n){const a=Cw(o);if(a){const l=zw(e,a),c=o.getBoundingClientRect();n?a.scrollTop+=c.top-l.top:a.scrollTop+=c.bottom-l.bottom}}function Cw(e){const o=e.ownerDocument;if(o){for(let n=ue.getParentElement(e);n;n=ue.getParentElement(n))if(n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight)return n;return o.documentElement}return null}function wN(e){e.__shouldIgnoreFocus=!0}function Nw(e){return!!e.__shouldIgnoreFocus}function SN(e){const o=new Uint32Array(4);e.crypto.getRandomValues(o);const n=[];for(let a=0;a<o.length;a++)n.push(o[a].toString(36));return n.push("|"),n.push((++vN).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function Ku(e,o){const n=Ed(e);let a=o.__tabsterElementUID;return a||(a=o.__tabsterElementUID=SN(e())),!n.elementByUId[a]&&Tw(o.ownerDocument,o)&&(n.elementByUId[a]=new Yo(o)),a}function Ay(e,o){const n=Ed(e);for(const a of Object.keys(n.elementByUId)){const l=n.elementByUId[a],c=l&&l.get();c&&o&&!ue.nodeContains(o,c)||delete n.elementByUId[a]}}function Tw(e,o){return ue.nodeContains(e==null?void 0:e.body,o)}function Ew(e,o){return typeof e.matches=="function"&&e.matches(o)}let kN=0;class Rd{constructor(o,n,a){H(this,"_tabster");H(this,"_element");H(this,"_props");H(this,"id");this._tabster=o,this._element=new Yo(n),this._props={...a},this.id="i"+ ++kN}getElement(){return this._element.get()}getProps(){return this._props}setProps(o){this._props={...o}}}function Rw(e){let o=null;for(let n=ue.getLastElementChild(e);n;n=ue.getLastElementChild(n))o=n;return o||void 0}function Bg(e,o,n,a){const l=e.storageEntry(o,!0);let c=!1;if(!l.aug){if(a===void 0)return c;l.aug={}}if(a===void 0){if(n in l.aug){const u=l.aug[n];delete l.aug[n],u===null?o.removeAttribute(n):o.setAttribute(n,u),c=!0}}else{let u;n in l.aug||(u=o.getAttribute(n)),u!==void 0&&u!==a&&(l.aug[n]=u,a===null?o.removeAttribute(n):o.setAttribute(n,a),c=!0)}return a===void 0&&Object.keys(l.aug).length===0&&(delete l.aug,e.storageEntry(o,!1)),c}function BN(e){var a,l;const o=e.ownerDocument,n=(a=o.defaultView)==null?void 0:a.getComputedStyle(e);return e.offsetParent===null&&o.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"||((l=e.parentElement)==null?void 0:l.offsetParent)===null&&o.body!==e.parentElement)}function cp(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function _N(e){if(!cp(e))return;const o=e.name;let n=Array.from(ue.getElementsByName(e,o)),a;return n=n.filter(l=>cp(l)?(l.checked&&(a=l),!0):!1),{name:o,buttons:new Set(n),checked:a}}/*!
82
- * Copyright (c) Microsoft Corporation. All rights reserved.
83
- * Licensed under the MIT License.
84
- */const _g=100;class nd{constructor(o,n,a,l,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",o=>{if(this._fixedTarget){const a=this._fixedTarget.get();a&&gn(a);return}const n=this.input;if(this.onFocusIn&&n){const a=o.relatedTarget;this.onFocusIn(this,this._isBackward(!0,n,a),a)}});H(this,"_focusOut",o=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const n=this.input;if(this.onFocusOut&&n){const a=o.relatedTarget;this.onFocusOut(this,this._isBackward(!1,n,a),a)}});const u=o(),d=u.document.createElement("i");d.tabIndex=0,d.setAttribute("role","none"),d.setAttribute(NC,""),d.setAttribute("aria-hidden","true");const h=d.style;h.position="fixed",h.width=h.height="1px",h.opacity="0.001",h.zIndex="-1",h.setProperty("content-visibility","hidden"),wN(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=l,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 o=this.input;o&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,o.removeEventListener("focusin",this._focusIn),o.removeEventListener("focusout",this._focusOut),delete o.__tabsterDummyContainer,(n=ue.getParentNode(o))==null||n.removeChild(o))}setTopLeft(o,n){var l;const a=(l=this.input)==null?void 0:l.style;a&&(a.top=`${o}px`,a.left=`${n}px`)}_isBackward(o,n,a){return o&&!a?!this.isFirst:!!(a&&n.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING)}}const Xp={Root:1,Modalizer:2,Mover:3};class qs{constructor(o,n,a,l,c,u){H(this,"_instance");H(this,"_onFocusIn");H(this,"_onFocusOut");H(this,"_element");this._element=n,this._instance=new CN(o,n,this,a,l,c,u)}_setHandlers(o,n){this._onFocusIn=o,this._onFocusOut=n}moveOut(o){var n;(n=this._instance)==null||n.moveOut(o)}moveOutWithDefaultAction(o,n){var a;(a=this._instance)==null||a.moveOutWithDefaultAction(o,n)}getHandler(o){return o?this._onFocusIn:this._onFocusOut}setTabbable(o){var n;(n=this._instance)==null||n.setTabbable(this,o)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(o,n,a,l,c){const d=new nd(o.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let h,g;if(n.tagName==="BODY")h=n,g=a&&l||!a&&!l?ue.getFirstElementChild(n):null;else{a&&(!l||l&&!o.focusable.isFocusable(n,!1,!0,!0))?(h=n,g=l?n.firstElementChild:null):(h=ue.getParentElement(n),g=a&&l||!a&&!l?n:ue.getNextElementSibling(n));let v,m;do v=a&&l||!a&&!l?ue.getPreviousElementSibling(g):g,m=Hs(v),m===n?g=a&&l||!a&&!l?v:ue.getNextElementSibling(v):m=null;while(m)}h!=null&&h.dispatchEvent(new Gi({by:"root",owner:h,next:null,relatedEvent:c}))&&(ue.insertBefore(h,d,g),gn(d))}}static addPhantomDummyWithTarget(o,n,a,l){const u=new nd(o.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Yo(l)).input;if(u){let d,h;yN(n)&&!a?(d=n,h=ue.getFirstElementChild(n)):(d=ue.getParentElement(n),h=a?n:ue.getNextElementSibling(n)),d&&ue.insertBefore(d,u,h)}}}class zN{constructor(o){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",o=>{var n;this._changedParents.has(o)||(this._changedParents.add(o),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=(n=this._win)==null?void 0:n.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(const a of this._dummyElements){const l=a.get();if(l){const c=this._dummyCallbacks.get(l);if(c){const u=ue.getParentNode(l);(!u||this._changedParents.has(u))&&c()}}}this._changedParents=new WeakSet},_g)))});this._win=o}add(o,n){!this._dummyCallbacks.has(o)&&this._win&&(this._dummyElements.push(new Yo(o)),this._dummyCallbacks.set(o,n),this.domChanged=this._domChanged)}remove(o){this._dummyElements=this._dummyElements.filter(n=>{const a=n.get();return a&&a!==o}),this._dummyCallbacks.delete(o),this._dummyElements.length===0&&delete this.domChanged}dispose(){var n;const o=(n=this._win)==null?void 0:n.call(this);this._updateTimer&&(o==null||o.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(o==null||o.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(o){this._win&&(this._updateQueue.add(o),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var o;this._updateTimer||(this._updateTimer=(o=this._win)==null?void 0:o.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+_g<=Date.now()){const n=new Map,a=[];for(const l of this._updateQueue)a.push(l(n));this._updateQueue.clear();for(const l of a)l();n.clear()}else this._scheduledUpdatePositions()},_g))}}class CN{constructor(o,n,a,l,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",(o,n,a)=>{this._onFocus(!0,o,n,a)});H(this,"_onFocusOut",(o,n,a)=>{this._onFocus(!1,o,n,a)});H(this,"moveOut",o=>{var l;const n=this._firstDummy,a=this._lastDummy;if(n&&a){this._ensurePosition();const c=n.input,u=a.input,d=(l=this._element)==null?void 0:l.get();if(c&&u&&d){let h;o?(c.tabIndex=0,h=c):(u.tabIndex=0,h=u),h&&gn(h)}}});H(this,"moveOutWithDefaultAction",(o,n)=>{var c;const a=this._firstDummy,l=this._lastDummy;if(a&&l){this._ensurePosition();const u=a.input,d=l.input,h=(c=this._element)==null?void 0:c.get();if(u&&d&&h){let g;o?!a.isOutside&&this._tabster.focusable.isFocusable(h,!0,!0,!0)?g=h:(a.useDefaultAction=!0,u.tabIndex=0,g=u):(l.useDefaultAction=!0,d.tabIndex=0,g=d),g&&h.dispatchEvent(new Gi({by:"root",owner:h,next:null,relatedEvent:n}))&&gn(g)}}});H(this,"setTabbable",(o,n)=>{var l,c;for(const u of this._wrappers)if(u.manager===o){u.tabbable=n;break}const a=this._getCurrent();if(a){const u=a.tabbable?0:-1;let d=(l=this._firstDummy)==null?void 0:l.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",o=>{var h,g;const n=((h=this._firstDummy)==null?void 0:h.input)||((g=this._lastDummy)==null?void 0:g.input),a=this._transformElements,l=new Set;let c=0,u=0;const d=this._getWindow();for(let v=n;v&&v.nodeType===Node.ELEMENT_NODE;v=ue.getParentElement(v)){let m=o.get(v);if(m===void 0){const x=d.getComputedStyle(v).transform;x&&x!=="none"&&(m={scrollTop:v.scrollTop,scrollLeft:v.scrollLeft}),o.set(v,m||null)}m&&(l.add(v),a.has(v)||v.addEventListener("scroll",this._addTransformOffsets),c+=m.scrollTop,u+=m.scrollLeft)}for(const v of a)l.has(v)||v.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=l,()=>{var v,m;(v=this._firstDummy)==null||v.setTopLeft(c,u),(m=this._lastDummy)==null||m.setTopLeft(c,u)}});const h=n.get();if(!h)throw new Error("No element");this._tabster=o,this._getWindow=o.getWindow,this._callForDefaultAction=d;const g=h.__tabsterDummy;if((g||this)._wrappers.push({manager:a,priority:l,tabbable:!0}),g)return g;h.__tabsterDummy=this;const v=c==null?void 0:c.dummyInputsPosition,m=h.tagName;this._isOutside=v?v===TC.Outside:(u||m==="UL"||m==="OL"||m==="TABLE")&&!(m==="LI"||m==="TD"||m==="TH"),this._firstDummy=new nd(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new nd(this._getWindow,this._isOutside,{isFirst:!1},n);const x=this._firstDummy.input;x&&o._dummyObserver.add(x,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=n,this._addDummyInputs()}dispose(o,n){var l,c,u,d;if((this._wrappers=this._wrappers.filter(h=>h.manager!==o&&!n)).length===0){delete((l=this._element)==null?void 0:l.get()).__tabsterDummy;for(const v of this._transformElements)v.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const h=this._getWindow();this._addTimer&&(h.clearTimeout(this._addTimer),delete this._addTimer);const g=(c=this._firstDummy)==null?void 0:c.input;g&&this._tabster._dummyObserver.remove(g),(u=this._firstDummy)==null||u.dispose(),(d=this._lastDummy)==null||d.dispose()}}_onFocus(o,n,a,l){var u;const c=this._getCurrent();c&&(!n.useDefaultAction||this._callForDefaultAction)&&((u=c.manager.getHandler(o))==null||u(n,a,l))}_getCurrent(){return this._wrappers.sort((o,n)=>o.tabbable!==n.tabbable?o.tabbable?-1:1:o.priority-n.priority),this._wrappers[0]}_ensurePosition(){var l,c,u;const o=(l=this._element)==null?void 0:l.get(),n=(c=this._firstDummy)==null?void 0:c.input,a=(u=this._lastDummy)==null?void 0:u.input;if(!(!o||!n||!a))if(this._isOutside){const d=ue.getParentNode(o);if(d){const h=ue.getNextSibling(o);h!==a&&ue.insertBefore(d,a,h),ue.getPreviousElementSibling(o)!==n&&ue.insertBefore(d,n,o)}}else{ue.getLastElementChild(o)!==a&&ue.appendChild(o,a);const d=ue.getFirstElementChild(o);d&&d!==n&&d.parentNode&&ue.insertBefore(d.parentNode,n,d)}}}function Hs(e){var o;return((o=e==null?void 0:e.__tabsterDummyContainer)==null?void 0:o.get())||null}/*!
85
- * Copyright (c) Microsoft Corporation. All rights reserved.
86
- * Licensed under the MIT License.
87
- */function $p(e,o){const n=JSON.stringify(e);return o===!0?n:{[un]:n}}function NN(e,o){for(const n of Object.keys(o)){const a=o[n];a?e[n]=a:delete e[n]}}function TN(e,o,n){let a;{const l=e.getAttribute(un);if(l)try{a=JSON.parse(l)}catch{}}a||(a={}),NN(a,o),Object.keys(a).length>0?e.setAttribute(un,$p(a,!0)):e.removeAttribute(un)}/*!
88
- * Copyright (c) Microsoft Corporation. All rights reserved.
89
- * Licensed under the MIT License.
90
- */class Dy extends qs{constructor(n,a,l,c){super(n,a,Xp.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 l=this._element.get();if(l){this._setFocused(!0);const c=this._tabster.focusedElement.getFirstOrLastTabbable(n.isFirst,{container:l,ignoreAccessibility:!0});if(c){gn(c);return}}(a=n.input)==null||a.blur()}});this._setHandlers(this._onDummyInputFocus),this._tabster=n,this._setFocused=l}}class EN extends Rd{constructor(n,a,l,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 l;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,(l=this._dummyManager)==null||l.setTabbable(!1),a.dispatchEvent(new XC({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 $C({element:a}))},0))});H(this,"_onFocusIn",n=>{const a=this._tabster.getParent,l=this._element.get();let c=n.composedPath()[0];do{if(c===l){this._setFocused(!0);return}c=c&&a(c)}while(c)});H(this,"_onFocusOut",()=>{this._setFocused(!1)});this._onDispose=l;const d=n.getWindow;this.uid=Ku(d,a),this._sys=u,(n.controlTab||n.rootDummyInputs)&&this.addDummyInputs();const g=d().document;g.addEventListener(Do,this._onFocusIn),g.addEventListener(Fs,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Dy(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var l;this._onDispose(this);const n=this._tabster.getWindow(),a=n.document;a.removeEventListener(Do,this._onFocusIn),a.removeEventListener(Fs,this._onFocusOut),this._setFocusedTimer&&(n.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(l=this._dummyManager)==null||l.dispose(),this._remove()}moveOutWithDefaultAction(n,a){const l=this._dummyManager;if(l)l.moveOutWithDefaultAction(n,a);else{const c=this.getElement();c&&Dy.moveWithPhantomDummy(this._tabster,c,!0,n,a)}}_add(){}_remove(){}}class pt{constructor(o,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 o=this._win().document,n=o.body;if(n){this._autoRootUnwait(o);const l=this._autoRoot;if(l)return TN(n,{root:l}),_w(this._tabster,n),(a=ro(this._tabster,n))==null?void 0:a.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,o.addEventListener("readystatechange",this._autoRootCreate))});H(this,"_onRootDispose",o=>{delete this._roots[o.id]});this._tabster=o,this._win=o.getWindow,this._autoRoot=n,o.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(o){o.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const o=this._win();this._autoRootUnwait(o.document),delete this._autoRoot,Object.keys(this._roots).forEach(n=>{this._roots[n]&&(this._roots[n].dispose(),delete this._roots[n])}),this.rootById={}}createRoot(o,n,a){const l=new EN(this._tabster,o,this._onRootDispose,n,a);return this._roots[l.id]=l,this._forceDummy&&l.addDummyInputs(),l}addDummyInputs(){this._forceDummy=!0;const o=this._roots;for(const n of Object.keys(o))o[n].addDummyInputs()}static getRootByUId(o,n){const a=o().__tabsterInstance;return a&&a.root.rootById[n]}static getTabsterContext(o,n,a={}){var C,T,E,j;if(!n.ownerDocument)return;const{checkRtl:l,referenceElement:c}=a,u=o.getParent;o.drainInitQueue();let d,h,g,v,m=!1,x,k,w,y,z=c||n;const _={};for(;z&&(!d||l);){const M=ro(o,z);if(l&&w===void 0){const le=z.dir;le&&(w=le.toLowerCase()==="rtl")}if(!M){z=u(z);continue}const O=z.tagName;(M.uncontrolled||O==="IFRAME"||O==="WEBVIEW")&&o.focusable.isVisible(z)&&(y=z),!v&&((C=M.focusable)!=null&&C.excludeFromMover)&&!g&&(m=!0);const W=M.modalizer,Y=M.groupper,fe=M.mover;!h&&W&&(h=W),!g&&Y&&(!h||W)&&(h?(!Y.isActive()&&Y.getProps().tabbability&&h.userId!==((T=o.modalizer)==null?void 0:T.activeId)&&(h=void 0,g=Y),k=Y):g=Y),!v&&fe&&(!h||W)&&(!Y||z!==n)&&z.contains(n)&&(v=fe,x=!!g&&g!==Y),M.root&&(d=M.root),(E=M.focusable)!=null&&E.ignoreKeydown&&Object.assign(_,M.focusable.ignoreKeydown),z=u(z)}if(!d){const M=o.root;M._autoRoot&&(j=n.ownerDocument)!=null&&j.body&&(d=M._autoRootCreate())}return g&&!v&&(x=!0),d?{root:d,modalizer:h,groupper:g,mover:v,groupperBeforeMover:x,modalizerInGroupper:k,rtl:l?!!w:void 0,uncontrolled:y,excludedFromMover:m,ignoreKeydown:M=>!!_[M.key]}:void 0}static getRoot(o,n){var l;const a=o.getParent;for(let c=n;c;c=a(c)){const u=(l=ro(o,c))==null?void 0:l.root;if(u)return u}}onRoot(o,n){n?delete this.rootById[o.uid]:this.rootById[o.uid]=o}}/*!
91
- * Copyright (c) Microsoft Corporation. All rights reserved.
92
- * Licensed under the MIT License.
93
- */class RN{constructor(o){H(this,"_tabster");this._tabster=o}dispose(){}getProps(o){const n=ro(this._tabster,o);return n&&n.focusable||{}}isFocusable(o,n,a,l){return Ew(o,Bw)&&(n||o.tabIndex!==-1)?(a||this.isVisible(o))&&(l||this.isAccessible(o)):!1}isVisible(o){if(!o.ownerDocument||o.nodeType!==Node.ELEMENT_NODE||BN(o))return!1;const n=o.ownerDocument.body.getBoundingClientRect();return!(n.width===0&&n.height===0)}isAccessible(o){var n;for(let a=o;a;a=ue.getParentElement(a)){const l=ro(this._tabster,a);if(this._isHidden(a)||!((n=l==null?void 0:l.focusable)==null?void 0:n.ignoreAriaDisabled)&&this._isDisabled(a))return!1}return!0}_isDisabled(o){return o.hasAttribute("disabled")}_isHidden(o){var a;const n=o.getAttribute("aria-hidden");return!!(n&&n.toLowerCase()==="true"&&!((a=this._tabster.modalizer)!=null&&a.isAugmented(o)))}findFirst(o,n){return this.findElement({...o},n)}findLast(o,n){return this.findElement({isBackward:!0,...o},n)}findNext(o,n){return this.findElement({...o},n)}findPrev(o,n){return this.findElement({...o,isBackward:!0},n)}findDefault(o,n){return this.findElement({...o,acceptCondition:a=>this.isFocusable(a,o.includeProgrammaticallyFocusable)&&!!this.getProps(a).isDefault},n)||null}findAll(o){return this._findElements(!0,o)||[]}findElement(o,n){const a=this._findElements(!1,o,n);return a&&a[0]}_findElements(o,n,a){var R,C,T;const{container:l,currentElement:c=null,includeProgrammaticallyFocusable:u,useActiveModalizer:d,ignoreAccessibility:h,modalizerId:g,isBackward:v,onElement:m}=n;a||(a={});const x=[];let{acceptCondition:k}=n;const w=!!k;if(!l)return null;k||(k=E=>this.isFocusable(E,u,!1,h));const y={container:l,modalizerUserId:g===void 0&&d?(R=this._tabster.modalizer)==null?void 0:R.activeId:g||((T=(C=pt.getTabsterContext(this._tabster,l))==null?void 0:C.modalizer)==null?void 0:T.userId),from:c||l,isBackward:v,isFindAll:o,acceptCondition:k,hasCustomCondition:w,includeProgrammaticallyFocusable:u,ignoreAccessibility:h,cachedGrouppers:{},cachedRadioGroups:{}},z=Wp(l.ownerDocument,l,E=>this._acceptElement(E,y));if(!z)return null;const _=E=>{var M;const j=y.foundElement??y.foundBackward;return j&&x.push(j),o?j&&(y.found=!1,delete y.foundElement,delete y.foundBackward,delete y.fromCtx,y.from=j,m&&!m(j))?!1:!!(j||E):(j&&a&&(a.uncontrolled=(M=pt.getTabsterContext(this._tabster,j))==null?void 0:M.uncontrolled),!!(E&&!j))};if(c||(a.outOfDOMOrder=!0),c&&ue.nodeContains(l,c))z.currentNode=c;else if(v){const E=Rw(l);if(!E)return null;if(this._acceptElement(E,y)===NodeFilter.FILTER_ACCEPT&&!_(!0))return y.skippedFocusable&&(a.outOfDOMOrder=!0),x;z.currentNode=E}do v?z.previousNode():z.nextNode();while(_());return y.skippedFocusable&&(a.outOfDOMOrder=!0),x.length?x:null}_acceptElement(o,n){var m,x,k;if(n.found)return NodeFilter.FILTER_ACCEPT;const a=n.foundBackward;if(a&&(o===a||!ue.nodeContains(a,o)))return n.found=!0,n.foundElement=a,NodeFilter.FILTER_ACCEPT;const l=n.container;if(o===l)return NodeFilter.FILTER_SKIP;if(!ue.nodeContains(l,o)||Hs(o)||ue.nodeContains(n.rejectElementsFrom,o))return NodeFilter.FILTER_REJECT;const c=n.currentCtx=pt.getTabsterContext(this._tabster,o);if(!c)return NodeFilter.FILTER_SKIP;if(Nw(o))return this.isFocusable(o,void 0,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!n.hasCustomCondition&&(o.tagName==="IFRAME"||o.tagName==="WEBVIEW"))return this.isVisible(o)&&((m=c.modalizer)==null?void 0:m.userId)===((x=this._tabster.modalizer)==null?void 0:x.activeId)?(n.found=!0,n.rejectElementsFrom=n.foundElement=o,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!n.ignoreAccessibility&&!this.isAccessible(o))return this.isFocusable(o,!1,!0,!0)&&(n.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let u,d=n.fromCtx;d||(d=n.fromCtx=pt.getTabsterContext(this._tabster,n.from));const h=d==null?void 0:d.mover;let g=c.groupper,v=c.mover;if(u=(k=this._tabster.modalizer)==null?void 0:k.acceptElement(o,n),u!==void 0&&(n.skippedFocusable=!0),u===void 0&&(g||v||h)){const w=g==null?void 0:g.getElement(),y=h==null?void 0:h.getElement();let z=v==null?void 0:v.getElement();if(z&&ue.nodeContains(y,z)&&ue.nodeContains(l,y)&&(!w||!v||ue.nodeContains(y,w))&&(v=h,z=y),w){if(w===l||!ue.nodeContains(l,w))g=void 0;else if(!ue.nodeContains(w,o))return NodeFilter.FILTER_REJECT}if(z){if(!ue.nodeContains(l,z))v=void 0;else if(!ue.nodeContains(z,o))return NodeFilter.FILTER_REJECT}g&&v&&(z&&w&&!ue.nodeContains(w,z)?v=void 0:g=void 0),g&&(u=g.acceptElement(o,n)),v&&(u=v.acceptElement(o,n))}if(u===void 0&&(u=n.acceptCondition(o)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,u===NodeFilter.FILTER_SKIP&&this.isFocusable(o,!1,!0,!0)&&(n.skippedFocusable=!0)),u===NodeFilter.FILTER_ACCEPT&&!n.found){if(!n.isFindAll&&cp(o)&&!o.checked){const w=o.name;let y=n.cachedRadioGroups[w];if(y||(y=_N(o),y&&(n.cachedRadioGroups[w]=y)),y!=null&&y.checked&&y.checked!==o)return NodeFilter.FILTER_SKIP}n.isBackward?(n.foundBackward=o,u=NodeFilter.FILTER_SKIP):(n.found=!0,n.foundElement=o)}return u}}/*!
94
- * Copyright (c) Microsoft Corporation. All rights reserved.
95
- * Licensed under the MIT License.
96
- */const Ft={Tab:"Tab",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!
97
- * Copyright (c) Microsoft Corporation. All rights reserved.
98
- * Licensed under the MIT License.
99
- */class jw{constructor(){H(this,"_val");H(this,"_callbacks",[])}dispose(){this._callbacks=[],delete this._val}subscribe(o){const n=this._callbacks;n.indexOf(o)<0&&n.push(o)}subscribeFirst(o){const n=this._callbacks,a=n.indexOf(o);a>=0&&n.splice(a,1),n.unshift(o)}unsubscribe(o){const n=this._callbacks.indexOf(o);n>=0&&this._callbacks.splice(n,1)}setVal(o,n){this._val!==o&&(this._val=o,this._callCallbacks(o,n))}getVal(){return this._val}trigger(o,n){this._callCallbacks(o,n)}_callCallbacks(o,n){this._callbacks.forEach(a=>a(o,n))}}/*!
100
- * Copyright (c) Microsoft Corporation. All rights reserved.
101
- * Licensed under the MIT License.
102
- */function jN(e,o){var l;const n=e.getParent;let a=o;do{const c=(l=ro(e,a))==null?void 0:l.uncontrolled;if(c&&e.uncontrolled.isUncontrolledCompletely(a,!!c.completely))return a;a=n(a)}while(a)}const My={[Vi.Restorer]:0,[Vi.Deloser]:1,[Vi.EscapeGroupper]:2},jt=class jt extends jw{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(Do,this._onFocusIn,!0),a.addEventListener(Fs,this._onFocusOut,!0),n.addEventListener("keydown",this._onKeyDown,!0);const l=ue.getActiveElement(a);l&&l!==a.body&&this._setFocusedElement(l),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!==Ft.Tab||n.ctrlKey)return;const a=this.getVal();if(!a||!a.ownerDocument||a.contentEditable==="true")return;const l=this._tabster,c=l.controlTab,u=pt.getTabsterContext(l,a);if(!u||u.ignoreKeydown(n))return;const d=n.shiftKey,h=jt.findNextTabbable(l,u,void 0,a,void 0,d,!0),g=u.root.getElement();if(!g)return;const v=h==null?void 0:h.element,m=jN(l,a);if(v){const x=h.uncontrolled;if(u.uncontrolled||ue.nodeContains(x,a)){if(!h.outOfDOMOrder&&x===u.uncontrolled||m&&!ue.nodeContains(m,v))return;qs.addPhantomDummyWithTarget(l,a,d,v);return}if(x&&l.focusable.isVisible(x)||v.tagName==="IFRAME"&&l.focusable.isVisible(v)){g.dispatchEvent(new Gi({by:"root",owner:g,next:v,relatedEvent:n}))&&qs.moveWithPhantomDummy(l,x??v,!1,d,n);return}(c||h!=null&&h.outOfDOMOrder)&&g.dispatchEvent(new Gi({by:"root",owner:g,next:v,relatedEvent:n}))&&(n.preventDefault(),n.stopImmediatePropagation(),gn(v))}else!m&&g.dispatchEvent(new Gi({by:"root",owner:g,next:null,relatedEvent:n}))&&u.root.moveOutWithDefaultAction(d,n)});H(this,"_onChanged",(n,a)=>{var l,c;if(n)n.dispatchEvent(new UC(a));else{const u=(l=this._lastVal)==null?void 0:l.get();if(u){const d={...a},h=pt.getTabsterContext(this._tabster,u),g=(c=h==null?void 0:h.modalizer)==null?void 0:c.userId;g&&(d.modalizerId=g),u.dispatchEvent(new VC(d))}}});this._tabster=n,this._win=a,n.queueInit(this._init)}dispose(){super.dispose();const n=this._win(),a=n.document;a.removeEventListener(Do,this._onFocusIn,!0),a.removeEventListener(Fs,this._onFocusOut,!0),n.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const l=this._asyncFocus;l&&(n.clearTimeout(l.timeout),delete this._asyncFocus),delete jt._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(n,a){var u,d;let l=jt._lastResetElement,c=l&&l.get();c&&ue.nodeContains(a,c)&&delete jt._lastResetElement,c=(d=(u=n._nextVal)==null?void 0:u.element)==null?void 0:d.get(),c&&ue.nodeContains(a,c)&&delete n._nextVal,l=n._lastVal,c=l&&l.get(),c&&ue.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&&!Tw(n.ownerDocument,n))&&(this._lastVal=n=void 0),n}focus(n,a,l,c){return this._tabster.focusable.isFocusable(n,a,!1,l)?(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:l,ignoreAccessibility:c}=a;let u;if(l){const h=pt.getTabsterContext(this._tabster,l);h&&(u=(d=jt.findNextTabbable(this._tabster,h,l,void 0,void 0,!n,c))==null?void 0:d.element)}return u&&!ue.nodeContains(l,u)&&(u=void 0),u||void 0}_focusFirstOrLast(n,a){const l=this.getFirstOrLastTabbable(n,a);return l?(this.focus(l,!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"),l=n.getAttribute("aria-hidden");n.tabIndex=-1,n.setAttribute("aria-hidden","true"),jt._lastResetElement=new Yo(n),this.focus(n,!0,!0),this._setOrRemoveAttribute(n,"tabindex",a),this._setOrRemoveAttribute(n,"aria-hidden",l)}return!0}requestAsyncFocus(n,a,l){const c=this._tabster.getWindow(),u=this._asyncFocus;if(u){if(My[n]>My[u.source])return;c.clearTimeout(u.timeout)}this._asyncFocus={source:n,callback:a,timeout:c.setTimeout(()=>{this._asyncFocus=void 0,a()},l)}}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,l){l===null?n.removeAttribute(a):n.setAttribute(a,l)}_setFocusedElement(n,a,l){var d,h;if(this._tabster._noop)return;const c={relatedTarget:a};if(n){const g=(d=jt._lastResetElement)==null?void 0:d.get();if(jt._lastResetElement=void 0,g===n||Nw(n))return;c.isFocusedProgrammatically=l;const v=pt.getTabsterContext(this._tabster,n),m=(h=v==null?void 0:v.modalizer)==null?void 0:h.userId;m&&(c.modalizerId=m)}const u=this._nextVal={element:n?new Yo(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 Yo(n))}static findNextTabbable(n,a,l,c,u,d,h){const g=l||a.root.getElement();if(!g)return null;let v=null;const m=jt._isTabbingTimer,x=n.getWindow();m&&x.clearTimeout(m),jt.isTabbing=!0,jt._isTabbingTimer=x.setTimeout(()=>{delete jt._isTabbingTimer,jt.isTabbing=!1},0);const k=a.modalizer,w=a.groupper,y=a.mover,z=_=>{if(v=_.findNextTabbable(c,u,d,h),c&&!(v!=null&&v.element)){const R=_!==k&&ue.getParentElement(_.getElement());if(R){const C=pt.getTabsterContext(n,c,{referenceElement:R});if(C){const T=_.getElement(),E=d?T:T&&Rw(T)||T;E&&(v=jt.findNextTabbable(n,C,l,E,R,d,h),v&&(v.outOfDOMOrder=!0))}}}};if(w&&y)z(a.groupperBeforeMover?w:y);else if(w)z(w);else if(y)z(y);else if(k)z(k);else{const _={container:g,currentElement:c,referenceElement:u,ignoreAccessibility:h,useActiveModalizer:!0},R={};v={element:n.focusable[d?"findPrev":"findNext"](_,R),outOfDOMOrder:R.outOfDOMOrder,uncontrolled:R.uncontrolled}}return v}};H(jt,"_lastResetElement"),H(jt,"_isTabbingTimer"),H(jt,"isTabbing",!1);let Wa=jt;/*!
103
- * Copyright (c) Microsoft Corporation. All rights reserved.
104
- * Licensed under the MIT License.
105
- */class AN extends jw{constructor(n){super();H(this,"_keyborg");H(this,"_onChange",n=>{this.setVal(n,void 0)});this._keyborg=Nd(n()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Td(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 DN(e,o,n,a){if(typeof MutationObserver>"u")return()=>{};const l=o.getWindow;let c;const u=v=>{var x,k,w,y,z;const m=new Set;for(const _ of v){const R=_.target,C=_.removedNodes,T=_.addedNodes;if(_.type==="attributes")_.attributeName===un&&(m.has(R)||n(o,R));else{for(let E=0;E<C.length;E++){const j=C[E];m.add(j),d(j,!0),(k=(x=o._dummyObserver).domChanged)==null||k.call(x,R)}for(let E=0;E<T.length;E++)d(T[E]),(y=(w=o._dummyObserver).domChanged)==null||y.call(w,R)}}m.clear(),(z=o.modalizer)==null||z.hiddenUpdate()};function d(v,m){c||(c=Ed(l).elementByUId),h(v,m);const x=Wp(e,v,k=>h(k,m));if(x)for(;x.nextNode(););}function h(v,m){if(!v.getAttribute)return NodeFilter.FILTER_SKIP;const x=v.__tabsterElementUID;return x&&c&&(m?delete c[x]:c[x]??(c[x]=new Yo(v))),(ro(o,v)||v.hasAttribute(un))&&n(o,v,m),NodeFilter.FILTER_SKIP}const g=ue.createMutationObserver(u);return a&&d(l().document.body),g.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[un]}),()=>{g.disconnect()}}/*!
109
- * Copyright (c) Microsoft Corporation. All rights reserved.
110
- * Licensed under the MIT License.
111
- */class MN{constructor(o){H(this,"_isUncontrolledCompletely");this._isUncontrolledCompletely=o}isUncontrolledCompletely(o,n){var l;const a=(l=this._isUncontrolledCompletely)==null?void 0:l.call(this,o,n);return a===void 0?n:a}}/*!
112
- * Copyright (c) Microsoft Corporation. All rights reserved.
113
- * Licensed under the MIT License.
114
- */let ON=0;const zg="aria-hidden";class FN extends qs{constructor(o,n,a){super(n,o,Xp.Modalizer,a),this._setHandlers((l,c)=>{var v,m;const u=o.get(),d=u&&((v=pt.getRoot(n,u))==null?void 0:v.getElement()),h=l.input;let g;if(d&&h){const x=Hs(h),k=pt.getTabsterContext(n,x||h);k&&(g=(m=Wa.findNextTabbable(n,k,d,h,void 0,c,!0))==null?void 0:m.element),g&&gn(g)}})}}class qN extends Rd{constructor(n,a,l,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=l,this._activeElements=d,n.controlTab||(this.dummyManager=new FN(this._element,n,u))}makeActive(n){if(this._isActive!==n){this._isActive=n;const a=this.getElement();if(a){const l=this._activeElements,c=l.map(u=>u.get()).indexOf(a);n?c<0&&l.push(new Yo(a)):c>=0&&l.splice(c,1)}this._dispatchEvent(n)}}focused(n){return n||(this._wasFocused=++ON),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 ue.nodeContains(this.getElement(),n)}findNextTabbable(n,a,l,c){var x,k;if(!this.getElement())return null;const d=this._tabster;let h=null,g=!1,v;const m=n&&((x=pt.getRoot(d,n))==null?void 0:x.getElement());if(m){const w={container:m,currentElement:n,referenceElement:a,ignoreAccessibility:c,useActiveModalizer:!0},y={};h=d.focusable[l?"findPrev":"findNext"](w,y),!h&&this._props.isTrapped&&((k=d.modalizer)!=null&&k.activeId)?(h=d.focusable[l?"findLast":"findFirst"]({container:m,ignoreAccessibility:c,useActiveModalizer:!0},y),h===null&&(h=n),g=!0):g=!!y.outOfDOMOrder,v=y.uncontrolled}return{element:h,uncontrolled:v,outOfDOMOrder:g}}_dispatchEvent(n,a){const l=this.getElement();let c=!1;if(l){const u=a?this._activeElements.map(d=>d.get()):[l];for(const d of u)if(d){const h={id:this.userId,element:l},g=n?new GC(h):new WC(h);d.dispatchEvent(g),g.defaultPrevented&&(c=!0)}}return c}_remove(){}}class HN{constructor(o,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",o=>{const n=o.id,a=o.userId,l=this._parts[a];if(delete this._modalizers[n],l&&(delete l[n],Object.keys(l).length===0)){delete this._parts[a];const c=this._activationHistory,u=[];let d;for(let h=c.length;h--;){const g=c[h];g!==a&&g!==d&&(d=g,(g||u.length>0)&&u.unshift(g))}if(this._activationHistory=u,this.activeId===a){const h=u[0],g=h?Object.values(this._parts[h])[0]:void 0;this.setActive(g)}}});H(this,"_onKeyDown",o=>{var l;if(o.key!==Ft.Escape)return;const n=this._tabster,a=n.focusedElement.getFocusedElement();if(a){const c=pt.getTabsterContext(n,a),u=c==null?void 0:c.modalizer;if(c&&!c.groupper&&(u!=null&&u.isActive())&&!c.ignoreKeydown(o)){const d=u.userId;if(d){const h=this._parts[d];if(h){const g=Object.keys(h).map(v=>{var w;const m=h[v],x=m.getElement();let k;return x&&(k=(w=ro(n,x))==null?void 0:w.groupper),m&&x&&k?{el:x,focusedSince:m.focused(!0)}:{focusedSince:0}}).filter(v=>v.focusedSince>0).sort((v,m)=>v.focusedSince>m.focusedSince?-1:v.focusedSince<m.focusedSince?1:0);if(g.length){const v=g[0].el;v&&((l=n.groupper)==null||l.handleKeyPress(v,o,!0))}}}}}});H(this,"_onFocus",(o,n)=>{var g;const a=this._tabster,l=o&&pt.getTabsterContext(a,o);if(!l||!o)return;const c=this._augMap;for(let v=o;v;v=ue.getParentElement(v))c.has(v)&&(c.delete(v),Bg(a,v,zg));let u=l.modalizer;const d=ro(a,o),h=d==null?void 0:d.modalizer;if(h&&(h.focused(),h.userId===this.activeId&&d.groupper)){const v=a.getParent(o),m=v&&((g=pt.getTabsterContext(a,v))==null?void 0:g.modalizer);if(m)u=m;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 v=this._win();v.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=v.setTimeout(()=>this._restoreModalizerFocus(o),100)}});this._tabster=o,this._win=o.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=n,this._accessibleCheck=a,this._activationHistory=[],this.activeElements=[],o.controlTab||o.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),o.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const o=this._win();o.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(n=>{this._modalizers[n]&&(this._modalizers[n].dispose(),delete this._modalizers[n])}),o.clearTimeout(this._restoreModalizerFocusTimer),o.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(o,n,a){const l=new qN(this._tabster,o,this._onModalizerDispose,n,a,this.activeElements),c=l.id,u=n.id;this._modalizers[c]=l;let d=this._parts[u];d||(d=this._parts[u]={}),d[c]=l;const h=this._tabster.focusedElement.getFocusedElement()??null;return o!==h&&ue.nodeContains(o,h)&&(u!==this.activeId?this.setActive(l):l.makeActive(!0)),l}isAugmented(o){return this._augMap.has(o)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(o){const n=o==null?void 0:o.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=o==null?void 0:o.getProps().isOthersAccessible,this.hiddenUpdate();const l=this._activationHistory;l[0]!==n&&(n!==void 0||l.length>0)&&l.unshift(n)}focus(o,n,a){const l=this._tabster,c=pt.getTabsterContext(l,o),u=c==null?void 0:c.modalizer;if(u){this.setActive(u);const d=u.getProps(),h=u.getElement();if(h){if(n===void 0&&(n=d.isNoFocusFirst),!n&&l.keyboardNavigation.isNavigatingWithKeyboard()&&l.focusedElement.focusFirst({container:h})||(a===void 0&&(a=d.isNoFocusDefault),!a&&l.focusedElement.focusDefault(h)))return!0;l.focusedElement.resetFocus(h)}}return!1}activate(o){var a;const n=o?(a=pt.getTabsterContext(this._tabster,o))==null?void 0:a.modalizer:void 0;return!o||n?(this.setActive(n),!0):!1}acceptElement(o,n){var u;const a=n.modalizerUserId,l=(u=n.currentCtx)==null?void 0:u.modalizer;if(a)for(const d of this.activeElements){const h=d.get();if(h&&(ue.nodeContains(o,h)||h===o))return NodeFilter.FILTER_SKIP}const c=a===(l==null?void 0:l.userId)||!a&&(l!=null&&l.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return c!==void 0&&(n.skippedFocusable=!0),c}_hiddenUpdate(){var z;const o=this._tabster,n=o.getWindow().document.body,a=this.activeId,l=this._parts,c=[],u=[],d=this._alwaysAccessibleSelector,h=d?Array.from(ue.querySelectorAll(n,d)):[],g=[];for(const _ of Object.keys(l)){const R=l[_];for(const C of Object.keys(R)){const T=R[C],E=T.getElement(),M=T.getProps().isAlwaysAccessible;E&&(_===a?(g.push(E),this.currentIsOthersAccessible||c.push(E)):M?h.push(E):u.push(E))}}const v=this._augMap,m=c.length>0?[...c,...h]:void 0,x=[],k=new WeakMap,w=(_,R)=>{var E;const C=_.tagName;if(C==="SCRIPT"||C==="STYLE")return;let T=!1;v.has(_)?R?T=!0:(v.delete(_),Bg(o,_,zg)):R&&!((E=this._accessibleCheck)!=null&&E.call(this,_,g))&&Bg(o,_,zg,"true")&&(v.set(_,!0),T=!0),T&&(x.push(new Yo(_)),k.set(_,!0))},y=_=>{var R;for(let C=ue.getFirstElementChild(_);C;C=ue.getNextElementSibling(C)){let T=!1,E=!1,j=!1;if(m){const M=o.getParent(C);for(const O of m){if(C===O){T=!0;break}if(ue.nodeContains(C,O)){E=!0;break}else ue.nodeContains(O,M)&&(j=!0)}E||(R=C.__tabsterElementFlags)!=null&&R.noDirectAriaHidden?y(C):!T&&!j&&w(C,!0)}else w(C,!1)}};m||h.forEach(_=>w(_,!1)),u.forEach(_=>w(_,!0)),n&&y(n),(z=this._aug)==null||z.map(_=>_.get()).forEach(_=>{_&&!k.get(_)&&w(_,!1)}),this._aug=x,this._augMap=k}_restoreModalizerFocus(o){var v;const n=o==null?void 0:o.ownerDocument;if(!o||!n)return;const a=this._tabster.focusedElement.getFocusedElement(),l=a&&((v=pt.getTabsterContext(this._tabster,a))==null?void 0:v.modalizer);if(!a||a&&(l==null?void 0:l.userId)===this.activeId)return;const c=this._tabster,u=pt.getTabsterContext(c,o),d=u==null?void 0:u.modalizer,h=this.activeId;if(!d&&!h||d&&h===d.userId)return;const g=u==null?void 0:u.root.getElement();if(g){let m=c.focusable.findFirst({container:g,useActiveModalizer:!0});if(m){if(o.compareDocumentPosition(m)&document.DOCUMENT_POSITION_PRECEDING&&(m=c.focusable.findLast({container:g,useActiveModalizer:!0}),!m))throw new Error("Something went wrong.");c.focusedElement.focus(m);return}}o.blur()}}/*!
115
- * Copyright (c) Microsoft Corporation. All rights reserved.
116
- * Licensed under the MIT License.
117
- */function Aw(e,o,n){const a=e.core;if(!a.modalizer){const l=new HN(a,o,n);a.modalizer=l,a.attrHandlers.set("modalizer",(c,u,d,h,g)=>u?d.id&&(h==null?void 0:h.id)!==d.id?(u.dispose(),l.createModalizer(c,d,g)):(u.setProps(d),u):l.createModalizer(c,d,g))}return a.modalizer}/*!
118
- * Copyright (c) Microsoft Corporation. All rights reserved.
119
- * Licensed under the MIT License.
120
- */const PN=["input","textarea","*[contenteditable]"].join(", ");class LN extends qs{constructor(n,a,l,c){super(a,n,Xp.Mover,c);H(this,"_tabster");H(this,"_getMemorized");H(this,"_onFocusDummyInput",n=>{var c,u;const a=this._element.get(),l=n.input;if(a&&l){const d=pt.getTabsterContext(this._tabster,a);let h;d&&(h=(c=Wa.findNextTabbable(this._tabster,d,void 0,l,void 0,!n.isFirst,!0))==null?void 0:c.element);const g=(u=this._getMemorized())==null?void 0:u.get();g&&this._tabster.focusable.isFocusable(g)&&(h=g),h&&gn(h)}});this._tabster=a,this._getMemorized=l,this._setHandlers(this._onFocusDummyInput)}}const Cg=1,Oy=2,Fy=3;class IN extends Rd{constructor(n,a,l,c,u){super(n,a,c);H(this,"_unobserve");H(this,"_intersectionObserver");H(this,"_setCurrentTimer");H(this,"_current");H(this,"_prevCurrent");H(this,"_visible",{});H(this,"_fullyVisible");H(this,"_win");H(this,"_onDispose");H(this,"_allElements");H(this,"_updateQueue");H(this,"_updateTimer");H(this,"visibilityTolerance");H(this,"dummyManager");H(this,"_onIntersection",n=>{for(const a of n){const l=a.target,c=Ku(this._win,l);let u,d=this._fullyVisible;if(a.intersectionRatio>=.25?(u=a.intersectionRatio>=.75?Wn.Visible:Wn.PartiallyVisible,u===Wn.Visible&&(d=c)):u=Wn.Invisible,this._visible[c]!==u){u===void 0?(delete this._visible[c],d===c&&delete this._fullyVisible):(this._visible[c]=u,this._fullyVisible=d);const h=this.getState(l);h&&l.dispatchEvent(new Ey(h))}}});this._win=n.getWindow,this.visibilityTolerance=c.visibilityTolerance??.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=l;const d=()=>c.memorizeCurrent?this._current:void 0;n.controlTab||(this.dummyManager=new LN(this._element,n,d,u))}dispose(){var a;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const n=this._win();this._setCurrentTimer&&(n.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(n.clearTimeout(this._updateTimer),delete this._updateTimer),(a=this.dummyManager)==null||a.dispose(),delete this.dummyManager}setCurrent(n){n?this._current=new Yo(n):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{var l;delete this._setCurrentTimer;const a=[];this._current!==this._prevCurrent&&(a.push(this._current),a.push(this._prevCurrent),this._prevCurrent=this._current);for(const c of a){const u=c==null?void 0:c.get();if(u&&((l=this._allElements)==null?void 0:l.get(u))===this){const d=this._props;if(u&&(d.visibilityAware!==void 0||d.trackState)){const h=this.getState(u);h&&u.dispatchEvent(new Ey(h))}}}}))}getCurrent(){var n;return((n=this._current)==null?void 0:n.get())||null}findNextTabbable(n,a,l,c){const u=this.getElement(),d=u&&Hs(n)===u;if(!u)return null;let h=null,g=!1,v;if(this._props.tabbable||d||n&&!ue.nodeContains(u,n)){const m={currentElement:n,referenceElement:a,container:u,ignoreAccessibility:c,useActiveModalizer:!0},x={};h=this._tabster.focusable[l?"findPrev":"findNext"](m,x),g=!!x.outOfDOMOrder,v=x.uncontrolled}return{element:h,uncontrolled:v,outOfDOMOrder:g}}acceptElement(n,a){var h,g;if(!Wa.isTabbing)return(h=a.currentCtx)!=null&&h.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:l,visibilityAware:c,hasDefault:u=!0}=this._props,d=this.getElement();if(d&&(l||c||u)&&(!ue.nodeContains(d,a.from)||Hs(a.from)===d)){let v;if(l){const m=(g=this._current)==null?void 0:g.get();m&&a.acceptCondition(m)&&(v=m)}if(!v&&u&&(v=this._tabster.focusable.findDefault({container:d,useActiveModalizer:!0})),!v&&c&&(v=this._tabster.focusable.findElement({container:d,useActiveModalizer:!0,isBackward:a.isBackward,acceptCondition:m=>{var w;const x=Ku(this._win,m),k=this._visible[x];return d!==m&&!!((w=this._allElements)!=null&&w.get(m))&&a.acceptCondition(m)&&(k===Wn.Visible||k===Wn.PartiallyVisible&&(c===Wn.PartiallyVisible||!this._fullyVisible))}})),v)return a.found=!0,a.foundElement=v,a.rejectElementsFrom=d,a.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const n=this.getElement();if(this._unobserve||!n||typeof MutationObserver>"u")return;const a=this._win(),l=this._allElements=new WeakMap,c=this._tabster.focusable;let u=this._updateQueue=[];const d=ue.createMutationObserver(w=>{for(const y of w){const z=y.target,_=y.removedNodes,R=y.addedNodes;if(y.type==="attributes")y.attributeName==="tabindex"&&u.push({element:z,type:Oy});else{for(let C=0;C<_.length;C++)u.push({element:_[C],type:Fy});for(let C=0;C<R.length;C++)u.push({element:R[C],type:Cg})}}x()}),h=(w,y)=>{var _,R;const z=l.get(w);z&&y&&((_=this._intersectionObserver)==null||_.unobserve(w),l.delete(w)),!z&&!y&&(l.set(w,this),(R=this._intersectionObserver)==null||R.observe(w))},g=w=>{const y=c.isFocusable(w);l.get(w)?y||h(w,!0):y&&h(w)},v=w=>{const{mover:y}=k(w);if(y&&y!==this)if(y.getElement()===w&&c.isFocusable(w))h(w);else return;const z=Wp(a.document,w,_=>{const{mover:R,groupper:C}=k(_);if(R&&R!==this)return NodeFilter.FILTER_REJECT;const T=C==null?void 0:C.getFirst(!0);return C&&C.getElement()!==_&&T&&T!==_?NodeFilter.FILTER_REJECT:(c.isFocusable(_)&&h(_),NodeFilter.FILTER_SKIP)});if(z)for(z.currentNode=w;z.nextNode(););},m=w=>{l.get(w)&&h(w,!0);for(let z=ue.getFirstElementChild(w);z;z=ue.getNextElementSibling(z))m(z)},x=()=>{!this._updateTimer&&u.length&&(this._updateTimer=a.setTimeout(()=>{delete this._updateTimer;for(const{element:w,type:y}of u)switch(y){case Oy:g(w);break;case Cg:v(w);break;case Fy:m(w);break}u=this._updateQueue=[]},0))},k=w=>{const y={};for(let z=w;z;z=ue.getParentElement(z)){const _=ro(this._tabster,z);if(_&&(_.groupper&&!y.groupper&&(y.groupper=_.groupper),_.mover)){y.mover=_.mover;break}}return y};u.push({element:n,type:Cg}),x(),d.observe(n,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{d.disconnect()}}getState(n){const a=Ku(this._win,n);if(a in this._visible){const l=this._visible[a]||Wn.Invisible;return{isCurrent:this._current?this._current.get()===n:void 0,visibility:l}}}}function UN(e,o,n,a,l,c,u,d){const h=n<l?l-n:u<e?e-u:0,g=a<c?c-a:d<o?o-d:0;return h===0?g:g===0?h:Math.sqrt(h*h+g*g)}class VN{constructor(o,n){H(this,"_tabster");H(this,"_win");H(this,"_movers");H(this,"_ignoredInputTimer");H(this,"_ignoredInputResolve");H(this,"_init",()=>{const o=this._win();o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(Ny,this._onMoveFocus),o.addEventListener(Ty,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)});H(this,"_onMoverDispose",o=>{delete this._movers[o.id]});H(this,"_onFocus",o=>{var l;let n=o,a=o;for(let c=ue.getParentElement(o);c;c=ue.getParentElement(c)){const u=(l=ro(this._tabster,c))==null?void 0:l.mover;u&&(u.setCurrent(a),n=void 0),!n&&this._tabster.focusable.isFocusable(c)&&(n=a=c)}});H(this,"_onKeyDown",async o=>{var c;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),(c=this._ignoredInputResolve)==null||c.call(this,!1),o.ctrlKey||o.altKey||o.shiftKey||o.metaKey)return;const n=o.key;let a;if(n===Ft.ArrowDown?a=kt.ArrowDown:n===Ft.ArrowRight?a=kt.ArrowRight:n===Ft.ArrowUp?a=kt.ArrowUp:n===Ft.ArrowLeft?a=kt.ArrowLeft:n===Ft.PageDown?a=kt.PageDown:n===Ft.PageUp?a=kt.PageUp:n===Ft.Home?a=kt.Home:n===Ft.End&&(a=kt.End),!a)return;const l=this._tabster.focusedElement.getFocusedElement();!l||await this._isIgnoredInput(l,n)||this._moveFocus(l,a,o)});H(this,"_onMoveFocus",o=>{var l;const n=o.composedPath()[0],a=(l=o.detail)==null?void 0:l.key;n&&a!==void 0&&!o.defaultPrevented&&(this._moveFocus(n,a),o.stopImmediatePropagation())});H(this,"_onMemorizedElement",o=>{var l;const n=o.composedPath()[0];let a=(l=o.detail)==null?void 0:l.memorizedElement;if(n){const c=pt.getTabsterContext(this._tabster,n),u=c==null?void 0:c.mover;u&&(a&&!ue.nodeContains(u.getElement(),a)&&(a=void 0),u.setCurrent(a),o.stopImmediatePropagation())}});this._tabster=o,this._win=n,this._movers={},o.queueInit(this._init)}dispose(){var n;const o=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),(n=this._ignoredInputResolve)==null||n.call(this,!1),this._ignoredInputTimer&&(o.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),o.removeEventListener("keydown",this._onKeyDown,!0),o.removeEventListener(Ny,this._onMoveFocus),o.removeEventListener(Ty,this._onMemorizedElement),Object.keys(this._movers).forEach(a=>{this._movers[a]&&(this._movers[a].dispose(),delete this._movers[a])})}createMover(o,n,a){const l=new IN(this._tabster,o,this._onMoverDispose,n,a);return this._movers[l.id]=l,l}moveFocus(o,n){return this._moveFocus(o,n)}_moveFocus(o,n,a){var j,M;const l=this._tabster,c=pt.getTabsterContext(l,o,{checkRtl:!0});if(!c||!c.mover||c.excludedFromMover||a&&c.ignoreKeydown(a))return null;const u=c.mover,d=u.getElement();if(c.groupperBeforeMover){const O=c.groupper;if(O&&!O.isActive(!0)){for(let W=ue.getParentElement(O.getElement());W&&W!==d;W=ue.getParentElement(W))if((M=(j=ro(l,W))==null?void 0:j.groupper)!=null&&M.isActive(!0))return null}else return null}if(!d)return null;const h=l.focusable,g=u.getProps(),v=g.direction||ur.Both,m=v===ur.Both,x=m||v===ur.Vertical,k=m||v===ur.Horizontal,w=v===ur.GridLinear,y=w||v===ur.Grid,z=g.cyclic;let _,R,C,T=0,E=0;if(y&&(C=o.getBoundingClientRect(),T=Math.ceil(C.left),E=Math.floor(C.right)),c.rtl&&(n===kt.ArrowRight?n=kt.ArrowLeft:n===kt.ArrowLeft&&(n=kt.ArrowRight)),n===kt.ArrowDown&&x||n===kt.ArrowRight&&(k||y))if(_=h.findNext({currentElement:o,container:d,useActiveModalizer:!0}),_&&y){const O=Math.ceil(_.getBoundingClientRect().left);!w&&E>O&&(_=void 0)}else!_&&z&&(_=h.findFirst({container:d,useActiveModalizer:!0}));else if(n===kt.ArrowUp&&x||n===kt.ArrowLeft&&(k||y))if(_=h.findPrev({currentElement:o,container:d,useActiveModalizer:!0}),_&&y){const O=Math.floor(_.getBoundingClientRect().right);!w&&O>T&&(_=void 0)}else!_&&z&&(_=h.findLast({container:d,useActiveModalizer:!0}));else if(n===kt.Home)y?h.findElement({container:d,currentElement:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:O=>{if(!h.isFocusable(O))return!1;const W=Math.ceil(O.getBoundingClientRect().left??0);return O!==o&&T<=W?!0:(_=O,!1)}}):_=h.findFirst({container:d,useActiveModalizer:!0});else if(n===kt.End)y?h.findElement({container:d,currentElement:o,useActiveModalizer:!0,acceptCondition:O=>{if(!h.isFocusable(O))return!1;const W=Math.ceil(O.getBoundingClientRect().left??0);return O!==o&&T>=W?!0:(_=O,!1)}}):_=h.findLast({container:d,useActiveModalizer:!0});else if(n===kt.PageUp){if(h.findElement({currentElement:o,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:O=>h.isFocusable(O)?jy(this._win,O,u.visibilityTolerance)?(_=O,!1):!0:!1}),y&&_){const O=Math.ceil(_.getBoundingClientRect().left);h.findElement({currentElement:_,container:d,useActiveModalizer:!0,acceptCondition:W=>{if(!h.isFocusable(W))return!1;const Y=Math.ceil(W.getBoundingClientRect().left);return T<Y||O>=Y?!0:(_=W,!1)}})}R=!1}else if(n===kt.PageDown){if(h.findElement({currentElement:o,container:d,useActiveModalizer:!0,acceptCondition:O=>h.isFocusable(O)?jy(this._win,O,u.visibilityTolerance)?(_=O,!1):!0:!1}),y&&_){const O=Math.ceil(_.getBoundingClientRect().left);h.findElement({currentElement:_,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:W=>{if(!h.isFocusable(W))return!1;const Y=Math.ceil(W.getBoundingClientRect().left);return T>Y||O<=Y?!0:(_=W,!1)}})}R=!0}else if(y){const O=n===kt.ArrowUp,W=T,Y=Math.ceil(C.top),fe=E,le=Math.floor(C.bottom);let se,ie,Q=0;h.findAll({container:d,currentElement:o,isBackward:O,onElement:I=>{const ee=I.getBoundingClientRect(),oe=Math.ceil(ee.left),he=Math.ceil(ee.top),Se=Math.floor(ee.right),F=Math.floor(ee.bottom);if(O&&Y<F||!O&&le>he)return!0;const U=Math.ceil(Math.min(fe,Se))-Math.floor(Math.max(W,oe)),te=Math.ceil(Math.min(fe-W,Se-oe));if(U>0&&te>=U){const ce=U/te;ce>Q&&(se=I,Q=ce)}else if(Q===0){const ce=UN(W,Y,fe,le,oe,he,Se,F);(ie===void 0||ce<ie)&&(ie=ce,se=I)}else if(Q>0)return!1;return!0}}),_=se}return _&&(!a||a&&d.dispatchEvent(new Gi({by:"mover",owner:d,next:_,relatedEvent:a})))?(R!==void 0&&xN(this._win,_,R),a&&(a.preventDefault(),a.stopImmediatePropagation()),gn(_),_):null}async _isIgnoredInput(o,n){if(o.getAttribute("aria-expanded")==="true"&&(o.hasAttribute("aria-activedescendant")||o.getAttribute("role")==="combobox"))return!0;if(Ew(o,PN)){let a=0,l=0,c=0,u;if(o.tagName==="INPUT"||o.tagName==="TEXTAREA"){const d=o.type;if(c=(o.value||"").length,d==="email"||d==="number"){if(c){const g=ue.getSelection(o);if(g){const v=g.toString().length,m=n===Ft.ArrowLeft||n===Ft.ArrowUp;if(g.modify("extend",m?"backward":"forward","character"),v!==g.toString().length)return g.modify("extend",m?"forward":"backward","character"),!0;c=0}}}else{const g=o.selectionStart;if(g===null)return d==="hidden";a=g||0,l=o.selectionEnd||0}}else o.contentEditable==="true"&&(u=new Promise(d=>{this._ignoredInputResolve=k=>{delete this._ignoredInputResolve,d(k)};const h=this._win();this._ignoredInputTimer&&h.clearTimeout(this._ignoredInputTimer);const{anchorNode:g,focusNode:v,anchorOffset:m,focusOffset:x}=ue.getSelection(o)||{};this._ignoredInputTimer=h.setTimeout(()=>{var _,R,C;delete this._ignoredInputTimer;const{anchorNode:k,focusNode:w,anchorOffset:y,focusOffset:z}=ue.getSelection(o)||{};if(k!==g||w!==v||y!==m||z!==x){(_=this._ignoredInputResolve)==null||_.call(this,!1);return}if(a=y||0,l=z||0,c=((R=o.textContent)==null?void 0:R.length)||0,k&&w&&ue.nodeContains(o,k)&&ue.nodeContains(o,w)&&k!==o){let T=!1;const E=j=>{if(j===k)T=!0;else if(j===w)return!0;const M=j.textContent;if(M&&!ue.getFirstChild(j)){const W=M.length;T?w!==k&&(l+=W):(a+=W,l+=W)}let O=!1;for(let W=ue.getFirstChild(j);W&&!O;W=W.nextSibling)O=E(W);return O};E(o)}(C=this._ignoredInputResolve)==null||C.call(this,!0)},0)}));if(u&&!await u||a!==l||a>0&&(n===Ft.ArrowLeft||n===Ft.ArrowUp||n===Ft.Home)||a<c&&(n===Ft.ArrowRight||n===Ft.ArrowDown||n===Ft.End))return!0}return!1}}/*!
121
- * Copyright (c) Microsoft Corporation. All rights reserved.
122
- * Licensed under the MIT License.
123
- */function GN(e){const o=e.core;if(!o.mover){const n=new VN(o,o.getWindow);o.mover=n,o.attrHandlers.set("mover",(a,l,c,u,d)=>l?(l.setProps(c),l):n.createMover(a,c,d))}return o.mover}/*!
124
- * Copyright (c) Microsoft Corporation. All rights reserved.
125
- * Licensed under the MIT License.
126
- */class WN extends Rd{constructor(n,a,l){var c;super(n,a,l);H(this,"_hasFocus",!1);H(this,"_onFocusOut",n=>{var l;const a=(l=this._element)==null?void 0:l.get();a&&n.relatedTarget===null&&a.dispatchEvent(new Ry),a&&!ue.nodeContains(a,n.relatedTarget)&&(this._hasFocus=!1)});H(this,"_onFocusIn",()=>{this._hasFocus=!0});if(this._props.type===Ga.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=ue.nodeContains(u,u&&ue.getActiveElement(u.ownerDocument))}}dispose(){var n;if(this._props.type===Ga.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 Ry)}}}const pd=class pd{constructor(o){H(this,"_stack",[]);H(this,"_getWindow");this._getWindow=o}push(o){var n;((n=this._stack[this._stack.length-1])==null?void 0:n.get())!==o&&(this._stack.length>pd.DEPTH&&this._stack.shift(),this._stack.push(new Yo(o)))}pop(o=()=>!0){var a;const n=this._getWindow().document;for(let l=this._stack.length-1;l>=0;l--){const c=(a=this._stack.pop())==null?void 0:a.get();if(c&&ue.nodeContains(n.body,ue.getParentElement(c))&&o(c))return c}}};H(pd,"DEPTH",10);let up=pd;class XN{constructor(o){H(this,"_tabster");H(this,"_history");H(this,"_keyboardNavState");H(this,"_focusedElementState");H(this,"_getWindow");H(this,"_onRestoreFocus",o=>{var a,l;this._focusedElementState.cancelAsyncFocus(Vi.Restorer);const n=o.composedPath()[0];if(n){const c=(l=(a=ro(this._tabster,n))==null?void 0:a.restorer)==null?void 0:l.getProps().id;this._focusedElementState.requestAsyncFocus(Vi.Restorer,()=>this._restoreFocus(n,c),0)}});H(this,"_onFocusIn",o=>{var a;if(!o)return;const n=ro(this._tabster,o);((a=n==null?void 0:n.restorer)==null?void 0:a.getProps().type)===Ga.Target&&this._history.push(o)});H(this,"_restoreFocus",(o,n)=>{var c;const a=this._getWindow().document;if(ue.getActiveElement(a)!==a.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&ue.nodeContains(a.body,o))return;const l=u=>{var h,g;const d=(g=(h=ro(this._tabster,u))==null?void 0:h.restorer)==null?void 0:g.getProps();return d?d.id:null};(c=this._history.pop(u=>n===l(u)))==null||c.focus()});this._tabster=o,this._getWindow=o.getWindow,this._getWindow().addEventListener(sp,this._onRestoreFocus),this._history=new up(this._getWindow),this._keyboardNavState=o.keyboardNavigation,this._focusedElementState=o.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const o=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(Vi.Restorer),o.removeEventListener(sp,this._onRestoreFocus)}createRestorer(o,n){const a=new WN(this._tabster,o,n);return n.type===Ga.Target&&ue.getActiveElement(o.ownerDocument)===o&&this._history.push(o),a}}/*!
127
- * Copyright (c) Microsoft Corporation. All rights reserved.
128
- * Licensed under the MIT License.
129
- */function Dw(e){const o=e.core;if(!o.restorer){const n=new XN(o);o.restorer=n,o.attrHandlers.set("restorer",(a,l,c)=>l?(l.setProps(c),l):n.createRestorer(a,c))}return o.restorer}/*!
130
- * Copyright (c) Microsoft Corporation. All rights reserved.
131
- * Licensed under the MIT License.
132
- */class $N{constructor(o){H(this,"keyboardNavigation");H(this,"focusedElement");H(this,"focusable");H(this,"root");H(this,"uncontrolled");H(this,"core");this.keyboardNavigation=o.keyboardNavigation,this.focusedElement=o.focusedElement,this.focusable=o.focusable,this.root=o.root,this.uncontrolled=o.uncontrolled,this.core=o}}class KN{constructor(o,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=o;const a=this.getWindow;n!=null&&n.DOMAPI&&mN({...n.DOMAPI}),this.keyboardNavigation=new AN(a),this.focusedElement=new Wa(this,a),this.focusable=new RN(this),this.root=new pt(this,n==null?void 0:n.autoRoot),this.uncontrolled=new MN((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 zN(a),this.getParent=(n==null?void 0:n.getParent)??ue.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:l=>{if(!this._unobserve){const c=a().document;this._unobserve=DN(c,this,_w,l)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(o){o&&(this.getParent=o.getParent??this.getParent)}createTabster(o,n){const a=new $N(this);return o||this._wrappers.add(a),this._mergeProps(n),a}disposeTabster(o,n){n?this._wrappers.clear():this._wrappers.delete(o),this._wrappers.size===0&&this.dispose()}dispose(){var n,a,l,c,u,d,h,g;this.internal.stopObserver();const o=this._win;o==null||o.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],o&&this._forgetMemorizedTimer&&(o.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(n=this.outline)==null||n.dispose(),(a=this.crossOrigin)==null||a.dispose(),(l=this.deloser)==null||l.dispose(),(c=this.groupper)==null||c.dispose(),(u=this.mover)==null||u.dispose(),(d=this.modalizer)==null||d.dispose(),(h=this.observedElement)==null||h.dispose(),(g=this.restorer)==null||g.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),this.attrHandlers.clear(),Ay(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),o&&(bN(o),delete o.__tabsterInstance,delete this._win)}storageEntry(o,n){const a=this._storage;let l=a.get(o);return l?n===!1&&Object.keys(l).length===0&&a.delete(o):n===!0&&(l={},a.set(o,l)),l}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let o=this._forgetMemorizedElements.shift();o;o=this._forgetMemorizedElements.shift())Ay(this.getWindow,o),Wa.forgetMemorized(this.focusedElement,o)},0)))}queueInit(o){var n;this._win&&(this._initQueue.push(o),this._initTimer||(this._initTimer=(n=this._win)==null?void 0:n.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const o=this._initQueue;this._initQueue=[],o.forEach(n=>n())}}function QN(e,o){let n=YN(e);return n?n.createTabster(!1,o):(n=new KN(e,o),e.__tabsterInstance=n,n.createTabster())}function ZN(e,o){e.core.disposeTabster(e,o)}function YN(e){return e.__tabsterInstance}const JN=e=>e;function eT(e){const o=(e==null?void 0:e.defaultView)||void 0,n=o==null?void 0:o.__tabsterShadowDOMAPI;if(o)return QN(o,{autoRoot:{},controlTab:!1,getParent:xw,checkUncontrolledCompletely:a=>{var l;return((l=a.firstElementChild)===null||l===void 0?void 0:l.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:n})}function wl(e=JN){const{targetDocument:o}=Qe(),n=b.useRef(null);return Dt(()=>{const a=eT(o);if(a)return n.current=e(a),()=>{ZN(a),n.current=null}},[o,e]),n}const ad=e=>{wl();const o=$p(e,!0);return b.useMemo(()=>({[un]:o}),[o])},Mw=(e={})=>{const{circular:o,axis:n,memorizeCurrent:a=!0,tabbable:l,ignoreDefaultKeydown:c,unstable_hasDefault:u}=e;return wl(GN),ad({mover:{cyclic:!!o,direction:tT(n??"vertical"),memorizeCurrent:a,tabbable:l,hasDefault:u},...c&&{focusable:{ignoreKeydown:c}}})};function tT(e){switch(e){case"horizontal":return ur.Horizontal;case"grid":return ur.Grid;case"grid-linear":return ur.GridLinear;case"both":return ur.Both;case"vertical":default:return ur.Vertical}}const rc=()=>{const e=wl(),{targetDocument:o}=Qe(),n=b.useCallback((d,h)=>{var g;return d&&((g=e.current)===null||g===void 0?void 0:g.focusable.findAll({container:d,acceptCondition:h}))||[]},[e]),a=b.useCallback(d=>{var h;return d&&((h=e.current)===null||h===void 0?void 0:h.focusable.findFirst({container:d}))},[e]),l=b.useCallback(d=>{var h;return d&&((h=e.current)===null||h===void 0?void 0:h.focusable.findLast({container:d}))},[e]),c=b.useCallback((d,h={})=>{if(!e.current||!o||!d)return null;const{container:g=o.body}=h;return e.current.focusable.findNext({currentElement:d,container:g})},[e,o]),u=b.useCallback((d,h={})=>{if(!e.current||!o||!d)return null;const{container:g=o.body}=h;return e.current.focusable.findPrev({currentElement:d,container:g})},[e,o]);return{findAllFocusable:n,findFirstFocusable:a,findLastFocusable:l,findNextFocusable:c,findPrevFocusable:u}},qy="data-fui-focus-visible",Ow="data-fui-focus-within";function oT(e,o){if(Fw(e))return()=>{};const n={current:void 0},a=Nd(o);function l(h){a.isNavigatingWithKeyboard()&&pr(h)&&(n.current=h,h.setAttribute(qy,""))}function c(){n.current&&(n.current.removeAttribute(qy),n.current=void 0)}a.subscribe(h=>{h?l(o.document.activeElement):c()});const u=h=>{c();const g=h.composedPath()[0];l(g)},d=h=>{(!h.relatedTarget||pr(h.relatedTarget)&&!e.contains(h.relatedTarget))&&c()};return e.addEventListener(Do,u),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(o.document.activeElement)&&l(o.document.activeElement),()=>{c(),e.removeEventListener(Do,u),e.removeEventListener("focusout",d),e.focusVisible=void 0,Td(a)}}function Fw(e){return e?e.focusVisible?!0:Fw(e==null?void 0:e.parentElement):!1}function qw(e={}){const o=Qe(),n=b.useRef(null);var a;const l=(a=e.targetDocument)!==null&&a!==void 0?a:o.targetDocument;return b.useEffect(()=>{if(l!=null&&l.defaultView&&n.current)return oT(n.current,l.defaultView)},[n,l]),n}function rT(e,o){const n=Nd(o);n.subscribe(c=>{c||Hy(e)});const a=c=>{n.isNavigatingWithKeyboard()&&Py(c.target)&&nT(e)},l=c=>{(!c.relatedTarget||Py(c.relatedTarget)&&!e.contains(c.relatedTarget))&&Hy(e)};return e.addEventListener(Do,a),e.addEventListener("focusout",l),()=>{e.removeEventListener(Do,a),e.removeEventListener("focusout",l),Td(n)}}function nT(e){e.setAttribute(Ow,"")}function Hy(e){e.removeAttribute(Ow)}function Py(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Kp(){const{targetDocument:e}=Qe(),o=b.useRef(null);return b.useEffect(()=>{if(e!=null&&e.defaultView&&o.current)return rT(o.current,e.defaultView)},[o,e]),o}function Qp(){const{targetDocument:e}=Qe(),o=b.useRef(null);return b.useEffect(()=>{const n=e==null?void 0:e.defaultView;if(n){const a=Nd(n);return o.current=a,()=>{Td(a),o.current=null}}},[e]),o}function Hw(e){const o=Qp(),n=pe(e);b.useEffect(()=>{const a=o.current;if(a){const l=c=>{n(c)};return a.subscribe(l),l(a.isNavigatingWithKeyboard()),()=>{a.unsubscribe(l)}}},[o,n])}const aT="data-tabster-never-hide",iT=e=>e.hasAttribute(aT);function lT(e){Aw(e,void 0,iT),Dw(e)}const jd=(e={})=>{const{trapFocus:o,alwaysFocusable:n,legacyTrapFocus:a}=e;wl(lT);const l=Qt("modal-",e.id),c=ad({restorer:{type:Ga.Source},...o&&{modalizer:{id:l,isOthersAccessible:!o,isAlwaysAccessible:n,isTrapped:a&&o}}}),u=ad({restorer:{type:Ga.Target}});return{modalAttributes:c,triggerAttributes:u}};function sT(){return wl(Dw),$p({restorer:{type:Ga.Source}})}function cT(){const e=Qp();return b.useCallback(()=>{var o,n;return(n=(o=e.current)===null||o===void 0?void 0:o.isNavigatingWithKeyboard())!==null&&n!==void 0?n:!1},[e])}function uT(){const e=Qp();return b.useCallback(o=>{var n;(n=e.current)===null||n===void 0||n.setVal(o)},[e])}function dT(){const e=wl(Aw),[o]=xl();return b.useCallback(a=>{o(()=>{var l;(l=e.current)===null||l===void 0||l.activate(a)},0)},[e,o])}const $={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"},Xt={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)"},Xo={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)"},fT={50:"rgba(26, 26, 26, 0.5)"},hT={70:"rgba(31, 31, 31, 0.7)"},Ly={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},ze="#ffffff",Qu="#000000",gT={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},Pw={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},pT={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},mT={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},vT={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},bT={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},yT={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},xT={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},wT={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},ST={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},kT={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},BT={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},_T={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},zT={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},CT={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Lw={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},NT={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},TT={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},ET={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},RT={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},jT={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},AT={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},DT={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},MT={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},OT={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},FT={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},qT={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},HT={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},PT={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},LT={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},IT={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},UT={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},VT={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},GT={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},WT={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},XT={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Ke={red:pT,green:Lw,darkOrange:mT,yellow:wT,berry:HT,lightGreen:CT,marigold:xT},ia={darkRed:gT,cranberry:Pw,pumpkin:vT,peach:yT,gold:ST,brass:kT,brown:BT,forest:_T,seafoam:zT,darkGreen:NT,lightTeal:TT,teal:ET,steel:RT,blue:jT,royalBlue:AT,cornflower:DT,navy:MT,lavender:OT,purple:FT,grape:qT,lilac:PT,pink:LT,magenta:IT,plum:UT,beige:VT,mink:GT,platinum:WT,anchor:XT},We={cranberry:Pw,green:Lw,orange:bT},Iw=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Uw=["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"],mo={success:"green",warning:"orange",danger:"cranberry"},nc=Iw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background1`]:Ke[o].tint60,[`colorPalette${n}Background2`]:Ke[o].tint40,[`colorPalette${n}Background3`]:Ke[o].primary,[`colorPalette${n}Foreground1`]:Ke[o].shade10,[`colorPalette${n}Foreground2`]:Ke[o].shade30,[`colorPalette${n}Foreground3`]:Ke[o].primary,[`colorPalette${n}BorderActive`]:Ke[o].primary,[`colorPalette${n}Border1`]:Ke[o].tint40,[`colorPalette${n}Border2`]:Ke[o].primary};return Object.assign(e,a)},{});nc.colorPaletteYellowForeground1=Ke.yellow.shade30;nc.colorPaletteRedForegroundInverted=Ke.red.tint20;nc.colorPaletteGreenForegroundInverted=Ke.green.tint20;nc.colorPaletteYellowForegroundInverted=Ke.yellow.tint40;const $T=Uw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background2`]:ia[o].tint40,[`colorPalette${n}Foreground2`]:ia[o].shade30,[`colorPalette${n}BorderActive`]:ia[o].primary};return Object.assign(e,a)},{}),KT={...nc,...$T},Sl=Object.entries(mo).reduce((e,[o,n])=>{const a=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorStatus${a}Background1`]:We[n].tint60,[`colorStatus${a}Background2`]:We[n].tint40,[`colorStatus${a}Background3`]:We[n].primary,[`colorStatus${a}Foreground1`]:We[n].shade10,[`colorStatus${a}Foreground2`]:We[n].shade30,[`colorStatus${a}Foreground3`]:We[n].primary,[`colorStatus${a}ForegroundInverted`]:We[n].tint30,[`colorStatus${a}BorderActive`]:We[n].primary,[`colorStatus${a}Border1`]:We[n].tint40,[`colorStatus${a}Border2`]:We[n].primary};return Object.assign(e,l)},{});Sl.colorStatusDangerBackground3Hover=We[mo.danger].shade10;Sl.colorStatusDangerBackground3Pressed=We[mo.danger].shade20;Sl.colorStatusWarningForeground1=We[mo.warning].shade20;Sl.colorStatusWarningForeground3=We[mo.warning].shade20;Sl.colorStatusWarningBorder2=We[mo.warning].shade20;const QT=e=>({colorNeutralForeground1:$[14],colorNeutralForeground1Hover:$[14],colorNeutralForeground1Pressed:$[14],colorNeutralForeground1Selected:$[14],colorNeutralForeground2:$[26],colorNeutralForeground2Hover:$[14],colorNeutralForeground2Pressed:$[14],colorNeutralForeground2Selected:$[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:$[38],colorNeutralForeground3Hover:$[26],colorNeutralForeground3Pressed:$[26],colorNeutralForeground3Selected:$[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:$[44],colorNeutralForeground5:$[38],colorNeutralForeground5Hover:$[14],colorNeutralForeground5Pressed:$[14],colorNeutralForeground5Selected:$[14],colorNeutralForegroundDisabled:$[74],colorNeutralForegroundInvertedDisabled:Xt[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:$[26],colorNeutralForeground2LinkHover:$[14],colorNeutralForeground2LinkPressed:$[14],colorNeutralForeground2LinkSelected:$[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:$[14],colorNeutralForegroundStaticInverted:ze,colorNeutralForegroundInverted:ze,colorNeutralForegroundInvertedHover:ze,colorNeutralForegroundInvertedPressed:ze,colorNeutralForegroundInvertedSelected:ze,colorNeutralForegroundInverted2:ze,colorNeutralForegroundOnBrand:ze,colorNeutralForegroundInvertedLink:ze,colorNeutralForegroundInvertedLinkHover:ze,colorNeutralForegroundInvertedLinkPressed:ze,colorNeutralForegroundInvertedLinkSelected:ze,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:ze,colorNeutralBackground1Hover:$[96],colorNeutralBackground1Pressed:$[88],colorNeutralBackground1Selected:$[92],colorNeutralBackground2:$[98],colorNeutralBackground2Hover:$[94],colorNeutralBackground2Pressed:$[86],colorNeutralBackground2Selected:$[90],colorNeutralBackground3:$[96],colorNeutralBackground3Hover:$[92],colorNeutralBackground3Pressed:$[84],colorNeutralBackground3Selected:$[88],colorNeutralBackground4:$[94],colorNeutralBackground4Hover:$[98],colorNeutralBackground4Pressed:$[96],colorNeutralBackground4Selected:ze,colorNeutralBackground5:$[92],colorNeutralBackground5Hover:$[96],colorNeutralBackground5Pressed:$[94],colorNeutralBackground5Selected:$[98],colorNeutralBackground6:$[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:$[92],colorNeutralBackground7Pressed:$[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:$[99],colorNeutralBackgroundInverted:$[16],colorNeutralBackgroundInvertedHover:$[24],colorNeutralBackgroundInvertedPressed:$[12],colorNeutralBackgroundInvertedSelected:$[22],colorNeutralBackgroundStatic:$[20],colorNeutralBackgroundAlpha:Xt[50],colorNeutralBackgroundAlpha2:Xt[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:$[96],colorSubtleBackgroundPressed:$[88],colorSubtleBackgroundSelected:$[92],colorSubtleBackgroundLightAlphaHover:Xt[70],colorSubtleBackgroundLightAlphaPressed:Xt[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Xo[10],colorSubtleBackgroundInvertedPressed:Xo[30],colorSubtleBackgroundInvertedSelected:Xo[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:$[94],colorNeutralBackgroundDisabled2:ze,colorNeutralBackgroundInvertedDisabled:Xt[10],colorNeutralStencil1:$[90],colorNeutralStencil2:$[98],colorNeutralStencil1Alpha:Xo[10],colorNeutralStencil2Alpha:Xo[5],colorBackgroundOverlay:Xo[40],colorScrollbarOverlay:Xo[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:ze,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:$[98],colorNeutralCardBackgroundHover:ze,colorNeutralCardBackgroundPressed:$[96],colorNeutralCardBackgroundSelected:$[92],colorNeutralCardBackgroundDisabled:$[94],colorNeutralStrokeAccessible:$[38],colorNeutralStrokeAccessibleHover:$[34],colorNeutralStrokeAccessiblePressed:$[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:$[82],colorNeutralStroke1Hover:$[78],colorNeutralStroke1Pressed:$[70],colorNeutralStroke1Selected:$[74],colorNeutralStroke2:$[88],colorNeutralStroke3:$[94],colorNeutralStroke4:$[92],colorNeutralStroke4Hover:$[88],colorNeutralStroke4Pressed:$[84],colorNeutralStroke4Selected:$[92],colorNeutralStrokeSubtle:$[88],colorNeutralStrokeOnBrand:ze,colorNeutralStrokeOnBrand2:ze,colorNeutralStrokeOnBrand2Hover:ze,colorNeutralStrokeOnBrand2Pressed:ze,colorNeutralStrokeOnBrand2Selected:ze,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:$[88],colorNeutralStrokeDisabled2:$[92],colorNeutralStrokeInvertedDisabled:Xt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Xo[5],colorNeutralStrokeAlpha2:Xt[20],colorStrokeFocus1:ze,colorStrokeFocus2:Qu,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)"}),Vw={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Gw={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)"},Ww={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Xw={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},$w={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Kw={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Qw={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"},xt={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},Zw={spacingHorizontalNone:xt.none,spacingHorizontalXXS:xt.xxs,spacingHorizontalXS:xt.xs,spacingHorizontalSNudge:xt.sNudge,spacingHorizontalS:xt.s,spacingHorizontalMNudge:xt.mNudge,spacingHorizontalM:xt.m,spacingHorizontalL:xt.l,spacingHorizontalXL:xt.xl,spacingHorizontalXXL:xt.xxl,spacingHorizontalXXXL:xt.xxxl},Yw={spacingVerticalNone:xt.none,spacingVerticalXXS:xt.xxs,spacingVerticalXS:xt.xs,spacingVerticalSNudge:xt.sNudge,spacingVerticalS:xt.s,spacingVerticalMNudge:xt.mNudge,spacingVerticalM:xt.m,spacingVerticalL:xt.l,spacingVerticalXL:xt.xl,spacingVerticalXXL:xt.xxl,spacingVerticalXXXL:xt.xxxl},Jw={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},P={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)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",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 id(e,o,n=""){return{[`shadow2${n}`]:`0 0 2px ${e}, 0 1px 2px ${o}`,[`shadow4${n}`]:`0 0 2px ${e}, 0 2px 4px ${o}`,[`shadow8${n}`]:`0 0 2px ${e}, 0 4px 8px ${o}`,[`shadow16${n}`]:`0 0 2px ${e}, 0 8px 16px ${o}`,[`shadow28${n}`]:`0 0 8px ${e}, 0 14px 28px ${o}`,[`shadow64${n}`]:`0 0 8px ${e}, 0 32px 64px ${o}`}}const ZT=e=>{const o=QT(e);return{...Vw,...Xw,...$w,...Qw,...Kw,...Jw,...Zw,...Yw,...Ww,...Gw,...o,...KT,...Sl,...id(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...id(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Mr=Iw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background1`]:Ke[o].shade40,[`colorPalette${n}Background2`]:Ke[o].shade30,[`colorPalette${n}Background3`]:Ke[o].primary,[`colorPalette${n}Foreground1`]:Ke[o].tint30,[`colorPalette${n}Foreground2`]:Ke[o].tint40,[`colorPalette${n}Foreground3`]:Ke[o].tint20,[`colorPalette${n}BorderActive`]:Ke[o].tint30,[`colorPalette${n}Border1`]:Ke[o].primary,[`colorPalette${n}Border2`]:Ke[o].tint20};return Object.assign(e,a)},{});Mr.colorPaletteRedForeground3=Ke.red.tint30;Mr.colorPaletteRedBorder2=Ke.red.tint30;Mr.colorPaletteGreenForeground3=Ke.green.tint40;Mr.colorPaletteGreenBorder2=Ke.green.tint40;Mr.colorPaletteDarkOrangeForeground3=Ke.darkOrange.tint30;Mr.colorPaletteDarkOrangeBorder2=Ke.darkOrange.tint30;Mr.colorPaletteRedForegroundInverted=Ke.red.primary;Mr.colorPaletteGreenForegroundInverted=Ke.green.primary;Mr.colorPaletteYellowForegroundInverted=Ke.yellow.shade30;const Zp=Uw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background2`]:ia[o].shade30,[`colorPalette${n}Foreground2`]:ia[o].tint40,[`colorPalette${n}BorderActive`]:ia[o].tint30};return Object.assign(e,a)},{});Zp.colorPaletteDarkRedBackground2=ia.darkRed.shade20;Zp.colorPalettePlumBackground2=ia.plum.shade20;const YT={...Mr,...Zp},ca=Object.entries(mo).reduce((e,[o,n])=>{const a=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorStatus${a}Background1`]:We[n].shade40,[`colorStatus${a}Background2`]:We[n].shade30,[`colorStatus${a}Background3`]:We[n].primary,[`colorStatus${a}Foreground1`]:We[n].tint30,[`colorStatus${a}Foreground2`]:We[n].tint40,[`colorStatus${a}Foreground3`]:We[n].tint20,[`colorStatus${a}BorderActive`]:We[n].tint30,[`colorStatus${a}ForegroundInverted`]:We[n].shade10,[`colorStatus${a}Border1`]:We[n].primary,[`colorStatus${a}Border2`]:We[n].tint20};return Object.assign(e,l)},{});ca.colorStatusDangerBackground3Hover=We[mo.danger].shade10;ca.colorStatusDangerBackground3Pressed=We[mo.danger].shade20;ca.colorStatusDangerForeground3=We[mo.danger].tint40;ca.colorStatusDangerBorder2=We[mo.danger].tint30;ca.colorStatusSuccessForeground3=We[mo.success].tint40;ca.colorStatusSuccessBorder2=We[mo.success].tint40;ca.colorStatusWarningForegroundInverted=We[mo.warning].shade20;const JT=e=>({colorNeutralForeground1:ze,colorNeutralForeground1Hover:ze,colorNeutralForeground1Pressed:ze,colorNeutralForeground1Selected:ze,colorNeutralForeground2:$[84],colorNeutralForeground2Hover:ze,colorNeutralForeground2Pressed:ze,colorNeutralForeground2Selected:ze,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:$[68],colorNeutralForeground3Hover:$[84],colorNeutralForeground3Pressed:$[84],colorNeutralForeground3Selected:$[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:$[60],colorNeutralForeground5:$[68],colorNeutralForeground5Hover:ze,colorNeutralForeground5Pressed:ze,colorNeutralForeground5Selected:ze,colorNeutralForegroundDisabled:$[36],colorNeutralForegroundInvertedDisabled:Xt[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:$[84],colorNeutralForeground2LinkHover:ze,colorNeutralForeground2LinkPressed:ze,colorNeutralForeground2LinkSelected:ze,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:$[14],colorNeutralForegroundStaticInverted:ze,colorNeutralForegroundInverted:$[14],colorNeutralForegroundInvertedHover:$[14],colorNeutralForegroundInvertedPressed:$[14],colorNeutralForegroundInvertedSelected:$[14],colorNeutralForegroundInverted2:$[14],colorNeutralForegroundOnBrand:ze,colorNeutralForegroundInvertedLink:ze,colorNeutralForegroundInvertedLinkHover:ze,colorNeutralForegroundInvertedLinkPressed:ze,colorNeutralForegroundInvertedLinkSelected:ze,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:$[16],colorNeutralBackground1Hover:$[24],colorNeutralBackground1Pressed:$[12],colorNeutralBackground1Selected:$[22],colorNeutralBackground2:$[12],colorNeutralBackground2Hover:$[20],colorNeutralBackground2Pressed:$[8],colorNeutralBackground2Selected:$[18],colorNeutralBackground3:$[8],colorNeutralBackground3Hover:$[16],colorNeutralBackground3Pressed:$[4],colorNeutralBackground3Selected:$[14],colorNeutralBackground4:$[4],colorNeutralBackground4Hover:$[12],colorNeutralBackground4Pressed:Qu,colorNeutralBackground4Selected:$[10],colorNeutralBackground5:Qu,colorNeutralBackground5Hover:$[8],colorNeutralBackground5Pressed:$[2],colorNeutralBackground5Selected:$[6],colorNeutralBackground6:$[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:$[10],colorNeutralBackground7Pressed:$[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:$[16],colorNeutralBackgroundInverted:ze,colorNeutralBackgroundInvertedHover:$[96],colorNeutralBackgroundInvertedPressed:$[88],colorNeutralBackgroundInvertedSelected:$[92],colorNeutralBackgroundStatic:$[24],colorNeutralBackgroundAlpha:fT[50],colorNeutralBackgroundAlpha2:hT[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:$[22],colorSubtleBackgroundPressed:$[18],colorSubtleBackgroundSelected:$[20],colorSubtleBackgroundLightAlphaHover:Ly[80],colorSubtleBackgroundLightAlphaPressed:Ly[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Xo[10],colorSubtleBackgroundInvertedPressed:Xo[30],colorSubtleBackgroundInvertedSelected:Xo[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:$[8],colorNeutralBackgroundDisabled2:$[16],colorNeutralBackgroundInvertedDisabled:Xt[10],colorNeutralStencil1:$[34],colorNeutralStencil2:$[20],colorNeutralStencil1Alpha:Xt[10],colorNeutralStencil2Alpha:Xt[5],colorBackgroundOverlay:Xo[50],colorScrollbarOverlay:Xt[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:ze,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:$[20],colorNeutralCardBackgroundHover:$[24],colorNeutralCardBackgroundPressed:$[18],colorNeutralCardBackgroundSelected:$[22],colorNeutralCardBackgroundDisabled:$[8],colorNeutralStrokeAccessible:$[68],colorNeutralStrokeAccessibleHover:$[74],colorNeutralStrokeAccessiblePressed:$[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:$[40],colorNeutralStroke1Hover:$[46],colorNeutralStroke1Pressed:$[42],colorNeutralStroke1Selected:$[44],colorNeutralStroke2:$[32],colorNeutralStroke3:$[24],colorNeutralStroke4:$[24],colorNeutralStroke4Hover:$[18],colorNeutralStroke4Pressed:$[14],colorNeutralStroke4Selected:$[24],colorNeutralStrokeSubtle:$[4],colorNeutralStrokeOnBrand:$[16],colorNeutralStrokeOnBrand2:ze,colorNeutralStrokeOnBrand2Hover:ze,colorNeutralStrokeOnBrand2Pressed:ze,colorNeutralStrokeOnBrand2Selected:ze,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:$[26],colorNeutralStrokeDisabled2:$[24],colorNeutralStrokeInvertedDisabled:Xt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Xt[10],colorNeutralStrokeAlpha2:Xt[20],colorStrokeFocus1:Qu,colorStrokeFocus2:ze,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)"}),eE=e=>{const o=JT(e);return{...Vw,...Xw,...$w,...Qw,...Kw,...Jw,...Zw,...Yw,...Ww,...Gw,...o,...YT,...ca,...id(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...id(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},e5={root:"fui-FluentProvider"},tE=ew({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);}"]}),oE=e=>{"use no memo";const o=ec(),n=tE({dir:e.dir,renderer:o});return e.root.className=de(e5.root,e.themeClassName,n.root,e.root.className),e},rE=b.useInsertionEffect?b.useInsertionEffect:Dt,nE=(e,o)=>{if(!(e!=null&&e.head))return;const n=e.createElement("style");return Object.keys(o).forEach(a=>{n.setAttribute(a,o[a])}),e.head.appendChild(n),n},aE=(e,o)=>{const n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(o,0))},iE=e=>{"use no memo";const{targetDocument:o,theme:n,rendererAttributes:a}=e,l=b.useRef(void 0),c=Qt(e5.root),u=a,d=b.useMemo(()=>p6(`.${c}`,n),[n,c]);return lE(o,c),rE(()=>{const h=o==null?void 0:o.getElementById(c);return h?l.current=h:(l.current=nE(o,{...u,id:c}),l.current&&aE(l.current,d)),()=>{var g;(g=l.current)===null||g===void 0||g.remove()}},[c,o,d,u]),{styleTagId:c,rule:d}};function lE(e,o){b.useState(()=>{if(!e)return;const n=e.getElementById(o);n&&e.head.append(n)})}const sE={},cE={},uE=(e,o)=>{"use no memo";const n=Qe(),a=dE(),l=Ip(),c=b.useContext(Up)||sE,{applyStylesToPortals:u=!0,customStyleHooks_unstable:d,dir:h=n.dir,targetDocument:g=n.targetDocument,theme:v,overrides_unstable:m={}}=e,x=Ng(a,v),k=Ng(l,m),w=Ng(c,d),y=ec();var z;const{styleTagId:_,rule:R}=iE({theme:x,targetDocument:g,rendererAttributes:(z=y.styleElementAttributes)!==null&&z!==void 0?z:cE});return{applyStylesToPortals:u,customStyleHooks_unstable:w,dir:h,targetDocument:g,theme:x,overrides_unstable:k,themeClassName:_,components:{root:"div"},root:Ne(Et("div",{...e,dir:h,ref:at(o,qw({targetDocument:g}))}),{elementType:"div"}),serverStyleProps:{cssRule:R,attributes:{...y.styleElementAttributes,id:_}}}};function Ng(e,o){return e&&o?{...e,...o}:e||o}function dE(){return b.useContext(iw)}function fE(e){const{applyStylesToPortals:o,customStyleHooks_unstable:n,dir:a,root:l,targetDocument:c,theme:u,themeClassName:d,overrides_unstable:h}=e,g=b.useMemo(()=>({dir:a,targetDocument:c}),[a,c]),[v]=b.useState(()=>({})),m=b.useMemo(()=>({textDirection:a}),[a]);return{customStyleHooks_unstable:n,overrides_unstable:h,provider:g,textDirection:a,iconDirection:m,tooltip:v,theme:u,themeClassName:o?l.className:d}}const t5=b.forwardRef((e,o)=>{const n=uE(e,o);oE(n);const a=fE(n);return CC(n,a)});t5.displayName="FluentProvider";var Iy=Yx();const hE=e=>n=>{const a=b.useRef(n.value),l=b.useRef(null);return l.current||(l.current={value:a,listeners:[]}),Dt(()=>{a.current=n.value,Iy.unstable_runWithPriority(Iy.unstable_NormalPriority,()=>{l.current.listeners.forEach(c=>{c(n.value)})})},[n.value]),b.createElement(e,{value:l.current},n.children)},Qa=e=>{const o=b.createContext({value:{current:e},listeners:[],isDefault:!0});return o.Provider=hE(o.Provider),delete o.Consumer,o},kl=(e,o)=>{const n=b.useContext(e),{value:a,listeners:l}=n,c=o(a.current),[,u]=b.useReducer(g=>g+1,0),d=b.useRef(o),h=b.useRef(c);return Dt(()=>{d.current=o,h.current=c}),Dt(()=>{const g=v=>{try{const m=d.current(v);Object.is(h.current,m)||u()}catch{}};return l.push(g),g(a.current),()=>{const v=l.indexOf(g);v!==-1&&l.splice(v,1)}},[l,a]),c};function ac(e){return!b.useContext(e).isDefault}const o5=Qa(void 0),gE={openItems:[],collapsible:!1,multiple:!1,navigation:void 0,requestToggle(){}},{Provider:pE}=o5,Ps=e=>kl(o5,(o=gE)=>e(o)),mE=(e,o)=>ne(e.root,{children:ne(pE,{value:o.accordion,children:e.root.children})}),vE=(e,o)=>{const{navigation:n,...a}=e,l=bE(a,o),c=Mw({circular:n==="circular",tabbable:!0});return{navigation:n,...l,root:{...l.root,...n?c:void 0}}},bE=(e,o)=>{const{openItems:n,defaultOpenItems:a,multiple:l=!1,collapsible:c=!1,onToggle:u,...d}=e,[h,g]=Ao({state:b.useMemo(()=>wE(n),[n]),defaultState:a&&(()=>yE({defaultOpenItems:a,multiple:l})),initialState:[]}),v=pe(m=>{const x=xE(m.value,h,l,c);u==null||u(m.event,{value:m.value,openItems:x}),g(x)});return{collapsible:c,multiple:l,openItems:h,requestToggle:v,components:{root:"div"},root:Ne({ref:o,...d},{elementType:"div"})}};function yE({defaultOpenItems:e,multiple:o}){return e!==void 0?Array.isArray(e)?o?e:[e[0]]:[e]:[]}function xE(e,o,n,a){if(n)if(o.includes(e)){if(o.length>1||a)return o.filter(l=>l!==e)}else return[...o,e].sort();else return o[0]===e&&a?[]:[e];return o}function wE(e){if(e!==void 0)return Array.isArray(e)?e:[e]}function SE(e){const{navigation:o,openItems:n,requestToggle:a,multiple:l,collapsible:c}=e;return{accordion:b.useMemo(()=>({navigation:o,openItems:n,requestToggle:a,collapsible:c,multiple:l}),[o,n,a,c,l])}}const kE={root:"fui-Accordion"},BE=e=>{"use no memo";return e.root.className=de(kE.root,e.root.className),e},r5=b.forwardRef((e,o)=>{const n=vE(e,o),a=SE(n);return BE(n),Xe("useAccordionStyles_unstable")(n),mE(n,a)});r5.displayName="Accordion";const _E=(e,o)=>{const{value:n,disabled:a=!1,...l}=e,c=Ps(h=>h.requestToggle),u=Ps(h=>h.openItems.includes(n)),d=pe(h=>c({event:h,value:n}));return{open:u,value:n,disabled:a,onHeaderClick:d,components:{root:"div"},root:Ne({disabled:a,ref:o,...l},{elementType:"div"})}};function zE(e){const{disabled:o,open:n,value:a,onHeaderClick:l}=e;return{accordionItem:b.useMemo(()=>({disabled:o,open:n,value:a,onHeaderClick:l}),[o,n,a,l])}}const n5=b.createContext(void 0),CE={open:!1,disabled:!1,value:void 0,onHeaderClick(){}},{Provider:NE}=n5,a5=()=>{var e;return(e=b.useContext(n5))!==null&&e!==void 0?e:CE},TE=(e,o)=>ne(e.root,{children:ne(NE,{value:o.accordionItem,children:e.root.children})}),EE={root:"fui-AccordionItem"},RE=e=>{"use no memo";return e.root.className=de(EE.root,e.root.className),e},i5=b.forwardRef((e,o)=>{const n=_E(e,o),a=zE(n);return RE(n),Xe("useAccordionItemStyles_unstable")(n),TE(n,a)});i5.displayName="AccordionItem";const Wi="Enter",sn=" ",l5="Tab",dp="ArrowDown",Yp="ArrowLeft",Jp="ArrowRight",Tg="ArrowUp",jE="End",AE="Home",DE="PageDown",ME="PageUp",Bl="Escape";function Xa(e,o){const{disabled:n,disabledFocusable:a=!1,["aria-disabled"]:l,onClick:c,onKeyDown:u,onKeyUp:d,...h}=o??{},g=typeof l=="string"?l==="true":l,v=n||a||g,m=pe(w=>{v?(w.preventDefault(),w.stopPropagation()):c==null||c(w)}),x=pe(w=>{if(u==null||u(w),w.isDefaultPrevented())return;const y=w.key;if(v&&(y===Wi||y===sn)){w.preventDefault(),w.stopPropagation();return}if(y===sn){w.preventDefault();return}else y===Wi&&(w.preventDefault(),w.currentTarget.click())}),k=pe(w=>{if(d==null||d(w),w.isDefaultPrevented())return;const y=w.key;if(v&&(y===Wi||y===sn)){w.preventDefault(),w.stopPropagation();return}y===sn&&(w.preventDefault(),w.currentTarget.click())});if(e==="button"||e===void 0)return{...h,disabled:n&&!a,"aria-disabled":a?!0:g,onClick:a?void 0:m,onKeyUp:a?void 0:d,onKeyDown:a?void 0:u};{const w=!!h.href;let y=w?void 0:"button";!y&&v&&(y="link");const z={role:y,tabIndex:a||!w&&!n?0:void 0,...h,onClick:m,onKeyUp:k,onKeyDown:x,"aria-disabled":v};return e==="a"&&v&&(z.href=void 0),z}}const fo=()=>{},OE={controller:{active:fo,blur:fo,find:fo,first:fo,focus:fo,focusLastActive:fo,scrollActiveIntoView:fo,last:fo,next:fo,prev:fo,showAttributes:fo,hideAttributes:fo,showFocusVisibleAttributes:fo,hideFocusVisibleAttributes:fo}},em=b.createContext(void 0),s5=em.Provider,c5=()=>{var e;return(e=b.useContext(em))!==null&&e!==void 0?e:OE},FE=()=>!!b.useContext(em);function qE(e){const{matchOption:o}=e,{targetDocument:n}=Qe(),a=b.useRef(null),l=b.useRef(null),c=b.useCallback(h=>pr(h)&&o(h)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[o]),u=b.useCallback(h=>{h&&n?(l.current=h,a.current=n.createTreeWalker(h,NodeFilter.SHOW_ELEMENT,c)):(l.current=null,a.current=null)},[n,c]);return{optionWalker:b.useMemo(()=>({first:()=>!a.current||!l.current?null:(a.current.currentNode=l.current,a.current.firstChild()),last:()=>!a.current||!l.current?null:(a.current.currentNode=l.current,a.current.lastChild()),next:()=>a.current?a.current.nextNode():null,prev:()=>a.current?a.current.previousNode():null,find:(h,g)=>{if(!a.current||!l.current)return null;const v=g?n==null?void 0:n.getElementById(g):null;a.current.currentNode=v??l.current;let m=a.current.currentNode;for(;m&&!h(m.id);)m=a.current.nextNode();return m},setCurrent:h=>{a.current&&(a.current.currentNode=h)}}),[n]),listboxCallbackRef:u}}const Uy="data-activedescendant",Fi="data-activedescendant-focusvisible",Vy=e=>{if(!e)return;const o=u5(e.parentElement);if(!o)return;const{offsetHeight:n}=e,a=d5(e,o),{scrollMarginTop:l,scrollMarginBottom:c}=HE(e),{offsetHeight:u,scrollTop:d}=o,h=a-l<d,g=a+n+c>d+u,v=2;h?o.scrollTo(0,a-l-v):g&&o.scrollTo(0,a+n+c-u+v)},u5=e=>e?e.scrollHeight>e.offsetHeight?e:u5(e.parentElement):null,d5=(e,o)=>!e||e===o?0:e.contains(o)?o.offsetTop*-1:e.offsetTop+d5(e.offsetParent,o),HE=e=>{var o;const n=(o=e.ownerDocument)===null||o===void 0?void 0:o.defaultView;if(!n)return{scrollMarginTop:0,scrollMarginBottom:0};const a=n.getComputedStyle(e);var l;const c=(l=Au(a.scrollMarginTop))!==null&&l!==void 0?l:Au(a.scrollMarginBlockStart);var u;const d=(u=Au(a.scrollMarginBottom))!==null&&u!==void 0?u:Au(a.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:d}},Au=e=>e?parseInt(e,10):0,PE=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function f5(e){const{imperativeRef:o,matchOption:n}=e,a=b.useRef(!1),l=b.useRef(!0),c=b.useRef(null),u=b.useRef(null),d=b.useRef(null),h=b.useRef(!0),g=b.useCallback(()=>{var T;(T=d.current)===null||T===void 0||T.removeAttribute("aria-activedescendant")},[]),v=b.useCallback(T=>{if(T&&(c.current=T),h.current&&c.current){var E;(E=d.current)===null||E===void 0||E.setAttribute("aria-activedescendant",c.current)}},[]);Hw(T=>{a.current=T;const E=y();E&&(T&&l.current?E.setAttribute(Fi,""):E.removeAttribute(Fi))});const m=pe(n),x=b.useRef(null),{optionWalker:k,listboxCallbackRef:w}=qE({matchOption:m}),y=b.useCallback(()=>{var T;return(T=x.current)===null||T===void 0?void 0:T.querySelector(`#${c.current}`)},[x]),z=b.useCallback(T=>{l.current=T;const E=y();E&&(T&&a.current?E.setAttribute(Fi,""):E.removeAttribute(Fi))},[y]),_=b.useCallback(()=>{const T=y();T&&(T.removeAttribute(Uy),T.removeAttribute(Fi)),g(),u.current=c.current,c.current=null;var E;return(E=T==null?void 0:T.id)!==null&&E!==void 0?E:null},[y,g]),R=b.useCallback(T=>{if(!T)return;const E=_();Vy(T),v(T.id),T.setAttribute(Uy,""),a.current&&l.current&&T.setAttribute(Fi,"");const j=PE({id:T.id,previousId:E});T.dispatchEvent(j)},[_,v]),C=b.useMemo(()=>({first:({passive:T}={})=>{const E=k.first();return T||R(E),E==null?void 0:E.id},last:({passive:T}={})=>{const E=k.last();return T||R(E),E==null?void 0:E.id},next:({passive:T}={})=>{const E=y();if(!E)return;k.setCurrent(E);const j=k.next();return T||R(j),j==null?void 0:j.id},prev:({passive:T}={})=>{const E=y();if(!E)return;k.setCurrent(E);const j=k.prev();return T||R(j),j==null?void 0:j.id},blur:()=>{_()},active:()=>{var T;return(T=y())===null||T===void 0?void 0:T.id},focus:T=>{if(!x.current)return;const E=x.current.querySelector(`#${T}`);E&&R(E)},focusLastActive:()=>{if(!x.current||!u.current)return;const T=x.current.querySelector(`#${u.current}`);if(T)return R(T),!0},find(T,{passive:E,startFrom:j}={}){const M=k.find(T,j);return E||R(M),M==null?void 0:M.id},scrollActiveIntoView:()=>{if(!x.current)return;const T=y();T&&Vy(T)},showAttributes(){h.current=!0,v()},hideAttributes(){h.current=!1,g()},showFocusVisibleAttributes(){z(!0)},hideFocusVisibleAttributes(){z(!1)}}),[k,x,v,g,R,_,y,z]);return b.useImperativeHandle(o,()=>C),{listboxRef:at(x,w),activeParentRef:d,controller:C}}const LE=ve({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),IE=(e,o)=>{const{filled:n,title:a,primaryFill:l="currentColor",...c}=e,u={...c,fill:l},d=LE(),h=zC();return u.className=de(d.root,(o==null?void 0:o.flipInRtl)&&(h==null?void 0:h.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},UE=ve({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),VE="fui-Icon",GE="fui-Icon-filled",WE="fui-Icon-regular",Be=(e,o,n,a)=>{const l=o==="1em"?"20":o,c=b.forwardRef((u,d)=>{const h=UE(),g=IE(u,{flipInRtl:a==null?void 0:a.flipInRtl}),v={...g,className:de(VE,g.className,h.root),ref:d,width:o,height:o,viewBox:`0 0 ${l} ${l}`,xmlns:"http://www.w3.org/2000/svg"};return typeof n=="string"?b.createElement("svg",{...v,dangerouslySetInnerHTML:{__html:n}}):b.createElement("svg",v,...n.map(m=>b.createElement("path",{d:m,fill:v.fill})))});return c.displayName=e,c},h5=Be("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"]),qi=Be("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"]),XE=Be("SettingsRegular","1em",["M1.91 7.38A8.5 8.5 0 0 1 3.7 4.3a.5.5 0 0 1 .54-.13l1.92.68a1 1 0 0 0 1.32-.76l.36-2a.5.5 0 0 1 .4-.4 8.53 8.53 0 0 1 3.55 0c.2.04.35.2.38.4l.37 2a1 1 0 0 0 1.32.76l1.92-.68a.5.5 0 0 1 .54.13 8.5 8.5 0 0 1 1.78 3.08c.06.2 0 .4-.15.54l-1.56 1.32a1 1 0 0 0 0 1.52l1.56 1.32a.5.5 0 0 1 .15.54 8.5 8.5 0 0 1-1.78 3.08.5.5 0 0 1-.54.13l-1.92-.68a1 1 0 0 0-1.32.76l-.37 2a.5.5 0 0 1-.38.4 8.53 8.53 0 0 1-3.56 0 .5.5 0 0 1-.39-.4l-.36-2a1 1 0 0 0-1.32-.76l-1.92.68a.5.5 0 0 1-.54-.13 8.5 8.5 0 0 1-1.78-3.08.5.5 0 0 1 .15-.54l1.56-1.32a1 1 0 0 0 0-1.52L2.06 7.92a.5.5 0 0 1-.15-.54Zm1.06 0 1.3 1.1a2 2 0 0 1 0 3.04l-1.3 1.1c.3.79.72 1.51 1.25 2.16l1.6-.58a2 2 0 0 1 2.63 1.53l.3 1.67a7.56 7.56 0 0 0 2.5 0l.3-1.67a2 2 0 0 1 2.64-1.53l1.6.58a7.5 7.5 0 0 0 1.24-2.16l-1.3-1.1a2 2 0 0 1 0-3.04l1.3-1.1a7.5 7.5 0 0 0-1.25-2.16l-1.6.58a2 2 0 0 1-2.63-1.53l-.3-1.67a7.55 7.55 0 0 0-2.5 0l-.3 1.67A2 2 0 0 1 5.81 5.8l-1.6-.58a7.5 7.5 0 0 0-1.24 2.16ZM7.5 10a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Zm1 0a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Z"]),$E=Be("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"]),Gy=Be("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"]),KE=Be("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"]),QE=Be("WarningRegular","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-10Zm4.38.48a2 2 0 0 0-3.5 0l-5.5 10A2 2 0 0 0 4.5 17h11a2 2 0 0 0 1.75-2.96l-5.5-10ZM10 12.75a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-6.25c.28 0 .5.22.5.5v4a.5.5 0 0 1-1 0V7c0-.28.22-.5.5-.5Z"]),ZE=Be("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"]),YE=Be("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"]),JE=Be("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"]),ld=Be("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"]),eR=Be("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"]),tR=Be("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"]),tm=Be("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),om=Be("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"]),oR=Be("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"]),rR=Be("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"]),g5=Be("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"]),nR=Be("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"]),p5=Be("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"]),aR=Be("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"]),iR=Be("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}),cn=Be("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"]),lR=Be("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"]),sR=Be("ArrowUploadRegular","1em",["M15 3a.5.5 0 0 0 .09-.99H4a.5.5 0 0 0-.09.98L4 3h11ZM9.5 18a.5.5 0 0 0 .5-.41V5.7l3.64 3.65c.17.18.44.2.64.06l.07-.06a.5.5 0 0 0 .06-.63l-.06-.07-4.5-4.5A.5.5 0 0 0 9.6 4h-.1a.5.5 0 0 0-.4.19L4.64 8.65a.5.5 0 0 0 .64.76l.07-.06L9 5.71V17.5c0 .28.22.5.5.5Z"]),cR=Be("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"]),uR=Be("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"]),dR=Be("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"]),fR=Be("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"]),pn=Be("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"]),hR=Be("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"]),gR=Be("ChevronLeftFilled","1em",["M12.27 15.8a.75.75 0 0 1-1.06-.03l-5-5.25a.75.75 0 0 1 0-1.04l5-5.25a.75.75 0 1 1 1.08 1.04L7.8 10l4.5 4.73c.29.3.28.78-.02 1.06Z"]),pR=Be("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),mR=Be("ChevronRightFilled","1em",["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06Z"]),m5=Be("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),v5=Be("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"]),vR=Be("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"]),bR=Be("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"]),yR=Be("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"]),xR=Be("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"]),wR=Be("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"]),SR=Be("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"]),kR=Be("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"]),b5=Be("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"]),BR=Be("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"]),_R=Be("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"]),zR=Be("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"]),CR=Be("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"]),NR=Be("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"]),TR=Be("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"]),ER=ve({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]}),y5=(e,o)=>{const n=a=>{const{className:l,filled:c,...u}=a,d=ER();return b.createElement(b.Fragment,null,b.createElement(e,Object.assign({},u,{className:de(d.root,c&&d.visible,GE,l)})),b.createElement(o,Object.assign({},u,{className:de(d.root,!c&&d.visible,WE,l)})))};return n.displayName="CompoundIcon",n},RR={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},jR={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)"},Le={...RR,...jR};function AR(e){if(e.playState==="running"){var o;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 l;const u=Number((l=(o=e.effect)===null||o===void 0?void 0:o.getTiming().duration)!==null&&l!==void 0?l:0);return c>0&&c<u}return!1}const DR={fill:"forwards"},MR={duration:1};function OR(e){return{set playbackRate(o){e.forEach(n=>{n.playbackRate=o})},setMotionEndCallbacks(o,n){const a=e.map(l=>new Promise((c,u)=>{l.onfinish=()=>c(),l.oncancel=()=>u()}));Promise.all(a).then(()=>{o()}).catch(()=>{n()})},isRunning(){return e.some(o=>AR(o))},dispose:()=>{e.length=0},cancel:()=>{e.forEach(o=>{o.cancel()})},pause:()=>{e.forEach(o=>{o.pause()})},play:()=>{e.forEach(o=>{o.play()})},finish:()=>{e.forEach(o=>{o.finish()})},reverse:()=>{e.forEach(o=>{o.reverse()})}}}function FR(){var e;const o=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return b.useCallback((n,a,l)=>{const c=Array.isArray(a)?a:[a],{isReducedMotion:u}=l,d=c.map(h=>{const{keyframes:g,reducedMotion:v=MR,...m}=h,{keyframes:x=g,...k}=v,w=u?x:g,y={...DR,...m,...u&&k};try{const _=n.animate(w,y);if(o)_==null||_.persist();else{const R=w[w.length-1];var z;Object.assign((z=n.style)!==null&&z!==void 0?z:{},R)}return _}catch{return null}}).filter(h=>!!h);return OR(d)},[o])}function x5(){"use no memo";return FR()}function w5(e){const o=b.useRef(void 0);return b.useImperativeHandle(e,()=>({setPlayState:n=>{if(n==="running"){var a;(a=o.current)===null||a===void 0||a.play()}if(n==="paused"){var l;(l=o.current)===null||l===void 0||l.pause()}},setPlaybackRate:n=>{o.current&&(o.current.playbackRate=n)}})),o}const qR="screen and (prefers-reduced-motion: reduce)";function S5(){const{targetDocument:e}=Qe();var o;const n=(o=e==null?void 0:e.defaultView)!==null&&o!==void 0?o:null,a=b.useRef(!1),l=b.useCallback(()=>a.current,[]);return Dt(()=>{if(n===null||typeof n.matchMedia!="function")return;const c=n.matchMedia(qR);c.matches&&(a.current=!0);const u=d=>{a.current=d.matches};return c.addEventListener("change",u),()=>{c.removeEventListener("change",u)}},[n]),l}const HR=["@fluentui/react-motion: Invalid child element.",`
133
- `,"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 k5(e,o=!0){const n=b.useRef(null);b.useEffect(()=>{},[o]);try{const a=b.Children.only(e);if(b.isValidElement(a))return[b.cloneElement(a,{ref:at(n,tc(a))}),n]}catch{}throw new Error(HR)}const B5=b.createContext(void 0);B5.Provider;const _5=()=>{var e;return(e=b.useContext(B5))!==null&&e!==void 0?e:"default"},PR=Symbol("MOTION_DEFINITION");function Wy(e){return Object.assign(n=>{"use no memo";const{children:a,imperativeRef:l,onMotionFinish:c,onMotionStart:u,onMotionCancel:d,...h}=n,g=h,[v,m]=k5(a),x=w5(l),k=_5()==="skip",w=b.useRef({skipMotions:k,params:g}),y=x5(),z=S5(),_=pe(()=>{u==null||u(null)}),R=pe(()=>{c==null||c(null)}),C=pe(()=>{d==null||d(null)});return Dt(()=>{w.current={skipMotions:k,params:g}}),Dt(()=>{const T=m.current;if(T){const E=typeof e=="function"?e({element:T,...w.current.params}):e;_();const j=y(T,E,{isReducedMotion:z()});return x.current=j,j.setMotionEndCallbacks(R,C),w.current.skipMotions&&j.finish(),()=>{j.cancel()}}},[y,m,x,z,R,_,C]),v},{[PR]:typeof e=="function"?e:()=>e})}const z5=b.createContext(void 0);z5.Provider;function LR(e=!1,o=!1){const n=b.useRef(o?e:!0),a=fC(),l=b.useCallback(c=>{n.current!==c&&(n.current=c,a())},[a]);return b.useEffect(()=>{e&&(n.current=e)}),[e||n.current,l]}const C5=Symbol("PRESENCE_MOTION_DEFINITION"),IR=Symbol.for("interruptablePresence");function _l(e){return Object.assign(o=>{"use no memo";const a={...b.useContext(z5),...o},l=_5()==="skip",{appear:c,children:u,imperativeRef:d,onExit:h,onMotionFinish:g,onMotionStart:v,onMotionCancel:m,visible:x,unmountOnExit:k,...w}=a,y=w,[z,_]=LR(x,k),[R,C]=k5(u,z),T=w5(d),E=b.useRef({appear:c,params:y,skipMotions:l}),j=x5(),M=Vp(),O=S5(),W=pe(le=>{v==null||v(null,{direction:le})}),Y=pe(le=>{g==null||g(null,{direction:le}),le==="exit"&&k&&(_(!1),h==null||h())}),fe=pe(le=>{m==null||m(null,{direction:le})});return Dt(()=>{E.current={appear:c,params:y,skipMotions:l}}),Dt(()=>{const le=C.current;if(!le)return;let se;function ie(){se&&(I&&se.isRunning()||(se.cancel(),T.current=void 0))}const Q=typeof e=="function"?e({element:le,...E.current.params}):e,I=Q[IR];if(I&&(se=T.current,se&&se.isRunning()))return se.reverse(),ie;const ee=x?Q.enter:Q.exit,oe=x?"enter":"exit",he=!E.current.appear&&M,Se=E.current.skipMotions;return he||W(oe),se=j(le,ee,{isReducedMotion:O()}),he?(se.finish(),ie):(T.current=se,se.setMotionEndCallbacks(()=>Y(oe),()=>fe(oe)),Se&&se.finish(),ie)},[j,C,T,O,Y,W,fe,x]),b.useEffect(()=>{if(k&&!z){var le;(le=T.current)===null||le===void 0||le.dispose()}},[T,k,z]),z?R:null},{[C5]:typeof e=="function"?e:()=>e},{In:Wy(typeof e=="function"?(...o)=>e(...o).enter:e.enter),Out:Wy(typeof e=="function"?(...o)=>e(...o).exit:e.exit)})}function UR(e,o){return a=>e({...o,...a})}function ua(e,o){const n=e[C5],a=UR(n,o);return _l(a)}const rm=b.createContext(void 0);function Ad(){return b.useContext(rm)}const Dd=b.forwardRef((e,o)=>b.createElement(rm.Provider,{value:o},e.children));Dd.displayName="MotionRefForwarder";const N5=e=>b.createElement(rm.Provider,{value:void 0},e.children);N5.displayName="MotionRefForwarderReset";function ic(e,o){const{as:n,children:a,...l}=e??{};if(e===null){const u=!o.defaultProps.visible&&o.defaultProps.unmountOnExit,d=(h,g)=>u?null:b.createElement(b.Fragment,null,g.children);return{[rd]:d,[fl]:o.elementType}}const c={...o.defaultProps,...l,[fl]:o.elementType};return typeof a=="function"&&(c[rd]=a),c}const VR=(e,o)=>{const{inline:n=!1,size:a="medium",...l}=e,c=GR(l,o),{dir:u}=Qe();let d;if(c.expandIconPosition==="end"?d=c.open?-90:90:d=c.open?90:u!=="rtl"?0:180,c.expandIcon){var h,g;(g=(h=c.expandIcon).children)!==null&&g!==void 0||(h.children=b.createElement(m5,{style:{transform:`rotate(${d}deg)`,transition:`transform ${Le.durationNormal}ms ease-out`}}))}return{...c,inline:n,size:a}},GR=(e,o)=>{const{icon:n,button:a,expandIcon:l,expandIconPosition:c="start",...u}=e,{value:d,disabled:h,open:g}=a5(),v=Ps(k=>k.requestToggle),m=Ps(k=>!k.collapsible&&k.openItems.length===1&&g),x=Ne(a,{elementType:"button",defaultProps:{disabled:h,disabledFocusable:m,"aria-expanded":g,type:"button"}});return x.onClick=pe(k=>{if(Lp(a)){var w;(w=a.onClick)===null||w===void 0||w.call(a,k)}k.defaultPrevented||v({value:d,event:k})}),{disabled:h,open:g,expandIconPosition:c,components:{root:"div",button:"button",expandIcon:"span",icon:"div"},root:Ne({ref:o,...u},{elementType:"div"}),icon:De(n,{elementType:"div"}),expandIcon:De(l,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"span"}),button:Xa(x.as,x)}},WR=b.createContext(void 0),{Provider:XR}=WR,$R=(e,o)=>ne(XR,{value:o.accordionHeader,children:ne(e.root,{children:it(e.button,{children:[e.expandIconPosition==="start"&&e.expandIcon&&ne(e.expandIcon,{}),e.icon&&ne(e.icon,{}),e.root.children,e.expandIconPosition==="end"&&e.expandIcon&&ne(e.expandIcon,{})]})})}),Du={root:"fui-AccordionHeader",button:"fui-AccordionHeader__button",expandIcon:"fui-AccordionHeader__expandIcon",icon:"fui-AccordionHeader__icon"},KR=ve({resetButton:{B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bv0vk6g:"f37px4s",fsow6f:"fgusgyc"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bqhya38:"f1j6vpng",Bwxa6fj:["f1pniga2","f1ffjurs"],Bdhvstf:"f987i1v",B7zbvrb:["f1ffjurs","f1pniga2"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},root:{sj55zd:"f19n0e5",De3pzq:"f1c21dwh",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},rootDisabled:{Bcmaq0h:"fwrgwhw",sj55zd:"f1s2aq7o"},rootInline:{mc9l5x:"f14t3ns0"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1rmphuq","f26yw9j"],sshi5w:"f5pgtk9",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bceei9c:"f1k6fduh",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B7ck84d:"f1ewtqcl"},buttonSmall:{sshi5w:"f1nxs5xn",Be2twd7:"fy9rknc"},buttonLarge:{Bg96gwp:"faaz57k",Be2twd7:"fod5ikn"},buttonExtraLarge:{Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},buttonInline:{mc9l5x:"ftuwxu6"},buttonExpandIconEndNoIcon:{uwmqm3:["f1uw59to","fw5db7e"]},buttonExpandIconEnd:{z189sj:["f11gcy0p","f1ng84yb"]},buttonDisabled:{Bceei9c:"fdrzuqr"},expandIcon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},expandIconStart:{z189sj:["f1vdfbxk","f1f5gg8d"]},expandIconEnd:{Bh6795r:"fqerorx",Bnnss6s:"f1neuvcm",xawz:"flqd7gy",mc9l5x:"f22iagw",Brf1p80:"f9c4gz4",uwmqm3:["f1f5gg8d","f1vdfbxk"]},icon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",z189sj:["f1vdfbxk","f1f5gg8d"],Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"}},{d:[".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f37px4s{-webkit-appearance:button;}",".fgusgyc{text-align:unset;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwrgwhw{background-image:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f14t3ns0{display:inline-block;}",".f10pi13n{position:relative;}",".fly5x3f{width:100%;}",".fre7gi1{border-top-width:0;}",".f1358rze{border-right-width:0;}",".f1rvrf73{border-left-width:0;}",".fqdk4by{border-bottom-width:0;}",[".f1rmphuq{padding:0 var(--spacingHorizontalM) 0 var(--spacingHorizontalMNudge);}",{p:-1}],[".f26yw9j{padding:0 var(--spacingHorizontalMNudge) 0 var(--spacingHorizontalM);}",{p:-1}],".f5pgtk9{min-height:44px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1ewtqcl{box-sizing:border-box;}",".f1nxs5xn{min-height:32px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".ftuwxu6{display:inline-flex;}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".fdrzuqr{cursor:not-allowed;}",".f1l02sjl{height:100%;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fqerorx{flex-grow:1;}",".f1neuvcm{flex-shrink:1;}",".flqd7gy{flex-basis:0%;}",".f9c4gz4{justify-content:flex-end;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],m:[["@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),QR=e=>{"use no memo";const o=KR();return e.root.className=de(Du.root,o.root,e.inline&&o.rootInline,e.disabled&&o.rootDisabled,e.root.className),e.button.className=de(Du.button,o.resetButton,o.button,o.focusIndicator,e.expandIconPosition==="end"&&!e.icon&&o.buttonExpandIconEndNoIcon,e.expandIconPosition==="end"&&o.buttonExpandIconEnd,e.inline&&o.buttonInline,e.size==="small"&&o.buttonSmall,e.size==="large"&&o.buttonLarge,e.size==="extra-large"&&o.buttonExtraLarge,e.disabled&&o.buttonDisabled,e.button.className),e.expandIcon&&(e.expandIcon.className=de(Du.expandIcon,o.expandIcon,e.expandIconPosition==="start"&&o.expandIconStart,e.expandIconPosition==="end"&&o.expandIconEnd,e.expandIcon.className)),e.icon&&(e.icon.className=de(Du.icon,o.icon,e.icon.className)),e};function ZR(e){const{disabled:o,expandIconPosition:n,open:a,size:l}=e;return{accordionHeader:b.useMemo(()=>({disabled:o,expandIconPosition:n,open:a,size:l}),[o,n,a,l])}}const T5=b.forwardRef((e,o)=>{const n=VR(e,o),a=ZR(n);return QR(n),Xe("useAccordionHeaderStyles_unstable")(n),$R(n,a)});T5.displayName="AccordionHeader";const E5=(e,o)=>{const n=e==="horizontal"?"maxWidth":"maxHeight",a=e==="horizontal"?"overflowX":"overflowY",c=`${e==="horizontal"?o.scrollWidth:o.scrollHeight}px`;return{sizeName:n,overflowName:a,toSize:c}},YR=({orientation:e,duration:o,easing:n,element:a,outSize:l="0",delay:c=0})=>{const{sizeName:u,overflowName:d,toSize:h}=E5(e,a);return{keyframes:[{[u]:l,[d]:"hidden"},{[u]:h,offset:.9999,[d]:"hidden"},{[u]:"unset",[d]:"unset"}],duration:o,easing:n,delay:c,fill:"both"}},JR=({orientation:e,duration:o,easing:n,element:a,delay:l=0,outSize:c="0"})=>{const{sizeName:u,overflowName:d,toSize:h}=E5(e,a);return{keyframes:[{[u]:h,[d]:"hidden"},{[u]:c,[d]:"hidden"}],duration:o,easing:n,delay:l,fill:"both"}},ej=e=>e==="horizontal"?{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"}:{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"},Xy=({direction:e,orientation:o,duration:n,easing:a,delay:l=0})=>{const{paddingStart:c,paddingEnd:u,marginStart:d,marginEnd:h}=ej(o),g=e==="enter"?0:1;return{keyframes:[{[c]:"0",[u]:"0",[d]:"0",[h]:"0",offset:g}],duration:n,easing:a,delay:l,fill:"both"}},la=({direction:e,duration:o,easing:n=Le.curveLinear,delay:a=0,outOpacity:l=0,inOpacity:c=1})=>{const u=[{opacity:l},{opacity:c}];return e==="exit"&&u.reverse(),{keyframes:u,duration:o,easing:n,delay:a,fill:"both"}},tj=({element:e,duration:o=Le.durationNormal,exitDuration:n=o,sizeDuration:a=o,opacityDuration:l=a,exitSizeDuration:c=n,exitOpacityDuration:u=c,easing:d=Le.curveEasyEaseMax,delay:h=0,exitEasing:g=d,exitDelay:v=h,staggerDelay:m=0,exitStaggerDelay:x=m,animateOpacity:k=!0,orientation:w="vertical",outSize:y="0px"})=>{const z=[YR({orientation:w,duration:a,easing:d,element:e,outSize:y,delay:h}),Xy({direction:"enter",orientation:w,duration:a,easing:d,delay:h})];k&&z.push(la({direction:"enter",duration:l,easing:d,delay:h+m}));const _=[];return k&&_.push(la({direction:"exit",duration:u,easing:g,delay:v})),_.push(JR({orientation:w,duration:c,easing:g,element:e,delay:v+x,outSize:y}),Xy({direction:"exit",orientation:w,duration:c,easing:g,delay:v+x})),{enter:z,exit:_}},Ls=_l(tj);ua(Ls,{duration:Le.durationFast});ua(Ls,{duration:Le.durationSlower});ua(Ls,{sizeDuration:Le.durationNormal,opacityDuration:Le.durationSlower,staggerDelay:Le.durationNormal,exitSizeDuration:Le.durationNormal,exitOpacityDuration:Le.durationSlower,exitStaggerDelay:Le.durationSlower,easing:Le.curveEasyEase,exitEasing:Le.curveEasyEase});const oj=({duration:e=Le.durationNormal,easing:o=Le.curveEasyEase,delay:n=0,exitDuration:a=e,exitEasing:l=o,exitDelay:c=n,outOpacity:u=0,inOpacity:d=1})=>({enter:la({direction:"enter",duration:e,easing:o,delay:n,outOpacity:u,inOpacity:d}),exit:la({direction:"exit",duration:a,easing:l,delay:c,outOpacity:u,inOpacity:d})}),R5=_l(oj);ua(R5,{duration:Le.durationFast});const rj=ua(R5,{duration:Le.durationGentle}),$y=({direction:e,duration:o,easing:n=Le.curveLinear,delay:a=0,outScale:l=.9,inScale:c=1})=>{const u=[{scale:l},{scale:c}];return e==="exit"&&u.reverse(),{keyframes:u,duration:o,easing:n,delay:a}},nj=({duration:e=Le.durationGentle,easing:o=Le.curveDecelerateMax,delay:n=0,exitDuration:a=Le.durationNormal,exitEasing:l=Le.curveAccelerateMax,exitDelay:c=n,outScale:u=.9,inScale:d=1,animateOpacity:h=!0})=>{const g=[$y({direction:"enter",duration:e,easing:o,delay:n,outScale:u,inScale:d})],v=[$y({direction:"exit",duration:a,easing:l,delay:c,outScale:u,inScale:d})];return h&&(g.push(la({direction:"enter",duration:e,easing:o,delay:n})),v.push(la({direction:"exit",duration:a,easing:l,delay:c}))),{enter:g,exit:v}},nm=_l(nj);ua(nm,{duration:Le.durationNormal,exitDuration:Le.durationFast});ua(nm,{duration:Le.durationSlow,exitDuration:Le.durationGentle});const j5=({direction:e,duration:o,easing:n=Le.curveLinear,delay:a=0,outX:l="0px",outY:c="0px",inX:u="0px",inY:d="0px"})=>({keyframes:[{translate:`${l} ${c}`},{translate:`${u} ${d}`}],duration:o,easing:n,delay:a}),aj=(e,o)=>{const{collapseMotion:n,...a}=e,l=ij(a,o),c=ad({focusable:{excludeFromMover:!0}}),u=Ps(d=>d.navigation);return{...l,components:{...l.components,collapseMotion:Ls},root:{...l.root,...u&&c},collapseMotion:ic(e.collapseMotion,{elementType:Ls,defaultProps:{visible:l.open,unmountOnExit:!0}})}},ij=(e,o)=>{const{open:n}=a5();return{open:n,components:{root:"div"},root:Ne({ref:o,...e,...n?{}:{tabIndex:-1,inert:!0}},{elementType:"div"})}},lj=e=>e.collapseMotion?ne(e.collapseMotion,{children:ne(e.root,{})}):ne(e.root,{}),sj={root:"fui-AccordionPanel"},cj=ve({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1axvtxu"}},{d:[[".f1axvtxu{margin:0 var(--spacingHorizontalM);}",{p:-1}]]}),uj=e=>{"use no memo";const o=cj();return e.root.className=de(sj.root,o.root,e.root.className),e},A5=b.forwardRef((e,o)=>{const n=aj(e,o);return uj(n),Xe("useAccordionPanelStyles_unstable")(n),lj(n)});A5.displayName="AccordionPanel";const dj=(e,o)=>{const{shape:n="circular",size:a="medium",appearance:l="filled",color:c="brand",...u}=e;return{...fj(u,o),shape:n,size:a,appearance:l,color:c}},fj=(e,o)=>{const{iconPosition:n="before"}=e;return{iconPosition:n,components:{root:"div",icon:"span"},root:Ne(Et("div",{ref:o,...e}),{elementType:"div"}),icon:De(e.icon,{elementType:"span"})}},Ky={root:"fui-Badge",icon:"fui-Badge__icon"},hj=Ee("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;}']),gj=ve({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);}"]}),pj=Ee("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),mj=ve({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;}"]}),vj=e=>{"use no memo";const o=hj(),n=gj(),a=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=de(Ky.root,o,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 l=pj(),c=mj();if(e.icon){let u;b.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=de(Ky.icon,l,u,c[e.size],e.icon.className)}return e},bj=e=>it(e.root,{children:[e.iconPosition==="before"&&e.icon&&ne(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&ne(e.icon,{})]}),dr=b.forwardRef((e,o)=>{const n=dj(e,o);return vj(n),Xe("useBadgeStyles_unstable")(n),bj(n)});dr.displayName="Badge";function yj(e){const o=e.clientX,n=e.clientY,a=o+1,l=n+1;function c(){return{left:o,top:n,right:a,bottom:l,x:o,y:n,height:1,width:1}}return{getBoundingClientRect:c}}const Qy="data-popper-is-intersecting",Zy="data-popper-escaped",Yy="data-popper-reference-hidden",xj="data-popper-placement",fp="fui-positioningend",sd="--fui-positioning-slide-direction-x",cd="--fui-positioning-slide-direction-y";function wj(e){const o=e.split("-")[0];let n=0,a=1;return o==="right"?(n=-1,a=0):o==="bottom"?(n=0,a=-1):o==="left"&&(n=1,a=0),{x:n,y:a}}function D5(e){const{targetDocument:o,onPositioningEnd:n}=e,a=pe(l=>{n==null||n(l);const c=l.target,u=l.detail.placement;if(!pr(c))return;const{x:d,y:h}=wj(u);c.style.setProperty(sd,`${d}px`),c.style.setProperty(cd,`${h}px`)});return b.useEffect(()=>{var l,c,u;const d=(u=o==null||(c=o.defaultView)===null||c===void 0||(l=c.CSS)===null||l===void 0?void 0:l.registerProperty)!==null&&u!==void 0?u:()=>{};try{d({name:sd,syntax:"<length>",inherits:!1,initialValue:"0px"}),d({name:cd,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[o]),a}const Sj=({options:e})=>e,M5=b.createContext(void 0);M5.Provider;const kj=()=>{var e;return(e=b.useContext(M5))!==null&&e!==void 0?e:Sj},Bj=["top","right","bottom","left"],$a=Math.min,Qo=Math.max,ud=Math.round,Ar=e=>({x:e,y:e}),_j={left:"right",right:"left",bottom:"top",top:"bottom"};function hp(e,o,n){return Qo(e,$a(o,n))}function mn(e,o){return typeof e=="function"?e(o):e}function vn(e){return e.split("-")[0]}function zl(e){return e.split("-")[1]}function am(e){return e==="x"?"y":"x"}function im(e){return e==="y"?"height":"width"}function jr(e){const o=e[0];return o==="t"||o==="b"?"y":"x"}function lm(e){return am(jr(e))}function zj(e,o,n){n===void 0&&(n=!1);const a=zl(e),l=lm(e),c=im(l);let u=l==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(u=dd(u)),[u,dd(u)]}function Cj(e){const o=dd(e);return[gp(e),o,gp(o)]}function gp(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Jy=["left","right"],ex=["right","left"],Nj=["top","bottom"],Tj=["bottom","top"];function Ej(e,o,n){switch(e){case"top":case"bottom":return n?o?ex:Jy:o?Jy:ex;case"left":case"right":return o?Nj:Tj;default:return[]}}function Rj(e,o,n,a){const l=zl(e);let c=Ej(vn(e),n==="start",a);return l&&(c=c.map(u=>u+"-"+l),o&&(c=c.concat(c.map(gp)))),c}function dd(e){const o=vn(e);return _j[o]+e.slice(o.length)}function jj(e){return{top:0,right:0,bottom:0,left:0,...e}}function O5(e){return typeof e!="number"?jj(e):{top:e,right:e,bottom:e,left:e}}function fd(e){const{x:o,y:n,width:a,height:l}=e;return{width:a,height:l,top:n,left:o,right:o+a,bottom:n+l,x:o,y:n}}function tx(e,o,n){let{reference:a,floating:l}=e;const c=jr(o),u=lm(o),d=im(u),h=vn(o),g=c==="y",v=a.x+a.width/2-l.width/2,m=a.y+a.height/2-l.height/2,x=a[d]/2-l[d]/2;let k;switch(h){case"top":k={x:v,y:a.y-l.height};break;case"bottom":k={x:v,y:a.y+a.height};break;case"right":k={x:a.x+a.width,y:m};break;case"left":k={x:a.x-l.width,y:m};break;default:k={x:a.x,y:a.y}}switch(zl(o)){case"start":k[u]-=x*(n&&g?-1:1);break;case"end":k[u]+=x*(n&&g?-1:1);break}return k}async function F5(e,o){var n;o===void 0&&(o={});const{x:a,y:l,platform:c,rects:u,elements:d,strategy:h}=e,{boundary:g="clippingAncestors",rootBoundary:v="viewport",elementContext:m="floating",altBoundary:x=!1,padding:k=0}=mn(o,e),w=O5(k),z=d[x?m==="floating"?"reference":"floating":m],_=fd(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:g,rootBoundary:v,strategy:h})),R=m==="floating"?{x:a,y:l,width:u.floating.width,height:u.floating.height}:u.reference,C=await(c.getOffsetParent==null?void 0:c.getOffsetParent(d.floating)),T=await(c.isElement==null?void 0:c.isElement(C))?await(c.getScale==null?void 0:c.getScale(C))||{x:1,y:1}:{x:1,y:1},E=fd(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:R,offsetParent:C,strategy:h}):R);return{top:(_.top-E.top+w.top)/T.y,bottom:(E.bottom-_.bottom+w.bottom)/T.y,left:(_.left-E.left+w.left)/T.x,right:(E.right-_.right+w.right)/T.x}}const Aj=50,Dj=async(e,o,n)=>{const{placement:a="bottom",strategy:l="absolute",middleware:c=[],platform:u}=n,d=u.detectOverflow?u:{...u,detectOverflow:F5},h=await(u.isRTL==null?void 0:u.isRTL(o));let g=await u.getElementRects({reference:e,floating:o,strategy:l}),{x:v,y:m}=tx(g,a,h),x=a,k=0;const w={};for(let y=0;y<c.length;y++){const z=c[y];if(!z)continue;const{name:_,fn:R}=z,{x:C,y:T,data:E,reset:j}=await R({x:v,y:m,initialPlacement:a,placement:x,strategy:l,middlewareData:w,rects:g,platform:d,elements:{reference:e,floating:o}});v=C??v,m=T??m,w[_]={...w[_],...E},j&&k<Aj&&(k++,typeof j=="object"&&(j.placement&&(x=j.placement),j.rects&&(g=j.rects===!0?await u.getElementRects({reference:e,floating:o,strategy:l}):j.rects),{x:v,y:m}=tx(g,x,h)),y=-1)}return{x:v,y:m,placement:x,strategy:l,middlewareData:w}},Mj=e=>({name:"arrow",options:e,async fn(o){const{x:n,y:a,placement:l,rects:c,platform:u,elements:d,middlewareData:h}=o,{element:g,padding:v=0}=mn(e,o)||{};if(g==null)return{};const m=O5(v),x={x:n,y:a},k=lm(l),w=im(k),y=await u.getDimensions(g),z=k==="y",_=z?"top":"left",R=z?"bottom":"right",C=z?"clientHeight":"clientWidth",T=c.reference[w]+c.reference[k]-x[k]-c.floating[w],E=x[k]-c.reference[k],j=await(u.getOffsetParent==null?void 0:u.getOffsetParent(g));let M=j?j[C]:0;(!M||!await(u.isElement==null?void 0:u.isElement(j)))&&(M=d.floating[C]||c.floating[w]);const O=T/2-E/2,W=M/2-y[w]/2-1,Y=$a(m[_],W),fe=$a(m[R],W),le=Y,se=M-y[w]-fe,ie=M/2-y[w]/2+O,Q=hp(le,ie,se),I=!h.arrow&&zl(l)!=null&&ie!==Q&&c.reference[w]/2-(ie<le?Y:fe)-y[w]/2<0,ee=I?ie<le?ie-le:ie-se:0;return{[k]:x[k]+ee,data:{[k]:Q,centerOffset:ie-Q-ee,...I&&{alignmentOffset:ee}},reset:I}}}),Oj=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(o){var n,a;const{placement:l,middlewareData:c,rects:u,initialPlacement:d,platform:h,elements:g}=o,{mainAxis:v=!0,crossAxis:m=!0,fallbackPlacements:x,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:y=!0,...z}=mn(e,o);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const _=vn(l),R=jr(d),C=vn(d)===d,T=await(h.isRTL==null?void 0:h.isRTL(g.floating)),E=x||(C||!y?[dd(d)]:Cj(d)),j=w!=="none";!x&&j&&E.push(...Rj(d,y,w,T));const M=[d,...E],O=await h.detectOverflow(o,z),W=[];let Y=((a=c.flip)==null?void 0:a.overflows)||[];if(v&&W.push(O[_]),m){const ie=zj(l,u,T);W.push(O[ie[0]],O[ie[1]])}if(Y=[...Y,{placement:l,overflows:W}],!W.every(ie=>ie<=0)){var fe,le;const ie=(((fe=c.flip)==null?void 0:fe.index)||0)+1,Q=M[ie];if(Q&&(!(m==="alignment"?R!==jr(Q):!1)||Y.every(oe=>jr(oe.placement)===R?oe.overflows[0]>0:!0)))return{data:{index:ie,overflows:Y},reset:{placement:Q}};let I=(le=Y.filter(ee=>ee.overflows[0]<=0).sort((ee,oe)=>ee.overflows[1]-oe.overflows[1])[0])==null?void 0:le.placement;if(!I)switch(k){case"bestFit":{var se;const ee=(se=Y.filter(oe=>{if(j){const he=jr(oe.placement);return he===R||he==="y"}return!0}).map(oe=>[oe.placement,oe.overflows.filter(he=>he>0).reduce((he,Se)=>he+Se,0)]).sort((oe,he)=>oe[1]-he[1])[0])==null?void 0:se[0];ee&&(I=ee);break}case"initialPlacement":I=d;break}if(l!==I)return{reset:{placement:I}}}return{}}}};function ox(e,o){return{top:e.top-o.height,right:e.right-o.width,bottom:e.bottom-o.height,left:e.left-o.width}}function rx(e){return Bj.some(o=>e[o]>=0)}const Fj=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(o){const{rects:n,platform:a}=o,{strategy:l="referenceHidden",...c}=mn(e,o);switch(l){case"referenceHidden":{const u=await a.detectOverflow(o,{...c,elementContext:"reference"}),d=ox(u,n.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:rx(d)}}}case"escaped":{const u=await a.detectOverflow(o,{...c,altBoundary:!0}),d=ox(u,n.floating);return{data:{escapedOffsets:d,escaped:rx(d)}}}default:return{}}}}},q5=new Set(["left","top"]);async function qj(e,o){const{placement:n,platform:a,elements:l}=e,c=await(a.isRTL==null?void 0:a.isRTL(l.floating)),u=vn(n),d=zl(n),h=jr(n)==="y",g=q5.has(u)?-1:1,v=c&&h?-1:1,m=mn(o,e);let{mainAxis:x,crossAxis:k,alignmentAxis:w}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return d&&typeof w=="number"&&(k=d==="end"?w*-1:w),h?{x:k*v,y:x*g}:{x:x*g,y:k*v}}const Hj=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(o){var n,a;const{x:l,y:c,placement:u,middlewareData:d}=o,h=await qj(o,e);return u===((n=d.offset)==null?void 0:n.placement)&&(a=d.arrow)!=null&&a.alignmentOffset?{}:{x:l+h.x,y:c+h.y,data:{...h,placement:u}}}}},Pj=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){const{x:n,y:a,placement:l,platform:c}=o,{mainAxis:u=!0,crossAxis:d=!1,limiter:h={fn:_=>{let{x:R,y:C}=_;return{x:R,y:C}}},...g}=mn(e,o),v={x:n,y:a},m=await c.detectOverflow(o,g),x=jr(vn(l)),k=am(x);let w=v[k],y=v[x];if(u){const _=k==="y"?"top":"left",R=k==="y"?"bottom":"right",C=w+m[_],T=w-m[R];w=hp(C,w,T)}if(d){const _=x==="y"?"top":"left",R=x==="y"?"bottom":"right",C=y+m[_],T=y-m[R];y=hp(C,y,T)}const z=h.fn({...o,[k]:w,[x]:y});return{...z,data:{x:z.x-n,y:z.y-a,enabled:{[k]:u,[x]:d}}}}}},Lj=function(e){return e===void 0&&(e={}),{options:e,fn(o){const{x:n,y:a,placement:l,rects:c,middlewareData:u}=o,{offset:d=0,mainAxis:h=!0,crossAxis:g=!0}=mn(e,o),v={x:n,y:a},m=jr(l),x=am(m);let k=v[x],w=v[m];const y=mn(d,o),z=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(h){const C=x==="y"?"height":"width",T=c.reference[x]-c.floating[C]+z.mainAxis,E=c.reference[x]+c.reference[C]-z.mainAxis;k<T?k=T:k>E&&(k=E)}if(g){var _,R;const C=x==="y"?"width":"height",T=q5.has(vn(l)),E=c.reference[m]-c.floating[C]+(T&&((_=u.offset)==null?void 0:_[m])||0)+(T?0:z.crossAxis),j=c.reference[m]+c.reference[C]+(T?0:((R=u.offset)==null?void 0:R[m])||0)-(T?z.crossAxis:0);w<E?w=E:w>j&&(w=j)}return{[x]:k,[m]:w}}}},Ij=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(o){var n,a;const{placement:l,rects:c,platform:u,elements:d}=o,{apply:h=()=>{},...g}=mn(e,o),v=await u.detectOverflow(o,g),m=vn(l),x=zl(l),k=jr(l)==="y",{width:w,height:y}=c.floating;let z,_;m==="top"||m==="bottom"?(z=m,_=x===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(_=m,z=x==="end"?"top":"bottom");const R=y-v.top-v.bottom,C=w-v.left-v.right,T=$a(y-v[z],R),E=$a(w-v[_],C),j=!o.middlewareData.shift;let M=T,O=E;if((n=o.middlewareData.shift)!=null&&n.enabled.x&&(O=C),(a=o.middlewareData.shift)!=null&&a.enabled.y&&(M=R),j&&!x){const Y=Qo(v.left,0),fe=Qo(v.right,0),le=Qo(v.top,0),se=Qo(v.bottom,0);k?O=w-2*(Y!==0||fe!==0?Y+fe:Qo(v.left,v.right)):M=y-2*(le!==0||se!==0?le+se:Qo(v.top,v.bottom))}await h({...o,availableWidth:O,availableHeight:M});const W=await u.getDimensions(d.floating);return w!==W.width||y!==W.height?{reset:{rects:!0}}:{}}}};function Md(){return typeof window<"u"}function Cl(e){return H5(e)?(e.nodeName||"").toLowerCase():"#document"}function Ro(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function yn(e){var o;return(o=(H5(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function H5(e){return Md()?e instanceof Node||e instanceof Ro(e).Node:!1}function mr(e){return Md()?e instanceof Element||e instanceof Ro(e).Element:!1}function xn(e){return Md()?e instanceof HTMLElement||e instanceof Ro(e).HTMLElement:!1}function nx(e){return!Md()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ro(e).ShadowRoot}function lc(e){const{overflow:o,overflowX:n,overflowY:a,display:l}=vr(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+n)&&l!=="inline"&&l!=="contents"}function Uj(e){return/^(table|td|th)$/.test(Cl(e))}function Od(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Vj=/transform|translate|scale|rotate|perspective|filter/,Gj=/paint|layout|strict|content/,Ta=e=>!!e&&e!=="none";let Eg;function sm(e){const o=mr(e)?vr(e):e;return Ta(o.transform)||Ta(o.translate)||Ta(o.scale)||Ta(o.rotate)||Ta(o.perspective)||!cm()&&(Ta(o.backdropFilter)||Ta(o.filter))||Vj.test(o.willChange||"")||Gj.test(o.contain||"")}function Wj(e){let o=sa(e);for(;xn(o)&&!hl(o);){if(sm(o))return o;if(Od(o))return null;o=sa(o)}return null}function cm(){return Eg==null&&(Eg=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Eg}function hl(e){return/^(html|body|#document)$/.test(Cl(e))}function vr(e){return Ro(e).getComputedStyle(e)}function Fd(e){return mr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function sa(e){if(Cl(e)==="html")return e;const o=e.assignedSlot||e.parentNode||nx(e)&&e.host||yn(e);return nx(o)?o.host:o}function P5(e){const o=sa(e);return hl(o)?e.ownerDocument?e.ownerDocument.body:e.body:xn(o)&&lc(o)?o:P5(o)}function L5(e,o,n){var a;o===void 0&&(o=[]);const l=P5(e),c=l===((a=e.ownerDocument)==null?void 0:a.body),u=Ro(l);return c?(pp(u),o.concat(u,u.visualViewport||[],lc(l)?l:[],[])):o.concat(l,L5(l,[]))}function pp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function I5(e){const o=vr(e);let n=parseFloat(o.width)||0,a=parseFloat(o.height)||0;const l=xn(e),c=l?e.offsetWidth:n,u=l?e.offsetHeight:a,d=ud(n)!==c||ud(a)!==u;return d&&(n=c,a=u),{width:n,height:a,$:d}}function U5(e){return mr(e)?e:e.contextElement}function Xi(e){const o=U5(e);if(!xn(o))return Ar(1);const n=o.getBoundingClientRect(),{width:a,height:l,$:c}=I5(o);let u=(c?ud(n.width):n.width)/a,d=(c?ud(n.height):n.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const Xj=Ar(0);function V5(e){const o=Ro(e);return!cm()||!o.visualViewport?Xj:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function $j(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==Ro(e)?!1:o}function Is(e,o,n,a){o===void 0&&(o=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),c=U5(e);let u=Ar(1);o&&(a?mr(a)&&(u=Xi(a)):u=Xi(e));const d=$j(c,n,a)?V5(c):Ar(0);let h=(l.left+d.x)/u.x,g=(l.top+d.y)/u.y,v=l.width/u.x,m=l.height/u.y;if(c){const x=Ro(c),k=a&&mr(a)?Ro(a):a;let w=x,y=pp(w);for(;y&&a&&k!==w;){const z=Xi(y),_=y.getBoundingClientRect(),R=vr(y),C=_.left+(y.clientLeft+parseFloat(R.paddingLeft))*z.x,T=_.top+(y.clientTop+parseFloat(R.paddingTop))*z.y;h*=z.x,g*=z.y,v*=z.x,m*=z.y,h+=C,g+=T,w=Ro(y),y=pp(w)}}return fd({width:v,height:m,x:h,y:g})}function qd(e,o){const n=Fd(e).scrollLeft;return o?o.left+n:Is(yn(e)).left+n}function G5(e,o){const n=e.getBoundingClientRect(),a=n.left+o.scrollLeft-qd(e,n),l=n.top+o.scrollTop;return{x:a,y:l}}function Kj(e){let{elements:o,rect:n,offsetParent:a,strategy:l}=e;const c=l==="fixed",u=yn(a),d=o?Od(o.floating):!1;if(a===u||d&&c)return n;let h={scrollLeft:0,scrollTop:0},g=Ar(1);const v=Ar(0),m=xn(a);if((m||!m&&!c)&&((Cl(a)!=="body"||lc(u))&&(h=Fd(a)),m)){const k=Is(a);g=Xi(a),v.x=k.x+a.clientLeft,v.y=k.y+a.clientTop}const x=u&&!m&&!c?G5(u,h):Ar(0);return{width:n.width*g.x,height:n.height*g.y,x:n.x*g.x-h.scrollLeft*g.x+v.x+x.x,y:n.y*g.y-h.scrollTop*g.y+v.y+x.y}}function Qj(e){return Array.from(e.getClientRects())}function Zj(e){const o=yn(e),n=Fd(e),a=e.ownerDocument.body,l=Qo(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),c=Qo(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight);let u=-n.scrollLeft+qd(e);const d=-n.scrollTop;return vr(a).direction==="rtl"&&(u+=Qo(o.clientWidth,a.clientWidth)-l),{width:l,height:c,x:u,y:d}}const ax=25;function Yj(e,o){const n=Ro(e),a=yn(e),l=n.visualViewport;let c=a.clientWidth,u=a.clientHeight,d=0,h=0;if(l){c=l.width,u=l.height;const v=cm();(!v||v&&o==="fixed")&&(d=l.offsetLeft,h=l.offsetTop)}const g=qd(a);if(g<=0){const v=a.ownerDocument,m=v.body,x=getComputedStyle(m),k=v.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,w=Math.abs(a.clientWidth-m.clientWidth-k);w<=ax&&(c-=w)}else g<=ax&&(c+=g);return{width:c,height:u,x:d,y:h}}function Jj(e,o){const n=Is(e,!0,o==="fixed"),a=n.top+e.clientTop,l=n.left+e.clientLeft,c=xn(e)?Xi(e):Ar(1),u=e.clientWidth*c.x,d=e.clientHeight*c.y,h=l*c.x,g=a*c.y;return{width:u,height:d,x:h,y:g}}function ix(e,o,n){let a;if(o==="viewport")a=Yj(e,n);else if(o==="document")a=Zj(yn(e));else if(mr(o))a=Jj(o,n);else{const l=V5(e);a={x:o.x-l.x,y:o.y-l.y,width:o.width,height:o.height}}return fd(a)}function W5(e,o){const n=sa(e);return n===o||!mr(n)||hl(n)?!1:vr(n).position==="fixed"||W5(n,o)}function e7(e,o){const n=o.get(e);if(n)return n;let a=L5(e,[]).filter(d=>mr(d)&&Cl(d)!=="body"),l=null;const c=vr(e).position==="fixed";let u=c?sa(e):e;for(;mr(u)&&!hl(u);){const d=vr(u),h=sm(u);!h&&d.position==="fixed"&&(l=null),(c?!h&&!l:!h&&d.position==="static"&&!!l&&(l.position==="absolute"||l.position==="fixed")||lc(u)&&!h&&W5(e,u))?a=a.filter(v=>v!==u):l=d,u=sa(u)}return o.set(e,a),a}function t7(e){let{element:o,boundary:n,rootBoundary:a,strategy:l}=e;const u=[...n==="clippingAncestors"?Od(o)?[]:e7(o,this._c):[].concat(n),a],d=ix(o,u[0],l);let h=d.top,g=d.right,v=d.bottom,m=d.left;for(let x=1;x<u.length;x++){const k=ix(o,u[x],l);h=Qo(k.top,h),g=$a(k.right,g),v=$a(k.bottom,v),m=Qo(k.left,m)}return{width:g-m,height:v-h,x:m,y:h}}function o7(e){const{width:o,height:n}=I5(e);return{width:o,height:n}}function r7(e,o,n){const a=xn(o),l=yn(o),c=n==="fixed",u=Is(e,!0,c,o);let d={scrollLeft:0,scrollTop:0};const h=Ar(0);function g(){h.x=qd(l)}if(a||!a&&!c)if((Cl(o)!=="body"||lc(l))&&(d=Fd(o)),a){const k=Is(o,!0,c,o);h.x=k.x+o.clientLeft,h.y=k.y+o.clientTop}else l&&g();c&&!a&&l&&g();const v=l&&!a&&!c?G5(l,d):Ar(0),m=u.left+d.scrollLeft-h.x-v.x,x=u.top+d.scrollTop-h.y-v.y;return{x:m,y:x,width:u.width,height:u.height}}function Rg(e){return vr(e).position==="static"}function lx(e,o){if(!xn(e)||vr(e).position==="fixed")return null;if(o)return o(e);let n=e.offsetParent;return yn(e)===n&&(n=n.ownerDocument.body),n}function X5(e,o){const n=Ro(e);if(Od(e))return n;if(!xn(e)){let l=sa(e);for(;l&&!hl(l);){if(mr(l)&&!Rg(l))return l;l=sa(l)}return n}let a=lx(e,o);for(;a&&Uj(a)&&Rg(a);)a=lx(a,o);return a&&hl(a)&&Rg(a)&&!sm(a)?n:a||Wj(e)||n}const n7=async function(e){const o=this.getOffsetParent||X5,n=this.getDimensions,a=await n(e.floating);return{reference:r7(e.reference,await o(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function a7(e){return vr(e).direction==="rtl"}const i7={convertOffsetParentRelativeRectToViewportRelativeRect:Kj,getDocumentElement:yn,getClippingRect:t7,getOffsetParent:X5,getElementRects:n7,getClientRects:Qj,getDimensions:o7,getScale:Xi,isElement:mr,isRTL:a7},l7=F5,s7=Hj,c7=Pj,u7=Oj,d7=Ij,sx=Fj,f7=Mj,cx=Lj,h7=(e,o,n)=>{const a=new Map,l={platform:i7,...n},c={...l.platform,_c:a};return Dj(e,o,{...l,platform:c})};function $5(e){const o=e.split("-");return{side:o[0],alignment:o[1]}}const g7=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,p7=e=>{var o;if(e.nodeType!==1)return{};const n=(o=e.ownerDocument)===null||o===void 0?void 0:o.defaultView;return n?n.getComputedStyle(e,null):{}},Hd=e=>{const o=e&&g7(e);if(!o)return document.body;switch(o.nodeName){case"HTML":case"BODY":return o.ownerDocument.body;case"#document":return o.body}const{overflow:n,overflowX:a,overflowY:l}=p7(o);return/(auto|scroll|overlay)/.test(n+l+a)?o:Hd(o)},m7=e=>{var o;const n=Hd(e);return n?n!==((o=n.ownerDocument)===null||o===void 0?void 0:o.body):!1};function um(e,o){if(o==="window")return e==null?void 0:e.ownerDocument.documentElement;if(o==="clippingParents")return"clippingAncestors";if(o==="scrollParent"){let n=Hd(e);return n.nodeName==="BODY"&&(n=e==null?void 0:e.ownerDocument.documentElement),n}return o}function K5(e,o){return typeof e=="number"||typeof e=="object"&&e!==null?jg(e,o):typeof e=="function"?n=>{const a=e(n);return jg(a,o)}:{mainAxis:o}}const jg=(e,o)=>{if(typeof e=="number")return{mainAxis:e+o};var n;return{...e,mainAxis:((n=e.mainAxis)!==null&&n!==void 0?n:0)+o}};function Q5(e,o){if(typeof e=="number")return e;const{start:n,end:a,...l}=e,c=l,u=o?"end":"start",d=o?"start":"end";return e[u]&&(c.left=e[u]),e[d]&&(c.right=e[d]),c}const v7=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),b7=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),y7=(e,o)=>{const n=e==="above"||e==="below",a=o==="top"||o==="bottom";return n&&a||!n&&!a},Z5=(e,o,n)=>{const a=y7(o,e)?"center":e,l=o&&v7(n)[o],c=a&&b7()[a];return l&&c?`${l}-${c}`:l},x7=()=>({top:"above",bottom:"below",right:"after",left:"before"}),w7=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},S7=e=>{const{side:o,alignment:n}=$5(e),a=x7()[o],l=n&&w7(a)[n];return{position:a,alignment:l}},k7={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 Nl(e){return e==null?{}:typeof e=="string"?k7[e]:e}function Ag(e,o,n){const a=b.useRef(!0),[l]=b.useState(()=>({value:e,callback:o,facade:{get current(){return l.value},set current(c){const u=l.value;u!==c&&(l.value=c,l.callback(c,u))}}}));return Dt(()=>{a.current=!1},[]),l.callback=o,l.facade}function B7(e){let o;return()=>(o||(o=new Promise(n=>{Promise.resolve().then(()=>{o=void 0,n(e())})})),o)}function _7(e){const{arrow:o,middlewareData:n}=e;if(!n.arrow||!o)return;const{x:a,y:l}=n.arrow;Object.assign(o.style,{left:a!=null?`${a}px`:"",top:l!=null?`${l}px`:""})}function z7(e){var o,n,a;const{container:l,placement:c,middlewareData:u,strategy:d,lowPPI:h,coordinates:g,useTransform:v=!0}=e;if(!l)return;l.setAttribute(xj,c),l.removeAttribute(Qy),u.intersectionObserver.intersecting&&l.setAttribute(Qy,""),l.removeAttribute(Zy),!((o=u.hide)===null||o===void 0)&&o.escaped&&l.setAttribute(Zy,""),l.removeAttribute(Yy),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&l.setAttribute(Yy,"");const m=((a=l.ownerDocument.defaultView)===null||a===void 0?void 0:a.devicePixelRatio)||1,x=Math.round(g.x*m)/m,k=Math.round(g.y*m)/m;if(Object.assign(l.style,{position:d}),v){Object.assign(l.style,{transform:h?`translate(${x}px, ${k}px)`:`translate3d(${x}px, ${k}px, 0)`});return}Object.assign(l.style,{left:`${x}px`,top:`${k}px`})}const C7=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 ux(e){const o=[];let n=e;for(;n;){const a=Hd(n);if(e.ownerDocument.body===a){o.push(a);break}if(a.nodeName==="BODY"&&a!==e.ownerDocument.body)break;o.push(a),n=a}return o}function N7(e,o){return new e.ResizeObserver(o)}function T7(e){let o=!1;const{container:n,target:a,arrow:l,strategy:c,middleware:u,placement:d,useTransform:h=!0,disableUpdateOnResize:g=!1}=e,v=n.ownerDocument.defaultView;if(!a||!n||!v)return{updatePosition:()=>{},dispose:()=>{}};const m=g?null:N7(v,_=>{_.every(C=>C.contentRect.width>0&&C.contentRect.height>0)&&y()});let x=!0;const k=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const w=()=>{o||(x&&(ux(n).forEach(_=>k.add(_)),pr(a)&&ux(a).forEach(_=>k.add(_)),k.forEach(_=>{_.addEventListener("scroll",y,{passive:!0})}),m==null||m.observe(n),pr(a)&&(m==null||m.observe(a)),x=!1),Object.assign(n.style,{position:c}),h7(a,n,{placement:d,middleware:u,strategy:c}).then(({x:_,y:R,middlewareData:C,placement:T})=>{o||(_7({arrow:l,middlewareData:C}),z7({container:n,middlewareData:C,placement:T,coordinates:{x:_,y:R},lowPPI:((v==null?void 0:v.devicePixelRatio)||1)<=1,strategy:c,useTransform:h}),n.dispatchEvent(new CustomEvent(fp,{detail:{placement:T}})))}).catch(_=>{}))},y=B7(()=>w()),z=()=>{o=!0,v&&(v.removeEventListener("scroll",y),v.removeEventListener("resize",y)),k.forEach(_=>{_.removeEventListener("scroll",y)}),k.clear(),m==null||m.disconnect()};return v&&(v.addEventListener("scroll",y,{passive:!0}),v.addEventListener("resize",y)),y(),{updatePosition:y,dispose:z}}function E7(){return{name:"coverTarget",fn:e=>{const{placement:o,rects:n,x:a,y:l}=e,c=$5(o).side,u={x:a,y:l};switch(c){case"bottom":u.y-=n.reference.height;break;case"top":u.y+=n.reference.height;break;case"left":u.x+=n.reference.width;break;case"right":u.x-=n.reference.width;break}return u}}}function R7(e){const{hasScrollableElement:o,flipBoundary:n,container:a,fallbackPositions:l=[],isRtl:c}=e,u=l.reduce((d,h)=>{const{position:g,align:v}=Nl(h),m=Z5(v,g,c);return m&&d.push(m),d},[]);return u7({...o&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:um(a,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function j7(){return{name:"intersectionObserver",fn:async e=>{const o=e.rects.floating,n=await l7(e,{altBoundary:!0}),a=n.top<o.height&&n.top>0,l=n.bottom<o.height&&n.bottom>0;return{data:{intersecting:a||l}}}}}const A7=e=>({name:"resetMaxSize",fn({middlewareData:o,elements:n}){var a;if(!((a=o.resetMaxSize)===null||a===void 0)&&a.maxSizeAlreadyReset)return{};const{applyMaxWidth:l,applyMaxHeight:c}=e;return l&&(n.floating.style.removeProperty("box-sizing"),n.floating.style.removeProperty("max-width"),n.floating.style.removeProperty("width")),c&&(n.floating.style.removeProperty("box-sizing"),n.floating.style.removeProperty("max-height"),n.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function D7(e,o){const{container:n,overflowBoundary:a,overflowBoundaryPadding:l,isRtl:c}=o;return d7({...l&&{padding:Q5(l,c)},...a&&{altBoundary:!0,boundary:um(n,a)},apply({availableHeight:u,availableWidth:d,elements:h,rects:g}){const v=(k,w,y)=>{if(k&&(h.floating.style.setProperty("box-sizing","border-box"),h.floating.style.setProperty(`max-${w}`,`${y}px`),g.floating[w]>y)){h.floating.style.setProperty(w,`${y}px`);const z=w==="width"?"x":"y";h.floating.style.getPropertyValue(`overflow-${z}`)||h.floating.style.setProperty(`overflow-${z}`,"auto")}},{applyMaxWidth:m,applyMaxHeight:x}=e;v(m,"width",d),v(x,"height",u)}})}function M7(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:o,reference:n},placement:a})=>{const{position:l,alignment:c}=S7(a);return e({positionedRect:o,targetRect:n,position:l,alignment:c})}}function O7(e){const o=M7(e);return s7(o)}function F7(e){const{hasScrollableElement:o,shiftToCoverTarget:n,disableTether:a,overflowBoundary:l,container:c,overflowBoundaryPadding:u,isRtl:d}=e;return c7({...o&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:cx({crossAxis:!0,mainAxis:!1})},...a&&{crossAxis:a==="all",limiter:cx({crossAxis:a!=="all",mainAxis:!1})},...u&&{padding:Q5(u,d)},...l&&{altBoundary:!0,boundary:um(c,l)}})}const dx="--fui-match-target-size";function q7(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:o,floating:n},elements:{floating:a},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:l=!1}={}}}=e;if(o.width===n.width||l)return{};const{width:c}=o;return a.style.setProperty(dx,`${c}px`),a.style.width||(a.style.width=`var(${dx})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function H7(e,o){const{align:n,arrowPadding:a,autoSize:l,coverTarget:c,disableUpdateOnResize:u,flipBoundary:d,offset:h,overflowBoundary:g,pinned:v,position:m,unstable_disableTether:x,strategy:k,overflowBoundaryPadding:w,fallbackPositions:y,useTransform:z,matchTargetSize:_,shiftToCoverTarget:R}=o;return b.useCallback((C,T)=>e({container:C,arrow:T,options:{autoSize:l,disableUpdateOnResize:u,matchTargetSize:_,offset:h,strategy:k,coverTarget:c,flipBoundary:d,overflowBoundary:g,useTransform:z,overflowBoundaryPadding:w,pinned:v,arrowPadding:a,align:n,fallbackPositions:y,shiftToCoverTarget:R,position:m,unstable_disableTether:x}}),[l,u,_,h,k,c,d,g,z,w,v,a,n,y,R,m,x,e])}function P7(e){const{dir:o,targetDocument:n}=Qe(),a=o==="rtl",l=H7(kj(),e),{positionFixed:c}=e;return b.useCallback((u,d)=>{const h=m7(u),g=l(u,d),{autoSize:v,disableUpdateOnResize:m,matchTargetSize:x,offset:k,coverTarget:w,flipBoundary:y,overflowBoundary:z,useTransform:_,overflowBoundaryPadding:R,pinned:C,position:T,arrowPadding:E,strategy:j,align:M,fallbackPositions:O,shiftToCoverTarget:W,unstable_disableTether:Y}=g,fe=C7(v),le=[fe&&A7(fe),x&&q7(),k&&O7(k),w&&E7(),!C&&R7({container:u,flipBoundary:y,hasScrollableElement:h,isRtl:a,fallbackPositions:O}),F7({container:u,hasScrollableElement:h,overflowBoundary:z,disableTether:Y,overflowBoundaryPadding:R,isRtl:a,shiftToCoverTarget:W}),fe&&D7(fe,{container:u,overflowBoundary:z,overflowBoundaryPadding:R,isRtl:a}),j7(),d&&f7({element:d,padding:E}),sx({strategy:"referenceHidden"}),sx({strategy:"escaped"}),!1].filter(Boolean);return{placement:Z5(M,T,a),middleware:le,strategy:j??c?"fixed":"absolute",disableUpdateOnResize:m,useTransform:_}},[l,a,n,c])}function Pd(e){"use no memo";const o=b.useRef(null),n=b.useRef(null),a=b.useRef(null),l=b.useRef(null),c=b.useRef(null),{enabled:u=!0}=e,d=P7(e),h=b.useCallback(()=>{o.current&&o.current.dispose(),o.current=null;var w;const y=(w=a.current)!==null&&w!==void 0?w:n.current;u&&zd()&&y&&l.current&&(o.current=T7({container:l.current,target:y,arrow:c.current,...d(l.current,c.current)}))},[u,d]),g=pe(w=>{a.current=w,h()});b.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var w;return(w=o.current)===null||w===void 0?void 0:w.updatePosition()},setTarget:w=>{e.target,g(w)}}),[e.target,g]),Dt(()=>{var w;g((w=e.target)!==null&&w!==void 0?w:null)},[e.target,g]),Dt(()=>{h()},[h]);const v=Ag(null,w=>{n.current!==w&&(n.current=w,h())}),m=pe(w=>{var y;return(y=e.onPositioningEnd)===null||y===void 0?void 0:y.call(e,w)}),x=Ag(null,w=>{if(l.current!==w){var y;(y=l.current)===null||y===void 0||y.removeEventListener(fp,m),w==null||w.addEventListener(fp,m),l.current=w,h()}}),k=Ag(null,w=>{c.current!==w&&(c.current=w,h())});return{targetRef:v,containerRef:x,arrowRef:k}}const Y5=e=>{const[o,n]=b.useState(e);return[o,l=>{if(l==null){n(void 0);return}let c;l instanceof MouseEvent?c=l:c=l.nativeEvent;const u=yj(c);n(u)}]};function L7(){let e=!1;const o=[];return{isActive(){return e},toggleActive(n){e!==n&&(e=n,o.forEach(a=>a(e)))},subscribe(n){return o.push(n),()=>{const a=o.indexOf(n);a>-1&&o.splice(a,1)}}}}var Dg={exports:{}},Mg={};/**
134
- * @license React
135
- * use-sync-external-store-shim.production.js
136
- *
137
- * Copyright (c) Meta Platforms, Inc. and affiliates.
138
- *
139
- * This source code is licensed under the MIT license found in the
140
- * LICENSE file in the root directory of this source tree.
141
- */var fx;function I7(){if(fx)return Mg;fx=1;var e=md();function o(m,x){return m===x&&(m!==0||1/m===1/x)||m!==m&&x!==x}var n=typeof Object.is=="function"?Object.is:o,a=e.useState,l=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue;function d(m,x){var k=x(),w=a({inst:{value:k,getSnapshot:x}}),y=w[0].inst,z=w[1];return c(function(){y.value=k,y.getSnapshot=x,h(y)&&z({inst:y})},[m,k,x]),l(function(){return h(y)&&z({inst:y}),m(function(){h(y)&&z({inst:y})})},[m]),u(k),k}function h(m){var x=m.getSnapshot;m=m.value;try{var k=x();return!n(m,k)}catch{return!0}}function g(m,x){return x()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:d;return Mg.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,Mg}var hx;function U7(){return hx||(hx=1,Dg.exports=I7()),Dg.exports}var V7=U7();function gx(e,o){return{topLeft:[e.left-o[0],e.top-o[1]],topRight:[e.right-o[0],e.top-o[1]],bottomRight:[e.right-o[0],e.bottom-o[1]],bottomLeft:[e.left-o[0],e.bottom-o[1]]}}const px=20;function J5(e,o){return Math.sqrt((e[0]-o[0])**2+(e[1]-o[1])**2)}function G7(e,o){const n=J5(e,o);return n===0?[0,0]:[(e[0]-o[0])/n,(e[1]-o[1])/n]}function W7(e,o,n){const a=[(e[0]+o[0])/2,(e[1]+o[1])/2],l=G7([n[0],n[1]],[a[0],a[1]]),c=J5([a[0],a[1]],[n[0],n[1]]);return[a[0]+l[0]*(c+px),a[1]+l[1]*(c+px)]}function Mu(e){return`M ${e} z`}const X7=ve({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},triangle:{Bkecrkj:"f1cguypg"},triangleDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function mx(e){if(e.width<=0||e.height<=0)return"";let o="";return o+=`M ${e.x},${e.y} `,o+=`V ${e.y+e.height} `,o+=`H ${e.x+e.width} `,o+=`V ${e.y} `,o+=`H ${e.x} `,o+="Z ",o}function $7(e,o,n,a){let l=`M 0,0 H ${e} V ${o} H 0 Z `;return l+=mx(n),l+=mx(a),l}const vx={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON(){return""}};function bx(e,o){return e.top===o.top&&e.right===o.right&&e.bottom===o.bottom&&e.left===o.left&&e.width===o.width&&e.height===o.height}function K7(e,o){return e[0]===o[0]&&e[1]===o[1]}const Q7=b.memo(e=>{const{debug:o,onMouseEnter:n,onMouseMove:a,onMouseLeave:l,stateStore:c}=e,u=Qt(),d=X7(),h=V7.useSyncExternalStore(c.subscribe,c.isActive),g=b.useRef(null),[v,m]=b.useState(()=>({containerRect:vx,targetRect:vx,mouseCoordinates:[0,0]}));b.useImperativeHandle(e.imperativeRef,()=>({updateSVG(ie){m(Q=>bx(Q.containerRect,ie.containerRect)&&bx(Q.targetRect,ie.targetRect)&&K7(Q.mouseCoordinates,ie.mouseCoordinates)?Q:ie)}}),[]);const{containerRect:x,targetRect:k,mouseCoordinates:w}=v,y=Math.min(k.top,x.top),z=Math.min(k.left,x.left),_=Math.max(k.bottom,x.bottom),R=Math.max(k.right,x.right),C=gx(x,[z,y]),T=gx(k,[z,y]),E=[w[0]-z,w[1]-y],j=W7(C.topLeft,C.bottomRight,E),M=[j,C.topLeft,C.topRight],O=[j,C.topRight,C.bottomRight],W=[j,C.bottomRight,C.bottomLeft],Y=[j,C.bottomLeft,C.topLeft],fe=R-z,le=_-y,se=$7(fe,le,{x:T.topLeft[0],y:T.topLeft[1],width:k.width,height:k.height},{x:C.topLeft[0],y:C.topLeft[1],width:x.width,height:x.height});return b.createElement("div",{className:de(d.wrapper,h&&d.wrapperActive),"data-safe-zone":""},h?b.createElement("svg",{"aria-hidden":!0,className:d.svg,xmlns:"http://www.w3.org/2000/svg",ref:g,style:{width:`${fe}px`,height:`${le}px`,transform:`translate(${z}px, ${y}px)`}},b.createElement("g",{className:de(d.triangle,o&&d.triangleDebug),clipPath:`url(#${u})`,onMouseEnter:n,onMouseMove:a,onMouseLeave:l},b.createElement("path",{d:Mu(M)}),b.createElement("path",{d:Mu(O)}),b.createElement("path",{d:Mu(W)}),b.createElement("path",{d:Mu(Y)})),b.createElement("clipPath",{id:u},b.createElement("path",{d:se})),o&&b.createElement("path",{className:d.rectDebug,d:se})):null)}),Z7=2e3;function Y7({debug:e=!1,disabled:o=!1,onSafeZoneEnter:n,onSafeZoneMove:a,onSafeZoneLeave:l,onSafeZoneTimeout:c,timeout:u=1500}={}){const[d]=b.useState(L7),h=b.useRef(null),g=b.useRef(null),v=b.useRef(null),[m,x]=xl(),[k,w]=iC(),y=b.useRef({x:0,y:0}),z=b.useMemo(()=>{if(o)return()=>{};let E=null;function j(){x(),d.toggleActive(!1)}return M=>{M===null&&(E==null||E.removeEventListener("mouseenter",j)),E=M,M==null||M.addEventListener("mouseenter",j)}},[x,o,d]),_=b.useMemo(()=>{if(o)return()=>{};let E=null;function j(M){y.current={x:M.clientX,y:M.clientY},d.isActive()||d.toggleActive(!0),m(()=>{d.toggleActive(!1)},Z7)}return M=>{M===null&&(w(),x(),E==null||E.removeEventListener("mousemove",j)),E=M,M==null||M.addEventListener("mousemove",j)}},[w,x,o,d,m]),R=pe(E=>{n==null||n(E),m(()=>{d.toggleActive(!1),c==null||c()},u)}),C=pe(E=>{m(()=>{d.toggleActive(!1),c==null||c()},u),a==null||a(E)}),T=pe(E=>{l==null||l(E)});return b.useEffect(()=>d.subscribe(E=>{if(E){let M=function(){const O=g.current,W=v.current;if(O&&W){var Y;(Y=h.current)===null||Y===void 0||Y.updateSVG({containerRect:O.getBoundingClientRect(),mouseCoordinates:[y.current.x,y.current.y],targetRect:W.getBoundingClientRect()})}k(M)};var j=M;M();return}w()}),[w,k,d]),{containerRef:at(g,z),targetRef:at(v,_),elementToRender:b.useMemo(()=>o?null:b.createElement(Q7,{debug:e,onMouseEnter:R,onMouseMove:C,onMouseLeave:T,imperativeRef:h,stateStore:d}),[o,e,R,C,T,d])}}const dm=Qa(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};dm.Provider;const Vt=e=>kl(dm,(o=eS)=>e(o)),J7=(e,o)=>{const n=Vt(u=>u.size),a=Vt(u=>u.appearance),l=Ad(),c=e8(e,at(o,l));return{appearance:a,size:n,...c}},e8=(e,o)=>{const n=Vt(z=>z.contentRef),a=Vt(z=>z.openOnHover),l=Vt(z=>z.setOpen),c=Vt(z=>z.mountNode),u=Vt(z=>z.arrowRef),d=Vt(z=>z.withArrow),h=Vt(z=>z.trapFocus),g=Vt(z=>z.inertTrapFocus),v=Vt(z=>z.inline),{modalAttributes:m}=jd({trapFocus:h,legacyTrapFocus:!g,alwaysFocusable:!h}),x={inline:v,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ne({ref:at(o,n),role:h?"dialog":"group","aria-modal":h?!0:void 0,...m,...e},{elementType:"div"})},{onMouseEnter:k,onMouseLeave:w,onKeyDown:y}=x.root;return x.root.onMouseEnter=z=>{a&&l(z,!0),k==null||k(z)},x.root.onMouseLeave=z=>{a&&l(z,!1),w==null||w(z)},x.root.onKeyDown=z=>{var _;z.key==="Escape"&&(!((_=n.current)===null||_===void 0)&&_.contains(z.target))&&(z.preventDefault(),l(z,!1)),y==null||y(z)},x};function t8(e){return pr(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const o8=Zu.useInsertionEffect?Zu.useInsertionEffect:Dt,tS=Symbol.for("fui-portal-style-ref-count"),r8="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",oS="fui-portal-styles";function rS(e){var o;return(o=e[tS])!==null&&o!==void 0?o:0}function mp(e,o){e[tS]=o}function n8(e){var o;const n=rS(e);if(n>0){mp(e,n+1);return}const a=e.createElement("style");a.id=oS,e.head.prepend(a),(o=a.sheet)===null||o===void 0||o.insertRule(r8),mp(e,1)}function a8(e){const o=rS(e);if(o===0)return;const n=o-1;if(n===0){var a;(a=e.head.querySelector(`#${oS}`))===null||a===void 0||a.remove()}mp(e,n)}function i8(e){const{targetDocument:o}=Qe();o8(()=>{if(!(e||!o))return n8(o),()=>a8(o)},[e,o])}const nS=Zu.useInsertionEffect,l8=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,c=b.useMemo(()=>{if(l===void 0||e.disabled)return null;const u=l.ownerDocument.createElement("div");return l.appendChild(u),u},[l,e.disabled]);return b.useMemo(()=>{c&&(c.className=o,c.setAttribute("dir",n),c.setAttribute("data-portal-node","true"),a.current=c)},[o,n,c,a]),b.useEffect(()=>()=>{c==null||c.remove()},[c]),c},s8=()=>{let e;function o(a,l){return e||(l&&(e=a.ownerDocument.createElement("div"),a.appendChild(e)),e)}function n(){e&&(e.remove(),e=void 0)}return{get:o,dispose:n}},c8=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,[c]=b.useState(s8),u=b.useMemo(()=>l===void 0||e.disabled?null:new Proxy({},{get(d,h){if(h==="nodeType")return 1;if(h==="remove"){const m=c.get(l,!1);return m&&m.childNodes.length===0&&c.dispose(),()=>{}}const g=c.get(l,!0),v=g?g[h]:void 0;return typeof v=="function"?v.bind(g):v},set(d,h,g){const v=h==="_virtual"||h==="focusVisible",m=v?c.get(l,!1):c.get(l,!0);return v&&!m?!0:m?(Object.assign(m,{[h]:g}),!0):!1}}),[c,l,e.disabled]);return nS(()=>{if(u)return u.setAttribute("class",o),u.setAttribute("dir",n),u.setAttribute("data-portal-node","true"),a.current=u,()=>{u.removeAttribute("class"),u.removeAttribute("dir")}},[o,n,u,a]),b.useEffect(()=>()=>{u==null||u.remove()},[u]),u},u8=nS?c8:l8,d8=e=>{"use no memo";const{targetDocument:o,dir:n}=Qe(),a=oC(),l=qw(),c=X6(),u={dir:n,disabled:e.disabled,focusVisibleRef:l,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(o==null?void 0:o.body)};return i8(e.disabled),u8(u)},f8=e=>{const{element:o,className:n}=t8(e.mountNode),a=b.useRef(null),l=d8({disabled:!!o,className:n}),c=o??l,u={children:e.children,mountNode:c,virtualParentRootRef:a};return b.useEffect(()=>{if(!c)return;const d=a.current,h=c.contains(d);if(d&&!h)return By(c,d),()=>{By(c,void 0)}},[a,c]),u},h8=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Pg.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),Tl=e=>{const o=f8(e);return h8(o)};Tl.displayName="Portal";const g8=e=>{const o=it(e.root,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?o:ne(Tl,{mountNode:e.mountNode,children:o})},p8={root:"fui-PopoverSurface"},m8={small:6,medium:8,large:8},v8=ve({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;}']}),b8=e=>{"use no memo";const o=v8();return e.root.className=de(p8.root,o.root,e.inline&&o.inline,e.size==="small"&&o.smallPadding,e.size==="medium"&&o.mediumPadding,e.size==="large"&&o.largePadding,e.appearance==="inverted"&&o.inverted,e.appearance==="brand"&&o.brand,e.root.className),e.arrowClassName=de(o.arrow,e.size==="small"?o.smallArrow:o.mediumLargeArrow),e},aS=b.forwardRef((e,o)=>{const n=J7(e,o);return b8(n),Xe("usePopoverSurfaceStyles_unstable")(n),g8(n)});aS.displayName="PopoverSurface";const y8=4,yx=Le.durationSlower,xx=Le.curveDecelerateMid,wx=_l(({distance:e=10})=>({enter:[la({duration:yx,easing:xx,direction:"enter"}),{...j5({duration:yx,easing:xx,direction:"enter",outX:`calc(var(${sd}, 0px) * ${e})`,outY:`calc(var(${cd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),x8=e=>{const{appearance:o,size:n="medium"}=e,a=Nl(e.positioning),l=e.withArrow&&!a.coverTarget,{targetDocument:c}=Qe(),u=D5({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=w8({...e,positioning:{...a,onPositioningEnd:u,...l?{offset:K5(a.offset,m8[n])}:{}}});return{components:{surfaceMotion:wx},appearance:o,size:n,...d,surfaceMotion:ic(e.surfaceMotion,{elementType:wx,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},w8=e=>{const[o,n]=Y5(),a={contextTarget:o,setContextTarget:n,...e},l=b.Children.toArray(e.children);let c,u;l.length===2?(c=l[0],u=l[1]):l.length===1&&(u=l[0]);const[d,h]=S8(a),[g,v]=xl(),m=pe((E,j)=>{if(v(),!(E instanceof Event)&&E.persist&&E.persist(),E.type==="mouseleave"){var M;g(()=>{h(E,j)},(M=e.mouseLeaveDelay)!==null&&M!==void 0?M:500)}else h(E,j)}),x=b.useCallback(E=>{m(E,!d)},[m,d]),k=k8(a),{targetDocument:w}=Qe();var y;Gp({contains:Os,element:w,callback:E=>m(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d,disabledFocusOnIframe:!(!((y=e.closeOnIframeFocus)!==null&&y!==void 0)||y)});const z=a.openOnContext||a.closeOnScroll;vw({contains:Os,element:w,callback:E=>m(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d||!z});const{findFirstFocusable:_}=rc(),R=dT();b.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const E=k.contentRef.current;if(d&&E){var j;const M=!isNaN((j=E.getAttribute("tabIndex"))!==null&&j!==void 0?j:void 0),O=M?E:_(E);O==null||O.focus(),M&&R(E)}},[_,R,d,k.contentRef,e.unstable_disableAutoFocus]);var C,T;return{...a,...k,inertTrapFocus:(C=e.inertTrapFocus)!==null&&C!==void 0?C:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:u,open:d,setOpen:m,toggleOpen:x,setContextTarget:n,contextTarget:o,inline:(T=e.inline)!==null&&T!==void 0?T:!1}};function S8(e){"use no memo";const o=pe((u,d)=>{var h;return(h=e.onOpenChange)===null||h===void 0?void 0:h.call(e,u,d)}),[n,a]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=n!==void 0?n:e.open;const l=e.setContextTarget,c=b.useCallback((u,d)=>{d&&u.type==="contextmenu"&&l(u),d||l(void 0),a(d),o==null||o(u,{open:d})},[a,o,l]);return[n,c]}function k8(e){"use no memo";const o={position:"above",align:"center",arrowPadding:2*y8,target:e.openOnContext?e.contextTarget:void 0,...Nl(e.positioning)};o.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:l}=Pd(o);return{triggerRef:n,contentRef:a,arrowRef:l}}function B8(e){const{appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:g,size:v,toggleOpen:m,trapFocus:x,triggerRef:k,withArrow:w,inertTrapFocus:y}=e;return{popover:b.useMemo(()=>({appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:g,size:v,toggleOpen:m,trapFocus:x,triggerRef:k,withArrow:w,inertTrapFocus:y}),[o,n,a,l,c,u,d,h,g,v,m,x,k,w,y])}}const _8=(e,o)=>{var n;return it(dm.Provider,{value:(n=o==null?void 0:o.popover)!==null&&n!==void 0?n:eS,children:[e.popoverTrigger,e.popoverSurface&&ne(e.surfaceMotion,{children:ne(Dd,{children:e.popoverSurface})})]})},iS=e=>{const o=x8(e),n=B8(o);return _8(o,n)};iS.displayName="Popover";const z8=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=oc(o),l=Vt(C=>C.open),c=Vt(C=>C.setOpen),u=Vt(C=>C.toggleOpen),d=Vt(C=>C.triggerRef),h=Vt(C=>C.openOnHover),g=Vt(C=>C.openOnContext),{triggerAttributes:v}=jd(),m=C=>{g&&(C.preventDefault(),c(C,!0))},x=C=>{g||u(C)},k=C=>{C.key===Bl&&l&&!C.isDefaultPrevented()&&(c(C,!1),C.preventDefault())},w=C=>{h&&c(C,!0)},y=C=>{h&&c(C,!1)},z={...v,"aria-expanded":`${l}`,...a==null?void 0:a.props,onMouseEnter:pe(Ae(a==null?void 0:a.props.onMouseEnter,w)),onMouseLeave:pe(Ae(a==null?void 0:a.props.onMouseLeave,y)),onContextMenu:pe(Ae(a==null?void 0:a.props.onContextMenu,m)),ref:at(d,tc(a))},_={...z,onClick:pe(Ae(a==null?void 0:a.props.onClick,x)),onKeyDown:pe(Ae(a==null?void 0:a.props.onKeyDown,k))},R=Xa((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",_);return{children:Cd(e.children,Xa((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",g?z:n?_:R))}},C8=e=>e.children,fm=e=>{const o=z8(e);return C8(o)};fm.displayName="PopoverTrigger";fm.isFluentTriggerComponent=!0;const N8=6,T8=4,E8=e=>-1,R8=e=>{};function j8(e){const{targetDocument:o}=Qe(),n=o==null?void 0:o.defaultView,a=n?n.setTimeout:E8,l=n?n.clearTimeout:R8,c=b.useRef(void 0),u=b.useCallback((h,g)=>(c.current!==void 0&&l(c.current),c.current=a(h,g??0),c.current),[l,a]),d=b.useCallback(()=>{c.current!==void 0&&(l(c.current),c.current=void 0)},[l]);return b.useEffect(()=>{const h=e.current;return()=>{(!h||!h.isConnected)&&d()}},[d,e]),[u,d]}const A8=e=>{"use no memo";var o,n,a,l,c,u,d;const h=Q6(),g=dC(),{targetDocument:v}=Qe(),[m,x]=Ao({state:e.visible,initialState:!1}),{children:k,content:w,withArrow:y=!1,positioning:z="above",onVisibleChange:_,relationship:R,showDelay:C=250,hideDelay:T=250,mountNode:E}=e,j={withArrow:y,positioning:z,showDelay:C,hideDelay:T,relationship:R,visible:m,shouldRenderTooltip:m,mountNode:E,components:{content:"div"},content:Ne(w,{defaultProps:{role:"tooltip"},elementType:"div"})};j.content.id=Qt("tooltip-",j.content.id);const M={enabled:j.visible,arrowPadding:2*T8,position:"above",align:"center",offset:4,...Nl(j.positioning)};j.withArrow&&(M.offset=K5(M.offset,N8));const{targetRef:O,containerRef:W,arrowRef:Y}=Pd(M),[fe,le]=j8(W),se=b.useCallback((U,te)=>{le(),x(ce=>(te.visible!==ce&&(_==null||_(U,te)),te.visible))},[le,x,_]);j.content.ref=at(j.content.ref,W),j.arrowRef=Y,Dt(()=>{if(m){var U;const te={hide:me=>se(void 0,{visible:!1,documentKeyboardEvent:me})};(U=h.visibleTooltip)===null||U===void 0||U.hide(),h.visibleTooltip=te;const ce=me=>{me.key===Bl&&!me.defaultPrevented&&(te.hide(me),me.preventDefault())};return v==null||v.addEventListener("keydown",ce,{capture:!0}),()=>{h.visibleTooltip===te&&(h.visibleTooltip=void 0),v==null||v.removeEventListener("keydown",ce,{capture:!0})}}},[h,v,m,se]);const ie=b.useRef(!1),Q=b.useCallback(U=>{if(U.type==="focus"&&ie.current){ie.current=!1;return}const te=h.visibleTooltip?0:j.showDelay;fe(()=>{se(U,{visible:!0})},te),U.persist()},[fe,se,j.showDelay,h]),I=cT(),[ee]=b.useState(()=>{const U=ce=>{var me;!((me=ce.detail)===null||me===void 0)&&me.isFocusedProgrammatically&&!I()&&(ie.current=!0)};let te=null;return ce=>{te==null||te.removeEventListener(Do,U),ce==null||ce.addEventListener(Do,U),te=ce}}),oe=b.useCallback(U=>{let te=j.hideDelay;U.type==="blur"&&(te=0,ie.current=(v==null?void 0:v.activeElement)===U.target),fe(()=>{se(U,{visible:!1})},te),U.persist()},[fe,se,j.hideDelay,v]);j.content.onPointerEnter=Ae(j.content.onPointerEnter,le),j.content.onPointerLeave=Ae(j.content.onPointerLeave,oe),j.content.onFocus=Ae(j.content.onFocus,le),j.content.onBlur=Ae(j.content.onBlur,oe);const he=oc(k),Se={},F=(he==null||(o=he.props)===null||o===void 0?void 0:o["aria-haspopup"])&&((he==null||(n=he.props)===null||n===void 0?void 0:n["aria-expanded"])===!0||(he==null||(a=he.props)===null||a===void 0?void 0:a["aria-expanded"])==="true");return R==="label"?typeof j.content.children=="string"?Se["aria-label"]=j.content.children:(Se["aria-labelledby"]=j.content.id,j.shouldRenderTooltip=!0):R==="description"&&(Se["aria-describedby"]=j.content.id,j.shouldRenderTooltip=!0),(g||F)&&(j.shouldRenderTooltip=!1),j.children=Cd(k,{...Se,...he==null?void 0:he.props,ref:at(tc(he),ee,M.target===void 0?O:void 0),onPointerEnter:pe(Ae(he==null||(l=he.props)===null||l===void 0?void 0:l.onPointerEnter,Q)),onPointerLeave:pe(Ae(he==null||(c=he.props)===null||c===void 0?void 0:c.onPointerLeave,oe)),onFocus:pe(Ae(he==null||(u=he.props)===null||u===void 0?void 0:u.onFocus,Q)),onBlur:pe(Ae(he==null||(d=he.props)===null||d===void 0?void 0:d.onBlur,oe))}),j},D8=e=>{"use no memo";const{appearance:o="normal",...n}=e,a=A8(n);return{appearance:o,...a}},M8=e=>it(b.Fragment,{children:[e.children,e.shouldRenderTooltip&&ne(Tl,{mountNode:e.mountNode,children:it(e.content,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),O8={content:"fui-Tooltip__content"},F8=ve({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;}']}),q8=e=>{"use no memo";const o=F8();return e.content.className=de(O8.content,o.root,e.appearance==="inverted"&&o.inverted,e.visible&&o.visible,e.content.className),e.arrowClassName=o.arrow,e},Ld=e=>{const o=D8(e);return q8(o),Xe("useTooltipStyles_unstable")(o),M8(o)};Ld.displayName="Tooltip";Ld.isFluentTriggerComponent=!0;const H8=e=>{const{iconOnly:o,iconPosition:n}=e;return it(e.root,{children:[n!=="after"&&e.icon&&ne(e.icon,{}),!o&&e.root.children,n==="after"&&e.icon&&ne(e.icon,{})]})},lS=b.createContext(void 0),P8={};lS.Provider;const L8=()=>{var e;return(e=b.useContext(lS))!==null&&e!==void 0?e:P8},I8=(e,o)=>{const{size:n}=L8(),{appearance:a="secondary",shape:l="rounded",size:c=n??"medium",...u}=e,d=U8(u,o);return{appearance:a,shape:l,size:c,...d}},U8=(e,o)=>{const{icon:n,iconPosition:a="before",...l}=e,c=De(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:Ne(Xa(l.as,l),{elementType:"button",defaultProps:{ref:o,type:e.as!=="a"?"button":void 0}}),icon:c}},Sx={root:"fui-Button",icon:"fui-Button__icon"},V8=Ee("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;}}"]}),G8=Ee("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);}"]),W8=ve({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)"}]]}),X8=ve({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)"}]]}),$8=ve({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;}}"]}),K8=ve({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;}"]}),Q8=ve({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);}"]}),Z8=e=>{"use no memo";const o=V8(),n=G8(),a=W8(),l=X8(),c=$8(),u=K8(),d=Q8(),{appearance:h,disabled:g,disabledFocusable:v,icon:m,iconOnly:x,iconPosition:k,shape:w,size:y}=e;return e.root.className=de(Sx.root,o,h&&a[h],a[y],m&&y==="small"&&a.smallWithIcon,m&&y==="large"&&a.largeWithIcon,a[w],(g||v)&&l.base,(g||v)&&l.highContrast,h&&(g||v)&&l[h],h==="primary"&&c.primary,c[y],c[w],x&&u[y],e.root.className),e.icon&&(e.icon.className=de(Sx.icon,n,!!e.root.children&&d[k],d[y],e.icon.className)),e},st=b.forwardRef((e,o)=>{const n=I8(e,o);return Z8(n),Xe("useButtonStyles_unstable")(n),H8(n)});st.displayName="Button";const sS=b.createContext(void 0),Y8=sS.Provider,J8=()=>b.useContext(sS),e9=e=>{var o,n,a,l;const{generatedControlId:c,orientation:u,required:d,size:h,validationState:g}=e,v=(o=e.label)===null||o===void 0?void 0:o.htmlFor,m=(n=e.label)===null||n===void 0?void 0:n.id,x=(a=e.validationMessage)===null||a===void 0?void 0:a.id,k=(l=e.hint)===null||l===void 0?void 0:l.id;return{field:b.useMemo(()=>({generatedControlId:c,hintId:k,labelFor:v,labelId:m,orientation:u,required:d,size:h,validationMessageId:x,validationState:g}),[c,k,v,m,u,d,h,x,g])}};function Za(e,o){return cS(J8(),e,o)}function cS(e,o,n){if(!e)return o;o={...o};const{generatedControlId:a,hintId:l,labelFor:c,labelId:u,required:d,validationMessageId:h,validationState:g}=e;if(a){var v,m;(m=(v=o).id)!==null&&m!==void 0||(v.id=a)}if(u&&(!(n!=null&&n.supportsLabelFor)||c!==o.id)){var x,k,w;(w=(x=o)[k="aria-labelledby"])!==null&&w!==void 0||(x[k]=u)}if((h||l)&&(o["aria-describedby"]=[h,l,o==null?void 0:o["aria-describedby"]].filter(Boolean).join(" ")),g==="error"){var y,z,_;(_=(y=o)[z="aria-invalid"])!==null&&_!==void 0||(y[z]=!0)}if(d)if(n!=null&&n.supportsRequired){var R,C;(C=(R=o).required)!==null&&C!==void 0||(R.required=!0)}else{var T,E,j;(j=(T=o)[E="aria-required"])!==null&&j!==void 0||(T[E]=!0)}if(n!=null&&n.supportsSize){var M,O;(O=(M=o).size)!==null&&O!==void 0||(M.size=e.size)}return o}const t9=(e,o)=>{let{children:n}=e;return typeof n=="function"&&(n=n(cS(o.field)||{})),ne(Y8,{value:o==null?void 0:o.field,children:it(e.root,{children:[e.label&&ne(e.label,{}),n,e.validationMessage&&it(e.validationMessage,{children:[e.validationMessageIcon&&ne(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&ne(e.hint,{})]})})},o9=(e,o)=>{const{weight:n="regular",size:a="medium",...l}=e,c=r9(l,o);return{weight:n,size:a,...c}},r9=(e,o)=>{const{disabled:n=!1,required:a=!1,...l}=e;return{disabled:n,required:De(a===!0?"*":a||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Ne(Et("label",{ref:o,...l}),{elementType:"label"})}},n9=e=>it(e.root,{children:[e.root.children,e.required&&ne(e.required,{})]}),kx={root:"fui-Label",required:"fui-Label__required"},a9=ve({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)"}]]}),i9=e=>{"use no memo";const o=a9();return e.root.className=de(kx.root,o.root,e.disabled&&o.disabled,o[e.size],e.weight==="semibold"&&o.semibold,e.root.className),e.required&&(e.required.className=de(kx.required,o.required,e.disabled&&o.disabled,e.required.className)),e},br=b.forwardRef((e,o)=>{const n=o9(e,o);return i9(n),Xe("useLabelStyles_unstable")(n),n9(n)});br.displayName="Label";const l9=(e,o)=>{const{children:n,required:a=!1,validationState:l=e.validationMessage?"error":"none"}=e,c=Qt("field-"),u=c+"__control",d=Ne(Et("div",{...e,ref:o},["children"]),{elementType:"div"}),h=De(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:a},elementType:"label"}),g=De(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:l==="error"||l==="warning"?"alert":void 0},elementType:"div"}),v=De(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),m=De(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"});return{children:n,generatedControlId:u,required:a,validationState:l,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:d,label:h,validationMessageIcon:m,validationMessage:g,hint:v}},s9={error:b.createElement(NR,null),warning:b.createElement(kR,null),success:b.createElement(_R,null),none:void 0},c9=(e,o)=>{const{orientation:n="vertical",size:a="medium",...l}=e,c=l9(l,o),u=s9[c.validationState];return{...c,components:{...c.components,label:br},label:De(e.label,{defaultProps:{size:a,...c.label},elementType:br}),validationMessageIcon:De(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},zs={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},u9=ve({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;}"]}),d9=ve({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;}"]}),f9=Ee("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);}"]),h9=ve({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));}"]}),g9=Ee("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;}"]),p9=ve({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),m9=e=>{"use no memo";const{validationState:o,size:n}=e,a=e.orientation==="horizontal",l=u9();e.root.className=de(zs.root,l.base,a&&l.horizontal,a&&!e.label&&l.horizontalNoLabel,e.root.className);const c=d9();e.label&&(e.label.className=de(zs.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=g9(),d=p9();e.validationMessageIcon&&(e.validationMessageIcon.className=de(zs.validationMessageIcon,u,o!=="none"&&d[o],e.validationMessageIcon.className));const h=f9(),g=h9();return e.validationMessage&&(e.validationMessage.className=de(zs.validationMessage,h,o==="error"&&g.error,!!e.validationMessageIcon&&g.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=de(zs.hint,h,e.hint.className)),e},uS=b.forwardRef((e,o)=>{const n=c9(e,o);m9(n),Xe("useFieldStyles_unstable")(n);const a=e9(n);return t9(n,a)});uS.displayName="Field";const v9=(e,o)=>{"use no memo";e=Za(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...l}=e,c=b9(l,o),u=c.checked==="mixed";let d;if(u?n==="circular"?d=b.createElement(tm,null):d=a==="large"?b.createElement(CR,null):b.createElement(zR,null):c.checked&&(d=a==="large"?b.createElement(BR,null):b.createElement(b5,null)),c.indicator){var h,g;(g=(h=c.indicator).children)!==null&&g!==void 0||(h.children=d)}return{shape:n,size:a,...c,components:{...c.components,label:br},label:De(e.label,{defaultProps:{...c.label,size:"medium"},elementType:br})}},b9=(e,o)=>{"use no memo";const{disabled:n=!1,required:a,labelPosition:l="after",onChange:c}=e,[u,d]=Ao({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),h=yl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),g=u==="mixed",v=Qt("checkbox-",h.primary.id),m={checked:u,disabled:n,labelPosition:l,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Ne(e.root,{defaultProps:{ref:Kp(),...h.root},elementType:"span"}),input:Ne(e.input,{defaultProps:{type:"checkbox",id:v,ref:o,checked:u===!0,...h.primary},elementType:"input"}),label:De(e.label,{defaultProps:{htmlFor:v,disabled:n,required:a},elementType:"label"}),indicator:De(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};m.input.onChange=Ae(m.input.onChange,k=>{const w=k.currentTarget.indeterminate?"mixed":k.currentTarget.checked;c==null||c(k,{checked:w}),d(w)});const x=at(m.input.ref);return m.input.ref=x,Dt(()=>{x.current&&(x.current.indeterminate=g)},[x,g]),m},y9=e=>it(e.root,{children:[ne(e.input,{}),e.labelPosition==="before"&&e.label&&ne(e.label,{}),e.indicator&&ne(e.indicator,{}),e.labelPosition==="after"&&e.label&&ne(e.label,{})]}),Ou={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},x9=Ee("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;}}"]}),w9=ve({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)"}]]}),S9=Ee("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));}"]),k9=ve({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));}"]}),B9=Ee("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;}"]),_9=ve({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}]]}),z9=ve({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);}"]}),C9=e=>{"use no memo";const{checked:o,disabled:n,labelPosition:a,shape:l,size:c}=e,u=x9(),d=w9();e.root.className=de(Ou.root,u,n?d.disabled:o==="mixed"?d.mixed:o?d.checked:d.unchecked,e.root.className);const h=S9(),g=k9();e.input.className=de(Ou.input,h,c==="large"&&g.large,g[a],e.input.className);const v=B9(),m=_9();e.indicator&&(e.indicator.className=de(Ou.indicator,v,c==="large"&&m.large,l==="circular"&&m.circular,e.indicator.className));const x=z9();return e.label&&(e.label.className=de(Ou.label,x.base,x[c],x[a],e.label.className)),e},dS=b.forwardRef((e,o)=>{const n=v9(e,o);return C9(n),Xe("useCheckboxStyles_unstable")(n),y9(n)});dS.displayName="Checkbox";const fS=Qa({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});fS.Provider;const N9={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},sc=Qa(void 0),Eo=e=>kl(sc,(o=N9)=>e(o)),T9=sc.Provider;function E9(e){const{appearance:o,open:n,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setOpen:h,size:g,activeDescendantController:v,onOptionClick:m,onActiveDescendantChange:x}=e,k={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:h,size:g},w={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:m,onActiveDescendantChange:x},y=b.useMemo(()=>({controller:v}),[v]);return{combobox:k,activeDescendant:y,listbox:w}}function R9(e){const o=ac(sc),{getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:h}=e,g=Eo(y=>y.registerOption),v=Eo(y=>y.onOptionClick),m=Eo(y=>y.onActiveDescendantChange),k={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:o?g:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:v,onActiveDescendantChange:m},w=b.useMemo(()=>({controller:h}),[h]);return{listbox:k,activeDescendant:w}}function hd(e,o={}){const{open:n=!0,multiselect:a=!1}=o,l=e.key,{altKey:c,ctrlKey:u,key:d,metaKey:h}=e;return d.length===1&&l!==sn&&!c&&!u&&!h?"Type":n?l===Tg&&c||l===Wi||!a&&l===sn?"CloseSelect":a&&l===sn?"Select":l===Bl?"Close":l===dp?"Next":l===Tg?"Previous":l===AE?"First":l===jE?"Last":l===ME?"PageUp":l===DE?"PageDown":l===l5?"Tab":"None":l===dp||l===Tg||l===Wi||l===sn?"Open":"None"}const hS=()=>{const e=b.useRef(new Map),o=b.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:g=>e.current.get(g),getOptionsMatchingText:g=>Array.from(e.current.values()).filter(({text:v})=>g(v)),getOptionsMatchingValue:g=>{const v=[];for(const m of e.current.values())g(m.value)&&v.push(m);return v}}),[]),n=b.useCallback(a=>(e.current.set(a.id,a),()=>e.current.delete(a.id)),[]);return{...o,options:Array.from(e.current.values()),registerOption:n}},gS=e=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:a}=e,[l,c]=Ao({state:e.selectedOptions,defaultState:o,initialState:[]}),u=b.useCallback((h,g)=>{if(g.disabled)return;let v=[g.value];if(n){const m=l.findIndex(x=>x===g.value);m>-1?v=[...l.slice(0,m),...l.slice(m+1)]:v=[...l,g.value]}c(v),a==null||a(h,{optionValue:g.value,optionText:g.text,selectedOptions:v})},[a,n,l,c]);return{clearSelection:h=>{c([]),a==null||a(h,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:u,selectedOptions:l}},gd={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},j9=ve({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)"}]]}),A9=e=>{"use no memo";const{disabled:o,multiselect:n,selected:a}=e,l=j9();return e.root.className=de(gd.root,l.root,l.active,o&&l.disabled,a&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=de(gd.checkIcon,l.checkIcon,n&&l.multiselectCheck,a&&l.selectedCheck,a&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,e.checkIcon.className)),e},Bx={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},D9=(e,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,l=hS(),{listboxRef:c,activeParentRef:u,controller:d}=f5({matchOption:ie=>ie.classList.contains(gd.root)}),h=ac(sc),g=Eo(ie=>ie.onActiveDescendantChange),v=Eo(ie=>ie.getOptionById),m=Eo(ie=>ie.getOptionsMatchingValue),x=h?v:l.getOptionById,k=h?m:l.getOptionsMatchingValue,w=b.useMemo(()=>{let ie=null;const Q=I=>{const ee=I;g==null||g(ee)};return I=>{if(!I){ie==null||ie.removeEventListener("activedescendantchange",Q);return}ie=I,ie.addEventListener("activedescendantchange",Q)}},[g]),[y,z]=b.useState(!1);Hw(z);const _=c5(),R=FE(),C=R?_.controller:d,{clearSelection:T,selectedOptions:E,selectOption:j}=gS(e),M=ie=>{const Q=hd(ie,{open:!0}),I=C.active(),ee=I?x(I):null;switch(Q){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":ie.preventDefault();break}switch(Q){case"Next":ee?C.next():C.first();break;case"Previous":ee?C.prev():C.first();break;case"PageUp":case"First":C.first();break;case"PageDown":case"Last":C.last();break;case"Select":case"CloseSelect":ee&&j(ie,ee);break}},O=Eo(ie=>ie.selectedOptions),W=Eo(ie=>ie.selectOption),Y=h?{selectedOptions:O,selectOption:W,...Bx}:{selectedOptions:E,selectOption:j,...Bx};b.useEffect(()=>{if(!R){if(C.hideFocusVisibleAttributes(),!a)if(!n&&Y.selectedOptions.length>0){const ie=k(Q=>Q===Y.selectedOptions[0]).pop();ie!=null&&ie.id&&C.focus(ie.id)}else C.first();return()=>{C.blur()}}},[]);const fe=b.useCallback(()=>{R||(C.showFocusVisibleAttributes(),y&&C.scrollActiveIntoView())},[C,R,y]),le=b.useCallback(()=>{R||C.hideFocusVisibleAttributes()},[C,R]),se={components:{root:"div"},root:Ne(Et("div",{ref:at(o,u,c,w),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!h,multiselect:n,clearSelection:T,activeDescendantController:C,onActiveDescendantChange:g,...l,...Y};return se.root.onKeyDown=pe(Ae(se.root.onKeyDown,M)),se.root.onFocus=pe(Ae(se.root.onFocus,fe)),se.root.onBlur=pe(Ae(se.root.onBlur,le)),se},M9=(e,o)=>ne(s5,{value:o.activeDescendant,children:ne(sc.Provider,{value:o.listbox,children:ne(e.root,{})})}),O9={root:"fui-Listbox"},F9=ve({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);}"]}),q9=e=>{"use no memo";const o=F9();return e.root.className=de(O9.root,o.root,e.root.className),e},hm=b.forwardRef((e,o)=>{const n=D9(e,o),a=R9(n);return q9(n),Xe("useListboxStyles_unstable")(n),M9(n,a)});hm.displayName="Listbox";function H9(e,o){if(e!==void 0)return e;let n="",a=!1;return b.Children.forEach(o,l=>{typeof l=="string"?n+=l:a=!0}),a&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),n}const P9=(e,o)=>{"use no memo";const n=L9(e,o);let a=b.createElement(fR,null);if(n.multiselect&&(a=n.selected?b.createElement(b5,null):""),n.checkIcon){var l,c;(c=(l=n.checkIcon).children)!==null&&c!==void 0||(l.children=a)}return n},L9=(e,o)=>{const{children:n,disabled:a,text:l,value:c}=e,u=b.useRef(null),d=H9(l,n),h=c??d,g=Qt("fluent-option",e.id),v=b.useMemo(()=>({id:g,disabled:a,text:d,value:h}),[g,a,d,h]),{controller:m}=c5(),x=Eo(C=>C.multiselect),k=Eo(C=>C.registerOption),w=Eo(C=>{const T=C.selectedOptions;return h!==void 0&&T.find(E=>E===h)!==void 0}),y=Eo(C=>C.selectOption),z=Eo(C=>C.onOptionClick),_=C=>{var T;if(a){C.preventDefault();return}m.focus(g),y(C,v),z(C),(T=e.onClick)===null||T===void 0||T.call(e,C)};b.useEffect(()=>{if(g&&u.current)return k(v,u.current)},[g,v,k]);const R=x?{role:"menuitemcheckbox","aria-checked":w}:{role:"option","aria-selected":w};return{components:{root:"div",checkIcon:"span"},root:Ne(Et("div",{ref:at(o,u),"aria-disabled":a?"true":void 0,id:g,...R,...e,onClick:_}),{elementType:"div"}),checkIcon:De(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:x,selected:w,focusVisible:!1,active:!1}},I9=e=>it(e.root,{children:[e.checkIcon&&ne(e.checkIcon,{}),e.root.children]}),pS=b.forwardRef((e,o)=>{const n=P9(e,o);return A9(n),Xe("useOptionStyles_unstable")(n),I9(n)});pS.displayName="Option";const U9=e=>{"use no memo";const{appearance:o="outline",disableAutoFocus:n,children:a,clearable:l=!1,editable:c=!1,inlinePopup:u=!1,mountNode:d=void 0,multiselect:h,onOpenChange:g,size:v="medium",activeDescendantController:m,freeform:x=!1,disabled:k=!1,onActiveOptionChange:w=null}=e,y=hS(),{getOptionsMatchingValue:z}=y,{getOptionById:_}=y,R=b.useCallback(()=>{const U=m.active();return U?_(U):void 0},[m,_]),C=R(),T=b.useCallback(U=>{let te;if(typeof U=="function"){const ce=R();te=U(ce)}te?m.focus(te.id):m.blur()},[m,R]),[E,j]=b.useState(!1),[M,O]=b.useState(!1),W=b.useRef(!1),Y=Vp(),[fe,le]=Ao({state:e.value,initialState:void 0}),{selectedOptions:se,selectOption:ie,clearSelection:Q}=gS(e),I=b.useCallback((U,te)=>{Pg.unstable_batchedUpdates(()=>{le(void 0),ie(U,te)})},[le,ie]),ee=b.useMemo(()=>{if(fe!==void 0)return fe;if(Y&&e.defaultValue!==void 0)return e.defaultValue;const U=z(te=>se.includes(te)).map(te=>te.text);return h?c?"":U.join(", "):U[0]},[fe,c,z,h,se]),[oe,he]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),Se=b.useCallback((U,te)=>{k||(g==null||g(U,{open:te}),Pg.unstable_batchedUpdates(()=>{!te&&!x&&le(void 0),he(te)}))},[g,he,le,x,k]);b.useEffect(()=>{if(oe){if(!h&&se.length>0){const U=z(te=>te===se[0]).pop();U!=null&&U.id&&m.focus(U.id)}}else m.blur()},[oe,m]),b.useEffect(()=>{oe&&!n&&!m.active()&&m.first()},[oe,a,n,m,_]);const F=pe(U=>{const te=U.detail.previousId?y.getOptionById(U.detail.previousId):null,ce=y.getOptionById(U.detail.id);w==null||w(U,{event:U,type:"change",previousOption:te,nextOption:ce})});return{...y,freeform:x,disabled:k,selectOption:I,clearSelection:Q,selectedOptions:se,activeOption:C,appearance:o,clearable:l,focusVisible:E,ignoreNextBlur:W,inlinePopup:u,mountNode:d,open:oe,hasFocus:M,setActiveOption:T,setFocusVisible:j,setHasFocus:O,setOpen:Se,setValue:le,size:v,value:ee,multiselect:h,onOptionClick:pe(U=>{h||Se(U,!1)}),onActiveDescendantChange:F}};function V9(e){const{positioning:o}=e,a={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Nl(o)},{targetRef:l,containerRef:c}=Pd(a);return[c,l]}function G9(e,o,n){const{state:{multiselect:a},triggerRef:l,defaultProps:c}=n,u=Qt("fluent-listbox",Lp(e)?e.id:void 0),d=De(e,{renderByDefault:!0,elementType:hm,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),h=Za({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&h["aria-labelledby"]&&(d["aria-labelledby"]=h["aria-labelledby"]);const g=pe(Ae(x=>{x.preventDefault()},d==null?void 0:d.onMouseDown)),v=pe(Ae(x=>{var k;x.preventDefault(),(k=l.current)===null||k===void 0||k.focus()},d==null?void 0:d.onClick)),m=at(d==null?void 0:d.ref,o);return d&&(d.ref=m,d.onMouseDown=g,d.onClick=v),d}function W9(e,o,n){const{state:{open:a,setOpen:l,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:h}=n,g=Ne(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),v=b.useRef(null);return g.ref=at(v,g.ref,o),g.onBlur=Ae(m=>{l(m,!1),c(!1)},g.onBlur),g.onFocus=Ae(m=>{m.target===m.currentTarget&&c(!0)},g.onFocus),g.onClick=Ae(m=>{l(m,!a)},g.onClick),g.onKeyDown=Ae(X9({activeDescendantController:h,...n.state}),g.onKeyDown),g}function X9(e){const{activeDescendantController:o,getOptionById:n,setOpen:a,selectOption:l,multiselect:c,open:u}=e,d=b.useCallback(()=>{const y=o.active();return y?n(y):void 0},[o,n]),h=()=>{o.first()},g=()=>{o.last()},v=y=>{y?o.next():o.first()},m=y=>{y?o.prev():o.first()},x=()=>{for(let y=0;y<10;y++)o.prev()},k=()=>{for(let y=0;y<10;y++)o.next()},w=uT();return pe(y=>{const z=hd(y,{open:u,multiselect:c}),_=d();switch(z){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":y.preventDefault();break}switch(w(!0),z){case"First":h();break;case"Last":g();break;case"Next":v(_);break;case"Previous":m(_);break;case"PageDown":k();break;case"PageUp":x();break;case"Open":a(y,!0);break;case"Close":y.stopPropagation(),a(y,!1);break;case"CloseSelect":!c&&!(_!=null&&_.disabled)&&a(y,!1);case"Select":_&&l(y,_);break;case"Tab":!c&&_&&l(y,_);break}})}function $9(e,o,n){"use no memo";const{state:{open:a,value:l,selectOption:c,setValue:u,multiselect:d,selectedOptions:h,clearSelection:g,getOptionById:v,setOpen:m},freeform:x,defaultProps:k,activeDescendantController:w}=n,y=O=>{if(!a&&!x){const W=w.active(),Y=W?v(W):null;l&&Y&&l.trim().toLowerCase()===(Y==null?void 0:Y.text.toLowerCase())&&c(O,Y),u(void 0)}},z=O=>{const W=O==null?void 0:O.trim().toLowerCase();if(!W||W.length===0){w.blur();return}const Y=le=>le.toLowerCase().indexOf(W)===0,fe=w.find(le=>{const se=v(le);return!!se&&Y(se.text)});if(!fe){w.blur();return}return v(fe)},_=O=>{const W=O.target.value;u(W);const Y=z(W);!d&&h.length===1&&(W.length<1||!Y)&&g(O)},R=W9(e,o,{state:n.state,defaultProps:k,elementType:"input",activeDescendantController:w});R.onChange=Ae(R.onChange,_),R.onBlur=Ae(R.onBlur,y);const[C,T]=b.useState(!1),E=b.useRef(!1),j=R.onKeyDown,M=pe(O=>{!a&&hd(O)==="Type"&&m(O,!0),O.key===Yp||O.key===Jp?T(!0):T(!1);const W=hd(O,{open:a,multiselect:d});if(W==="Type"?E.current=!0:(W==="Open"&&O.key!==" "||W==="Next"||W==="Previous"||W==="First"||W==="Last"||W==="PageUp"||W==="PageDown")&&(E.current=!1),(E.current||!a)&&O.key===" "){var Y;e==null||(Y=e.onKeyDown)===null||Y===void 0||Y.call(e,O);return}j==null||j(O)});return R.onKeyDown=M,C&&(R["aria-activedescendant"]=void 0),R}const K9=(e,o)=>{"use no memo";var n,a;e=Za(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:l,activeParentRef:c,controller:u}=f5({matchOption:me=>me.classList.contains(gd.root)}),d=U9({...e,editable:!0,activeDescendantController:u}),{appearance:h,size:g,...v}=d,{clearable:m,clearSelection:x,disabled:k,multiselect:w,open:y,selectedOptions:z,setOpen:_,value:R,hasFocus:C}=v,[T,E]=V9(e),{disableAutoFocus:j=!1,freeform:M,inlinePopup:O}=e,W=Qt("combobox-"),{primary:Y,root:fe}=yl({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),le=b.useRef(null),se=G9(e.listbox,at(T,l),{state:d,triggerRef:le,defaultProps:{children:e.children,disableAutoFocus:j}});var ie;const Q=$9((ie=e.input)!==null&&ie!==void 0?ie:{},at(le,c,o),{state:d,freeform:M,defaultProps:{type:"text",value:R??"","aria-controls":y?se==null?void 0:se.id:void 0,...Y},activeDescendantController:u}),I=Ne(e.root,{defaultProps:{"aria-owns":!O&&y?se==null?void 0:se.id:void 0,...fe},elementType:"div"});I.ref=at(I.ref,E);const ee=z.length>0&&!k&&m&&!w,oe={components:{root:"div",input:"input",expandIcon:"span",listbox:hm,clearIcon:"span"},root:I,input:Q,listbox:y||C?se:void 0,clearIcon:De(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:De(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":k?"true":void 0,"aria-expanded":y,role:"button"},elementType:"span"}),showClearIcon:ee,activeDescendantController:u,...v},{targetDocument:he}=Qe();Gp({element:he,callback:me=>_(me,!1),refs:[le,T,E],disabled:!y});const{onMouseDown:Se}=oe.expandIcon||{},F=pe(Ae(Se,me=>{var _e;me.preventDefault(),oe.setOpen(me,!oe.open),(_e=le.current)===null||_e===void 0||_e.focus()}));if(oe.expandIcon){oe.expandIcon.onMouseDown=F;const me=oe.expandIcon["aria-label"]||oe.expandIcon["aria-labelledby"],_e="Open";if(!me)if(e["aria-labelledby"]){var U;const Fe=(U=oe.expandIcon.id)!==null&&U!==void 0?U:`${W}-chevron`,Bt=`${Fe} ${oe.input["aria-labelledby"]}`;oe.expandIcon["aria-label"]=_e,oe.expandIcon.id=Fe,oe.expandIcon["aria-labelledby"]=Bt}else e["aria-label"]?oe.expandIcon["aria-label"]=`${_e} ${e["aria-label"]}`:oe.expandIcon["aria-label"]=_e}const te=pe(Ae((n=oe.clearIcon)===null||n===void 0?void 0:n.onMouseDown,me=>{me.preventDefault()})),ce=pe(Ae((a=oe.clearIcon)===null||a===void 0?void 0:a.onClick,me=>{x(me)}));return oe.clearIcon&&(oe.clearIcon.onMouseDown=te,oe.clearIcon.onClick=ce),w&&(oe.clearIcon=void 0),oe},Q9=(e,o)=>{"use no memo";const{appearance:n="outline",size:a="medium",...l}=e,c=K9(l,o);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=b.createElement(yR,null))}if(c.expandIcon){var h,g;(g=(h=c.expandIcon).children)!==null&&g!==void 0||(h.children=b.createElement(hR,null))}return{...c,appearance:n,size:a}},Z9=(e,o)=>ne(e.root,{children:ne(s5,{value:o.activeDescendant,children:ne(T9,{value:o.listbox,children:it(fS.Provider,{value:o.combobox,children:[ne(e.input,{}),e.clearIcon&&ne(e.clearIcon,{}),e.expandIcon&&ne(e.expandIcon,{}),e.listbox&&(e.inlinePopup?ne(e.listbox,{}):ne(Tl,{mountNode:e.mountNode,children:ne(e.listbox,{})}))]})})})}),Cs={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},Y9=ve({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);}"]}),J9=ve({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;}"]}),eA=ve({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;}"]}),tA=e=>{"use no memo";const{appearance:o,open:n,size:a,showClearIcon:l}=e,c=`${e.input["aria-invalid"]}`=="true",u=e.input.disabled,d=Y9(),h=eA(),g=J9();return e.root.className=de(Cs.root,d.root,d[o],d[a],!u&&o==="outline"&&d.outlineInteractive,c&&o!=="underline"&&d.invalid,c&&o==="underline"&&d.invalidUnderline,u&&d.disabled,e.root.className),e.input.className=de(Cs.input,g.input,g[a],u&&g.disabled,e.input.className),e.listbox&&(e.listbox.className=de(Cs.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=de(Cs.expandIcon,h.icon,h[a],u&&h.disabled,l&&h.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=de(Cs.clearIcon,h.icon,h[a],u&&h.disabled,!l&&h.hidden,e.clearIcon.className)),e},mS=b.forwardRef((e,o)=>{const n=Q9(e,o),a=E9(n);return tA(n),Xe("useComboboxStyles_unstable")(n),Z9(n,a)});mS.displayName="Combobox";const oA=(e,o)=>{e=Za(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=Ip();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=rA(u,o);return{size:l,appearance:c,...d}},rA=(e,o)=>{const{onChange:n}=e,[a,l]=Ao({state:e.value,defaultState:e.defaultValue,initialState:""}),c=yl({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),u={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Ne(e.input,{defaultProps:{type:"text",ref:o,...c.primary},elementType:"input"}),contentAfter:De(e.contentAfter,{elementType:"span"}),contentBefore:De(e.contentBefore,{elementType:"span"}),root:Ne(e.root,{defaultProps:c.root,elementType:"span"})};return u.input.value=a,u.input.onChange=pe(d=>{const h=d.target.value;n==null||n(d,{value:h}),l(h)}),u},nA=e=>it(e.root,{children:[e.contentBefore&&ne(e.contentBefore,{}),ne(e.input,{}),e.contentAfter&&ne(e.contentAfter,{})]}),Fu={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},aA=Ee("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;}}"]}),iA=ve({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;}"]}),lA=Ee("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;}"]),sA=ve({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);}"]}),cA=Ee("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),uA=ve({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;}"]}),dA=e=>{"use no memo";const{size:o,appearance:n}=e,a=e.input.disabled,l=`${e.input["aria-invalid"]}`=="true",c=n.startsWith("filled"),u=iA(),d=sA(),h=uA();e.root.className=de(Fu.root,aA(),u[o],e.contentBefore&&u[`${o}WithContentBefore`],e.contentAfter&&u[`${o}WithContentAfter`],u[n],!a&&n==="outline"&&u.outlineInteractive,!a&&n==="underline"&&u.underlineInteractive,!a&&c&&u.filledInteractive,c&&u.filled,!a&&l&&u.invalid,a&&u.disabled,e.root.className),e.input.className=de(Fu.input,lA(),d[o],e.contentBefore&&d[`${o}WithContentBefore`],e.contentAfter&&d[`${o}WithContentAfter`],a&&d.disabled,e.input.className);const g=[cA(),a&&h.disabled,h[o]];return e.contentBefore&&(e.contentBefore.className=de(Fu.contentBefore,...g,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=de(Fu.contentAfter,...g,e.contentAfter.className)),e},vp=b.forwardRef((e,o)=>{const n=oA(e,o);return dA(n),Xe("useInputStyles_unstable")(n),nA(n)});vp.displayName="Input";const fA=b.createContext(void 0),hA=fA.Provider,gm=Qa(void 0),gA={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},pA=gm.Provider,lt=e=>kl(gm,(o=gA)=>e(o)),vS=b.createContext(void 0),mA=!1,vA=vS.Provider,bA=()=>{var e;return(e=b.useContext(vS))!==null&&e!==void 0?e:mA},pm=Qa(void 0),yA={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},xA=pm.Provider,Us=e=>kl(pm,(o=yA)=>e(o)),Vs="fuimenuenter",wA=e=>{const{refs:o,callback:n,element:a,disabled:l}=e,c=pe(u=>{const d=o[0],h=u.target;var g;!Os((g=d.current)!==null&&g!==void 0?g:null,h)&&!l&&n(u)});b.useEffect(()=>{if(a!=null)return l||a.addEventListener(Vs,c),()=>{a.removeEventListener(Vs,c)}},[c,a,l])},SA=(e,o)=>{e.dispatchEvent(new CustomEvent(Vs,{bubbles:!0,detail:{nativeEvent:o}}))};function mm(){const e=lt(n=>n.isSubmenu),o=ac(pm);return e||o}const bS=e=>{"use no memo";const{targetDocument:o}=Qe();return lt(a=>a.triggerRef),lt(a=>a.inline),b.useRef(null)},bp="fuimenusafezonetimeout",kA=e=>{const o=b.useRef(null);return b.useCallback(n=>{var a;(a=o.current)===null||a===void 0||a.removeEventListener(bp,e),n==null||n.addEventListener(bp,e),o.current=n},[e])},BA=ve({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),_A=e=>{"use no memo";const o=BA();e.checkmark&&(e.checkmark.className=de(o.root,e.checked&&o.rootChecked,e.checkmark.className))},$n={root:"fui-MenuItem",icon:"fui-MenuItem__icon",checkmark:"fui-MenuItem__checkmark",submenuIndicator:"fui-MenuItem__submenuIndicator",content:"fui-MenuItem__content",secondaryContent:"fui-MenuItem__secondaryContent",subText:"fui-MenuItem__subText"},zA=Ee("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:['@media (forced-colors: active){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}",'@media (forced-colors: active){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),CA=Ee("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),NA=Ee("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),TA=Ee("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),EA=Ee("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),RA=Ee("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),jA=ve({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Bbkh6qg:"f1wzezsb",B3ejlan:"f1egomlm",B41git9:"f1wf2001",Boq1n10:"fied5gk",Dcq74g:"f1efp33f",rxnm8d:"f1m2zpi7",wxluhh:"fei14nx",idgcvv:"f12hmwa5",j9xr24:"f1hzwxd0"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wzezsb:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1egomlm:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wf2001:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fied5gk:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2zpi7:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fei14nx:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12hmwa5:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1hzwxd0:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),AA=ve({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),DA=ve({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),MA=e=>{"use no memo";const o=jA(),n=zA(),a=CA(),l=NA(),c=TA(),u=EA(),d=DA(),h=RA(),g=AA(),v=!!e.subText;return e.root.className=de($n.root,n,e.disabled&&o.disabled,e.root.className),e.content&&(e.content.className=de($n.content,a,e.content.className,v&&d.content)),e.checkmark&&(e.checkmark.className=de($n.checkmark,o.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=de($n.secondaryContent,l,e.disabled&&o.disabled,e.secondaryContent.className,v&&d.secondaryContent)),e.icon&&(e.icon.className=de($n.icon,c,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=de($n.submenuIndicator,u,e.submenuIndicator.className,v&&d.submenuIndicator)),e.subText&&(e.subText.className=de($n.subText,e.disabled&&g.disabled,e.subText.className,h)),_A(e),e},_x=Le.durationSlower,zx=Le.curveDecelerateMid,Cx=_l(({distance:e=10})=>({enter:[la({duration:_x,easing:zx,direction:"enter"}),{...j5({duration:_x,easing:zx,direction:"enter",outX:`calc(var(${sd}, 0px) * ${e})`,outY:`calc(var(${cd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),OA=["after","after-bottom","before-top","before","before-bottom","above"],FA=e=>{const o=mm(),{hoverDelay:n=500,inline:a=!1,hasCheckmarks:l=!1,hasIcons:c=!1,closeOnScroll:u=!1,openOnContext:d=!1,persistOnItemClick:h=!1,openOnHover:g=o,defaultCheckedValues:v,mountNode:m=null,safeZone:x}=e,{targetDocument:k}=Qe(),w=Qt("menu"),[y,z]=Y5(),_=Nl(e.positioning),R=D5({targetDocument:k,onPositioningEnd:_.onPositioningEnd}),C={position:o?"after":"below",align:o?"top":"start",target:e.openOnContext?y:void 0,fallbackPositions:o?OA:void 0,..._,onPositioningEnd:R},T=b.Children.toArray(e.children);let E,j;T.length===2?(E=T[0],j=T[1]):T.length===1&&(j=T[0]);const{targetRef:M,containerRef:O}=Pd(C),W=x&&g,Y=b.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),fe=Y7({disabled:!W,timeout:typeof x=="object"?x.timeout:300,onSafeZoneEnter:oe=>{Q(oe,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:oe}),Y.current.isInside=!0},onSafeZoneLeave:()=>{Y.current.isInside=!1},onSafeZoneMove:oe=>{Y.current.mouseCoordinates={x:oe.clientX,y:oe.clientY}},onSafeZoneTimeout:()=>{const oe=new CustomEvent(bp);if(Q(oe,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:oe}),Y.current.isInside&&k){const Se=k.elementsFromPoint(Y.current.mouseCoordinates.x,Y.current.mouseCoordinates.y).find(F=>F.classList.contains($n.root));Se==null||Se.dispatchEvent(oe)}}}),le=at(M,fe.targetRef),se=at(O,fe.containerRef),[ie,Q]=HA({hoverDelay:n,isSubmenu:o,setContextTarget:z,closeOnScroll:u,menuPopoverRef:se,triggerRef:le,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[I,ee]=qA({checkedValues:e.checkedValues,defaultCheckedValues:v,onCheckedValueChange:e.onCheckedValueChange});return{inline:a,hoverDelay:n,triggerId:w,isSubmenu:o,openOnHover:g,contextTarget:y,setContextTarget:z,hasCheckmarks:l,hasIcons:c,closeOnScroll:u,menuTrigger:E,menuPopover:j,mountNode:m,triggerRef:le,menuPopoverRef:se,components:{surfaceMotion:Cx},openOnContext:d,open:ie,setOpen:Q,checkedValues:I,onCheckedValueChange:ee,persistOnItemClick:h,safeZone:fe.elementToRender,surfaceMotion:ic(e.surfaceMotion,{elementType:Cx,defaultProps:{visible:ie,appear:!0,unmountOnExit:!0}})}},qA=e=>{const[o,n]=Ao({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),a=pe((l,{name:c,checkedItems:u})=>{var d;(d=e.onCheckedValueChange)===null||d===void 0||d.call(e,l,{name:c,checkedItems:u}),n(h=>({...h,[c]:u}))});return[o,a]},HA=e=>{"use no memo";const{targetDocument:o}=Qe(),n=lt(y=>y.setOpen),a=pe((y,z)=>{var _;return(_=e.onOpenChange)===null||_===void 0?void 0:_.call(e,y,z)}),l=b.useRef(!1),[c,u]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=pe((y,z)=>{const _=y instanceof CustomEvent&&y.type===Vs?y.detail.nativeEvent:y;a==null||a(_,{...z}),z.open&&y.type==="contextmenu"&&e.setContextTarget(y),z.open||e.setContextTarget(void 0),z.bubble&&n(y,{...z}),u(z.open)}),[h,g]=xl(),v=pe((y,z)=>{if(g(),!(y instanceof Event)&&y.persist&&y.persist(),!z.ignoreHoverDelay&&(y.type==="mouseleave"||y.type==="mouseover"||y.type==="mousemove"||y.type===Vs)){var R;!((R=e.triggerRef.current)===null||R===void 0)&&R.contains(y.target)&&(l.current=y.type==="mouseover"||y.type==="mousemove"),h(()=>d(y,z),e.hoverDelay)}else d(y,z)});Gp({contains:Os,disabled:!c,element:o,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:y=>v(y,{open:!1,type:"clickOutside",event:y})});const m=e.openOnContext||e.closeOnScroll;vw({contains:Os,element:o,callback:y=>v(y,{open:!1,type:"scrollOutside",event:y}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!c||!m}),wA({element:o,callback:y=>{l.current||v(y,{open:!1,type:"menuMouseEnter",event:y})},disabled:!c,refs:[e.menuPopoverRef]});const{findFirstFocusable:x}=rc(),k=b.useCallback(()=>{const y=x(e.menuPopoverRef.current);y==null||y.focus()},[x,e.menuPopoverRef]),w=Vp();return b.useEffect(()=>{if(c)k();else if(!w){var y,z;if((o==null?void 0:o.activeElement)===(o==null?void 0:o.body)||!((y=e.menuPopoverRef.current)===null||y===void 0)&&y.contains((z=o==null?void 0:o.activeElement)!==null&&z!==void 0?z:null)){var _;(_=e.triggerRef.current)===null||_===void 0||_.focus()}}},[e.triggerRef,e.isSubmenu,c,k,o,e.menuPopoverRef]),[c,v]};function PA(e){const{checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:g,openOnContext:v,openOnHover:m,persistOnItemClick:x,safeZone:k,setOpen:w,triggerId:y,triggerRef:z}=e;return{menu:b.useMemo(()=>({checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:g,openOnContext:v,openOnHover:m,persistOnItemClick:x,safeZone:k,setOpen:w,triggerId:y,triggerRef:z}),[o,n,a,l,c,u,d,h,g,v,m,x,k,w,y,z])}}const LA=(e,o)=>it(pA,{value:o.menu,children:[e.menuTrigger,e.menuPopover&&ne(e.surfaceMotion,{children:ne(Dd,{children:e.menuPopover})})]}),yS=e=>{const o=FA(e),n=PA(o);return LA(o,n)};yS.displayName="Menu";const IA=(e,o)=>{"use no memo";const n=Us(l=>l.setFocusByFirstCharacter),{onKeyDown:a}=e.root;return e.root.onKeyDown=l=>{var c;a==null||a(l),!(((c=l.key)===null||c===void 0?void 0:c.length)>1)&&o.current&&(n==null||n(l,o.current))},e},xS=b.createContext(void 0),wS={setMultiline:()=>null};xS.Provider;const SS=()=>{var e;return(e=b.useContext(xS))!==null&&e!==void 0?e:wS},kS=()=>SS()!==wS,UA=y5(mR,m5),VA=y5(gR,pR),GA=(e,o)=>{const{dir:n}=Qe(),a=WA(e,o);if(a.submenuIndicator){var l,c;(c=(l=a.submenuIndicator).children)!==null&&c!==void 0||(l.children=n==="rtl"?b.createElement(VA,null):b.createElement(UA,null))}return a},WA=(e,o)=>{const n=bA(),a=lt(_=>_.persistOnItemClick),{as:l="div",disabled:c=!1,hasSubmenu:u=n,persistOnClick:d=a,content:h,...g}=e,{hasIcons:v,hasCheckmarks:m}=$A({hasSubmenu:u}),x=lt(_=>_.setOpen);XA({multiline:!!e.subText,hasSubmenu:u});const k=b.useRef(null),w=b.useRef(!1),y=bS(KA(e.role)),z={hasSubmenu:u,disabled:c,persistOnClick:d,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:Ne(Et(l,Xa(l,{role:"menuitem",...g,disabled:!1,disabledFocusable:c,ref:at(o,k,y),onKeyDown:pe(_=>{var R;(R=e.onKeyDown)===null||R===void 0||R.call(e,_),!_.isDefaultPrevented()&&(_.key===sn||_.key===Wi)&&(w.current=!0)}),onMouseMove:pe(_=>{var R;if(_.currentTarget.ownerDocument.activeElement!==_.currentTarget){var C;(C=k.current)===null||C===void 0||C.focus()}(R=e.onMouseMove)===null||R===void 0||R.call(e,_)}),onClick:pe(_=>{var R;!u&&!d&&(x(_,{open:!1,keyboard:w.current,bubble:!0,type:"menuItemClick",event:_}),w.current=!1),(R=e.onClick)===null||R===void 0||R.call(e,_)})})),{elementType:"div"}),icon:De(e.icon,{renderByDefault:v,elementType:"span"}),checkmark:De(e.checkmark,{renderByDefault:m,elementType:"span"}),submenuIndicator:De(e.submenuIndicator,{renderByDefault:u,elementType:"span"}),content:De(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:De(e.secondaryContent,{elementType:"span"}),subText:De(e.subText,{elementType:"span"})};return IA(z,k),z},XA=e=>{const{hasSubmenu:o,multiline:n}=e,a=kS()&&o,{setMultiline:l}=SS();Dt(()=>{a||l(n)},[l,n,a])},$A=e=>{const{hasSubmenu:o}=e,n=Us(c=>c.hasIcons),a=Us(c=>c.hasCheckmarks),l=kS()&&o;return{hasIcons:n&&!l,hasCheckmarks:a&&!l}},KA=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},QA=e=>it(e.root,{children:[e.checkmark&&ne(e.checkmark,{}),e.icon&&ne(e.icon,{}),e.content&&it(e.content,{children:[e.content.children,e.subText&&ne(e.subText,{})]}),e.secondaryContent&&ne(e.secondaryContent,{}),e.submenuIndicator&&ne(e.submenuIndicator,{})]}),yp=b.forwardRef((e,o)=>{const n=GA(e,o);return MA(n),Xe("useMenuItemStyles_unstable")(n),QA(n)});yp.displayName="MenuItem";const ZA=(e,o)=>{const{findAllFocusable:n}=rc(),{targetDocument:a}=Qe(),l=YA(),c=ac(gm),u=Mw({circular:!0});JA(e,l,c)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const d=b.useRef(null),h=bS();b.useEffect(()=>{const _=d.current;if(c&&a&&_){const R=C=>{const T=C.detail.next;T&&_.contains(a.activeElement)&&!_.contains(T)&&C.preventDefault()};return a.addEventListener(lp,R),()=>{a.removeEventListener(lp,R)}}},[d,a,c]);const g=b.useCallback((_,R)=>{const C=["menuitem","menuitemcheckbox","menuitemradio"];if(!d.current)return;const T=n(d.current,Y=>Y.hasAttribute("role")&&C.indexOf(Y.getAttribute("role"))!==-1);let E=T.indexOf(R)+1;E===T.length&&(E=0);const j=T.map(Y=>{var fe;return(fe=Y.textContent)===null||fe===void 0?void 0:fe.charAt(0).toLowerCase()}),M=_.key.toLowerCase(),O=(Y,fe)=>{for(let le=Y;le<j.length;le++)if(M===j[le])return le;return-1};let W=O(E);W===-1&&(W=O(0)),W>-1&&T[W].focus()},[n]);var v;const[m,x]=Ao({state:(v=e.checkedValues)!==null&&v!==void 0?v:c?l.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var k;const w=(k=e.onCheckedValueChange)!==null&&k!==void 0?k:c?l.onCheckedValueChange:void 0,y=pe((_,R,C,T)=>{const j=[...(m==null?void 0:m[R])||[]];T?j.splice(j.indexOf(C),1):j.push(C),w==null||w(_,{name:R,checkedItems:j}),x(M=>({...M,[R]:j}))}),z=pe((_,R,C)=>{const T=[C];x(E=>({...E,[R]:T})),w==null||w(_,{name:R,checkedItems:T})});return{components:{root:"div"},root:Ne(Et("div",{ref:at(o,d,h),role:"menu","aria-labelledby":l.triggerId,...u,...e}),{elementType:"div"}),hasIcons:l.hasIcons||!1,hasCheckmarks:l.hasCheckmarks||!1,checkedValues:m,hasMenuContext:c,setFocusByFirstCharacter:g,selectRadio:z,toggleCheckbox:y}},YA=()=>{const e=lt(c=>c.checkedValues),o=lt(c=>c.onCheckedValueChange),n=lt(c=>c.triggerId),a=lt(c=>c.hasIcons),l=lt(c=>c.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:o,triggerId:n,hasIcons:a,hasCheckmarks:l}},JA=(e,o,n)=>{let a=!1;for(const l in o)e[l]&&(a=!0);return n&&a},eD=(e,o)=>ne(xA,{value:o.menuList,children:ne(e.root,{})});function tD(e){const{checkedValues:o,hasCheckmarks:n,hasIcons:a,selectRadio:l,setFocusByFirstCharacter:c,toggleCheckbox:u}=e;return{menuList:b.useMemo(()=>({checkedValues:o,hasCheckmarks:n,hasIcons:a,selectRadio:l,setFocusByFirstCharacter:c,toggleCheckbox:u}),[o,n,a,l,c,u])}}const oD={root:"fui-MenuList"},rD=ve({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),nD=e=>{"use no memo";const o=rD();return e.root.className=de(oD.root,o.root,e.hasMenuContext&&o.hasMenuContext,e.root.className),e},BS=b.forwardRef((e,o)=>{const n=ZA(e,o),a=tD(n);return nD(n),Xe("useMenuListStyles_unstable")(n),eD(n,a)});BS.displayName="MenuList";const aD=(e,o)=>{"use no memo";const n=lt(M=>M.safeZone),a=lt(M=>M.menuPopoverRef),l=lt(M=>M.setOpen),c=lt(M=>M.open),u=lt(M=>M.openOnHover),d=lt(M=>M.triggerRef),h=mm(),g=Us(M=>{var O;return(O=M.shouldCloseOnArrowLeft)!==null&&O!==void 0?O:!0}),v=b.useRef(!0),m=sT(),[x,k]=xl(),{dir:w}=Qe(),y=w==="ltr"?Yp:Jp,z=b.useCallback(M=>{M&&M.addEventListener("mouseover",O=>{v.current&&(v.current=!1,SA(a.current,O),x(()=>{v.current=!0},250))})},[a,x]);b.useEffect(()=>()=>k(),[k]);var _;const R=(_=lt(M=>M.inline))!==null&&_!==void 0?_:!1,C=lt(M=>M.mountNode),T=Ne(Et("div",{role:"presentation",...m,...e,ref:at(o,a,z,Ad())}),{elementType:"div"}),{onMouseEnter:E,onKeyDown:j}=T;return T.onMouseEnter=pe(M=>{(u||h)&&l(M,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:M}),E==null||E(M)}),T.onKeyDown=pe(M=>{const O=M.key;if(O===Bl||h&&g&&O===y){var W;c&&(!((W=a.current)===null||W===void 0)&&W.contains(M.target))&&!M.isDefaultPrevented()&&(l(M,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:M}),M.preventDefault())}if(O===l5&&(l(M,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:M}),!h)){var Y;(Y=d.current)===null||Y===void 0||Y.focus()}j==null||j(M)}),{inline:R,mountNode:C,safeZone:n,components:{root:"div"},root:T}},iD={root:"fui-MenuPopover"},lD=ve({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),sD=e=>{"use no memo";const o=lD();return e.root.className=de(iD.root,o.root,e.root.className),e},cD=e=>e.inline?it(b.Fragment,{children:[ne(e.root,{}),e.safeZone]}):it(Tl,{mountNode:e.mountNode,children:[ne(e.root,{}),e.safeZone]}),_S=b.forwardRef((e,o)=>{const n=aD(e,o);return sD(n),Xe("useMenuPopoverStyles_unstable")(n),cD(n)});_S.displayName="MenuPopover";function uD(){}const dD=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=lt(Q=>Q.triggerRef),l=lt(Q=>Q.menuPopoverRef),c=lt(Q=>Q.setOpen),u=lt(Q=>Q.open),d=lt(Q=>Q.triggerId),h=lt(Q=>Q.openOnHover),g=lt(Q=>Q.openOnContext),v=mm(),m=Us(Q=>{var I;return(I=Q.shouldOpenOnArrowRight)!==null&&I!==void 0?I:!0}),{findFirstFocusable:x}=rc(),k=b.useCallback(()=>{const Q=x(l.current);Q==null||Q.focus()},[x,l]),w=b.useRef(!1),y=b.useRef(!1),z=b.useRef(!1),{dir:_}=Qe(),R=_==="ltr"?Jp:Yp,C=oc(o),T=kA(pe(()=>{v&&(y.current=!0)})),E=Q=>{Hi(Q)||Q.isDefaultPrevented()||g&&(Q.preventDefault(),c(Q,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:Q}))},j=Q=>{Hi(Q)||g||(c(Q,{open:!u,keyboard:w.current,type:"menuTriggerClick",event:Q}),w.current=!1)},M=Q=>{if(Hi(Q)||Q.isDefaultPrevented())return;const I=Q.key;!g&&(v&&m&&I===R||!v&&I===dp)&&c(Q,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),I===Bl&&!v&&c(Q,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),u&&I===R&&v&&m&&k()},O=Q=>{Hi(Q)||h&&(z.current?c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:Q}):y.current&&(c(Q,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:Q}),y.current=!1))},W=Q=>{Hi(Q)||h&&!z.current&&(c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:Q}),z.current=!0)},Y=Q=>{Hi(Q)||h&&c(Q,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:Q})};var fe;const le={id:d,...C==null?void 0:C.props,ref:at(a,tc(C),T),onMouseEnter:pe((fe=C==null?void 0:C.props.onMouseEnter)!==null&&fe!==void 0?fe:uD),onMouseLeave:pe(Ae(C==null?void 0:C.props.onMouseLeave,Y)),onContextMenu:pe(Ae(C==null?void 0:C.props.onContextMenu,E)),onMouseMove:pe(Ae(C==null?void 0:C.props.onMouseMove,W)),onMouseOver:pe(Ae(C==null?void 0:C.props.onMouseOver,O))},se={"aria-haspopup":"menu","aria-expanded":!u&&!v?void 0:u,...le,onClick:pe(Ae(C==null?void 0:C.props.onClick,j)),onKeyDown:pe(Ae(C==null?void 0:C.props.onKeyDown,M))},ie=Xa((C==null?void 0:C.type)==="button"||(C==null?void 0:C.type)==="a"?C.type:"div",se);return{isSubmenu:v,children:Cd(o,g?le:n?se:ie)}},Hi=e=>{const o=n=>n.hasAttribute("disabled")||n.hasAttribute("aria-disabled")&&n.getAttribute("aria-disabled")==="true";return pr(e.target)&&o(e.target)?!0:pr(e.currentTarget)&&o(e.currentTarget)},fD=e=>b.createElement(vA,{value:e.isSubmenu},e.children),vm=e=>{const o=dD(e);return fD(o)};vm.displayName="MenuTrigger";vm.isFluentTriggerComponent=!0;const bm=b.createContext(void 0),hD={};bm.Provider;const gD=()=>b.useContext(bm)||hD,pD=(e,o)=>ne(bm.Provider,{value:o.radioGroup,children:ne(e.root,{})}),mD=(e,o)=>{const{layout:n="vertical",...a}=e,l=vD(a,o);return{layout:n,...l}},vD=(e,o)=>{e=Za(e);const n=Qt("radiogroup-"),{name:a=n,value:l,defaultValue:c,disabled:u,onChange:d,required:h}=e;return{name:a,value:l,defaultValue:c,disabled:u,required:h,components:{root:"div"},root:{ref:o,role:"radiogroup",...Ne(Et("div",e,["onChange","name"]),{elementType:"div"}),onChange:pe(g=>{d&&pr(g.target,{constructorName:"HTMLInputElement"})&&g.target.type==="radio"&&d(g,{value:g.target.value})})}}},bD={root:"fui-RadioGroup"},yD=ve({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),xD=e=>{"use no memo";const o=yD();return e.root.className=de(bD.root,o.root,e.layout==="vertical"&&o.vertical,e.root.className),e},wD=e=>{const{name:o,value:n,defaultValue:a,disabled:l,layout:c,required:u}=e,d=e.root["aria-describedby"];return{radioGroup:b.useMemo(()=>({name:o,value:n,defaultValue:a,disabled:l,layout:c,required:u,"aria-describedby":d}),[o,n,a,l,c,u,d])}},zS=b.forwardRef((e,o)=>{const n=mD(e,o),a=wD(n);return xD(n),Xe("useRadioGroupStyles_unstable")(n),pD(n,a)});zS.displayName="RadioGroup";const SD=e=>it(e.root,{children:[ne(e.input,{}),ne(e.indicator,{}),e.label&&ne(e.label,{})]}),kD=(e,o)=>{const n=BD(e,o);return{...n,components:{...n.components,label:br},label:De(e.label,{defaultProps:{...n.label},elementType:br})}},BD=(e,o)=>{const n=gD(),{name:a=n.name,checked:l=n.value!==void 0?n.value===e.value:void 0,defaultChecked:c=n.defaultValue!==void 0?n.defaultValue===e.value:void 0,labelPosition:u=n.layout==="horizontal-stacked"?"below":"after",disabled:d=n.disabled,required:h=n.required,"aria-describedby":g=n["aria-describedby"],onChange:v}=e,m=yl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),x=Ne(e.root,{defaultProps:{ref:Kp(),...m.root},elementType:"span"}),k=Ne(e.input,{defaultProps:{ref:o,type:"radio",id:Qt("radio-",m.primary.id),name:a,checked:l,defaultChecked:c,disabled:d,required:h,"aria-describedby":g,...m.primary},elementType:"input"});k.onChange=Ae(k.onChange,z=>v==null?void 0:v(z,{value:z.currentTarget.value}));const w=De(e.label,{defaultProps:{htmlFor:k.id,disabled:k.disabled},elementType:"label"}),y=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:"label",indicator:"div"},root:x,input:k,label:w,indicator:y}},qu={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},_D=Ee("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),zD=ve({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),CD=Ee("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),ND=ve({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),TD=Ee("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),ED=ve({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),RD=e=>{"use no memo";const{labelPosition:o}=e,n=_D(),a=zD();e.root.className=de(qu.root,n,o==="below"&&a.vertical,e.root.className);const l=CD(),c=ND();e.input.className=de(qu.input,l,o==="below"&&c.below,e.indicator.children?c.customIndicator:c.defaultIndicator,e.input.className);const u=TD();e.indicator.className=de(qu.indicator,u,e.indicator.className);const d=ED();return e.label&&(e.label.className=de(qu.label,d.base,d[o],e.label.className)),e},xp=b.forwardRef((e,o)=>{const n=kD(e,o);return RD(n),Xe("useRadioStyles_unstable")(n),SD(n)});xp.displayName="Radio";const CS=b.createContext(void 0),jD={};CS.Provider;const AD=()=>{var e;return(e=b.useContext(CS))!==null&&e!==void 0?e:jD},DD=(e,o)=>{const{size:n}=AD(),{appearance:a="primary",size:l=n??"medium",...c}=e,u=MD(c,o);return{...u,appearance:a,size:l,components:{...u.components,label:br},label:De(e.label,{defaultProps:u.label,elementType:br})}},MD=(e,o)=>{const{delay:n=0,labelPosition:a="after"}=e,l=Qt("spinner"),{role:c="progressbar",...u}=e,d=Ne(Et("div",{ref:o,role:c,...u}),{elementType:"div"}),[h,g]=b.useState(!1),[v,m]=xl();b.useEffect(()=>{if(!(n<=0))return v(()=>{g(!0)},n),()=>{m()}},[v,m,n]);const x=De(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:"label"}),k=De(e.spinner,{renderByDefault:!0,elementType:"span"});return x&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=x.id),{delay:n,labelPosition:a,shouldRenderSpinner:!n||h,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:k,spinnerTail:Ne(e.spinnerTail,{elementType:"span"}),label:x}},OD=e=>{const{labelPosition:o,shouldRenderSpinner:n}=e;return it(e.root,{children:[e.label&&n&&(o==="above"||o==="before")&&ne(e.label,{}),e.spinner&&n&&ne(e.spinner,{children:e.spinnerTail&&ne(e.spinnerTail,{})}),e.label&&n&&(o==="below"||o==="after")&&ne(e.label,{})]})},Hu={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},FD=Ee("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),qD=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),HD=Ee("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;}}"]}),PD=Ee("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;}}"]}),LD=ve({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)"}]]}),ID=ve({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);}"]}),UD=e=>{"use no memo";const{labelPosition:o,size:n,appearance:a}=e,{dir:l}=Qe(),c=FD(),u=qD(),d=HD(),h=LD(),g=PD(),v=ID();return e.root.className=de(Hu.root,c,(o==="above"||o==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=de(Hu.spinner,d,h[n],a==="inverted"&&h.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=de(Hu.spinnerTail,g,l==="rtl"&&h.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=de(Hu.label,v[n],a==="inverted"&&v.inverted,e.label.className)),e},dn=b.forwardRef((e,o)=>{const n=DD(e,o);return UD(n),Xe("useSpinnerStyles_unstable")(n),OD(n)});dn.displayName="Spinner";const VD=(e,o)=>{var n;const{size:a="medium",...l}=e,c=GD(l,o);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=b.createElement(tm,null)),{...c,components:{...c.components,label:br},size:a,label:De(e.label,{defaultProps:{size:"medium",...c.label},elementType:br})}},GD=(e,o)=>{e=Za(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:l,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:h}=e,g=yl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),v=Qt("switch-",g.primary.id),m=Ne(e.root,{defaultProps:{ref:Kp(),...g.root},elementType:"div"}),x=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),k=Ne(e.input,{defaultProps:{checked:n,defaultChecked:a,id:v,ref:o,role:"switch",type:"checkbox",...g.primary,disabled:l&&!c,...c&&{"aria-disabled":!0}},elementType:"input"});k.onChange=Ae(k.onChange,y=>d==null?void 0:d(y,{checked:y.currentTarget.checked})),k.onClick=Ae(k.onClick,y=>{c&&y.preventDefault()}),k.onKeyDown=Ae(k.onKeyDown,y=>{c&&(y.key===" "||y.key==="Enter")&&y.preventDefault()});const w=De(e.label,{defaultProps:{disabled:l||c,htmlFor:v,required:h},elementType:"label"});return{disabledFocusable:c,labelPosition:u,components:{root:"div",indicator:"div",input:"input",label:"label"},root:m,indicator:x,input:k,label:w}},WD=e=>{const{labelPosition:o}=e;return it(e.root,{children:[ne(e.input,{}),o!=="after"&&e.label&&ne(e.label,{}),ne(e.indicator,{}),o==="after"&&e.label&&ne(e.label,{})]})},Pu={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},XD=Ee("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;}}"]}),$D=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),KD=Ee("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;}}"]}),QD=ve({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;}"]}),ZD=Ee("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;}}']}),YD=ve({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);}"]}),JD=ve({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);}"]}),eM=e=>{"use no memo";const o=XD(),n=$D(),a=KD(),l=QD(),c=ZD(),u=YD(),d=JD(),{label:h,labelPosition:g,size:v}=e;return e.root.className=de(Pu.root,o,g==="above"&&n.vertical,e.root.className),e.indicator.className=de(Pu.indicator,a,h&&g==="above"&&l.labelAbove,v==="small"&&l.sizeSmall,e.indicator.className),e.input.className=de(Pu.input,c,h&&u[g],v==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=de(Pu.label,d.base,d[g],v==="small"&&d.sizeSmall,e.label.className)),e},NS=b.forwardRef((e,o)=>{const n=VD(e,o);return eM(n),Xe("useSwitchStyles_unstable")(n),WD(n)});NS.displayName="Switch";const TS=(e,o)=>{const{wrap:n,truncate:a,block:l,italic:c,underline:u,strikethrough:d,size:h,font:g,weight:v,align:m}=e;return{align:m??"start",block:l??!1,font:g??"base",italic:c??!1,size:h??300,strikethrough:d??!1,truncate:a??!1,underline:u??!1,weight:v??"regular",wrap:n??!0,components:{root:"span"},root:Ne(Et("span",{ref:o,...e}),{elementType:"span"})}},ES=e=>ne(e.root,{}),tM={root:"fui-Text"},oM=ve({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;}"]}),RS=e=>{"use no memo";const o=oM();return e.root.className=de(tM.root,o.root,e.wrap===!1&&o.nowrap,e.truncate&&o.truncate,e.block&&o.block,e.italic&&o.italic,e.underline&&o.underline,e.strikethrough&&o.strikethrough,e.underline&&e.strikethrough&&o.strikethroughUnderline,e.size===100&&o.base100,e.size===200&&o.base200,e.size===400&&o.base400,e.size===500&&o.base500,e.size===600&&o.base600,e.size===700&&o.hero700,e.size===800&&o.hero800,e.size===900&&o.hero900,e.size===1e3&&o.hero1000,e.font==="monospace"&&o.monospace,e.font==="numeric"&&o.numeric,e.weight==="medium"&&o.weightMedium,e.weight==="semibold"&&o.weightSemibold,e.weight==="bold"&&o.weightBold,e.align==="center"&&o.alignCenter,e.align==="end"&&o.alignEnd,e.align==="justify"&&o.alignJustify,e.root.className),e},jS=b.forwardRef((e,o)=>{const n=TS(e,o);return RS(n),Xe("useTextStyles_unstable")(n),ES(n)});jS.displayName="Text";function Ya(e){const{useStyles:o,className:n,displayName:a}=e,l=b.forwardRef((c,u)=>{"use no memo";const d=o(),h=TS(c,u);return RS(h),h.root.className=de(n,h.root.className,d.root,c.className),ES(h)});return l.displayName=a,l}const rM={root:"fui-Body1"},nM=ve({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);}"]}),fr=Ya({useStyles:nM,className:rM.root,displayName:"Body1"}),aM={root:"fui-Body1Strong"},iM=ve({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);}"]}),Ua=Ya({useStyles:iM,className:aM.root,displayName:"Body1Strong"}),lM={root:"fui-Body2"},sM=ve({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);}"]}),ym=Ya({useStyles:sM,className:lM.root,displayName:"Body2"}),cM={root:"fui-Caption1"},uM=ve({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);}"]}),Kt=Ya({useStyles:uM,className:cM.root,displayName:"Caption1"}),dM={root:"fui-Subtitle2"},fM=ve({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);}"]}),$o=Ya({useStyles:fM,className:dM.root,displayName:"Subtitle2"}),hM={root:"fui-Title2"},gM=ve({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);}"]}),wp=Ya({useStyles:gM,className:hM.root,displayName:"Title2"}),pM={root:"fui-Title3"},mM=ve({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);}"]}),Ii=Ya({useStyles:mM,className:pM.root,displayName:"Title3"}),vM=e=>ne(e.root,{children:ne(e.textarea,{})}),bM=(e,o)=>{const n=Ip();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e;return{...yM(u,o),size:l,appearance:c}},yM=(e,o)=>{e=Za(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:n="none",onChange:a}=e,[l,c]=Ao({state:e.value,defaultState:e.defaultValue,initialState:void 0}),u=yl({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:n,components:{root:"span",textarea:"textarea"},textarea:Ne(e.textarea,{defaultProps:{ref:o,...u.primary},elementType:"textarea"}),root:Ne(e.root,{defaultProps:u.root,elementType:"span"})};return d.textarea.value=l,d.textarea.onChange=pe(h=>{const g=h.target.value;a==null||a(h,{value:g}),c(g)}),d},Nx={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},xM=ve({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);}"]}),wM=ve({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);}"]}),SM=ve({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;}"]}),kM=e=>{"use no memo";const{size:o,appearance:n,resize:a}=e,l=e.textarea.disabled,c=`${e.textarea["aria-invalid"]}`=="true",u=n.startsWith("filled"),d=xM();e.root.className=de(Nx.root,d.base,l&&d.disabled,!l&&u&&d.filled,!l&&d[n],!l&&d.interactive,!l&&n==="outline"&&d.outlineInteractive,!l&&c&&d.invalid,e.root.className);const h=wM(),g=SM();return e.textarea.className=de(Nx.textarea,h.base,h[o],g[a],l&&h.disabled,e.textarea.className),e},AS=b.forwardRef((e,o)=>{const n=bM(e,o);return kM(n),Xe("useTextareaStyles_unstable")(n),vM(n)});AS.displayName="Textarea";const BM=Ee("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),_M=Ee("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function zM(){const e=BM(),o=_M(),{targetDocument:n}=Qe(),a=b.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(o))},[n,e,o]),l=b.useCallback(()=>{n&&(n.documentElement.classList.remove(e),n.body.classList.remove(o))},[n,e,o]);return{disableBodyScroll:a,enableBodyScroll:l}}function CM(e,o){const{findFirstFocusable:n}=rc(),{targetDocument:a}=Qe(),l=b.useRef(null);return b.useEffect(()=>{if(!e)return;const c=l.current&&n(l.current);if(c)c.focus();else{var u;(u=l.current)===null||u===void 0||u.focus()}},[n,e,o,a]),l}const NM={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},xm=Qa(void 0),TM=xm.Provider,lr=e=>kl(xm,(o=NM)=>e(o)),EM=!1,DS=b.createContext(void 0),MS=DS.Provider,RM=()=>{var e;return(e=b.useContext(DS))!==null&&e!==void 0?e:EM},OS=b.createContext(void 0);OS.Provider;const jM=()=>b.useContext(OS),Tx=ua(nm,{outScale:.85,easing:Le.curveDecelerateMid,duration:Le.durationGentle,exitEasing:Le.curveAccelerateMin,exitDuration:Le.durationGentle}),AM=e=>{const{children:o,modalType:n="modal",onOpenChange:a,inertTrapFocus:l=!1,unmountOnClose:c=!0}=e,u=Qt("dialog-title-"),[d,h]=DM(o),[g,v]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),m=pe(z=>{a==null||a(z.event,z),z.event.isDefaultPrevented()||v(z.open)}),x=CM(g,n),{modalAttributes:k,triggerAttributes:w}=jd({trapFocus:n!=="non-modal",legacyTrapFocus:!l}),y=ac(xm);return{components:{surfaceMotion:Tx},inertTrapFocus:l,open:g,modalType:n,content:h,trigger:d,requestOpenChange:m,dialogTitleId:u,isNestedDialog:y,unmountOnClose:c,dialogRef:x,modalAttributes:k,triggerAttributes:w,surfaceMotion:ic(e.surfaceMotion,{elementType:Tx,defaultProps:{visible:g,appear:c,unmountOnExit:c}})}};function DM(e){const o=b.Children.toArray(e);switch(o.length){case 2:return o;case 1:return[void 0,o[0]];default:return[void 0,void 0]}}const MM=(e,o)=>ne(TM,{value:o.dialog,children:it(MS,{value:o.dialogSurface,children:[e.trigger,e.content&&ne(e.surfaceMotion,{children:ne(Dd,{children:e.content})})]})});function OM(e){const{modalType:o,open:n,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,requestOpenChange:d,modalAttributes:h,triggerAttributes:g,unmountOnClose:v}=e;return{dialog:b.useMemo(()=>({open:n,modalType:o,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,modalAttributes:h,triggerAttributes:g,unmountOnClose:v,requestOpenChange:d}),[n,o,a,l,c,u,h,g,v,d]),dialogSurface:!1}}const wm=b.memo(e=>{const o=AM(e),n=OM(o);return MM(o,n)});wm.displayName="Dialog";const FM=e=>{const o=RM(),{children:n,disableButtonEnhancement:a=!1,action:l=o?"close":"open"}=e,c=oc(n),u=lr(m=>m.requestOpenChange),{triggerAttributes:d}=jd(),h=pe(m=>{var x,k;c==null||(x=(k=c.props).onClick)===null||x===void 0||x.call(k,m),m.isDefaultPrevented()||u({event:m,type:"triggerClick",open:l==="open"})}),g={...c==null?void 0:c.props,ref:tc(c),onClick:h,...d},v=Xa((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...g,type:"button"});return{children:Cd(n,a?g:v)}},qM=e=>e.children,$i=e=>{const o=FM(e);return qM(o)};$i.displayName="DialogTrigger";$i.isFluentTriggerComponent=!0;const HM=(e,o)=>{const{position:n="end",fluid:a=!1}=e;return{components:{root:"div"},root:Ne(Et("div",{ref:o,...e}),{elementType:"div"}),position:n,fluid:a}},PM=e=>ne(e.root,{}),LM={root:"fui-DialogActions"},IM=Ee("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;}}"]}),UM=ve({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)"}]]}),VM=e=>{"use no memo";const o=IM(),n=UM();return e.root.className=de(LM.root,o,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},Sm=b.forwardRef((e,o)=>{const n=HM(e,o);return VM(n),Xe("useDialogActionsStyles_unstable")(n),PM(n)});Sm.displayName="DialogActions";const GM=(e,o)=>{var n;return{components:{root:"div"},root:Ne(Et((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},WM=e=>ne(e.root,{}),XM={root:"fui-DialogBody"},$M=Ee("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;}}"]}),KM=e=>{"use no memo";const o=$M();return e.root.className=de(XM.root,o,e.root.className),e},km=b.forwardRef((e,o)=>{const n=GM(e,o);return KM(n),Xe("useDialogBodyStyles_unstable")(n),WM(n)});km.displayName="DialogBody";const Ex={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},QM=Ee("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;}"]),ZM=ve({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),YM=Ee("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),JM=Ee("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;}}"]}),eO=e=>{"use no memo";const o=QM(),n=YM(),a=ZM();return e.root.className=de(Ex.root,o,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=de(Ex.action,n,e.action.className)),e},tO=(e,o)=>{const{action:n}=e,a=lr(c=>c.modalType),l=JM();return{components:{root:"h2",action:"div"},root:Ne(Et("h2",{ref:o,id:lr(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:De(n,{renderByDefault:a==="non-modal",defaultProps:{children:b.createElement($i,{disableButtonEnhancement:!0,action:"close"},b.createElement("button",{type:"button",className:l,"aria-label":"close"},b.createElement(TR,null)))},elementType:"div"})}},oO=e=>it(b.Fragment,{children:[ne(e.root,{children:e.root.children}),e.action&&ne(e.action,{})]}),Bm=b.forwardRef((e,o)=>{const n=tO(e,o);return eO(n),Xe("useDialogTitleStyles_unstable")(n),oO(n)});Bm.displayName="DialogTitle";const Rx=rj,rO=(e,o)=>{const n=Ad(),a=lr(C=>C.modalType),l=lr(C=>C.isNestedDialog),c=jM(),u=c??l,d=lr(C=>C.modalAttributes),h=lr(C=>C.dialogRef),g=lr(C=>C.requestOpenChange),v=lr(C=>C.dialogTitleId),m=lr(C=>C.open),x=lr(C=>C.unmountOnClose),k=pe(C=>{if(Lp(e.backdrop)){var T,E;(T=(E=e.backdrop).onClick)===null||T===void 0||T.call(E,C)}a==="modal"&&!C.isDefaultPrevented()&&g({event:C,open:!1,type:"backdropClick"})}),w=pe(C=>{var T;(T=e.onKeyDown)===null||T===void 0||T.call(e,C),C.key===Bl&&!C.isDefaultPrevented()&&(g({event:C,open:!1,type:"escapeKeyDown"}),C.preventDefault())}),y=De(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),z=y==null?void 0:y.appearance;y&&(y.onClick=k,delete y.appearance);const{disableBodyScroll:_,enableBodyScroll:R}=zM();return Dt(()=>{if(!m){R();return}if(!(l||a==="non-modal"))return _(),()=>R()},[m,a,l,_,R]),{components:{backdrop:"div",root:"div",backdropMotion:Rx},open:m,backdrop:y,isNestedDialog:l,treatBackdropAsNested:u,backdropAppearance:z,unmountOnClose:x,mountNode:e.mountNode,root:Ne(Et("div",{tabIndex:-1,role:a==="alert"?"alertdialog":"dialog","aria-modal":a!=="non-modal","aria-labelledby":e["aria-label"]?void 0:v,"aria-hidden":!x&&!m?!0:void 0,...e,...d,onKeyDown:w,ref:at(o,n,h)}),{elementType:"div"}),backdropMotion:ic(e.backdropMotion,{elementType:Rx,defaultProps:{appear:x,visible:m}}),transitionStatus:void 0}},nO=(e,o)=>it(Tl,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ne(e.backdropMotion,{children:ne(e.backdrop,{})}),ne(N5,{children:ne(MS,{value:o.dialogSurface,children:ne(e.root,{})})})]}),jx={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},aO=Ee("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;}}"]}),iO=Ee("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),lO=ve({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),sO=e=>{"use no memo";const{root:o,backdrop:n,open:a,unmountOnClose:l,treatBackdropAsNested:c,backdropAppearance:u}=e,d=aO(),h=iO(),g=lO(),v=u?u==="transparent":c,m=!l&&!a;return o.className=de(jx.root,d,m&&g.dialogHidden,o.className),n&&(n.className=de(jx.backdrop,h,m&&g.dialogHidden,v&&g.nestedDialogBackdrop,n.className)),e};function cO(e){return{dialogSurface:!0}}const _m=b.forwardRef((e,o)=>{const n=rO(e,o),a=cO();return sO(n),Xe("useDialogSurfaceStyles_unstable")(n),nO(n,a)});_m.displayName="DialogSurface";const uO=(e,o)=>{var n;return{components:{root:"div"},root:Ne(Et((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},dO=e=>ne(e.root,{}),fO={root:"fui-DialogContent"},hO=Ee("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;}}"]}),gO=e=>{"use no memo";const o=hO();return e.root.className=de(fO.root,o,e.root.className),e},zm=b.forwardRef((e,o)=>{const n=uO(e,o);return gO(n),Xe("useDialogContentStyles_unstable")(n),dO(n)});zm.displayName="DialogContent";function pO(e){switch(e){case"info":return b.createElement(JE,null);case"warning":return b.createElement(KE,null);case"error":return b.createElement(bR,null);case"success":return b.createElement(pn,null);default:return null}}function mO(e=!1){const{targetDocument:o}=Qe(),n=b.useReducer(()=>({}),{})[1],a=b.useRef(!1),l=b.useRef(null),c=b.useRef(-1),u=b.useCallback(h=>{var g,v;const m=h[0];var x;const k=(x=m==null||(v=m.borderBoxSize)===null||v===void 0||(g=v[0])===null||g===void 0?void 0:g.inlineSize)!==null&&x!==void 0?x:m==null?void 0:m.target.getBoundingClientRect().width;if(k===void 0||!m)return;const{target:w}=m;if(!pr(w))return;let y;if(a.current)c.current<k&&(y=!1);else{const z=w.scrollWidth;k<z&&(y=!0)}c.current=k,typeof y<"u"&&a.current!==y&&(a.current=y,n())},[n]),d=b.useCallback(h=>{var g;if(!e||!h||!(o!=null&&o.defaultView))return;(g=l.current)===null||g===void 0||g.disconnect();const v=o.defaultView,m=new v.ResizeObserver(u);l.current=m,m.observe(h,{box:"border-box"})},[o,u,e]);return b.useEffect(()=>()=>{var h;(h=l.current)===null||h===void 0||h.disconnect()},[]),{ref:d,reflowing:a.current}}const FS=b.createContext(void 0),vO={className:"",nodeRef:b.createRef()};FS.Provider;const bO=()=>{var e;return(e=b.useContext(FS))!==null&&e!==void 0?e:vO},yO=(e,o)=>{const{layout:n="auto",intent:a="info",politeness:l}=e,c=l??a==="info"?"polite":"assertive",u=n==="auto",{ref:d,reflowing:h}=mO(u),g=u?h?"multiline":"singleline":n,{className:v,nodeRef:m}=bO(),x=Ad(),k=b.useRef(null),w=b.useRef(null),{announce:y}=rC(),z=Qt();return b.useEffect(()=>{var _,R;const C=(_=w.current)===null||_===void 0?void 0:_.textContent,T=(R=k.current)===null||R===void 0?void 0:R.textContent,E=[C,T].filter(Boolean).join(",");y(E,{polite:c==="polite",alert:c==="assertive"})},[w,k,y,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ne(Et("div",{ref:at(o,d,m,x),role:"group","aria-labelledby":z,...e}),{elementType:"div"}),icon:De(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:De(e.bottomReflowSpacer,{renderByDefault:g==="multiline",elementType:"div"}),layout:g,intent:a,transitionClassName:v,actionsRef:k,bodyRef:w,titleId:z}},xO=(e,o)=>{const{shape:n="rounded",...a}=e,l=yO(a,o);return{...l,shape:n,icon:De(e.icon,{defaultProps:{children:pO(l.intent)},renderByDefault:!0,elementType:"div"})}},qS=b.createContext(void 0),wO={titleId:"",layout:"singleline",actionsRef:b.createRef(),bodyRef:b.createRef()},SO=qS.Provider,HS=()=>{var e;return(e=b.useContext(qS))!==null&&e!==void 0?e:wO},kO=(e,o)=>ne(SO,{value:o.messageBar,children:it(e.root,{children:[e.icon&&ne(e.icon,{}),e.root.children,e.bottomReflowSpacer&&ne(e.bottomReflowSpacer,{})]})}),Og={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},BO=Ee("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);}']),_O=Ee("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;}"]),zO=Ee("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),CO=ve({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}]]}),NO=ve({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),TO=ve({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);}"]}),EO=e=>{"use no memo";const o=BO(),n=_O(),a=NO(),l=TO(),c=zO(),u=CO();return e.root.className=de(Og.root,o,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,l[e.intent],e.root.className),e.icon&&(e.icon.className=de(Og.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=de(Og.bottomReflowSpacer,c)),e};function RO(e){const{layout:o,actionsRef:n,bodyRef:a,titleId:l}=e;return{messageBar:b.useMemo(()=>({layout:o,actionsRef:n,bodyRef:a,titleId:l}),[o,n,a,l])}}const Jo=b.forwardRef((e,o)=>{const n=xO(e,o);return EO(n),Xe("useMessageBarStyles_unstable")(n),kO(n,RO(n))});Jo.displayName="MessageBar";const jO=(e,o)=>{const{titleId:n}=HS();return{components:{root:"span"},root:Ne(Et("span",{ref:o,id:n,...e}),{elementType:"span"})}},AO=e=>ne(e.root,{}),DO={root:"fui-MessageBarTitle"},MO=Ee("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),OO=e=>{"use no memo";const o=MO();return e.root.className=de(DO.root,o,e.root.className),e},Ka=b.forwardRef((e,o)=>{const n=jO(e,o);return OO(n),Xe("useMessageBarTitleStyles_unstable")(n),AO(n)});Ka.displayName="MessageBarTitle";const FO=(e,o)=>{const{bodyRef:n}=HS();return{components:{root:"div"},root:Ne(Et("div",{ref:at(o,n),...e}),{elementType:"div"})}},qO=(e,o)=>ne(hA,{value:o.link,children:ne(e.root,{})}),HO={root:"fui-MessageBarBody"},PO=Ee("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);}"]),LO=e=>{"use no memo";const o=PO();return e.root.className=de(HO.root,o,e.root.className),e};function IO(e){return{link:b.useMemo(()=>({inline:!0}),[])}}const er=b.forwardRef((e,o)=>{const n=FO(e,o),a=IO();return LO(n),Xe("useMessageBarBodyStyles_unstable")(n),qO(n,a)});er.displayName="MessageBarBody";const PS={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"},po={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},UO={...ZT(PS)},cc={...eE(PS)};cc.colorNeutralBackground1="#0E1620";cc.colorNeutralBackground2="#131F2D";cc.colorNeutralBackground3="#1A2838";cc.colorNeutralBackground4="#223145";const Ax="wizardux.theme",LS=b.createContext(null);function Dx(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function VO({children:e}){const[o,n]=b.useState(()=>localStorage.getItem(Ax)||"system"),[a,l]=b.useState(Dx);b.useEffect(()=>{const h=window.matchMedia("(prefers-color-scheme: dark)"),g=()=>l(Dx());return h.addEventListener("change",g),()=>h.removeEventListener("change",g)},[]),b.useEffect(()=>{localStorage.setItem(Ax,o)},[o]);const c=o==="system"?a:o,u=c==="dark"?cc:UO;b.useEffect(()=>{document.body.style.background=u.colorNeutralBackground1,document.body.style.color=u.colorNeutralForeground1},[u]);const d=b.useMemo(()=>({mode:o,resolved:c,setMode:n}),[o,c]);return B.jsx(LS.Provider,{value:d,children:B.jsx(t5,{theme:u,style:{height:"100%"},children:e})})}function GO(){const e=b.useContext(LS);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}let Lu=null;async function WO(){if(Lu)return Lu;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return Lu=(await e.json()).csrfToken,Lu}async function zr(e,o,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await WO());const l=await fetch(o,{method:e,headers:a,body:n!==void 0?JSON.stringify(n):void 0,credentials:"same-origin"});if(!l.ok){let c=null;try{c=await l.json()}catch{}const u=(c==null?void 0:c.error)||`${e} ${o} failed (${l.status})`,d=new Error(u);throw d.payload=c,d.status=l.status,d}return l.json()}const Dr={state:()=>zr("GET","/api/state"),saveState:e=>zr("PUT","/api/state",e),resetState:()=>zr("POST","/api/state/reset",{}),jumpTo:e=>zr("POST","/api/state/jump",{step:e}),system:()=>zr("GET","/api/system"),steps:()=>zr("GET","/api/steps"),questions:e=>zr("GET",`/api/steps/${e}/questions`),apply:(e,o)=>zr("POST",`/api/steps/${e}/apply`,{answers:o}),configSeedKeys:()=>zr("GET","/api/config-seed/keys"),exportConfigSeed:async()=>{const e=await fetch("/api/config-seed/export",{credentials:"same-origin"});if(!e.ok)throw new Error(`Export failed (${e.status})`);const o=e.headers.get("Content-Disposition")||"",n=/filename="([^"]+)"/i.exec(o),a=(n==null?void 0:n[1])||`pacaf-wizard-config-${new Date().toISOString().slice(0,10)}.json`;return{blob:await e.blob(),filename:a}},importConfigSeed:(e,o="merge")=>zr("POST","/api/config-seed/import",{seed:e,mode:o})},XO=or({list:{display:"flex",flexDirection:"column",gap:"4px",margin:0,padding:0,listStyle:"none",maxHeight:"240px",overflowY:"auto"},row:{display:"flex",justifyContent:"space-between",gap:"12px",padding:"4px 8px",borderBottom:`1px solid ${P.colorNeutralStroke3}`,fontFamily:P.fontFamilyMonospace,fontSize:P.fontSizeBase200},key:{color:P.colorNeutralForeground1,whiteSpace:"nowrap"},value:{color:P.colorNeutralForeground3,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"320px"},section:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"12px"}});function Mx(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.length} item${e.length===1?"":"s"}]`;if(e&&typeof e=="object"){const o=Object.keys(e).length;return`{${o} entr${o===1?"y":"ies"}}`}return String(e)}function $O(){const e=XO(),o=Js(),n=b.useRef(null),[a,l]=b.useState("idle"),[c,u]=b.useState(null),[d,h]=b.useState(null),[g,v]=b.useState("merge"),[m,x]=b.useState(null),[k,w]=b.useState(null);async function y(){try{const{blob:E,filename:j}=await Dr.exportConfigSeed(),M=URL.createObjectURL(E),O=document.createElement("a");O.href=M,O.download=j,O.click(),URL.revokeObjectURL(M)}catch(E){const j=E instanceof Error?E.message:"Export failed.";u(j),l("error")}}function z(){var E;u(null),x(null),h(null),w(null),(E=n.current)==null||E.click()}async function _(E){var M;const j=(M=E.target.files)==null?void 0:M[0];if(E.target.value="",!!j){if(j.size>64*1024){u(`File too large (${j.size} bytes; max 65536).`),l("error");return}try{const O=await j.text(),W=JSON.parse(O);if(!W||typeof W!="object"||!W.values||typeof W.values!="object")throw new Error("Not a valid PACAF wizard config — missing `values` object.");if(W.version!==void 0&&Number(W.version)>1)throw new Error(`Seed version ${W.version} is newer than this wizard supports.`);h(W);try{const fe=(await Dr.state()).state,le=[];for(const se of["PP_ENV_DEV","PP_ENV_TEST","PP_ENV_PROD"]){const ie=String(fe[se]??"").trim(),Q=String(W.values[se]??"").trim();ie&&Q&&ie!==Q&&le.push(se)}le.length>0&&w(`This seed targets different environment URLs than the current project: ${le.join(", ")}. Connection IDs from this seed will likely not work in your current environments.`)}catch{}l("preview")}catch(O){const W=O instanceof Error?O.message:"Could not read file.";u(W),l("error")}}}async function R(){if(d){l("applying");try{const E=await Dr.importConfigSeed(d,g);x(E),l("done"),o.invalidateQueries({queryKey:["state"]}),o.invalidateQueries({queryKey:["questions"]})}catch(E){const j=E instanceof Error?E.message:"Import failed.";u(j),l("error")}}}function C(){l("idle"),h(null),x(null),u(null),w(null),v("merge")}const T=a==="preview"||a==="applying"||a==="done"||a==="error";return B.jsxs(B.Fragment,{children:[B.jsx("input",{ref:n,type:"file",accept:"application/json,.json",style:{display:"none"},onChange:_}),B.jsxs(yS,{children:[B.jsx(vm,{disableButtonEnhancement:!0,children:B.jsx(Ld,{relationship:"label",content:"Configuration",children:B.jsx(st,{appearance:"subtle",icon:B.jsx(XE,{}),"aria-label":"Configuration"})})}),B.jsx(_S,{children:B.jsxs(BS,{children:[B.jsx(yp,{icon:B.jsx(p5,{}),onClick:y,children:"Export configuration…"}),B.jsx(yp,{icon:B.jsx(sR,{}),onClick:z,children:"Import configuration…"})]})})]}),B.jsx(wm,{open:T,onOpenChange:(E,j)=>{j.open||C()},children:B.jsx(_m,{children:B.jsxs(km,{children:[B.jsx(Bm,{children:a==="done"?"Configuration imported":a==="error"?"Import failed":"Import configuration"}),B.jsxs(zm,{children:[a==="preview"&&d&&B.jsx(KO,{seed:d,mode:g,onModeChange:v,envWarning:k,styles:e}),a==="applying"&&B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[B.jsx(dn,{size:"tiny"})," ",B.jsx(jS,{children:"Writing configuration…"})]}),a==="done"&&m&&B.jsx(QO,{result:m,styles:e}),a==="error"&&B.jsx(Jo,{intent:"error",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Import failed"}),c]})})]}),B.jsxs(Sm,{children:[a==="preview"&&B.jsxs(B.Fragment,{children:[B.jsx(st,{appearance:"secondary",onClick:C,children:"Cancel"}),B.jsx(st,{appearance:"primary",onClick:R,children:"Apply"})]}),(a==="done"||a==="error")&&B.jsx(st,{appearance:"primary",onClick:C,children:"Close"}),a==="applying"&&B.jsx(st,{appearance:"secondary",disabled:!0,children:"Working…"})]})]})})})]})}function KO({seed:e,mode:o,onModeChange:n,envWarning:a,styles:l}){const c=Object.entries(e.values),u="OP_VAULT"in e.values||"OP_ITEM"in e.values;return B.jsxs("div",{className:l.section,children:[B.jsx(Jo,{intent:"info",children:B.jsxs(er,{children:["Secrets are never included. App Registration secrets remain in 1Password or",B.jsx("code",{children:" .env.local"})," — only references to them ship in this file."]})}),u&&B.jsx(Jo,{intent:"info",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"1Password references imported"}),"This seed includes ",B.jsx("code",{children:"OP_VAULT"})," / ",B.jsx("code",{children:"OP_ITEM"})," pointers. You'll still need access to that vault on this machine to retrieve the actual secret."]})}),a&&B.jsx(Jo,{intent:"warning",icon:B.jsx(QE,{}),children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Environment mismatch"}),a]})}),B.jsxs(Ua,{children:["Values in this seed (",c.length,")"]}),B.jsxs("ul",{className:l.list,children:[c.map(([d,h])=>B.jsxs("li",{className:l.row,children:[B.jsx("span",{className:l.key,children:d}),B.jsx("span",{className:l.value,title:Mx(h),children:Mx(h)})]},d)),c.length===0&&B.jsx(Kt,{children:"(empty)"})]}),B.jsx(Ua,{children:"How to apply"}),B.jsxs(zS,{value:o,onChange:(d,h)=>n(h.value),children:[B.jsx(xp,{value:"merge",label:"Merge (recommended) — only fill values that are currently empty"}),B.jsx(xp,{value:"replace-allowlisted",label:"Overwrite — replace existing values with values from the seed"})]})]})}function QO({result:e,styles:o}){return B.jsxs("div",{className:o.section,children:[B.jsx(Jo,{intent:"success",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Done"}),e.written.length," value",e.written.length===1?"":"s"," written,"," ",e.preserved.length," preserved,"," ",e.skipped.length," skipped."]})}),e.written.length>0&&B.jsxs(B.Fragment,{children:[B.jsx(Ua,{children:"Written"}),B.jsx("ul",{className:o.list,children:e.written.map(n=>B.jsx("li",{className:o.row,children:B.jsx("span",{className:o.key,children:n.key})},n.key))})]}),e.preserved.length>0&&B.jsxs(B.Fragment,{children:[B.jsx(Ua,{children:"Preserved (already set)"}),B.jsx("ul",{className:o.list,children:e.preserved.map(n=>B.jsxs("li",{className:o.row,children:[B.jsx("span",{className:o.key,children:n.key}),B.jsx("span",{className:o.value,children:n.reason})]},n.key))})]}),e.skipped.length>0&&B.jsxs(B.Fragment,{children:[B.jsx(Ua,{children:"Skipped"}),B.jsx("ul",{className:o.list,children:e.skipped.map(n=>B.jsxs("li",{className:o.row,children:[B.jsx("span",{className:o.key,children:n.key}),B.jsx("span",{className:o.value,children:n.reason})]},n.key))})]})]})}const ZO=or({root:{display:"flex",alignItems:"center",gap:"16px",padding:"0 24px",borderBottom:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground1Hover,backdropFilter:"blur(20px) saturate(180%)"},brand:{display:"flex",alignItems:"center",gap:"12px",color:P.colorNeutralForeground1,textDecoration:"none"},badge:{width:"32px",height:"32px",borderRadius:"8px",background:po.accent,display:"grid",placeItems:"center",color:"#ffffff",fontWeight:700,boxShadow:P.shadow8},spacer:{flex:1},navLinks:{display:"flex",gap:"4px"},navLink:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"6px",color:P.colorNeutralForeground2,textDecoration:"none",fontSize:P.fontSizeBase300},navLinkActive:{backgroundColor:P.colorNeutralBackground3,color:P.colorNeutralForeground1}});function YO(){const e=ZO(),{mode:o,setMode:n}=GO(),a=tr(),l=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=o==="system"?"light":o==="light"?"dark":"system",u=o==="dark"?ZE:o==="light"?YE:h5;return B.jsxs("header",{className:e.root,children:[B.jsxs(ln,{to:"/",className:e.brand,children:[B.jsx("div",{className:e.badge,children:"F"}),B.jsx(Ua,{children:"Foundations"})]}),B.jsx("div",{className:e.spacer}),B.jsxs("nav",{className:e.navLinks,children:[B.jsxs(ln,{to:"/",className:de(e.navLink,l("/")&&e.navLinkActive),children:[B.jsx(v5,{})," Home"]}),B.jsxs(ln,{to:"/summary",className:de(e.navLink,l("/summary")&&e.navLinkActive),children:[B.jsx(vR,{})," Summary"]}),B.jsxs(ln,{to:"/diagnostics",className:de(e.navLink,l("/diagnostics")&&e.navLinkActive),children:[B.jsx(ld,{})," Diagnostics"]})]}),B.jsx(Ld,{relationship:"label",content:`Theme: ${o}. Click to cycle.`,children:B.jsx(st,{appearance:"subtle",icon:B.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})}),B.jsx($O,{})]})}const JO=or({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function IS(){const e=JO(),o=b.useRef(null);return b.useEffect(()=>{const n=o.current;if(!n)return;const a=n.getContext("2d");if(!a)return;const l=window.matchMedia("(prefers-reduced-motion: reduce)").matches;let c=0;function u(){const h=Math.min(window.devicePixelRatio||1,2);n.width=n.clientWidth*h,n.height=n.clientHeight*h,a.scale(h,h)}u(),window.addEventListener("resize",u);function d(h){const g=n.clientWidth,v=n.clientHeight;a.clearRect(0,0,g,v);const m=l?0:h/6e3,x=g*(.28+.15*Math.sin(m)),k=v*(.38+.1*Math.cos(m*1.2)),w=a.createRadialGradient(x,k,0,x,k,Math.max(g,v)*.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,g,v);const y=g*(.72+.1*Math.cos(m*.8)),z=v*(.55+.12*Math.sin(m*1.5)),_=a.createRadialGradient(y,z,0,y,z,Math.max(g,v)*.6);_.addColorStop(0,"rgba(92, 45, 145, 0.45)"),_.addColorStop(1,"rgba(92, 45, 145, 0)"),a.fillStyle=_,a.fillRect(0,0,g,v);const R=g*(.4+.18*Math.cos(m*.6+1.7)),C=v*(.85+.1*Math.sin(m*.9)),T=a.createRadialGradient(R,C,0,R,C,Math.max(g,v)*.55);T.addColorStop(0,"rgba(0, 130, 114, 0.35)"),T.addColorStop(1,"rgba(0, 130, 114, 0)"),a.fillStyle=T,a.fillRect(0,0,g,v),l||(c=requestAnimationFrame(d))}return c=requestAnimationFrame(d),()=>{cancelAnimationFrame(c),window.removeEventListener("resize",u)}},[]),B.jsx("canvas",{ref:o,className:e.canvas,"aria-hidden":"true"})}function Cm(){return xd({queryKey:["state"],queryFn:()=>Dr.state(),refetchInterval:5e3})}function US(){return xd({queryKey:["system"],queryFn:()=>Dr.system(),staleTime:3e4})}function Nm(){return xd({queryKey:["steps"],queryFn:()=>Dr.steps(),refetchInterval:5e3})}function eF(e){return xd({queryKey:["questions",e],queryFn:()=>Dr.questions(e),enabled:e!=null})}const tF=or({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:P.colorNeutralBackground1,border:`1px solid ${P.colorNeutralStroke2}`,boxShadow:P.shadow4,fontSize:P.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:P.colorBrandForeground1,alignSelf:"center"},title:{margin:0,background:po.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:P.colorNeutralForeground2,fontSize:P.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:po.accentSoft,border:`1px solid ${P.colorNeutralStroke2}`,boxShadow:P.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:po.accent,color:"#ffffff",border:"none",boxShadow:P.shadow8,minWidth:"180px",height:"44px",fontSize:P.fontSizeBase400,fontWeight:600},ctaTrack:{width:"100%",height:"6px",borderRadius:"999px",background:P.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},ctaFill:{height:"100%",background:po.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 ${P.colorNeutralStroke2}`},stepRow:{display:"flex",alignItems:"center",gap:"12px",padding:"12px 16px",background:P.colorNeutralBackground1,cursor:"pointer",transition:"background-color 120ms",":hover":{backgroundColor:P.colorNeutralBackground1Hover}},stepIcon:{fontSize:"16px",flexShrink:0},stepDone:{color:P.colorPaletteGreenForeground1},stepCurrent:{color:P.colorBrandForeground1},stepPending:{color:P.colorNeutralForeground4},stepLabel:{flex:1,fontSize:P.fontSizeBase300,fontWeight:P.fontWeightSemibold,color:P.colorNeutralForeground1},stepLabelDim:{flex:1,fontSize:P.fontSizeBase300,fontWeight:P.fontWeightRegular,color:P.colorNeutralForeground3},stepBadge:{fontSize:P.fontSizeBase200,color:P.colorNeutralForeground3},footer:{textAlign:"center",color:P.colorNeutralForeground3,fontSize:P.fontSizeBase200}});function oF(){var k,w,y,z,_,R,C,T;const e=tF(),o=Zs(),n=Cm(),a=Nm(),l=US(),c=Js(),u=E2({mutationFn:()=>Dr.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((k=n.data)==null?void 0:k.completed)??0,h=((w=n.data)==null?void 0:w.next)??1,g=((y=n.data)==null?void 0:y.totalSteps)??9,v=((_=(z=n.data)==null?void 0:z.state)==null?void 0:_.APP_NAME)||"",m=d>0,x=Math.round(d/Math.max(1,g)*100);return B.jsxs("div",{className:e.root,children:[B.jsxs("div",{className:e.hero,children:[B.jsx(IS,{}),B.jsxs("div",{className:e.heroInner,children:[B.jsxs("div",{className:e.pill,children:[B.jsx(wR,{})," Foundations"]}),B.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),B.jsx(fr,{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:m?B.jsxs(B.Fragment,{children:[B.jsxs($o,{style:{display:"block",color:P.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",v?`, ${v}`:""]}),B.jsxs(wp,{style:{margin:0},children:["Pick up at step ",h," of ",g]}),B.jsxs(fr,{style:{marginTop:"6px",color:P.colorNeutralForeground3},children:[d," of ",g," steps complete · ",x,"%"]}),B.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:B.jsx("div",{className:e.ctaFill,style:{width:`${x}%`}})})]}):B.jsxs(B.Fragment,{children:[B.jsx(wp,{style:{margin:0},children:"Ready when you are"}),B.jsx(fr,{style:{marginTop:"6px",color:P.colorNeutralForeground2},children:"Each step is self-contained. You'll end with a deployable app."})]})}),B.jsxs("div",{className:e.ctaActions,children:[B.jsx(st,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(cn,{}),onClick:()=>o(`/step/${h}`),children:m?"Resume":"Get started"}),m&&B.jsxs(wm,{children:[B.jsx($i,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"subtle",icon:B.jsx(iR,{}),children:"Start over"})}),B.jsx(_m,{children:B.jsxs(km,{children:[B.jsx(Bm,{children:"Reset wizard state?"}),B.jsx(zm,{children:"This clears all collected answers. Your project files are not affected."}),B.jsxs(Sm,{children:[B.jsx($i,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"secondary",children:"Cancel"})}),B.jsx($i,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?B.jsx(dn,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),l.data&&B.jsxs("div",{className:e.systemBar,children:[B.jsxs(dr,{appearance:"filled",color:l.data.node?"success":"danger",children:["Node ",l.data.node||"—"]}),B.jsxs(dr,{appearance:"filled",color:l.data.git?"success":"danger",children:["Git ",l.data.git||"missing"]}),B.jsxs(dr,{appearance:"filled",color:l.data.dotnet?"success":"danger",children:[".NET ",l.data.dotnet||"missing"]}),B.jsxs(dr,{appearance:"filled",color:l.data.pac?"success":"danger",children:["PAC ",l.data.pac||"missing"]}),B.jsx(dr,{appearance:"filled",color:l.data.op?"success":"informative",children:l.data.op?`1Password ${l.data.op}`:"1Password (optional)"})]}),a.data&&B.jsx("div",{className:e.stepSection,children:a.data.steps.map(E=>{const j=E.status==="done",M=E.status==="current";return B.jsxs("div",{className:e.stepRow,role:"button",tabIndex:0,onClick:()=>o(`/step/${E.number}`),onKeyDown:O=>{(O.key==="Enter"||O.key===" ")&&o(`/step/${E.number}`)},children:[j?B.jsx(pn,{className:`${e.stepIcon} ${e.stepDone}`}):M?B.jsx(lR,{className:`${e.stepIcon} ${e.stepCurrent}`}):B.jsx(om,{className:`${e.stepIcon} ${e.stepPending}`}),B.jsxs("span",{className:j||M?e.stepLabel:e.stepLabelDim,children:[E.number,". ",E.title]}),j&&B.jsx("span",{className:e.stepBadge,children:"Done"}),M&&B.jsx(dr,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},E.number)})}),((R=l.data)==null?void 0:R.rootDir)&&B.jsxs("div",{className:e.footer,children:[B.jsx(nR,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",B.jsx("code",{children:l.data.rootDir})]}),((T=(C=l.data)==null?void 0:C.cloudSync)==null?void 0:T.detected)&&B.jsx(Jo,{intent:"warning",children:B.jsxs(er,{children:[B.jsxs(Ka,{children:["Project is inside ",l.data.cloudSync.provider]}),"Cloud-sync providers upload every file in this folder, regardless of ",B.jsx("code",{children:".gitignore"}),". They may raise DLP alerts on encrypted secrets in ",B.jsx("code",{children:".env.local"}),". We strongly recommend moving the project out of ",l.data.cloudSync.provider,", or choosing ",B.jsx("strong",{children:"1Password"})," storage in Step 4. See ",B.jsx("code",{children:"TROUBLESHOOTING.md"}),' → "Authentication & Secrets".']})}),u.isError&&B.jsx(Jo,{intent:"error",children:B.jsxs(er,{children:[B.jsx(Ka,{children:"Reset failed"}),u.error.message]})})]})]})}function rF(e,o){const[n,a]=b.useState({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return b.useEffect(()=>{if(!o||!e){a({lines:[],status:"idle",error:null,exitCode:null,deviceCode:null});return}a({lines:[],status:"running",error:null,exitCode:null,deviceCode:null});const l=`/api/steps/${e}/stream?runId=${encodeURIComponent(o)}`,c=new EventSource(l,{withCredentials:!0});return c.addEventListener("line",u=>{try{const d=JSON.parse(u.data);a(h=>({...h,lines:[...h.lines,d]}))}catch{}}),c.addEventListener("deviceCode",u=>{try{const d=JSON.parse(u.data);a(h=>({...h,deviceCode:d}))}catch{}}),c.addEventListener("end",u=>{try{const d=JSON.parse(u.data);a(h=>({...h,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,o]),n}const nF=or({root:{width:"220px",height:"100%",overflowY:"auto",padding:"12px",borderRight:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground2},heading:{color:P.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:P.colorNeutralBackground3}},itemActive:{backgroundColor:P.colorBrandBackground2,border:`1px solid ${P.colorBrandStroke2}`},iconCol:{flex:"0 0 18px",fontSize:"18px",display:"grid",placeItems:"center"},done:{color:P.colorPaletteGreenForeground1},current:{color:P.colorBrandForeground1},pending:{color:P.colorNeutralForeground3},terminal:{color:P.colorNeutralForeground3},title:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:P.fontWeightSemibold,fontSize:P.fontSizeBase300}});function aF({steps:e,current:o}){const n=nF(),a=Zs(),l=tr();return B.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[B.jsx(Kt,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===o&&l.pathname.includes("/step/"),d=c.status==="done"?pn:c.status==="current"?cn:c.canRunInBrowser?om:g5,h=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:g=>{(g.key==="Enter"||g.key===" ")&&a(`/step/${c.number}`)},"aria-current":u?"step":void 0,children:[B.jsx("div",{className:`${n.iconCol} ${h}`,children:B.jsx(d,{})}),B.jsxs(ym,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}function Ox(e){const o=/https?:\/\/[^\s)]+/g,n=[];let a=0,l;for(;(l=o.exec(e))!==null;){l.index>a&&n.push(e.slice(a,l.index));const c=l[0].replace(/[.,;:!?]+$/,"");n.push(B.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",children:c},l.index)),a=l.index+l[0].length}return a<e.length&&n.push(e.slice(a)),n}const Tm=or({card:{padding:"16px",borderRadius:"10px",backgroundColor:P.colorNeutralBackground2,border:`1px solid ${P.colorNeutralStroke2}`,display:"flex",flexDirection:"column",gap:"8px"},required:{color:P.colorPaletteRedForeground1,marginLeft:"4px"},help:{color:P.colorNeutralForeground3},groupHeader:{display:"flex",flexDirection:"column",gap:"4px",paddingBottom:"4px"},groupTitle:{fontWeight:P.fontWeightSemibold},groupItems:{display:"flex",flexDirection:"column"},groupItem:{padding:"12px 0",borderTop:`1px solid ${P.colorNeutralStroke2}`},firstGroupItem:{paddingTop:"8px"},why:{fontSize:P.fontSizeBase200,color:P.colorNeutralForeground2,whiteSpace:"pre-wrap",lineHeight:1.5,maxWidth:"360px",padding:"4px 0"},whyTrigger:{minWidth:"auto",padding:"2px",height:"auto",color:P.colorNeutralForeground3,":hover":{color:P.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:P.colorNeutralBackground3,border:`1px solid ${P.colorNeutralStroke2}`,color:P.colorNeutralForeground2,fontSize:P.fontSizeBase200},savedSecretIcon:{color:P.colorPaletteGreenForeground1,fontSize:"16px",flexShrink:0},savedSecretEdit:{marginLeft:"auto",minWidth:"auto",padding:"2px 8px",height:"auto"}});function Fx(e,o){return(Array.isArray(e)?e:[e]).every(a=>{const l=o[a.id];return"contains"in a?Array.isArray(l)&&l.includes(a.contains):l===a.equals})}function Em(e,o){return!!(e.showIf&&!Fx(e.showIf,o)||e.hideIf&&Fx(e.hideIf,o))}function iF(e){if(!e)return null;const o=/^https?:\/\//i.test(e)?e:`https://${e}`;try{return new URL(o).protocol.startsWith("https")?null:"Must be an https:// URL"}catch{return"Not a valid URL"}}function lF(e,o,n){return e.required&&(o==null||o==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof o=="string"?iF(o):null}function VS({question:e,value:o,onChange:n,showError:a,answers:l}){var C;const c=Tm(),u=lF(e,o,a),[d,h]=b.useState(!1),g=e.type==="secret"&&e.savedHint&&!o&&!d,v=e.dynamicOptions,m=v?String(l[v.dependsOn]??""):"",[x,k]=b.useState([]),[w,y]=b.useState(!1),z=b.useRef(m);b.useEffect(()=>{if(!v)return;if(!m||m==="false"||m==="0"||m.startsWith("__")){k([]),z.current=m;return}if(m===z.current&&x.length>0)return;z.current=m,y(!0);const E=new AbortController;return fetch(`${v.endpoint}?${v.param}=${encodeURIComponent(m)}`,{signal:E.signal}).then(j=>j.json()).then(j=>{const M=j[v.responseKey]||[];k(M),y(!1)}).catch(()=>{E.signal.aborted||y(!1)}),()=>E.abort()},[v,m]);const _=b.useMemo(()=>{if(!v)return e.options||[];const T=(e.options||[]).filter(E=>E.value.startsWith("__"));return[...x,...T]},[v,e.options,x]),R=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(iS,{withArrow:!0,children:[B.jsx(fm,{disableButtonEnhancement:!0,children:B.jsx(st,{appearance:"transparent",icon:B.jsx(SR,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),B.jsx(aS,{children:B.jsx("div",{className:c.why,children:Ox(e.why)})})]})]});return B.jsxs(B.Fragment,{children:[B.jsx(uS,{label:R,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?B.jsx(vp,{value:o??"",onChange:(T,E)=>n(e.id,E.value),"aria-required":e.required||void 0}):e.type==="secret"?g?B.jsxs("div",{className:c.savedSecret,children:[B.jsx(rR,{className:c.savedSecretIcon}),B.jsx("span",{children:e.savedHint}),B.jsx(st,{appearance:"subtle",size:"small",icon:B.jsx(oR,{}),className:c.savedSecretEdit,onClick:()=>h(!0),children:"Change"})]}):B.jsx(vp,{type:"password",value:o??"",onChange:(T,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(NS,{checked:!!o,onChange:(T,E)=>n(e.id,E.checked)}):e.type==="select"?w?B.jsx(dn,{size:"tiny",label:"Loading options…"}):B.jsx(mS,{value:((C=_.find(T=>T.value===o))==null?void 0:C.label)??"",selectedOptions:o?[String(o)]:[],onOptionSelect:(T,E)=>n(e.id,E.optionValue),children:_.map(T=>B.jsx(pS,{value:T.value,children:T.label},T.value))}):e.type==="multiselect"?B.jsx(AS,{value:Array.isArray(o)?o.join(", "):"",onChange:(T,E)=>n(e.id,E.value.split(",").map(j=>j.trim()).filter(Boolean))}):e.type==="checkboxes"?B.jsx("div",{className:c.checkboxList,children:(e.options||[]).map(T=>{const E=Array.isArray(o)&&o.includes(T.value);return B.jsx(dS,{label:T.label,checked:E,onChange:(j,M)=>{const O=Array.isArray(o)?[...o]:[];n(e.id,M.checked?Array.from(new Set([...O,T.value])):O.filter(W=>W!==T.value))}},T.value)})}):B.jsxs(Kt,{children:["Unsupported question type: ",e.type]})}),e.help&&B.jsx(ym,{className:c.help,children:Ox(e.help)})]})}function sF({question:e,answers:o,value:n,onChange:a,showError:l}){const c=Tm();return Em(e,o)?null:B.jsx("div",{className:c.card,children:B.jsx(VS,{question:e,answers:o,value:n,onChange:a,showError:l})})}function cF({group:e,questions:o,answers:n,onChange:a,showError:l}){const c=Tm(),u=o.filter(d=>!Em(d,n));return u.length===0?null:B.jsxs("div",{className:c.card,children:[B.jsxs("div",{className:c.groupHeader,children:[B.jsx(fr,{className:c.groupTitle,children:e.label}),e.help&&B.jsx(ym,{className:c.help,children:e.help})]}),B.jsx("div",{className:c.groupItems,children:u.map((d,h)=>B.jsx("div",{className:`${c.groupItem} ${h===0?c.firstGroupItem:""}`,children:B.jsx(VS,{question:d,answers:n,value:n[d.id],onChange:a,showError:l})},d.id))})]})}const uF=or({root:{height:"100%",display:"grid",gridTemplateRows:"auto 1fr auto",backgroundColor:P.colorNeutralBackground3,borderRadius:"10px",overflow:"hidden",border:`1px solid ${P.colorNeutralStroke2}`},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderBottom:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground4},spacer:{flex:1},output:{margin:0,padding:"12px 16px",overflowY:"auto",fontFamily:P.fontFamilyMonospace,fontSize:P.fontSizeBase200,lineHeight:P.lineHeightBase200,color:P.colorNeutralForeground1,whiteSpace:"pre-wrap",wordBreak:"break-word"},err:{color:P.colorPaletteRedForeground1},info:{color:P.colorNeutralForeground3,fontStyle:"italic"},footer:{display:"flex",alignItems:"center",gap:"8px",padding:"6px 12px",borderTop:`1px solid ${P.colorNeutralStroke2}`,backgroundColor:P.colorNeutralBackground4,color:P.colorNeutralForeground3,minHeight:"28px"},footerIdle:{color:P.colorPaletteDarkOrangeForeground1}});function qx(e){const o=Math.max(0,Math.floor(e/1e3)),n=Math.floor(o/60),a=o%60;return n===0?`${a}s`:`${n}m ${a.toString().padStart(2,"0")}s`}function dF({lines:e,status:o,onClear:n}){var y;const a=uF(),l=b.useRef(null);b.useEffect(()=>{l.current&&(l.current.scrollTop=l.current.scrollHeight)},[e]);const c=e.length,u=((y=e[c-1])==null?void 0:y.text)??"",[d,h]=b.useState(null),[g,v]=b.useState(()=>Date.now()),[m,x]=b.useState(()=>Date.now());b.useEffect(()=>{o==="running"?(h(z=>z??Date.now()),v(Date.now())):h(null)},[o]),b.useEffect(()=>{o==="running"&&v(Date.now())},[c,u,o]),b.useEffect(()=>{if(o!=="running")return;const z=window.setInterval(()=>x(Date.now()),1e3);return()=>window.clearInterval(z)},[o]);const k=b.useMemo(()=>{if(o!=="running"||d===null)return null;const z=m-d,R=m-g>2e4;return{label:R?`Still working — waiting on npm / network… (running for ${qx(z)})`:`Running for ${qx(z)}`,idle:R}},[o,d,m,g]);function w(){const z=e.map(T=>T.text).join(""),_=new Blob([z],{type:"text/plain"}),R=URL.createObjectURL(_),C=document.createElement("a");C.href=R,C.download=`wizardux-log-${Date.now()}.txt`,C.click(),URL.revokeObjectURL(R)}return B.jsxs("div",{className:a.root,children:[B.jsxs("div",{className:a.toolbar,children:[B.jsx(Ua,{children:"Live output"}),B.jsx(Kt,{style:{color:o==="error"?P.colorPaletteRedForeground1:o==="done"?P.colorPaletteGreenForeground1:P.colorNeutralForeground3},children:o==="idle"?"Idle":o==="running"?"Running…":o==="done"?"Complete":"Failed"}),B.jsx("div",{className:a.spacer}),B.jsx(st,{appearance:"subtle",size:"small",icon:B.jsx(p5,{}),onClick:w,disabled:e.length===0,children:"Save"}),n&&B.jsx(st,{appearance:"subtle",size:"small",icon:B.jsx(uR,{}),onClick:n,disabled:e.length===0,children:"Clear"})]}),B.jsx("pre",{ref:l,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((z,_)=>B.jsx("span",{className:z.stream==="stderr"?a.err:void 0,children:z.text},_))}),k&&B.jsx("div",{className:`${a.footer}${k.idle?` ${a.footerIdle}`:""}`,"aria-live":"polite",children:B.jsx(Kt,{style:{color:"inherit"},children:k.label})})]})}const fF=or({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 ${P.colorNeutralStroke2}`,marginBottom:"8px"},stepBadge:{width:"36px",height:"36px",borderRadius:"10px",display:"grid",placeItems:"center",fontWeight:700,fontSize:"15px",flexShrink:0},stepBadgePending:{background:P.colorNeutralBackground3,color:P.colorNeutralForeground2},stepBadgeDone:{background:P.colorPaletteGreenBackground2,color:P.colorPaletteGreenForeground1},stepBadgeBrand:{background:po.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 ${P.colorNeutralStroke2}`,marginTop:"8px"},spacer:{flex:1},inlineLog:{marginTop:"4px",border:`1px solid ${P.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 ${P.colorPaletteGreenBorder1}`},successIcon:{fontSize:"24px",color:P.colorPaletteGreenForeground1,flexShrink:0},successText:{flex:1},ctaPrimary:{background:po.accent,color:"#ffffff",border:"none",boxShadow:P.shadow4,minWidth:"160px",height:"40px",fontWeight:600},terminalNote:{display:"flex",alignItems:"center",gap:"10px",padding:"14px 16px",borderRadius:"10px",background:P.colorNeutralBackground3,border:`1px solid ${P.colorNeutralStroke2}`,color:P.colorNeutralForeground2},terminalIcon:{fontSize:"20px",color:P.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 ${P.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:P.colorBrandForeground1,padding:"8px 16px",background:P.colorNeutralBackground1,borderRadius:"8px",border:`1px solid ${P.colorNeutralStroke2}`,userSelect:"all"}});function hF(){var F,U,te,ce,me,_e,Fe,Bt,ft;const e=fF(),o=f4(),n=Math.max(1,Math.min(9,parseInt(o.n||"1",10))),a=Zs(),l=Js(),c=Nm(),u=eF(n),[d,h]=b.useState({}),[g,v]=b.useState({}),[m,x]=b.useState(!1),[k,w]=b.useState(null),y=b.useRef(null),z=b.useMemo(()=>{var qe;return JSON.stringify((((qe=u.data)==null?void 0:qe.questions)??[]).map(et=>[et.id,et.defaultValue??""]))},[(F=u.data)==null?void 0:F.questions]);b.useEffect(()=>{if(!u.data)return;const qe={};for(const et of u.data.questions)qe[et.id]=et.defaultValue??"";h(qe),v(qe),x(!1)},[(U=u.data)==null?void 0:U.meta.number,z]),b.useEffect(()=>{w(null)},[n]);const _=E2({mutationFn:qe=>Dr.apply(n,qe),onSuccess:qe=>{w(qe.runId)}}),R=rF(n,k);b.useEffect(()=>{R.status==="done"&&(y.current&&(v(y.current),y.current=null),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["steps"]}),l.invalidateQueries({queryKey:["questions"]}))},[R.status,l,n]);const C=b.useMemo(()=>R.lines.some(qe=>qe.stream==="stderr"),[R.lines]),T=b.useRef(null);b.useEffect(()=>{var qe;if(R.status==="done"&&!C){const et=((qe=c.data)==null?void 0:qe.totalSteps)??9;T.current=setTimeout(()=>{n>=et?a("/summary"):a(`/step/${n+1}`)},1500)}return()=>{T.current&&clearTimeout(T.current)}},[R.status,n,(te=c.data)==null?void 0:te.totalSteps,a]);const E=(ce=u.data)==null?void 0:ce.meta,j=((me=u.data)==null?void 0:me.questions)??[],{primaryBlocks:M,advancedBlocks:O}=b.useMemo(()=>{const qe=xr=>{const Yt=[];for(const wr of xr){if(!wr.group){Yt.push({kind:"question",question:wr});continue}const Or=Yt[Yt.length-1];(Or==null?void 0:Or.kind)==="group"&&Or.group.id===wr.group.id?Or.questions.push(wr):Yt.push({kind:"group",group:wr.group,questions:[wr]})}return Yt},et=j.filter(xr=>!xr.advanced),Zt=j.filter(xr=>xr.advanced);return{primaryBlocks:qe(et),advancedBlocks:qe(Zt)}},[j]),W=b.useMemo(()=>JSON.stringify(d)!==JSON.stringify(g),[d,g]),Y=b.useRef(null);b.useEffect(()=>{if(u.data&&W)return Y.current&&clearTimeout(Y.current),Y.current=setTimeout(()=>{const qe={};for(const et of Object.keys(d))JSON.stringify(d[et])!==JSON.stringify(g[et])&&(qe[et]=d[et]);Object.keys(qe).length>0&&Dr.saveState(qe).catch(()=>{})},600),()=>{Y.current&&clearTimeout(Y.current)}},[d,g,W,u.data]);const fe=b.useMemo(()=>{if(!(E!=null&&E.canRunInBrowser))return[];const qe=[];for(const et of j)Em(et,d)||et.required&&(d[et.id]==null||d[et.id]==="")&&qe.push(et.label);return qe},[j,d,E]);function le(){if(E!=null&&E.canRunInBrowser){if(j.length>0&&fe.length>0){x(!0);return}y.current=d,_.mutate(d)}}const se=((Fe=(_e=c.data)==null?void 0:_e.steps.find(qe=>qe.number===n))==null?void 0:Fe.status)??"pending",ie=_.isPending||R.status==="running",Q=R.status==="done",I=((Bt=c.data)==null?void 0:Bt.totalSteps)??9,ee=n>=I,oe=E==null?void 0:E.canRunInBrowser,he=ie?E!=null&&E.readOnly?"Checking…":"Running…":Q&&C?ee?"Finish":"Continue":Q?ee?"Finish":"Continuing…":se==="done"&&W?"Save & re-run":E!=null&&E.readOnly?"Run checks":se==="done"?"Re-run":j.length===0?"Run":"Save & run";function Se(){if(Q){T.current&&clearTimeout(T.current),a(ee?"/summary":`/step/${n+1}`);return}le()}return B.jsxs("div",{className:e.root,children:[c.data&&B.jsx(aF,{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,se==="done"?e.stepBadgeDone:se==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:se==="done"?B.jsx(pn,{}):n}),B.jsxs("div",{className:e.headerText,children:[B.jsx(wp,{style:{margin:0},children:(E==null?void 0:E.title)||"Loading…"}),B.jsxs(Kt,{style:{color:P.colorNeutralForeground3},children:["Step ",n," of ",I,E!=null&&E.optional?" · optional":""]})]})]}),(E==null?void 0:E.description)&&B.jsx(fr,{style:{color:P.colorNeutralForeground2},children:E.description}),u.isLoading&&(n===8?B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[B.jsx(dn,{size:"small"}),B.jsx(Kt,{style:{color:P.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):B.jsx(dn,{size:"small"})),E&&!oe&&B.jsxs("div",{className:e.terminalNote,children:[B.jsx(g5,{className:e.terminalIcon}),B.jsx(fr,{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."})]}),oe&&j.length>0&&B.jsx("div",{className:e.questions,children:(()=>{const qe=(Zt,xr)=>h(Yt=>({...Yt,[Zt]:xr})),et=Zt=>Zt.kind==="group"?B.jsx(cF,{group:Zt.group,questions:Zt.questions,answers:d,onChange:qe,showError:m},Zt.group.id):B.jsx(sF,{question:Zt.question,answers:d,value:d[Zt.question.id],onChange:qe,showError:m},Zt.question.id);return B.jsxs(B.Fragment,{children:[M.map(et),O.length>0&&B.jsx(r5,{collapsible:!0,children:B.jsxs(i5,{value:"advanced",children:[B.jsx(T5,{children:"Advanced options"}),B.jsx(A5,{children:B.jsx("div",{className:e.questions,children:O.map(et)})})]})})]})})()}),_.isError&&B.jsx(Jo,{intent:"error",children:B.jsx(er,{children:_.error.message})}),R.status==="error"&&B.jsx(Jo,{intent:"error",children:B.jsx(er,{children:R.error||"Step failed — see output above."})}),((ft=R.deviceCode)==null?void 0:ft.code)&&R.status==="running"&&B.jsxs("div",{className:e.deviceCodeCard,children:[B.jsxs("div",{className:e.deviceCodeHeader,children:[B.jsx(Gy,{style:{color:P.colorBrandForeground1}}),B.jsx(fr,{children:"Sign in with a device code"})]}),B.jsx(Kt,{style:{color:P.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:R.deviceCode.code}),B.jsx(st,{appearance:"subtle",icon:B.jsx($E,{}),onClick:()=>navigator.clipboard.writeText(R.deviceCode.code),children:"Copy code"})]}),B.jsxs(st,{appearance:"primary",icon:B.jsx(Gy,{}),as:"a",href:R.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",R.deviceCode.url]})]}),Q&&B.jsxs("div",{className:e.successBanner,children:[B.jsx(pn,{className:e.successIcon}),B.jsxs("div",{className:e.successText,children:[B.jsx(fr,{style:{fontWeight:600},children:ee?"All steps complete!":C?"Step complete — review items above":"Step complete"}),B.jsx(Kt,{style:{color:P.colorNeutralForeground3},children:ee?"Heading to summary…":C?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),B.jsx(st,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(cn,{}),onClick:()=>{T.current&&clearTimeout(T.current),a(ee?"/summary":`/step/${n+1}`)},children:ee?"View summary":"Continue now"})]}),n===7&&ie&&B.jsx(Jo,{intent:"info",children:B.jsxs(er,{children:[B.jsx("strong",{children:"Scaffolding can take a few minutes."})," ","`pac code init` downloads templates, installs npm dependencies, and initializes the project. Please keep this browser tab open and stay on your network — closing the tab, sleeping the machine, or dropping VPN / Wi-Fi mid-run can interrupt the PAC CLI authentication and leave the scaffold in an incomplete state."]})}),oe&&(R.status==="running"||R.lines.length>0)&&B.jsx("div",{className:e.inlineLog,children:B.jsx(dF,{lines:R.lines,status:R.status})}),B.jsxs("div",{className:e.actions,children:[B.jsx(st,{appearance:"subtle",icon:B.jsx(aR,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),B.jsx("div",{className:e.spacer}),oe?B.jsx(st,{appearance:"primary",icon:ie?B.jsx(dn,{size:"tiny"}):Q?B.jsx(cn,{}):B.jsx(eR,{}),iconPosition:Q?"after":"before",onClick:Se,disabled:ie,children:he}):B.jsx(st,{appearance:"primary",iconPosition:"after",icon:B.jsx(cn,{}),onClick:()=>{a(ee?"/summary":`/step/${n+1}`)},children:ee?"Finish":"Next"})]})]})})})]})}const gF=or({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:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,boxShadow:P.shadow4,fontSize:P.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:P.colorBrandForeground1},title:{margin:0,background:po.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:P.colorNeutralForeground2,fontSize:P.fontSizeBase400,lineHeight:1.55,maxWidth:"620px"}});function GS({eyebrowIcon:e,eyebrow:o,title:n,subtitle:a}){const l=gF();return B.jsxs("div",{className:l.hero,children:[B.jsx(IS,{}),B.jsxs("div",{className:l.inner,children:[B.jsxs("div",{className:l.pill,children:[e,o]}),B.jsx("h1",{className:l.title,children:n}),a&&B.jsx(fr,{className:l.subtitle,children:a})]})]})}const WS=or({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:po.accentSoft,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,boxShadow:P.shadow8,display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},progressText:{flex:1,minWidth:"240px"},progressBar:{width:"100%",height:"6px",borderRadius:"999px",background:P.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},progressFill:{height:"100%",background:po.accent,transition:"width 280ms ease"},sectionLabel:{display:"block",color:P.colorBrandForeground1,fontSize:P.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:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,transition:"transform 220ms cubic-bezier(0.1,0.9,0.2,1), box-shadow 220ms",":hover":{transform:"translateY(-2px)",boxShadow:P.shadow8}},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:P.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:po.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:P.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},fieldLabel:{color:P.colorNeutralForeground3,fontWeight:500},fieldVal:{fontFamily:P.fontFamilyMonospace,color:P.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},fieldEmpty:{color:P.colorNeutralForeground4,fontStyle:"italic",fontFamily:P.fontFamilyBase},stepRow:{display:"flex",alignItems:"center",gap:"10px",paddingTop:"8px",paddingBottom:"8px"},stepIconDone:{color:P.colorPaletteGreenForeground1,fontSize:"18px"},stepIconCurrent:{color:P.colorBrandForeground1,fontSize:"12px"},stepIconPending:{color:P.colorNeutralForeground4,fontSize:"14px"},actions:{display:"flex",justifyContent:"center",gap:"12px",flexWrap:"wrap",marginTop:"8px"},ctaPrimary:{background:po.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:P.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:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,boxShadow:P.shadow8,display:"grid",gap:"14px"},launchTitle:{margin:0,color:P.colorNeutralForeground1,letterSpacing:"-0.01em"},launchUrl:{display:"block",padding:"12px 14px",borderRadius:"10px",textDecorationLine:"none",fontFamily:P.fontFamilyMonospace,background:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2,color:P.colorBrandForeground1,overflowWrap:"anywhere",":hover":{textDecorationLine:"underline"}},launchActions:{display:"flex",gap:"10px",flexWrap:"wrap"},launchBtn:{background:po.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:P.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function eo({label:e,value:o}){const n=WS(),a=!o||o.trim()==="";return B.jsxs("div",{className:n.field,children:[B.jsx(Kt,{className:n.fieldLabel,children:e}),B.jsx(Kt,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":o})]})}function pF(){var m,x,k,w,y,z,_,R,C;const e=WS(),o=Cm(),n=Nm(),a=((m=o.data)==null?void 0:m.state)??{},l=((x=o.data)==null?void 0:x.completed)??0,c=((k=o.data)==null?void 0:k.totalSteps)??9,u=((w=o.data)==null?void 0:w.next)??1,d=Math.round(l/Math.max(1,c)*100),h=l>=c,g=((z=(y=o.data)==null?void 0:y.powerApp)==null?void 0:z.launchUrl)||"",v=((R=(_=o.data)==null?void 0:_.powerApp)==null?void 0:R.targetEnv)||a.WIZARD_TARGET_ENV||"dev";return B.jsxs("div",{className:e.root,children:[B.jsx(GS,{eyebrowIcon:B.jsx(qi,{}),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($o,{style:{display:"block",color:P.colorBrandForeground1,marginBottom:"4px"},children:h?"Setup complete":"In progress"}),B.jsxs(Ii,{style:{margin:0},children:[l," of ",c," steps complete · ",d,"%"]}),B.jsx("div",{className:e.progressBar,"aria-hidden":!0,children:B.jsx("div",{className:e.progressFill,style:{width:`${d}%`}})})]}),!h&&B.jsx(ln,{to:`/step/${u}`,children:B.jsx(st,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(cn,{}),children:"Continue setup"})}),h&&g&&B.jsx(st,{className:e.ctaPrimary,size:"large",as:"a",href:g,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(cn,{}),children:"Open Power App"})]}),h&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Launch"}),B.jsx(Ii,{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:g?B.jsxs(B.Fragment,{children:[B.jsxs($o,{className:e.launchTitle,children:["Power Apps URL (",String(v).toUpperCase(),")"]}),B.jsx("a",{className:e.launchUrl,href:g,target:"_blank",rel:"noopener noreferrer",children:g}),B.jsx("div",{className:e.launchActions,children:B.jsx(st,{className:e.launchBtn,as:"a",href:g,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(cn,{}),children:"Launch App Now"})})]}):B.jsxs(B.Fragment,{children:[B.jsx($o,{className:e.launchTitle,children:"Power Apps URL not available yet"}),B.jsx(Kt,{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(Ii,{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(qi,{})}),B.jsx($o,{children:"Project"})]}),B.jsx(eo,{label:"App name",value:a.APP_NAME}),B.jsx(eo,{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(qi,{})}),B.jsx($o,{children:"Environments"})]}),B.jsx(eo,{label:"Dev",value:a.PP_ENV_DEV}),B.jsx(eo,{label:"Test",value:a.PP_ENV_TEST}),B.jsx(eo,{label:"Prod",value:a.PP_ENV_PROD}),B.jsx(eo,{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(qi,{})}),B.jsx($o,{children:"Identity"})]}),B.jsx(eo,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(eo,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(eo,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(eo,{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(qi,{})}),B.jsx($o,{children:"Publisher"})]}),B.jsx(eo,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),B.jsx(eo,{label:"Prefix",value:a.PUBLISHER_PREFIX}),B.jsx(eo,{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(qi,{})}),B.jsx($o,{children:"Solution"})]}),B.jsx(eo,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),B.jsx(eo,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),B.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&B.jsx(dn,{size:"small"}),(C=n.data)==null?void 0:C.steps.map(T=>B.jsxs("div",{className:e.stepRow,children:[T.status==="done"&&B.jsx(pn,{className:e.stepIconDone}),T.status==="current"&&B.jsx(tm,{className:e.stepIconCurrent}),T.status==="pending"&&B.jsx(om,{className:e.stepIconPending}),B.jsxs(fr,{style:{flex:1},children:[B.jsx("span",{style:{color:P.colorNeutralForeground3,marginRight:"8px"},children:String(T.number).padStart(2,"0")}),T.title]}),T.status==="done"&&B.jsx(dr,{appearance:"filled",color:"success",size:"small",children:"Done"}),T.status==="current"&&B.jsx(dr,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},T.number))]})]}),!o.data&&B.jsx(Jo,{intent:"info",children:B.jsx(er,{children:"Loading state…"})}),B.jsxs("div",{className:e.actions,children:[B.jsx(ln,{to:"/",children:B.jsx(st,{appearance:"subtle",icon:B.jsx(v5,{}),children:"Home"})}),!h&&B.jsx(ln,{to:`/step/${u}`,children:B.jsx(st,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(cn,{}),children:"Continue setup"})})]})]})]})}const XS=or({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:P.colorBrandForeground1,fontSize:P.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:P.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:P.colorNeutralStroke2,borderRightColor:P.colorNeutralStroke2,borderBottomColor:P.colorNeutralStroke2,borderLeftColor:P.colorNeutralStroke2},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:P.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:po.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:P.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},rowLabel:{color:P.colorNeutralForeground3,display:"flex",alignItems:"center",gap:"6px"},rowVal:{fontFamily:P.fontFamilyMonospace,color:P.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},rowValMissing:{color:P.colorPaletteRedForeground1,fontStyle:"italic",fontFamily:P.fontFamilyBase},pre:{margin:0,padding:"16px",background:P.colorNeutralBackground3,borderRadius:"10px",overflowX:"auto",fontFamily:P.fontFamilyMonospace,fontSize:P.fontSizeBase200,lineHeight:1.6,color:P.colorNeutralForeground1,maxHeight:"480px",overflowY:"auto"}});function Ea({icon:e,label:o,value:n,ok:a,neutral:l}){const c=XS(),u=!n,d=l?B.jsx(ld,{style:{color:P.colorBrandForeground1}}):a?B.jsx(pn,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(xR,{style:{color:P.colorPaletteRedForeground1}});return B.jsxs("div",{className:c.row,children:[B.jsxs(Kt,{className:c.rowLabel,children:[d,e,o]}),B.jsx(Kt,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function mF(){var l;const e=XS(),o=US(),n=Cm(),a=o.data;return B.jsxs("div",{className:e.root,children:[B.jsx(GS,{eyebrowIcon:B.jsx(tR,{}),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(dn,{size:"medium"}),a&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Environment"}),B.jsx(Ii,{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(h5,{})}),B.jsx($o,{children:"Host"})]}),B.jsx(Ea,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),B.jsx(Ea,{ok:!!a.node,label:"Node.js",value:a.node}),B.jsx(Ea,{ok:!!a.git,label:"Git",value:a.git}),B.jsx(Ea,{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(dR,{})}),B.jsx($o,{children:"Power Platform tooling"})]}),B.jsx(Ea,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),B.jsxs("div",{className:e.row,children:[B.jsxs(Kt,{className:e.rowLabel,children:[a.op?B.jsx(pn,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(ld,{style:{color:P.colorBrandForeground1}}),"1Password CLI"]}),B.jsx(dr,{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(cR,{})}),B.jsx($o,{children:"Repository"})]}),B.jsx(Ea,{neutral:!0,label:"Branch",value:a.branch}),B.jsxs("div",{className:e.row,children:[B.jsxs(Kt,{className:e.rowLabel,children:[a.repoIsClean?B.jsx(pn,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(ld,{style:{color:P.colorPaletteYellowForeground1}}),"Working tree"]}),B.jsx(dr,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),B.jsx(Ea,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Raw state"}),B.jsx(Ii,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),B.jsx(fr,{style:{color:P.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(((l=n.data)==null?void 0:l.state)??{},null,2)})]})]})]})}const vF=or({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:P.colorNeutralBackground1,color:P.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function bF(){const e=vF();return B.jsxs("div",{className:e.root,children:[B.jsx(YO,{}),B.jsx("div",{className:e.body,children:B.jsxs(N4,{children:[B.jsx(Pi,{path:"/",element:B.jsx(oF,{})}),B.jsx(Pi,{path:"/step/:n",element:B.jsx(hF,{})}),B.jsx(Pi,{path:"/summary",element:B.jsx(pF,{})}),B.jsx(Pi,{path:"/diagnostics",element:B.jsx(mF,{})}),B.jsx(Pi,{path:"*",element:B.jsx(z4,{to:"/",replace:!0})})]})})]})}const yF=new A_({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),xF=document.getElementById("root");NB.createRoot(xF).render(B.jsx(b.StrictMode,{children:B.jsx(D_,{client:yF,children:B.jsx(VO,{children:B.jsx(Y4,{children:B.jsx(bF,{})})})})}));