@pacaf/wizard-ux 3.2.1 → 3.2.2
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 rB=Object.defineProperty;var z1=e=>{throw TypeError(e)};var nB=(e,o,n)=>o in e?rB(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n;var H=(e,o,n)=>nB(e,typeof o!="symbol"?o+"":o,n),eg=(e,o,n)=>o.has(e)||z1("Cannot "+n);var D=(e,o,n)=>(eg(e,o,"read from private field"),n?n.call(e):o.get(e)),we=(e,o,n)=>o.has(e)?z1("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(e):o.set(e,n),ge=(e,o,n,a)=>(eg(e,o,"write to private field"),a?a.call(e,n):o.set(e,n),n),je=(e,o,n)=>(eg(e,o,"access private method"),n);var Su=(e,o,n,a)=>({set _(l){ge(e,o,l,n)},get _(){return D(e,o,a)}});function Gx(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 Wx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tg={exports:{}},ms={};/**
|
|
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 N1;function aB(){if(N1)return ms;N1=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 ms.Fragment=o,ms.jsx=n,ms.jsxs=n,ms}var T1;function iB(){return T1||(T1=1,tg.exports=aB()),tg.exports}var B=iB();const lB=Wx(B),sB=Gx({__proto__:null,default:lB},[B]);var og={exports:{}},Ne={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react.production.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var E1;function cB(){if(E1)return Ne;E1=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"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),w=Symbol.iterator;function k(F){return F===null||typeof F!="object"?null:(F=w&&F[w]||F["@@iterator"],typeof F=="function"?F:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,C={};function _(F,U,J){this.props=F,this.context=U,this.refs=C,this.updater=J||S}_.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 z(F,U,J){this.props=F,this.context=U,this.refs=C,this.updater=J||S}var T=z.prototype=new R;T.constructor=z,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,J){var ce=J.ref;return{$$typeof:e,type:F,key:U,ref:ce!==void 0?ce:null,props:J}}function ee(F,U){return W(F.type,U,F.props)}function de(F){return typeof F=="object"&&F!==null&&F.$$typeof===e}function ae(F){var U={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(J){return U[J]})}var le=/\/+/g;function ie(F,U){return typeof F=="object"&&F!==null&&F.key!=null?ae(""+F.key):U.toString(36)}function Z(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,J,ce,me){var Ce=typeof F;(Ce==="undefined"||Ce==="boolean")&&(F=null);var Fe=!1;if(F===null)Fe=!0;else switch(Ce){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,J,ce,me)}}if(Fe)return me=me(F),Fe=ce===""?"."+ie(F,0):ce,E(me)?(J="",Fe!=null&&(J=Fe.replace(le,"$&/")+"/"),I(me,U,J,"",function(Ue){return Ue})):me!=null&&(de(me)&&(me=ee(me,J+(me.key==null||F&&F.key===me.key?"":(""+me.key).replace(le,"$&/")+"/")+Fe)),U.push(me)),1;Fe=0;var kt=ce===""?".":ce+":";if(E(F))for(var xe=0;xe<F.length;xe++)ce=F[xe],Ce=kt+ie(ce,xe),Fe+=I(ce,U,J,Ce,me);else if(xe=k(F),typeof xe=="function")for(F=xe.call(F),xe=0;!(ce=F.next()).done;)ce=ce.value,Ce=kt+ie(ce,xe++),Fe+=I(ce,U,J,Ce,me);else if(Ce==="object"){if(typeof F.then=="function")return I(Z(F),U,J,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 oe(F,U,J){if(F==null)return F;var ce=[],me=0;return I(F,ce,"","",function(Ce){return U.call(J,Ce,me++)}),ce}function re(F){if(F._status===-1){var U=F._result;U=U(),U.then(function(J){(F._status===0||F._status===-1)&&(F._status=1,F._result=J)},function(J){(F._status===0||F._status===-1)&&(F._status=2,F._result=J)}),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)},ke={map:oe,forEach:function(F,U,J){oe(F,function(){U.apply(this,arguments)},J)},count:function(F){var U=0;return oe(F,function(){U++}),U},toArray:function(F){return oe(F,function(U){return U})||[]},only:function(F){if(!de(F))throw Error("React.Children.only expected to receive a single React element child.");return F}};return Ne.Activity=m,Ne.Children=ke,Ne.Component=_,Ne.Fragment=n,Ne.Profiler=l,Ne.PureComponent=z,Ne.StrictMode=a,Ne.Suspense=h,Ne.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,Ne.__COMPILER_RUNTIME={__proto__:null,c:function(F){return M.H.useMemoCache(F)}},Ne.cache=function(F){return function(){return F.apply(null,arguments)}},Ne.cacheSignal=function(){return null},Ne.cloneElement=function(F,U,J){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(Ce in U.key!==void 0&&(me=""+U.key),U)!O.call(U,Ce)||Ce==="key"||Ce==="__self"||Ce==="__source"||Ce==="ref"&&U.ref===void 0||(ce[Ce]=U[Ce]);var Ce=arguments.length-2;if(Ce===1)ce.children=J;else if(1<Ce){for(var Fe=Array(Ce),kt=0;kt<Ce;kt++)Fe[kt]=arguments[kt+2];ce.children=Fe}return W(F.type,me,ce)},Ne.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},Ne.createElement=function(F,U,J){var ce,me={},Ce=null;if(U!=null)for(ce in U.key!==void 0&&(Ce=""+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=J;else if(1<Fe){for(var kt=Array(Fe),xe=0;xe<Fe;xe++)kt[xe]=arguments[xe+2];me.children=kt}if(F&&F.defaultProps)for(ce in Fe=F.defaultProps,Fe)me[ce]===void 0&&(me[ce]=Fe[ce]);return W(F,Ce,me)},Ne.createRef=function(){return{current:null}},Ne.forwardRef=function(F){return{$$typeof:d,render:F}},Ne.isValidElement=de,Ne.lazy=function(F){return{$$typeof:v,_payload:{_status:-1,_result:F},_init:re}},Ne.memo=function(F,U){return{$$typeof:p,type:F,compare:U===void 0?null:U}},Ne.startTransition=function(F){var U=M.T,J={};M.T=J;try{var ce=F(),me=M.S;me!==null&&me(J,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(j,he)}catch(Ce){he(Ce)}finally{U!==null&&J.types!==null&&(U.types=J.types),M.T=U}},Ne.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},Ne.use=function(F){return M.H.use(F)},Ne.useActionState=function(F,U,J){return M.H.useActionState(F,U,J)},Ne.useCallback=function(F,U){return M.H.useCallback(F,U)},Ne.useContext=function(F){return M.H.useContext(F)},Ne.useDebugValue=function(){},Ne.useDeferredValue=function(F,U){return M.H.useDeferredValue(F,U)},Ne.useEffect=function(F,U){return M.H.useEffect(F,U)},Ne.useEffectEvent=function(F){return M.H.useEffectEvent(F)},Ne.useId=function(){return M.H.useId()},Ne.useImperativeHandle=function(F,U,J){return M.H.useImperativeHandle(F,U,J)},Ne.useInsertionEffect=function(F,U){return M.H.useInsertionEffect(F,U)},Ne.useLayoutEffect=function(F,U){return M.H.useLayoutEffect(F,U)},Ne.useMemo=function(F,U){return M.H.useMemo(F,U)},Ne.useOptimistic=function(F,U){return M.H.useOptimistic(F,U)},Ne.useReducer=function(F,U,J){return M.H.useReducer(F,U,J)},Ne.useRef=function(F){return M.H.useRef(F)},Ne.useState=function(F){return M.H.useState(F)},Ne.useSyncExternalStore=function(F,U,J){return M.H.useSyncExternalStore(F,U,J)},Ne.useTransition=function(){return M.H.useTransition()},Ne.version="19.2.6",Ne}var R1;function cd(){return R1||(R1=1,og.exports=cB()),og.exports}var b=cd();const Ag=Wx(b),Gu=Gx({__proto__:null,default:Ag},[b]);var rg={exports:{}},vs={},ng={exports:{}},ag={};/**
|
|
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 j1;function uB(){return j1||(j1=1,(function(e){function o(I,oe){var re=I.length;I.push(oe);e:for(;0<re;){var he=re-1>>>1,ke=I[he];if(0<l(ke,oe))I[he]=oe,I[re]=ke,re=he;else break e}}function n(I){return I.length===0?null:I[0]}function a(I){if(I.length===0)return null;var oe=I[0],re=I.pop();if(re!==oe){I[0]=re;e:for(var he=0,ke=I.length,F=ke>>>1;he<F;){var U=2*(he+1)-1,J=I[U],ce=U+1,me=I[ce];if(0>l(J,re))ce<ke&&0>l(me,J)?(I[he]=me,I[ce]=re,he=ce):(I[he]=J,I[U]=re,he=U);else if(ce<ke&&0>l(me,re))I[he]=me,I[ce]=re,he=ce;else break e}}return oe}function l(I,oe){var re=I.sortIndex-oe.sortIndex;return re!==0?re:I.id-oe.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=[],p=[],v=1,m=null,w=3,k=!1,S=!1,y=!1,C=!1,_=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;function T(I){for(var oe=n(p);oe!==null;){if(oe.callback===null)a(p);else if(oe.startTime<=I)a(p),oe.sortIndex=oe.expirationTime,o(h,oe);else break;oe=n(p)}}function E(I){if(y=!1,T(I),!S)if(n(h)!==null)S=!0,j||(j=!0,ae());else{var oe=n(p);oe!==null&&Z(E,oe.startTime-I)}}var j=!1,M=-1,O=5,W=-1;function ee(){return C?!0:!(e.unstable_now()-W<O)}function de(){if(C=!1,j){var I=e.unstable_now();W=I;var oe=!0;try{e:{S=!1,y&&(y=!1,R(M),M=-1),k=!0;var re=w;try{t:{for(T(I),m=n(h);m!==null&&!(m.expirationTime>I&&ee());){var he=m.callback;if(typeof he=="function"){m.callback=null,w=m.priorityLevel;var ke=he(m.expirationTime<=I);if(I=e.unstable_now(),typeof ke=="function"){m.callback=ke,T(I),oe=!0;break t}m===n(h)&&a(h),T(I)}else a(h);m=n(h)}if(m!==null)oe=!0;else{var F=n(p);F!==null&&Z(E,F.startTime-I),oe=!1}}break e}finally{m=null,w=re,k=!1}oe=void 0}}finally{oe?ae():j=!1}}}var ae;if(typeof z=="function")ae=function(){z(de)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,ie=le.port2;le.port1.onmessage=de,ae=function(){ie.postMessage(null)}}else ae=function(){_(de,0)};function Z(I,oe){M=_(function(){I(e.unstable_now())},oe)}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 w},e.unstable_next=function(I){switch(w){case 1:case 2:case 3:var oe=3;break;default:oe=w}var re=w;w=oe;try{return I()}finally{w=re}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(I,oe){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var re=w;w=I;try{return oe()}finally{w=re}},e.unstable_scheduleCallback=function(I,oe,re){var he=e.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?he+re:he):re=he,I){case 1:var ke=-1;break;case 2:ke=250;break;case 5:ke=1073741823;break;case 4:ke=1e4;break;default:ke=5e3}return ke=re+ke,I={id:v++,callback:oe,priorityLevel:I,startTime:re,expirationTime:ke,sortIndex:-1},re>he?(I.sortIndex=re,o(p,I),n(h)===null&&I===n(p)&&(y?(R(M),M=-1):y=!0,Z(E,re-he))):(I.sortIndex=ke,o(h,I),S||k||(S=!0,j||(j=!0,ae()))),I},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(I){var oe=w;return function(){var re=w;w=oe;try{return I.apply(this,arguments)}finally{w=re}}}})(ag)),ag}var A1;function Xx(){return A1||(A1=1,ng.exports=uB()),ng.exports}var ig={exports:{}},Vt={};/**
|
|
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 D1;function dB(){if(D1)return Vt;D1=1;var e=cd();function o(h){var p="https://react.dev/errors/"+h;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)p+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+h+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var a={d:{f:n,r:function(){throw Error(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,p,v){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:m==null?null:""+m,children:h,containerInfo:p,implementation:v}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(h,p){if(h==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Vt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Vt.createPortal=function(h,p){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(o(299));return c(h,p,null,v)},Vt.flushSync=function(h){var p=u.T,v=a.p;try{if(u.T=null,a.p=2,h)return h()}finally{u.T=p,a.p=v,a.d.f()}},Vt.preconnect=function(h,p){typeof h=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,a.d.C(h,p))},Vt.prefetchDNS=function(h){typeof h=="string"&&a.d.D(h)},Vt.preinit=function(h,p){if(typeof h=="string"&&p&&typeof p.as=="string"){var v=p.as,m=d(v,p.crossOrigin),w=typeof p.integrity=="string"?p.integrity:void 0,k=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?a.d.S(h,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:m,integrity:w,fetchPriority:k}):v==="script"&&a.d.X(h,{crossOrigin:m,integrity:w,fetchPriority:k,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Vt.preinitModule=function(h,p){if(typeof h=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=d(p.as,p.crossOrigin);a.d.M(h,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&a.d.M(h)},Vt.preload=function(h,p){if(typeof h=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,m=d(v,p.crossOrigin);a.d.L(h,v,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Vt.preloadModule=function(h,p){if(typeof h=="string")if(p){var v=d(p.as,p.crossOrigin);a.d.m(h,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else a.d.m(h)},Vt.requestFormReset=function(h){a.d.r(h)},Vt.unstable_batchedUpdates=function(h,p){return h(p)},Vt.useFormState=function(h,p,v){return u.H.useFormState(h,p,v)},Vt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Vt.version="19.2.6",Vt}var M1;function $x(){if(M1)return ig.exports;M1=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(),ig.exports=dB(),ig.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 O1;function fB(){if(O1)return vs;O1=1;var e=Xx(),o=cd(),n=$x();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 p(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 g=f.alternate;if(g===null){if(s=f.return,s!==null){i=s;continue}break}if(f.child===g.child){for(g=f.child;g;){if(g===i)return h(f),t;if(g===s)return h(f),r;g=g.sibling}throw Error(a(188))}if(i.return!==s.return)i=f,s=g;else{for(var x=!1,N=f.child;N;){if(N===i){x=!0,i=f,s=g;break}if(N===s){x=!0,s=f,i=g;break}N=N.sibling}if(!x){for(N=g.child;N;){if(N===i){x=!0,i=g,s=f;break}if(N===s){x=!0,s=g,i=f;break}N=N.sibling}if(!x)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,w=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),z=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"),ee=Symbol.for("react.memo_cache_sentinel"),de=Symbol.iterator;function ae(t){return t===null||typeof t!="object"?null:(t=de&&t[de]||t["@@iterator"],typeof t=="function"?t:null)}var le=Symbol.for("react.client.reference");function ie(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===le?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case y:return"Fragment";case _:return"Profiler";case C:return"StrictMode";case E:return"Suspense";case j:return"SuspenseList";case W:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case S:return"Portal";case z: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 Z=Array.isArray,I=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},he=[],ke=-1;function F(t){return{current:t}}function U(t){0>ke||(t.current=he[ke],he[ke]=null,ke--)}function J(t,r){ke++,he[ke]=t.current,t.current=r}var ce=F(null),me=F(null),Ce=F(null),Fe=F(null);function kt(t,r){switch(J(Ce,r),J(me,t),J(ce,null),r.nodeType){case 9:case 11:t=(t=r.documentElement)&&(t=t.namespaceURI)?Qb(t):0;break;default:if(t=r.tagName,r=r.namespaceURI)r=Qb(r),t=Zb(r,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}U(ce),J(ce,t)}function xe(){U(ce),U(me),U(Ce)}function Ue(t){t.memoizedState!==null&&J(Fe,t);var r=ce.current,i=Zb(r,t.type);r!==i&&(J(me,t),J(ce,i))}function jo(t){me.current===t&&(U(ce),U(me)),Fe.current===t&&(U(Fe),fs._currentValue=re)}var kl,nc;function na(t){if(kl===void 0)try{throw Error()}catch(i){var r=i.stack.trim().match(/\n( *(at )?)/);kl=r&&r[1]||"",nc=-1<i.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+kl+t+nc}var Od=!1;function Fd(t,r){if(!t||Od)return"";Od=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(r){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(K){var X=K}Reflect.construct(t,[],te)}else{try{te.call()}catch(K){X=K}t.call(te.prototype)}}else{try{throw Error()}catch(K){X=K}(te=t())&&typeof te.catch=="function"&&te.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 g=s.DetermineComponentFrameRoot(),x=g[0],N=g[1];if(x&&N){var A=x.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 Q=`
|
|
46
|
-
`+A[s].replace(" at new "," at ");return t.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",t.displayName)),Q}while(1<=s&&0<=f);break}}}finally{Od=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?na(i):""}function D5(t,r){switch(t.tag){case 26:case 27:case 5:return na(t.type);case 16:return na("Lazy");case 13:return t.child!==r&&r!==null?na("Suspense Fallback"):na("Suspense");case 19:return na("SuspenseList");case 0:case 15:return Fd(t.type,!1);case 11:return Fd(t.type.render,!1);case 1:return Fd(t.type,!0);case 31:return na("Activity");default:return""}}function zm(t){try{var r="",i=null;do r+=D5(t,i),i=t,t=t.return;while(t);return r}catch(s){return`
|
|
47
|
-
Error generating stack: `+s.message+`
|
|
48
|
-
`+s.stack}}var qd=Object.prototype.hasOwnProperty,Hd=e.unstable_scheduleCallback,Pd=e.unstable_cancelCallback,M5=e.unstable_shouldYield,O5=e.unstable_requestPaint,go=e.unstable_now,F5=e.unstable_getCurrentPriorityLevel,Nm=e.unstable_ImmediatePriority,Tm=e.unstable_UserBlockingPriority,ac=e.unstable_NormalPriority,q5=e.unstable_LowPriority,Em=e.unstable_IdlePriority,H5=e.log,P5=e.unstable_setDisableYieldValue,Bl=null,po=null;function mn(t){if(typeof H5=="function"&&P5(t),po&&typeof po.setStrictMode=="function")try{po.setStrictMode(Bl,t)}catch{}}var mo=Math.clz32?Math.clz32:U5,L5=Math.log,I5=Math.LN2;function U5(t){return t>>>=0,t===0?32:31-(L5(t)/I5|0)|0}var ic=256,lc=262144,sc=4194304;function aa(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 cc(t,r,i){var s=t.pendingLanes;if(s===0)return 0;var f=0,g=t.suspendedLanes,x=t.pingedLanes;t=t.warmLanes;var N=s&134217727;return N!==0?(s=N&~g,s!==0?f=aa(s):(x&=N,x!==0?f=aa(x):i||(i=N&~t,i!==0&&(f=aa(i))))):(N=s&~g,N!==0?f=aa(N):x!==0?f=aa(x):i||(i=s&~t,i!==0&&(f=aa(i)))),f===0?0:r!==0&&r!==f&&(r&g)===0&&(g=f&-f,i=r&-r,g>=i||g===32&&(i&4194048)!==0)?r:f}function _l(t,r){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&r)===0}function V5(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 Rm(){var t=sc;return sc<<=1,(sc&62914560)===0&&(sc=4194304),t}function Ld(t){for(var r=[],i=0;31>i;i++)r.push(t);return r}function Cl(t,r){t.pendingLanes|=r,r!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function G5(t,r,i,s,f,g){var x=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=x&~i;0<i;){var Q=31-mo(i),te=1<<Q;N[Q]=0,A[Q]=-1;var X=G[Q];if(X!==null)for(G[Q]=null,Q=0;Q<X.length;Q++){var K=X[Q];K!==null&&(K.lane&=-536870913)}i&=~te}s!==0&&jm(t,s,0),g!==0&&f===0&&t.tag!==0&&(t.suspendedLanes|=g&~(x&~r))}function jm(t,r,i){t.pendingLanes|=r,t.suspendedLanes&=~r;var s=31-mo(r);t.entangledLanes|=r,t.entanglements[s]=t.entanglements[s]|1073741824|i&261930}function Am(t,r){var i=t.entangledLanes|=r;for(t=t.entanglements;i;){var s=31-mo(i),f=1<<s;f&r|t[s]&r&&(t[s]|=r),i&=~f}}function Dm(t,r){var i=r&-r;return i=(i&42)!==0?1:Id(i),(i&(t.suspendedLanes|r))!==0?0:i}function Id(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 Ud(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Mm(){var t=oe.p;return t!==0?t:(t=window.event,t===void 0?32:x1(t.type))}function Om(t,r){var i=oe.p;try{return oe.p=t,r()}finally{oe.p=i}}var vn=Math.random().toString(36).slice(2),qt="__reactFiber$"+vn,to="__reactProps$"+vn,Ga="__reactContainer$"+vn,Vd="__reactEvents$"+vn,W5="__reactListeners$"+vn,X5="__reactHandles$"+vn,Fm="__reactResources$"+vn,zl="__reactMarker$"+vn;function Gd(t){delete t[qt],delete t[to],delete t[Vd],delete t[W5],delete t[X5]}function Wa(t){var r=t[qt];if(r)return r;for(var i=t.parentNode;i;){if(r=i[Ga]||i[qt]){if(i=r.alternate,r.child!==null||i!==null&&i.child!==null)for(t=n1(t);t!==null;){if(i=t[qt])return i;t=n1(t)}return r}t=i,i=t.parentNode}return null}function Xa(t){if(t=t[qt]||t[Ga]){var r=t.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return t}return null}function Nl(t){var r=t.tag;if(r===5||r===26||r===27||r===6)return t.stateNode;throw Error(a(33))}function $a(t){var r=t[Fm];return r||(r=t[Fm]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Dt(t){t[zl]=!0}var qm=new Set,Hm={};function ia(t,r){Ka(t,r),Ka(t+"Capture",r)}function Ka(t,r){for(Hm[t]=r,t=0;t<r.length;t++)qm.add(r[t])}var $5=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]*$"),Pm={},Lm={};function K5(t){return qd.call(Lm,t)?!0:qd.call(Pm,t)?!1:$5.test(t)?Lm[t]=!0:(Pm[t]=!0,!1)}function uc(t,r,i){if(K5(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 dc(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 jr(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 Ao(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Im(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Q5(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,g=s.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return f.call(this)},set:function(x){i=""+x,g.call(this,x)}}),Object.defineProperty(t,r,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(x){i=""+x},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function Wd(t){if(!t._valueTracker){var r=Im(t)?"checked":"value";t._valueTracker=Q5(t,r,""+t[r])}}function Um(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var i=r.getValue(),s="";return t&&(s=Im(t)?t.checked?"true":"false":t.value),t=s,t!==i?(r.setValue(t),!0):!1}function fc(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 Z5=/[\n"\\]/g;function Do(t){return t.replace(Z5,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Xd(t,r,i,s,f,g,x,N){t.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?t.type=x:t.removeAttribute("type"),r!=null?x==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+Ao(r)):t.value!==""+Ao(r)&&(t.value=""+Ao(r)):x!=="submit"&&x!=="reset"||t.removeAttribute("value"),r!=null?$d(t,x,Ao(r)):i!=null?$d(t,x,Ao(i)):s!=null&&t.removeAttribute("value"),f==null&&g!=null&&(t.defaultChecked=!!g),f!=null&&(t.checked=f&&typeof f!="function"&&typeof f!="symbol"),N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?t.name=""+Ao(N):t.removeAttribute("name")}function Vm(t,r,i,s,f,g,x,N){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(t.type=g),r!=null||i!=null){if(!(g!=="submit"&&g!=="reset"||r!=null)){Wd(t);return}i=i!=null?""+Ao(i):"",r=r!=null?""+Ao(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,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(t.name=x),Wd(t)}function $d(t,r,i){r==="number"&&fc(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function Qa(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=""+Ao(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 Gm(t,r,i){if(r!=null&&(r=""+Ao(r),r!==t.value&&(t.value=r),i==null)){t.defaultValue!==r&&(t.defaultValue=r);return}t.defaultValue=i!=null?""+Ao(i):""}function Wm(t,r,i,s){if(r==null){if(s!=null){if(i!=null)throw Error(a(92));if(Z(s)){if(1<s.length)throw Error(a(93));s=s[0]}i=s}i==null&&(i=""),r=i}i=Ao(r),t.defaultValue=i,s=t.textContent,s===i&&s!==""&&s!==null&&(t.value=s),Wd(t)}function Za(t,r){if(r){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=r;return}}t.textContent=r}var Y5=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 Xm(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||Y5.has(r)?r==="float"?t.cssFloat=i:t[r]=(""+i).trim():t[r]=i+"px"}function $m(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&&Xm(t,f,s)}else for(var g in r)r.hasOwnProperty(g)&&Xm(t,g,r[g])}function Kd(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 J5=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"]]),ek=/^[\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 hc(t){return ek.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Ar(){}var Qd=null;function Zd(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ya=null,Ja=null;function Km(t){var r=Xa(t);if(r&&(t=r.stateNode)){var i=t[to]||null;e:switch(t=r.stateNode,r.type){case"input":if(Xd(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="'+Do(""+r)+'"][type="radio"]'),r=0;r<i.length;r++){var s=i[r];if(s!==t&&s.form===t.form){var f=s[to]||null;if(!f)throw Error(a(90));Xd(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&&Um(s)}break e;case"textarea":Gm(t,i.value,i.defaultValue);break e;case"select":r=i.value,r!=null&&Qa(t,!!i.multiple,r,!1)}}}var Yd=!1;function Qm(t,r,i){if(Yd)return t(r,i);Yd=!0;try{var s=t(r);return s}finally{if(Yd=!1,(Ya!==null||Ja!==null)&&(eu(),Ya&&(r=Ya,t=Ja,Ja=Ya=null,Km(r),t)))for(r=0;r<t.length;r++)Km(t[r])}}function Tl(t,r){var i=t.stateNode;if(i===null)return null;var s=i[to]||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 Dr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jd=!1;if(Dr)try{var El={};Object.defineProperty(El,"passive",{get:function(){Jd=!0}}),window.addEventListener("test",El,El),window.removeEventListener("test",El,El)}catch{Jd=!1}var bn=null,ef=null,gc=null;function Zm(){if(gc)return gc;var t,r=ef,i=r.length,s,f="value"in bn?bn.value:bn.textContent,g=f.length;for(t=0;t<i&&r[t]===f[t];t++);var x=i-t;for(s=1;s<=x&&r[i-s]===f[g-s];s++);return gc=f.slice(t,1<s?1-s:void 0)}function pc(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 mc(){return!0}function Ym(){return!1}function oo(t){function r(i,s,f,g,x){this._reactName=i,this._targetInst=f,this.type=s,this.nativeEvent=g,this.target=x,this.currentTarget=null;for(var N in t)t.hasOwnProperty(N)&&(i=t[N],this[N]=i?i(g):g[N]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?mc:Ym,this.isPropagationStopped=Ym,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=mc)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=mc)},persist:function(){},isPersistent:mc}),r}var la={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vc=oo(la),Rl=m({},la,{view:0,detail:0}),tk=oo(Rl),tf,of,jl,bc=m({},Rl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nf,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!==jl&&(jl&&t.type==="mousemove"?(tf=t.screenX-jl.screenX,of=t.screenY-jl.screenY):of=tf=0,jl=t),tf)},movementY:function(t){return"movementY"in t?t.movementY:of}}),Jm=oo(bc),ok=m({},bc,{dataTransfer:0}),rk=oo(ok),nk=m({},Rl,{relatedTarget:0}),rf=oo(nk),ak=m({},la,{animationName:0,elapsedTime:0,pseudoElement:0}),ik=oo(ak),lk=m({},la,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),sk=oo(lk),ck=m({},la,{data:0}),e0=oo(ck),uk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dk={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"},fk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hk(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=fk[t])?!!r[t]:!1}function nf(){return hk}var gk=m({},Rl,{key:function(t){if(t.key){var r=uk[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=pc(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?dk[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nf,charCode:function(t){return t.type==="keypress"?pc(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?pc(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),pk=oo(gk),mk=m({},bc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),t0=oo(mk),vk=m({},Rl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nf}),bk=oo(vk),yk=m({},la,{propertyName:0,elapsedTime:0,pseudoElement:0}),xk=oo(yk),wk=m({},bc,{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}),Sk=oo(wk),kk=m({},la,{newState:0,oldState:0}),Bk=oo(kk),_k=[9,13,27,32],af=Dr&&"CompositionEvent"in window,Al=null;Dr&&"documentMode"in document&&(Al=document.documentMode);var Ck=Dr&&"TextEvent"in window&&!Al,o0=Dr&&(!af||Al&&8<Al&&11>=Al),r0=" ",n0=!1;function a0(t,r){switch(t){case"keyup":return _k.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function i0(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ei=!1;function zk(t,r){switch(t){case"compositionend":return i0(r);case"keypress":return r.which!==32?null:(n0=!0,r0);case"textInput":return t=r.data,t===r0&&n0?null:t;default:return null}}function Nk(t,r){if(ei)return t==="compositionend"||!af&&a0(t,r)?(t=Zm(),gc=ef=bn=null,ei=!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 o0&&r.locale!=="ko"?null:r.data;default:return null}}var Tk={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 l0(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!Tk[t.type]:r==="textarea"}function s0(t,r,i,s){Ya?Ja?Ja.push(s):Ja=[s]:Ya=s,r=lu(r,"onChange"),0<r.length&&(i=new vc("onChange","change",null,i,s),t.push({event:i,listeners:r}))}var Dl=null,Ml=null;function Ek(t){Vb(t,0)}function yc(t){var r=Nl(t);if(Um(r))return t}function c0(t,r){if(t==="change")return r}var u0=!1;if(Dr){var lf;if(Dr){var sf="oninput"in document;if(!sf){var d0=document.createElement("div");d0.setAttribute("oninput","return;"),sf=typeof d0.oninput=="function"}lf=sf}else lf=!1;u0=lf&&(!document.documentMode||9<document.documentMode)}function f0(){Dl&&(Dl.detachEvent("onpropertychange",h0),Ml=Dl=null)}function h0(t){if(t.propertyName==="value"&&yc(Ml)){var r=[];s0(r,Ml,t,Zd(t)),Qm(Ek,r)}}function Rk(t,r,i){t==="focusin"?(f0(),Dl=r,Ml=i,Dl.attachEvent("onpropertychange",h0)):t==="focusout"&&f0()}function jk(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return yc(Ml)}function Ak(t,r){if(t==="click")return yc(r)}function Dk(t,r){if(t==="input"||t==="change")return yc(r)}function Mk(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var vo=typeof Object.is=="function"?Object.is:Mk;function Ol(t,r){if(vo(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(!qd.call(r,f)||!vo(t[f],r[f]))return!1}return!0}function g0(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function p0(t,r){var i=g0(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=g0(i)}}function m0(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?m0(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function v0(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var r=fc(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=fc(t.document)}return r}function cf(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 Ok=Dr&&"documentMode"in document&&11>=document.documentMode,ti=null,uf=null,Fl=null,df=!1;function b0(t,r,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;df||ti==null||ti!==fc(s)||(s=ti,"selectionStart"in s&&cf(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}),Fl&&Ol(Fl,s)||(Fl=s,s=lu(uf,"onSelect"),0<s.length&&(r=new vc("onSelect","select",null,r,i),t.push({event:r,listeners:s}),r.target=ti)))}function sa(t,r){var i={};return i[t.toLowerCase()]=r.toLowerCase(),i["Webkit"+t]="webkit"+r,i["Moz"+t]="moz"+r,i}var oi={animationend:sa("Animation","AnimationEnd"),animationiteration:sa("Animation","AnimationIteration"),animationstart:sa("Animation","AnimationStart"),transitionrun:sa("Transition","TransitionRun"),transitionstart:sa("Transition","TransitionStart"),transitioncancel:sa("Transition","TransitionCancel"),transitionend:sa("Transition","TransitionEnd")},ff={},y0={};Dr&&(y0=document.createElement("div").style,"AnimationEvent"in window||(delete oi.animationend.animation,delete oi.animationiteration.animation,delete oi.animationstart.animation),"TransitionEvent"in window||delete oi.transitionend.transition);function ca(t){if(ff[t])return ff[t];if(!oi[t])return t;var r=oi[t],i;for(i in r)if(r.hasOwnProperty(i)&&i in y0)return ff[t]=r[i];return t}var x0=ca("animationend"),w0=ca("animationiteration"),S0=ca("animationstart"),Fk=ca("transitionrun"),qk=ca("transitionstart"),Hk=ca("transitioncancel"),k0=ca("transitionend"),B0=new Map,hf="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(" ");hf.push("scrollEnd");function tr(t,r){B0.set(t,r),ia(r,[t])}var xc=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)},Mo=[],ri=0,gf=0;function wc(){for(var t=ri,r=gf=ri=0;r<t;){var i=Mo[r];Mo[r++]=null;var s=Mo[r];Mo[r++]=null;var f=Mo[r];Mo[r++]=null;var g=Mo[r];if(Mo[r++]=null,s!==null&&f!==null){var x=s.pending;x===null?f.next=f:(f.next=x.next,x.next=f),s.pending=f}g!==0&&_0(i,f,g)}}function Sc(t,r,i,s){Mo[ri++]=t,Mo[ri++]=r,Mo[ri++]=i,Mo[ri++]=s,gf|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function pf(t,r,i,s){return Sc(t,r,i,s),kc(t)}function ua(t,r){return Sc(t,null,null,r),kc(t)}function _0(t,r,i){t.lanes|=i;var s=t.alternate;s!==null&&(s.lanes|=i);for(var f=!1,g=t.return;g!==null;)g.childLanes|=i,s=g.alternate,s!==null&&(s.childLanes|=i),g.tag===22&&(t=g.stateNode,t===null||t._visibility&1||(f=!0)),t=g,g=g.return;return t.tag===3?(g=t.stateNode,f&&r!==null&&(f=31-mo(i),t=g.hiddenUpdates,s=t[f],s===null?t[f]=[r]:s.push(r),r.lane=i|536870912),g):null}function kc(t){if(50<as)throw as=0,Bh=null,Error(a(185));for(var r=t.return;r!==null;)t=r,r=t.return;return t.tag===3?t.stateNode:null}var ni={};function Pk(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 bo(t,r,i,s){return new Pk(t,r,i,s)}function mf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Mr(t,r){var i=t.alternate;return i===null?(i=bo(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 C0(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 Bc(t,r,i,s,f,g){var x=0;if(s=t,typeof t=="function")mf(t)&&(x=1);else if(typeof t=="string")x=G3(t,i,ce.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case W:return t=bo(31,i,r,f),t.elementType=W,t.lanes=g,t;case y:return da(i.children,f,g,r);case C:x=8,f|=24;break;case _:return t=bo(12,i,r,f|2),t.elementType=_,t.lanes=g,t;case E:return t=bo(13,i,r,f),t.elementType=E,t.lanes=g,t;case j:return t=bo(19,i,r,f),t.elementType=j,t.lanes=g,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case z:x=10;break e;case R:x=9;break e;case T:x=11;break e;case M:x=14;break e;case O:x=16,s=null;break e}x=29,i=Error(a(130,t===null?"null":typeof t,"")),s=null}return r=bo(x,i,r,f),r.elementType=t,r.type=s,r.lanes=g,r}function da(t,r,i,s){return t=bo(7,t,s,r),t.lanes=i,t}function vf(t,r,i){return t=bo(6,t,null,r),t.lanes=i,t}function z0(t){var r=bo(18,null,null,0);return r.stateNode=t,r}function bf(t,r,i){return r=bo(4,t.children!==null?t.children:[],t.key,r),r.lanes=i,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}var N0=new WeakMap;function Oo(t,r){if(typeof t=="object"&&t!==null){var i=N0.get(t);return i!==void 0?i:(r={value:t,source:r,stack:zm(r)},N0.set(t,r),r)}return{value:t,source:r,stack:zm(r)}}var ai=[],ii=0,_c=null,ql=0,Fo=[],qo=0,yn=null,br=1,yr="";function Or(t,r){ai[ii++]=ql,ai[ii++]=_c,_c=t,ql=r}function T0(t,r,i){Fo[qo++]=br,Fo[qo++]=yr,Fo[qo++]=yn,yn=t;var s=br;t=yr;var f=32-mo(s)-1;s&=~(1<<f),i+=1;var g=32-mo(r)+f;if(30<g){var x=f-f%5;g=(s&(1<<x)-1).toString(32),s>>=x,f-=x,br=1<<32-mo(r)+f|i<<f|s,yr=g+t}else br=1<<g|i<<f|s,yr=t}function yf(t){t.return!==null&&(Or(t,1),T0(t,1,0))}function xf(t){for(;t===_c;)_c=ai[--ii],ai[ii]=null,ql=ai[--ii],ai[ii]=null;for(;t===yn;)yn=Fo[--qo],Fo[qo]=null,yr=Fo[--qo],Fo[qo]=null,br=Fo[--qo],Fo[qo]=null}function E0(t,r){Fo[qo++]=br,Fo[qo++]=yr,Fo[qo++]=yn,br=r.id,yr=r.overflow,yn=t}var Ht=null,ct=null,Le=!1,xn=null,Ho=!1,wf=Error(a(519));function wn(t){var r=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Hl(Oo(r,t)),wf}function R0(t){var r=t.stateNode,i=t.type,s=t.memoizedProps;switch(r[qt]=t,r[to]=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<ls.length;i++)Oe(ls[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),Vm(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),Wm(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||$b(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=Ar),r=!0):r=!1,r||wn(t,!0)}function j0(t){for(Ht=t.return;Ht;)switch(Ht.tag){case 5:case 31:case 13:Ho=!1;return;case 27:case 3:Ho=!0;return;default:Ht=Ht.return}}function li(t){if(t!==Ht)return!1;if(!Le)return j0(t),Le=!0,!1;var r=t.tag,i;if((i=r!==3&&r!==27)&&((i=r===5)&&(i=t.type,i=!(i!=="form"&&i!=="button")||Hh(t.type,t.memoizedProps)),i=!i),i&&ct&&wn(t),j0(t),r===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));ct=r1(t)}else if(r===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));ct=r1(t)}else r===27?(r=ct,Mn(t.type)?(t=Vh,Vh=null,ct=t):ct=r):ct=Ht?Lo(t.stateNode.nextSibling):null;return!0}function fa(){ct=Ht=null,Le=!1}function Sf(){var t=xn;return t!==null&&(io===null?io=t:io.push.apply(io,t),xn=null),t}function Hl(t){xn===null?xn=[t]:xn.push(t)}var kf=F(null),ha=null,Fr=null;function Sn(t,r,i){J(kf,r._currentValue),r._currentValue=i}function qr(t){t._currentValue=kf.current,U(kf)}function Bf(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 _f(t,r,i,s){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var g=f.dependencies;if(g!==null){var x=f.child;g=g.firstContext;e:for(;g!==null;){var N=g;g=f;for(var A=0;A<r.length;A++)if(N.context===r[A]){g.lanes|=i,N=g.alternate,N!==null&&(N.lanes|=i),Bf(g.return,i,t),s||(x=null);break e}g=N.next}}else if(f.tag===18){if(x=f.return,x===null)throw Error(a(341));x.lanes|=i,g=x.alternate,g!==null&&(g.lanes|=i),Bf(x,i,t),x=null}else x=f.child;if(x!==null)x.return=f;else for(x=f;x!==null;){if(x===t){x=null;break}if(f=x.sibling,f!==null){f.return=x.return,x=f;break}x=x.return}f=x}}function si(t,r,i,s){t=null;for(var f=r,g=!1;f!==null;){if(!g){if((f.flags&524288)!==0)g=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var x=f.alternate;if(x===null)throw Error(a(387));if(x=x.memoizedProps,x!==null){var N=f.type;vo(f.pendingProps.value,x.value)||(t!==null?t.push(N):t=[N])}}else if(f===Fe.current){if(x=f.alternate,x===null)throw Error(a(387));x.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(t!==null?t.push(fs):t=[fs])}f=f.return}t!==null&&_f(r,t,i,s),r.flags|=262144}function Cc(t){for(t=t.firstContext;t!==null;){if(!vo(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ga(t){ha=t,Fr=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Pt(t){return A0(ha,t)}function zc(t,r){return ha===null&&ga(t),A0(t,r)}function A0(t,r){var i=r._currentValue;if(r={context:r,memoizedValue:i,next:null},Fr===null){if(t===null)throw Error(a(308));Fr=r,t.dependencies={lanes:0,firstContext:r},t.flags|=524288}else Fr=Fr.next=r;return i}var Lk=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()})}},Ik=e.unstable_scheduleCallback,Uk=e.unstable_NormalPriority,Bt={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Cf(){return{controller:new Lk,data:new Map,refCount:0}}function Pl(t){t.refCount--,t.refCount===0&&Ik(Uk,function(){t.controller.abort()})}var Ll=null,zf=0,ci=0,ui=null;function Vk(t,r){if(Ll===null){var i=Ll=[];zf=0,ci=Eh(),ui={status:"pending",value:void 0,then:function(s){i.push(s)}}}return zf++,r.then(D0,D0),r}function D0(){if(--zf===0&&Ll!==null){ui!==null&&(ui.status="fulfilled");var t=Ll;Ll=null,ci=0,ui=null;for(var r=0;r<t.length;r++)(0,t[r])()}}function Gk(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 M0=I.S;I.S=function(t,r){bb=go(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&Vk(t,r),M0!==null&&M0(t,r)};var pa=F(null);function Nf(){var t=pa.current;return t!==null?t:rt.pooledCache}function Nc(t,r){r===null?J(pa,pa.current):J(pa,r.pool)}function O0(){var t=Nf();return t===null?null:{parent:Bt._currentValue,pool:t}}var di=Error(a(460)),Tf=Error(a(474)),Tc=Error(a(542)),Ec={then:function(){}};function F0(t){return t=t.status,t==="fulfilled"||t==="rejected"}function q0(t,r,i){switch(i=t[i],i===void 0?t.push(r):i!==r&&(r.then(Ar,Ar),r=i),r.status){case"fulfilled":return r.value;case"rejected":throw t=r.reason,P0(t),t;default:if(typeof r.status=="string")r.then(Ar,Ar);else{if(t=rt,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,P0(t),t}throw va=r,di}}function ma(t){try{var r=t._init;return r(t._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(va=i,di):i}}var va=null;function H0(){if(va===null)throw Error(a(459));var t=va;return va=null,t}function P0(t){if(t===di||t===Tc)throw Error(a(483))}var fi=null,Il=0;function Rc(t){var r=Il;return Il+=1,fi===null&&(fi=[]),q0(fi,t,r)}function Ul(t,r){r=r.props.ref,t.ref=r!==void 0?r:null}function jc(t,r){throw r.$$typeof===w?Error(a(525)):(t=Object.prototype.toString.call(r),Error(a(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t)))}function L0(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=Mr(L,q),L.index=0,L.sibling=null,L}function g(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 x(L){return t&&L.alternate===null&&(L.flags|=67108866),L}function N(L,q,V,Y){return q===null||q.tag!==6?(q=vf(V,L.mode,Y),q.return=L,q):(q=f(q,V),q.return=L,q)}function A(L,q,V,Y){var Se=V.type;return Se===y?Q(L,q,V.props.children,Y,V.key):q!==null&&(q.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===O&&ma(Se)===q.type)?(q=f(q,V.props),Ul(q,V),q.return=L,q):(q=Bc(V.type,V.key,V.props,null,L.mode,Y),Ul(q,V),q.return=L,q)}function G(L,q,V,Y){return q===null||q.tag!==4||q.stateNode.containerInfo!==V.containerInfo||q.stateNode.implementation!==V.implementation?(q=bf(V,L.mode,Y),q.return=L,q):(q=f(q,V.children||[]),q.return=L,q)}function Q(L,q,V,Y,Se){return q===null||q.tag!==7?(q=da(V,L.mode,Y,Se),q.return=L,q):(q=f(q,V),q.return=L,q)}function te(L,q,V){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return q=vf(""+q,L.mode,V),q.return=L,q;if(typeof q=="object"&&q!==null){switch(q.$$typeof){case k:return V=Bc(q.type,q.key,q.props,null,L.mode,V),Ul(V,q),V.return=L,V;case S:return q=bf(q,L.mode,V),q.return=L,q;case O:return q=ma(q),te(L,q,V)}if(Z(q)||ae(q))return q=da(q,L.mode,V,null),q.return=L,q;if(typeof q.then=="function")return te(L,Rc(q),V);if(q.$$typeof===z)return te(L,zc(L,q),V);jc(L,q)}return null}function X(L,q,V,Y){var Se=q!==null?q.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return Se!==null?null:N(L,q,""+V,Y);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case k:return V.key===Se?A(L,q,V,Y):null;case S:return V.key===Se?G(L,q,V,Y):null;case O:return V=ma(V),X(L,q,V,Y)}if(Z(V)||ae(V))return Se!==null?null:Q(L,q,V,Y,null);if(typeof V.then=="function")return X(L,q,Rc(V),Y);if(V.$$typeof===z)return X(L,q,zc(L,V),Y);jc(L,V)}return null}function K(L,q,V,Y,Se){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return L=L.get(V)||null,N(q,L,""+Y,Se);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case k:return L=L.get(Y.key===null?V:Y.key)||null,A(q,L,Y,Se);case S:return L=L.get(Y.key===null?V:Y.key)||null,G(q,L,Y,Se);case O:return Y=ma(Y),K(L,q,V,Y,Se)}if(Z(Y)||ae(Y))return L=L.get(V)||null,Q(q,L,Y,Se,null);if(typeof Y.then=="function")return K(L,q,V,Rc(Y),Se);if(Y.$$typeof===z)return K(L,q,V,zc(q,Y),Se);jc(q,Y)}return null}function ve(L,q,V,Y){for(var Se=null,Ve=null,ye=q,Re=q=0,He=null;ye!==null&&Re<V.length;Re++){ye.index>Re?(He=ye,ye=null):He=ye.sibling;var Ge=X(L,ye,V[Re],Y);if(Ge===null){ye===null&&(ye=He);break}t&&ye&&Ge.alternate===null&&r(L,ye),q=g(Ge,q,Re),Ve===null?Se=Ge:Ve.sibling=Ge,Ve=Ge,ye=He}if(Re===V.length)return i(L,ye),Le&&Or(L,Re),Se;if(ye===null){for(;Re<V.length;Re++)ye=te(L,V[Re],Y),ye!==null&&(q=g(ye,q,Re),Ve===null?Se=ye:Ve.sibling=ye,Ve=ye);return Le&&Or(L,Re),Se}for(ye=s(ye);Re<V.length;Re++)He=K(ye,L,Re,V[Re],Y),He!==null&&(t&&He.alternate!==null&&ye.delete(He.key===null?Re:He.key),q=g(He,q,Re),Ve===null?Se=He:Ve.sibling=He,Ve=He);return t&&ye.forEach(function(Pn){return r(L,Pn)}),Le&&Or(L,Re),Se}function Be(L,q,V,Y){if(V==null)throw Error(a(151));for(var Se=null,Ve=null,ye=q,Re=q=0,He=null,Ge=V.next();ye!==null&&!Ge.done;Re++,Ge=V.next()){ye.index>Re?(He=ye,ye=null):He=ye.sibling;var Pn=X(L,ye,Ge.value,Y);if(Pn===null){ye===null&&(ye=He);break}t&&ye&&Pn.alternate===null&&r(L,ye),q=g(Pn,q,Re),Ve===null?Se=Pn:Ve.sibling=Pn,Ve=Pn,ye=He}if(Ge.done)return i(L,ye),Le&&Or(L,Re),Se;if(ye===null){for(;!Ge.done;Re++,Ge=V.next())Ge=te(L,Ge.value,Y),Ge!==null&&(q=g(Ge,q,Re),Ve===null?Se=Ge:Ve.sibling=Ge,Ve=Ge);return Le&&Or(L,Re),Se}for(ye=s(ye);!Ge.done;Re++,Ge=V.next())Ge=K(ye,L,Re,Ge.value,Y),Ge!==null&&(t&&Ge.alternate!==null&&ye.delete(Ge.key===null?Re:Ge.key),q=g(Ge,q,Re),Ve===null?Se=Ge:Ve.sibling=Ge,Ve=Ge);return t&&ye.forEach(function(oB){return r(L,oB)}),Le&&Or(L,Re),Se}function tt(L,q,V,Y){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 Se=V.key;q!==null;){if(q.key===Se){if(Se=V.type,Se===y){if(q.tag===7){i(L,q.sibling),Y=f(q,V.props.children),Y.return=L,L=Y;break e}}else if(q.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===O&&ma(Se)===q.type){i(L,q.sibling),Y=f(q,V.props),Ul(Y,V),Y.return=L,L=Y;break e}i(L,q);break}else r(L,q);q=q.sibling}V.type===y?(Y=da(V.props.children,L.mode,Y,V.key),Y.return=L,L=Y):(Y=Bc(V.type,V.key,V.props,null,L.mode,Y),Ul(Y,V),Y.return=L,L=Y)}return x(L);case S:e:{for(Se=V.key;q!==null;){if(q.key===Se)if(q.tag===4&&q.stateNode.containerInfo===V.containerInfo&&q.stateNode.implementation===V.implementation){i(L,q.sibling),Y=f(q,V.children||[]),Y.return=L,L=Y;break e}else{i(L,q);break}else r(L,q);q=q.sibling}Y=bf(V,L.mode,Y),Y.return=L,L=Y}return x(L);case O:return V=ma(V),tt(L,q,V,Y)}if(Z(V))return ve(L,q,V,Y);if(ae(V)){if(Se=ae(V),typeof Se!="function")throw Error(a(150));return V=Se.call(V),Be(L,q,V,Y)}if(typeof V.then=="function")return tt(L,q,Rc(V),Y);if(V.$$typeof===z)return tt(L,q,zc(L,V),Y);jc(L,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(V=""+V,q!==null&&q.tag===6?(i(L,q.sibling),Y=f(q,V),Y.return=L,L=Y):(i(L,q),Y=vf(V,L.mode,Y),Y.return=L,L=Y),x(L)):i(L,q)}return function(L,q,V,Y){try{Il=0;var Se=tt(L,q,V,Y);return fi=null,Se}catch(ye){if(ye===di||ye===Tc)throw ye;var Ve=bo(29,ye,null,L.mode);return Ve.lanes=Y,Ve.return=L,Ve}finally{}}}var ba=L0(!0),I0=L0(!1),kn=!1;function Ef(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Rf(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 Bn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function _n(t,r,i){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,(Xe&2)!==0){var f=s.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),s.pending=r,r=kc(t),_0(t,null,i),r}return Sc(t,s,r,i),kc(t)}function Vl(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,Am(t,i)}}function jf(t,r){var i=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var f=null,g=null;if(i=i.firstBaseUpdate,i!==null){do{var x={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};g===null?f=g=x:g=g.next=x,i=i.next}while(i!==null);g===null?f=g=r:g=g.next=r}else f=g=r;i={baseState:s.baseState,firstBaseUpdate:f,lastBaseUpdate:g,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 Af=!1;function Gl(){if(Af){var t=ui;if(t!==null)throw t}}function Wl(t,r,i,s){Af=!1;var f=t.updateQueue;kn=!1;var g=f.firstBaseUpdate,x=f.lastBaseUpdate,N=f.shared.pending;if(N!==null){f.shared.pending=null;var A=N,G=A.next;A.next=null,x===null?g=G:x.next=G,x=A;var Q=t.alternate;Q!==null&&(Q=Q.updateQueue,N=Q.lastBaseUpdate,N!==x&&(N===null?Q.firstBaseUpdate=G:N.next=G,Q.lastBaseUpdate=A))}if(g!==null){var te=f.baseState;x=0,Q=G=A=null,N=g;do{var X=N.lane&-536870913,K=X!==N.lane;if(K?(qe&X)===X:(s&X)===X){X!==0&&X===ci&&(Af=!0),Q!==null&&(Q=Q.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});e:{var ve=t,Be=N;X=r;var tt=i;switch(Be.tag){case 1:if(ve=Be.payload,typeof ve=="function"){te=ve.call(tt,te,X);break e}te=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=Be.payload,X=typeof ve=="function"?ve.call(tt,te,X):ve,X==null)break e;te=m({},te,X);break e;case 2:kn=!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},Q===null?(G=Q=K,A=te):Q=Q.next=K,x|=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);Q===null&&(A=te),f.baseState=A,f.firstBaseUpdate=G,f.lastBaseUpdate=Q,g===null&&(f.shared.lanes=0),En|=x,t.lanes=x,t.memoizedState=te}}function U0(t,r){if(typeof t!="function")throw Error(a(191,t));t.call(r)}function V0(t,r){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;t<i.length;t++)U0(i[t],r)}var hi=F(null),Ac=F(0);function G0(t,r){t=Xr,J(Ac,t),J(hi,r),Xr=t|r.baseLanes}function Df(){J(Ac,Xr),J(hi,hi.current)}function Mf(){Xr=Ac.current,U(hi),U(Ac)}var yo=F(null),Po=null;function Cn(t){var r=t.alternate;J(xt,xt.current&1),J(yo,t),Po===null&&(r===null||hi.current!==null||r.memoizedState!==null)&&(Po=t)}function Of(t){J(xt,xt.current),J(yo,t),Po===null&&(Po=t)}function W0(t){t.tag===22?(J(xt,xt.current),J(yo,t),Po===null&&(Po=t)):zn()}function zn(){J(xt,xt.current),J(yo,yo.current)}function xo(t){U(yo),Po===t&&(Po=null),U(xt)}var xt=F(0);function Dc(t){for(var r=t;r!==null;){if(r.tag===13){var i=r.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Ih(i)||Uh(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 Hr=0,Te=null,Je=null,_t=null,Mc=!1,gi=!1,ya=!1,Oc=0,Xl=0,pi=null,Wk=0;function mt(){throw Error(a(321))}function Ff(t,r){if(r===null)return!1;for(var i=0;i<r.length&&i<t.length;i++)if(!vo(t[i],r[i]))return!1;return!0}function qf(t,r,i,s,f,g){return Hr=g,Te=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,I.H=t===null||t.memoizedState===null?Tv:Jf,ya=!1,g=i(s,f),ya=!1,gi&&(g=$0(r,i,s,f)),X0(t),g}function X0(t){I.H=Ql;var r=Je!==null&&Je.next!==null;if(Hr=0,_t=Je=Te=null,Mc=!1,Xl=0,pi=null,r)throw Error(a(300));t===null||Ct||(t=t.dependencies,t!==null&&Cc(t)&&(Ct=!0))}function $0(t,r,i,s){Te=t;var f=0;do{if(gi&&(pi=null),Xl=0,gi=!1,25<=f)throw Error(a(301));if(f+=1,_t=Je=null,t.updateQueue!=null){var g=t.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}I.H=Ev,g=r(i,s)}while(gi);return g}function Xk(){var t=I.H,r=t.useState()[0];return r=typeof r.then=="function"?$l(r):r,t=t.useState()[0],(Je!==null?Je.memoizedState:null)!==t&&(Te.flags|=1024),r}function Hf(){var t=Oc!==0;return Oc=0,t}function Pf(t,r,i){r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~i}function Lf(t){if(Mc){for(t=t.memoizedState;t!==null;){var r=t.queue;r!==null&&(r.pending=null),t=t.next}Mc=!1}Hr=0,_t=Je=Te=null,gi=!1,Xl=Oc=0,pi=null}function Qt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _t===null?Te.memoizedState=_t=t:_t=_t.next=t,_t}function wt(){if(Je===null){var t=Te.alternate;t=t!==null?t.memoizedState:null}else t=Je.next;var r=_t===null?Te.memoizedState:_t.next;if(r!==null)_t=r,Je=t;else{if(t===null)throw Te.alternate===null?Error(a(467)):Error(a(310));Je=t,t={memoizedState:Je.memoizedState,baseState:Je.baseState,baseQueue:Je.baseQueue,queue:Je.queue,next:null},_t===null?Te.memoizedState=_t=t:_t=_t.next=t}return _t}function Fc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function $l(t){var r=Xl;return Xl+=1,pi===null&&(pi=[]),t=q0(pi,t,r),r=Te,(_t===null?r.memoizedState:_t.next)===null&&(r=r.alternate,I.H=r===null||r.memoizedState===null?Tv:Jf),t}function qc(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return $l(t);if(t.$$typeof===z)return Pt(t)}throw Error(a(438,String(t)))}function If(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=Fc(),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]=ee;return r.index++,i}function Pr(t,r){return typeof r=="function"?r(t):r}function Hc(t){var r=wt();return Uf(r,Je,t)}function Uf(t,r,i){var s=t.queue;if(s===null)throw Error(a(311));s.lastRenderedReducer=i;var f=t.baseQueue,g=s.pending;if(g!==null){if(f!==null){var x=f.next;f.next=g.next,g.next=x}r.baseQueue=f=g,s.pending=null}if(g=t.baseState,f===null)t.memoizedState=g;else{r=f.next;var N=x=null,A=null,G=r,Q=!1;do{var te=G.lane&-536870913;if(te!==G.lane?(qe&te)===te:(Hr&te)===te){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}),te===ci&&(Q=!0);else if((Hr&X)===X){G=G.next,X===ci&&(Q=!0);continue}else te={lane:0,revertLane:G.revertLane,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},A===null?(N=A=te,x=g):A=A.next=te,Te.lanes|=X,En|=X;te=G.action,ya&&i(g,te),g=G.hasEagerState?G.eagerState:i(g,te)}else X={lane:te,revertLane:G.revertLane,gesture:G.gesture,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},A===null?(N=A=X,x=g):A=A.next=X,Te.lanes|=te,En|=te;G=G.next}while(G!==null&&G!==r);if(A===null?x=g:A.next=N,!vo(g,t.memoizedState)&&(Ct=!0,Q&&(i=ui,i!==null)))throw i;t.memoizedState=g,t.baseState=x,t.baseQueue=A,s.lastRenderedState=g}return f===null&&(s.lanes=0),[t.memoizedState,s.dispatch]}function Vf(t){var r=wt(),i=r.queue;if(i===null)throw Error(a(311));i.lastRenderedReducer=t;var s=i.dispatch,f=i.pending,g=r.memoizedState;if(f!==null){i.pending=null;var x=f=f.next;do g=t(g,x.action),x=x.next;while(x!==f);vo(g,r.memoizedState)||(Ct=!0),r.memoizedState=g,r.baseQueue===null&&(r.baseState=g),i.lastRenderedState=g}return[g,s]}function K0(t,r,i){var s=Te,f=wt(),g=Le;if(g){if(i===void 0)throw Error(a(407));i=i()}else i=r();var x=!vo((Je||f).memoizedState,i);if(x&&(f.memoizedState=i,Ct=!0),f=f.queue,Xf(Y0.bind(null,s,f,t),[t]),f.getSnapshot!==r||x||_t!==null&&_t.memoizedState.tag&1){if(s.flags|=2048,mi(9,{destroy:void 0},Z0.bind(null,s,f,i,r),null),rt===null)throw Error(a(349));g||(Hr&127)!==0||Q0(s,r,i)}return i}function Q0(t,r,i){t.flags|=16384,t={getSnapshot:r,value:i},r=Te.updateQueue,r===null?(r=Fc(),Te.updateQueue=r,r.stores=[t]):(i=r.stores,i===null?r.stores=[t]:i.push(t))}function Z0(t,r,i,s){r.value=i,r.getSnapshot=s,J0(r)&&ev(t)}function Y0(t,r,i){return i(function(){J0(r)&&ev(t)})}function J0(t){var r=t.getSnapshot;t=t.value;try{var i=r();return!vo(t,i)}catch{return!0}}function ev(t){var r=ua(t,2);r!==null&&lo(r,t,2)}function Gf(t){var r=Qt();if(typeof t=="function"){var i=t;if(t=i(),ya){mn(!0);try{i()}finally{mn(!1)}}}return r.memoizedState=r.baseState=t,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pr,lastRenderedState:t},r}function tv(t,r,i,s){return t.baseState=i,Uf(t,Je,typeof s=="function"?s:Pr)}function $k(t,r,i,s,f){if(Ic(t))throw Error(a(485));if(t=r.action,t!==null){var g={payload:f,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(x){g.listeners.push(x)}};I.T!==null?i(!0):g.isTransition=!1,s(g),i=r.pending,i===null?(g.next=r.pending=g,ov(r,g)):(g.next=i.next,r.pending=i.next=g)}}function ov(t,r){var i=r.action,s=r.payload,f=t.state;if(r.isTransition){var g=I.T,x={};I.T=x;try{var N=i(f,s),A=I.S;A!==null&&A(x,N),rv(t,r,N)}catch(G){Wf(t,r,G)}finally{g!==null&&x.types!==null&&(g.types=x.types),I.T=g}}else try{g=i(f,s),rv(t,r,g)}catch(G){Wf(t,r,G)}}function rv(t,r,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){nv(t,r,s)},function(s){return Wf(t,r,s)}):nv(t,r,i)}function nv(t,r,i){r.status="fulfilled",r.value=i,av(r),t.state=i,r=t.pending,r!==null&&(i=r.next,i===r?t.pending=null:(i=i.next,r.next=i,ov(t,i)))}function Wf(t,r,i){var s=t.pending;if(t.pending=null,s!==null){s=s.next;do r.status="rejected",r.reason=i,av(r),r=r.next;while(r!==s)}t.action=null}function av(t){t=t.listeners;for(var r=0;r<t.length;r++)(0,t[r])()}function iv(t,r){return r}function lv(t,r){if(Le){var i=rt.formState;if(i!==null){e:{var s=Te;if(Le){if(ct){t:{for(var f=ct,g=Ho;f.nodeType!==8;){if(!g){f=null;break t}if(f=Lo(f.nextSibling),f===null){f=null;break t}}g=f.data,f=g==="F!"||g==="F"?f:null}if(f){ct=Lo(f.nextSibling),s=f.data==="F!";break e}}wn(s)}s=!1}s&&(r=i[0])}}return i=Qt(),i.memoizedState=i.baseState=r,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:iv,lastRenderedState:r},i.queue=s,i=Cv.bind(null,Te,s),s.dispatch=i,s=Gf(!1),g=Yf.bind(null,Te,!1,s.queue),s=Qt(),f={state:r,dispatch:null,action:t,pending:null},s.queue=f,i=$k.bind(null,Te,f,g,i),f.dispatch=i,s.memoizedState=t,[r,i,!1]}function sv(t){var r=wt();return cv(r,Je,t)}function cv(t,r,i){if(r=Uf(t,r,iv)[0],t=Hc(Pr)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var s=$l(r)}catch(x){throw x===di?Tc:x}else s=r;r=wt();var f=r.queue,g=f.dispatch;return i!==r.memoizedState&&(Te.flags|=2048,mi(9,{destroy:void 0},Kk.bind(null,f,i),null)),[s,g,t]}function Kk(t,r){t.action=r}function uv(t){var r=wt(),i=Je;if(i!==null)return cv(r,i,t);wt(),r=r.memoizedState,i=wt();var s=i.queue.dispatch;return i.memoizedState=t,[r,s,!1]}function mi(t,r,i,s){return t={tag:t,create:i,deps:s,inst:r,next:null},r=Te.updateQueue,r===null&&(r=Fc(),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 dv(){return wt().memoizedState}function Pc(t,r,i,s){var f=Qt();Te.flags|=t,f.memoizedState=mi(1|r,{destroy:void 0},i,s===void 0?null:s)}function Lc(t,r,i,s){var f=wt();s=s===void 0?null:s;var g=f.memoizedState.inst;Je!==null&&s!==null&&Ff(s,Je.memoizedState.deps)?f.memoizedState=mi(r,g,i,s):(Te.flags|=t,f.memoizedState=mi(1|r,g,i,s))}function fv(t,r){Pc(8390656,8,t,r)}function Xf(t,r){Lc(2048,8,t,r)}function Qk(t){Te.flags|=4;var r=Te.updateQueue;if(r===null)r=Fc(),Te.updateQueue=r,r.events=[t];else{var i=r.events;i===null?r.events=[t]:i.push(t)}}function hv(t){var r=wt().memoizedState;return Qk({ref:r,nextImpl:t}),function(){if((Xe&2)!==0)throw Error(a(440));return r.impl.apply(void 0,arguments)}}function gv(t,r){return Lc(4,2,t,r)}function pv(t,r){return Lc(4,4,t,r)}function mv(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 vv(t,r,i){i=i!=null?i.concat([t]):null,Lc(4,4,mv.bind(null,r,t),i)}function $f(){}function bv(t,r){var i=wt();r=r===void 0?null:r;var s=i.memoizedState;return r!==null&&Ff(r,s[1])?s[0]:(i.memoizedState=[t,r],t)}function yv(t,r){var i=wt();r=r===void 0?null:r;var s=i.memoizedState;if(r!==null&&Ff(r,s[1]))return s[0];if(s=t(),ya){mn(!0);try{t()}finally{mn(!1)}}return i.memoizedState=[s,r],s}function Kf(t,r,i){return i===void 0||(Hr&1073741824)!==0&&(qe&261930)===0?t.memoizedState=r:(t.memoizedState=i,t=xb(),Te.lanes|=t,En|=t,i)}function xv(t,r,i,s){return vo(i,r)?i:hi.current!==null?(t=Kf(t,i,s),vo(t,r)||(Ct=!0),t):(Hr&42)===0||(Hr&1073741824)!==0&&(qe&261930)===0?(Ct=!0,t.memoizedState=i):(t=xb(),Te.lanes|=t,En|=t,r)}function wv(t,r,i,s,f){var g=oe.p;oe.p=g!==0&&8>g?g:8;var x=I.T,N={};I.T=N,Yf(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 Q=Gk(A,s);Kl(t,r,Q,ko(t))}else Kl(t,r,s,ko(t))}catch(te){Kl(t,r,{then:function(){},status:"rejected",reason:te},ko())}finally{oe.p=g,x!==null&&N.types!==null&&(x.types=N.types),I.T=x}}function Zk(){}function Qf(t,r,i,s){if(t.tag!==5)throw Error(a(476));var f=Sv(t).queue;wv(t,f,r,re,i===null?Zk:function(){return kv(t),i(s)})}function Sv(t){var r=t.memoizedState;if(r!==null)return r;r={memoizedState:re,baseState:re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pr,lastRenderedState:re},next:null};var i={};return r.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pr,lastRenderedState:i},next:null},t.memoizedState=r,t=t.alternate,t!==null&&(t.memoizedState=r),r}function kv(t){var r=Sv(t);r.next===null&&(r=t.alternate.memoizedState),Kl(t,r.next.queue,{},ko())}function Zf(){return Pt(fs)}function Bv(){return wt().memoizedState}function _v(){return wt().memoizedState}function Yk(t){for(var r=t.return;r!==null;){switch(r.tag){case 24:case 3:var i=ko();t=Bn(i);var s=_n(r,t,i);s!==null&&(lo(s,r,i),Vl(s,r,i)),r={cache:Cf()},t.payload=r;return}r=r.return}}function Jk(t,r,i){var s=ko();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Ic(t)?zv(r,i):(i=pf(t,r,i,s),i!==null&&(lo(i,t,s),Nv(i,r,s)))}function Cv(t,r,i){var s=ko();Kl(t,r,i,s)}function Kl(t,r,i,s){var f={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Ic(t))zv(r,f);else{var g=t.alternate;if(t.lanes===0&&(g===null||g.lanes===0)&&(g=r.lastRenderedReducer,g!==null))try{var x=r.lastRenderedState,N=g(x,i);if(f.hasEagerState=!0,f.eagerState=N,vo(N,x))return Sc(t,r,f,0),rt===null&&wc(),!1}catch{}finally{}if(i=pf(t,r,f,s),i!==null)return lo(i,t,s),Nv(i,r,s),!0}return!1}function Yf(t,r,i,s){if(s={lane:2,revertLane:Eh(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Ic(t)){if(r)throw Error(a(479))}else r=pf(t,i,s,2),r!==null&&lo(r,t,2)}function Ic(t){var r=t.alternate;return t===Te||r!==null&&r===Te}function zv(t,r){gi=Mc=!0;var i=t.pending;i===null?r.next=r:(r.next=i.next,i.next=r),t.pending=r}function Nv(t,r,i){if((i&4194048)!==0){var s=r.lanes;s&=t.pendingLanes,i|=s,r.lanes=i,Am(t,i)}}var Ql={readContext:Pt,use:qc,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useLayoutEffect:mt,useInsertionEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useSyncExternalStore:mt,useId:mt,useHostTransitionStatus:mt,useFormState:mt,useActionState:mt,useOptimistic:mt,useMemoCache:mt,useCacheRefresh:mt};Ql.useEffectEvent=mt;var Tv={readContext:Pt,use:qc,useCallback:function(t,r){return Qt().memoizedState=[t,r===void 0?null:r],t},useContext:Pt,useEffect:fv,useImperativeHandle:function(t,r,i){i=i!=null?i.concat([t]):null,Pc(4194308,4,mv.bind(null,r,t),i)},useLayoutEffect:function(t,r){return Pc(4194308,4,t,r)},useInsertionEffect:function(t,r){Pc(4,2,t,r)},useMemo:function(t,r){var i=Qt();r=r===void 0?null:r;var s=t();if(ya){mn(!0);try{t()}finally{mn(!1)}}return i.memoizedState=[s,r],s},useReducer:function(t,r,i){var s=Qt();if(i!==void 0){var f=i(r);if(ya){mn(!0);try{i(r)}finally{mn(!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=Jk.bind(null,Te,t),[s.memoizedState,t]},useRef:function(t){var r=Qt();return t={current:t},r.memoizedState=t},useState:function(t){t=Gf(t);var r=t.queue,i=Cv.bind(null,Te,r);return r.dispatch=i,[t.memoizedState,i]},useDebugValue:$f,useDeferredValue:function(t,r){var i=Qt();return Kf(i,t,r)},useTransition:function(){var t=Gf(!1);return t=wv.bind(null,Te,t.queue,!0,!1),Qt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,r,i){var s=Te,f=Qt();if(Le){if(i===void 0)throw Error(a(407));i=i()}else{if(i=r(),rt===null)throw Error(a(349));(qe&127)!==0||Q0(s,r,i)}f.memoizedState=i;var g={value:i,getSnapshot:r};return f.queue=g,fv(Y0.bind(null,s,g,t),[t]),s.flags|=2048,mi(9,{destroy:void 0},Z0.bind(null,s,g,i,r),null),i},useId:function(){var t=Qt(),r=rt.identifierPrefix;if(Le){var i=yr,s=br;i=(s&~(1<<32-mo(s)-1)).toString(32)+i,r="_"+r+"R_"+i,i=Oc++,0<i&&(r+="H"+i.toString(32)),r+="_"}else i=Wk++,r="_"+r+"r_"+i.toString(32)+"_";return t.memoizedState=r},useHostTransitionStatus:Zf,useFormState:lv,useActionState:lv,useOptimistic:function(t){var r=Qt();r.memoizedState=r.baseState=t;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=i,r=Yf.bind(null,Te,!0,i),i.dispatch=r,[t,r]},useMemoCache:If,useCacheRefresh:function(){return Qt().memoizedState=Yk.bind(null,Te)},useEffectEvent:function(t){var r=Qt(),i={impl:t};return r.memoizedState=i,function(){if((Xe&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}},Jf={readContext:Pt,use:qc,useCallback:bv,useContext:Pt,useEffect:Xf,useImperativeHandle:vv,useInsertionEffect:gv,useLayoutEffect:pv,useMemo:yv,useReducer:Hc,useRef:dv,useState:function(){return Hc(Pr)},useDebugValue:$f,useDeferredValue:function(t,r){var i=wt();return xv(i,Je.memoizedState,t,r)},useTransition:function(){var t=Hc(Pr)[0],r=wt().memoizedState;return[typeof t=="boolean"?t:$l(t),r]},useSyncExternalStore:K0,useId:Bv,useHostTransitionStatus:Zf,useFormState:sv,useActionState:sv,useOptimistic:function(t,r){var i=wt();return tv(i,Je,t,r)},useMemoCache:If,useCacheRefresh:_v};Jf.useEffectEvent=hv;var Ev={readContext:Pt,use:qc,useCallback:bv,useContext:Pt,useEffect:Xf,useImperativeHandle:vv,useInsertionEffect:gv,useLayoutEffect:pv,useMemo:yv,useReducer:Vf,useRef:dv,useState:function(){return Vf(Pr)},useDebugValue:$f,useDeferredValue:function(t,r){var i=wt();return Je===null?Kf(i,t,r):xv(i,Je.memoizedState,t,r)},useTransition:function(){var t=Vf(Pr)[0],r=wt().memoizedState;return[typeof t=="boolean"?t:$l(t),r]},useSyncExternalStore:K0,useId:Bv,useHostTransitionStatus:Zf,useFormState:uv,useActionState:uv,useOptimistic:function(t,r){var i=wt();return Je!==null?tv(i,Je,t,r):(i.baseState=t,[t,i.queue.dispatch])},useMemoCache:If,useCacheRefresh:_v};Ev.useEffectEvent=hv;function eh(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 th={enqueueSetState:function(t,r,i){t=t._reactInternals;var s=ko(),f=Bn(s);f.payload=r,i!=null&&(f.callback=i),r=_n(t,f,s),r!==null&&(lo(r,t,s),Vl(r,t,s))},enqueueReplaceState:function(t,r,i){t=t._reactInternals;var s=ko(),f=Bn(s);f.tag=1,f.payload=r,i!=null&&(f.callback=i),r=_n(t,f,s),r!==null&&(lo(r,t,s),Vl(r,t,s))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var i=ko(),s=Bn(i);s.tag=2,r!=null&&(s.callback=r),r=_n(t,s,i),r!==null&&(lo(r,t,i),Vl(r,t,i))}};function Rv(t,r,i,s,f,g,x){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,g,x):r.prototype&&r.prototype.isPureReactComponent?!Ol(i,s)||!Ol(f,g):!0}function jv(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&&th.enqueueReplaceState(r,r.state,null)}function xa(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 Av(t){xc(t)}function Dv(t){console.error(t)}function Mv(t){xc(t)}function Uc(t,r){try{var i=t.onUncaughtError;i(r.value,{componentStack:r.stack})}catch(s){setTimeout(function(){throw s})}}function Ov(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 oh(t,r,i){return i=Bn(i),i.tag=3,i.payload={element:null},i.callback=function(){Uc(t,r)},i}function Fv(t){return t=Bn(t),t.tag=3,t}function qv(t,r,i,s){var f=i.type.getDerivedStateFromError;if(typeof f=="function"){var g=s.value;t.payload=function(){return f(g)},t.callback=function(){Ov(r,i,s)}}var x=i.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(t.callback=function(){Ov(r,i,s),typeof f!="function"&&(Rn===null?Rn=new Set([this]):Rn.add(this));var N=s.stack;this.componentDidCatch(s.value,{componentStack:N!==null?N:""})})}function e3(t,r,i,s,f){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(r=i.alternate,r!==null&&si(r,i,f,!0),i=yo.current,i!==null){switch(i.tag){case 31:case 13:return Po===null?tu():i.alternate===null&&vt===0&&(vt=3),i.flags&=-257,i.flags|=65536,i.lanes=f,s===Ec?i.flags|=16384:(r=i.updateQueue,r===null?i.updateQueue=new Set([s]):r.add(s),zh(t,s,f)),!1;case 22:return i.flags|=65536,s===Ec?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)),zh(t,s,f)),!1}throw Error(a(435,i.tag))}return zh(t,s,f),tu(),!1}if(Le)return r=yo.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,s!==wf&&(t=Error(a(422),{cause:s}),Hl(Oo(t,i)))):(s!==wf&&(r=Error(a(423),{cause:s}),Hl(Oo(r,i))),t=t.current.alternate,t.flags|=65536,f&=-f,t.lanes|=f,s=Oo(s,i),f=oh(t.stateNode,s,f),jf(t,f),vt!==4&&(vt=2)),!1;var g=Error(a(520),{cause:s});if(g=Oo(g,i),ns===null?ns=[g]:ns.push(g),vt!==4&&(vt=2),r===null)return!0;s=Oo(s,i),i=r;do{switch(i.tag){case 3:return i.flags|=65536,t=f&-f,i.lanes|=t,t=oh(i.stateNode,s,t),jf(i,t),!1;case 1:if(r=i.type,g=i.stateNode,(i.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Rn===null||!Rn.has(g))))return i.flags|=65536,f&=-f,i.lanes|=f,f=Fv(f),qv(f,t,i,s),jf(i,f),!1}i=i.return}while(i!==null);return!1}var rh=Error(a(461)),Ct=!1;function Lt(t,r,i,s){r.child=t===null?I0(r,null,i,s):ba(r,t.child,i,s)}function Hv(t,r,i,s,f){i=i.render;var g=r.ref;if("ref"in s){var x={};for(var N in s)N!=="ref"&&(x[N]=s[N])}else x=s;return ga(r),s=qf(t,r,i,x,g,f),N=Hf(),t!==null&&!Ct?(Pf(t,r,f),Lr(t,r,f)):(Le&&N&&yf(r),r.flags|=1,Lt(t,r,s,f),r.child)}function Pv(t,r,i,s,f){if(t===null){var g=i.type;return typeof g=="function"&&!mf(g)&&g.defaultProps===void 0&&i.compare===null?(r.tag=15,r.type=g,Lv(t,r,g,s,f)):(t=Bc(i.type,null,s,r,r.mode,f),t.ref=r.ref,t.return=r,r.child=t)}if(g=t.child,!dh(t,f)){var x=g.memoizedProps;if(i=i.compare,i=i!==null?i:Ol,i(x,s)&&t.ref===r.ref)return Lr(t,r,f)}return r.flags|=1,t=Mr(g,s),t.ref=r.ref,t.return=r,r.child=t}function Lv(t,r,i,s,f){if(t!==null){var g=t.memoizedProps;if(Ol(g,s)&&t.ref===r.ref)if(Ct=!1,r.pendingProps=s=g,dh(t,f))(t.flags&131072)!==0&&(Ct=!0);else return r.lanes=t.lanes,Lr(t,r,f)}return nh(t,r,i,s,f)}function Iv(t,r,i,s){var f=s.children,g=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(g=g!==null?g.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&~g}else s=0,r.child=null;return Uv(t,r,g,i,s)}if((i&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},t!==null&&Nc(r,g!==null?g.cachePool:null),g!==null?G0(r,g):Df(),W0(r);else return s=r.lanes=536870912,Uv(t,r,g!==null?g.baseLanes|i:i,i,s)}else g!==null?(Nc(r,g.cachePool),G0(r,g),zn(),r.memoizedState=null):(t!==null&&Nc(r,null),Df(),zn());return Lt(t,r,f,i),r.child}function Zl(t,r){return t!==null&&t.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function Uv(t,r,i,s,f){var g=Nf();return g=g===null?null:{parent:Bt._currentValue,pool:g},r.memoizedState={baseLanes:i,cachePool:g},t!==null&&Nc(r,null),Df(),W0(r),t!==null&&si(t,r,s,!0),r.childLanes=f,null}function Vc(t,r){return r=Wc({mode:r.mode,children:r.children},t.mode),r.ref=t.ref,t.child=r,r.return=t,r}function Vv(t,r,i){return ba(r,t.child,null,i),t=Vc(r,r.pendingProps),t.flags|=2,xo(r),r.memoizedState=null,t}function t3(t,r,i){var s=r.pendingProps,f=(r.flags&128)!==0;if(r.flags&=-129,t===null){if(Le){if(s.mode==="hidden")return t=Vc(r,s),r.lanes=536870912,Zl(null,t);if(Of(r),(t=ct)?(t=o1(t,Ho),t=t!==null&&t.data==="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:yn!==null?{id:br,overflow:yr}:null,retryLane:536870912,hydrationErrors:null},i=z0(t),i.return=r,r.child=i,Ht=r,ct=null)):t=null,t===null)throw wn(r);return r.lanes=536870912,null}return Vc(r,s)}var g=t.memoizedState;if(g!==null){var x=g.dehydrated;if(Of(r),f)if(r.flags&256)r.flags&=-257,r=Vv(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||si(t,r,i,!1),f=(i&t.childLanes)!==0,Ct||f){if(s=rt,s!==null&&(x=Dm(s,i),x!==0&&x!==g.retryLane))throw g.retryLane=x,ua(t,x),lo(s,t,x),rh;tu(),r=Vv(t,r,i)}else t=g.treeContext,ct=Lo(x.nextSibling),Ht=r,Le=!0,xn=null,Ho=!1,t!==null&&E0(r,t),r=Vc(r,s),r.flags|=4096;return r}return t=Mr(t.child,{mode:s.mode,children:s.children}),t.ref=r.ref,r.child=t,t.return=r,t}function Gc(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 nh(t,r,i,s,f){return ga(r),i=qf(t,r,i,s,void 0,f),s=Hf(),t!==null&&!Ct?(Pf(t,r,f),Lr(t,r,f)):(Le&&s&&yf(r),r.flags|=1,Lt(t,r,i,f),r.child)}function Gv(t,r,i,s,f,g){return ga(r),r.updateQueue=null,i=$0(r,s,i,f),X0(t),s=Hf(),t!==null&&!Ct?(Pf(t,r,g),Lr(t,r,g)):(Le&&s&&yf(r),r.flags|=1,Lt(t,r,i,g),r.child)}function Wv(t,r,i,s,f){if(ga(r),r.stateNode===null){var g=ni,x=i.contextType;typeof x=="object"&&x!==null&&(g=Pt(x)),g=new i(s,g),r.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=th,r.stateNode=g,g._reactInternals=r,g=r.stateNode,g.props=s,g.state=r.memoizedState,g.refs={},Ef(r),x=i.contextType,g.context=typeof x=="object"&&x!==null?Pt(x):ni,g.state=r.memoizedState,x=i.getDerivedStateFromProps,typeof x=="function"&&(eh(r,i,x,s),g.state=r.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(x=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),x!==g.state&&th.enqueueReplaceState(g,g.state,null),Wl(r,s,g,f),Gl(),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308),s=!0}else if(t===null){g=r.stateNode;var N=r.memoizedProps,A=xa(i,N);g.props=A;var G=g.context,Q=i.contextType;x=ni,typeof Q=="object"&&Q!==null&&(x=Pt(Q));var te=i.getDerivedStateFromProps;Q=typeof te=="function"||typeof g.getSnapshotBeforeUpdate=="function",N=r.pendingProps!==N,Q||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(N||G!==x)&&jv(r,g,s,x),kn=!1;var X=r.memoizedState;g.state=X,Wl(r,s,g,f),Gl(),G=r.memoizedState,N||X!==G||kn?(typeof te=="function"&&(eh(r,i,te,s),G=r.memoizedState),(A=kn||Rv(r,i,A,s,X,G,x))?(Q||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(r.flags|=4194308)):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=s,r.memoizedState=G),g.props=s,g.state=G,g.context=x,s=A):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),s=!1)}else{g=r.stateNode,Rf(t,r),x=r.memoizedProps,Q=xa(i,x),g.props=Q,te=r.pendingProps,X=g.context,G=i.contextType,A=ni,typeof G=="object"&&G!==null&&(A=Pt(G)),N=i.getDerivedStateFromProps,(G=typeof N=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(x!==te||X!==A)&&jv(r,g,s,A),kn=!1,X=r.memoizedState,g.state=X,Wl(r,s,g,f),Gl();var K=r.memoizedState;x!==te||X!==K||kn||t!==null&&t.dependencies!==null&&Cc(t.dependencies)?(typeof N=="function"&&(eh(r,i,N,s),K=r.memoizedState),(Q=kn||Rv(r,i,Q,s,X,K,A)||t!==null&&t.dependencies!==null&&Cc(t.dependencies))?(G||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(s,K,A),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(s,K,A)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||x===t.memoizedProps&&X===t.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||x===t.memoizedProps&&X===t.memoizedState||(r.flags|=1024),r.memoizedProps=s,r.memoizedState=K),g.props=s,g.state=K,g.context=A,s=Q):(typeof g.componentDidUpdate!="function"||x===t.memoizedProps&&X===t.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||x===t.memoizedProps&&X===t.memoizedState||(r.flags|=1024),s=!1)}return g=s,Gc(t,r),s=(r.flags&128)!==0,g||s?(g=r.stateNode,i=s&&typeof i.getDerivedStateFromError!="function"?null:g.render(),r.flags|=1,t!==null&&s?(r.child=ba(r,t.child,null,f),r.child=ba(r,null,i,f)):Lt(t,r,i,f),r.memoizedState=g.state,t=r.child):t=Lr(t,r,f),t}function Xv(t,r,i,s){return fa(),r.flags|=256,Lt(t,r,i,s),r.child}var ah={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ih(t){return{baseLanes:t,cachePool:O0()}}function lh(t,r,i){return t=t!==null?t.childLanes&~i:0,r&&(t|=So),t}function $v(t,r,i){var s=r.pendingProps,f=!1,g=(r.flags&128)!==0,x;if((x=g)||(x=t!==null&&t.memoizedState===null?!1:(xt.current&2)!==0),x&&(f=!0,r.flags&=-129),x=(r.flags&32)!==0,r.flags&=-33,t===null){if(Le){if(f?Cn(r):zn(),(t=ct)?(t=o1(t,Ho),t=t!==null&&t.data!=="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:yn!==null?{id:br,overflow:yr}:null,retryLane:536870912,hydrationErrors:null},i=z0(t),i.return=r,r.child=i,Ht=r,ct=null)):t=null,t===null)throw wn(r);return Uh(t)?r.lanes=32:r.lanes=536870912,null}var N=s.children;return s=s.fallback,f?(zn(),f=r.mode,N=Wc({mode:"hidden",children:N},f),s=da(s,f,i,null),N.return=r,s.return=r,N.sibling=s,r.child=N,s=r.child,s.memoizedState=ih(i),s.childLanes=lh(t,x,i),r.memoizedState=ah,Zl(null,s)):(Cn(r),sh(r,N))}var A=t.memoizedState;if(A!==null&&(N=A.dehydrated,N!==null)){if(g)r.flags&256?(Cn(r),r.flags&=-257,r=ch(t,r,i)):r.memoizedState!==null?(zn(),r.child=t.child,r.flags|=128,r=null):(zn(),N=s.fallback,f=r.mode,s=Wc({mode:"visible",children:s.children},f),N=da(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=ih(i),s.childLanes=lh(t,x,i),r.memoizedState=ah,r=Zl(null,s));else if(Cn(r),Uh(N)){if(x=N.nextSibling&&N.nextSibling.dataset,x)var G=x.dgst;x=G,s=Error(a(419)),s.stack="",s.digest=x,Hl({value:s,source:null,stack:null}),r=ch(t,r,i)}else if(Ct||si(t,r,i,!1),x=(i&t.childLanes)!==0,Ct||x){if(x=rt,x!==null&&(s=Dm(x,i),s!==0&&s!==A.retryLane))throw A.retryLane=s,ua(t,s),lo(x,t,s),rh;Ih(N)||tu(),r=ch(t,r,i)}else Ih(N)?(r.flags|=192,r.child=t.child,r=null):(t=A.treeContext,ct=Lo(N.nextSibling),Ht=r,Le=!0,xn=null,Ho=!1,t!==null&&E0(r,t),r=sh(r,s.children),r.flags|=4096);return r}return f?(zn(),N=s.fallback,f=r.mode,A=t.child,G=A.sibling,s=Mr(A,{mode:"hidden",children:s.children}),s.subtreeFlags=A.subtreeFlags&65011712,G!==null?N=Mr(G,N):(N=da(N,f,i,null),N.flags|=2),N.return=r,s.return=r,s.sibling=N,r.child=s,Zl(null,s),s=r.child,N=t.child.memoizedState,N===null?N=ih(i):(f=N.cachePool,f!==null?(A=Bt._currentValue,f=f.parent!==A?{parent:A,pool:A}:f):f=O0(),N={baseLanes:N.baseLanes|i,cachePool:f}),s.memoizedState=N,s.childLanes=lh(t,x,i),r.memoizedState=ah,Zl(t.child,s)):(Cn(r),i=t.child,t=i.sibling,i=Mr(i,{mode:"visible",children:s.children}),i.return=r,i.sibling=null,t!==null&&(x=r.deletions,x===null?(r.deletions=[t],r.flags|=16):x.push(t)),r.child=i,r.memoizedState=null,i)}function sh(t,r){return r=Wc({mode:"visible",children:r},t.mode),r.return=t,t.child=r}function Wc(t,r){return t=bo(22,t,null,r),t.lanes=0,t}function ch(t,r,i){return ba(r,t.child,null,i),t=sh(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function Kv(t,r,i){t.lanes|=r;var s=t.alternate;s!==null&&(s.lanes|=r),Bf(t.return,r,i)}function uh(t,r,i,s,f,g){var x=t.memoizedState;x===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:f,treeForkCount:g}:(x.isBackwards=r,x.rendering=null,x.renderingStartTime=0,x.last=s,x.tail=i,x.tailMode=f,x.treeForkCount=g)}function Qv(t,r,i){var s=r.pendingProps,f=s.revealOrder,g=s.tail;s=s.children;var x=xt.current,N=(x&2)!==0;if(N?(x=x&1|2,r.flags|=128):x&=1,J(xt,x),Lt(t,r,s,i),s=Le?ql:0,!N&&t!==null&&(t.flags&128)!==0)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Kv(t,i,r);else if(t.tag===19)Kv(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&&Dc(t)===null&&(f=i),i=i.sibling;i=f,i===null?(f=r.child,r.child=null):(f=i.sibling,i.sibling=null),uh(r,!1,f,i,g,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&&Dc(t)===null){r.child=f;break}t=f.sibling,f.sibling=i,i=f,f=t}uh(r,!0,i,null,g,s);break;case"together":uh(r,!1,null,null,void 0,s);break;default:r.memoizedState=null}return r.child}function Lr(t,r,i){if(t!==null&&(r.dependencies=t.dependencies),En|=r.lanes,(i&r.childLanes)===0)if(t!==null){if(si(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=Mr(t,t.pendingProps),r.child=i,i.return=r;t.sibling!==null;)t=t.sibling,i=i.sibling=Mr(t,t.pendingProps),i.return=r;i.sibling=null}return r.child}function dh(t,r){return(t.lanes&r)!==0?!0:(t=t.dependencies,!!(t!==null&&Cc(t)))}function o3(t,r,i){switch(r.tag){case 3:kt(r,r.stateNode.containerInfo),Sn(r,Bt,t.memoizedState.cache),fa();break;case 27:case 5:Ue(r);break;case 4:kt(r,r.stateNode.containerInfo);break;case 10:Sn(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,Of(r),null;break;case 13:var s=r.memoizedState;if(s!==null)return s.dehydrated!==null?(Cn(r),r.flags|=128,null):(i&r.child.childLanes)!==0?$v(t,r,i):(Cn(r),t=Lr(t,r,i),t!==null?t.sibling:null);Cn(r);break;case 19:var f=(t.flags&128)!==0;if(s=(i&r.childLanes)!==0,s||(si(t,r,i,!1),s=(i&r.childLanes)!==0),f){if(s)return Qv(t,r,i);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),J(xt,xt.current),s)break;return null;case 22:return r.lanes=0,Iv(t,r,i,r.pendingProps);case 24:Sn(r,Bt,t.memoizedState.cache)}return Lr(t,r,i)}function Zv(t,r,i){if(t!==null)if(t.memoizedProps!==r.pendingProps)Ct=!0;else{if(!dh(t,i)&&(r.flags&128)===0)return Ct=!1,o3(t,r,i);Ct=(t.flags&131072)!==0}else Ct=!1,Le&&(r.flags&1048576)!==0&&T0(r,ql,r.index);switch(r.lanes=0,r.tag){case 16:e:{var s=r.pendingProps;if(t=ma(r.elementType),r.type=t,typeof t=="function")mf(t)?(s=xa(t,s),r.tag=1,r=Wv(null,r,t,s,i)):(r.tag=0,r=nh(null,r,t,s,i));else{if(t!=null){var f=t.$$typeof;if(f===T){r.tag=11,r=Hv(null,r,t,s,i);break e}else if(f===M){r.tag=14,r=Pv(null,r,t,s,i);break e}}throw r=ie(t)||t,Error(a(306,r,""))}}return r;case 0:return nh(t,r,r.type,r.pendingProps,i);case 1:return s=r.type,f=xa(s,r.pendingProps),Wv(t,r,s,f,i);case 3:e:{if(kt(r,r.stateNode.containerInfo),t===null)throw Error(a(387));s=r.pendingProps;var g=r.memoizedState;f=g.element,Rf(t,r),Wl(r,s,null,i);var x=r.memoizedState;if(s=x.cache,Sn(r,Bt,s),s!==g.cache&&_f(r,[Bt],i,!0),Gl(),s=x.element,g.isDehydrated)if(g={element:s,isDehydrated:!1,cache:x.cache},r.updateQueue.baseState=g,r.memoizedState=g,r.flags&256){r=Xv(t,r,s,i);break e}else if(s!==f){f=Oo(Error(a(424)),r),Hl(f),r=Xv(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(ct=Lo(t.firstChild),Ht=r,Le=!0,xn=null,Ho=!0,i=I0(r,null,s,i),r.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(fa(),s===f){r=Lr(t,r,i);break e}Lt(t,r,s,i)}r=r.child}return r;case 26:return Gc(t,r),t===null?(i=s1(r.type,null,r.pendingProps,null))?r.memoizedState=i:Le||(i=r.type,t=r.pendingProps,s=su(Ce.current).createElement(i),s[qt]=r,s[to]=t,It(s,i,t),Dt(s),r.stateNode=s):r.memoizedState=s1(r.type,t.memoizedProps,r.pendingProps,t.memoizedState),null;case 27:return Ue(r),t===null&&Le&&(s=r.stateNode=a1(r.type,r.pendingProps,Ce.current),Ht=r,Ho=!0,f=ct,Mn(r.type)?(Vh=f,ct=Lo(s.firstChild)):ct=f),Lt(t,r,r.pendingProps.children,i),Gc(t,r),t===null&&(r.flags|=4194304),r.child;case 5:return t===null&&Le&&((f=s=ct)&&(s=j3(s,r.type,r.pendingProps,Ho),s!==null?(r.stateNode=s,Ht=r,ct=Lo(s.firstChild),Ho=!1,f=!0):f=!1),f||wn(r)),Ue(r),f=r.type,g=r.pendingProps,x=t!==null?t.memoizedProps:null,s=g.children,Hh(f,g)?s=null:x!==null&&Hh(f,x)&&(r.flags|=32),r.memoizedState!==null&&(f=qf(t,r,Xk,null,null,i),fs._currentValue=f),Gc(t,r),Lt(t,r,s,i),r.child;case 6:return t===null&&Le&&((t=i=ct)&&(i=A3(i,r.pendingProps,Ho),i!==null?(r.stateNode=i,Ht=r,ct=null,t=!0):t=!1),t||wn(r)),null;case 13:return $v(t,r,i);case 4:return kt(r,r.stateNode.containerInfo),s=r.pendingProps,t===null?r.child=ba(r,null,s,i):Lt(t,r,s,i),r.child;case 11:return Hv(t,r,r.type,r.pendingProps,i);case 7:return Lt(t,r,r.pendingProps,i),r.child;case 8:return Lt(t,r,r.pendingProps.children,i),r.child;case 12:return Lt(t,r,r.pendingProps.children,i),r.child;case 10:return s=r.pendingProps,Sn(r,r.type,s.value),Lt(t,r,s.children,i),r.child;case 9:return f=r.type._context,s=r.pendingProps.children,ga(r),f=Pt(f),s=s(f),r.flags|=1,Lt(t,r,s,i),r.child;case 14:return Pv(t,r,r.type,r.pendingProps,i);case 15:return Lv(t,r,r.type,r.pendingProps,i);case 19:return Qv(t,r,i);case 31:return t3(t,r,i);case 22:return Iv(t,r,i,r.pendingProps);case 24:return ga(r),s=Pt(Bt),t===null?(f=Nf(),f===null&&(f=rt,g=Cf(),f.pooledCache=g,g.refCount++,g!==null&&(f.pooledCacheLanes|=i),f=g),r.memoizedState={parent:s,cache:f},Ef(r),Sn(r,Bt,f)):((t.lanes&i)!==0&&(Rf(t,r),Wl(r,null,null,i),Gl()),f=t.memoizedState,g=r.memoizedState,f.parent!==s?(f={parent:s,cache:s},r.memoizedState=f,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=f),Sn(r,Bt,s)):(s=g.cache,Sn(r,Bt,s),s!==f.cache&&_f(r,[Bt],i,!0))),Lt(t,r,r.pendingProps.children,i),r.child;case 29:throw r.pendingProps}throw Error(a(156,r.tag))}function Ir(t){t.flags|=4}function fh(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(Bb())t.flags|=8192;else throw va=Ec,Tf}else t.flags&=-16777217}function Yv(t,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!h1(r))if(Bb())t.flags|=8192;else throw va=Ec,Tf}function Xc(t,r){r!==null&&(t.flags|=4),t.flags&16384&&(r=t.tag!==22?Rm():536870912,t.lanes|=r,xi|=r)}function Yl(t,r){if(!Le)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 ut(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 r3(t,r,i){var s=r.pendingProps;switch(xf(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ut(r),null;case 1:return ut(r),null;case 3:return i=r.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),r.memoizedState.cache!==s&&(r.flags|=2048),qr(Bt),xe(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(li(r)?Ir(r):t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Sf())),ut(r),null;case 26:var f=r.type,g=r.memoizedState;return t===null?(Ir(r),g!==null?(ut(r),Yv(r,g)):(ut(r),fh(r,f,null,s,i))):g?g!==t.memoizedState?(Ir(r),ut(r),Yv(r,g)):(ut(r),r.flags&=-16777217):(t=t.memoizedProps,t!==s&&Ir(r),ut(r),fh(r,f,t,s,i)),null;case 27:if(jo(r),i=Ce.current,f=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==s&&Ir(r);else{if(!s){if(r.stateNode===null)throw Error(a(166));return ut(r),null}t=ce.current,li(r)?R0(r):(t=a1(f,s,i),r.stateNode=t,Ir(r))}return ut(r),null;case 5:if(jo(r),f=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==s&&Ir(r);else{if(!s){if(r.stateNode===null)throw Error(a(166));return ut(r),null}if(g=ce.current,li(r))R0(r);else{var x=su(Ce.current);switch(g){case 1:g=x.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:g=x.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":g=x.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":g=x.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":g=x.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof s.is=="string"?x.createElement("select",{is:s.is}):x.createElement("select"),s.multiple?g.multiple=!0:s.size&&(g.size=s.size);break;default:g=typeof s.is=="string"?x.createElement(f,{is:s.is}):x.createElement(f)}}g[qt]=r,g[to]=s;e:for(x=r.child;x!==null;){if(x.tag===5||x.tag===6)g.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===r)break e;for(;x.sibling===null;){if(x.return===null||x.return===r)break e;x=x.return}x.sibling.return=x.return,x=x.sibling}r.stateNode=g;e:switch(It(g,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&&Ir(r)}}return ut(r),fh(r,r.type,t===null?null:t.memoizedProps,r.pendingProps,i),null;case 6:if(t&&r.stateNode!=null)t.memoizedProps!==s&&Ir(r);else{if(typeof s!="string"&&r.stateNode===null)throw Error(a(166));if(t=Ce.current,li(r)){if(t=r.stateNode,i=r.memoizedProps,s=null,f=Ht,f!==null)switch(f.tag){case 27:case 5:s=f.memoizedProps}t[qt]=r,t=!!(t.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||$b(t.nodeValue,i)),t||wn(r,!0)}else t=su(t).createTextNode(s),t[qt]=r,r.stateNode=t}return ut(r),null;case 31:if(i=r.memoizedState,t===null||t.memoizedState!==null){if(s=li(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[qt]=r}else fa(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;ut(r),t=!1}else i=Sf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return r.flags&256?(xo(r),r):(xo(r),null);if((r.flags&128)!==0)throw Error(a(558))}return ut(r),null;case 13:if(s=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=li(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[qt]=r}else fa(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;ut(r),f=!1}else f=Sf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return r.flags&256?(xo(r),r):(xo(r),null)}return xo(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),g=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(g=s.memoizedState.cachePool.pool),g!==f&&(s.flags|=2048)),i!==t&&i&&(r.child.flags|=8192),Xc(r,r.updateQueue),ut(r),null);case 4:return xe(),t===null&&Dh(r.stateNode.containerInfo),ut(r),null;case 10:return qr(r.type),ut(r),null;case 19:if(U(xt),s=r.memoizedState,s===null)return ut(r),null;if(f=(r.flags&128)!==0,g=s.rendering,g===null)if(f)Yl(s,!1);else{if(vt!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(g=Dc(t),g!==null){for(r.flags|=128,Yl(s,!1),t=g.updateQueue,r.updateQueue=t,Xc(r,t),r.subtreeFlags=0,t=i,i=r.child;i!==null;)C0(i,t),i=i.sibling;return J(xt,xt.current&1|2),Le&&Or(r,s.treeForkCount),r.child}t=t.sibling}s.tail!==null&&go()>Yc&&(r.flags|=128,f=!0,Yl(s,!1),r.lanes=4194304)}else{if(!f)if(t=Dc(g),t!==null){if(r.flags|=128,f=!0,t=t.updateQueue,r.updateQueue=t,Xc(r,t),Yl(s,!0),s.tail===null&&s.tailMode==="hidden"&&!g.alternate&&!Le)return ut(r),null}else 2*go()-s.renderingStartTime>Yc&&i!==536870912&&(r.flags|=128,f=!0,Yl(s,!1),r.lanes=4194304);s.isBackwards?(g.sibling=r.child,r.child=g):(t=s.last,t!==null?t.sibling=g:r.child=g,s.last=g)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=go(),t.sibling=null,i=xt.current,J(xt,f?i&1|2:i&1),Le&&Or(r,s.treeForkCount),t):(ut(r),null);case 22:case 23:return xo(r),Mf(),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&&(ut(r),r.subtreeFlags&6&&(r.flags|=8192)):ut(r),i=r.updateQueue,i!==null&&Xc(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(pa),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),qr(Bt),ut(r),null;case 25:return null;case 30:return null}throw Error(a(156,r.tag))}function n3(t,r){switch(xf(r),r.tag){case 1:return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return qr(Bt),xe(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 26:case 27:case 5:return jo(r),null;case 31:if(r.memoizedState!==null){if(xo(r),r.alternate===null)throw Error(a(340));fa()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 13:if(xo(r),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(a(340));fa()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return U(xt),null;case 4:return xe(),null;case 10:return qr(r.type),null;case 22:case 23:return xo(r),Mf(),t!==null&&U(pa),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 24:return qr(Bt),null;case 25:return null;default:return null}}function Jv(t,r){switch(xf(r),r.tag){case 3:qr(Bt),xe();break;case 26:case 27:case 5:jo(r);break;case 4:xe();break;case 31:r.memoizedState!==null&&xo(r);break;case 13:xo(r);break;case 19:U(xt);break;case 10:qr(r.type);break;case 22:case 23:xo(r),Mf(),t!==null&&U(pa);break;case 24:qr(Bt)}}function Jl(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 g=i.create,x=i.inst;s=g(),x.destroy=s}i=i.next}while(i!==f)}}catch(N){Ye(r,r.return,N)}}function Nn(t,r,i){try{var s=r.updateQueue,f=s!==null?s.lastEffect:null;if(f!==null){var g=f.next;s=g;do{if((s.tag&t)===t){var x=s.inst,N=x.destroy;if(N!==void 0){x.destroy=void 0,f=r;var A=i,G=N;try{G()}catch(Q){Ye(f,A,Q)}}}s=s.next}while(s!==g)}}catch(Q){Ye(r,r.return,Q)}}function eb(t){var r=t.updateQueue;if(r!==null){var i=t.stateNode;try{V0(r,i)}catch(s){Ye(t,t.return,s)}}}function tb(t,r,i){i.props=xa(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(s){Ye(t,r,s)}}function es(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){Ye(t,r,f)}}function xr(t,r){var i=t.ref,s=t.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(f){Ye(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){Ye(t,r,f)}else i.current=null}function ob(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){Ye(t,t.return,f)}}function hh(t,r,i){try{var s=t.stateNode;C3(s,t.type,i,r),s[to]=r}catch(f){Ye(t,t.return,f)}}function rb(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Mn(t.type)||t.tag===4}function gh(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||rb(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&&Mn(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 ph(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=Ar));else if(s!==4&&(s===27&&Mn(t.type)&&(i=t.stateNode,r=null),t=t.child,t!==null))for(ph(t,r,i),t=t.sibling;t!==null;)ph(t,r,i),t=t.sibling}function $c(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&&Mn(t.type)&&(i=t.stateNode),t=t.child,t!==null))for($c(t,r,i),t=t.sibling;t!==null;)$c(t,r,i),t=t.sibling}function nb(t){var r=t.stateNode,i=t.memoizedProps;try{for(var s=t.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);It(r,s,i),r[qt]=t,r[to]=i}catch(g){Ye(t,t.return,g)}}var Ur=!1,zt=!1,mh=!1,ab=typeof WeakSet=="function"?WeakSet:Set,Mt=null;function a3(t,r){if(t=t.containerInfo,Fh=pu,t=v0(t),cf(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,g=s.focusNode;s=s.focusOffset;try{i.nodeType,g.nodeType}catch{i=null;break e}var x=0,N=-1,A=-1,G=0,Q=0,te=t,X=null;t:for(;;){for(var K;te!==i||f!==0&&te.nodeType!==3||(N=x+f),te!==g||s!==0&&te.nodeType!==3||(A=x+s),te.nodeType===3&&(x+=te.nodeValue.length),(K=te.firstChild)!==null;)X=te,te=K;for(;;){if(te===t)break t;if(X===i&&++G===f&&(N=x),X===g&&++Q===s&&(A=x),(K=te.nextSibling)!==null)break;te=X,X=te.parentNode}te=K}i=N===-1||A===-1?null:{start:N,end:A}}else i=null}i=i||{start:0,end:0}}else i=null;for(qh={focusedElem:t,selectionRange:i},pu=!1,Mt=r;Mt!==null;)if(r=Mt,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,Mt=t;else for(;Mt!==null;){switch(r=Mt,g=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&&g!==null){t=void 0,i=r,f=g.memoizedProps,g=g.memoizedState,s=i.stateNode;try{var ve=xa(i.type,f);t=s.getSnapshotBeforeUpdate(ve,g),s.__reactInternalSnapshotBeforeUpdate=t}catch(Be){Ye(i,i.return,Be)}}break;case 3:if((t&1024)!==0){if(t=r.stateNode.containerInfo,i=t.nodeType,i===9)Lh(t);else if(i===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Lh(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,Mt=t;break}Mt=r.return}}function ib(t,r,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:Gr(t,i),s&4&&Jl(5,i);break;case 1:if(Gr(t,i),s&4)if(t=i.stateNode,r===null)try{t.componentDidMount()}catch(x){Ye(i,i.return,x)}else{var f=xa(i.type,r.memoizedProps);r=r.memoizedState;try{t.componentDidUpdate(f,r,t.__reactInternalSnapshotBeforeUpdate)}catch(x){Ye(i,i.return,x)}}s&64&&eb(i),s&512&&es(i,i.return);break;case 3:if(Gr(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{V0(t,r)}catch(x){Ye(i,i.return,x)}}break;case 27:r===null&&s&4&&nb(i);case 26:case 5:Gr(t,i),r===null&&s&4&&ob(i),s&512&&es(i,i.return);break;case 12:Gr(t,i);break;case 31:Gr(t,i),s&4&&cb(t,i);break;case 13:Gr(t,i),s&4&&ub(t,i),s&64&&(t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(i=g3.bind(null,i),D3(t,i))));break;case 22:if(s=i.memoizedState!==null||Ur,!s){r=r!==null&&r.memoizedState!==null||zt,f=Ur;var g=zt;Ur=s,(zt=r)&&!g?Wr(t,i,(i.subtreeFlags&8772)!==0):Gr(t,i),Ur=f,zt=g}break;case 30:break;default:Gr(t,i)}}function lb(t){var r=t.alternate;r!==null&&(t.alternate=null,lb(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&Gd(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 dt=null,ro=!1;function Vr(t,r,i){for(i=i.child;i!==null;)sb(t,r,i),i=i.sibling}function sb(t,r,i){if(po&&typeof po.onCommitFiberUnmount=="function")try{po.onCommitFiberUnmount(Bl,i)}catch{}switch(i.tag){case 26:zt||xr(i,r),Vr(t,r,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:zt||xr(i,r);var s=dt,f=ro;Mn(i.type)&&(dt=i.stateNode,ro=!1),Vr(t,r,i),cs(i.stateNode),dt=s,ro=f;break;case 5:zt||xr(i,r);case 6:if(s=dt,f=ro,dt=null,Vr(t,r,i),dt=s,ro=f,dt!==null)if(ro)try{(dt.nodeType===9?dt.body:dt.nodeName==="HTML"?dt.ownerDocument.body:dt).removeChild(i.stateNode)}catch(g){Ye(i,r,g)}else try{dt.removeChild(i.stateNode)}catch(g){Ye(i,r,g)}break;case 18:dt!==null&&(ro?(t=dt,e1(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,i.stateNode),Ni(t)):e1(dt,i.stateNode));break;case 4:s=dt,f=ro,dt=i.stateNode.containerInfo,ro=!0,Vr(t,r,i),dt=s,ro=f;break;case 0:case 11:case 14:case 15:Nn(2,i,r),zt||Nn(4,i,r),Vr(t,r,i);break;case 1:zt||(xr(i,r),s=i.stateNode,typeof s.componentWillUnmount=="function"&&tb(i,r,s)),Vr(t,r,i);break;case 21:Vr(t,r,i);break;case 22:zt=(s=zt)||i.memoizedState!==null,Vr(t,r,i),zt=s;break;default:Vr(t,r,i)}}function cb(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ni(t)}catch(i){Ye(r,r.return,i)}}}function ub(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ni(t)}catch(i){Ye(r,r.return,i)}}function i3(t){switch(t.tag){case 31:case 13:case 19:var r=t.stateNode;return r===null&&(r=t.stateNode=new ab),r;case 22:return t=t.stateNode,r=t._retryCache,r===null&&(r=t._retryCache=new ab),r;default:throw Error(a(435,t.tag))}}function Kc(t,r){var i=i3(t);r.forEach(function(s){if(!i.has(s)){i.add(s);var f=p3.bind(null,t,s);s.then(f,f)}})}function no(t,r){var i=r.deletions;if(i!==null)for(var s=0;s<i.length;s++){var f=i[s],g=t,x=r,N=x;e:for(;N!==null;){switch(N.tag){case 27:if(Mn(N.type)){dt=N.stateNode,ro=!1;break e}break;case 5:dt=N.stateNode,ro=!1;break e;case 3:case 4:dt=N.stateNode.containerInfo,ro=!0;break e}N=N.return}if(dt===null)throw Error(a(160));sb(g,x,f),dt=null,ro=!1,g=f.alternate,g!==null&&(g.return=null),f.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)db(r,t),r=r.sibling}var or=null;function db(t,r){var i=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:no(r,t),ao(t),s&4&&(Nn(3,t,t.return),Jl(3,t),Nn(5,t,t.return));break;case 1:no(r,t),ao(t),s&512&&(zt||i===null||xr(i,i.return)),s&64&&Ur&&(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=or;if(no(r,t),ao(t),s&512&&(zt||i===null||xr(i,i.return)),s&4){var g=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":g=f.getElementsByTagName("title")[0],(!g||g[zl]||g[qt]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=f.createElement(s),f.head.insertBefore(g,f.querySelector("head > title"))),It(g,s,i),g[qt]=t,Dt(g),s=g;break e;case"link":var x=d1("link","href",f).get(s+(i.href||""));if(x){for(var N=0;N<x.length;N++)if(g=x[N],g.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&g.getAttribute("rel")===(i.rel==null?null:i.rel)&&g.getAttribute("title")===(i.title==null?null:i.title)&&g.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){x.splice(N,1);break t}}g=f.createElement(s),It(g,s,i),f.head.appendChild(g);break;case"meta":if(x=d1("meta","content",f).get(s+(i.content||""))){for(N=0;N<x.length;N++)if(g=x[N],g.getAttribute("content")===(i.content==null?null:""+i.content)&&g.getAttribute("name")===(i.name==null?null:i.name)&&g.getAttribute("property")===(i.property==null?null:i.property)&&g.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&g.getAttribute("charset")===(i.charSet==null?null:i.charSet)){x.splice(N,1);break t}}g=f.createElement(s),It(g,s,i),f.head.appendChild(g);break;default:throw Error(a(468,s))}g[qt]=t,Dt(g),s=g}t.stateNode=s}else f1(f,t.type,t.stateNode);else t.stateNode=u1(f,s,t.memoizedProps);else g!==s?(g===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):g.count--,s===null?f1(f,t.type,t.stateNode):u1(f,s,t.memoizedProps)):s===null&&t.stateNode!==null&&hh(t,t.memoizedProps,i.memoizedProps)}break;case 27:no(r,t),ao(t),s&512&&(zt||i===null||xr(i,i.return)),i!==null&&s&4&&hh(t,t.memoizedProps,i.memoizedProps);break;case 5:if(no(r,t),ao(t),s&512&&(zt||i===null||xr(i,i.return)),t.flags&32){f=t.stateNode;try{Za(f,"")}catch(ve){Ye(t,t.return,ve)}}s&4&&t.stateNode!=null&&(f=t.memoizedProps,hh(t,f,i!==null?i.memoizedProps:f)),s&1024&&(mh=!0);break;case 6:if(no(r,t),ao(t),s&4){if(t.stateNode===null)throw Error(a(162));s=t.memoizedProps,i=t.stateNode;try{i.nodeValue=s}catch(ve){Ye(t,t.return,ve)}}break;case 3:if(du=null,f=or,or=cu(r.containerInfo),no(r,t),or=f,ao(t),s&4&&i!==null&&i.memoizedState.isDehydrated)try{Ni(r.containerInfo)}catch(ve){Ye(t,t.return,ve)}mh&&(mh=!1,fb(t));break;case 4:s=or,or=cu(t.stateNode.containerInfo),no(r,t),ao(t),or=s;break;case 12:no(r,t),ao(t);break;case 31:no(r,t),ao(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Kc(t,s)));break;case 13:no(r,t),ao(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Zc=go()),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Kc(t,s)));break;case 22:f=t.memoizedState!==null;var A=i!==null&&i.memoizedState!==null,G=Ur,Q=zt;if(Ur=G||f,zt=Q||A,no(r,t),zt=Q,Ur=G,ao(t),s&8192)e:for(r=t.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(i===null||A||Ur||zt||wa(t)),i=null,r=t;;){if(r.tag===5||r.tag===26){if(i===null){A=i=r;try{if(g=A.stateNode,f)x=g.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{N=A.stateNode;var te=A.memoizedProps.style,X=te!=null&&te.hasOwnProperty("display")?te.display:null;N.style.display=X==null||typeof X=="boolean"?"":(""+X).trim()}}catch(ve){Ye(A,A.return,ve)}}}else if(r.tag===6){if(i===null){A=r;try{A.stateNode.nodeValue=f?"":A.memoizedProps}catch(ve){Ye(A,A.return,ve)}}}else if(r.tag===18){if(i===null){A=r;try{var K=A.stateNode;f?t1(K,!0):t1(A.stateNode,!1)}catch(ve){Ye(A,A.return,ve)}}}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,Kc(t,i))));break;case 19:no(r,t),ao(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,Kc(t,s)));break;case 30:break;case 21:break;default:no(r,t),ao(t)}}function ao(t){var r=t.flags;if(r&2){try{for(var i,s=t.return;s!==null;){if(rb(s)){i=s;break}s=s.return}if(i==null)throw Error(a(160));switch(i.tag){case 27:var f=i.stateNode,g=gh(t);$c(t,g,f);break;case 5:var x=i.stateNode;i.flags&32&&(Za(x,""),i.flags&=-33);var N=gh(t);$c(t,N,x);break;case 3:case 4:var A=i.stateNode.containerInfo,G=gh(t);ph(t,G,A);break;default:throw Error(a(161))}}catch(Q){Ye(t,t.return,Q)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function fb(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var r=t;fb(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),t=t.sibling}}function Gr(t,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)ib(t,r.alternate,r),r=r.sibling}function wa(t){for(t=t.child;t!==null;){var r=t;switch(r.tag){case 0:case 11:case 14:case 15:Nn(4,r,r.return),wa(r);break;case 1:xr(r,r.return);var i=r.stateNode;typeof i.componentWillUnmount=="function"&&tb(r,r.return,i),wa(r);break;case 27:cs(r.stateNode);case 26:case 5:xr(r,r.return),wa(r);break;case 22:r.memoizedState===null&&wa(r);break;case 30:wa(r);break;default:wa(r)}t=t.sibling}}function Wr(t,r,i){for(i=i&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var s=r.alternate,f=t,g=r,x=g.flags;switch(g.tag){case 0:case 11:case 15:Wr(f,g,i),Jl(4,g);break;case 1:if(Wr(f,g,i),s=g,f=s.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(G){Ye(s,s.return,G)}if(s=g,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++)U0(A[f],N)}catch(G){Ye(s,s.return,G)}}i&&x&64&&eb(g),es(g,g.return);break;case 27:nb(g);case 26:case 5:Wr(f,g,i),i&&s===null&&x&4&&ob(g),es(g,g.return);break;case 12:Wr(f,g,i);break;case 31:Wr(f,g,i),i&&x&4&&cb(f,g);break;case 13:Wr(f,g,i),i&&x&4&&ub(f,g);break;case 22:g.memoizedState===null&&Wr(f,g,i),es(g,g.return);break;case 30:break;default:Wr(f,g,i)}r=r.sibling}}function vh(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&&Pl(i))}function bh(t,r){t=null,r.alternate!==null&&(t=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==t&&(r.refCount++,t!=null&&Pl(t))}function rr(t,r,i,s){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)hb(t,r,i,s),r=r.sibling}function hb(t,r,i,s){var f=r.flags;switch(r.tag){case 0:case 11:case 15:rr(t,r,i,s),f&2048&&Jl(9,r);break;case 1:rr(t,r,i,s);break;case 3:rr(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&&Pl(t)));break;case 12:if(f&2048){rr(t,r,i,s),t=r.stateNode;try{var g=r.memoizedProps,x=g.id,N=g.onPostCommit;typeof N=="function"&&N(x,r.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){Ye(r,r.return,A)}}else rr(t,r,i,s);break;case 31:rr(t,r,i,s);break;case 13:rr(t,r,i,s);break;case 23:break;case 22:g=r.stateNode,x=r.alternate,r.memoizedState!==null?g._visibility&2?rr(t,r,i,s):ts(t,r):g._visibility&2?rr(t,r,i,s):(g._visibility|=2,vi(t,r,i,s,(r.subtreeFlags&10256)!==0||!1)),f&2048&&vh(x,r);break;case 24:rr(t,r,i,s),f&2048&&bh(r.alternate,r);break;default:rr(t,r,i,s)}}function vi(t,r,i,s,f){for(f=f&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var g=t,x=r,N=i,A=s,G=x.flags;switch(x.tag){case 0:case 11:case 15:vi(g,x,N,A,f),Jl(8,x);break;case 23:break;case 22:var Q=x.stateNode;x.memoizedState!==null?Q._visibility&2?vi(g,x,N,A,f):ts(g,x):(Q._visibility|=2,vi(g,x,N,A,f)),f&&G&2048&&vh(x.alternate,x);break;case 24:vi(g,x,N,A,f),f&&G&2048&&bh(x.alternate,x);break;default:vi(g,x,N,A,f)}r=r.sibling}}function ts(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:ts(i,s),f&2048&&vh(s.alternate,s);break;case 24:ts(i,s),f&2048&&bh(s.alternate,s);break;default:ts(i,s)}r=r.sibling}}var os=8192;function bi(t,r,i){if(t.subtreeFlags&os)for(t=t.child;t!==null;)gb(t,r,i),t=t.sibling}function gb(t,r,i){switch(t.tag){case 26:bi(t,r,i),t.flags&os&&t.memoizedState!==null&&W3(i,or,t.memoizedState,t.memoizedProps);break;case 5:bi(t,r,i);break;case 3:case 4:var s=or;or=cu(t.stateNode.containerInfo),bi(t,r,i),or=s;break;case 22:t.memoizedState===null&&(s=t.alternate,s!==null&&s.memoizedState!==null?(s=os,os=16777216,bi(t,r,i),os=s):bi(t,r,i));break;default:bi(t,r,i)}}function pb(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 rs(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];Mt=s,vb(s,t)}pb(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)mb(t),t=t.sibling}function mb(t){switch(t.tag){case 0:case 11:case 15:rs(t),t.flags&2048&&Nn(9,t,t.return);break;case 3:rs(t);break;case 12:rs(t);break;case 22:var r=t.stateNode;t.memoizedState!==null&&r._visibility&2&&(t.return===null||t.return.tag!==13)?(r._visibility&=-3,Qc(t)):rs(t);break;default:rs(t)}}function Qc(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];Mt=s,vb(s,t)}pb(t)}for(t=t.child;t!==null;){switch(r=t,r.tag){case 0:case 11:case 15:Nn(8,r,r.return),Qc(r);break;case 22:i=r.stateNode,i._visibility&2&&(i._visibility&=-3,Qc(r));break;default:Qc(r)}t=t.sibling}}function vb(t,r){for(;Mt!==null;){var i=Mt;switch(i.tag){case 0:case 11:case 15:Nn(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:Pl(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Mt=s;else e:for(i=t;Mt!==null;){s=Mt;var f=s.sibling,g=s.return;if(lb(s),s===i){Mt=null;break e}if(f!==null){f.return=g,Mt=f;break e}Mt=g}}}var l3={getCacheForType:function(t){var r=Pt(Bt),i=r.data.get(t);return i===void 0&&(i=t(),r.data.set(t,i)),i},cacheSignal:function(){return Pt(Bt).controller.signal}},s3=typeof WeakMap=="function"?WeakMap:Map,Xe=0,rt=null,Me=null,qe=0,Ze=0,wo=null,Tn=!1,yi=!1,yh=!1,Xr=0,vt=0,En=0,Sa=0,xh=0,So=0,xi=0,ns=null,io=null,wh=!1,Zc=0,bb=0,Yc=1/0,Jc=null,Rn=null,Et=0,jn=null,wi=null,$r=0,Sh=0,kh=null,yb=null,as=0,Bh=null;function ko(){return(Xe&2)!==0&&qe!==0?qe&-qe:I.T!==null?Eh():Mm()}function xb(){if(So===0)if((qe&536870912)===0||Le){var t=lc;lc<<=1,(lc&3932160)===0&&(lc=262144),So=t}else So=536870912;return t=yo.current,t!==null&&(t.flags|=32),So}function lo(t,r,i){(t===rt&&(Ze===2||Ze===9)||t.cancelPendingCommit!==null)&&(Si(t,0),An(t,qe,So,!1)),Cl(t,i),((Xe&2)===0||t!==rt)&&(t===rt&&((Xe&2)===0&&(Sa|=i),vt===4&&An(t,qe,So,!1)),wr(t))}function wb(t,r,i){if((Xe&6)!==0)throw Error(a(327));var s=!i&&(r&127)===0&&(r&t.expiredLanes)===0||_l(t,r),f=s?d3(t,r):Ch(t,r,!0),g=s;do{if(f===0){yi&&!s&&An(t,r,0,!1);break}else{if(i=t.current.alternate,g&&!c3(i)){f=Ch(t,r,!1),g=!1;continue}if(f===2){if(g=r,t.errorRecoveryDisabledLanes&g)var x=0;else x=t.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){r=x;e:{var N=t;f=ns;var A=N.current.memoizedState.isDehydrated;if(A&&(Si(N,x).flags|=256),x=Ch(N,x,!1),x!==2){if(yh&&!A){N.errorRecoveryDisabledLanes|=g,Sa|=g,f=4;break e}g=io,io=f,g!==null&&(io===null?io=g:io.push.apply(io,g))}f=x}if(g=!1,f!==2)continue}}if(f===1){Si(t,0),An(t,r,0,!0);break}e:{switch(s=t,g=f,g){case 0:case 1:throw Error(a(345));case 4:if((r&4194048)!==r)break;case 6:An(s,r,So,!Tn);break e;case 2:io=null;break;case 3:case 5:break;default:throw Error(a(329))}if((r&62914560)===r&&(f=Zc+300-go(),10<f)){if(An(s,r,So,!Tn),cc(s,0,!0)!==0)break e;$r=r,s.timeoutHandle=Yb(Sb.bind(null,s,i,io,Jc,wh,r,So,Sa,xi,Tn,g,"Throttled",-0,0),f);break e}Sb(s,i,io,Jc,wh,r,So,Sa,xi,Tn,g,null,-0,0)}}break}while(!0);wr(t)}function Sb(t,r,i,s,f,g,x,N,A,G,Q,te,X,K){if(t.timeoutHandle=-1,te=r.subtreeFlags,te&8192||(te&16785408)===16785408){te={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ar},gb(r,g,te);var ve=(g&62914560)===g?Zc-go():(g&4194048)===g?bb-go():0;if(ve=X3(te,ve),ve!==null){$r=g,t.cancelPendingCommit=ve(Eb.bind(null,t,r,g,i,s,f,x,N,A,Q,te,null,X,K)),An(t,g,x,!G);return}}Eb(t,r,g,i,s,f,x,N,A)}function c3(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],g=f.getSnapshot;f=f.value;try{if(!vo(g(),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 An(t,r,i,s){r&=~xh,r&=~Sa,t.suspendedLanes|=r,t.pingedLanes&=~r,s&&(t.warmLanes|=r),s=t.expirationTimes;for(var f=r;0<f;){var g=31-mo(f),x=1<<g;s[g]=-1,f&=~x}i!==0&&jm(t,i,r)}function eu(){return(Xe&6)===0?(is(0),!1):!0}function _h(){if(Me!==null){if(Ze===0)var t=Me.return;else t=Me,Fr=ha=null,Lf(t),fi=null,Il=0,t=Me;for(;t!==null;)Jv(t.alternate,t),t=t.return;Me=null}}function Si(t,r){var i=t.timeoutHandle;i!==-1&&(t.timeoutHandle=-1,T3(i)),i=t.cancelPendingCommit,i!==null&&(t.cancelPendingCommit=null,i()),$r=0,_h(),rt=t,Me=i=Mr(t.current,null),qe=r,Ze=0,wo=null,Tn=!1,yi=_l(t,r),yh=!1,xi=So=xh=Sa=En=vt=0,io=ns=null,wh=!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-mo(s),g=1<<f;r|=t[f],s&=~g}return Xr=r,wc(),i}function kb(t,r){Te=null,I.H=Ql,r===di||r===Tc?(r=H0(),Ze=3):r===Tf?(r=H0(),Ze=4):Ze=r===rh?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,wo=r,Me===null&&(vt=1,Uc(t,Oo(r,t.current)))}function Bb(){var t=yo.current;return t===null?!0:(qe&4194048)===qe?Po===null:(qe&62914560)===qe||(qe&536870912)!==0?t===Po:!1}function _b(){var t=I.H;return I.H=Ql,t===null?Ql:t}function Cb(){var t=I.A;return I.A=l3,t}function tu(){vt=4,Tn||(qe&4194048)!==qe&&yo.current!==null||(yi=!0),(En&134217727)===0&&(Sa&134217727)===0||rt===null||An(rt,qe,So,!1)}function Ch(t,r,i){var s=Xe;Xe|=2;var f=_b(),g=Cb();(rt!==t||qe!==r)&&(Jc=null,Si(t,r)),r=!1;var x=vt;e:do try{if(Ze!==0&&Me!==null){var N=Me,A=wo;switch(Ze){case 8:_h(),x=6;break e;case 3:case 2:case 9:case 6:yo.current===null&&(r=!0);var G=Ze;if(Ze=0,wo=null,ki(t,N,A,G),i&&yi){x=0;break e}break;default:G=Ze,Ze=0,wo=null,ki(t,N,A,G)}}u3(),x=vt;break}catch(Q){kb(t,Q)}while(!0);return r&&t.shellSuspendCounter++,Fr=ha=null,Xe=s,I.H=f,I.A=g,Me===null&&(rt=null,qe=0,wc()),x}function u3(){for(;Me!==null;)zb(Me)}function d3(t,r){var i=Xe;Xe|=2;var s=_b(),f=Cb();rt!==t||qe!==r?(Jc=null,Yc=go()+500,Si(t,r)):yi=_l(t,r);e:do try{if(Ze!==0&&Me!==null){r=Me;var g=wo;t:switch(Ze){case 1:Ze=0,wo=null,ki(t,r,g,1);break;case 2:case 9:if(F0(g)){Ze=0,wo=null,Nb(r);break}r=function(){Ze!==2&&Ze!==9||rt!==t||(Ze=7),wr(t)},g.then(r,r);break e;case 3:Ze=7;break e;case 4:Ze=5;break e;case 7:F0(g)?(Ze=0,wo=null,Nb(r)):(Ze=0,wo=null,ki(t,r,g,7));break;case 5:var x=null;switch(Me.tag){case 26:x=Me.memoizedState;case 5:case 27:var N=Me;if(x?h1(x):N.stateNode.complete){Ze=0,wo=null;var A=N.sibling;if(A!==null)Me=A;else{var G=N.return;G!==null?(Me=G,ou(G)):Me=null}break t}}Ze=0,wo=null,ki(t,r,g,5);break;case 6:Ze=0,wo=null,ki(t,r,g,6);break;case 8:_h(),vt=6;break e;default:throw Error(a(462))}}f3();break}catch(Q){kb(t,Q)}while(!0);return Fr=ha=null,I.H=s,I.A=f,Xe=i,Me!==null?0:(rt=null,qe=0,wc(),vt)}function f3(){for(;Me!==null&&!M5();)zb(Me)}function zb(t){var r=Zv(t.alternate,t,Xr);t.memoizedProps=t.pendingProps,r===null?ou(t):Me=r}function Nb(t){var r=t,i=r.alternate;switch(r.tag){case 15:case 0:r=Gv(i,r,r.pendingProps,r.type,void 0,qe);break;case 11:r=Gv(i,r,r.pendingProps,r.type.render,r.ref,qe);break;case 5:Lf(r);default:Jv(i,r),r=Me=C0(r,Xr),r=Zv(i,r,Xr)}t.memoizedProps=t.pendingProps,r===null?ou(t):Me=r}function ki(t,r,i,s){Fr=ha=null,Lf(r),fi=null,Il=0;var f=r.return;try{if(e3(t,f,r,i,qe)){vt=1,Uc(t,Oo(i,t.current)),Me=null;return}}catch(g){if(f!==null)throw Me=f,g;vt=1,Uc(t,Oo(i,t.current)),Me=null;return}r.flags&32768?(Le||s===1?t=!0:yi||(qe&536870912)!==0?t=!1:(Tn=t=!0,(s===2||s===9||s===3||s===6)&&(s=yo.current,s!==null&&s.tag===13&&(s.flags|=16384))),Tb(r,t)):ou(r)}function ou(t){var r=t;do{if((r.flags&32768)!==0){Tb(r,Tn);return}t=r.return;var i=r3(r.alternate,r,Xr);if(i!==null){Me=i;return}if(r=r.sibling,r!==null){Me=r;return}Me=r=t}while(r!==null);vt===0&&(vt=5)}function Tb(t,r){do{var i=n3(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);vt=6,Me=null}function Eb(t,r,i,s,f,g,x,N,A){t.cancelPendingCommit=null;do ru();while(Et!==0);if((Xe&6)!==0)throw Error(a(327));if(r!==null){if(r===t.current)throw Error(a(177));if(g=r.lanes|r.childLanes,g|=gf,G5(t,i,g,x,N,A),t===rt&&(Me=rt=null,qe=0),wi=r,jn=t,$r=i,Sh=g,kh=f,yb=s,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,m3(ac,function(){return Mb(),null})):(t.callbackNode=null,t.callbackPriority=0),s=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||s){s=I.T,I.T=null,f=oe.p,oe.p=2,x=Xe,Xe|=4;try{a3(t,r,i)}finally{Xe=x,oe.p=f,I.T=s}}Et=1,Rb(),jb(),Ab()}}function Rb(){if(Et===1){Et=0;var t=jn,r=wi,i=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||i){i=I.T,I.T=null;var s=oe.p;oe.p=2;var f=Xe;Xe|=4;try{db(r,t);var g=qh,x=v0(t.containerInfo),N=g.focusedElem,A=g.selectionRange;if(x!==N&&N&&N.ownerDocument&&m0(N.ownerDocument.documentElement,N)){if(A!==null&&cf(N)){var G=A.start,Q=A.end;if(Q===void 0&&(Q=G),"selectionStart"in N)N.selectionStart=G,N.selectionEnd=Math.min(Q,N.value.length);else{var te=N.ownerDocument||document,X=te&&te.defaultView||window;if(X.getSelection){var K=X.getSelection(),ve=N.textContent.length,Be=Math.min(A.start,ve),tt=A.end===void 0?Be:Math.min(A.end,ve);!K.extend&&Be>tt&&(x=tt,tt=Be,Be=x);var L=p0(N,Be),q=p0(N,tt);if(L&&q&&(K.rangeCount!==1||K.anchorNode!==L.node||K.anchorOffset!==L.offset||K.focusNode!==q.node||K.focusOffset!==q.offset)){var V=te.createRange();V.setStart(L.node,L.offset),K.removeAllRanges(),Be>tt?(K.addRange(V),K.extend(q.node,q.offset)):(V.setEnd(q.node,q.offset),K.addRange(V))}}}}for(te=[],K=N;K=K.parentNode;)K.nodeType===1&&te.push({element:K,left:K.scrollLeft,top:K.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;N<te.length;N++){var Y=te[N];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}pu=!!Fh,qh=Fh=null}finally{Xe=f,oe.p=s,I.T=i}}t.current=r,Et=2}}function jb(){if(Et===2){Et=0;var t=jn,r=wi,i=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||i){i=I.T,I.T=null;var s=oe.p;oe.p=2;var f=Xe;Xe|=4;try{ib(t,r.alternate,r)}finally{Xe=f,oe.p=s,I.T=i}}Et=3}}function Ab(){if(Et===4||Et===3){Et=0,O5();var t=jn,r=wi,i=$r,s=yb;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Et=5:(Et=0,wi=jn=null,Db(t,t.pendingLanes));var f=t.pendingLanes;if(f===0&&(Rn=null),Ud(i),r=r.stateNode,po&&typeof po.onCommitFiberRoot=="function")try{po.onCommitFiberRoot(Bl,r,void 0,(r.current.flags&128)===128)}catch{}if(s!==null){r=I.T,f=oe.p,oe.p=2,I.T=null;try{for(var g=t.onRecoverableError,x=0;x<s.length;x++){var N=s[x];g(N.value,{componentStack:N.stack})}}finally{I.T=r,oe.p=f}}($r&3)!==0&&ru(),wr(t),f=t.pendingLanes,(i&261930)!==0&&(f&42)!==0?t===Bh?as++:(as=0,Bh=t):as=0,is(0)}}function Db(t,r){(t.pooledCacheLanes&=r)===0&&(r=t.pooledCache,r!=null&&(t.pooledCache=null,Pl(r)))}function ru(){return Rb(),jb(),Ab(),Mb()}function Mb(){if(Et!==5)return!1;var t=jn,r=Sh;Sh=0;var i=Ud($r),s=I.T,f=oe.p;try{oe.p=32>i?32:i,I.T=null,i=kh,kh=null;var g=jn,x=$r;if(Et=0,wi=jn=null,$r=0,(Xe&6)!==0)throw Error(a(331));var N=Xe;if(Xe|=4,mb(g.current),hb(g,g.current,x,i),Xe=N,is(0,!1),po&&typeof po.onPostCommitFiberRoot=="function")try{po.onPostCommitFiberRoot(Bl,g)}catch{}return!0}finally{oe.p=f,I.T=s,Db(t,r)}}function Ob(t,r,i){r=Oo(i,r),r=oh(t.stateNode,r,2),t=_n(t,r,2),t!==null&&(Cl(t,2),wr(t))}function Ye(t,r,i){if(t.tag===3)Ob(t,t,i);else for(;r!==null;){if(r.tag===3){Ob(r,t,i);break}else if(r.tag===1){var s=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Rn===null||!Rn.has(s))){t=Oo(i,t),i=Fv(2),s=_n(r,i,2),s!==null&&(qv(i,s,r,t),Cl(s,2),wr(s));break}}r=r.return}}function zh(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)||(yh=!0,f.add(i),t=h3.bind(null,t,r,i),r.then(t,t))}function h3(t,r,i){var s=t.pingCache;s!==null&&s.delete(r),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,rt===t&&(qe&i)===i&&(vt===4||vt===3&&(qe&62914560)===qe&&300>go()-Zc?(Xe&2)===0&&Si(t,0):xh|=i,xi===qe&&(xi=0)),wr(t)}function Fb(t,r){r===0&&(r=Rm()),t=ua(t,r),t!==null&&(Cl(t,r),wr(t))}function g3(t){var r=t.memoizedState,i=0;r!==null&&(i=r.retryLane),Fb(t,i)}function p3(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),Fb(t,i)}function m3(t,r){return Hd(t,r)}var nu=null,Bi=null,Nh=!1,au=!1,Th=!1,Dn=0;function wr(t){t!==Bi&&t.next===null&&(Bi===null?nu=Bi=t:Bi=Bi.next=t),au=!0,Nh||(Nh=!0,b3())}function is(t,r){if(!Th&&au){Th=!0;do for(var i=!1,s=nu;s!==null;){if(t!==0){var f=s.pendingLanes;if(f===0)var g=0;else{var x=s.suspendedLanes,N=s.pingedLanes;g=(1<<31-mo(42|t)+1)-1,g&=f&~(x&~N),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(i=!0,Lb(s,g))}else g=qe,g=cc(s,s===rt?g:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(g&3)===0||_l(s,g)||(i=!0,Lb(s,g));s=s.next}while(i);Th=!1}}function v3(){qb()}function qb(){au=Nh=!1;var t=0;Dn!==0&&N3()&&(t=Dn);for(var r=go(),i=null,s=nu;s!==null;){var f=s.next,g=Hb(s,r);g===0?(s.next=null,i===null?nu=f:i.next=f,f===null&&(Bi=i)):(i=s,(t!==0||(g&3)!==0)&&(au=!0)),s=f}Et!==0&&Et!==5||is(t),Dn!==0&&(Dn=0)}function Hb(t,r){for(var i=t.suspendedLanes,s=t.pingedLanes,f=t.expirationTimes,g=t.pendingLanes&-62914561;0<g;){var x=31-mo(g),N=1<<x,A=f[x];A===-1?((N&i)===0||(N&s)!==0)&&(f[x]=V5(N,r)):A<=r&&(t.expiredLanes|=N),g&=~N}if(r=rt,i=qe,i=cc(t,t===r?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s=t.callbackNode,i===0||t===r&&(Ze===2||Ze===9)||t.cancelPendingCommit!==null)return s!==null&&s!==null&&Pd(s),t.callbackNode=null,t.callbackPriority=0;if((i&3)===0||_l(t,i)){if(r=i&-i,r===t.callbackPriority)return r;switch(s!==null&&Pd(s),Ud(i)){case 2:case 8:i=Tm;break;case 32:i=ac;break;case 268435456:i=Em;break;default:i=ac}return s=Pb.bind(null,t),i=Hd(i,s),t.callbackPriority=r,t.callbackNode=i,r}return s!==null&&s!==null&&Pd(s),t.callbackPriority=2,t.callbackNode=null,2}function Pb(t,r){if(Et!==0&&Et!==5)return t.callbackNode=null,t.callbackPriority=0,null;var i=t.callbackNode;if(ru()&&t.callbackNode!==i)return null;var s=qe;return s=cc(t,t===rt?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s===0?null:(wb(t,s,r),Hb(t,go()),t.callbackNode!=null&&t.callbackNode===i?Pb.bind(null,t):null)}function Lb(t,r){if(ru())return null;wb(t,r,!0)}function b3(){E3(function(){(Xe&6)!==0?Hd(Nm,v3):qb()})}function Eh(){if(Dn===0){var t=ci;t===0&&(t=ic,ic<<=1,(ic&261888)===0&&(ic=256)),Dn=t}return Dn}function Ib(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:hc(""+t)}function Ub(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 y3(t,r,i,s,f){if(r==="submit"&&i&&i.stateNode===f){var g=Ib((f[to]||null).action),x=s.submitter;x&&(r=(r=x[to]||null)?Ib(r.formAction):x.getAttribute("formAction"),r!==null&&(g=r,x=null));var N=new vc("action","action",null,s,f);t.push({event:N,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Dn!==0){var A=x?Ub(f,x):new FormData(f);Qf(i,{pending:!0,data:A,method:f.method,action:g},null,A)}}else typeof g=="function"&&(N.preventDefault(),A=x?Ub(f,x):new FormData(f),Qf(i,{pending:!0,data:A,method:f.method,action:g},g,A))},currentTarget:f}]})}}for(var Rh=0;Rh<hf.length;Rh++){var jh=hf[Rh],x3=jh.toLowerCase(),w3=jh[0].toUpperCase()+jh.slice(1);tr(x3,"on"+w3)}tr(x0,"onAnimationEnd"),tr(w0,"onAnimationIteration"),tr(S0,"onAnimationStart"),tr("dblclick","onDoubleClick"),tr("focusin","onFocus"),tr("focusout","onBlur"),tr(Fk,"onTransitionRun"),tr(qk,"onTransitionStart"),tr(Hk,"onTransitionCancel"),tr(k0,"onTransitionEnd"),Ka("onMouseEnter",["mouseout","mouseover"]),Ka("onMouseLeave",["mouseout","mouseover"]),Ka("onPointerEnter",["pointerout","pointerover"]),Ka("onPointerLeave",["pointerout","pointerover"]),ia("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ia("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ia("onBeforeInput",["compositionend","keypress","textInput","paste"]),ia("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ia("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ia("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ls="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(" "),S3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ls));function Vb(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 g=void 0;if(r)for(var x=s.length-1;0<=x;x--){var N=s[x],A=N.instance,G=N.currentTarget;if(N=N.listener,A!==g&&f.isPropagationStopped())break e;g=N,f.currentTarget=G;try{g(f)}catch(Q){xc(Q)}f.currentTarget=null,g=A}else for(x=0;x<s.length;x++){if(N=s[x],A=N.instance,G=N.currentTarget,N=N.listener,A!==g&&f.isPropagationStopped())break e;g=N,f.currentTarget=G;try{g(f)}catch(Q){xc(Q)}f.currentTarget=null,g=A}}}}function Oe(t,r){var i=r[Vd];i===void 0&&(i=r[Vd]=new Set);var s=t+"__bubble";i.has(s)||(Gb(r,t,2,!1),i.add(s))}function Ah(t,r,i){var s=0;r&&(s|=4),Gb(i,t,s,r)}var iu="_reactListening"+Math.random().toString(36).slice(2);function Dh(t){if(!t[iu]){t[iu]=!0,qm.forEach(function(i){i!=="selectionchange"&&(S3.has(i)||Ah(i,!1,t),Ah(i,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[iu]||(r[iu]=!0,Ah("selectionchange",!1,r))}}function Gb(t,r,i,s){switch(x1(r)){case 2:var f=Q3;break;case 8:f=Z3;break;default:f=Kh}i=f.bind(null,r,i,t),f=void 0,!Jd||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 Mh(t,r,i,s,f){var g=s;if((r&1)===0&&(r&2)===0&&s!==null)e:for(;;){if(s===null)return;var x=s.tag;if(x===3||x===4){var N=s.stateNode.containerInfo;if(N===f)break;if(x===4)for(x=s.return;x!==null;){var A=x.tag;if((A===3||A===4)&&x.stateNode.containerInfo===f)return;x=x.return}for(;N!==null;){if(x=Wa(N),x===null)return;if(A=x.tag,A===5||A===6||A===26||A===27){s=g=x;continue e}N=N.parentNode}}s=s.return}Qm(function(){var G=g,Q=Zd(i),te=[];e:{var X=B0.get(t);if(X!==void 0){var K=vc,ve=t;switch(t){case"keypress":if(pc(i)===0)break e;case"keydown":case"keyup":K=pk;break;case"focusin":ve="focus",K=rf;break;case"focusout":ve="blur",K=rf;break;case"beforeblur":case"afterblur":K=rf;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=Jm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=rk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=bk;break;case x0:case w0:case S0:K=ik;break;case k0:K=xk;break;case"scroll":case"scrollend":K=tk;break;case"wheel":K=Sk;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=t0;break;case"toggle":case"beforetoggle":K=Bk}var Be=(r&4)!==0,tt=!Be&&(t==="scroll"||t==="scrollend"),L=Be?X!==null?X+"Capture":null:X;Be=[];for(var q=G,V;q!==null;){var Y=q;if(V=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||V===null||L===null||(Y=Tl(q,L),Y!=null&&Be.push(ss(q,Y,V))),tt)break;q=q.return}0<Be.length&&(X=new K(X,ve,null,i,Q),te.push({event:X,listeners:Be}))}}if((r&7)===0){e:{if(X=t==="mouseover"||t==="pointerover",K=t==="mouseout"||t==="pointerout",X&&i!==Qd&&(ve=i.relatedTarget||i.fromElement)&&(Wa(ve)||ve[Ga]))break e;if((K||X)&&(X=Q.window===Q?Q:(X=Q.ownerDocument)?X.defaultView||X.parentWindow:window,K?(ve=i.relatedTarget||i.toElement,K=G,ve=ve?Wa(ve):null,ve!==null&&(tt=c(ve),Be=ve.tag,ve!==tt||Be!==5&&Be!==27&&Be!==6)&&(ve=null)):(K=null,ve=G),K!==ve)){if(Be=Jm,Y="onMouseLeave",L="onMouseEnter",q="mouse",(t==="pointerout"||t==="pointerover")&&(Be=t0,Y="onPointerLeave",L="onPointerEnter",q="pointer"),tt=K==null?X:Nl(K),V=ve==null?X:Nl(ve),X=new Be(Y,q+"leave",K,i,Q),X.target=tt,X.relatedTarget=V,Y=null,Wa(Q)===G&&(Be=new Be(L,q+"enter",ve,i,Q),Be.target=V,Be.relatedTarget=tt,Y=Be),tt=Y,K&&ve)t:{for(Be=k3,L=K,q=ve,V=0,Y=L;Y;Y=Be(Y))V++;Y=0;for(var Se=q;Se;Se=Be(Se))Y++;for(;0<V-Y;)L=Be(L),V--;for(;0<Y-V;)q=Be(q),Y--;for(;V--;){if(L===q||q!==null&&L===q.alternate){Be=L;break t}L=Be(L),q=Be(q)}Be=null}else Be=null;K!==null&&Wb(te,X,K,Be,!1),ve!==null&&tt!==null&&Wb(te,tt,ve,Be,!0)}}e:{if(X=G?Nl(G):window,K=X.nodeName&&X.nodeName.toLowerCase(),K==="select"||K==="input"&&X.type==="file")var Ve=c0;else if(l0(X))if(u0)Ve=Dk;else{Ve=jk;var ye=Rk}else K=X.nodeName,!K||K.toLowerCase()!=="input"||X.type!=="checkbox"&&X.type!=="radio"?G&&Kd(G.elementType)&&(Ve=c0):Ve=Ak;if(Ve&&(Ve=Ve(t,G))){s0(te,Ve,i,Q);break e}ye&&ye(t,X,G),t==="focusout"&&G&&X.type==="number"&&G.memoizedProps.value!=null&&$d(X,"number",X.value)}switch(ye=G?Nl(G):window,t){case"focusin":(l0(ye)||ye.contentEditable==="true")&&(ti=ye,uf=G,Fl=null);break;case"focusout":Fl=uf=ti=null;break;case"mousedown":df=!0;break;case"contextmenu":case"mouseup":case"dragend":df=!1,b0(te,i,Q);break;case"selectionchange":if(Ok)break;case"keydown":case"keyup":b0(te,i,Q)}var Re;if(af)e:{switch(t){case"compositionstart":var He="onCompositionStart";break e;case"compositionend":He="onCompositionEnd";break e;case"compositionupdate":He="onCompositionUpdate";break e}He=void 0}else ei?a0(t,i)&&(He="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(He="onCompositionStart");He&&(o0&&i.locale!=="ko"&&(ei||He!=="onCompositionStart"?He==="onCompositionEnd"&&ei&&(Re=Zm()):(bn=Q,ef="value"in bn?bn.value:bn.textContent,ei=!0)),ye=lu(G,He),0<ye.length&&(He=new e0(He,t,null,i,Q),te.push({event:He,listeners:ye}),Re?He.data=Re:(Re=i0(i),Re!==null&&(He.data=Re)))),(Re=Ck?zk(t,i):Nk(t,i))&&(He=lu(G,"onBeforeInput"),0<He.length&&(ye=new e0("onBeforeInput","beforeinput",null,i,Q),te.push({event:ye,listeners:He}),ye.data=Re)),y3(te,t,G,i,Q)}Vb(te,r)})}function ss(t,r,i){return{instance:t,listener:r,currentTarget:i}}function lu(t,r){for(var i=r+"Capture",s=[];t!==null;){var f=t,g=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||g===null||(f=Tl(t,i),f!=null&&s.unshift(ss(t,f,g)),f=Tl(t,r),f!=null&&s.push(ss(t,f,g))),t.tag===3)return s;t=t.return}return[]}function k3(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Wb(t,r,i,s,f){for(var g=r._reactName,x=[];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=Tl(i,g),G!=null&&x.unshift(ss(i,G,A))):f||(G=Tl(i,g),G!=null&&x.push(ss(i,G,A)))),i=i.return}x.length!==0&&t.push({event:r,listeners:x})}var B3=/\r\n?/g,_3=/\u0000|\uFFFD/g;function Xb(t){return(typeof t=="string"?t:""+t).replace(B3,`
|
|
49
|
-
`).replace(_3,"")}function $b(t,r){return r=Xb(r),Xb(t)===r}function et(t,r,i,s,f,g){switch(i){case"children":typeof s=="string"?r==="body"||r==="textarea"&&s===""||Za(t,s):(typeof s=="number"||typeof s=="bigint")&&r!=="body"&&Za(t,""+s);break;case"className":dc(t,"class",s);break;case"tabIndex":dc(t,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":dc(t,i,s);break;case"style":$m(t,s,g);break;case"data":if(r!=="object"){dc(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=hc(""+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 g=="function"&&(i==="formAction"?(r!=="input"&&et(t,r,"name",f.name,f,null),et(t,r,"formEncType",f.formEncType,f,null),et(t,r,"formMethod",f.formMethod,f,null),et(t,r,"formTarget",f.formTarget,f,null)):(et(t,r,"encType",f.encType,f,null),et(t,r,"method",f.method,f,null),et(t,r,"target",f.target,f,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(i);break}s=hc(""+s),t.setAttribute(i,s);break;case"onClick":s!=null&&(t.onclick=Ar);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=hc(""+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),uc(t,"popover",s);break;case"xlinkActuate":jr(t,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":jr(t,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":jr(t,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":jr(t,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":jr(t,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":jr(t,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":jr(t,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":jr(t,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":jr(t,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":uc(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=J5.get(i)||i,uc(t,i,s))}}function Oh(t,r,i,s,f,g){switch(i){case"style":$m(t,s,g);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"?Za(t,s):(typeof s=="number"||typeof s=="bigint")&&Za(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=Ar);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Hm.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(f=i.endsWith("Capture"),r=i.slice(2,f?i.length-7:void 0),g=t[to]||null,g=g!=null?g[i]:null,typeof g=="function"&&t.removeEventListener(r,g,f),typeof s=="function")){typeof g!="function"&&g!==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,""):uc(t,i,s)}}}function It(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,g;for(g in i)if(i.hasOwnProperty(g)){var x=i[g];if(x!=null)switch(g){case"src":s=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,r));default:et(t,r,g,x,i,null)}}f&&et(t,r,"srcSet",i.srcSet,i,null),s&&et(t,r,"src",i.src,i,null);return;case"input":Oe("invalid",t);var N=g=x=f=null,A=null,G=null;for(s in i)if(i.hasOwnProperty(s)){var Q=i[s];if(Q!=null)switch(s){case"name":f=Q;break;case"type":x=Q;break;case"checked":A=Q;break;case"defaultChecked":G=Q;break;case"value":g=Q;break;case"defaultValue":N=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(a(137,r));break;default:et(t,r,s,Q,i,null)}}Vm(t,g,N,A,G,x,f,!1);return;case"select":Oe("invalid",t),s=x=g=null;for(f in i)if(i.hasOwnProperty(f)&&(N=i[f],N!=null))switch(f){case"value":g=N;break;case"defaultValue":x=N;break;case"multiple":s=N;default:et(t,r,f,N,i,null)}r=g,i=x,t.multiple=!!s,r!=null?Qa(t,!!s,r,!1):i!=null&&Qa(t,!!s,i,!0);return;case"textarea":Oe("invalid",t),g=f=s=null;for(x in i)if(i.hasOwnProperty(x)&&(N=i[x],N!=null))switch(x){case"value":s=N;break;case"defaultValue":f=N;break;case"children":g=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error(a(91));break;default:et(t,r,x,N,i,null)}Wm(t,s,f,g);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:et(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<ls.length;s++)Oe(ls[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:et(t,r,G,s,i,null)}return;default:if(Kd(r)){for(Q in i)i.hasOwnProperty(Q)&&(s=i[Q],s!==void 0&&Oh(t,r,Q,s,i,void 0));return}}for(N in i)i.hasOwnProperty(N)&&(s=i[N],s!=null&&et(t,r,N,s,i,null))}function C3(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,g=null,x=null,N=null,A=null,G=null,Q=null;for(K in i){var te=i[K];if(i.hasOwnProperty(K)&&te!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":A=te;default:s.hasOwnProperty(K)||et(t,r,K,null,s,te)}}for(var X in s){var K=s[X];if(te=i[X],s.hasOwnProperty(X)&&(K!=null||te!=null))switch(X){case"type":g=K;break;case"name":f=K;break;case"checked":G=K;break;case"defaultChecked":Q=K;break;case"value":x=K;break;case"defaultValue":N=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(a(137,r));break;default:K!==te&&et(t,r,X,K,s,te)}}Xd(t,x,N,A,G,Q,g,f);return;case"select":K=x=N=X=null;for(g in i)if(A=i[g],i.hasOwnProperty(g)&&A!=null)switch(g){case"value":break;case"multiple":K=A;default:s.hasOwnProperty(g)||et(t,r,g,null,s,A)}for(f in s)if(g=s[f],A=i[f],s.hasOwnProperty(f)&&(g!=null||A!=null))switch(f){case"value":X=g;break;case"defaultValue":N=g;break;case"multiple":x=g;default:g!==A&&et(t,r,f,g,s,A)}r=N,i=x,s=K,X!=null?Qa(t,!!i,X,!1):!!s!=!!i&&(r!=null?Qa(t,!!i,r,!0):Qa(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:et(t,r,N,null,s,f)}for(x in s)if(f=s[x],g=i[x],s.hasOwnProperty(x)&&(f!=null||g!=null))switch(x){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!==g&&et(t,r,x,f,s,g)}Gm(t,X,K);return;case"option":for(var ve in i)if(X=i[ve],i.hasOwnProperty(ve)&&X!=null&&!s.hasOwnProperty(ve))switch(ve){case"selected":t.selected=!1;break;default:et(t,r,ve,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:et(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 Be in i)X=i[Be],i.hasOwnProperty(Be)&&X!=null&&!s.hasOwnProperty(Be)&&et(t,r,Be,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:et(t,r,G,X,s,K)}return;default:if(Kd(r)){for(var tt in i)X=i[tt],i.hasOwnProperty(tt)&&X!==void 0&&!s.hasOwnProperty(tt)&&Oh(t,r,tt,void 0,s,X);for(Q in s)X=s[Q],K=i[Q],!s.hasOwnProperty(Q)||X===K||X===void 0&&K===void 0||Oh(t,r,Q,X,s,K);return}}for(var L in i)X=i[L],i.hasOwnProperty(L)&&X!=null&&!s.hasOwnProperty(L)&&et(t,r,L,null,s,X);for(te in s)X=s[te],K=i[te],!s.hasOwnProperty(te)||X===K||X==null&&K==null||et(t,r,te,X,s,K)}function Kb(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function z3(){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],g=f.transferSize,x=f.initiatorType,N=f.duration;if(g&&N&&Kb(x)){for(x=0,N=f.responseEnd,s+=1;s<i.length;s++){var A=i[s],G=A.startTime;if(G>N)break;var Q=A.transferSize,te=A.initiatorType;Q&&Kb(te)&&(A=A.responseEnd,x+=Q*(A<N?1:(N-G)/(A-G)))}if(--s,r+=8*(g+x)/(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 Fh=null,qh=null;function su(t){return t.nodeType===9?t:t.ownerDocument}function Qb(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 Zb(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 Hh(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 Ph=null;function N3(){var t=window.event;return t&&t.type==="popstate"?t===Ph?!1:(Ph=t,!0):(Ph=null,!1)}var Yb=typeof setTimeout=="function"?setTimeout:void 0,T3=typeof clearTimeout=="function"?clearTimeout:void 0,Jb=typeof Promise=="function"?Promise:void 0,E3=typeof queueMicrotask=="function"?queueMicrotask:typeof Jb<"u"?function(t){return Jb.resolve(null).then(t).catch(R3)}:Yb;function R3(t){setTimeout(function(){throw t})}function Mn(t){return t==="head"}function e1(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),Ni(r);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")cs(t.ownerDocument.documentElement);else if(i==="head"){i=t.ownerDocument.head,cs(i);for(var g=i.firstChild;g;){var x=g.nextSibling,N=g.nodeName;g[zl]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&g.rel.toLowerCase()==="stylesheet"||i.removeChild(g),g=x}}else i==="body"&&cs(t.ownerDocument.body);i=f}while(i);Ni(r)}function t1(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 Lh(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":Lh(i),Gd(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}t.removeChild(i)}}function j3(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[zl])switch(r){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(g=t.getAttribute("rel"),g==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(g!==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(g=t.getAttribute("src"),(g!==(f.src==null?null:f.src)||t.getAttribute("type")!==(f.type==null?null:f.type)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&g&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(r==="input"&&t.type==="hidden"){var g=f.name==null?null:""+f.name;if(f.type==="hidden"&&t.getAttribute("name")===g)return t}else return t;if(t=Lo(t.nextSibling),t===null)break}return null}function A3(t,r,i){if(r==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=Lo(t.nextSibling),t===null))return null;return t}function o1(t,r){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!r||(t=Lo(t.nextSibling),t===null))return null;return t}function Ih(t){return t.data==="$?"||t.data==="$~"}function Uh(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function D3(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 Lo(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 Vh=null;function r1(t){t=t.nextSibling;for(var r=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"||i==="/&"){if(r===0)return Lo(t.nextSibling);r--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||r++}t=t.nextSibling}return null}function n1(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 a1(t,r,i){switch(r=su(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 cs(t){for(var r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Gd(t)}var Io=new Map,i1=new Set;function cu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Kr=oe.d;oe.d={f:M3,r:O3,D:F3,C:q3,L:H3,m:P3,X:I3,S:L3,M:U3};function M3(){var t=Kr.f(),r=eu();return t||r}function O3(t){var r=Xa(t);r!==null&&r.tag===5&&r.type==="form"?kv(r):Kr.r(t)}var _i=typeof document>"u"?null:document;function l1(t,r,i){var s=_i;if(s&&typeof r=="string"&&r){var f=Do(r);f='link[rel="'+t+'"][href="'+f+'"]',typeof i=="string"&&(f+='[crossorigin="'+i+'"]'),i1.has(f)||(i1.add(f),t={rel:t,crossOrigin:i,href:r},s.querySelector(f)===null&&(r=s.createElement("link"),It(r,"link",t),Dt(r),s.head.appendChild(r)))}}function F3(t){Kr.D(t),l1("dns-prefetch",t,null)}function q3(t,r){Kr.C(t,r),l1("preconnect",t,r)}function H3(t,r,i){Kr.L(t,r,i);var s=_i;if(s&&t&&r){var f='link[rel="preload"][as="'+Do(r)+'"]';r==="image"&&i&&i.imageSrcSet?(f+='[imagesrcset="'+Do(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(f+='[imagesizes="'+Do(i.imageSizes)+'"]')):f+='[href="'+Do(t)+'"]';var g=f;switch(r){case"style":g=Ci(t);break;case"script":g=zi(t)}Io.has(g)||(t=m({rel:"preload",href:r==="image"&&i&&i.imageSrcSet?void 0:t,as:r},i),Io.set(g,t),s.querySelector(f)!==null||r==="style"&&s.querySelector(us(g))||r==="script"&&s.querySelector(ds(g))||(r=s.createElement("link"),It(r,"link",t),Dt(r),s.head.appendChild(r)))}}function P3(t,r){Kr.m(t,r);var i=_i;if(i&&t){var s=r&&typeof r.as=="string"?r.as:"script",f='link[rel="modulepreload"][as="'+Do(s)+'"][href="'+Do(t)+'"]',g=f;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=zi(t)}if(!Io.has(g)&&(t=m({rel:"modulepreload",href:t},r),Io.set(g,t),i.querySelector(f)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(ds(g)))return}s=i.createElement("link"),It(s,"link",t),Dt(s),i.head.appendChild(s)}}}function L3(t,r,i){Kr.S(t,r,i);var s=_i;if(s&&t){var f=$a(s).hoistableStyles,g=Ci(t);r=r||"default";var x=f.get(g);if(!x){var N={loading:0,preload:null};if(x=s.querySelector(us(g)))N.loading=5;else{t=m({rel:"stylesheet",href:t,"data-precedence":r},i),(i=Io.get(g))&&Gh(t,i);var A=x=s.createElement("link");Dt(A),It(A,"link",t),A._p=new Promise(function(G,Q){A.onload=G,A.onerror=Q}),A.addEventListener("load",function(){N.loading|=1}),A.addEventListener("error",function(){N.loading|=2}),N.loading|=4,uu(x,r,s)}x={type:"stylesheet",instance:x,count:1,state:N},f.set(g,x)}}}function I3(t,r){Kr.X(t,r);var i=_i;if(i&&t){var s=$a(i).hoistableScripts,f=zi(t),g=s.get(f);g||(g=i.querySelector(ds(f)),g||(t=m({src:t,async:!0},r),(r=Io.get(f))&&Wh(t,r),g=i.createElement("script"),Dt(g),It(g,"link",t),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},s.set(f,g))}}function U3(t,r){Kr.M(t,r);var i=_i;if(i&&t){var s=$a(i).hoistableScripts,f=zi(t),g=s.get(f);g||(g=i.querySelector(ds(f)),g||(t=m({src:t,async:!0,type:"module"},r),(r=Io.get(f))&&Wh(t,r),g=i.createElement("script"),Dt(g),It(g,"link",t),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},s.set(f,g))}}function s1(t,r,i,s){var f=(f=Ce.current)?cu(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=Ci(i.href),i=$a(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=Ci(i.href);var g=$a(f).hoistableStyles,x=g.get(t);if(x||(f=f.ownerDocument||f,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(t,x),(g=f.querySelector(us(t)))&&!g._p&&(x.instance=g,x.state.loading=5),Io.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},Io.set(t,i),g||V3(f,t,i,x.state))),r&&s===null)throw Error(a(528,""));return x}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=zi(i),i=$a(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 Ci(t){return'href="'+Do(t)+'"'}function us(t){return'link[rel="stylesheet"]['+t+"]"}function c1(t){return m({},t,{"data-precedence":t.precedence,precedence:null})}function V3(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}),It(r,"link",i),Dt(r),t.head.appendChild(r))}function zi(t){return'[src="'+Do(t)+'"]'}function ds(t){return"script[async]"+t}function u1(t,r,i){if(r.count++,r.instance===null)switch(r.type){case"style":var s=t.querySelector('style[data-href~="'+Do(i.href)+'"]');if(s)return r.instance=s,Dt(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"),Dt(s),It(s,"style",f),uu(s,i.precedence,t),r.instance=s;case"stylesheet":f=Ci(i.href);var g=t.querySelector(us(f));if(g)return r.state.loading|=4,r.instance=g,Dt(g),g;s=c1(i),(f=Io.get(f))&&Gh(s,f),g=(t.ownerDocument||t).createElement("link"),Dt(g);var x=g;return x._p=new Promise(function(N,A){x.onload=N,x.onerror=A}),It(g,"link",s),r.state.loading|=4,uu(g,i.precedence,t),r.instance=g;case"script":return g=zi(i.src),(f=t.querySelector(ds(g)))?(r.instance=f,Dt(f),f):(s=i,(f=Io.get(g))&&(s=m({},i),Wh(s,f)),t=t.ownerDocument||t,f=t.createElement("script"),Dt(f),It(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,uu(s,i.precedence,t));return r.instance}function uu(t,r,i){for(var s=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=s.length?s[s.length-1]:null,g=f,x=0;x<s.length;x++){var N=s[x];if(N.dataset.precedence===r)g=N;else if(g!==f)break}g?g.parentNode.insertBefore(t,g.nextSibling):(r=i.nodeType===9?i.head:i,r.insertBefore(t,r.firstChild))}function Gh(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.title==null&&(t.title=r.title)}function Wh(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.integrity==null&&(t.integrity=r.integrity)}var du=null;function d1(t,r,i){if(du===null){var s=new Map,f=du=new Map;f.set(i,s)}else f=du,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 g=i[f];if(!(g[zl]||g[qt]||t==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var x=g.getAttribute(r)||"";x=t+x;var N=s.get(x);N?N.push(g):s.set(x,[g])}}return s}function f1(t,r,i){t=t.ownerDocument||t,t.head.insertBefore(i,r==="title"?t.querySelector("head > title"):null)}function G3(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 h1(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function W3(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=Ci(s.href),g=r.querySelector(us(f));if(g){r=g._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(t.count++,t=fu.bind(t),r.then(t,t)),i.state.loading|=4,i.instance=g,Dt(g);return}g=r.ownerDocument||r,s=c1(s),(f=Io.get(f))&&Gh(s,f),g=g.createElement("link"),Dt(g);var x=g;x._p=new Promise(function(N,A){x.onload=N,x.onerror=A}),It(g,"link",s),i.instance=g}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(i,r),(r=i.state.preload)&&(i.state.loading&3)===0&&(t.count++,i=fu.bind(t),r.addEventListener("load",i),r.addEventListener("error",i))}}var Xh=0;function X3(t,r){return t.stylesheets&&t.count===0&&gu(t,t.stylesheets),0<t.count||0<t.imgCount?function(i){var s=setTimeout(function(){if(t.stylesheets&&gu(t,t.stylesheets),t.unsuspend){var g=t.unsuspend;t.unsuspend=null,g()}},6e4+r);0<t.imgBytes&&Xh===0&&(Xh=62500*z3());var f=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&gu(t,t.stylesheets),t.unsuspend)){var g=t.unsuspend;t.unsuspend=null,g()}},(t.imgBytes>Xh?50:800)+r);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(s),clearTimeout(f)}}:null}function fu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)gu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var hu=null;function gu(t,r){t.stylesheets=null,t.unsuspend!==null&&(t.count++,hu=new Map,r.forEach($3,t),hu=null,fu.call(t))}function $3(t,r){if(!(r.state.loading&4)){var i=hu.get(t);if(i)var s=i.get(null);else{i=new Map,hu.set(t,i);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<f.length;g++){var x=f[g];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(i.set(x.dataset.precedence,x),s=x)}s&&i.set(null,s)}f=r.instance,x=f.getAttribute("data-precedence"),g=i.get(x)||s,g===s&&i.set(null,f),i.set(x,f),this.count++,s=fu.bind(this),f.addEventListener("load",s),f.addEventListener("error",s),g?g.parentNode.insertBefore(f,g.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(f,t.firstChild)),r.state.loading|=4}}var fs={$$typeof:z,Provider:null,Consumer:null,_currentValue:re,_currentValue2:re,_threadCount:0};function K3(t,r,i,s,f,g,x,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=Ld(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ld(0),this.hiddenUpdates=Ld(null),this.identifierPrefix=s,this.onUncaughtError=f,this.onCaughtError=g,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function g1(t,r,i,s,f,g,x,N,A,G,Q,te){return t=new K3(t,r,i,x,A,G,Q,te,N),r=1,g===!0&&(r|=24),g=bo(3,null,null,r),t.current=g,g.stateNode=t,r=Cf(),r.refCount++,t.pooledCache=r,r.refCount++,g.memoizedState={element:s,isDehydrated:i,cache:r},Ef(g),t}function p1(t){return t?(t=ni,t):ni}function m1(t,r,i,s,f,g){f=p1(f),s.context===null?s.context=f:s.pendingContext=f,s=Bn(r),s.payload={element:i},g=g===void 0?null:g,g!==null&&(s.callback=g),i=_n(t,s,r),i!==null&&(lo(i,t,r),Vl(i,t,r))}function v1(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<r?i:r}}function $h(t,r){v1(t,r),(t=t.alternate)&&v1(t,r)}function b1(t){if(t.tag===13||t.tag===31){var r=ua(t,67108864);r!==null&&lo(r,t,67108864),$h(t,67108864)}}function y1(t){if(t.tag===13||t.tag===31){var r=ko();r=Id(r);var i=ua(t,r);i!==null&&lo(i,t,r),$h(t,r)}}var pu=!0;function Q3(t,r,i,s){var f=I.T;I.T=null;var g=oe.p;try{oe.p=2,Kh(t,r,i,s)}finally{oe.p=g,I.T=f}}function Z3(t,r,i,s){var f=I.T;I.T=null;var g=oe.p;try{oe.p=8,Kh(t,r,i,s)}finally{oe.p=g,I.T=f}}function Kh(t,r,i,s){if(pu){var f=Qh(s);if(f===null)Mh(t,r,s,mu,i),w1(t,s);else if(J3(f,t,r,i,s))s.stopPropagation();else if(w1(t,s),r&4&&-1<Y3.indexOf(t)){for(;f!==null;){var g=Xa(f);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var x=aa(g.pendingLanes);if(x!==0){var N=g;for(N.pendingLanes|=2,N.entangledLanes|=2;x;){var A=1<<31-mo(x);N.entanglements[1]|=A,x&=~A}wr(g),(Xe&6)===0&&(Yc=go()+500,is(0))}}break;case 31:case 13:N=ua(g,2),N!==null&&lo(N,g,2),eu(),$h(g,2)}if(g=Qh(s),g===null&&Mh(t,r,s,mu,i),g===f)break;f=g}f!==null&&s.stopPropagation()}else Mh(t,r,s,null,i)}}function Qh(t){return t=Zd(t),Zh(t)}var mu=null;function Zh(t){if(mu=null,t=Wa(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 mu=t,null}function x1(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(F5()){case Nm:return 2;case Tm:return 8;case ac:case q5:return 32;case Em:return 268435456;default:return 32}default:return 32}}var Yh=!1,On=null,Fn=null,qn=null,hs=new Map,gs=new Map,Hn=[],Y3="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 w1(t,r){switch(t){case"focusin":case"focusout":On=null;break;case"dragenter":case"dragleave":Fn=null;break;case"mouseover":case"mouseout":qn=null;break;case"pointerover":case"pointerout":hs.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":gs.delete(r.pointerId)}}function ps(t,r,i,s,f,g){return t===null||t.nativeEvent!==g?(t={blockedOn:r,domEventName:i,eventSystemFlags:s,nativeEvent:g,targetContainers:[f]},r!==null&&(r=Xa(r),r!==null&&b1(r)),t):(t.eventSystemFlags|=s,r=t.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),t)}function J3(t,r,i,s,f){switch(r){case"focusin":return On=ps(On,t,r,i,s,f),!0;case"dragenter":return Fn=ps(Fn,t,r,i,s,f),!0;case"mouseover":return qn=ps(qn,t,r,i,s,f),!0;case"pointerover":var g=f.pointerId;return hs.set(g,ps(hs.get(g)||null,t,r,i,s,f)),!0;case"gotpointercapture":return g=f.pointerId,gs.set(g,ps(gs.get(g)||null,t,r,i,s,f)),!0}return!1}function S1(t){var r=Wa(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,Om(t.priority,function(){y1(i)});return}}else if(r===31){if(r=d(i),r!==null){t.blockedOn=r,Om(t.priority,function(){y1(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 vu(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var i=Qh(t.nativeEvent);if(i===null){i=t.nativeEvent;var s=new i.constructor(i.type,i);Qd=s,i.target.dispatchEvent(s),Qd=null}else return r=Xa(i),r!==null&&b1(r),t.blockedOn=i,!1;r.shift()}return!0}function k1(t,r,i){vu(t)&&i.delete(r)}function eB(){Yh=!1,On!==null&&vu(On)&&(On=null),Fn!==null&&vu(Fn)&&(Fn=null),qn!==null&&vu(qn)&&(qn=null),hs.forEach(k1),gs.forEach(k1)}function bu(t,r){t.blockedOn===r&&(t.blockedOn=null,Yh||(Yh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,eB)))}var yu=null;function B1(t){yu!==t&&(yu=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){yu===t&&(yu=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(Zh(s||i)===null)continue;break}var g=Xa(i);g!==null&&(t.splice(r,3),r-=3,Qf(g,{pending:!0,data:f,method:i.method,action:s},s,f))}}))}function Ni(t){function r(A){return bu(A,t)}On!==null&&bu(On,t),Fn!==null&&bu(Fn,t),qn!==null&&bu(qn,t),hs.forEach(r),gs.forEach(r);for(var i=0;i<Hn.length;i++){var s=Hn[i];s.blockedOn===t&&(s.blockedOn=null)}for(;0<Hn.length&&(i=Hn[0],i.blockedOn===null);)S1(i),i.blockedOn===null&&Hn.shift();if(i=(t.ownerDocument||t).$$reactFormReplay,i!=null)for(s=0;s<i.length;s+=3){var f=i[s],g=i[s+1],x=f[to]||null;if(typeof g=="function")x||B1(i);else if(x){var N=null;if(g&&g.hasAttribute("formAction")){if(f=g,x=g[to]||null)N=x.formAction;else if(Zh(f)!==null)continue}else N=x.action;typeof N=="function"?i[s+1]=N:(i.splice(s,3),s-=3),B1(i)}}}function _1(){function t(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(x){return f=x})},focusReset:"manual",scroll:"manual"})}function r(){f!==null&&(f(),f=null),s||setTimeout(i,20)}function i(){if(!s&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.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 Jh(t){this._internalRoot=t}xu.prototype.render=Jh.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(a(409));var i=r.current,s=ko();m1(i,s,t,r,null,null)},xu.prototype.unmount=Jh.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;m1(t.current,2,null,t,null,null),eu(),r[Ga]=null}};function xu(t){this._internalRoot=t}xu.prototype.unstable_scheduleHydration=function(t){if(t){var r=Mm();t={blockedOn:null,target:t,priority:r};for(var i=0;i<Hn.length&&r!==0&&r<Hn[i].priority;i++);Hn.splice(i,0,t),i===0&&S1(t)}};var C1=o.version;if(C1!=="19.2.6")throw Error(a(527,C1,"19.2.6"));oe.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=p(r),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var tB={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:I,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var wu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wu.isDisabled&&wu.supportsFiber)try{Bl=wu.inject(tB),po=wu}catch{}}return vs.createRoot=function(t,r){if(!l(t))throw Error(a(299));var i=!1,s="",f=Av,g=Dv,x=Mv;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&&(g=r.onCaughtError),r.onRecoverableError!==void 0&&(x=r.onRecoverableError)),r=g1(t,1,!1,null,null,i,s,null,f,g,x,_1),t[Ga]=r.current,Dh(t),new Jh(r)},vs.hydrateRoot=function(t,r,i){if(!l(t))throw Error(a(299));var s=!1,f="",g=Av,x=Dv,N=Mv,A=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(g=i.onUncaughtError),i.onCaughtError!==void 0&&(x=i.onCaughtError),i.onRecoverableError!==void 0&&(N=i.onRecoverableError),i.formState!==void 0&&(A=i.formState)),r=g1(t,1,!0,r,i??null,s,f,A,g,x,N,_1),r.context=p1(null),i=r.current,s=ko(),s=Id(s),f=Bn(s),f.callback=null,_n(i,f,s),i=s,r.current.lanes=i,Cl(r,i),wr(r),t[Ga]=r.current,Dh(t),new xu(r)},vs.version="19.2.6",vs}var F1;function hB(){if(F1)return rg.exports;F1=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(),rg.exports=fB(),rg.exports}var gB=hB();/**
|
|
50
|
-
* react-router v7.15.0
|
|
51
|
-
*
|
|
52
|
-
* Copyright (c) Remix Software Inc.
|
|
53
|
-
*
|
|
54
|
-
* This source code is licensed under the MIT license found in the
|
|
55
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
56
|
-
*
|
|
57
|
-
* @license MIT
|
|
58
|
-
*/var q1="popstate";function H1(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function pB(e={}){function o(a,l){var p;let c=(p=l.state)==null?void 0:p.masked,{pathname:u,search:d,hash:h}=c||a.location;return Dg("",{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:Cs(l)}return vB(o,n,null,e)}function ft(e,o){if(e===!1||e===null||typeof e>"u")throw new Error(o)}function fr(e,o){if(!e){typeof console<"u"&&console.warn(o);try{throw new Error(o)}catch{}}}function mB(){return Math.random().toString(36).substring(2,10)}function P1(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 Dg(e,o,n=null,a,l){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof o=="string"?sl(o):o,state:n,key:o&&o.key||a||mB(),mask:l}}function Cs({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 sl(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 vB(e,o,n,a={}){let{window:l=document.defaultView,v5Compat:c=!1}=a,u=l.history,d="POP",h=null,p=v();p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function v(){return(u.state||{idx:null}).idx}function m(){d="POP";let C=v(),_=C==null?null:C-p;p=C,h&&h({action:d,location:y.location,delta:_})}function w(C,_){d="PUSH";let R=H1(C)?C:Dg(y.location,C,_);p=v()+1;let z=P1(R,p),T=y.createHref(R.mask||R);try{u.pushState(z,"",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(C,_){d="REPLACE";let R=H1(C)?C:Dg(y.location,C,_);p=v();let z=P1(R,p),T=y.createHref(R.mask||R);u.replaceState(z,"",T),c&&h&&h({action:d,location:y.location,delta:0})}function S(C){return bB(C)}let y={get action(){return d},get location(){return e(l,u)},listen(C){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(q1,m),h=C,()=>{l.removeEventListener(q1,m),h=null}},createHref(C){return o(l,C)},createURL:S,encodeLocation(C){let _=S(C);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:w,replace:k,go(C){return u.go(C)}};return y}function bB(e,o=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),ft(n,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:Cs(e);return a=a.replace(/ $/,"%20"),!o&&a.startsWith("//")&&(a=n+a),new URL(a,n)}function Kx(e,o,n="/"){return yB(e,o,n,!1)}function yB(e,o,n,a,l){let c=typeof o=="string"?sl(o):o,u=sn(c.pathname||"/",n);if(u==null)return null;let d=xB(e),h=null,p=jB(u);for(let v=0;h==null&&v<d.length;++v)h=EB(d[v],p,a);return h}function xB(e){let o=Qx(e);return wB(o),o}function Qx(e,o=[],n=[],a="",l=!1){let c=(u,d,h=l,p)=>{let v={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(a)&&h)return;ft(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=dr([a,v.relativePath]),w=n.concat(v);u.children&&u.children.length>0&&(ft(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),Qx(u.children,o,w,m,h)),!(u.path==null&&!u.index)&&o.push({path:m,score:NB(m,u.index),routesMeta:w})};return e.forEach((u,d)=>{var h;if(u.path===""||!((h=u.path)!=null&&h.includes("?")))c(u,d);else for(let p of Zx(u.path))c(u,d,!0,p)}),o}function Zx(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=Zx(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 wB(e){e.sort((o,n)=>o.score!==n.score?n.score-o.score:TB(o.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}var SB=/^:[\w-]+$/,kB=3,BB=2,_B=1,CB=10,zB=-2,L1=e=>e==="*";function NB(e,o){let n=e.split("/"),a=n.length;return n.some(L1)&&(a+=zB),o&&(a+=BB),n.filter(l=>!L1(l)).reduce((l,c)=>l+(SB.test(c)?kB:c===""?_B:CB),a)}function TB(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 EB(e,o,n=!1){let{routesMeta:a}=e,l={},c="/",u=[];for(let d=0;d<a.length;++d){let h=a[d],p=d===a.length-1,v=c==="/"?o:o.slice(c.length)||"/",m=Wu({path:h.relativePath,caseSensitive:h.caseSensitive,end:p},v),w=h.route;if(!m&&p&&n&&!a[a.length-1].route.index&&(m=Wu({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!m)return null;Object.assign(l,m.params),u.push({params:l,pathname:dr([c,m.pathname]),pathnameBase:OB(dr([c,m.pathnameBase])),route:w}),m.pathnameBase!=="/"&&(c=dr([c,m.pathnameBase]))}return u}function Wu(e,o){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=RB(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((p,{paramName:v,isOptional:m},w)=>{if(v==="*"){let S=d[w]||"";u=c.slice(0,c.length-S.length).replace(/(.)\/+$/,"$1")}const k=d[w];return m&&!k?p[v]=void 0:p[v]=(k||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:u,pattern:e}}function RB(e,o=!1,n=!0){fr(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,p,v)=>{if(a.push({paramName:d,isOptional:h!=null}),h){let m=v.charAt(p+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 jB(e){try{return e.split("/").map(o=>decodeURIComponent(o).replace(/\//g,"%2F")).join("/")}catch(o){return fr(!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 sn(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 AB=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function DB(e,o="/"){let{pathname:n,search:a="",hash:l=""}=typeof e=="string"?sl(e):e,c;return n?(n=Yx(n),n.startsWith("/")?c=I1(n.substring(1),"/"):c=I1(n,o)):c=o,{pathname:c,search:FB(a),hash:qB(l)}}function I1(e,o){let n=Xu(o).split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function lg(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 MB(e){return e.filter((o,n)=>n===0||o.route.path&&o.route.path.length>0)}function xp(e){let o=MB(e);return o.map((n,a)=>a===o.length-1?n.pathname:n.pathnameBase)}function ud(e,o,n,a=!1){let l;typeof e=="string"?l=sl(e):(l={...e},ft(!l.pathname||!l.pathname.includes("?"),lg("?","pathname","search",l)),ft(!l.pathname||!l.pathname.includes("#"),lg("#","pathname","hash",l)),ft(!l.search||!l.search.includes("#"),lg("#","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 w=u.split("/");for(;w[0]==="..";)w.shift(),m-=1;l.pathname=w.join("/")}d=m>=0?o[m]:"/"}let h=DB(l,d),p=u&&u!=="/"&&u.endsWith("/"),v=(c||u===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(p||v)&&(h.pathname+="/"),h}var Yx=e=>e.replace(/\/\/+/g,"/"),dr=e=>Yx(e.join("/")),Xu=e=>e.replace(/\/+$/,""),OB=e=>Xu(e).replace(/^\/*/,"/"),FB=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,qB=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,HB=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 PB(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function LB(e){let o=e.map(n=>n.route.path).filter(Boolean);return dr(o)||"/"}var Jx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function e2(e,o){let n=e;if(typeof n!="string"||!AB.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let a=n,l=!1;if(Jx)try{let c=new URL(window.location.href),u=n.startsWith("//")?new URL(c.protocol+n):new URL(n),d=sn(u.pathname,o);u.origin===c.origin&&d!=null?n=d+u.search+u.hash:l=!0}catch{fr(!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 t2=["POST","PUT","PATCH","DELETE"];new Set(t2);var IB=["GET",...t2];new Set(IB);var cl=b.createContext(null);cl.displayName="DataRouter";var dd=b.createContext(null);dd.displayName="DataRouterState";var o2=b.createContext(!1);function UB(){return b.useContext(o2)}var r2=b.createContext({isTransitioning:!1});r2.displayName="ViewTransition";var VB=b.createContext(new Map);VB.displayName="Fetchers";var GB=b.createContext(null);GB.displayName="Await";var Ro=b.createContext(null);Ro.displayName="Navigation";var Is=b.createContext(null);Is.displayName="Location";var vr=b.createContext({outlet:null,matches:[],isDataRoute:!1});vr.displayName="Route";var wp=b.createContext(null);wp.displayName="RouteError";var n2="REACT_ROUTER_ERROR",WB="REDIRECT",XB="ROUTE_ERROR_RESPONSE";function $B(e){if(e.startsWith(`${n2}:${WB}:{`))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 KB(e){if(e.startsWith(`${n2}:${XB}:{`))try{let o=JSON.parse(e.slice(40));if(typeof o=="object"&&o&&typeof o.status=="number"&&typeof o.statusText=="string")return new HB(o.status,o.statusText,o.data)}catch{}}function QB(e,{relative:o}={}){ft(ul(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=b.useContext(Ro),{hash:l,pathname:c,search:u}=Vs(e,{relative:o}),d=c;return n!=="/"&&(d=c==="/"?n:dr([n,c])),a.createHref({pathname:d,search:u,hash:l})}function ul(){return b.useContext(Is)!=null}function Jo(){return ft(ul(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(Is).location}var a2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function i2(e){b.useContext(Ro).static||b.useLayoutEffect(e)}function Us(){let{isDataRoute:e}=b.useContext(vr);return e?u_():ZB()}function ZB(){ft(ul(),"useNavigate() may be used only in the context of a <Router> component.");let e=b.useContext(cl),{basename:o,navigator:n}=b.useContext(Ro),{matches:a}=b.useContext(vr),{pathname:l}=Jo(),c=JSON.stringify(xp(a)),u=b.useRef(!1);return i2(()=>{u.current=!0}),b.useCallback((h,p={})=>{if(fr(u.current,a2),!u.current)return;if(typeof h=="number"){n.go(h);return}let v=ud(h,JSON.parse(c),l,p.relative==="path");e==null&&o!=="/"&&(v.pathname=v.pathname==="/"?o:dr([o,v.pathname])),(p.replace?n.replace:n.push)(v,p.state,p)},[o,n,c,l,e])}b.createContext(null);function YB(){let{matches:e}=b.useContext(vr),o=e[e.length-1];return(o==null?void 0:o.params)??{}}function Vs(e,{relative:o}={}){let{matches:n}=b.useContext(vr),{pathname:a}=Jo(),l=JSON.stringify(xp(n));return b.useMemo(()=>ud(e,JSON.parse(l),a,o==="path"),[e,l,a,o])}function JB(e,o){return l2(e,o)}function l2(e,o,n){var C;ft(ul(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=b.useContext(Ro),{matches:l}=b.useContext(vr),c=l[l.length-1],u=c?c.params:{},d=c?c.pathname:"/",h=c?c.pathnameBase:"/",p=c&&c.route;{let _=p&&p.path||"";c2(d,!p||_.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=Jo(),m;if(o){let _=typeof o=="string"?sl(o):o;ft(h==="/"||((C=_.pathname)==null?void 0:C.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 w=m.pathname||"/",k=w;if(h!=="/"){let _=h.replace(/^\//,"").split("/");k="/"+w.replace(/^\//,"").split("/").slice(_.length).join("/")}let S=n&&n.state.matches.length?n.state.matches.map(_=>Object.assign(_,{route:n.manifest[_.route.id]||_.route})):Kx(e,{pathname:k});fr(p||S!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),fr(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.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=n_(S&&S.map(_=>Object.assign({},_,{params:Object.assign({},u,_.params),pathname:dr([h,a.encodeLocation?a.encodeLocation(_.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?h:dr([h,a.encodeLocation?a.encodeLocation(_.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathnameBase])})),l,n);return o&&y?b.createElement(Is.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},y):y}function e_(){let e=c_(),o=PB(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 t_=b.createElement(e_,null),s2=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=KB(e.digest);n&&(e=n)}let o=e!==void 0?b.createElement(vr.Provider,{value:this.props.routeContext},b.createElement(wp.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?b.createElement(o_,{error:e},o):o}};s2.contextType=o2;var sg=new WeakMap;function o_({children:e,error:o}){let{basename:n}=b.useContext(Ro);if(typeof o=="object"&&o&&"digest"in o&&typeof o.digest=="string"){let a=$B(o.digest);if(a){let l=sg.get(o);if(l)throw l;let c=e2(a.location,n);if(Jx&&!sg.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 sg.set(o,u),u}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function r_({routeContext:e,match:o,children:n}){let a=b.useContext(cl);return a&&a.static&&a.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=o.route.id),b.createElement(vr.Provider,{value:e},n)}function n_(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);ft(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:w,errors:k}=a,S=m.route.loader&&!w.hasOwnProperty(m.route.id)&&(!k||k[m.route.id]===void 0);if(m.route.lazy||S){n.isStatic&&(u=!0),d>=0?l=l.slice(0,d+1):l=[l[0]];break}}}}let h=n==null?void 0:n.onError,p=a&&h?(v,m)=>{var w,k;h(v,{location:a.location,params:((k=(w=a.matches)==null?void 0:w[0])==null?void 0:k.params)??{},pattern:LB(a.matches),errorInfo:m})}:void 0;return l.reduceRight((v,m,w)=>{let k,S=!1,y=null,C=null;a&&(k=c&&m.route.id?c[m.route.id]:void 0,y=m.route.errorElement||t_,u&&(d<0&&w===0?(c2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,C=null):d===w&&(S=!0,C=m.route.hydrateFallbackElement||null)));let _=o.concat(l.slice(0,w+1)),R=()=>{let z;return k?z=y:S?z=C:m.route.Component?z=b.createElement(m.route.Component,null):m.route.element?z=m.route.element:z=v,b.createElement(r_,{match:m,routeContext:{outlet:v,matches:_,isDataRoute:a!=null},children:z})};return a&&(m.route.ErrorBoundary||m.route.errorElement||w===0)?b.createElement(s2,{location:a.location,revalidation:a.revalidation,component:y,error:k,children:R(),routeContext:{outlet:null,matches:_,isDataRoute:!0},onError:p}):R()},null)}function Sp(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function a_(e){let o=b.useContext(cl);return ft(o,Sp(e)),o}function i_(e){let o=b.useContext(dd);return ft(o,Sp(e)),o}function l_(e){let o=b.useContext(vr);return ft(o,Sp(e)),o}function kp(e){let o=l_(e),n=o.matches[o.matches.length-1];return ft(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function s_(){return kp("useRouteId")}function c_(){var a;let e=b.useContext(wp),o=i_("useRouteError"),n=kp("useRouteError");return e!==void 0?e:(a=o.errors)==null?void 0:a[n]}function u_(){let{router:e}=a_("useNavigate"),o=kp("useNavigate"),n=b.useRef(!1);return i2(()=>{n.current=!0}),b.useCallback(async(l,c={})=>{fr(n.current,a2),n.current&&(typeof l=="number"?await e.navigate(l):await e.navigate(l,{fromRouteId:o,...c}))},[e,o])}var U1={};function c2(e,o,n){!o&&!U1[e]&&(U1[e]=!0,fr(!1,n))}b.memo(d_);function d_({routes:e,manifest:o,future:n,state:a,isStatic:l,onError:c}){return l2(e,void 0,{manifest:o,state:a,isStatic:l,onError:c})}function f_({to:e,replace:o,state:n,relative:a}){ft(ul(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=b.useContext(Ro);fr(!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(vr),{pathname:u}=Jo(),d=Us(),h=ud(e,xp(c),u,a==="path"),p=JSON.stringify(h);return b.useEffect(()=>{d(JSON.parse(p),{replace:o,state:n,relative:a})},[d,p,a,o,n]),null}function ji(e){ft(!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 h_({basename:e="/",children:o=null,location:n,navigationType:a="POP",navigator:l,static:c=!1,useTransitions:u}){ft(!ul(),"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=sl(n));let{pathname:p="/",search:v="",hash:m="",state:w=null,key:k="default",mask:S}=n,y=b.useMemo(()=>{let C=sn(p,d);return C==null?null:{location:{pathname:C,search:v,hash:m,state:w,key:k,mask:S},navigationType:a}},[d,p,v,m,w,k,a,S]);return fr(y!=null,`<Router basename="${d}"> is not able to match the URL "${p}${v}${m}" because it does not start with the basename, so the <Router> won't render anything.`),y==null?null:b.createElement(Ro.Provider,{value:h},b.createElement(Is.Provider,{children:o,value:y}))}function g_({children:e,location:o}){return JB(Mg(e),o)}function Mg(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,Mg(a.props.children,c));return}ft(a.type===ji,`[${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>`),ft(!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=Mg(a.props.children,c)),n.push(u)}),n}var Ou="get",Fu="application/x-www-form-urlencoded";function fd(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function p_(e){return fd(e)&&e.tagName.toLowerCase()==="button"}function m_(e){return fd(e)&&e.tagName.toLowerCase()==="form"}function v_(e){return fd(e)&&e.tagName.toLowerCase()==="input"}function b_(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function y_(e,o){return e.button===0&&(!o||o==="_self")&&!b_(e)}var ku=null;function x_(){if(ku===null)try{new FormData(document.createElement("form"),0),ku=!1}catch{ku=!0}return ku}var w_=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function cg(e){return e!=null&&!w_.has(e)?(fr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Fu}"`),null):e}function S_(e,o){let n,a,l,c,u;if(m_(e)){let d=e.getAttribute("action");a=d?sn(d,o):null,n=e.getAttribute("method")||Ou,l=cg(e.getAttribute("enctype"))||Fu,c=new FormData(e)}else if(p_(e)||v_(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?sn(h,o):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||Ou,l=cg(e.getAttribute("formenctype"))||cg(d.getAttribute("enctype"))||Fu,c=new FormData(d,e),!x_()){let{name:p,type:v,value:m}=e;if(v==="image"){let w=p?`${p}.`:"";c.append(`${w}x`,"0"),c.append(`${w}y`,"0")}else p&&c.append(p,m)}}else{if(fd(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ou,a=null,l=Fu,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 Bp(e,o){if(e===!1||e===null||typeof e>"u")throw new Error(o)}function u2(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&&sn(l.pathname,o)==="/"?l.pathname=`${Xu(o)}/_root.${a}`:l.pathname=`${Xu(l.pathname)}.${a}`,l}async function k_(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 B_(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 __(e,o,n){let a=await Promise.all(e.map(async l=>{let c=o.routes[l.route.id];if(c){let u=await k_(c,n);return u.links?u.links():[]}return[]}));return T_(a.flat(1).filter(B_).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function V1(e,o,n,a,l,c){let u=(h,p)=>n[p]?h.route.id!==n[p].route.id:!0,d=(h,p)=>{var v;return n[p].pathname!==h.pathname||((v=n[p].route.path)==null?void 0:v.endsWith("*"))&&n[p].params["*"]!==h.params["*"]};return c==="assets"?o.filter((h,p)=>u(h,p)||d(h,p)):c==="data"?o.filter((h,p)=>{var m;let v=a.routes[h.route.id];if(!v||!v.hasLoader)return!1;if(u(h,p)||d(h,p))return!0;if(h.route.shouldRevalidate){let w=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 w=="boolean")return w}return!0}):[]}function C_(e,o,{includeHydrateFallback:n}={}){return z_(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 z_(e){return[...new Set(e)]}function N_(e){let o={},n=Object.keys(e).sort();for(let a of n)o[a]=e[a];return o}function T_(e,o){let n=new Set;return new Set(o),e.reduce((a,l)=>{let c=JSON.stringify(N_(l));return n.has(c)||(n.add(c),a.push({key:c,link:l})),a},[])}function _p(){let e=b.useContext(cl);return Bp(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function E_(){let e=b.useContext(dd);return Bp(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Cp=b.createContext(void 0);Cp.displayName="FrameworkContext";function zp(){let e=b.useContext(Cp);return Bp(e,"You must render this element inside a <HydratedRouter> element"),e}function R_(e,o){let n=b.useContext(Cp),[a,l]=b.useState(!1),[c,u]=b.useState(!1),{onFocus:d,onBlur:h,onMouseEnter:p,onMouseLeave:v,onTouchStart:m}=o,w=b.useRef(null);b.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let y=_=>{_.forEach(R=>{u(R.isIntersecting)})},C=new IntersectionObserver(y,{threshold:.5});return w.current&&C.observe(w.current),()=>{C.disconnect()}}},[e]),b.useEffect(()=>{if(a){let y=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(y)}}},[a]);let k=()=>{l(!0)},S=()=>{l(!1),u(!1)};return n?e!=="intent"?[c,w,{}]:[c,w,{onFocus:bs(d,k),onBlur:bs(h,S),onMouseEnter:bs(p,k),onMouseLeave:bs(v,S),onTouchStart:bs(m,k)}]:[!1,w,{}]}function bs(e,o){return n=>{e&&e(n),n.defaultPrevented||o(n)}}function j_({page:e,...o}){let n=UB(),{router:a}=_p(),l=b.useMemo(()=>Kx(a.routes,e,a.basename),[a.routes,e,a.basename]);return l?n?b.createElement(D_,{page:e,matches:l,...o}):b.createElement(M_,{page:e,matches:l,...o}):null}function A_(e){let{manifest:o,routeModules:n}=zp(),[a,l]=b.useState([]);return b.useEffect(()=>{let c=!1;return __(e,o,n).then(u=>{c||l(u)}),()=>{c=!0}},[e,o,n]),a}function D_({page:e,matches:o,...n}){let a=Jo(),{future:l}=zp(),{basename:c}=_p(),u=b.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let d=u2(e,c,l.unstable_trailingSlashAwareDataRequests,"rsc"),h=!1,p=[];for(let v of o)typeof v.route.shouldRevalidate=="function"?h=!0:p.push(v.route.id);return h&&p.length>0&&d.searchParams.set("_routes",p.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 M_({page:e,matches:o,...n}){let a=Jo(),{future:l,manifest:c,routeModules:u}=zp(),{basename:d}=_p(),{loaderData:h,matches:p}=E_(),v=b.useMemo(()=>V1(e,o,p,c,a,"data"),[e,o,p,c,a]),m=b.useMemo(()=>V1(e,o,p,c,a,"assets"),[e,o,p,c,a]),w=b.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let y=new Set,C=!1;if(o.forEach(R=>{var T;let z=c.routes[R.route.id];!z||!z.hasLoader||(!v.some(E=>E.route.id===R.route.id)&&R.route.id in h&&((T=u[R.route.id])!=null&&T.shouldRevalidate)||z.hasClientLoader?C=!0:y.add(R.route.id))}),y.size===0)return[];let _=u2(e,d,l.unstable_trailingSlashAwareDataRequests,"data");return C&&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(()=>C_(m,c),[m,c]),S=A_(m);return b.createElement(b.Fragment,null,w.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})),S.map(({key:y,link:C})=>b.createElement("link",{key:y,nonce:n.nonce,...C,crossOrigin:C.crossOrigin??n.crossOrigin})))}function O_(...e){return o=>{e.forEach(n=>{typeof n=="function"?n(o):n!=null&&(n.current=o)})}}var F_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{F_&&(window.__reactRouterVersion="7.15.0")}catch{}function q_({basename:e,children:o,useTransitions:n,window:a}){let l=b.useRef();l.current==null&&(l.current=pB({window:a,v5Compat:!0}));let c=l.current,[u,d]=b.useState({action:c.action,location:c.location}),h=b.useCallback(p=>{n===!1?d(p):b.startTransition(()=>d(p))},[n]);return b.useLayoutEffect(()=>c.listen(h),[c,h]),b.createElement(h_,{basename:e,children:o,location:u.location,navigationType:u.action,navigator:c,useTransitions:n})}var d2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,tn=b.forwardRef(function({onClick:o,discover:n="render",prefetch:a="none",relative:l,reloadDocument:c,replace:u,mask:d,state:h,target:p,to:v,preventScrollReset:m,viewTransition:w,defaultShouldRevalidate:k,...S},y){let{basename:C,navigator:_,useTransitions:R}=b.useContext(Ro),z=typeof v=="string"&&d2.test(v),T=e2(v,C);v=T.to;let E=QB(v,{relative:l}),j=Jo(),M=null;if(d){let Z=ud(d,[],j.mask?j.mask.pathname:"/",!0);C!=="/"&&(Z.pathname=Z.pathname==="/"?C:dr([C,Z.pathname])),M=_.createHref(Z)}let[O,W,ee]=R_(a,S),de=I_(v,{replace:u,mask:d,state:h,target:p,preventScrollReset:m,relative:l,viewTransition:w,defaultShouldRevalidate:k,useTransitions:R});function ae(Z){o&&o(Z),Z.defaultPrevented||de(Z)}let le=!(T.isExternal||c),ie=b.createElement("a",{...S,...ee,href:(le?M:void 0)||T.absoluteURL||E,onClick:le?ae:o,ref:O_(y,W),target:p,"data-discover":!z&&n==="render"?"true":void 0});return O&&!z?b.createElement(b.Fragment,null,ie,b.createElement(j_,{page:E})):ie});tn.displayName="Link";var H_=b.forwardRef(function({"aria-current":o="page",caseSensitive:n=!1,className:a="",end:l=!1,style:c,to:u,viewTransition:d,children:h,...p},v){let m=Vs(u,{relative:p.relative}),w=Jo(),k=b.useContext(dd),{navigator:S,basename:y}=b.useContext(Ro),C=k!=null&&X_(m)&&d===!0,_=S.encodeLocation?S.encodeLocation(m).pathname:m.pathname,R=w.pathname,z=k&&k.navigation&&k.navigation.location?k.navigation.location.pathname:null;n||(R=R.toLowerCase(),z=z?z.toLowerCase():null,_=_.toLowerCase()),z&&y&&(z=sn(z,y)||z);const T=_!=="/"&&_.endsWith("/")?_.length-1:_.length;let E=R===_||!l&&R.startsWith(_)&&R.charAt(T)==="/",j=z!=null&&(z===_||!l&&z.startsWith(_)&&z.charAt(_.length)==="/"),M={isActive:E,isPending:j,isTransitioning:C},O=E?o:void 0,W;typeof a=="function"?W=a(M):W=[a,E?"active":null,j?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let ee=typeof c=="function"?c(M):c;return b.createElement(tn,{...p,"aria-current":O,className:W,ref:v,style:ee,to:u,viewTransition:d},typeof h=="function"?h(M):h)});H_.displayName="NavLink";var P_=b.forwardRef(({discover:e="render",fetcherKey:o,navigate:n,reloadDocument:a,replace:l,state:c,method:u=Ou,action:d,onSubmit:h,relative:p,preventScrollReset:v,viewTransition:m,defaultShouldRevalidate:w,...k},S)=>{let{useTransitions:y}=b.useContext(Ro),C=G_(),_=W_(d,{relative:p}),R=u.toLowerCase()==="get"?"get":"post",z=typeof d=="string"&&d2.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=()=>C(j||E.currentTarget,{fetcherKey:o,method:M,navigate:n,replace:l,state:c,relative:p,preventScrollReset:v,viewTransition:m,defaultShouldRevalidate:w});y&&n!==!1?b.startTransition(()=>O()):O()};return b.createElement("form",{ref:S,method:R,action:_,onSubmit:a?h:T,...k,"data-discover":!z&&e==="render"?"true":void 0})});P_.displayName="Form";function L_(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function f2(e){let o=b.useContext(cl);return ft(o,L_(e)),o}function I_(e,{target:o,replace:n,mask:a,state:l,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:h,useTransitions:p}={}){let v=Us(),m=Jo(),w=Vs(e,{relative:u});return b.useCallback(k=>{if(y_(k,o)){k.preventDefault();let S=n!==void 0?n:Cs(m)===Cs(w),y=()=>v(e,{replace:S,mask:a,state:l,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:h});p?b.startTransition(()=>y()):y()}},[m,v,w,n,a,l,o,e,c,u,d,h,p])}var U_=0,V_=()=>`__${String(++U_)}__`;function G_(){let{router:e}=f2("useSubmit"),{basename:o}=b.useContext(Ro),n=s_(),a=e.fetch,l=e.navigate;return b.useCallback(async(c,u={})=>{let{action:d,method:h,encType:p,formData:v,body:m}=S_(c,o);if(u.navigate===!1){let w=u.fetcherKey||V_();await a(w,n,u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:v,body:m,formMethod:u.method||h,formEncType:u.encType||p,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||p,replace:u.replace,state:u.state,fromRouteId:n,flushSync:u.flushSync,viewTransition:u.viewTransition})},[a,l,o,n])}function W_(e,{relative:o}={}){let{basename:n}=b.useContext(Ro),a=b.useContext(vr);ft(a,"useFormAction must be used inside a RouteContext");let[l]=a.matches.slice(-1),c={...Vs(e||".",{relative:o})},u=Jo();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:dr([n,c.pathname])),Cs(c)}function X_(e,{relative:o}={}){let n=b.useContext(r2);ft(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=f2("useViewTransitionState"),l=Vs(e,{relative:o});if(!n.isTransitioning)return!1;let c=sn(n.currentLocation.pathname,a)||n.currentLocation.pathname,u=sn(n.nextLocation.pathname,a)||n.nextLocation.pathname;return Wu(l.pathname,u)!=null||Wu(l.pathname,c)!=null}var Og=$x(),dl=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(){}},za,Vn,Li,Dx,$_=(Dx=class extends dl{constructor(){super();we(this,za);we(this,Vn);we(this,Li);ge(this,Li,o=>{if(typeof window<"u"&&window.addEventListener){const n=()=>o();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){D(this,Vn)||this.setEventListener(D(this,Li))}onUnsubscribe(){var o;this.hasListeners()||((o=D(this,Vn))==null||o.call(this),ge(this,Vn,void 0))}setEventListener(o){var n;ge(this,Li,o),(n=D(this,Vn))==null||n.call(this),ge(this,Vn,o(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(o){D(this,za)!==o&&(ge(this,za,o),this.onFocus())}onFocus(){const o=this.isFocused();this.listeners.forEach(n=>{n(o)})}isFocused(){var o;return typeof D(this,za)=="boolean"?D(this,za):((o=globalThis.document)==null?void 0:o.visibilityState)!=="hidden"}},za=new WeakMap,Vn=new WeakMap,Li=new WeakMap,Dx),Np=new $_,K_={setTimeout:(e,o)=>setTimeout(e,o),clearTimeout:e=>clearTimeout(e),setInterval:(e,o)=>setInterval(e,o),clearInterval:e=>clearInterval(e)},Gn,yp,Mx,Q_=(Mx=class{constructor(){we(this,Gn,K_);we(this,yp,!1)}setTimeoutProvider(e){ge(this,Gn,e)}setTimeout(e,o){return D(this,Gn).setTimeout(e,o)}clearTimeout(e){D(this,Gn).clearTimeout(e)}setInterval(e,o){return D(this,Gn).setInterval(e,o)}clearInterval(e){D(this,Gn).clearInterval(e)}},Gn=new WeakMap,yp=new WeakMap,Mx),_a=new Q_;function Z_(e){setTimeout(e,0)}var Y_=typeof window>"u"||"Deno"in globalThis;function Jt(){}function J_(e,o){return typeof e=="function"?e(o):e}function Fg(e){return typeof e=="number"&&e>=0&&e!==1/0}function h2(e,o){return Math.max(e+(o||0)-Date.now(),0)}function ea(e,o){return typeof e=="function"?e(o):e}function _o(e,o){return typeof e=="function"?e(o):e}function G1(e,o){const{type:n="all",exact:a,fetchStatus:l,predicate:c,queryKey:u,stale:d}=e;if(u){if(a){if(o.queryHash!==Tp(u,o.options))return!1}else if(!zs(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 W1(e,o){const{exact:n,status:a,predicate:l,mutationKey:c}=e;if(c){if(!o.options.mutationKey)return!1;if(n){if(qa(o.options.mutationKey)!==qa(c))return!1}else if(!zs(o.options.mutationKey,c))return!1}return!(a&&o.state.status!==a||l&&!l(o))}function Tp(e,o){return((o==null?void 0:o.queryKeyHashFn)||qa)(e)}function qa(e){return JSON.stringify(e,(o,n)=>qg(n)?Object.keys(n).sort().reduce((a,l)=>(a[l]=n[l],a),{}):n)}function zs(e,o){return e===o?!0:typeof e!=typeof o?!1:e&&o&&typeof e=="object"&&typeof o=="object"?Object.keys(o).every(n=>zs(e[n],o[n])):!1}var e4=Object.prototype.hasOwnProperty;function g2(e,o,n=0){if(e===o)return e;if(n>500)return o;const a=X1(e)&&X1(o);if(!a&&!(qg(e)&&qg(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 p=0;for(let v=0;v<d;v++){const m=a?v:u[v],w=e[m],k=o[m];if(w===k){h[m]=w,(a?v<c:e4.call(e,m))&&p++;continue}if(w===null||k===null||typeof w!="object"||typeof k!="object"){h[m]=k;continue}const S=g2(w,k,n+1);h[m]=S,S===w&&p++}return c===d&&p===c?e:h}function $u(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 X1(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function qg(e){if(!$1(e))return!1;const o=e.constructor;if(o===void 0)return!0;const n=o.prototype;return!(!$1(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function $1(e){return Object.prototype.toString.call(e)==="[object Object]"}function t4(e){return new Promise(o=>{_a.setTimeout(o,e)})}function Hg(e,o,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,o):n.structuralSharing!==!1?g2(e,o):o}function o4(e,o,n=0){const a=[...e,o];return n&&a.length>n?a.slice(1):a}function r4(e,o,n=0){const a=[o,...e];return n&&a.length>n?a.slice(0,-1):a}var Ep=Symbol();function p2(e,o){return!e.queryFn&&(o!=null&&o.initialPromise)?()=>o.initialPromise:!e.queryFn||e.queryFn===Ep?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Rp(e,o){return typeof e=="function"?e(...o):!!e}function n4(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 Ns=(()=>{let e=()=>Y_;return{isServer(){return e()},setIsServer(o){e=o}}})();function Pg(){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 a4=Z_;function i4(){let e=[],o=0,n=d=>{d()},a=d=>{d()},l=a4;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 jt=i4(),Ii,Wn,Ui,Ox,l4=(Ox=class extends dl{constructor(){super();we(this,Ii,!0);we(this,Wn);we(this,Ui);ge(this,Ui,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,Wn)||this.setEventListener(D(this,Ui))}onUnsubscribe(){var o;this.hasListeners()||((o=D(this,Wn))==null||o.call(this),ge(this,Wn,void 0))}setEventListener(o){var n;ge(this,Ui,o),(n=D(this,Wn))==null||n.call(this),ge(this,Wn,o(this.setOnline.bind(this)))}setOnline(o){D(this,Ii)!==o&&(ge(this,Ii,o),this.listeners.forEach(a=>{a(o)}))}isOnline(){return D(this,Ii)}},Ii=new WeakMap,Wn=new WeakMap,Ui=new WeakMap,Ox),Ku=new l4;function s4(e){return Math.min(1e3*2**e,3e4)}function m2(e){return(e??"online")==="online"?Ku.isOnline():!0}var Lg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function v2(e){let o=!1,n=0,a;const l=Pg(),c=()=>l.status!=="pending",u=y=>{var C;if(!c()){const _=new Lg(y);w(_),(C=e.onCancel)==null||C.call(e,_)}},d=()=>{o=!0},h=()=>{o=!1},p=()=>Np.isFocused()&&(e.networkMode==="always"||Ku.isOnline())&&e.canRun(),v=()=>m2(e.networkMode)&&e.canRun(),m=y=>{c()||(a==null||a(),l.resolve(y))},w=y=>{c()||(a==null||a(),l.reject(y))},k=()=>new Promise(y=>{var C;a=_=>{(c()||p())&&y(_)},(C=e.onPause)==null||C.call(e)}).then(()=>{var y;a=void 0,c()||(y=e.onContinue)==null||y.call(e)}),S=()=>{if(c())return;let y;const C=n===0?e.initialPromise:void 0;try{y=C??e.fn()}catch(_){y=Promise.reject(_)}Promise.resolve(y).then(m).catch(_=>{var j;if(c())return;const R=e.retry??(Ns.isServer()?0:3),z=e.retryDelay??s4,T=typeof z=="function"?z(n,_):z,E=R===!0||typeof R=="number"&&n<R||typeof R=="function"&&R(n,_);if(o||!E){w(_);return}n++,(j=e.onFail)==null||j.call(e,n,_),t4(T).then(()=>p()?void 0:k()).then(()=>{o?w(_):S()})})};return{promise:l,status:()=>l.status,cancel:u,continue:()=>(a==null||a(),l),cancelRetry:d,continueRetry:h,canStart:v,start:()=>(v()?S():k().then(S),l)}}var Na,Fx,b2=(Fx=class{constructor(){we(this,Na)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Fg(this.gcTime)&&ge(this,Na,_a.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ns.isServer()?1/0:300*1e3))}clearGcTimeout(){D(this,Na)!==void 0&&(_a.clearTimeout(D(this,Na)),ge(this,Na,void 0))}},Na=new WeakMap,Fx);function c4(e){return{onFetch:(o,n)=>{var v,m,w,k,S;const a=o.options,l=(w=(m=(v=o.fetchOptions)==null?void 0:v.meta)==null?void 0:m.fetchMore)==null?void 0:w.direction,c=((k=o.state.data)==null?void 0:k.pages)||[],u=((S=o.state.data)==null?void 0:S.pageParams)||[];let d={pages:[],pageParams:[]},h=0;const p=async()=>{let y=!1;const C=z=>{n4(z,()=>o.signal,()=>y=!0)},_=p2(o.options,o.fetchOptions),R=async(z,T,E)=>{if(y)return Promise.reject(o.signal.reason);if(T==null&&z.pages.length)return Promise.resolve(z);const M=(()=>{const de={client:o.client,queryKey:o.queryKey,pageParam:T,direction:E?"backward":"forward",meta:o.options.meta};return C(de),de})(),O=await _(M),{maxPages:W}=o.options,ee=E?r4:o4;return{pages:ee(z.pages,O,W),pageParams:ee(z.pageParams,T,W)}};if(l&&c.length){const z=l==="backward",T=z?u4:K1,E={pages:c,pageParams:u},j=T(a,E);d=await R(E,j,z)}else{const z=e??c.length;do{const T=h===0?u[0]??a.initialPageParam:K1(a,d);if(h>0&&T==null)break;d=await R(d,T),h++}while(h<z)}return d};o.options.persister?o.fetchFn=()=>{var y,C;return(C=(y=o.options).persister)==null?void 0:C.call(y,p,{client:o.client,queryKey:o.queryKey,meta:o.options.meta,signal:o.signal},n)}:o.fetchFn=p}}}function K1(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 u4(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 Vi,Ta,Gi,Uo,Ea,Ft,Fs,Ra,Bo,y2,Qr,qx,d4=(qx=class extends b2{constructor(o){super();we(this,Bo);we(this,Vi);we(this,Ta);we(this,Gi);we(this,Uo);we(this,Ea);we(this,Ft);we(this,Fs);we(this,Ra);ge(this,Ra,!1),ge(this,Fs,o.defaultOptions),this.setOptions(o.options),this.observers=[],ge(this,Ea,o.client),ge(this,Uo,D(this,Ea).getQueryCache()),this.queryKey=o.queryKey,this.queryHash=o.queryHash,ge(this,Ta,Z1(this.options)),this.state=o.state??D(this,Ta),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return D(this,Vi)}get promise(){var o;return(o=D(this,Ft))==null?void 0:o.promise}setOptions(o){if(this.options={...D(this,Fs),...o},o!=null&&o._type&&ge(this,Vi,o._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Z1(this.options);n.data!==void 0&&(this.setState(Q1(n.data,n.dataUpdatedAt)),ge(this,Ta,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&D(this,Uo).remove(this)}setData(o,n){const a=Hg(this.state.data,o,this.options);return je(this,Bo,Qr).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,Bo,Qr).call(this,{type:"setState",state:o})}cancel(o){var a,l;const n=(a=D(this,Ft))==null?void 0:a.promise;return(l=D(this,Ft))==null||l.cancel(o),n?n.then(Jt).catch(Jt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return D(this,Ta)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(o=>_o(o.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ep||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(o=>ea(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:!h2(this.state.dataUpdatedAt,o)}onFocus(){var n;const o=this.observers.find(a=>a.shouldFetchOnWindowFocus());o==null||o.refetch({cancelRefetch:!1}),(n=D(this,Ft))==null||n.continue()}onOnline(){var n;const o=this.observers.find(a=>a.shouldFetchOnReconnect());o==null||o.refetch({cancelRefetch:!1}),(n=D(this,Ft))==null||n.continue()}addObserver(o){this.observers.includes(o)||(this.observers.push(o),this.clearGcTimeout(),D(this,Uo).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,Ft)&&(D(this,Ra)||je(this,Bo,y2).call(this)?D(this,Ft).cancel({revert:!0}):D(this,Ft).cancelRetry()),this.scheduleGc()),D(this,Uo).notify({type:"observerRemoved",query:this,observer:o}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,Bo,Qr).call(this,{type:"invalidate"})}async fetch(o,n){var p,v,m,w,k,S,y,C,_,R,z;if(this.state.fetchStatus!=="idle"&&((p=D(this,Ft))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(D(this,Ft))return D(this,Ft).continueRetry(),D(this,Ft).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,Ra,!0),a.signal)})},c=()=>{const T=p2(this.options,n),j=(()=>{const M={client:D(this,Ea),queryKey:this.queryKey,meta:this.meta};return l(M),M})();return ge(this,Ra,!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,Ea),state:this.state,fetchFn:c};return l(T),T})(),h=D(this,Vi)==="infinite"?c4(this.options.pages):this.options.behavior;h==null||h.onFetch(d,this),ge(this,Gi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=d.fetchOptions)==null?void 0:v.meta))&&je(this,Bo,Qr).call(this,{type:"fetch",meta:(m=d.fetchOptions)==null?void 0:m.meta}),ge(this,Ft,v2({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:T=>{T instanceof Lg&&T.revert&&this.setState({...D(this,Gi),fetchStatus:"idle"}),a.abort()},onFail:(T,E)=>{je(this,Bo,Qr).call(this,{type:"failed",failureCount:T,error:E})},onPause:()=>{je(this,Bo,Qr).call(this,{type:"pause"})},onContinue:()=>{je(this,Bo,Qr).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const T=await D(this,Ft).start();if(T===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(T),(k=(w=D(this,Uo).config).onSuccess)==null||k.call(w,T,this),(y=(S=D(this,Uo).config).onSettled)==null||y.call(S,T,this.state.error,this),T}catch(T){if(T instanceof Lg){if(T.silent)return D(this,Ft).promise;if(T.revert){if(this.state.data===void 0)throw T;return this.state.data}}throw je(this,Bo,Qr).call(this,{type:"error",error:T}),(_=(C=D(this,Uo).config).onError)==null||_.call(C,T,this),(z=(R=D(this,Uo).config).onSettled)==null||z.call(R,this.state.data,T,this),T}finally{this.scheduleGc()}}},Vi=new WeakMap,Ta=new WeakMap,Gi=new WeakMap,Uo=new WeakMap,Ea=new WeakMap,Ft=new WeakMap,Fs=new WeakMap,Ra=new WeakMap,Bo=new WeakSet,y2=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Qr=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,...x2(a.data,this.options),fetchMeta:o.meta??null};case"success":const l={...a,...Q1(o.data,o.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!o.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ge(this,Gi,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),jt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),D(this,Uo).notify({query:this,type:"updated",action:o})})},qx);function x2(e,o){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:m2(o.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Q1(e,o){return{data:e,dataUpdatedAt:o??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Z1(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 co,Ie,qs,Yt,ja,Wi,Zr,Xn,Hs,Xi,$i,Aa,Da,$n,Ki,Ke,Ss,Ig,Ug,Vg,Gg,Wg,Xg,$g,w2,Hx,f4=(Hx=class extends dl{constructor(o,n){super();we(this,Ke);we(this,co);we(this,Ie);we(this,qs);we(this,Yt);we(this,ja);we(this,Wi);we(this,Zr);we(this,Xn);we(this,Hs);we(this,Xi);we(this,$i);we(this,Aa);we(this,Da);we(this,$n);we(this,Ki,new Set);this.options=n,ge(this,co,o),ge(this,Xn,null),ge(this,Zr,Pg()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(D(this,Ie).addObserver(this),Y1(D(this,Ie),this.options)?je(this,Ke,Ss).call(this):this.updateResult(),je(this,Ke,Gg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Kg(D(this,Ie),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Kg(D(this,Ie),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,je(this,Ke,Wg).call(this),je(this,Ke,Xg).call(this),D(this,Ie).removeObserver(this)}setOptions(o){const n=this.options,a=D(this,Ie);if(this.options=D(this,co).defaultQueryOptions(o),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof _o(this.options.enabled,D(this,Ie))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");je(this,Ke,$g).call(this),D(this,Ie).setOptions(this.options),n._defaulted&&!$u(this.options,n)&&D(this,co).getQueryCache().notify({type:"observerOptionsUpdated",query:D(this,Ie),observer:this});const l=this.hasListeners();l&&J1(D(this,Ie),a,this.options,n)&&je(this,Ke,Ss).call(this),this.updateResult(),l&&(D(this,Ie)!==a||_o(this.options.enabled,D(this,Ie))!==_o(n.enabled,D(this,Ie))||ea(this.options.staleTime,D(this,Ie))!==ea(n.staleTime,D(this,Ie)))&&je(this,Ke,Ig).call(this);const c=je(this,Ke,Ug).call(this);l&&(D(this,Ie)!==a||_o(this.options.enabled,D(this,Ie))!==_o(n.enabled,D(this,Ie))||c!==D(this,$n))&&je(this,Ke,Vg).call(this,c)}getOptimisticResult(o){const n=D(this,co).getQueryCache().build(D(this,co),o),a=this.createResult(n,o);return g4(this,a)&&(ge(this,Yt,a),ge(this,Wi,this.options),ge(this,ja,D(this,Ie).state)),a}getCurrentResult(){return D(this,Yt)}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,Zr).status==="pending"&&D(this,Zr).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,l))})}trackProp(o){D(this,Ki).add(o)}getCurrentQuery(){return D(this,Ie)}refetch({...o}={}){return this.fetch({...o})}fetchOptimistic(o){const n=D(this,co).defaultQueryOptions(o),a=D(this,co).getQueryCache().build(D(this,co),n);return a.fetch().then(()=>this.createResult(a,n))}fetch(o){return je(this,Ke,Ss).call(this,{...o,cancelRefetch:o.cancelRefetch??!0}).then(()=>(this.updateResult(),D(this,Yt)))}createResult(o,n){var W;const a=D(this,Ie),l=this.options,c=D(this,Yt),u=D(this,ja),d=D(this,Wi),p=o!==a?o.state:D(this,qs),{state:v}=o;let m={...v},w=!1,k;if(n._optimisticResults){const ee=this.hasListeners(),de=!ee&&Y1(o,n),ae=ee&&J1(o,a,n,l);(de||ae)&&(m={...m,...x2(v.data,o.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:S,errorUpdatedAt:y,status:C}=m;k=m.data;let _=!1;if(n.placeholderData!==void 0&&k===void 0&&C==="pending"){let ee;c!=null&&c.isPlaceholderData&&n.placeholderData===(d==null?void 0:d.placeholderData)?(ee=c.data,_=!0):ee=typeof n.placeholderData=="function"?n.placeholderData((W=D(this,$i))==null?void 0:W.state.data,D(this,$i)):n.placeholderData,ee!==void 0&&(C="success",k=Hg(c==null?void 0:c.data,ee,n),w=!0)}if(n.select&&k!==void 0&&!_)if(c&&k===(u==null?void 0:u.data)&&n.select===D(this,Hs))k=D(this,Xi);else try{ge(this,Hs,n.select),k=n.select(k),k=Hg(c==null?void 0:c.data,k,n),ge(this,Xi,k),ge(this,Xn,null)}catch(ee){ge(this,Xn,ee)}D(this,Xn)&&(S=D(this,Xn),k=D(this,Xi),y=Date.now(),C="error");const R=m.fetchStatus==="fetching",z=C==="pending",T=C==="error",E=z&&R,j=k!==void 0,O={status:C,fetchStatus:m.fetchStatus,isPending:z,isSuccess:C==="success",isError:T,isInitialLoading:E,isLoading:E,data:k,dataUpdatedAt:m.dataUpdatedAt,error:S,errorUpdatedAt:y,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:o.isFetched(),isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:R,isRefetching:R&&!z,isLoadingError:T&&!j,isPaused:m.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:T&&j,isStale:jp(o,n),refetch:this.refetch,promise:D(this,Zr),isEnabled:_o(n.enabled,o)!==!1};if(this.options.experimental_prefetchInRender){const ee=O.data!==void 0,de=O.status==="error"&&!ee,ae=Z=>{de?Z.reject(O.error):ee&&Z.resolve(O.data)},le=()=>{const Z=ge(this,Zr,O.promise=Pg());ae(Z)},ie=D(this,Zr);switch(ie.status){case"pending":o.queryHash===a.queryHash&&ae(ie);break;case"fulfilled":(de||O.data!==ie.value)&&le();break;case"rejected":(!de||O.error!==ie.reason)&&le();break}}return O}updateResult(){const o=D(this,Yt),n=this.createResult(D(this,Ie),this.options);if(ge(this,ja,D(this,Ie).state),ge(this,Wi,this.options),D(this,ja).data!==void 0&&ge(this,$i,D(this,Ie)),$u(n,o))return;ge(this,Yt,n);const a=()=>{if(!o)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!D(this,Ki).size)return!0;const u=new Set(c??D(this,Ki));return this.options.throwOnError&&u.add("error"),Object.keys(D(this,Yt)).some(d=>{const h=d;return D(this,Yt)[h]!==o[h]&&u.has(h)})};je(this,Ke,w2).call(this,{listeners:a()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&je(this,Ke,Gg).call(this)}},co=new WeakMap,Ie=new WeakMap,qs=new WeakMap,Yt=new WeakMap,ja=new WeakMap,Wi=new WeakMap,Zr=new WeakMap,Xn=new WeakMap,Hs=new WeakMap,Xi=new WeakMap,$i=new WeakMap,Aa=new WeakMap,Da=new WeakMap,$n=new WeakMap,Ki=new WeakMap,Ke=new WeakSet,Ss=function(o){je(this,Ke,$g).call(this);let n=D(this,Ie).fetch(this.options,o);return o!=null&&o.throwOnError||(n=n.catch(Jt)),n},Ig=function(){je(this,Ke,Wg).call(this);const o=ea(this.options.staleTime,D(this,Ie));if(Ns.isServer()||D(this,Yt).isStale||!Fg(o))return;const a=h2(D(this,Yt).dataUpdatedAt,o)+1;ge(this,Aa,_a.setTimeout(()=>{D(this,Yt).isStale||this.updateResult()},a))},Ug=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(D(this,Ie)):this.options.refetchInterval)??!1},Vg=function(o){je(this,Ke,Xg).call(this),ge(this,$n,o),!(Ns.isServer()||_o(this.options.enabled,D(this,Ie))===!1||!Fg(D(this,$n))||D(this,$n)===0)&&ge(this,Da,_a.setInterval(()=>{(this.options.refetchIntervalInBackground||Np.isFocused())&&je(this,Ke,Ss).call(this)},D(this,$n)))},Gg=function(){je(this,Ke,Ig).call(this),je(this,Ke,Vg).call(this,je(this,Ke,Ug).call(this))},Wg=function(){D(this,Aa)!==void 0&&(_a.clearTimeout(D(this,Aa)),ge(this,Aa,void 0))},Xg=function(){D(this,Da)!==void 0&&(_a.clearInterval(D(this,Da)),ge(this,Da,void 0))},$g=function(){const o=D(this,co).getQueryCache().build(D(this,co),this.options);if(o===D(this,Ie))return;const n=D(this,Ie);ge(this,Ie,o),ge(this,qs,o.state),this.hasListeners()&&(n==null||n.removeObserver(this),o.addObserver(this))},w2=function(o){jt.batch(()=>{o.listeners&&this.listeners.forEach(n=>{n(D(this,Yt))}),D(this,co).getQueryCache().notify({query:D(this,Ie),type:"observerResultsUpdated"})})},Hx);function h4(e,o){return _o(o.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&_o(o.retryOnMount,e)===!1)}function Y1(e,o){return h4(e,o)||e.state.data!==void 0&&Kg(e,o,o.refetchOnMount)}function Kg(e,o,n){if(_o(o.enabled,e)!==!1&&ea(o.staleTime,e)!=="static"){const a=typeof n=="function"?n(e):n;return a==="always"||a!==!1&&jp(e,o)}return!1}function J1(e,o,n,a){return(e!==o||_o(a.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&jp(e,n)}function jp(e,o){return _o(o.enabled,e)!==!1&&e.isStaleByTime(ea(o.staleTime,e))}function g4(e,o){return!$u(e.getCurrentResult(),o)}var Ps,Br,Gt,Ma,_r,In,Px,p4=(Px=class extends b2{constructor(o){super();we(this,_r);we(this,Ps);we(this,Br);we(this,Gt);we(this,Ma);ge(this,Ps,o.client),this.mutationId=o.mutationId,ge(this,Gt,o.mutationCache),ge(this,Br,[]),this.state=o.state||S2(),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,Br).includes(o)||(D(this,Br).push(o),this.clearGcTimeout(),D(this,Gt).notify({type:"observerAdded",mutation:this,observer:o}))}removeObserver(o){ge(this,Br,D(this,Br).filter(n=>n!==o)),this.scheduleGc(),D(this,Gt).notify({type:"observerRemoved",mutation:this,observer:o})}optionalRemove(){D(this,Br).length||(this.state.status==="pending"?this.scheduleGc():D(this,Gt).remove(this))}continue(){var o;return((o=D(this,Ma))==null?void 0:o.continue())??this.execute(this.state.variables)}async execute(o){var u,d,h,p,v,m,w,k,S,y,C,_,R,z,T,E,j,M;const n=()=>{je(this,_r,In).call(this,{type:"continue"})},a={client:D(this,Ps),meta:this.options.meta,mutationKey:this.options.mutationKey};ge(this,Ma,v2({fn:()=>this.options.mutationFn?this.options.mutationFn(o,a):Promise.reject(new Error("No mutationFn found")),onFail:(O,W)=>{je(this,_r,In).call(this,{type:"failed",failureCount:O,error:W})},onPause:()=>{je(this,_r,In).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(this,Gt).canRun(this)}));const l=this.state.status==="pending",c=!D(this,Ma).canStart();try{if(l)n();else{je(this,_r,In).call(this,{type:"pending",variables:o,isPaused:c}),D(this,Gt).config.onMutate&&await D(this,Gt).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,_r,In).call(this,{type:"pending",context:W,variables:o,isPaused:c})}const O=await D(this,Ma).start();return await((p=(h=D(this,Gt).config).onSuccess)==null?void 0:p.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=(w=D(this,Gt).config).onSettled)==null?void 0:k.call(w,O,null,this.state.variables,this.state.context,this,a)),await((y=(S=this.options).onSettled)==null?void 0:y.call(S,O,null,o,this.state.context,a)),je(this,_r,In).call(this,{type:"success",data:O}),O}catch(O){try{await((_=(C=D(this,Gt).config).onError)==null?void 0:_.call(C,O,o,this.state.context,this,a))}catch(W){Promise.reject(W)}try{await((z=(R=this.options).onError)==null?void 0:z.call(R,O,o,this.state.context,a))}catch(W){Promise.reject(W)}try{await((E=(T=D(this,Gt).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,_r,In).call(this,{type:"error",error:O}),O}finally{D(this,Gt).runNext(this)}}},Ps=new WeakMap,Br=new WeakMap,Gt=new WeakMap,Ma=new WeakMap,_r=new WeakSet,In=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),jt.batch(()=>{D(this,Br).forEach(a=>{a.onMutationUpdate(o)}),D(this,Gt).notify({mutation:this,type:"updated",action:o})})},Px);function S2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Yr,ir,Ls,Lx,m4=(Lx=class extends dl{constructor(o={}){super();we(this,Yr);we(this,ir);we(this,Ls);this.config=o,ge(this,Yr,new Set),ge(this,ir,new Map),ge(this,Ls,0)}build(o,n,a){const l=new p4({client:o,mutationCache:this,mutationId:++Su(this,Ls)._,options:o.defaultMutationOptions(n),state:a});return this.add(l),l}add(o){D(this,Yr).add(o);const n=Bu(o);if(typeof n=="string"){const a=D(this,ir).get(n);a?a.push(o):D(this,ir).set(n,[o])}this.notify({type:"added",mutation:o})}remove(o){if(D(this,Yr).delete(o)){const n=Bu(o);if(typeof n=="string"){const a=D(this,ir).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,ir).delete(n)}}this.notify({type:"removed",mutation:o})}canRun(o){const n=Bu(o);if(typeof n=="string"){const a=D(this,ir).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=Bu(o);if(typeof n=="string"){const l=(a=D(this,ir).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(){jt.batch(()=>{D(this,Yr).forEach(o=>{this.notify({type:"removed",mutation:o})}),D(this,Yr).clear(),D(this,ir).clear()})}getAll(){return Array.from(D(this,Yr))}find(o){const n={exact:!0,...o};return this.getAll().find(a=>W1(n,a))}findAll(o={}){return this.getAll().filter(n=>W1(o,n))}notify(o){jt.batch(()=>{this.listeners.forEach(n=>{n(o)})})}resumePausedMutations(){const o=this.getAll().filter(n=>n.state.isPaused);return jt.batch(()=>Promise.all(o.map(n=>n.continue().catch(Jt))))}},Yr=new WeakMap,ir=new WeakMap,Ls=new WeakMap,Lx);function Bu(e){var o;return(o=e.options.scope)==null?void 0:o.id}var Jr,Kn,uo,en,ln,qu,Qg,Ix,v4=(Ix=class extends dl{constructor(n,a){super();we(this,ln);we(this,Jr);we(this,Kn);we(this,uo);we(this,en);ge(this,Jr,n),this.setOptions(a),this.bindMethods(),je(this,ln,qu).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,Jr).defaultMutationOptions(n),$u(this.options,a)||D(this,Jr).getMutationCache().notify({type:"observerOptionsUpdated",mutation:D(this,uo),observer:this}),a!=null&&a.mutationKey&&this.options.mutationKey&&qa(a.mutationKey)!==qa(this.options.mutationKey)?this.reset():((l=D(this,uo))==null?void 0:l.state.status)==="pending"&&D(this,uo).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=D(this,uo))==null||n.removeObserver(this)}onMutationUpdate(n){je(this,ln,qu).call(this),je(this,ln,Qg).call(this,n)}getCurrentResult(){return D(this,Kn)}reset(){var n;(n=D(this,uo))==null||n.removeObserver(this),ge(this,uo,void 0),je(this,ln,qu).call(this),je(this,ln,Qg).call(this)}mutate(n,a){var l;return ge(this,en,a),(l=D(this,uo))==null||l.removeObserver(this),ge(this,uo,D(this,Jr).getMutationCache().build(D(this,Jr),this.options)),D(this,uo).addObserver(this),D(this,uo).execute(n)}},Jr=new WeakMap,Kn=new WeakMap,uo=new WeakMap,en=new WeakMap,ln=new WeakSet,qu=function(){var a;const n=((a=D(this,uo))==null?void 0:a.state)??S2();ge(this,Kn,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},Qg=function(n){jt.batch(()=>{var a,l,c,u,d,h,p,v;if(D(this,en)&&this.hasListeners()){const m=D(this,Kn).variables,w=D(this,Kn).context,k={client:D(this,Jr),meta:this.options.meta,mutationKey:this.options.mutationKey};if((n==null?void 0:n.type)==="success"){try{(l=(a=D(this,en)).onSuccess)==null||l.call(a,n.data,m,w,k)}catch(S){Promise.reject(S)}try{(u=(c=D(this,en)).onSettled)==null||u.call(c,n.data,null,m,w,k)}catch(S){Promise.reject(S)}}else if((n==null?void 0:n.type)==="error"){try{(h=(d=D(this,en)).onError)==null||h.call(d,n.error,m,w,k)}catch(S){Promise.reject(S)}try{(v=(p=D(this,en)).onSettled)==null||v.call(p,void 0,n.error,m,w,k)}catch(S){Promise.reject(S)}}}this.listeners.forEach(m=>{m(D(this,Kn))})})},Ix),Cr,Ux,b4=(Ux=class extends dl{constructor(o={}){super();we(this,Cr);this.config=o,ge(this,Cr,new Map)}build(o,n,a){const l=n.queryKey,c=n.queryHash??Tp(l,n);let u=this.get(c);return u||(u=new d4({client:o,queryKey:l,queryHash:c,options:o.defaultQueryOptions(n),state:a,defaultOptions:o.getQueryDefaults(l)}),this.add(u)),u}add(o){D(this,Cr).has(o.queryHash)||(D(this,Cr).set(o.queryHash,o),this.notify({type:"added",query:o}))}remove(o){const n=D(this,Cr).get(o.queryHash);n&&(o.destroy(),n===o&&D(this,Cr).delete(o.queryHash),this.notify({type:"removed",query:o}))}clear(){jt.batch(()=>{this.getAll().forEach(o=>{this.remove(o)})})}get(o){return D(this,Cr).get(o)}getAll(){return[...D(this,Cr).values()]}find(o){const n={exact:!0,...o};return this.getAll().find(a=>G1(n,a))}findAll(o={}){const n=this.getAll();return Object.keys(o).length>0?n.filter(a=>G1(o,a)):n}notify(o){jt.batch(()=>{this.listeners.forEach(n=>{n(o)})})}onFocus(){jt.batch(()=>{this.getAll().forEach(o=>{o.onFocus()})})}onOnline(){jt.batch(()=>{this.getAll().forEach(o=>{o.onOnline()})})}},Cr=new WeakMap,Ux),bt,Qn,Zn,Qi,Zi,Yn,Yi,Ji,Vx,y4=(Vx=class{constructor(e={}){we(this,bt);we(this,Qn);we(this,Zn);we(this,Qi);we(this,Zi);we(this,Yn);we(this,Yi);we(this,Ji);ge(this,bt,e.queryCache||new b4),ge(this,Qn,e.mutationCache||new m4),ge(this,Zn,e.defaultOptions||{}),ge(this,Qi,new Map),ge(this,Zi,new Map),ge(this,Yn,0)}mount(){Su(this,Yn)._++,D(this,Yn)===1&&(ge(this,Yi,Np.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,bt).onFocus())})),ge(this,Ji,Ku.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,bt).onOnline())})))}unmount(){var e,o;Su(this,Yn)._--,D(this,Yn)===0&&((e=D(this,Yi))==null||e.call(this),ge(this,Yi,void 0),(o=D(this,Ji))==null||o.call(this),ge(this,Ji,void 0))}isFetching(e){return D(this,bt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return D(this,Qn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const o=this.defaultQueryOptions({queryKey:e});return(n=D(this,bt).get(o.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const o=this.defaultQueryOptions(e),n=D(this,bt).build(this,o),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ea(o.staleTime,n))&&this.prefetchQuery(o),Promise.resolve(a))}getQueriesData(e){return D(this,bt).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,bt).get(a.queryHash),c=l==null?void 0:l.state.data,u=J_(o,c);if(u!==void 0)return D(this,bt).build(this,a).setData(u,{...n,manual:!0})}setQueriesData(e,o,n){return jt.batch(()=>D(this,bt).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,bt).get(o.queryHash))==null?void 0:n.state}removeQueries(e){const o=D(this,bt);jt.batch(()=>{o.findAll(e).forEach(n=>{o.remove(n)})})}resetQueries(e,o){const n=D(this,bt);return jt.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},o)))}cancelQueries(e,o={}){const n={revert:!0,...o},a=jt.batch(()=>D(this,bt).findAll(e).map(l=>l.cancel(n)));return Promise.all(a).then(Jt).catch(Jt)}invalidateQueries(e,o={}){return jt.batch(()=>(D(this,bt).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=jt.batch(()=>D(this,bt).findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,n);return n.throwOnError||(c=c.catch(Jt)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(a).then(Jt)}fetchQuery(e){const o=this.defaultQueryOptions(e);o.retry===void 0&&(o.retry=!1);const n=D(this,bt).build(this,o);return n.isStaleByTime(ea(o.staleTime,n))?n.fetch(o):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Jt).catch(Jt)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Jt).catch(Jt)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Ku.isOnline()?D(this,Qn).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(this,bt)}getMutationCache(){return D(this,Qn)}getDefaultOptions(){return D(this,Zn)}setDefaultOptions(e){ge(this,Zn,e)}setQueryDefaults(e,o){D(this,Qi).set(qa(e),{queryKey:e,defaultOptions:o})}getQueryDefaults(e){const o=[...D(this,Qi).values()],n={};return o.forEach(a=>{zs(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,o){D(this,Zi).set(qa(e),{mutationKey:e,defaultOptions:o})}getMutationDefaults(e){const o=[...D(this,Zi).values()],n={};return o.forEach(a=>{zs(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const o={...D(this,Zn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return o.queryHash||(o.queryHash=Tp(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===Ep&&(o.enabled=!1),o}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...D(this,Zn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){D(this,bt).clear(),D(this,Qn).clear()}},bt=new WeakMap,Qn=new WeakMap,Zn=new WeakMap,Qi=new WeakMap,Zi=new WeakMap,Yn=new WeakMap,Yi=new WeakMap,Ji=new WeakMap,Vx),k2=b.createContext(void 0),Gs=e=>{const o=b.useContext(k2);if(!o)throw new Error("No QueryClient set, use QueryClientProvider to set one");return o},x4=({client:e,children:o})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),B.jsx(k2.Provider,{value:e,children:o})),B2=b.createContext(!1),w4=()=>b.useContext(B2);B2.Provider;function S4(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var k4=b.createContext(S4()),B4=()=>b.useContext(k4),_4=(e,o,n)=>{const a=n!=null&&n.state.error&&typeof e.throwOnError=="function"?Rp(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||a)&&(o.isReset()||(e.retryOnMount=!1))},C4=e=>{b.useEffect(()=>{e.clearReset()},[e])},z4=({result:e,errorResetBoundary:o,throwOnError:n,query:a,suspense:l})=>e.isError&&!o.isReset()&&!e.isFetching&&a&&(l&&e.data===void 0||Rp(n,[e.error,a])),N4=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))}},T4=(e,o)=>e.isLoading&&e.isFetching&&!o,E4=(e,o)=>(e==null?void 0:e.suspense)&&o.isPending,ey=(e,o,n)=>o.fetchOptimistic(e).catch(()=>{n.clearReset()});function R4(e,o,n){var w,k,S,y;const a=w4(),l=B4(),c=Gs(),u=c.defaultQueryOptions(e);(k=(w=c.getDefaultOptions().queries)==null?void 0:w._experimental_beforeQuery)==null||k.call(w,u);const d=c.getQueryCache().get(u.queryHash);u._optimisticResults=a?"isRestoring":"optimistic",N4(u),_4(u,l,d),C4(l);const h=!c.getQueryCache().get(u.queryHash),[p]=b.useState(()=>new o(c,u)),v=p.getOptimisticResult(u),m=!a&&e.subscribed!==!1;if(b.useSyncExternalStore(b.useCallback(C=>{const _=m?p.subscribe(jt.batchCalls(C)):Jt;return p.updateResult(),_},[p,m]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),b.useEffect(()=>{p.setOptions(u)},[u,p]),E4(u,v))throw ey(u,p,l);if(z4({result:v,errorResetBoundary:l,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw v.error;if((y=(S=c.getDefaultOptions().queries)==null?void 0:S._experimental_afterQuery)==null||y.call(S,u,v),u.experimental_prefetchInRender&&!Ns.isServer()&&T4(v,a)){const C=h?ey(u,p,l):d==null?void 0:d.promise;C==null||C.catch(Jt).finally(()=>{p.updateResult()})}return u.notifyOnChangeProps?v:p.trackResult(v)}function hd(e,o){return R4(e,f4)}function _2(e,o){const n=Gs(),[a]=b.useState(()=>new v4(n,e));b.useEffect(()=>{a.setOptions(e)},[a,e]);const l=b.useSyncExternalStore(b.useCallback(u=>a.subscribe(jt.batchCalls(u)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),c=b.useCallback((u,d)=>{a.mutate(u,d).catch(Jt)},[a]);if(l.error&&Rp(a.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}const ug=typeof window>"u"?global:window,dg="@griffel/";function j4(e,o){return ug[Symbol.for(dg+e)]||(ug[Symbol.for(dg+e)]=o),ug[Symbol.for(dg+e)]}const Zg=j4("DEFINITION_LOOKUP_TABLE",{}),Bs="data-make-styles-bucket",A4="data-priority",Yg="f",Jg=7,Ap="___",D4=Ap.length+Jg,M4=0,O4=1,F4={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},ep="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Ts(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 q4(e){const o=e.length;if(o===Jg)return e;for(let n=o;n<Jg;n++)e+="0";return e}function C2(e,o,n=[]){return Ap+q4(Ts(e+o))}function z2(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 Qu(e,o){const n={};for(const a in e){const[l,c]=z2(e[a],o);if(c===""){n[a]="";continue}const u=C2(c,o),d=u+(l===""?"":" "+l);Zg[u]=[e[a],o],n[a]=d}return n}const ty={};function fe(){let e=null,o="",n="";const a=new Array(arguments.length);for(let m=0;m<arguments.length;m++){const w=arguments[m];if(typeof w=="string"&&w!==""){const k=w.indexOf(Ap);if(k===-1)o+=w+" ";else{const S=w.substr(k,D4);k>0&&(o+=w.slice(0,k)),n+=S,a[m]=S}}}if(n==="")return o.slice(0,-1);const l=ty[n];if(l!==void 0)return o+l;const c=[];for(let m=0;m<arguments.length;m++){const w=a[m];if(w){const k=Zg[w];k&&(c.push(k[M4]),e=k[O4])}}const u=Object.assign.apply(Object,[{}].concat(c)),[d,h]=z2(u,e),p=C2(h,e,a),v=p+" "+d;return ty[n]=v,Zg[p]=[u,e],o+v}function H4(e){return Array.isArray(e)?e:[e]}function P4(e,o,n,a){const l=[];if(a[Bs]=o,a[A4]=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 L4=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],oy=L4.reduce((e,o,n)=>(e[o]=n,e),{});function I4(e,o,n){return(e==="m"?e+o:e)+n}function U4(e,o,n,a,l={}){var c,u;const d=e==="m",h=(c=l.m)!==null&&c!==void 0?c:"0",p=(u=l.p)!==null&&u!==void 0?u:0,v=I4(e,h,p);if(!a.stylesheets[v]){const m=o&&o.createElement("style"),w=P4(m,e,p,{...a.styleElementAttributes,...d&&{media:h}});a.stylesheets[v]=w,o!=null&&o.head&&m&&o.head.insertBefore(m,G4(o,n,e,a,l))}return a.stylesheets[v]}function V4(e,o,n){var a,l;const c=o+((a=n.m)!==null&&a!==void 0?a:""),u=e.getAttribute(Bs)+((l=e.media)!==null&&l!==void 0?l:"");return c===u}function G4(e,o,n,a,l={}){var c,u;const d=oy[n],h=(c=l.m)!==null&&c!==void 0?c:"",p=(u=l.p)!==null&&u!==void 0?u:0;let v=y=>d-oy[y.getAttribute(Bs)],m=e.head.querySelectorAll(`[${Bs}]`);if(n==="m"){const y=e.head.querySelectorAll(`[${Bs}="${n}"]`);y.length&&(m=y,v=C=>a.compareMediaQueries(h,C.media))}const w=y=>V4(y,n,l)?p-Number(y.getAttribute("data-priority")):v(y),k=m.length;let S=k-1;for(;S>=0;){const y=m.item(S);if(w(y)>0)return y.nextSibling;S--}return k>0?m.item(0):o?o.nextSibling:null}function ry(e,o){try{e.insertRule(o)}catch{}}let W4=0;const X4=(e,o)=>e<o?-1:e>o?1:0;function $4(e=typeof document>"u"?void 0:document,o={}){const{classNameHashSalt:n,unstable_filterCSSRule:a,insertionPoint:l,styleElementAttributes:c,compareMediaQueries:u=X4}=o,d={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${W4++}`,insertCSSRules(h){for(const p in h){const v=h[p];for(let m=0,w=v.length;m<w;m++){const[k,S]=H4(v[m]),y=U4(p,e,l||null,d,S);d.insertionCache[k]||(d.insertionCache[k]=p,a?a(k)&&ry(y,k):ry(y,k))}}}};return d}const Dp=()=>{const e={};return function(n,a){e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}};function N2(e){return e.reduce(function(o,n){var a=n[0],l=n[1];return o[a]=l,o[l]=a,o},{})}function K4(e){return typeof e=="boolean"}function Q4(e){return typeof e=="function"}function ks(e){return typeof e=="number"}function Z4(e){return e===null||typeof e>"u"}function Y4(e){return e&&typeof e=="object"}function J4(e){return typeof e=="string"}function Hu(e,o){return e.indexOf(o)!==-1}function eC(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function _u(e,o,n,a){return o+eC(n)+a}function tC(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 T2(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 ny(e){var o=T2(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 oC(e){return!K4(e)&&!Z4(e)}function rC(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 ne={padding:function(o){var n=o.value;return ks(n)?n:ny(n)},textShadow:function(o){var n=o.value,a=rC(n).map(function(l){return l.replace(/(^|\s)(-*)([.|\d]+)/,function(c,u,d,h){if(h==="0")return c;var p=d===""?"-":"";return""+u+p+h})});return a.join(",")},borderColor:function(o){var n=o.value;return ny(n)},borderRadius:function(o){var n=o.value;if(ks(n))return n;if(Hu(n,"/")){var a=n.split("/"),l=a[0],c=a[1],u=ne.borderRadius({value:l.trim()}),d=ne.borderRadius({value:c.trim()});return u+" / "+d}var h=T2(n);switch(h.length){case 2:return h.reverse().join(" ");case 4:{var p=h[0],v=h[1],m=h[2],w=h[3];return[v,p,w,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(ks(n))return n;var d=n.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return n=n.replace(d,ne.backgroundPosition({value:d,valuesToConvert:a,isRtl:l,bgPosDirectionRegex:u})),ne.backgroundImage({value:n,valuesToConvert:a,bgImgDirectionRegex:c})},backgroundImage:function(o){var n=o.value,a=o.valuesToConvert,l=o.bgImgDirectionRegex;return!Hu(n,"url(")&&!Hu(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 tC(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 ks(n)?n:ne.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"),p=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+c+"(\\s*\\))","gi");return n.replace(u,_u).replace(d,_u).replace(h,_u).replace(p,_u)}};ne.objectPosition=ne.backgroundPosition;ne.margin=ne.padding;ne.borderWidth=ne.padding;ne.boxShadow=ne.textShadow;ne.webkitBoxShadow=ne.boxShadow;ne.mozBoxShadow=ne.boxShadow;ne.WebkitBoxShadow=ne.boxShadow;ne.MozBoxShadow=ne.boxShadow;ne.borderStyle=ne.borderColor;ne.webkitTransform=ne.transform;ne.mozTransform=ne.transform;ne.WebkitTransform=ne.transform;ne.MozTransform=ne.transform;ne.transformOrigin=ne.backgroundPosition;ne.webkitTransformOrigin=ne.transformOrigin;ne.mozTransformOrigin=ne.transformOrigin;ne.WebkitTransformOrigin=ne.transformOrigin;ne.MozTransformOrigin=ne.transformOrigin;ne.webkitTransition=ne.transition;ne.mozTransition=ne.transition;ne.WebkitTransition=ne.transition;ne.MozTransition=ne.transition;ne.webkitTransitionProperty=ne.transitionProperty;ne.mozTransitionProperty=ne.transitionProperty;ne.WebkitTransitionProperty=ne.transitionProperty;ne.MozTransitionProperty=ne.transitionProperty;ne["text-shadow"]=ne.textShadow;ne["border-color"]=ne.borderColor;ne["border-radius"]=ne.borderRadius;ne["background-image"]=ne.backgroundImage;ne["background-position"]=ne.backgroundPosition;ne["background-position-x"]=ne.backgroundPositionX;ne["object-position"]=ne.objectPosition;ne["border-width"]=ne.padding;ne["box-shadow"]=ne.textShadow;ne["-webkit-box-shadow"]=ne.textShadow;ne["-moz-box-shadow"]=ne.textShadow;ne["border-style"]=ne.borderColor;ne["-webkit-transform"]=ne.transform;ne["-moz-transform"]=ne.transform;ne["transform-origin"]=ne.transformOrigin;ne["-webkit-transform-origin"]=ne.transformOrigin;ne["-moz-transform-origin"]=ne.transformOrigin;ne["-webkit-transition"]=ne.transition;ne["-moz-transition"]=ne.transition;ne["transition-property"]=ne.transitionProperty;ne["-webkit-transition-property"]=ne.transitionProperty;ne["-moz-transition-property"]=ne.transitionProperty;var E2=N2([["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"]]),nC=["content"],ay=N2([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),aC=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),iC=new RegExp("(left)|(right)");function R2(e){return Object.keys(e).reduce(function(o,n){var a=e[n];if(J4(a)&&(a=a.trim()),Hu(nC,n))return o[n]=a,o;var l=tp(n,a),c=l.key,u=l.value;return o[c]=u,o},Array.isArray(e)?[]:{})}function tp(e,o){var n=/\/\*\s?@noflip\s?\*\//.test(o),a=n?e:lC(e),l=n?o:sC(a,o);return{key:a,value:l}}function lC(e){return E2[e]||e}function sC(e,o){if(!oC(o))return o;if(Y4(o))return R2(o);var n=ks(o),a=Q4(o),l=n||a?o:o.replace(/ !important.*?$/,""),c=!n&&l.length!==o.length,u=ne[e],d;return u?d=u({value:l,valuesToConvert:ay,propertiesToConvert:E2,isRtl:!0,bgImgDirectionRegex:aC,bgPosDirectionRegex:iC}):d=ay[l]||l,c?d+" !important":d}var _s="-moz-",nr="-webkit-",j2="comm",gd="rule",Mp="decl",cC="@media",uC="@import",dC="@supports",fC="@namespace",hC="@keyframes",A2="@layer",gC=Math.abs,Mi=String.fromCharCode,pC=Object.assign;function mC(e,o){return Xt(e,0)^45?(((o<<2^Xt(e,0))<<2^Xt(e,1))<<2^Xt(e,2))<<2^Xt(e,3):0}function D2(e){return e.trim()}function M2(e,o){return(e=o.exec(e))?e[0]:e}function Co(e,o,n){return e.replace(o,n)}function vC(e,o){return e.indexOf(o)}function Xt(e,o){return e.charCodeAt(o)|0}function el(e,o,n){return e.slice(o,n)}function lr(e){return e.length}function O2(e){return e.length}function Ca(e,o){return o.push(e),e}function bC(e,o){return e.map(o).join("")}var pd=1,tl=1,F2=0,To=0,gt=0,fl="";function md(e,o,n,a,l,c,u,d){return{value:e,root:o,parent:n,type:a,props:l,children:c,line:pd,column:tl,length:u,return:"",siblings:d}}function fg(e,o){return pC(md("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},o)}function yC(){return gt}function xC(){return gt=To>0?Xt(fl,--To):0,tl--,gt===10&&(tl=1,pd--),gt}function $o(){return gt=To<F2?Xt(fl,To++):0,tl++,gt===10&&(tl=1,pd++),gt}function Jn(){return Xt(fl,To)}function Pu(){return To}function vd(e,o){return el(fl,e,o)}function ol(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 q2(e){return pd=tl=1,F2=lr(fl=e),To=0,[]}function H2(e){return fl="",e}function Lu(e){return D2(vd(To-1,op(e===91?e+2:e===40?e+1:e)))}function wC(e){return H2(kC(q2(e)))}function SC(e){for(;(gt=Jn())&><33;)$o();return ol(e)>2||ol(gt)>3?"":" "}function kC(e){for(;$o();)switch(ol(gt)){case 0:Ca(P2(To-1),e);break;case 2:Ca(Lu(gt),e);break;default:Ca(Mi(gt),e)}return e}function BC(e,o){for(;--o&&$o()&&!(gt<48||gt>102||gt>57&><65||gt>70&><97););return vd(e,Pu()+(o<6&&Jn()==32&&$o()==32))}function op(e){for(;$o();)switch(gt){case e:return To;case 34:case 39:e!==34&&e!==39&&op(gt);break;case 40:e===41&&op(e);break;case 92:$o();break}return To}function _C(e,o){for(;$o()&&e+gt!==57;)if(e+gt===84&&Jn()===47)break;return"/*"+vd(o,To-1)+"*"+Mi(e===47?e:$o())}function P2(e){for(;!ol(Jn());)$o();return vd(e,To)}function L2(e){return H2(Iu("",null,null,null,[""],e=q2(e),0,[0],e))}function Iu(e,o,n,a,l,c,u,d,h){for(var p=0,v=0,m=u,w=0,k=0,S=0,y=1,C=1,_=1,R=0,z=0,T="",E=l,j=c,M=a,O=T;C;)switch(S=z,z=$o()){case 40:S!=108&&Xt(O,m-1)==58?(R++,O+="("):O+=Lu(z);break;case 41:R--,O+=")";break;case 34:case 39:case 91:O+=Lu(z);break;case 9:case 10:case 13:case 32:if(R>0){O+=Mi(z);break}O+=SC(S);break;case 92:O+=BC(Pu()-1,7);continue;case 47:switch(Jn()){case 42:case 47:Ca(CC(_C($o(),Pu()),o,n,h),h),(ol(S||1)==5||ol(Jn()||1)==5)&&lr(O)&&el(O,-1,void 0)!==" "&&(O+=" ");break;default:O+="/"}break;case 123*y:d[p++]=lr(O)*_;case 125*y:case 59:case 0:if(R>0&&z){O+=Mi(z);break}switch(z){case 0:case 125:C=0;case 59+v:_==-1&&(O=Co(O,/\f/g,"")),k>0&&(lr(O)-m||y===0)&&Ca(k>32?ly(O+";",a,n,m-1,h):ly(Co(O," ","")+";",a,n,m-2,h),h);break;case 59:O+=";";default:if(Ca(M=iy(O,o,n,p,v,l,d,T,E=[],j=[],m,c),c),z===123)if(v===0)Iu(O,o,M,M,E,c,m,d,j);else{switch(w){case 99:if(Xt(O,3)===110)break;case 108:if(Xt(O,2)===97)break;default:v=0;case 100:case 109:case 115:}v?Iu(e,M,M,a&&Ca(iy(e,M,M,0,0,l,d,T,l,E=[],m,j),j),l,j,m,d,a?E:j):Iu(O,M,M,M,[""],j,0,d,j)}}p=v=k=0,y=_=1,T=O="",m=u;break;case 58:m=1+lr(O),k=S;default:if(y<1){if(z==123)--y;else if(z==125&&y++==0&&xC()==125)continue}switch(O+=Mi(z),z*y){case 38:_=v>0?1:(O+="\f",-1);break;case 44:if(R>0)break;d[p++]=(lr(O)-1)*_,_=1;break;case 64:Jn()===45&&(O+=Lu($o())),w=Jn(),v=m=lr(T=O+=P2(Pu())),z++;break;case 45:S===45&&lr(O)==2&&(y=0)}}return c}function iy(e,o,n,a,l,c,u,d,h,p,v,m){for(var w=l-1,k=l===0?c:[""],S=O2(k),y=0,C=0,_=0;y<a;++y)for(var R=0,z=el(e,w+1,w=gC(C=u[y])),T=e;R<S;++R)(T=D2(C>0?k[R]+" "+z:Co(z,/&\f/g,k[R])))&&(h[_++]=T);return md(e,o,n,l===0?gd:d,h,p,v,m)}function CC(e,o,n,a){return md(e,o,n,j2,Mi(yC()),el(e,2,-2),0,a)}function ly(e,o,n,a,l){return md(e,o,n,Mp,el(e,0,a),el(e,a+1,-1),a,l)}function rl(e,o){for(var n="",a=0;a<e.length;a++)n+=o(e[a],a,e,o)||"";return n}function I2(e,o,n,a){switch(e.type){case A2:if(e.children.length)break;case uC:case fC:case Mp:return e.return=e.return||e.value;case j2:return"";case hC:return e.return=e.value+"{"+rl(e.children,a)+"}";case gd:if(!lr(e.value=e.props.join(",")))return""}return lr(n=rl(e.children,a))?e.return=e.value+"{"+n+"}":""}function U2(e){var o=O2(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 V2(e){return function(o){o.root||(o=o.return)&&e(o)}}const zC=e=>{switch(e.type){case gd:if(typeof e.props=="string")return;e.props=e.props.map(o=>o.indexOf(":global(")===-1?o:wC(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 G2(e,o,n){switch(mC(e,o)){case 5103:return nr+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return nr+e+e;case 4215:if(Xt(e,9)===102||Xt(e,o+1)===116)return nr+e+e;break;case 4789:return _s+e+e;case 5349:case 4246:case 6968:return nr+e+_s+e+e;case 6187:if(!M2(e,/grab/))return Co(Co(Co(e,/(zoom-|grab)/,nr+"$1"),/(image-set)/,nr+"$1"),e,"")+e;case 5495:case 3959:return Co(e,/(image-set\([^]*)/,nr+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return Co(e,/(.+)-inline(.+)/,nr+"$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(lr(e)-1-o>6)switch(Xt(e,o+1)){case 102:if(Xt(e,o+3)===108)return Co(e,/(.+:)(.+)-([^]+)/,"$1"+nr+"$2-$3$1"+_s+(Xt(e,o+3)==108?"$3":"$2-$3"))+e;case 115:return~vC(e,"stretch")?G2(Co(e,"stretch","fill-available"),o)+e:e}break}return e}function W2(e,o,n,a){if(e.length>-1&&!e.return)switch(e.type){case Mp:e.return=G2(e.value,e.length);return;case gd:if(e.length)return bC(e.props,function(l){switch(M2(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return rl([fg(e,{props:[Co(l,/:(read-\w+)/,":"+_s+"$1")]})],a);case"::placeholder":return rl([fg(e,{props:[Co(l,/:(plac\w+)/,":"+nr+"input-$1")]}),fg(e,{props:[Co(l,/:(plac\w+)/,":"+_s+"$1")]})],a)}return""})}}function NC(e){switch(e.type){case"@container":case cC:case dC:case A2:return!0}return!1}const TC=e=>{NC(e)&&Array.isArray(e.children)&&e.children.sort((o,n)=>o.props[0]>n.props[0]?1:-1)};function EC(e,o){const n=[];return rl(L2(e),U2([zC,TC,W2,I2,V2(a=>n.push(a))])),n}const RC=/[A-Z]/g,jC=/^ms-/,hg={};function AC(e){return"-"+e.toLowerCase()}function Ai(e){if(Object.prototype.hasOwnProperty.call(hg,e))return hg[e];if(e.substr(0,2)==="--")return e;const o=e.replace(RC,AC);return hg[e]=jC.test(o)?"-"+o:o}function X2(e){return e.charAt(0)==="&"?e.slice(1):e}const DC=/,( *[^ &])/g;function MC(e){return"&"+X2(e.replace(DC,",&$1"))}function sy(e,o){return o.reduceRight((n,a)=>`${MC(a)} { ${n} }`,e)}function cy(e,o){const{className:n,selectors:a,property:l,rtlClassName:c,rtlProperty:u,rtlValue:d,value:h}=e,{container:p,layer:v,media:m,scope:w,supports:k}=o,S=`.${n}`,y=Array.isArray(h)?`${h.map(R=>`${Ai(l)}: ${R}`).join(";")};`:`${Ai(l)}: ${h};`,C=sy(y,a);let _=w?`@scope (${S}) ${w} { :scope{${C}} }`:`${S}{${C}}`;if(u&&c){const R=`.${c}`,z=Array.isArray(d)?`${d.map(E=>`${Ai(u)}: ${E}`).join(";")};`:`${Ai(u)}: ${d};`,T=sy(z,a);_+=w?`@scope (${R}) ${w} { :scope{${T}} }`:`${R}{${T}}`}return m&&(_=`@media ${m} { ${_} }`),v&&(_=`@layer ${v} { ${_} }`),k&&(_=`@supports ${k} { ${_} }`),p&&(_=`@container ${p} { ${_} }`),EC(_)}function OC(e){let o="";for(const n in e){const a=e[n];if(typeof a=="string"||typeof a=="number"){o+=Ai(n)+":"+a+";";continue}if(Array.isArray(a))for(const l of a)o+=Ai(n)+":"+l+";"}return o}function uy(e){let o="";for(const n in e)o+=`${n}{${OC(e[n])}}`;return o}function dy(e,o){const n=`@keyframes ${e} {${o}}`,a=[];return rl(L2(n),U2([I2,W2,V2(l=>a.push(l))])),a}const fy={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function hy(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 fy[n.slice(4,8)]||fy[n.slice(3,5)]||"d"}return"d"}const FC={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 gy(e,o){return e.length===0?o:`${e} and ${o}`}function ys(e,o){return e&&o+e}function $2(e){return ys(e.container,"c")+ys(e.media,"m")+ys(e.layer,"l")+ys(e.supports,"s")+ys(e.scope,"o")}function gg(e,o,n){const a=e+$2(n)+o,l=Ts(a),c=l.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+l.slice(1):l}function Cu({property:e,selector:o,salt:n,value:a},l){return Yg+Ts(n+o+$2(l)+e+a.trim())}function qC(e){return e.substring(0,10)==="@container"}function HC(e){return e.substr(0,6)==="@layer"}function PC(e){return e.substr(0,6)==="@media"}const LC=/^(:|\[|>|&)/;function IC(e){return LC.test(e)}function UC(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function VC(e){return e===ep}function GC(e){return e.substring(0,6)==="@scope"}function WC(e){return e.substr(0,9)==="@supports"}function pg(e){return e.replace(/>\s+/g,">")}function py(e){return FC[e]}function my(e){var o;return(o=e==null?void 0:e[0])!==null&&o!==void 0?o:0}function mg(e,o,n,a){e[o]=a?[n,a]:n}function vy(e,o){return o.length>0?[e,Object.fromEntries(o)]:e}function vg(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(vy(n,d)),a&&e[o].push(vy(a,d))}function kr(e,o="",n=[],a={container:"",layer:"",media:"",supports:"",scope:""},l={},c={},u){for(const d in e){if(F4.hasOwnProperty(d)){e[d];continue}const h=e[d];if(h!=null){if(VC(h)){const p=pg(n.join("")),v=gg(p,d,a);mg(l,v,0,void 0);continue}if(typeof h=="string"||typeof h=="number"){const p=pg(n.join("")),v=py(d);if(v){const T=v[1],E=Object.fromEntries(T.map(j=>[j,ep]));kr(E,o,n,a,l,c)}const m=gg(p,d,a),w=Cu({value:h.toString(),salt:o,selector:p,property:d},a),k=u&&{key:d,value:u}||tp(d,h),S=k.key!==d||k.value!==h,y=S?Cu({value:k.value.toString(),property:k.key,salt:o,selector:p},a):void 0,C=S?{rtlClassName:y,rtlProperty:k.key,rtlValue:k.value}:void 0,_=hy(n,a),[R,z]=cy({className:w,selectors:n,property:d,value:h,...C},a);mg(l,m,w,y),vg(c,_,R,z,a.media,my(v))}else if(d==="animationName"){const p=Array.isArray(h)?h:[h],v=[],m=[];for(const w of p){const k=uy(w),S=uy(R2(w)),y=Yg+Ts(k);let C;const _=dy(y,k);let R=[];k===S?C=y:(C=Yg+Ts(S),R=dy(C,S));for(let z=0;z<_.length;z++)vg(c,"k",_[z],R[z],a.media,0);v.push(y),m.push(C)}kr({animationName:v.join(", ")},o,n,a,l,c,m.join(", "))}else if(Array.isArray(h)){if(h.length===0)continue;const p=pg(n.join("")),v=py(d);if(v){const E=v[1],j=Object.fromEntries(E.map(M=>[M,ep]));kr(j,o,n,a,l,c)}const m=gg(p,d,a),w=Cu({value:h.map(E=>(E??"").toString()).join(";"),salt:o,selector:p,property:d},a),k=h.map(E=>tp(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]),C=y?Cu({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:p},a):void 0,_=y?{rtlClassName:C,rtlProperty:k[0].key,rtlValue:k.map(E=>E.value)}:void 0,R=hy(n,a),[z,T]=cy({className:w,selectors:n,property:d,value:h,..._},a);mg(l,m,w,C),vg(c,R,z,T,a.media,my(v))}else if(UC(h)){if(IC(d))kr(h,o,n.concat(X2(d)),a,l,c);else if(PC(d)){const p=gy(a.media,d.slice(6).trim());kr(h,o,n,{...a,media:p},l,c)}else if(HC(d)){const p=(a.layer?`${a.layer}.`:"")+d.slice(6).trim();kr(h,o,n,{...a,layer:p},l,c)}else if(WC(d)){const p=gy(a.supports,d.slice(9).trim());kr(h,o,n,{...a,supports:p},l,c)}else if(qC(d)){const p=d.slice(10).trim();kr(h,o,n,{...a,container:p},l,c)}else if(GC(d)){if(a.scope)continue;const p=d.slice(6).trim();if(p===""||!p.startsWith("to "))continue;kr(h,o,n,{...a,scope:p},l,c)}}}}return[l,c]}function XC(e,o=""){const n={},a={};for(const l in e){const c=e[l],[u,d]=kr(c,o);n[l]=u,Object.keys(d).forEach(h=>{a[h]=(a[h]||[]).concat(d[h])})}return[n,a]}function $C(e,o=Dp){const n=o();let a=null,l=null,c=null,u=null;function d(h){const{dir:p,renderer:v}=h;a===null&&([a,l]=XC(e,v.classNameHashSalt));const m=p==="ltr";return m?c===null&&(c=Qu(a,p)):u===null&&(u=Qu(a,p)),n(v,l),m?c:u}return d}function K2(e,o,n=Dp){const a=n();let l=null,c=null;function u(d){const{dir:h,renderer:p}=d,v=h==="ltr";return v?l===null&&(l=Qu(e,h)):c===null&&(c=Qu(e,h)),a(p,o),v?l:c}return u}function KC(e,o,n,a=Dp){const l=a();function c(u){const{dir:d,renderer:h}=u,p=d==="ltr"?e:o||e;return l(h,Array.isArray(n)?{r:n}:n),p}return c}function QC(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const by=Ag.useInsertionEffect?Ag.useInsertionEffect:void 0,Op=()=>{const e={};return function(n,a){if(by&&QC()){by(()=>{n.insertCSSRules(a)},[n,a]);return}e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}},ZC=b.createContext($4());function Ws(){return b.useContext(ZC)}const Q2=b.createContext("ltr"),YC=({children:e,dir:o})=>B.jsx(Q2.Provider,{value:o,children:e});function Fp(){return b.useContext(Q2)}function er(e){const o=$C(e,Op);return function(){const a=Fp(),l=Ws();return o({dir:a,renderer:l})}}function be(e,o){const n=K2(e,o,Op);return function(){const l=Fp(),c=Ws();return n({dir:l,renderer:c})}}function Ee(e,o,n){const a=KC(e,o,n,Op);return function(){const c=Fp(),u=Ws();return a({dir:c,renderer:u})}}const JC={"<":"\\3C ",">":"\\3E "};function e6(e){return e.replace(/[<>]/g,o=>JC[o])}function t6(e,o){if(o){const n=Object.keys(o).reduce((a,l)=>`${a}--${l}: ${o[l]}; `,"");return`${e} { ${e6(n)} }`}return`${e} {}`}const Zu=Symbol.for("fui.slotRenderFunction"),nl=Symbol.for("fui.slotElementType"),Z2=Symbol.for("fui.slotClassNameProp");function Ae(e,o){const{defaultProps:n,elementType:a}=o,l=o6(e),c={...n,...l,[nl]:a,[Z2]:(l==null?void 0:l.className)||(n==null?void 0:n.className)};return l&&typeof l.children=="function"&&(c[Zu]=l.children,c.children=n==null?void 0:n.children),c}function Pe(e,o){if(!(e===null||e===void 0&&!o.renderByDefault))return Ae(e,o)}function o6(e){return typeof e=="string"||typeof e=="number"||r6(e)||b.isValidElement(e)?{children:e}:e}const r6=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function Y2(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!b.isValidElement(e)}function yy(e){return!!(e!=null&&e.hasOwnProperty(nl))}const st=(...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},n6=st(["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"]),a6=st(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),i6=st(["itemID","itemProp","itemRef","itemScope","itemType"]),Nt=st(a6,n6,i6),l6=st(Nt,["form"]),J2=st(Nt,["height","loop","muted","preload","src","width"]),s6=st(J2,["poster"]),c6=st(Nt,["start"]),u6=st(Nt,["value"]),d6=st(Nt,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),f6=st(Nt,["dateTime"]),bd=st(Nt,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),h6=st(bd,["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"]),g6=st(bd,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),p6=st(bd,["form","multiple","required"]),m6=st(Nt,["selected","value"]),v6=st(Nt,["cellPadding","cellSpacing"]),b6=Nt,y6=st(Nt,["colSpan","rowSpan","scope"]),x6=st(Nt,["colSpan","headers","rowSpan","scope"]),w6=st(Nt,["span"]),S6=st(Nt,["span"]),k6=st(Nt,["disabled","form"]),B6=st(Nt,["acceptCharset","action","encType","encType","method","noValidate","target"]),_6=st(Nt,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),C6=st(Nt,["alt","crossOrigin","height","src","srcSet","useMap","width"]),z6=st(Nt,["open","onCancel","onClose"]);function N6(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 T6={label:l6,audio:J2,video:s6,ol:c6,li:u6,a:d6,button:bd,input:h6,textarea:g6,select:p6,option:m6,table:v6,tr:b6,th:y6,td:x6,colGroup:w6,col:S6,fieldset:k6,form:B6,iframe:_6,img:C6,time:f6,dialog:z6};function ew(e,o,n){const a=e&&T6[e]||Nt;return a.as=1,N6(o,a,n)}const hl=({primarySlotTagName:e,props:o,excludedPropNames:n})=>({root:{style:o.style,className:o.className},primary:ew(e,o,[...n||[],"style","className"])}),Tt=(e,o,n)=>{var a;return ew((a=o.as)!==null&&a!==void 0?a:e,o,n)};function tw(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 ow=b.createContext(void 0),E6=ow.Provider,rw=b.createContext(void 0),R6="",j6=rw.Provider;function A6(){var e;return(e=b.useContext(rw))!==null&&e!==void 0?e:R6}const nw=b.createContext(void 0),D6={},M6=nw.Provider;function O6(){var e;return(e=b.useContext(nw))!==null&&e!==void 0?e:D6}const aw=b.createContext(void 0),F6={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},q6=aw.Provider;function Qe(){var e;return(e=b.useContext(aw))!==null&&e!==void 0?e:F6}const iw=b.createContext(void 0),H6=iw.Provider;function qp(){var e;return(e=b.useContext(iw))!==null&&e!==void 0?e:{}}const Hp=b.createContext(void 0),P6=()=>{},L6=Hp.Provider,ot=e=>{var o,n;return(n=(o=b.useContext(Hp))===null||o===void 0?void 0:o[e])!==null&&n!==void 0?n:P6},lw=b.createContext(void 0);lw.Provider;function I6(){return b.useContext(lw)}const sw=b.createContext(void 0);sw.Provider;function U6(){var e;return(e=b.useContext(sw))!==null&&e!==void 0?e:{announce:()=>{}}}const V6=e=>(e(0),0),G6=e=>e;function W6(){const{targetDocument:e}=Qe(),o=e==null?void 0:e.defaultView,n=o?o.requestAnimationFrame:V6,a=o?o.cancelAnimationFrame:G6;return tw(n,a)}function X6(e){return typeof e=="function"}const Yo=e=>{"use no memo";const[o,n]=b.useState(()=>e.defaultState===void 0?e.initialState:$6(e.defaultState)?e.defaultState():e.defaultState),a=b.useRef(e.state);b.useEffect(()=>{a.current=e.state},[e.state]);const l=b.useCallback(c=>{X6(c)&&c(a.current)},[]);return K6(e.state)?[e.state,l]:[o,n]};function $6(e){return typeof e=="function"}const K6=e=>{"use no memo";const[o]=b.useState(()=>e!==void 0);return o};function yd(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const cw={current:0},Q6=b.createContext(void 0);function uw(){var e;return(e=b.useContext(Q6))!==null&&e!==void 0?e:cw}function Z6(){const e=uw()!==cw,[o,n]=b.useState(e);return yd()&&e&&b.useLayoutEffect(()=>{n(!1)},[]),o}const At=yd()?b.useLayoutEffect:b.useEffect,pe=e=>{const o=b.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return At(()=>{o.current=e},[e]),b.useCallback((...n)=>{const a=o.current;return a(...n)},[o])};function Pp(){const e=b.useRef(!0);return b.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function Y6(){return b.useReducer(e=>e+1,0)[1]}const dw=b.createContext(void 0);dw.Provider;function J6(){return b.useContext(dw)||""}function Kt(e="fui-",o){"use no memo";const n=uw(),a=J6(),l=Gu.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 nt(...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 fw=(e,o)=>!!(e!=null&&e.contains(o)),Lp=e=>{const{targetDocument:o}=Qe(),n=o==null?void 0:o.defaultView,{refs:a,callback:l,element:c,disabled:u,disabledFocusOnIframe:d,contains:h=fw}=e,p=b.useRef(void 0);tz({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 S=k.composedPath()[0];a.every(C=>!h(C.current||null,S))&&!u&&l(k)}),w=pe(k=>{v.current=a.some(S=>h(S.current||null,k.target))});b.useEffect(()=>{if(u)return;let k=ez(n);const S=y=>{if(y===k){k=void 0;return}m(y)};return c==null||c.addEventListener("click",S,!0),c==null||c.addEventListener("touchstart",S,!0),c==null||c.addEventListener("contextmenu",S,!0),c==null||c.addEventListener("mousedown",w,!0),p.current=n==null?void 0:n.setTimeout(()=>{k=void 0},1),()=>{c==null||c.removeEventListener("click",S,!0),c==null||c.removeEventListener("touchstart",S,!0),c==null||c.removeEventListener("contextmenu",S,!0),c==null||c.removeEventListener("mousedown",w,!0),n==null||n.clearTimeout(p.current),k=void 0}},[m,c,u,w,n])},ez=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}},bg="fuiframefocus",tz=e=>{const{disabled:o,element:n,callback:a,contains:l=fw,pollDuration:c=100,refs:u}=e,d=b.useRef(void 0),h=pe(p=>{u.every(m=>!l(m.current||null,p.target))&&!o&&a(p)});b.useEffect(()=>{if(!o)return n==null||n.addEventListener(bg,h,!0),()=>{n==null||n.removeEventListener(bg,h,!0)}},[n,o,h]),b.useEffect(()=>{var p;if(!o)return d.current=n==null||(p=n.defaultView)===null||p===void 0?void 0:p.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(bg,{bubbles:!0});v.dispatchEvent(m)}},c),()=>{var v;n==null||(v=n.defaultView)===null||v===void 0||v.clearInterval(d.current)}},[n,o,c])},hw=e=>{const{refs:o,callback:n,element:a,disabled:l,contains:c}=e,u=pe(d=>{const h=c||((m,w)=>!!(m!=null&&m.contains(w))),p=d.composedPath()[0];o.every(m=>!h(m.current||null,p))&&!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])},oz=e=>-1,rz=e=>{};function gl(){const{targetDocument:e}=Qe(),o=e==null?void 0:e.defaultView,n=o?o.setTimeout:oz,a=o?o.clearTimeout:rz;return tw(n,a)}const nz=parseInt(b.version,10)>=19;function Xs(e){if(e)return nz?e.props.ref:e.ref}function De(e,o){return(...n)=>{e==null||e(...n),o==null||o(...n)}}function hr(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 gw(e){return!!e.type.isFluentTriggerComponent}function xd(e,o){return typeof e=="function"?e(o):e?pw(e,o):e||null}function pw(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(gw(e)){const n=pw(e.props.children,o);return b.cloneElement(e,void 0,n)}else return b.cloneElement(e,o)}function $s(e){return b.isValidElement(e)?gw(e)?$s(e.props.children):e:null}function az(e){return e&&!!e._virtual}function iz(e){return az(e)&&e._virtual.parent||null}function mw(e,o={}){if(!e)return null;if(!o.skipVirtual){const a=iz(e);if(a)return a}const n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Es(e,o){if(!e||!o)return!1;if(e===o)return!0;{const n=new WeakSet;for(;o;){const a=mw(o,{skipVirtual:n.has(o)});if(n.add(o),a===e)return!0;o=a}}return!1}function xy(e,o){e&&Object.assign(e,{_virtual:{parent:o}})}function lz(e,o){return{...o,[nl]:e}}function vw(e,o){return function(a,l,c,u,d){return yy(l)?o(lz(a,l),null,c,u,d):yy(a)?o(a,l,c,u,d):e(a,l,c,u,d)}}function bw(e){const{as:o,[Z2]:n,[nl]:a,[Zu]: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 Oa=sB,sz=(e,o,n)=>{const{elementType:a,renderFunction:l,props:c}=bw(e),u={...c,...o};return l?Oa.jsx(b.Fragment,{children:l(a,u)},n):Oa.jsx(a,u,n)},cz=(e,o,n)=>{const{elementType:a,renderFunction:l,props:c}=bw(e),u={...c,...o};return l?Oa.jsx(b.Fragment,{children:l(a,{...u,children:Oa.jsxs(b.Fragment,{children:u.children},void 0)})},n):Oa.jsxs(a,u,n)},se=vw(Oa.jsx,sz),lt=vw(Oa.jsxs,cz),yw=b.createContext(void 0),uz={},dz=yw.Provider,fz=()=>{const e=b.useContext(yw);return e??uz},hz=(e,o)=>se(q6,{value:o.provider,children:se(E6,{value:o.theme,children:se(j6,{value:o.themeClassName,children:se(L6,{value:o.customStyleHooks_unstable,children:se(M6,{value:o.tooltip,children:se(YC,{dir:o.textDirection,children:se(dz,{value:o.iconDirection,children:se(H6,{value:o.overrides_unstable,children:lt(e.root,{children:[yd()?null:se("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 nn="data-tabster",gz="data-tabster-dummy",xw=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,Oi={EscapeGroupper:1,Restorer:2,Deloser:3},Ln={Invisible:0,PartiallyVisible:1,Visible:2},Ha={Source:0,Target:1},sr={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},St={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},pz={Outside:2};/*!
|
|
64
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
65
|
-
* Licensed under the MIT License.
|
|
66
|
-
*/function eo(e,o){var n;return(n=e.storageEntry(o))==null?void 0:n.tabster}function ww(e,o,n){var p,v;const a=n||e._noop?void 0:o.getAttribute(nn);let l=e.storageEntry(o),c;if(a)if(a!==((p=l==null?void 0:l.attr)==null?void 0:p.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 w=u[m];w&&e.root.onRoot(w,!0)}switch(m){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const w=u[m];w&&(w.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 w=h.sys;switch(m){case"root":u.root?u.root.setProps(h.root):u.root=e.root.createRoot(o,h.root,w),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],w))}}}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 zr=(e,o,n)=>{e.addEventListener(o,n,!0)},Wo=(e,o,n)=>{e.removeEventListener(o,n,!0)};/*!
|
|
70
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
71
|
-
* Licensed under the MIT License.
|
|
72
|
-
*/const Eo="keyborg:focusin",Rs="keyborg:focusout",wy=0,Sy=1,ky=2,zu=3;function mz(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 yg=!1;function cn(e){const o=e.focus;o.__keyborgNativeFocus?o.__keyborgNativeFocus.call(e):e.focus()}function vz(e){const o=e,n=o.document,a=o.HTMLElement.prototype;yg||(yg=mz(o));const l=a.focus;if(l.__keyborgNativeFocus)return;a.focus=v;const c=new Set,u=w=>{const k=w.target;if(!k)return;const S=new CustomEvent(Rs,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:w}});k.dispatchEvent(S)},d=w=>{const k=w.target;if(!k)return;let S=w.composedPath()[0];const y=new Set;for(;S;)S.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(y.add(S),S=S.host):S=S.parentNode;for(const C of c){const _=C.deref();(!_||!y.has(_))&&(c.delete(C),_&&(Wo(_,"focusin",d),Wo(_,"focusout",u)))}h(k,w.relatedTarget||void 0)},h=(w,k,S)=>{var R;const y=w.shadowRoot;if(y){for(const z of c)if(z.deref()===y)return;zr(y,"focusin",d),zr(y,"focusout",u),c.add(new WeakRef(y));return}const C={relatedTarget:k,originalEvent:S},_=new CustomEvent(Eo,{cancelable:!0,bubbles:!0,composed:!0,detail:C});_.details=C,(yg||p[zu])&&(C.isFocusedProgrammatically=w===((R=p[zu])==null?void 0:R.deref()),p[zu]=void 0),w.dispatchEvent(_)},p=[d,u,c];o.__keyborgData=p,zr(n,"focusin",d),zr(n,"focusout",u);function v(){const w=o.__keyborgData;return w&&(w[zu]=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 bz(e){const o=e,n=o.HTMLElement.prototype,a=n.focus.__keyborgNativeFocus,l=o.__keyborgData;if(l){const c=o.document;Wo(c,"focusin",l[wy]),Wo(c,"focusout",l[Sy]);for(const u of l[ky]){const d=u.deref();d&&(Wo(d,"focusin",l[wy]),Wo(d,"focusout",l[Sy]))}l[ky].clear(),delete o.__keyborgData}a&&(n.focus=a)}let yz=0;function xz(e,o){let n=e,a=!1,l;const c=()=>{var y;const S=(y=n==null?void 0:n.__keyborg)==null?void 0:y.refs;if(S)for(const C of Object.keys(S))S[C]._cb.forEach(_=>_(a))},u=S=>{a!==S&&(a=S,c())},d=S=>{if(S.key==="Tab")return!0;const y=n==null?void 0:n.document.activeElement,C=!0,_=y&&(y.tagName==="INPUT"||y.tagName==="TEXTAREA"||y.isContentEditable);return C&&!_},h=S=>{if(l||a)return;const y=S.detail;y.relatedTarget&&(y.isFocusedProgrammatically||y.isFocusedProgrammatically===void 0||u(!0))},p=()=>{n&&(l&&n.clearTimeout(l),l=n.setTimeout(()=>{l=void 0},1e3)),u(!1)},v=S=>{S.buttons===0||S.clientX===0&&S.clientY===0&&S.screenX===0&&S.screenY===0||p()},m=S=>{a||d(S)&&u(!0)},w=e.document;return zr(w,Eo,h),zr(w,"mousedown",v),zr(e,"keydown",m),zr(w,"touchstart",p),zr(w,"touchend",p),zr(w,"touchcancel",p),vz(e),{dispose:()=>{if(!n)return;l&&(n.clearTimeout(l),l=void 0),bz(n);const S=n.document;Wo(S,Eo,h),Wo(S,"mousedown",v),Wo(n,"keydown",m),Wo(S,"touchstart",p),Wo(S,"touchend",p),Wo(S,"touchcancel",p),n=void 0},get isNavigatingWithKeyboard(){return a},set isNavigatingWithKeyboard(S){u(S)}}}function wd(e,o){const n=e,a="k"+ ++yz;let l=n,c;const u=[],d=n.__keyborg;d?c=d.core:c=xz(n);const h={isNavigatingWithKeyboard(){return!!(c!=null&&c.isNavigatingWithKeyboard)},subscribe(p){u.push(p)},unsubscribe(p){const v=u.indexOf(p);v>=0&&u.splice(v,1)},setVal(p){c&&(c.isNavigatingWithKeyboard=p)},_cb:u,dispose(){const p=l==null?void 0:l.__keyborg;p!=null&&p.refs[a]&&(delete p.refs[a],Object.keys(p.refs).length===0&&(p.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 Sd(e){e.dispose()}/*!
|
|
73
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
74
|
-
* Licensed under the MIT License.
|
|
75
|
-
*/const wz="tabster:focusin",Sz="tabster:focusout",rp="tabster:movefocus",kz="tabster:modalizer:active",Bz="tabster:modalizer:inactive",_z="tabster:mover:state",By="tabster:mover:movefocus",_y="tabster:mover:memorized-element",np="tabster:restorer:restore-focus",Cz="tabster:root:focus",zz="tabster:root:blur",Nz=typeof CustomEvent<"u"?CustomEvent:function(){};class hn extends Nz{constructor(n,a){super(n,{bubbles:!0,cancelable:!0,composed:!0,detail:a});H(this,"details");this.details=a}}class Tz extends hn{constructor(o){super(wz,o)}}class Ez extends hn{constructor(o){super(Sz,o)}}class Fi extends hn{constructor(o){super(rp,o)}}class Cy extends hn{constructor(o){super(_z,o)}}class Rz extends hn{constructor(o){super(kz,o)}}class jz extends hn{constructor(o){super(Bz,o)}}class zy extends hn{constructor(){super(np)}}class Az extends hn{constructor(o){super(Cz,o)}}class Dz extends hn{constructor(o){super(zz,o)}}/*!
|
|
76
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
77
|
-
* Licensed under the MIT License.
|
|
78
|
-
*/const Mz=e=>new MutationObserver(e),Oz=(e,o,n,a)=>e.createTreeWalker(o,n,a),Fz=e=>e?e.parentNode:null,qz=e=>e?e.parentElement:null,Hz=(e,o)=>!!(o&&(e!=null&&e.contains(o))),Pz=e=>e.activeElement,Lz=(e,o)=>e.querySelector(o),Iz=(e,o)=>Array.prototype.slice.call(e.querySelectorAll(o),0),Uz=(e,o)=>e.getElementById(o),Vz=e=>(e==null?void 0:e.firstChild)||null,Gz=e=>(e==null?void 0:e.lastChild)||null,Wz=e=>(e==null?void 0:e.nextSibling)||null,Xz=e=>(e==null?void 0:e.previousSibling)||null,$z=e=>(e==null?void 0:e.firstElementChild)||null,Kz=e=>(e==null?void 0:e.lastElementChild)||null,Qz=e=>(e==null?void 0:e.nextElementSibling)||null,Zz=e=>(e==null?void 0:e.previousElementSibling)||null,Yz=(e,o)=>e.appendChild(o),Jz=(e,o,n)=>e.insertBefore(o,n),eN=e=>{var o;return((o=e.ownerDocument)==null?void 0:o.getSelection())||null},tN=(e,o)=>e.ownerDocument.getElementsByName(o),ue={createMutationObserver:Mz,createTreeWalker:Oz,getParentNode:Fz,getParentElement:qz,nodeContains:Hz,getActiveElement:Pz,querySelector:Lz,querySelectorAll:Iz,getElementById:Uz,getFirstChild:Vz,getLastChild:Gz,getNextSibling:Wz,getPreviousSibling:Xz,getFirstElementChild:$z,getLastElementChild:Kz,getNextElementSibling:Qz,getPreviousElementSibling:Zz,appendChild:Yz,insertBefore:Jz,getSelection:eN,getElementsByName:tN};function oN(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 rN=0;function kd(e){const o=e();let n=o.__tabsterInstanceContext;return n||(n={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0},o.__tabsterInstanceContext=n),n}function nN(e){const o=e.__tabsterInstanceContext;o&&(o.elementByUId={},o.containerBoundingRectCache={},o.containerBoundingRectCacheTimer&&e.clearTimeout(o.containerBoundingRectCacheTimer),delete e.__tabsterInstanceContext)}function aN(e){return!!e.querySelector(xw)}class Ko{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 Ip(e,o,n){if(o.nodeType===Node.ELEMENT_NODE)return ue.createTreeWalker(e,o,NodeFilter.SHOW_ELEMENT,{acceptNode:n})}function Sw(e,o){let n=o.__tabsterCacheId;const a=kd(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,p=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),p=Math.min(p,m.bottom)}const v=new DOMRect(u<h?u:-1,d<p?d:-1,u<h?h-u:0,d<p?p-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 Ny(e,o,n){const a=kw(o);if(!a)return!1;const l=Sw(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),p=d+h;return p===0||p<=u}function iN(e,o,n){const a=kw(o);if(a){const l=Sw(e,a),c=o.getBoundingClientRect();n?a.scrollTop+=c.top-l.top:a.scrollTop+=c.bottom-l.bottom}}function kw(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 lN(e){e.__shouldIgnoreFocus=!0}function Bw(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((++rN).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function Uu(e,o){const n=kd(e);let a=o.__tabsterElementUID;return a||(a=o.__tabsterElementUID=sN(e())),!n.elementByUId[a]&&_w(o.ownerDocument,o)&&(n.elementByUId[a]=new Ko(o)),a}function Ty(e,o){const n=kd(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 _w(e,o){return ue.nodeContains(e==null?void 0:e.body,o)}function Cw(e,o){return typeof e.matches=="function"&&e.matches(o)}let cN=0;class Bd{constructor(o,n,a){H(this,"_tabster");H(this,"_element");H(this,"_props");H(this,"id");this._tabster=o,this._element=new Ko(n),this._props={...a},this.id="i"+ ++cN}getElement(){return this._element.get()}getProps(){return this._props}setProps(o){this._props={...o}}}function zw(e){let o=null;for(let n=ue.getLastElementChild(e);n;n=ue.getLastElementChild(n))o=n;return o||void 0}function xg(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 uN(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 ap(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function dN(e){if(!ap(e))return;const o=e.name;let n=Array.from(ue.getElementsByName(e,o)),a;return n=n.filter(l=>ap(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 wg=100;class Yu{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&&cn(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(gz,""),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"),lN(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 Up={Root:1,Modalizer:2,Mover:3};class js{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 hN(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 Yu(o.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let h,p;if(n.tagName==="BODY")h=n,p=a&&l||!a&&!l?ue.getFirstElementChild(n):null;else{a&&(!l||l&&!o.focusable.isFocusable(n,!1,!0,!0))?(h=n,p=l?n.firstElementChild:null):(h=ue.getParentElement(n),p=a&&l||!a&&!l?n:ue.getNextElementSibling(n));let v,m;do v=a&&l||!a&&!l?ue.getPreviousElementSibling(p):p,m=As(v),m===n?p=a&&l||!a&&!l?v:ue.getNextElementSibling(v):m=null;while(m)}h!=null&&h.dispatchEvent(new Fi({by:"root",owner:h,next:null,relatedEvent:c}))&&(ue.insertBefore(h,d,p),cn(d))}}static addPhantomDummyWithTarget(o,n,a,l){const u=new Yu(o.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Ko(l)).input;if(u){let d,h;aN(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 fN{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},wg)))});this._win=o}add(o,n){!this._dummyCallbacks.has(o)&&this._win&&(this._dummyElements.push(new Ko(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+wg<=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()},wg))}}class hN{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&&cn(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 p;o?!a.isOutside&&this._tabster.focusable.isFocusable(h,!0,!0,!0)?p=h:(a.useDefaultAction=!0,u.tabIndex=0,p=u):(l.useDefaultAction=!0,d.tabIndex=0,p=d),p&&h.dispatchEvent(new Fi({by:"root",owner:h,next:null,relatedEvent:n}))&&cn(p)}}});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,p;const n=((h=this._firstDummy)==null?void 0:h.input)||((p=this._lastDummy)==null?void 0:p.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 w=d.getComputedStyle(v).transform;w&&w!=="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 p=h.__tabsterDummy;if((p||this)._wrappers.push({manager:a,priority:l,tabbable:!0}),p)return p;h.__tabsterDummy=this;const v=c==null?void 0:c.dummyInputsPosition,m=h.tagName;this._isOutside=v?v===pz.Outside:(u||m==="UL"||m==="OL"||m==="TABLE")&&!(m==="LI"||m==="TD"||m==="TH"),this._firstDummy=new Yu(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new Yu(this._getWindow,this._isOutside,{isFirst:!1},n);const w=this._firstDummy.input;w&&o._dummyObserver.add(w,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=n,this._addDummyInputs()}dispose(o,n){var l,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 p=(c=this._firstDummy)==null?void 0:c.input;p&&this._tabster._dummyObserver.remove(p),(u=this._firstDummy)==null||u.dispose(),(d=this._lastDummy)==null||d.dispose()}}_onFocus(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 As(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 Vp(e,o){const n=JSON.stringify(e);return o===!0?n:{[nn]:n}}function gN(e,o){for(const n of Object.keys(o)){const a=o[n];a?e[n]=a:delete e[n]}}function pN(e,o,n){let a;{const l=e.getAttribute(nn);if(l)try{a=JSON.parse(l)}catch{}}a||(a={}),gN(a,o),Object.keys(a).length>0?e.setAttribute(nn,Vp(a,!0)):e.removeAttribute(nn)}/*!
|
|
88
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
89
|
-
* Licensed under the MIT License.
|
|
90
|
-
*/class Ey extends js{constructor(n,a,l,c){super(n,a,Up.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){cn(c);return}}(a=n.input)==null||a.blur()}});this._setHandlers(this._onDummyInputFocus),this._tabster=n,this._setFocused=l}}class mN extends Bd{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 Az({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 Dz({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=Uu(d,a),this._sys=u,(n.controlTab||n.rootDummyInputs)&&this.addDummyInputs();const p=d().document;p.addEventListener(Eo,this._onFocusIn),p.addEventListener(Rs,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Ey(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var l;this._onDispose(this);const n=this._tabster.getWindow(),a=n.document;a.removeEventListener(Eo,this._onFocusIn),a.removeEventListener(Rs,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&&Ey.moveWithPhantomDummy(this._tabster,c,!0,n,a)}}_add(){}_remove(){}}class ht{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 pN(n,{root:l}),ww(this._tabster,n),(a=eo(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 mN(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 z,T,E,j;if(!n.ownerDocument)return;const{checkRtl:l,referenceElement:c}=a,u=o.getParent;o.drainInitQueue();let d,h,p,v,m=!1,w,k,S,y,C=c||n;const _={};for(;C&&(!d||l);){const M=eo(o,C);if(l&&S===void 0){const ae=C.dir;ae&&(S=ae.toLowerCase()==="rtl")}if(!M){C=u(C);continue}const O=C.tagName;(M.uncontrolled||O==="IFRAME"||O==="WEBVIEW")&&o.focusable.isVisible(C)&&(y=C),!v&&((z=M.focusable)!=null&&z.excludeFromMover)&&!p&&(m=!0);const W=M.modalizer,ee=M.groupper,de=M.mover;!h&&W&&(h=W),!p&&ee&&(!h||W)&&(h?(!ee.isActive()&&ee.getProps().tabbability&&h.userId!==((T=o.modalizer)==null?void 0:T.activeId)&&(h=void 0,p=ee),k=ee):p=ee),!v&&de&&(!h||W)&&(!ee||C!==n)&&C.contains(n)&&(v=de,w=!!p&&p!==ee),M.root&&(d=M.root),(E=M.focusable)!=null&&E.ignoreKeydown&&Object.assign(_,M.focusable.ignoreKeydown),C=u(C)}if(!d){const M=o.root;M._autoRoot&&(j=n.ownerDocument)!=null&&j.body&&(d=M._autoRootCreate())}return p&&!v&&(w=!0),d?{root:d,modalizer:h,groupper:p,mover:v,groupperBeforeMover:w,modalizerInGroupper:k,rtl:l?!!S: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=eo(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 vN{constructor(o){H(this,"_tabster");this._tabster=o}dispose(){}getProps(o){const n=eo(this._tabster,o);return n&&n.focusable||{}}isFocusable(o,n,a,l){return Cw(o,xw)&&(n||o.tabIndex!==-1)?(a||this.isVisible(o))&&(l||this.isAccessible(o)):!1}isVisible(o){if(!o.ownerDocument||o.nodeType!==Node.ELEMENT_NODE||uN(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=eo(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,z,T;const{container:l,currentElement:c=null,includeProgrammaticallyFocusable:u,useActiveModalizer:d,ignoreAccessibility:h,modalizerId:p,isBackward:v,onElement:m}=n;a||(a={});const w=[];let{acceptCondition:k}=n;const S=!!k;if(!l)return null;k||(k=E=>this.isFocusable(E,u,!1,h));const y={container:l,modalizerUserId:p===void 0&&d?(R=this._tabster.modalizer)==null?void 0:R.activeId:p||((T=(z=ht.getTabsterContext(this._tabster,l))==null?void 0:z.modalizer)==null?void 0:T.userId),from:c||l,isBackward:v,isFindAll:o,acceptCondition:k,hasCustomCondition:S,includeProgrammaticallyFocusable:u,ignoreAccessibility:h,cachedGrouppers:{},cachedRadioGroups:{}},C=Ip(l.ownerDocument,l,E=>this._acceptElement(E,y));if(!C)return null;const _=E=>{var M;const j=y.foundElement??y.foundBackward;return j&&w.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=ht.getTabsterContext(this._tabster,j))==null?void 0:M.uncontrolled),!!(E&&!j))};if(c||(a.outOfDOMOrder=!0),c&&ue.nodeContains(l,c))C.currentNode=c;else if(v){const E=zw(l);if(!E)return null;if(this._acceptElement(E,y)===NodeFilter.FILTER_ACCEPT&&!_(!0))return y.skippedFocusable&&(a.outOfDOMOrder=!0),w;C.currentNode=E}do v?C.previousNode():C.nextNode();while(_());return y.skippedFocusable&&(a.outOfDOMOrder=!0),w.length?w:null}_acceptElement(o,n){var m,w,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)||As(o)||ue.nodeContains(n.rejectElementsFrom,o))return NodeFilter.FILTER_REJECT;const c=n.currentCtx=ht.getTabsterContext(this._tabster,o);if(!c)return NodeFilter.FILTER_SKIP;if(Bw(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)===((w=this._tabster.modalizer)==null?void 0:w.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=ht.getTabsterContext(this._tabster,n.from));const h=d==null?void 0:d.mover;let p=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&&(p||v||h)){const S=p==null?void 0:p.getElement(),y=h==null?void 0:h.getElement();let C=v==null?void 0:v.getElement();if(C&&ue.nodeContains(y,C)&&ue.nodeContains(l,y)&&(!S||!v||ue.nodeContains(y,S))&&(v=h,C=y),S){if(S===l||!ue.nodeContains(l,S))p=void 0;else if(!ue.nodeContains(S,o))return NodeFilter.FILTER_REJECT}if(C){if(!ue.nodeContains(l,C))v=void 0;else if(!ue.nodeContains(C,o))return NodeFilter.FILTER_REJECT}p&&v&&(C&&S&&!ue.nodeContains(S,C)?v=void 0:p=void 0),p&&(u=p.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&&ap(o)&&!o.checked){const S=o.name;let y=n.cachedRadioGroups[S];if(y||(y=dN(o),y&&(n.cachedRadioGroups[S]=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 Ot={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 Nw{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 bN(e,o){var l;const n=e.getParent;let a=o;do{const c=(l=eo(e,a))==null?void 0:l.uncontrolled;if(c&&e.uncontrolled.isUncontrolledCompletely(a,!!c.completely))return a;a=n(a)}while(a)}const Ry={[Oi.Restorer]:0,[Oi.Deloser]:1,[Oi.EscapeGroupper]:2},Rt=class Rt extends Nw{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(Eo,this._onFocusIn,!0),a.addEventListener(Rs,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!==Ot.Tab||n.ctrlKey)return;const a=this.getVal();if(!a||!a.ownerDocument||a.contentEditable==="true")return;const l=this._tabster,c=l.controlTab,u=ht.getTabsterContext(l,a);if(!u||u.ignoreKeydown(n))return;const d=n.shiftKey,h=Rt.findNextTabbable(l,u,void 0,a,void 0,d,!0),p=u.root.getElement();if(!p)return;const v=h==null?void 0:h.element,m=bN(l,a);if(v){const w=h.uncontrolled;if(u.uncontrolled||ue.nodeContains(w,a)){if(!h.outOfDOMOrder&&w===u.uncontrolled||m&&!ue.nodeContains(m,v))return;js.addPhantomDummyWithTarget(l,a,d,v);return}if(w&&l.focusable.isVisible(w)||v.tagName==="IFRAME"&&l.focusable.isVisible(v)){p.dispatchEvent(new Fi({by:"root",owner:p,next:v,relatedEvent:n}))&&js.moveWithPhantomDummy(l,w??v,!1,d,n);return}(c||h!=null&&h.outOfDOMOrder)&&p.dispatchEvent(new Fi({by:"root",owner:p,next:v,relatedEvent:n}))&&(n.preventDefault(),n.stopImmediatePropagation(),cn(v))}else!m&&p.dispatchEvent(new Fi({by:"root",owner:p,next:null,relatedEvent:n}))&&u.root.moveOutWithDefaultAction(d,n)});H(this,"_onChanged",(n,a)=>{var l,c;if(n)n.dispatchEvent(new Tz(a));else{const u=(l=this._lastVal)==null?void 0:l.get();if(u){const d={...a},h=ht.getTabsterContext(this._tabster,u),p=(c=h==null?void 0:h.modalizer)==null?void 0:c.userId;p&&(d.modalizerId=p),u.dispatchEvent(new Ez(d))}}});this._tabster=n,this._win=a,n.queueInit(this._init)}dispose(){super.dispose();const n=this._win(),a=n.document;a.removeEventListener(Eo,this._onFocusIn,!0),a.removeEventListener(Rs,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 Rt._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(n,a){var u,d;let l=Rt._lastResetElement,c=l&&l.get();c&&ue.nodeContains(a,c)&&delete Rt._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&&!_w(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=ht.getTabsterContext(this._tabster,l);h&&(u=(d=Rt.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"),Rt._lastResetElement=new Ko(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(Ry[n]>Ry[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 p=(d=Rt._lastResetElement)==null?void 0:d.get();if(Rt._lastResetElement=void 0,p===n||Bw(n))return;c.isFocusedProgrammatically=l;const v=ht.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 Ko(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 Ko(n))}static findNextTabbable(n,a,l,c,u,d,h){const p=l||a.root.getElement();if(!p)return null;let v=null;const m=Rt._isTabbingTimer,w=n.getWindow();m&&w.clearTimeout(m),Rt.isTabbing=!0,Rt._isTabbingTimer=w.setTimeout(()=>{delete Rt._isTabbingTimer,Rt.isTabbing=!1},0);const k=a.modalizer,S=a.groupper,y=a.mover,C=_=>{if(v=_.findNextTabbable(c,u,d,h),c&&!(v!=null&&v.element)){const R=_!==k&&ue.getParentElement(_.getElement());if(R){const z=ht.getTabsterContext(n,c,{referenceElement:R});if(z){const T=_.getElement(),E=d?T:T&&zw(T)||T;E&&(v=Rt.findNextTabbable(n,z,l,E,R,d,h),v&&(v.outOfDOMOrder=!0))}}}};if(S&&y)C(a.groupperBeforeMover?S:y);else if(S)C(S);else if(y)C(y);else if(k)C(k);else{const _={container:p,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(Rt,"_lastResetElement"),H(Rt,"_isTabbingTimer"),H(Rt,"isTabbing",!1);let Pa=Rt;/*!
|
|
103
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
104
|
-
* Licensed under the MIT License.
|
|
105
|
-
*/class yN extends Nw{constructor(n){super();H(this,"_keyborg");H(this,"_onChange",n=>{this.setVal(n,void 0)});this._keyborg=wd(n()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Sd(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 xN(e,o,n,a){if(typeof MutationObserver>"u")return()=>{};const l=o.getWindow;let c;const u=v=>{var w,k,S,y,C;const m=new Set;for(const _ of v){const R=_.target,z=_.removedNodes,T=_.addedNodes;if(_.type==="attributes")_.attributeName===nn&&(m.has(R)||n(o,R));else{for(let E=0;E<z.length;E++){const j=z[E];m.add(j),d(j,!0),(k=(w=o._dummyObserver).domChanged)==null||k.call(w,R)}for(let E=0;E<T.length;E++)d(T[E]),(y=(S=o._dummyObserver).domChanged)==null||y.call(S,R)}}m.clear(),(C=o.modalizer)==null||C.hiddenUpdate()};function d(v,m){c||(c=kd(l).elementByUId),h(v,m);const w=Ip(e,v,k=>h(k,m));if(w)for(;w.nextNode(););}function h(v,m){if(!v.getAttribute)return NodeFilter.FILTER_SKIP;const w=v.__tabsterElementUID;return w&&c&&(m?delete c[w]:c[w]??(c[w]=new Ko(v))),(eo(o,v)||v.hasAttribute(nn))&&n(o,v,m),NodeFilter.FILTER_SKIP}const p=ue.createMutationObserver(u);return a&&d(l().document.body),p.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[nn]}),()=>{p.disconnect()}}/*!
|
|
109
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
110
|
-
* Licensed under the MIT License.
|
|
111
|
-
*/class wN{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 SN=0;const Sg="aria-hidden";class kN extends js{constructor(o,n,a){super(n,o,Up.Modalizer,a),this._setHandlers((l,c)=>{var v,m;const u=o.get(),d=u&&((v=ht.getRoot(n,u))==null?void 0:v.getElement()),h=l.input;let p;if(d&&h){const w=As(h),k=ht.getTabsterContext(n,w||h);k&&(p=(m=Pa.findNextTabbable(n,k,d,h,void 0,c,!0))==null?void 0:m.element),p&&cn(p)}})}}class BN extends Bd{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 kN(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 Ko(a)):c>=0&&l.splice(c,1)}this._dispatchEvent(n)}}focused(n){return n||(this._wasFocused=++SN),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 w,k;if(!this.getElement())return null;const d=this._tabster;let h=null,p=!1,v;const m=n&&((w=ht.getRoot(d,n))==null?void 0:w.getElement());if(m){const S={container:m,currentElement:n,referenceElement:a,ignoreAccessibility:c,useActiveModalizer:!0},y={};h=d.focusable[l?"findPrev":"findNext"](S,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),p=!0):p=!!y.outOfDOMOrder,v=y.uncontrolled}return{element:h,uncontrolled:v,outOfDOMOrder:p}}_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},p=n?new Rz(h):new jz(h);d.dispatchEvent(p),p.defaultPrevented&&(c=!0)}}return c}_remove(){}}class _N{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 p=c[h];p!==a&&p!==d&&(d=p,(p||u.length>0)&&u.unshift(p))}if(this._activationHistory=u,this.activeId===a){const h=u[0],p=h?Object.values(this._parts[h])[0]:void 0;this.setActive(p)}}});H(this,"_onKeyDown",o=>{var l;if(o.key!==Ot.Escape)return;const n=this._tabster,a=n.focusedElement.getFocusedElement();if(a){const c=ht.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 p=Object.keys(h).map(v=>{var S;const m=h[v],w=m.getElement();let k;return w&&(k=(S=eo(n,w))==null?void 0:S.groupper),m&&w&&k?{el:w,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(p.length){const v=p[0].el;v&&((l=n.groupper)==null||l.handleKeyPress(v,o,!0))}}}}}});H(this,"_onFocus",(o,n)=>{var p;const a=this._tabster,l=o&&ht.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),xg(a,v,Sg));let u=l.modalizer;const d=eo(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&&((p=ht.getTabsterContext(a,v))==null?void 0:p.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 BN(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=ht.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=ht.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 C;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)):[],p=[];for(const _ of Object.keys(l)){const R=l[_];for(const z of Object.keys(R)){const T=R[z],E=T.getElement(),M=T.getProps().isAlwaysAccessible;E&&(_===a?(p.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,w=[],k=new WeakMap,S=(_,R)=>{var E;const z=_.tagName;if(z==="SCRIPT"||z==="STYLE")return;let T=!1;v.has(_)?R?T=!0:(v.delete(_),xg(o,_,Sg)):R&&!((E=this._accessibleCheck)!=null&&E.call(this,_,p))&&xg(o,_,Sg,"true")&&(v.set(_,!0),T=!0),T&&(w.push(new Ko(_)),k.set(_,!0))},y=_=>{var R;for(let z=ue.getFirstElementChild(_);z;z=ue.getNextElementSibling(z)){let T=!1,E=!1,j=!1;if(m){const M=o.getParent(z);for(const O of m){if(z===O){T=!0;break}if(ue.nodeContains(z,O)){E=!0;break}else ue.nodeContains(O,M)&&(j=!0)}E||(R=z.__tabsterElementFlags)!=null&&R.noDirectAriaHidden?y(z):!T&&!j&&S(z,!0)}else S(z,!1)}};m||h.forEach(_=>S(_,!1)),u.forEach(_=>S(_,!0)),n&&y(n),(C=this._aug)==null||C.map(_=>_.get()).forEach(_=>{_&&!k.get(_)&&S(_,!1)}),this._aug=w,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=ht.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=ht.getTabsterContext(c,o),d=u==null?void 0:u.modalizer,h=this.activeId;if(!d&&!h||d&&h===d.userId)return;const p=u==null?void 0:u.root.getElement();if(p){let m=c.focusable.findFirst({container:p,useActiveModalizer:!0});if(m){if(o.compareDocumentPosition(m)&document.DOCUMENT_POSITION_PRECEDING&&(m=c.focusable.findLast({container:p,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 Tw(e,o,n){const a=e.core;if(!a.modalizer){const l=new _N(a,o,n);a.modalizer=l,a.attrHandlers.set("modalizer",(c,u,d,h,p)=>u?d.id&&(h==null?void 0:h.id)!==d.id?(u.dispose(),l.createModalizer(c,d,p)):(u.setProps(d),u):l.createModalizer(c,d,p))}return a.modalizer}/*!
|
|
118
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
119
|
-
* Licensed under the MIT License.
|
|
120
|
-
*/const CN=["input","textarea","*[contenteditable]"].join(", ");class zN extends js{constructor(n,a,l,c){super(a,n,Up.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=ht.getTabsterContext(this._tabster,a);let h;d&&(h=(c=Pa.findNextTabbable(this._tabster,d,void 0,l,void 0,!n.isFirst,!0))==null?void 0:c.element);const p=(u=this._getMemorized())==null?void 0:u.get();p&&this._tabster.focusable.isFocusable(p)&&(h=p),h&&cn(h)}});this._tabster=a,this._getMemorized=l,this._setHandlers(this._onFocusDummyInput)}}const kg=1,jy=2,Ay=3;class NN extends Bd{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=Uu(this._win,l);let u,d=this._fullyVisible;if(a.intersectionRatio>=.25?(u=a.intersectionRatio>=.75?Ln.Visible:Ln.PartiallyVisible,u===Ln.Visible&&(d=c)):u=Ln.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 Cy(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 zN(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 Ko(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 Cy(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&&As(n)===u;if(!u)return null;let h=null,p=!1,v;if(this._props.tabbable||d||n&&!ue.nodeContains(u,n)){const m={currentElement:n,referenceElement:a,container:u,ignoreAccessibility:c,useActiveModalizer:!0},w={};h=this._tabster.focusable[l?"findPrev":"findNext"](m,w),p=!!w.outOfDOMOrder,v=w.uncontrolled}return{element:h,uncontrolled:v,outOfDOMOrder:p}}acceptElement(n,a){var h,p;if(!Pa.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)||As(a.from)===d)){let v;if(l){const m=(p=this._current)==null?void 0:p.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 S;const w=Uu(this._win,m),k=this._visible[w];return d!==m&&!!((S=this._allElements)!=null&&S.get(m))&&a.acceptCondition(m)&&(k===Ln.Visible||k===Ln.PartiallyVisible&&(c===Ln.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(S=>{for(const y of S){const C=y.target,_=y.removedNodes,R=y.addedNodes;if(y.type==="attributes")y.attributeName==="tabindex"&&u.push({element:C,type:jy});else{for(let z=0;z<_.length;z++)u.push({element:_[z],type:Ay});for(let z=0;z<R.length;z++)u.push({element:R[z],type:kg})}}w()}),h=(S,y)=>{var _,R;const C=l.get(S);C&&y&&((_=this._intersectionObserver)==null||_.unobserve(S),l.delete(S)),!C&&!y&&(l.set(S,this),(R=this._intersectionObserver)==null||R.observe(S))},p=S=>{const y=c.isFocusable(S);l.get(S)?y||h(S,!0):y&&h(S)},v=S=>{const{mover:y}=k(S);if(y&&y!==this)if(y.getElement()===S&&c.isFocusable(S))h(S);else return;const C=Ip(a.document,S,_=>{const{mover:R,groupper:z}=k(_);if(R&&R!==this)return NodeFilter.FILTER_REJECT;const T=z==null?void 0:z.getFirst(!0);return z&&z.getElement()!==_&&T&&T!==_?NodeFilter.FILTER_REJECT:(c.isFocusable(_)&&h(_),NodeFilter.FILTER_SKIP)});if(C)for(C.currentNode=S;C.nextNode(););},m=S=>{l.get(S)&&h(S,!0);for(let C=ue.getFirstElementChild(S);C;C=ue.getNextElementSibling(C))m(C)},w=()=>{!this._updateTimer&&u.length&&(this._updateTimer=a.setTimeout(()=>{delete this._updateTimer;for(const{element:S,type:y}of u)switch(y){case jy:p(S);break;case kg:v(S);break;case Ay:m(S);break}u=this._updateQueue=[]},0))},k=S=>{const y={};for(let C=S;C;C=ue.getParentElement(C)){const _=eo(this._tabster,C);if(_&&(_.groupper&&!y.groupper&&(y.groupper=_.groupper),_.mover)){y.mover=_.mover;break}}return y};u.push({element:n,type:kg}),w(),d.observe(n,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{d.disconnect()}}getState(n){const a=Uu(this._win,n);if(a in this._visible){const l=this._visible[a]||Ln.Invisible;return{isCurrent:this._current?this._current.get()===n:void 0,visibility:l}}}}function TN(e,o,n,a,l,c,u,d){const h=n<l?l-n:u<e?e-u:0,p=a<c?c-a:d<o?o-d:0;return h===0?p:p===0?h:Math.sqrt(h*h+p*p)}class EN{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(By,this._onMoveFocus),o.addEventListener(_y,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=eo(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===Ot.ArrowDown?a=St.ArrowDown:n===Ot.ArrowRight?a=St.ArrowRight:n===Ot.ArrowUp?a=St.ArrowUp:n===Ot.ArrowLeft?a=St.ArrowLeft:n===Ot.PageDown?a=St.PageDown:n===Ot.PageUp?a=St.PageUp:n===Ot.Home?a=St.Home:n===Ot.End&&(a=St.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=ht.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(By,this._onMoveFocus),o.removeEventListener(_y,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 NN(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=ht.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=eo(l,W))==null?void 0:j.groupper)!=null&&M.isActive(!0))return null}else return null}if(!d)return null;const h=l.focusable,p=u.getProps(),v=p.direction||sr.Both,m=v===sr.Both,w=m||v===sr.Vertical,k=m||v===sr.Horizontal,S=v===sr.GridLinear,y=S||v===sr.Grid,C=p.cyclic;let _,R,z,T=0,E=0;if(y&&(z=o.getBoundingClientRect(),T=Math.ceil(z.left),E=Math.floor(z.right)),c.rtl&&(n===St.ArrowRight?n=St.ArrowLeft:n===St.ArrowLeft&&(n=St.ArrowRight)),n===St.ArrowDown&&w||n===St.ArrowRight&&(k||y))if(_=h.findNext({currentElement:o,container:d,useActiveModalizer:!0}),_&&y){const O=Math.ceil(_.getBoundingClientRect().left);!S&&E>O&&(_=void 0)}else!_&&C&&(_=h.findFirst({container:d,useActiveModalizer:!0}));else if(n===St.ArrowUp&&w||n===St.ArrowLeft&&(k||y))if(_=h.findPrev({currentElement:o,container:d,useActiveModalizer:!0}),_&&y){const O=Math.floor(_.getBoundingClientRect().right);!S&&O>T&&(_=void 0)}else!_&&C&&(_=h.findLast({container:d,useActiveModalizer:!0}));else if(n===St.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===St.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===St.PageUp){if(h.findElement({currentElement:o,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:O=>h.isFocusable(O)?Ny(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 ee=Math.ceil(W.getBoundingClientRect().left);return T<ee||O>=ee?!0:(_=W,!1)}})}R=!1}else if(n===St.PageDown){if(h.findElement({currentElement:o,container:d,useActiveModalizer:!0,acceptCondition:O=>h.isFocusable(O)?Ny(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 ee=Math.ceil(W.getBoundingClientRect().left);return T>ee||O<=ee?!0:(_=W,!1)}})}R=!0}else if(y){const O=n===St.ArrowUp,W=T,ee=Math.ceil(z.top),de=E,ae=Math.floor(z.bottom);let le,ie,Z=0;h.findAll({container:d,currentElement:o,isBackward:O,onElement:I=>{const oe=I.getBoundingClientRect(),re=Math.ceil(oe.left),he=Math.ceil(oe.top),ke=Math.floor(oe.right),F=Math.floor(oe.bottom);if(O&&ee<F||!O&&ae>he)return!0;const U=Math.ceil(Math.min(de,ke))-Math.floor(Math.max(W,re)),J=Math.ceil(Math.min(de-W,ke-re));if(U>0&&J>=U){const ce=U/J;ce>Z&&(le=I,Z=ce)}else if(Z===0){const ce=TN(W,ee,de,ae,re,he,ke,F);(ie===void 0||ce<ie)&&(ie=ce,le=I)}else if(Z>0)return!1;return!0}}),_=le}return _&&(!a||a&&d.dispatchEvent(new Fi({by:"mover",owner:d,next:_,relatedEvent:a})))?(R!==void 0&&iN(this._win,_,R),a&&(a.preventDefault(),a.stopImmediatePropagation()),cn(_),_):null}async _isIgnoredInput(o,n){if(o.getAttribute("aria-expanded")==="true"&&(o.hasAttribute("aria-activedescendant")||o.getAttribute("role")==="combobox"))return!0;if(Cw(o,CN)){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 p=ue.getSelection(o);if(p){const v=p.toString().length,m=n===Ot.ArrowLeft||n===Ot.ArrowUp;if(p.modify("extend",m?"backward":"forward","character"),v!==p.toString().length)return p.modify("extend",m?"forward":"backward","character"),!0;c=0}}}else{const p=o.selectionStart;if(p===null)return d==="hidden";a=p||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:p,focusNode:v,anchorOffset:m,focusOffset:w}=ue.getSelection(o)||{};this._ignoredInputTimer=h.setTimeout(()=>{var _,R,z;delete this._ignoredInputTimer;const{anchorNode:k,focusNode:S,anchorOffset:y,focusOffset:C}=ue.getSelection(o)||{};if(k!==p||S!==v||y!==m||C!==w){(_=this._ignoredInputResolve)==null||_.call(this,!1);return}if(a=y||0,l=C||0,c=((R=o.textContent)==null?void 0:R.length)||0,k&&S&&ue.nodeContains(o,k)&&ue.nodeContains(o,S)&&k!==o){let T=!1;const E=j=>{if(j===k)T=!0;else if(j===S)return!0;const M=j.textContent;if(M&&!ue.getFirstChild(j)){const W=M.length;T?S!==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)}(z=this._ignoredInputResolve)==null||z.call(this,!0)},0)}));if(u&&!await u||a!==l||a>0&&(n===Ot.ArrowLeft||n===Ot.ArrowUp||n===Ot.Home)||a<c&&(n===Ot.ArrowRight||n===Ot.ArrowDown||n===Ot.End))return!0}return!1}}/*!
|
|
121
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
122
|
-
* Licensed under the MIT License.
|
|
123
|
-
*/function RN(e){const o=e.core;if(!o.mover){const n=new EN(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 jN extends Bd{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 zy),a&&!ue.nodeContains(a,n.relatedTarget)&&(this._hasFocus=!1)});H(this,"_onFocusIn",()=>{this._hasFocus=!0});if(this._props.type===Ha.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===Ha.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 zy)}}}const sd=class sd{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>sd.DEPTH&&this._stack.shift(),this._stack.push(new Ko(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(sd,"DEPTH",10);let ip=sd;class AN{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(Oi.Restorer);const n=o.composedPath()[0];if(n){const c=(l=(a=eo(this._tabster,n))==null?void 0:a.restorer)==null?void 0:l.getProps().id;this._focusedElementState.requestAsyncFocus(Oi.Restorer,()=>this._restoreFocus(n,c),0)}});H(this,"_onFocusIn",o=>{var a;if(!o)return;const n=eo(this._tabster,o);((a=n==null?void 0:n.restorer)==null?void 0:a.getProps().type)===Ha.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,p;const d=(p=(h=eo(this._tabster,u))==null?void 0:h.restorer)==null?void 0:p.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(np,this._onRestoreFocus),this._history=new ip(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(Oi.Restorer),o.removeEventListener(np,this._onRestoreFocus)}createRestorer(o,n){const a=new jN(this._tabster,o,n);return n.type===Ha.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 Ew(e){const o=e.core;if(!o.restorer){const n=new AN(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 DN{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 MN{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&&oN({...n.DOMAPI}),this.keyboardNavigation=new yN(a),this.focusedElement=new Pa(this,a),this.focusable=new vN(this),this.root=new ht(this,n==null?void 0:n.autoRoot),this.uncontrolled=new wN((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 fN(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=xN(c,this,ww,l)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(o){o&&(this.getParent=o.getParent??this.getParent)}createTabster(o,n){const a=new DN(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,p;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(),(p=this.restorer)==null||p.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),this.attrHandlers.clear(),Ty(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),o&&(nN(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())Ty(this.getWindow,o),Pa.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 ON(e,o){let n=qN(e);return n?n.createTabster(!1,o):(n=new MN(e,o),e.__tabsterInstance=n,n.createTabster())}function FN(e,o){e.core.disposeTabster(e,o)}function qN(e){return e.__tabsterInstance}const HN=e=>e;function PN(e){const o=(e==null?void 0:e.defaultView)||void 0,n=o==null?void 0:o.__tabsterShadowDOMAPI;if(o)return ON(o,{autoRoot:{},controlTab:!1,getParent:mw,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 pl(e=HN){const{targetDocument:o}=Qe(),n=b.useRef(null);return At(()=>{const a=PN(o);if(a)return n.current=e(a),()=>{FN(a),n.current=null}},[o,e]),n}const lp=e=>{pl();const o=Vp(e,!0);return b.useMemo(()=>({[nn]:o}),[o])},LN=(e={})=>{const{circular:o,axis:n,memorizeCurrent:a=!0,tabbable:l,ignoreDefaultKeydown:c,unstable_hasDefault:u}=e;return pl(RN),lp({mover:{cyclic:!!o,direction:IN(n??"vertical"),memorizeCurrent:a,tabbable:l,hasDefault:u},...c&&{focusable:{ignoreKeydown:c}}})};function IN(e){switch(e){case"horizontal":return sr.Horizontal;case"grid":return sr.Grid;case"grid-linear":return sr.GridLinear;case"both":return sr.Both;case"vertical":default:return sr.Vertical}}const Ks=()=>{const e=pl(),{targetDocument:o}=Qe(),n=b.useCallback((d,h)=>{var p;return d&&((p=e.current)===null||p===void 0?void 0:p.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:p=o.body}=h;return e.current.focusable.findNext({currentElement:d,container:p})},[e,o]),u=b.useCallback((d,h={})=>{if(!e.current||!o||!d)return null;const{container:p=o.body}=h;return e.current.focusable.findPrev({currentElement:d,container:p})},[e,o]);return{findAllFocusable:n,findFirstFocusable:a,findLastFocusable:l,findNextFocusable:c,findPrevFocusable:u}},Dy="data-fui-focus-visible",Rw="data-fui-focus-within";function UN(e,o){if(jw(e))return()=>{};const n={current:void 0},a=wd(o);function l(h){a.isNavigatingWithKeyboard()&&hr(h)&&(n.current=h,h.setAttribute(Dy,""))}function c(){n.current&&(n.current.removeAttribute(Dy),n.current=void 0)}a.subscribe(h=>{h?l(o.document.activeElement):c()});const u=h=>{c();const p=h.composedPath()[0];l(p)},d=h=>{(!h.relatedTarget||hr(h.relatedTarget)&&!e.contains(h.relatedTarget))&&c()};return e.addEventListener(Eo,u),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(o.document.activeElement)&&l(o.document.activeElement),()=>{c(),e.removeEventListener(Eo,u),e.removeEventListener("focusout",d),e.focusVisible=void 0,Sd(a)}}function jw(e){return e?e.focusVisible?!0:jw(e==null?void 0:e.parentElement):!1}function Aw(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 UN(n.current,l.defaultView)},[n,l]),n}function VN(e,o){const n=wd(o);n.subscribe(c=>{c||My(e)});const a=c=>{n.isNavigatingWithKeyboard()&&Oy(c.target)&&GN(e)},l=c=>{(!c.relatedTarget||Oy(c.relatedTarget)&&!e.contains(c.relatedTarget))&&My(e)};return e.addEventListener(Eo,a),e.addEventListener("focusout",l),()=>{e.removeEventListener(Eo,a),e.removeEventListener("focusout",l),Sd(n)}}function GN(e){e.setAttribute(Rw,"")}function My(e){e.removeAttribute(Rw)}function Oy(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Gp(){const{targetDocument:e}=Qe(),o=b.useRef(null);return b.useEffect(()=>{if(e!=null&&e.defaultView&&o.current)return VN(o.current,e.defaultView)},[o,e]),o}function Wp(){const{targetDocument:e}=Qe(),o=b.useRef(null);return b.useEffect(()=>{const n=e==null?void 0:e.defaultView;if(n){const a=wd(n);return o.current=a,()=>{Sd(a),o.current=null}}},[e]),o}function Dw(e){const o=Wp(),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 WN="data-tabster-never-hide",XN=e=>e.hasAttribute(WN);function $N(e){Tw(e,void 0,XN),Ew(e)}const _d=(e={})=>{const{trapFocus:o,alwaysFocusable:n,legacyTrapFocus:a}=e;pl($N);const l=Kt("modal-",e.id),c=lp({restorer:{type:Ha.Source},...o&&{modalizer:{id:l,isOthersAccessible:!o,isAlwaysAccessible:n,isTrapped:a&&o}}}),u=lp({restorer:{type:Ha.Target}});return{modalAttributes:c,triggerAttributes:u}};function KN(){return pl(Ew),Vp({restorer:{type:Ha.Source}})}function QN(){const e=Wp();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 ZN(){const e=Wp();return b.useCallback(o=>{var n;(n=e.current)===null||n===void 0||n.setVal(o)},[e])}function YN(){const e=pl(Tw),[o]=gl();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"},Wt={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)"},Vo={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)"},JN={50:"rgba(26, 26, 26, 0.5)"},eT={70:"rgba(31, 31, 31, 0.7)"},Fy={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},ze="#ffffff",Vu="#000000",tT={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},Mw={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},oT={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},rT={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},nT={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},aT={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},iT={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},lT={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},sT={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},cT={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},uT={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},dT={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},fT={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},hT={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},gT={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Ow={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},pT={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},mT={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},vT={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},bT={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},yT={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},xT={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},wT={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},ST={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},kT={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},BT={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},_T={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},CT={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},zT={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},NT={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},TT={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},ET={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},RT={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},jT={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},AT={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},DT={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},$e={red:oT,green:Ow,darkOrange:rT,yellow:sT,berry:CT,lightGreen:gT,marigold:lT},ta={darkRed:tT,cranberry:Mw,pumpkin:nT,peach:iT,gold:cT,brass:uT,brown:dT,forest:fT,seafoam:hT,darkGreen:pT,lightTeal:mT,teal:vT,steel:bT,blue:yT,royalBlue:xT,cornflower:wT,navy:ST,lavender:kT,purple:BT,grape:_T,lilac:zT,pink:NT,magenta:TT,plum:ET,beige:RT,mink:jT,platinum:AT,anchor:DT},We={cranberry:Mw,green:Ow,orange:aT},Fw=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],qw=["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"],ho={success:"green",warning:"orange",danger:"cranberry"},Qs=Fw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background1`]:$e[o].tint60,[`colorPalette${n}Background2`]:$e[o].tint40,[`colorPalette${n}Background3`]:$e[o].primary,[`colorPalette${n}Foreground1`]:$e[o].shade10,[`colorPalette${n}Foreground2`]:$e[o].shade30,[`colorPalette${n}Foreground3`]:$e[o].primary,[`colorPalette${n}BorderActive`]:$e[o].primary,[`colorPalette${n}Border1`]:$e[o].tint40,[`colorPalette${n}Border2`]:$e[o].primary};return Object.assign(e,a)},{});Qs.colorPaletteYellowForeground1=$e.yellow.shade30;Qs.colorPaletteRedForegroundInverted=$e.red.tint20;Qs.colorPaletteGreenForegroundInverted=$e.green.tint20;Qs.colorPaletteYellowForegroundInverted=$e.yellow.tint40;const MT=qw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background2`]:ta[o].tint40,[`colorPalette${n}Foreground2`]:ta[o].shade30,[`colorPalette${n}BorderActive`]:ta[o].primary};return Object.assign(e,a)},{}),OT={...Qs,...MT},ml=Object.entries(ho).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)},{});ml.colorStatusDangerBackground3Hover=We[ho.danger].shade10;ml.colorStatusDangerBackground3Pressed=We[ho.danger].shade20;ml.colorStatusWarningForeground1=We[ho.warning].shade20;ml.colorStatusWarningForeground3=We[ho.warning].shade20;ml.colorStatusWarningBorder2=We[ho.warning].shade20;const FT=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:Wt[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:Wt[50],colorNeutralBackgroundAlpha2:Wt[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:$[96],colorSubtleBackgroundPressed:$[88],colorSubtleBackgroundSelected:$[92],colorSubtleBackgroundLightAlphaHover:Wt[70],colorSubtleBackgroundLightAlphaPressed:Wt[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Vo[10],colorSubtleBackgroundInvertedPressed:Vo[30],colorSubtleBackgroundInvertedSelected:Vo[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:$[94],colorNeutralBackgroundDisabled2:ze,colorNeutralBackgroundInvertedDisabled:Wt[10],colorNeutralStencil1:$[90],colorNeutralStencil2:$[98],colorNeutralStencil1Alpha:Vo[10],colorNeutralStencil2Alpha:Vo[5],colorBackgroundOverlay:Vo[40],colorScrollbarOverlay:Vo[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:Wt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Vo[5],colorNeutralStrokeAlpha2:Wt[20],colorStrokeFocus1:ze,colorStrokeFocus2:Vu,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)"}),Hw={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Pw={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)"},Lw={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Iw={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Uw={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Vw={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Gw={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"},yt={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},Ww={spacingHorizontalNone:yt.none,spacingHorizontalXXS:yt.xxs,spacingHorizontalXS:yt.xs,spacingHorizontalSNudge:yt.sNudge,spacingHorizontalS:yt.s,spacingHorizontalMNudge:yt.mNudge,spacingHorizontalM:yt.m,spacingHorizontalL:yt.l,spacingHorizontalXL:yt.xl,spacingHorizontalXXL:yt.xxl,spacingHorizontalXXXL:yt.xxxl},Xw={spacingVerticalNone:yt.none,spacingVerticalXXS:yt.xxs,spacingVerticalXS:yt.xs,spacingVerticalSNudge:yt.sNudge,spacingVerticalS:yt.s,spacingVerticalMNudge:yt.mNudge,spacingVerticalM:yt.m,spacingVerticalL:yt.l,spacingVerticalXL:yt.xl,spacingVerticalXXL:yt.xxl,spacingVerticalXXXL:yt.xxxl},$w={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 Ju(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 qT=e=>{const o=FT(e);return{...Hw,...Iw,...Uw,...Gw,...Vw,...$w,...Ww,...Xw,...Lw,...Pw,...o,...OT,...ml,...Ju(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...Ju(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Rr=Fw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background1`]:$e[o].shade40,[`colorPalette${n}Background2`]:$e[o].shade30,[`colorPalette${n}Background3`]:$e[o].primary,[`colorPalette${n}Foreground1`]:$e[o].tint30,[`colorPalette${n}Foreground2`]:$e[o].tint40,[`colorPalette${n}Foreground3`]:$e[o].tint20,[`colorPalette${n}BorderActive`]:$e[o].tint30,[`colorPalette${n}Border1`]:$e[o].primary,[`colorPalette${n}Border2`]:$e[o].tint20};return Object.assign(e,a)},{});Rr.colorPaletteRedForeground3=$e.red.tint30;Rr.colorPaletteRedBorder2=$e.red.tint30;Rr.colorPaletteGreenForeground3=$e.green.tint40;Rr.colorPaletteGreenBorder2=$e.green.tint40;Rr.colorPaletteDarkOrangeForeground3=$e.darkOrange.tint30;Rr.colorPaletteDarkOrangeBorder2=$e.darkOrange.tint30;Rr.colorPaletteRedForegroundInverted=$e.red.primary;Rr.colorPaletteGreenForegroundInverted=$e.green.primary;Rr.colorPaletteYellowForegroundInverted=$e.yellow.shade30;const Xp=qw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background2`]:ta[o].shade30,[`colorPalette${n}Foreground2`]:ta[o].tint40,[`colorPalette${n}BorderActive`]:ta[o].tint30};return Object.assign(e,a)},{});Xp.colorPaletteDarkRedBackground2=ta.darkRed.shade20;Xp.colorPalettePlumBackground2=ta.plum.shade20;const HT={...Rr,...Xp},ra=Object.entries(ho).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)},{});ra.colorStatusDangerBackground3Hover=We[ho.danger].shade10;ra.colorStatusDangerBackground3Pressed=We[ho.danger].shade20;ra.colorStatusDangerForeground3=We[ho.danger].tint40;ra.colorStatusDangerBorder2=We[ho.danger].tint30;ra.colorStatusSuccessForeground3=We[ho.success].tint40;ra.colorStatusSuccessBorder2=We[ho.success].tint40;ra.colorStatusWarningForegroundInverted=We[ho.warning].shade20;const PT=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:Wt[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:Vu,colorNeutralBackground4Selected:$[10],colorNeutralBackground5:Vu,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:JN[50],colorNeutralBackgroundAlpha2:eT[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:$[22],colorSubtleBackgroundPressed:$[18],colorSubtleBackgroundSelected:$[20],colorSubtleBackgroundLightAlphaHover:Fy[80],colorSubtleBackgroundLightAlphaPressed:Fy[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Vo[10],colorSubtleBackgroundInvertedPressed:Vo[30],colorSubtleBackgroundInvertedSelected:Vo[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:$[8],colorNeutralBackgroundDisabled2:$[16],colorNeutralBackgroundInvertedDisabled:Wt[10],colorNeutralStencil1:$[34],colorNeutralStencil2:$[20],colorNeutralStencil1Alpha:Wt[10],colorNeutralStencil2Alpha:Wt[5],colorBackgroundOverlay:Vo[50],colorScrollbarOverlay:Wt[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:Wt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Wt[10],colorNeutralStrokeAlpha2:Wt[20],colorStrokeFocus1:Vu,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)"}),LT=e=>{const o=PT(e);return{...Hw,...Iw,...Uw,...Gw,...Vw,...$w,...Ww,...Xw,...Lw,...Pw,...o,...HT,...ra,...Ju(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...Ju(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},Kw={root:"fui-FluentProvider"},IT=K2({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);}"]}),UT=e=>{"use no memo";const o=Ws(),n=IT({dir:e.dir,renderer:o});return e.root.className=fe(Kw.root,e.themeClassName,n.root,e.root.className),e},VT=b.useInsertionEffect?b.useInsertionEffect:At,GT=(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},WT=(e,o)=>{const n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(o,0))},XT=e=>{"use no memo";const{targetDocument:o,theme:n,rendererAttributes:a}=e,l=b.useRef(void 0),c=Kt(Kw.root),u=a,d=b.useMemo(()=>t6(`.${c}`,n),[n,c]);return $T(o,c),VT(()=>{const h=o==null?void 0:o.getElementById(c);return h?l.current=h:(l.current=GT(o,{...u,id:c}),l.current&&WT(l.current,d)),()=>{var p;(p=l.current)===null||p===void 0||p.remove()}},[c,o,d,u]),{styleTagId:c,rule:d}};function $T(e,o){b.useState(()=>{if(!e)return;const n=e.getElementById(o);n&&e.head.append(n)})}const KT={},QT={},ZT=(e,o)=>{"use no memo";const n=Qe(),a=YT(),l=qp(),c=b.useContext(Hp)||KT,{applyStylesToPortals:u=!0,customStyleHooks_unstable:d,dir:h=n.dir,targetDocument:p=n.targetDocument,theme:v,overrides_unstable:m={}}=e,w=Bg(a,v),k=Bg(l,m),S=Bg(c,d),y=Ws();var C;const{styleTagId:_,rule:R}=XT({theme:w,targetDocument:p,rendererAttributes:(C=y.styleElementAttributes)!==null&&C!==void 0?C:QT});return{applyStylesToPortals:u,customStyleHooks_unstable:S,dir:h,targetDocument:p,theme:w,overrides_unstable:k,themeClassName:_,components:{root:"div"},root:Ae(Tt("div",{...e,dir:h,ref:nt(o,Aw({targetDocument:p}))}),{elementType:"div"}),serverStyleProps:{cssRule:R,attributes:{...y.styleElementAttributes,id:_}}}};function Bg(e,o){return e&&o?{...e,...o}:e||o}function YT(){return b.useContext(ow)}function JT(e){const{applyStylesToPortals:o,customStyleHooks_unstable:n,dir:a,root:l,targetDocument:c,theme:u,themeClassName:d,overrides_unstable:h}=e,p=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:p,textDirection:a,iconDirection:m,tooltip:v,theme:u,themeClassName:o?l.className:d}}const Qw=b.forwardRef((e,o)=>{const n=ZT(e,o);UT(n);const a=JT(n);return hz(n,a)});Qw.displayName="FluentProvider";var qy=Xx();const eE=e=>n=>{const a=b.useRef(n.value),l=b.useRef(null);return l.current||(l.current={value:a,listeners:[]}),At(()=>{a.current=n.value,qy.unstable_runWithPriority(qy.unstable_NormalPriority,()=>{l.current.listeners.forEach(c=>{c(n.value)})})},[n.value]),b.createElement(e,{value:l.current},n.children)},vl=e=>{const o=b.createContext({value:{current:e},listeners:[],isDefault:!0});return o.Provider=eE(o.Provider),delete o.Consumer,o},Zs=(e,o)=>{const n=b.useContext(e),{value:a,listeners:l}=n,c=o(a.current),[,u]=b.useReducer(p=>p+1,0),d=b.useRef(o),h=b.useRef(c);return At(()=>{d.current=o,h.current=c}),At(()=>{const p=v=>{try{const m=d.current(v);Object.is(h.current,m)||u()}catch{}};return l.push(p),p(a.current),()=>{const v=l.indexOf(p);v!==-1&&l.splice(v,1)}},[l,a]),c};function Ys(e){return!b.useContext(e).isDefault}const qi="Enter",on=" ",Zw="Tab",sp="ArrowDown",$p="ArrowLeft",Kp="ArrowRight",_g="ArrowUp",tE="End",oE="Home",rE="PageDown",nE="PageUp",bl="Escape";function al(e,o){const{disabled:n,disabledFocusable:a=!1,["aria-disabled"]:l,onClick:c,onKeyDown:u,onKeyUp:d,...h}=o??{},p=typeof l=="string"?l==="true":l,v=n||a||p,m=pe(S=>{v?(S.preventDefault(),S.stopPropagation()):c==null||c(S)}),w=pe(S=>{if(u==null||u(S),S.isDefaultPrevented())return;const y=S.key;if(v&&(y===qi||y===on)){S.preventDefault(),S.stopPropagation();return}if(y===on){S.preventDefault();return}else y===qi&&(S.preventDefault(),S.currentTarget.click())}),k=pe(S=>{if(d==null||d(S),S.isDefaultPrevented())return;const y=S.key;if(v&&(y===qi||y===on)){S.preventDefault(),S.stopPropagation();return}y===on&&(S.preventDefault(),S.currentTarget.click())});if(e==="button"||e===void 0)return{...h,disabled:n&&!a,"aria-disabled":a?!0:p,onClick:a?void 0:m,onKeyUp:a?void 0:d,onKeyDown:a?void 0:u};{const S=!!h.href;let y=S?void 0:"button";!y&&v&&(y="link");const C={role:y,tabIndex:a||!S&&!n?0:void 0,...h,onClick:m,onKeyUp:k,onKeyDown:w,"aria-disabled":v};return e==="a"&&v&&(C.href=void 0),C}}const so=()=>{},aE={controller:{active:so,blur:so,find:so,first:so,focus:so,focusLastActive:so,scrollActiveIntoView:so,last:so,next:so,prev:so,showAttributes:so,hideAttributes:so,showFocusVisibleAttributes:so,hideFocusVisibleAttributes:so}},Qp=b.createContext(void 0),Yw=Qp.Provider,Jw=()=>{var e;return(e=b.useContext(Qp))!==null&&e!==void 0?e:aE},iE=()=>!!b.useContext(Qp);function lE(e){const{matchOption:o}=e,{targetDocument:n}=Qe(),a=b.useRef(null),l=b.useRef(null),c=b.useCallback(h=>hr(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,p)=>{if(!a.current||!l.current)return null;const v=p?n==null?void 0:n.getElementById(p):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 Hy="data-activedescendant",Ti="data-activedescendant-focusvisible",Py=e=>{if(!e)return;const o=eS(e.parentElement);if(!o)return;const{offsetHeight:n}=e,a=tS(e,o),{scrollMarginTop:l,scrollMarginBottom:c}=sE(e),{offsetHeight:u,scrollTop:d}=o,h=a-l<d,p=a+n+c>d+u,v=2;h?o.scrollTo(0,a-l-v):p&&o.scrollTo(0,a+n+c-u+v)},eS=e=>e?e.scrollHeight>e.offsetHeight?e:eS(e.parentElement):null,tS=(e,o)=>!e||e===o?0:e.contains(o)?o.offsetTop*-1:e.offsetTop+tS(e.offsetParent,o),sE=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=Nu(a.scrollMarginTop))!==null&&l!==void 0?l:Nu(a.scrollMarginBlockStart);var u;const d=(u=Nu(a.scrollMarginBottom))!==null&&u!==void 0?u:Nu(a.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:d}},Nu=e=>e?parseInt(e,10):0,cE=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function oS(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),p=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)}},[]);Dw(T=>{a.current=T;const E=y();E&&(T&&l.current?E.setAttribute(Ti,""):E.removeAttribute(Ti))});const m=pe(n),w=b.useRef(null),{optionWalker:k,listboxCallbackRef:S}=lE({matchOption:m}),y=b.useCallback(()=>{var T;return(T=w.current)===null||T===void 0?void 0:T.querySelector(`#${c.current}`)},[w]),C=b.useCallback(T=>{l.current=T;const E=y();E&&(T&&a.current?E.setAttribute(Ti,""):E.removeAttribute(Ti))},[y]),_=b.useCallback(()=>{const T=y();T&&(T.removeAttribute(Hy),T.removeAttribute(Ti)),p(),u.current=c.current,c.current=null;var E;return(E=T==null?void 0:T.id)!==null&&E!==void 0?E:null},[y,p]),R=b.useCallback(T=>{if(!T)return;const E=_();Py(T),v(T.id),T.setAttribute(Hy,""),a.current&&l.current&&T.setAttribute(Ti,"");const j=cE({id:T.id,previousId:E});T.dispatchEvent(j)},[_,v]),z=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(!w.current)return;const E=w.current.querySelector(`#${T}`);E&&R(E)},focusLastActive:()=>{if(!w.current||!u.current)return;const T=w.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(!w.current)return;const T=y();T&&Py(T)},showAttributes(){h.current=!0,v()},hideAttributes(){h.current=!1,p()},showFocusVisibleAttributes(){C(!0)},hideFocusVisibleAttributes(){C(!1)}}),[k,w,v,p,R,_,y,C]);return b.useImperativeHandle(o,()=>z),{listboxRef:nt(w,S),activeParentRef:d,controller:z}}const uE=be({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),dE=(e,o)=>{const{filled:n,title:a,primaryFill:l="currentColor",...c}=e,u={...c,fill:l},d=uE(),h=fz();return u.className=fe(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},fE=be({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),hE="fui-Icon",gE="fui-Icon-filled",pE="fui-Icon-regular",_e=(e,o,n,a)=>{const l=o==="1em"?"20":o,c=b.forwardRef((u,d)=>{const h=fE(),p=dE(u,{flipInRtl:a==null?void 0:a.flipInRtl}),v={...p,className:fe(hE,p.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},rS=_e("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"]),Ei=_e("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"]),mE=_e("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"]),vE=_e("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"]),Ly=_e("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"]),bE=_e("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"]),yE=_e("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"]),xE=_e("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"]),wE=_e("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"]),SE=_e("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"]),ed=_e("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"]),kE=_e("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"]),BE=_e("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"]),Zp=_e("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Yp=_e("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"]),_E=_e("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"]),CE=_e("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"]),nS=_e("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"]),zE=_e("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"]),aS=_e("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"]),NE=_e("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"]),TE=_e("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}),rn=_e("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"]),EE=_e("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"]),RE=_e("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"]),jE=_e("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"]),AE=_e("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"]),DE=_e("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"]),ME=_e("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"]),un=_e("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"]),OE=_e("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"]),FE=_e("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"]),qE=_e("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"]),HE=_e("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"]),PE=_e("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"]),iS=_e("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"]),LE=_e("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"]),IE=_e("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"]),UE=_e("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"]),VE=_e("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"]),GE=_e("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"]),WE=_e("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"]),XE=_e("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"]),lS=_e("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"]),$E=_e("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"]),KE=_e("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"]),QE=_e("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"]),ZE=_e("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"]),YE=_e("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"]),JE=_e("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=be({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]}),sS=(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:fe(d.root,c&&d.visible,gE,l)})),b.createElement(o,Object.assign({},u,{className:fe(d.root,!c&&d.visible,pE,l)})))};return n.displayName="CompoundIcon",n},tR={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},oR={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)"},pt={...tR,...oR};function rR(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 nR={fill:"forwards"},aR={duration:1};function iR(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=>rR(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 lR(){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:p,reducedMotion:v=aR,...m}=h,{keyframes:w=p,...k}=v,S=u?w:p,y={...nR,...m,...u&&k};try{const _=n.animate(S,y);if(o)_==null||_.persist();else{const R=S[S.length-1];var C;Object.assign((C=n.style)!==null&&C!==void 0?C:{},R)}return _}catch{return null}}).filter(h=>!!h);return iR(d)},[o])}function cS(){"use no memo";return lR()}function uS(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 sR="screen and (prefers-reduced-motion: reduce)";function dS(){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 At(()=>{if(n===null||typeof n.matchMedia!="function")return;const c=n.matchMedia(sR);c.matches&&(a.current=!0);const u=d=>{a.current=d.matches};return c.addEventListener("change",u),()=>{c.removeEventListener("change",u)}},[n]),l}const cR=["@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 fS(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:nt(n,Xs(a))}),n]}catch{}throw new Error(cR)}const hS=b.createContext(void 0);hS.Provider;const gS=()=>{var e;return(e=b.useContext(hS))!==null&&e!==void 0?e:"default"},uR=Symbol("MOTION_DEFINITION");function Iy(e){return Object.assign(n=>{"use no memo";const{children:a,imperativeRef:l,onMotionFinish:c,onMotionStart:u,onMotionCancel:d,...h}=n,p=h,[v,m]=fS(a),w=uS(l),k=gS()==="skip",S=b.useRef({skipMotions:k,params:p}),y=cS(),C=dS(),_=pe(()=>{u==null||u(null)}),R=pe(()=>{c==null||c(null)}),z=pe(()=>{d==null||d(null)});return At(()=>{S.current={skipMotions:k,params:p}}),At(()=>{const T=m.current;if(T){const E=typeof e=="function"?e({element:T,...S.current.params}):e;_();const j=y(T,E,{isReducedMotion:C()});return w.current=j,j.setMotionEndCallbacks(R,z),S.current.skipMotions&&j.finish(),()=>{j.cancel()}}},[y,m,w,C,R,_,z]),v},{[uR]:typeof e=="function"?e:()=>e})}const pS=b.createContext(void 0);pS.Provider;function dR(e=!1,o=!1){const n=b.useRef(o?e:!0),a=Y6(),l=b.useCallback(c=>{n.current!==c&&(n.current=c,a())},[a]);return b.useEffect(()=>{e&&(n.current=e)}),[e||n.current,l]}const mS=Symbol("PRESENCE_MOTION_DEFINITION"),fR=Symbol.for("interruptablePresence");function Js(e){return Object.assign(o=>{"use no memo";const a={...b.useContext(pS),...o},l=gS()==="skip",{appear:c,children:u,imperativeRef:d,onExit:h,onMotionFinish:p,onMotionStart:v,onMotionCancel:m,visible:w,unmountOnExit:k,...S}=a,y=S,[C,_]=dR(w,k),[R,z]=fS(u,C),T=uS(d),E=b.useRef({appear:c,params:y,skipMotions:l}),j=cS(),M=Pp(),O=dS(),W=pe(ae=>{v==null||v(null,{direction:ae})}),ee=pe(ae=>{p==null||p(null,{direction:ae}),ae==="exit"&&k&&(_(!1),h==null||h())}),de=pe(ae=>{m==null||m(null,{direction:ae})});return At(()=>{E.current={appear:c,params:y,skipMotions:l}}),At(()=>{const ae=z.current;if(!ae)return;let le;function ie(){le&&(I&&le.isRunning()||(le.cancel(),T.current=void 0))}const Z=typeof e=="function"?e({element:ae,...E.current.params}):e,I=Z[fR];if(I&&(le=T.current,le&&le.isRunning()))return le.reverse(),ie;const oe=w?Z.enter:Z.exit,re=w?"enter":"exit",he=!E.current.appear&&M,ke=E.current.skipMotions;return he||W(re),le=j(ae,oe,{isReducedMotion:O()}),he?(le.finish(),ie):(T.current=le,le.setMotionEndCallbacks(()=>ee(re),()=>de(re)),ke&&le.finish(),ie)},[j,z,T,O,ee,W,de,w]),b.useEffect(()=>{if(k&&!C){var ae;(ae=T.current)===null||ae===void 0||ae.dispose()}},[T,k,C]),C?R:null},{[mS]:typeof e=="function"?e:()=>e},{In:Iy(typeof e=="function"?(...o)=>e(...o).enter:e.enter),Out:Iy(typeof e=="function"?(...o)=>e(...o).exit:e.exit)})}function hR(e,o){return a=>e({...o,...a})}function ec(e,o){const n=e[mS],a=hR(n,o);return Js(a)}const Jp=b.createContext(void 0);function Cd(){return b.useContext(Jp)}const zd=b.forwardRef((e,o)=>b.createElement(Jp.Provider,{value:o},e.children));zd.displayName="MotionRefForwarder";const vS=e=>b.createElement(Jp.Provider,{value:void 0},e.children);vS.displayName="MotionRefForwarderReset";function Nd(e,o){const{as:n,children:a,...l}=e??{};if(e===null){const u=!o.defaultProps.visible&&o.defaultProps.unmountOnExit,d=(h,p)=>u?null:b.createElement(b.Fragment,null,p.children);return{[Zu]:d,[nl]:o.elementType}}const c={...o.defaultProps,...l,[nl]:o.elementType};return typeof a=="function"&&(c[Zu]=a),c}const il=({direction:e,duration:o,easing:n=pt.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"}},gR=({duration:e=pt.durationNormal,easing:o=pt.curveEasyEase,delay:n=0,exitDuration:a=e,exitEasing:l=o,exitDelay:c=n,outOpacity:u=0,inOpacity:d=1})=>({enter:il({direction:"enter",duration:e,easing:o,delay:n,outOpacity:u,inOpacity:d}),exit:il({direction:"exit",duration:a,easing:l,delay:c,outOpacity:u,inOpacity:d})}),bS=Js(gR);ec(bS,{duration:pt.durationFast});const pR=ec(bS,{duration:pt.durationGentle}),Uy=({direction:e,duration:o,easing:n=pt.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}},mR=({duration:e=pt.durationGentle,easing:o=pt.curveDecelerateMax,delay:n=0,exitDuration:a=pt.durationNormal,exitEasing:l=pt.curveAccelerateMax,exitDelay:c=n,outScale:u=.9,inScale:d=1,animateOpacity:h=!0})=>{const p=[Uy({direction:"enter",duration:e,easing:o,delay:n,outScale:u,inScale:d})],v=[Uy({direction:"exit",duration:a,easing:l,delay:c,outScale:u,inScale:d})];return h&&(p.push(il({direction:"enter",duration:e,easing:o,delay:n})),v.push(il({direction:"exit",duration:a,easing:l,delay:c}))),{enter:p,exit:v}},em=Js(mR);ec(em,{duration:pt.durationNormal,exitDuration:pt.durationFast});ec(em,{duration:pt.durationSlow,exitDuration:pt.durationGentle});const yS=({direction:e,duration:o,easing:n=pt.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}),vR=(e,o)=>{const{shape:n="circular",size:a="medium",appearance:l="filled",color:c="brand",...u}=e;return{...bR(u,o),shape:n,size:a,appearance:l,color:c}},bR=(e,o)=>{const{iconPosition:n="before"}=e;return{iconPosition:n,components:{root:"div",icon:"span"},root:Ae(Tt("div",{ref:o,...e}),{elementType:"div"}),icon:Pe(e.icon,{elementType:"span"})}},Vy={root:"fui-Badge",icon:"fui-Badge__icon"},yR=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;}']),xR=be({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);}"]}),wR=Ee("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),SR=be({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;}"]}),kR=e=>{"use no memo";const o=yR(),n=xR(),a=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=fe(Vy.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=wR(),c=SR();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=fe(Vy.icon,l,u,c[e.size],e.icon.className)}return e},BR=e=>lt(e.root,{children:[e.iconPosition==="before"&&e.icon&&se(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&se(e.icon,{})]}),cr=b.forwardRef((e,o)=>{const n=vR(e,o);return kR(n),ot("useBadgeStyles_unstable")(n),BR(n)});cr.displayName="Badge";function _R(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 Gy="data-popper-is-intersecting",Wy="data-popper-escaped",Xy="data-popper-reference-hidden",CR="data-popper-placement",cp="fui-positioningend",td="--fui-positioning-slide-direction-x",od="--fui-positioning-slide-direction-y";function zR(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 xS(e){const{targetDocument:o,onPositioningEnd:n}=e,a=pe(l=>{n==null||n(l);const c=l.target,u=l.detail.placement;if(!hr(c))return;const{x:d,y:h}=zR(u);c.style.setProperty(td,`${d}px`),c.style.setProperty(od,`${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:td,syntax:"<length>",inherits:!1,initialValue:"0px"}),d({name:od,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[o]),a}const NR=({options:e})=>e,wS=b.createContext(void 0);wS.Provider;const TR=()=>{var e;return(e=b.useContext(wS))!==null&&e!==void 0?e:NR},ER=["top","right","bottom","left"],La=Math.min,Xo=Math.max,rd=Math.round,Tr=e=>({x:e,y:e}),RR={left:"right",right:"left",bottom:"top",top:"bottom"};function up(e,o,n){return Xo(e,La(o,n))}function dn(e,o){return typeof e=="function"?e(o):e}function fn(e){return e.split("-")[0]}function yl(e){return e.split("-")[1]}function tm(e){return e==="x"?"y":"x"}function om(e){return e==="y"?"height":"width"}function Nr(e){const o=e[0];return o==="t"||o==="b"?"y":"x"}function rm(e){return tm(Nr(e))}function jR(e,o,n){n===void 0&&(n=!1);const a=yl(e),l=rm(e),c=om(l);let u=l==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(u=nd(u)),[u,nd(u)]}function AR(e){const o=nd(e);return[dp(e),o,dp(o)]}function dp(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const $y=["left","right"],Ky=["right","left"],DR=["top","bottom"],MR=["bottom","top"];function OR(e,o,n){switch(e){case"top":case"bottom":return n?o?Ky:$y:o?$y:Ky;case"left":case"right":return o?DR:MR;default:return[]}}function FR(e,o,n,a){const l=yl(e);let c=OR(fn(e),n==="start",a);return l&&(c=c.map(u=>u+"-"+l),o&&(c=c.concat(c.map(dp)))),c}function nd(e){const o=fn(e);return RR[o]+e.slice(o.length)}function qR(e){return{top:0,right:0,bottom:0,left:0,...e}}function SS(e){return typeof e!="number"?qR(e):{top:e,right:e,bottom:e,left:e}}function ad(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 Qy(e,o,n){let{reference:a,floating:l}=e;const c=Nr(o),u=rm(o),d=om(u),h=fn(o),p=c==="y",v=a.x+a.width/2-l.width/2,m=a.y+a.height/2-l.height/2,w=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(yl(o)){case"start":k[u]-=w*(n&&p?-1:1);break;case"end":k[u]+=w*(n&&p?-1:1);break}return k}async function kS(e,o){var n;o===void 0&&(o={});const{x:a,y:l,platform:c,rects:u,elements:d,strategy:h}=e,{boundary:p="clippingAncestors",rootBoundary:v="viewport",elementContext:m="floating",altBoundary:w=!1,padding:k=0}=dn(o,e),S=SS(k),C=d[w?m==="floating"?"reference":"floating":m],_=ad(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(C)))==null||n?C:C.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(d.floating)),boundary:p,rootBoundary:v,strategy:h})),R=m==="floating"?{x:a,y:l,width:u.floating.width,height:u.floating.height}:u.reference,z=await(c.getOffsetParent==null?void 0:c.getOffsetParent(d.floating)),T=await(c.isElement==null?void 0:c.isElement(z))?await(c.getScale==null?void 0:c.getScale(z))||{x:1,y:1}:{x:1,y:1},E=ad(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:R,offsetParent:z,strategy:h}):R);return{top:(_.top-E.top+S.top)/T.y,bottom:(E.bottom-_.bottom+S.bottom)/T.y,left:(_.left-E.left+S.left)/T.x,right:(E.right-_.right+S.right)/T.x}}const HR=50,PR=async(e,o,n)=>{const{placement:a="bottom",strategy:l="absolute",middleware:c=[],platform:u}=n,d=u.detectOverflow?u:{...u,detectOverflow:kS},h=await(u.isRTL==null?void 0:u.isRTL(o));let p=await u.getElementRects({reference:e,floating:o,strategy:l}),{x:v,y:m}=Qy(p,a,h),w=a,k=0;const S={};for(let y=0;y<c.length;y++){const C=c[y];if(!C)continue;const{name:_,fn:R}=C,{x:z,y:T,data:E,reset:j}=await R({x:v,y:m,initialPlacement:a,placement:w,strategy:l,middlewareData:S,rects:p,platform:d,elements:{reference:e,floating:o}});v=z??v,m=T??m,S[_]={...S[_],...E},j&&k<HR&&(k++,typeof j=="object"&&(j.placement&&(w=j.placement),j.rects&&(p=j.rects===!0?await u.getElementRects({reference:e,floating:o,strategy:l}):j.rects),{x:v,y:m}=Qy(p,w,h)),y=-1)}return{x:v,y:m,placement:w,strategy:l,middlewareData:S}},LR=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:p,padding:v=0}=dn(e,o)||{};if(p==null)return{};const m=SS(v),w={x:n,y:a},k=rm(l),S=om(k),y=await u.getDimensions(p),C=k==="y",_=C?"top":"left",R=C?"bottom":"right",z=C?"clientHeight":"clientWidth",T=c.reference[S]+c.reference[k]-w[k]-c.floating[S],E=w[k]-c.reference[k],j=await(u.getOffsetParent==null?void 0:u.getOffsetParent(p));let M=j?j[z]:0;(!M||!await(u.isElement==null?void 0:u.isElement(j)))&&(M=d.floating[z]||c.floating[S]);const O=T/2-E/2,W=M/2-y[S]/2-1,ee=La(m[_],W),de=La(m[R],W),ae=ee,le=M-y[S]-de,ie=M/2-y[S]/2+O,Z=up(ae,ie,le),I=!h.arrow&&yl(l)!=null&&ie!==Z&&c.reference[S]/2-(ie<ae?ee:de)-y[S]/2<0,oe=I?ie<ae?ie-ae:ie-le:0;return{[k]:w[k]+oe,data:{[k]:Z,centerOffset:ie-Z-oe,...I&&{alignmentOffset:oe}},reset:I}}}),IR=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:p}=o,{mainAxis:v=!0,crossAxis:m=!0,fallbackPlacements:w,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:y=!0,...C}=dn(e,o);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const _=fn(l),R=Nr(d),z=fn(d)===d,T=await(h.isRTL==null?void 0:h.isRTL(p.floating)),E=w||(z||!y?[nd(d)]:AR(d)),j=S!=="none";!w&&j&&E.push(...FR(d,y,S,T));const M=[d,...E],O=await h.detectOverflow(o,C),W=[];let ee=((a=c.flip)==null?void 0:a.overflows)||[];if(v&&W.push(O[_]),m){const ie=jR(l,u,T);W.push(O[ie[0]],O[ie[1]])}if(ee=[...ee,{placement:l,overflows:W}],!W.every(ie=>ie<=0)){var de,ae;const ie=(((de=c.flip)==null?void 0:de.index)||0)+1,Z=M[ie];if(Z&&(!(m==="alignment"?R!==Nr(Z):!1)||ee.every(re=>Nr(re.placement)===R?re.overflows[0]>0:!0)))return{data:{index:ie,overflows:ee},reset:{placement:Z}};let I=(ae=ee.filter(oe=>oe.overflows[0]<=0).sort((oe,re)=>oe.overflows[1]-re.overflows[1])[0])==null?void 0:ae.placement;if(!I)switch(k){case"bestFit":{var le;const oe=(le=ee.filter(re=>{if(j){const he=Nr(re.placement);return he===R||he==="y"}return!0}).map(re=>[re.placement,re.overflows.filter(he=>he>0).reduce((he,ke)=>he+ke,0)]).sort((re,he)=>re[1]-he[1])[0])==null?void 0:le[0];oe&&(I=oe);break}case"initialPlacement":I=d;break}if(l!==I)return{reset:{placement:I}}}return{}}}};function Zy(e,o){return{top:e.top-o.height,right:e.right-o.width,bottom:e.bottom-o.height,left:e.left-o.width}}function Yy(e){return ER.some(o=>e[o]>=0)}const UR=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(o){const{rects:n,platform:a}=o,{strategy:l="referenceHidden",...c}=dn(e,o);switch(l){case"referenceHidden":{const u=await a.detectOverflow(o,{...c,elementContext:"reference"}),d=Zy(u,n.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:Yy(d)}}}case"escaped":{const u=await a.detectOverflow(o,{...c,altBoundary:!0}),d=Zy(u,n.floating);return{data:{escapedOffsets:d,escaped:Yy(d)}}}default:return{}}}}},BS=new Set(["left","top"]);async function VR(e,o){const{placement:n,platform:a,elements:l}=e,c=await(a.isRTL==null?void 0:a.isRTL(l.floating)),u=fn(n),d=yl(n),h=Nr(n)==="y",p=BS.has(u)?-1:1,v=c&&h?-1:1,m=dn(o,e);let{mainAxis:w,crossAxis:k,alignmentAxis:S}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return d&&typeof S=="number"&&(k=d==="end"?S*-1:S),h?{x:k*v,y:w*p}:{x:w*p,y:k*v}}const GR=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 VR(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}}}}},WR=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:z}=_;return{x:R,y:z}}},...p}=dn(e,o),v={x:n,y:a},m=await c.detectOverflow(o,p),w=Nr(fn(l)),k=tm(w);let S=v[k],y=v[w];if(u){const _=k==="y"?"top":"left",R=k==="y"?"bottom":"right",z=S+m[_],T=S-m[R];S=up(z,S,T)}if(d){const _=w==="y"?"top":"left",R=w==="y"?"bottom":"right",z=y+m[_],T=y-m[R];y=up(z,y,T)}const C=h.fn({...o,[k]:S,[w]:y});return{...C,data:{x:C.x-n,y:C.y-a,enabled:{[k]:u,[w]:d}}}}}},XR=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:p=!0}=dn(e,o),v={x:n,y:a},m=Nr(l),w=tm(m);let k=v[w],S=v[m];const y=dn(d,o),C=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(h){const z=w==="y"?"height":"width",T=c.reference[w]-c.floating[z]+C.mainAxis,E=c.reference[w]+c.reference[z]-C.mainAxis;k<T?k=T:k>E&&(k=E)}if(p){var _,R;const z=w==="y"?"width":"height",T=BS.has(fn(l)),E=c.reference[m]-c.floating[z]+(T&&((_=u.offset)==null?void 0:_[m])||0)+(T?0:C.crossAxis),j=c.reference[m]+c.reference[z]+(T?0:((R=u.offset)==null?void 0:R[m])||0)-(T?C.crossAxis:0);S<E?S=E:S>j&&(S=j)}return{[w]:k,[m]:S}}}},$R=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=()=>{},...p}=dn(e,o),v=await u.detectOverflow(o,p),m=fn(l),w=yl(l),k=Nr(l)==="y",{width:S,height:y}=c.floating;let C,_;m==="top"||m==="bottom"?(C=m,_=w===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(_=m,C=w==="end"?"top":"bottom");const R=y-v.top-v.bottom,z=S-v.left-v.right,T=La(y-v[C],R),E=La(S-v[_],z),j=!o.middlewareData.shift;let M=T,O=E;if((n=o.middlewareData.shift)!=null&&n.enabled.x&&(O=z),(a=o.middlewareData.shift)!=null&&a.enabled.y&&(M=R),j&&!w){const ee=Xo(v.left,0),de=Xo(v.right,0),ae=Xo(v.top,0),le=Xo(v.bottom,0);k?O=S-2*(ee!==0||de!==0?ee+de:Xo(v.left,v.right)):M=y-2*(ae!==0||le!==0?ae+le:Xo(v.top,v.bottom))}await h({...o,availableWidth:O,availableHeight:M});const W=await u.getDimensions(d.floating);return S!==W.width||y!==W.height?{reset:{rects:!0}}:{}}}};function Td(){return typeof window<"u"}function xl(e){return _S(e)?(e.nodeName||"").toLowerCase():"#document"}function No(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function gn(e){var o;return(o=(_S(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function _S(e){return Td()?e instanceof Node||e instanceof No(e).Node:!1}function gr(e){return Td()?e instanceof Element||e instanceof No(e).Element:!1}function pn(e){return Td()?e instanceof HTMLElement||e instanceof No(e).HTMLElement:!1}function Jy(e){return!Td()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof No(e).ShadowRoot}function tc(e){const{overflow:o,overflowX:n,overflowY:a,display:l}=pr(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+n)&&l!=="inline"&&l!=="contents"}function KR(e){return/^(table|td|th)$/.test(xl(e))}function Ed(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const QR=/transform|translate|scale|rotate|perspective|filter/,ZR=/paint|layout|strict|content/,ka=e=>!!e&&e!=="none";let Cg;function nm(e){const o=gr(e)?pr(e):e;return ka(o.transform)||ka(o.translate)||ka(o.scale)||ka(o.rotate)||ka(o.perspective)||!am()&&(ka(o.backdropFilter)||ka(o.filter))||QR.test(o.willChange||"")||ZR.test(o.contain||"")}function YR(e){let o=oa(e);for(;pn(o)&&!ll(o);){if(nm(o))return o;if(Ed(o))return null;o=oa(o)}return null}function am(){return Cg==null&&(Cg=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Cg}function ll(e){return/^(html|body|#document)$/.test(xl(e))}function pr(e){return No(e).getComputedStyle(e)}function Rd(e){return gr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function oa(e){if(xl(e)==="html")return e;const o=e.assignedSlot||e.parentNode||Jy(e)&&e.host||gn(e);return Jy(o)?o.host:o}function CS(e){const o=oa(e);return ll(o)?e.ownerDocument?e.ownerDocument.body:e.body:pn(o)&&tc(o)?o:CS(o)}function zS(e,o,n){var a;o===void 0&&(o=[]);const l=CS(e),c=l===((a=e.ownerDocument)==null?void 0:a.body),u=No(l);return c?(fp(u),o.concat(u,u.visualViewport||[],tc(l)?l:[],[])):o.concat(l,zS(l,[]))}function fp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function NS(e){const o=pr(e);let n=parseFloat(o.width)||0,a=parseFloat(o.height)||0;const l=pn(e),c=l?e.offsetWidth:n,u=l?e.offsetHeight:a,d=rd(n)!==c||rd(a)!==u;return d&&(n=c,a=u),{width:n,height:a,$:d}}function TS(e){return gr(e)?e:e.contextElement}function Hi(e){const o=TS(e);if(!pn(o))return Tr(1);const n=o.getBoundingClientRect(),{width:a,height:l,$:c}=NS(o);let u=(c?rd(n.width):n.width)/a,d=(c?rd(n.height):n.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const JR=Tr(0);function ES(e){const o=No(e);return!am()||!o.visualViewport?JR:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function e7(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==No(e)?!1:o}function Ds(e,o,n,a){o===void 0&&(o=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),c=TS(e);let u=Tr(1);o&&(a?gr(a)&&(u=Hi(a)):u=Hi(e));const d=e7(c,n,a)?ES(c):Tr(0);let h=(l.left+d.x)/u.x,p=(l.top+d.y)/u.y,v=l.width/u.x,m=l.height/u.y;if(c){const w=No(c),k=a&&gr(a)?No(a):a;let S=w,y=fp(S);for(;y&&a&&k!==S;){const C=Hi(y),_=y.getBoundingClientRect(),R=pr(y),z=_.left+(y.clientLeft+parseFloat(R.paddingLeft))*C.x,T=_.top+(y.clientTop+parseFloat(R.paddingTop))*C.y;h*=C.x,p*=C.y,v*=C.x,m*=C.y,h+=z,p+=T,S=No(y),y=fp(S)}}return ad({width:v,height:m,x:h,y:p})}function jd(e,o){const n=Rd(e).scrollLeft;return o?o.left+n:Ds(gn(e)).left+n}function RS(e,o){const n=e.getBoundingClientRect(),a=n.left+o.scrollLeft-jd(e,n),l=n.top+o.scrollTop;return{x:a,y:l}}function t7(e){let{elements:o,rect:n,offsetParent:a,strategy:l}=e;const c=l==="fixed",u=gn(a),d=o?Ed(o.floating):!1;if(a===u||d&&c)return n;let h={scrollLeft:0,scrollTop:0},p=Tr(1);const v=Tr(0),m=pn(a);if((m||!m&&!c)&&((xl(a)!=="body"||tc(u))&&(h=Rd(a)),m)){const k=Ds(a);p=Hi(a),v.x=k.x+a.clientLeft,v.y=k.y+a.clientTop}const w=u&&!m&&!c?RS(u,h):Tr(0);return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-h.scrollLeft*p.x+v.x+w.x,y:n.y*p.y-h.scrollTop*p.y+v.y+w.y}}function o7(e){return Array.from(e.getClientRects())}function r7(e){const o=gn(e),n=Rd(e),a=e.ownerDocument.body,l=Xo(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),c=Xo(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight);let u=-n.scrollLeft+jd(e);const d=-n.scrollTop;return pr(a).direction==="rtl"&&(u+=Xo(o.clientWidth,a.clientWidth)-l),{width:l,height:c,x:u,y:d}}const ex=25;function n7(e,o){const n=No(e),a=gn(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=am();(!v||v&&o==="fixed")&&(d=l.offsetLeft,h=l.offsetTop)}const p=jd(a);if(p<=0){const v=a.ownerDocument,m=v.body,w=getComputedStyle(m),k=v.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,S=Math.abs(a.clientWidth-m.clientWidth-k);S<=ex&&(c-=S)}else p<=ex&&(c+=p);return{width:c,height:u,x:d,y:h}}function a7(e,o){const n=Ds(e,!0,o==="fixed"),a=n.top+e.clientTop,l=n.left+e.clientLeft,c=pn(e)?Hi(e):Tr(1),u=e.clientWidth*c.x,d=e.clientHeight*c.y,h=l*c.x,p=a*c.y;return{width:u,height:d,x:h,y:p}}function tx(e,o,n){let a;if(o==="viewport")a=n7(e,n);else if(o==="document")a=r7(gn(e));else if(gr(o))a=a7(o,n);else{const l=ES(e);a={x:o.x-l.x,y:o.y-l.y,width:o.width,height:o.height}}return ad(a)}function jS(e,o){const n=oa(e);return n===o||!gr(n)||ll(n)?!1:pr(n).position==="fixed"||jS(n,o)}function i7(e,o){const n=o.get(e);if(n)return n;let a=zS(e,[]).filter(d=>gr(d)&&xl(d)!=="body"),l=null;const c=pr(e).position==="fixed";let u=c?oa(e):e;for(;gr(u)&&!ll(u);){const d=pr(u),h=nm(u);!h&&d.position==="fixed"&&(l=null),(c?!h&&!l:!h&&d.position==="static"&&!!l&&(l.position==="absolute"||l.position==="fixed")||tc(u)&&!h&&jS(e,u))?a=a.filter(v=>v!==u):l=d,u=oa(u)}return o.set(e,a),a}function l7(e){let{element:o,boundary:n,rootBoundary:a,strategy:l}=e;const u=[...n==="clippingAncestors"?Ed(o)?[]:i7(o,this._c):[].concat(n),a],d=tx(o,u[0],l);let h=d.top,p=d.right,v=d.bottom,m=d.left;for(let w=1;w<u.length;w++){const k=tx(o,u[w],l);h=Xo(k.top,h),p=La(k.right,p),v=La(k.bottom,v),m=Xo(k.left,m)}return{width:p-m,height:v-h,x:m,y:h}}function s7(e){const{width:o,height:n}=NS(e);return{width:o,height:n}}function c7(e,o,n){const a=pn(o),l=gn(o),c=n==="fixed",u=Ds(e,!0,c,o);let d={scrollLeft:0,scrollTop:0};const h=Tr(0);function p(){h.x=jd(l)}if(a||!a&&!c)if((xl(o)!=="body"||tc(l))&&(d=Rd(o)),a){const k=Ds(o,!0,c,o);h.x=k.x+o.clientLeft,h.y=k.y+o.clientTop}else l&&p();c&&!a&&l&&p();const v=l&&!a&&!c?RS(l,d):Tr(0),m=u.left+d.scrollLeft-h.x-v.x,w=u.top+d.scrollTop-h.y-v.y;return{x:m,y:w,width:u.width,height:u.height}}function zg(e){return pr(e).position==="static"}function ox(e,o){if(!pn(e)||pr(e).position==="fixed")return null;if(o)return o(e);let n=e.offsetParent;return gn(e)===n&&(n=n.ownerDocument.body),n}function AS(e,o){const n=No(e);if(Ed(e))return n;if(!pn(e)){let l=oa(e);for(;l&&!ll(l);){if(gr(l)&&!zg(l))return l;l=oa(l)}return n}let a=ox(e,o);for(;a&&KR(a)&&zg(a);)a=ox(a,o);return a&&ll(a)&&zg(a)&&!nm(a)?n:a||YR(e)||n}const u7=async function(e){const o=this.getOffsetParent||AS,n=this.getDimensions,a=await n(e.floating);return{reference:c7(e.reference,await o(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function d7(e){return pr(e).direction==="rtl"}const f7={convertOffsetParentRelativeRectToViewportRelativeRect:t7,getDocumentElement:gn,getClippingRect:l7,getOffsetParent:AS,getElementRects:u7,getClientRects:o7,getDimensions:s7,getScale:Hi,isElement:gr,isRTL:d7},h7=kS,g7=GR,p7=WR,m7=IR,v7=$R,rx=UR,b7=LR,nx=XR,y7=(e,o,n)=>{const a=new Map,l={platform:f7,...n},c={...l.platform,_c:a};return PR(e,o,{...l,platform:c})};function DS(e){const o=e.split("-");return{side:o[0],alignment:o[1]}}const x7=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,w7=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):{}},Ad=e=>{const o=e&&x7(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}=w7(o);return/(auto|scroll|overlay)/.test(n+l+a)?o:Ad(o)},S7=e=>{var o;const n=Ad(e);return n?n!==((o=n.ownerDocument)===null||o===void 0?void 0:o.body):!1};function im(e,o){if(o==="window")return e==null?void 0:e.ownerDocument.documentElement;if(o==="clippingParents")return"clippingAncestors";if(o==="scrollParent"){let n=Ad(e);return n.nodeName==="BODY"&&(n=e==null?void 0:e.ownerDocument.documentElement),n}return o}function MS(e,o){return typeof e=="number"||typeof e=="object"&&e!==null?Ng(e,o):typeof e=="function"?n=>{const a=e(n);return Ng(a,o)}:{mainAxis:o}}const Ng=(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 OS(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 k7=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}),_7=(e,o)=>{const n=e==="above"||e==="below",a=o==="top"||o==="bottom";return n&&a||!n&&!a},FS=(e,o,n)=>{const a=_7(o,e)?"center":e,l=o&&k7(n)[o],c=a&&B7()[a];return l&&c?`${l}-${c}`:l},C7=()=>({top:"above",bottom:"below",right:"after",left:"before"}),z7=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},N7=e=>{const{side:o,alignment:n}=DS(e),a=C7()[o],l=n&&z7(a)[n];return{position:a,alignment:l}},T7={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function wl(e){return e==null?{}:typeof e=="string"?T7[e]:e}function Tg(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 At(()=>{a.current=!1},[]),l.callback=o,l.facade}function E7(e){let o;return()=>(o||(o=new Promise(n=>{Promise.resolve().then(()=>{o=void 0,n(e())})})),o)}function R7(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 j7(e){var o,n,a;const{container:l,placement:c,middlewareData:u,strategy:d,lowPPI:h,coordinates:p,useTransform:v=!0}=e;if(!l)return;l.setAttribute(CR,c),l.removeAttribute(Gy),u.intersectionObserver.intersecting&&l.setAttribute(Gy,""),l.removeAttribute(Wy),!((o=u.hide)===null||o===void 0)&&o.escaped&&l.setAttribute(Wy,""),l.removeAttribute(Xy),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&l.setAttribute(Xy,"");const m=((a=l.ownerDocument.defaultView)===null||a===void 0?void 0:a.devicePixelRatio)||1,w=Math.round(p.x*m)/m,k=Math.round(p.y*m)/m;if(Object.assign(l.style,{position:d}),v){Object.assign(l.style,{transform:h?`translate(${w}px, ${k}px)`:`translate3d(${w}px, ${k}px, 0)`});return}Object.assign(l.style,{left:`${w}px`,top:`${k}px`})}const A7=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function ax(e){const o=[];let n=e;for(;n;){const a=Ad(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 D7(e,o){return new e.ResizeObserver(o)}function M7(e){let o=!1;const{container:n,target:a,arrow:l,strategy:c,middleware:u,placement:d,useTransform:h=!0,disableUpdateOnResize:p=!1}=e,v=n.ownerDocument.defaultView;if(!a||!n||!v)return{updatePosition:()=>{},dispose:()=>{}};const m=p?null:D7(v,_=>{_.every(z=>z.contentRect.width>0&&z.contentRect.height>0)&&y()});let w=!0;const k=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const S=()=>{o||(w&&(ax(n).forEach(_=>k.add(_)),hr(a)&&ax(a).forEach(_=>k.add(_)),k.forEach(_=>{_.addEventListener("scroll",y,{passive:!0})}),m==null||m.observe(n),hr(a)&&(m==null||m.observe(a)),w=!1),Object.assign(n.style,{position:c}),y7(a,n,{placement:d,middleware:u,strategy:c}).then(({x:_,y:R,middlewareData:z,placement:T})=>{o||(R7({arrow:l,middlewareData:z}),j7({container:n,middlewareData:z,placement:T,coordinates:{x:_,y:R},lowPPI:((v==null?void 0:v.devicePixelRatio)||1)<=1,strategy:c,useTransform:h}),n.dispatchEvent(new CustomEvent(cp,{detail:{placement:T}})))}).catch(_=>{}))},y=E7(()=>S()),C=()=>{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:C}}function O7(){return{name:"coverTarget",fn:e=>{const{placement:o,rects:n,x:a,y:l}=e,c=DS(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 F7(e){const{hasScrollableElement:o,flipBoundary:n,container:a,fallbackPositions:l=[],isRtl:c}=e,u=l.reduce((d,h)=>{const{position:p,align:v}=wl(h),m=FS(v,p,c);return m&&d.push(m),d},[]);return m7({...o&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:im(a,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function q7(){return{name:"intersectionObserver",fn:async e=>{const o=e.rects.floating,n=await h7(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 H7=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 P7(e,o){const{container:n,overflowBoundary:a,overflowBoundaryPadding:l,isRtl:c}=o;return v7({...l&&{padding:OS(l,c)},...a&&{altBoundary:!0,boundary:im(n,a)},apply({availableHeight:u,availableWidth:d,elements:h,rects:p}){const v=(k,S,y)=>{if(k&&(h.floating.style.setProperty("box-sizing","border-box"),h.floating.style.setProperty(`max-${S}`,`${y}px`),p.floating[S]>y)){h.floating.style.setProperty(S,`${y}px`);const C=S==="width"?"x":"y";h.floating.style.getPropertyValue(`overflow-${C}`)||h.floating.style.setProperty(`overflow-${C}`,"auto")}},{applyMaxWidth:m,applyMaxHeight:w}=e;v(m,"width",d),v(w,"height",u)}})}function L7(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:o,reference:n},placement:a})=>{const{position:l,alignment:c}=N7(a);return e({positionedRect:o,targetRect:n,position:l,alignment:c})}}function I7(e){const o=L7(e);return g7(o)}function U7(e){const{hasScrollableElement:o,shiftToCoverTarget:n,disableTether:a,overflowBoundary:l,container:c,overflowBoundaryPadding:u,isRtl:d}=e;return p7({...o&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:nx({crossAxis:!0,mainAxis:!1})},...a&&{crossAxis:a==="all",limiter:nx({crossAxis:a!=="all",mainAxis:!1})},...u&&{padding:OS(u,d)},...l&&{altBoundary:!0,boundary:im(c,l)}})}const ix="--fui-match-target-size";function V7(){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(ix,`${c}px`),a.style.width||(a.style.width=`var(${ix})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function G7(e,o){const{align:n,arrowPadding:a,autoSize:l,coverTarget:c,disableUpdateOnResize:u,flipBoundary:d,offset:h,overflowBoundary:p,pinned:v,position:m,unstable_disableTether:w,strategy:k,overflowBoundaryPadding:S,fallbackPositions:y,useTransform:C,matchTargetSize:_,shiftToCoverTarget:R}=o;return b.useCallback((z,T)=>e({container:z,arrow:T,options:{autoSize:l,disableUpdateOnResize:u,matchTargetSize:_,offset:h,strategy:k,coverTarget:c,flipBoundary:d,overflowBoundary:p,useTransform:C,overflowBoundaryPadding:S,pinned:v,arrowPadding:a,align:n,fallbackPositions:y,shiftToCoverTarget:R,position:m,unstable_disableTether:w}}),[l,u,_,h,k,c,d,p,C,S,v,a,n,y,R,m,w,e])}function W7(e){const{dir:o,targetDocument:n}=Qe(),a=o==="rtl",l=G7(TR(),e),{positionFixed:c}=e;return b.useCallback((u,d)=>{const h=S7(u),p=l(u,d),{autoSize:v,disableUpdateOnResize:m,matchTargetSize:w,offset:k,coverTarget:S,flipBoundary:y,overflowBoundary:C,useTransform:_,overflowBoundaryPadding:R,pinned:z,position:T,arrowPadding:E,strategy:j,align:M,fallbackPositions:O,shiftToCoverTarget:W,unstable_disableTether:ee}=p,de=A7(v),ae=[de&&H7(de),w&&V7(),k&&I7(k),S&&O7(),!z&&F7({container:u,flipBoundary:y,hasScrollableElement:h,isRtl:a,fallbackPositions:O}),U7({container:u,hasScrollableElement:h,overflowBoundary:C,disableTether:ee,overflowBoundaryPadding:R,isRtl:a,shiftToCoverTarget:W}),de&&P7(de,{container:u,overflowBoundary:C,overflowBoundaryPadding:R,isRtl:a}),q7(),d&&b7({element:d,padding:E}),rx({strategy:"referenceHidden"}),rx({strategy:"escaped"}),!1].filter(Boolean);return{placement:FS(M,T,a),middleware:ae,strategy:j??c?"fixed":"absolute",disableUpdateOnResize:m,useTransform:_}},[l,a,n,c])}function Dd(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=W7(e),h=b.useCallback(()=>{o.current&&o.current.dispose(),o.current=null;var S;const y=(S=a.current)!==null&&S!==void 0?S:n.current;u&&yd()&&y&&l.current&&(o.current=M7({container:l.current,target:y,arrow:c.current,...d(l.current,c.current)}))},[u,d]),p=pe(S=>{a.current=S,h()});b.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var S;return(S=o.current)===null||S===void 0?void 0:S.updatePosition()},setTarget:S=>{e.target,p(S)}}),[e.target,p]),At(()=>{var S;p((S=e.target)!==null&&S!==void 0?S:null)},[e.target,p]),At(()=>{h()},[h]);const v=Tg(null,S=>{n.current!==S&&(n.current=S,h())}),m=pe(S=>{var y;return(y=e.onPositioningEnd)===null||y===void 0?void 0:y.call(e,S)}),w=Tg(null,S=>{if(l.current!==S){var y;(y=l.current)===null||y===void 0||y.removeEventListener(cp,m),S==null||S.addEventListener(cp,m),l.current=S,h()}}),k=Tg(null,S=>{c.current!==S&&(c.current=S,h())});return{targetRef:v,containerRef:w,arrowRef:k}}const qS=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=_R(c);n(u)}]};function X7(){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 Eg={exports:{}},Rg={};/**
|
|
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 lx;function $7(){if(lx)return Rg;lx=1;var e=cd();function o(m,w){return m===w&&(m!==0||1/m===1/w)||m!==m&&w!==w}var n=typeof Object.is=="function"?Object.is:o,a=e.useState,l=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue;function d(m,w){var k=w(),S=a({inst:{value:k,getSnapshot:w}}),y=S[0].inst,C=S[1];return c(function(){y.value=k,y.getSnapshot=w,h(y)&&C({inst:y})},[m,k,w]),l(function(){return h(y)&&C({inst:y}),m(function(){h(y)&&C({inst:y})})},[m]),u(k),k}function h(m){var w=m.getSnapshot;m=m.value;try{var k=w();return!n(m,k)}catch{return!0}}function p(m,w){return w()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:d;return Rg.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,Rg}var sx;function K7(){return sx||(sx=1,Eg.exports=$7()),Eg.exports}var Q7=K7();function cx(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 ux=20;function HS(e,o){return Math.sqrt((e[0]-o[0])**2+(e[1]-o[1])**2)}function Z7(e,o){const n=HS(e,o);return n===0?[0,0]:[(e[0]-o[0])/n,(e[1]-o[1])/n]}function Y7(e,o,n){const a=[(e[0]+o[0])/2,(e[1]+o[1])/2],l=Z7([n[0],n[1]],[a[0],a[1]]),c=HS([a[0],a[1]],[n[0],n[1]]);return[a[0]+l[0]*(c+ux),a[1]+l[1]*(c+ux)]}function Tu(e){return`M ${e} z`}const J7=be({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 dx(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 ej(e,o,n,a){let l=`M 0,0 H ${e} V ${o} H 0 Z `;return l+=dx(n),l+=dx(a),l}const fx={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON(){return""}};function hx(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 tj(e,o){return e[0]===o[0]&&e[1]===o[1]}const oj=b.memo(e=>{const{debug:o,onMouseEnter:n,onMouseMove:a,onMouseLeave:l,stateStore:c}=e,u=Kt(),d=J7(),h=Q7.useSyncExternalStore(c.subscribe,c.isActive),p=b.useRef(null),[v,m]=b.useState(()=>({containerRect:fx,targetRect:fx,mouseCoordinates:[0,0]}));b.useImperativeHandle(e.imperativeRef,()=>({updateSVG(ie){m(Z=>hx(Z.containerRect,ie.containerRect)&&hx(Z.targetRect,ie.targetRect)&&tj(Z.mouseCoordinates,ie.mouseCoordinates)?Z:ie)}}),[]);const{containerRect:w,targetRect:k,mouseCoordinates:S}=v,y=Math.min(k.top,w.top),C=Math.min(k.left,w.left),_=Math.max(k.bottom,w.bottom),R=Math.max(k.right,w.right),z=cx(w,[C,y]),T=cx(k,[C,y]),E=[S[0]-C,S[1]-y],j=Y7(z.topLeft,z.bottomRight,E),M=[j,z.topLeft,z.topRight],O=[j,z.topRight,z.bottomRight],W=[j,z.bottomRight,z.bottomLeft],ee=[j,z.bottomLeft,z.topLeft],de=R-C,ae=_-y,le=ej(de,ae,{x:T.topLeft[0],y:T.topLeft[1],width:k.width,height:k.height},{x:z.topLeft[0],y:z.topLeft[1],width:w.width,height:w.height});return b.createElement("div",{className:fe(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:p,style:{width:`${de}px`,height:`${ae}px`,transform:`translate(${C}px, ${y}px)`}},b.createElement("g",{className:fe(d.triangle,o&&d.triangleDebug),clipPath:`url(#${u})`,onMouseEnter:n,onMouseMove:a,onMouseLeave:l},b.createElement("path",{d:Tu(M)}),b.createElement("path",{d:Tu(O)}),b.createElement("path",{d:Tu(W)}),b.createElement("path",{d:Tu(ee)})),b.createElement("clipPath",{id:u},b.createElement("path",{d:le})),o&&b.createElement("path",{className:d.rectDebug,d:le})):null)}),rj=2e3;function nj({debug:e=!1,disabled:o=!1,onSafeZoneEnter:n,onSafeZoneMove:a,onSafeZoneLeave:l,onSafeZoneTimeout:c,timeout:u=1500}={}){const[d]=b.useState(X7),h=b.useRef(null),p=b.useRef(null),v=b.useRef(null),[m,w]=gl(),[k,S]=W6(),y=b.useRef({x:0,y:0}),C=b.useMemo(()=>{if(o)return()=>{};let E=null;function j(){w(),d.toggleActive(!1)}return M=>{M===null&&(E==null||E.removeEventListener("mouseenter",j)),E=M,M==null||M.addEventListener("mouseenter",j)}},[w,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)},rj)}return M=>{M===null&&(S(),w(),E==null||E.removeEventListener("mousemove",j)),E=M,M==null||M.addEventListener("mousemove",j)}},[S,w,o,d,m]),R=pe(E=>{n==null||n(E),m(()=>{d.toggleActive(!1),c==null||c()},u)}),z=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=p.current,W=v.current;if(O&&W){var ee;(ee=h.current)===null||ee===void 0||ee.updateSVG({containerRect:O.getBoundingClientRect(),mouseCoordinates:[y.current.x,y.current.y],targetRect:W.getBoundingClientRect()})}k(M)};var j=M;M();return}S()}),[S,k,d]),{containerRef:nt(p,C),targetRef:nt(v,_),elementToRender:b.useMemo(()=>o?null:b.createElement(oj,{debug:e,onMouseEnter:R,onMouseMove:z,onMouseLeave:T,imperativeRef:h,stateStore:d}),[o,e,R,z,T,d])}}const lm=vl(void 0),PS={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};lm.Provider;const Ut=e=>Zs(lm,(o=PS)=>e(o)),aj=(e,o)=>{const n=Ut(u=>u.size),a=Ut(u=>u.appearance),l=Cd(),c=ij(e,nt(o,l));return{appearance:a,size:n,...c}},ij=(e,o)=>{const n=Ut(C=>C.contentRef),a=Ut(C=>C.openOnHover),l=Ut(C=>C.setOpen),c=Ut(C=>C.mountNode),u=Ut(C=>C.arrowRef),d=Ut(C=>C.withArrow),h=Ut(C=>C.trapFocus),p=Ut(C=>C.inertTrapFocus),v=Ut(C=>C.inline),{modalAttributes:m}=_d({trapFocus:h,legacyTrapFocus:!p,alwaysFocusable:!h}),w={inline:v,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ae({ref:nt(o,n),role:h?"dialog":"group","aria-modal":h?!0:void 0,...m,...e},{elementType:"div"})},{onMouseEnter:k,onMouseLeave:S,onKeyDown:y}=w.root;return w.root.onMouseEnter=C=>{a&&l(C,!0),k==null||k(C)},w.root.onMouseLeave=C=>{a&&l(C,!1),S==null||S(C)},w.root.onKeyDown=C=>{var _;C.key==="Escape"&&(!((_=n.current)===null||_===void 0)&&_.contains(C.target))&&(C.preventDefault(),l(C,!1)),y==null||y(C)},w};function lj(e){return hr(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const sj=Gu.useInsertionEffect?Gu.useInsertionEffect:At,LS=Symbol.for("fui-portal-style-ref-count"),cj="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",IS="fui-portal-styles";function US(e){var o;return(o=e[LS])!==null&&o!==void 0?o:0}function hp(e,o){e[LS]=o}function uj(e){var o;const n=US(e);if(n>0){hp(e,n+1);return}const a=e.createElement("style");a.id=IS,e.head.prepend(a),(o=a.sheet)===null||o===void 0||o.insertRule(cj),hp(e,1)}function dj(e){const o=US(e);if(o===0)return;const n=o-1;if(n===0){var a;(a=e.head.querySelector(`#${IS}`))===null||a===void 0||a.remove()}hp(e,n)}function fj(e){const{targetDocument:o}=Qe();sj(()=>{if(!(e||!o))return uj(o),()=>dj(o)},[e,o])}const VS=Gu.useInsertionEffect,hj=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},gj=()=>{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}},pj=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,[c]=b.useState(gj),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 p=c.get(l,!0),v=p?p[h]:void 0;return typeof v=="function"?v.bind(p):v},set(d,h,p){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]:p}),!0):!1}}),[c,l,e.disabled]);return VS(()=>{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},mj=VS?pj:hj,vj=e=>{"use no memo";const{targetDocument:o,dir:n}=Qe(),a=I6(),l=Aw(),c=A6(),u={dir:n,disabled:e.disabled,focusVisibleRef:l,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(o==null?void 0:o.body)};return fj(e.disabled),mj(u)},bj=e=>{const{element:o,className:n}=lj(e.mountNode),a=b.useRef(null),l=vj({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 xy(c,d),()=>{xy(c,void 0)}},[a,c]),u},yj=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Og.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),Sl=e=>{const o=bj(e);return yj(o)};Sl.displayName="Portal";const xj=e=>{const o=lt(e.root,{children:[e.withArrow&&se("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?o:se(Sl,{mountNode:e.mountNode,children:o})},wj={root:"fui-PopoverSurface"},Sj={small:6,medium:8,large:8},kj=be({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;}']}),Bj=e=>{"use no memo";const o=kj();return e.root.className=fe(wj.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=fe(o.arrow,e.size==="small"?o.smallArrow:o.mediumLargeArrow),e},GS=b.forwardRef((e,o)=>{const n=aj(e,o);return Bj(n),ot("usePopoverSurfaceStyles_unstable")(n),xj(n)});GS.displayName="PopoverSurface";const _j=4,gx=pt.durationSlower,px=pt.curveDecelerateMid,mx=Js(({distance:e=10})=>({enter:[il({duration:gx,easing:px,direction:"enter"}),{...yS({duration:gx,easing:px,direction:"enter",outX:`calc(var(${td}, 0px) * ${e})`,outY:`calc(var(${od}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),Cj=e=>{const{appearance:o,size:n="medium"}=e,a=wl(e.positioning),l=e.withArrow&&!a.coverTarget,{targetDocument:c}=Qe(),u=xS({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=zj({...e,positioning:{...a,onPositioningEnd:u,...l?{offset:MS(a.offset,Sj[n])}:{}}});return{components:{surfaceMotion:mx},appearance:o,size:n,...d,surfaceMotion:Nd(e.surfaceMotion,{elementType:mx,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},zj=e=>{const[o,n]=qS(),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]=Nj(a),[p,v]=gl(),m=pe((E,j)=>{if(v(),!(E instanceof Event)&&E.persist&&E.persist(),E.type==="mouseleave"){var M;p(()=>{h(E,j)},(M=e.mouseLeaveDelay)!==null&&M!==void 0?M:500)}else h(E,j)}),w=b.useCallback(E=>{m(E,!d)},[m,d]),k=Tj(a),{targetDocument:S}=Qe();var y;Lp({contains:Es,element:S,callback:E=>m(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d,disabledFocusOnIframe:!(!((y=e.closeOnIframeFocus)!==null&&y!==void 0)||y)});const C=a.openOnContext||a.closeOnScroll;hw({contains:Es,element:S,callback:E=>m(E,!1),refs:[k.triggerRef,k.contentRef],disabled:!d||!C});const{findFirstFocusable:_}=Ks(),R=YN();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 z,T;return{...a,...k,inertTrapFocus:(z=e.inertTrapFocus)!==null&&z!==void 0?z:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:u,open:d,setOpen:m,toggleOpen:w,setContextTarget:n,contextTarget:o,inline:(T=e.inline)!==null&&T!==void 0?T:!1}};function Nj(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]=Yo({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 Tj(e){"use no memo";const o={position:"above",align:"center",arrowPadding:2*_j,target:e.openOnContext?e.contextTarget:void 0,...wl(e.positioning)};o.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:l}=Dd(o);return{triggerRef:n,contentRef:a,arrowRef:l}}function Ej(e){const{appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:p,size:v,toggleOpen:m,trapFocus:w,triggerRef:k,withArrow:S,inertTrapFocus:y}=e;return{popover:b.useMemo(()=>({appearance:o,arrowRef:n,contentRef:a,inline:l,mountNode:c,open:u,openOnContext:d,openOnHover:h,setOpen:p,size:v,toggleOpen:m,trapFocus:w,triggerRef:k,withArrow:S,inertTrapFocus:y}),[o,n,a,l,c,u,d,h,p,v,m,w,k,S,y])}}const Rj=(e,o)=>{var n;return lt(lm.Provider,{value:(n=o==null?void 0:o.popover)!==null&&n!==void 0?n:PS,children:[e.popoverTrigger,e.popoverSurface&&se(e.surfaceMotion,{children:se(zd,{children:e.popoverSurface})})]})},WS=e=>{const o=Cj(e),n=Ej(o);return Rj(o,n)};WS.displayName="Popover";const jj=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=$s(o),l=Ut(z=>z.open),c=Ut(z=>z.setOpen),u=Ut(z=>z.toggleOpen),d=Ut(z=>z.triggerRef),h=Ut(z=>z.openOnHover),p=Ut(z=>z.openOnContext),{triggerAttributes:v}=_d(),m=z=>{p&&(z.preventDefault(),c(z,!0))},w=z=>{p||u(z)},k=z=>{z.key===bl&&l&&!z.isDefaultPrevented()&&(c(z,!1),z.preventDefault())},S=z=>{h&&c(z,!0)},y=z=>{h&&c(z,!1)},C={...v,"aria-expanded":`${l}`,...a==null?void 0:a.props,onMouseEnter:pe(De(a==null?void 0:a.props.onMouseEnter,S)),onMouseLeave:pe(De(a==null?void 0:a.props.onMouseLeave,y)),onContextMenu:pe(De(a==null?void 0:a.props.onContextMenu,m)),ref:nt(d,Xs(a))},_={...C,onClick:pe(De(a==null?void 0:a.props.onClick,w)),onKeyDown:pe(De(a==null?void 0:a.props.onKeyDown,k))},R=al((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",_);return{children:xd(e.children,al((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",p?C:n?_:R))}},Aj=e=>e.children,sm=e=>{const o=jj(e);return Aj(o)};sm.displayName="PopoverTrigger";sm.isFluentTriggerComponent=!0;const Dj=6,Mj=4,Oj=e=>-1,Fj=e=>{};function qj(e){const{targetDocument:o}=Qe(),n=o==null?void 0:o.defaultView,a=n?n.setTimeout:Oj,l=n?n.clearTimeout:Fj,c=b.useRef(void 0),u=b.useCallback((h,p)=>(c.current!==void 0&&l(c.current),c.current=a(h,p??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 Hj=e=>{"use no memo";var o,n,a,l,c,u,d;const h=O6(),p=Z6(),{targetDocument:v}=Qe(),[m,w]=Yo({state:e.visible,initialState:!1}),{children:k,content:S,withArrow:y=!1,positioning:C="above",onVisibleChange:_,relationship:R,showDelay:z=250,hideDelay:T=250,mountNode:E}=e,j={withArrow:y,positioning:C,showDelay:z,hideDelay:T,relationship:R,visible:m,shouldRenderTooltip:m,mountNode:E,components:{content:"div"},content:Ae(S,{defaultProps:{role:"tooltip"},elementType:"div"})};j.content.id=Kt("tooltip-",j.content.id);const M={enabled:j.visible,arrowPadding:2*Mj,position:"above",align:"center",offset:4,...wl(j.positioning)};j.withArrow&&(M.offset=MS(M.offset,Dj));const{targetRef:O,containerRef:W,arrowRef:ee}=Dd(M),[de,ae]=qj(W),le=b.useCallback((U,J)=>{ae(),w(ce=>(J.visible!==ce&&(_==null||_(U,J)),J.visible))},[ae,w,_]);j.content.ref=nt(j.content.ref,W),j.arrowRef=ee,At(()=>{if(m){var U;const J={hide:me=>le(void 0,{visible:!1,documentKeyboardEvent:me})};(U=h.visibleTooltip)===null||U===void 0||U.hide(),h.visibleTooltip=J;const ce=me=>{me.key===bl&&!me.defaultPrevented&&(J.hide(me),me.preventDefault())};return v==null||v.addEventListener("keydown",ce,{capture:!0}),()=>{h.visibleTooltip===J&&(h.visibleTooltip=void 0),v==null||v.removeEventListener("keydown",ce,{capture:!0})}}},[h,v,m,le]);const ie=b.useRef(!1),Z=b.useCallback(U=>{if(U.type==="focus"&&ie.current){ie.current=!1;return}const J=h.visibleTooltip?0:j.showDelay;de(()=>{le(U,{visible:!0})},J),U.persist()},[de,le,j.showDelay,h]),I=QN(),[oe]=b.useState(()=>{const U=ce=>{var me;!((me=ce.detail)===null||me===void 0)&&me.isFocusedProgrammatically&&!I()&&(ie.current=!0)};let J=null;return ce=>{J==null||J.removeEventListener(Eo,U),ce==null||ce.addEventListener(Eo,U),J=ce}}),re=b.useCallback(U=>{let J=j.hideDelay;U.type==="blur"&&(J=0,ie.current=(v==null?void 0:v.activeElement)===U.target),de(()=>{le(U,{visible:!1})},J),U.persist()},[de,le,j.hideDelay,v]);j.content.onPointerEnter=De(j.content.onPointerEnter,ae),j.content.onPointerLeave=De(j.content.onPointerLeave,re),j.content.onFocus=De(j.content.onFocus,ae),j.content.onBlur=De(j.content.onBlur,re);const he=$s(k),ke={},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"?ke["aria-label"]=j.content.children:(ke["aria-labelledby"]=j.content.id,j.shouldRenderTooltip=!0):R==="description"&&(ke["aria-describedby"]=j.content.id,j.shouldRenderTooltip=!0),(p||F)&&(j.shouldRenderTooltip=!1),j.children=xd(k,{...ke,...he==null?void 0:he.props,ref:nt(Xs(he),oe,M.target===void 0?O:void 0),onPointerEnter:pe(De(he==null||(l=he.props)===null||l===void 0?void 0:l.onPointerEnter,Z)),onPointerLeave:pe(De(he==null||(c=he.props)===null||c===void 0?void 0:c.onPointerLeave,re)),onFocus:pe(De(he==null||(u=he.props)===null||u===void 0?void 0:u.onFocus,Z)),onBlur:pe(De(he==null||(d=he.props)===null||d===void 0?void 0:d.onBlur,re))}),j},Pj=e=>{"use no memo";const{appearance:o="normal",...n}=e,a=Hj(n);return{appearance:o,...a}},Lj=e=>lt(b.Fragment,{children:[e.children,e.shouldRenderTooltip&&se(Sl,{mountNode:e.mountNode,children:lt(e.content,{children:[e.withArrow&&se("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),Ij={content:"fui-Tooltip__content"},Uj=be({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;}']}),Vj=e=>{"use no memo";const o=Uj();return e.content.className=fe(Ij.content,o.root,e.appearance==="inverted"&&o.inverted,e.visible&&o.visible,e.content.className),e.arrowClassName=o.arrow,e},Md=e=>{const o=Pj(e);return Vj(o),ot("useTooltipStyles_unstable")(o),Lj(o)};Md.displayName="Tooltip";Md.isFluentTriggerComponent=!0;const Gj=e=>{const{iconOnly:o,iconPosition:n}=e;return lt(e.root,{children:[n!=="after"&&e.icon&&se(e.icon,{}),!o&&e.root.children,n==="after"&&e.icon&&se(e.icon,{})]})},XS=b.createContext(void 0),Wj={};XS.Provider;const Xj=()=>{var e;return(e=b.useContext(XS))!==null&&e!==void 0?e:Wj},$j=(e,o)=>{const{size:n}=Xj(),{appearance:a="secondary",shape:l="rounded",size:c=n??"medium",...u}=e,d=Kj(u,o);return{appearance:a,shape:l,size:c,...d}},Kj=(e,o)=>{const{icon:n,iconPosition:a="before",...l}=e,c=Pe(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:Ae(al(l.as,l),{elementType:"button",defaultProps:{ref:o,type:e.as!=="a"?"button":void 0}}),icon:c}},vx={root:"fui-Button",icon:"fui-Button__icon"},Qj=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;}}"]}),Zj=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);}"]),Yj=be({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)"}]]}),Jj=be({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)"}]]}),e8=be({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;}}"]}),t8=be({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;}"]}),o8=be({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);}"]}),r8=e=>{"use no memo";const o=Qj(),n=Zj(),a=Yj(),l=Jj(),c=e8(),u=t8(),d=o8(),{appearance:h,disabled:p,disabledFocusable:v,icon:m,iconOnly:w,iconPosition:k,shape:S,size:y}=e;return e.root.className=fe(vx.root,o,h&&a[h],a[y],m&&y==="small"&&a.smallWithIcon,m&&y==="large"&&a.largeWithIcon,a[S],(p||v)&&l.base,(p||v)&&l.highContrast,h&&(p||v)&&l[h],h==="primary"&&c.primary,c[y],c[S],w&&u[y],e.root.className),e.icon&&(e.icon.className=fe(vx.icon,n,!!e.root.children&&d[k],d[y],e.icon.className)),e},it=b.forwardRef((e,o)=>{const n=$j(e,o);return r8(n),ot("useButtonStyles_unstable")(n),Gj(n)});it.displayName="Button";const $S=b.createContext(void 0),n8=$S.Provider,a8=()=>b.useContext($S),i8=e=>{var o,n,a,l;const{generatedControlId:c,orientation:u,required:d,size:h,validationState:p}=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,w=(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:w,validationState:p}),[c,k,v,m,u,d,h,w,p])}};function Ua(e,o){return KS(a8(),e,o)}function KS(e,o,n){if(!e)return o;o={...o};const{generatedControlId:a,hintId:l,labelFor:c,labelId:u,required:d,validationMessageId:h,validationState:p}=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 w,k,S;(S=(w=o)[k="aria-labelledby"])!==null&&S!==void 0||(w[k]=u)}if((h||l)&&(o["aria-describedby"]=[h,l,o==null?void 0:o["aria-describedby"]].filter(Boolean).join(" ")),p==="error"){var y,C,_;(_=(y=o)[C="aria-invalid"])!==null&&_!==void 0||(y[C]=!0)}if(d)if(n!=null&&n.supportsRequired){var R,z;(z=(R=o).required)!==null&&z!==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 l8=(e,o)=>{let{children:n}=e;return typeof n=="function"&&(n=n(KS(o.field)||{})),se(n8,{value:o==null?void 0:o.field,children:lt(e.root,{children:[e.label&&se(e.label,{}),n,e.validationMessage&<(e.validationMessage,{children:[e.validationMessageIcon&&se(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&se(e.hint,{})]})})},s8=(e,o)=>{const{weight:n="regular",size:a="medium",...l}=e,c=c8(l,o);return{weight:n,size:a,...c}},c8=(e,o)=>{const{disabled:n=!1,required:a=!1,...l}=e;return{disabled:n,required:Pe(a===!0?"*":a||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Ae(Tt("label",{ref:o,...l}),{elementType:"label"})}},u8=e=>lt(e.root,{children:[e.root.children,e.required&&se(e.required,{})]}),bx={root:"fui-Label",required:"fui-Label__required"},d8=be({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)"}]]}),f8=e=>{"use no memo";const o=d8();return e.root.className=fe(bx.root,o.root,e.disabled&&o.disabled,o[e.size],e.weight==="semibold"&&o.semibold,e.root.className),e.required&&(e.required.className=fe(bx.required,o.required,e.disabled&&o.disabled,e.required.className)),e},mr=b.forwardRef((e,o)=>{const n=s8(e,o);return f8(n),ot("useLabelStyles_unstable")(n),u8(n)});mr.displayName="Label";const h8=(e,o)=>{const{children:n,required:a=!1,validationState:l=e.validationMessage?"error":"none"}=e,c=Kt("field-"),u=c+"__control",d=Ae(Tt("div",{...e,ref:o},["children"]),{elementType:"div"}),h=Pe(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:a},elementType:"label"}),p=Pe(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:l==="error"||l==="warning"?"alert":void 0},elementType:"div"}),v=Pe(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),m=Pe(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:p,hint:v}},g8={error:b.createElement(YE,null),warning:b.createElement(XE,null),success:b.createElement(KE,null),none:void 0},p8=(e,o)=>{const{orientation:n="vertical",size:a="medium",...l}=e,c=h8(l,o),u=g8[c.validationState];return{...c,components:{...c.components,label:mr},label:Pe(e.label,{defaultProps:{size:a,...c.label},elementType:mr}),validationMessageIcon:Pe(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},xs={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},m8=be({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;}"]}),v8=be({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;}"]}),b8=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);}"]),y8=be({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));}"]}),x8=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;}"]),w8=be({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),S8=e=>{"use no memo";const{validationState:o,size:n}=e,a=e.orientation==="horizontal",l=m8();e.root.className=fe(xs.root,l.base,a&&l.horizontal,a&&!e.label&&l.horizontalNoLabel,e.root.className);const c=v8();e.label&&(e.label.className=fe(xs.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=x8(),d=w8();e.validationMessageIcon&&(e.validationMessageIcon.className=fe(xs.validationMessageIcon,u,o!=="none"&&d[o],e.validationMessageIcon.className));const h=b8(),p=y8();return e.validationMessage&&(e.validationMessage.className=fe(xs.validationMessage,h,o==="error"&&p.error,!!e.validationMessageIcon&&p.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=fe(xs.hint,h,e.hint.className)),e},QS=b.forwardRef((e,o)=>{const n=p8(e,o);S8(n),ot("useFieldStyles_unstable")(n);const a=i8(n);return l8(n,a)});QS.displayName="Field";const k8=(e,o)=>{"use no memo";e=Ua(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...l}=e,c=B8(l,o),u=c.checked==="mixed";let d;if(u?n==="circular"?d=b.createElement(Zp,null):d=a==="large"?b.createElement(ZE,null):b.createElement(QE,null):c.checked&&(d=a==="large"?b.createElement($E,null):b.createElement(lS,null)),c.indicator){var h,p;(p=(h=c.indicator).children)!==null&&p!==void 0||(h.children=d)}return{shape:n,size:a,...c,components:{...c.components,label:mr},label:Pe(e.label,{defaultProps:{...c.label,size:"medium"},elementType:mr})}},B8=(e,o)=>{"use no memo";const{disabled:n=!1,required:a,labelPosition:l="after",onChange:c}=e,[u,d]=Yo({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),h=hl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=u==="mixed",v=Kt("checkbox-",h.primary.id),m={checked:u,disabled:n,labelPosition:l,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Ae(e.root,{defaultProps:{ref:Gp(),...h.root},elementType:"span"}),input:Ae(e.input,{defaultProps:{type:"checkbox",id:v,ref:o,checked:u===!0,...h.primary},elementType:"input"}),label:Pe(e.label,{defaultProps:{htmlFor:v,disabled:n,required:a},elementType:"label"}),indicator:Pe(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};m.input.onChange=De(m.input.onChange,k=>{const S=k.currentTarget.indeterminate?"mixed":k.currentTarget.checked;c==null||c(k,{checked:S}),d(S)});const w=nt(m.input.ref);return m.input.ref=w,At(()=>{w.current&&(w.current.indeterminate=p)},[w,p]),m},_8=e=>lt(e.root,{children:[se(e.input,{}),e.labelPosition==="before"&&e.label&&se(e.label,{}),e.indicator&&se(e.indicator,{}),e.labelPosition==="after"&&e.label&&se(e.label,{})]}),Eu={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},C8=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;}}"]}),z8=be({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)"}]]}),N8=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));}"]),T8=be({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));}"]}),E8=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;}"]),R8=be({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}]]}),j8=be({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);}"]}),A8=e=>{"use no memo";const{checked:o,disabled:n,labelPosition:a,shape:l,size:c}=e,u=C8(),d=z8();e.root.className=fe(Eu.root,u,n?d.disabled:o==="mixed"?d.mixed:o?d.checked:d.unchecked,e.root.className);const h=N8(),p=T8();e.input.className=fe(Eu.input,h,c==="large"&&p.large,p[a],e.input.className);const v=E8(),m=R8();e.indicator&&(e.indicator.className=fe(Eu.indicator,v,c==="large"&&m.large,l==="circular"&&m.circular,e.indicator.className));const w=j8();return e.label&&(e.label.className=fe(Eu.label,w.base,w[c],w[a],e.label.className)),e},ZS=b.forwardRef((e,o)=>{const n=k8(e,o);return A8(n),ot("useCheckboxStyles_unstable")(n),_8(n)});ZS.displayName="Checkbox";const YS=vl({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});YS.Provider;const D8={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},oc=vl(void 0),zo=e=>Zs(oc,(o=D8)=>e(o)),M8=oc.Provider;function O8(e){const{appearance:o,open:n,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setOpen:h,size:p,activeDescendantController:v,onOptionClick:m,onActiveDescendantChange:w}=e,k={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:h,size:p},S={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:m,onActiveDescendantChange:w},y=b.useMemo(()=>({controller:v}),[v]);return{combobox:k,activeDescendant:y,listbox:S}}function F8(e){const o=Ys(oc),{getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:h}=e,p=zo(y=>y.registerOption),v=zo(y=>y.onOptionClick),m=zo(y=>y.onActiveDescendantChange),k={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:o?p:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:v,onActiveDescendantChange:m},S=b.useMemo(()=>({controller:h}),[h]);return{listbox:k,activeDescendant:S}}function id(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!==on&&!c&&!u&&!h?"Type":n?l===_g&&c||l===qi||!a&&l===on?"CloseSelect":a&&l===on?"Select":l===bl?"Close":l===sp?"Next":l===_g?"Previous":l===oE?"First":l===tE?"Last":l===nE?"PageUp":l===rE?"PageDown":l===Zw?"Tab":"None":l===sp||l===_g||l===qi||l===on?"Open":"None"}const JS=()=>{const e=b.useRef(new Map),o=b.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:p=>e.current.get(p),getOptionsMatchingText:p=>Array.from(e.current.values()).filter(({text:v})=>p(v)),getOptionsMatchingValue:p=>{const v=[];for(const m of e.current.values())p(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}},e5=e=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:a}=e,[l,c]=Yo({state:e.selectedOptions,defaultState:o,initialState:[]}),u=b.useCallback((h,p)=>{if(p.disabled)return;let v=[p.value];if(n){const m=l.findIndex(w=>w===p.value);m>-1?v=[...l.slice(0,m),...l.slice(m+1)]:v=[...l,p.value]}c(v),a==null||a(h,{optionValue:p.value,optionText:p.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}},ld={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},q8=be({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)"}]]}),H8=e=>{"use no memo";const{disabled:o,multiselect:n,selected:a}=e,l=q8();return e.root.className=fe(ld.root,l.root,l.active,o&&l.disabled,a&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=fe(ld.checkIcon,l.checkIcon,n&&l.multiselectCheck,a&&l.selectedCheck,a&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,e.checkIcon.className)),e},yx={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},P8=(e,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,l=JS(),{listboxRef:c,activeParentRef:u,controller:d}=oS({matchOption:ie=>ie.classList.contains(ld.root)}),h=Ys(oc),p=zo(ie=>ie.onActiveDescendantChange),v=zo(ie=>ie.getOptionById),m=zo(ie=>ie.getOptionsMatchingValue),w=h?v:l.getOptionById,k=h?m:l.getOptionsMatchingValue,S=b.useMemo(()=>{let ie=null;const Z=I=>{const oe=I;p==null||p(oe)};return I=>{if(!I){ie==null||ie.removeEventListener("activedescendantchange",Z);return}ie=I,ie.addEventListener("activedescendantchange",Z)}},[p]),[y,C]=b.useState(!1);Dw(C);const _=Jw(),R=iE(),z=R?_.controller:d,{clearSelection:T,selectedOptions:E,selectOption:j}=e5(e),M=ie=>{const Z=id(ie,{open:!0}),I=z.active(),oe=I?w(I):null;switch(Z){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":ie.preventDefault();break}switch(Z){case"Next":oe?z.next():z.first();break;case"Previous":oe?z.prev():z.first();break;case"PageUp":case"First":z.first();break;case"PageDown":case"Last":z.last();break;case"Select":case"CloseSelect":oe&&j(ie,oe);break}},O=zo(ie=>ie.selectedOptions),W=zo(ie=>ie.selectOption),ee=h?{selectedOptions:O,selectOption:W,...yx}:{selectedOptions:E,selectOption:j,...yx};b.useEffect(()=>{if(!R){if(z.hideFocusVisibleAttributes(),!a)if(!n&&ee.selectedOptions.length>0){const ie=k(Z=>Z===ee.selectedOptions[0]).pop();ie!=null&&ie.id&&z.focus(ie.id)}else z.first();return()=>{z.blur()}}},[]);const de=b.useCallback(()=>{R||(z.showFocusVisibleAttributes(),y&&z.scrollActiveIntoView())},[z,R,y]),ae=b.useCallback(()=>{R||z.hideFocusVisibleAttributes()},[z,R]),le={components:{root:"div"},root:Ae(Tt("div",{ref:nt(o,u,c,S),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!h,multiselect:n,clearSelection:T,activeDescendantController:z,onActiveDescendantChange:p,...l,...ee};return le.root.onKeyDown=pe(De(le.root.onKeyDown,M)),le.root.onFocus=pe(De(le.root.onFocus,de)),le.root.onBlur=pe(De(le.root.onBlur,ae)),le},L8=(e,o)=>se(Yw,{value:o.activeDescendant,children:se(oc.Provider,{value:o.listbox,children:se(e.root,{})})}),I8={root:"fui-Listbox"},U8=be({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);}"]}),V8=e=>{"use no memo";const o=U8();return e.root.className=fe(I8.root,o.root,e.root.className),e},cm=b.forwardRef((e,o)=>{const n=P8(e,o),a=F8(n);return V8(n),ot("useListboxStyles_unstable")(n),L8(n,a)});cm.displayName="Listbox";function G8(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 W8=(e,o)=>{"use no memo";const n=X8(e,o);let a=b.createElement(ME,null);if(n.multiselect&&(a=n.selected?b.createElement(lS,null):""),n.checkIcon){var l,c;(c=(l=n.checkIcon).children)!==null&&c!==void 0||(l.children=a)}return n},X8=(e,o)=>{const{children:n,disabled:a,text:l,value:c}=e,u=b.useRef(null),d=G8(l,n),h=c??d,p=Kt("fluent-option",e.id),v=b.useMemo(()=>({id:p,disabled:a,text:d,value:h}),[p,a,d,h]),{controller:m}=Jw(),w=zo(z=>z.multiselect),k=zo(z=>z.registerOption),S=zo(z=>{const T=z.selectedOptions;return h!==void 0&&T.find(E=>E===h)!==void 0}),y=zo(z=>z.selectOption),C=zo(z=>z.onOptionClick),_=z=>{var T;if(a){z.preventDefault();return}m.focus(p),y(z,v),C(z),(T=e.onClick)===null||T===void 0||T.call(e,z)};b.useEffect(()=>{if(p&&u.current)return k(v,u.current)},[p,v,k]);const R=w?{role:"menuitemcheckbox","aria-checked":S}:{role:"option","aria-selected":S};return{components:{root:"div",checkIcon:"span"},root:Ae(Tt("div",{ref:nt(o,u),"aria-disabled":a?"true":void 0,id:p,...R,...e,onClick:_}),{elementType:"div"}),checkIcon:Pe(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:w,selected:S,focusVisible:!1,active:!1}},$8=e=>lt(e.root,{children:[e.checkIcon&&se(e.checkIcon,{}),e.root.children]}),t5=b.forwardRef((e,o)=>{const n=W8(e,o);return H8(n),ot("useOptionStyles_unstable")(n),$8(n)});t5.displayName="Option";const K8=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:p,size:v="medium",activeDescendantController:m,freeform:w=!1,disabled:k=!1,onActiveOptionChange:S=null}=e,y=JS(),{getOptionsMatchingValue:C}=y,{getOptionById:_}=y,R=b.useCallback(()=>{const U=m.active();return U?_(U):void 0},[m,_]),z=R(),T=b.useCallback(U=>{let J;if(typeof U=="function"){const ce=R();J=U(ce)}J?m.focus(J.id):m.blur()},[m,R]),[E,j]=b.useState(!1),[M,O]=b.useState(!1),W=b.useRef(!1),ee=Pp(),[de,ae]=Yo({state:e.value,initialState:void 0}),{selectedOptions:le,selectOption:ie,clearSelection:Z}=e5(e),I=b.useCallback((U,J)=>{Og.unstable_batchedUpdates(()=>{ae(void 0),ie(U,J)})},[ae,ie]),oe=b.useMemo(()=>{if(de!==void 0)return de;if(ee&&e.defaultValue!==void 0)return e.defaultValue;const U=C(J=>le.includes(J)).map(J=>J.text);return h?c?"":U.join(", "):U[0]},[de,c,C,h,le]),[re,he]=Yo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),ke=b.useCallback((U,J)=>{k||(p==null||p(U,{open:J}),Og.unstable_batchedUpdates(()=>{!J&&!w&&ae(void 0),he(J)}))},[p,he,ae,w,k]);b.useEffect(()=>{if(re){if(!h&&le.length>0){const U=C(J=>J===le[0]).pop();U!=null&&U.id&&m.focus(U.id)}}else m.blur()},[re,m]),b.useEffect(()=>{re&&!n&&!m.active()&&m.first()},[re,a,n,m,_]);const F=pe(U=>{const J=U.detail.previousId?y.getOptionById(U.detail.previousId):null,ce=y.getOptionById(U.detail.id);S==null||S(U,{event:U,type:"change",previousOption:J,nextOption:ce})});return{...y,freeform:w,disabled:k,selectOption:I,clearSelection:Z,selectedOptions:le,activeOption:z,appearance:o,clearable:l,focusVisible:E,ignoreNextBlur:W,inlinePopup:u,mountNode:d,open:re,hasFocus:M,setActiveOption:T,setFocusVisible:j,setHasFocus:O,setOpen:ke,setValue:ae,size:v,value:oe,multiselect:h,onOptionClick:pe(U=>{h||ke(U,!1)}),onActiveDescendantChange:F}};function Q8(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,...wl(o)},{targetRef:l,containerRef:c}=Dd(a);return[c,l]}function Z8(e,o,n){const{state:{multiselect:a},triggerRef:l,defaultProps:c}=n,u=Kt("fluent-listbox",Y2(e)?e.id:void 0),d=Pe(e,{renderByDefault:!0,elementType:cm,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),h=Ua({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&h["aria-labelledby"]&&(d["aria-labelledby"]=h["aria-labelledby"]);const p=pe(De(w=>{w.preventDefault()},d==null?void 0:d.onMouseDown)),v=pe(De(w=>{var k;w.preventDefault(),(k=l.current)===null||k===void 0||k.focus()},d==null?void 0:d.onClick)),m=nt(d==null?void 0:d.ref,o);return d&&(d.ref=m,d.onMouseDown=p,d.onClick=v),d}function Y8(e,o,n){const{state:{open:a,setOpen:l,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:h}=n,p=Ae(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),v=b.useRef(null);return p.ref=nt(v,p.ref,o),p.onBlur=De(m=>{l(m,!1),c(!1)},p.onBlur),p.onFocus=De(m=>{m.target===m.currentTarget&&c(!0)},p.onFocus),p.onClick=De(m=>{l(m,!a)},p.onClick),p.onKeyDown=De(J8({activeDescendantController:h,...n.state}),p.onKeyDown),p}function J8(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()},p=()=>{o.last()},v=y=>{y?o.next():o.first()},m=y=>{y?o.prev():o.first()},w=()=>{for(let y=0;y<10;y++)o.prev()},k=()=>{for(let y=0;y<10;y++)o.next()},S=ZN();return pe(y=>{const C=id(y,{open:u,multiselect:c}),_=d();switch(C){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":y.preventDefault();break}switch(S(!0),C){case"First":h();break;case"Last":p();break;case"Next":v(_);break;case"Previous":m(_);break;case"PageDown":k();break;case"PageUp":w();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 e9(e,o,n){"use no memo";const{state:{open:a,value:l,selectOption:c,setValue:u,multiselect:d,selectedOptions:h,clearSelection:p,getOptionById:v,setOpen:m},freeform:w,defaultProps:k,activeDescendantController:S}=n,y=O=>{if(!a&&!w){const W=S.active(),ee=W?v(W):null;l&&ee&&l.trim().toLowerCase()===(ee==null?void 0:ee.text.toLowerCase())&&c(O,ee),u(void 0)}},C=O=>{const W=O==null?void 0:O.trim().toLowerCase();if(!W||W.length===0){S.blur();return}const ee=ae=>ae.toLowerCase().indexOf(W)===0,de=S.find(ae=>{const le=v(ae);return!!le&&ee(le.text)});if(!de){S.blur();return}return v(de)},_=O=>{const W=O.target.value;u(W);const ee=C(W);!d&&h.length===1&&(W.length<1||!ee)&&p(O)},R=Y8(e,o,{state:n.state,defaultProps:k,elementType:"input",activeDescendantController:S});R.onChange=De(R.onChange,_),R.onBlur=De(R.onBlur,y);const[z,T]=b.useState(!1),E=b.useRef(!1),j=R.onKeyDown,M=pe(O=>{!a&&id(O)==="Type"&&m(O,!0),O.key===$p||O.key===Kp?T(!0):T(!1);const W=id(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 ee;e==null||(ee=e.onKeyDown)===null||ee===void 0||ee.call(e,O);return}j==null||j(O)});return R.onKeyDown=M,z&&(R["aria-activedescendant"]=void 0),R}const t9=(e,o)=>{"use no memo";var n,a;e=Ua(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:l,activeParentRef:c,controller:u}=oS({matchOption:me=>me.classList.contains(ld.root)}),d=K8({...e,editable:!0,activeDescendantController:u}),{appearance:h,size:p,...v}=d,{clearable:m,clearSelection:w,disabled:k,multiselect:S,open:y,selectedOptions:C,setOpen:_,value:R,hasFocus:z}=v,[T,E]=Q8(e),{disableAutoFocus:j=!1,freeform:M,inlinePopup:O}=e,W=Kt("combobox-"),{primary:ee,root:de}=hl({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),ae=b.useRef(null),le=Z8(e.listbox,nt(T,l),{state:d,triggerRef:ae,defaultProps:{children:e.children,disableAutoFocus:j}});var ie;const Z=e9((ie=e.input)!==null&&ie!==void 0?ie:{},nt(ae,c,o),{state:d,freeform:M,defaultProps:{type:"text",value:R??"","aria-controls":y?le==null?void 0:le.id:void 0,...ee},activeDescendantController:u}),I=Ae(e.root,{defaultProps:{"aria-owns":!O&&y?le==null?void 0:le.id:void 0,...de},elementType:"div"});I.ref=nt(I.ref,E);const oe=C.length>0&&!k&&m&&!S,re={components:{root:"div",input:"input",expandIcon:"span",listbox:cm,clearIcon:"span"},root:I,input:Z,listbox:y||z?le:void 0,clearIcon:Pe(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:Pe(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":k?"true":void 0,"aria-expanded":y,role:"button"},elementType:"span"}),showClearIcon:oe,activeDescendantController:u,...v},{targetDocument:he}=Qe();Lp({element:he,callback:me=>_(me,!1),refs:[ae,T,E],disabled:!y});const{onMouseDown:ke}=re.expandIcon||{},F=pe(De(ke,me=>{var Ce;me.preventDefault(),re.setOpen(me,!re.open),(Ce=ae.current)===null||Ce===void 0||Ce.focus()}));if(re.expandIcon){re.expandIcon.onMouseDown=F;const me=re.expandIcon["aria-label"]||re.expandIcon["aria-labelledby"],Ce="Open";if(!me)if(e["aria-labelledby"]){var U;const Fe=(U=re.expandIcon.id)!==null&&U!==void 0?U:`${W}-chevron`,kt=`${Fe} ${re.input["aria-labelledby"]}`;re.expandIcon["aria-label"]=Ce,re.expandIcon.id=Fe,re.expandIcon["aria-labelledby"]=kt}else e["aria-label"]?re.expandIcon["aria-label"]=`${Ce} ${e["aria-label"]}`:re.expandIcon["aria-label"]=Ce}const J=pe(De((n=re.clearIcon)===null||n===void 0?void 0:n.onMouseDown,me=>{me.preventDefault()})),ce=pe(De((a=re.clearIcon)===null||a===void 0?void 0:a.onClick,me=>{w(me)}));return re.clearIcon&&(re.clearIcon.onMouseDown=J,re.clearIcon.onClick=ce),S&&(re.clearIcon=void 0),re},o9=(e,o)=>{"use no memo";const{appearance:n="outline",size:a="medium",...l}=e,c=t9(l,o);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=b.createElement(UE,null))}if(c.expandIcon){var h,p;(p=(h=c.expandIcon).children)!==null&&p!==void 0||(h.children=b.createElement(OE,null))}return{...c,appearance:n,size:a}},r9=(e,o)=>se(e.root,{children:se(Yw,{value:o.activeDescendant,children:se(M8,{value:o.listbox,children:lt(YS.Provider,{value:o.combobox,children:[se(e.input,{}),e.clearIcon&&se(e.clearIcon,{}),e.expandIcon&&se(e.expandIcon,{}),e.listbox&&(e.inlinePopup?se(e.listbox,{}):se(Sl,{mountNode:e.mountNode,children:se(e.listbox,{})}))]})})})}),ws={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},n9=be({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);}"]}),a9=be({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;}"]}),i9=be({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;}"]}),l9=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=n9(),h=i9(),p=a9();return e.root.className=fe(ws.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=fe(ws.input,p.input,p[a],u&&p.disabled,e.input.className),e.listbox&&(e.listbox.className=fe(ws.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=fe(ws.expandIcon,h.icon,h[a],u&&h.disabled,l&&h.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=fe(ws.clearIcon,h.icon,h[a],u&&h.disabled,!l&&h.hidden,e.clearIcon.className)),e},o5=b.forwardRef((e,o)=>{const n=o9(e,o),a=O8(n);return l9(n),ot("useComboboxStyles_unstable")(n),r9(n,a)});o5.displayName="Combobox";const s9=(e,o)=>{e=Ua(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=qp();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=c9(u,o);return{size:l,appearance:c,...d}},c9=(e,o)=>{const{onChange:n}=e,[a,l]=Yo({state:e.value,defaultState:e.defaultValue,initialState:""}),c=hl({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),u={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Ae(e.input,{defaultProps:{type:"text",ref:o,...c.primary},elementType:"input"}),contentAfter:Pe(e.contentAfter,{elementType:"span"}),contentBefore:Pe(e.contentBefore,{elementType:"span"}),root:Ae(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},u9=e=>lt(e.root,{children:[e.contentBefore&&se(e.contentBefore,{}),se(e.input,{}),e.contentAfter&&se(e.contentAfter,{})]}),Ru={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},d9=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;}}"]}),f9=be({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;}"]}),h9=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;}"]),g9=be({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);}"]}),p9=Ee("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),m9=be({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;}"]}),v9=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=f9(),d=g9(),h=m9();e.root.className=fe(Ru.root,d9(),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=fe(Ru.input,h9(),d[o],e.contentBefore&&d[`${o}WithContentBefore`],e.contentAfter&&d[`${o}WithContentAfter`],a&&d.disabled,e.input.className);const p=[p9(),a&&h.disabled,h[o]];return e.contentBefore&&(e.contentBefore.className=fe(Ru.contentBefore,...p,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=fe(Ru.contentAfter,...p,e.contentAfter.className)),e},gp=b.forwardRef((e,o)=>{const n=s9(e,o);return v9(n),ot("useInputStyles_unstable")(n),u9(n)});gp.displayName="Input";const b9=b.createContext(void 0),y9=b9.Provider,um=vl(void 0),x9={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},w9=um.Provider,at=e=>Zs(um,(o=x9)=>e(o)),r5=b.createContext(void 0),S9=!1,k9=r5.Provider,B9=()=>{var e;return(e=b.useContext(r5))!==null&&e!==void 0?e:S9},dm=vl(void 0),_9={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},C9=dm.Provider,Ms=e=>Zs(dm,(o=_9)=>e(o)),Os="fuimenuenter",z9=e=>{const{refs:o,callback:n,element:a,disabled:l}=e,c=pe(u=>{const d=o[0],h=u.target;var p;!Es((p=d.current)!==null&&p!==void 0?p:null,h)&&!l&&n(u)});b.useEffect(()=>{if(a!=null)return l||a.addEventListener(Os,c),()=>{a.removeEventListener(Os,c)}},[c,a,l])},N9=(e,o)=>{e.dispatchEvent(new CustomEvent(Os,{bubbles:!0,detail:{nativeEvent:o}}))};function fm(){const e=at(n=>n.isSubmenu),o=Ys(dm);return e||o}const n5=e=>{"use no memo";const{targetDocument:o}=Qe();return at(a=>a.triggerRef),at(a=>a.inline),b.useRef(null)},pp="fuimenusafezonetimeout",T9=e=>{const o=b.useRef(null);return b.useCallback(n=>{var a;(a=o.current)===null||a===void 0||a.removeEventListener(pp,e),n==null||n.addEventListener(pp,e),o.current=n},[e])},E9=be({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;}"]}),R9=e=>{"use no memo";const o=E9();e.checkmark&&(e.checkmark.className=fe(o.root,e.checked&&o.rootChecked,e.checkmark.className))},Un={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"},j9=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;}}"]}),A9=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;}"]),D9=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);}"]),M9=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;}"]),O9=Ee("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),F9=Ee("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),q9=be({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)"}]]}),H9=be({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),P9=be({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),L9=e=>{"use no memo";const o=q9(),n=j9(),a=A9(),l=D9(),c=M9(),u=O9(),d=P9(),h=F9(),p=H9(),v=!!e.subText;return e.root.className=fe(Un.root,n,e.disabled&&o.disabled,e.root.className),e.content&&(e.content.className=fe(Un.content,a,e.content.className,v&&d.content)),e.checkmark&&(e.checkmark.className=fe(Un.checkmark,o.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=fe(Un.secondaryContent,l,e.disabled&&o.disabled,e.secondaryContent.className,v&&d.secondaryContent)),e.icon&&(e.icon.className=fe(Un.icon,c,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=fe(Un.submenuIndicator,u,e.submenuIndicator.className,v&&d.submenuIndicator)),e.subText&&(e.subText.className=fe(Un.subText,e.disabled&&p.disabled,e.subText.className,h)),R9(e),e},xx=pt.durationSlower,wx=pt.curveDecelerateMid,Sx=Js(({distance:e=10})=>({enter:[il({duration:xx,easing:wx,direction:"enter"}),{...yS({duration:xx,easing:wx,direction:"enter",outX:`calc(var(${td}, 0px) * ${e})`,outY:`calc(var(${od}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),I9=["after","after-bottom","before-top","before","before-bottom","above"],U9=e=>{const o=fm(),{hoverDelay:n=500,inline:a=!1,hasCheckmarks:l=!1,hasIcons:c=!1,closeOnScroll:u=!1,openOnContext:d=!1,persistOnItemClick:h=!1,openOnHover:p=o,defaultCheckedValues:v,mountNode:m=null,safeZone:w}=e,{targetDocument:k}=Qe(),S=Kt("menu"),[y,C]=qS(),_=wl(e.positioning),R=xS({targetDocument:k,onPositioningEnd:_.onPositioningEnd}),z={position:o?"after":"below",align:o?"top":"start",target:e.openOnContext?y:void 0,fallbackPositions:o?I9: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}=Dd(z),W=w&&p,ee=b.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),de=nj({disabled:!W,timeout:typeof w=="object"?w.timeout:300,onSafeZoneEnter:re=>{Z(re,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:re}),ee.current.isInside=!0},onSafeZoneLeave:()=>{ee.current.isInside=!1},onSafeZoneMove:re=>{ee.current.mouseCoordinates={x:re.clientX,y:re.clientY}},onSafeZoneTimeout:()=>{const re=new CustomEvent(pp);if(Z(re,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:re}),ee.current.isInside&&k){const ke=k.elementsFromPoint(ee.current.mouseCoordinates.x,ee.current.mouseCoordinates.y).find(F=>F.classList.contains(Un.root));ke==null||ke.dispatchEvent(re)}}}),ae=nt(M,de.targetRef),le=nt(O,de.containerRef),[ie,Z]=G9({hoverDelay:n,isSubmenu:o,setContextTarget:C,closeOnScroll:u,menuPopoverRef:le,triggerRef:ae,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[I,oe]=V9({checkedValues:e.checkedValues,defaultCheckedValues:v,onCheckedValueChange:e.onCheckedValueChange});return{inline:a,hoverDelay:n,triggerId:S,isSubmenu:o,openOnHover:p,contextTarget:y,setContextTarget:C,hasCheckmarks:l,hasIcons:c,closeOnScroll:u,menuTrigger:E,menuPopover:j,mountNode:m,triggerRef:ae,menuPopoverRef:le,components:{surfaceMotion:Sx},openOnContext:d,open:ie,setOpen:Z,checkedValues:I,onCheckedValueChange:oe,persistOnItemClick:h,safeZone:de.elementToRender,surfaceMotion:Nd(e.surfaceMotion,{elementType:Sx,defaultProps:{visible:ie,appear:!0,unmountOnExit:!0}})}},V9=e=>{const[o,n]=Yo({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]},G9=e=>{"use no memo";const{targetDocument:o}=Qe(),n=at(y=>y.setOpen),a=pe((y,C)=>{var _;return(_=e.onOpenChange)===null||_===void 0?void 0:_.call(e,y,C)}),l=b.useRef(!1),[c,u]=Yo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=pe((y,C)=>{const _=y instanceof CustomEvent&&y.type===Os?y.detail.nativeEvent:y;a==null||a(_,{...C}),C.open&&y.type==="contextmenu"&&e.setContextTarget(y),C.open||e.setContextTarget(void 0),C.bubble&&n(y,{...C}),u(C.open)}),[h,p]=gl(),v=pe((y,C)=>{if(p(),!(y instanceof Event)&&y.persist&&y.persist(),!C.ignoreHoverDelay&&(y.type==="mouseleave"||y.type==="mouseover"||y.type==="mousemove"||y.type===Os)){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,C),e.hoverDelay)}else d(y,C)});Lp({contains:Es,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;hw({contains:Es,element:o,callback:y=>v(y,{open:!1,type:"scrollOutside",event:y}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!c||!m}),z9({element:o,callback:y=>{l.current||v(y,{open:!1,type:"menuMouseEnter",event:y})},disabled:!c,refs:[e.menuPopoverRef]});const{findFirstFocusable:w}=Ks(),k=b.useCallback(()=>{const y=w(e.menuPopoverRef.current);y==null||y.focus()},[w,e.menuPopoverRef]),S=Pp();return b.useEffect(()=>{if(c)k();else if(!S){var y,C;if((o==null?void 0:o.activeElement)===(o==null?void 0:o.body)||!((y=e.menuPopoverRef.current)===null||y===void 0)&&y.contains((C=o==null?void 0:o.activeElement)!==null&&C!==void 0?C:null)){var _;(_=e.triggerRef.current)===null||_===void 0||_.focus()}}},[e.triggerRef,e.isSubmenu,c,k,o,e.menuPopoverRef]),[c,v]};function W9(e){const{checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:p,openOnContext:v,openOnHover:m,persistOnItemClick:w,safeZone:k,setOpen:S,triggerId:y,triggerRef:C}=e;return{menu:b.useMemo(()=>({checkedValues:o,hasCheckmarks:n,hasIcons:a,inline:l,isSubmenu:c,menuPopoverRef:u,mountNode:d,onCheckedValueChange:h,open:p,openOnContext:v,openOnHover:m,persistOnItemClick:w,safeZone:k,setOpen:S,triggerId:y,triggerRef:C}),[o,n,a,l,c,u,d,h,p,v,m,w,k,S,y,C])}}const X9=(e,o)=>lt(w9,{value:o.menu,children:[e.menuTrigger,e.menuPopover&&se(e.surfaceMotion,{children:se(zd,{children:e.menuPopover})})]}),a5=e=>{const o=U9(e),n=W9(o);return X9(o,n)};a5.displayName="Menu";const $9=(e,o)=>{"use no memo";const n=Ms(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},i5=b.createContext(void 0),l5={setMultiline:()=>null};i5.Provider;const s5=()=>{var e;return(e=b.useContext(i5))!==null&&e!==void 0?e:l5},c5=()=>s5()!==l5,K9=sS(HE,PE),Q9=sS(FE,qE),Z9=(e,o)=>{const{dir:n}=Qe(),a=Y9(e,o);if(a.submenuIndicator){var l,c;(c=(l=a.submenuIndicator).children)!==null&&c!==void 0||(l.children=n==="rtl"?b.createElement(Q9,null):b.createElement(K9,null))}return a},Y9=(e,o)=>{const n=B9(),a=at(_=>_.persistOnItemClick),{as:l="div",disabled:c=!1,hasSubmenu:u=n,persistOnClick:d=a,content:h,...p}=e,{hasIcons:v,hasCheckmarks:m}=eA({hasSubmenu:u}),w=at(_=>_.setOpen);J9({multiline:!!e.subText,hasSubmenu:u});const k=b.useRef(null),S=b.useRef(!1),y=n5(tA(e.role)),C={hasSubmenu:u,disabled:c,persistOnClick:d,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:Ae(Tt(l,al(l,{role:"menuitem",...p,disabled:!1,disabledFocusable:c,ref:nt(o,k,y),onKeyDown:pe(_=>{var R;(R=e.onKeyDown)===null||R===void 0||R.call(e,_),!_.isDefaultPrevented()&&(_.key===on||_.key===qi)&&(S.current=!0)}),onMouseMove:pe(_=>{var R;if(_.currentTarget.ownerDocument.activeElement!==_.currentTarget){var z;(z=k.current)===null||z===void 0||z.focus()}(R=e.onMouseMove)===null||R===void 0||R.call(e,_)}),onClick:pe(_=>{var R;!u&&!d&&(w(_,{open:!1,keyboard:S.current,bubble:!0,type:"menuItemClick",event:_}),S.current=!1),(R=e.onClick)===null||R===void 0||R.call(e,_)})})),{elementType:"div"}),icon:Pe(e.icon,{renderByDefault:v,elementType:"span"}),checkmark:Pe(e.checkmark,{renderByDefault:m,elementType:"span"}),submenuIndicator:Pe(e.submenuIndicator,{renderByDefault:u,elementType:"span"}),content:Pe(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:Pe(e.secondaryContent,{elementType:"span"}),subText:Pe(e.subText,{elementType:"span"})};return $9(C,k),C},J9=e=>{const{hasSubmenu:o,multiline:n}=e,a=c5()&&o,{setMultiline:l}=s5();At(()=>{a||l(n)},[l,n,a])},eA=e=>{const{hasSubmenu:o}=e,n=Ms(c=>c.hasIcons),a=Ms(c=>c.hasCheckmarks),l=c5()&&o;return{hasIcons:n&&!l,hasCheckmarks:a&&!l}},tA=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},oA=e=>lt(e.root,{children:[e.checkmark&&se(e.checkmark,{}),e.icon&&se(e.icon,{}),e.content&<(e.content,{children:[e.content.children,e.subText&&se(e.subText,{})]}),e.secondaryContent&&se(e.secondaryContent,{}),e.submenuIndicator&&se(e.submenuIndicator,{})]}),mp=b.forwardRef((e,o)=>{const n=Z9(e,o);return L9(n),ot("useMenuItemStyles_unstable")(n),oA(n)});mp.displayName="MenuItem";const rA=(e,o)=>{const{findAllFocusable:n}=Ks(),{targetDocument:a}=Qe(),l=nA(),c=Ys(um),u=LN({circular:!0});aA(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=n5();b.useEffect(()=>{const _=d.current;if(c&&a&&_){const R=z=>{const T=z.detail.next;T&&_.contains(a.activeElement)&&!_.contains(T)&&z.preventDefault()};return a.addEventListener(rp,R),()=>{a.removeEventListener(rp,R)}}},[d,a,c]);const p=b.useCallback((_,R)=>{const z=["menuitem","menuitemcheckbox","menuitemradio"];if(!d.current)return;const T=n(d.current,ee=>ee.hasAttribute("role")&&z.indexOf(ee.getAttribute("role"))!==-1);let E=T.indexOf(R)+1;E===T.length&&(E=0);const j=T.map(ee=>{var de;return(de=ee.textContent)===null||de===void 0?void 0:de.charAt(0).toLowerCase()}),M=_.key.toLowerCase(),O=(ee,de)=>{for(let ae=ee;ae<j.length;ae++)if(M===j[ae])return ae;return-1};let W=O(E);W===-1&&(W=O(0)),W>-1&&T[W].focus()},[n]);var v;const[m,w]=Yo({state:(v=e.checkedValues)!==null&&v!==void 0?v:c?l.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var k;const S=(k=e.onCheckedValueChange)!==null&&k!==void 0?k:c?l.onCheckedValueChange:void 0,y=pe((_,R,z,T)=>{const j=[...(m==null?void 0:m[R])||[]];T?j.splice(j.indexOf(z),1):j.push(z),S==null||S(_,{name:R,checkedItems:j}),w(M=>({...M,[R]:j}))}),C=pe((_,R,z)=>{const T=[z];w(E=>({...E,[R]:T})),S==null||S(_,{name:R,checkedItems:T})});return{components:{root:"div"},root:Ae(Tt("div",{ref:nt(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:p,selectRadio:C,toggleCheckbox:y}},nA=()=>{const e=at(c=>c.checkedValues),o=at(c=>c.onCheckedValueChange),n=at(c=>c.triggerId),a=at(c=>c.hasIcons),l=at(c=>c.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:o,triggerId:n,hasIcons:a,hasCheckmarks:l}},aA=(e,o,n)=>{let a=!1;for(const l in o)e[l]&&(a=!0);return n&&a},iA=(e,o)=>se(C9,{value:o.menuList,children:se(e.root,{})});function lA(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 sA={root:"fui-MenuList"},cA=be({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%;}"]}),uA=e=>{"use no memo";const o=cA();return e.root.className=fe(sA.root,o.root,e.hasMenuContext&&o.hasMenuContext,e.root.className),e},u5=b.forwardRef((e,o)=>{const n=rA(e,o),a=lA(n);return uA(n),ot("useMenuListStyles_unstable")(n),iA(n,a)});u5.displayName="MenuList";const dA=(e,o)=>{"use no memo";const n=at(M=>M.safeZone),a=at(M=>M.menuPopoverRef),l=at(M=>M.setOpen),c=at(M=>M.open),u=at(M=>M.openOnHover),d=at(M=>M.triggerRef),h=fm(),p=Ms(M=>{var O;return(O=M.shouldCloseOnArrowLeft)!==null&&O!==void 0?O:!0}),v=b.useRef(!0),m=KN(),[w,k]=gl(),{dir:S}=Qe(),y=S==="ltr"?$p:Kp,C=b.useCallback(M=>{M&&M.addEventListener("mouseover",O=>{v.current&&(v.current=!1,N9(a.current,O),w(()=>{v.current=!0},250))})},[a,w]);b.useEffect(()=>()=>k(),[k]);var _;const R=(_=at(M=>M.inline))!==null&&_!==void 0?_:!1,z=at(M=>M.mountNode),T=Ae(Tt("div",{role:"presentation",...m,...e,ref:nt(o,a,C,Cd())}),{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&&p&&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===Zw&&(l(M,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:M}),!h)){var ee;(ee=d.current)===null||ee===void 0||ee.focus()}j==null||j(M)}),{inline:R,mountNode:z,safeZone:n,components:{root:"div"},root:T}},fA={root:"fui-MenuPopover"},hA=be({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);}"]}),gA=e=>{"use no memo";const o=hA();return e.root.className=fe(fA.root,o.root,e.root.className),e},pA=e=>e.inline?lt(b.Fragment,{children:[se(e.root,{}),e.safeZone]}):lt(Sl,{mountNode:e.mountNode,children:[se(e.root,{}),e.safeZone]}),d5=b.forwardRef((e,o)=>{const n=dA(e,o);return gA(n),ot("useMenuPopoverStyles_unstable")(n),pA(n)});d5.displayName="MenuPopover";function mA(){}const vA=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=at(Z=>Z.triggerRef),l=at(Z=>Z.menuPopoverRef),c=at(Z=>Z.setOpen),u=at(Z=>Z.open),d=at(Z=>Z.triggerId),h=at(Z=>Z.openOnHover),p=at(Z=>Z.openOnContext),v=fm(),m=Ms(Z=>{var I;return(I=Z.shouldOpenOnArrowRight)!==null&&I!==void 0?I:!0}),{findFirstFocusable:w}=Ks(),k=b.useCallback(()=>{const Z=w(l.current);Z==null||Z.focus()},[w,l]),S=b.useRef(!1),y=b.useRef(!1),C=b.useRef(!1),{dir:_}=Qe(),R=_==="ltr"?Kp:$p,z=$s(o),T=T9(pe(()=>{v&&(y.current=!0)})),E=Z=>{Ri(Z)||Z.isDefaultPrevented()||p&&(Z.preventDefault(),c(Z,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:Z}))},j=Z=>{Ri(Z)||p||(c(Z,{open:!u,keyboard:S.current,type:"menuTriggerClick",event:Z}),S.current=!1)},M=Z=>{if(Ri(Z)||Z.isDefaultPrevented())return;const I=Z.key;!p&&(v&&m&&I===R||!v&&I===sp)&&c(Z,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:Z}),I===bl&&!v&&c(Z,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:Z}),u&&I===R&&v&&m&&k()},O=Z=>{Ri(Z)||h&&(C.current?c(Z,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:Z}):y.current&&(c(Z,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:Z}),y.current=!1))},W=Z=>{Ri(Z)||h&&!C.current&&(c(Z,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:Z}),C.current=!0)},ee=Z=>{Ri(Z)||h&&c(Z,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:Z})};var de;const ae={id:d,...z==null?void 0:z.props,ref:nt(a,Xs(z),T),onMouseEnter:pe((de=z==null?void 0:z.props.onMouseEnter)!==null&&de!==void 0?de:mA),onMouseLeave:pe(De(z==null?void 0:z.props.onMouseLeave,ee)),onContextMenu:pe(De(z==null?void 0:z.props.onContextMenu,E)),onMouseMove:pe(De(z==null?void 0:z.props.onMouseMove,W)),onMouseOver:pe(De(z==null?void 0:z.props.onMouseOver,O))},le={"aria-haspopup":"menu","aria-expanded":!u&&!v?void 0:u,...ae,onClick:pe(De(z==null?void 0:z.props.onClick,j)),onKeyDown:pe(De(z==null?void 0:z.props.onKeyDown,M))},ie=al((z==null?void 0:z.type)==="button"||(z==null?void 0:z.type)==="a"?z.type:"div",le);return{isSubmenu:v,children:xd(o,p?ae:n?le:ie)}},Ri=e=>{const o=n=>n.hasAttribute("disabled")||n.hasAttribute("aria-disabled")&&n.getAttribute("aria-disabled")==="true";return hr(e.target)&&o(e.target)?!0:hr(e.currentTarget)&&o(e.currentTarget)},bA=e=>b.createElement(k9,{value:e.isSubmenu},e.children),hm=e=>{const o=vA(e);return bA(o)};hm.displayName="MenuTrigger";hm.isFluentTriggerComponent=!0;const gm=b.createContext(void 0),yA={};gm.Provider;const xA=()=>b.useContext(gm)||yA,wA=(e,o)=>se(gm.Provider,{value:o.radioGroup,children:se(e.root,{})}),SA=(e,o)=>{const{layout:n="vertical",...a}=e,l=kA(a,o);return{layout:n,...l}},kA=(e,o)=>{e=Ua(e);const n=Kt("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",...Ae(Tt("div",e,["onChange","name"]),{elementType:"div"}),onChange:pe(p=>{d&&hr(p.target,{constructorName:"HTMLInputElement"})&&p.target.type==="radio"&&d(p,{value:p.target.value})})}}},BA={root:"fui-RadioGroup"},_A=be({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),CA=e=>{"use no memo";const o=_A();return e.root.className=fe(BA.root,o.root,e.layout==="vertical"&&o.vertical,e.root.className),e},zA=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])}},f5=b.forwardRef((e,o)=>{const n=SA(e,o),a=zA(n);return CA(n),ot("useRadioGroupStyles_unstable")(n),wA(n,a)});f5.displayName="RadioGroup";const NA=e=>lt(e.root,{children:[se(e.input,{}),se(e.indicator,{}),e.label&&se(e.label,{})]}),TA=(e,o)=>{const n=EA(e,o);return{...n,components:{...n.components,label:mr},label:Pe(e.label,{defaultProps:{...n.label},elementType:mr})}},EA=(e,o)=>{const n=xA(),{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":p=n["aria-describedby"],onChange:v}=e,m=hl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),w=Ae(e.root,{defaultProps:{ref:Gp(),...m.root},elementType:"span"}),k=Ae(e.input,{defaultProps:{ref:o,type:"radio",id:Kt("radio-",m.primary.id),name:a,checked:l,defaultChecked:c,disabled:d,required:h,"aria-describedby":p,...m.primary},elementType:"input"});k.onChange=De(k.onChange,C=>v==null?void 0:v(C,{value:C.currentTarget.value}));const S=Pe(e.label,{defaultProps:{htmlFor:k.id,disabled:k.disabled},elementType:"label"}),y=Ae(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:"label",indicator:"div"},root:w,input:k,label:S,indicator:y}},ju={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},RA=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;}}"]}),jA=be({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),AA=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;}}"]}),DA=be({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;}"]}),MA=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;}"]),OA=be({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;}"]}),FA=e=>{"use no memo";const{labelPosition:o}=e,n=RA(),a=jA();e.root.className=fe(ju.root,n,o==="below"&&a.vertical,e.root.className);const l=AA(),c=DA();e.input.className=fe(ju.input,l,o==="below"&&c.below,e.indicator.children?c.customIndicator:c.defaultIndicator,e.input.className);const u=MA();e.indicator.className=fe(ju.indicator,u,e.indicator.className);const d=OA();return e.label&&(e.label.className=fe(ju.label,d.base,d[o],e.label.className)),e},vp=b.forwardRef((e,o)=>{const n=TA(e,o);return FA(n),ot("useRadioStyles_unstable")(n),NA(n)});vp.displayName="Radio";const h5=b.createContext(void 0),qA={};h5.Provider;const HA=()=>{var e;return(e=b.useContext(h5))!==null&&e!==void 0?e:qA},PA=(e,o)=>{const{size:n}=HA(),{appearance:a="primary",size:l=n??"medium",...c}=e,u=LA(c,o);return{...u,appearance:a,size:l,components:{...u.components,label:mr},label:Pe(e.label,{defaultProps:u.label,elementType:mr})}},LA=(e,o)=>{const{delay:n=0,labelPosition:a="after"}=e,l=Kt("spinner"),{role:c="progressbar",...u}=e,d=Ae(Tt("div",{ref:o,role:c,...u}),{elementType:"div"}),[h,p]=b.useState(!1),[v,m]=gl();b.useEffect(()=>{if(!(n<=0))return v(()=>{p(!0)},n),()=>{m()}},[v,m,n]);const w=Pe(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:"label"}),k=Pe(e.spinner,{renderByDefault:!0,elementType:"span"});return w&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=w.id),{delay:n,labelPosition:a,shouldRenderSpinner:!n||h,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:k,spinnerTail:Ae(e.spinnerTail,{elementType:"span"}),label:w}},IA=e=>{const{labelPosition:o,shouldRenderSpinner:n}=e;return lt(e.root,{children:[e.label&&n&&(o==="above"||o==="before")&&se(e.label,{}),e.spinner&&n&&se(e.spinner,{children:e.spinnerTail&&se(e.spinnerTail,{})}),e.label&&n&&(o==="below"||o==="after")&&se(e.label,{})]})},Au={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},UA=Ee("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),VA=be({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),GA=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;}}"]}),WA=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;}}"]}),XA=be({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)"}]]}),$A=be({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);}"]}),KA=e=>{"use no memo";const{labelPosition:o,size:n,appearance:a}=e,{dir:l}=Qe(),c=UA(),u=VA(),d=GA(),h=XA(),p=WA(),v=$A();return e.root.className=fe(Au.root,c,(o==="above"||o==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=fe(Au.spinner,d,h[n],a==="inverted"&&h.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=fe(Au.spinnerTail,p,l==="rtl"&&h.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=fe(Au.label,v[n],a==="inverted"&&v.inverted,e.label.className)),e},an=b.forwardRef((e,o)=>{const n=PA(e,o);return KA(n),ot("useSpinnerStyles_unstable")(n),IA(n)});an.displayName="Spinner";const QA=(e,o)=>{var n;const{size:a="medium",...l}=e,c=ZA(l,o);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=b.createElement(Zp,null)),{...c,components:{...c.components,label:mr},size:a,label:Pe(e.label,{defaultProps:{size:"medium",...c.label},elementType:mr})}},ZA=(e,o)=>{e=Ua(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:l,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:h}=e,p=hl({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),v=Kt("switch-",p.primary.id),m=Ae(e.root,{defaultProps:{ref:Gp(),...p.root},elementType:"div"}),w=Ae(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),k=Ae(e.input,{defaultProps:{checked:n,defaultChecked:a,id:v,ref:o,role:"switch",type:"checkbox",...p.primary,disabled:l&&!c,...c&&{"aria-disabled":!0}},elementType:"input"});k.onChange=De(k.onChange,y=>d==null?void 0:d(y,{checked:y.currentTarget.checked})),k.onClick=De(k.onClick,y=>{c&&y.preventDefault()}),k.onKeyDown=De(k.onKeyDown,y=>{c&&(y.key===" "||y.key==="Enter")&&y.preventDefault()});const S=Pe(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:w,input:k,label:S}},YA=e=>{const{labelPosition:o}=e;return lt(e.root,{children:[se(e.input,{}),o!=="after"&&e.label&&se(e.label,{}),se(e.indicator,{}),o==="after"&&e.label&&se(e.label,{})]})},Du={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},JA=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;}}"]}),eD=be({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),tD=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;}}"]}),oD=be({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;}"]}),rD=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;}}']}),nD=be({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);}"]}),aD=be({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);}"]}),iD=e=>{"use no memo";const o=JA(),n=eD(),a=tD(),l=oD(),c=rD(),u=nD(),d=aD(),{label:h,labelPosition:p,size:v}=e;return e.root.className=fe(Du.root,o,p==="above"&&n.vertical,e.root.className),e.indicator.className=fe(Du.indicator,a,h&&p==="above"&&l.labelAbove,v==="small"&&l.sizeSmall,e.indicator.className),e.input.className=fe(Du.input,c,h&&u[p],v==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=fe(Du.label,d.base,d[p],v==="small"&&d.sizeSmall,e.label.className)),e},g5=b.forwardRef((e,o)=>{const n=QA(e,o);return iD(n),ot("useSwitchStyles_unstable")(n),YA(n)});g5.displayName="Switch";const p5=(e,o)=>{const{wrap:n,truncate:a,block:l,italic:c,underline:u,strikethrough:d,size:h,font:p,weight:v,align:m}=e;return{align:m??"start",block:l??!1,font:p??"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:Ae(Tt("span",{ref:o,...e}),{elementType:"span"})}},m5=e=>se(e.root,{}),lD={root:"fui-Text"},sD=be({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;}"]}),v5=e=>{"use no memo";const o=sD();return e.root.className=fe(lD.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},b5=b.forwardRef((e,o)=>{const n=p5(e,o);return v5(n),ot("useTextStyles_unstable")(n),m5(n)});b5.displayName="Text";function Va(e){const{useStyles:o,className:n,displayName:a}=e,l=b.forwardRef((c,u)=>{"use no memo";const d=o(),h=p5(c,u);return v5(h),h.root.className=fe(n,h.root.className,d.root,c.className),m5(h)});return l.displayName=a,l}const cD={root:"fui-Body1"},uD=be({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);}"]}),ur=Va({useStyles:uD,className:cD.root,displayName:"Body1"}),dD={root:"fui-Body1Strong"},fD=be({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);}"]}),Fa=Va({useStyles:fD,className:dD.root,displayName:"Body1Strong"}),hD={root:"fui-Body2"},gD=be({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);}"]}),pm=Va({useStyles:gD,className:hD.root,displayName:"Body2"}),pD={root:"fui-Caption1"},mD=be({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);}"]}),$t=Va({useStyles:mD,className:pD.root,displayName:"Caption1"}),vD={root:"fui-Subtitle2"},bD=be({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);}"]}),Go=Va({useStyles:bD,className:vD.root,displayName:"Subtitle2"}),yD={root:"fui-Title2"},xD=be({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);}"]}),bp=Va({useStyles:xD,className:yD.root,displayName:"Title2"}),wD={root:"fui-Title3"},SD=be({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);}"]}),Di=Va({useStyles:SD,className:wD.root,displayName:"Title3"}),kD=e=>se(e.root,{children:se(e.textarea,{})}),BD=(e,o)=>{const n=qp();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e;return{..._D(u,o),size:l,appearance:c}},_D=(e,o)=>{e=Ua(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:n="none",onChange:a}=e,[l,c]=Yo({state:e.value,defaultState:e.defaultValue,initialState:void 0}),u=hl({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:n,components:{root:"span",textarea:"textarea"},textarea:Ae(e.textarea,{defaultProps:{ref:o,...u.primary},elementType:"textarea"}),root:Ae(e.root,{defaultProps:u.root,elementType:"span"})};return d.textarea.value=l,d.textarea.onChange=pe(h=>{const p=h.target.value;a==null||a(h,{value:p}),c(p)}),d},kx={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},CD=be({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);}"]}),zD=be({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);}"]}),ND=be({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;}"]}),TD=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=CD();e.root.className=fe(kx.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=zD(),p=ND();return e.textarea.className=fe(kx.textarea,h.base,h[o],p[a],l&&h.disabled,e.textarea.className),e},y5=b.forwardRef((e,o)=>{const n=BD(e,o);return TD(n),ot("useTextareaStyles_unstable")(n),kD(n)});y5.displayName="Textarea";const ED=Ee("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),RD=Ee("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function jD(){const e=ED(),o=RD(),{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 AD(e,o){const{findFirstFocusable:n}=Ks(),{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 DD={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},mm=vl(void 0),MD=mm.Provider,ar=e=>Zs(mm,(o=DD)=>e(o)),OD=!1,x5=b.createContext(void 0),w5=x5.Provider,FD=()=>{var e;return(e=b.useContext(x5))!==null&&e!==void 0?e:OD},S5=b.createContext(void 0);S5.Provider;const qD=()=>b.useContext(S5),Bx=ec(em,{outScale:.85,easing:pt.curveDecelerateMid,duration:pt.durationGentle,exitEasing:pt.curveAccelerateMin,exitDuration:pt.durationGentle}),HD=e=>{const{children:o,modalType:n="modal",onOpenChange:a,inertTrapFocus:l=!1,unmountOnClose:c=!0}=e,u=Kt("dialog-title-"),[d,h]=PD(o),[p,v]=Yo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),m=pe(C=>{a==null||a(C.event,C),C.event.isDefaultPrevented()||v(C.open)}),w=AD(p,n),{modalAttributes:k,triggerAttributes:S}=_d({trapFocus:n!=="non-modal",legacyTrapFocus:!l}),y=Ys(mm);return{components:{surfaceMotion:Bx},inertTrapFocus:l,open:p,modalType:n,content:h,trigger:d,requestOpenChange:m,dialogTitleId:u,isNestedDialog:y,unmountOnClose:c,dialogRef:w,modalAttributes:k,triggerAttributes:S,surfaceMotion:Nd(e.surfaceMotion,{elementType:Bx,defaultProps:{visible:p,appear:c,unmountOnExit:c}})}};function PD(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 LD=(e,o)=>se(MD,{value:o.dialog,children:lt(w5,{value:o.dialogSurface,children:[e.trigger,e.content&&se(e.surfaceMotion,{children:se(zd,{children:e.content})})]})});function ID(e){const{modalType:o,open:n,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,requestOpenChange:d,modalAttributes:h,triggerAttributes:p,unmountOnClose:v}=e;return{dialog:b.useMemo(()=>({open:n,modalType:o,dialogRef:a,dialogTitleId:l,isNestedDialog:c,inertTrapFocus:u,modalAttributes:h,triggerAttributes:p,unmountOnClose:v,requestOpenChange:d}),[n,o,a,l,c,u,h,p,v,d]),dialogSurface:!1}}const vm=b.memo(e=>{const o=HD(e),n=ID(o);return LD(o,n)});vm.displayName="Dialog";const UD=e=>{const o=FD(),{children:n,disableButtonEnhancement:a=!1,action:l=o?"close":"open"}=e,c=$s(n),u=ar(m=>m.requestOpenChange),{triggerAttributes:d}=_d(),h=pe(m=>{var w,k;c==null||(w=(k=c.props).onClick)===null||w===void 0||w.call(k,m),m.isDefaultPrevented()||u({event:m,type:"triggerClick",open:l==="open"})}),p={...c==null?void 0:c.props,ref:Xs(c),onClick:h,...d},v=al((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...p,type:"button"});return{children:xd(n,a?p:v)}},VD=e=>e.children,Pi=e=>{const o=UD(e);return VD(o)};Pi.displayName="DialogTrigger";Pi.isFluentTriggerComponent=!0;const GD=(e,o)=>{const{position:n="end",fluid:a=!1}=e;return{components:{root:"div"},root:Ae(Tt("div",{ref:o,...e}),{elementType:"div"}),position:n,fluid:a}},WD=e=>se(e.root,{}),XD={root:"fui-DialogActions"},$D=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;}}"]}),KD=be({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)"}]]}),QD=e=>{"use no memo";const o=$D(),n=KD();return e.root.className=fe(XD.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},bm=b.forwardRef((e,o)=>{const n=GD(e,o);return QD(n),ot("useDialogActionsStyles_unstable")(n),WD(n)});bm.displayName="DialogActions";const ZD=(e,o)=>{var n;return{components:{root:"div"},root:Ae(Tt((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},YD=e=>se(e.root,{}),JD={root:"fui-DialogBody"},eM=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;}}"]}),tM=e=>{"use no memo";const o=eM();return e.root.className=fe(JD.root,o,e.root.className),e},ym=b.forwardRef((e,o)=>{const n=ZD(e,o);return tM(n),ot("useDialogBodyStyles_unstable")(n),YD(n)});ym.displayName="DialogBody";const _x={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},oM=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;}"]),rM=be({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),nM=Ee("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),aM=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;}}"]}),iM=e=>{"use no memo";const o=oM(),n=nM(),a=rM();return e.root.className=fe(_x.root,o,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=fe(_x.action,n,e.action.className)),e},lM=(e,o)=>{const{action:n}=e,a=ar(c=>c.modalType),l=aM();return{components:{root:"h2",action:"div"},root:Ae(Tt("h2",{ref:o,id:ar(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:Pe(n,{renderByDefault:a==="non-modal",defaultProps:{children:b.createElement(Pi,{disableButtonEnhancement:!0,action:"close"},b.createElement("button",{type:"button",className:l,"aria-label":"close"},b.createElement(JE,null)))},elementType:"div"})}},sM=e=>lt(b.Fragment,{children:[se(e.root,{children:e.root.children}),e.action&&se(e.action,{})]}),xm=b.forwardRef((e,o)=>{const n=lM(e,o);return iM(n),ot("useDialogTitleStyles_unstable")(n),sM(n)});xm.displayName="DialogTitle";const Cx=pR,cM=(e,o)=>{const n=Cd(),a=ar(z=>z.modalType),l=ar(z=>z.isNestedDialog),c=qD(),u=c??l,d=ar(z=>z.modalAttributes),h=ar(z=>z.dialogRef),p=ar(z=>z.requestOpenChange),v=ar(z=>z.dialogTitleId),m=ar(z=>z.open),w=ar(z=>z.unmountOnClose),k=pe(z=>{if(Y2(e.backdrop)){var T,E;(T=(E=e.backdrop).onClick)===null||T===void 0||T.call(E,z)}a==="modal"&&!z.isDefaultPrevented()&&p({event:z,open:!1,type:"backdropClick"})}),S=pe(z=>{var T;(T=e.onKeyDown)===null||T===void 0||T.call(e,z),z.key===bl&&!z.isDefaultPrevented()&&(p({event:z,open:!1,type:"escapeKeyDown"}),z.preventDefault())}),y=Pe(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),C=y==null?void 0:y.appearance;y&&(y.onClick=k,delete y.appearance);const{disableBodyScroll:_,enableBodyScroll:R}=jD();return At(()=>{if(!m){R();return}if(!(l||a==="non-modal"))return _(),()=>R()},[m,a,l,_,R]),{components:{backdrop:"div",root:"div",backdropMotion:Cx},open:m,backdrop:y,isNestedDialog:l,treatBackdropAsNested:u,backdropAppearance:C,unmountOnClose:w,mountNode:e.mountNode,root:Ae(Tt("div",{tabIndex:-1,role:a==="alert"?"alertdialog":"dialog","aria-modal":a!=="non-modal","aria-labelledby":e["aria-label"]?void 0:v,"aria-hidden":!w&&!m?!0:void 0,...e,...d,onKeyDown:S,ref:nt(o,n,h)}),{elementType:"div"}),backdropMotion:Nd(e.backdropMotion,{elementType:Cx,defaultProps:{appear:w,visible:m}}),transitionStatus:void 0}},uM=(e,o)=>lt(Sl,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&se(e.backdropMotion,{children:se(e.backdrop,{})}),se(vS,{children:se(w5,{value:o.dialogSurface,children:se(e.root,{})})})]}),zx={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},dM=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;}}"]}),fM=Ee("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),hM=be({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),gM=e=>{"use no memo";const{root:o,backdrop:n,open:a,unmountOnClose:l,treatBackdropAsNested:c,backdropAppearance:u}=e,d=dM(),h=fM(),p=hM(),v=u?u==="transparent":c,m=!l&&!a;return o.className=fe(zx.root,d,m&&p.dialogHidden,o.className),n&&(n.className=fe(zx.backdrop,h,m&&p.dialogHidden,v&&p.nestedDialogBackdrop,n.className)),e};function pM(e){return{dialogSurface:!0}}const wm=b.forwardRef((e,o)=>{const n=cM(e,o),a=pM();return gM(n),ot("useDialogSurfaceStyles_unstable")(n),uM(n,a)});wm.displayName="DialogSurface";const mM=(e,o)=>{var n;return{components:{root:"div"},root:Ae(Tt((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},vM=e=>se(e.root,{}),bM={root:"fui-DialogContent"},yM=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;}}"]}),xM=e=>{"use no memo";const o=yM();return e.root.className=fe(bM.root,o,e.root.className),e},Sm=b.forwardRef((e,o)=>{const n=mM(e,o);return xM(n),ot("useDialogContentStyles_unstable")(n),vM(n)});Sm.displayName="DialogContent";function wM(e){switch(e){case"info":return b.createElement(SE,null);case"warning":return b.createElement(bE,null);case"error":return b.createElement(IE,null);case"success":return b.createElement(un,null);default:return null}}function SM(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 p,v;const m=h[0];var w;const k=(w=m==null||(v=m.borderBoxSize)===null||v===void 0||(p=v[0])===null||p===void 0?void 0:p.inlineSize)!==null&&w!==void 0?w:m==null?void 0:m.target.getBoundingClientRect().width;if(k===void 0||!m)return;const{target:S}=m;if(!hr(S))return;let y;if(a.current)c.current<k&&(y=!1);else{const C=S.scrollWidth;k<C&&(y=!0)}c.current=k,typeof y<"u"&&a.current!==y&&(a.current=y,n())},[n]),d=b.useCallback(h=>{var p;if(!e||!h||!(o!=null&&o.defaultView))return;(p=l.current)===null||p===void 0||p.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 k5=b.createContext(void 0),kM={className:"",nodeRef:b.createRef()};k5.Provider;const BM=()=>{var e;return(e=b.useContext(k5))!==null&&e!==void 0?e:kM},_M=(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}=SM(u),p=u?h?"multiline":"singleline":n,{className:v,nodeRef:m}=BM(),w=Cd(),k=b.useRef(null),S=b.useRef(null),{announce:y}=U6(),C=Kt();return b.useEffect(()=>{var _,R;const z=(_=S.current)===null||_===void 0?void 0:_.textContent,T=(R=k.current)===null||R===void 0?void 0:R.textContent,E=[z,T].filter(Boolean).join(",");y(E,{polite:c==="polite",alert:c==="assertive"})},[S,k,y,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ae(Tt("div",{ref:nt(o,d,m,w),role:"group","aria-labelledby":C,...e}),{elementType:"div"}),icon:Pe(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:Pe(e.bottomReflowSpacer,{renderByDefault:p==="multiline",elementType:"div"}),layout:p,intent:a,transitionClassName:v,actionsRef:k,bodyRef:S,titleId:C}},CM=(e,o)=>{const{shape:n="rounded",...a}=e,l=_M(a,o);return{...l,shape:n,icon:Pe(e.icon,{defaultProps:{children:wM(l.intent)},renderByDefault:!0,elementType:"div"})}},B5=b.createContext(void 0),zM={titleId:"",layout:"singleline",actionsRef:b.createRef(),bodyRef:b.createRef()},NM=B5.Provider,_5=()=>{var e;return(e=b.useContext(B5))!==null&&e!==void 0?e:zM},TM=(e,o)=>se(NM,{value:o.messageBar,children:lt(e.root,{children:[e.icon&&se(e.icon,{}),e.root.children,e.bottomReflowSpacer&&se(e.bottomReflowSpacer,{})]})}),jg={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},EM=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);}']),RM=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;}"]),jM=Ee("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),AM=be({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}]]}),DM=be({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),MM=be({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);}"]}),OM=e=>{"use no memo";const o=EM(),n=RM(),a=DM(),l=MM(),c=jM(),u=AM();return e.root.className=fe(jg.root,o,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,l[e.intent],e.root.className),e.icon&&(e.icon.className=fe(jg.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=fe(jg.bottomReflowSpacer,c)),e};function FM(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 Qo=b.forwardRef((e,o)=>{const n=CM(e,o);return OM(n),ot("useMessageBarStyles_unstable")(n),TM(n,FM(n))});Qo.displayName="MessageBar";const qM=(e,o)=>{const{titleId:n}=_5();return{components:{root:"span"},root:Ae(Tt("span",{ref:o,id:n,...e}),{elementType:"span"})}},HM=e=>se(e.root,{}),PM={root:"fui-MessageBarTitle"},LM=Ee("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),IM=e=>{"use no memo";const o=LM();return e.root.className=fe(PM.root,o,e.root.className),e},Ia=b.forwardRef((e,o)=>{const n=qM(e,o);return IM(n),ot("useMessageBarTitleStyles_unstable")(n),HM(n)});Ia.displayName="MessageBarTitle";const UM=(e,o)=>{const{bodyRef:n}=_5();return{components:{root:"div"},root:Ae(Tt("div",{ref:nt(o,n),...e}),{elementType:"div"})}},VM=(e,o)=>se(y9,{value:o.link,children:se(e.root,{})}),GM={root:"fui-MessageBarBody"},WM=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);}"]),XM=e=>{"use no memo";const o=WM();return e.root.className=fe(GM.root,o,e.root.className),e};function $M(e){return{link:b.useMemo(()=>({inline:!0}),[])}}const Zo=b.forwardRef((e,o)=>{const n=UM(e,o),a=$M();return XM(n),ot("useMessageBarBodyStyles_unstable")(n),VM(n,a)});Zo.displayName="MessageBarBody";const C5={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"},fo={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},KM={...qT(C5)},rc={...LT(C5)};rc.colorNeutralBackground1="#0E1620";rc.colorNeutralBackground2="#131F2D";rc.colorNeutralBackground3="#1A2838";rc.colorNeutralBackground4="#223145";const Nx="wizardux.theme",z5=b.createContext(null);function Tx(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function QM({children:e}){const[o,n]=b.useState(()=>localStorage.getItem(Nx)||"system"),[a,l]=b.useState(Tx);b.useEffect(()=>{const h=window.matchMedia("(prefers-color-scheme: dark)"),p=()=>l(Tx());return h.addEventListener("change",p),()=>h.removeEventListener("change",p)},[]),b.useEffect(()=>{localStorage.setItem(Nx,o)},[o]);const c=o==="system"?a:o,u=c==="dark"?rc:KM;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(z5.Provider,{value:d,children:B.jsx(Qw,{theme:u,style:{height:"100%"},children:e})})}function ZM(){const e=b.useContext(z5);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}let Mu=null;async function YM(){if(Mu)return Mu;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return Mu=(await e.json()).csrfToken,Mu}async function Sr(e,o,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await YM());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 Er={state:()=>Sr("GET","/api/state"),saveState:e=>Sr("PUT","/api/state",e),resetState:()=>Sr("POST","/api/state/reset",{}),jumpTo:e=>Sr("POST","/api/state/jump",{step:e}),system:()=>Sr("GET","/api/system"),steps:()=>Sr("GET","/api/steps"),questions:e=>Sr("GET",`/api/steps/${e}/questions`),apply:(e,o)=>Sr("POST",`/api/steps/${e}/apply`,{answers:o}),configSeedKeys:()=>Sr("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")=>Sr("POST","/api/config-seed/import",{seed:e,mode:o})},JM=er({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 Ex(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 eO(){const e=JM(),o=Gs(),n=b.useRef(null),[a,l]=b.useState("idle"),[c,u]=b.useState(null),[d,h]=b.useState(null),[p,v]=b.useState("merge"),[m,w]=b.useState(null),[k,S]=b.useState(null);async function y(){try{const{blob:E,filename:j}=await Er.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 C(){var E;u(null),w(null),h(null),S(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 de=(await Er.state()).state,ae=[];for(const le of["PP_ENV_DEV","PP_ENV_TEST","PP_ENV_PROD"]){const ie=String(de[le]??"").trim(),Z=String(W.values[le]??"").trim();ie&&Z&&ie!==Z&&ae.push(le)}ae.length>0&&S(`This seed targets different environment URLs than the current project: ${ae.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 Er.importConfigSeed(d,p);w(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 z(){l("idle"),h(null),w(null),u(null),S(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(a5,{children:[B.jsx(hm,{disableButtonEnhancement:!0,children:B.jsx(Md,{relationship:"label",content:"Configuration",children:B.jsx(it,{appearance:"subtle",icon:B.jsx(mE,{}),"aria-label":"Configuration"})})}),B.jsx(d5,{children:B.jsxs(u5,{children:[B.jsx(mp,{icon:B.jsx(aS,{}),onClick:y,children:"Export configuration…"}),B.jsx(mp,{icon:B.jsx(RE,{}),onClick:C,children:"Import configuration…"})]})})]}),B.jsx(vm,{open:T,onOpenChange:(E,j)=>{j.open||z()},children:B.jsx(wm,{children:B.jsxs(ym,{children:[B.jsx(xm,{children:a==="done"?"Configuration imported":a==="error"?"Import failed":"Import configuration"}),B.jsxs(Sm,{children:[a==="preview"&&d&&B.jsx(tO,{seed:d,mode:p,onModeChange:v,envWarning:k,styles:e}),a==="applying"&&B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[B.jsx(an,{size:"tiny"})," ",B.jsx(b5,{children:"Writing configuration…"})]}),a==="done"&&m&&B.jsx(oO,{result:m,styles:e}),a==="error"&&B.jsx(Qo,{intent:"error",children:B.jsxs(Zo,{children:[B.jsx(Ia,{children:"Import failed"}),c]})})]}),B.jsxs(bm,{children:[a==="preview"&&B.jsxs(B.Fragment,{children:[B.jsx(it,{appearance:"secondary",onClick:z,children:"Cancel"}),B.jsx(it,{appearance:"primary",onClick:R,children:"Apply"})]}),(a==="done"||a==="error")&&B.jsx(it,{appearance:"primary",onClick:z,children:"Close"}),a==="applying"&&B.jsx(it,{appearance:"secondary",disabled:!0,children:"Working…"})]})]})})})]})}function tO({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(Qo,{intent:"info",children:B.jsxs(Zo,{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(Qo,{intent:"info",children:B.jsxs(Zo,{children:[B.jsx(Ia,{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(Qo,{intent:"warning",icon:B.jsx(yE,{}),children:B.jsxs(Zo,{children:[B.jsx(Ia,{children:"Environment mismatch"}),a]})}),B.jsxs(Fa,{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:Ex(h),children:Ex(h)})]},d)),c.length===0&&B.jsx($t,{children:"(empty)"})]}),B.jsx(Fa,{children:"How to apply"}),B.jsxs(f5,{value:o,onChange:(d,h)=>n(h.value),children:[B.jsx(vp,{value:"merge",label:"Merge (recommended) — only fill values that are currently empty"}),B.jsx(vp,{value:"replace-allowlisted",label:"Overwrite — replace existing values with values from the seed"})]})]})}function oO({result:e,styles:o}){return B.jsxs("div",{className:o.section,children:[B.jsx(Qo,{intent:"success",children:B.jsxs(Zo,{children:[B.jsx(Ia,{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(Fa,{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(Fa,{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(Fa,{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 rO=er({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:fo.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 nO(){const e=rO(),{mode:o,setMode:n}=ZM(),a=Jo(),l=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=o==="system"?"light":o==="light"?"dark":"system",u=o==="dark"?xE:o==="light"?wE:rS;return B.jsxs("header",{className:e.root,children:[B.jsxs(tn,{to:"/",className:e.brand,children:[B.jsx("div",{className:e.badge,children:"F"}),B.jsx(Fa,{children:"Foundations"})]}),B.jsx("div",{className:e.spacer}),B.jsxs("nav",{className:e.navLinks,children:[B.jsxs(tn,{to:"/",className:fe(e.navLink,l("/")&&e.navLinkActive),children:[B.jsx(iS,{})," Home"]}),B.jsxs(tn,{to:"/summary",className:fe(e.navLink,l("/summary")&&e.navLinkActive),children:[B.jsx(LE,{})," Summary"]}),B.jsxs(tn,{to:"/diagnostics",className:fe(e.navLink,l("/diagnostics")&&e.navLinkActive),children:[B.jsx(ed,{})," Diagnostics"]})]}),B.jsx(Md,{relationship:"label",content:`Theme: ${o}. Click to cycle.`,children:B.jsx(it,{appearance:"subtle",icon:B.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})}),B.jsx(eO,{})]})}const aO=er({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function N5(){const e=aO(),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 p=n.clientWidth,v=n.clientHeight;a.clearRect(0,0,p,v);const m=l?0:h/6e3,w=p*(.28+.15*Math.sin(m)),k=v*(.38+.1*Math.cos(m*1.2)),S=a.createRadialGradient(w,k,0,w,k,Math.max(p,v)*.7);S.addColorStop(0,"rgba(0, 120, 212, 0.55)"),S.addColorStop(1,"rgba(0, 120, 212, 0)"),a.fillStyle=S,a.fillRect(0,0,p,v);const y=p*(.72+.1*Math.cos(m*.8)),C=v*(.55+.12*Math.sin(m*1.5)),_=a.createRadialGradient(y,C,0,y,C,Math.max(p,v)*.6);_.addColorStop(0,"rgba(92, 45, 145, 0.45)"),_.addColorStop(1,"rgba(92, 45, 145, 0)"),a.fillStyle=_,a.fillRect(0,0,p,v);const R=p*(.4+.18*Math.cos(m*.6+1.7)),z=v*(.85+.1*Math.sin(m*.9)),T=a.createRadialGradient(R,z,0,R,z,Math.max(p,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,p,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 km(){return hd({queryKey:["state"],queryFn:()=>Er.state(),refetchInterval:5e3})}function T5(){return hd({queryKey:["system"],queryFn:()=>Er.system(),staleTime:3e4})}function Bm(){return hd({queryKey:["steps"],queryFn:()=>Er.steps(),refetchInterval:5e3})}function iO(e){return hd({queryKey:["questions",e],queryFn:()=>Er.questions(e),enabled:e!=null})}const lO=er({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:fo.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:fo.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:fo.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:fo.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 sO(){var k,S,y,C,_,R,z,T;const e=lO(),o=Us(),n=km(),a=Bm(),l=T5(),c=Gs(),u=_2({mutationFn:()=>Er.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((k=n.data)==null?void 0:k.completed)??0,h=((S=n.data)==null?void 0:S.next)??1,p=((y=n.data)==null?void 0:y.totalSteps)??9,v=((_=(C=n.data)==null?void 0:C.state)==null?void 0:_.APP_NAME)||"",m=d>0,w=Math.round(d/Math.max(1,p)*100);return B.jsxs("div",{className:e.root,children:[B.jsxs("div",{className:e.hero,children:[B.jsx(N5,{}),B.jsxs("div",{className:e.heroInner,children:[B.jsxs("div",{className:e.pill,children:[B.jsx(GE,{})," Foundations"]}),B.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),B.jsx(ur,{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(Go,{style:{display:"block",color:P.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",v?`, ${v}`:""]}),B.jsxs(bp,{style:{margin:0},children:["Pick up at step ",h," of ",p]}),B.jsxs(ur,{style:{marginTop:"6px",color:P.colorNeutralForeground3},children:[d," of ",p," steps complete · ",w,"%"]}),B.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:B.jsx("div",{className:e.ctaFill,style:{width:`${w}%`}})})]}):B.jsxs(B.Fragment,{children:[B.jsx(bp,{style:{margin:0},children:"Ready when you are"}),B.jsx(ur,{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(it,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(rn,{}),onClick:()=>o(`/step/${h}`),children:m?"Resume":"Get started"}),m&&B.jsxs(vm,{children:[B.jsx(Pi,{disableButtonEnhancement:!0,children:B.jsx(it,{appearance:"subtle",icon:B.jsx(TE,{}),children:"Start over"})}),B.jsx(wm,{children:B.jsxs(ym,{children:[B.jsx(xm,{children:"Reset wizard state?"}),B.jsx(Sm,{children:"This clears all collected answers. Your project files are not affected."}),B.jsxs(bm,{children:[B.jsx(Pi,{disableButtonEnhancement:!0,children:B.jsx(it,{appearance:"secondary",children:"Cancel"})}),B.jsx(Pi,{disableButtonEnhancement:!0,children:B.jsx(it,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?B.jsx(an,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),l.data&&B.jsxs("div",{className:e.systemBar,children:[B.jsxs(cr,{appearance:"filled",color:l.data.node?"success":"danger",children:["Node ",l.data.node||"—"]}),B.jsxs(cr,{appearance:"filled",color:l.data.git?"success":"danger",children:["Git ",l.data.git||"missing"]}),B.jsxs(cr,{appearance:"filled",color:l.data.dotnet?"success":"danger",children:[".NET ",l.data.dotnet||"missing"]}),B.jsxs(cr,{appearance:"filled",color:l.data.pac?"success":"danger",children:["PAC ",l.data.pac||"missing"]}),B.jsx(cr,{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(un,{className:`${e.stepIcon} ${e.stepDone}`}):M?B.jsx(EE,{className:`${e.stepIcon} ${e.stepCurrent}`}):B.jsx(Yp,{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(cr,{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(zE,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",B.jsx("code",{children:l.data.rootDir})]}),((T=(z=l.data)==null?void 0:z.cloudSync)==null?void 0:T.detected)&&B.jsx(Qo,{intent:"warning",children:B.jsxs(Zo,{children:[B.jsxs(Ia,{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(Qo,{intent:"error",children:B.jsxs(Zo,{children:[B.jsx(Ia,{children:"Reset failed"}),u.error.message]})})]})]})}function cO(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 uO=er({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 dO({steps:e,current:o}){const n=uO(),a=Us(),l=Jo();return B.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[B.jsx($t,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===o&&l.pathname.includes("/step/"),d=c.status==="done"?un:c.status==="current"?rn:c.canRunInBrowser?Yp:nS,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:p=>{(p.key==="Enter"||p.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(pm,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}function Rx(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 _m=er({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 jx(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 Cm(e,o){return!!(e.showIf&&!jx(e.showIf,o)||e.hideIf&&jx(e.hideIf,o))}function fO(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 hO(e,o,n){return e.required&&(o==null||o==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof o=="string"?fO(o):null}function E5({question:e,value:o,onChange:n,showError:a,answers:l}){var z;const c=_m(),u=hO(e,o,a),[d,h]=b.useState(!1),p=e.type==="secret"&&e.savedHint&&!o&&!d,v=e.dynamicOptions,m=v?String(l[v.dependsOn]??""):"",[w,k]=b.useState([]),[S,y]=b.useState(!1),C=b.useRef(m);b.useEffect(()=>{if(!v)return;if(!m||m==="false"||m==="0"||m.startsWith("__")){k([]),C.current=m;return}if(m===C.current&&w.length>0)return;C.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[...w,...T]},[v,e.options,w]),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(WS,{withArrow:!0,children:[B.jsx(sm,{disableButtonEnhancement:!0,children:B.jsx(it,{appearance:"transparent",icon:B.jsx(WE,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),B.jsx(GS,{children:B.jsx("div",{className:c.why,children:Rx(e.why)})})]})]});return B.jsxs(B.Fragment,{children:[B.jsx(QS,{label:R,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?B.jsx(gp,{value:o??"",onChange:(T,E)=>n(e.id,E.value),"aria-required":e.required||void 0}):e.type==="secret"?p?B.jsxs("div",{className:c.savedSecret,children:[B.jsx(CE,{className:c.savedSecretIcon}),B.jsx("span",{children:e.savedHint}),B.jsx(it,{appearance:"subtle",size:"small",icon:B.jsx(_E,{}),className:c.savedSecretEdit,onClick:()=>h(!0),children:"Change"})]}):B.jsx(gp,{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(g5,{checked:!!o,onChange:(T,E)=>n(e.id,E.checked)}):e.type==="select"?S?B.jsx(an,{size:"tiny",label:"Loading options…"}):B.jsx(o5,{value:((z=_.find(T=>T.value===o))==null?void 0:z.label)??"",selectedOptions:o?[String(o)]:[],onOptionSelect:(T,E)=>n(e.id,E.optionValue),children:_.map(T=>B.jsx(t5,{value:T.value,children:T.label},T.value))}):e.type==="multiselect"?B.jsx(y5,{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(ZS,{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($t,{children:["Unsupported question type: ",e.type]})}),e.help&&B.jsx(pm,{className:c.help,children:Rx(e.help)})]})}function gO({question:e,answers:o,value:n,onChange:a,showError:l}){const c=_m();return Cm(e,o)?null:B.jsx("div",{className:c.card,children:B.jsx(E5,{question:e,answers:o,value:n,onChange:a,showError:l})})}function pO({group:e,questions:o,answers:n,onChange:a,showError:l}){const c=_m(),u=o.filter(d=>!Cm(d,n));return u.length===0?null:B.jsxs("div",{className:c.card,children:[B.jsxs("div",{className:c.groupHeader,children:[B.jsx(ur,{className:c.groupTitle,children:e.label}),e.help&&B.jsx(pm,{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(E5,{question:d,answers:n,value:n[d.id],onChange:a,showError:l})},d.id))})]})}const mO=er({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 Ax(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 vO({lines:e,status:o,onClear:n}){var y;const a=mO(),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),[p,v]=b.useState(()=>Date.now()),[m,w]=b.useState(()=>Date.now());b.useEffect(()=>{o==="running"?(h(C=>C??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 C=window.setInterval(()=>w(Date.now()),1e3);return()=>window.clearInterval(C)},[o]);const k=b.useMemo(()=>{if(o!=="running"||d===null)return null;const C=m-d,R=m-p>2e4;return{label:R?`Still working — waiting on npm / network… (running for ${Ax(C)})`:`Running for ${Ax(C)}`,idle:R}},[o,d,m,p]);function S(){const C=e.map(T=>T.text).join(""),_=new Blob([C],{type:"text/plain"}),R=URL.createObjectURL(_),z=document.createElement("a");z.href=R,z.download=`wizardux-log-${Date.now()}.txt`,z.click(),URL.revokeObjectURL(R)}return B.jsxs("div",{className:a.root,children:[B.jsxs("div",{className:a.toolbar,children:[B.jsx(Fa,{children:"Live output"}),B.jsx($t,{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(it,{appearance:"subtle",size:"small",icon:B.jsx(aS,{}),onClick:S,disabled:e.length===0,children:"Save"}),n&&B.jsx(it,{appearance:"subtle",size:"small",icon:B.jsx(AE,{}),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((C,_)=>B.jsx("span",{className:C.stream==="stderr"?a.err:void 0,children:C.text},_))}),k&&B.jsx("div",{className:`${a.footer}${k.idle?` ${a.footerIdle}`:""}`,"aria-live":"polite",children:B.jsx($t,{style:{color:"inherit"},children:k.label})})]})}const bO=er({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:fo.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:fo.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 yO(){var ke,F,U,J,ce,me,Ce,Fe,kt;const e=bO(),o=YB(),n=Math.max(1,Math.min(9,parseInt(o.n||"1",10))),a=Us(),l=Gs(),c=Bm(),u=iO(n),[d,h]=b.useState({}),[p,v]=b.useState({}),[m,w]=b.useState(!1),[k,S]=b.useState(null),y=b.useRef(null),C=b.useMemo(()=>{var xe;return JSON.stringify((((xe=u.data)==null?void 0:xe.questions)??[]).map(Ue=>[Ue.id,Ue.defaultValue??""]))},[(ke=u.data)==null?void 0:ke.questions]);b.useEffect(()=>{if(!u.data)return;const xe={};for(const Ue of u.data.questions)xe[Ue.id]=Ue.defaultValue??"";h(xe),v(xe),w(!1)},[(F=u.data)==null?void 0:F.meta.number,C]),b.useEffect(()=>{S(null)},[n]);const _=_2({mutationFn:xe=>Er.apply(n,xe),onSuccess:xe=>{S(xe.runId)}}),R=cO(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 z=b.useMemo(()=>R.lines.some(xe=>xe.stream==="stderr"),[R.lines]),T=b.useRef(null);b.useEffect(()=>{var xe;if(R.status==="done"&&!z){const Ue=((xe=c.data)==null?void 0:xe.totalSteps)??9;T.current=setTimeout(()=>{n>=Ue?a("/summary"):a(`/step/${n+1}`)},1500)}return()=>{T.current&&clearTimeout(T.current)}},[R.status,n,(U=c.data)==null?void 0:U.totalSteps,a]);const E=(J=u.data)==null?void 0:J.meta,j=((ce=u.data)==null?void 0:ce.questions)??[],M=b.useMemo(()=>{const xe=[];for(const Ue of j){if(!Ue.group){xe.push({kind:"question",question:Ue});continue}const jo=xe[xe.length-1];(jo==null?void 0:jo.kind)==="group"&&jo.group.id===Ue.group.id?jo.questions.push(Ue):xe.push({kind:"group",group:Ue.group,questions:[Ue]})}return xe},[j]),O=b.useMemo(()=>JSON.stringify(d)!==JSON.stringify(p),[d,p]),W=b.useRef(null);b.useEffect(()=>{if(u.data&&O)return W.current&&clearTimeout(W.current),W.current=setTimeout(()=>{const xe={};for(const Ue of Object.keys(d))JSON.stringify(d[Ue])!==JSON.stringify(p[Ue])&&(xe[Ue]=d[Ue]);Object.keys(xe).length>0&&Er.saveState(xe).catch(()=>{})},600),()=>{W.current&&clearTimeout(W.current)}},[d,p,O,u.data]);const ee=b.useMemo(()=>{if(!(E!=null&&E.canRunInBrowser))return[];const xe=[];for(const Ue of j)Cm(Ue,d)||Ue.required&&(d[Ue.id]==null||d[Ue.id]==="")&&xe.push(Ue.label);return xe},[j,d,E]);function de(){if(E!=null&&E.canRunInBrowser){if(j.length>0&&ee.length>0){w(!0);return}y.current=d,_.mutate(d)}}const ae=((Ce=(me=c.data)==null?void 0:me.steps.find(xe=>xe.number===n))==null?void 0:Ce.status)??"pending",le=_.isPending||R.status==="running",ie=R.status==="done",Z=((Fe=c.data)==null?void 0:Fe.totalSteps)??9,I=n>=Z,oe=E==null?void 0:E.canRunInBrowser,re=le?E!=null&&E.readOnly?"Checking…":"Running…":ie&&z?I?"Finish":"Continue":ie?I?"Finish":"Continuing…":ae==="done"&&O?"Save & re-run":E!=null&&E.readOnly?"Run checks":ae==="done"?"Re-run":j.length===0?"Run":"Save & run";function he(){if(ie){T.current&&clearTimeout(T.current),a(I?"/summary":`/step/${n+1}`);return}de()}return B.jsxs("div",{className:e.root,children:[c.data&&B.jsx(dO,{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,ae==="done"?e.stepBadgeDone:ae==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:ae==="done"?B.jsx(un,{}):n}),B.jsxs("div",{className:e.headerText,children:[B.jsx(bp,{style:{margin:0},children:(E==null?void 0:E.title)||"Loading…"}),B.jsxs($t,{style:{color:P.colorNeutralForeground3},children:["Step ",n," of ",Z,E!=null&&E.optional?" · optional":""]})]})]}),(E==null?void 0:E.description)&&B.jsx(ur,{style:{color:P.colorNeutralForeground2},children:E.description}),u.isLoading&&(n===8?B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[B.jsx(an,{size:"small"}),B.jsx($t,{style:{color:P.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):B.jsx(an,{size:"small"})),E&&!oe&&B.jsxs("div",{className:e.terminalNote,children:[B.jsx(nS,{className:e.terminalIcon}),B.jsx(ur,{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:M.map(xe=>{const Ue=(jo,kl)=>h(nc=>({...nc,[jo]:kl}));return xe.kind==="group"?B.jsx(pO,{group:xe.group,questions:xe.questions,answers:d,onChange:Ue,showError:m},xe.group.id):B.jsx(gO,{question:xe.question,answers:d,value:d[xe.question.id],onChange:Ue,showError:m},xe.question.id)})}),_.isError&&B.jsx(Qo,{intent:"error",children:B.jsx(Zo,{children:_.error.message})}),R.status==="error"&&B.jsx(Qo,{intent:"error",children:B.jsx(Zo,{children:R.error||"Step failed — see output above."})}),((kt=R.deviceCode)==null?void 0:kt.code)&&R.status==="running"&&B.jsxs("div",{className:e.deviceCodeCard,children:[B.jsxs("div",{className:e.deviceCodeHeader,children:[B.jsx(Ly,{style:{color:P.colorBrandForeground1}}),B.jsx(ur,{children:"Sign in with a device code"})]}),B.jsx($t,{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(it,{appearance:"subtle",icon:B.jsx(vE,{}),onClick:()=>navigator.clipboard.writeText(R.deviceCode.code),children:"Copy code"})]}),B.jsxs(it,{appearance:"primary",icon:B.jsx(Ly,{}),as:"a",href:R.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",R.deviceCode.url]})]}),ie&&B.jsxs("div",{className:e.successBanner,children:[B.jsx(un,{className:e.successIcon}),B.jsxs("div",{className:e.successText,children:[B.jsx(ur,{style:{fontWeight:600},children:I?"All steps complete!":z?"Step complete — review items above":"Step complete"}),B.jsx($t,{style:{color:P.colorNeutralForeground3},children:I?"Heading to summary…":z?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),B.jsx(it,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(rn,{}),onClick:()=>{T.current&&clearTimeout(T.current),a(I?"/summary":`/step/${n+1}`)},children:I?"View summary":"Continue now"})]}),n===7&&le&&B.jsx(Qo,{intent:"info",children:B.jsxs(Zo,{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(vO,{lines:R.lines,status:R.status})}),B.jsxs("div",{className:e.actions,children:[B.jsx(it,{appearance:"subtle",icon:B.jsx(NE,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),B.jsx("div",{className:e.spacer}),oe?B.jsx(it,{appearance:"primary",icon:le?B.jsx(an,{size:"tiny"}):ie?B.jsx(rn,{}):B.jsx(kE,{}),iconPosition:ie?"after":"before",onClick:he,disabled:le,children:re}):B.jsx(it,{appearance:"primary",iconPosition:"after",icon:B.jsx(rn,{}),onClick:()=>{a(I?"/summary":`/step/${n+1}`)},children:I?"Finish":"Next"})]})]})})})]})}const xO=er({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:fo.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 R5({eyebrowIcon:e,eyebrow:o,title:n,subtitle:a}){const l=xO();return B.jsxs("div",{className:l.hero,children:[B.jsx(N5,{}),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(ur,{className:l.subtitle,children:a})]})]})}const j5=er({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:fo.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:fo.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:fo.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:fo.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:fo.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:P.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function Zt({label:e,value:o}){const n=j5(),a=!o||o.trim()==="";return B.jsxs("div",{className:n.field,children:[B.jsx($t,{className:n.fieldLabel,children:e}),B.jsx($t,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":o})]})}function wO(){var m,w,k,S,y,C,_,R,z;const e=j5(),o=km(),n=Bm(),a=((m=o.data)==null?void 0:m.state)??{},l=((w=o.data)==null?void 0:w.completed)??0,c=((k=o.data)==null?void 0:k.totalSteps)??9,u=((S=o.data)==null?void 0:S.next)??1,d=Math.round(l/Math.max(1,c)*100),h=l>=c,p=((C=(y=o.data)==null?void 0:y.powerApp)==null?void 0:C.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(R5,{eyebrowIcon:B.jsx(Ei,{}),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(Go,{style:{display:"block",color:P.colorBrandForeground1,marginBottom:"4px"},children:h?"Setup complete":"In progress"}),B.jsxs(Di,{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(tn,{to:`/step/${u}`,children:B.jsx(it,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:B.jsx(rn,{}),children:"Continue setup"})}),h&&p&&B.jsx(it,{className:e.ctaPrimary,size:"large",as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(rn,{}),children:"Open Power App"})]}),h&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Launch"}),B.jsx(Di,{as:"h2",className:e.sectionTitle,children:"You did it. Your app is ready to launch."}),B.jsx("div",{className:e.launchCard,style:{marginTop:"16px"},children:p?B.jsxs(B.Fragment,{children:[B.jsxs(Go,{className:e.launchTitle,children:["Power Apps URL (",String(v).toUpperCase(),")"]}),B.jsx("a",{className:e.launchUrl,href:p,target:"_blank",rel:"noopener noreferrer",children:p}),B.jsx("div",{className:e.launchActions,children:B.jsx(it,{className:e.launchBtn,as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:B.jsx(rn,{}),children:"Launch App Now"})})]}):B.jsxs(B.Fragment,{children:[B.jsx(Go,{className:e.launchTitle,children:"Power Apps URL not available yet"}),B.jsx($t,{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(Di,{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(Ei,{})}),B.jsx(Go,{children:"Project"})]}),B.jsx(Zt,{label:"App name",value:a.APP_NAME}),B.jsx(Zt,{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(Ei,{})}),B.jsx(Go,{children:"Environments"})]}),B.jsx(Zt,{label:"Dev",value:a.PP_ENV_DEV}),B.jsx(Zt,{label:"Test",value:a.PP_ENV_TEST}),B.jsx(Zt,{label:"Prod",value:a.PP_ENV_PROD}),B.jsx(Zt,{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(Ei,{})}),B.jsx(Go,{children:"Identity"})]}),B.jsx(Zt,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Zt,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Zt,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&B.jsx(Zt,{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(Ei,{})}),B.jsx(Go,{children:"Publisher"})]}),B.jsx(Zt,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),B.jsx(Zt,{label:"Prefix",value:a.PUBLISHER_PREFIX}),B.jsx(Zt,{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(Ei,{})}),B.jsx(Go,{children:"Solution"})]}),B.jsx(Zt,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),B.jsx(Zt,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),B.jsx(Di,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),B.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&B.jsx(an,{size:"small"}),(z=n.data)==null?void 0:z.steps.map(T=>B.jsxs("div",{className:e.stepRow,children:[T.status==="done"&&B.jsx(un,{className:e.stepIconDone}),T.status==="current"&&B.jsx(Zp,{className:e.stepIconCurrent}),T.status==="pending"&&B.jsx(Yp,{className:e.stepIconPending}),B.jsxs(ur,{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(cr,{appearance:"filled",color:"success",size:"small",children:"Done"}),T.status==="current"&&B.jsx(cr,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},T.number))]})]}),!o.data&&B.jsx(Qo,{intent:"info",children:B.jsx(Zo,{children:"Loading state…"})}),B.jsxs("div",{className:e.actions,children:[B.jsx(tn,{to:"/",children:B.jsx(it,{appearance:"subtle",icon:B.jsx(iS,{}),children:"Home"})}),!h&&B.jsx(tn,{to:`/step/${u}`,children:B.jsx(it,{className:e.ctaPrimary,iconPosition:"after",icon:B.jsx(rn,{}),children:"Continue setup"})})]})]})]})}const A5=er({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:fo.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 Ba({icon:e,label:o,value:n,ok:a,neutral:l}){const c=A5(),u=!n,d=l?B.jsx(ed,{style:{color:P.colorBrandForeground1}}):a?B.jsx(un,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(VE,{style:{color:P.colorPaletteRedForeground1}});return B.jsxs("div",{className:c.row,children:[B.jsxs($t,{className:c.rowLabel,children:[d,e,o]}),B.jsx($t,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function SO(){var l;const e=A5(),o=T5(),n=km(),a=o.data;return B.jsxs("div",{className:e.root,children:[B.jsx(R5,{eyebrowIcon:B.jsx(BE,{}),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(an,{size:"medium"}),a&&B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Environment"}),B.jsx(Di,{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(rS,{})}),B.jsx(Go,{children:"Host"})]}),B.jsx(Ba,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),B.jsx(Ba,{ok:!!a.node,label:"Node.js",value:a.node}),B.jsx(Ba,{ok:!!a.git,label:"Git",value:a.git}),B.jsx(Ba,{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(DE,{})}),B.jsx(Go,{children:"Power Platform tooling"})]}),B.jsx(Ba,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),B.jsxs("div",{className:e.row,children:[B.jsxs($t,{className:e.rowLabel,children:[a.op?B.jsx(un,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(ed,{style:{color:P.colorBrandForeground1}}),"1Password CLI"]}),B.jsx(cr,{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(jE,{})}),B.jsx(Go,{children:"Repository"})]}),B.jsx(Ba,{neutral:!0,label:"Branch",value:a.branch}),B.jsxs("div",{className:e.row,children:[B.jsxs($t,{className:e.rowLabel,children:[a.repoIsClean?B.jsx(un,{style:{color:P.colorPaletteGreenForeground1}}):B.jsx(ed,{style:{color:P.colorPaletteYellowForeground1}}),"Working tree"]}),B.jsx(cr,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),B.jsx(Ba,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),B.jsxs("section",{children:[B.jsx("span",{className:e.sectionLabel,children:"Raw state"}),B.jsx(Di,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),B.jsx(ur,{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 kO=er({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:P.colorNeutralBackground1,color:P.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function BO(){const e=kO();return B.jsxs("div",{className:e.root,children:[B.jsx(nO,{}),B.jsx("div",{className:e.body,children:B.jsxs(g_,{children:[B.jsx(ji,{path:"/",element:B.jsx(sO,{})}),B.jsx(ji,{path:"/step/:n",element:B.jsx(yO,{})}),B.jsx(ji,{path:"/summary",element:B.jsx(wO,{})}),B.jsx(ji,{path:"/diagnostics",element:B.jsx(SO,{})}),B.jsx(ji,{path:"*",element:B.jsx(f_,{to:"/",replace:!0})})]})})]})}const _O=new y4({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),CO=document.getElementById("root");gB.createRoot(CO).render(B.jsx(b.StrictMode,{children:B.jsx(x4,{client:_O,children:B.jsx(QM,{children:B.jsx(q_,{children:B.jsx(BO,{})})})})}));
|