@pacaf/wizard-ux 3.5.2 → 3.6.1

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,4 +1,4 @@
1
- var SB=Object.defineProperty;var O1=e=>{throw TypeError(e)};var kB=(e,o,n)=>o in e?SB(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n;var P=(e,o,n)=>kB(e,typeof o!="symbol"?o+"":o,n),dp=(e,o,n)=>o.has(e)||O1("Cannot "+n);var M=(e,o,n)=>(dp(e,o,"read from private field"),n?n.call(e):o.get(e)),xe=(e,o,n)=>o.has(e)?O1("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(e):o.set(e,n),pe=(e,o,n,a)=>(dp(e,o,"write to private field"),a?a.call(e,n):o.set(e,n),n),Re=(e,o,n)=>(dp(e,o,"access private method"),n);var Du=(e,o,n,a)=>({set _(l){pe(e,o,l,n)},get _(){return M(e,o,a)}});function t2(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 o2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fp={exports:{}},Ts={};/**
1
+ var BB=Object.defineProperty;var F1=e=>{throw TypeError(e)};var _B=(e,o,n)=>o in e?BB(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n;var P=(e,o,n)=>_B(e,typeof o!="symbol"?o+"":o,n),dp=(e,o,n)=>o.has(e)||F1("Cannot "+n);var D=(e,o,n)=>(dp(e,o,"read from private field"),n?n.call(e):o.get(e)),xe=(e,o,n)=>o.has(e)?F1("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(e):o.set(e,n),pe=(e,o,n,a)=>(dp(e,o,"write to private field"),a?a.call(e,n):o.set(e,n),n),Re=(e,o,n)=>(dp(e,o,"access private method"),n);var Mu=(e,o,n,a)=>({set _(l){pe(e,o,l,n)},get _(){return D(e,o,a)}});function o2(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 r2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fp={exports:{}},Ts={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@ var SB=Object.defineProperty;var O1=e=>{throw TypeError(e)};var kB=(e,o,n)=>o in
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var F1;function BB(){if(F1)return Ts;F1=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 Ts.Fragment=o,Ts.jsx=n,Ts.jsxs=n,Ts}var q1;function _B(){return q1||(q1=1,fp.exports=BB()),fp.exports}var y=_B();const zB=o2(y),CB=t2({__proto__:null,default:zB},[y]);var hp={exports:{}},Ce={};/**
9
+ */var q1;function CB(){if(q1)return Ts;q1=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 Ts.Fragment=o,Ts.jsx=n,Ts.jsxs=n,Ts}var H1;function zB(){return H1||(H1=1,fp.exports=CB()),fp.exports}var y=zB();const NB=r2(y),TB=o2({__proto__:null,default:NB},[y]);var hp={exports:{}},ze={};/**
10
10
  * @license React
11
11
  * react.production.js
12
12
  *
@@ -14,7 +14,7 @@ var SB=Object.defineProperty;var O1=e=>{throw TypeError(e)};var kB=(e,o,n)=>o in
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var H1;function NB(){if(H1)return Ce;H1=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 B(q){return q===null||typeof q!="object"?null:(q=w&&q[w]||q["@@iterator"],typeof q=="function"?q:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,C={};function _(q,U,J){this.props=q,this.context=U,this.refs=C,this.updater=J||k}_.prototype.isReactComponent={},_.prototype.setState=function(q,U){if(typeof q!="object"&&typeof q!="function"&&q!=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,q,U,"setState")},_.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};function j(){}j.prototype=_.prototype;function z(q,U,J){this.props=q,this.context=U,this.refs=C,this.updater=J||k}var T=z.prototype=new j;T.constructor=z,x(T,_.prototype),T.isPureReactComponent=!0;var E=Array.isArray;function R(){}var F={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function X(q,U,J){var se=J.ref;return{$$typeof:e,type:q,key:U,ref:se!==void 0?se:null,props:J}}function ee(q,U){return X(q.type,U,q.props)}function he(q){return typeof q=="object"&&q!==null&&q.$$typeof===e}function ie(q){var U={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(J){return U[J]})}var ue=/\/+/g;function le(q,U){return typeof q=="object"&&q!==null&&q.key!=null?ie(""+q.key):U.toString(36)}function Q(q){switch(q.status){case"fulfilled":return q.value;case"rejected":throw q.reason;default:switch(typeof q.status=="string"?q.then(R,R):(q.status="pending",q.then(function(U){q.status==="pending"&&(q.status="fulfilled",q.value=U)},function(U){q.status==="pending"&&(q.status="rejected",q.reason=U)})),q.status){case"fulfilled":return q.value;case"rejected":throw q.reason}}throw q}function L(q,U,J,se,me){var _e=typeof q;(_e==="undefined"||_e==="boolean")&&(q=null);var Fe=!1;if(q===null)Fe=!0;else switch(_e){case"bigint":case"string":case"number":Fe=!0;break;case"object":switch(q.$$typeof){case e:case o:Fe=!0;break;case v:return Fe=q._init,L(Fe(q._payload),U,J,se,me)}}if(Fe)return me=me(q),Fe=se===""?"."+le(q,0):se,E(me)?(J="",Fe!=null&&(J=Fe.replace(ue,"$&/")+"/"),L(me,U,J,"",function(kn){return kn})):me!=null&&(he(me)&&(me=ee(me,J+(me.key==null||q&&q.key===me.key?"":(""+me.key).replace(ue,"$&/")+"/")+Fe)),U.push(me)),1;Fe=0;var Bt=se===""?".":se+":";if(E(q))for(var ft=0;ft<q.length;ft++)se=q[ft],_e=Bt+le(se,ft),Fe+=L(se,U,J,_e,me);else if(ft=B(q),typeof ft=="function")for(q=ft.call(q),ft=0;!(se=q.next()).done;)se=se.value,_e=Bt+le(se,ft++),Fe+=L(se,U,J,_e,me);else if(_e==="object"){if(typeof q.then=="function")return L(Q(q),U,J,se,me);throw U=String(q),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(q).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return Fe}function te(q,U,J){if(q==null)return q;var se=[],me=0;return L(q,se,"","",function(_e){return U.call(J,_e,me++)}),se}function oe(q){if(q._status===-1){var U=q._result;U=U(),U.then(function(J){(q._status===0||q._status===-1)&&(q._status=1,q._result=J)},function(J){(q._status===0||q._status===-1)&&(q._status=2,q._result=J)}),q._status===-1&&(q._status=0,q._result=U)}if(q._status===1)return q._result.default;throw q._result}var fe=typeof reportError=="function"?reportError:function(q){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof q=="object"&&q!==null&&typeof q.message=="string"?String(q.message):String(q),error:q});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",q);return}console.error(q)},Se={map:te,forEach:function(q,U,J){te(q,function(){U.apply(this,arguments)},J)},count:function(q){var U=0;return te(q,function(){U++}),U},toArray:function(q){return te(q,function(U){return U})||[]},only:function(q){if(!he(q))throw Error("React.Children.only expected to receive a single React element child.");return q}};return Ce.Activity=m,Ce.Children=Se,Ce.Component=_,Ce.Fragment=n,Ce.Profiler=l,Ce.PureComponent=z,Ce.StrictMode=a,Ce.Suspense=h,Ce.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,Ce.__COMPILER_RUNTIME={__proto__:null,c:function(q){return F.H.useMemoCache(q)}},Ce.cache=function(q){return function(){return q.apply(null,arguments)}},Ce.cacheSignal=function(){return null},Ce.cloneElement=function(q,U,J){if(q==null)throw Error("The argument must be a React element, but you passed "+q+".");var se=x({},q.props),me=q.key;if(U!=null)for(_e in U.key!==void 0&&(me=""+U.key),U)!O.call(U,_e)||_e==="key"||_e==="__self"||_e==="__source"||_e==="ref"&&U.ref===void 0||(se[_e]=U[_e]);var _e=arguments.length-2;if(_e===1)se.children=J;else if(1<_e){for(var Fe=Array(_e),Bt=0;Bt<_e;Bt++)Fe[Bt]=arguments[Bt+2];se.children=Fe}return X(q.type,me,se)},Ce.createContext=function(q){return q={$$typeof:u,_currentValue:q,_currentValue2:q,_threadCount:0,Provider:null,Consumer:null},q.Provider=q,q.Consumer={$$typeof:c,_context:q},q},Ce.createElement=function(q,U,J){var se,me={},_e=null;if(U!=null)for(se in U.key!==void 0&&(_e=""+U.key),U)O.call(U,se)&&se!=="key"&&se!=="__self"&&se!=="__source"&&(me[se]=U[se]);var Fe=arguments.length-2;if(Fe===1)me.children=J;else if(1<Fe){for(var Bt=Array(Fe),ft=0;ft<Fe;ft++)Bt[ft]=arguments[ft+2];me.children=Bt}if(q&&q.defaultProps)for(se in Fe=q.defaultProps,Fe)me[se]===void 0&&(me[se]=Fe[se]);return X(q,_e,me)},Ce.createRef=function(){return{current:null}},Ce.forwardRef=function(q){return{$$typeof:d,render:q}},Ce.isValidElement=he,Ce.lazy=function(q){return{$$typeof:v,_payload:{_status:-1,_result:q},_init:oe}},Ce.memo=function(q,U){return{$$typeof:p,type:q,compare:U===void 0?null:U}},Ce.startTransition=function(q){var U=F.T,J={};F.T=J;try{var se=q(),me=F.S;me!==null&&me(J,se),typeof se=="object"&&se!==null&&typeof se.then=="function"&&se.then(R,fe)}catch(_e){fe(_e)}finally{U!==null&&J.types!==null&&(U.types=J.types),F.T=U}},Ce.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},Ce.use=function(q){return F.H.use(q)},Ce.useActionState=function(q,U,J){return F.H.useActionState(q,U,J)},Ce.useCallback=function(q,U){return F.H.useCallback(q,U)},Ce.useContext=function(q){return F.H.useContext(q)},Ce.useDebugValue=function(){},Ce.useDeferredValue=function(q,U){return F.H.useDeferredValue(q,U)},Ce.useEffect=function(q,U){return F.H.useEffect(q,U)},Ce.useEffectEvent=function(q){return F.H.useEffectEvent(q)},Ce.useId=function(){return F.H.useId()},Ce.useImperativeHandle=function(q,U,J){return F.H.useImperativeHandle(q,U,J)},Ce.useInsertionEffect=function(q,U){return F.H.useInsertionEffect(q,U)},Ce.useLayoutEffect=function(q,U){return F.H.useLayoutEffect(q,U)},Ce.useMemo=function(q,U){return F.H.useMemo(q,U)},Ce.useOptimistic=function(q,U){return F.H.useOptimistic(q,U)},Ce.useReducer=function(q,U,J){return F.H.useReducer(q,U,J)},Ce.useRef=function(q){return F.H.useRef(q)},Ce.useState=function(q){return F.H.useState(q)},Ce.useSyncExternalStore=function(q,U,J){return F.H.useSyncExternalStore(q,U,J)},Ce.useTransition=function(){return F.H.useTransition()},Ce.version="19.2.6",Ce}var P1;function _d(){return P1||(P1=1,hp.exports=NB()),hp.exports}var b=_d();const Vp=o2(b),nd=t2({__proto__:null,default:Vp},[b]);var pp={exports:{}},Es={},gp={exports:{}},mp={};/**
17
+ */var P1;function jB(){if(P1)return ze;P1=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 B(q){return q===null||typeof q!="object"?null:(q=w&&q[w]||q["@@iterator"],typeof q=="function"?q:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,z={};function _(q,U,J){this.props=q,this.context=U,this.refs=z,this.updater=J||k}_.prototype.isReactComponent={},_.prototype.setState=function(q,U){if(typeof q!="object"&&typeof q!="function"&&q!=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,q,U,"setState")},_.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};function E(){}E.prototype=_.prototype;function C(q,U,J){this.props=q,this.context=U,this.refs=z,this.updater=J||k}var T=C.prototype=new E;T.constructor=C,x(T,_.prototype),T.isPureReactComponent=!0;var j=Array.isArray;function R(){}var F={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function X(q,U,J){var se=J.ref;return{$$typeof:e,type:q,key:U,ref:se!==void 0?se:null,props:J}}function ee(q,U){return X(q.type,U,q.props)}function he(q){return typeof q=="object"&&q!==null&&q.$$typeof===e}function ie(q){var U={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(J){return U[J]})}var ue=/\/+/g;function le(q,U){return typeof q=="object"&&q!==null&&q.key!=null?ie(""+q.key):U.toString(36)}function Z(q){switch(q.status){case"fulfilled":return q.value;case"rejected":throw q.reason;default:switch(typeof q.status=="string"?q.then(R,R):(q.status="pending",q.then(function(U){q.status==="pending"&&(q.status="fulfilled",q.value=U)},function(U){q.status==="pending"&&(q.status="rejected",q.reason=U)})),q.status){case"fulfilled":return q.value;case"rejected":throw q.reason}}throw q}function L(q,U,J,se,me){var _e=typeof q;(_e==="undefined"||_e==="boolean")&&(q=null);var Fe=!1;if(q===null)Fe=!0;else switch(_e){case"bigint":case"string":case"number":Fe=!0;break;case"object":switch(q.$$typeof){case e:case o:Fe=!0;break;case v:return Fe=q._init,L(Fe(q._payload),U,J,se,me)}}if(Fe)return me=me(q),Fe=se===""?"."+le(q,0):se,j(me)?(J="",Fe!=null&&(J=Fe.replace(ue,"$&/")+"/"),L(me,U,J,"",function(kn){return kn})):me!=null&&(he(me)&&(me=ee(me,J+(me.key==null||q&&q.key===me.key?"":(""+me.key).replace(ue,"$&/")+"/")+Fe)),U.push(me)),1;Fe=0;var Bt=se===""?".":se+":";if(j(q))for(var ft=0;ft<q.length;ft++)se=q[ft],_e=Bt+le(se,ft),Fe+=L(se,U,J,_e,me);else if(ft=B(q),typeof ft=="function")for(q=ft.call(q),ft=0;!(se=q.next()).done;)se=se.value,_e=Bt+le(se,ft++),Fe+=L(se,U,J,_e,me);else if(_e==="object"){if(typeof q.then=="function")return L(Z(q),U,J,se,me);throw U=String(q),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(q).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return Fe}function te(q,U,J){if(q==null)return q;var se=[],me=0;return L(q,se,"","",function(_e){return U.call(J,_e,me++)}),se}function oe(q){if(q._status===-1){var U=q._result;U=U(),U.then(function(J){(q._status===0||q._status===-1)&&(q._status=1,q._result=J)},function(J){(q._status===0||q._status===-1)&&(q._status=2,q._result=J)}),q._status===-1&&(q._status=0,q._result=U)}if(q._status===1)return q._result.default;throw q._result}var fe=typeof reportError=="function"?reportError:function(q){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof q=="object"&&q!==null&&typeof q.message=="string"?String(q.message):String(q),error:q});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",q);return}console.error(q)},Se={map:te,forEach:function(q,U,J){te(q,function(){U.apply(this,arguments)},J)},count:function(q){var U=0;return te(q,function(){U++}),U},toArray:function(q){return te(q,function(U){return U})||[]},only:function(q){if(!he(q))throw Error("React.Children.only expected to receive a single React element child.");return q}};return ze.Activity=m,ze.Children=Se,ze.Component=_,ze.Fragment=n,ze.Profiler=l,ze.PureComponent=C,ze.StrictMode=a,ze.Suspense=h,ze.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,ze.__COMPILER_RUNTIME={__proto__:null,c:function(q){return F.H.useMemoCache(q)}},ze.cache=function(q){return function(){return q.apply(null,arguments)}},ze.cacheSignal=function(){return null},ze.cloneElement=function(q,U,J){if(q==null)throw Error("The argument must be a React element, but you passed "+q+".");var se=x({},q.props),me=q.key;if(U!=null)for(_e in U.key!==void 0&&(me=""+U.key),U)!O.call(U,_e)||_e==="key"||_e==="__self"||_e==="__source"||_e==="ref"&&U.ref===void 0||(se[_e]=U[_e]);var _e=arguments.length-2;if(_e===1)se.children=J;else if(1<_e){for(var Fe=Array(_e),Bt=0;Bt<_e;Bt++)Fe[Bt]=arguments[Bt+2];se.children=Fe}return X(q.type,me,se)},ze.createContext=function(q){return q={$$typeof:u,_currentValue:q,_currentValue2:q,_threadCount:0,Provider:null,Consumer:null},q.Provider=q,q.Consumer={$$typeof:c,_context:q},q},ze.createElement=function(q,U,J){var se,me={},_e=null;if(U!=null)for(se in U.key!==void 0&&(_e=""+U.key),U)O.call(U,se)&&se!=="key"&&se!=="__self"&&se!=="__source"&&(me[se]=U[se]);var Fe=arguments.length-2;if(Fe===1)me.children=J;else if(1<Fe){for(var Bt=Array(Fe),ft=0;ft<Fe;ft++)Bt[ft]=arguments[ft+2];me.children=Bt}if(q&&q.defaultProps)for(se in Fe=q.defaultProps,Fe)me[se]===void 0&&(me[se]=Fe[se]);return X(q,_e,me)},ze.createRef=function(){return{current:null}},ze.forwardRef=function(q){return{$$typeof:d,render:q}},ze.isValidElement=he,ze.lazy=function(q){return{$$typeof:v,_payload:{_status:-1,_result:q},_init:oe}},ze.memo=function(q,U){return{$$typeof:p,type:q,compare:U===void 0?null:U}},ze.startTransition=function(q){var U=F.T,J={};F.T=J;try{var se=q(),me=F.S;me!==null&&me(J,se),typeof se=="object"&&se!==null&&typeof se.then=="function"&&se.then(R,fe)}catch(_e){fe(_e)}finally{U!==null&&J.types!==null&&(U.types=J.types),F.T=U}},ze.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},ze.use=function(q){return F.H.use(q)},ze.useActionState=function(q,U,J){return F.H.useActionState(q,U,J)},ze.useCallback=function(q,U){return F.H.useCallback(q,U)},ze.useContext=function(q){return F.H.useContext(q)},ze.useDebugValue=function(){},ze.useDeferredValue=function(q,U){return F.H.useDeferredValue(q,U)},ze.useEffect=function(q,U){return F.H.useEffect(q,U)},ze.useEffectEvent=function(q){return F.H.useEffectEvent(q)},ze.useId=function(){return F.H.useId()},ze.useImperativeHandle=function(q,U,J){return F.H.useImperativeHandle(q,U,J)},ze.useInsertionEffect=function(q,U){return F.H.useInsertionEffect(q,U)},ze.useLayoutEffect=function(q,U){return F.H.useLayoutEffect(q,U)},ze.useMemo=function(q,U){return F.H.useMemo(q,U)},ze.useOptimistic=function(q,U){return F.H.useOptimistic(q,U)},ze.useReducer=function(q,U,J){return F.H.useReducer(q,U,J)},ze.useRef=function(q){return F.H.useRef(q)},ze.useState=function(q){return F.H.useState(q)},ze.useSyncExternalStore=function(q,U,J){return F.H.useSyncExternalStore(q,U,J)},ze.useTransition=function(){return F.H.useTransition()},ze.version="19.2.6",ze}var I1;function _d(){return I1||(I1=1,hp.exports=jB()),hp.exports}var b=_d();const Gp=r2(b),nd=o2({__proto__:null,default:Gp},[b]);var pp={exports:{}},js={},gp={exports:{}},mp={};/**
18
18
  * @license React
19
19
  * scheduler.production.js
20
20
  *
@@ -22,7 +22,7 @@ var SB=Object.defineProperty;var O1=e=>{throw TypeError(e)};var kB=(e,o,n)=>o in
22
22
  *
23
23
  * This source code is licensed under the MIT license found in the
24
24
  * LICENSE file in the root directory of this source tree.
25
- */var I1;function TB(){return I1||(I1=1,(function(e){function o(L,te){var oe=L.length;L.push(te);e:for(;0<oe;){var fe=oe-1>>>1,Se=L[fe];if(0<l(Se,te))L[fe]=te,L[oe]=Se,oe=fe;else break e}}function n(L){return L.length===0?null:L[0]}function a(L){if(L.length===0)return null;var te=L[0],oe=L.pop();if(oe!==te){L[0]=oe;e:for(var fe=0,Se=L.length,q=Se>>>1;fe<q;){var U=2*(fe+1)-1,J=L[U],se=U+1,me=L[se];if(0>l(J,oe))se<Se&&0>l(me,J)?(L[fe]=me,L[se]=oe,fe=se):(L[fe]=J,L[U]=oe,fe=U);else if(se<Se&&0>l(me,oe))L[fe]=me,L[se]=oe,fe=se;else break e}}return te}function l(L,te){var oe=L.sortIndex-te.sortIndex;return oe!==0?oe:L.id-te.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,B=!1,k=!1,x=!1,C=!1,_=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;function T(L){for(var te=n(p);te!==null;){if(te.callback===null)a(p);else if(te.startTime<=L)a(p),te.sortIndex=te.expirationTime,o(h,te);else break;te=n(p)}}function E(L){if(x=!1,T(L),!k)if(n(h)!==null)k=!0,R||(R=!0,ie());else{var te=n(p);te!==null&&Q(E,te.startTime-L)}}var R=!1,F=-1,O=5,X=-1;function ee(){return C?!0:!(e.unstable_now()-X<O)}function he(){if(C=!1,R){var L=e.unstable_now();X=L;var te=!0;try{e:{k=!1,x&&(x=!1,j(F),F=-1),B=!0;var oe=w;try{t:{for(T(L),m=n(h);m!==null&&!(m.expirationTime>L&&ee());){var fe=m.callback;if(typeof fe=="function"){m.callback=null,w=m.priorityLevel;var Se=fe(m.expirationTime<=L);if(L=e.unstable_now(),typeof Se=="function"){m.callback=Se,T(L),te=!0;break t}m===n(h)&&a(h),T(L)}else a(h);m=n(h)}if(m!==null)te=!0;else{var q=n(p);q!==null&&Q(E,q.startTime-L),te=!1}}break e}finally{m=null,w=oe,B=!1}te=void 0}}finally{te?ie():R=!1}}}var ie;if(typeof z=="function")ie=function(){z(he)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,le=ue.port2;ue.port1.onmessage=he,ie=function(){le.postMessage(null)}}else ie=function(){_(he,0)};function Q(L,te){F=_(function(){L(e.unstable_now())},te)}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(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_next=function(L){switch(w){case 1:case 2:case 3:var te=3;break;default:te=w}var oe=w;w=te;try{return L()}finally{w=oe}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(L,te){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var oe=w;w=L;try{return te()}finally{w=oe}},e.unstable_scheduleCallback=function(L,te,oe){var fe=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?fe+oe:fe):oe=fe,L){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=oe+Se,L={id:v++,callback:te,priorityLevel:L,startTime:oe,expirationTime:Se,sortIndex:-1},oe>fe?(L.sortIndex=oe,o(p,L),n(h)===null&&L===n(p)&&(x?(j(F),F=-1):x=!0,Q(E,oe-fe))):(L.sortIndex=Se,o(h,L),k||B||(k=!0,R||(R=!0,ie()))),L},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(L){var te=w;return function(){var oe=w;w=te;try{return L.apply(this,arguments)}finally{w=oe}}}})(mp)),mp}var L1;function r2(){return L1||(L1=1,gp.exports=TB()),gp.exports}var vp={exports:{}},Xt={};/**
25
+ */var L1;function EB(){return L1||(L1=1,(function(e){function o(L,te){var oe=L.length;L.push(te);e:for(;0<oe;){var fe=oe-1>>>1,Se=L[fe];if(0<l(Se,te))L[fe]=te,L[oe]=Se,oe=fe;else break e}}function n(L){return L.length===0?null:L[0]}function a(L){if(L.length===0)return null;var te=L[0],oe=L.pop();if(oe!==te){L[0]=oe;e:for(var fe=0,Se=L.length,q=Se>>>1;fe<q;){var U=2*(fe+1)-1,J=L[U],se=U+1,me=L[se];if(0>l(J,oe))se<Se&&0>l(me,J)?(L[fe]=me,L[se]=oe,fe=se):(L[fe]=J,L[U]=oe,fe=U);else if(se<Se&&0>l(me,oe))L[fe]=me,L[se]=oe,fe=se;else break e}}return te}function l(L,te){var oe=L.sortIndex-te.sortIndex;return oe!==0?oe:L.id-te.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,B=!1,k=!1,x=!1,z=!1,_=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function T(L){for(var te=n(p);te!==null;){if(te.callback===null)a(p);else if(te.startTime<=L)a(p),te.sortIndex=te.expirationTime,o(h,te);else break;te=n(p)}}function j(L){if(x=!1,T(L),!k)if(n(h)!==null)k=!0,R||(R=!0,ie());else{var te=n(p);te!==null&&Z(j,te.startTime-L)}}var R=!1,F=-1,O=5,X=-1;function ee(){return z?!0:!(e.unstable_now()-X<O)}function he(){if(z=!1,R){var L=e.unstable_now();X=L;var te=!0;try{e:{k=!1,x&&(x=!1,E(F),F=-1),B=!0;var oe=w;try{t:{for(T(L),m=n(h);m!==null&&!(m.expirationTime>L&&ee());){var fe=m.callback;if(typeof fe=="function"){m.callback=null,w=m.priorityLevel;var Se=fe(m.expirationTime<=L);if(L=e.unstable_now(),typeof Se=="function"){m.callback=Se,T(L),te=!0;break t}m===n(h)&&a(h),T(L)}else a(h);m=n(h)}if(m!==null)te=!0;else{var q=n(p);q!==null&&Z(j,q.startTime-L),te=!1}}break e}finally{m=null,w=oe,B=!1}te=void 0}}finally{te?ie():R=!1}}}var ie;if(typeof C=="function")ie=function(){C(he)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,le=ue.port2;ue.port1.onmessage=he,ie=function(){le.postMessage(null)}}else ie=function(){_(he,0)};function Z(L,te){F=_(function(){L(e.unstable_now())},te)}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(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_next=function(L){switch(w){case 1:case 2:case 3:var te=3;break;default:te=w}var oe=w;w=te;try{return L()}finally{w=oe}},e.unstable_requestPaint=function(){z=!0},e.unstable_runWithPriority=function(L,te){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var oe=w;w=L;try{return te()}finally{w=oe}},e.unstable_scheduleCallback=function(L,te,oe){var fe=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?fe+oe:fe):oe=fe,L){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=oe+Se,L={id:v++,callback:te,priorityLevel:L,startTime:oe,expirationTime:Se,sortIndex:-1},oe>fe?(L.sortIndex=oe,o(p,L),n(h)===null&&L===n(p)&&(x?(E(F),F=-1):x=!0,Z(j,oe-fe))):(L.sortIndex=Se,o(h,L),k||B||(k=!0,R||(R=!0,ie()))),L},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(L){var te=w;return function(){var oe=w;w=te;try{return L.apply(this,arguments)}finally{w=oe}}}})(mp)),mp}var U1;function n2(){return U1||(U1=1,gp.exports=EB()),gp.exports}var vp={exports:{}},Xt={};/**
26
26
  * @license React
27
27
  * react-dom.production.js
28
28
  *
@@ -30,7 +30,7 @@ var SB=Object.defineProperty;var O1=e=>{throw TypeError(e)};var kB=(e,o,n)=>o in
30
30
  *
31
31
  * This source code is licensed under the MIT license found in the
32
32
  * LICENSE file in the root directory of this source tree.
33
- */var U1;function EB(){if(U1)return Xt;U1=1;var e=_d();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 Xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Xt.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)},Xt.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()}},Xt.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))},Xt.prefetchDNS=function(h){typeof h=="string"&&a.d.D(h)},Xt.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,B=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:B}):v==="script"&&a.d.X(h,{crossOrigin:m,integrity:w,fetchPriority:B,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Xt.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)},Xt.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})}},Xt.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)},Xt.requestFormReset=function(h){a.d.r(h)},Xt.unstable_batchedUpdates=function(h,p){return h(p)},Xt.useFormState=function(h,p,v){return u.H.useFormState(h,p,v)},Xt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Xt.version="19.2.6",Xt}var V1;function n2(){if(V1)return vp.exports;V1=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(),vp.exports=EB(),vp.exports}/**
33
+ */var V1;function RB(){if(V1)return Xt;V1=1;var e=_d();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 Xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Xt.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)},Xt.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()}},Xt.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))},Xt.prefetchDNS=function(h){typeof h=="string"&&a.d.D(h)},Xt.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,B=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:B}):v==="script"&&a.d.X(h,{crossOrigin:m,integrity:w,fetchPriority:B,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Xt.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)},Xt.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})}},Xt.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)},Xt.requestFormReset=function(h){a.d.r(h)},Xt.unstable_batchedUpdates=function(h,p){return h(p)},Xt.useFormState=function(h,p,v){return u.H.useFormState(h,p,v)},Xt.useFormStatus=function(){return u.H.useHostTransitionStatus()},Xt.version="19.2.6",Xt}var G1;function a2(){if(G1)return vp.exports;G1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(o){console.error(o)}}return e(),vp.exports=RB(),vp.exports}/**
34
34
  * @license React
35
35
  * react-dom-client.production.js
36
36
  *
@@ -38,15 +38,15 @@ var SB=Object.defineProperty;var O1=e=>{throw TypeError(e)};var kB=(e,o,n)=>o in
38
38
  *
39
39
  * This source code is licensed under the MIT license found in the
40
40
  * LICENSE file in the root directory of this source tree.
41
- */var G1;function jB(){if(G1)return Es;G1=1;var e=r2(),o=_d(),n=n2();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 S=!1,N=f.child;N;){if(N===i){S=!0,i=f,s=g;break}if(N===s){S=!0,s=f,i=g;break}N=N.sibling}if(!S){for(N=g.child;N;){if(N===i){S=!0,i=g,s=f;break}if(N===s){S=!0,s=g,i=f;break}N=N.sibling}if(!S)throw Error(a(189))}}if(i.alternate!==s)throw Error(a(190))}if(i.tag!==3)throw Error(a(188));return i.stateNode.current===i?t:r}function v(t){var r=t.tag;if(r===5||r===26||r===27||r===6)return t;for(t=t.child;t!==null;){if(r=v(t),r!==null)return r;t=t.sibling}return null}var m=Object.assign,w=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),j=Symbol.for("react.consumer"),z=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),X=Symbol.for("react.activity"),ee=Symbol.for("react.memo_cache_sentinel"),he=Symbol.iterator;function ie(t){return t===null||typeof t!="object"?null:(t=he&&t[he]||t["@@iterator"],typeof t=="function"?t:null)}var ue=Symbol.for("react.client.reference");function le(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ue?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case x:return"Fragment";case _:return"Profiler";case C:return"StrictMode";case E:return"Suspense";case R:return"SuspenseList";case X:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case k:return"Portal";case z:return t.displayName||"Context";case j: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 F:return r=t.displayName||null,r!==null?r:le(t.type)||"Memo";case O:r=t._payload,t=t._init;try{return le(t(r))}catch{}}return null}var Q=Array.isArray,L=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},fe=[],Se=-1;function q(t){return{current:t}}function U(t){0>Se||(t.current=fe[Se],fe[Se]=null,Se--)}function J(t,r){Se++,fe[Se]=t.current,t.current=r}var se=q(null),me=q(null),_e=q(null),Fe=q(null);function Bt(t,r){switch(J(_e,r),J(me,t),J(se,null),r.nodeType){case 9:case 11:t=(t=r.documentElement)&&(t=t.namespaceURI)?a1(t):0;break;default:if(t=r.tagName,r=r.namespaceURI)r=a1(r),t=i1(r,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}U(se),J(se,t)}function ft(){U(se),U(me),U(_e)}function kn(t){t.memoizedState!==null&&J(Fe,t);var r=se.current,i=i1(r,t.type);r!==i&&(J(me,t),J(se,i))}function pa(t){me.current===t&&(U(se),U(me)),Fe.current===t&&(U(Fe),_s._currentValue=oe)}var ri,Ol;function Sr(t){if(ri===void 0)try{throw Error()}catch(i){var r=i.stack.trim().match(/\n( *(at )?)/);ri=r&&r[1]||"",Ol=-1<i.stack.indexOf(`
41
+ */var W1;function AB(){if(W1)return js;W1=1;var e=n2(),o=_d(),n=a2();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 S=!1,N=f.child;N;){if(N===i){S=!0,i=f,s=g;break}if(N===s){S=!0,s=f,i=g;break}N=N.sibling}if(!S){for(N=g.child;N;){if(N===i){S=!0,i=g,s=f;break}if(N===s){S=!0,s=g,i=f;break}N=N.sibling}if(!S)throw Error(a(189))}}if(i.alternate!==s)throw Error(a(190))}if(i.tag!==3)throw Error(a(188));return i.stateNode.current===i?t:r}function v(t){var r=t.tag;if(r===5||r===26||r===27||r===6)return t;for(t=t.child;t!==null;){if(r=v(t),r!==null)return r;t=t.sibling}return null}var m=Object.assign,w=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),C=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),X=Symbol.for("react.activity"),ee=Symbol.for("react.memo_cache_sentinel"),he=Symbol.iterator;function ie(t){return t===null||typeof t!="object"?null:(t=he&&t[he]||t["@@iterator"],typeof t=="function"?t:null)}var ue=Symbol.for("react.client.reference");function le(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ue?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case x:return"Fragment";case _:return"Profiler";case z:return"StrictMode";case j:return"Suspense";case R:return"SuspenseList";case X:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case k:return"Portal";case C:return t.displayName||"Context";case E: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 F:return r=t.displayName||null,r!==null?r:le(t.type)||"Memo";case O:r=t._payload,t=t._init;try{return le(t(r))}catch{}}return null}var Z=Array.isArray,L=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},fe=[],Se=-1;function q(t){return{current:t}}function U(t){0>Se||(t.current=fe[Se],fe[Se]=null,Se--)}function J(t,r){Se++,fe[Se]=t.current,t.current=r}var se=q(null),me=q(null),_e=q(null),Fe=q(null);function Bt(t,r){switch(J(_e,r),J(me,t),J(se,null),r.nodeType){case 9:case 11:t=(t=r.documentElement)&&(t=t.namespaceURI)?i1(t):0;break;default:if(t=r.tagName,r=r.namespaceURI)r=i1(r),t=l1(r,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}U(se),J(se,t)}function ft(){U(se),U(me),U(_e)}function kn(t){t.memoizedState!==null&&J(Fe,t);var r=se.current,i=l1(r,t.type);r!==i&&(J(me,t),J(se,i))}function pa(t){me.current===t&&(U(se),U(me)),Fe.current===t&&(U(Fe),_s._currentValue=oe)}var ri,Ol;function Sr(t){if(ri===void 0)try{throw Error()}catch(i){var r=i.stack.trim().match(/\n( *(at )?)/);ri=r&&r[1]||"",Ol=-1<i.stack.indexOf(`
42
42
  at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
43
- `+ri+t+Ol}var qe=!1;function tt(t,r){if(!t||qe)return"";qe=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(r){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(K){var W=K}Reflect.construct(t,[],re)}else{try{re.call()}catch(K){W=K}t.call(re.prototype)}}else{try{throw Error()}catch(K){W=K}(re=t())&&typeof re.catch=="function"&&re.catch(function(){})}}catch(K){if(K&&W&&typeof K.stack=="string")return[K.stack,W.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(),S=g[0],N=g[1];if(S&&N){var D=S.split(`
43
+ `+ri+t+Ol}var qe=!1;function tt(t,r){if(!t||qe)return"";qe=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(r){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(K){var W=K}Reflect.construct(t,[],re)}else{try{re.call()}catch(K){W=K}t.call(re.prototype)}}else{try{throw Error()}catch(K){W=K}(re=t())&&typeof re.catch=="function"&&re.catch(function(){})}}catch(K){if(K&&W&&typeof K.stack=="string")return[K.stack,W.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(),S=g[0],N=g[1];if(S&&N){var M=S.split(`
44
44
  `),G=N.split(`
45
- `);for(f=s=0;s<D.length&&!D[s].includes("DetermineComponentFrameRoot");)s++;for(;f<G.length&&!G[f].includes("DetermineComponentFrameRoot");)f++;if(s===D.length||f===G.length)for(s=D.length-1,f=G.length-1;1<=s&&0<=f&&D[s]!==G[f];)f--;for(;1<=s&&0<=f;s--,f--)if(D[s]!==G[f]){if(s!==1||f!==1)do if(s--,f--,0>f||D[s]!==G[f]){var Z=`
46
- `+D[s].replace(" at new "," at ");return t.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",t.displayName)),Z}while(1<=s&&0<=f);break}}}finally{qe=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?Sr(i):""}function Wt(t,r){switch(t.tag){case 26:case 27:case 5:return Sr(t.type);case 16:return Sr("Lazy");case 13:return t.child!==r&&r!==null?Sr("Suspense Fallback"):Sr("Suspense");case 19:return Sr("SuspenseList");case 0:case 15:return tt(t.type,!1);case 11:return tt(t.type.render,!1);case 1:return tt(t.type,!0);case 31:return Sr("Activity");default:return""}}function Fo(t){try{var r="",i=null;do r+=Wt(t,i),i=t,t=t.return;while(t);return r}catch(s){return`
45
+ `);for(f=s=0;s<M.length&&!M[s].includes("DetermineComponentFrameRoot");)s++;for(;f<G.length&&!G[f].includes("DetermineComponentFrameRoot");)f++;if(s===M.length||f===G.length)for(s=M.length-1,f=G.length-1;1<=s&&0<=f&&M[s]!==G[f];)f--;for(;1<=s&&0<=f;s--,f--)if(M[s]!==G[f]){if(s!==1||f!==1)do if(s--,f--,0>f||M[s]!==G[f]){var Q=`
46
+ `+M[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{qe=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?Sr(i):""}function Wt(t,r){switch(t.tag){case 26:case 27:case 5:return Sr(t.type);case 16:return Sr("Lazy");case 13:return t.child!==r&&r!==null?Sr("Suspense Fallback"):Sr("Suspense");case 19:return Sr("SuspenseList");case 0:case 15:return tt(t.type,!1);case 11:return tt(t.type.render,!1);case 1:return tt(t.type,!0);case 31:return Sr("Activity");default:return""}}function Ho(t){try{var r="",i=null;do r+=Wt(t,i),i=t,t=t.return;while(t);return r}catch(s){return`
47
47
  Error generating stack: `+s.message+`
48
- `+s.stack}}var ar=Object.prototype.hasOwnProperty,kr=e.unstable_scheduleCallback,Hr=e.unstable_cancelCallback,ek=e.unstable_shouldYield,tk=e.unstable_requestPaint,vo=e.unstable_now,ok=e.unstable_getCurrentPriorityLevel,Fm=e.unstable_ImmediatePriority,qm=e.unstable_UserBlockingPriority,vc=e.unstable_NormalPriority,rk=e.unstable_LowPriority,Hm=e.unstable_IdlePriority,nk=e.log,ak=e.unstable_setDisableYieldValue,Fl=null,bo=null;function Bn(t){if(typeof nk=="function"&&ak(t),bo&&typeof bo.setStrictMode=="function")try{bo.setStrictMode(Fl,t)}catch{}}var yo=Math.clz32?Math.clz32:sk,ik=Math.log,lk=Math.LN2;function sk(t){return t>>>=0,t===0?32:31-(ik(t)/lk|0)|0}var bc=256,yc=262144,xc=4194304;function ga(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 wc(t,r,i){var s=t.pendingLanes;if(s===0)return 0;var f=0,g=t.suspendedLanes,S=t.pingedLanes;t=t.warmLanes;var N=s&134217727;return N!==0?(s=N&~g,s!==0?f=ga(s):(S&=N,S!==0?f=ga(S):i||(i=N&~t,i!==0&&(f=ga(i))))):(N=s&~g,N!==0?f=ga(N):S!==0?f=ga(S):i||(i=s&~t,i!==0&&(f=ga(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 ql(t,r){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&r)===0}function ck(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 Pm(){var t=xc;return xc<<=1,(xc&62914560)===0&&(xc=4194304),t}function Yd(t){for(var r=[],i=0;31>i;i++)r.push(t);return r}function Hl(t,r){t.pendingLanes|=r,r!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function uk(t,r,i,s,f,g){var S=t.pendingLanes;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=i,t.entangledLanes&=i,t.errorRecoveryDisabledLanes&=i,t.shellSuspendCounter=0;var N=t.entanglements,D=t.expirationTimes,G=t.hiddenUpdates;for(i=S&~i;0<i;){var Z=31-yo(i),re=1<<Z;N[Z]=0,D[Z]=-1;var W=G[Z];if(W!==null)for(G[Z]=null,Z=0;Z<W.length;Z++){var K=W[Z];K!==null&&(K.lane&=-536870913)}i&=~re}s!==0&&Im(t,s,0),g!==0&&f===0&&t.tag!==0&&(t.suspendedLanes|=g&~(S&~r))}function Im(t,r,i){t.pendingLanes|=r,t.suspendedLanes&=~r;var s=31-yo(r);t.entangledLanes|=r,t.entanglements[s]=t.entanglements[s]|1073741824|i&261930}function Lm(t,r){var i=t.entangledLanes|=r;for(t=t.entanglements;i;){var s=31-yo(i),f=1<<s;f&r|t[s]&r&&(t[s]|=r),i&=~f}}function Um(t,r){var i=r&-r;return i=(i&42)!==0?1:Jd(i),(i&(t.suspendedLanes|r))!==0?0:i}function Jd(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 ef(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Vm(){var t=te.p;return t!==0?t:(t=window.event,t===void 0?32:T1(t.type))}function Gm(t,r){var i=te.p;try{return te.p=t,r()}finally{te.p=i}}var _n=Math.random().toString(36).slice(2),Pt="__reactFiber$"+_n,no="__reactProps$"+_n,ni="__reactContainer$"+_n,tf="__reactEvents$"+_n,dk="__reactListeners$"+_n,fk="__reactHandles$"+_n,Wm="__reactResources$"+_n,Pl="__reactMarker$"+_n;function of(t){delete t[Pt],delete t[no],delete t[tf],delete t[dk],delete t[fk]}function ai(t){var r=t[Pt];if(r)return r;for(var i=t.parentNode;i;){if(r=i[ni]||i[Pt]){if(i=r.alternate,r.child!==null||i!==null&&i.child!==null)for(t=h1(t);t!==null;){if(i=t[Pt])return i;t=h1(t)}return r}t=i,i=t.parentNode}return null}function ii(t){if(t=t[Pt]||t[ni]){var r=t.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return t}return null}function Il(t){var r=t.tag;if(r===5||r===26||r===27||r===6)return t.stateNode;throw Error(a(33))}function li(t){var r=t[Wm];return r||(r=t[Wm]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Ot(t){t[Pl]=!0}var Xm=new Set,$m={};function ma(t,r){si(t,r),si(t+"Capture",r)}function si(t,r){for($m[t]=r,t=0;t<r.length;t++)Xm.add(r[t])}var hk=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]*$"),Km={},Qm={};function pk(t){return ar.call(Qm,t)?!0:ar.call(Km,t)?!1:hk.test(t)?Qm[t]=!0:(Km[t]=!0,!1)}function Sc(t,r,i){if(pk(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 kc(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 Pr(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 qo(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Zm(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function gk(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(S){i=""+S,g.call(this,S)}}),Object.defineProperty(t,r,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(S){i=""+S},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function rf(t){if(!t._valueTracker){var r=Zm(t)?"checked":"value";t._valueTracker=gk(t,r,""+t[r])}}function Ym(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var i=r.getValue(),s="";return t&&(s=Zm(t)?t.checked?"true":"false":t.value),t=s,t!==i?(r.setValue(t),!0):!1}function Bc(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 mk=/[\n"\\]/g;function Ho(t){return t.replace(mk,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function nf(t,r,i,s,f,g,S,N){t.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.type=S:t.removeAttribute("type"),r!=null?S==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+qo(r)):t.value!==""+qo(r)&&(t.value=""+qo(r)):S!=="submit"&&S!=="reset"||t.removeAttribute("value"),r!=null?af(t,S,qo(r)):i!=null?af(t,S,qo(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=""+qo(N):t.removeAttribute("name")}function Jm(t,r,i,s,f,g,S,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)){rf(t);return}i=i!=null?""+qo(i):"",r=r!=null?""+qo(r):i,N||r===t.value||(t.value=r),t.defaultValue=r}s=s??f,s=typeof s!="function"&&typeof s!="symbol"&&!!s,t.checked=N?t.checked:!!s,t.defaultChecked=!!s,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(t.name=S),rf(t)}function af(t,r,i){r==="number"&&Bc(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function ci(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=""+qo(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 e0(t,r,i){if(r!=null&&(r=""+qo(r),r!==t.value&&(t.value=r),i==null)){t.defaultValue!==r&&(t.defaultValue=r);return}t.defaultValue=i!=null?""+qo(i):""}function t0(t,r,i,s){if(r==null){if(s!=null){if(i!=null)throw Error(a(92));if(Q(s)){if(1<s.length)throw Error(a(93));s=s[0]}i=s}i==null&&(i=""),r=i}i=qo(r),t.defaultValue=i,s=t.textContent,s===i&&s!==""&&s!==null&&(t.value=s),rf(t)}function ui(t,r){if(r){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=r;return}}t.textContent=r}var vk=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 o0(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||vk.has(r)?r==="float"?t.cssFloat=i:t[r]=(""+i).trim():t[r]=i+"px"}function r0(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&&o0(t,f,s)}else for(var g in r)r.hasOwnProperty(g)&&o0(t,g,r[g])}function lf(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 bk=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"]]),yk=/^[\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 _c(t){return yk.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Ir(){}var sf=null;function cf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var di=null,fi=null;function n0(t){var r=ii(t);if(r&&(t=r.stateNode)){var i=t[no]||null;e:switch(t=r.stateNode,r.type){case"input":if(nf(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="'+Ho(""+r)+'"][type="radio"]'),r=0;r<i.length;r++){var s=i[r];if(s!==t&&s.form===t.form){var f=s[no]||null;if(!f)throw Error(a(90));nf(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&&Ym(s)}break e;case"textarea":e0(t,i.value,i.defaultValue);break e;case"select":r=i.value,r!=null&&ci(t,!!i.multiple,r,!1)}}}var uf=!1;function a0(t,r,i){if(uf)return t(r,i);uf=!0;try{var s=t(r);return s}finally{if(uf=!1,(di!==null||fi!==null)&&(fu(),di&&(r=di,t=fi,fi=di=null,n0(r),t)))for(r=0;r<t.length;r++)n0(t[r])}}function Ll(t,r){var i=t.stateNode;if(i===null)return null;var s=i[no]||null;if(s===null)return null;i=s[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(t=t.type,s=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!s;break e;default:t=!1}if(t)return null;if(i&&typeof i!="function")throw Error(a(231,r,typeof i));return i}var Lr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),df=!1;if(Lr)try{var Ul={};Object.defineProperty(Ul,"passive",{get:function(){df=!0}}),window.addEventListener("test",Ul,Ul),window.removeEventListener("test",Ul,Ul)}catch{df=!1}var zn=null,ff=null,zc=null;function i0(){if(zc)return zc;var t,r=ff,i=r.length,s,f="value"in zn?zn.value:zn.textContent,g=f.length;for(t=0;t<i&&r[t]===f[t];t++);var S=i-t;for(s=1;s<=S&&r[i-s]===f[g-s];s++);return zc=f.slice(t,1<s?1-s:void 0)}function Cc(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 Nc(){return!0}function l0(){return!1}function ao(t){function r(i,s,f,g,S){this._reactName=i,this._targetInst=f,this.type=s,this.nativeEvent=g,this.target=S,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)?Nc:l0,this.isPropagationStopped=l0,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=Nc)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Nc)},persist:function(){},isPersistent:Nc}),r}var va={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tc=ao(va),Vl=m({},va,{view:0,detail:0}),xk=ao(Vl),hf,pf,Gl,Ec=m({},Vl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mf,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!==Gl&&(Gl&&t.type==="mousemove"?(hf=t.screenX-Gl.screenX,pf=t.screenY-Gl.screenY):pf=hf=0,Gl=t),hf)},movementY:function(t){return"movementY"in t?t.movementY:pf}}),s0=ao(Ec),wk=m({},Ec,{dataTransfer:0}),Sk=ao(wk),kk=m({},Vl,{relatedTarget:0}),gf=ao(kk),Bk=m({},va,{animationName:0,elapsedTime:0,pseudoElement:0}),_k=ao(Bk),zk=m({},va,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Ck=ao(zk),Nk=m({},va,{data:0}),c0=ao(Nk),Tk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ek={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"},jk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Rk(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=jk[t])?!!r[t]:!1}function mf(){return Rk}var Ak=m({},Vl,{key:function(t){if(t.key){var r=Tk[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=Cc(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Ek[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mf,charCode:function(t){return t.type==="keypress"?Cc(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Cc(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Dk=ao(Ak),Mk=m({},Ec,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),u0=ao(Mk),Ok=m({},Vl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mf}),Fk=ao(Ok),qk=m({},va,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hk=ao(qk),Pk=m({},Ec,{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}),Ik=ao(Pk),Lk=m({},va,{newState:0,oldState:0}),Uk=ao(Lk),Vk=[9,13,27,32],vf=Lr&&"CompositionEvent"in window,Wl=null;Lr&&"documentMode"in document&&(Wl=document.documentMode);var Gk=Lr&&"TextEvent"in window&&!Wl,d0=Lr&&(!vf||Wl&&8<Wl&&11>=Wl),f0=" ",h0=!1;function p0(t,r){switch(t){case"keyup":return Vk.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function g0(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var hi=!1;function Wk(t,r){switch(t){case"compositionend":return g0(r);case"keypress":return r.which!==32?null:(h0=!0,f0);case"textInput":return t=r.data,t===f0&&h0?null:t;default:return null}}function Xk(t,r){if(hi)return t==="compositionend"||!vf&&p0(t,r)?(t=i0(),zc=ff=zn=null,hi=!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 d0&&r.locale!=="ko"?null:r.data;default:return null}}var $k={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 m0(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!$k[t.type]:r==="textarea"}function v0(t,r,i,s){di?fi?fi.push(s):fi=[s]:di=s,r=yu(r,"onChange"),0<r.length&&(i=new Tc("onChange","change",null,i,s),t.push({event:i,listeners:r}))}var Xl=null,$l=null;function Kk(t){Jb(t,0)}function jc(t){var r=Il(t);if(Ym(r))return t}function b0(t,r){if(t==="change")return r}var y0=!1;if(Lr){var bf;if(Lr){var yf="oninput"in document;if(!yf){var x0=document.createElement("div");x0.setAttribute("oninput","return;"),yf=typeof x0.oninput=="function"}bf=yf}else bf=!1;y0=bf&&(!document.documentMode||9<document.documentMode)}function w0(){Xl&&(Xl.detachEvent("onpropertychange",S0),$l=Xl=null)}function S0(t){if(t.propertyName==="value"&&jc($l)){var r=[];v0(r,$l,t,cf(t)),a0(Kk,r)}}function Qk(t,r,i){t==="focusin"?(w0(),Xl=r,$l=i,Xl.attachEvent("onpropertychange",S0)):t==="focusout"&&w0()}function Zk(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return jc($l)}function Yk(t,r){if(t==="click")return jc(r)}function Jk(t,r){if(t==="input"||t==="change")return jc(r)}function e3(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var xo=typeof Object.is=="function"?Object.is:e3;function Kl(t,r){if(xo(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var i=Object.keys(t),s=Object.keys(r);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var f=i[s];if(!ar.call(r,f)||!xo(t[f],r[f]))return!1}return!0}function k0(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function B0(t,r){var i=k0(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=k0(i)}}function _0(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?_0(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function z0(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var r=Bc(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=Bc(t.document)}return r}function xf(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 t3=Lr&&"documentMode"in document&&11>=document.documentMode,pi=null,wf=null,Ql=null,Sf=!1;function C0(t,r,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Sf||pi==null||pi!==Bc(s)||(s=pi,"selectionStart"in s&&xf(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}),Ql&&Kl(Ql,s)||(Ql=s,s=yu(wf,"onSelect"),0<s.length&&(r=new Tc("onSelect","select",null,r,i),t.push({event:r,listeners:s}),r.target=pi)))}function ba(t,r){var i={};return i[t.toLowerCase()]=r.toLowerCase(),i["Webkit"+t]="webkit"+r,i["Moz"+t]="moz"+r,i}var gi={animationend:ba("Animation","AnimationEnd"),animationiteration:ba("Animation","AnimationIteration"),animationstart:ba("Animation","AnimationStart"),transitionrun:ba("Transition","TransitionRun"),transitionstart:ba("Transition","TransitionStart"),transitioncancel:ba("Transition","TransitionCancel"),transitionend:ba("Transition","TransitionEnd")},kf={},N0={};Lr&&(N0=document.createElement("div").style,"AnimationEvent"in window||(delete gi.animationend.animation,delete gi.animationiteration.animation,delete gi.animationstart.animation),"TransitionEvent"in window||delete gi.transitionend.transition);function ya(t){if(kf[t])return kf[t];if(!gi[t])return t;var r=gi[t],i;for(i in r)if(r.hasOwnProperty(i)&&i in N0)return kf[t]=r[i];return t}var T0=ya("animationend"),E0=ya("animationiteration"),j0=ya("animationstart"),o3=ya("transitionrun"),r3=ya("transitionstart"),n3=ya("transitioncancel"),R0=ya("transitionend"),A0=new Map,Bf="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(" ");Bf.push("scrollEnd");function ir(t,r){A0.set(t,r),ma(r,[t])}var Rc=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)},Po=[],mi=0,_f=0;function Ac(){for(var t=mi,r=_f=mi=0;r<t;){var i=Po[r];Po[r++]=null;var s=Po[r];Po[r++]=null;var f=Po[r];Po[r++]=null;var g=Po[r];if(Po[r++]=null,s!==null&&f!==null){var S=s.pending;S===null?f.next=f:(f.next=S.next,S.next=f),s.pending=f}g!==0&&D0(i,f,g)}}function Dc(t,r,i,s){Po[mi++]=t,Po[mi++]=r,Po[mi++]=i,Po[mi++]=s,_f|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function zf(t,r,i,s){return Dc(t,r,i,s),Mc(t)}function xa(t,r){return Dc(t,null,null,r),Mc(t)}function D0(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-yo(i),t=g.hiddenUpdates,s=t[f],s===null?t[f]=[r]:s.push(r),r.lane=i|536870912),g):null}function Mc(t){if(50<bs)throw bs=0,Mh=null,Error(a(185));for(var r=t.return;r!==null;)t=r,r=t.return;return t.tag===3?t.stateNode:null}var vi={};function a3(t,r,i,s){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wo(t,r,i,s){return new a3(t,r,i,s)}function Cf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Ur(t,r){var i=t.alternate;return i===null?(i=wo(t.tag,r,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=r,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&65011712,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,r=t.dependencies,i.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i.refCleanup=t.refCleanup,i}function M0(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 Oc(t,r,i,s,f,g){var S=0;if(s=t,typeof t=="function")Cf(t)&&(S=1);else if(typeof t=="string")S=uB(t,i,se.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case X:return t=wo(31,i,r,f),t.elementType=X,t.lanes=g,t;case x:return wa(i.children,f,g,r);case C:S=8,f|=24;break;case _:return t=wo(12,i,r,f|2),t.elementType=_,t.lanes=g,t;case E:return t=wo(13,i,r,f),t.elementType=E,t.lanes=g,t;case R:return t=wo(19,i,r,f),t.elementType=R,t.lanes=g,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case z:S=10;break e;case j:S=9;break e;case T:S=11;break e;case F:S=14;break e;case O:S=16,s=null;break e}S=29,i=Error(a(130,t===null?"null":typeof t,"")),s=null}return r=wo(S,i,r,f),r.elementType=t,r.type=s,r.lanes=g,r}function wa(t,r,i,s){return t=wo(7,t,s,r),t.lanes=i,t}function Nf(t,r,i){return t=wo(6,t,null,r),t.lanes=i,t}function O0(t){var r=wo(18,null,null,0);return r.stateNode=t,r}function Tf(t,r,i){return r=wo(4,t.children!==null?t.children:[],t.key,r),r.lanes=i,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}var F0=new WeakMap;function Io(t,r){if(typeof t=="object"&&t!==null){var i=F0.get(t);return i!==void 0?i:(r={value:t,source:r,stack:Fo(r)},F0.set(t,r),r)}return{value:t,source:r,stack:Fo(r)}}var bi=[],yi=0,Fc=null,Zl=0,Lo=[],Uo=0,Cn=null,Br=1,_r="";function Vr(t,r){bi[yi++]=Zl,bi[yi++]=Fc,Fc=t,Zl=r}function q0(t,r,i){Lo[Uo++]=Br,Lo[Uo++]=_r,Lo[Uo++]=Cn,Cn=t;var s=Br;t=_r;var f=32-yo(s)-1;s&=~(1<<f),i+=1;var g=32-yo(r)+f;if(30<g){var S=f-f%5;g=(s&(1<<S)-1).toString(32),s>>=S,f-=S,Br=1<<32-yo(r)+f|i<<f|s,_r=g+t}else Br=1<<g|i<<f|s,_r=t}function Ef(t){t.return!==null&&(Vr(t,1),q0(t,1,0))}function jf(t){for(;t===Fc;)Fc=bi[--yi],bi[yi]=null,Zl=bi[--yi],bi[yi]=null;for(;t===Cn;)Cn=Lo[--Uo],Lo[Uo]=null,_r=Lo[--Uo],Lo[Uo]=null,Br=Lo[--Uo],Lo[Uo]=null}function H0(t,r){Lo[Uo++]=Br,Lo[Uo++]=_r,Lo[Uo++]=Cn,Br=r.id,_r=r.overflow,Cn=t}var It=null,ut=null,Le=!1,Nn=null,Vo=!1,Rf=Error(a(519));function Tn(t){var r=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Yl(Io(r,t)),Rf}function P0(t){var r=t.stateNode,i=t.type,s=t.memoizedProps;switch(r[Pt]=t,r[no]=s,i){case"dialog":Oe("cancel",r),Oe("close",r);break;case"iframe":case"object":case"embed":Oe("load",r);break;case"video":case"audio":for(i=0;i<xs.length;i++)Oe(xs[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),Jm(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),t0(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||r1(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=Ir),r=!0):r=!1,r||Tn(t,!0)}function I0(t){for(It=t.return;It;)switch(It.tag){case 5:case 31:case 13:Vo=!1;return;case 27:case 3:Vo=!0;return;default:It=It.return}}function xi(t){if(t!==It)return!1;if(!Le)return I0(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")||Qh(t.type,t.memoizedProps)),i=!i),i&&ut&&Tn(t),I0(t),r===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));ut=f1(t)}else if(r===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));ut=f1(t)}else r===27?(r=ut,Un(t.type)?(t=tp,tp=null,ut=t):ut=r):ut=It?Wo(t.stateNode.nextSibling):null;return!0}function Sa(){ut=It=null,Le=!1}function Af(){var t=Nn;return t!==null&&(co===null?co=t:co.push.apply(co,t),Nn=null),t}function Yl(t){Nn===null?Nn=[t]:Nn.push(t)}var Df=q(null),ka=null,Gr=null;function En(t,r,i){J(Df,r._currentValue),r._currentValue=i}function Wr(t){t._currentValue=Df.current,U(Df)}function Mf(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 Of(t,r,i,s){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var g=f.dependencies;if(g!==null){var S=f.child;g=g.firstContext;e:for(;g!==null;){var N=g;g=f;for(var D=0;D<r.length;D++)if(N.context===r[D]){g.lanes|=i,N=g.alternate,N!==null&&(N.lanes|=i),Mf(g.return,i,t),s||(S=null);break e}g=N.next}}else if(f.tag===18){if(S=f.return,S===null)throw Error(a(341));S.lanes|=i,g=S.alternate,g!==null&&(g.lanes|=i),Mf(S,i,t),S=null}else S=f.child;if(S!==null)S.return=f;else for(S=f;S!==null;){if(S===t){S=null;break}if(f=S.sibling,f!==null){f.return=S.return,S=f;break}S=S.return}f=S}}function wi(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 S=f.alternate;if(S===null)throw Error(a(387));if(S=S.memoizedProps,S!==null){var N=f.type;xo(f.pendingProps.value,S.value)||(t!==null?t.push(N):t=[N])}}else if(f===Fe.current){if(S=f.alternate,S===null)throw Error(a(387));S.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(t!==null?t.push(_s):t=[_s])}f=f.return}t!==null&&Of(r,t,i,s),r.flags|=262144}function qc(t){for(t=t.firstContext;t!==null;){if(!xo(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ba(t){ka=t,Gr=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Lt(t){return L0(ka,t)}function Hc(t,r){return ka===null&&Ba(t),L0(t,r)}function L0(t,r){var i=r._currentValue;if(r={context:r,memoizedValue:i,next:null},Gr===null){if(t===null)throw Error(a(308));Gr=r,t.dependencies={lanes:0,firstContext:r},t.flags|=524288}else Gr=Gr.next=r;return i}var i3=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()})}},l3=e.unstable_scheduleCallback,s3=e.unstable_NormalPriority,_t={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ff(){return{controller:new i3,data:new Map,refCount:0}}function Jl(t){t.refCount--,t.refCount===0&&l3(s3,function(){t.controller.abort()})}var es=null,qf=0,Si=0,ki=null;function c3(t,r){if(es===null){var i=es=[];qf=0,Si=Ih(),ki={status:"pending",value:void 0,then:function(s){i.push(s)}}}return qf++,r.then(U0,U0),r}function U0(){if(--qf===0&&es!==null){ki!==null&&(ki.status="fulfilled");var t=es;es=null,Si=0,ki=null;for(var r=0;r<t.length;r++)(0,t[r])()}}function u3(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 V0=L.S;L.S=function(t,r){Cb=vo(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&c3(t,r),V0!==null&&V0(t,r)};var _a=q(null);function Hf(){var t=_a.current;return t!==null?t:at.pooledCache}function Pc(t,r){r===null?J(_a,_a.current):J(_a,r.pool)}function G0(){var t=Hf();return t===null?null:{parent:_t._currentValue,pool:t}}var Bi=Error(a(460)),Pf=Error(a(474)),Ic=Error(a(542)),Lc={then:function(){}};function W0(t){return t=t.status,t==="fulfilled"||t==="rejected"}function X0(t,r,i){switch(i=t[i],i===void 0?t.push(r):i!==r&&(r.then(Ir,Ir),r=i),r.status){case"fulfilled":return r.value;case"rejected":throw t=r.reason,K0(t),t;default:if(typeof r.status=="string")r.then(Ir,Ir);else{if(t=at,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,K0(t),t}throw Ca=r,Bi}}function za(t){try{var r=t._init;return r(t._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(Ca=i,Bi):i}}var Ca=null;function $0(){if(Ca===null)throw Error(a(459));var t=Ca;return Ca=null,t}function K0(t){if(t===Bi||t===Ic)throw Error(a(483))}var _i=null,ts=0;function Uc(t){var r=ts;return ts+=1,_i===null&&(_i=[]),X0(_i,t,r)}function os(t,r){r=r.props.ref,t.ref=r!==void 0?r:null}function Vc(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 Q0(t){function r(I,H){if(t){var V=I.deletions;V===null?(I.deletions=[H],I.flags|=16):V.push(H)}}function i(I,H){if(!t)return null;for(;H!==null;)r(I,H),H=H.sibling;return null}function s(I){for(var H=new Map;I!==null;)I.key!==null?H.set(I.key,I):H.set(I.index,I),I=I.sibling;return H}function f(I,H){return I=Ur(I,H),I.index=0,I.sibling=null,I}function g(I,H,V){return I.index=V,t?(V=I.alternate,V!==null?(V=V.index,V<H?(I.flags|=67108866,H):V):(I.flags|=67108866,H)):(I.flags|=1048576,H)}function S(I){return t&&I.alternate===null&&(I.flags|=67108866),I}function N(I,H,V,Y){return H===null||H.tag!==6?(H=Nf(V,I.mode,Y),H.return=I,H):(H=f(H,V),H.return=I,H)}function D(I,H,V,Y){var we=V.type;return we===x?Z(I,H,V.props.children,Y,V.key):H!==null&&(H.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===O&&za(we)===H.type)?(H=f(H,V.props),os(H,V),H.return=I,H):(H=Oc(V.type,V.key,V.props,null,I.mode,Y),os(H,V),H.return=I,H)}function G(I,H,V,Y){return H===null||H.tag!==4||H.stateNode.containerInfo!==V.containerInfo||H.stateNode.implementation!==V.implementation?(H=Tf(V,I.mode,Y),H.return=I,H):(H=f(H,V.children||[]),H.return=I,H)}function Z(I,H,V,Y,we){return H===null||H.tag!==7?(H=wa(V,I.mode,Y,we),H.return=I,H):(H=f(H,V),H.return=I,H)}function re(I,H,V){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Nf(""+H,I.mode,V),H.return=I,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case B:return V=Oc(H.type,H.key,H.props,null,I.mode,V),os(V,H),V.return=I,V;case k:return H=Tf(H,I.mode,V),H.return=I,H;case O:return H=za(H),re(I,H,V)}if(Q(H)||ie(H))return H=wa(H,I.mode,V,null),H.return=I,H;if(typeof H.then=="function")return re(I,Uc(H),V);if(H.$$typeof===z)return re(I,Hc(I,H),V);Vc(I,H)}return null}function W(I,H,V,Y){var we=H!==null?H.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return we!==null?null:N(I,H,""+V,Y);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case B:return V.key===we?D(I,H,V,Y):null;case k:return V.key===we?G(I,H,V,Y):null;case O:return V=za(V),W(I,H,V,Y)}if(Q(V)||ie(V))return we!==null?null:Z(I,H,V,Y,null);if(typeof V.then=="function")return W(I,H,Uc(V),Y);if(V.$$typeof===z)return W(I,H,Hc(I,V),Y);Vc(I,V)}return null}function K(I,H,V,Y,we){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return I=I.get(V)||null,N(H,I,""+Y,we);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case B:return I=I.get(Y.key===null?V:Y.key)||null,D(H,I,Y,we);case k:return I=I.get(Y.key===null?V:Y.key)||null,G(H,I,Y,we);case O:return Y=za(Y),K(I,H,V,Y,we)}if(Q(Y)||ie(Y))return I=I.get(V)||null,Z(H,I,Y,we,null);if(typeof Y.then=="function")return K(I,H,V,Uc(Y),we);if(Y.$$typeof===z)return K(I,H,V,Hc(H,Y),we);Vc(H,Y)}return null}function be(I,H,V,Y){for(var we=null,Ve=null,ye=H,je=H=0,Pe=null;ye!==null&&je<V.length;je++){ye.index>je?(Pe=ye,ye=null):Pe=ye.sibling;var Ge=W(I,ye,V[je],Y);if(Ge===null){ye===null&&(ye=Pe);break}t&&ye&&Ge.alternate===null&&r(I,ye),H=g(Ge,H,je),Ve===null?we=Ge:Ve.sibling=Ge,Ve=Ge,ye=Pe}if(je===V.length)return i(I,ye),Le&&Vr(I,je),we;if(ye===null){for(;je<V.length;je++)ye=re(I,V[je],Y),ye!==null&&(H=g(ye,H,je),Ve===null?we=ye:Ve.sibling=ye,Ve=ye);return Le&&Vr(I,je),we}for(ye=s(ye);je<V.length;je++)Pe=K(ye,I,je,V[je],Y),Pe!==null&&(t&&Pe.alternate!==null&&ye.delete(Pe.key===null?je:Pe.key),H=g(Pe,H,je),Ve===null?we=Pe:Ve.sibling=Pe,Ve=Pe);return t&&ye.forEach(function($n){return r(I,$n)}),Le&&Vr(I,je),we}function Be(I,H,V,Y){if(V==null)throw Error(a(151));for(var we=null,Ve=null,ye=H,je=H=0,Pe=null,Ge=V.next();ye!==null&&!Ge.done;je++,Ge=V.next()){ye.index>je?(Pe=ye,ye=null):Pe=ye.sibling;var $n=W(I,ye,Ge.value,Y);if($n===null){ye===null&&(ye=Pe);break}t&&ye&&$n.alternate===null&&r(I,ye),H=g($n,H,je),Ve===null?we=$n:Ve.sibling=$n,Ve=$n,ye=Pe}if(Ge.done)return i(I,ye),Le&&Vr(I,je),we;if(ye===null){for(;!Ge.done;je++,Ge=V.next())Ge=re(I,Ge.value,Y),Ge!==null&&(H=g(Ge,H,je),Ve===null?we=Ge:Ve.sibling=Ge,Ve=Ge);return Le&&Vr(I,je),we}for(ye=s(ye);!Ge.done;je++,Ge=V.next())Ge=K(ye,I,je,Ge.value,Y),Ge!==null&&(t&&Ge.alternate!==null&&ye.delete(Ge.key===null?je:Ge.key),H=g(Ge,H,je),Ve===null?we=Ge:Ve.sibling=Ge,Ve=Ge);return t&&ye.forEach(function(wB){return r(I,wB)}),Le&&Vr(I,je),we}function nt(I,H,V,Y){if(typeof V=="object"&&V!==null&&V.type===x&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case B:e:{for(var we=V.key;H!==null;){if(H.key===we){if(we=V.type,we===x){if(H.tag===7){i(I,H.sibling),Y=f(H,V.props.children),Y.return=I,I=Y;break e}}else if(H.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===O&&za(we)===H.type){i(I,H.sibling),Y=f(H,V.props),os(Y,V),Y.return=I,I=Y;break e}i(I,H);break}else r(I,H);H=H.sibling}V.type===x?(Y=wa(V.props.children,I.mode,Y,V.key),Y.return=I,I=Y):(Y=Oc(V.type,V.key,V.props,null,I.mode,Y),os(Y,V),Y.return=I,I=Y)}return S(I);case k:e:{for(we=V.key;H!==null;){if(H.key===we)if(H.tag===4&&H.stateNode.containerInfo===V.containerInfo&&H.stateNode.implementation===V.implementation){i(I,H.sibling),Y=f(H,V.children||[]),Y.return=I,I=Y;break e}else{i(I,H);break}else r(I,H);H=H.sibling}Y=Tf(V,I.mode,Y),Y.return=I,I=Y}return S(I);case O:return V=za(V),nt(I,H,V,Y)}if(Q(V))return be(I,H,V,Y);if(ie(V)){if(we=ie(V),typeof we!="function")throw Error(a(150));return V=we.call(V),Be(I,H,V,Y)}if(typeof V.then=="function")return nt(I,H,Uc(V),Y);if(V.$$typeof===z)return nt(I,H,Hc(I,V),Y);Vc(I,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(V=""+V,H!==null&&H.tag===6?(i(I,H.sibling),Y=f(H,V),Y.return=I,I=Y):(i(I,H),Y=Nf(V,I.mode,Y),Y.return=I,I=Y),S(I)):i(I,H)}return function(I,H,V,Y){try{ts=0;var we=nt(I,H,V,Y);return _i=null,we}catch(ye){if(ye===Bi||ye===Ic)throw ye;var Ve=wo(29,ye,null,I.mode);return Ve.lanes=Y,Ve.return=I,Ve}finally{}}}var Na=Q0(!0),Z0=Q0(!1),jn=!1;function If(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Lf(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 Rn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function An(t,r,i){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,($e&2)!==0){var f=s.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),s.pending=r,r=Mc(t),D0(t,null,i),r}return Dc(t,s,r,i),Mc(t)}function rs(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,Lm(t,i)}}function Uf(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 S={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};g===null?f=g=S:g=g.next=S,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 Vf=!1;function ns(){if(Vf){var t=ki;if(t!==null)throw t}}function as(t,r,i,s){Vf=!1;var f=t.updateQueue;jn=!1;var g=f.firstBaseUpdate,S=f.lastBaseUpdate,N=f.shared.pending;if(N!==null){f.shared.pending=null;var D=N,G=D.next;D.next=null,S===null?g=G:S.next=G,S=D;var Z=t.alternate;Z!==null&&(Z=Z.updateQueue,N=Z.lastBaseUpdate,N!==S&&(N===null?Z.firstBaseUpdate=G:N.next=G,Z.lastBaseUpdate=D))}if(g!==null){var re=f.baseState;S=0,Z=G=D=null,N=g;do{var W=N.lane&-536870913,K=W!==N.lane;if(K?(He&W)===W:(s&W)===W){W!==0&&W===Si&&(Vf=!0),Z!==null&&(Z=Z.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});e:{var be=t,Be=N;W=r;var nt=i;switch(Be.tag){case 1:if(be=Be.payload,typeof be=="function"){re=be.call(nt,re,W);break e}re=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=Be.payload,W=typeof be=="function"?be.call(nt,re,W):be,W==null)break e;re=m({},re,W);break e;case 2:jn=!0}}W=N.callback,W!==null&&(t.flags|=64,K&&(t.flags|=8192),K=f.callbacks,K===null?f.callbacks=[W]:K.push(W))}else K={lane:W,tag:N.tag,payload:N.payload,callback:N.callback,next:null},Z===null?(G=Z=K,D=re):Z=Z.next=K,S|=W;if(N=N.next,N===null){if(N=f.shared.pending,N===null)break;K=N,N=K.next,K.next=null,f.lastBaseUpdate=K,f.shared.pending=null}}while(!0);Z===null&&(D=re),f.baseState=D,f.firstBaseUpdate=G,f.lastBaseUpdate=Z,g===null&&(f.shared.lanes=0),qn|=S,t.lanes=S,t.memoizedState=re}}function Y0(t,r){if(typeof t!="function")throw Error(a(191,t));t.call(r)}function J0(t,r){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;t<i.length;t++)Y0(i[t],r)}var zi=q(null),Gc=q(0);function ev(t,r){t=tn,J(Gc,t),J(zi,r),tn=t|r.baseLanes}function Gf(){J(Gc,tn),J(zi,zi.current)}function Wf(){tn=Gc.current,U(zi),U(Gc)}var So=q(null),Go=null;function Dn(t){var r=t.alternate;J(wt,wt.current&1),J(So,t),Go===null&&(r===null||zi.current!==null||r.memoizedState!==null)&&(Go=t)}function Xf(t){J(wt,wt.current),J(So,t),Go===null&&(Go=t)}function tv(t){t.tag===22?(J(wt,wt.current),J(So,t),Go===null&&(Go=t)):Mn()}function Mn(){J(wt,wt.current),J(So,So.current)}function ko(t){U(So),Go===t&&(Go=null),U(wt)}var wt=q(0);function Wc(t){for(var r=t;r!==null;){if(r.tag===13){var i=r.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Jh(i)||ep(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 Xr=0,Te=null,ot=null,zt=null,Xc=!1,Ci=!1,Ta=!1,$c=0,is=0,Ni=null,d3=0;function vt(){throw Error(a(321))}function $f(t,r){if(r===null)return!1;for(var i=0;i<r.length&&i<t.length;i++)if(!xo(t[i],r[i]))return!1;return!0}function Kf(t,r,i,s,f,g){return Xr=g,Te=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,L.H=t===null||t.memoizedState===null?qv:uh,Ta=!1,g=i(s,f),Ta=!1,Ci&&(g=rv(r,i,s,f)),ov(t),g}function ov(t){L.H=cs;var r=ot!==null&&ot.next!==null;if(Xr=0,zt=ot=Te=null,Xc=!1,is=0,Ni=null,r)throw Error(a(300));t===null||Ct||(t=t.dependencies,t!==null&&qc(t)&&(Ct=!0))}function rv(t,r,i,s){Te=t;var f=0;do{if(Ci&&(Ni=null),is=0,Ci=!1,25<=f)throw Error(a(301));if(f+=1,zt=ot=null,t.updateQueue!=null){var g=t.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}L.H=Hv,g=r(i,s)}while(Ci);return g}function f3(){var t=L.H,r=t.useState()[0];return r=typeof r.then=="function"?ls(r):r,t=t.useState()[0],(ot!==null?ot.memoizedState:null)!==t&&(Te.flags|=1024),r}function Qf(){var t=$c!==0;return $c=0,t}function Zf(t,r,i){r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~i}function Yf(t){if(Xc){for(t=t.memoizedState;t!==null;){var r=t.queue;r!==null&&(r.pending=null),t=t.next}Xc=!1}Xr=0,zt=ot=Te=null,Ci=!1,is=$c=0,Ni=null}function Jt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return zt===null?Te.memoizedState=zt=t:zt=zt.next=t,zt}function St(){if(ot===null){var t=Te.alternate;t=t!==null?t.memoizedState:null}else t=ot.next;var r=zt===null?Te.memoizedState:zt.next;if(r!==null)zt=r,ot=t;else{if(t===null)throw Te.alternate===null?Error(a(467)):Error(a(310));ot=t,t={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},zt===null?Te.memoizedState=zt=t:zt=zt.next=t}return zt}function Kc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ls(t){var r=is;return is+=1,Ni===null&&(Ni=[]),t=X0(Ni,t,r),r=Te,(zt===null?r.memoizedState:zt.next)===null&&(r=r.alternate,L.H=r===null||r.memoizedState===null?qv:uh),t}function Qc(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ls(t);if(t.$$typeof===z)return Lt(t)}throw Error(a(438,String(t)))}function Jf(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=Kc(),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 $r(t,r){return typeof r=="function"?r(t):r}function Zc(t){var r=St();return eh(r,ot,t)}function eh(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 S=f.next;f.next=g.next,g.next=S}r.baseQueue=f=g,s.pending=null}if(g=t.baseState,f===null)t.memoizedState=g;else{r=f.next;var N=S=null,D=null,G=r,Z=!1;do{var re=G.lane&-536870913;if(re!==G.lane?(He&re)===re:(Xr&re)===re){var W=G.revertLane;if(W===0)D!==null&&(D=D.next={lane:0,revertLane:0,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null}),re===Si&&(Z=!0);else if((Xr&W)===W){G=G.next,W===Si&&(Z=!0);continue}else re={lane:0,revertLane:G.revertLane,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},D===null?(N=D=re,S=g):D=D.next=re,Te.lanes|=W,qn|=W;re=G.action,Ta&&i(g,re),g=G.hasEagerState?G.eagerState:i(g,re)}else W={lane:re,revertLane:G.revertLane,gesture:G.gesture,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},D===null?(N=D=W,S=g):D=D.next=W,Te.lanes|=re,qn|=re;G=G.next}while(G!==null&&G!==r);if(D===null?S=g:D.next=N,!xo(g,t.memoizedState)&&(Ct=!0,Z&&(i=ki,i!==null)))throw i;t.memoizedState=g,t.baseState=S,t.baseQueue=D,s.lastRenderedState=g}return f===null&&(s.lanes=0),[t.memoizedState,s.dispatch]}function th(t){var r=St(),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 S=f=f.next;do g=t(g,S.action),S=S.next;while(S!==f);xo(g,r.memoizedState)||(Ct=!0),r.memoizedState=g,r.baseQueue===null&&(r.baseState=g),i.lastRenderedState=g}return[g,s]}function nv(t,r,i){var s=Te,f=St(),g=Le;if(g){if(i===void 0)throw Error(a(407));i=i()}else i=r();var S=!xo((ot||f).memoizedState,i);if(S&&(f.memoizedState=i,Ct=!0),f=f.queue,nh(lv.bind(null,s,f,t),[t]),f.getSnapshot!==r||S||zt!==null&&zt.memoizedState.tag&1){if(s.flags|=2048,Ti(9,{destroy:void 0},iv.bind(null,s,f,i,r),null),at===null)throw Error(a(349));g||(Xr&127)!==0||av(s,r,i)}return i}function av(t,r,i){t.flags|=16384,t={getSnapshot:r,value:i},r=Te.updateQueue,r===null?(r=Kc(),Te.updateQueue=r,r.stores=[t]):(i=r.stores,i===null?r.stores=[t]:i.push(t))}function iv(t,r,i,s){r.value=i,r.getSnapshot=s,sv(r)&&cv(t)}function lv(t,r,i){return i(function(){sv(r)&&cv(t)})}function sv(t){var r=t.getSnapshot;t=t.value;try{var i=r();return!xo(t,i)}catch{return!0}}function cv(t){var r=xa(t,2);r!==null&&uo(r,t,2)}function oh(t){var r=Jt();if(typeof t=="function"){var i=t;if(t=i(),Ta){Bn(!0);try{i()}finally{Bn(!1)}}}return r.memoizedState=r.baseState=t,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$r,lastRenderedState:t},r}function uv(t,r,i,s){return t.baseState=i,eh(t,ot,typeof s=="function"?s:$r)}function h3(t,r,i,s,f){if(eu(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(S){g.listeners.push(S)}};L.T!==null?i(!0):g.isTransition=!1,s(g),i=r.pending,i===null?(g.next=r.pending=g,dv(r,g)):(g.next=i.next,r.pending=i.next=g)}}function dv(t,r){var i=r.action,s=r.payload,f=t.state;if(r.isTransition){var g=L.T,S={};L.T=S;try{var N=i(f,s),D=L.S;D!==null&&D(S,N),fv(t,r,N)}catch(G){rh(t,r,G)}finally{g!==null&&S.types!==null&&(g.types=S.types),L.T=g}}else try{g=i(f,s),fv(t,r,g)}catch(G){rh(t,r,G)}}function fv(t,r,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){hv(t,r,s)},function(s){return rh(t,r,s)}):hv(t,r,i)}function hv(t,r,i){r.status="fulfilled",r.value=i,pv(r),t.state=i,r=t.pending,r!==null&&(i=r.next,i===r?t.pending=null:(i=i.next,r.next=i,dv(t,i)))}function rh(t,r,i){var s=t.pending;if(t.pending=null,s!==null){s=s.next;do r.status="rejected",r.reason=i,pv(r),r=r.next;while(r!==s)}t.action=null}function pv(t){t=t.listeners;for(var r=0;r<t.length;r++)(0,t[r])()}function gv(t,r){return r}function mv(t,r){if(Le){var i=at.formState;if(i!==null){e:{var s=Te;if(Le){if(ut){t:{for(var f=ut,g=Vo;f.nodeType!==8;){if(!g){f=null;break t}if(f=Wo(f.nextSibling),f===null){f=null;break t}}g=f.data,f=g==="F!"||g==="F"?f:null}if(f){ut=Wo(f.nextSibling),s=f.data==="F!";break e}}Tn(s)}s=!1}s&&(r=i[0])}}return i=Jt(),i.memoizedState=i.baseState=r,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gv,lastRenderedState:r},i.queue=s,i=Mv.bind(null,Te,s),s.dispatch=i,s=oh(!1),g=ch.bind(null,Te,!1,s.queue),s=Jt(),f={state:r,dispatch:null,action:t,pending:null},s.queue=f,i=h3.bind(null,Te,f,g,i),f.dispatch=i,s.memoizedState=t,[r,i,!1]}function vv(t){var r=St();return bv(r,ot,t)}function bv(t,r,i){if(r=eh(t,r,gv)[0],t=Zc($r)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var s=ls(r)}catch(S){throw S===Bi?Ic:S}else s=r;r=St();var f=r.queue,g=f.dispatch;return i!==r.memoizedState&&(Te.flags|=2048,Ti(9,{destroy:void 0},p3.bind(null,f,i),null)),[s,g,t]}function p3(t,r){t.action=r}function yv(t){var r=St(),i=ot;if(i!==null)return bv(r,i,t);St(),r=r.memoizedState,i=St();var s=i.queue.dispatch;return i.memoizedState=t,[r,s,!1]}function Ti(t,r,i,s){return t={tag:t,create:i,deps:s,inst:r,next:null},r=Te.updateQueue,r===null&&(r=Kc(),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 xv(){return St().memoizedState}function Yc(t,r,i,s){var f=Jt();Te.flags|=t,f.memoizedState=Ti(1|r,{destroy:void 0},i,s===void 0?null:s)}function Jc(t,r,i,s){var f=St();s=s===void 0?null:s;var g=f.memoizedState.inst;ot!==null&&s!==null&&$f(s,ot.memoizedState.deps)?f.memoizedState=Ti(r,g,i,s):(Te.flags|=t,f.memoizedState=Ti(1|r,g,i,s))}function wv(t,r){Yc(8390656,8,t,r)}function nh(t,r){Jc(2048,8,t,r)}function g3(t){Te.flags|=4;var r=Te.updateQueue;if(r===null)r=Kc(),Te.updateQueue=r,r.events=[t];else{var i=r.events;i===null?r.events=[t]:i.push(t)}}function Sv(t){var r=St().memoizedState;return g3({ref:r,nextImpl:t}),function(){if(($e&2)!==0)throw Error(a(440));return r.impl.apply(void 0,arguments)}}function kv(t,r){return Jc(4,2,t,r)}function Bv(t,r){return Jc(4,4,t,r)}function _v(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 zv(t,r,i){i=i!=null?i.concat([t]):null,Jc(4,4,_v.bind(null,r,t),i)}function ah(){}function Cv(t,r){var i=St();r=r===void 0?null:r;var s=i.memoizedState;return r!==null&&$f(r,s[1])?s[0]:(i.memoizedState=[t,r],t)}function Nv(t,r){var i=St();r=r===void 0?null:r;var s=i.memoizedState;if(r!==null&&$f(r,s[1]))return s[0];if(s=t(),Ta){Bn(!0);try{t()}finally{Bn(!1)}}return i.memoizedState=[s,r],s}function ih(t,r,i){return i===void 0||(Xr&1073741824)!==0&&(He&261930)===0?t.memoizedState=r:(t.memoizedState=i,t=Tb(),Te.lanes|=t,qn|=t,i)}function Tv(t,r,i,s){return xo(i,r)?i:zi.current!==null?(t=ih(t,i,s),xo(t,r)||(Ct=!0),t):(Xr&42)===0||(Xr&1073741824)!==0&&(He&261930)===0?(Ct=!0,t.memoizedState=i):(t=Tb(),Te.lanes|=t,qn|=t,r)}function Ev(t,r,i,s,f){var g=te.p;te.p=g!==0&&8>g?g:8;var S=L.T,N={};L.T=N,ch(t,!1,r,i);try{var D=f(),G=L.S;if(G!==null&&G(N,D),D!==null&&typeof D=="object"&&typeof D.then=="function"){var Z=u3(D,s);ss(t,r,Z,zo(t))}else ss(t,r,s,zo(t))}catch(re){ss(t,r,{then:function(){},status:"rejected",reason:re},zo())}finally{te.p=g,S!==null&&N.types!==null&&(S.types=N.types),L.T=S}}function m3(){}function lh(t,r,i,s){if(t.tag!==5)throw Error(a(476));var f=jv(t).queue;Ev(t,f,r,oe,i===null?m3:function(){return Rv(t),i(s)})}function jv(t){var r=t.memoizedState;if(r!==null)return r;r={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$r,lastRenderedState:oe},next:null};var i={};return r.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$r,lastRenderedState:i},next:null},t.memoizedState=r,t=t.alternate,t!==null&&(t.memoizedState=r),r}function Rv(t){var r=jv(t);r.next===null&&(r=t.alternate.memoizedState),ss(t,r.next.queue,{},zo())}function sh(){return Lt(_s)}function Av(){return St().memoizedState}function Dv(){return St().memoizedState}function v3(t){for(var r=t.return;r!==null;){switch(r.tag){case 24:case 3:var i=zo();t=Rn(i);var s=An(r,t,i);s!==null&&(uo(s,r,i),rs(s,r,i)),r={cache:Ff()},t.payload=r;return}r=r.return}}function b3(t,r,i){var s=zo();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},eu(t)?Ov(r,i):(i=zf(t,r,i,s),i!==null&&(uo(i,t,s),Fv(i,r,s)))}function Mv(t,r,i){var s=zo();ss(t,r,i,s)}function ss(t,r,i,s){var f={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(eu(t))Ov(r,f);else{var g=t.alternate;if(t.lanes===0&&(g===null||g.lanes===0)&&(g=r.lastRenderedReducer,g!==null))try{var S=r.lastRenderedState,N=g(S,i);if(f.hasEagerState=!0,f.eagerState=N,xo(N,S))return Dc(t,r,f,0),at===null&&Ac(),!1}catch{}finally{}if(i=zf(t,r,f,s),i!==null)return uo(i,t,s),Fv(i,r,s),!0}return!1}function ch(t,r,i,s){if(s={lane:2,revertLane:Ih(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},eu(t)){if(r)throw Error(a(479))}else r=zf(t,i,s,2),r!==null&&uo(r,t,2)}function eu(t){var r=t.alternate;return t===Te||r!==null&&r===Te}function Ov(t,r){Ci=Xc=!0;var i=t.pending;i===null?r.next=r:(r.next=i.next,i.next=r),t.pending=r}function Fv(t,r,i){if((i&4194048)!==0){var s=r.lanes;s&=t.pendingLanes,i|=s,r.lanes=i,Lm(t,i)}}var cs={readContext:Lt,use:Qc,useCallback:vt,useContext:vt,useEffect:vt,useImperativeHandle:vt,useLayoutEffect:vt,useInsertionEffect:vt,useMemo:vt,useReducer:vt,useRef:vt,useState:vt,useDebugValue:vt,useDeferredValue:vt,useTransition:vt,useSyncExternalStore:vt,useId:vt,useHostTransitionStatus:vt,useFormState:vt,useActionState:vt,useOptimistic:vt,useMemoCache:vt,useCacheRefresh:vt};cs.useEffectEvent=vt;var qv={readContext:Lt,use:Qc,useCallback:function(t,r){return Jt().memoizedState=[t,r===void 0?null:r],t},useContext:Lt,useEffect:wv,useImperativeHandle:function(t,r,i){i=i!=null?i.concat([t]):null,Yc(4194308,4,_v.bind(null,r,t),i)},useLayoutEffect:function(t,r){return Yc(4194308,4,t,r)},useInsertionEffect:function(t,r){Yc(4,2,t,r)},useMemo:function(t,r){var i=Jt();r=r===void 0?null:r;var s=t();if(Ta){Bn(!0);try{t()}finally{Bn(!1)}}return i.memoizedState=[s,r],s},useReducer:function(t,r,i){var s=Jt();if(i!==void 0){var f=i(r);if(Ta){Bn(!0);try{i(r)}finally{Bn(!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=b3.bind(null,Te,t),[s.memoizedState,t]},useRef:function(t){var r=Jt();return t={current:t},r.memoizedState=t},useState:function(t){t=oh(t);var r=t.queue,i=Mv.bind(null,Te,r);return r.dispatch=i,[t.memoizedState,i]},useDebugValue:ah,useDeferredValue:function(t,r){var i=Jt();return ih(i,t,r)},useTransition:function(){var t=oh(!1);return t=Ev.bind(null,Te,t.queue,!0,!1),Jt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,r,i){var s=Te,f=Jt();if(Le){if(i===void 0)throw Error(a(407));i=i()}else{if(i=r(),at===null)throw Error(a(349));(He&127)!==0||av(s,r,i)}f.memoizedState=i;var g={value:i,getSnapshot:r};return f.queue=g,wv(lv.bind(null,s,g,t),[t]),s.flags|=2048,Ti(9,{destroy:void 0},iv.bind(null,s,g,i,r),null),i},useId:function(){var t=Jt(),r=at.identifierPrefix;if(Le){var i=_r,s=Br;i=(s&~(1<<32-yo(s)-1)).toString(32)+i,r="_"+r+"R_"+i,i=$c++,0<i&&(r+="H"+i.toString(32)),r+="_"}else i=d3++,r="_"+r+"r_"+i.toString(32)+"_";return t.memoizedState=r},useHostTransitionStatus:sh,useFormState:mv,useActionState:mv,useOptimistic:function(t){var r=Jt();r.memoizedState=r.baseState=t;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=i,r=ch.bind(null,Te,!0,i),i.dispatch=r,[t,r]},useMemoCache:Jf,useCacheRefresh:function(){return Jt().memoizedState=v3.bind(null,Te)},useEffectEvent:function(t){var r=Jt(),i={impl:t};return r.memoizedState=i,function(){if(($e&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}},uh={readContext:Lt,use:Qc,useCallback:Cv,useContext:Lt,useEffect:nh,useImperativeHandle:zv,useInsertionEffect:kv,useLayoutEffect:Bv,useMemo:Nv,useReducer:Zc,useRef:xv,useState:function(){return Zc($r)},useDebugValue:ah,useDeferredValue:function(t,r){var i=St();return Tv(i,ot.memoizedState,t,r)},useTransition:function(){var t=Zc($r)[0],r=St().memoizedState;return[typeof t=="boolean"?t:ls(t),r]},useSyncExternalStore:nv,useId:Av,useHostTransitionStatus:sh,useFormState:vv,useActionState:vv,useOptimistic:function(t,r){var i=St();return uv(i,ot,t,r)},useMemoCache:Jf,useCacheRefresh:Dv};uh.useEffectEvent=Sv;var Hv={readContext:Lt,use:Qc,useCallback:Cv,useContext:Lt,useEffect:nh,useImperativeHandle:zv,useInsertionEffect:kv,useLayoutEffect:Bv,useMemo:Nv,useReducer:th,useRef:xv,useState:function(){return th($r)},useDebugValue:ah,useDeferredValue:function(t,r){var i=St();return ot===null?ih(i,t,r):Tv(i,ot.memoizedState,t,r)},useTransition:function(){var t=th($r)[0],r=St().memoizedState;return[typeof t=="boolean"?t:ls(t),r]},useSyncExternalStore:nv,useId:Av,useHostTransitionStatus:sh,useFormState:yv,useActionState:yv,useOptimistic:function(t,r){var i=St();return ot!==null?uv(i,ot,t,r):(i.baseState=t,[t,i.queue.dispatch])},useMemoCache:Jf,useCacheRefresh:Dv};Hv.useEffectEvent=Sv;function dh(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 fh={enqueueSetState:function(t,r,i){t=t._reactInternals;var s=zo(),f=Rn(s);f.payload=r,i!=null&&(f.callback=i),r=An(t,f,s),r!==null&&(uo(r,t,s),rs(r,t,s))},enqueueReplaceState:function(t,r,i){t=t._reactInternals;var s=zo(),f=Rn(s);f.tag=1,f.payload=r,i!=null&&(f.callback=i),r=An(t,f,s),r!==null&&(uo(r,t,s),rs(r,t,s))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var i=zo(),s=Rn(i);s.tag=2,r!=null&&(s.callback=r),r=An(t,s,i),r!==null&&(uo(r,t,i),rs(r,t,i))}};function Pv(t,r,i,s,f,g,S){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,g,S):r.prototype&&r.prototype.isPureReactComponent?!Kl(i,s)||!Kl(f,g):!0}function Iv(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&&fh.enqueueReplaceState(r,r.state,null)}function Ea(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 Lv(t){Rc(t)}function Uv(t){console.error(t)}function Vv(t){Rc(t)}function tu(t,r){try{var i=t.onUncaughtError;i(r.value,{componentStack:r.stack})}catch(s){setTimeout(function(){throw s})}}function Gv(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 hh(t,r,i){return i=Rn(i),i.tag=3,i.payload={element:null},i.callback=function(){tu(t,r)},i}function Wv(t){return t=Rn(t),t.tag=3,t}function Xv(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(){Gv(r,i,s)}}var S=i.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(t.callback=function(){Gv(r,i,s),typeof f!="function"&&(Hn===null?Hn=new Set([this]):Hn.add(this));var N=s.stack;this.componentDidCatch(s.value,{componentStack:N!==null?N:""})})}function y3(t,r,i,s,f){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(r=i.alternate,r!==null&&wi(r,i,f,!0),i=So.current,i!==null){switch(i.tag){case 31:case 13:return Go===null?hu():i.alternate===null&&bt===0&&(bt=3),i.flags&=-257,i.flags|=65536,i.lanes=f,s===Lc?i.flags|=16384:(r=i.updateQueue,r===null?i.updateQueue=new Set([s]):r.add(s),qh(t,s,f)),!1;case 22:return i.flags|=65536,s===Lc?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)),qh(t,s,f)),!1}throw Error(a(435,i.tag))}return qh(t,s,f),hu(),!1}if(Le)return r=So.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,s!==Rf&&(t=Error(a(422),{cause:s}),Yl(Io(t,i)))):(s!==Rf&&(r=Error(a(423),{cause:s}),Yl(Io(r,i))),t=t.current.alternate,t.flags|=65536,f&=-f,t.lanes|=f,s=Io(s,i),f=hh(t.stateNode,s,f),Uf(t,f),bt!==4&&(bt=2)),!1;var g=Error(a(520),{cause:s});if(g=Io(g,i),vs===null?vs=[g]:vs.push(g),bt!==4&&(bt=2),r===null)return!0;s=Io(s,i),i=r;do{switch(i.tag){case 3:return i.flags|=65536,t=f&-f,i.lanes|=t,t=hh(i.stateNode,s,t),Uf(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"&&(Hn===null||!Hn.has(g))))return i.flags|=65536,f&=-f,i.lanes|=f,f=Wv(f),Xv(f,t,i,s),Uf(i,f),!1}i=i.return}while(i!==null);return!1}var ph=Error(a(461)),Ct=!1;function Ut(t,r,i,s){r.child=t===null?Z0(r,null,i,s):Na(r,t.child,i,s)}function $v(t,r,i,s,f){i=i.render;var g=r.ref;if("ref"in s){var S={};for(var N in s)N!=="ref"&&(S[N]=s[N])}else S=s;return Ba(r),s=Kf(t,r,i,S,g,f),N=Qf(),t!==null&&!Ct?(Zf(t,r,f),Kr(t,r,f)):(Le&&N&&Ef(r),r.flags|=1,Ut(t,r,s,f),r.child)}function Kv(t,r,i,s,f){if(t===null){var g=i.type;return typeof g=="function"&&!Cf(g)&&g.defaultProps===void 0&&i.compare===null?(r.tag=15,r.type=g,Qv(t,r,g,s,f)):(t=Oc(i.type,null,s,r,r.mode,f),t.ref=r.ref,t.return=r,r.child=t)}if(g=t.child,!Sh(t,f)){var S=g.memoizedProps;if(i=i.compare,i=i!==null?i:Kl,i(S,s)&&t.ref===r.ref)return Kr(t,r,f)}return r.flags|=1,t=Ur(g,s),t.ref=r.ref,t.return=r,r.child=t}function Qv(t,r,i,s,f){if(t!==null){var g=t.memoizedProps;if(Kl(g,s)&&t.ref===r.ref)if(Ct=!1,r.pendingProps=s=g,Sh(t,f))(t.flags&131072)!==0&&(Ct=!0);else return r.lanes=t.lanes,Kr(t,r,f)}return gh(t,r,i,s,f)}function Zv(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 Yv(t,r,g,i,s)}if((i&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},t!==null&&Pc(r,g!==null?g.cachePool:null),g!==null?ev(r,g):Gf(),tv(r);else return s=r.lanes=536870912,Yv(t,r,g!==null?g.baseLanes|i:i,i,s)}else g!==null?(Pc(r,g.cachePool),ev(r,g),Mn(),r.memoizedState=null):(t!==null&&Pc(r,null),Gf(),Mn());return Ut(t,r,f,i),r.child}function us(t,r){return t!==null&&t.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function Yv(t,r,i,s,f){var g=Hf();return g=g===null?null:{parent:_t._currentValue,pool:g},r.memoizedState={baseLanes:i,cachePool:g},t!==null&&Pc(r,null),Gf(),tv(r),t!==null&&wi(t,r,s,!0),r.childLanes=f,null}function ou(t,r){return r=nu({mode:r.mode,children:r.children},t.mode),r.ref=t.ref,t.child=r,r.return=t,r}function Jv(t,r,i){return Na(r,t.child,null,i),t=ou(r,r.pendingProps),t.flags|=2,ko(r),r.memoizedState=null,t}function x3(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=ou(r,s),r.lanes=536870912,us(null,t);if(Xf(r),(t=ut)?(t=d1(t,Vo),t=t!==null&&t.data==="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:Cn!==null?{id:Br,overflow:_r}:null,retryLane:536870912,hydrationErrors:null},i=O0(t),i.return=r,r.child=i,It=r,ut=null)):t=null,t===null)throw Tn(r);return r.lanes=536870912,null}return ou(r,s)}var g=t.memoizedState;if(g!==null){var S=g.dehydrated;if(Xf(r),f)if(r.flags&256)r.flags&=-257,r=Jv(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||wi(t,r,i,!1),f=(i&t.childLanes)!==0,Ct||f){if(s=at,s!==null&&(S=Um(s,i),S!==0&&S!==g.retryLane))throw g.retryLane=S,xa(t,S),uo(s,t,S),ph;hu(),r=Jv(t,r,i)}else t=g.treeContext,ut=Wo(S.nextSibling),It=r,Le=!0,Nn=null,Vo=!1,t!==null&&H0(r,t),r=ou(r,s),r.flags|=4096;return r}return t=Ur(t.child,{mode:s.mode,children:s.children}),t.ref=r.ref,r.child=t,t.return=r,t}function ru(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 gh(t,r,i,s,f){return Ba(r),i=Kf(t,r,i,s,void 0,f),s=Qf(),t!==null&&!Ct?(Zf(t,r,f),Kr(t,r,f)):(Le&&s&&Ef(r),r.flags|=1,Ut(t,r,i,f),r.child)}function eb(t,r,i,s,f,g){return Ba(r),r.updateQueue=null,i=rv(r,s,i,f),ov(t),s=Qf(),t!==null&&!Ct?(Zf(t,r,g),Kr(t,r,g)):(Le&&s&&Ef(r),r.flags|=1,Ut(t,r,i,g),r.child)}function tb(t,r,i,s,f){if(Ba(r),r.stateNode===null){var g=vi,S=i.contextType;typeof S=="object"&&S!==null&&(g=Lt(S)),g=new i(s,g),r.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=fh,r.stateNode=g,g._reactInternals=r,g=r.stateNode,g.props=s,g.state=r.memoizedState,g.refs={},If(r),S=i.contextType,g.context=typeof S=="object"&&S!==null?Lt(S):vi,g.state=r.memoizedState,S=i.getDerivedStateFromProps,typeof S=="function"&&(dh(r,i,S,s),g.state=r.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(S=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),S!==g.state&&fh.enqueueReplaceState(g,g.state,null),as(r,s,g,f),ns(),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308),s=!0}else if(t===null){g=r.stateNode;var N=r.memoizedProps,D=Ea(i,N);g.props=D;var G=g.context,Z=i.contextType;S=vi,typeof Z=="object"&&Z!==null&&(S=Lt(Z));var re=i.getDerivedStateFromProps;Z=typeof re=="function"||typeof g.getSnapshotBeforeUpdate=="function",N=r.pendingProps!==N,Z||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(N||G!==S)&&Iv(r,g,s,S),jn=!1;var W=r.memoizedState;g.state=W,as(r,s,g,f),ns(),G=r.memoizedState,N||W!==G||jn?(typeof re=="function"&&(dh(r,i,re,s),G=r.memoizedState),(D=jn||Pv(r,i,D,s,W,G,S))?(Z||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=S,s=D):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),s=!1)}else{g=r.stateNode,Lf(t,r),S=r.memoizedProps,Z=Ea(i,S),g.props=Z,re=r.pendingProps,W=g.context,G=i.contextType,D=vi,typeof G=="object"&&G!==null&&(D=Lt(G)),N=i.getDerivedStateFromProps,(G=typeof N=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(S!==re||W!==D)&&Iv(r,g,s,D),jn=!1,W=r.memoizedState,g.state=W,as(r,s,g,f),ns();var K=r.memoizedState;S!==re||W!==K||jn||t!==null&&t.dependencies!==null&&qc(t.dependencies)?(typeof N=="function"&&(dh(r,i,N,s),K=r.memoizedState),(Z=jn||Pv(r,i,Z,s,W,K,D)||t!==null&&t.dependencies!==null&&qc(t.dependencies))?(G||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(s,K,D),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(s,K,D)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(r.flags|=1024),r.memoizedProps=s,r.memoizedState=K),g.props=s,g.state=K,g.context=D,s=Z):(typeof g.componentDidUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(r.flags|=1024),s=!1)}return g=s,ru(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=Na(r,t.child,null,f),r.child=Na(r,null,i,f)):Ut(t,r,i,f),r.memoizedState=g.state,t=r.child):t=Kr(t,r,f),t}function ob(t,r,i,s){return Sa(),r.flags|=256,Ut(t,r,i,s),r.child}var mh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vh(t){return{baseLanes:t,cachePool:G0()}}function bh(t,r,i){return t=t!==null?t.childLanes&~i:0,r&&(t|=_o),t}function rb(t,r,i){var s=r.pendingProps,f=!1,g=(r.flags&128)!==0,S;if((S=g)||(S=t!==null&&t.memoizedState===null?!1:(wt.current&2)!==0),S&&(f=!0,r.flags&=-129),S=(r.flags&32)!==0,r.flags&=-33,t===null){if(Le){if(f?Dn(r):Mn(),(t=ut)?(t=d1(t,Vo),t=t!==null&&t.data!=="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:Cn!==null?{id:Br,overflow:_r}:null,retryLane:536870912,hydrationErrors:null},i=O0(t),i.return=r,r.child=i,It=r,ut=null)):t=null,t===null)throw Tn(r);return ep(t)?r.lanes=32:r.lanes=536870912,null}var N=s.children;return s=s.fallback,f?(Mn(),f=r.mode,N=nu({mode:"hidden",children:N},f),s=wa(s,f,i,null),N.return=r,s.return=r,N.sibling=s,r.child=N,s=r.child,s.memoizedState=vh(i),s.childLanes=bh(t,S,i),r.memoizedState=mh,us(null,s)):(Dn(r),yh(r,N))}var D=t.memoizedState;if(D!==null&&(N=D.dehydrated,N!==null)){if(g)r.flags&256?(Dn(r),r.flags&=-257,r=xh(t,r,i)):r.memoizedState!==null?(Mn(),r.child=t.child,r.flags|=128,r=null):(Mn(),N=s.fallback,f=r.mode,s=nu({mode:"visible",children:s.children},f),N=wa(N,f,i,null),N.flags|=2,s.return=r,N.return=r,s.sibling=N,r.child=s,Na(r,t.child,null,i),s=r.child,s.memoizedState=vh(i),s.childLanes=bh(t,S,i),r.memoizedState=mh,r=us(null,s));else if(Dn(r),ep(N)){if(S=N.nextSibling&&N.nextSibling.dataset,S)var G=S.dgst;S=G,s=Error(a(419)),s.stack="",s.digest=S,Yl({value:s,source:null,stack:null}),r=xh(t,r,i)}else if(Ct||wi(t,r,i,!1),S=(i&t.childLanes)!==0,Ct||S){if(S=at,S!==null&&(s=Um(S,i),s!==0&&s!==D.retryLane))throw D.retryLane=s,xa(t,s),uo(S,t,s),ph;Jh(N)||hu(),r=xh(t,r,i)}else Jh(N)?(r.flags|=192,r.child=t.child,r=null):(t=D.treeContext,ut=Wo(N.nextSibling),It=r,Le=!0,Nn=null,Vo=!1,t!==null&&H0(r,t),r=yh(r,s.children),r.flags|=4096);return r}return f?(Mn(),N=s.fallback,f=r.mode,D=t.child,G=D.sibling,s=Ur(D,{mode:"hidden",children:s.children}),s.subtreeFlags=D.subtreeFlags&65011712,G!==null?N=Ur(G,N):(N=wa(N,f,i,null),N.flags|=2),N.return=r,s.return=r,s.sibling=N,r.child=s,us(null,s),s=r.child,N=t.child.memoizedState,N===null?N=vh(i):(f=N.cachePool,f!==null?(D=_t._currentValue,f=f.parent!==D?{parent:D,pool:D}:f):f=G0(),N={baseLanes:N.baseLanes|i,cachePool:f}),s.memoizedState=N,s.childLanes=bh(t,S,i),r.memoizedState=mh,us(t.child,s)):(Dn(r),i=t.child,t=i.sibling,i=Ur(i,{mode:"visible",children:s.children}),i.return=r,i.sibling=null,t!==null&&(S=r.deletions,S===null?(r.deletions=[t],r.flags|=16):S.push(t)),r.child=i,r.memoizedState=null,i)}function yh(t,r){return r=nu({mode:"visible",children:r},t.mode),r.return=t,t.child=r}function nu(t,r){return t=wo(22,t,null,r),t.lanes=0,t}function xh(t,r,i){return Na(r,t.child,null,i),t=yh(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function nb(t,r,i){t.lanes|=r;var s=t.alternate;s!==null&&(s.lanes|=r),Mf(t.return,r,i)}function wh(t,r,i,s,f,g){var S=t.memoizedState;S===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:f,treeForkCount:g}:(S.isBackwards=r,S.rendering=null,S.renderingStartTime=0,S.last=s,S.tail=i,S.tailMode=f,S.treeForkCount=g)}function ab(t,r,i){var s=r.pendingProps,f=s.revealOrder,g=s.tail;s=s.children;var S=wt.current,N=(S&2)!==0;if(N?(S=S&1|2,r.flags|=128):S&=1,J(wt,S),Ut(t,r,s,i),s=Le?Zl:0,!N&&t!==null&&(t.flags&128)!==0)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&nb(t,i,r);else if(t.tag===19)nb(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&&Wc(t)===null&&(f=i),i=i.sibling;i=f,i===null?(f=r.child,r.child=null):(f=i.sibling,i.sibling=null),wh(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&&Wc(t)===null){r.child=f;break}t=f.sibling,f.sibling=i,i=f,f=t}wh(r,!0,i,null,g,s);break;case"together":wh(r,!1,null,null,void 0,s);break;default:r.memoizedState=null}return r.child}function Kr(t,r,i){if(t!==null&&(r.dependencies=t.dependencies),qn|=r.lanes,(i&r.childLanes)===0)if(t!==null){if(wi(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=Ur(t,t.pendingProps),r.child=i,i.return=r;t.sibling!==null;)t=t.sibling,i=i.sibling=Ur(t,t.pendingProps),i.return=r;i.sibling=null}return r.child}function Sh(t,r){return(t.lanes&r)!==0?!0:(t=t.dependencies,!!(t!==null&&qc(t)))}function w3(t,r,i){switch(r.tag){case 3:Bt(r,r.stateNode.containerInfo),En(r,_t,t.memoizedState.cache),Sa();break;case 27:case 5:kn(r);break;case 4:Bt(r,r.stateNode.containerInfo);break;case 10:En(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,Xf(r),null;break;case 13:var s=r.memoizedState;if(s!==null)return s.dehydrated!==null?(Dn(r),r.flags|=128,null):(i&r.child.childLanes)!==0?rb(t,r,i):(Dn(r),t=Kr(t,r,i),t!==null?t.sibling:null);Dn(r);break;case 19:var f=(t.flags&128)!==0;if(s=(i&r.childLanes)!==0,s||(wi(t,r,i,!1),s=(i&r.childLanes)!==0),f){if(s)return ab(t,r,i);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),J(wt,wt.current),s)break;return null;case 22:return r.lanes=0,Zv(t,r,i,r.pendingProps);case 24:En(r,_t,t.memoizedState.cache)}return Kr(t,r,i)}function ib(t,r,i){if(t!==null)if(t.memoizedProps!==r.pendingProps)Ct=!0;else{if(!Sh(t,i)&&(r.flags&128)===0)return Ct=!1,w3(t,r,i);Ct=(t.flags&131072)!==0}else Ct=!1,Le&&(r.flags&1048576)!==0&&q0(r,Zl,r.index);switch(r.lanes=0,r.tag){case 16:e:{var s=r.pendingProps;if(t=za(r.elementType),r.type=t,typeof t=="function")Cf(t)?(s=Ea(t,s),r.tag=1,r=tb(null,r,t,s,i)):(r.tag=0,r=gh(null,r,t,s,i));else{if(t!=null){var f=t.$$typeof;if(f===T){r.tag=11,r=$v(null,r,t,s,i);break e}else if(f===F){r.tag=14,r=Kv(null,r,t,s,i);break e}}throw r=le(t)||t,Error(a(306,r,""))}}return r;case 0:return gh(t,r,r.type,r.pendingProps,i);case 1:return s=r.type,f=Ea(s,r.pendingProps),tb(t,r,s,f,i);case 3:e:{if(Bt(r,r.stateNode.containerInfo),t===null)throw Error(a(387));s=r.pendingProps;var g=r.memoizedState;f=g.element,Lf(t,r),as(r,s,null,i);var S=r.memoizedState;if(s=S.cache,En(r,_t,s),s!==g.cache&&Of(r,[_t],i,!0),ns(),s=S.element,g.isDehydrated)if(g={element:s,isDehydrated:!1,cache:S.cache},r.updateQueue.baseState=g,r.memoizedState=g,r.flags&256){r=ob(t,r,s,i);break e}else if(s!==f){f=Io(Error(a(424)),r),Yl(f),r=ob(t,r,s,i);break e}else{switch(t=r.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(ut=Wo(t.firstChild),It=r,Le=!0,Nn=null,Vo=!0,i=Z0(r,null,s,i),r.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Sa(),s===f){r=Kr(t,r,i);break e}Ut(t,r,s,i)}r=r.child}return r;case 26:return ru(t,r),t===null?(i=v1(r.type,null,r.pendingProps,null))?r.memoizedState=i:Le||(i=r.type,t=r.pendingProps,s=xu(_e.current).createElement(i),s[Pt]=r,s[no]=t,Vt(s,i,t),Ot(s),r.stateNode=s):r.memoizedState=v1(r.type,t.memoizedProps,r.pendingProps,t.memoizedState),null;case 27:return kn(r),t===null&&Le&&(s=r.stateNode=p1(r.type,r.pendingProps,_e.current),It=r,Vo=!0,f=ut,Un(r.type)?(tp=f,ut=Wo(s.firstChild)):ut=f),Ut(t,r,r.pendingProps.children,i),ru(t,r),t===null&&(r.flags|=4194304),r.child;case 5:return t===null&&Le&&((f=s=ut)&&(s=Z3(s,r.type,r.pendingProps,Vo),s!==null?(r.stateNode=s,It=r,ut=Wo(s.firstChild),Vo=!1,f=!0):f=!1),f||Tn(r)),kn(r),f=r.type,g=r.pendingProps,S=t!==null?t.memoizedProps:null,s=g.children,Qh(f,g)?s=null:S!==null&&Qh(f,S)&&(r.flags|=32),r.memoizedState!==null&&(f=Kf(t,r,f3,null,null,i),_s._currentValue=f),ru(t,r),Ut(t,r,s,i),r.child;case 6:return t===null&&Le&&((t=i=ut)&&(i=Y3(i,r.pendingProps,Vo),i!==null?(r.stateNode=i,It=r,ut=null,t=!0):t=!1),t||Tn(r)),null;case 13:return rb(t,r,i);case 4:return Bt(r,r.stateNode.containerInfo),s=r.pendingProps,t===null?r.child=Na(r,null,s,i):Ut(t,r,s,i),r.child;case 11:return $v(t,r,r.type,r.pendingProps,i);case 7:return Ut(t,r,r.pendingProps,i),r.child;case 8:return Ut(t,r,r.pendingProps.children,i),r.child;case 12:return Ut(t,r,r.pendingProps.children,i),r.child;case 10:return s=r.pendingProps,En(r,r.type,s.value),Ut(t,r,s.children,i),r.child;case 9:return f=r.type._context,s=r.pendingProps.children,Ba(r),f=Lt(f),s=s(f),r.flags|=1,Ut(t,r,s,i),r.child;case 14:return Kv(t,r,r.type,r.pendingProps,i);case 15:return Qv(t,r,r.type,r.pendingProps,i);case 19:return ab(t,r,i);case 31:return x3(t,r,i);case 22:return Zv(t,r,i,r.pendingProps);case 24:return Ba(r),s=Lt(_t),t===null?(f=Hf(),f===null&&(f=at,g=Ff(),f.pooledCache=g,g.refCount++,g!==null&&(f.pooledCacheLanes|=i),f=g),r.memoizedState={parent:s,cache:f},If(r),En(r,_t,f)):((t.lanes&i)!==0&&(Lf(t,r),as(r,null,null,i),ns()),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),En(r,_t,s)):(s=g.cache,En(r,_t,s),s!==f.cache&&Of(r,[_t],i,!0))),Ut(t,r,r.pendingProps.children,i),r.child;case 29:throw r.pendingProps}throw Error(a(156,r.tag))}function Qr(t){t.flags|=4}function kh(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(Ab())t.flags|=8192;else throw Ca=Lc,Pf}else t.flags&=-16777217}function lb(t,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!S1(r))if(Ab())t.flags|=8192;else throw Ca=Lc,Pf}function au(t,r){r!==null&&(t.flags|=4),t.flags&16384&&(r=t.tag!==22?Pm():536870912,t.lanes|=r,Ai|=r)}function ds(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 dt(t){var r=t.alternate!==null&&t.alternate.child===t.child,i=0,s=0;if(r)for(var f=t.child;f!==null;)i|=f.lanes|f.childLanes,s|=f.subtreeFlags&65011712,s|=f.flags&65011712,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)i|=f.lanes|f.childLanes,s|=f.subtreeFlags,s|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=s,t.childLanes=i,r}function S3(t,r,i){var s=r.pendingProps;switch(jf(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dt(r),null;case 1:return dt(r),null;case 3:return i=r.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),r.memoizedState.cache!==s&&(r.flags|=2048),Wr(_t),ft(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(xi(r)?Qr(r):t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Af())),dt(r),null;case 26:var f=r.type,g=r.memoizedState;return t===null?(Qr(r),g!==null?(dt(r),lb(r,g)):(dt(r),kh(r,f,null,s,i))):g?g!==t.memoizedState?(Qr(r),dt(r),lb(r,g)):(dt(r),r.flags&=-16777217):(t=t.memoizedProps,t!==s&&Qr(r),dt(r),kh(r,f,t,s,i)),null;case 27:if(pa(r),i=_e.current,f=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==s&&Qr(r);else{if(!s){if(r.stateNode===null)throw Error(a(166));return dt(r),null}t=se.current,xi(r)?P0(r):(t=p1(f,s,i),r.stateNode=t,Qr(r))}return dt(r),null;case 5:if(pa(r),f=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==s&&Qr(r);else{if(!s){if(r.stateNode===null)throw Error(a(166));return dt(r),null}if(g=se.current,xi(r))P0(r);else{var S=xu(_e.current);switch(g){case 1:g=S.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:g=S.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":g=S.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":g=S.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":g=S.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof s.is=="string"?S.createElement("select",{is:s.is}):S.createElement("select"),s.multiple?g.multiple=!0:s.size&&(g.size=s.size);break;default:g=typeof s.is=="string"?S.createElement(f,{is:s.is}):S.createElement(f)}}g[Pt]=r,g[no]=s;e:for(S=r.child;S!==null;){if(S.tag===5||S.tag===6)g.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===r)break e;for(;S.sibling===null;){if(S.return===null||S.return===r)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}r.stateNode=g;e:switch(Vt(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&&Qr(r)}}return dt(r),kh(r,r.type,t===null?null:t.memoizedProps,r.pendingProps,i),null;case 6:if(t&&r.stateNode!=null)t.memoizedProps!==s&&Qr(r);else{if(typeof s!="string"&&r.stateNode===null)throw Error(a(166));if(t=_e.current,xi(r)){if(t=r.stateNode,i=r.memoizedProps,s=null,f=It,f!==null)switch(f.tag){case 27:case 5:s=f.memoizedProps}t[Pt]=r,t=!!(t.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||r1(t.nodeValue,i)),t||Tn(r,!0)}else t=xu(t).createTextNode(s),t[Pt]=r,r.stateNode=t}return dt(r),null;case 31:if(i=r.memoizedState,t===null||t.memoizedState!==null){if(s=xi(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[Pt]=r}else Sa(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;dt(r),t=!1}else i=Af(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return r.flags&256?(ko(r),r):(ko(r),null);if((r.flags&128)!==0)throw Error(a(558))}return dt(r),null;case 13:if(s=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=xi(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[Pt]=r}else Sa(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;dt(r),f=!1}else f=Af(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return r.flags&256?(ko(r),r):(ko(r),null)}return ko(r),(r.flags&128)!==0?(r.lanes=i,r):(i=s!==null,t=t!==null&&t.memoizedState!==null,i&&(s=r.child,f=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(f=s.alternate.memoizedState.cachePool.pool),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),au(r,r.updateQueue),dt(r),null);case 4:return ft(),t===null&&Gh(r.stateNode.containerInfo),dt(r),null;case 10:return Wr(r.type),dt(r),null;case 19:if(U(wt),s=r.memoizedState,s===null)return dt(r),null;if(f=(r.flags&128)!==0,g=s.rendering,g===null)if(f)ds(s,!1);else{if(bt!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(g=Wc(t),g!==null){for(r.flags|=128,ds(s,!1),t=g.updateQueue,r.updateQueue=t,au(r,t),r.subtreeFlags=0,t=i,i=r.child;i!==null;)M0(i,t),i=i.sibling;return J(wt,wt.current&1|2),Le&&Vr(r,s.treeForkCount),r.child}t=t.sibling}s.tail!==null&&vo()>uu&&(r.flags|=128,f=!0,ds(s,!1),r.lanes=4194304)}else{if(!f)if(t=Wc(g),t!==null){if(r.flags|=128,f=!0,t=t.updateQueue,r.updateQueue=t,au(r,t),ds(s,!0),s.tail===null&&s.tailMode==="hidden"&&!g.alternate&&!Le)return dt(r),null}else 2*vo()-s.renderingStartTime>uu&&i!==536870912&&(r.flags|=128,f=!0,ds(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=vo(),t.sibling=null,i=wt.current,J(wt,f?i&1|2:i&1),Le&&Vr(r,s.treeForkCount),t):(dt(r),null);case 22:case 23:return ko(r),Wf(),s=r.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(r.flags|=8192):s&&(r.flags|=8192),s?(i&536870912)!==0&&(r.flags&128)===0&&(dt(r),r.subtreeFlags&6&&(r.flags|=8192)):dt(r),i=r.updateQueue,i!==null&&au(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(_a),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),Wr(_t),dt(r),null;case 25:return null;case 30:return null}throw Error(a(156,r.tag))}function k3(t,r){switch(jf(r),r.tag){case 1:return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return Wr(_t),ft(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 26:case 27:case 5:return pa(r),null;case 31:if(r.memoizedState!==null){if(ko(r),r.alternate===null)throw Error(a(340));Sa()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 13:if(ko(r),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(a(340));Sa()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return U(wt),null;case 4:return ft(),null;case 10:return Wr(r.type),null;case 22:case 23:return ko(r),Wf(),t!==null&&U(_a),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 24:return Wr(_t),null;case 25:return null;default:return null}}function sb(t,r){switch(jf(r),r.tag){case 3:Wr(_t),ft();break;case 26:case 27:case 5:pa(r);break;case 4:ft();break;case 31:r.memoizedState!==null&&ko(r);break;case 13:ko(r);break;case 19:U(wt);break;case 10:Wr(r.type);break;case 22:case 23:ko(r),Wf(),t!==null&&U(_a);break;case 24:Wr(_t)}}function fs(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,S=i.inst;s=g(),S.destroy=s}i=i.next}while(i!==f)}}catch(N){Je(r,r.return,N)}}function On(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 S=s.inst,N=S.destroy;if(N!==void 0){S.destroy=void 0,f=r;var D=i,G=N;try{G()}catch(Z){Je(f,D,Z)}}}s=s.next}while(s!==g)}}catch(Z){Je(r,r.return,Z)}}function cb(t){var r=t.updateQueue;if(r!==null){var i=t.stateNode;try{J0(r,i)}catch(s){Je(t,t.return,s)}}}function ub(t,r,i){i.props=Ea(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(s){Je(t,r,s)}}function hs(t,r){try{var i=t.ref;if(i!==null){switch(t.tag){case 26:case 27:case 5:var s=t.stateNode;break;case 30:s=t.stateNode;break;default:s=t.stateNode}typeof i=="function"?t.refCleanup=i(s):i.current=s}}catch(f){Je(t,r,f)}}function zr(t,r){var i=t.ref,s=t.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(f){Je(t,r,f)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(f){Je(t,r,f)}else i.current=null}function db(t){var r=t.type,i=t.memoizedProps,s=t.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":i.autoFocus&&s.focus();break e;case"img":i.src?s.src=i.src:i.srcSet&&(s.srcset=i.srcSet)}}catch(f){Je(t,t.return,f)}}function Bh(t,r,i){try{var s=t.stateNode;G3(s,t.type,i,r),s[no]=r}catch(f){Je(t,t.return,f)}}function fb(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Un(t.type)||t.tag===4}function _h(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||fb(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&&Un(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 zh(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=Ir));else if(s!==4&&(s===27&&Un(t.type)&&(i=t.stateNode,r=null),t=t.child,t!==null))for(zh(t,r,i),t=t.sibling;t!==null;)zh(t,r,i),t=t.sibling}function iu(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&&Un(t.type)&&(i=t.stateNode),t=t.child,t!==null))for(iu(t,r,i),t=t.sibling;t!==null;)iu(t,r,i),t=t.sibling}function hb(t){var r=t.stateNode,i=t.memoizedProps;try{for(var s=t.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);Vt(r,s,i),r[Pt]=t,r[no]=i}catch(g){Je(t,t.return,g)}}var Zr=!1,Nt=!1,Ch=!1,pb=typeof WeakSet=="function"?WeakSet:Set,Ft=null;function B3(t,r){if(t=t.containerInfo,$h=Cu,t=z0(t),xf(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 S=0,N=-1,D=-1,G=0,Z=0,re=t,W=null;t:for(;;){for(var K;re!==i||f!==0&&re.nodeType!==3||(N=S+f),re!==g||s!==0&&re.nodeType!==3||(D=S+s),re.nodeType===3&&(S+=re.nodeValue.length),(K=re.firstChild)!==null;)W=re,re=K;for(;;){if(re===t)break t;if(W===i&&++G===f&&(N=S),W===g&&++Z===s&&(D=S),(K=re.nextSibling)!==null)break;re=W,W=re.parentNode}re=K}i=N===-1||D===-1?null:{start:N,end:D}}else i=null}i=i||{start:0,end:0}}else i=null;for(Kh={focusedElem:t,selectionRange:i},Cu=!1,Ft=r;Ft!==null;)if(r=Ft,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,Ft=t;else for(;Ft!==null;){switch(r=Ft,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 be=Ea(i.type,f);t=s.getSnapshotBeforeUpdate(be,g),s.__reactInternalSnapshotBeforeUpdate=t}catch(Be){Je(i,i.return,Be)}}break;case 3:if((t&1024)!==0){if(t=r.stateNode.containerInfo,i=t.nodeType,i===9)Yh(t);else if(i===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Yh(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,Ft=t;break}Ft=r.return}}function gb(t,r,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:Jr(t,i),s&4&&fs(5,i);break;case 1:if(Jr(t,i),s&4)if(t=i.stateNode,r===null)try{t.componentDidMount()}catch(S){Je(i,i.return,S)}else{var f=Ea(i.type,r.memoizedProps);r=r.memoizedState;try{t.componentDidUpdate(f,r,t.__reactInternalSnapshotBeforeUpdate)}catch(S){Je(i,i.return,S)}}s&64&&cb(i),s&512&&hs(i,i.return);break;case 3:if(Jr(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{J0(t,r)}catch(S){Je(i,i.return,S)}}break;case 27:r===null&&s&4&&hb(i);case 26:case 5:Jr(t,i),r===null&&s&4&&db(i),s&512&&hs(i,i.return);break;case 12:Jr(t,i);break;case 31:Jr(t,i),s&4&&bb(t,i);break;case 13:Jr(t,i),s&4&&yb(t,i),s&64&&(t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(i=A3.bind(null,i),J3(t,i))));break;case 22:if(s=i.memoizedState!==null||Zr,!s){r=r!==null&&r.memoizedState!==null||Nt,f=Zr;var g=Nt;Zr=s,(Nt=r)&&!g?en(t,i,(i.subtreeFlags&8772)!==0):Jr(t,i),Zr=f,Nt=g}break;case 30:break;default:Jr(t,i)}}function mb(t){var r=t.alternate;r!==null&&(t.alternate=null,mb(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&of(r)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var ht=null,io=!1;function Yr(t,r,i){for(i=i.child;i!==null;)vb(t,r,i),i=i.sibling}function vb(t,r,i){if(bo&&typeof bo.onCommitFiberUnmount=="function")try{bo.onCommitFiberUnmount(Fl,i)}catch{}switch(i.tag){case 26:Nt||zr(i,r),Yr(t,r,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Nt||zr(i,r);var s=ht,f=io;Un(i.type)&&(ht=i.stateNode,io=!1),Yr(t,r,i),Ss(i.stateNode),ht=s,io=f;break;case 5:Nt||zr(i,r);case 6:if(s=ht,f=io,ht=null,Yr(t,r,i),ht=s,io=f,ht!==null)if(io)try{(ht.nodeType===9?ht.body:ht.nodeName==="HTML"?ht.ownerDocument.body:ht).removeChild(i.stateNode)}catch(g){Je(i,r,g)}else try{ht.removeChild(i.stateNode)}catch(g){Je(i,r,g)}break;case 18:ht!==null&&(io?(t=ht,c1(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,i.stateNode),Ii(t)):c1(ht,i.stateNode));break;case 4:s=ht,f=io,ht=i.stateNode.containerInfo,io=!0,Yr(t,r,i),ht=s,io=f;break;case 0:case 11:case 14:case 15:On(2,i,r),Nt||On(4,i,r),Yr(t,r,i);break;case 1:Nt||(zr(i,r),s=i.stateNode,typeof s.componentWillUnmount=="function"&&ub(i,r,s)),Yr(t,r,i);break;case 21:Yr(t,r,i);break;case 22:Nt=(s=Nt)||i.memoizedState!==null,Yr(t,r,i),Nt=s;break;default:Yr(t,r,i)}}function bb(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ii(t)}catch(i){Je(r,r.return,i)}}}function yb(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ii(t)}catch(i){Je(r,r.return,i)}}function _3(t){switch(t.tag){case 31:case 13:case 19:var r=t.stateNode;return r===null&&(r=t.stateNode=new pb),r;case 22:return t=t.stateNode,r=t._retryCache,r===null&&(r=t._retryCache=new pb),r;default:throw Error(a(435,t.tag))}}function lu(t,r){var i=_3(t);r.forEach(function(s){if(!i.has(s)){i.add(s);var f=D3.bind(null,t,s);s.then(f,f)}})}function lo(t,r){var i=r.deletions;if(i!==null)for(var s=0;s<i.length;s++){var f=i[s],g=t,S=r,N=S;e:for(;N!==null;){switch(N.tag){case 27:if(Un(N.type)){ht=N.stateNode,io=!1;break e}break;case 5:ht=N.stateNode,io=!1;break e;case 3:case 4:ht=N.stateNode.containerInfo,io=!0;break e}N=N.return}if(ht===null)throw Error(a(160));vb(g,S,f),ht=null,io=!1,g=f.alternate,g!==null&&(g.return=null),f.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)xb(r,t),r=r.sibling}var lr=null;function xb(t,r){var i=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:lo(r,t),so(t),s&4&&(On(3,t,t.return),fs(3,t),On(5,t,t.return));break;case 1:lo(r,t),so(t),s&512&&(Nt||i===null||zr(i,i.return)),s&64&&Zr&&(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=lr;if(lo(r,t),so(t),s&512&&(Nt||i===null||zr(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[Pl]||g[Pt]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=f.createElement(s),f.head.insertBefore(g,f.querySelector("head > title"))),Vt(g,s,i),g[Pt]=t,Ot(g),s=g;break e;case"link":var S=x1("link","href",f).get(s+(i.href||""));if(S){for(var N=0;N<S.length;N++)if(g=S[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)){S.splice(N,1);break t}}g=f.createElement(s),Vt(g,s,i),f.head.appendChild(g);break;case"meta":if(S=x1("meta","content",f).get(s+(i.content||""))){for(N=0;N<S.length;N++)if(g=S[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)){S.splice(N,1);break t}}g=f.createElement(s),Vt(g,s,i),f.head.appendChild(g);break;default:throw Error(a(468,s))}g[Pt]=t,Ot(g),s=g}t.stateNode=s}else w1(f,t.type,t.stateNode);else t.stateNode=y1(f,s,t.memoizedProps);else g!==s?(g===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):g.count--,s===null?w1(f,t.type,t.stateNode):y1(f,s,t.memoizedProps)):s===null&&t.stateNode!==null&&Bh(t,t.memoizedProps,i.memoizedProps)}break;case 27:lo(r,t),so(t),s&512&&(Nt||i===null||zr(i,i.return)),i!==null&&s&4&&Bh(t,t.memoizedProps,i.memoizedProps);break;case 5:if(lo(r,t),so(t),s&512&&(Nt||i===null||zr(i,i.return)),t.flags&32){f=t.stateNode;try{ui(f,"")}catch(be){Je(t,t.return,be)}}s&4&&t.stateNode!=null&&(f=t.memoizedProps,Bh(t,f,i!==null?i.memoizedProps:f)),s&1024&&(Ch=!0);break;case 6:if(lo(r,t),so(t),s&4){if(t.stateNode===null)throw Error(a(162));s=t.memoizedProps,i=t.stateNode;try{i.nodeValue=s}catch(be){Je(t,t.return,be)}}break;case 3:if(ku=null,f=lr,lr=wu(r.containerInfo),lo(r,t),lr=f,so(t),s&4&&i!==null&&i.memoizedState.isDehydrated)try{Ii(r.containerInfo)}catch(be){Je(t,t.return,be)}Ch&&(Ch=!1,wb(t));break;case 4:s=lr,lr=wu(t.stateNode.containerInfo),lo(r,t),so(t),lr=s;break;case 12:lo(r,t),so(t);break;case 31:lo(r,t),so(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,lu(t,s)));break;case 13:lo(r,t),so(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(cu=vo()),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,lu(t,s)));break;case 22:f=t.memoizedState!==null;var D=i!==null&&i.memoizedState!==null,G=Zr,Z=Nt;if(Zr=G||f,Nt=Z||D,lo(r,t),Nt=Z,Zr=G,so(t),s&8192)e:for(r=t.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(i===null||D||Zr||Nt||ja(t)),i=null,r=t;;){if(r.tag===5||r.tag===26){if(i===null){D=i=r;try{if(g=D.stateNode,f)S=g.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{N=D.stateNode;var re=D.memoizedProps.style,W=re!=null&&re.hasOwnProperty("display")?re.display:null;N.style.display=W==null||typeof W=="boolean"?"":(""+W).trim()}}catch(be){Je(D,D.return,be)}}}else if(r.tag===6){if(i===null){D=r;try{D.stateNode.nodeValue=f?"":D.memoizedProps}catch(be){Je(D,D.return,be)}}}else if(r.tag===18){if(i===null){D=r;try{var K=D.stateNode;f?u1(K,!0):u1(D.stateNode,!1)}catch(be){Je(D,D.return,be)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===t)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;i===r&&(i=null),r=r.return}i===r&&(i=null),r.sibling.return=r.return,r=r.sibling}s&4&&(s=t.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,lu(t,i))));break;case 19:lo(r,t),so(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,lu(t,s)));break;case 30:break;case 21:break;default:lo(r,t),so(t)}}function so(t){var r=t.flags;if(r&2){try{for(var i,s=t.return;s!==null;){if(fb(s)){i=s;break}s=s.return}if(i==null)throw Error(a(160));switch(i.tag){case 27:var f=i.stateNode,g=_h(t);iu(t,g,f);break;case 5:var S=i.stateNode;i.flags&32&&(ui(S,""),i.flags&=-33);var N=_h(t);iu(t,N,S);break;case 3:case 4:var D=i.stateNode.containerInfo,G=_h(t);zh(t,G,D);break;default:throw Error(a(161))}}catch(Z){Je(t,t.return,Z)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function wb(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var r=t;wb(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),t=t.sibling}}function Jr(t,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)gb(t,r.alternate,r),r=r.sibling}function ja(t){for(t=t.child;t!==null;){var r=t;switch(r.tag){case 0:case 11:case 14:case 15:On(4,r,r.return),ja(r);break;case 1:zr(r,r.return);var i=r.stateNode;typeof i.componentWillUnmount=="function"&&ub(r,r.return,i),ja(r);break;case 27:Ss(r.stateNode);case 26:case 5:zr(r,r.return),ja(r);break;case 22:r.memoizedState===null&&ja(r);break;case 30:ja(r);break;default:ja(r)}t=t.sibling}}function en(t,r,i){for(i=i&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var s=r.alternate,f=t,g=r,S=g.flags;switch(g.tag){case 0:case 11:case 15:en(f,g,i),fs(4,g);break;case 1:if(en(f,g,i),s=g,f=s.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(G){Je(s,s.return,G)}if(s=g,f=s.updateQueue,f!==null){var N=s.stateNode;try{var D=f.shared.hiddenCallbacks;if(D!==null)for(f.shared.hiddenCallbacks=null,f=0;f<D.length;f++)Y0(D[f],N)}catch(G){Je(s,s.return,G)}}i&&S&64&&cb(g),hs(g,g.return);break;case 27:hb(g);case 26:case 5:en(f,g,i),i&&s===null&&S&4&&db(g),hs(g,g.return);break;case 12:en(f,g,i);break;case 31:en(f,g,i),i&&S&4&&bb(f,g);break;case 13:en(f,g,i),i&&S&4&&yb(f,g);break;case 22:g.memoizedState===null&&en(f,g,i),hs(g,g.return);break;case 30:break;default:en(f,g,i)}r=r.sibling}}function Nh(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&&Jl(i))}function Th(t,r){t=null,r.alternate!==null&&(t=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==t&&(r.refCount++,t!=null&&Jl(t))}function sr(t,r,i,s){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Sb(t,r,i,s),r=r.sibling}function Sb(t,r,i,s){var f=r.flags;switch(r.tag){case 0:case 11:case 15:sr(t,r,i,s),f&2048&&fs(9,r);break;case 1:sr(t,r,i,s);break;case 3:sr(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&&Jl(t)));break;case 12:if(f&2048){sr(t,r,i,s),t=r.stateNode;try{var g=r.memoizedProps,S=g.id,N=g.onPostCommit;typeof N=="function"&&N(S,r.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(D){Je(r,r.return,D)}}else sr(t,r,i,s);break;case 31:sr(t,r,i,s);break;case 13:sr(t,r,i,s);break;case 23:break;case 22:g=r.stateNode,S=r.alternate,r.memoizedState!==null?g._visibility&2?sr(t,r,i,s):ps(t,r):g._visibility&2?sr(t,r,i,s):(g._visibility|=2,Ei(t,r,i,s,(r.subtreeFlags&10256)!==0||!1)),f&2048&&Nh(S,r);break;case 24:sr(t,r,i,s),f&2048&&Th(r.alternate,r);break;default:sr(t,r,i,s)}}function Ei(t,r,i,s,f){for(f=f&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var g=t,S=r,N=i,D=s,G=S.flags;switch(S.tag){case 0:case 11:case 15:Ei(g,S,N,D,f),fs(8,S);break;case 23:break;case 22:var Z=S.stateNode;S.memoizedState!==null?Z._visibility&2?Ei(g,S,N,D,f):ps(g,S):(Z._visibility|=2,Ei(g,S,N,D,f)),f&&G&2048&&Nh(S.alternate,S);break;case 24:Ei(g,S,N,D,f),f&&G&2048&&Th(S.alternate,S);break;default:Ei(g,S,N,D,f)}r=r.sibling}}function ps(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:ps(i,s),f&2048&&Nh(s.alternate,s);break;case 24:ps(i,s),f&2048&&Th(s.alternate,s);break;default:ps(i,s)}r=r.sibling}}var gs=8192;function ji(t,r,i){if(t.subtreeFlags&gs)for(t=t.child;t!==null;)kb(t,r,i),t=t.sibling}function kb(t,r,i){switch(t.tag){case 26:ji(t,r,i),t.flags&gs&&t.memoizedState!==null&&dB(i,lr,t.memoizedState,t.memoizedProps);break;case 5:ji(t,r,i);break;case 3:case 4:var s=lr;lr=wu(t.stateNode.containerInfo),ji(t,r,i),lr=s;break;case 22:t.memoizedState===null&&(s=t.alternate,s!==null&&s.memoizedState!==null?(s=gs,gs=16777216,ji(t,r,i),gs=s):ji(t,r,i));break;default:ji(t,r,i)}}function Bb(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 ms(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];Ft=s,zb(s,t)}Bb(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)_b(t),t=t.sibling}function _b(t){switch(t.tag){case 0:case 11:case 15:ms(t),t.flags&2048&&On(9,t,t.return);break;case 3:ms(t);break;case 12:ms(t);break;case 22:var r=t.stateNode;t.memoizedState!==null&&r._visibility&2&&(t.return===null||t.return.tag!==13)?(r._visibility&=-3,su(t)):ms(t);break;default:ms(t)}}function su(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];Ft=s,zb(s,t)}Bb(t)}for(t=t.child;t!==null;){switch(r=t,r.tag){case 0:case 11:case 15:On(8,r,r.return),su(r);break;case 22:i=r.stateNode,i._visibility&2&&(i._visibility&=-3,su(r));break;default:su(r)}t=t.sibling}}function zb(t,r){for(;Ft!==null;){var i=Ft;switch(i.tag){case 0:case 11:case 15:On(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:Jl(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Ft=s;else e:for(i=t;Ft!==null;){s=Ft;var f=s.sibling,g=s.return;if(mb(s),s===i){Ft=null;break e}if(f!==null){f.return=g,Ft=f;break e}Ft=g}}}var z3={getCacheForType:function(t){var r=Lt(_t),i=r.data.get(t);return i===void 0&&(i=t(),r.data.set(t,i)),i},cacheSignal:function(){return Lt(_t).controller.signal}},C3=typeof WeakMap=="function"?WeakMap:Map,$e=0,at=null,Me=null,He=0,Ye=0,Bo=null,Fn=!1,Ri=!1,Eh=!1,tn=0,bt=0,qn=0,Ra=0,jh=0,_o=0,Ai=0,vs=null,co=null,Rh=!1,cu=0,Cb=0,uu=1/0,du=null,Hn=null,jt=0,Pn=null,Di=null,on=0,Ah=0,Dh=null,Nb=null,bs=0,Mh=null;function zo(){return($e&2)!==0&&He!==0?He&-He:L.T!==null?Ih():Vm()}function Tb(){if(_o===0)if((He&536870912)===0||Le){var t=yc;yc<<=1,(yc&3932160)===0&&(yc=262144),_o=t}else _o=536870912;return t=So.current,t!==null&&(t.flags|=32),_o}function uo(t,r,i){(t===at&&(Ye===2||Ye===9)||t.cancelPendingCommit!==null)&&(Mi(t,0),In(t,He,_o,!1)),Hl(t,i),(($e&2)===0||t!==at)&&(t===at&&(($e&2)===0&&(Ra|=i),bt===4&&In(t,He,_o,!1)),Cr(t))}function Eb(t,r,i){if(($e&6)!==0)throw Error(a(327));var s=!i&&(r&127)===0&&(r&t.expiredLanes)===0||ql(t,r),f=s?E3(t,r):Fh(t,r,!0),g=s;do{if(f===0){Ri&&!s&&In(t,r,0,!1);break}else{if(i=t.current.alternate,g&&!N3(i)){f=Fh(t,r,!1),g=!1;continue}if(f===2){if(g=r,t.errorRecoveryDisabledLanes&g)var S=0;else S=t.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){r=S;e:{var N=t;f=vs;var D=N.current.memoizedState.isDehydrated;if(D&&(Mi(N,S).flags|=256),S=Fh(N,S,!1),S!==2){if(Eh&&!D){N.errorRecoveryDisabledLanes|=g,Ra|=g,f=4;break e}g=co,co=f,g!==null&&(co===null?co=g:co.push.apply(co,g))}f=S}if(g=!1,f!==2)continue}}if(f===1){Mi(t,0),In(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:In(s,r,_o,!Fn);break e;case 2:co=null;break;case 3:case 5:break;default:throw Error(a(329))}if((r&62914560)===r&&(f=cu+300-vo(),10<f)){if(In(s,r,_o,!Fn),wc(s,0,!0)!==0)break e;on=r,s.timeoutHandle=l1(jb.bind(null,s,i,co,du,Rh,r,_o,Ra,Ai,Fn,g,"Throttled",-0,0),f);break e}jb(s,i,co,du,Rh,r,_o,Ra,Ai,Fn,g,null,-0,0)}}break}while(!0);Cr(t)}function jb(t,r,i,s,f,g,S,N,D,G,Z,re,W,K){if(t.timeoutHandle=-1,re=r.subtreeFlags,re&8192||(re&16785408)===16785408){re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ir},kb(r,g,re);var be=(g&62914560)===g?cu-vo():(g&4194048)===g?Cb-vo():0;if(be=fB(re,be),be!==null){on=g,t.cancelPendingCommit=be(Hb.bind(null,t,r,g,i,s,f,S,N,D,Z,re,null,W,K)),In(t,g,S,!G);return}}Hb(t,r,g,i,s,f,S,N,D)}function N3(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(!xo(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 In(t,r,i,s){r&=~jh,r&=~Ra,t.suspendedLanes|=r,t.pingedLanes&=~r,s&&(t.warmLanes|=r),s=t.expirationTimes;for(var f=r;0<f;){var g=31-yo(f),S=1<<g;s[g]=-1,f&=~S}i!==0&&Im(t,i,r)}function fu(){return($e&6)===0?(ys(0),!1):!0}function Oh(){if(Me!==null){if(Ye===0)var t=Me.return;else t=Me,Gr=ka=null,Yf(t),_i=null,ts=0,t=Me;for(;t!==null;)sb(t.alternate,t),t=t.return;Me=null}}function Mi(t,r){var i=t.timeoutHandle;i!==-1&&(t.timeoutHandle=-1,$3(i)),i=t.cancelPendingCommit,i!==null&&(t.cancelPendingCommit=null,i()),on=0,Oh(),at=t,Me=i=Ur(t.current,null),He=r,Ye=0,Bo=null,Fn=!1,Ri=ql(t,r),Eh=!1,Ai=_o=jh=Ra=qn=bt=0,co=vs=null,Rh=!1,(r&8)!==0&&(r|=r&32);var s=t.entangledLanes;if(s!==0)for(t=t.entanglements,s&=r;0<s;){var f=31-yo(s),g=1<<f;r|=t[f],s&=~g}return tn=r,Ac(),i}function Rb(t,r){Te=null,L.H=cs,r===Bi||r===Ic?(r=$0(),Ye=3):r===Pf?(r=$0(),Ye=4):Ye=r===ph?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,Bo=r,Me===null&&(bt=1,tu(t,Io(r,t.current)))}function Ab(){var t=So.current;return t===null?!0:(He&4194048)===He?Go===null:(He&62914560)===He||(He&536870912)!==0?t===Go:!1}function Db(){var t=L.H;return L.H=cs,t===null?cs:t}function Mb(){var t=L.A;return L.A=z3,t}function hu(){bt=4,Fn||(He&4194048)!==He&&So.current!==null||(Ri=!0),(qn&134217727)===0&&(Ra&134217727)===0||at===null||In(at,He,_o,!1)}function Fh(t,r,i){var s=$e;$e|=2;var f=Db(),g=Mb();(at!==t||He!==r)&&(du=null,Mi(t,r)),r=!1;var S=bt;e:do try{if(Ye!==0&&Me!==null){var N=Me,D=Bo;switch(Ye){case 8:Oh(),S=6;break e;case 3:case 2:case 9:case 6:So.current===null&&(r=!0);var G=Ye;if(Ye=0,Bo=null,Oi(t,N,D,G),i&&Ri){S=0;break e}break;default:G=Ye,Ye=0,Bo=null,Oi(t,N,D,G)}}T3(),S=bt;break}catch(Z){Rb(t,Z)}while(!0);return r&&t.shellSuspendCounter++,Gr=ka=null,$e=s,L.H=f,L.A=g,Me===null&&(at=null,He=0,Ac()),S}function T3(){for(;Me!==null;)Ob(Me)}function E3(t,r){var i=$e;$e|=2;var s=Db(),f=Mb();at!==t||He!==r?(du=null,uu=vo()+500,Mi(t,r)):Ri=ql(t,r);e:do try{if(Ye!==0&&Me!==null){r=Me;var g=Bo;t:switch(Ye){case 1:Ye=0,Bo=null,Oi(t,r,g,1);break;case 2:case 9:if(W0(g)){Ye=0,Bo=null,Fb(r);break}r=function(){Ye!==2&&Ye!==9||at!==t||(Ye=7),Cr(t)},g.then(r,r);break e;case 3:Ye=7;break e;case 4:Ye=5;break e;case 7:W0(g)?(Ye=0,Bo=null,Fb(r)):(Ye=0,Bo=null,Oi(t,r,g,7));break;case 5:var S=null;switch(Me.tag){case 26:S=Me.memoizedState;case 5:case 27:var N=Me;if(S?S1(S):N.stateNode.complete){Ye=0,Bo=null;var D=N.sibling;if(D!==null)Me=D;else{var G=N.return;G!==null?(Me=G,pu(G)):Me=null}break t}}Ye=0,Bo=null,Oi(t,r,g,5);break;case 6:Ye=0,Bo=null,Oi(t,r,g,6);break;case 8:Oh(),bt=6;break e;default:throw Error(a(462))}}j3();break}catch(Z){Rb(t,Z)}while(!0);return Gr=ka=null,L.H=s,L.A=f,$e=i,Me!==null?0:(at=null,He=0,Ac(),bt)}function j3(){for(;Me!==null&&!ek();)Ob(Me)}function Ob(t){var r=ib(t.alternate,t,tn);t.memoizedProps=t.pendingProps,r===null?pu(t):Me=r}function Fb(t){var r=t,i=r.alternate;switch(r.tag){case 15:case 0:r=eb(i,r,r.pendingProps,r.type,void 0,He);break;case 11:r=eb(i,r,r.pendingProps,r.type.render,r.ref,He);break;case 5:Yf(r);default:sb(i,r),r=Me=M0(r,tn),r=ib(i,r,tn)}t.memoizedProps=t.pendingProps,r===null?pu(t):Me=r}function Oi(t,r,i,s){Gr=ka=null,Yf(r),_i=null,ts=0;var f=r.return;try{if(y3(t,f,r,i,He)){bt=1,tu(t,Io(i,t.current)),Me=null;return}}catch(g){if(f!==null)throw Me=f,g;bt=1,tu(t,Io(i,t.current)),Me=null;return}r.flags&32768?(Le||s===1?t=!0:Ri||(He&536870912)!==0?t=!1:(Fn=t=!0,(s===2||s===9||s===3||s===6)&&(s=So.current,s!==null&&s.tag===13&&(s.flags|=16384))),qb(r,t)):pu(r)}function pu(t){var r=t;do{if((r.flags&32768)!==0){qb(r,Fn);return}t=r.return;var i=S3(r.alternate,r,tn);if(i!==null){Me=i;return}if(r=r.sibling,r!==null){Me=r;return}Me=r=t}while(r!==null);bt===0&&(bt=5)}function qb(t,r){do{var i=k3(t.alternate,t);if(i!==null){i.flags&=32767,Me=i;return}if(i=t.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!r&&(t=t.sibling,t!==null)){Me=t;return}Me=t=i}while(t!==null);bt=6,Me=null}function Hb(t,r,i,s,f,g,S,N,D){t.cancelPendingCommit=null;do gu();while(jt!==0);if(($e&6)!==0)throw Error(a(327));if(r!==null){if(r===t.current)throw Error(a(177));if(g=r.lanes|r.childLanes,g|=_f,uk(t,i,g,S,N,D),t===at&&(Me=at=null,He=0),Di=r,Pn=t,on=i,Ah=g,Dh=f,Nb=s,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,M3(vc,function(){return Vb(),null})):(t.callbackNode=null,t.callbackPriority=0),s=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||s){s=L.T,L.T=null,f=te.p,te.p=2,S=$e,$e|=4;try{B3(t,r,i)}finally{$e=S,te.p=f,L.T=s}}jt=1,Pb(),Ib(),Lb()}}function Pb(){if(jt===1){jt=0;var t=Pn,r=Di,i=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||i){i=L.T,L.T=null;var s=te.p;te.p=2;var f=$e;$e|=4;try{xb(r,t);var g=Kh,S=z0(t.containerInfo),N=g.focusedElem,D=g.selectionRange;if(S!==N&&N&&N.ownerDocument&&_0(N.ownerDocument.documentElement,N)){if(D!==null&&xf(N)){var G=D.start,Z=D.end;if(Z===void 0&&(Z=G),"selectionStart"in N)N.selectionStart=G,N.selectionEnd=Math.min(Z,N.value.length);else{var re=N.ownerDocument||document,W=re&&re.defaultView||window;if(W.getSelection){var K=W.getSelection(),be=N.textContent.length,Be=Math.min(D.start,be),nt=D.end===void 0?Be:Math.min(D.end,be);!K.extend&&Be>nt&&(S=nt,nt=Be,Be=S);var I=B0(N,Be),H=B0(N,nt);if(I&&H&&(K.rangeCount!==1||K.anchorNode!==I.node||K.anchorOffset!==I.offset||K.focusNode!==H.node||K.focusOffset!==H.offset)){var V=re.createRange();V.setStart(I.node,I.offset),K.removeAllRanges(),Be>nt?(K.addRange(V),K.extend(H.node,H.offset)):(V.setEnd(H.node,H.offset),K.addRange(V))}}}}for(re=[],K=N;K=K.parentNode;)K.nodeType===1&&re.push({element:K,left:K.scrollLeft,top:K.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;N<re.length;N++){var Y=re[N];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}Cu=!!$h,Kh=$h=null}finally{$e=f,te.p=s,L.T=i}}t.current=r,jt=2}}function Ib(){if(jt===2){jt=0;var t=Pn,r=Di,i=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||i){i=L.T,L.T=null;var s=te.p;te.p=2;var f=$e;$e|=4;try{gb(t,r.alternate,r)}finally{$e=f,te.p=s,L.T=i}}jt=3}}function Lb(){if(jt===4||jt===3){jt=0,tk();var t=Pn,r=Di,i=on,s=Nb;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?jt=5:(jt=0,Di=Pn=null,Ub(t,t.pendingLanes));var f=t.pendingLanes;if(f===0&&(Hn=null),ef(i),r=r.stateNode,bo&&typeof bo.onCommitFiberRoot=="function")try{bo.onCommitFiberRoot(Fl,r,void 0,(r.current.flags&128)===128)}catch{}if(s!==null){r=L.T,f=te.p,te.p=2,L.T=null;try{for(var g=t.onRecoverableError,S=0;S<s.length;S++){var N=s[S];g(N.value,{componentStack:N.stack})}}finally{L.T=r,te.p=f}}(on&3)!==0&&gu(),Cr(t),f=t.pendingLanes,(i&261930)!==0&&(f&42)!==0?t===Mh?bs++:(bs=0,Mh=t):bs=0,ys(0)}}function Ub(t,r){(t.pooledCacheLanes&=r)===0&&(r=t.pooledCache,r!=null&&(t.pooledCache=null,Jl(r)))}function gu(){return Pb(),Ib(),Lb(),Vb()}function Vb(){if(jt!==5)return!1;var t=Pn,r=Ah;Ah=0;var i=ef(on),s=L.T,f=te.p;try{te.p=32>i?32:i,L.T=null,i=Dh,Dh=null;var g=Pn,S=on;if(jt=0,Di=Pn=null,on=0,($e&6)!==0)throw Error(a(331));var N=$e;if($e|=4,_b(g.current),Sb(g,g.current,S,i),$e=N,ys(0,!1),bo&&typeof bo.onPostCommitFiberRoot=="function")try{bo.onPostCommitFiberRoot(Fl,g)}catch{}return!0}finally{te.p=f,L.T=s,Ub(t,r)}}function Gb(t,r,i){r=Io(i,r),r=hh(t.stateNode,r,2),t=An(t,r,2),t!==null&&(Hl(t,2),Cr(t))}function Je(t,r,i){if(t.tag===3)Gb(t,t,i);else for(;r!==null;){if(r.tag===3){Gb(r,t,i);break}else if(r.tag===1){var s=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Hn===null||!Hn.has(s))){t=Io(i,t),i=Wv(2),s=An(r,i,2),s!==null&&(Xv(i,s,r,t),Hl(s,2),Cr(s));break}}r=r.return}}function qh(t,r,i){var s=t.pingCache;if(s===null){s=t.pingCache=new C3;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)||(Eh=!0,f.add(i),t=R3.bind(null,t,r,i),r.then(t,t))}function R3(t,r,i){var s=t.pingCache;s!==null&&s.delete(r),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,at===t&&(He&i)===i&&(bt===4||bt===3&&(He&62914560)===He&&300>vo()-cu?($e&2)===0&&Mi(t,0):jh|=i,Ai===He&&(Ai=0)),Cr(t)}function Wb(t,r){r===0&&(r=Pm()),t=xa(t,r),t!==null&&(Hl(t,r),Cr(t))}function A3(t){var r=t.memoizedState,i=0;r!==null&&(i=r.retryLane),Wb(t,i)}function D3(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),Wb(t,i)}function M3(t,r){return kr(t,r)}var mu=null,Fi=null,Hh=!1,vu=!1,Ph=!1,Ln=0;function Cr(t){t!==Fi&&t.next===null&&(Fi===null?mu=Fi=t:Fi=Fi.next=t),vu=!0,Hh||(Hh=!0,F3())}function ys(t,r){if(!Ph&&vu){Ph=!0;do for(var i=!1,s=mu;s!==null;){if(t!==0){var f=s.pendingLanes;if(f===0)var g=0;else{var S=s.suspendedLanes,N=s.pingedLanes;g=(1<<31-yo(42|t)+1)-1,g&=f&~(S&~N),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(i=!0,Qb(s,g))}else g=He,g=wc(s,s===at?g:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(g&3)===0||ql(s,g)||(i=!0,Qb(s,g));s=s.next}while(i);Ph=!1}}function O3(){Xb()}function Xb(){vu=Hh=!1;var t=0;Ln!==0&&X3()&&(t=Ln);for(var r=vo(),i=null,s=mu;s!==null;){var f=s.next,g=$b(s,r);g===0?(s.next=null,i===null?mu=f:i.next=f,f===null&&(Fi=i)):(i=s,(t!==0||(g&3)!==0)&&(vu=!0)),s=f}jt!==0&&jt!==5||ys(t),Ln!==0&&(Ln=0)}function $b(t,r){for(var i=t.suspendedLanes,s=t.pingedLanes,f=t.expirationTimes,g=t.pendingLanes&-62914561;0<g;){var S=31-yo(g),N=1<<S,D=f[S];D===-1?((N&i)===0||(N&s)!==0)&&(f[S]=ck(N,r)):D<=r&&(t.expiredLanes|=N),g&=~N}if(r=at,i=He,i=wc(t,t===r?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s=t.callbackNode,i===0||t===r&&(Ye===2||Ye===9)||t.cancelPendingCommit!==null)return s!==null&&s!==null&&Hr(s),t.callbackNode=null,t.callbackPriority=0;if((i&3)===0||ql(t,i)){if(r=i&-i,r===t.callbackPriority)return r;switch(s!==null&&Hr(s),ef(i)){case 2:case 8:i=qm;break;case 32:i=vc;break;case 268435456:i=Hm;break;default:i=vc}return s=Kb.bind(null,t),i=kr(i,s),t.callbackPriority=r,t.callbackNode=i,r}return s!==null&&s!==null&&Hr(s),t.callbackPriority=2,t.callbackNode=null,2}function Kb(t,r){if(jt!==0&&jt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var i=t.callbackNode;if(gu()&&t.callbackNode!==i)return null;var s=He;return s=wc(t,t===at?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s===0?null:(Eb(t,s,r),$b(t,vo()),t.callbackNode!=null&&t.callbackNode===i?Kb.bind(null,t):null)}function Qb(t,r){if(gu())return null;Eb(t,r,!0)}function F3(){K3(function(){($e&6)!==0?kr(Fm,O3):Xb()})}function Ih(){if(Ln===0){var t=Si;t===0&&(t=bc,bc<<=1,(bc&261888)===0&&(bc=256)),Ln=t}return Ln}function Zb(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:_c(""+t)}function Yb(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 q3(t,r,i,s,f){if(r==="submit"&&i&&i.stateNode===f){var g=Zb((f[no]||null).action),S=s.submitter;S&&(r=(r=S[no]||null)?Zb(r.formAction):S.getAttribute("formAction"),r!==null&&(g=r,S=null));var N=new Tc("action","action",null,s,f);t.push({event:N,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Ln!==0){var D=S?Yb(f,S):new FormData(f);lh(i,{pending:!0,data:D,method:f.method,action:g},null,D)}}else typeof g=="function"&&(N.preventDefault(),D=S?Yb(f,S):new FormData(f),lh(i,{pending:!0,data:D,method:f.method,action:g},g,D))},currentTarget:f}]})}}for(var Lh=0;Lh<Bf.length;Lh++){var Uh=Bf[Lh],H3=Uh.toLowerCase(),P3=Uh[0].toUpperCase()+Uh.slice(1);ir(H3,"on"+P3)}ir(T0,"onAnimationEnd"),ir(E0,"onAnimationIteration"),ir(j0,"onAnimationStart"),ir("dblclick","onDoubleClick"),ir("focusin","onFocus"),ir("focusout","onBlur"),ir(o3,"onTransitionRun"),ir(r3,"onTransitionStart"),ir(n3,"onTransitionCancel"),ir(R0,"onTransitionEnd"),si("onMouseEnter",["mouseout","mouseover"]),si("onMouseLeave",["mouseout","mouseover"]),si("onPointerEnter",["pointerout","pointerover"]),si("onPointerLeave",["pointerout","pointerover"]),ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ma("onBeforeInput",["compositionend","keypress","textInput","paste"]),ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),I3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xs));function Jb(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 S=s.length-1;0<=S;S--){var N=s[S],D=N.instance,G=N.currentTarget;if(N=N.listener,D!==g&&f.isPropagationStopped())break e;g=N,f.currentTarget=G;try{g(f)}catch(Z){Rc(Z)}f.currentTarget=null,g=D}else for(S=0;S<s.length;S++){if(N=s[S],D=N.instance,G=N.currentTarget,N=N.listener,D!==g&&f.isPropagationStopped())break e;g=N,f.currentTarget=G;try{g(f)}catch(Z){Rc(Z)}f.currentTarget=null,g=D}}}}function Oe(t,r){var i=r[tf];i===void 0&&(i=r[tf]=new Set);var s=t+"__bubble";i.has(s)||(e1(r,t,2,!1),i.add(s))}function Vh(t,r,i){var s=0;r&&(s|=4),e1(i,t,s,r)}var bu="_reactListening"+Math.random().toString(36).slice(2);function Gh(t){if(!t[bu]){t[bu]=!0,Xm.forEach(function(i){i!=="selectionchange"&&(I3.has(i)||Vh(i,!1,t),Vh(i,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[bu]||(r[bu]=!0,Vh("selectionchange",!1,r))}}function e1(t,r,i,s){switch(T1(r)){case 2:var f=gB;break;case 8:f=mB;break;default:f=ip}i=f.bind(null,r,i,t),f=void 0,!df||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 Wh(t,r,i,s,f){var g=s;if((r&1)===0&&(r&2)===0&&s!==null)e:for(;;){if(s===null)return;var S=s.tag;if(S===3||S===4){var N=s.stateNode.containerInfo;if(N===f)break;if(S===4)for(S=s.return;S!==null;){var D=S.tag;if((D===3||D===4)&&S.stateNode.containerInfo===f)return;S=S.return}for(;N!==null;){if(S=ai(N),S===null)return;if(D=S.tag,D===5||D===6||D===26||D===27){s=g=S;continue e}N=N.parentNode}}s=s.return}a0(function(){var G=g,Z=cf(i),re=[];e:{var W=A0.get(t);if(W!==void 0){var K=Tc,be=t;switch(t){case"keypress":if(Cc(i)===0)break e;case"keydown":case"keyup":K=Dk;break;case"focusin":be="focus",K=gf;break;case"focusout":be="blur",K=gf;break;case"beforeblur":case"afterblur":K=gf;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=s0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=Sk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=Fk;break;case T0:case E0:case j0:K=_k;break;case R0:K=Hk;break;case"scroll":case"scrollend":K=xk;break;case"wheel":K=Ik;break;case"copy":case"cut":case"paste":K=Ck;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=u0;break;case"toggle":case"beforetoggle":K=Uk}var Be=(r&4)!==0,nt=!Be&&(t==="scroll"||t==="scrollend"),I=Be?W!==null?W+"Capture":null:W;Be=[];for(var H=G,V;H!==null;){var Y=H;if(V=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||V===null||I===null||(Y=Ll(H,I),Y!=null&&Be.push(ws(H,Y,V))),nt)break;H=H.return}0<Be.length&&(W=new K(W,be,null,i,Z),re.push({event:W,listeners:Be}))}}if((r&7)===0){e:{if(W=t==="mouseover"||t==="pointerover",K=t==="mouseout"||t==="pointerout",W&&i!==sf&&(be=i.relatedTarget||i.fromElement)&&(ai(be)||be[ni]))break e;if((K||W)&&(W=Z.window===Z?Z:(W=Z.ownerDocument)?W.defaultView||W.parentWindow:window,K?(be=i.relatedTarget||i.toElement,K=G,be=be?ai(be):null,be!==null&&(nt=c(be),Be=be.tag,be!==nt||Be!==5&&Be!==27&&Be!==6)&&(be=null)):(K=null,be=G),K!==be)){if(Be=s0,Y="onMouseLeave",I="onMouseEnter",H="mouse",(t==="pointerout"||t==="pointerover")&&(Be=u0,Y="onPointerLeave",I="onPointerEnter",H="pointer"),nt=K==null?W:Il(K),V=be==null?W:Il(be),W=new Be(Y,H+"leave",K,i,Z),W.target=nt,W.relatedTarget=V,Y=null,ai(Z)===G&&(Be=new Be(I,H+"enter",be,i,Z),Be.target=V,Be.relatedTarget=nt,Y=Be),nt=Y,K&&be)t:{for(Be=L3,I=K,H=be,V=0,Y=I;Y;Y=Be(Y))V++;Y=0;for(var we=H;we;we=Be(we))Y++;for(;0<V-Y;)I=Be(I),V--;for(;0<Y-V;)H=Be(H),Y--;for(;V--;){if(I===H||H!==null&&I===H.alternate){Be=I;break t}I=Be(I),H=Be(H)}Be=null}else Be=null;K!==null&&t1(re,W,K,Be,!1),be!==null&&nt!==null&&t1(re,nt,be,Be,!0)}}e:{if(W=G?Il(G):window,K=W.nodeName&&W.nodeName.toLowerCase(),K==="select"||K==="input"&&W.type==="file")var Ve=b0;else if(m0(W))if(y0)Ve=Jk;else{Ve=Zk;var ye=Qk}else K=W.nodeName,!K||K.toLowerCase()!=="input"||W.type!=="checkbox"&&W.type!=="radio"?G&&lf(G.elementType)&&(Ve=b0):Ve=Yk;if(Ve&&(Ve=Ve(t,G))){v0(re,Ve,i,Z);break e}ye&&ye(t,W,G),t==="focusout"&&G&&W.type==="number"&&G.memoizedProps.value!=null&&af(W,"number",W.value)}switch(ye=G?Il(G):window,t){case"focusin":(m0(ye)||ye.contentEditable==="true")&&(pi=ye,wf=G,Ql=null);break;case"focusout":Ql=wf=pi=null;break;case"mousedown":Sf=!0;break;case"contextmenu":case"mouseup":case"dragend":Sf=!1,C0(re,i,Z);break;case"selectionchange":if(t3)break;case"keydown":case"keyup":C0(re,i,Z)}var je;if(vf)e:{switch(t){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else hi?p0(t,i)&&(Pe="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(Pe="onCompositionStart");Pe&&(d0&&i.locale!=="ko"&&(hi||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&hi&&(je=i0()):(zn=Z,ff="value"in zn?zn.value:zn.textContent,hi=!0)),ye=yu(G,Pe),0<ye.length&&(Pe=new c0(Pe,t,null,i,Z),re.push({event:Pe,listeners:ye}),je?Pe.data=je:(je=g0(i),je!==null&&(Pe.data=je)))),(je=Gk?Wk(t,i):Xk(t,i))&&(Pe=yu(G,"onBeforeInput"),0<Pe.length&&(ye=new c0("onBeforeInput","beforeinput",null,i,Z),re.push({event:ye,listeners:Pe}),ye.data=je)),q3(re,t,G,i,Z)}Jb(re,r)})}function ws(t,r,i){return{instance:t,listener:r,currentTarget:i}}function yu(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=Ll(t,i),f!=null&&s.unshift(ws(t,f,g)),f=Ll(t,r),f!=null&&s.push(ws(t,f,g))),t.tag===3)return s;t=t.return}return[]}function L3(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function t1(t,r,i,s,f){for(var g=r._reactName,S=[];i!==null&&i!==s;){var N=i,D=N.alternate,G=N.stateNode;if(N=N.tag,D!==null&&D===s)break;N!==5&&N!==26&&N!==27||G===null||(D=G,f?(G=Ll(i,g),G!=null&&S.unshift(ws(i,G,D))):f||(G=Ll(i,g),G!=null&&S.push(ws(i,G,D)))),i=i.return}S.length!==0&&t.push({event:r,listeners:S})}var U3=/\r\n?/g,V3=/\u0000|\uFFFD/g;function o1(t){return(typeof t=="string"?t:""+t).replace(U3,`
49
- `).replace(V3,"")}function r1(t,r){return r=o1(r),o1(t)===r}function rt(t,r,i,s,f,g){switch(i){case"children":typeof s=="string"?r==="body"||r==="textarea"&&s===""||ui(t,s):(typeof s=="number"||typeof s=="bigint")&&r!=="body"&&ui(t,""+s);break;case"className":kc(t,"class",s);break;case"tabIndex":kc(t,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":kc(t,i,s);break;case"style":r0(t,s,g);break;case"data":if(r!=="object"){kc(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=_c(""+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"&&rt(t,r,"name",f.name,f,null),rt(t,r,"formEncType",f.formEncType,f,null),rt(t,r,"formMethod",f.formMethod,f,null),rt(t,r,"formTarget",f.formTarget,f,null)):(rt(t,r,"encType",f.encType,f,null),rt(t,r,"method",f.method,f,null),rt(t,r,"target",f.target,f,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(i);break}s=_c(""+s),t.setAttribute(i,s);break;case"onClick":s!=null&&(t.onclick=Ir);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=_c(""+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),Sc(t,"popover",s);break;case"xlinkActuate":Pr(t,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":Pr(t,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":Pr(t,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":Pr(t,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":Pr(t,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":Pr(t,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":Pr(t,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":Pr(t,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":Pr(t,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Sc(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=bk.get(i)||i,Sc(t,i,s))}}function Xh(t,r,i,s,f,g){switch(i){case"style":r0(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"?ui(t,s):(typeof s=="number"||typeof s=="bigint")&&ui(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=Ir);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!$m.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[no]||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,""):Sc(t,i,s)}}}function Vt(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 S=i[g];if(S!=null)switch(g){case"src":s=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,r));default:rt(t,r,g,S,i,null)}}f&&rt(t,r,"srcSet",i.srcSet,i,null),s&&rt(t,r,"src",i.src,i,null);return;case"input":Oe("invalid",t);var N=g=S=f=null,D=null,G=null;for(s in i)if(i.hasOwnProperty(s)){var Z=i[s];if(Z!=null)switch(s){case"name":f=Z;break;case"type":S=Z;break;case"checked":D=Z;break;case"defaultChecked":G=Z;break;case"value":g=Z;break;case"defaultValue":N=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(a(137,r));break;default:rt(t,r,s,Z,i,null)}}Jm(t,g,N,D,G,S,f,!1);return;case"select":Oe("invalid",t),s=S=g=null;for(f in i)if(i.hasOwnProperty(f)&&(N=i[f],N!=null))switch(f){case"value":g=N;break;case"defaultValue":S=N;break;case"multiple":s=N;default:rt(t,r,f,N,i,null)}r=g,i=S,t.multiple=!!s,r!=null?ci(t,!!s,r,!1):i!=null&&ci(t,!!s,i,!0);return;case"textarea":Oe("invalid",t),g=f=s=null;for(S in i)if(i.hasOwnProperty(S)&&(N=i[S],N!=null))switch(S){case"value":s=N;break;case"defaultValue":f=N;break;case"children":g=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error(a(91));break;default:rt(t,r,S,N,i,null)}t0(t,s,f,g);return;case"option":for(D in i)if(i.hasOwnProperty(D)&&(s=i[D],s!=null))switch(D){case"selected":t.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:rt(t,r,D,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<xs.length;s++)Oe(xs[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:rt(t,r,G,s,i,null)}return;default:if(lf(r)){for(Z in i)i.hasOwnProperty(Z)&&(s=i[Z],s!==void 0&&Xh(t,r,Z,s,i,void 0));return}}for(N in i)i.hasOwnProperty(N)&&(s=i[N],s!=null&&rt(t,r,N,s,i,null))}function G3(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,S=null,N=null,D=null,G=null,Z=null;for(K in i){var re=i[K];if(i.hasOwnProperty(K)&&re!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":D=re;default:s.hasOwnProperty(K)||rt(t,r,K,null,s,re)}}for(var W in s){var K=s[W];if(re=i[W],s.hasOwnProperty(W)&&(K!=null||re!=null))switch(W){case"type":g=K;break;case"name":f=K;break;case"checked":G=K;break;case"defaultChecked":Z=K;break;case"value":S=K;break;case"defaultValue":N=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(a(137,r));break;default:K!==re&&rt(t,r,W,K,s,re)}}nf(t,S,N,D,G,Z,g,f);return;case"select":K=S=N=W=null;for(g in i)if(D=i[g],i.hasOwnProperty(g)&&D!=null)switch(g){case"value":break;case"multiple":K=D;default:s.hasOwnProperty(g)||rt(t,r,g,null,s,D)}for(f in s)if(g=s[f],D=i[f],s.hasOwnProperty(f)&&(g!=null||D!=null))switch(f){case"value":W=g;break;case"defaultValue":N=g;break;case"multiple":S=g;default:g!==D&&rt(t,r,f,g,s,D)}r=N,i=S,s=K,W!=null?ci(t,!!i,W,!1):!!s!=!!i&&(r!=null?ci(t,!!i,r,!0):ci(t,!!i,i?[]:"",!1));return;case"textarea":K=W=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:rt(t,r,N,null,s,f)}for(S in s)if(f=s[S],g=i[S],s.hasOwnProperty(S)&&(f!=null||g!=null))switch(S){case"value":W=f;break;case"defaultValue":K=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(a(91));break;default:f!==g&&rt(t,r,S,f,s,g)}e0(t,W,K);return;case"option":for(var be in i)if(W=i[be],i.hasOwnProperty(be)&&W!=null&&!s.hasOwnProperty(be))switch(be){case"selected":t.selected=!1;break;default:rt(t,r,be,null,s,W)}for(D in s)if(W=s[D],K=i[D],s.hasOwnProperty(D)&&W!==K&&(W!=null||K!=null))switch(D){case"selected":t.selected=W&&typeof W!="function"&&typeof W!="symbol";break;default:rt(t,r,D,W,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)W=i[Be],i.hasOwnProperty(Be)&&W!=null&&!s.hasOwnProperty(Be)&&rt(t,r,Be,null,s,W);for(G in s)if(W=s[G],K=i[G],s.hasOwnProperty(G)&&W!==K&&(W!=null||K!=null))switch(G){case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(a(137,r));break;default:rt(t,r,G,W,s,K)}return;default:if(lf(r)){for(var nt in i)W=i[nt],i.hasOwnProperty(nt)&&W!==void 0&&!s.hasOwnProperty(nt)&&Xh(t,r,nt,void 0,s,W);for(Z in s)W=s[Z],K=i[Z],!s.hasOwnProperty(Z)||W===K||W===void 0&&K===void 0||Xh(t,r,Z,W,s,K);return}}for(var I in i)W=i[I],i.hasOwnProperty(I)&&W!=null&&!s.hasOwnProperty(I)&&rt(t,r,I,null,s,W);for(re in s)W=s[re],K=i[re],!s.hasOwnProperty(re)||W===K||W==null&&K==null||rt(t,r,re,W,s,K)}function n1(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function W3(){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,S=f.initiatorType,N=f.duration;if(g&&N&&n1(S)){for(S=0,N=f.responseEnd,s+=1;s<i.length;s++){var D=i[s],G=D.startTime;if(G>N)break;var Z=D.transferSize,re=D.initiatorType;Z&&n1(re)&&(D=D.responseEnd,S+=Z*(D<N?1:(N-G)/(D-G)))}if(--s,r+=8*(g+S)/(f.duration/1e3),t++,10<t)break}}if(0<t)return r/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var $h=null,Kh=null;function xu(t){return t.nodeType===9?t:t.ownerDocument}function a1(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 i1(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 Qh(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 Zh=null;function X3(){var t=window.event;return t&&t.type==="popstate"?t===Zh?!1:(Zh=t,!0):(Zh=null,!1)}var l1=typeof setTimeout=="function"?setTimeout:void 0,$3=typeof clearTimeout=="function"?clearTimeout:void 0,s1=typeof Promise=="function"?Promise:void 0,K3=typeof queueMicrotask=="function"?queueMicrotask:typeof s1<"u"?function(t){return s1.resolve(null).then(t).catch(Q3)}:l1;function Q3(t){setTimeout(function(){throw t})}function Un(t){return t==="head"}function c1(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),Ii(r);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")Ss(t.ownerDocument.documentElement);else if(i==="head"){i=t.ownerDocument.head,Ss(i);for(var g=i.firstChild;g;){var S=g.nextSibling,N=g.nodeName;g[Pl]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&g.rel.toLowerCase()==="stylesheet"||i.removeChild(g),g=S}}else i==="body"&&Ss(t.ownerDocument.body);i=f}while(i);Ii(r)}function u1(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 Yh(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":Yh(i),of(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}t.removeChild(i)}}function Z3(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[Pl])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=Wo(t.nextSibling),t===null)break}return null}function Y3(t,r,i){if(r==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=Wo(t.nextSibling),t===null))return null;return t}function d1(t,r){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!r||(t=Wo(t.nextSibling),t===null))return null;return t}function Jh(t){return t.data==="$?"||t.data==="$~"}function ep(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function J3(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 Wo(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 tp=null;function f1(t){t=t.nextSibling;for(var r=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"||i==="/&"){if(r===0)return Wo(t.nextSibling);r--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||r++}t=t.nextSibling}return null}function h1(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 p1(t,r,i){switch(r=xu(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 Ss(t){for(var r=t.attributes;r.length;)t.removeAttributeNode(r[0]);of(t)}var Xo=new Map,g1=new Set;function wu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var rn=te.d;te.d={f:eB,r:tB,D:oB,C:rB,L:nB,m:aB,X:lB,S:iB,M:sB};function eB(){var t=rn.f(),r=fu();return t||r}function tB(t){var r=ii(t);r!==null&&r.tag===5&&r.type==="form"?Rv(r):rn.r(t)}var qi=typeof document>"u"?null:document;function m1(t,r,i){var s=qi;if(s&&typeof r=="string"&&r){var f=Ho(r);f='link[rel="'+t+'"][href="'+f+'"]',typeof i=="string"&&(f+='[crossorigin="'+i+'"]'),g1.has(f)||(g1.add(f),t={rel:t,crossOrigin:i,href:r},s.querySelector(f)===null&&(r=s.createElement("link"),Vt(r,"link",t),Ot(r),s.head.appendChild(r)))}}function oB(t){rn.D(t),m1("dns-prefetch",t,null)}function rB(t,r){rn.C(t,r),m1("preconnect",t,r)}function nB(t,r,i){rn.L(t,r,i);var s=qi;if(s&&t&&r){var f='link[rel="preload"][as="'+Ho(r)+'"]';r==="image"&&i&&i.imageSrcSet?(f+='[imagesrcset="'+Ho(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(f+='[imagesizes="'+Ho(i.imageSizes)+'"]')):f+='[href="'+Ho(t)+'"]';var g=f;switch(r){case"style":g=Hi(t);break;case"script":g=Pi(t)}Xo.has(g)||(t=m({rel:"preload",href:r==="image"&&i&&i.imageSrcSet?void 0:t,as:r},i),Xo.set(g,t),s.querySelector(f)!==null||r==="style"&&s.querySelector(ks(g))||r==="script"&&s.querySelector(Bs(g))||(r=s.createElement("link"),Vt(r,"link",t),Ot(r),s.head.appendChild(r)))}}function aB(t,r){rn.m(t,r);var i=qi;if(i&&t){var s=r&&typeof r.as=="string"?r.as:"script",f='link[rel="modulepreload"][as="'+Ho(s)+'"][href="'+Ho(t)+'"]',g=f;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Pi(t)}if(!Xo.has(g)&&(t=m({rel:"modulepreload",href:t},r),Xo.set(g,t),i.querySelector(f)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Bs(g)))return}s=i.createElement("link"),Vt(s,"link",t),Ot(s),i.head.appendChild(s)}}}function iB(t,r,i){rn.S(t,r,i);var s=qi;if(s&&t){var f=li(s).hoistableStyles,g=Hi(t);r=r||"default";var S=f.get(g);if(!S){var N={loading:0,preload:null};if(S=s.querySelector(ks(g)))N.loading=5;else{t=m({rel:"stylesheet",href:t,"data-precedence":r},i),(i=Xo.get(g))&&op(t,i);var D=S=s.createElement("link");Ot(D),Vt(D,"link",t),D._p=new Promise(function(G,Z){D.onload=G,D.onerror=Z}),D.addEventListener("load",function(){N.loading|=1}),D.addEventListener("error",function(){N.loading|=2}),N.loading|=4,Su(S,r,s)}S={type:"stylesheet",instance:S,count:1,state:N},f.set(g,S)}}}function lB(t,r){rn.X(t,r);var i=qi;if(i&&t){var s=li(i).hoistableScripts,f=Pi(t),g=s.get(f);g||(g=i.querySelector(Bs(f)),g||(t=m({src:t,async:!0},r),(r=Xo.get(f))&&rp(t,r),g=i.createElement("script"),Ot(g),Vt(g,"link",t),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},s.set(f,g))}}function sB(t,r){rn.M(t,r);var i=qi;if(i&&t){var s=li(i).hoistableScripts,f=Pi(t),g=s.get(f);g||(g=i.querySelector(Bs(f)),g||(t=m({src:t,async:!0,type:"module"},r),(r=Xo.get(f))&&rp(t,r),g=i.createElement("script"),Ot(g),Vt(g,"link",t),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},s.set(f,g))}}function v1(t,r,i,s){var f=(f=_e.current)?wu(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=Hi(i.href),i=li(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=Hi(i.href);var g=li(f).hoistableStyles,S=g.get(t);if(S||(f=f.ownerDocument||f,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(t,S),(g=f.querySelector(ks(t)))&&!g._p&&(S.instance=g,S.state.loading=5),Xo.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},Xo.set(t,i),g||cB(f,t,i,S.state))),r&&s===null)throw Error(a(528,""));return S}if(r&&s!==null)throw Error(a(529,""));return null;case"script":return r=i.async,i=i.src,typeof i=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Pi(i),i=li(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 Hi(t){return'href="'+Ho(t)+'"'}function ks(t){return'link[rel="stylesheet"]['+t+"]"}function b1(t){return m({},t,{"data-precedence":t.precedence,precedence:null})}function cB(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}),Vt(r,"link",i),Ot(r),t.head.appendChild(r))}function Pi(t){return'[src="'+Ho(t)+'"]'}function Bs(t){return"script[async]"+t}function y1(t,r,i){if(r.count++,r.instance===null)switch(r.type){case"style":var s=t.querySelector('style[data-href~="'+Ho(i.href)+'"]');if(s)return r.instance=s,Ot(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"),Ot(s),Vt(s,"style",f),Su(s,i.precedence,t),r.instance=s;case"stylesheet":f=Hi(i.href);var g=t.querySelector(ks(f));if(g)return r.state.loading|=4,r.instance=g,Ot(g),g;s=b1(i),(f=Xo.get(f))&&op(s,f),g=(t.ownerDocument||t).createElement("link"),Ot(g);var S=g;return S._p=new Promise(function(N,D){S.onload=N,S.onerror=D}),Vt(g,"link",s),r.state.loading|=4,Su(g,i.precedence,t),r.instance=g;case"script":return g=Pi(i.src),(f=t.querySelector(Bs(g)))?(r.instance=f,Ot(f),f):(s=i,(f=Xo.get(g))&&(s=m({},i),rp(s,f)),t=t.ownerDocument||t,f=t.createElement("script"),Ot(f),Vt(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,Su(s,i.precedence,t));return r.instance}function Su(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,S=0;S<s.length;S++){var N=s[S];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 op(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.title==null&&(t.title=r.title)}function rp(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.integrity==null&&(t.integrity=r.integrity)}var ku=null;function x1(t,r,i){if(ku===null){var s=new Map,f=ku=new Map;f.set(i,s)}else f=ku,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[Pl]||g[Pt]||t==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var S=g.getAttribute(r)||"";S=t+S;var N=s.get(S);N?N.push(g):s.set(S,[g])}}return s}function w1(t,r,i){t=t.ownerDocument||t,t.head.insertBefore(i,r==="title"?t.querySelector("head > title"):null)}function uB(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 S1(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function dB(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=Hi(s.href),g=r.querySelector(ks(f));if(g){r=g._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(t.count++,t=Bu.bind(t),r.then(t,t)),i.state.loading|=4,i.instance=g,Ot(g);return}g=r.ownerDocument||r,s=b1(s),(f=Xo.get(f))&&op(s,f),g=g.createElement("link"),Ot(g);var S=g;S._p=new Promise(function(N,D){S.onload=N,S.onerror=D}),Vt(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=Bu.bind(t),r.addEventListener("load",i),r.addEventListener("error",i))}}var np=0;function fB(t,r){return t.stylesheets&&t.count===0&&zu(t,t.stylesheets),0<t.count||0<t.imgCount?function(i){var s=setTimeout(function(){if(t.stylesheets&&zu(t,t.stylesheets),t.unsuspend){var g=t.unsuspend;t.unsuspend=null,g()}},6e4+r);0<t.imgBytes&&np===0&&(np=62500*W3());var f=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&zu(t,t.stylesheets),t.unsuspend)){var g=t.unsuspend;t.unsuspend=null,g()}},(t.imgBytes>np?50:800)+r);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(s),clearTimeout(f)}}:null}function Bu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)zu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var _u=null;function zu(t,r){t.stylesheets=null,t.unsuspend!==null&&(t.count++,_u=new Map,r.forEach(hB,t),_u=null,Bu.call(t))}function hB(t,r){if(!(r.state.loading&4)){var i=_u.get(t);if(i)var s=i.get(null);else{i=new Map,_u.set(t,i);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<f.length;g++){var S=f[g];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(i.set(S.dataset.precedence,S),s=S)}s&&i.set(null,s)}f=r.instance,S=f.getAttribute("data-precedence"),g=i.get(S)||s,g===s&&i.set(null,f),i.set(S,f),this.count++,s=Bu.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 _s={$$typeof:z,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function pB(t,r,i,s,f,g,S,N,D){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=Yd(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yd(0),this.hiddenUpdates=Yd(null),this.identifierPrefix=s,this.onUncaughtError=f,this.onCaughtError=g,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,this.incompleteTransitions=new Map}function k1(t,r,i,s,f,g,S,N,D,G,Z,re){return t=new pB(t,r,i,S,D,G,Z,re,N),r=1,g===!0&&(r|=24),g=wo(3,null,null,r),t.current=g,g.stateNode=t,r=Ff(),r.refCount++,t.pooledCache=r,r.refCount++,g.memoizedState={element:s,isDehydrated:i,cache:r},If(g),t}function B1(t){return t?(t=vi,t):vi}function _1(t,r,i,s,f,g){f=B1(f),s.context===null?s.context=f:s.pendingContext=f,s=Rn(r),s.payload={element:i},g=g===void 0?null:g,g!==null&&(s.callback=g),i=An(t,s,r),i!==null&&(uo(i,t,r),rs(i,t,r))}function z1(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<r?i:r}}function ap(t,r){z1(t,r),(t=t.alternate)&&z1(t,r)}function C1(t){if(t.tag===13||t.tag===31){var r=xa(t,67108864);r!==null&&uo(r,t,67108864),ap(t,67108864)}}function N1(t){if(t.tag===13||t.tag===31){var r=zo();r=Jd(r);var i=xa(t,r);i!==null&&uo(i,t,r),ap(t,r)}}var Cu=!0;function gB(t,r,i,s){var f=L.T;L.T=null;var g=te.p;try{te.p=2,ip(t,r,i,s)}finally{te.p=g,L.T=f}}function mB(t,r,i,s){var f=L.T;L.T=null;var g=te.p;try{te.p=8,ip(t,r,i,s)}finally{te.p=g,L.T=f}}function ip(t,r,i,s){if(Cu){var f=lp(s);if(f===null)Wh(t,r,s,Nu,i),E1(t,s);else if(bB(f,t,r,i,s))s.stopPropagation();else if(E1(t,s),r&4&&-1<vB.indexOf(t)){for(;f!==null;){var g=ii(f);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var S=ga(g.pendingLanes);if(S!==0){var N=g;for(N.pendingLanes|=2,N.entangledLanes|=2;S;){var D=1<<31-yo(S);N.entanglements[1]|=D,S&=~D}Cr(g),($e&6)===0&&(uu=vo()+500,ys(0))}}break;case 31:case 13:N=xa(g,2),N!==null&&uo(N,g,2),fu(),ap(g,2)}if(g=lp(s),g===null&&Wh(t,r,s,Nu,i),g===f)break;f=g}f!==null&&s.stopPropagation()}else Wh(t,r,s,null,i)}}function lp(t){return t=cf(t),sp(t)}var Nu=null;function sp(t){if(Nu=null,t=ai(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 Nu=t,null}function T1(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(ok()){case Fm:return 2;case qm:return 8;case vc:case rk:return 32;case Hm:return 268435456;default:return 32}default:return 32}}var cp=!1,Vn=null,Gn=null,Wn=null,zs=new Map,Cs=new Map,Xn=[],vB="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 E1(t,r){switch(t){case"focusin":case"focusout":Vn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Wn=null;break;case"pointerover":case"pointerout":zs.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Cs.delete(r.pointerId)}}function Ns(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=ii(r),r!==null&&C1(r)),t):(t.eventSystemFlags|=s,r=t.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),t)}function bB(t,r,i,s,f){switch(r){case"focusin":return Vn=Ns(Vn,t,r,i,s,f),!0;case"dragenter":return Gn=Ns(Gn,t,r,i,s,f),!0;case"mouseover":return Wn=Ns(Wn,t,r,i,s,f),!0;case"pointerover":var g=f.pointerId;return zs.set(g,Ns(zs.get(g)||null,t,r,i,s,f)),!0;case"gotpointercapture":return g=f.pointerId,Cs.set(g,Ns(Cs.get(g)||null,t,r,i,s,f)),!0}return!1}function j1(t){var r=ai(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,Gm(t.priority,function(){N1(i)});return}}else if(r===31){if(r=d(i),r!==null){t.blockedOn=r,Gm(t.priority,function(){N1(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 Tu(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var i=lp(t.nativeEvent);if(i===null){i=t.nativeEvent;var s=new i.constructor(i.type,i);sf=s,i.target.dispatchEvent(s),sf=null}else return r=ii(i),r!==null&&C1(r),t.blockedOn=i,!1;r.shift()}return!0}function R1(t,r,i){Tu(t)&&i.delete(r)}function yB(){cp=!1,Vn!==null&&Tu(Vn)&&(Vn=null),Gn!==null&&Tu(Gn)&&(Gn=null),Wn!==null&&Tu(Wn)&&(Wn=null),zs.forEach(R1),Cs.forEach(R1)}function Eu(t,r){t.blockedOn===r&&(t.blockedOn=null,cp||(cp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,yB)))}var ju=null;function A1(t){ju!==t&&(ju=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){ju===t&&(ju=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(sp(s||i)===null)continue;break}var g=ii(i);g!==null&&(t.splice(r,3),r-=3,lh(g,{pending:!0,data:f,method:i.method,action:s},s,f))}}))}function Ii(t){function r(D){return Eu(D,t)}Vn!==null&&Eu(Vn,t),Gn!==null&&Eu(Gn,t),Wn!==null&&Eu(Wn,t),zs.forEach(r),Cs.forEach(r);for(var i=0;i<Xn.length;i++){var s=Xn[i];s.blockedOn===t&&(s.blockedOn=null)}for(;0<Xn.length&&(i=Xn[0],i.blockedOn===null);)j1(i),i.blockedOn===null&&Xn.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],S=f[no]||null;if(typeof g=="function")S||A1(i);else if(S){var N=null;if(g&&g.hasAttribute("formAction")){if(f=g,S=g[no]||null)N=S.formAction;else if(sp(f)!==null)continue}else N=S.action;typeof N=="function"?i[s+1]=N:(i.splice(s,3),s-=3),A1(i)}}}function D1(){function t(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(S){return f=S})},focusReset:"manual",scroll:"manual"})}function r(){f!==null&&(f(),f=null),s||setTimeout(i,20)}function i(){if(!s&&!navigation.transition){var 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 up(t){this._internalRoot=t}Ru.prototype.render=up.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(a(409));var i=r.current,s=zo();_1(i,s,t,r,null,null)},Ru.prototype.unmount=up.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;_1(t.current,2,null,t,null,null),fu(),r[ni]=null}};function Ru(t){this._internalRoot=t}Ru.prototype.unstable_scheduleHydration=function(t){if(t){var r=Vm();t={blockedOn:null,target:t,priority:r};for(var i=0;i<Xn.length&&r!==0&&r<Xn[i].priority;i++);Xn.splice(i,0,t),i===0&&j1(t)}};var M1=o.version;if(M1!=="19.2.6")throw Error(a(527,M1,"19.2.6"));te.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 xB={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Au.isDisabled&&Au.supportsFiber)try{Fl=Au.inject(xB),bo=Au}catch{}}return Es.createRoot=function(t,r){if(!l(t))throw Error(a(299));var i=!1,s="",f=Lv,g=Uv,S=Vv;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&&(S=r.onRecoverableError)),r=k1(t,1,!1,null,null,i,s,null,f,g,S,D1),t[ni]=r.current,Gh(t),new up(r)},Es.hydrateRoot=function(t,r,i){if(!l(t))throw Error(a(299));var s=!1,f="",g=Lv,S=Uv,N=Vv,D=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&&(S=i.onCaughtError),i.onRecoverableError!==void 0&&(N=i.onRecoverableError),i.formState!==void 0&&(D=i.formState)),r=k1(t,1,!0,r,i??null,s,f,D,g,S,N,D1),r.context=B1(null),i=r.current,s=zo(),s=Jd(s),f=Rn(s),f.callback=null,An(i,f,s),i=s,r.current.lanes=i,Hl(r,i),Cr(r),t[ni]=r.current,Gh(t),new Ru(r)},Es.version="19.2.6",Es}var W1;function RB(){if(W1)return pp.exports;W1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(o){console.error(o)}}return e(),pp.exports=jB(),pp.exports}var AB=RB();/**
48
+ `+s.stack}}var ar=Object.prototype.hasOwnProperty,kr=e.unstable_scheduleCallback,Hr=e.unstable_cancelCallback,ok=e.unstable_shouldYield,rk=e.unstable_requestPaint,bo=e.unstable_now,nk=e.unstable_getCurrentPriorityLevel,qm=e.unstable_ImmediatePriority,Hm=e.unstable_UserBlockingPriority,vc=e.unstable_NormalPriority,ak=e.unstable_LowPriority,Pm=e.unstable_IdlePriority,ik=e.log,lk=e.unstable_setDisableYieldValue,Fl=null,yo=null;function Bn(t){if(typeof ik=="function"&&lk(t),yo&&typeof yo.setStrictMode=="function")try{yo.setStrictMode(Fl,t)}catch{}}var xo=Math.clz32?Math.clz32:uk,sk=Math.log,ck=Math.LN2;function uk(t){return t>>>=0,t===0?32:31-(sk(t)/ck|0)|0}var bc=256,yc=262144,xc=4194304;function ga(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 wc(t,r,i){var s=t.pendingLanes;if(s===0)return 0;var f=0,g=t.suspendedLanes,S=t.pingedLanes;t=t.warmLanes;var N=s&134217727;return N!==0?(s=N&~g,s!==0?f=ga(s):(S&=N,S!==0?f=ga(S):i||(i=N&~t,i!==0&&(f=ga(i))))):(N=s&~g,N!==0?f=ga(N):S!==0?f=ga(S):i||(i=s&~t,i!==0&&(f=ga(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 ql(t,r){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&r)===0}function dk(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 Im(){var t=xc;return xc<<=1,(xc&62914560)===0&&(xc=4194304),t}function Yd(t){for(var r=[],i=0;31>i;i++)r.push(t);return r}function Hl(t,r){t.pendingLanes|=r,r!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function fk(t,r,i,s,f,g){var S=t.pendingLanes;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=i,t.entangledLanes&=i,t.errorRecoveryDisabledLanes&=i,t.shellSuspendCounter=0;var N=t.entanglements,M=t.expirationTimes,G=t.hiddenUpdates;for(i=S&~i;0<i;){var Q=31-xo(i),re=1<<Q;N[Q]=0,M[Q]=-1;var W=G[Q];if(W!==null)for(G[Q]=null,Q=0;Q<W.length;Q++){var K=W[Q];K!==null&&(K.lane&=-536870913)}i&=~re}s!==0&&Lm(t,s,0),g!==0&&f===0&&t.tag!==0&&(t.suspendedLanes|=g&~(S&~r))}function Lm(t,r,i){t.pendingLanes|=r,t.suspendedLanes&=~r;var s=31-xo(r);t.entangledLanes|=r,t.entanglements[s]=t.entanglements[s]|1073741824|i&261930}function Um(t,r){var i=t.entangledLanes|=r;for(t=t.entanglements;i;){var s=31-xo(i),f=1<<s;f&r|t[s]&r&&(t[s]|=r),i&=~f}}function Vm(t,r){var i=r&-r;return i=(i&42)!==0?1:Jd(i),(i&(t.suspendedLanes|r))!==0?0:i}function Jd(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 ef(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Gm(){var t=te.p;return t!==0?t:(t=window.event,t===void 0?32:j1(t.type))}function Wm(t,r){var i=te.p;try{return te.p=t,r()}finally{te.p=i}}var _n=Math.random().toString(36).slice(2),Pt="__reactFiber$"+_n,no="__reactProps$"+_n,ni="__reactContainer$"+_n,tf="__reactEvents$"+_n,hk="__reactListeners$"+_n,pk="__reactHandles$"+_n,Xm="__reactResources$"+_n,Pl="__reactMarker$"+_n;function of(t){delete t[Pt],delete t[no],delete t[tf],delete t[hk],delete t[pk]}function ai(t){var r=t[Pt];if(r)return r;for(var i=t.parentNode;i;){if(r=i[ni]||i[Pt]){if(i=r.alternate,r.child!==null||i!==null&&i.child!==null)for(t=p1(t);t!==null;){if(i=t[Pt])return i;t=p1(t)}return r}t=i,i=t.parentNode}return null}function ii(t){if(t=t[Pt]||t[ni]){var r=t.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return t}return null}function Il(t){var r=t.tag;if(r===5||r===26||r===27||r===6)return t.stateNode;throw Error(a(33))}function li(t){var r=t[Xm];return r||(r=t[Xm]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Ot(t){t[Pl]=!0}var $m=new Set,Km={};function ma(t,r){si(t,r),si(t+"Capture",r)}function si(t,r){for(Km[t]=r,t=0;t<r.length;t++)$m.add(r[t])}var gk=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]*$"),Zm={},Qm={};function mk(t){return ar.call(Qm,t)?!0:ar.call(Zm,t)?!1:gk.test(t)?Qm[t]=!0:(Zm[t]=!0,!1)}function Sc(t,r,i){if(mk(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 kc(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 Pr(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 Po(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ym(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function vk(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(S){i=""+S,g.call(this,S)}}),Object.defineProperty(t,r,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(S){i=""+S},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function rf(t){if(!t._valueTracker){var r=Ym(t)?"checked":"value";t._valueTracker=vk(t,r,""+t[r])}}function Jm(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var i=r.getValue(),s="";return t&&(s=Ym(t)?t.checked?"true":"false":t.value),t=s,t!==i?(r.setValue(t),!0):!1}function Bc(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 bk=/[\n"\\]/g;function Io(t){return t.replace(bk,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function nf(t,r,i,s,f,g,S,N){t.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.type=S:t.removeAttribute("type"),r!=null?S==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+Po(r)):t.value!==""+Po(r)&&(t.value=""+Po(r)):S!=="submit"&&S!=="reset"||t.removeAttribute("value"),r!=null?af(t,S,Po(r)):i!=null?af(t,S,Po(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=""+Po(N):t.removeAttribute("name")}function e0(t,r,i,s,f,g,S,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)){rf(t);return}i=i!=null?""+Po(i):"",r=r!=null?""+Po(r):i,N||r===t.value||(t.value=r),t.defaultValue=r}s=s??f,s=typeof s!="function"&&typeof s!="symbol"&&!!s,t.checked=N?t.checked:!!s,t.defaultChecked=!!s,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(t.name=S),rf(t)}function af(t,r,i){r==="number"&&Bc(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function ci(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=""+Po(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 t0(t,r,i){if(r!=null&&(r=""+Po(r),r!==t.value&&(t.value=r),i==null)){t.defaultValue!==r&&(t.defaultValue=r);return}t.defaultValue=i!=null?""+Po(i):""}function o0(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=Po(r),t.defaultValue=i,s=t.textContent,s===i&&s!==""&&s!==null&&(t.value=s),rf(t)}function ui(t,r){if(r){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=r;return}}t.textContent=r}var yk=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 r0(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||yk.has(r)?r==="float"?t.cssFloat=i:t[r]=(""+i).trim():t[r]=i+"px"}function n0(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&&r0(t,f,s)}else for(var g in r)r.hasOwnProperty(g)&&r0(t,g,r[g])}function lf(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 xk=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"]]),wk=/^[\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 _c(t){return wk.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Ir(){}var sf=null;function cf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var di=null,fi=null;function a0(t){var r=ii(t);if(r&&(t=r.stateNode)){var i=t[no]||null;e:switch(t=r.stateNode,r.type){case"input":if(nf(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="'+Io(""+r)+'"][type="radio"]'),r=0;r<i.length;r++){var s=i[r];if(s!==t&&s.form===t.form){var f=s[no]||null;if(!f)throw Error(a(90));nf(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&&Jm(s)}break e;case"textarea":t0(t,i.value,i.defaultValue);break e;case"select":r=i.value,r!=null&&ci(t,!!i.multiple,r,!1)}}}var uf=!1;function i0(t,r,i){if(uf)return t(r,i);uf=!0;try{var s=t(r);return s}finally{if(uf=!1,(di!==null||fi!==null)&&(fu(),di&&(r=di,t=fi,fi=di=null,a0(r),t)))for(r=0;r<t.length;r++)a0(t[r])}}function Ll(t,r){var i=t.stateNode;if(i===null)return null;var s=i[no]||null;if(s===null)return null;i=s[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(t=t.type,s=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!s;break e;default:t=!1}if(t)return null;if(i&&typeof i!="function")throw Error(a(231,r,typeof i));return i}var Lr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),df=!1;if(Lr)try{var Ul={};Object.defineProperty(Ul,"passive",{get:function(){df=!0}}),window.addEventListener("test",Ul,Ul),window.removeEventListener("test",Ul,Ul)}catch{df=!1}var Cn=null,ff=null,Cc=null;function l0(){if(Cc)return Cc;var t,r=ff,i=r.length,s,f="value"in Cn?Cn.value:Cn.textContent,g=f.length;for(t=0;t<i&&r[t]===f[t];t++);var S=i-t;for(s=1;s<=S&&r[i-s]===f[g-s];s++);return Cc=f.slice(t,1<s?1-s:void 0)}function zc(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 Nc(){return!0}function s0(){return!1}function ao(t){function r(i,s,f,g,S){this._reactName=i,this._targetInst=f,this.type=s,this.nativeEvent=g,this.target=S,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)?Nc:s0,this.isPropagationStopped=s0,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=Nc)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Nc)},persist:function(){},isPersistent:Nc}),r}var va={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tc=ao(va),Vl=m({},va,{view:0,detail:0}),Sk=ao(Vl),hf,pf,Gl,jc=m({},Vl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mf,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!==Gl&&(Gl&&t.type==="mousemove"?(hf=t.screenX-Gl.screenX,pf=t.screenY-Gl.screenY):pf=hf=0,Gl=t),hf)},movementY:function(t){return"movementY"in t?t.movementY:pf}}),c0=ao(jc),kk=m({},jc,{dataTransfer:0}),Bk=ao(kk),_k=m({},Vl,{relatedTarget:0}),gf=ao(_k),Ck=m({},va,{animationName:0,elapsedTime:0,pseudoElement:0}),zk=ao(Ck),Nk=m({},va,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Tk=ao(Nk),jk=m({},va,{data:0}),u0=ao(jk),Ek={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Rk={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"},Ak={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mk(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=Ak[t])?!!r[t]:!1}function mf(){return Mk}var Dk=m({},Vl,{key:function(t){if(t.key){var r=Ek[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=zc(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Rk[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mf,charCode:function(t){return t.type==="keypress"?zc(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?zc(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Ok=ao(Dk),Fk=m({},jc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),d0=ao(Fk),qk=m({},Vl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mf}),Hk=ao(qk),Pk=m({},va,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ik=ao(Pk),Lk=m({},jc,{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}),Uk=ao(Lk),Vk=m({},va,{newState:0,oldState:0}),Gk=ao(Vk),Wk=[9,13,27,32],vf=Lr&&"CompositionEvent"in window,Wl=null;Lr&&"documentMode"in document&&(Wl=document.documentMode);var Xk=Lr&&"TextEvent"in window&&!Wl,f0=Lr&&(!vf||Wl&&8<Wl&&11>=Wl),h0=" ",p0=!1;function g0(t,r){switch(t){case"keyup":return Wk.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function m0(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var hi=!1;function $k(t,r){switch(t){case"compositionend":return m0(r);case"keypress":return r.which!==32?null:(p0=!0,h0);case"textInput":return t=r.data,t===h0&&p0?null:t;default:return null}}function Kk(t,r){if(hi)return t==="compositionend"||!vf&&g0(t,r)?(t=l0(),Cc=ff=Cn=null,hi=!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 f0&&r.locale!=="ko"?null:r.data;default:return null}}var Zk={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 v0(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!Zk[t.type]:r==="textarea"}function b0(t,r,i,s){di?fi?fi.push(s):fi=[s]:di=s,r=yu(r,"onChange"),0<r.length&&(i=new Tc("onChange","change",null,i,s),t.push({event:i,listeners:r}))}var Xl=null,$l=null;function Qk(t){e1(t,0)}function Ec(t){var r=Il(t);if(Jm(r))return t}function y0(t,r){if(t==="change")return r}var x0=!1;if(Lr){var bf;if(Lr){var yf="oninput"in document;if(!yf){var w0=document.createElement("div");w0.setAttribute("oninput","return;"),yf=typeof w0.oninput=="function"}bf=yf}else bf=!1;x0=bf&&(!document.documentMode||9<document.documentMode)}function S0(){Xl&&(Xl.detachEvent("onpropertychange",k0),$l=Xl=null)}function k0(t){if(t.propertyName==="value"&&Ec($l)){var r=[];b0(r,$l,t,cf(t)),i0(Qk,r)}}function Yk(t,r,i){t==="focusin"?(S0(),Xl=r,$l=i,Xl.attachEvent("onpropertychange",k0)):t==="focusout"&&S0()}function Jk(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ec($l)}function e3(t,r){if(t==="click")return Ec(r)}function t3(t,r){if(t==="input"||t==="change")return Ec(r)}function o3(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var wo=typeof Object.is=="function"?Object.is:o3;function Kl(t,r){if(wo(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(!ar.call(r,f)||!wo(t[f],r[f]))return!1}return!0}function B0(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function _0(t,r){var i=B0(t);t=0;for(var s;i;){if(i.nodeType===3){if(s=t+i.textContent.length,t<=r&&s>=r)return{node:i,offset:r-t};t=s}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=B0(i)}}function C0(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?C0(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function z0(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var r=Bc(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=Bc(t.document)}return r}function xf(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 r3=Lr&&"documentMode"in document&&11>=document.documentMode,pi=null,wf=null,Zl=null,Sf=!1;function N0(t,r,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Sf||pi==null||pi!==Bc(s)||(s=pi,"selectionStart"in s&&xf(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}),Zl&&Kl(Zl,s)||(Zl=s,s=yu(wf,"onSelect"),0<s.length&&(r=new Tc("onSelect","select",null,r,i),t.push({event:r,listeners:s}),r.target=pi)))}function ba(t,r){var i={};return i[t.toLowerCase()]=r.toLowerCase(),i["Webkit"+t]="webkit"+r,i["Moz"+t]="moz"+r,i}var gi={animationend:ba("Animation","AnimationEnd"),animationiteration:ba("Animation","AnimationIteration"),animationstart:ba("Animation","AnimationStart"),transitionrun:ba("Transition","TransitionRun"),transitionstart:ba("Transition","TransitionStart"),transitioncancel:ba("Transition","TransitionCancel"),transitionend:ba("Transition","TransitionEnd")},kf={},T0={};Lr&&(T0=document.createElement("div").style,"AnimationEvent"in window||(delete gi.animationend.animation,delete gi.animationiteration.animation,delete gi.animationstart.animation),"TransitionEvent"in window||delete gi.transitionend.transition);function ya(t){if(kf[t])return kf[t];if(!gi[t])return t;var r=gi[t],i;for(i in r)if(r.hasOwnProperty(i)&&i in T0)return kf[t]=r[i];return t}var j0=ya("animationend"),E0=ya("animationiteration"),R0=ya("animationstart"),n3=ya("transitionrun"),a3=ya("transitionstart"),i3=ya("transitioncancel"),A0=ya("transitionend"),M0=new Map,Bf="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(" ");Bf.push("scrollEnd");function ir(t,r){M0.set(t,r),ma(r,[t])}var Rc=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)},Lo=[],mi=0,_f=0;function Ac(){for(var t=mi,r=_f=mi=0;r<t;){var i=Lo[r];Lo[r++]=null;var s=Lo[r];Lo[r++]=null;var f=Lo[r];Lo[r++]=null;var g=Lo[r];if(Lo[r++]=null,s!==null&&f!==null){var S=s.pending;S===null?f.next=f:(f.next=S.next,S.next=f),s.pending=f}g!==0&&D0(i,f,g)}}function Mc(t,r,i,s){Lo[mi++]=t,Lo[mi++]=r,Lo[mi++]=i,Lo[mi++]=s,_f|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function Cf(t,r,i,s){return Mc(t,r,i,s),Dc(t)}function xa(t,r){return Mc(t,null,null,r),Dc(t)}function D0(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-xo(i),t=g.hiddenUpdates,s=t[f],s===null?t[f]=[r]:s.push(r),r.lane=i|536870912),g):null}function Dc(t){if(50<bs)throw bs=0,Dh=null,Error(a(185));for(var r=t.return;r!==null;)t=r,r=t.return;return t.tag===3?t.stateNode:null}var vi={};function l3(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 So(t,r,i,s){return new l3(t,r,i,s)}function zf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Ur(t,r){var i=t.alternate;return i===null?(i=So(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 O0(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 Oc(t,r,i,s,f,g){var S=0;if(s=t,typeof t=="function")zf(t)&&(S=1);else if(typeof t=="string")S=fB(t,i,se.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case X:return t=So(31,i,r,f),t.elementType=X,t.lanes=g,t;case x:return wa(i.children,f,g,r);case z:S=8,f|=24;break;case _:return t=So(12,i,r,f|2),t.elementType=_,t.lanes=g,t;case j:return t=So(13,i,r,f),t.elementType=j,t.lanes=g,t;case R:return t=So(19,i,r,f),t.elementType=R,t.lanes=g,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case C:S=10;break e;case E:S=9;break e;case T:S=11;break e;case F:S=14;break e;case O:S=16,s=null;break e}S=29,i=Error(a(130,t===null?"null":typeof t,"")),s=null}return r=So(S,i,r,f),r.elementType=t,r.type=s,r.lanes=g,r}function wa(t,r,i,s){return t=So(7,t,s,r),t.lanes=i,t}function Nf(t,r,i){return t=So(6,t,null,r),t.lanes=i,t}function F0(t){var r=So(18,null,null,0);return r.stateNode=t,r}function Tf(t,r,i){return r=So(4,t.children!==null?t.children:[],t.key,r),r.lanes=i,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}var q0=new WeakMap;function Uo(t,r){if(typeof t=="object"&&t!==null){var i=q0.get(t);return i!==void 0?i:(r={value:t,source:r,stack:Ho(r)},q0.set(t,r),r)}return{value:t,source:r,stack:Ho(r)}}var bi=[],yi=0,Fc=null,Ql=0,Vo=[],Go=0,zn=null,Br=1,_r="";function Vr(t,r){bi[yi++]=Ql,bi[yi++]=Fc,Fc=t,Ql=r}function H0(t,r,i){Vo[Go++]=Br,Vo[Go++]=_r,Vo[Go++]=zn,zn=t;var s=Br;t=_r;var f=32-xo(s)-1;s&=~(1<<f),i+=1;var g=32-xo(r)+f;if(30<g){var S=f-f%5;g=(s&(1<<S)-1).toString(32),s>>=S,f-=S,Br=1<<32-xo(r)+f|i<<f|s,_r=g+t}else Br=1<<g|i<<f|s,_r=t}function jf(t){t.return!==null&&(Vr(t,1),H0(t,1,0))}function Ef(t){for(;t===Fc;)Fc=bi[--yi],bi[yi]=null,Ql=bi[--yi],bi[yi]=null;for(;t===zn;)zn=Vo[--Go],Vo[Go]=null,_r=Vo[--Go],Vo[Go]=null,Br=Vo[--Go],Vo[Go]=null}function P0(t,r){Vo[Go++]=Br,Vo[Go++]=_r,Vo[Go++]=zn,Br=r.id,_r=r.overflow,zn=t}var It=null,ut=null,Le=!1,Nn=null,Wo=!1,Rf=Error(a(519));function Tn(t){var r=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Yl(Uo(r,t)),Rf}function I0(t){var r=t.stateNode,i=t.type,s=t.memoizedProps;switch(r[Pt]=t,r[no]=s,i){case"dialog":Oe("cancel",r),Oe("close",r);break;case"iframe":case"object":case"embed":Oe("load",r);break;case"video":case"audio":for(i=0;i<xs.length;i++)Oe(xs[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),e0(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),o0(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||n1(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=Ir),r=!0):r=!1,r||Tn(t,!0)}function L0(t){for(It=t.return;It;)switch(It.tag){case 5:case 31:case 13:Wo=!1;return;case 27:case 3:Wo=!0;return;default:It=It.return}}function xi(t){if(t!==It)return!1;if(!Le)return L0(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")||Zh(t.type,t.memoizedProps)),i=!i),i&&ut&&Tn(t),L0(t),r===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));ut=h1(t)}else if(r===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));ut=h1(t)}else r===27?(r=ut,Un(t.type)?(t=tp,tp=null,ut=t):ut=r):ut=It?$o(t.stateNode.nextSibling):null;return!0}function Sa(){ut=It=null,Le=!1}function Af(){var t=Nn;return t!==null&&(co===null?co=t:co.push.apply(co,t),Nn=null),t}function Yl(t){Nn===null?Nn=[t]:Nn.push(t)}var Mf=q(null),ka=null,Gr=null;function jn(t,r,i){J(Mf,r._currentValue),r._currentValue=i}function Wr(t){t._currentValue=Mf.current,U(Mf)}function Df(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 Of(t,r,i,s){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var g=f.dependencies;if(g!==null){var S=f.child;g=g.firstContext;e:for(;g!==null;){var N=g;g=f;for(var M=0;M<r.length;M++)if(N.context===r[M]){g.lanes|=i,N=g.alternate,N!==null&&(N.lanes|=i),Df(g.return,i,t),s||(S=null);break e}g=N.next}}else if(f.tag===18){if(S=f.return,S===null)throw Error(a(341));S.lanes|=i,g=S.alternate,g!==null&&(g.lanes|=i),Df(S,i,t),S=null}else S=f.child;if(S!==null)S.return=f;else for(S=f;S!==null;){if(S===t){S=null;break}if(f=S.sibling,f!==null){f.return=S.return,S=f;break}S=S.return}f=S}}function wi(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 S=f.alternate;if(S===null)throw Error(a(387));if(S=S.memoizedProps,S!==null){var N=f.type;wo(f.pendingProps.value,S.value)||(t!==null?t.push(N):t=[N])}}else if(f===Fe.current){if(S=f.alternate,S===null)throw Error(a(387));S.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(t!==null?t.push(_s):t=[_s])}f=f.return}t!==null&&Of(r,t,i,s),r.flags|=262144}function qc(t){for(t=t.firstContext;t!==null;){if(!wo(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ba(t){ka=t,Gr=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Lt(t){return U0(ka,t)}function Hc(t,r){return ka===null&&Ba(t),U0(t,r)}function U0(t,r){var i=r._currentValue;if(r={context:r,memoizedValue:i,next:null},Gr===null){if(t===null)throw Error(a(308));Gr=r,t.dependencies={lanes:0,firstContext:r},t.flags|=524288}else Gr=Gr.next=r;return i}var s3=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()})}},c3=e.unstable_scheduleCallback,u3=e.unstable_NormalPriority,_t={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ff(){return{controller:new s3,data:new Map,refCount:0}}function Jl(t){t.refCount--,t.refCount===0&&c3(u3,function(){t.controller.abort()})}var es=null,qf=0,Si=0,ki=null;function d3(t,r){if(es===null){var i=es=[];qf=0,Si=Ih(),ki={status:"pending",value:void 0,then:function(s){i.push(s)}}}return qf++,r.then(V0,V0),r}function V0(){if(--qf===0&&es!==null){ki!==null&&(ki.status="fulfilled");var t=es;es=null,Si=0,ki=null;for(var r=0;r<t.length;r++)(0,t[r])()}}function f3(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 G0=L.S;L.S=function(t,r){Nb=bo(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&d3(t,r),G0!==null&&G0(t,r)};var _a=q(null);function Hf(){var t=_a.current;return t!==null?t:at.pooledCache}function Pc(t,r){r===null?J(_a,_a.current):J(_a,r.pool)}function W0(){var t=Hf();return t===null?null:{parent:_t._currentValue,pool:t}}var Bi=Error(a(460)),Pf=Error(a(474)),Ic=Error(a(542)),Lc={then:function(){}};function X0(t){return t=t.status,t==="fulfilled"||t==="rejected"}function $0(t,r,i){switch(i=t[i],i===void 0?t.push(r):i!==r&&(r.then(Ir,Ir),r=i),r.status){case"fulfilled":return r.value;case"rejected":throw t=r.reason,Z0(t),t;default:if(typeof r.status=="string")r.then(Ir,Ir);else{if(t=at,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,Z0(t),t}throw za=r,Bi}}function Ca(t){try{var r=t._init;return r(t._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(za=i,Bi):i}}var za=null;function K0(){if(za===null)throw Error(a(459));var t=za;return za=null,t}function Z0(t){if(t===Bi||t===Ic)throw Error(a(483))}var _i=null,ts=0;function Uc(t){var r=ts;return ts+=1,_i===null&&(_i=[]),$0(_i,t,r)}function os(t,r){r=r.props.ref,t.ref=r!==void 0?r:null}function Vc(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 Q0(t){function r(I,H){if(t){var V=I.deletions;V===null?(I.deletions=[H],I.flags|=16):V.push(H)}}function i(I,H){if(!t)return null;for(;H!==null;)r(I,H),H=H.sibling;return null}function s(I){for(var H=new Map;I!==null;)I.key!==null?H.set(I.key,I):H.set(I.index,I),I=I.sibling;return H}function f(I,H){return I=Ur(I,H),I.index=0,I.sibling=null,I}function g(I,H,V){return I.index=V,t?(V=I.alternate,V!==null?(V=V.index,V<H?(I.flags|=67108866,H):V):(I.flags|=67108866,H)):(I.flags|=1048576,H)}function S(I){return t&&I.alternate===null&&(I.flags|=67108866),I}function N(I,H,V,Y){return H===null||H.tag!==6?(H=Nf(V,I.mode,Y),H.return=I,H):(H=f(H,V),H.return=I,H)}function M(I,H,V,Y){var we=V.type;return we===x?Q(I,H,V.props.children,Y,V.key):H!==null&&(H.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===O&&Ca(we)===H.type)?(H=f(H,V.props),os(H,V),H.return=I,H):(H=Oc(V.type,V.key,V.props,null,I.mode,Y),os(H,V),H.return=I,H)}function G(I,H,V,Y){return H===null||H.tag!==4||H.stateNode.containerInfo!==V.containerInfo||H.stateNode.implementation!==V.implementation?(H=Tf(V,I.mode,Y),H.return=I,H):(H=f(H,V.children||[]),H.return=I,H)}function Q(I,H,V,Y,we){return H===null||H.tag!==7?(H=wa(V,I.mode,Y,we),H.return=I,H):(H=f(H,V),H.return=I,H)}function re(I,H,V){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Nf(""+H,I.mode,V),H.return=I,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case B:return V=Oc(H.type,H.key,H.props,null,I.mode,V),os(V,H),V.return=I,V;case k:return H=Tf(H,I.mode,V),H.return=I,H;case O:return H=Ca(H),re(I,H,V)}if(Z(H)||ie(H))return H=wa(H,I.mode,V,null),H.return=I,H;if(typeof H.then=="function")return re(I,Uc(H),V);if(H.$$typeof===C)return re(I,Hc(I,H),V);Vc(I,H)}return null}function W(I,H,V,Y){var we=H!==null?H.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return we!==null?null:N(I,H,""+V,Y);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case B:return V.key===we?M(I,H,V,Y):null;case k:return V.key===we?G(I,H,V,Y):null;case O:return V=Ca(V),W(I,H,V,Y)}if(Z(V)||ie(V))return we!==null?null:Q(I,H,V,Y,null);if(typeof V.then=="function")return W(I,H,Uc(V),Y);if(V.$$typeof===C)return W(I,H,Hc(I,V),Y);Vc(I,V)}return null}function K(I,H,V,Y,we){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return I=I.get(V)||null,N(H,I,""+Y,we);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case B:return I=I.get(Y.key===null?V:Y.key)||null,M(H,I,Y,we);case k:return I=I.get(Y.key===null?V:Y.key)||null,G(H,I,Y,we);case O:return Y=Ca(Y),K(I,H,V,Y,we)}if(Z(Y)||ie(Y))return I=I.get(V)||null,Q(H,I,Y,we,null);if(typeof Y.then=="function")return K(I,H,V,Uc(Y),we);if(Y.$$typeof===C)return K(I,H,V,Hc(H,Y),we);Vc(H,Y)}return null}function be(I,H,V,Y){for(var we=null,Ve=null,ye=H,Ee=H=0,Pe=null;ye!==null&&Ee<V.length;Ee++){ye.index>Ee?(Pe=ye,ye=null):Pe=ye.sibling;var Ge=W(I,ye,V[Ee],Y);if(Ge===null){ye===null&&(ye=Pe);break}t&&ye&&Ge.alternate===null&&r(I,ye),H=g(Ge,H,Ee),Ve===null?we=Ge:Ve.sibling=Ge,Ve=Ge,ye=Pe}if(Ee===V.length)return i(I,ye),Le&&Vr(I,Ee),we;if(ye===null){for(;Ee<V.length;Ee++)ye=re(I,V[Ee],Y),ye!==null&&(H=g(ye,H,Ee),Ve===null?we=ye:Ve.sibling=ye,Ve=ye);return Le&&Vr(I,Ee),we}for(ye=s(ye);Ee<V.length;Ee++)Pe=K(ye,I,Ee,V[Ee],Y),Pe!==null&&(t&&Pe.alternate!==null&&ye.delete(Pe.key===null?Ee:Pe.key),H=g(Pe,H,Ee),Ve===null?we=Pe:Ve.sibling=Pe,Ve=Pe);return t&&ye.forEach(function($n){return r(I,$n)}),Le&&Vr(I,Ee),we}function Be(I,H,V,Y){if(V==null)throw Error(a(151));for(var we=null,Ve=null,ye=H,Ee=H=0,Pe=null,Ge=V.next();ye!==null&&!Ge.done;Ee++,Ge=V.next()){ye.index>Ee?(Pe=ye,ye=null):Pe=ye.sibling;var $n=W(I,ye,Ge.value,Y);if($n===null){ye===null&&(ye=Pe);break}t&&ye&&$n.alternate===null&&r(I,ye),H=g($n,H,Ee),Ve===null?we=$n:Ve.sibling=$n,Ve=$n,ye=Pe}if(Ge.done)return i(I,ye),Le&&Vr(I,Ee),we;if(ye===null){for(;!Ge.done;Ee++,Ge=V.next())Ge=re(I,Ge.value,Y),Ge!==null&&(H=g(Ge,H,Ee),Ve===null?we=Ge:Ve.sibling=Ge,Ve=Ge);return Le&&Vr(I,Ee),we}for(ye=s(ye);!Ge.done;Ee++,Ge=V.next())Ge=K(ye,I,Ee,Ge.value,Y),Ge!==null&&(t&&Ge.alternate!==null&&ye.delete(Ge.key===null?Ee:Ge.key),H=g(Ge,H,Ee),Ve===null?we=Ge:Ve.sibling=Ge,Ve=Ge);return t&&ye.forEach(function(kB){return r(I,kB)}),Le&&Vr(I,Ee),we}function nt(I,H,V,Y){if(typeof V=="object"&&V!==null&&V.type===x&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case B:e:{for(var we=V.key;H!==null;){if(H.key===we){if(we=V.type,we===x){if(H.tag===7){i(I,H.sibling),Y=f(H,V.props.children),Y.return=I,I=Y;break e}}else if(H.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===O&&Ca(we)===H.type){i(I,H.sibling),Y=f(H,V.props),os(Y,V),Y.return=I,I=Y;break e}i(I,H);break}else r(I,H);H=H.sibling}V.type===x?(Y=wa(V.props.children,I.mode,Y,V.key),Y.return=I,I=Y):(Y=Oc(V.type,V.key,V.props,null,I.mode,Y),os(Y,V),Y.return=I,I=Y)}return S(I);case k:e:{for(we=V.key;H!==null;){if(H.key===we)if(H.tag===4&&H.stateNode.containerInfo===V.containerInfo&&H.stateNode.implementation===V.implementation){i(I,H.sibling),Y=f(H,V.children||[]),Y.return=I,I=Y;break e}else{i(I,H);break}else r(I,H);H=H.sibling}Y=Tf(V,I.mode,Y),Y.return=I,I=Y}return S(I);case O:return V=Ca(V),nt(I,H,V,Y)}if(Z(V))return be(I,H,V,Y);if(ie(V)){if(we=ie(V),typeof we!="function")throw Error(a(150));return V=we.call(V),Be(I,H,V,Y)}if(typeof V.then=="function")return nt(I,H,Uc(V),Y);if(V.$$typeof===C)return nt(I,H,Hc(I,V),Y);Vc(I,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(V=""+V,H!==null&&H.tag===6?(i(I,H.sibling),Y=f(H,V),Y.return=I,I=Y):(i(I,H),Y=Nf(V,I.mode,Y),Y.return=I,I=Y),S(I)):i(I,H)}return function(I,H,V,Y){try{ts=0;var we=nt(I,H,V,Y);return _i=null,we}catch(ye){if(ye===Bi||ye===Ic)throw ye;var Ve=So(29,ye,null,I.mode);return Ve.lanes=Y,Ve.return=I,Ve}finally{}}}var Na=Q0(!0),Y0=Q0(!1),En=!1;function If(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Lf(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 Rn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function An(t,r,i){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,($e&2)!==0){var f=s.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),s.pending=r,r=Dc(t),D0(t,null,i),r}return Mc(t,s,r,i),Dc(t)}function rs(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,Um(t,i)}}function Uf(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 S={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};g===null?f=g=S:g=g.next=S,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 Vf=!1;function ns(){if(Vf){var t=ki;if(t!==null)throw t}}function as(t,r,i,s){Vf=!1;var f=t.updateQueue;En=!1;var g=f.firstBaseUpdate,S=f.lastBaseUpdate,N=f.shared.pending;if(N!==null){f.shared.pending=null;var M=N,G=M.next;M.next=null,S===null?g=G:S.next=G,S=M;var Q=t.alternate;Q!==null&&(Q=Q.updateQueue,N=Q.lastBaseUpdate,N!==S&&(N===null?Q.firstBaseUpdate=G:N.next=G,Q.lastBaseUpdate=M))}if(g!==null){var re=f.baseState;S=0,Q=G=M=null,N=g;do{var W=N.lane&-536870913,K=W!==N.lane;if(K?(He&W)===W:(s&W)===W){W!==0&&W===Si&&(Vf=!0),Q!==null&&(Q=Q.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});e:{var be=t,Be=N;W=r;var nt=i;switch(Be.tag){case 1:if(be=Be.payload,typeof be=="function"){re=be.call(nt,re,W);break e}re=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=Be.payload,W=typeof be=="function"?be.call(nt,re,W):be,W==null)break e;re=m({},re,W);break e;case 2:En=!0}}W=N.callback,W!==null&&(t.flags|=64,K&&(t.flags|=8192),K=f.callbacks,K===null?f.callbacks=[W]:K.push(W))}else K={lane:W,tag:N.tag,payload:N.payload,callback:N.callback,next:null},Q===null?(G=Q=K,M=re):Q=Q.next=K,S|=W;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&&(M=re),f.baseState=M,f.firstBaseUpdate=G,f.lastBaseUpdate=Q,g===null&&(f.shared.lanes=0),qn|=S,t.lanes=S,t.memoizedState=re}}function J0(t,r){if(typeof t!="function")throw Error(a(191,t));t.call(r)}function ev(t,r){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;t<i.length;t++)J0(i[t],r)}var Ci=q(null),Gc=q(0);function tv(t,r){t=tn,J(Gc,t),J(Ci,r),tn=t|r.baseLanes}function Gf(){J(Gc,tn),J(Ci,Ci.current)}function Wf(){tn=Gc.current,U(Ci),U(Gc)}var ko=q(null),Xo=null;function Mn(t){var r=t.alternate;J(wt,wt.current&1),J(ko,t),Xo===null&&(r===null||Ci.current!==null||r.memoizedState!==null)&&(Xo=t)}function Xf(t){J(wt,wt.current),J(ko,t),Xo===null&&(Xo=t)}function ov(t){t.tag===22?(J(wt,wt.current),J(ko,t),Xo===null&&(Xo=t)):Dn()}function Dn(){J(wt,wt.current),J(ko,ko.current)}function Bo(t){U(ko),Xo===t&&(Xo=null),U(wt)}var wt=q(0);function Wc(t){for(var r=t;r!==null;){if(r.tag===13){var i=r.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Jh(i)||ep(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 Xr=0,Te=null,ot=null,Ct=null,Xc=!1,zi=!1,Ta=!1,$c=0,is=0,Ni=null,h3=0;function vt(){throw Error(a(321))}function $f(t,r){if(r===null)return!1;for(var i=0;i<r.length&&i<t.length;i++)if(!wo(t[i],r[i]))return!1;return!0}function Kf(t,r,i,s,f,g){return Xr=g,Te=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,L.H=t===null||t.memoizedState===null?Hv:uh,Ta=!1,g=i(s,f),Ta=!1,zi&&(g=nv(r,i,s,f)),rv(t),g}function rv(t){L.H=cs;var r=ot!==null&&ot.next!==null;if(Xr=0,Ct=ot=Te=null,Xc=!1,is=0,Ni=null,r)throw Error(a(300));t===null||zt||(t=t.dependencies,t!==null&&qc(t)&&(zt=!0))}function nv(t,r,i,s){Te=t;var f=0;do{if(zi&&(Ni=null),is=0,zi=!1,25<=f)throw Error(a(301));if(f+=1,Ct=ot=null,t.updateQueue!=null){var g=t.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}L.H=Pv,g=r(i,s)}while(zi);return g}function p3(){var t=L.H,r=t.useState()[0];return r=typeof r.then=="function"?ls(r):r,t=t.useState()[0],(ot!==null?ot.memoizedState:null)!==t&&(Te.flags|=1024),r}function Zf(){var t=$c!==0;return $c=0,t}function Qf(t,r,i){r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~i}function Yf(t){if(Xc){for(t=t.memoizedState;t!==null;){var r=t.queue;r!==null&&(r.pending=null),t=t.next}Xc=!1}Xr=0,Ct=ot=Te=null,zi=!1,is=$c=0,Ni=null}function Jt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ct===null?Te.memoizedState=Ct=t:Ct=Ct.next=t,Ct}function St(){if(ot===null){var t=Te.alternate;t=t!==null?t.memoizedState:null}else t=ot.next;var r=Ct===null?Te.memoizedState:Ct.next;if(r!==null)Ct=r,ot=t;else{if(t===null)throw Te.alternate===null?Error(a(467)):Error(a(310));ot=t,t={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},Ct===null?Te.memoizedState=Ct=t:Ct=Ct.next=t}return Ct}function Kc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ls(t){var r=is;return is+=1,Ni===null&&(Ni=[]),t=$0(Ni,t,r),r=Te,(Ct===null?r.memoizedState:Ct.next)===null&&(r=r.alternate,L.H=r===null||r.memoizedState===null?Hv:uh),t}function Zc(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ls(t);if(t.$$typeof===C)return Lt(t)}throw Error(a(438,String(t)))}function Jf(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=Kc(),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 $r(t,r){return typeof r=="function"?r(t):r}function Qc(t){var r=St();return eh(r,ot,t)}function eh(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 S=f.next;f.next=g.next,g.next=S}r.baseQueue=f=g,s.pending=null}if(g=t.baseState,f===null)t.memoizedState=g;else{r=f.next;var N=S=null,M=null,G=r,Q=!1;do{var re=G.lane&-536870913;if(re!==G.lane?(He&re)===re:(Xr&re)===re){var W=G.revertLane;if(W===0)M!==null&&(M=M.next={lane:0,revertLane:0,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null}),re===Si&&(Q=!0);else if((Xr&W)===W){G=G.next,W===Si&&(Q=!0);continue}else re={lane:0,revertLane:G.revertLane,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},M===null?(N=M=re,S=g):M=M.next=re,Te.lanes|=W,qn|=W;re=G.action,Ta&&i(g,re),g=G.hasEagerState?G.eagerState:i(g,re)}else W={lane:re,revertLane:G.revertLane,gesture:G.gesture,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},M===null?(N=M=W,S=g):M=M.next=W,Te.lanes|=re,qn|=re;G=G.next}while(G!==null&&G!==r);if(M===null?S=g:M.next=N,!wo(g,t.memoizedState)&&(zt=!0,Q&&(i=ki,i!==null)))throw i;t.memoizedState=g,t.baseState=S,t.baseQueue=M,s.lastRenderedState=g}return f===null&&(s.lanes=0),[t.memoizedState,s.dispatch]}function th(t){var r=St(),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 S=f=f.next;do g=t(g,S.action),S=S.next;while(S!==f);wo(g,r.memoizedState)||(zt=!0),r.memoizedState=g,r.baseQueue===null&&(r.baseState=g),i.lastRenderedState=g}return[g,s]}function av(t,r,i){var s=Te,f=St(),g=Le;if(g){if(i===void 0)throw Error(a(407));i=i()}else i=r();var S=!wo((ot||f).memoizedState,i);if(S&&(f.memoizedState=i,zt=!0),f=f.queue,nh(sv.bind(null,s,f,t),[t]),f.getSnapshot!==r||S||Ct!==null&&Ct.memoizedState.tag&1){if(s.flags|=2048,Ti(9,{destroy:void 0},lv.bind(null,s,f,i,r),null),at===null)throw Error(a(349));g||(Xr&127)!==0||iv(s,r,i)}return i}function iv(t,r,i){t.flags|=16384,t={getSnapshot:r,value:i},r=Te.updateQueue,r===null?(r=Kc(),Te.updateQueue=r,r.stores=[t]):(i=r.stores,i===null?r.stores=[t]:i.push(t))}function lv(t,r,i,s){r.value=i,r.getSnapshot=s,cv(r)&&uv(t)}function sv(t,r,i){return i(function(){cv(r)&&uv(t)})}function cv(t){var r=t.getSnapshot;t=t.value;try{var i=r();return!wo(t,i)}catch{return!0}}function uv(t){var r=xa(t,2);r!==null&&uo(r,t,2)}function oh(t){var r=Jt();if(typeof t=="function"){var i=t;if(t=i(),Ta){Bn(!0);try{i()}finally{Bn(!1)}}}return r.memoizedState=r.baseState=t,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$r,lastRenderedState:t},r}function dv(t,r,i,s){return t.baseState=i,eh(t,ot,typeof s=="function"?s:$r)}function g3(t,r,i,s,f){if(eu(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(S){g.listeners.push(S)}};L.T!==null?i(!0):g.isTransition=!1,s(g),i=r.pending,i===null?(g.next=r.pending=g,fv(r,g)):(g.next=i.next,r.pending=i.next=g)}}function fv(t,r){var i=r.action,s=r.payload,f=t.state;if(r.isTransition){var g=L.T,S={};L.T=S;try{var N=i(f,s),M=L.S;M!==null&&M(S,N),hv(t,r,N)}catch(G){rh(t,r,G)}finally{g!==null&&S.types!==null&&(g.types=S.types),L.T=g}}else try{g=i(f,s),hv(t,r,g)}catch(G){rh(t,r,G)}}function hv(t,r,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){pv(t,r,s)},function(s){return rh(t,r,s)}):pv(t,r,i)}function pv(t,r,i){r.status="fulfilled",r.value=i,gv(r),t.state=i,r=t.pending,r!==null&&(i=r.next,i===r?t.pending=null:(i=i.next,r.next=i,fv(t,i)))}function rh(t,r,i){var s=t.pending;if(t.pending=null,s!==null){s=s.next;do r.status="rejected",r.reason=i,gv(r),r=r.next;while(r!==s)}t.action=null}function gv(t){t=t.listeners;for(var r=0;r<t.length;r++)(0,t[r])()}function mv(t,r){return r}function vv(t,r){if(Le){var i=at.formState;if(i!==null){e:{var s=Te;if(Le){if(ut){t:{for(var f=ut,g=Wo;f.nodeType!==8;){if(!g){f=null;break t}if(f=$o(f.nextSibling),f===null){f=null;break t}}g=f.data,f=g==="F!"||g==="F"?f:null}if(f){ut=$o(f.nextSibling),s=f.data==="F!";break e}}Tn(s)}s=!1}s&&(r=i[0])}}return i=Jt(),i.memoizedState=i.baseState=r,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mv,lastRenderedState:r},i.queue=s,i=Ov.bind(null,Te,s),s.dispatch=i,s=oh(!1),g=ch.bind(null,Te,!1,s.queue),s=Jt(),f={state:r,dispatch:null,action:t,pending:null},s.queue=f,i=g3.bind(null,Te,f,g,i),f.dispatch=i,s.memoizedState=t,[r,i,!1]}function bv(t){var r=St();return yv(r,ot,t)}function yv(t,r,i){if(r=eh(t,r,mv)[0],t=Qc($r)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var s=ls(r)}catch(S){throw S===Bi?Ic:S}else s=r;r=St();var f=r.queue,g=f.dispatch;return i!==r.memoizedState&&(Te.flags|=2048,Ti(9,{destroy:void 0},m3.bind(null,f,i),null)),[s,g,t]}function m3(t,r){t.action=r}function xv(t){var r=St(),i=ot;if(i!==null)return yv(r,i,t);St(),r=r.memoizedState,i=St();var s=i.queue.dispatch;return i.memoizedState=t,[r,s,!1]}function Ti(t,r,i,s){return t={tag:t,create:i,deps:s,inst:r,next:null},r=Te.updateQueue,r===null&&(r=Kc(),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 wv(){return St().memoizedState}function Yc(t,r,i,s){var f=Jt();Te.flags|=t,f.memoizedState=Ti(1|r,{destroy:void 0},i,s===void 0?null:s)}function Jc(t,r,i,s){var f=St();s=s===void 0?null:s;var g=f.memoizedState.inst;ot!==null&&s!==null&&$f(s,ot.memoizedState.deps)?f.memoizedState=Ti(r,g,i,s):(Te.flags|=t,f.memoizedState=Ti(1|r,g,i,s))}function Sv(t,r){Yc(8390656,8,t,r)}function nh(t,r){Jc(2048,8,t,r)}function v3(t){Te.flags|=4;var r=Te.updateQueue;if(r===null)r=Kc(),Te.updateQueue=r,r.events=[t];else{var i=r.events;i===null?r.events=[t]:i.push(t)}}function kv(t){var r=St().memoizedState;return v3({ref:r,nextImpl:t}),function(){if(($e&2)!==0)throw Error(a(440));return r.impl.apply(void 0,arguments)}}function Bv(t,r){return Jc(4,2,t,r)}function _v(t,r){return Jc(4,4,t,r)}function Cv(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 zv(t,r,i){i=i!=null?i.concat([t]):null,Jc(4,4,Cv.bind(null,r,t),i)}function ah(){}function Nv(t,r){var i=St();r=r===void 0?null:r;var s=i.memoizedState;return r!==null&&$f(r,s[1])?s[0]:(i.memoizedState=[t,r],t)}function Tv(t,r){var i=St();r=r===void 0?null:r;var s=i.memoizedState;if(r!==null&&$f(r,s[1]))return s[0];if(s=t(),Ta){Bn(!0);try{t()}finally{Bn(!1)}}return i.memoizedState=[s,r],s}function ih(t,r,i){return i===void 0||(Xr&1073741824)!==0&&(He&261930)===0?t.memoizedState=r:(t.memoizedState=i,t=jb(),Te.lanes|=t,qn|=t,i)}function jv(t,r,i,s){return wo(i,r)?i:Ci.current!==null?(t=ih(t,i,s),wo(t,r)||(zt=!0),t):(Xr&42)===0||(Xr&1073741824)!==0&&(He&261930)===0?(zt=!0,t.memoizedState=i):(t=jb(),Te.lanes|=t,qn|=t,r)}function Ev(t,r,i,s,f){var g=te.p;te.p=g!==0&&8>g?g:8;var S=L.T,N={};L.T=N,ch(t,!1,r,i);try{var M=f(),G=L.S;if(G!==null&&G(N,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var Q=f3(M,s);ss(t,r,Q,zo(t))}else ss(t,r,s,zo(t))}catch(re){ss(t,r,{then:function(){},status:"rejected",reason:re},zo())}finally{te.p=g,S!==null&&N.types!==null&&(S.types=N.types),L.T=S}}function b3(){}function lh(t,r,i,s){if(t.tag!==5)throw Error(a(476));var f=Rv(t).queue;Ev(t,f,r,oe,i===null?b3:function(){return Av(t),i(s)})}function Rv(t){var r=t.memoizedState;if(r!==null)return r;r={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$r,lastRenderedState:oe},next:null};var i={};return r.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$r,lastRenderedState:i},next:null},t.memoizedState=r,t=t.alternate,t!==null&&(t.memoizedState=r),r}function Av(t){var r=Rv(t);r.next===null&&(r=t.alternate.memoizedState),ss(t,r.next.queue,{},zo())}function sh(){return Lt(_s)}function Mv(){return St().memoizedState}function Dv(){return St().memoizedState}function y3(t){for(var r=t.return;r!==null;){switch(r.tag){case 24:case 3:var i=zo();t=Rn(i);var s=An(r,t,i);s!==null&&(uo(s,r,i),rs(s,r,i)),r={cache:Ff()},t.payload=r;return}r=r.return}}function x3(t,r,i){var s=zo();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},eu(t)?Fv(r,i):(i=Cf(t,r,i,s),i!==null&&(uo(i,t,s),qv(i,r,s)))}function Ov(t,r,i){var s=zo();ss(t,r,i,s)}function ss(t,r,i,s){var f={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(eu(t))Fv(r,f);else{var g=t.alternate;if(t.lanes===0&&(g===null||g.lanes===0)&&(g=r.lastRenderedReducer,g!==null))try{var S=r.lastRenderedState,N=g(S,i);if(f.hasEagerState=!0,f.eagerState=N,wo(N,S))return Mc(t,r,f,0),at===null&&Ac(),!1}catch{}finally{}if(i=Cf(t,r,f,s),i!==null)return uo(i,t,s),qv(i,r,s),!0}return!1}function ch(t,r,i,s){if(s={lane:2,revertLane:Ih(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},eu(t)){if(r)throw Error(a(479))}else r=Cf(t,i,s,2),r!==null&&uo(r,t,2)}function eu(t){var r=t.alternate;return t===Te||r!==null&&r===Te}function Fv(t,r){zi=Xc=!0;var i=t.pending;i===null?r.next=r:(r.next=i.next,i.next=r),t.pending=r}function qv(t,r,i){if((i&4194048)!==0){var s=r.lanes;s&=t.pendingLanes,i|=s,r.lanes=i,Um(t,i)}}var cs={readContext:Lt,use:Zc,useCallback:vt,useContext:vt,useEffect:vt,useImperativeHandle:vt,useLayoutEffect:vt,useInsertionEffect:vt,useMemo:vt,useReducer:vt,useRef:vt,useState:vt,useDebugValue:vt,useDeferredValue:vt,useTransition:vt,useSyncExternalStore:vt,useId:vt,useHostTransitionStatus:vt,useFormState:vt,useActionState:vt,useOptimistic:vt,useMemoCache:vt,useCacheRefresh:vt};cs.useEffectEvent=vt;var Hv={readContext:Lt,use:Zc,useCallback:function(t,r){return Jt().memoizedState=[t,r===void 0?null:r],t},useContext:Lt,useEffect:Sv,useImperativeHandle:function(t,r,i){i=i!=null?i.concat([t]):null,Yc(4194308,4,Cv.bind(null,r,t),i)},useLayoutEffect:function(t,r){return Yc(4194308,4,t,r)},useInsertionEffect:function(t,r){Yc(4,2,t,r)},useMemo:function(t,r){var i=Jt();r=r===void 0?null:r;var s=t();if(Ta){Bn(!0);try{t()}finally{Bn(!1)}}return i.memoizedState=[s,r],s},useReducer:function(t,r,i){var s=Jt();if(i!==void 0){var f=i(r);if(Ta){Bn(!0);try{i(r)}finally{Bn(!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=x3.bind(null,Te,t),[s.memoizedState,t]},useRef:function(t){var r=Jt();return t={current:t},r.memoizedState=t},useState:function(t){t=oh(t);var r=t.queue,i=Ov.bind(null,Te,r);return r.dispatch=i,[t.memoizedState,i]},useDebugValue:ah,useDeferredValue:function(t,r){var i=Jt();return ih(i,t,r)},useTransition:function(){var t=oh(!1);return t=Ev.bind(null,Te,t.queue,!0,!1),Jt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,r,i){var s=Te,f=Jt();if(Le){if(i===void 0)throw Error(a(407));i=i()}else{if(i=r(),at===null)throw Error(a(349));(He&127)!==0||iv(s,r,i)}f.memoizedState=i;var g={value:i,getSnapshot:r};return f.queue=g,Sv(sv.bind(null,s,g,t),[t]),s.flags|=2048,Ti(9,{destroy:void 0},lv.bind(null,s,g,i,r),null),i},useId:function(){var t=Jt(),r=at.identifierPrefix;if(Le){var i=_r,s=Br;i=(s&~(1<<32-xo(s)-1)).toString(32)+i,r="_"+r+"R_"+i,i=$c++,0<i&&(r+="H"+i.toString(32)),r+="_"}else i=h3++,r="_"+r+"r_"+i.toString(32)+"_";return t.memoizedState=r},useHostTransitionStatus:sh,useFormState:vv,useActionState:vv,useOptimistic:function(t){var r=Jt();r.memoizedState=r.baseState=t;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=i,r=ch.bind(null,Te,!0,i),i.dispatch=r,[t,r]},useMemoCache:Jf,useCacheRefresh:function(){return Jt().memoizedState=y3.bind(null,Te)},useEffectEvent:function(t){var r=Jt(),i={impl:t};return r.memoizedState=i,function(){if(($e&2)!==0)throw Error(a(440));return i.impl.apply(void 0,arguments)}}},uh={readContext:Lt,use:Zc,useCallback:Nv,useContext:Lt,useEffect:nh,useImperativeHandle:zv,useInsertionEffect:Bv,useLayoutEffect:_v,useMemo:Tv,useReducer:Qc,useRef:wv,useState:function(){return Qc($r)},useDebugValue:ah,useDeferredValue:function(t,r){var i=St();return jv(i,ot.memoizedState,t,r)},useTransition:function(){var t=Qc($r)[0],r=St().memoizedState;return[typeof t=="boolean"?t:ls(t),r]},useSyncExternalStore:av,useId:Mv,useHostTransitionStatus:sh,useFormState:bv,useActionState:bv,useOptimistic:function(t,r){var i=St();return dv(i,ot,t,r)},useMemoCache:Jf,useCacheRefresh:Dv};uh.useEffectEvent=kv;var Pv={readContext:Lt,use:Zc,useCallback:Nv,useContext:Lt,useEffect:nh,useImperativeHandle:zv,useInsertionEffect:Bv,useLayoutEffect:_v,useMemo:Tv,useReducer:th,useRef:wv,useState:function(){return th($r)},useDebugValue:ah,useDeferredValue:function(t,r){var i=St();return ot===null?ih(i,t,r):jv(i,ot.memoizedState,t,r)},useTransition:function(){var t=th($r)[0],r=St().memoizedState;return[typeof t=="boolean"?t:ls(t),r]},useSyncExternalStore:av,useId:Mv,useHostTransitionStatus:sh,useFormState:xv,useActionState:xv,useOptimistic:function(t,r){var i=St();return ot!==null?dv(i,ot,t,r):(i.baseState=t,[t,i.queue.dispatch])},useMemoCache:Jf,useCacheRefresh:Dv};Pv.useEffectEvent=kv;function dh(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 fh={enqueueSetState:function(t,r,i){t=t._reactInternals;var s=zo(),f=Rn(s);f.payload=r,i!=null&&(f.callback=i),r=An(t,f,s),r!==null&&(uo(r,t,s),rs(r,t,s))},enqueueReplaceState:function(t,r,i){t=t._reactInternals;var s=zo(),f=Rn(s);f.tag=1,f.payload=r,i!=null&&(f.callback=i),r=An(t,f,s),r!==null&&(uo(r,t,s),rs(r,t,s))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var i=zo(),s=Rn(i);s.tag=2,r!=null&&(s.callback=r),r=An(t,s,i),r!==null&&(uo(r,t,i),rs(r,t,i))}};function Iv(t,r,i,s,f,g,S){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,g,S):r.prototype&&r.prototype.isPureReactComponent?!Kl(i,s)||!Kl(f,g):!0}function Lv(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&&fh.enqueueReplaceState(r,r.state,null)}function ja(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 Uv(t){Rc(t)}function Vv(t){console.error(t)}function Gv(t){Rc(t)}function tu(t,r){try{var i=t.onUncaughtError;i(r.value,{componentStack:r.stack})}catch(s){setTimeout(function(){throw s})}}function Wv(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 hh(t,r,i){return i=Rn(i),i.tag=3,i.payload={element:null},i.callback=function(){tu(t,r)},i}function Xv(t){return t=Rn(t),t.tag=3,t}function $v(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(){Wv(r,i,s)}}var S=i.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(t.callback=function(){Wv(r,i,s),typeof f!="function"&&(Hn===null?Hn=new Set([this]):Hn.add(this));var N=s.stack;this.componentDidCatch(s.value,{componentStack:N!==null?N:""})})}function w3(t,r,i,s,f){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(r=i.alternate,r!==null&&wi(r,i,f,!0),i=ko.current,i!==null){switch(i.tag){case 31:case 13:return Xo===null?hu():i.alternate===null&&bt===0&&(bt=3),i.flags&=-257,i.flags|=65536,i.lanes=f,s===Lc?i.flags|=16384:(r=i.updateQueue,r===null?i.updateQueue=new Set([s]):r.add(s),qh(t,s,f)),!1;case 22:return i.flags|=65536,s===Lc?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)),qh(t,s,f)),!1}throw Error(a(435,i.tag))}return qh(t,s,f),hu(),!1}if(Le)return r=ko.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,s!==Rf&&(t=Error(a(422),{cause:s}),Yl(Uo(t,i)))):(s!==Rf&&(r=Error(a(423),{cause:s}),Yl(Uo(r,i))),t=t.current.alternate,t.flags|=65536,f&=-f,t.lanes|=f,s=Uo(s,i),f=hh(t.stateNode,s,f),Uf(t,f),bt!==4&&(bt=2)),!1;var g=Error(a(520),{cause:s});if(g=Uo(g,i),vs===null?vs=[g]:vs.push(g),bt!==4&&(bt=2),r===null)return!0;s=Uo(s,i),i=r;do{switch(i.tag){case 3:return i.flags|=65536,t=f&-f,i.lanes|=t,t=hh(i.stateNode,s,t),Uf(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"&&(Hn===null||!Hn.has(g))))return i.flags|=65536,f&=-f,i.lanes|=f,f=Xv(f),$v(f,t,i,s),Uf(i,f),!1}i=i.return}while(i!==null);return!1}var ph=Error(a(461)),zt=!1;function Ut(t,r,i,s){r.child=t===null?Y0(r,null,i,s):Na(r,t.child,i,s)}function Kv(t,r,i,s,f){i=i.render;var g=r.ref;if("ref"in s){var S={};for(var N in s)N!=="ref"&&(S[N]=s[N])}else S=s;return Ba(r),s=Kf(t,r,i,S,g,f),N=Zf(),t!==null&&!zt?(Qf(t,r,f),Kr(t,r,f)):(Le&&N&&jf(r),r.flags|=1,Ut(t,r,s,f),r.child)}function Zv(t,r,i,s,f){if(t===null){var g=i.type;return typeof g=="function"&&!zf(g)&&g.defaultProps===void 0&&i.compare===null?(r.tag=15,r.type=g,Qv(t,r,g,s,f)):(t=Oc(i.type,null,s,r,r.mode,f),t.ref=r.ref,t.return=r,r.child=t)}if(g=t.child,!Sh(t,f)){var S=g.memoizedProps;if(i=i.compare,i=i!==null?i:Kl,i(S,s)&&t.ref===r.ref)return Kr(t,r,f)}return r.flags|=1,t=Ur(g,s),t.ref=r.ref,t.return=r,r.child=t}function Qv(t,r,i,s,f){if(t!==null){var g=t.memoizedProps;if(Kl(g,s)&&t.ref===r.ref)if(zt=!1,r.pendingProps=s=g,Sh(t,f))(t.flags&131072)!==0&&(zt=!0);else return r.lanes=t.lanes,Kr(t,r,f)}return gh(t,r,i,s,f)}function Yv(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 Jv(t,r,g,i,s)}if((i&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},t!==null&&Pc(r,g!==null?g.cachePool:null),g!==null?tv(r,g):Gf(),ov(r);else return s=r.lanes=536870912,Jv(t,r,g!==null?g.baseLanes|i:i,i,s)}else g!==null?(Pc(r,g.cachePool),tv(r,g),Dn(),r.memoizedState=null):(t!==null&&Pc(r,null),Gf(),Dn());return Ut(t,r,f,i),r.child}function us(t,r){return t!==null&&t.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function Jv(t,r,i,s,f){var g=Hf();return g=g===null?null:{parent:_t._currentValue,pool:g},r.memoizedState={baseLanes:i,cachePool:g},t!==null&&Pc(r,null),Gf(),ov(r),t!==null&&wi(t,r,s,!0),r.childLanes=f,null}function ou(t,r){return r=nu({mode:r.mode,children:r.children},t.mode),r.ref=t.ref,t.child=r,r.return=t,r}function eb(t,r,i){return Na(r,t.child,null,i),t=ou(r,r.pendingProps),t.flags|=2,Bo(r),r.memoizedState=null,t}function S3(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=ou(r,s),r.lanes=536870912,us(null,t);if(Xf(r),(t=ut)?(t=f1(t,Wo),t=t!==null&&t.data==="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:zn!==null?{id:Br,overflow:_r}:null,retryLane:536870912,hydrationErrors:null},i=F0(t),i.return=r,r.child=i,It=r,ut=null)):t=null,t===null)throw Tn(r);return r.lanes=536870912,null}return ou(r,s)}var g=t.memoizedState;if(g!==null){var S=g.dehydrated;if(Xf(r),f)if(r.flags&256)r.flags&=-257,r=eb(t,r,i);else if(r.memoizedState!==null)r.child=t.child,r.flags|=128,r=null;else throw Error(a(558));else if(zt||wi(t,r,i,!1),f=(i&t.childLanes)!==0,zt||f){if(s=at,s!==null&&(S=Vm(s,i),S!==0&&S!==g.retryLane))throw g.retryLane=S,xa(t,S),uo(s,t,S),ph;hu(),r=eb(t,r,i)}else t=g.treeContext,ut=$o(S.nextSibling),It=r,Le=!0,Nn=null,Wo=!1,t!==null&&P0(r,t),r=ou(r,s),r.flags|=4096;return r}return t=Ur(t.child,{mode:s.mode,children:s.children}),t.ref=r.ref,r.child=t,t.return=r,t}function ru(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 gh(t,r,i,s,f){return Ba(r),i=Kf(t,r,i,s,void 0,f),s=Zf(),t!==null&&!zt?(Qf(t,r,f),Kr(t,r,f)):(Le&&s&&jf(r),r.flags|=1,Ut(t,r,i,f),r.child)}function tb(t,r,i,s,f,g){return Ba(r),r.updateQueue=null,i=nv(r,s,i,f),rv(t),s=Zf(),t!==null&&!zt?(Qf(t,r,g),Kr(t,r,g)):(Le&&s&&jf(r),r.flags|=1,Ut(t,r,i,g),r.child)}function ob(t,r,i,s,f){if(Ba(r),r.stateNode===null){var g=vi,S=i.contextType;typeof S=="object"&&S!==null&&(g=Lt(S)),g=new i(s,g),r.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=fh,r.stateNode=g,g._reactInternals=r,g=r.stateNode,g.props=s,g.state=r.memoizedState,g.refs={},If(r),S=i.contextType,g.context=typeof S=="object"&&S!==null?Lt(S):vi,g.state=r.memoizedState,S=i.getDerivedStateFromProps,typeof S=="function"&&(dh(r,i,S,s),g.state=r.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(S=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),S!==g.state&&fh.enqueueReplaceState(g,g.state,null),as(r,s,g,f),ns(),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308),s=!0}else if(t===null){g=r.stateNode;var N=r.memoizedProps,M=ja(i,N);g.props=M;var G=g.context,Q=i.contextType;S=vi,typeof Q=="object"&&Q!==null&&(S=Lt(Q));var re=i.getDerivedStateFromProps;Q=typeof re=="function"||typeof g.getSnapshotBeforeUpdate=="function",N=r.pendingProps!==N,Q||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(N||G!==S)&&Lv(r,g,s,S),En=!1;var W=r.memoizedState;g.state=W,as(r,s,g,f),ns(),G=r.memoizedState,N||W!==G||En?(typeof re=="function"&&(dh(r,i,re,s),G=r.memoizedState),(M=En||Iv(r,i,M,s,W,G,S))?(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=S,s=M):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),s=!1)}else{g=r.stateNode,Lf(t,r),S=r.memoizedProps,Q=ja(i,S),g.props=Q,re=r.pendingProps,W=g.context,G=i.contextType,M=vi,typeof G=="object"&&G!==null&&(M=Lt(G)),N=i.getDerivedStateFromProps,(G=typeof N=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(S!==re||W!==M)&&Lv(r,g,s,M),En=!1,W=r.memoizedState,g.state=W,as(r,s,g,f),ns();var K=r.memoizedState;S!==re||W!==K||En||t!==null&&t.dependencies!==null&&qc(t.dependencies)?(typeof N=="function"&&(dh(r,i,N,s),K=r.memoizedState),(Q=En||Iv(r,i,Q,s,W,K,M)||t!==null&&t.dependencies!==null&&qc(t.dependencies))?(G||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(s,K,M),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(s,K,M)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(r.flags|=1024),r.memoizedProps=s,r.memoizedState=K),g.props=s,g.state=K,g.context=M,s=Q):(typeof g.componentDidUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(r.flags|=1024),s=!1)}return g=s,ru(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=Na(r,t.child,null,f),r.child=Na(r,null,i,f)):Ut(t,r,i,f),r.memoizedState=g.state,t=r.child):t=Kr(t,r,f),t}function rb(t,r,i,s){return Sa(),r.flags|=256,Ut(t,r,i,s),r.child}var mh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vh(t){return{baseLanes:t,cachePool:W0()}}function bh(t,r,i){return t=t!==null?t.childLanes&~i:0,r&&(t|=Co),t}function nb(t,r,i){var s=r.pendingProps,f=!1,g=(r.flags&128)!==0,S;if((S=g)||(S=t!==null&&t.memoizedState===null?!1:(wt.current&2)!==0),S&&(f=!0,r.flags&=-129),S=(r.flags&32)!==0,r.flags&=-33,t===null){if(Le){if(f?Mn(r):Dn(),(t=ut)?(t=f1(t,Wo),t=t!==null&&t.data!=="&"?t:null,t!==null&&(r.memoizedState={dehydrated:t,treeContext:zn!==null?{id:Br,overflow:_r}:null,retryLane:536870912,hydrationErrors:null},i=F0(t),i.return=r,r.child=i,It=r,ut=null)):t=null,t===null)throw Tn(r);return ep(t)?r.lanes=32:r.lanes=536870912,null}var N=s.children;return s=s.fallback,f?(Dn(),f=r.mode,N=nu({mode:"hidden",children:N},f),s=wa(s,f,i,null),N.return=r,s.return=r,N.sibling=s,r.child=N,s=r.child,s.memoizedState=vh(i),s.childLanes=bh(t,S,i),r.memoizedState=mh,us(null,s)):(Mn(r),yh(r,N))}var M=t.memoizedState;if(M!==null&&(N=M.dehydrated,N!==null)){if(g)r.flags&256?(Mn(r),r.flags&=-257,r=xh(t,r,i)):r.memoizedState!==null?(Dn(),r.child=t.child,r.flags|=128,r=null):(Dn(),N=s.fallback,f=r.mode,s=nu({mode:"visible",children:s.children},f),N=wa(N,f,i,null),N.flags|=2,s.return=r,N.return=r,s.sibling=N,r.child=s,Na(r,t.child,null,i),s=r.child,s.memoizedState=vh(i),s.childLanes=bh(t,S,i),r.memoizedState=mh,r=us(null,s));else if(Mn(r),ep(N)){if(S=N.nextSibling&&N.nextSibling.dataset,S)var G=S.dgst;S=G,s=Error(a(419)),s.stack="",s.digest=S,Yl({value:s,source:null,stack:null}),r=xh(t,r,i)}else if(zt||wi(t,r,i,!1),S=(i&t.childLanes)!==0,zt||S){if(S=at,S!==null&&(s=Vm(S,i),s!==0&&s!==M.retryLane))throw M.retryLane=s,xa(t,s),uo(S,t,s),ph;Jh(N)||hu(),r=xh(t,r,i)}else Jh(N)?(r.flags|=192,r.child=t.child,r=null):(t=M.treeContext,ut=$o(N.nextSibling),It=r,Le=!0,Nn=null,Wo=!1,t!==null&&P0(r,t),r=yh(r,s.children),r.flags|=4096);return r}return f?(Dn(),N=s.fallback,f=r.mode,M=t.child,G=M.sibling,s=Ur(M,{mode:"hidden",children:s.children}),s.subtreeFlags=M.subtreeFlags&65011712,G!==null?N=Ur(G,N):(N=wa(N,f,i,null),N.flags|=2),N.return=r,s.return=r,s.sibling=N,r.child=s,us(null,s),s=r.child,N=t.child.memoizedState,N===null?N=vh(i):(f=N.cachePool,f!==null?(M=_t._currentValue,f=f.parent!==M?{parent:M,pool:M}:f):f=W0(),N={baseLanes:N.baseLanes|i,cachePool:f}),s.memoizedState=N,s.childLanes=bh(t,S,i),r.memoizedState=mh,us(t.child,s)):(Mn(r),i=t.child,t=i.sibling,i=Ur(i,{mode:"visible",children:s.children}),i.return=r,i.sibling=null,t!==null&&(S=r.deletions,S===null?(r.deletions=[t],r.flags|=16):S.push(t)),r.child=i,r.memoizedState=null,i)}function yh(t,r){return r=nu({mode:"visible",children:r},t.mode),r.return=t,t.child=r}function nu(t,r){return t=So(22,t,null,r),t.lanes=0,t}function xh(t,r,i){return Na(r,t.child,null,i),t=yh(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function ab(t,r,i){t.lanes|=r;var s=t.alternate;s!==null&&(s.lanes|=r),Df(t.return,r,i)}function wh(t,r,i,s,f,g){var S=t.memoizedState;S===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:f,treeForkCount:g}:(S.isBackwards=r,S.rendering=null,S.renderingStartTime=0,S.last=s,S.tail=i,S.tailMode=f,S.treeForkCount=g)}function ib(t,r,i){var s=r.pendingProps,f=s.revealOrder,g=s.tail;s=s.children;var S=wt.current,N=(S&2)!==0;if(N?(S=S&1|2,r.flags|=128):S&=1,J(wt,S),Ut(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&&ab(t,i,r);else if(t.tag===19)ab(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&&Wc(t)===null&&(f=i),i=i.sibling;i=f,i===null?(f=r.child,r.child=null):(f=i.sibling,i.sibling=null),wh(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&&Wc(t)===null){r.child=f;break}t=f.sibling,f.sibling=i,i=f,f=t}wh(r,!0,i,null,g,s);break;case"together":wh(r,!1,null,null,void 0,s);break;default:r.memoizedState=null}return r.child}function Kr(t,r,i){if(t!==null&&(r.dependencies=t.dependencies),qn|=r.lanes,(i&r.childLanes)===0)if(t!==null){if(wi(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=Ur(t,t.pendingProps),r.child=i,i.return=r;t.sibling!==null;)t=t.sibling,i=i.sibling=Ur(t,t.pendingProps),i.return=r;i.sibling=null}return r.child}function Sh(t,r){return(t.lanes&r)!==0?!0:(t=t.dependencies,!!(t!==null&&qc(t)))}function k3(t,r,i){switch(r.tag){case 3:Bt(r,r.stateNode.containerInfo),jn(r,_t,t.memoizedState.cache),Sa();break;case 27:case 5:kn(r);break;case 4:Bt(r,r.stateNode.containerInfo);break;case 10:jn(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,Xf(r),null;break;case 13:var s=r.memoizedState;if(s!==null)return s.dehydrated!==null?(Mn(r),r.flags|=128,null):(i&r.child.childLanes)!==0?nb(t,r,i):(Mn(r),t=Kr(t,r,i),t!==null?t.sibling:null);Mn(r);break;case 19:var f=(t.flags&128)!==0;if(s=(i&r.childLanes)!==0,s||(wi(t,r,i,!1),s=(i&r.childLanes)!==0),f){if(s)return ib(t,r,i);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),J(wt,wt.current),s)break;return null;case 22:return r.lanes=0,Yv(t,r,i,r.pendingProps);case 24:jn(r,_t,t.memoizedState.cache)}return Kr(t,r,i)}function lb(t,r,i){if(t!==null)if(t.memoizedProps!==r.pendingProps)zt=!0;else{if(!Sh(t,i)&&(r.flags&128)===0)return zt=!1,k3(t,r,i);zt=(t.flags&131072)!==0}else zt=!1,Le&&(r.flags&1048576)!==0&&H0(r,Ql,r.index);switch(r.lanes=0,r.tag){case 16:e:{var s=r.pendingProps;if(t=Ca(r.elementType),r.type=t,typeof t=="function")zf(t)?(s=ja(t,s),r.tag=1,r=ob(null,r,t,s,i)):(r.tag=0,r=gh(null,r,t,s,i));else{if(t!=null){var f=t.$$typeof;if(f===T){r.tag=11,r=Kv(null,r,t,s,i);break e}else if(f===F){r.tag=14,r=Zv(null,r,t,s,i);break e}}throw r=le(t)||t,Error(a(306,r,""))}}return r;case 0:return gh(t,r,r.type,r.pendingProps,i);case 1:return s=r.type,f=ja(s,r.pendingProps),ob(t,r,s,f,i);case 3:e:{if(Bt(r,r.stateNode.containerInfo),t===null)throw Error(a(387));s=r.pendingProps;var g=r.memoizedState;f=g.element,Lf(t,r),as(r,s,null,i);var S=r.memoizedState;if(s=S.cache,jn(r,_t,s),s!==g.cache&&Of(r,[_t],i,!0),ns(),s=S.element,g.isDehydrated)if(g={element:s,isDehydrated:!1,cache:S.cache},r.updateQueue.baseState=g,r.memoizedState=g,r.flags&256){r=rb(t,r,s,i);break e}else if(s!==f){f=Uo(Error(a(424)),r),Yl(f),r=rb(t,r,s,i);break e}else{switch(t=r.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(ut=$o(t.firstChild),It=r,Le=!0,Nn=null,Wo=!0,i=Y0(r,null,s,i),r.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Sa(),s===f){r=Kr(t,r,i);break e}Ut(t,r,s,i)}r=r.child}return r;case 26:return ru(t,r),t===null?(i=b1(r.type,null,r.pendingProps,null))?r.memoizedState=i:Le||(i=r.type,t=r.pendingProps,s=xu(_e.current).createElement(i),s[Pt]=r,s[no]=t,Vt(s,i,t),Ot(s),r.stateNode=s):r.memoizedState=b1(r.type,t.memoizedProps,r.pendingProps,t.memoizedState),null;case 27:return kn(r),t===null&&Le&&(s=r.stateNode=g1(r.type,r.pendingProps,_e.current),It=r,Wo=!0,f=ut,Un(r.type)?(tp=f,ut=$o(s.firstChild)):ut=f),Ut(t,r,r.pendingProps.children,i),ru(t,r),t===null&&(r.flags|=4194304),r.child;case 5:return t===null&&Le&&((f=s=ut)&&(s=J3(s,r.type,r.pendingProps,Wo),s!==null?(r.stateNode=s,It=r,ut=$o(s.firstChild),Wo=!1,f=!0):f=!1),f||Tn(r)),kn(r),f=r.type,g=r.pendingProps,S=t!==null?t.memoizedProps:null,s=g.children,Zh(f,g)?s=null:S!==null&&Zh(f,S)&&(r.flags|=32),r.memoizedState!==null&&(f=Kf(t,r,p3,null,null,i),_s._currentValue=f),ru(t,r),Ut(t,r,s,i),r.child;case 6:return t===null&&Le&&((t=i=ut)&&(i=eB(i,r.pendingProps,Wo),i!==null?(r.stateNode=i,It=r,ut=null,t=!0):t=!1),t||Tn(r)),null;case 13:return nb(t,r,i);case 4:return Bt(r,r.stateNode.containerInfo),s=r.pendingProps,t===null?r.child=Na(r,null,s,i):Ut(t,r,s,i),r.child;case 11:return Kv(t,r,r.type,r.pendingProps,i);case 7:return Ut(t,r,r.pendingProps,i),r.child;case 8:return Ut(t,r,r.pendingProps.children,i),r.child;case 12:return Ut(t,r,r.pendingProps.children,i),r.child;case 10:return s=r.pendingProps,jn(r,r.type,s.value),Ut(t,r,s.children,i),r.child;case 9:return f=r.type._context,s=r.pendingProps.children,Ba(r),f=Lt(f),s=s(f),r.flags|=1,Ut(t,r,s,i),r.child;case 14:return Zv(t,r,r.type,r.pendingProps,i);case 15:return Qv(t,r,r.type,r.pendingProps,i);case 19:return ib(t,r,i);case 31:return S3(t,r,i);case 22:return Yv(t,r,i,r.pendingProps);case 24:return Ba(r),s=Lt(_t),t===null?(f=Hf(),f===null&&(f=at,g=Ff(),f.pooledCache=g,g.refCount++,g!==null&&(f.pooledCacheLanes|=i),f=g),r.memoizedState={parent:s,cache:f},If(r),jn(r,_t,f)):((t.lanes&i)!==0&&(Lf(t,r),as(r,null,null,i),ns()),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),jn(r,_t,s)):(s=g.cache,jn(r,_t,s),s!==f.cache&&Of(r,[_t],i,!0))),Ut(t,r,r.pendingProps.children,i),r.child;case 29:throw r.pendingProps}throw Error(a(156,r.tag))}function Zr(t){t.flags|=4}function kh(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(Mb())t.flags|=8192;else throw za=Lc,Pf}else t.flags&=-16777217}function sb(t,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!k1(r))if(Mb())t.flags|=8192;else throw za=Lc,Pf}function au(t,r){r!==null&&(t.flags|=4),t.flags&16384&&(r=t.tag!==22?Im():536870912,t.lanes|=r,Ai|=r)}function ds(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 dt(t){var r=t.alternate!==null&&t.alternate.child===t.child,i=0,s=0;if(r)for(var f=t.child;f!==null;)i|=f.lanes|f.childLanes,s|=f.subtreeFlags&65011712,s|=f.flags&65011712,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)i|=f.lanes|f.childLanes,s|=f.subtreeFlags,s|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=s,t.childLanes=i,r}function B3(t,r,i){var s=r.pendingProps;switch(Ef(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dt(r),null;case 1:return dt(r),null;case 3:return i=r.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),r.memoizedState.cache!==s&&(r.flags|=2048),Wr(_t),ft(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(xi(r)?Zr(r):t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Af())),dt(r),null;case 26:var f=r.type,g=r.memoizedState;return t===null?(Zr(r),g!==null?(dt(r),sb(r,g)):(dt(r),kh(r,f,null,s,i))):g?g!==t.memoizedState?(Zr(r),dt(r),sb(r,g)):(dt(r),r.flags&=-16777217):(t=t.memoizedProps,t!==s&&Zr(r),dt(r),kh(r,f,t,s,i)),null;case 27:if(pa(r),i=_e.current,f=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==s&&Zr(r);else{if(!s){if(r.stateNode===null)throw Error(a(166));return dt(r),null}t=se.current,xi(r)?I0(r):(t=g1(f,s,i),r.stateNode=t,Zr(r))}return dt(r),null;case 5:if(pa(r),f=r.type,t!==null&&r.stateNode!=null)t.memoizedProps!==s&&Zr(r);else{if(!s){if(r.stateNode===null)throw Error(a(166));return dt(r),null}if(g=se.current,xi(r))I0(r);else{var S=xu(_e.current);switch(g){case 1:g=S.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:g=S.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":g=S.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":g=S.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":g=S.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof s.is=="string"?S.createElement("select",{is:s.is}):S.createElement("select"),s.multiple?g.multiple=!0:s.size&&(g.size=s.size);break;default:g=typeof s.is=="string"?S.createElement(f,{is:s.is}):S.createElement(f)}}g[Pt]=r,g[no]=s;e:for(S=r.child;S!==null;){if(S.tag===5||S.tag===6)g.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===r)break e;for(;S.sibling===null;){if(S.return===null||S.return===r)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}r.stateNode=g;e:switch(Vt(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&&Zr(r)}}return dt(r),kh(r,r.type,t===null?null:t.memoizedProps,r.pendingProps,i),null;case 6:if(t&&r.stateNode!=null)t.memoizedProps!==s&&Zr(r);else{if(typeof s!="string"&&r.stateNode===null)throw Error(a(166));if(t=_e.current,xi(r)){if(t=r.stateNode,i=r.memoizedProps,s=null,f=It,f!==null)switch(f.tag){case 27:case 5:s=f.memoizedProps}t[Pt]=r,t=!!(t.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||n1(t.nodeValue,i)),t||Tn(r,!0)}else t=xu(t).createTextNode(s),t[Pt]=r,r.stateNode=t}return dt(r),null;case 31:if(i=r.memoizedState,t===null||t.memoizedState!==null){if(s=xi(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[Pt]=r}else Sa(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;dt(r),t=!1}else i=Af(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return r.flags&256?(Bo(r),r):(Bo(r),null);if((r.flags&128)!==0)throw Error(a(558))}return dt(r),null;case 13:if(s=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=xi(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[Pt]=r}else Sa(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;dt(r),f=!1}else f=Af(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return r.flags&256?(Bo(r),r):(Bo(r),null)}return Bo(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),au(r,r.updateQueue),dt(r),null);case 4:return ft(),t===null&&Gh(r.stateNode.containerInfo),dt(r),null;case 10:return Wr(r.type),dt(r),null;case 19:if(U(wt),s=r.memoizedState,s===null)return dt(r),null;if(f=(r.flags&128)!==0,g=s.rendering,g===null)if(f)ds(s,!1);else{if(bt!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(g=Wc(t),g!==null){for(r.flags|=128,ds(s,!1),t=g.updateQueue,r.updateQueue=t,au(r,t),r.subtreeFlags=0,t=i,i=r.child;i!==null;)O0(i,t),i=i.sibling;return J(wt,wt.current&1|2),Le&&Vr(r,s.treeForkCount),r.child}t=t.sibling}s.tail!==null&&bo()>uu&&(r.flags|=128,f=!0,ds(s,!1),r.lanes=4194304)}else{if(!f)if(t=Wc(g),t!==null){if(r.flags|=128,f=!0,t=t.updateQueue,r.updateQueue=t,au(r,t),ds(s,!0),s.tail===null&&s.tailMode==="hidden"&&!g.alternate&&!Le)return dt(r),null}else 2*bo()-s.renderingStartTime>uu&&i!==536870912&&(r.flags|=128,f=!0,ds(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=bo(),t.sibling=null,i=wt.current,J(wt,f?i&1|2:i&1),Le&&Vr(r,s.treeForkCount),t):(dt(r),null);case 22:case 23:return Bo(r),Wf(),s=r.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(r.flags|=8192):s&&(r.flags|=8192),s?(i&536870912)!==0&&(r.flags&128)===0&&(dt(r),r.subtreeFlags&6&&(r.flags|=8192)):dt(r),i=r.updateQueue,i!==null&&au(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(_a),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),Wr(_t),dt(r),null;case 25:return null;case 30:return null}throw Error(a(156,r.tag))}function _3(t,r){switch(Ef(r),r.tag){case 1:return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return Wr(_t),ft(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 26:case 27:case 5:return pa(r),null;case 31:if(r.memoizedState!==null){if(Bo(r),r.alternate===null)throw Error(a(340));Sa()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 13:if(Bo(r),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(a(340));Sa()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return U(wt),null;case 4:return ft(),null;case 10:return Wr(r.type),null;case 22:case 23:return Bo(r),Wf(),t!==null&&U(_a),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 24:return Wr(_t),null;case 25:return null;default:return null}}function cb(t,r){switch(Ef(r),r.tag){case 3:Wr(_t),ft();break;case 26:case 27:case 5:pa(r);break;case 4:ft();break;case 31:r.memoizedState!==null&&Bo(r);break;case 13:Bo(r);break;case 19:U(wt);break;case 10:Wr(r.type);break;case 22:case 23:Bo(r),Wf(),t!==null&&U(_a);break;case 24:Wr(_t)}}function fs(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,S=i.inst;s=g(),S.destroy=s}i=i.next}while(i!==f)}}catch(N){et(r,r.return,N)}}function On(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 S=s.inst,N=S.destroy;if(N!==void 0){S.destroy=void 0,f=r;var M=i,G=N;try{G()}catch(Q){et(f,M,Q)}}}s=s.next}while(s!==g)}}catch(Q){et(r,r.return,Q)}}function ub(t){var r=t.updateQueue;if(r!==null){var i=t.stateNode;try{ev(r,i)}catch(s){et(t,t.return,s)}}}function db(t,r,i){i.props=ja(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(s){et(t,r,s)}}function hs(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){et(t,r,f)}}function Cr(t,r){var i=t.ref,s=t.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(f){et(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){et(t,r,f)}else i.current=null}function fb(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){et(t,t.return,f)}}function Bh(t,r,i){try{var s=t.stateNode;X3(s,t.type,i,r),s[no]=r}catch(f){et(t,t.return,f)}}function hb(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Un(t.type)||t.tag===4}function _h(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||hb(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&&Un(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 Ch(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=Ir));else if(s!==4&&(s===27&&Un(t.type)&&(i=t.stateNode,r=null),t=t.child,t!==null))for(Ch(t,r,i),t=t.sibling;t!==null;)Ch(t,r,i),t=t.sibling}function iu(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&&Un(t.type)&&(i=t.stateNode),t=t.child,t!==null))for(iu(t,r,i),t=t.sibling;t!==null;)iu(t,r,i),t=t.sibling}function pb(t){var r=t.stateNode,i=t.memoizedProps;try{for(var s=t.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);Vt(r,s,i),r[Pt]=t,r[no]=i}catch(g){et(t,t.return,g)}}var Qr=!1,Nt=!1,zh=!1,gb=typeof WeakSet=="function"?WeakSet:Set,Ft=null;function C3(t,r){if(t=t.containerInfo,$h=zu,t=z0(t),xf(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 S=0,N=-1,M=-1,G=0,Q=0,re=t,W=null;t:for(;;){for(var K;re!==i||f!==0&&re.nodeType!==3||(N=S+f),re!==g||s!==0&&re.nodeType!==3||(M=S+s),re.nodeType===3&&(S+=re.nodeValue.length),(K=re.firstChild)!==null;)W=re,re=K;for(;;){if(re===t)break t;if(W===i&&++G===f&&(N=S),W===g&&++Q===s&&(M=S),(K=re.nextSibling)!==null)break;re=W,W=re.parentNode}re=K}i=N===-1||M===-1?null:{start:N,end:M}}else i=null}i=i||{start:0,end:0}}else i=null;for(Kh={focusedElem:t,selectionRange:i},zu=!1,Ft=r;Ft!==null;)if(r=Ft,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,Ft=t;else for(;Ft!==null;){switch(r=Ft,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 be=ja(i.type,f);t=s.getSnapshotBeforeUpdate(be,g),s.__reactInternalSnapshotBeforeUpdate=t}catch(Be){et(i,i.return,Be)}}break;case 3:if((t&1024)!==0){if(t=r.stateNode.containerInfo,i=t.nodeType,i===9)Yh(t);else if(i===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Yh(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,Ft=t;break}Ft=r.return}}function mb(t,r,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:Jr(t,i),s&4&&fs(5,i);break;case 1:if(Jr(t,i),s&4)if(t=i.stateNode,r===null)try{t.componentDidMount()}catch(S){et(i,i.return,S)}else{var f=ja(i.type,r.memoizedProps);r=r.memoizedState;try{t.componentDidUpdate(f,r,t.__reactInternalSnapshotBeforeUpdate)}catch(S){et(i,i.return,S)}}s&64&&ub(i),s&512&&hs(i,i.return);break;case 3:if(Jr(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{ev(t,r)}catch(S){et(i,i.return,S)}}break;case 27:r===null&&s&4&&pb(i);case 26:case 5:Jr(t,i),r===null&&s&4&&fb(i),s&512&&hs(i,i.return);break;case 12:Jr(t,i);break;case 31:Jr(t,i),s&4&&yb(t,i);break;case 13:Jr(t,i),s&4&&xb(t,i),s&64&&(t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(i=D3.bind(null,i),tB(t,i))));break;case 22:if(s=i.memoizedState!==null||Qr,!s){r=r!==null&&r.memoizedState!==null||Nt,f=Qr;var g=Nt;Qr=s,(Nt=r)&&!g?en(t,i,(i.subtreeFlags&8772)!==0):Jr(t,i),Qr=f,Nt=g}break;case 30:break;default:Jr(t,i)}}function vb(t){var r=t.alternate;r!==null&&(t.alternate=null,vb(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&of(r)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var ht=null,io=!1;function Yr(t,r,i){for(i=i.child;i!==null;)bb(t,r,i),i=i.sibling}function bb(t,r,i){if(yo&&typeof yo.onCommitFiberUnmount=="function")try{yo.onCommitFiberUnmount(Fl,i)}catch{}switch(i.tag){case 26:Nt||Cr(i,r),Yr(t,r,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Nt||Cr(i,r);var s=ht,f=io;Un(i.type)&&(ht=i.stateNode,io=!1),Yr(t,r,i),Ss(i.stateNode),ht=s,io=f;break;case 5:Nt||Cr(i,r);case 6:if(s=ht,f=io,ht=null,Yr(t,r,i),ht=s,io=f,ht!==null)if(io)try{(ht.nodeType===9?ht.body:ht.nodeName==="HTML"?ht.ownerDocument.body:ht).removeChild(i.stateNode)}catch(g){et(i,r,g)}else try{ht.removeChild(i.stateNode)}catch(g){et(i,r,g)}break;case 18:ht!==null&&(io?(t=ht,u1(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,i.stateNode),Ii(t)):u1(ht,i.stateNode));break;case 4:s=ht,f=io,ht=i.stateNode.containerInfo,io=!0,Yr(t,r,i),ht=s,io=f;break;case 0:case 11:case 14:case 15:On(2,i,r),Nt||On(4,i,r),Yr(t,r,i);break;case 1:Nt||(Cr(i,r),s=i.stateNode,typeof s.componentWillUnmount=="function"&&db(i,r,s)),Yr(t,r,i);break;case 21:Yr(t,r,i);break;case 22:Nt=(s=Nt)||i.memoizedState!==null,Yr(t,r,i),Nt=s;break;default:Yr(t,r,i)}}function yb(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ii(t)}catch(i){et(r,r.return,i)}}}function xb(t,r){if(r.memoizedState===null&&(t=r.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ii(t)}catch(i){et(r,r.return,i)}}function z3(t){switch(t.tag){case 31:case 13:case 19:var r=t.stateNode;return r===null&&(r=t.stateNode=new gb),r;case 22:return t=t.stateNode,r=t._retryCache,r===null&&(r=t._retryCache=new gb),r;default:throw Error(a(435,t.tag))}}function lu(t,r){var i=z3(t);r.forEach(function(s){if(!i.has(s)){i.add(s);var f=O3.bind(null,t,s);s.then(f,f)}})}function lo(t,r){var i=r.deletions;if(i!==null)for(var s=0;s<i.length;s++){var f=i[s],g=t,S=r,N=S;e:for(;N!==null;){switch(N.tag){case 27:if(Un(N.type)){ht=N.stateNode,io=!1;break e}break;case 5:ht=N.stateNode,io=!1;break e;case 3:case 4:ht=N.stateNode.containerInfo,io=!0;break e}N=N.return}if(ht===null)throw Error(a(160));bb(g,S,f),ht=null,io=!1,g=f.alternate,g!==null&&(g.return=null),f.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)wb(r,t),r=r.sibling}var lr=null;function wb(t,r){var i=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:lo(r,t),so(t),s&4&&(On(3,t,t.return),fs(3,t),On(5,t,t.return));break;case 1:lo(r,t),so(t),s&512&&(Nt||i===null||Cr(i,i.return)),s&64&&Qr&&(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=lr;if(lo(r,t),so(t),s&512&&(Nt||i===null||Cr(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[Pl]||g[Pt]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=f.createElement(s),f.head.insertBefore(g,f.querySelector("head > title"))),Vt(g,s,i),g[Pt]=t,Ot(g),s=g;break e;case"link":var S=w1("link","href",f).get(s+(i.href||""));if(S){for(var N=0;N<S.length;N++)if(g=S[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)){S.splice(N,1);break t}}g=f.createElement(s),Vt(g,s,i),f.head.appendChild(g);break;case"meta":if(S=w1("meta","content",f).get(s+(i.content||""))){for(N=0;N<S.length;N++)if(g=S[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)){S.splice(N,1);break t}}g=f.createElement(s),Vt(g,s,i),f.head.appendChild(g);break;default:throw Error(a(468,s))}g[Pt]=t,Ot(g),s=g}t.stateNode=s}else S1(f,t.type,t.stateNode);else t.stateNode=x1(f,s,t.memoizedProps);else g!==s?(g===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):g.count--,s===null?S1(f,t.type,t.stateNode):x1(f,s,t.memoizedProps)):s===null&&t.stateNode!==null&&Bh(t,t.memoizedProps,i.memoizedProps)}break;case 27:lo(r,t),so(t),s&512&&(Nt||i===null||Cr(i,i.return)),i!==null&&s&4&&Bh(t,t.memoizedProps,i.memoizedProps);break;case 5:if(lo(r,t),so(t),s&512&&(Nt||i===null||Cr(i,i.return)),t.flags&32){f=t.stateNode;try{ui(f,"")}catch(be){et(t,t.return,be)}}s&4&&t.stateNode!=null&&(f=t.memoizedProps,Bh(t,f,i!==null?i.memoizedProps:f)),s&1024&&(zh=!0);break;case 6:if(lo(r,t),so(t),s&4){if(t.stateNode===null)throw Error(a(162));s=t.memoizedProps,i=t.stateNode;try{i.nodeValue=s}catch(be){et(t,t.return,be)}}break;case 3:if(ku=null,f=lr,lr=wu(r.containerInfo),lo(r,t),lr=f,so(t),s&4&&i!==null&&i.memoizedState.isDehydrated)try{Ii(r.containerInfo)}catch(be){et(t,t.return,be)}zh&&(zh=!1,Sb(t));break;case 4:s=lr,lr=wu(t.stateNode.containerInfo),lo(r,t),so(t),lr=s;break;case 12:lo(r,t),so(t);break;case 31:lo(r,t),so(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,lu(t,s)));break;case 13:lo(r,t),so(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(cu=bo()),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,lu(t,s)));break;case 22:f=t.memoizedState!==null;var M=i!==null&&i.memoizedState!==null,G=Qr,Q=Nt;if(Qr=G||f,Nt=Q||M,lo(r,t),Nt=Q,Qr=G,so(t),s&8192)e:for(r=t.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(i===null||M||Qr||Nt||Ea(t)),i=null,r=t;;){if(r.tag===5||r.tag===26){if(i===null){M=i=r;try{if(g=M.stateNode,f)S=g.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{N=M.stateNode;var re=M.memoizedProps.style,W=re!=null&&re.hasOwnProperty("display")?re.display:null;N.style.display=W==null||typeof W=="boolean"?"":(""+W).trim()}}catch(be){et(M,M.return,be)}}}else if(r.tag===6){if(i===null){M=r;try{M.stateNode.nodeValue=f?"":M.memoizedProps}catch(be){et(M,M.return,be)}}}else if(r.tag===18){if(i===null){M=r;try{var K=M.stateNode;f?d1(K,!0):d1(M.stateNode,!1)}catch(be){et(M,M.return,be)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===t)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;i===r&&(i=null),r=r.return}i===r&&(i=null),r.sibling.return=r.return,r=r.sibling}s&4&&(s=t.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,lu(t,i))));break;case 19:lo(r,t),so(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,lu(t,s)));break;case 30:break;case 21:break;default:lo(r,t),so(t)}}function so(t){var r=t.flags;if(r&2){try{for(var i,s=t.return;s!==null;){if(hb(s)){i=s;break}s=s.return}if(i==null)throw Error(a(160));switch(i.tag){case 27:var f=i.stateNode,g=_h(t);iu(t,g,f);break;case 5:var S=i.stateNode;i.flags&32&&(ui(S,""),i.flags&=-33);var N=_h(t);iu(t,N,S);break;case 3:case 4:var M=i.stateNode.containerInfo,G=_h(t);Ch(t,G,M);break;default:throw Error(a(161))}}catch(Q){et(t,t.return,Q)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function Sb(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var r=t;Sb(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),t=t.sibling}}function Jr(t,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)mb(t,r.alternate,r),r=r.sibling}function Ea(t){for(t=t.child;t!==null;){var r=t;switch(r.tag){case 0:case 11:case 14:case 15:On(4,r,r.return),Ea(r);break;case 1:Cr(r,r.return);var i=r.stateNode;typeof i.componentWillUnmount=="function"&&db(r,r.return,i),Ea(r);break;case 27:Ss(r.stateNode);case 26:case 5:Cr(r,r.return),Ea(r);break;case 22:r.memoizedState===null&&Ea(r);break;case 30:Ea(r);break;default:Ea(r)}t=t.sibling}}function en(t,r,i){for(i=i&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var s=r.alternate,f=t,g=r,S=g.flags;switch(g.tag){case 0:case 11:case 15:en(f,g,i),fs(4,g);break;case 1:if(en(f,g,i),s=g,f=s.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(G){et(s,s.return,G)}if(s=g,f=s.updateQueue,f!==null){var N=s.stateNode;try{var M=f.shared.hiddenCallbacks;if(M!==null)for(f.shared.hiddenCallbacks=null,f=0;f<M.length;f++)J0(M[f],N)}catch(G){et(s,s.return,G)}}i&&S&64&&ub(g),hs(g,g.return);break;case 27:pb(g);case 26:case 5:en(f,g,i),i&&s===null&&S&4&&fb(g),hs(g,g.return);break;case 12:en(f,g,i);break;case 31:en(f,g,i),i&&S&4&&yb(f,g);break;case 13:en(f,g,i),i&&S&4&&xb(f,g);break;case 22:g.memoizedState===null&&en(f,g,i),hs(g,g.return);break;case 30:break;default:en(f,g,i)}r=r.sibling}}function Nh(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&&Jl(i))}function Th(t,r){t=null,r.alternate!==null&&(t=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==t&&(r.refCount++,t!=null&&Jl(t))}function sr(t,r,i,s){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)kb(t,r,i,s),r=r.sibling}function kb(t,r,i,s){var f=r.flags;switch(r.tag){case 0:case 11:case 15:sr(t,r,i,s),f&2048&&fs(9,r);break;case 1:sr(t,r,i,s);break;case 3:sr(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&&Jl(t)));break;case 12:if(f&2048){sr(t,r,i,s),t=r.stateNode;try{var g=r.memoizedProps,S=g.id,N=g.onPostCommit;typeof N=="function"&&N(S,r.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(M){et(r,r.return,M)}}else sr(t,r,i,s);break;case 31:sr(t,r,i,s);break;case 13:sr(t,r,i,s);break;case 23:break;case 22:g=r.stateNode,S=r.alternate,r.memoizedState!==null?g._visibility&2?sr(t,r,i,s):ps(t,r):g._visibility&2?sr(t,r,i,s):(g._visibility|=2,ji(t,r,i,s,(r.subtreeFlags&10256)!==0||!1)),f&2048&&Nh(S,r);break;case 24:sr(t,r,i,s),f&2048&&Th(r.alternate,r);break;default:sr(t,r,i,s)}}function ji(t,r,i,s,f){for(f=f&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var g=t,S=r,N=i,M=s,G=S.flags;switch(S.tag){case 0:case 11:case 15:ji(g,S,N,M,f),fs(8,S);break;case 23:break;case 22:var Q=S.stateNode;S.memoizedState!==null?Q._visibility&2?ji(g,S,N,M,f):ps(g,S):(Q._visibility|=2,ji(g,S,N,M,f)),f&&G&2048&&Nh(S.alternate,S);break;case 24:ji(g,S,N,M,f),f&&G&2048&&Th(S.alternate,S);break;default:ji(g,S,N,M,f)}r=r.sibling}}function ps(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:ps(i,s),f&2048&&Nh(s.alternate,s);break;case 24:ps(i,s),f&2048&&Th(s.alternate,s);break;default:ps(i,s)}r=r.sibling}}var gs=8192;function Ei(t,r,i){if(t.subtreeFlags&gs)for(t=t.child;t!==null;)Bb(t,r,i),t=t.sibling}function Bb(t,r,i){switch(t.tag){case 26:Ei(t,r,i),t.flags&gs&&t.memoizedState!==null&&hB(i,lr,t.memoizedState,t.memoizedProps);break;case 5:Ei(t,r,i);break;case 3:case 4:var s=lr;lr=wu(t.stateNode.containerInfo),Ei(t,r,i),lr=s;break;case 22:t.memoizedState===null&&(s=t.alternate,s!==null&&s.memoizedState!==null?(s=gs,gs=16777216,Ei(t,r,i),gs=s):Ei(t,r,i));break;default:Ei(t,r,i)}}function _b(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 ms(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];Ft=s,zb(s,t)}_b(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Cb(t),t=t.sibling}function Cb(t){switch(t.tag){case 0:case 11:case 15:ms(t),t.flags&2048&&On(9,t,t.return);break;case 3:ms(t);break;case 12:ms(t);break;case 22:var r=t.stateNode;t.memoizedState!==null&&r._visibility&2&&(t.return===null||t.return.tag!==13)?(r._visibility&=-3,su(t)):ms(t);break;default:ms(t)}}function su(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];Ft=s,zb(s,t)}_b(t)}for(t=t.child;t!==null;){switch(r=t,r.tag){case 0:case 11:case 15:On(8,r,r.return),su(r);break;case 22:i=r.stateNode,i._visibility&2&&(i._visibility&=-3,su(r));break;default:su(r)}t=t.sibling}}function zb(t,r){for(;Ft!==null;){var i=Ft;switch(i.tag){case 0:case 11:case 15:On(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:Jl(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Ft=s;else e:for(i=t;Ft!==null;){s=Ft;var f=s.sibling,g=s.return;if(vb(s),s===i){Ft=null;break e}if(f!==null){f.return=g,Ft=f;break e}Ft=g}}}var N3={getCacheForType:function(t){var r=Lt(_t),i=r.data.get(t);return i===void 0&&(i=t(),r.data.set(t,i)),i},cacheSignal:function(){return Lt(_t).controller.signal}},T3=typeof WeakMap=="function"?WeakMap:Map,$e=0,at=null,De=null,He=0,Je=0,_o=null,Fn=!1,Ri=!1,jh=!1,tn=0,bt=0,qn=0,Ra=0,Eh=0,Co=0,Ai=0,vs=null,co=null,Rh=!1,cu=0,Nb=0,uu=1/0,du=null,Hn=null,Rt=0,Pn=null,Mi=null,on=0,Ah=0,Mh=null,Tb=null,bs=0,Dh=null;function zo(){return($e&2)!==0&&He!==0?He&-He:L.T!==null?Ih():Gm()}function jb(){if(Co===0)if((He&536870912)===0||Le){var t=yc;yc<<=1,(yc&3932160)===0&&(yc=262144),Co=t}else Co=536870912;return t=ko.current,t!==null&&(t.flags|=32),Co}function uo(t,r,i){(t===at&&(Je===2||Je===9)||t.cancelPendingCommit!==null)&&(Di(t,0),In(t,He,Co,!1)),Hl(t,i),(($e&2)===0||t!==at)&&(t===at&&(($e&2)===0&&(Ra|=i),bt===4&&In(t,He,Co,!1)),zr(t))}function Eb(t,r,i){if(($e&6)!==0)throw Error(a(327));var s=!i&&(r&127)===0&&(r&t.expiredLanes)===0||ql(t,r),f=s?R3(t,r):Fh(t,r,!0),g=s;do{if(f===0){Ri&&!s&&In(t,r,0,!1);break}else{if(i=t.current.alternate,g&&!j3(i)){f=Fh(t,r,!1),g=!1;continue}if(f===2){if(g=r,t.errorRecoveryDisabledLanes&g)var S=0;else S=t.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){r=S;e:{var N=t;f=vs;var M=N.current.memoizedState.isDehydrated;if(M&&(Di(N,S).flags|=256),S=Fh(N,S,!1),S!==2){if(jh&&!M){N.errorRecoveryDisabledLanes|=g,Ra|=g,f=4;break e}g=co,co=f,g!==null&&(co===null?co=g:co.push.apply(co,g))}f=S}if(g=!1,f!==2)continue}}if(f===1){Di(t,0),In(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:In(s,r,Co,!Fn);break e;case 2:co=null;break;case 3:case 5:break;default:throw Error(a(329))}if((r&62914560)===r&&(f=cu+300-bo(),10<f)){if(In(s,r,Co,!Fn),wc(s,0,!0)!==0)break e;on=r,s.timeoutHandle=s1(Rb.bind(null,s,i,co,du,Rh,r,Co,Ra,Ai,Fn,g,"Throttled",-0,0),f);break e}Rb(s,i,co,du,Rh,r,Co,Ra,Ai,Fn,g,null,-0,0)}}break}while(!0);zr(t)}function Rb(t,r,i,s,f,g,S,N,M,G,Q,re,W,K){if(t.timeoutHandle=-1,re=r.subtreeFlags,re&8192||(re&16785408)===16785408){re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ir},Bb(r,g,re);var be=(g&62914560)===g?cu-bo():(g&4194048)===g?Nb-bo():0;if(be=pB(re,be),be!==null){on=g,t.cancelPendingCommit=be(Pb.bind(null,t,r,g,i,s,f,S,N,M,Q,re,null,W,K)),In(t,g,S,!G);return}}Pb(t,r,g,i,s,f,S,N,M)}function j3(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(!wo(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 In(t,r,i,s){r&=~Eh,r&=~Ra,t.suspendedLanes|=r,t.pingedLanes&=~r,s&&(t.warmLanes|=r),s=t.expirationTimes;for(var f=r;0<f;){var g=31-xo(f),S=1<<g;s[g]=-1,f&=~S}i!==0&&Lm(t,i,r)}function fu(){return($e&6)===0?(ys(0),!1):!0}function Oh(){if(De!==null){if(Je===0)var t=De.return;else t=De,Gr=ka=null,Yf(t),_i=null,ts=0,t=De;for(;t!==null;)cb(t.alternate,t),t=t.return;De=null}}function Di(t,r){var i=t.timeoutHandle;i!==-1&&(t.timeoutHandle=-1,Z3(i)),i=t.cancelPendingCommit,i!==null&&(t.cancelPendingCommit=null,i()),on=0,Oh(),at=t,De=i=Ur(t.current,null),He=r,Je=0,_o=null,Fn=!1,Ri=ql(t,r),jh=!1,Ai=Co=Eh=Ra=qn=bt=0,co=vs=null,Rh=!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-xo(s),g=1<<f;r|=t[f],s&=~g}return tn=r,Ac(),i}function Ab(t,r){Te=null,L.H=cs,r===Bi||r===Ic?(r=K0(),Je=3):r===Pf?(r=K0(),Je=4):Je=r===ph?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,_o=r,De===null&&(bt=1,tu(t,Uo(r,t.current)))}function Mb(){var t=ko.current;return t===null?!0:(He&4194048)===He?Xo===null:(He&62914560)===He||(He&536870912)!==0?t===Xo:!1}function Db(){var t=L.H;return L.H=cs,t===null?cs:t}function Ob(){var t=L.A;return L.A=N3,t}function hu(){bt=4,Fn||(He&4194048)!==He&&ko.current!==null||(Ri=!0),(qn&134217727)===0&&(Ra&134217727)===0||at===null||In(at,He,Co,!1)}function Fh(t,r,i){var s=$e;$e|=2;var f=Db(),g=Ob();(at!==t||He!==r)&&(du=null,Di(t,r)),r=!1;var S=bt;e:do try{if(Je!==0&&De!==null){var N=De,M=_o;switch(Je){case 8:Oh(),S=6;break e;case 3:case 2:case 9:case 6:ko.current===null&&(r=!0);var G=Je;if(Je=0,_o=null,Oi(t,N,M,G),i&&Ri){S=0;break e}break;default:G=Je,Je=0,_o=null,Oi(t,N,M,G)}}E3(),S=bt;break}catch(Q){Ab(t,Q)}while(!0);return r&&t.shellSuspendCounter++,Gr=ka=null,$e=s,L.H=f,L.A=g,De===null&&(at=null,He=0,Ac()),S}function E3(){for(;De!==null;)Fb(De)}function R3(t,r){var i=$e;$e|=2;var s=Db(),f=Ob();at!==t||He!==r?(du=null,uu=bo()+500,Di(t,r)):Ri=ql(t,r);e:do try{if(Je!==0&&De!==null){r=De;var g=_o;t:switch(Je){case 1:Je=0,_o=null,Oi(t,r,g,1);break;case 2:case 9:if(X0(g)){Je=0,_o=null,qb(r);break}r=function(){Je!==2&&Je!==9||at!==t||(Je=7),zr(t)},g.then(r,r);break e;case 3:Je=7;break e;case 4:Je=5;break e;case 7:X0(g)?(Je=0,_o=null,qb(r)):(Je=0,_o=null,Oi(t,r,g,7));break;case 5:var S=null;switch(De.tag){case 26:S=De.memoizedState;case 5:case 27:var N=De;if(S?k1(S):N.stateNode.complete){Je=0,_o=null;var M=N.sibling;if(M!==null)De=M;else{var G=N.return;G!==null?(De=G,pu(G)):De=null}break t}}Je=0,_o=null,Oi(t,r,g,5);break;case 6:Je=0,_o=null,Oi(t,r,g,6);break;case 8:Oh(),bt=6;break e;default:throw Error(a(462))}}A3();break}catch(Q){Ab(t,Q)}while(!0);return Gr=ka=null,L.H=s,L.A=f,$e=i,De!==null?0:(at=null,He=0,Ac(),bt)}function A3(){for(;De!==null&&!ok();)Fb(De)}function Fb(t){var r=lb(t.alternate,t,tn);t.memoizedProps=t.pendingProps,r===null?pu(t):De=r}function qb(t){var r=t,i=r.alternate;switch(r.tag){case 15:case 0:r=tb(i,r,r.pendingProps,r.type,void 0,He);break;case 11:r=tb(i,r,r.pendingProps,r.type.render,r.ref,He);break;case 5:Yf(r);default:cb(i,r),r=De=O0(r,tn),r=lb(i,r,tn)}t.memoizedProps=t.pendingProps,r===null?pu(t):De=r}function Oi(t,r,i,s){Gr=ka=null,Yf(r),_i=null,ts=0;var f=r.return;try{if(w3(t,f,r,i,He)){bt=1,tu(t,Uo(i,t.current)),De=null;return}}catch(g){if(f!==null)throw De=f,g;bt=1,tu(t,Uo(i,t.current)),De=null;return}r.flags&32768?(Le||s===1?t=!0:Ri||(He&536870912)!==0?t=!1:(Fn=t=!0,(s===2||s===9||s===3||s===6)&&(s=ko.current,s!==null&&s.tag===13&&(s.flags|=16384))),Hb(r,t)):pu(r)}function pu(t){var r=t;do{if((r.flags&32768)!==0){Hb(r,Fn);return}t=r.return;var i=B3(r.alternate,r,tn);if(i!==null){De=i;return}if(r=r.sibling,r!==null){De=r;return}De=r=t}while(r!==null);bt===0&&(bt=5)}function Hb(t,r){do{var i=_3(t.alternate,t);if(i!==null){i.flags&=32767,De=i;return}if(i=t.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!r&&(t=t.sibling,t!==null)){De=t;return}De=t=i}while(t!==null);bt=6,De=null}function Pb(t,r,i,s,f,g,S,N,M){t.cancelPendingCommit=null;do gu();while(Rt!==0);if(($e&6)!==0)throw Error(a(327));if(r!==null){if(r===t.current)throw Error(a(177));if(g=r.lanes|r.childLanes,g|=_f,fk(t,i,g,S,N,M),t===at&&(De=at=null,He=0),Mi=r,Pn=t,on=i,Ah=g,Mh=f,Tb=s,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,F3(vc,function(){return Gb(),null})):(t.callbackNode=null,t.callbackPriority=0),s=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||s){s=L.T,L.T=null,f=te.p,te.p=2,S=$e,$e|=4;try{C3(t,r,i)}finally{$e=S,te.p=f,L.T=s}}Rt=1,Ib(),Lb(),Ub()}}function Ib(){if(Rt===1){Rt=0;var t=Pn,r=Mi,i=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||i){i=L.T,L.T=null;var s=te.p;te.p=2;var f=$e;$e|=4;try{wb(r,t);var g=Kh,S=z0(t.containerInfo),N=g.focusedElem,M=g.selectionRange;if(S!==N&&N&&N.ownerDocument&&C0(N.ownerDocument.documentElement,N)){if(M!==null&&xf(N)){var G=M.start,Q=M.end;if(Q===void 0&&(Q=G),"selectionStart"in N)N.selectionStart=G,N.selectionEnd=Math.min(Q,N.value.length);else{var re=N.ownerDocument||document,W=re&&re.defaultView||window;if(W.getSelection){var K=W.getSelection(),be=N.textContent.length,Be=Math.min(M.start,be),nt=M.end===void 0?Be:Math.min(M.end,be);!K.extend&&Be>nt&&(S=nt,nt=Be,Be=S);var I=_0(N,Be),H=_0(N,nt);if(I&&H&&(K.rangeCount!==1||K.anchorNode!==I.node||K.anchorOffset!==I.offset||K.focusNode!==H.node||K.focusOffset!==H.offset)){var V=re.createRange();V.setStart(I.node,I.offset),K.removeAllRanges(),Be>nt?(K.addRange(V),K.extend(H.node,H.offset)):(V.setEnd(H.node,H.offset),K.addRange(V))}}}}for(re=[],K=N;K=K.parentNode;)K.nodeType===1&&re.push({element:K,left:K.scrollLeft,top:K.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;N<re.length;N++){var Y=re[N];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}zu=!!$h,Kh=$h=null}finally{$e=f,te.p=s,L.T=i}}t.current=r,Rt=2}}function Lb(){if(Rt===2){Rt=0;var t=Pn,r=Mi,i=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||i){i=L.T,L.T=null;var s=te.p;te.p=2;var f=$e;$e|=4;try{mb(t,r.alternate,r)}finally{$e=f,te.p=s,L.T=i}}Rt=3}}function Ub(){if(Rt===4||Rt===3){Rt=0,rk();var t=Pn,r=Mi,i=on,s=Tb;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Rt=5:(Rt=0,Mi=Pn=null,Vb(t,t.pendingLanes));var f=t.pendingLanes;if(f===0&&(Hn=null),ef(i),r=r.stateNode,yo&&typeof yo.onCommitFiberRoot=="function")try{yo.onCommitFiberRoot(Fl,r,void 0,(r.current.flags&128)===128)}catch{}if(s!==null){r=L.T,f=te.p,te.p=2,L.T=null;try{for(var g=t.onRecoverableError,S=0;S<s.length;S++){var N=s[S];g(N.value,{componentStack:N.stack})}}finally{L.T=r,te.p=f}}(on&3)!==0&&gu(),zr(t),f=t.pendingLanes,(i&261930)!==0&&(f&42)!==0?t===Dh?bs++:(bs=0,Dh=t):bs=0,ys(0)}}function Vb(t,r){(t.pooledCacheLanes&=r)===0&&(r=t.pooledCache,r!=null&&(t.pooledCache=null,Jl(r)))}function gu(){return Ib(),Lb(),Ub(),Gb()}function Gb(){if(Rt!==5)return!1;var t=Pn,r=Ah;Ah=0;var i=ef(on),s=L.T,f=te.p;try{te.p=32>i?32:i,L.T=null,i=Mh,Mh=null;var g=Pn,S=on;if(Rt=0,Mi=Pn=null,on=0,($e&6)!==0)throw Error(a(331));var N=$e;if($e|=4,Cb(g.current),kb(g,g.current,S,i),$e=N,ys(0,!1),yo&&typeof yo.onPostCommitFiberRoot=="function")try{yo.onPostCommitFiberRoot(Fl,g)}catch{}return!0}finally{te.p=f,L.T=s,Vb(t,r)}}function Wb(t,r,i){r=Uo(i,r),r=hh(t.stateNode,r,2),t=An(t,r,2),t!==null&&(Hl(t,2),zr(t))}function et(t,r,i){if(t.tag===3)Wb(t,t,i);else for(;r!==null;){if(r.tag===3){Wb(r,t,i);break}else if(r.tag===1){var s=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Hn===null||!Hn.has(s))){t=Uo(i,t),i=Xv(2),s=An(r,i,2),s!==null&&($v(i,s,r,t),Hl(s,2),zr(s));break}}r=r.return}}function qh(t,r,i){var s=t.pingCache;if(s===null){s=t.pingCache=new T3;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)||(jh=!0,f.add(i),t=M3.bind(null,t,r,i),r.then(t,t))}function M3(t,r,i){var s=t.pingCache;s!==null&&s.delete(r),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,at===t&&(He&i)===i&&(bt===4||bt===3&&(He&62914560)===He&&300>bo()-cu?($e&2)===0&&Di(t,0):Eh|=i,Ai===He&&(Ai=0)),zr(t)}function Xb(t,r){r===0&&(r=Im()),t=xa(t,r),t!==null&&(Hl(t,r),zr(t))}function D3(t){var r=t.memoizedState,i=0;r!==null&&(i=r.retryLane),Xb(t,i)}function O3(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),Xb(t,i)}function F3(t,r){return kr(t,r)}var mu=null,Fi=null,Hh=!1,vu=!1,Ph=!1,Ln=0;function zr(t){t!==Fi&&t.next===null&&(Fi===null?mu=Fi=t:Fi=Fi.next=t),vu=!0,Hh||(Hh=!0,H3())}function ys(t,r){if(!Ph&&vu){Ph=!0;do for(var i=!1,s=mu;s!==null;){if(t!==0){var f=s.pendingLanes;if(f===0)var g=0;else{var S=s.suspendedLanes,N=s.pingedLanes;g=(1<<31-xo(42|t)+1)-1,g&=f&~(S&~N),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(i=!0,Qb(s,g))}else g=He,g=wc(s,s===at?g:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(g&3)===0||ql(s,g)||(i=!0,Qb(s,g));s=s.next}while(i);Ph=!1}}function q3(){$b()}function $b(){vu=Hh=!1;var t=0;Ln!==0&&K3()&&(t=Ln);for(var r=bo(),i=null,s=mu;s!==null;){var f=s.next,g=Kb(s,r);g===0?(s.next=null,i===null?mu=f:i.next=f,f===null&&(Fi=i)):(i=s,(t!==0||(g&3)!==0)&&(vu=!0)),s=f}Rt!==0&&Rt!==5||ys(t),Ln!==0&&(Ln=0)}function Kb(t,r){for(var i=t.suspendedLanes,s=t.pingedLanes,f=t.expirationTimes,g=t.pendingLanes&-62914561;0<g;){var S=31-xo(g),N=1<<S,M=f[S];M===-1?((N&i)===0||(N&s)!==0)&&(f[S]=dk(N,r)):M<=r&&(t.expiredLanes|=N),g&=~N}if(r=at,i=He,i=wc(t,t===r?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s=t.callbackNode,i===0||t===r&&(Je===2||Je===9)||t.cancelPendingCommit!==null)return s!==null&&s!==null&&Hr(s),t.callbackNode=null,t.callbackPriority=0;if((i&3)===0||ql(t,i)){if(r=i&-i,r===t.callbackPriority)return r;switch(s!==null&&Hr(s),ef(i)){case 2:case 8:i=Hm;break;case 32:i=vc;break;case 268435456:i=Pm;break;default:i=vc}return s=Zb.bind(null,t),i=kr(i,s),t.callbackPriority=r,t.callbackNode=i,r}return s!==null&&s!==null&&Hr(s),t.callbackPriority=2,t.callbackNode=null,2}function Zb(t,r){if(Rt!==0&&Rt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var i=t.callbackNode;if(gu()&&t.callbackNode!==i)return null;var s=He;return s=wc(t,t===at?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s===0?null:(Eb(t,s,r),Kb(t,bo()),t.callbackNode!=null&&t.callbackNode===i?Zb.bind(null,t):null)}function Qb(t,r){if(gu())return null;Eb(t,r,!0)}function H3(){Q3(function(){($e&6)!==0?kr(qm,q3):$b()})}function Ih(){if(Ln===0){var t=Si;t===0&&(t=bc,bc<<=1,(bc&261888)===0&&(bc=256)),Ln=t}return Ln}function Yb(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:_c(""+t)}function Jb(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 P3(t,r,i,s,f){if(r==="submit"&&i&&i.stateNode===f){var g=Yb((f[no]||null).action),S=s.submitter;S&&(r=(r=S[no]||null)?Yb(r.formAction):S.getAttribute("formAction"),r!==null&&(g=r,S=null));var N=new Tc("action","action",null,s,f);t.push({event:N,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Ln!==0){var M=S?Jb(f,S):new FormData(f);lh(i,{pending:!0,data:M,method:f.method,action:g},null,M)}}else typeof g=="function"&&(N.preventDefault(),M=S?Jb(f,S):new FormData(f),lh(i,{pending:!0,data:M,method:f.method,action:g},g,M))},currentTarget:f}]})}}for(var Lh=0;Lh<Bf.length;Lh++){var Uh=Bf[Lh],I3=Uh.toLowerCase(),L3=Uh[0].toUpperCase()+Uh.slice(1);ir(I3,"on"+L3)}ir(j0,"onAnimationEnd"),ir(E0,"onAnimationIteration"),ir(R0,"onAnimationStart"),ir("dblclick","onDoubleClick"),ir("focusin","onFocus"),ir("focusout","onBlur"),ir(n3,"onTransitionRun"),ir(a3,"onTransitionStart"),ir(i3,"onTransitionCancel"),ir(A0,"onTransitionEnd"),si("onMouseEnter",["mouseout","mouseover"]),si("onMouseLeave",["mouseout","mouseover"]),si("onPointerEnter",["pointerout","pointerover"]),si("onPointerLeave",["pointerout","pointerover"]),ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ma("onBeforeInput",["compositionend","keypress","textInput","paste"]),ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xs="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(" "),U3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xs));function e1(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 S=s.length-1;0<=S;S--){var N=s[S],M=N.instance,G=N.currentTarget;if(N=N.listener,M!==g&&f.isPropagationStopped())break e;g=N,f.currentTarget=G;try{g(f)}catch(Q){Rc(Q)}f.currentTarget=null,g=M}else for(S=0;S<s.length;S++){if(N=s[S],M=N.instance,G=N.currentTarget,N=N.listener,M!==g&&f.isPropagationStopped())break e;g=N,f.currentTarget=G;try{g(f)}catch(Q){Rc(Q)}f.currentTarget=null,g=M}}}}function Oe(t,r){var i=r[tf];i===void 0&&(i=r[tf]=new Set);var s=t+"__bubble";i.has(s)||(t1(r,t,2,!1),i.add(s))}function Vh(t,r,i){var s=0;r&&(s|=4),t1(i,t,s,r)}var bu="_reactListening"+Math.random().toString(36).slice(2);function Gh(t){if(!t[bu]){t[bu]=!0,$m.forEach(function(i){i!=="selectionchange"&&(U3.has(i)||Vh(i,!1,t),Vh(i,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[bu]||(r[bu]=!0,Vh("selectionchange",!1,r))}}function t1(t,r,i,s){switch(j1(r)){case 2:var f=vB;break;case 8:f=bB;break;default:f=ip}i=f.bind(null,r,i,t),f=void 0,!df||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 Wh(t,r,i,s,f){var g=s;if((r&1)===0&&(r&2)===0&&s!==null)e:for(;;){if(s===null)return;var S=s.tag;if(S===3||S===4){var N=s.stateNode.containerInfo;if(N===f)break;if(S===4)for(S=s.return;S!==null;){var M=S.tag;if((M===3||M===4)&&S.stateNode.containerInfo===f)return;S=S.return}for(;N!==null;){if(S=ai(N),S===null)return;if(M=S.tag,M===5||M===6||M===26||M===27){s=g=S;continue e}N=N.parentNode}}s=s.return}i0(function(){var G=g,Q=cf(i),re=[];e:{var W=M0.get(t);if(W!==void 0){var K=Tc,be=t;switch(t){case"keypress":if(zc(i)===0)break e;case"keydown":case"keyup":K=Ok;break;case"focusin":be="focus",K=gf;break;case"focusout":be="blur",K=gf;break;case"beforeblur":case"afterblur":K=gf;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=c0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=Bk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=Hk;break;case j0:case E0:case R0:K=zk;break;case A0:K=Ik;break;case"scroll":case"scrollend":K=Sk;break;case"wheel":K=Uk;break;case"copy":case"cut":case"paste":K=Tk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=d0;break;case"toggle":case"beforetoggle":K=Gk}var Be=(r&4)!==0,nt=!Be&&(t==="scroll"||t==="scrollend"),I=Be?W!==null?W+"Capture":null:W;Be=[];for(var H=G,V;H!==null;){var Y=H;if(V=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||V===null||I===null||(Y=Ll(H,I),Y!=null&&Be.push(ws(H,Y,V))),nt)break;H=H.return}0<Be.length&&(W=new K(W,be,null,i,Q),re.push({event:W,listeners:Be}))}}if((r&7)===0){e:{if(W=t==="mouseover"||t==="pointerover",K=t==="mouseout"||t==="pointerout",W&&i!==sf&&(be=i.relatedTarget||i.fromElement)&&(ai(be)||be[ni]))break e;if((K||W)&&(W=Q.window===Q?Q:(W=Q.ownerDocument)?W.defaultView||W.parentWindow:window,K?(be=i.relatedTarget||i.toElement,K=G,be=be?ai(be):null,be!==null&&(nt=c(be),Be=be.tag,be!==nt||Be!==5&&Be!==27&&Be!==6)&&(be=null)):(K=null,be=G),K!==be)){if(Be=c0,Y="onMouseLeave",I="onMouseEnter",H="mouse",(t==="pointerout"||t==="pointerover")&&(Be=d0,Y="onPointerLeave",I="onPointerEnter",H="pointer"),nt=K==null?W:Il(K),V=be==null?W:Il(be),W=new Be(Y,H+"leave",K,i,Q),W.target=nt,W.relatedTarget=V,Y=null,ai(Q)===G&&(Be=new Be(I,H+"enter",be,i,Q),Be.target=V,Be.relatedTarget=nt,Y=Be),nt=Y,K&&be)t:{for(Be=V3,I=K,H=be,V=0,Y=I;Y;Y=Be(Y))V++;Y=0;for(var we=H;we;we=Be(we))Y++;for(;0<V-Y;)I=Be(I),V--;for(;0<Y-V;)H=Be(H),Y--;for(;V--;){if(I===H||H!==null&&I===H.alternate){Be=I;break t}I=Be(I),H=Be(H)}Be=null}else Be=null;K!==null&&o1(re,W,K,Be,!1),be!==null&&nt!==null&&o1(re,nt,be,Be,!0)}}e:{if(W=G?Il(G):window,K=W.nodeName&&W.nodeName.toLowerCase(),K==="select"||K==="input"&&W.type==="file")var Ve=y0;else if(v0(W))if(x0)Ve=t3;else{Ve=Jk;var ye=Yk}else K=W.nodeName,!K||K.toLowerCase()!=="input"||W.type!=="checkbox"&&W.type!=="radio"?G&&lf(G.elementType)&&(Ve=y0):Ve=e3;if(Ve&&(Ve=Ve(t,G))){b0(re,Ve,i,Q);break e}ye&&ye(t,W,G),t==="focusout"&&G&&W.type==="number"&&G.memoizedProps.value!=null&&af(W,"number",W.value)}switch(ye=G?Il(G):window,t){case"focusin":(v0(ye)||ye.contentEditable==="true")&&(pi=ye,wf=G,Zl=null);break;case"focusout":Zl=wf=pi=null;break;case"mousedown":Sf=!0;break;case"contextmenu":case"mouseup":case"dragend":Sf=!1,N0(re,i,Q);break;case"selectionchange":if(r3)break;case"keydown":case"keyup":N0(re,i,Q)}var Ee;if(vf)e:{switch(t){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else hi?g0(t,i)&&(Pe="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(Pe="onCompositionStart");Pe&&(f0&&i.locale!=="ko"&&(hi||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&hi&&(Ee=l0()):(Cn=Q,ff="value"in Cn?Cn.value:Cn.textContent,hi=!0)),ye=yu(G,Pe),0<ye.length&&(Pe=new u0(Pe,t,null,i,Q),re.push({event:Pe,listeners:ye}),Ee?Pe.data=Ee:(Ee=m0(i),Ee!==null&&(Pe.data=Ee)))),(Ee=Xk?$k(t,i):Kk(t,i))&&(Pe=yu(G,"onBeforeInput"),0<Pe.length&&(ye=new u0("onBeforeInput","beforeinput",null,i,Q),re.push({event:ye,listeners:Pe}),ye.data=Ee)),P3(re,t,G,i,Q)}e1(re,r)})}function ws(t,r,i){return{instance:t,listener:r,currentTarget:i}}function yu(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=Ll(t,i),f!=null&&s.unshift(ws(t,f,g)),f=Ll(t,r),f!=null&&s.push(ws(t,f,g))),t.tag===3)return s;t=t.return}return[]}function V3(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function o1(t,r,i,s,f){for(var g=r._reactName,S=[];i!==null&&i!==s;){var N=i,M=N.alternate,G=N.stateNode;if(N=N.tag,M!==null&&M===s)break;N!==5&&N!==26&&N!==27||G===null||(M=G,f?(G=Ll(i,g),G!=null&&S.unshift(ws(i,G,M))):f||(G=Ll(i,g),G!=null&&S.push(ws(i,G,M)))),i=i.return}S.length!==0&&t.push({event:r,listeners:S})}var G3=/\r\n?/g,W3=/\u0000|\uFFFD/g;function r1(t){return(typeof t=="string"?t:""+t).replace(G3,`
49
+ `).replace(W3,"")}function n1(t,r){return r=r1(r),r1(t)===r}function rt(t,r,i,s,f,g){switch(i){case"children":typeof s=="string"?r==="body"||r==="textarea"&&s===""||ui(t,s):(typeof s=="number"||typeof s=="bigint")&&r!=="body"&&ui(t,""+s);break;case"className":kc(t,"class",s);break;case"tabIndex":kc(t,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":kc(t,i,s);break;case"style":n0(t,s,g);break;case"data":if(r!=="object"){kc(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=_c(""+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"&&rt(t,r,"name",f.name,f,null),rt(t,r,"formEncType",f.formEncType,f,null),rt(t,r,"formMethod",f.formMethod,f,null),rt(t,r,"formTarget",f.formTarget,f,null)):(rt(t,r,"encType",f.encType,f,null),rt(t,r,"method",f.method,f,null),rt(t,r,"target",f.target,f,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(i);break}s=_c(""+s),t.setAttribute(i,s);break;case"onClick":s!=null&&(t.onclick=Ir);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=_c(""+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),Sc(t,"popover",s);break;case"xlinkActuate":Pr(t,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":Pr(t,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":Pr(t,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":Pr(t,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":Pr(t,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":Pr(t,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":Pr(t,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":Pr(t,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":Pr(t,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Sc(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=xk.get(i)||i,Sc(t,i,s))}}function Xh(t,r,i,s,f,g){switch(i){case"style":n0(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"?ui(t,s):(typeof s=="number"||typeof s=="bigint")&&ui(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=Ir);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Km.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[no]||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,""):Sc(t,i,s)}}}function Vt(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 S=i[g];if(S!=null)switch(g){case"src":s=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,r));default:rt(t,r,g,S,i,null)}}f&&rt(t,r,"srcSet",i.srcSet,i,null),s&&rt(t,r,"src",i.src,i,null);return;case"input":Oe("invalid",t);var N=g=S=f=null,M=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":S=Q;break;case"checked":M=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:rt(t,r,s,Q,i,null)}}e0(t,g,N,M,G,S,f,!1);return;case"select":Oe("invalid",t),s=S=g=null;for(f in i)if(i.hasOwnProperty(f)&&(N=i[f],N!=null))switch(f){case"value":g=N;break;case"defaultValue":S=N;break;case"multiple":s=N;default:rt(t,r,f,N,i,null)}r=g,i=S,t.multiple=!!s,r!=null?ci(t,!!s,r,!1):i!=null&&ci(t,!!s,i,!0);return;case"textarea":Oe("invalid",t),g=f=s=null;for(S in i)if(i.hasOwnProperty(S)&&(N=i[S],N!=null))switch(S){case"value":s=N;break;case"defaultValue":f=N;break;case"children":g=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error(a(91));break;default:rt(t,r,S,N,i,null)}o0(t,s,f,g);return;case"option":for(M in i)if(i.hasOwnProperty(M)&&(s=i[M],s!=null))switch(M){case"selected":t.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:rt(t,r,M,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<xs.length;s++)Oe(xs[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:rt(t,r,G,s,i,null)}return;default:if(lf(r)){for(Q in i)i.hasOwnProperty(Q)&&(s=i[Q],s!==void 0&&Xh(t,r,Q,s,i,void 0));return}}for(N in i)i.hasOwnProperty(N)&&(s=i[N],s!=null&&rt(t,r,N,s,i,null))}function X3(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,S=null,N=null,M=null,G=null,Q=null;for(K in i){var re=i[K];if(i.hasOwnProperty(K)&&re!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":M=re;default:s.hasOwnProperty(K)||rt(t,r,K,null,s,re)}}for(var W in s){var K=s[W];if(re=i[W],s.hasOwnProperty(W)&&(K!=null||re!=null))switch(W){case"type":g=K;break;case"name":f=K;break;case"checked":G=K;break;case"defaultChecked":Q=K;break;case"value":S=K;break;case"defaultValue":N=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(a(137,r));break;default:K!==re&&rt(t,r,W,K,s,re)}}nf(t,S,N,M,G,Q,g,f);return;case"select":K=S=N=W=null;for(g in i)if(M=i[g],i.hasOwnProperty(g)&&M!=null)switch(g){case"value":break;case"multiple":K=M;default:s.hasOwnProperty(g)||rt(t,r,g,null,s,M)}for(f in s)if(g=s[f],M=i[f],s.hasOwnProperty(f)&&(g!=null||M!=null))switch(f){case"value":W=g;break;case"defaultValue":N=g;break;case"multiple":S=g;default:g!==M&&rt(t,r,f,g,s,M)}r=N,i=S,s=K,W!=null?ci(t,!!i,W,!1):!!s!=!!i&&(r!=null?ci(t,!!i,r,!0):ci(t,!!i,i?[]:"",!1));return;case"textarea":K=W=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:rt(t,r,N,null,s,f)}for(S in s)if(f=s[S],g=i[S],s.hasOwnProperty(S)&&(f!=null||g!=null))switch(S){case"value":W=f;break;case"defaultValue":K=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(a(91));break;default:f!==g&&rt(t,r,S,f,s,g)}t0(t,W,K);return;case"option":for(var be in i)if(W=i[be],i.hasOwnProperty(be)&&W!=null&&!s.hasOwnProperty(be))switch(be){case"selected":t.selected=!1;break;default:rt(t,r,be,null,s,W)}for(M in s)if(W=s[M],K=i[M],s.hasOwnProperty(M)&&W!==K&&(W!=null||K!=null))switch(M){case"selected":t.selected=W&&typeof W!="function"&&typeof W!="symbol";break;default:rt(t,r,M,W,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)W=i[Be],i.hasOwnProperty(Be)&&W!=null&&!s.hasOwnProperty(Be)&&rt(t,r,Be,null,s,W);for(G in s)if(W=s[G],K=i[G],s.hasOwnProperty(G)&&W!==K&&(W!=null||K!=null))switch(G){case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(a(137,r));break;default:rt(t,r,G,W,s,K)}return;default:if(lf(r)){for(var nt in i)W=i[nt],i.hasOwnProperty(nt)&&W!==void 0&&!s.hasOwnProperty(nt)&&Xh(t,r,nt,void 0,s,W);for(Q in s)W=s[Q],K=i[Q],!s.hasOwnProperty(Q)||W===K||W===void 0&&K===void 0||Xh(t,r,Q,W,s,K);return}}for(var I in i)W=i[I],i.hasOwnProperty(I)&&W!=null&&!s.hasOwnProperty(I)&&rt(t,r,I,null,s,W);for(re in s)W=s[re],K=i[re],!s.hasOwnProperty(re)||W===K||W==null&&K==null||rt(t,r,re,W,s,K)}function a1(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function $3(){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,S=f.initiatorType,N=f.duration;if(g&&N&&a1(S)){for(S=0,N=f.responseEnd,s+=1;s<i.length;s++){var M=i[s],G=M.startTime;if(G>N)break;var Q=M.transferSize,re=M.initiatorType;Q&&a1(re)&&(M=M.responseEnd,S+=Q*(M<N?1:(N-G)/(M-G)))}if(--s,r+=8*(g+S)/(f.duration/1e3),t++,10<t)break}}if(0<t)return r/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var $h=null,Kh=null;function xu(t){return t.nodeType===9?t:t.ownerDocument}function i1(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function l1(t,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 Zh(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 Qh=null;function K3(){var t=window.event;return t&&t.type==="popstate"?t===Qh?!1:(Qh=t,!0):(Qh=null,!1)}var s1=typeof setTimeout=="function"?setTimeout:void 0,Z3=typeof clearTimeout=="function"?clearTimeout:void 0,c1=typeof Promise=="function"?Promise:void 0,Q3=typeof queueMicrotask=="function"?queueMicrotask:typeof c1<"u"?function(t){return c1.resolve(null).then(t).catch(Y3)}:s1;function Y3(t){setTimeout(function(){throw t})}function Un(t){return t==="head"}function u1(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),Ii(r);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")Ss(t.ownerDocument.documentElement);else if(i==="head"){i=t.ownerDocument.head,Ss(i);for(var g=i.firstChild;g;){var S=g.nextSibling,N=g.nodeName;g[Pl]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&g.rel.toLowerCase()==="stylesheet"||i.removeChild(g),g=S}}else i==="body"&&Ss(t.ownerDocument.body);i=f}while(i);Ii(r)}function d1(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 Yh(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":Yh(i),of(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[Pl])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=$o(t.nextSibling),t===null)break}return null}function eB(t,r,i){if(r==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=$o(t.nextSibling),t===null))return null;return t}function f1(t,r){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!r||(t=$o(t.nextSibling),t===null))return null;return t}function Jh(t){return t.data==="$?"||t.data==="$~"}function ep(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function tB(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 $o(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 tp=null;function h1(t){t=t.nextSibling;for(var r=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"||i==="/&"){if(r===0)return $o(t.nextSibling);r--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||r++}t=t.nextSibling}return null}function p1(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 g1(t,r,i){switch(r=xu(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 Ss(t){for(var r=t.attributes;r.length;)t.removeAttributeNode(r[0]);of(t)}var Ko=new Map,m1=new Set;function wu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var rn=te.d;te.d={f:oB,r:rB,D:nB,C:aB,L:iB,m:lB,X:cB,S:sB,M:uB};function oB(){var t=rn.f(),r=fu();return t||r}function rB(t){var r=ii(t);r!==null&&r.tag===5&&r.type==="form"?Av(r):rn.r(t)}var qi=typeof document>"u"?null:document;function v1(t,r,i){var s=qi;if(s&&typeof r=="string"&&r){var f=Io(r);f='link[rel="'+t+'"][href="'+f+'"]',typeof i=="string"&&(f+='[crossorigin="'+i+'"]'),m1.has(f)||(m1.add(f),t={rel:t,crossOrigin:i,href:r},s.querySelector(f)===null&&(r=s.createElement("link"),Vt(r,"link",t),Ot(r),s.head.appendChild(r)))}}function nB(t){rn.D(t),v1("dns-prefetch",t,null)}function aB(t,r){rn.C(t,r),v1("preconnect",t,r)}function iB(t,r,i){rn.L(t,r,i);var s=qi;if(s&&t&&r){var f='link[rel="preload"][as="'+Io(r)+'"]';r==="image"&&i&&i.imageSrcSet?(f+='[imagesrcset="'+Io(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(f+='[imagesizes="'+Io(i.imageSizes)+'"]')):f+='[href="'+Io(t)+'"]';var g=f;switch(r){case"style":g=Hi(t);break;case"script":g=Pi(t)}Ko.has(g)||(t=m({rel:"preload",href:r==="image"&&i&&i.imageSrcSet?void 0:t,as:r},i),Ko.set(g,t),s.querySelector(f)!==null||r==="style"&&s.querySelector(ks(g))||r==="script"&&s.querySelector(Bs(g))||(r=s.createElement("link"),Vt(r,"link",t),Ot(r),s.head.appendChild(r)))}}function lB(t,r){rn.m(t,r);var i=qi;if(i&&t){var s=r&&typeof r.as=="string"?r.as:"script",f='link[rel="modulepreload"][as="'+Io(s)+'"][href="'+Io(t)+'"]',g=f;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Pi(t)}if(!Ko.has(g)&&(t=m({rel:"modulepreload",href:t},r),Ko.set(g,t),i.querySelector(f)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Bs(g)))return}s=i.createElement("link"),Vt(s,"link",t),Ot(s),i.head.appendChild(s)}}}function sB(t,r,i){rn.S(t,r,i);var s=qi;if(s&&t){var f=li(s).hoistableStyles,g=Hi(t);r=r||"default";var S=f.get(g);if(!S){var N={loading:0,preload:null};if(S=s.querySelector(ks(g)))N.loading=5;else{t=m({rel:"stylesheet",href:t,"data-precedence":r},i),(i=Ko.get(g))&&op(t,i);var M=S=s.createElement("link");Ot(M),Vt(M,"link",t),M._p=new Promise(function(G,Q){M.onload=G,M.onerror=Q}),M.addEventListener("load",function(){N.loading|=1}),M.addEventListener("error",function(){N.loading|=2}),N.loading|=4,Su(S,r,s)}S={type:"stylesheet",instance:S,count:1,state:N},f.set(g,S)}}}function cB(t,r){rn.X(t,r);var i=qi;if(i&&t){var s=li(i).hoistableScripts,f=Pi(t),g=s.get(f);g||(g=i.querySelector(Bs(f)),g||(t=m({src:t,async:!0},r),(r=Ko.get(f))&&rp(t,r),g=i.createElement("script"),Ot(g),Vt(g,"link",t),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},s.set(f,g))}}function uB(t,r){rn.M(t,r);var i=qi;if(i&&t){var s=li(i).hoistableScripts,f=Pi(t),g=s.get(f);g||(g=i.querySelector(Bs(f)),g||(t=m({src:t,async:!0,type:"module"},r),(r=Ko.get(f))&&rp(t,r),g=i.createElement("script"),Ot(g),Vt(g,"link",t),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},s.set(f,g))}}function b1(t,r,i,s){var f=(f=_e.current)?wu(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=Hi(i.href),i=li(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=Hi(i.href);var g=li(f).hoistableStyles,S=g.get(t);if(S||(f=f.ownerDocument||f,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(t,S),(g=f.querySelector(ks(t)))&&!g._p&&(S.instance=g,S.state.loading=5),Ko.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},Ko.set(t,i),g||dB(f,t,i,S.state))),r&&s===null)throw Error(a(528,""));return S}if(r&&s!==null)throw Error(a(529,""));return null;case"script":return r=i.async,i=i.src,typeof i=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Pi(i),i=li(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 Hi(t){return'href="'+Io(t)+'"'}function ks(t){return'link[rel="stylesheet"]['+t+"]"}function y1(t){return m({},t,{"data-precedence":t.precedence,precedence:null})}function dB(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}),Vt(r,"link",i),Ot(r),t.head.appendChild(r))}function Pi(t){return'[src="'+Io(t)+'"]'}function Bs(t){return"script[async]"+t}function x1(t,r,i){if(r.count++,r.instance===null)switch(r.type){case"style":var s=t.querySelector('style[data-href~="'+Io(i.href)+'"]');if(s)return r.instance=s,Ot(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"),Ot(s),Vt(s,"style",f),Su(s,i.precedence,t),r.instance=s;case"stylesheet":f=Hi(i.href);var g=t.querySelector(ks(f));if(g)return r.state.loading|=4,r.instance=g,Ot(g),g;s=y1(i),(f=Ko.get(f))&&op(s,f),g=(t.ownerDocument||t).createElement("link"),Ot(g);var S=g;return S._p=new Promise(function(N,M){S.onload=N,S.onerror=M}),Vt(g,"link",s),r.state.loading|=4,Su(g,i.precedence,t),r.instance=g;case"script":return g=Pi(i.src),(f=t.querySelector(Bs(g)))?(r.instance=f,Ot(f),f):(s=i,(f=Ko.get(g))&&(s=m({},i),rp(s,f)),t=t.ownerDocument||t,f=t.createElement("script"),Ot(f),Vt(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,Su(s,i.precedence,t));return r.instance}function Su(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,S=0;S<s.length;S++){var N=s[S];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 op(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.title==null&&(t.title=r.title)}function rp(t,r){t.crossOrigin==null&&(t.crossOrigin=r.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=r.referrerPolicy),t.integrity==null&&(t.integrity=r.integrity)}var ku=null;function w1(t,r,i){if(ku===null){var s=new Map,f=ku=new Map;f.set(i,s)}else f=ku,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[Pl]||g[Pt]||t==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var S=g.getAttribute(r)||"";S=t+S;var N=s.get(S);N?N.push(g):s.set(S,[g])}}return s}function S1(t,r,i){t=t.ownerDocument||t,t.head.insertBefore(i,r==="title"?t.querySelector("head > title"):null)}function fB(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 k1(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function hB(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=Hi(s.href),g=r.querySelector(ks(f));if(g){r=g._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(t.count++,t=Bu.bind(t),r.then(t,t)),i.state.loading|=4,i.instance=g,Ot(g);return}g=r.ownerDocument||r,s=y1(s),(f=Ko.get(f))&&op(s,f),g=g.createElement("link"),Ot(g);var S=g;S._p=new Promise(function(N,M){S.onload=N,S.onerror=M}),Vt(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=Bu.bind(t),r.addEventListener("load",i),r.addEventListener("error",i))}}var np=0;function pB(t,r){return t.stylesheets&&t.count===0&&Cu(t,t.stylesheets),0<t.count||0<t.imgCount?function(i){var s=setTimeout(function(){if(t.stylesheets&&Cu(t,t.stylesheets),t.unsuspend){var g=t.unsuspend;t.unsuspend=null,g()}},6e4+r);0<t.imgBytes&&np===0&&(np=62500*$3());var f=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Cu(t,t.stylesheets),t.unsuspend)){var g=t.unsuspend;t.unsuspend=null,g()}},(t.imgBytes>np?50:800)+r);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(s),clearTimeout(f)}}:null}function Bu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Cu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var _u=null;function Cu(t,r){t.stylesheets=null,t.unsuspend!==null&&(t.count++,_u=new Map,r.forEach(gB,t),_u=null,Bu.call(t))}function gB(t,r){if(!(r.state.loading&4)){var i=_u.get(t);if(i)var s=i.get(null);else{i=new Map,_u.set(t,i);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<f.length;g++){var S=f[g];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(i.set(S.dataset.precedence,S),s=S)}s&&i.set(null,s)}f=r.instance,S=f.getAttribute("data-precedence"),g=i.get(S)||s,g===s&&i.set(null,f),i.set(S,f),this.count++,s=Bu.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 _s={$$typeof:C,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function mB(t,r,i,s,f,g,S,N,M){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=Yd(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yd(0),this.hiddenUpdates=Yd(null),this.identifierPrefix=s,this.onUncaughtError=f,this.onCaughtError=g,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map}function B1(t,r,i,s,f,g,S,N,M,G,Q,re){return t=new mB(t,r,i,S,M,G,Q,re,N),r=1,g===!0&&(r|=24),g=So(3,null,null,r),t.current=g,g.stateNode=t,r=Ff(),r.refCount++,t.pooledCache=r,r.refCount++,g.memoizedState={element:s,isDehydrated:i,cache:r},If(g),t}function _1(t){return t?(t=vi,t):vi}function C1(t,r,i,s,f,g){f=_1(f),s.context===null?s.context=f:s.pendingContext=f,s=Rn(r),s.payload={element:i},g=g===void 0?null:g,g!==null&&(s.callback=g),i=An(t,s,r),i!==null&&(uo(i,t,r),rs(i,t,r))}function z1(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<r?i:r}}function ap(t,r){z1(t,r),(t=t.alternate)&&z1(t,r)}function N1(t){if(t.tag===13||t.tag===31){var r=xa(t,67108864);r!==null&&uo(r,t,67108864),ap(t,67108864)}}function T1(t){if(t.tag===13||t.tag===31){var r=zo();r=Jd(r);var i=xa(t,r);i!==null&&uo(i,t,r),ap(t,r)}}var zu=!0;function vB(t,r,i,s){var f=L.T;L.T=null;var g=te.p;try{te.p=2,ip(t,r,i,s)}finally{te.p=g,L.T=f}}function bB(t,r,i,s){var f=L.T;L.T=null;var g=te.p;try{te.p=8,ip(t,r,i,s)}finally{te.p=g,L.T=f}}function ip(t,r,i,s){if(zu){var f=lp(s);if(f===null)Wh(t,r,s,Nu,i),E1(t,s);else if(xB(f,t,r,i,s))s.stopPropagation();else if(E1(t,s),r&4&&-1<yB.indexOf(t)){for(;f!==null;){var g=ii(f);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var S=ga(g.pendingLanes);if(S!==0){var N=g;for(N.pendingLanes|=2,N.entangledLanes|=2;S;){var M=1<<31-xo(S);N.entanglements[1]|=M,S&=~M}zr(g),($e&6)===0&&(uu=bo()+500,ys(0))}}break;case 31:case 13:N=xa(g,2),N!==null&&uo(N,g,2),fu(),ap(g,2)}if(g=lp(s),g===null&&Wh(t,r,s,Nu,i),g===f)break;f=g}f!==null&&s.stopPropagation()}else Wh(t,r,s,null,i)}}function lp(t){return t=cf(t),sp(t)}var Nu=null;function sp(t){if(Nu=null,t=ai(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 Nu=t,null}function j1(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(nk()){case qm:return 2;case Hm:return 8;case vc:case ak:return 32;case Pm:return 268435456;default:return 32}default:return 32}}var cp=!1,Vn=null,Gn=null,Wn=null,Cs=new Map,zs=new Map,Xn=[],yB="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 E1(t,r){switch(t){case"focusin":case"focusout":Vn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Wn=null;break;case"pointerover":case"pointerout":Cs.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":zs.delete(r.pointerId)}}function Ns(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=ii(r),r!==null&&N1(r)),t):(t.eventSystemFlags|=s,r=t.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),t)}function xB(t,r,i,s,f){switch(r){case"focusin":return Vn=Ns(Vn,t,r,i,s,f),!0;case"dragenter":return Gn=Ns(Gn,t,r,i,s,f),!0;case"mouseover":return Wn=Ns(Wn,t,r,i,s,f),!0;case"pointerover":var g=f.pointerId;return Cs.set(g,Ns(Cs.get(g)||null,t,r,i,s,f)),!0;case"gotpointercapture":return g=f.pointerId,zs.set(g,Ns(zs.get(g)||null,t,r,i,s,f)),!0}return!1}function R1(t){var r=ai(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,Wm(t.priority,function(){T1(i)});return}}else if(r===31){if(r=d(i),r!==null){t.blockedOn=r,Wm(t.priority,function(){T1(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 Tu(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var i=lp(t.nativeEvent);if(i===null){i=t.nativeEvent;var s=new i.constructor(i.type,i);sf=s,i.target.dispatchEvent(s),sf=null}else return r=ii(i),r!==null&&N1(r),t.blockedOn=i,!1;r.shift()}return!0}function A1(t,r,i){Tu(t)&&i.delete(r)}function wB(){cp=!1,Vn!==null&&Tu(Vn)&&(Vn=null),Gn!==null&&Tu(Gn)&&(Gn=null),Wn!==null&&Tu(Wn)&&(Wn=null),Cs.forEach(A1),zs.forEach(A1)}function ju(t,r){t.blockedOn===r&&(t.blockedOn=null,cp||(cp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,wB)))}var Eu=null;function M1(t){Eu!==t&&(Eu=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Eu===t&&(Eu=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(sp(s||i)===null)continue;break}var g=ii(i);g!==null&&(t.splice(r,3),r-=3,lh(g,{pending:!0,data:f,method:i.method,action:s},s,f))}}))}function Ii(t){function r(M){return ju(M,t)}Vn!==null&&ju(Vn,t),Gn!==null&&ju(Gn,t),Wn!==null&&ju(Wn,t),Cs.forEach(r),zs.forEach(r);for(var i=0;i<Xn.length;i++){var s=Xn[i];s.blockedOn===t&&(s.blockedOn=null)}for(;0<Xn.length&&(i=Xn[0],i.blockedOn===null);)R1(i),i.blockedOn===null&&Xn.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],S=f[no]||null;if(typeof g=="function")S||M1(i);else if(S){var N=null;if(g&&g.hasAttribute("formAction")){if(f=g,S=g[no]||null)N=S.formAction;else if(sp(f)!==null)continue}else N=S.action;typeof N=="function"?i[s+1]=N:(i.splice(s,3),s-=3),M1(i)}}}function D1(){function t(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(S){return f=S})},focusReset:"manual",scroll:"manual"})}function r(){f!==null&&(f(),f=null),s||setTimeout(i,20)}function i(){if(!s&&!navigation.transition){var 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 up(t){this._internalRoot=t}Ru.prototype.render=up.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(a(409));var i=r.current,s=zo();C1(i,s,t,r,null,null)},Ru.prototype.unmount=up.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;C1(t.current,2,null,t,null,null),fu(),r[ni]=null}};function Ru(t){this._internalRoot=t}Ru.prototype.unstable_scheduleHydration=function(t){if(t){var r=Gm();t={blockedOn:null,target:t,priority:r};for(var i=0;i<Xn.length&&r!==0&&r<Xn[i].priority;i++);Xn.splice(i,0,t),i===0&&R1(t)}};var O1=o.version;if(O1!=="19.2.6")throw Error(a(527,O1,"19.2.6"));te.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 SB={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Au.isDisabled&&Au.supportsFiber)try{Fl=Au.inject(SB),yo=Au}catch{}}return js.createRoot=function(t,r){if(!l(t))throw Error(a(299));var i=!1,s="",f=Uv,g=Vv,S=Gv;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&&(S=r.onRecoverableError)),r=B1(t,1,!1,null,null,i,s,null,f,g,S,D1),t[ni]=r.current,Gh(t),new up(r)},js.hydrateRoot=function(t,r,i){if(!l(t))throw Error(a(299));var s=!1,f="",g=Uv,S=Vv,N=Gv,M=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&&(S=i.onCaughtError),i.onRecoverableError!==void 0&&(N=i.onRecoverableError),i.formState!==void 0&&(M=i.formState)),r=B1(t,1,!0,r,i??null,s,f,M,g,S,N,D1),r.context=_1(null),i=r.current,s=zo(),s=Jd(s),f=Rn(s),f.callback=null,An(i,f,s),i=s,r.current.lanes=i,Hl(r,i),zr(r),t[ni]=r.current,Gh(t),new Ru(r)},js.version="19.2.6",js}var X1;function MB(){if(X1)return pp.exports;X1=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(),pp.exports=AB(),pp.exports}var DB=MB();/**
50
50
  * react-router v7.15.0
51
51
  *
52
52
  * Copyright (c) Remix Software Inc.
@@ -55,82 +55,82 @@ Error generating stack: `+s.message+`
55
55
  * LICENSE.md file in the root directory of this source tree.
56
56
  *
57
57
  * @license MIT
58
- */var X1="popstate";function $1(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function DB(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 Gp("",{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:Hs(l)}return OB(o,n,null,e)}function pt(e,o){if(e===!1||e===null||typeof e>"u")throw new Error(o)}function mr(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 K1(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 Gp(e,o,n=null,a,l){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof o=="string"?xl(o):o,state:n,key:o&&o.key||a||MB(),mask:l}}function Hs({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 xl(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 OB(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:x.location,delta:_})}function w(C,_){d="PUSH";let j=$1(C)?C:Gp(x.location,C,_);p=v()+1;let z=K1(j,p),T=x.createHref(j.mask||j);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:x.location,delta:1})}function B(C,_){d="REPLACE";let j=$1(C)?C:Gp(x.location,C,_);p=v();let z=K1(j,p),T=x.createHref(j.mask||j);u.replaceState(z,"",T),c&&h&&h({action:d,location:x.location,delta:0})}function k(C){return FB(C)}let x={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(X1,m),h=C,()=>{l.removeEventListener(X1,m),h=null}},createHref(C){return o(l,C)},createURL:k,encodeLocation(C){let _=k(C);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:w,replace:B,go(C){return u.go(C)}};return x}function FB(e,o=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),pt(n,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:Hs(e);return a=a.replace(/ $/,"%20"),!o&&a.startsWith("//")&&(a=n+a),new URL(a,n)}function a2(e,o,n="/"){return qB(e,o,n,!1)}function qB(e,o,n,a,l){let c=typeof o=="string"?xl(o):o,u=mn(c.pathname||"/",n);if(u==null)return null;let d=HB(e),h=null,p=ZB(u);for(let v=0;h==null&&v<d.length;++v)h=KB(d[v],p,a);return h}function HB(e){let o=i2(e);return PB(o),o}function i2(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;pt(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=pr([a,v.relativePath]),w=n.concat(v);u.children&&u.children.length>0&&(pt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),i2(u.children,o,w,m,h)),!(u.path==null&&!u.index)&&o.push({path:m,score:XB(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 l2(u.path))c(u,d,!0,p)}),o}function l2(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=l2(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 PB(e){e.sort((o,n)=>o.score!==n.score?n.score-o.score:$B(o.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}var IB=/^:[\w-]+$/,LB=3,UB=2,VB=1,GB=10,WB=-2,Q1=e=>e==="*";function XB(e,o){let n=e.split("/"),a=n.length;return n.some(Q1)&&(a+=WB),o&&(a+=UB),n.filter(l=>!Q1(l)).reduce((l,c)=>l+(IB.test(c)?LB:c===""?VB:GB),a)}function $B(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 KB(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=ad({path:h.relativePath,caseSensitive:h.caseSensitive,end:p},v),w=h.route;if(!m&&p&&n&&!a[a.length-1].route.index&&(m=ad({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!m)return null;Object.assign(l,m.params),u.push({params:l,pathname:pr([c,m.pathname]),pathnameBase:t4(pr([c,m.pathnameBase])),route:w}),m.pathnameBase!=="/"&&(c=pr([c,m.pathnameBase]))}return u}function ad(e,o){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=QB(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 k=d[w]||"";u=c.slice(0,c.length-k.length).replace(/(.)\/+$/,"$1")}const B=d[w];return m&&!B?p[v]=void 0:p[v]=(B||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:u,pattern:e}}function QB(e,o=!1,n=!0){mr(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 ZB(e){try{return e.split("/").map(o=>decodeURIComponent(o).replace(/\//g,"%2F")).join("/")}catch(o){return mr(!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 mn(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 YB=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function JB(e,o="/"){let{pathname:n,search:a="",hash:l=""}=typeof e=="string"?xl(e):e,c;return n?(n=s2(n),n.startsWith("/")?c=Z1(n.substring(1),"/"):c=Z1(n,o)):c=o,{pathname:c,search:o4(a),hash:r4(l)}}function Z1(e,o){let n=id(o).split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function bp(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 e4(e){return e.filter((o,n)=>n===0||o.route.path&&o.route.path.length>0)}function Eg(e){let o=e4(e);return o.map((n,a)=>a===o.length-1?n.pathname:n.pathnameBase)}function zd(e,o,n,a=!1){let l;typeof e=="string"?l=xl(e):(l={...e},pt(!l.pathname||!l.pathname.includes("?"),bp("?","pathname","search",l)),pt(!l.pathname||!l.pathname.includes("#"),bp("#","pathname","hash",l)),pt(!l.search||!l.search.includes("#"),bp("#","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=JB(l,d),p=u&&u!=="/"&&u.endsWith("/"),v=(c||u===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(p||v)&&(h.pathname+="/"),h}var s2=e=>e.replace(/\/\/+/g,"/"),pr=e=>s2(e.join("/")),id=e=>e.replace(/\/+$/,""),t4=e=>id(e).replace(/^\/*/,"/"),o4=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,r4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,n4=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 a4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function i4(e){let o=e.map(n=>n.route.path).filter(Boolean);return pr(o)||"/"}var c2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function u2(e,o){let n=e;if(typeof n!="string"||!YB.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let a=n,l=!1;if(c2)try{let c=new URL(window.location.href),u=n.startsWith("//")?new URL(c.protocol+n):new URL(n),d=mn(u.pathname,o);u.origin===c.origin&&d!=null?n=d+u.search+u.hash:l=!0}catch{mr(!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 d2=["POST","PUT","PATCH","DELETE"];new Set(d2);var l4=["GET",...d2];new Set(l4);var wl=b.createContext(null);wl.displayName="DataRouter";var Cd=b.createContext(null);Cd.displayName="DataRouterState";var f2=b.createContext(!1);function s4(){return b.useContext(f2)}var h2=b.createContext({isTransitioning:!1});h2.displayName="ViewTransition";var c4=b.createContext(new Map);c4.displayName="Fetchers";var u4=b.createContext(null);u4.displayName="Await";var Mo=b.createContext(null);Mo.displayName="Navigation";var rc=b.createContext(null);rc.displayName="Location";var wr=b.createContext({outlet:null,matches:[],isDataRoute:!1});wr.displayName="Route";var jg=b.createContext(null);jg.displayName="RouteError";var p2="REACT_ROUTER_ERROR",d4="REDIRECT",f4="ROUTE_ERROR_RESPONSE";function h4(e){if(e.startsWith(`${p2}:${d4}:{`))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 p4(e){if(e.startsWith(`${p2}:${f4}:{`))try{let o=JSON.parse(e.slice(40));if(typeof o=="object"&&o&&typeof o.status=="number"&&typeof o.statusText=="string")return new n4(o.status,o.statusText,o.data)}catch{}}function g4(e,{relative:o}={}){pt(Sl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=b.useContext(Mo),{hash:l,pathname:c,search:u}=ac(e,{relative:o}),d=c;return n!=="/"&&(d=c==="/"?n:pr([n,c])),a.createHref({pathname:d,search:u,hash:l})}function Sl(){return b.useContext(rc)!=null}function nr(){return pt(Sl(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(rc).location}var g2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function m2(e){b.useContext(Mo).static||b.useLayoutEffect(e)}function nc(){let{isDataRoute:e}=b.useContext(wr);return e?T4():m4()}function m4(){pt(Sl(),"useNavigate() may be used only in the context of a <Router> component.");let e=b.useContext(wl),{basename:o,navigator:n}=b.useContext(Mo),{matches:a}=b.useContext(wr),{pathname:l}=nr(),c=JSON.stringify(Eg(a)),u=b.useRef(!1);return m2(()=>{u.current=!0}),b.useCallback((h,p={})=>{if(mr(u.current,g2),!u.current)return;if(typeof h=="number"){n.go(h);return}let v=zd(h,JSON.parse(c),l,p.relative==="path");e==null&&o!=="/"&&(v.pathname=v.pathname==="/"?o:pr([o,v.pathname])),(p.replace?n.replace:n.push)(v,p.state,p)},[o,n,c,l,e])}b.createContext(null);function v4(){let{matches:e}=b.useContext(wr),o=e[e.length-1];return(o==null?void 0:o.params)??{}}function ac(e,{relative:o}={}){let{matches:n}=b.useContext(wr),{pathname:a}=nr(),l=JSON.stringify(Eg(n));return b.useMemo(()=>zd(e,JSON.parse(l),a,o==="path"),[e,l,a,o])}function b4(e,o){return v2(e,o)}function v2(e,o,n){var C;pt(Sl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=b.useContext(Mo),{matches:l}=b.useContext(wr),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||"";y2(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.
58
+ */var $1="popstate";function K1(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function OB(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 Wp("",{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:Hs(l)}return qB(o,n,null,e)}function pt(e,o){if(e===!1||e===null||typeof e>"u")throw new Error(o)}function mr(e,o){if(!e){typeof console<"u"&&console.warn(o);try{throw new Error(o)}catch{}}}function FB(){return Math.random().toString(36).substring(2,10)}function Z1(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 Wp(e,o,n=null,a,l){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof o=="string"?xl(o):o,state:n,key:o&&o.key||a||FB(),mask:l}}function Hs({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 xl(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 qB(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 z=v(),_=z==null?null:z-p;p=z,h&&h({action:d,location:x.location,delta:_})}function w(z,_){d="PUSH";let E=K1(z)?z:Wp(x.location,z,_);p=v()+1;let C=Z1(E,p),T=x.createHref(E.mask||E);try{u.pushState(C,"",T)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;l.location.assign(T)}c&&h&&h({action:d,location:x.location,delta:1})}function B(z,_){d="REPLACE";let E=K1(z)?z:Wp(x.location,z,_);p=v();let C=Z1(E,p),T=x.createHref(E.mask||E);u.replaceState(C,"",T),c&&h&&h({action:d,location:x.location,delta:0})}function k(z){return HB(z)}let x={get action(){return d},get location(){return e(l,u)},listen(z){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener($1,m),h=z,()=>{l.removeEventListener($1,m),h=null}},createHref(z){return o(l,z)},createURL:k,encodeLocation(z){let _=k(z);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:w,replace:B,go(z){return u.go(z)}};return x}function HB(e,o=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),pt(n,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:Hs(e);return a=a.replace(/ $/,"%20"),!o&&a.startsWith("//")&&(a=n+a),new URL(a,n)}function i2(e,o,n="/"){return PB(e,o,n,!1)}function PB(e,o,n,a,l){let c=typeof o=="string"?xl(o):o,u=mn(c.pathname||"/",n);if(u==null)return null;let d=IB(e),h=null,p=JB(u);for(let v=0;h==null&&v<d.length;++v)h=QB(d[v],p,a);return h}function IB(e){let o=l2(e);return LB(o),o}function l2(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;pt(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=pr([a,v.relativePath]),w=n.concat(v);u.children&&u.children.length>0&&(pt(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),l2(u.children,o,w,m,h)),!(u.path==null&&!u.index)&&o.push({path:m,score:KB(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 s2(u.path))c(u,d,!0,p)}),o}function s2(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=s2(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 LB(e){e.sort((o,n)=>o.score!==n.score?n.score-o.score:ZB(o.routesMeta.map(a=>a.childrenIndex),n.routesMeta.map(a=>a.childrenIndex)))}var UB=/^:[\w-]+$/,VB=3,GB=2,WB=1,XB=10,$B=-2,Q1=e=>e==="*";function KB(e,o){let n=e.split("/"),a=n.length;return n.some(Q1)&&(a+=$B),o&&(a+=GB),n.filter(l=>!Q1(l)).reduce((l,c)=>l+(UB.test(c)?VB:c===""?WB:XB),a)}function ZB(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 QB(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=ad({path:h.relativePath,caseSensitive:h.caseSensitive,end:p},v),w=h.route;if(!m&&p&&n&&!a[a.length-1].route.index&&(m=ad({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!m)return null;Object.assign(l,m.params),u.push({params:l,pathname:pr([c,m.pathname]),pathnameBase:r4(pr([c,m.pathnameBase])),route:w}),m.pathnameBase!=="/"&&(c=pr([c,m.pathnameBase]))}return u}function ad(e,o){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,a]=YB(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 k=d[w]||"";u=c.slice(0,c.length-k.length).replace(/(.)\/+$/,"$1")}const B=d[w];return m&&!B?p[v]=void 0:p[v]=(B||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:u,pattern:e}}function YB(e,o=!1,n=!0){mr(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 mr(!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 mn(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 e4=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function t4(e,o="/"){let{pathname:n,search:a="",hash:l=""}=typeof e=="string"?xl(e):e,c;return n?(n=c2(n),n.startsWith("/")?c=Y1(n.substring(1),"/"):c=Y1(n,o)):c=o,{pathname:c,search:n4(a),hash:a4(l)}}function Y1(e,o){let n=id(o).split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function bp(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 o4(e){return e.filter((o,n)=>n===0||o.route.path&&o.route.path.length>0)}function Eg(e){let o=o4(e);return o.map((n,a)=>a===o.length-1?n.pathname:n.pathnameBase)}function Cd(e,o,n,a=!1){let l;typeof e=="string"?l=xl(e):(l={...e},pt(!l.pathname||!l.pathname.includes("?"),bp("?","pathname","search",l)),pt(!l.pathname||!l.pathname.includes("#"),bp("#","pathname","hash",l)),pt(!l.search||!l.search.includes("#"),bp("#","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=t4(l,d),p=u&&u!=="/"&&u.endsWith("/"),v=(c||u===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(p||v)&&(h.pathname+="/"),h}var c2=e=>e.replace(/\/\/+/g,"/"),pr=e=>c2(e.join("/")),id=e=>e.replace(/\/+$/,""),r4=e=>id(e).replace(/^\/*/,"/"),n4=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,a4=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,i4=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 l4(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function s4(e){let o=e.map(n=>n.route.path).filter(Boolean);return pr(o)||"/"}var u2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function d2(e,o){let n=e;if(typeof n!="string"||!e4.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let a=n,l=!1;if(u2)try{let c=new URL(window.location.href),u=n.startsWith("//")?new URL(c.protocol+n):new URL(n),d=mn(u.pathname,o);u.origin===c.origin&&d!=null?n=d+u.search+u.hash:l=!0}catch{mr(!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 f2=["POST","PUT","PATCH","DELETE"];new Set(f2);var c4=["GET",...f2];new Set(c4);var wl=b.createContext(null);wl.displayName="DataRouter";var zd=b.createContext(null);zd.displayName="DataRouterState";var h2=b.createContext(!1);function u4(){return b.useContext(h2)}var p2=b.createContext({isTransitioning:!1});p2.displayName="ViewTransition";var d4=b.createContext(new Map);d4.displayName="Fetchers";var f4=b.createContext(null);f4.displayName="Await";var qo=b.createContext(null);qo.displayName="Navigation";var rc=b.createContext(null);rc.displayName="Location";var wr=b.createContext({outlet:null,matches:[],isDataRoute:!1});wr.displayName="Route";var Rg=b.createContext(null);Rg.displayName="RouteError";var g2="REACT_ROUTER_ERROR",h4="REDIRECT",p4="ROUTE_ERROR_RESPONSE";function g4(e){if(e.startsWith(`${g2}:${h4}:{`))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 m4(e){if(e.startsWith(`${g2}:${p4}:{`))try{let o=JSON.parse(e.slice(40));if(typeof o=="object"&&o&&typeof o.status=="number"&&typeof o.statusText=="string")return new i4(o.status,o.statusText,o.data)}catch{}}function v4(e,{relative:o}={}){pt(Sl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:a}=b.useContext(qo),{hash:l,pathname:c,search:u}=ac(e,{relative:o}),d=c;return n!=="/"&&(d=c==="/"?n:pr([n,c])),a.createHref({pathname:d,search:u,hash:l})}function Sl(){return b.useContext(rc)!=null}function nr(){return pt(Sl(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(rc).location}var m2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function v2(e){b.useContext(qo).static||b.useLayoutEffect(e)}function nc(){let{isDataRoute:e}=b.useContext(wr);return e?E4():b4()}function b4(){pt(Sl(),"useNavigate() may be used only in the context of a <Router> component.");let e=b.useContext(wl),{basename:o,navigator:n}=b.useContext(qo),{matches:a}=b.useContext(wr),{pathname:l}=nr(),c=JSON.stringify(Eg(a)),u=b.useRef(!1);return v2(()=>{u.current=!0}),b.useCallback((h,p={})=>{if(mr(u.current,m2),!u.current)return;if(typeof h=="number"){n.go(h);return}let v=Cd(h,JSON.parse(c),l,p.relative==="path");e==null&&o!=="/"&&(v.pathname=v.pathname==="/"?o:pr([o,v.pathname])),(p.replace?n.replace:n.push)(v,p.state,p)},[o,n,c,l,e])}b.createContext(null);function y4(){let{matches:e}=b.useContext(wr),o=e[e.length-1];return(o==null?void 0:o.params)??{}}function ac(e,{relative:o}={}){let{matches:n}=b.useContext(wr),{pathname:a}=nr(),l=JSON.stringify(Eg(n));return b.useMemo(()=>Cd(e,JSON.parse(l),a,o==="path"),[e,l,a,o])}function x4(e,o){return b2(e,o)}function b2(e,o,n){var z;pt(Sl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=b.useContext(qo),{matches:l}=b.useContext(wr),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||"";x2(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
59
 
60
- Please change the parent <Route path="${_}"> to <Route path="${_==="/"?"*":`${_}/*`}">.`)}let v=nr(),m;if(o){let _=typeof o=="string"?xl(o):o;pt(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||"/",B=w;if(h!=="/"){let _=h.replace(/^\//,"").split("/");B="/"+w.replace(/^\//,"").split("/").slice(_.length).join("/")}let k=n&&n.state.matches.length?n.state.matches.map(_=>Object.assign(_,{route:n.manifest[_.route.id]||_.route})):a2(e,{pathname:B});mr(p||k!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),mr(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.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 x=k4(k&&k.map(_=>Object.assign({},_,{params:Object.assign({},u,_.params),pathname:pr([h,a.encodeLocation?a.encodeLocation(_.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?h:pr([h,a.encodeLocation?a.encodeLocation(_.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathnameBase])})),l,n);return o&&x?b.createElement(rc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},x):x}function y4(){let e=N4(),o=a4(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 x4=b.createElement(y4,null),b2=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=p4(e.digest);n&&(e=n)}let o=e!==void 0?b.createElement(wr.Provider,{value:this.props.routeContext},b.createElement(jg.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?b.createElement(w4,{error:e},o):o}};b2.contextType=f2;var yp=new WeakMap;function w4({children:e,error:o}){let{basename:n}=b.useContext(Mo);if(typeof o=="object"&&o&&"digest"in o&&typeof o.digest=="string"){let a=h4(o.digest);if(a){let l=yp.get(o);if(l)throw l;let c=u2(a.location,n);if(c2&&!yp.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 yp.set(o,u),u}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function S4({routeContext:e,match:o,children:n}){let a=b.useContext(wl);return a&&a.static&&a.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=o.route.id),b.createElement(wr.Provider,{value:e},n)}function k4(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);pt(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:B}=a,k=m.route.loader&&!w.hasOwnProperty(m.route.id)&&(!B||B[m.route.id]===void 0);if(m.route.lazy||k){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,B;h(v,{location:a.location,params:((B=(w=a.matches)==null?void 0:w[0])==null?void 0:B.params)??{},pattern:i4(a.matches),errorInfo:m})}:void 0;return l.reduceRight((v,m,w)=>{let B,k=!1,x=null,C=null;a&&(B=c&&m.route.id?c[m.route.id]:void 0,x=m.route.errorElement||x4,u&&(d<0&&w===0?(y2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),k=!0,C=null):d===w&&(k=!0,C=m.route.hydrateFallbackElement||null)));let _=o.concat(l.slice(0,w+1)),j=()=>{let z;return B?z=x:k?z=C:m.route.Component?z=b.createElement(m.route.Component,null):m.route.element?z=m.route.element:z=v,b.createElement(S4,{match:m,routeContext:{outlet:v,matches:_,isDataRoute:a!=null},children:z})};return a&&(m.route.ErrorBoundary||m.route.errorElement||w===0)?b.createElement(b2,{location:a.location,revalidation:a.revalidation,component:x,error:B,children:j(),routeContext:{outlet:null,matches:_,isDataRoute:!0},onError:p}):j()},null)}function Rg(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function B4(e){let o=b.useContext(wl);return pt(o,Rg(e)),o}function _4(e){let o=b.useContext(Cd);return pt(o,Rg(e)),o}function z4(e){let o=b.useContext(wr);return pt(o,Rg(e)),o}function Ag(e){let o=z4(e),n=o.matches[o.matches.length-1];return pt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function C4(){return Ag("useRouteId")}function N4(){var a;let e=b.useContext(jg),o=_4("useRouteError"),n=Ag("useRouteError");return e!==void 0?e:(a=o.errors)==null?void 0:a[n]}function T4(){let{router:e}=B4("useNavigate"),o=Ag("useNavigate"),n=b.useRef(!1);return m2(()=>{n.current=!0}),b.useCallback(async(l,c={})=>{mr(n.current,g2),n.current&&(typeof l=="number"?await e.navigate(l):await e.navigate(l,{fromRouteId:o,...c}))},[e,o])}var Y1={};function y2(e,o,n){!o&&!Y1[e]&&(Y1[e]=!0,mr(!1,n))}b.memo(E4);function E4({routes:e,manifest:o,future:n,state:a,isStatic:l,onError:c}){return v2(e,void 0,{manifest:o,state:a,isStatic:l,onError:c})}function j4({to:e,replace:o,state:n,relative:a}){pt(Sl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=b.useContext(Mo);mr(!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(wr),{pathname:u}=nr(),d=nc(),h=zd(e,Eg(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 Gi(e){pt(!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 R4({basename:e="/",children:o=null,location:n,navigationType:a="POP",navigator:l,static:c=!1,useTransitions:u}){pt(!Sl(),"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=xl(n));let{pathname:p="/",search:v="",hash:m="",state:w=null,key:B="default",mask:k}=n,x=b.useMemo(()=>{let C=mn(p,d);return C==null?null:{location:{pathname:C,search:v,hash:m,state:w,key:B,mask:k},navigationType:a}},[d,p,v,m,w,B,a,k]);return mr(x!=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.`),x==null?null:b.createElement(Mo.Provider,{value:h},b.createElement(rc.Provider,{children:o,value:x}))}function A4({children:e,location:o}){return b4(Wp(e),o)}function Wp(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,Wp(a.props.children,c));return}pt(a.type===Gi,`[${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>`),pt(!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=Wp(a.props.children,c)),n.push(u)}),n}var Ku="get",Qu="application/x-www-form-urlencoded";function Nd(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function D4(e){return Nd(e)&&e.tagName.toLowerCase()==="button"}function M4(e){return Nd(e)&&e.tagName.toLowerCase()==="form"}function O4(e){return Nd(e)&&e.tagName.toLowerCase()==="input"}function F4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function q4(e,o){return e.button===0&&(!o||o==="_self")&&!F4(e)}var Mu=null;function H4(){if(Mu===null)try{new FormData(document.createElement("form"),0),Mu=!1}catch{Mu=!0}return Mu}var P4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function xp(e){return e!=null&&!P4.has(e)?(mr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Qu}"`),null):e}function I4(e,o){let n,a,l,c,u;if(M4(e)){let d=e.getAttribute("action");a=d?mn(d,o):null,n=e.getAttribute("method")||Ku,l=xp(e.getAttribute("enctype"))||Qu,c=new FormData(e)}else if(D4(e)||O4(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?mn(h,o):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||Ku,l=xp(e.getAttribute("formenctype"))||xp(d.getAttribute("enctype"))||Qu,c=new FormData(d,e),!H4()){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(Nd(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ku,a=null,l=Qu,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 Dg(e,o){if(e===!1||e===null||typeof e>"u")throw new Error(o)}function x2(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&&mn(l.pathname,o)==="/"?l.pathname=`${id(o)}/_root.${a}`:l.pathname=`${id(l.pathname)}.${a}`,l}async function L4(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 U4(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 V4(e,o,n){let a=await Promise.all(e.map(async l=>{let c=o.routes[l.route.id];if(c){let u=await L4(c,n);return u.links?u.links():[]}return[]}));return $4(a.flat(1).filter(U4).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function J1(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 G4(e,o,{includeHydrateFallback:n}={}){return W4(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 W4(e){return[...new Set(e)]}function X4(e){let o={},n=Object.keys(e).sort();for(let a of n)o[a]=e[a];return o}function $4(e,o){let n=new Set;return new Set(o),e.reduce((a,l)=>{let c=JSON.stringify(X4(l));return n.has(c)||(n.add(c),a.push({key:c,link:l})),a},[])}function Mg(){let e=b.useContext(wl);return Dg(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function K4(){let e=b.useContext(Cd);return Dg(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Og=b.createContext(void 0);Og.displayName="FrameworkContext";function Fg(){let e=b.useContext(Og);return Dg(e,"You must render this element inside a <HydratedRouter> element"),e}function Q4(e,o){let n=b.useContext(Og),[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 x=_=>{_.forEach(j=>{u(j.isIntersecting)})},C=new IntersectionObserver(x,{threshold:.5});return w.current&&C.observe(w.current),()=>{C.disconnect()}}},[e]),b.useEffect(()=>{if(a){let x=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(x)}}},[a]);let B=()=>{l(!0)},k=()=>{l(!1),u(!1)};return n?e!=="intent"?[c,w,{}]:[c,w,{onFocus:js(d,B),onBlur:js(h,k),onMouseEnter:js(p,B),onMouseLeave:js(v,k),onTouchStart:js(m,B)}]:[!1,w,{}]}function js(e,o){return n=>{e&&e(n),n.defaultPrevented||o(n)}}function Z4({page:e,...o}){let n=s4(),{router:a}=Mg(),l=b.useMemo(()=>a2(a.routes,e,a.basename),[a.routes,e,a.basename]);return l?n?b.createElement(J4,{page:e,matches:l,...o}):b.createElement(e_,{page:e,matches:l,...o}):null}function Y4(e){let{manifest:o,routeModules:n}=Fg(),[a,l]=b.useState([]);return b.useEffect(()=>{let c=!1;return V4(e,o,n).then(u=>{c||l(u)}),()=>{c=!0}},[e,o,n]),a}function J4({page:e,matches:o,...n}){let a=nr(),{future:l}=Fg(),{basename:c}=Mg(),u=b.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let d=x2(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 e_({page:e,matches:o,...n}){let a=nr(),{future:l,manifest:c,routeModules:u}=Fg(),{basename:d}=Mg(),{loaderData:h,matches:p}=K4(),v=b.useMemo(()=>J1(e,o,p,c,a,"data"),[e,o,p,c,a]),m=b.useMemo(()=>J1(e,o,p,c,a,"assets"),[e,o,p,c,a]),w=b.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let x=new Set,C=!1;if(o.forEach(j=>{var T;let z=c.routes[j.route.id];!z||!z.hasLoader||(!v.some(E=>E.route.id===j.route.id)&&j.route.id in h&&((T=u[j.route.id])!=null&&T.shouldRevalidate)||z.hasClientLoader?C=!0:x.add(j.route.id))}),x.size===0)return[];let _=x2(e,d,l.unstable_trailingSlashAwareDataRequests,"data");return C&&x.size>0&&_.searchParams.set("_routes",o.filter(j=>x.has(j.route.id)).map(j=>j.route.id).join(",")),[_.pathname+_.search]},[d,l.unstable_trailingSlashAwareDataRequests,h,a,c,v,o,e,u]),B=b.useMemo(()=>G4(m,c),[m,c]),k=Y4(m);return b.createElement(b.Fragment,null,w.map(x=>b.createElement("link",{key:x,rel:"prefetch",as:"fetch",href:x,...n})),B.map(x=>b.createElement("link",{key:x,rel:"modulepreload",href:x,...n})),k.map(({key:x,link:C})=>b.createElement("link",{key:x,nonce:n.nonce,...C,crossOrigin:C.crossOrigin??n.crossOrigin})))}function t_(...e){return o=>{e.forEach(n=>{typeof n=="function"?n(o):n!=null&&(n.current=o)})}}var o_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{o_&&(window.__reactRouterVersion="7.15.0")}catch{}function r_({basename:e,children:o,useTransitions:n,window:a}){let l=b.useRef();l.current==null&&(l.current=DB({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(R4,{basename:e,children:o,location:u.location,navigationType:u.action,navigator:c,useTransitions:n})}var w2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,un=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:B,...k},x){let{basename:C,navigator:_,useTransitions:j}=b.useContext(Mo),z=typeof v=="string"&&w2.test(v),T=u2(v,C);v=T.to;let E=g4(v,{relative:l}),R=nr(),F=null;if(d){let Q=zd(d,[],R.mask?R.mask.pathname:"/",!0);C!=="/"&&(Q.pathname=Q.pathname==="/"?C:pr([C,Q.pathname])),F=_.createHref(Q)}let[O,X,ee]=Q4(a,k),he=l_(v,{replace:u,mask:d,state:h,target:p,preventScrollReset:m,relative:l,viewTransition:w,defaultShouldRevalidate:B,useTransitions:j});function ie(Q){o&&o(Q),Q.defaultPrevented||he(Q)}let ue=!(T.isExternal||c),le=b.createElement("a",{...k,...ee,href:(ue?F:void 0)||T.absoluteURL||E,onClick:ue?ie:o,ref:t_(x,X),target:p,"data-discover":!z&&n==="render"?"true":void 0});return O&&!z?b.createElement(b.Fragment,null,le,b.createElement(Z4,{page:E})):le});un.displayName="Link";var n_=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=ac(u,{relative:p.relative}),w=nr(),B=b.useContext(Cd),{navigator:k,basename:x}=b.useContext(Mo),C=B!=null&&f_(m)&&d===!0,_=k.encodeLocation?k.encodeLocation(m).pathname:m.pathname,j=w.pathname,z=B&&B.navigation&&B.navigation.location?B.navigation.location.pathname:null;n||(j=j.toLowerCase(),z=z?z.toLowerCase():null,_=_.toLowerCase()),z&&x&&(z=mn(z,x)||z);const T=_!=="/"&&_.endsWith("/")?_.length-1:_.length;let E=j===_||!l&&j.startsWith(_)&&j.charAt(T)==="/",R=z!=null&&(z===_||!l&&z.startsWith(_)&&z.charAt(_.length)==="/"),F={isActive:E,isPending:R,isTransitioning:C},O=E?o:void 0,X;typeof a=="function"?X=a(F):X=[a,E?"active":null,R?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let ee=typeof c=="function"?c(F):c;return b.createElement(un,{...p,"aria-current":O,className:X,ref:v,style:ee,to:u,viewTransition:d},typeof h=="function"?h(F):h)});n_.displayName="NavLink";var a_=b.forwardRef(({discover:e="render",fetcherKey:o,navigate:n,reloadDocument:a,replace:l,state:c,method:u=Ku,action:d,onSubmit:h,relative:p,preventScrollReset:v,viewTransition:m,defaultShouldRevalidate:w,...B},k)=>{let{useTransitions:x}=b.useContext(Mo),C=u_(),_=d_(d,{relative:p}),j=u.toLowerCase()==="get"?"get":"post",z=typeof d=="string"&&w2.test(d),T=E=>{if(h&&h(E),E.defaultPrevented)return;E.preventDefault();let R=E.nativeEvent.submitter,F=(R==null?void 0:R.getAttribute("formmethod"))||u,O=()=>C(R||E.currentTarget,{fetcherKey:o,method:F,navigate:n,replace:l,state:c,relative:p,preventScrollReset:v,viewTransition:m,defaultShouldRevalidate:w});x&&n!==!1?b.startTransition(()=>O()):O()};return b.createElement("form",{ref:k,method:j,action:_,onSubmit:a?h:T,...B,"data-discover":!z&&e==="render"?"true":void 0})});a_.displayName="Form";function i_(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function S2(e){let o=b.useContext(wl);return pt(o,i_(e)),o}function l_(e,{target:o,replace:n,mask:a,state:l,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:h,useTransitions:p}={}){let v=nc(),m=nr(),w=ac(e,{relative:u});return b.useCallback(B=>{if(q4(B,o)){B.preventDefault();let k=n!==void 0?n:Hs(m)===Hs(w),x=()=>v(e,{replace:k,mask:a,state:l,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:h});p?b.startTransition(()=>x()):x()}},[m,v,w,n,a,l,o,e,c,u,d,h,p])}var s_=0,c_=()=>`__${String(++s_)}__`;function u_(){let{router:e}=S2("useSubmit"),{basename:o}=b.useContext(Mo),n=C4(),a=e.fetch,l=e.navigate;return b.useCallback(async(c,u={})=>{let{action:d,method:h,encType:p,formData:v,body:m}=I4(c,o);if(u.navigate===!1){let w=u.fetcherKey||c_();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 d_(e,{relative:o}={}){let{basename:n}=b.useContext(Mo),a=b.useContext(wr);pt(a,"useFormAction must be used inside a RouteContext");let[l]=a.matches.slice(-1),c={...ac(e||".",{relative:o})},u=nr();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:pr([n,c.pathname])),Hs(c)}function f_(e,{relative:o}={}){let n=b.useContext(h2);pt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=S2("useViewTransitionState"),l=ac(e,{relative:o});if(!n.isTransitioning)return!1;let c=mn(n.currentLocation.pathname,a)||n.currentLocation.pathname,u=mn(n.nextLocation.pathname,a)||n.nextLocation.pathname;return ad(l.pathname,u)!=null||ad(l.pathname,c)!=null}var Xp=n2(),kl=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(){}},Fa,Yn,tl,Vx,h_=(Vx=class extends kl{constructor(){super();xe(this,Fa);xe(this,Yn);xe(this,tl);pe(this,tl,o=>{if(typeof window<"u"&&window.addEventListener){const n=()=>o();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){M(this,Yn)||this.setEventListener(M(this,tl))}onUnsubscribe(){var o;this.hasListeners()||((o=M(this,Yn))==null||o.call(this),pe(this,Yn,void 0))}setEventListener(o){var n;pe(this,tl,o),(n=M(this,Yn))==null||n.call(this),pe(this,Yn,o(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(o){M(this,Fa)!==o&&(pe(this,Fa,o),this.onFocus())}onFocus(){const o=this.isFocused();this.listeners.forEach(n=>{n(o)})}isFocused(){var o;return typeof M(this,Fa)=="boolean"?M(this,Fa):((o=globalThis.document)==null?void 0:o.visibilityState)!=="hidden"}},Fa=new WeakMap,Yn=new WeakMap,tl=new WeakMap,Vx),qg=new h_,p_={setTimeout:(e,o)=>setTimeout(e,o),clearTimeout:e=>clearTimeout(e),setInterval:(e,o)=>setInterval(e,o),clearInterval:e=>clearInterval(e)},Jn,Tg,Gx,g_=(Gx=class{constructor(){xe(this,Jn,p_);xe(this,Tg,!1)}setTimeoutProvider(e){pe(this,Jn,e)}setTimeout(e,o){return M(this,Jn).setTimeout(e,o)}clearTimeout(e){M(this,Jn).clearTimeout(e)}setInterval(e,o){return M(this,Jn).setInterval(e,o)}clearInterval(e){M(this,Jn).clearInterval(e)}},Jn=new WeakMap,Tg=new WeakMap,Gx),Ma=new g_;function m_(e){setTimeout(e,0)}var v_=typeof window>"u"||"Deno"in globalThis;function oo(){}function b_(e,o){return typeof e=="function"?e(o):e}function $p(e){return typeof e=="number"&&e>=0&&e!==1/0}function k2(e,o){return Math.max(e+(o||0)-Date.now(),0)}function sa(e,o){return typeof e=="function"?e(o):e}function No(e,o){return typeof e=="function"?e(o):e}function ey(e,o){const{type:n="all",exact:a,fetchStatus:l,predicate:c,queryKey:u,stale:d}=e;if(u){if(a){if(o.queryHash!==Hg(u,o.options))return!1}else if(!Ps(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 ty(e,o){const{exact:n,status:a,predicate:l,mutationKey:c}=e;if(c){if(!o.options.mutationKey)return!1;if(n){if($a(o.options.mutationKey)!==$a(c))return!1}else if(!Ps(o.options.mutationKey,c))return!1}return!(a&&o.state.status!==a||l&&!l(o))}function Hg(e,o){return((o==null?void 0:o.queryKeyHashFn)||$a)(e)}function $a(e){return JSON.stringify(e,(o,n)=>Kp(n)?Object.keys(n).sort().reduce((a,l)=>(a[l]=n[l],a),{}):n)}function Ps(e,o){return e===o?!0:typeof e!=typeof o?!1:e&&o&&typeof e=="object"&&typeof o=="object"?Object.keys(o).every(n=>Ps(e[n],o[n])):!1}var y_=Object.prototype.hasOwnProperty;function B2(e,o,n=0){if(e===o)return e;if(n>500)return o;const a=oy(e)&&oy(o);if(!a&&!(Kp(e)&&Kp(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],B=o[m];if(w===B){h[m]=w,(a?v<c:y_.call(e,m))&&p++;continue}if(w===null||B===null||typeof w!="object"||typeof B!="object"){h[m]=B;continue}const k=B2(w,B,n+1);h[m]=k,k===w&&p++}return c===d&&p===c?e:h}function ld(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 oy(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Kp(e){if(!ry(e))return!1;const o=e.constructor;if(o===void 0)return!0;const n=o.prototype;return!(!ry(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function ry(e){return Object.prototype.toString.call(e)==="[object Object]"}function x_(e){return new Promise(o=>{Ma.setTimeout(o,e)})}function Qp(e,o,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,o):n.structuralSharing!==!1?B2(e,o):o}function w_(e,o,n=0){const a=[...e,o];return n&&a.length>n?a.slice(1):a}function S_(e,o,n=0){const a=[o,...e];return n&&a.length>n?a.slice(0,-1):a}var Pg=Symbol();function _2(e,o){return!e.queryFn&&(o!=null&&o.initialPromise)?()=>o.initialPromise:!e.queryFn||e.queryFn===Pg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Ig(e,o){return typeof e=="function"?e(...o):!!e}function k_(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 Is=(()=>{let e=()=>v_;return{isServer(){return e()},setIsServer(o){e=o}}})();function Zp(){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 B_=m_;function __(){let e=[],o=0,n=d=>{d()},a=d=>{d()},l=B_;const c=d=>{o?e.push(d):l(()=>{n(d)})},u=()=>{const d=e;e=[],d.length&&l(()=>{a(()=>{d.forEach(h=>{n(h)})})})};return{batch:d=>{let h;o++;try{h=d()}finally{o--,o||u()}return h},batchCalls:d=>(...h)=>{c(()=>{d(...h)})},schedule:c,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{a=d},setScheduler:d=>{l=d}}}var At=__(),ol,ea,rl,Wx,z_=(Wx=class extends kl{constructor(){super();xe(this,ol,!0);xe(this,ea);xe(this,rl);pe(this,rl,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(){M(this,ea)||this.setEventListener(M(this,rl))}onUnsubscribe(){var o;this.hasListeners()||((o=M(this,ea))==null||o.call(this),pe(this,ea,void 0))}setEventListener(o){var n;pe(this,rl,o),(n=M(this,ea))==null||n.call(this),pe(this,ea,o(this.setOnline.bind(this)))}setOnline(o){M(this,ol)!==o&&(pe(this,ol,o),this.listeners.forEach(a=>{a(o)}))}isOnline(){return M(this,ol)}},ol=new WeakMap,ea=new WeakMap,rl=new WeakMap,Wx),sd=new z_;function C_(e){return Math.min(1e3*2**e,3e4)}function z2(e){return(e??"online")==="online"?sd.isOnline():!0}var Yp=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function C2(e){let o=!1,n=0,a;const l=Zp(),c=()=>l.status!=="pending",u=x=>{var C;if(!c()){const _=new Yp(x);w(_),(C=e.onCancel)==null||C.call(e,_)}},d=()=>{o=!0},h=()=>{o=!1},p=()=>qg.isFocused()&&(e.networkMode==="always"||sd.isOnline())&&e.canRun(),v=()=>z2(e.networkMode)&&e.canRun(),m=x=>{c()||(a==null||a(),l.resolve(x))},w=x=>{c()||(a==null||a(),l.reject(x))},B=()=>new Promise(x=>{var C;a=_=>{(c()||p())&&x(_)},(C=e.onPause)==null||C.call(e)}).then(()=>{var x;a=void 0,c()||(x=e.onContinue)==null||x.call(e)}),k=()=>{if(c())return;let x;const C=n===0?e.initialPromise:void 0;try{x=C??e.fn()}catch(_){x=Promise.reject(_)}Promise.resolve(x).then(m).catch(_=>{var R;if(c())return;const j=e.retry??(Is.isServer()?0:3),z=e.retryDelay??C_,T=typeof z=="function"?z(n,_):z,E=j===!0||typeof j=="number"&&n<j||typeof j=="function"&&j(n,_);if(o||!E){w(_);return}n++,(R=e.onFail)==null||R.call(e,n,_),x_(T).then(()=>p()?void 0:B()).then(()=>{o?w(_):k()})})};return{promise:l,status:()=>l.status,cancel:u,continue:()=>(a==null||a(),l),cancelRetry:d,continueRetry:h,canStart:v,start:()=>(v()?k():B().then(k),l)}}var qa,Xx,N2=(Xx=class{constructor(){xe(this,qa)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$p(this.gcTime)&&pe(this,qa,Ma.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Is.isServer()?1/0:300*1e3))}clearGcTimeout(){M(this,qa)!==void 0&&(Ma.clearTimeout(M(this,qa)),pe(this,qa,void 0))}},qa=new WeakMap,Xx);function N_(e){return{onFetch:(o,n)=>{var v,m,w,B,k;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=((B=o.state.data)==null?void 0:B.pages)||[],u=((k=o.state.data)==null?void 0:k.pageParams)||[];let d={pages:[],pageParams:[]},h=0;const p=async()=>{let x=!1;const C=z=>{k_(z,()=>o.signal,()=>x=!0)},_=_2(o.options,o.fetchOptions),j=async(z,T,E)=>{if(x)return Promise.reject(o.signal.reason);if(T==null&&z.pages.length)return Promise.resolve(z);const F=(()=>{const he={client:o.client,queryKey:o.queryKey,pageParam:T,direction:E?"backward":"forward",meta:o.options.meta};return C(he),he})(),O=await _(F),{maxPages:X}=o.options,ee=E?S_:w_;return{pages:ee(z.pages,O,X),pageParams:ee(z.pageParams,T,X)}};if(l&&c.length){const z=l==="backward",T=z?T_:ny,E={pages:c,pageParams:u},R=T(a,E);d=await j(E,R,z)}else{const z=e??c.length;do{const T=h===0?u[0]??a.initialPageParam:ny(a,d);if(h>0&&T==null)break;d=await j(d,T),h++}while(h<z)}return d};o.options.persister?o.fetchFn=()=>{var x,C;return(C=(x=o.options).persister)==null?void 0:C.call(x,p,{client:o.client,queryKey:o.queryKey,meta:o.options.meta,signal:o.signal},n)}:o.fetchFn=p}}}function ny(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 T_(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 nl,Ha,al,$o,Pa,Ht,Ys,Ia,Co,T2,nn,$x,E_=($x=class extends N2{constructor(o){super();xe(this,Co);xe(this,nl);xe(this,Ha);xe(this,al);xe(this,$o);xe(this,Pa);xe(this,Ht);xe(this,Ys);xe(this,Ia);pe(this,Ia,!1),pe(this,Ys,o.defaultOptions),this.setOptions(o.options),this.observers=[],pe(this,Pa,o.client),pe(this,$o,M(this,Pa).getQueryCache()),this.queryKey=o.queryKey,this.queryHash=o.queryHash,pe(this,Ha,iy(this.options)),this.state=o.state??M(this,Ha),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return M(this,nl)}get promise(){var o;return(o=M(this,Ht))==null?void 0:o.promise}setOptions(o){if(this.options={...M(this,Ys),...o},o!=null&&o._type&&pe(this,nl,o._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=iy(this.options);n.data!==void 0&&(this.setState(ay(n.data,n.dataUpdatedAt)),pe(this,Ha,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&M(this,$o).remove(this)}setData(o,n){const a=Qp(this.state.data,o,this.options);return Re(this,Co,nn).call(this,{data:a,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),a}setState(o){Re(this,Co,nn).call(this,{type:"setState",state:o})}cancel(o){var a,l;const n=(a=M(this,Ht))==null?void 0:a.promise;return(l=M(this,Ht))==null||l.cancel(o),n?n.then(oo).catch(oo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return M(this,Ha)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(o=>No(o.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Pg||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(o=>sa(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:!k2(this.state.dataUpdatedAt,o)}onFocus(){var n;const o=this.observers.find(a=>a.shouldFetchOnWindowFocus());o==null||o.refetch({cancelRefetch:!1}),(n=M(this,Ht))==null||n.continue()}onOnline(){var n;const o=this.observers.find(a=>a.shouldFetchOnReconnect());o==null||o.refetch({cancelRefetch:!1}),(n=M(this,Ht))==null||n.continue()}addObserver(o){this.observers.includes(o)||(this.observers.push(o),this.clearGcTimeout(),M(this,$o).notify({type:"observerAdded",query:this,observer:o}))}removeObserver(o){this.observers.includes(o)&&(this.observers=this.observers.filter(n=>n!==o),this.observers.length||(M(this,Ht)&&(M(this,Ia)||Re(this,Co,T2).call(this)?M(this,Ht).cancel({revert:!0}):M(this,Ht).cancelRetry()),this.scheduleGc()),M(this,$o).notify({type:"observerRemoved",query:this,observer:o}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Re(this,Co,nn).call(this,{type:"invalidate"})}async fetch(o,n){var p,v,m,w,B,k,x,C,_,j,z;if(this.state.fetchStatus!=="idle"&&((p=M(this,Ht))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(M(this,Ht))return M(this,Ht).continueRetry(),M(this,Ht).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:()=>(pe(this,Ia,!0),a.signal)})},c=()=>{const T=_2(this.options,n),R=(()=>{const F={client:M(this,Pa),queryKey:this.queryKey,meta:this.meta};return l(F),F})();return pe(this,Ia,!1),this.options.persister?this.options.persister(T,R,this):T(R)},d=(()=>{const T={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:M(this,Pa),state:this.state,fetchFn:c};return l(T),T})(),h=M(this,nl)==="infinite"?N_(this.options.pages):this.options.behavior;h==null||h.onFetch(d,this),pe(this,al,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=d.fetchOptions)==null?void 0:v.meta))&&Re(this,Co,nn).call(this,{type:"fetch",meta:(m=d.fetchOptions)==null?void 0:m.meta}),pe(this,Ht,C2({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:T=>{T instanceof Yp&&T.revert&&this.setState({...M(this,al),fetchStatus:"idle"}),a.abort()},onFail:(T,E)=>{Re(this,Co,nn).call(this,{type:"failed",failureCount:T,error:E})},onPause:()=>{Re(this,Co,nn).call(this,{type:"pause"})},onContinue:()=>{Re(this,Co,nn).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const T=await M(this,Ht).start();if(T===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(T),(B=(w=M(this,$o).config).onSuccess)==null||B.call(w,T,this),(x=(k=M(this,$o).config).onSettled)==null||x.call(k,T,this.state.error,this),T}catch(T){if(T instanceof Yp){if(T.silent)return M(this,Ht).promise;if(T.revert){if(this.state.data===void 0)throw T;return this.state.data}}throw Re(this,Co,nn).call(this,{type:"error",error:T}),(_=(C=M(this,$o).config).onError)==null||_.call(C,T,this),(z=(j=M(this,$o).config).onSettled)==null||z.call(j,this.state.data,T,this),T}finally{this.scheduleGc()}}},nl=new WeakMap,Ha=new WeakMap,al=new WeakMap,$o=new WeakMap,Pa=new WeakMap,Ht=new WeakMap,Ys=new WeakMap,Ia=new WeakMap,Co=new WeakSet,T2=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},nn=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,...E2(a.data,this.options),fetchMeta:o.meta??null};case"success":const l={...a,...ay(o.data,o.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!o.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return pe(this,al,o.manual?l:void 0),l;case"error":const c=o.error;return{...a,error:c,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...o.state}}};this.state=n(this.state),At.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),M(this,$o).notify({query:this,type:"updated",action:o})})},$x);function E2(e,o){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:z2(o.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ay(e,o){return{data:e,dataUpdatedAt:o??Date.now(),error:null,isInvalidated:!1,status:"success"}}function iy(e){const o=typeof e.initialData=="function"?e.initialData():e.initialData,n=o!==void 0,a=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:o,dataUpdateCount:0,dataUpdatedAt:n?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var ho,Ue,Js,to,La,il,an,ta,ec,ll,sl,Ua,Va,oa,cl,Ze,Ms,Jp,eg,tg,og,rg,ng,ag,j2,Kx,j_=(Kx=class extends kl{constructor(o,n){super();xe(this,Ze);xe(this,ho);xe(this,Ue);xe(this,Js);xe(this,to);xe(this,La);xe(this,il);xe(this,an);xe(this,ta);xe(this,ec);xe(this,ll);xe(this,sl);xe(this,Ua);xe(this,Va);xe(this,oa);xe(this,cl,new Set);this.options=n,pe(this,ho,o),pe(this,ta,null),pe(this,an,Zp()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(M(this,Ue).addObserver(this),ly(M(this,Ue),this.options)?Re(this,Ze,Ms).call(this):this.updateResult(),Re(this,Ze,og).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ig(M(this,Ue),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ig(M(this,Ue),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Re(this,Ze,rg).call(this),Re(this,Ze,ng).call(this),M(this,Ue).removeObserver(this)}setOptions(o){const n=this.options,a=M(this,Ue);if(this.options=M(this,ho).defaultQueryOptions(o),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof No(this.options.enabled,M(this,Ue))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Re(this,Ze,ag).call(this),M(this,Ue).setOptions(this.options),n._defaulted&&!ld(this.options,n)&&M(this,ho).getQueryCache().notify({type:"observerOptionsUpdated",query:M(this,Ue),observer:this});const l=this.hasListeners();l&&sy(M(this,Ue),a,this.options,n)&&Re(this,Ze,Ms).call(this),this.updateResult(),l&&(M(this,Ue)!==a||No(this.options.enabled,M(this,Ue))!==No(n.enabled,M(this,Ue))||sa(this.options.staleTime,M(this,Ue))!==sa(n.staleTime,M(this,Ue)))&&Re(this,Ze,Jp).call(this);const c=Re(this,Ze,eg).call(this);l&&(M(this,Ue)!==a||No(this.options.enabled,M(this,Ue))!==No(n.enabled,M(this,Ue))||c!==M(this,oa))&&Re(this,Ze,tg).call(this,c)}getOptimisticResult(o){const n=M(this,ho).getQueryCache().build(M(this,ho),o),a=this.createResult(n,o);return A_(this,a)&&(pe(this,to,a),pe(this,il,this.options),pe(this,La,M(this,Ue).state)),a}getCurrentResult(){return M(this,to)}trackResult(o,n){return new Proxy(o,{get:(a,l)=>(this.trackProp(l),n==null||n(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&M(this,an).status==="pending"&&M(this,an).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,l))})}trackProp(o){M(this,cl).add(o)}getCurrentQuery(){return M(this,Ue)}refetch({...o}={}){return this.fetch({...o})}fetchOptimistic(o){const n=M(this,ho).defaultQueryOptions(o),a=M(this,ho).getQueryCache().build(M(this,ho),n);return a.fetch().then(()=>this.createResult(a,n))}fetch(o){return Re(this,Ze,Ms).call(this,{...o,cancelRefetch:o.cancelRefetch??!0}).then(()=>(this.updateResult(),M(this,to)))}createResult(o,n){var X;const a=M(this,Ue),l=this.options,c=M(this,to),u=M(this,La),d=M(this,il),p=o!==a?o.state:M(this,Js),{state:v}=o;let m={...v},w=!1,B;if(n._optimisticResults){const ee=this.hasListeners(),he=!ee&&ly(o,n),ie=ee&&sy(o,a,n,l);(he||ie)&&(m={...m,...E2(v.data,o.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:k,errorUpdatedAt:x,status:C}=m;B=m.data;let _=!1;if(n.placeholderData!==void 0&&B===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((X=M(this,sl))==null?void 0:X.state.data,M(this,sl)):n.placeholderData,ee!==void 0&&(C="success",B=Qp(c==null?void 0:c.data,ee,n),w=!0)}if(n.select&&B!==void 0&&!_)if(c&&B===(u==null?void 0:u.data)&&n.select===M(this,ec))B=M(this,ll);else try{pe(this,ec,n.select),B=n.select(B),B=Qp(c==null?void 0:c.data,B,n),pe(this,ll,B),pe(this,ta,null)}catch(ee){pe(this,ta,ee)}M(this,ta)&&(k=M(this,ta),B=M(this,ll),x=Date.now(),C="error");const j=m.fetchStatus==="fetching",z=C==="pending",T=C==="error",E=z&&j,R=B!==void 0,O={status:C,fetchStatus:m.fetchStatus,isPending:z,isSuccess:C==="success",isError:T,isInitialLoading:E,isLoading:E,data:B,dataUpdatedAt:m.dataUpdatedAt,error:k,errorUpdatedAt:x,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:o.isFetched(),isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:j,isRefetching:j&&!z,isLoadingError:T&&!R,isPaused:m.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:T&&R,isStale:Lg(o,n),refetch:this.refetch,promise:M(this,an),isEnabled:No(n.enabled,o)!==!1};if(this.options.experimental_prefetchInRender){const ee=O.data!==void 0,he=O.status==="error"&&!ee,ie=Q=>{he?Q.reject(O.error):ee&&Q.resolve(O.data)},ue=()=>{const Q=pe(this,an,O.promise=Zp());ie(Q)},le=M(this,an);switch(le.status){case"pending":o.queryHash===a.queryHash&&ie(le);break;case"fulfilled":(he||O.data!==le.value)&&ue();break;case"rejected":(!he||O.error!==le.reason)&&ue();break}}return O}updateResult(){const o=M(this,to),n=this.createResult(M(this,Ue),this.options);if(pe(this,La,M(this,Ue).state),pe(this,il,this.options),M(this,La).data!==void 0&&pe(this,sl,M(this,Ue)),ld(n,o))return;pe(this,to,n);const a=()=>{if(!o)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!M(this,cl).size)return!0;const u=new Set(c??M(this,cl));return this.options.throwOnError&&u.add("error"),Object.keys(M(this,to)).some(d=>{const h=d;return M(this,to)[h]!==o[h]&&u.has(h)})};Re(this,Ze,j2).call(this,{listeners:a()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Re(this,Ze,og).call(this)}},ho=new WeakMap,Ue=new WeakMap,Js=new WeakMap,to=new WeakMap,La=new WeakMap,il=new WeakMap,an=new WeakMap,ta=new WeakMap,ec=new WeakMap,ll=new WeakMap,sl=new WeakMap,Ua=new WeakMap,Va=new WeakMap,oa=new WeakMap,cl=new WeakMap,Ze=new WeakSet,Ms=function(o){Re(this,Ze,ag).call(this);let n=M(this,Ue).fetch(this.options,o);return o!=null&&o.throwOnError||(n=n.catch(oo)),n},Jp=function(){Re(this,Ze,rg).call(this);const o=sa(this.options.staleTime,M(this,Ue));if(Is.isServer()||M(this,to).isStale||!$p(o))return;const a=k2(M(this,to).dataUpdatedAt,o)+1;pe(this,Ua,Ma.setTimeout(()=>{M(this,to).isStale||this.updateResult()},a))},eg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(M(this,Ue)):this.options.refetchInterval)??!1},tg=function(o){Re(this,Ze,ng).call(this),pe(this,oa,o),!(Is.isServer()||No(this.options.enabled,M(this,Ue))===!1||!$p(M(this,oa))||M(this,oa)===0)&&pe(this,Va,Ma.setInterval(()=>{(this.options.refetchIntervalInBackground||qg.isFocused())&&Re(this,Ze,Ms).call(this)},M(this,oa)))},og=function(){Re(this,Ze,Jp).call(this),Re(this,Ze,tg).call(this,Re(this,Ze,eg).call(this))},rg=function(){M(this,Ua)!==void 0&&(Ma.clearTimeout(M(this,Ua)),pe(this,Ua,void 0))},ng=function(){M(this,Va)!==void 0&&(Ma.clearInterval(M(this,Va)),pe(this,Va,void 0))},ag=function(){const o=M(this,ho).getQueryCache().build(M(this,ho),this.options);if(o===M(this,Ue))return;const n=M(this,Ue);pe(this,Ue,o),pe(this,Js,o.state),this.hasListeners()&&(n==null||n.removeObserver(this),o.addObserver(this))},j2=function(o){At.batch(()=>{o.listeners&&this.listeners.forEach(n=>{n(M(this,to))}),M(this,ho).getQueryCache().notify({query:M(this,Ue),type:"observerResultsUpdated"})})},Kx);function R_(e,o){return No(o.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&No(o.retryOnMount,e)===!1)}function ly(e,o){return R_(e,o)||e.state.data!==void 0&&ig(e,o,o.refetchOnMount)}function ig(e,o,n){if(No(o.enabled,e)!==!1&&sa(o.staleTime,e)!=="static"){const a=typeof n=="function"?n(e):n;return a==="always"||a!==!1&&Lg(e,o)}return!1}function sy(e,o,n,a){return(e!==o||No(a.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Lg(e,n)}function Lg(e,o){return No(o.enabled,e)!==!1&&e.isStaleByTime(sa(o.staleTime,e))}function A_(e,o){return!ld(e.getCurrentResult(),o)}var tc,Er,$t,Ga,jr,Qn,Qx,D_=(Qx=class extends N2{constructor(o){super();xe(this,jr);xe(this,tc);xe(this,Er);xe(this,$t);xe(this,Ga);pe(this,tc,o.client),this.mutationId=o.mutationId,pe(this,$t,o.mutationCache),pe(this,Er,[]),this.state=o.state||R2(),this.setOptions(o.options),this.scheduleGc()}setOptions(o){this.options=o,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(o){M(this,Er).includes(o)||(M(this,Er).push(o),this.clearGcTimeout(),M(this,$t).notify({type:"observerAdded",mutation:this,observer:o}))}removeObserver(o){pe(this,Er,M(this,Er).filter(n=>n!==o)),this.scheduleGc(),M(this,$t).notify({type:"observerRemoved",mutation:this,observer:o})}optionalRemove(){M(this,Er).length||(this.state.status==="pending"?this.scheduleGc():M(this,$t).remove(this))}continue(){var o;return((o=M(this,Ga))==null?void 0:o.continue())??this.execute(this.state.variables)}async execute(o){var u,d,h,p,v,m,w,B,k,x,C,_,j,z,T,E,R,F;const n=()=>{Re(this,jr,Qn).call(this,{type:"continue"})},a={client:M(this,tc),meta:this.options.meta,mutationKey:this.options.mutationKey};pe(this,Ga,C2({fn:()=>this.options.mutationFn?this.options.mutationFn(o,a):Promise.reject(new Error("No mutationFn found")),onFail:(O,X)=>{Re(this,jr,Qn).call(this,{type:"failed",failureCount:O,error:X})},onPause:()=>{Re(this,jr,Qn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>M(this,$t).canRun(this)}));const l=this.state.status==="pending",c=!M(this,Ga).canStart();try{if(l)n();else{Re(this,jr,Qn).call(this,{type:"pending",variables:o,isPaused:c}),M(this,$t).config.onMutate&&await M(this,$t).config.onMutate(o,this,a);const X=await((d=(u=this.options).onMutate)==null?void 0:d.call(u,o,a));X!==this.state.context&&Re(this,jr,Qn).call(this,{type:"pending",context:X,variables:o,isPaused:c})}const O=await M(this,Ga).start();return await((p=(h=M(this,$t).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((B=(w=M(this,$t).config).onSettled)==null?void 0:B.call(w,O,null,this.state.variables,this.state.context,this,a)),await((x=(k=this.options).onSettled)==null?void 0:x.call(k,O,null,o,this.state.context,a)),Re(this,jr,Qn).call(this,{type:"success",data:O}),O}catch(O){try{await((_=(C=M(this,$t).config).onError)==null?void 0:_.call(C,O,o,this.state.context,this,a))}catch(X){Promise.reject(X)}try{await((z=(j=this.options).onError)==null?void 0:z.call(j,O,o,this.state.context,a))}catch(X){Promise.reject(X)}try{await((E=(T=M(this,$t).config).onSettled)==null?void 0:E.call(T,void 0,O,this.state.variables,this.state.context,this,a))}catch(X){Promise.reject(X)}try{await((F=(R=this.options).onSettled)==null?void 0:F.call(R,void 0,O,o,this.state.context,a))}catch(X){Promise.reject(X)}throw Re(this,jr,Qn).call(this,{type:"error",error:O}),O}finally{M(this,$t).runNext(this)}}},tc=new WeakMap,Er=new WeakMap,$t=new WeakMap,Ga=new WeakMap,jr=new WeakSet,Qn=function(o){const n=a=>{switch(o.type){case"failed":return{...a,failureCount:o.failureCount,failureReason:o.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:o.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:o.isPaused,status:"pending",variables:o.variables,submittedAt:Date.now()};case"success":return{...a,data:o.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:o.error,failureCount:a.failureCount+1,failureReason:o.error,isPaused:!1,status:"error"}}};this.state=n(this.state),At.batch(()=>{M(this,Er).forEach(a=>{a.onMutationUpdate(o)}),M(this,$t).notify({mutation:this,type:"updated",action:o})})},Qx);function R2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ln,dr,oc,Zx,M_=(Zx=class extends kl{constructor(o={}){super();xe(this,ln);xe(this,dr);xe(this,oc);this.config=o,pe(this,ln,new Set),pe(this,dr,new Map),pe(this,oc,0)}build(o,n,a){const l=new D_({client:o,mutationCache:this,mutationId:++Du(this,oc)._,options:o.defaultMutationOptions(n),state:a});return this.add(l),l}add(o){M(this,ln).add(o);const n=Ou(o);if(typeof n=="string"){const a=M(this,dr).get(n);a?a.push(o):M(this,dr).set(n,[o])}this.notify({type:"added",mutation:o})}remove(o){if(M(this,ln).delete(o)){const n=Ou(o);if(typeof n=="string"){const a=M(this,dr).get(n);if(a)if(a.length>1){const l=a.indexOf(o);l!==-1&&a.splice(l,1)}else a[0]===o&&M(this,dr).delete(n)}}this.notify({type:"removed",mutation:o})}canRun(o){const n=Ou(o);if(typeof n=="string"){const a=M(this,dr).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=Ou(o);if(typeof n=="string"){const l=(a=M(this,dr).get(n))==null?void 0:a.find(c=>c!==o&&c.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){At.batch(()=>{M(this,ln).forEach(o=>{this.notify({type:"removed",mutation:o})}),M(this,ln).clear(),M(this,dr).clear()})}getAll(){return Array.from(M(this,ln))}find(o){const n={exact:!0,...o};return this.getAll().find(a=>ty(n,a))}findAll(o={}){return this.getAll().filter(n=>ty(o,n))}notify(o){At.batch(()=>{this.listeners.forEach(n=>{n(o)})})}resumePausedMutations(){const o=this.getAll().filter(n=>n.state.isPaused);return At.batch(()=>Promise.all(o.map(n=>n.continue().catch(oo))))}},ln=new WeakMap,dr=new WeakMap,oc=new WeakMap,Zx);function Ou(e){var o;return(o=e.options.scope)==null?void 0:o.id}var sn,ra,po,cn,gn,Zu,lg,Yx,O_=(Yx=class extends kl{constructor(n,a){super();xe(this,gn);xe(this,sn);xe(this,ra);xe(this,po);xe(this,cn);pe(this,sn,n),this.setOptions(a),this.bindMethods(),Re(this,gn,Zu).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=M(this,sn).defaultMutationOptions(n),ld(this.options,a)||M(this,sn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:M(this,po),observer:this}),a!=null&&a.mutationKey&&this.options.mutationKey&&$a(a.mutationKey)!==$a(this.options.mutationKey)?this.reset():((l=M(this,po))==null?void 0:l.state.status)==="pending"&&M(this,po).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=M(this,po))==null||n.removeObserver(this)}onMutationUpdate(n){Re(this,gn,Zu).call(this),Re(this,gn,lg).call(this,n)}getCurrentResult(){return M(this,ra)}reset(){var n;(n=M(this,po))==null||n.removeObserver(this),pe(this,po,void 0),Re(this,gn,Zu).call(this),Re(this,gn,lg).call(this)}mutate(n,a){var l;return pe(this,cn,a),(l=M(this,po))==null||l.removeObserver(this),pe(this,po,M(this,sn).getMutationCache().build(M(this,sn),this.options)),M(this,po).addObserver(this),M(this,po).execute(n)}},sn=new WeakMap,ra=new WeakMap,po=new WeakMap,cn=new WeakMap,gn=new WeakSet,Zu=function(){var a;const n=((a=M(this,po))==null?void 0:a.state)??R2();pe(this,ra,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},lg=function(n){At.batch(()=>{var a,l,c,u,d,h,p,v;if(M(this,cn)&&this.hasListeners()){const m=M(this,ra).variables,w=M(this,ra).context,B={client:M(this,sn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((n==null?void 0:n.type)==="success"){try{(l=(a=M(this,cn)).onSuccess)==null||l.call(a,n.data,m,w,B)}catch(k){Promise.reject(k)}try{(u=(c=M(this,cn)).onSettled)==null||u.call(c,n.data,null,m,w,B)}catch(k){Promise.reject(k)}}else if((n==null?void 0:n.type)==="error"){try{(h=(d=M(this,cn)).onError)==null||h.call(d,n.error,m,w,B)}catch(k){Promise.reject(k)}try{(v=(p=M(this,cn)).onSettled)==null||v.call(p,void 0,n.error,m,w,B)}catch(k){Promise.reject(k)}}}this.listeners.forEach(m=>{m(M(this,ra))})})},Yx),Rr,Jx,F_=(Jx=class extends kl{constructor(o={}){super();xe(this,Rr);this.config=o,pe(this,Rr,new Map)}build(o,n,a){const l=n.queryKey,c=n.queryHash??Hg(l,n);let u=this.get(c);return u||(u=new E_({client:o,queryKey:l,queryHash:c,options:o.defaultQueryOptions(n),state:a,defaultOptions:o.getQueryDefaults(l)}),this.add(u)),u}add(o){M(this,Rr).has(o.queryHash)||(M(this,Rr).set(o.queryHash,o),this.notify({type:"added",query:o}))}remove(o){const n=M(this,Rr).get(o.queryHash);n&&(o.destroy(),n===o&&M(this,Rr).delete(o.queryHash),this.notify({type:"removed",query:o}))}clear(){At.batch(()=>{this.getAll().forEach(o=>{this.remove(o)})})}get(o){return M(this,Rr).get(o)}getAll(){return[...M(this,Rr).values()]}find(o){const n={exact:!0,...o};return this.getAll().find(a=>ey(n,a))}findAll(o={}){const n=this.getAll();return Object.keys(o).length>0?n.filter(a=>ey(o,a)):n}notify(o){At.batch(()=>{this.listeners.forEach(n=>{n(o)})})}onFocus(){At.batch(()=>{this.getAll().forEach(o=>{o.onFocus()})})}onOnline(){At.batch(()=>{this.getAll().forEach(o=>{o.onOnline()})})}},Rr=new WeakMap,Jx),yt,na,aa,ul,dl,ia,fl,hl,e2,q_=(e2=class{constructor(e={}){xe(this,yt);xe(this,na);xe(this,aa);xe(this,ul);xe(this,dl);xe(this,ia);xe(this,fl);xe(this,hl);pe(this,yt,e.queryCache||new F_),pe(this,na,e.mutationCache||new M_),pe(this,aa,e.defaultOptions||{}),pe(this,ul,new Map),pe(this,dl,new Map),pe(this,ia,0)}mount(){Du(this,ia)._++,M(this,ia)===1&&(pe(this,fl,qg.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,yt).onFocus())})),pe(this,hl,sd.subscribe(async e=>{e&&(await this.resumePausedMutations(),M(this,yt).onOnline())})))}unmount(){var e,o;Du(this,ia)._--,M(this,ia)===0&&((e=M(this,fl))==null||e.call(this),pe(this,fl,void 0),(o=M(this,hl))==null||o.call(this),pe(this,hl,void 0))}isFetching(e){return M(this,yt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return M(this,na).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const o=this.defaultQueryOptions({queryKey:e});return(n=M(this,yt).get(o.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const o=this.defaultQueryOptions(e),n=M(this,yt).build(this,o),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(sa(o.staleTime,n))&&this.prefetchQuery(o),Promise.resolve(a))}getQueriesData(e){return M(this,yt).findAll(e).map(({queryKey:o,state:n})=>{const a=n.data;return[o,a]})}setQueryData(e,o,n){const a=this.defaultQueryOptions({queryKey:e}),l=M(this,yt).get(a.queryHash),c=l==null?void 0:l.state.data,u=b_(o,c);if(u!==void 0)return M(this,yt).build(this,a).setData(u,{...n,manual:!0})}setQueriesData(e,o,n){return At.batch(()=>M(this,yt).findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,o,n)]))}getQueryState(e){var n;const o=this.defaultQueryOptions({queryKey:e});return(n=M(this,yt).get(o.queryHash))==null?void 0:n.state}removeQueries(e){const o=M(this,yt);At.batch(()=>{o.findAll(e).forEach(n=>{o.remove(n)})})}resetQueries(e,o){const n=M(this,yt);return At.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},o)))}cancelQueries(e,o={}){const n={revert:!0,...o},a=At.batch(()=>M(this,yt).findAll(e).map(l=>l.cancel(n)));return Promise.all(a).then(oo).catch(oo)}invalidateQueries(e,o={}){return At.batch(()=>(M(this,yt).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},o)))}refetchQueries(e,o={}){const n={...o,cancelRefetch:o.cancelRefetch??!0},a=At.batch(()=>M(this,yt).findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,n);return n.throwOnError||(c=c.catch(oo)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(a).then(oo)}fetchQuery(e){const o=this.defaultQueryOptions(e);o.retry===void 0&&(o.retry=!1);const n=M(this,yt).build(this,o);return n.isStaleByTime(sa(o.staleTime,n))?n.fetch(o):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(oo).catch(oo)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(oo).catch(oo)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return sd.isOnline()?M(this,na).resumePausedMutations():Promise.resolve()}getQueryCache(){return M(this,yt)}getMutationCache(){return M(this,na)}getDefaultOptions(){return M(this,aa)}setDefaultOptions(e){pe(this,aa,e)}setQueryDefaults(e,o){M(this,ul).set($a(e),{queryKey:e,defaultOptions:o})}getQueryDefaults(e){const o=[...M(this,ul).values()],n={};return o.forEach(a=>{Ps(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,o){M(this,dl).set($a(e),{mutationKey:e,defaultOptions:o})}getMutationDefaults(e){const o=[...M(this,dl).values()],n={};return o.forEach(a=>{Ps(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const o={...M(this,aa).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return o.queryHash||(o.queryHash=Hg(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===Pg&&(o.enabled=!1),o}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...M(this,aa).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){M(this,yt).clear(),M(this,na).clear()}},yt=new WeakMap,na=new WeakMap,aa=new WeakMap,ul=new WeakMap,dl=new WeakMap,ia=new WeakMap,fl=new WeakMap,hl=new WeakMap,e2),A2=b.createContext(void 0),ic=e=>{const o=b.useContext(A2);if(!o)throw new Error("No QueryClient set, use QueryClientProvider to set one");return o},H_=({client:e,children:o})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),y.jsx(A2.Provider,{value:e,children:o})),D2=b.createContext(!1),P_=()=>b.useContext(D2);D2.Provider;function I_(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var L_=b.createContext(I_()),U_=()=>b.useContext(L_),V_=(e,o,n)=>{const a=n!=null&&n.state.error&&typeof e.throwOnError=="function"?Ig(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||a)&&(o.isReset()||(e.retryOnMount=!1))},G_=e=>{b.useEffect(()=>{e.clearReset()},[e])},W_=({result:e,errorResetBoundary:o,throwOnError:n,query:a,suspense:l})=>e.isError&&!o.isReset()&&!e.isFetching&&a&&(l&&e.data===void 0||Ig(n,[e.error,a])),X_=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))}},$_=(e,o)=>e.isLoading&&e.isFetching&&!o,K_=(e,o)=>(e==null?void 0:e.suspense)&&o.isPending,cy=(e,o,n)=>o.fetchOptimistic(e).catch(()=>{n.clearReset()});function Q_(e,o,n){var w,B,k,x;const a=P_(),l=U_(),c=ic(),u=c.defaultQueryOptions(e);(B=(w=c.getDefaultOptions().queries)==null?void 0:w._experimental_beforeQuery)==null||B.call(w,u);const d=c.getQueryCache().get(u.queryHash);u._optimisticResults=a?"isRestoring":"optimistic",X_(u),V_(u,l,d),G_(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(At.batchCalls(C)):oo;return p.updateResult(),_},[p,m]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),b.useEffect(()=>{p.setOptions(u)},[u,p]),K_(u,v))throw cy(u,p,l);if(W_({result:v,errorResetBoundary:l,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw v.error;if((x=(k=c.getDefaultOptions().queries)==null?void 0:k._experimental_afterQuery)==null||x.call(k,u,v),u.experimental_prefetchInRender&&!Is.isServer()&&$_(v,a)){const C=h?cy(u,p,l):d==null?void 0:d.promise;C==null||C.catch(oo).finally(()=>{p.updateResult()})}return u.notifyOnChangeProps?v:p.trackResult(v)}function Td(e,o){return Q_(e,j_)}function M2(e,o){const n=ic(),[a]=b.useState(()=>new O_(n,e));b.useEffect(()=>{a.setOptions(e)},[a,e]);const l=b.useSyncExternalStore(b.useCallback(u=>a.subscribe(At.batchCalls(u)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),c=b.useCallback((u,d)=>{a.mutate(u,d).catch(oo)},[a]);if(l.error&&Ig(a.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}const wp=typeof window>"u"?global:window,Sp="@griffel/";function Z_(e,o){return wp[Symbol.for(Sp+e)]||(wp[Symbol.for(Sp+e)]=o),wp[Symbol.for(Sp+e)]}const sg=Z_("DEFINITION_LOOKUP_TABLE",{}),Fs="data-make-styles-bucket",Y_="data-priority",cg="f",ug=7,Ug="___",J_=Ug.length+ug,e6=0,t6=1,o6={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},dg="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Ls(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 r6(e){const o=e.length;if(o===ug)return e;for(let n=o;n<ug;n++)e+="0";return e}function O2(e,o,n=[]){return Ug+r6(Ls(e+o))}function F2(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 cd(e,o){const n={};for(const a in e){const[l,c]=F2(e[a],o);if(c===""){n[a]="";continue}const u=O2(c,o),d=u+(l===""?"":" "+l);sg[u]=[e[a],o],n[a]=d}return n}const uy={};function de(){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 B=w.indexOf(Ug);if(B===-1)o+=w+" ";else{const k=w.substr(B,J_);B>0&&(o+=w.slice(0,B)),n+=k,a[m]=k}}}if(n==="")return o.slice(0,-1);const l=uy[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 B=sg[w];B&&(c.push(B[e6]),e=B[t6])}}const u=Object.assign.apply(Object,[{}].concat(c)),[d,h]=F2(u,e),p=O2(h,e,a),v=p+" "+d;return uy[n]=v,sg[p]=[u,e],o+v}function n6(e){return Array.isArray(e)?e:[e]}function a6(e,o,n,a){const l=[];if(a[Fs]=o,a[Y_]=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 i6=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],dy=i6.reduce((e,o,n)=>(e[o]=n,e),{});function l6(e,o,n){return(e==="m"?e+o:e)+n}function s6(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=l6(e,h,p);if(!a.stylesheets[v]){const m=o&&o.createElement("style"),w=a6(m,e,p,{...a.styleElementAttributes,...d&&{media:h}});a.stylesheets[v]=w,o!=null&&o.head&&m&&o.head.insertBefore(m,u6(o,n,e,a,l))}return a.stylesheets[v]}function c6(e,o,n){var a,l;const c=o+((a=n.m)!==null&&a!==void 0?a:""),u=e.getAttribute(Fs)+((l=e.media)!==null&&l!==void 0?l:"");return c===u}function u6(e,o,n,a,l={}){var c,u;const d=dy[n],h=(c=l.m)!==null&&c!==void 0?c:"",p=(u=l.p)!==null&&u!==void 0?u:0;let v=x=>d-dy[x.getAttribute(Fs)],m=e.head.querySelectorAll(`[${Fs}]`);if(n==="m"){const x=e.head.querySelectorAll(`[${Fs}="${n}"]`);x.length&&(m=x,v=C=>a.compareMediaQueries(h,C.media))}const w=x=>c6(x,n,l)?p-Number(x.getAttribute("data-priority")):v(x),B=m.length;let k=B-1;for(;k>=0;){const x=m.item(k);if(w(x)>0)return x.nextSibling;k--}return B>0?m.item(0):o?o.nextSibling:null}function fy(e,o){try{e.insertRule(o)}catch{}}let d6=0;const f6=(e,o)=>e<o?-1:e>o?1:0;function h6(e=typeof document>"u"?void 0:document,o={}){const{classNameHashSalt:n,unstable_filterCSSRule:a,insertionPoint:l,styleElementAttributes:c,compareMediaQueries:u=f6}=o,d={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${d6++}`,insertCSSRules(h){for(const p in h){const v=h[p];for(let m=0,w=v.length;m<w;m++){const[B,k]=n6(v[m]),x=s6(p,e,l||null,d,k);d.insertionCache[B]||(d.insertionCache[B]=p,a?a(B)&&fy(x,B):fy(x,B))}}}};return d}const Vg=()=>{const e={};return function(n,a){e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}};function q2(e){return e.reduce(function(o,n){var a=n[0],l=n[1];return o[a]=l,o[l]=a,o},{})}function p6(e){return typeof e=="boolean"}function g6(e){return typeof e=="function"}function Os(e){return typeof e=="number"}function m6(e){return e===null||typeof e>"u"}function v6(e){return e&&typeof e=="object"}function b6(e){return typeof e=="string"}function Yu(e,o){return e.indexOf(o)!==-1}function y6(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function Fu(e,o,n,a){return o+y6(n)+a}function x6(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 H2(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 hy(e){var o=H2(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 w6(e){return!p6(e)&&!m6(e)}function S6(e){for(var o=[],n=0,a=0,l=!1;a<e.length;)!l&&e[a]===","?(o.push(e.substring(n,a).trim()),a++,n=a):e[a]==="("?(l=!0,a++):(e[a]===")"&&(l=!1),a++);return n!=a&&o.push(e.substring(n,a+1)),o}var ae={padding:function(o){var n=o.value;return Os(n)?n:hy(n)},textShadow:function(o){var n=o.value,a=S6(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 hy(n)},borderRadius:function(o){var n=o.value;if(Os(n))return n;if(Yu(n,"/")){var a=n.split("/"),l=a[0],c=a[1],u=ae.borderRadius({value:l.trim()}),d=ae.borderRadius({value:c.trim()});return u+" / "+d}var h=H2(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(Os(n))return n;var d=n.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return n=n.replace(d,ae.backgroundPosition({value:d,valuesToConvert:a,isRtl:l,bgPosDirectionRegex:u})),ae.backgroundImage({value:n,valuesToConvert:a,bgImgDirectionRegex:c})},backgroundImage:function(o){var n=o.value,a=o.valuesToConvert,l=o.bgImgDirectionRegex;return!Yu(n,"url(")&&!Yu(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 x6(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 Os(n)?n:ae.backgroundPosition({value:n,valuesToConvert:a,isRtl:l,bgPosDirectionRegex:c})},transition:function(o){var n=o.value,a=o.propertiesToConvert;return n.split(/,\s*/g).map(function(l){var c=l.split(" ");return c[0]=a[c[0]]||c[0],c.join(" ")}).join(", ")},transitionProperty:function(o){var n=o.value,a=o.propertiesToConvert;return n.split(/,\s*/g).map(function(l){return a[l]||l}).join(", ")},transform:function(o){var n=o.value,a="[^\\u0020-\\u007e]",l="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+a+"|"+l+")")+("(?:[_a-z0-9-]|"+a+"|"+l+")")+"*")+")?")+")|(?:inherit|auto))",u=new RegExp("(translateX\\s*\\(\\s*)"+c+"(\\s*\\))","gi"),d=new RegExp("(translate\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,1}\\s*\\))","gi"),h=new RegExp("(translate3d\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,2}\\s*\\))","gi"),p=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+c+"(\\s*\\))","gi");return n.replace(u,Fu).replace(d,Fu).replace(h,Fu).replace(p,Fu)}};ae.objectPosition=ae.backgroundPosition;ae.margin=ae.padding;ae.borderWidth=ae.padding;ae.boxShadow=ae.textShadow;ae.webkitBoxShadow=ae.boxShadow;ae.mozBoxShadow=ae.boxShadow;ae.WebkitBoxShadow=ae.boxShadow;ae.MozBoxShadow=ae.boxShadow;ae.borderStyle=ae.borderColor;ae.webkitTransform=ae.transform;ae.mozTransform=ae.transform;ae.WebkitTransform=ae.transform;ae.MozTransform=ae.transform;ae.transformOrigin=ae.backgroundPosition;ae.webkitTransformOrigin=ae.transformOrigin;ae.mozTransformOrigin=ae.transformOrigin;ae.WebkitTransformOrigin=ae.transformOrigin;ae.MozTransformOrigin=ae.transformOrigin;ae.webkitTransition=ae.transition;ae.mozTransition=ae.transition;ae.WebkitTransition=ae.transition;ae.MozTransition=ae.transition;ae.webkitTransitionProperty=ae.transitionProperty;ae.mozTransitionProperty=ae.transitionProperty;ae.WebkitTransitionProperty=ae.transitionProperty;ae.MozTransitionProperty=ae.transitionProperty;ae["text-shadow"]=ae.textShadow;ae["border-color"]=ae.borderColor;ae["border-radius"]=ae.borderRadius;ae["background-image"]=ae.backgroundImage;ae["background-position"]=ae.backgroundPosition;ae["background-position-x"]=ae.backgroundPositionX;ae["object-position"]=ae.objectPosition;ae["border-width"]=ae.padding;ae["box-shadow"]=ae.textShadow;ae["-webkit-box-shadow"]=ae.textShadow;ae["-moz-box-shadow"]=ae.textShadow;ae["border-style"]=ae.borderColor;ae["-webkit-transform"]=ae.transform;ae["-moz-transform"]=ae.transform;ae["transform-origin"]=ae.transformOrigin;ae["-webkit-transform-origin"]=ae.transformOrigin;ae["-moz-transform-origin"]=ae.transformOrigin;ae["-webkit-transition"]=ae.transition;ae["-moz-transition"]=ae.transition;ae["transition-property"]=ae.transitionProperty;ae["-webkit-transition-property"]=ae.transitionProperty;ae["-moz-transition-property"]=ae.transitionProperty;var P2=q2([["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"]]),k6=["content"],py=q2([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),B6=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),_6=new RegExp("(left)|(right)");function I2(e){return Object.keys(e).reduce(function(o,n){var a=e[n];if(b6(a)&&(a=a.trim()),Yu(k6,n))return o[n]=a,o;var l=fg(n,a),c=l.key,u=l.value;return o[c]=u,o},Array.isArray(e)?[]:{})}function fg(e,o){var n=/\/\*\s?@noflip\s?\*\//.test(o),a=n?e:z6(e),l=n?o:C6(a,o);return{key:a,value:l}}function z6(e){return P2[e]||e}function C6(e,o){if(!w6(o))return o;if(v6(o))return I2(o);var n=Os(o),a=g6(o),l=n||a?o:o.replace(/ !important.*?$/,""),c=!n&&l.length!==o.length,u=ae[e],d;return u?d=u({value:l,valuesToConvert:py,propertiesToConvert:P2,isRtl:!0,bgImgDirectionRegex:B6,bgPosDirectionRegex:_6}):d=py[l]||l,c?d+" !important":d}var qs="-moz-",cr="-webkit-",L2="comm",Ed="rule",Gg="decl",N6="@media",T6="@import",E6="@supports",j6="@namespace",R6="@keyframes",U2="@layer",A6=Math.abs,$i=String.fromCharCode,D6=Object.assign;function M6(e,o){return Qt(e,0)^45?(((o<<2^Qt(e,0))<<2^Qt(e,1))<<2^Qt(e,2))<<2^Qt(e,3):0}function V2(e){return e.trim()}function G2(e,o){return(e=o.exec(e))?e[0]:e}function To(e,o,n){return e.replace(o,n)}function O6(e,o){return e.indexOf(o)}function Qt(e,o){return e.charCodeAt(o)|0}function pl(e,o,n){return e.slice(o,n)}function fr(e){return e.length}function W2(e){return e.length}function Oa(e,o){return o.push(e),e}function F6(e,o){return e.map(o).join("")}var jd=1,gl=1,X2=0,Ro=0,mt=0,Bl="";function Rd(e,o,n,a,l,c,u,d){return{value:e,root:o,parent:n,type:a,props:l,children:c,line:jd,column:gl,length:u,return:"",siblings:d}}function kp(e,o){return D6(Rd("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},o)}function q6(){return mt}function H6(){return mt=Ro>0?Qt(Bl,--Ro):0,gl--,mt===10&&(gl=1,jd--),mt}function er(){return mt=Ro<X2?Qt(Bl,Ro++):0,gl++,mt===10&&(gl=1,jd++),mt}function la(){return Qt(Bl,Ro)}function Ju(){return Ro}function Ad(e,o){return pl(Bl,e,o)}function ml(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 $2(e){return jd=gl=1,X2=fr(Bl=e),Ro=0,[]}function K2(e){return Bl="",e}function ed(e){return V2(Ad(Ro-1,hg(e===91?e+2:e===40?e+1:e)))}function P6(e){return K2(L6($2(e)))}function I6(e){for(;(mt=la())&&mt<33;)er();return ml(e)>2||ml(mt)>3?"":" "}function L6(e){for(;er();)switch(ml(mt)){case 0:Oa(Q2(Ro-1),e);break;case 2:Oa(ed(mt),e);break;default:Oa($i(mt),e)}return e}function U6(e,o){for(;--o&&er()&&!(mt<48||mt>102||mt>57&&mt<65||mt>70&&mt<97););return Ad(e,Ju()+(o<6&&la()==32&&er()==32))}function hg(e){for(;er();)switch(mt){case e:return Ro;case 34:case 39:e!==34&&e!==39&&hg(mt);break;case 40:e===41&&hg(e);break;case 92:er();break}return Ro}function V6(e,o){for(;er()&&e+mt!==57;)if(e+mt===84&&la()===47)break;return"/*"+Ad(o,Ro-1)+"*"+$i(e===47?e:er())}function Q2(e){for(;!ml(la());)er();return Ad(e,Ro)}function Z2(e){return K2(td("",null,null,null,[""],e=$2(e),0,[0],e))}function td(e,o,n,a,l,c,u,d,h){for(var p=0,v=0,m=u,w=0,B=0,k=0,x=1,C=1,_=1,j=0,z=0,T="",E=l,R=c,F=a,O=T;C;)switch(k=z,z=er()){case 40:k!=108&&Qt(O,m-1)==58?(j++,O+="("):O+=ed(z);break;case 41:j--,O+=")";break;case 34:case 39:case 91:O+=ed(z);break;case 9:case 10:case 13:case 32:if(j>0){O+=$i(z);break}O+=I6(k);break;case 92:O+=U6(Ju()-1,7);continue;case 47:switch(la()){case 42:case 47:Oa(G6(V6(er(),Ju()),o,n,h),h),(ml(k||1)==5||ml(la()||1)==5)&&fr(O)&&pl(O,-1,void 0)!==" "&&(O+=" ");break;default:O+="/"}break;case 123*x:d[p++]=fr(O)*_;case 125*x:case 59:case 0:if(j>0&&z){O+=$i(z);break}switch(z){case 0:case 125:C=0;case 59+v:_==-1&&(O=To(O,/\f/g,"")),B>0&&(fr(O)-m||x===0)&&Oa(B>32?my(O+";",a,n,m-1,h):my(To(O," ","")+";",a,n,m-2,h),h);break;case 59:O+=";";default:if(Oa(F=gy(O,o,n,p,v,l,d,T,E=[],R=[],m,c),c),z===123)if(v===0)td(O,o,F,F,E,c,m,d,R);else{switch(w){case 99:if(Qt(O,3)===110)break;case 108:if(Qt(O,2)===97)break;default:v=0;case 100:case 109:case 115:}v?td(e,F,F,a&&Oa(gy(e,F,F,0,0,l,d,T,l,E=[],m,R),R),l,R,m,d,a?E:R):td(O,F,F,F,[""],R,0,d,R)}}p=v=B=0,x=_=1,T=O="",m=u;break;case 58:m=1+fr(O),B=k;default:if(x<1){if(z==123)--x;else if(z==125&&x++==0&&H6()==125)continue}switch(O+=$i(z),z*x){case 38:_=v>0?1:(O+="\f",-1);break;case 44:if(j>0)break;d[p++]=(fr(O)-1)*_,_=1;break;case 64:la()===45&&(O+=ed(er())),w=la(),v=m=fr(T=O+=Q2(Ju())),z++;break;case 45:k===45&&fr(O)==2&&(x=0)}}return c}function gy(e,o,n,a,l,c,u,d,h,p,v,m){for(var w=l-1,B=l===0?c:[""],k=W2(B),x=0,C=0,_=0;x<a;++x)for(var j=0,z=pl(e,w+1,w=A6(C=u[x])),T=e;j<k;++j)(T=V2(C>0?B[j]+" "+z:To(z,/&\f/g,B[j])))&&(h[_++]=T);return Rd(e,o,n,l===0?Ed:d,h,p,v,m)}function G6(e,o,n,a){return Rd(e,o,n,L2,$i(q6()),pl(e,2,-2),0,a)}function my(e,o,n,a,l){return Rd(e,o,n,Gg,pl(e,0,a),pl(e,a+1,-1),a,l)}function vl(e,o){for(var n="",a=0;a<e.length;a++)n+=o(e[a],a,e,o)||"";return n}function Y2(e,o,n,a){switch(e.type){case U2:if(e.children.length)break;case T6:case j6:case Gg:return e.return=e.return||e.value;case L2:return"";case R6:return e.return=e.value+"{"+vl(e.children,a)+"}";case Ed:if(!fr(e.value=e.props.join(",")))return""}return fr(n=vl(e.children,a))?e.return=e.value+"{"+n+"}":""}function J2(e){var o=W2(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 ew(e){return function(o){o.root||(o=o.return)&&e(o)}}const W6=e=>{switch(e.type){case Ed:if(typeof e.props=="string")return;e.props=e.props.map(o=>o.indexOf(":global(")===-1?o:P6(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 tw(e,o,n){switch(M6(e,o)){case 5103:return cr+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return cr+e+e;case 4215:if(Qt(e,9)===102||Qt(e,o+1)===116)return cr+e+e;break;case 4789:return qs+e+e;case 5349:case 4246:case 6968:return cr+e+qs+e+e;case 6187:if(!G2(e,/grab/))return To(To(To(e,/(zoom-|grab)/,cr+"$1"),/(image-set)/,cr+"$1"),e,"")+e;case 5495:case 3959:return To(e,/(image-set\([^]*)/,cr+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return To(e,/(.+)-inline(.+)/,cr+"$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(fr(e)-1-o>6)switch(Qt(e,o+1)){case 102:if(Qt(e,o+3)===108)return To(e,/(.+:)(.+)-([^]+)/,"$1"+cr+"$2-$3$1"+qs+(Qt(e,o+3)==108?"$3":"$2-$3"))+e;case 115:return~O6(e,"stretch")?tw(To(e,"stretch","fill-available"),o)+e:e}break}return e}function ow(e,o,n,a){if(e.length>-1&&!e.return)switch(e.type){case Gg:e.return=tw(e.value,e.length);return;case Ed:if(e.length)return F6(e.props,function(l){switch(G2(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vl([kp(e,{props:[To(l,/:(read-\w+)/,":"+qs+"$1")]})],a);case"::placeholder":return vl([kp(e,{props:[To(l,/:(plac\w+)/,":"+cr+"input-$1")]}),kp(e,{props:[To(l,/:(plac\w+)/,":"+qs+"$1")]})],a)}return""})}}function X6(e){switch(e.type){case"@container":case N6:case E6:case U2:return!0}return!1}const $6=e=>{X6(e)&&Array.isArray(e.children)&&e.children.sort((o,n)=>o.props[0]>n.props[0]?1:-1)};function K6(e,o){const n=[];return vl(Z2(e),J2([W6,$6,ow,Y2,ew(a=>n.push(a))])),n}const Q6=/[A-Z]/g,Z6=/^ms-/,Bp={};function Y6(e){return"-"+e.toLowerCase()}function Wi(e){if(Object.prototype.hasOwnProperty.call(Bp,e))return Bp[e];if(e.substr(0,2)==="--")return e;const o=e.replace(Q6,Y6);return Bp[e]=Z6.test(o)?"-"+o:o}function rw(e){return e.charAt(0)==="&"?e.slice(1):e}const J6=/,( *[^ &])/g;function ez(e){return"&"+rw(e.replace(J6,",&$1"))}function vy(e,o){return o.reduceRight((n,a)=>`${ez(a)} { ${n} }`,e)}function by(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:B}=o,k=`.${n}`,x=Array.isArray(h)?`${h.map(j=>`${Wi(l)}: ${j}`).join(";")};`:`${Wi(l)}: ${h};`,C=vy(x,a);let _=w?`@scope (${k}) ${w} { :scope{${C}} }`:`${k}{${C}}`;if(u&&c){const j=`.${c}`,z=Array.isArray(d)?`${d.map(E=>`${Wi(u)}: ${E}`).join(";")};`:`${Wi(u)}: ${d};`,T=vy(z,a);_+=w?`@scope (${j}) ${w} { :scope{${T}} }`:`${j}{${T}}`}return m&&(_=`@media ${m} { ${_} }`),v&&(_=`@layer ${v} { ${_} }`),B&&(_=`@supports ${B} { ${_} }`),p&&(_=`@container ${p} { ${_} }`),K6(_)}function tz(e){let o="";for(const n in e){const a=e[n];if(typeof a=="string"||typeof a=="number"){o+=Wi(n)+":"+a+";";continue}if(Array.isArray(a))for(const l of a)o+=Wi(n)+":"+l+";"}return o}function yy(e){let o="";for(const n in e)o+=`${n}{${tz(e[n])}}`;return o}function xy(e,o){const n=`@keyframes ${e} {${o}}`,a=[];return vl(Z2(n),J2([Y2,ow,ew(l=>a.push(l))])),a}const wy={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Sy(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 wy[n.slice(4,8)]||wy[n.slice(3,5)]||"d"}return"d"}const oz={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 ky(e,o){return e.length===0?o:`${e} and ${o}`}function Rs(e,o){return e&&o+e}function nw(e){return Rs(e.container,"c")+Rs(e.media,"m")+Rs(e.layer,"l")+Rs(e.supports,"s")+Rs(e.scope,"o")}function _p(e,o,n){const a=e+nw(n)+o,l=Ls(a),c=l.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+l.slice(1):l}function qu({property:e,selector:o,salt:n,value:a},l){return cg+Ls(n+o+nw(l)+e+a.trim())}function rz(e){return e.substring(0,10)==="@container"}function nz(e){return e.substr(0,6)==="@layer"}function az(e){return e.substr(0,6)==="@media"}const iz=/^(:|\[|>|&)/;function lz(e){return iz.test(e)}function sz(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function cz(e){return e===dg}function uz(e){return e.substring(0,6)==="@scope"}function dz(e){return e.substr(0,9)==="@supports"}function zp(e){return e.replace(/>\s+/g,">")}function By(e){return oz[e]}function _y(e){var o;return(o=e==null?void 0:e[0])!==null&&o!==void 0?o:0}function Cp(e,o,n,a){e[o]=a?[n,a]:n}function zy(e,o){return o.length>0?[e,Object.fromEntries(o)]:e}function Np(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(zy(n,d)),a&&e[o].push(zy(a,d))}function Tr(e,o="",n=[],a={container:"",layer:"",media:"",supports:"",scope:""},l={},c={},u){for(const d in e){if(o6.hasOwnProperty(d)){e[d];continue}const h=e[d];if(h!=null){if(cz(h)){const p=zp(n.join("")),v=_p(p,d,a);Cp(l,v,0,void 0);continue}if(typeof h=="string"||typeof h=="number"){const p=zp(n.join("")),v=By(d);if(v){const T=v[1],E=Object.fromEntries(T.map(R=>[R,dg]));Tr(E,o,n,a,l,c)}const m=_p(p,d,a),w=qu({value:h.toString(),salt:o,selector:p,property:d},a),B=u&&{key:d,value:u}||fg(d,h),k=B.key!==d||B.value!==h,x=k?qu({value:B.value.toString(),property:B.key,salt:o,selector:p},a):void 0,C=k?{rtlClassName:x,rtlProperty:B.key,rtlValue:B.value}:void 0,_=Sy(n,a),[j,z]=by({className:w,selectors:n,property:d,value:h,...C},a);Cp(l,m,w,x),Np(c,_,j,z,a.media,_y(v))}else if(d==="animationName"){const p=Array.isArray(h)?h:[h],v=[],m=[];for(const w of p){const B=yy(w),k=yy(I2(w)),x=cg+Ls(B);let C;const _=xy(x,B);let j=[];B===k?C=x:(C=cg+Ls(k),j=xy(C,k));for(let z=0;z<_.length;z++)Np(c,"k",_[z],j[z],a.media,0);v.push(x),m.push(C)}Tr({animationName:v.join(", ")},o,n,a,l,c,m.join(", "))}else if(Array.isArray(h)){if(h.length===0)continue;const p=zp(n.join("")),v=By(d);if(v){const E=v[1],R=Object.fromEntries(E.map(F=>[F,dg]));Tr(R,o,n,a,l,c)}const m=_p(p,d,a),w=qu({value:h.map(E=>(E??"").toString()).join(";"),salt:o,selector:p,property:d},a),B=h.map(E=>fg(d,E));if(!!B.some(E=>E.key!==B[0].key))continue;const x=B[0].key!==d||B.some((E,R)=>E.value!==h[R]),C=x?qu({value:B.map(E=>{var R;return((R=E==null?void 0:E.value)!==null&&R!==void 0?R:"").toString()}).join(";"),salt:o,property:B[0].key,selector:p},a):void 0,_=x?{rtlClassName:C,rtlProperty:B[0].key,rtlValue:B.map(E=>E.value)}:void 0,j=Sy(n,a),[z,T]=by({className:w,selectors:n,property:d,value:h,..._},a);Cp(l,m,w,C),Np(c,j,z,T,a.media,_y(v))}else if(sz(h)){if(lz(d))Tr(h,o,n.concat(rw(d)),a,l,c);else if(az(d)){const p=ky(a.media,d.slice(6).trim());Tr(h,o,n,{...a,media:p},l,c)}else if(nz(d)){const p=(a.layer?`${a.layer}.`:"")+d.slice(6).trim();Tr(h,o,n,{...a,layer:p},l,c)}else if(dz(d)){const p=ky(a.supports,d.slice(9).trim());Tr(h,o,n,{...a,supports:p},l,c)}else if(rz(d)){const p=d.slice(10).trim();Tr(h,o,n,{...a,container:p},l,c)}else if(uz(d)){if(a.scope)continue;const p=d.slice(6).trim();if(p===""||!p.startsWith("to "))continue;Tr(h,o,n,{...a,scope:p},l,c)}}}}return[l,c]}function fz(e,o=""){const n={},a={};for(const l in e){const c=e[l],[u,d]=Tr(c,o);n[l]=u,Object.keys(d).forEach(h=>{a[h]=(a[h]||[]).concat(d[h])})}return[n,a]}function hz(e,o=Vg){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]=fz(e,v.classNameHashSalt));const m=p==="ltr";return m?c===null&&(c=cd(a,p)):u===null&&(u=cd(a,p)),n(v,l),m?c:u}return d}function aw(e,o,n=Vg){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=cd(e,h)):c===null&&(c=cd(e,h)),a(p,o),v?l:c}return u}function pz(e,o,n,a=Vg){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 gz(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Cy=Vp.useInsertionEffect?Vp.useInsertionEffect:void 0,Wg=()=>{const e={};return function(n,a){if(Cy&&gz()){Cy(()=>{n.insertCSSRules(a)},[n,a]);return}e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}},mz=b.createContext(h6());function lc(){return b.useContext(mz)}const iw=b.createContext("ltr"),vz=({children:e,dir:o})=>y.jsx(iw.Provider,{value:o,children:e});function Xg(){return b.useContext(iw)}function Oo(e){const o=hz(e,Wg);return function(){const a=Xg(),l=lc();return o({dir:a,renderer:l})}}function ve(e,o){const n=aw(e,o,Wg);return function(){const l=Xg(),c=lc();return n({dir:l,renderer:c})}}function Ee(e,o,n){const a=pz(e,o,n,Wg);return function(){const c=Xg(),u=lc();return a({dir:c,renderer:u})}}const bz={"<":"\\3C ",">":"\\3E "};function yz(e){return e.replace(/[<>]/g,o=>bz[o])}function xz(e,o){if(o){const n=Object.keys(o).reduce((a,l)=>`${a}--${l}: ${o[l]}; `,"");return`${e} { ${yz(n)} }`}return`${e} {}`}const ud=Symbol.for("fui.slotRenderFunction"),bl=Symbol.for("fui.slotElementType"),lw=Symbol.for("fui.slotClassNameProp");function Ne(e,o){const{defaultProps:n,elementType:a}=o,l=wz(e),c={...n,...l,[bl]:a,[lw]:(l==null?void 0:l.className)||(n==null?void 0:n.className)};return l&&typeof l.children=="function"&&(c[ud]=l.children,c.children=n==null?void 0:n.children),c}function De(e,o){if(!(e===null||e===void 0&&!o.renderByDefault))return Ne(e,o)}function wz(e){return typeof e=="string"||typeof e=="number"||Sz(e)||b.isValidElement(e)?{children:e}:e}const Sz=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function $g(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!b.isValidElement(e)}function Ny(e){return!!(e!=null&&e.hasOwnProperty(bl))}const ct=(...e)=>{const o={};for(const n of e){const a=Array.isArray(n)?n:Object.keys(n);for(const l of a)o[l]=1}return o},kz=ct(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),Bz=ct(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),_z=ct(["itemID","itemProp","itemRef","itemScope","itemType"]),Tt=ct(Bz,kz,_z),zz=ct(Tt,["form"]),sw=ct(Tt,["height","loop","muted","preload","src","width"]),Cz=ct(sw,["poster"]),Nz=ct(Tt,["start"]),Tz=ct(Tt,["value"]),Ez=ct(Tt,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),jz=ct(Tt,["dateTime"]),Dd=ct(Tt,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),Rz=ct(Dd,["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"]),Az=ct(Dd,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),Dz=ct(Dd,["form","multiple","required"]),Mz=ct(Tt,["selected","value"]),Oz=ct(Tt,["cellPadding","cellSpacing"]),Fz=Tt,qz=ct(Tt,["colSpan","rowSpan","scope"]),Hz=ct(Tt,["colSpan","headers","rowSpan","scope"]),Pz=ct(Tt,["span"]),Iz=ct(Tt,["span"]),Lz=ct(Tt,["disabled","form"]),Uz=ct(Tt,["acceptCharset","action","encType","encType","method","noValidate","target"]),Vz=ct(Tt,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),Gz=ct(Tt,["alt","crossOrigin","height","src","srcSet","useMap","width"]),Wz=ct(Tt,["open","onCancel","onClose"]);function Xz(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 $z={label:zz,audio:sw,video:Cz,ol:Nz,li:Tz,a:Ez,button:Dd,input:Rz,textarea:Az,select:Dz,option:Mz,table:Oz,tr:Fz,th:qz,td:Hz,colGroup:Pz,col:Iz,fieldset:Lz,form:Uz,iframe:Vz,img:Gz,time:jz,dialog:Wz};function cw(e,o,n){const a=e&&$z[e]||Tt;return a.as=1,Xz(o,a,n)}const _l=({primarySlotTagName:e,props:o,excludedPropNames:n})=>({root:{style:o.style,className:o.className},primary:cw(e,o,[...n||[],"style","className"])}),Et=(e,o,n)=>{var a;return cw((a=o.as)!==null&&a!==void 0?a:e,o,n)};function uw(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 dw=b.createContext(void 0),Kz=dw.Provider,fw=b.createContext(void 0),Qz="",Zz=fw.Provider;function Yz(){var e;return(e=b.useContext(fw))!==null&&e!==void 0?e:Qz}const hw=b.createContext(void 0),Jz={},eC=hw.Provider;function tC(){var e;return(e=b.useContext(hw))!==null&&e!==void 0?e:Jz}const pw=b.createContext(void 0),oC={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},rC=pw.Provider;function Qe(){var e;return(e=b.useContext(pw))!==null&&e!==void 0?e:oC}const gw=b.createContext(void 0),nC=gw.Provider;function Kg(){var e;return(e=b.useContext(gw))!==null&&e!==void 0?e:{}}const Qg=b.createContext(void 0),aC=()=>{},iC=Qg.Provider,Xe=e=>{var o,n;return(n=(o=b.useContext(Qg))===null||o===void 0?void 0:o[e])!==null&&n!==void 0?n:aC},mw=b.createContext(void 0);mw.Provider;function lC(){return b.useContext(mw)}const vw=b.createContext(void 0);vw.Provider;function sC(){var e;return(e=b.useContext(vw))!==null&&e!==void 0?e:{announce:()=>{}}}const cC=e=>(e(0),0),uC=e=>e;function dC(){const{targetDocument:e}=Qe(),o=e==null?void 0:e.defaultView,n=o?o.requestAnimationFrame:cC,a=o?o.cancelAnimationFrame:uC;return uw(n,a)}function fC(e){return typeof e=="function"}const Ao=e=>{"use no memo";const[o,n]=b.useState(()=>e.defaultState===void 0?e.initialState:hC(e.defaultState)?e.defaultState():e.defaultState),a=b.useRef(e.state);b.useEffect(()=>{a.current=e.state},[e.state]);const l=b.useCallback(c=>{fC(c)&&c(a.current)},[]);return pC(e.state)?[e.state,l]:[o,n]};function hC(e){return typeof e=="function"}const pC=e=>{"use no memo";const[o]=b.useState(()=>e!==void 0);return o};function Md(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const bw={current:0},gC=b.createContext(void 0);function yw(){var e;return(e=b.useContext(gC))!==null&&e!==void 0?e:bw}function mC(){const e=yw()!==bw,[o,n]=b.useState(e);return Md()&&e&&b.useLayoutEffect(()=>{n(!1)},[]),o}const Mt=Md()?b.useLayoutEffect:b.useEffect,ge=e=>{const o=b.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Mt(()=>{o.current=e},[e]),b.useCallback((...n)=>{const a=o.current;return a(...n)},[o])};function Zg(){const e=b.useRef(!0);return b.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function vC(){return b.useReducer(e=>e+1,0)[1]}const xw=b.createContext(void 0);xw.Provider;function bC(){return b.useContext(xw)||""}function Yt(e="fui-",o){"use no memo";const n=yw(),a=bC(),l=nd.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 it(...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 ww=(e,o)=>!!(e!=null&&e.contains(o)),Yg=e=>{const{targetDocument:o}=Qe(),n=o==null?void 0:o.defaultView,{refs:a,callback:l,element:c,disabled:u,disabledFocusOnIframe:d,contains:h=ww}=e,p=b.useRef(void 0);xC({element:c,disabled:d||u,callback:l,refs:a,contains:h});const v=b.useRef(!1),m=ge(B=>{if(v.current){v.current=!1;return}const k=B.composedPath()[0];a.every(C=>!h(C.current||null,k))&&!u&&l(B)}),w=ge(B=>{v.current=a.some(k=>h(k.current||null,B.target))});b.useEffect(()=>{if(u)return;let B=yC(n);const k=x=>{if(x===B){B=void 0;return}m(x)};return c==null||c.addEventListener("click",k,!0),c==null||c.addEventListener("touchstart",k,!0),c==null||c.addEventListener("contextmenu",k,!0),c==null||c.addEventListener("mousedown",w,!0),p.current=n==null?void 0:n.setTimeout(()=>{B=void 0},1),()=>{c==null||c.removeEventListener("click",k,!0),c==null||c.removeEventListener("touchstart",k,!0),c==null||c.removeEventListener("contextmenu",k,!0),c==null||c.removeEventListener("mousedown",w,!0),n==null||n.clearTimeout(p.current),B=void 0}},[m,c,u,w,n])},yC=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}},Tp="fuiframefocus",xC=e=>{const{disabled:o,element:n,callback:a,contains:l=ww,pollDuration:c=100,refs:u}=e,d=b.useRef(void 0),h=ge(p=>{u.every(m=>!l(m.current||null,p.target))&&!o&&a(p)});b.useEffect(()=>{if(!o)return n==null||n.addEventListener(Tp,h,!0),()=>{n==null||n.removeEventListener(Tp,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(Tp,{bubbles:!0});v.dispatchEvent(m)}},c),()=>{var v;n==null||(v=n.defaultView)===null||v===void 0||v.clearInterval(d.current)}},[n,o,c])},Sw=e=>{const{refs:o,callback:n,element:a,disabled:l,contains:c}=e,u=ge(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])},wC=e=>-1,SC=e=>{};function zl(){const{targetDocument:e}=Qe(),o=e==null?void 0:e.defaultView,n=o?o.setTimeout:wC,a=o?o.clearTimeout:SC;return uw(n,a)}const kC=parseInt(b.version,10)>=19;function sc(e){if(e)return kC?e.props.ref:e.ref}function Ae(e,o){return(...n)=>{e==null||e(...n),o==null||o(...n)}}function vr(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 kw(e){return!!e.type.isFluentTriggerComponent}function Od(e,o){return typeof e=="function"?e(o):e?Bw(e,o):e||null}function Bw(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(kw(e)){const n=Bw(e.props.children,o);return b.cloneElement(e,void 0,n)}else return b.cloneElement(e,o)}function cc(e){return b.isValidElement(e)?kw(e)?cc(e.props.children):e:null}function BC(e){return e&&!!e._virtual}function _C(e){return BC(e)&&e._virtual.parent||null}function _w(e,o={}){if(!e)return null;if(!o.skipVirtual){const a=_C(e);if(a)return a}const n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Us(e,o){if(!e||!o)return!1;if(e===o)return!0;{const n=new WeakSet;for(;o;){const a=_w(o,{skipVirtual:n.has(o)});if(n.add(o),a===e)return!0;o=a}}return!1}function Ty(e,o){e&&Object.assign(e,{_virtual:{parent:o}})}function zC(e,o){return{...o,[bl]:e}}function zw(e,o){return function(a,l,c,u,d){return Ny(l)?o(zC(a,l),null,c,u,d):Ny(a)?o(a,l,c,u,d):e(a,l,c,u,d)}}function Cw(e){const{as:o,[lw]:n,[bl]:a,[ud]: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 Wa=CB,CC=(e,o,n)=>{const{elementType:a,renderFunction:l,props:c}=Cw(e),u={...c,...o};return l?Wa.jsx(b.Fragment,{children:l(a,u)},n):Wa.jsx(a,u,n)},NC=(e,o,n)=>{const{elementType:a,renderFunction:l,props:c}=Cw(e),u={...c,...o};return l?Wa.jsx(b.Fragment,{children:l(a,{...u,children:Wa.jsxs(b.Fragment,{children:u.children},void 0)})},n):Wa.jsxs(a,u,n)},ne=zw(Wa.jsx,CC),lt=zw(Wa.jsxs,NC),Nw=b.createContext(void 0),TC={},EC=Nw.Provider,jC=()=>{const e=b.useContext(Nw);return e??TC},RC=(e,o)=>ne(rC,{value:o.provider,children:ne(Kz,{value:o.theme,children:ne(Zz,{value:o.themeClassName,children:ne(iC,{value:o.customStyleHooks_unstable,children:ne(eC,{value:o.tooltip,children:ne(vz,{dir:o.textDirection,children:ne(EC,{value:o.iconDirection,children:ne(nC,{value:o.overrides_unstable,children:lt(e.root,{children:[Md()?null:ne("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});/*!
60
+ Please change the parent <Route path="${_}"> to <Route path="${_==="/"?"*":`${_}/*`}">.`)}let v=nr(),m;if(o){let _=typeof o=="string"?xl(o):o;pt(h==="/"||((z=_.pathname)==null?void 0:z.startsWith(h)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${_.pathname}" was given in the \`location\` prop.`),m=_}else m=v;let w=m.pathname||"/",B=w;if(h!=="/"){let _=h.replace(/^\//,"").split("/");B="/"+w.replace(/^\//,"").split("/").slice(_.length).join("/")}let k=n&&n.state.matches.length?n.state.matches.map(_=>Object.assign(_,{route:n.manifest[_.route.id]||_.route})):i2(e,{pathname:B});mr(p||k!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),mr(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.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 x=_4(k&&k.map(_=>Object.assign({},_,{params:Object.assign({},u,_.params),pathname:pr([h,a.encodeLocation?a.encodeLocation(_.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?h:pr([h,a.encodeLocation?a.encodeLocation(_.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathnameBase])})),l,n);return o&&x?b.createElement(rc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},x):x}function w4(){let e=j4(),o=l4(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 S4=b.createElement(w4,null),y2=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=m4(e.digest);n&&(e=n)}let o=e!==void 0?b.createElement(wr.Provider,{value:this.props.routeContext},b.createElement(Rg.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?b.createElement(k4,{error:e},o):o}};y2.contextType=h2;var yp=new WeakMap;function k4({children:e,error:o}){let{basename:n}=b.useContext(qo);if(typeof o=="object"&&o&&"digest"in o&&typeof o.digest=="string"){let a=g4(o.digest);if(a){let l=yp.get(o);if(l)throw l;let c=d2(a.location,n);if(u2&&!yp.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 yp.set(o,u),u}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function B4({routeContext:e,match:o,children:n}){let a=b.useContext(wl);return a&&a.static&&a.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=o.route.id),b.createElement(wr.Provider,{value:e},n)}function _4(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);pt(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:B}=a,k=m.route.loader&&!w.hasOwnProperty(m.route.id)&&(!B||B[m.route.id]===void 0);if(m.route.lazy||k){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,B;h(v,{location:a.location,params:((B=(w=a.matches)==null?void 0:w[0])==null?void 0:B.params)??{},pattern:s4(a.matches),errorInfo:m})}:void 0;return l.reduceRight((v,m,w)=>{let B,k=!1,x=null,z=null;a&&(B=c&&m.route.id?c[m.route.id]:void 0,x=m.route.errorElement||S4,u&&(d<0&&w===0?(x2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),k=!0,z=null):d===w&&(k=!0,z=m.route.hydrateFallbackElement||null)));let _=o.concat(l.slice(0,w+1)),E=()=>{let C;return B?C=x:k?C=z:m.route.Component?C=b.createElement(m.route.Component,null):m.route.element?C=m.route.element:C=v,b.createElement(B4,{match:m,routeContext:{outlet:v,matches:_,isDataRoute:a!=null},children:C})};return a&&(m.route.ErrorBoundary||m.route.errorElement||w===0)?b.createElement(y2,{location:a.location,revalidation:a.revalidation,component:x,error:B,children:E(),routeContext:{outlet:null,matches:_,isDataRoute:!0},onError:p}):E()},null)}function Ag(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function C4(e){let o=b.useContext(wl);return pt(o,Ag(e)),o}function z4(e){let o=b.useContext(zd);return pt(o,Ag(e)),o}function N4(e){let o=b.useContext(wr);return pt(o,Ag(e)),o}function Mg(e){let o=N4(e),n=o.matches[o.matches.length-1];return pt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function T4(){return Mg("useRouteId")}function j4(){var a;let e=b.useContext(Rg),o=z4("useRouteError"),n=Mg("useRouteError");return e!==void 0?e:(a=o.errors)==null?void 0:a[n]}function E4(){let{router:e}=C4("useNavigate"),o=Mg("useNavigate"),n=b.useRef(!1);return v2(()=>{n.current=!0}),b.useCallback(async(l,c={})=>{mr(n.current,m2),n.current&&(typeof l=="number"?await e.navigate(l):await e.navigate(l,{fromRouteId:o,...c}))},[e,o])}var J1={};function x2(e,o,n){!o&&!J1[e]&&(J1[e]=!0,mr(!1,n))}b.memo(R4);function R4({routes:e,manifest:o,future:n,state:a,isStatic:l,onError:c}){return b2(e,void 0,{manifest:o,state:a,isStatic:l,onError:c})}function A4({to:e,replace:o,state:n,relative:a}){pt(Sl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=b.useContext(qo);mr(!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(wr),{pathname:u}=nr(),d=nc(),h=Cd(e,Eg(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 Gi(e){pt(!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 M4({basename:e="/",children:o=null,location:n,navigationType:a="POP",navigator:l,static:c=!1,useTransitions:u}){pt(!Sl(),"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=xl(n));let{pathname:p="/",search:v="",hash:m="",state:w=null,key:B="default",mask:k}=n,x=b.useMemo(()=>{let z=mn(p,d);return z==null?null:{location:{pathname:z,search:v,hash:m,state:w,key:B,mask:k},navigationType:a}},[d,p,v,m,w,B,a,k]);return mr(x!=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.`),x==null?null:b.createElement(qo.Provider,{value:h},b.createElement(rc.Provider,{children:o,value:x}))}function D4({children:e,location:o}){return x4(Xp(e),o)}function Xp(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,Xp(a.props.children,c));return}pt(a.type===Gi,`[${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>`),pt(!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=Xp(a.props.children,c)),n.push(u)}),n}var Ku="get",Zu="application/x-www-form-urlencoded";function Nd(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function O4(e){return Nd(e)&&e.tagName.toLowerCase()==="button"}function F4(e){return Nd(e)&&e.tagName.toLowerCase()==="form"}function q4(e){return Nd(e)&&e.tagName.toLowerCase()==="input"}function H4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function P4(e,o){return e.button===0&&(!o||o==="_self")&&!H4(e)}var Du=null;function I4(){if(Du===null)try{new FormData(document.createElement("form"),0),Du=!1}catch{Du=!0}return Du}var L4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function xp(e){return e!=null&&!L4.has(e)?(mr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Zu}"`),null):e}function U4(e,o){let n,a,l,c,u;if(F4(e)){let d=e.getAttribute("action");a=d?mn(d,o):null,n=e.getAttribute("method")||Ku,l=xp(e.getAttribute("enctype"))||Zu,c=new FormData(e)}else if(O4(e)||q4(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?mn(h,o):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||Ku,l=xp(e.getAttribute("formenctype"))||xp(d.getAttribute("enctype"))||Zu,c=new FormData(d,e),!I4()){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(Nd(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ku,a=null,l=Zu,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 Dg(e,o){if(e===!1||e===null||typeof e>"u")throw new Error(o)}function w2(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&&mn(l.pathname,o)==="/"?l.pathname=`${id(o)}/_root.${a}`:l.pathname=`${id(l.pathname)}.${a}`,l}async function V4(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 G4(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 W4(e,o,n){let a=await Promise.all(e.map(async l=>{let c=o.routes[l.route.id];if(c){let u=await V4(c,n);return u.links?u.links():[]}return[]}));return Z4(a.flat(1).filter(G4).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function ey(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 X4(e,o,{includeHydrateFallback:n}={}){return $4(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 $4(e){return[...new Set(e)]}function K4(e){let o={},n=Object.keys(e).sort();for(let a of n)o[a]=e[a];return o}function Z4(e,o){let n=new Set;return new Set(o),e.reduce((a,l)=>{let c=JSON.stringify(K4(l));return n.has(c)||(n.add(c),a.push({key:c,link:l})),a},[])}function Og(){let e=b.useContext(wl);return Dg(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Q4(){let e=b.useContext(zd);return Dg(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Fg=b.createContext(void 0);Fg.displayName="FrameworkContext";function qg(){let e=b.useContext(Fg);return Dg(e,"You must render this element inside a <HydratedRouter> element"),e}function Y4(e,o){let n=b.useContext(Fg),[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 x=_=>{_.forEach(E=>{u(E.isIntersecting)})},z=new IntersectionObserver(x,{threshold:.5});return w.current&&z.observe(w.current),()=>{z.disconnect()}}},[e]),b.useEffect(()=>{if(a){let x=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(x)}}},[a]);let B=()=>{l(!0)},k=()=>{l(!1),u(!1)};return n?e!=="intent"?[c,w,{}]:[c,w,{onFocus:Es(d,B),onBlur:Es(h,k),onMouseEnter:Es(p,B),onMouseLeave:Es(v,k),onTouchStart:Es(m,B)}]:[!1,w,{}]}function Es(e,o){return n=>{e&&e(n),n.defaultPrevented||o(n)}}function J4({page:e,...o}){let n=u4(),{router:a}=Og(),l=b.useMemo(()=>i2(a.routes,e,a.basename),[a.routes,e,a.basename]);return l?n?b.createElement(t_,{page:e,matches:l,...o}):b.createElement(o_,{page:e,matches:l,...o}):null}function e_(e){let{manifest:o,routeModules:n}=qg(),[a,l]=b.useState([]);return b.useEffect(()=>{let c=!1;return W4(e,o,n).then(u=>{c||l(u)}),()=>{c=!0}},[e,o,n]),a}function t_({page:e,matches:o,...n}){let a=nr(),{future:l}=qg(),{basename:c}=Og(),u=b.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let d=w2(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 o_({page:e,matches:o,...n}){let a=nr(),{future:l,manifest:c,routeModules:u}=qg(),{basename:d}=Og(),{loaderData:h,matches:p}=Q4(),v=b.useMemo(()=>ey(e,o,p,c,a,"data"),[e,o,p,c,a]),m=b.useMemo(()=>ey(e,o,p,c,a,"assets"),[e,o,p,c,a]),w=b.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let x=new Set,z=!1;if(o.forEach(E=>{var T;let C=c.routes[E.route.id];!C||!C.hasLoader||(!v.some(j=>j.route.id===E.route.id)&&E.route.id in h&&((T=u[E.route.id])!=null&&T.shouldRevalidate)||C.hasClientLoader?z=!0:x.add(E.route.id))}),x.size===0)return[];let _=w2(e,d,l.unstable_trailingSlashAwareDataRequests,"data");return z&&x.size>0&&_.searchParams.set("_routes",o.filter(E=>x.has(E.route.id)).map(E=>E.route.id).join(",")),[_.pathname+_.search]},[d,l.unstable_trailingSlashAwareDataRequests,h,a,c,v,o,e,u]),B=b.useMemo(()=>X4(m,c),[m,c]),k=e_(m);return b.createElement(b.Fragment,null,w.map(x=>b.createElement("link",{key:x,rel:"prefetch",as:"fetch",href:x,...n})),B.map(x=>b.createElement("link",{key:x,rel:"modulepreload",href:x,...n})),k.map(({key:x,link:z})=>b.createElement("link",{key:x,nonce:n.nonce,...z,crossOrigin:z.crossOrigin??n.crossOrigin})))}function r_(...e){return o=>{e.forEach(n=>{typeof n=="function"?n(o):n!=null&&(n.current=o)})}}var n_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{n_&&(window.__reactRouterVersion="7.15.0")}catch{}function a_({basename:e,children:o,useTransitions:n,window:a}){let l=b.useRef();l.current==null&&(l.current=OB({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(M4,{basename:e,children:o,location:u.location,navigationType:u.action,navigator:c,useTransitions:n})}var S2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,un=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:B,...k},x){let{basename:z,navigator:_,useTransitions:E}=b.useContext(qo),C=typeof v=="string"&&S2.test(v),T=d2(v,z);v=T.to;let j=v4(v,{relative:l}),R=nr(),F=null;if(d){let Z=Cd(d,[],R.mask?R.mask.pathname:"/",!0);z!=="/"&&(Z.pathname=Z.pathname==="/"?z:pr([z,Z.pathname])),F=_.createHref(Z)}let[O,X,ee]=Y4(a,k),he=c_(v,{replace:u,mask:d,state:h,target:p,preventScrollReset:m,relative:l,viewTransition:w,defaultShouldRevalidate:B,useTransitions:E});function ie(Z){o&&o(Z),Z.defaultPrevented||he(Z)}let ue=!(T.isExternal||c),le=b.createElement("a",{...k,...ee,href:(ue?F:void 0)||T.absoluteURL||j,onClick:ue?ie:o,ref:r_(x,X),target:p,"data-discover":!C&&n==="render"?"true":void 0});return O&&!C?b.createElement(b.Fragment,null,le,b.createElement(J4,{page:j})):le});un.displayName="Link";var i_=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=ac(u,{relative:p.relative}),w=nr(),B=b.useContext(zd),{navigator:k,basename:x}=b.useContext(qo),z=B!=null&&p_(m)&&d===!0,_=k.encodeLocation?k.encodeLocation(m).pathname:m.pathname,E=w.pathname,C=B&&B.navigation&&B.navigation.location?B.navigation.location.pathname:null;n||(E=E.toLowerCase(),C=C?C.toLowerCase():null,_=_.toLowerCase()),C&&x&&(C=mn(C,x)||C);const T=_!=="/"&&_.endsWith("/")?_.length-1:_.length;let j=E===_||!l&&E.startsWith(_)&&E.charAt(T)==="/",R=C!=null&&(C===_||!l&&C.startsWith(_)&&C.charAt(_.length)==="/"),F={isActive:j,isPending:R,isTransitioning:z},O=j?o:void 0,X;typeof a=="function"?X=a(F):X=[a,j?"active":null,R?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let ee=typeof c=="function"?c(F):c;return b.createElement(un,{...p,"aria-current":O,className:X,ref:v,style:ee,to:u,viewTransition:d},typeof h=="function"?h(F):h)});i_.displayName="NavLink";var l_=b.forwardRef(({discover:e="render",fetcherKey:o,navigate:n,reloadDocument:a,replace:l,state:c,method:u=Ku,action:d,onSubmit:h,relative:p,preventScrollReset:v,viewTransition:m,defaultShouldRevalidate:w,...B},k)=>{let{useTransitions:x}=b.useContext(qo),z=f_(),_=h_(d,{relative:p}),E=u.toLowerCase()==="get"?"get":"post",C=typeof d=="string"&&S2.test(d),T=j=>{if(h&&h(j),j.defaultPrevented)return;j.preventDefault();let R=j.nativeEvent.submitter,F=(R==null?void 0:R.getAttribute("formmethod"))||u,O=()=>z(R||j.currentTarget,{fetcherKey:o,method:F,navigate:n,replace:l,state:c,relative:p,preventScrollReset:v,viewTransition:m,defaultShouldRevalidate:w});x&&n!==!1?b.startTransition(()=>O()):O()};return b.createElement("form",{ref:k,method:E,action:_,onSubmit:a?h:T,...B,"data-discover":!C&&e==="render"?"true":void 0})});l_.displayName="Form";function s_(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function k2(e){let o=b.useContext(wl);return pt(o,s_(e)),o}function c_(e,{target:o,replace:n,mask:a,state:l,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:h,useTransitions:p}={}){let v=nc(),m=nr(),w=ac(e,{relative:u});return b.useCallback(B=>{if(P4(B,o)){B.preventDefault();let k=n!==void 0?n:Hs(m)===Hs(w),x=()=>v(e,{replace:k,mask:a,state:l,preventScrollReset:c,relative:u,viewTransition:d,defaultShouldRevalidate:h});p?b.startTransition(()=>x()):x()}},[m,v,w,n,a,l,o,e,c,u,d,h,p])}var u_=0,d_=()=>`__${String(++u_)}__`;function f_(){let{router:e}=k2("useSubmit"),{basename:o}=b.useContext(qo),n=T4(),a=e.fetch,l=e.navigate;return b.useCallback(async(c,u={})=>{let{action:d,method:h,encType:p,formData:v,body:m}=U4(c,o);if(u.navigate===!1){let w=u.fetcherKey||d_();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 h_(e,{relative:o}={}){let{basename:n}=b.useContext(qo),a=b.useContext(wr);pt(a,"useFormAction must be used inside a RouteContext");let[l]=a.matches.slice(-1),c={...ac(e||".",{relative:o})},u=nr();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:pr([n,c.pathname])),Hs(c)}function p_(e,{relative:o}={}){let n=b.useContext(p2);pt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=k2("useViewTransitionState"),l=ac(e,{relative:o});if(!n.isTransitioning)return!1;let c=mn(n.currentLocation.pathname,a)||n.currentLocation.pathname,u=mn(n.nextLocation.pathname,a)||n.nextLocation.pathname;return ad(l.pathname,u)!=null||ad(l.pathname,c)!=null}var $p=a2(),kl=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(){}},Fa,Yn,tl,Gx,g_=(Gx=class extends kl{constructor(){super();xe(this,Fa);xe(this,Yn);xe(this,tl);pe(this,tl,o=>{if(typeof window<"u"&&window.addEventListener){const n=()=>o();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){D(this,Yn)||this.setEventListener(D(this,tl))}onUnsubscribe(){var o;this.hasListeners()||((o=D(this,Yn))==null||o.call(this),pe(this,Yn,void 0))}setEventListener(o){var n;pe(this,tl,o),(n=D(this,Yn))==null||n.call(this),pe(this,Yn,o(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(o){D(this,Fa)!==o&&(pe(this,Fa,o),this.onFocus())}onFocus(){const o=this.isFocused();this.listeners.forEach(n=>{n(o)})}isFocused(){var o;return typeof D(this,Fa)=="boolean"?D(this,Fa):((o=globalThis.document)==null?void 0:o.visibilityState)!=="hidden"}},Fa=new WeakMap,Yn=new WeakMap,tl=new WeakMap,Gx),Hg=new g_,m_={setTimeout:(e,o)=>setTimeout(e,o),clearTimeout:e=>clearTimeout(e),setInterval:(e,o)=>setInterval(e,o),clearInterval:e=>clearInterval(e)},Jn,jg,Wx,v_=(Wx=class{constructor(){xe(this,Jn,m_);xe(this,jg,!1)}setTimeoutProvider(e){pe(this,Jn,e)}setTimeout(e,o){return D(this,Jn).setTimeout(e,o)}clearTimeout(e){D(this,Jn).clearTimeout(e)}setInterval(e,o){return D(this,Jn).setInterval(e,o)}clearInterval(e){D(this,Jn).clearInterval(e)}},Jn=new WeakMap,jg=new WeakMap,Wx),Da=new v_;function b_(e){setTimeout(e,0)}var y_=typeof window>"u"||"Deno"in globalThis;function oo(){}function x_(e,o){return typeof e=="function"?e(o):e}function Kp(e){return typeof e=="number"&&e>=0&&e!==1/0}function B2(e,o){return Math.max(e+(o||0)-Date.now(),0)}function sa(e,o){return typeof e=="function"?e(o):e}function To(e,o){return typeof e=="function"?e(o):e}function ty(e,o){const{type:n="all",exact:a,fetchStatus:l,predicate:c,queryKey:u,stale:d}=e;if(u){if(a){if(o.queryHash!==Pg(u,o.options))return!1}else if(!Ps(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 oy(e,o){const{exact:n,status:a,predicate:l,mutationKey:c}=e;if(c){if(!o.options.mutationKey)return!1;if(n){if($a(o.options.mutationKey)!==$a(c))return!1}else if(!Ps(o.options.mutationKey,c))return!1}return!(a&&o.state.status!==a||l&&!l(o))}function Pg(e,o){return((o==null?void 0:o.queryKeyHashFn)||$a)(e)}function $a(e){return JSON.stringify(e,(o,n)=>Zp(n)?Object.keys(n).sort().reduce((a,l)=>(a[l]=n[l],a),{}):n)}function Ps(e,o){return e===o?!0:typeof e!=typeof o?!1:e&&o&&typeof e=="object"&&typeof o=="object"?Object.keys(o).every(n=>Ps(e[n],o[n])):!1}var w_=Object.prototype.hasOwnProperty;function _2(e,o,n=0){if(e===o)return e;if(n>500)return o;const a=ry(e)&&ry(o);if(!a&&!(Zp(e)&&Zp(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],B=o[m];if(w===B){h[m]=w,(a?v<c:w_.call(e,m))&&p++;continue}if(w===null||B===null||typeof w!="object"||typeof B!="object"){h[m]=B;continue}const k=_2(w,B,n+1);h[m]=k,k===w&&p++}return c===d&&p===c?e:h}function ld(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 ry(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Zp(e){if(!ny(e))return!1;const o=e.constructor;if(o===void 0)return!0;const n=o.prototype;return!(!ny(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function ny(e){return Object.prototype.toString.call(e)==="[object Object]"}function S_(e){return new Promise(o=>{Da.setTimeout(o,e)})}function Qp(e,o,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,o):n.structuralSharing!==!1?_2(e,o):o}function k_(e,o,n=0){const a=[...e,o];return n&&a.length>n?a.slice(1):a}function B_(e,o,n=0){const a=[o,...e];return n&&a.length>n?a.slice(0,-1):a}var Ig=Symbol();function C2(e,o){return!e.queryFn&&(o!=null&&o.initialPromise)?()=>o.initialPromise:!e.queryFn||e.queryFn===Ig?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Lg(e,o){return typeof e=="function"?e(...o):!!e}function __(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 Is=(()=>{let e=()=>y_;return{isServer(){return e()},setIsServer(o){e=o}}})();function Yp(){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 C_=b_;function z_(){let e=[],o=0,n=d=>{d()},a=d=>{d()},l=C_;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 Mt=z_(),ol,ea,rl,Xx,N_=(Xx=class extends kl{constructor(){super();xe(this,ol,!0);xe(this,ea);xe(this,rl);pe(this,rl,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,ea)||this.setEventListener(D(this,rl))}onUnsubscribe(){var o;this.hasListeners()||((o=D(this,ea))==null||o.call(this),pe(this,ea,void 0))}setEventListener(o){var n;pe(this,rl,o),(n=D(this,ea))==null||n.call(this),pe(this,ea,o(this.setOnline.bind(this)))}setOnline(o){D(this,ol)!==o&&(pe(this,ol,o),this.listeners.forEach(a=>{a(o)}))}isOnline(){return D(this,ol)}},ol=new WeakMap,ea=new WeakMap,rl=new WeakMap,Xx),sd=new N_;function T_(e){return Math.min(1e3*2**e,3e4)}function z2(e){return(e??"online")==="online"?sd.isOnline():!0}var Jp=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function N2(e){let o=!1,n=0,a;const l=Yp(),c=()=>l.status!=="pending",u=x=>{var z;if(!c()){const _=new Jp(x);w(_),(z=e.onCancel)==null||z.call(e,_)}},d=()=>{o=!0},h=()=>{o=!1},p=()=>Hg.isFocused()&&(e.networkMode==="always"||sd.isOnline())&&e.canRun(),v=()=>z2(e.networkMode)&&e.canRun(),m=x=>{c()||(a==null||a(),l.resolve(x))},w=x=>{c()||(a==null||a(),l.reject(x))},B=()=>new Promise(x=>{var z;a=_=>{(c()||p())&&x(_)},(z=e.onPause)==null||z.call(e)}).then(()=>{var x;a=void 0,c()||(x=e.onContinue)==null||x.call(e)}),k=()=>{if(c())return;let x;const z=n===0?e.initialPromise:void 0;try{x=z??e.fn()}catch(_){x=Promise.reject(_)}Promise.resolve(x).then(m).catch(_=>{var R;if(c())return;const E=e.retry??(Is.isServer()?0:3),C=e.retryDelay??T_,T=typeof C=="function"?C(n,_):C,j=E===!0||typeof E=="number"&&n<E||typeof E=="function"&&E(n,_);if(o||!j){w(_);return}n++,(R=e.onFail)==null||R.call(e,n,_),S_(T).then(()=>p()?void 0:B()).then(()=>{o?w(_):k()})})};return{promise:l,status:()=>l.status,cancel:u,continue:()=>(a==null||a(),l),cancelRetry:d,continueRetry:h,canStart:v,start:()=>(v()?k():B().then(k),l)}}var qa,$x,T2=($x=class{constructor(){xe(this,qa)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Kp(this.gcTime)&&pe(this,qa,Da.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Is.isServer()?1/0:300*1e3))}clearGcTimeout(){D(this,qa)!==void 0&&(Da.clearTimeout(D(this,qa)),pe(this,qa,void 0))}},qa=new WeakMap,$x);function j_(e){return{onFetch:(o,n)=>{var v,m,w,B,k;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=((B=o.state.data)==null?void 0:B.pages)||[],u=((k=o.state.data)==null?void 0:k.pageParams)||[];let d={pages:[],pageParams:[]},h=0;const p=async()=>{let x=!1;const z=C=>{__(C,()=>o.signal,()=>x=!0)},_=C2(o.options,o.fetchOptions),E=async(C,T,j)=>{if(x)return Promise.reject(o.signal.reason);if(T==null&&C.pages.length)return Promise.resolve(C);const F=(()=>{const he={client:o.client,queryKey:o.queryKey,pageParam:T,direction:j?"backward":"forward",meta:o.options.meta};return z(he),he})(),O=await _(F),{maxPages:X}=o.options,ee=j?B_:k_;return{pages:ee(C.pages,O,X),pageParams:ee(C.pageParams,T,X)}};if(l&&c.length){const C=l==="backward",T=C?E_:ay,j={pages:c,pageParams:u},R=T(a,j);d=await E(j,R,C)}else{const C=e??c.length;do{const T=h===0?u[0]??a.initialPageParam:ay(a,d);if(h>0&&T==null)break;d=await E(d,T),h++}while(h<C)}return d};o.options.persister?o.fetchFn=()=>{var x,z;return(z=(x=o.options).persister)==null?void 0:z.call(x,p,{client:o.client,queryKey:o.queryKey,meta:o.options.meta,signal:o.signal},n)}:o.fetchFn=p}}}function ay(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 E_(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 nl,Ha,al,Zo,Pa,Ht,Ys,Ia,No,j2,nn,Kx,R_=(Kx=class extends T2{constructor(o){super();xe(this,No);xe(this,nl);xe(this,Ha);xe(this,al);xe(this,Zo);xe(this,Pa);xe(this,Ht);xe(this,Ys);xe(this,Ia);pe(this,Ia,!1),pe(this,Ys,o.defaultOptions),this.setOptions(o.options),this.observers=[],pe(this,Pa,o.client),pe(this,Zo,D(this,Pa).getQueryCache()),this.queryKey=o.queryKey,this.queryHash=o.queryHash,pe(this,Ha,ly(this.options)),this.state=o.state??D(this,Ha),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return D(this,nl)}get promise(){var o;return(o=D(this,Ht))==null?void 0:o.promise}setOptions(o){if(this.options={...D(this,Ys),...o},o!=null&&o._type&&pe(this,nl,o._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=ly(this.options);n.data!==void 0&&(this.setState(iy(n.data,n.dataUpdatedAt)),pe(this,Ha,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&D(this,Zo).remove(this)}setData(o,n){const a=Qp(this.state.data,o,this.options);return Re(this,No,nn).call(this,{data:a,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),a}setState(o){Re(this,No,nn).call(this,{type:"setState",state:o})}cancel(o){var a,l;const n=(a=D(this,Ht))==null?void 0:a.promise;return(l=D(this,Ht))==null||l.cancel(o),n?n.then(oo).catch(oo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return D(this,Ha)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(o=>To(o.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ig||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(o=>sa(o.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(o=>o.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(o=0){return this.state.data===void 0?!0:o==="static"?!1:this.state.isInvalidated?!0:!B2(this.state.dataUpdatedAt,o)}onFocus(){var n;const o=this.observers.find(a=>a.shouldFetchOnWindowFocus());o==null||o.refetch({cancelRefetch:!1}),(n=D(this,Ht))==null||n.continue()}onOnline(){var n;const o=this.observers.find(a=>a.shouldFetchOnReconnect());o==null||o.refetch({cancelRefetch:!1}),(n=D(this,Ht))==null||n.continue()}addObserver(o){this.observers.includes(o)||(this.observers.push(o),this.clearGcTimeout(),D(this,Zo).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,Ht)&&(D(this,Ia)||Re(this,No,j2).call(this)?D(this,Ht).cancel({revert:!0}):D(this,Ht).cancelRetry()),this.scheduleGc()),D(this,Zo).notify({type:"observerRemoved",query:this,observer:o}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Re(this,No,nn).call(this,{type:"invalidate"})}async fetch(o,n){var p,v,m,w,B,k,x,z,_,E,C;if(this.state.fetchStatus!=="idle"&&((p=D(this,Ht))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(D(this,Ht))return D(this,Ht).continueRetry(),D(this,Ht).promise}if(o&&this.setOptions(o),!this.options.queryFn){const T=this.observers.find(j=>j.options.queryFn);T&&this.setOptions(T.options)}const a=new AbortController,l=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(pe(this,Ia,!0),a.signal)})},c=()=>{const T=C2(this.options,n),R=(()=>{const F={client:D(this,Pa),queryKey:this.queryKey,meta:this.meta};return l(F),F})();return pe(this,Ia,!1),this.options.persister?this.options.persister(T,R,this):T(R)},d=(()=>{const T={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:D(this,Pa),state:this.state,fetchFn:c};return l(T),T})(),h=D(this,nl)==="infinite"?j_(this.options.pages):this.options.behavior;h==null||h.onFetch(d,this),pe(this,al,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=d.fetchOptions)==null?void 0:v.meta))&&Re(this,No,nn).call(this,{type:"fetch",meta:(m=d.fetchOptions)==null?void 0:m.meta}),pe(this,Ht,N2({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:T=>{T instanceof Jp&&T.revert&&this.setState({...D(this,al),fetchStatus:"idle"}),a.abort()},onFail:(T,j)=>{Re(this,No,nn).call(this,{type:"failed",failureCount:T,error:j})},onPause:()=>{Re(this,No,nn).call(this,{type:"pause"})},onContinue:()=>{Re(this,No,nn).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const T=await D(this,Ht).start();if(T===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(T),(B=(w=D(this,Zo).config).onSuccess)==null||B.call(w,T,this),(x=(k=D(this,Zo).config).onSettled)==null||x.call(k,T,this.state.error,this),T}catch(T){if(T instanceof Jp){if(T.silent)return D(this,Ht).promise;if(T.revert){if(this.state.data===void 0)throw T;return this.state.data}}throw Re(this,No,nn).call(this,{type:"error",error:T}),(_=(z=D(this,Zo).config).onError)==null||_.call(z,T,this),(C=(E=D(this,Zo).config).onSettled)==null||C.call(E,this.state.data,T,this),T}finally{this.scheduleGc()}}},nl=new WeakMap,Ha=new WeakMap,al=new WeakMap,Zo=new WeakMap,Pa=new WeakMap,Ht=new WeakMap,Ys=new WeakMap,Ia=new WeakMap,No=new WeakSet,j2=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},nn=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,...E2(a.data,this.options),fetchMeta:o.meta??null};case"success":const l={...a,...iy(o.data,o.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!o.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return pe(this,al,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),Mt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),D(this,Zo).notify({query:this,type:"updated",action:o})})},Kx);function E2(e,o){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:z2(o.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function iy(e,o){return{data:e,dataUpdatedAt:o??Date.now(),error:null,isInvalidated:!1,status:"success"}}function ly(e){const o=typeof e.initialData=="function"?e.initialData():e.initialData,n=o!==void 0,a=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:o,dataUpdateCount:0,dataUpdatedAt:n?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var ho,Ue,Js,to,La,il,an,ta,ec,ll,sl,Ua,Va,oa,cl,Ye,Ds,eg,tg,og,rg,ng,ag,ig,R2,Zx,A_=(Zx=class extends kl{constructor(o,n){super();xe(this,Ye);xe(this,ho);xe(this,Ue);xe(this,Js);xe(this,to);xe(this,La);xe(this,il);xe(this,an);xe(this,ta);xe(this,ec);xe(this,ll);xe(this,sl);xe(this,Ua);xe(this,Va);xe(this,oa);xe(this,cl,new Set);this.options=n,pe(this,ho,o),pe(this,ta,null),pe(this,an,Yp()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(D(this,Ue).addObserver(this),sy(D(this,Ue),this.options)?Re(this,Ye,Ds).call(this):this.updateResult(),Re(this,Ye,rg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return lg(D(this,Ue),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return lg(D(this,Ue),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Re(this,Ye,ng).call(this),Re(this,Ye,ag).call(this),D(this,Ue).removeObserver(this)}setOptions(o){const n=this.options,a=D(this,Ue);if(this.options=D(this,ho).defaultQueryOptions(o),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof To(this.options.enabled,D(this,Ue))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Re(this,Ye,ig).call(this),D(this,Ue).setOptions(this.options),n._defaulted&&!ld(this.options,n)&&D(this,ho).getQueryCache().notify({type:"observerOptionsUpdated",query:D(this,Ue),observer:this});const l=this.hasListeners();l&&cy(D(this,Ue),a,this.options,n)&&Re(this,Ye,Ds).call(this),this.updateResult(),l&&(D(this,Ue)!==a||To(this.options.enabled,D(this,Ue))!==To(n.enabled,D(this,Ue))||sa(this.options.staleTime,D(this,Ue))!==sa(n.staleTime,D(this,Ue)))&&Re(this,Ye,eg).call(this);const c=Re(this,Ye,tg).call(this);l&&(D(this,Ue)!==a||To(this.options.enabled,D(this,Ue))!==To(n.enabled,D(this,Ue))||c!==D(this,oa))&&Re(this,Ye,og).call(this,c)}getOptimisticResult(o){const n=D(this,ho).getQueryCache().build(D(this,ho),o),a=this.createResult(n,o);return D_(this,a)&&(pe(this,to,a),pe(this,il,this.options),pe(this,La,D(this,Ue).state)),a}getCurrentResult(){return D(this,to)}trackResult(o,n){return new Proxy(o,{get:(a,l)=>(this.trackProp(l),n==null||n(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&D(this,an).status==="pending"&&D(this,an).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,l))})}trackProp(o){D(this,cl).add(o)}getCurrentQuery(){return D(this,Ue)}refetch({...o}={}){return this.fetch({...o})}fetchOptimistic(o){const n=D(this,ho).defaultQueryOptions(o),a=D(this,ho).getQueryCache().build(D(this,ho),n);return a.fetch().then(()=>this.createResult(a,n))}fetch(o){return Re(this,Ye,Ds).call(this,{...o,cancelRefetch:o.cancelRefetch??!0}).then(()=>(this.updateResult(),D(this,to)))}createResult(o,n){var X;const a=D(this,Ue),l=this.options,c=D(this,to),u=D(this,La),d=D(this,il),p=o!==a?o.state:D(this,Js),{state:v}=o;let m={...v},w=!1,B;if(n._optimisticResults){const ee=this.hasListeners(),he=!ee&&sy(o,n),ie=ee&&cy(o,a,n,l);(he||ie)&&(m={...m,...E2(v.data,o.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:k,errorUpdatedAt:x,status:z}=m;B=m.data;let _=!1;if(n.placeholderData!==void 0&&B===void 0&&z==="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((X=D(this,sl))==null?void 0:X.state.data,D(this,sl)):n.placeholderData,ee!==void 0&&(z="success",B=Qp(c==null?void 0:c.data,ee,n),w=!0)}if(n.select&&B!==void 0&&!_)if(c&&B===(u==null?void 0:u.data)&&n.select===D(this,ec))B=D(this,ll);else try{pe(this,ec,n.select),B=n.select(B),B=Qp(c==null?void 0:c.data,B,n),pe(this,ll,B),pe(this,ta,null)}catch(ee){pe(this,ta,ee)}D(this,ta)&&(k=D(this,ta),B=D(this,ll),x=Date.now(),z="error");const E=m.fetchStatus==="fetching",C=z==="pending",T=z==="error",j=C&&E,R=B!==void 0,O={status:z,fetchStatus:m.fetchStatus,isPending:C,isSuccess:z==="success",isError:T,isInitialLoading:j,isLoading:j,data:B,dataUpdatedAt:m.dataUpdatedAt,error:k,errorUpdatedAt:x,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:o.isFetched(),isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:E,isRefetching:E&&!C,isLoadingError:T&&!R,isPaused:m.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:T&&R,isStale:Ug(o,n),refetch:this.refetch,promise:D(this,an),isEnabled:To(n.enabled,o)!==!1};if(this.options.experimental_prefetchInRender){const ee=O.data!==void 0,he=O.status==="error"&&!ee,ie=Z=>{he?Z.reject(O.error):ee&&Z.resolve(O.data)},ue=()=>{const Z=pe(this,an,O.promise=Yp());ie(Z)},le=D(this,an);switch(le.status){case"pending":o.queryHash===a.queryHash&&ie(le);break;case"fulfilled":(he||O.data!==le.value)&&ue();break;case"rejected":(!he||O.error!==le.reason)&&ue();break}}return O}updateResult(){const o=D(this,to),n=this.createResult(D(this,Ue),this.options);if(pe(this,La,D(this,Ue).state),pe(this,il,this.options),D(this,La).data!==void 0&&pe(this,sl,D(this,Ue)),ld(n,o))return;pe(this,to,n);const a=()=>{if(!o)return!0;const{notifyOnChangeProps:l}=this.options,c=typeof l=="function"?l():l;if(c==="all"||!c&&!D(this,cl).size)return!0;const u=new Set(c??D(this,cl));return this.options.throwOnError&&u.add("error"),Object.keys(D(this,to)).some(d=>{const h=d;return D(this,to)[h]!==o[h]&&u.has(h)})};Re(this,Ye,R2).call(this,{listeners:a()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Re(this,Ye,rg).call(this)}},ho=new WeakMap,Ue=new WeakMap,Js=new WeakMap,to=new WeakMap,La=new WeakMap,il=new WeakMap,an=new WeakMap,ta=new WeakMap,ec=new WeakMap,ll=new WeakMap,sl=new WeakMap,Ua=new WeakMap,Va=new WeakMap,oa=new WeakMap,cl=new WeakMap,Ye=new WeakSet,Ds=function(o){Re(this,Ye,ig).call(this);let n=D(this,Ue).fetch(this.options,o);return o!=null&&o.throwOnError||(n=n.catch(oo)),n},eg=function(){Re(this,Ye,ng).call(this);const o=sa(this.options.staleTime,D(this,Ue));if(Is.isServer()||D(this,to).isStale||!Kp(o))return;const a=B2(D(this,to).dataUpdatedAt,o)+1;pe(this,Ua,Da.setTimeout(()=>{D(this,to).isStale||this.updateResult()},a))},tg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(D(this,Ue)):this.options.refetchInterval)??!1},og=function(o){Re(this,Ye,ag).call(this),pe(this,oa,o),!(Is.isServer()||To(this.options.enabled,D(this,Ue))===!1||!Kp(D(this,oa))||D(this,oa)===0)&&pe(this,Va,Da.setInterval(()=>{(this.options.refetchIntervalInBackground||Hg.isFocused())&&Re(this,Ye,Ds).call(this)},D(this,oa)))},rg=function(){Re(this,Ye,eg).call(this),Re(this,Ye,og).call(this,Re(this,Ye,tg).call(this))},ng=function(){D(this,Ua)!==void 0&&(Da.clearTimeout(D(this,Ua)),pe(this,Ua,void 0))},ag=function(){D(this,Va)!==void 0&&(Da.clearInterval(D(this,Va)),pe(this,Va,void 0))},ig=function(){const o=D(this,ho).getQueryCache().build(D(this,ho),this.options);if(o===D(this,Ue))return;const n=D(this,Ue);pe(this,Ue,o),pe(this,Js,o.state),this.hasListeners()&&(n==null||n.removeObserver(this),o.addObserver(this))},R2=function(o){Mt.batch(()=>{o.listeners&&this.listeners.forEach(n=>{n(D(this,to))}),D(this,ho).getQueryCache().notify({query:D(this,Ue),type:"observerResultsUpdated"})})},Zx);function M_(e,o){return To(o.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&To(o.retryOnMount,e)===!1)}function sy(e,o){return M_(e,o)||e.state.data!==void 0&&lg(e,o,o.refetchOnMount)}function lg(e,o,n){if(To(o.enabled,e)!==!1&&sa(o.staleTime,e)!=="static"){const a=typeof n=="function"?n(e):n;return a==="always"||a!==!1&&Ug(e,o)}return!1}function cy(e,o,n,a){return(e!==o||To(a.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Ug(e,n)}function Ug(e,o){return To(o.enabled,e)!==!1&&e.isStaleByTime(sa(o.staleTime,e))}function D_(e,o){return!ld(e.getCurrentResult(),o)}var tc,jr,$t,Ga,Er,Zn,Qx,O_=(Qx=class extends T2{constructor(o){super();xe(this,Er);xe(this,tc);xe(this,jr);xe(this,$t);xe(this,Ga);pe(this,tc,o.client),this.mutationId=o.mutationId,pe(this,$t,o.mutationCache),pe(this,jr,[]),this.state=o.state||A2(),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,jr).includes(o)||(D(this,jr).push(o),this.clearGcTimeout(),D(this,$t).notify({type:"observerAdded",mutation:this,observer:o}))}removeObserver(o){pe(this,jr,D(this,jr).filter(n=>n!==o)),this.scheduleGc(),D(this,$t).notify({type:"observerRemoved",mutation:this,observer:o})}optionalRemove(){D(this,jr).length||(this.state.status==="pending"?this.scheduleGc():D(this,$t).remove(this))}continue(){var o;return((o=D(this,Ga))==null?void 0:o.continue())??this.execute(this.state.variables)}async execute(o){var u,d,h,p,v,m,w,B,k,x,z,_,E,C,T,j,R,F;const n=()=>{Re(this,Er,Zn).call(this,{type:"continue"})},a={client:D(this,tc),meta:this.options.meta,mutationKey:this.options.mutationKey};pe(this,Ga,N2({fn:()=>this.options.mutationFn?this.options.mutationFn(o,a):Promise.reject(new Error("No mutationFn found")),onFail:(O,X)=>{Re(this,Er,Zn).call(this,{type:"failed",failureCount:O,error:X})},onPause:()=>{Re(this,Er,Zn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(this,$t).canRun(this)}));const l=this.state.status==="pending",c=!D(this,Ga).canStart();try{if(l)n();else{Re(this,Er,Zn).call(this,{type:"pending",variables:o,isPaused:c}),D(this,$t).config.onMutate&&await D(this,$t).config.onMutate(o,this,a);const X=await((d=(u=this.options).onMutate)==null?void 0:d.call(u,o,a));X!==this.state.context&&Re(this,Er,Zn).call(this,{type:"pending",context:X,variables:o,isPaused:c})}const O=await D(this,Ga).start();return await((p=(h=D(this,$t).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((B=(w=D(this,$t).config).onSettled)==null?void 0:B.call(w,O,null,this.state.variables,this.state.context,this,a)),await((x=(k=this.options).onSettled)==null?void 0:x.call(k,O,null,o,this.state.context,a)),Re(this,Er,Zn).call(this,{type:"success",data:O}),O}catch(O){try{await((_=(z=D(this,$t).config).onError)==null?void 0:_.call(z,O,o,this.state.context,this,a))}catch(X){Promise.reject(X)}try{await((C=(E=this.options).onError)==null?void 0:C.call(E,O,o,this.state.context,a))}catch(X){Promise.reject(X)}try{await((j=(T=D(this,$t).config).onSettled)==null?void 0:j.call(T,void 0,O,this.state.variables,this.state.context,this,a))}catch(X){Promise.reject(X)}try{await((F=(R=this.options).onSettled)==null?void 0:F.call(R,void 0,O,o,this.state.context,a))}catch(X){Promise.reject(X)}throw Re(this,Er,Zn).call(this,{type:"error",error:O}),O}finally{D(this,$t).runNext(this)}}},tc=new WeakMap,jr=new WeakMap,$t=new WeakMap,Ga=new WeakMap,Er=new WeakSet,Zn=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),Mt.batch(()=>{D(this,jr).forEach(a=>{a.onMutationUpdate(o)}),D(this,$t).notify({mutation:this,type:"updated",action:o})})},Qx);function A2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ln,dr,oc,Yx,F_=(Yx=class extends kl{constructor(o={}){super();xe(this,ln);xe(this,dr);xe(this,oc);this.config=o,pe(this,ln,new Set),pe(this,dr,new Map),pe(this,oc,0)}build(o,n,a){const l=new O_({client:o,mutationCache:this,mutationId:++Mu(this,oc)._,options:o.defaultMutationOptions(n),state:a});return this.add(l),l}add(o){D(this,ln).add(o);const n=Ou(o);if(typeof n=="string"){const a=D(this,dr).get(n);a?a.push(o):D(this,dr).set(n,[o])}this.notify({type:"added",mutation:o})}remove(o){if(D(this,ln).delete(o)){const n=Ou(o);if(typeof n=="string"){const a=D(this,dr).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,dr).delete(n)}}this.notify({type:"removed",mutation:o})}canRun(o){const n=Ou(o);if(typeof n=="string"){const a=D(this,dr).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=Ou(o);if(typeof n=="string"){const l=(a=D(this,dr).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(){Mt.batch(()=>{D(this,ln).forEach(o=>{this.notify({type:"removed",mutation:o})}),D(this,ln).clear(),D(this,dr).clear()})}getAll(){return Array.from(D(this,ln))}find(o){const n={exact:!0,...o};return this.getAll().find(a=>oy(n,a))}findAll(o={}){return this.getAll().filter(n=>oy(o,n))}notify(o){Mt.batch(()=>{this.listeners.forEach(n=>{n(o)})})}resumePausedMutations(){const o=this.getAll().filter(n=>n.state.isPaused);return Mt.batch(()=>Promise.all(o.map(n=>n.continue().catch(oo))))}},ln=new WeakMap,dr=new WeakMap,oc=new WeakMap,Yx);function Ou(e){var o;return(o=e.options.scope)==null?void 0:o.id}var sn,ra,po,cn,gn,Qu,sg,Jx,q_=(Jx=class extends kl{constructor(n,a){super();xe(this,gn);xe(this,sn);xe(this,ra);xe(this,po);xe(this,cn);pe(this,sn,n),this.setOptions(a),this.bindMethods(),Re(this,gn,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,sn).defaultMutationOptions(n),ld(this.options,a)||D(this,sn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:D(this,po),observer:this}),a!=null&&a.mutationKey&&this.options.mutationKey&&$a(a.mutationKey)!==$a(this.options.mutationKey)?this.reset():((l=D(this,po))==null?void 0:l.state.status)==="pending"&&D(this,po).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=D(this,po))==null||n.removeObserver(this)}onMutationUpdate(n){Re(this,gn,Qu).call(this),Re(this,gn,sg).call(this,n)}getCurrentResult(){return D(this,ra)}reset(){var n;(n=D(this,po))==null||n.removeObserver(this),pe(this,po,void 0),Re(this,gn,Qu).call(this),Re(this,gn,sg).call(this)}mutate(n,a){var l;return pe(this,cn,a),(l=D(this,po))==null||l.removeObserver(this),pe(this,po,D(this,sn).getMutationCache().build(D(this,sn),this.options)),D(this,po).addObserver(this),D(this,po).execute(n)}},sn=new WeakMap,ra=new WeakMap,po=new WeakMap,cn=new WeakMap,gn=new WeakSet,Qu=function(){var a;const n=((a=D(this,po))==null?void 0:a.state)??A2();pe(this,ra,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},sg=function(n){Mt.batch(()=>{var a,l,c,u,d,h,p,v;if(D(this,cn)&&this.hasListeners()){const m=D(this,ra).variables,w=D(this,ra).context,B={client:D(this,sn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((n==null?void 0:n.type)==="success"){try{(l=(a=D(this,cn)).onSuccess)==null||l.call(a,n.data,m,w,B)}catch(k){Promise.reject(k)}try{(u=(c=D(this,cn)).onSettled)==null||u.call(c,n.data,null,m,w,B)}catch(k){Promise.reject(k)}}else if((n==null?void 0:n.type)==="error"){try{(h=(d=D(this,cn)).onError)==null||h.call(d,n.error,m,w,B)}catch(k){Promise.reject(k)}try{(v=(p=D(this,cn)).onSettled)==null||v.call(p,void 0,n.error,m,w,B)}catch(k){Promise.reject(k)}}}this.listeners.forEach(m=>{m(D(this,ra))})})},Jx),Rr,e2,H_=(e2=class extends kl{constructor(o={}){super();xe(this,Rr);this.config=o,pe(this,Rr,new Map)}build(o,n,a){const l=n.queryKey,c=n.queryHash??Pg(l,n);let u=this.get(c);return u||(u=new R_({client:o,queryKey:l,queryHash:c,options:o.defaultQueryOptions(n),state:a,defaultOptions:o.getQueryDefaults(l)}),this.add(u)),u}add(o){D(this,Rr).has(o.queryHash)||(D(this,Rr).set(o.queryHash,o),this.notify({type:"added",query:o}))}remove(o){const n=D(this,Rr).get(o.queryHash);n&&(o.destroy(),n===o&&D(this,Rr).delete(o.queryHash),this.notify({type:"removed",query:o}))}clear(){Mt.batch(()=>{this.getAll().forEach(o=>{this.remove(o)})})}get(o){return D(this,Rr).get(o)}getAll(){return[...D(this,Rr).values()]}find(o){const n={exact:!0,...o};return this.getAll().find(a=>ty(n,a))}findAll(o={}){const n=this.getAll();return Object.keys(o).length>0?n.filter(a=>ty(o,a)):n}notify(o){Mt.batch(()=>{this.listeners.forEach(n=>{n(o)})})}onFocus(){Mt.batch(()=>{this.getAll().forEach(o=>{o.onFocus()})})}onOnline(){Mt.batch(()=>{this.getAll().forEach(o=>{o.onOnline()})})}},Rr=new WeakMap,e2),yt,na,aa,ul,dl,ia,fl,hl,t2,P_=(t2=class{constructor(e={}){xe(this,yt);xe(this,na);xe(this,aa);xe(this,ul);xe(this,dl);xe(this,ia);xe(this,fl);xe(this,hl);pe(this,yt,e.queryCache||new H_),pe(this,na,e.mutationCache||new F_),pe(this,aa,e.defaultOptions||{}),pe(this,ul,new Map),pe(this,dl,new Map),pe(this,ia,0)}mount(){Mu(this,ia)._++,D(this,ia)===1&&(pe(this,fl,Hg.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,yt).onFocus())})),pe(this,hl,sd.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,yt).onOnline())})))}unmount(){var e,o;Mu(this,ia)._--,D(this,ia)===0&&((e=D(this,fl))==null||e.call(this),pe(this,fl,void 0),(o=D(this,hl))==null||o.call(this),pe(this,hl,void 0))}isFetching(e){return D(this,yt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return D(this,na).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const o=this.defaultQueryOptions({queryKey:e});return(n=D(this,yt).get(o.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const o=this.defaultQueryOptions(e),n=D(this,yt).build(this,o),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(sa(o.staleTime,n))&&this.prefetchQuery(o),Promise.resolve(a))}getQueriesData(e){return D(this,yt).findAll(e).map(({queryKey:o,state:n})=>{const a=n.data;return[o,a]})}setQueryData(e,o,n){const a=this.defaultQueryOptions({queryKey:e}),l=D(this,yt).get(a.queryHash),c=l==null?void 0:l.state.data,u=x_(o,c);if(u!==void 0)return D(this,yt).build(this,a).setData(u,{...n,manual:!0})}setQueriesData(e,o,n){return Mt.batch(()=>D(this,yt).findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,o,n)]))}getQueryState(e){var n;const o=this.defaultQueryOptions({queryKey:e});return(n=D(this,yt).get(o.queryHash))==null?void 0:n.state}removeQueries(e){const o=D(this,yt);Mt.batch(()=>{o.findAll(e).forEach(n=>{o.remove(n)})})}resetQueries(e,o){const n=D(this,yt);return Mt.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},o)))}cancelQueries(e,o={}){const n={revert:!0,...o},a=Mt.batch(()=>D(this,yt).findAll(e).map(l=>l.cancel(n)));return Promise.all(a).then(oo).catch(oo)}invalidateQueries(e,o={}){return Mt.batch(()=>(D(this,yt).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},o)))}refetchQueries(e,o={}){const n={...o,cancelRefetch:o.cancelRefetch??!0},a=Mt.batch(()=>D(this,yt).findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let c=l.fetch(void 0,n);return n.throwOnError||(c=c.catch(oo)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(a).then(oo)}fetchQuery(e){const o=this.defaultQueryOptions(e);o.retry===void 0&&(o.retry=!1);const n=D(this,yt).build(this,o);return n.isStaleByTime(sa(o.staleTime,n))?n.fetch(o):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(oo).catch(oo)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(oo).catch(oo)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return sd.isOnline()?D(this,na).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(this,yt)}getMutationCache(){return D(this,na)}getDefaultOptions(){return D(this,aa)}setDefaultOptions(e){pe(this,aa,e)}setQueryDefaults(e,o){D(this,ul).set($a(e),{queryKey:e,defaultOptions:o})}getQueryDefaults(e){const o=[...D(this,ul).values()],n={};return o.forEach(a=>{Ps(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,o){D(this,dl).set($a(e),{mutationKey:e,defaultOptions:o})}getMutationDefaults(e){const o=[...D(this,dl).values()],n={};return o.forEach(a=>{Ps(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const o={...D(this,aa).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return o.queryHash||(o.queryHash=Pg(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===Ig&&(o.enabled=!1),o}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...D(this,aa).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){D(this,yt).clear(),D(this,na).clear()}},yt=new WeakMap,na=new WeakMap,aa=new WeakMap,ul=new WeakMap,dl=new WeakMap,ia=new WeakMap,fl=new WeakMap,hl=new WeakMap,t2),M2=b.createContext(void 0),ic=e=>{const o=b.useContext(M2);if(!o)throw new Error("No QueryClient set, use QueryClientProvider to set one");return o},I_=({client:e,children:o})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),y.jsx(M2.Provider,{value:e,children:o})),D2=b.createContext(!1),L_=()=>b.useContext(D2);D2.Provider;function U_(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var V_=b.createContext(U_()),G_=()=>b.useContext(V_),W_=(e,o,n)=>{const a=n!=null&&n.state.error&&typeof e.throwOnError=="function"?Lg(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||a)&&(o.isReset()||(e.retryOnMount=!1))},X_=e=>{b.useEffect(()=>{e.clearReset()},[e])},$_=({result:e,errorResetBoundary:o,throwOnError:n,query:a,suspense:l})=>e.isError&&!o.isReset()&&!e.isFetching&&a&&(l&&e.data===void 0||Lg(n,[e.error,a])),K_=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))}},Z_=(e,o)=>e.isLoading&&e.isFetching&&!o,Q_=(e,o)=>(e==null?void 0:e.suspense)&&o.isPending,uy=(e,o,n)=>o.fetchOptimistic(e).catch(()=>{n.clearReset()});function Y_(e,o,n){var w,B,k,x;const a=L_(),l=G_(),c=ic(),u=c.defaultQueryOptions(e);(B=(w=c.getDefaultOptions().queries)==null?void 0:w._experimental_beforeQuery)==null||B.call(w,u);const d=c.getQueryCache().get(u.queryHash);u._optimisticResults=a?"isRestoring":"optimistic",K_(u),W_(u,l,d),X_(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(z=>{const _=m?p.subscribe(Mt.batchCalls(z)):oo;return p.updateResult(),_},[p,m]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),b.useEffect(()=>{p.setOptions(u)},[u,p]),Q_(u,v))throw uy(u,p,l);if($_({result:v,errorResetBoundary:l,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw v.error;if((x=(k=c.getDefaultOptions().queries)==null?void 0:k._experimental_afterQuery)==null||x.call(k,u,v),u.experimental_prefetchInRender&&!Is.isServer()&&Z_(v,a)){const z=h?uy(u,p,l):d==null?void 0:d.promise;z==null||z.catch(oo).finally(()=>{p.updateResult()})}return u.notifyOnChangeProps?v:p.trackResult(v)}function Td(e,o){return Y_(e,A_)}function O2(e,o){const n=ic(),[a]=b.useState(()=>new q_(n,e));b.useEffect(()=>{a.setOptions(e)},[a,e]);const l=b.useSyncExternalStore(b.useCallback(u=>a.subscribe(Mt.batchCalls(u)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),c=b.useCallback((u,d)=>{a.mutate(u,d).catch(oo)},[a]);if(l.error&&Lg(a.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:c,mutateAsync:l.mutate}}const wp=typeof window>"u"?global:window,Sp="@griffel/";function J_(e,o){return wp[Symbol.for(Sp+e)]||(wp[Symbol.for(Sp+e)]=o),wp[Symbol.for(Sp+e)]}const cg=J_("DEFINITION_LOOKUP_TABLE",{}),Fs="data-make-styles-bucket",e6="data-priority",ug="f",dg=7,Vg="___",t6=Vg.length+dg,o6=0,r6=1,n6={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},fg="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Ls(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 a6(e){const o=e.length;if(o===dg)return e;for(let n=o;n<dg;n++)e+="0";return e}function F2(e,o,n=[]){return Vg+a6(Ls(e+o))}function q2(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 cd(e,o){const n={};for(const a in e){const[l,c]=q2(e[a],o);if(c===""){n[a]="";continue}const u=F2(c,o),d=u+(l===""?"":" "+l);cg[u]=[e[a],o],n[a]=d}return n}const dy={};function de(){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 B=w.indexOf(Vg);if(B===-1)o+=w+" ";else{const k=w.substr(B,t6);B>0&&(o+=w.slice(0,B)),n+=k,a[m]=k}}}if(n==="")return o.slice(0,-1);const l=dy[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 B=cg[w];B&&(c.push(B[o6]),e=B[r6])}}const u=Object.assign.apply(Object,[{}].concat(c)),[d,h]=q2(u,e),p=F2(h,e,a),v=p+" "+d;return dy[n]=v,cg[p]=[u,e],o+v}function i6(e){return Array.isArray(e)?e:[e]}function l6(e,o,n,a){const l=[];if(a[Fs]=o,a[e6]=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 s6=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],fy=s6.reduce((e,o,n)=>(e[o]=n,e),{});function c6(e,o,n){return(e==="m"?e+o:e)+n}function u6(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=c6(e,h,p);if(!a.stylesheets[v]){const m=o&&o.createElement("style"),w=l6(m,e,p,{...a.styleElementAttributes,...d&&{media:h}});a.stylesheets[v]=w,o!=null&&o.head&&m&&o.head.insertBefore(m,f6(o,n,e,a,l))}return a.stylesheets[v]}function d6(e,o,n){var a,l;const c=o+((a=n.m)!==null&&a!==void 0?a:""),u=e.getAttribute(Fs)+((l=e.media)!==null&&l!==void 0?l:"");return c===u}function f6(e,o,n,a,l={}){var c,u;const d=fy[n],h=(c=l.m)!==null&&c!==void 0?c:"",p=(u=l.p)!==null&&u!==void 0?u:0;let v=x=>d-fy[x.getAttribute(Fs)],m=e.head.querySelectorAll(`[${Fs}]`);if(n==="m"){const x=e.head.querySelectorAll(`[${Fs}="${n}"]`);x.length&&(m=x,v=z=>a.compareMediaQueries(h,z.media))}const w=x=>d6(x,n,l)?p-Number(x.getAttribute("data-priority")):v(x),B=m.length;let k=B-1;for(;k>=0;){const x=m.item(k);if(w(x)>0)return x.nextSibling;k--}return B>0?m.item(0):o?o.nextSibling:null}function hy(e,o){try{e.insertRule(o)}catch{}}let h6=0;const p6=(e,o)=>e<o?-1:e>o?1:0;function g6(e=typeof document>"u"?void 0:document,o={}){const{classNameHashSalt:n,unstable_filterCSSRule:a,insertionPoint:l,styleElementAttributes:c,compareMediaQueries:u=p6}=o,d={classNameHashSalt:n,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(c),compareMediaQueries:u,id:`d${h6++}`,insertCSSRules(h){for(const p in h){const v=h[p];for(let m=0,w=v.length;m<w;m++){const[B,k]=i6(v[m]),x=u6(p,e,l||null,d,k);d.insertionCache[B]||(d.insertionCache[B]=p,a?a(B)&&hy(x,B):hy(x,B))}}}};return d}const Gg=()=>{const e={};return function(n,a){e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}};function H2(e){return e.reduce(function(o,n){var a=n[0],l=n[1];return o[a]=l,o[l]=a,o},{})}function m6(e){return typeof e=="boolean"}function v6(e){return typeof e=="function"}function Os(e){return typeof e=="number"}function b6(e){return e===null||typeof e>"u"}function y6(e){return e&&typeof e=="object"}function x6(e){return typeof e=="string"}function Yu(e,o){return e.indexOf(o)!==-1}function w6(e){return parseFloat(e)===0?e:e[0]==="-"?e.slice(1):"-"+e}function Fu(e,o,n,a){return o+w6(n)+a}function S6(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 P2(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 py(e){var o=P2(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 k6(e){return!m6(e)&&!b6(e)}function B6(e){for(var o=[],n=0,a=0,l=!1;a<e.length;)!l&&e[a]===","?(o.push(e.substring(n,a).trim()),a++,n=a):e[a]==="("?(l=!0,a++):(e[a]===")"&&(l=!1),a++);return n!=a&&o.push(e.substring(n,a+1)),o}var ae={padding:function(o){var n=o.value;return Os(n)?n:py(n)},textShadow:function(o){var n=o.value,a=B6(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 py(n)},borderRadius:function(o){var n=o.value;if(Os(n))return n;if(Yu(n,"/")){var a=n.split("/"),l=a[0],c=a[1],u=ae.borderRadius({value:l.trim()}),d=ae.borderRadius({value:c.trim()});return u+" / "+d}var h=P2(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(Os(n))return n;var d=n.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return n=n.replace(d,ae.backgroundPosition({value:d,valuesToConvert:a,isRtl:l,bgPosDirectionRegex:u})),ae.backgroundImage({value:n,valuesToConvert:a,bgImgDirectionRegex:c})},backgroundImage:function(o){var n=o.value,a=o.valuesToConvert,l=o.bgImgDirectionRegex;return!Yu(n,"url(")&&!Yu(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 S6(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 Os(n)?n:ae.backgroundPosition({value:n,valuesToConvert:a,isRtl:l,bgPosDirectionRegex:c})},transition:function(o){var n=o.value,a=o.propertiesToConvert;return n.split(/,\s*/g).map(function(l){var c=l.split(" ");return c[0]=a[c[0]]||c[0],c.join(" ")}).join(", ")},transitionProperty:function(o){var n=o.value,a=o.propertiesToConvert;return n.split(/,\s*/g).map(function(l){return a[l]||l}).join(", ")},transform:function(o){var n=o.value,a="[^\\u0020-\\u007e]",l="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+a+"|"+l+")")+("(?:[_a-z0-9-]|"+a+"|"+l+")")+"*")+")?")+")|(?:inherit|auto))",u=new RegExp("(translateX\\s*\\(\\s*)"+c+"(\\s*\\))","gi"),d=new RegExp("(translate\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,1}\\s*\\))","gi"),h=new RegExp("(translate3d\\s*\\(\\s*)"+c+"((?:\\s*,\\s*"+c+"){0,2}\\s*\\))","gi"),p=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+c+"(\\s*\\))","gi");return n.replace(u,Fu).replace(d,Fu).replace(h,Fu).replace(p,Fu)}};ae.objectPosition=ae.backgroundPosition;ae.margin=ae.padding;ae.borderWidth=ae.padding;ae.boxShadow=ae.textShadow;ae.webkitBoxShadow=ae.boxShadow;ae.mozBoxShadow=ae.boxShadow;ae.WebkitBoxShadow=ae.boxShadow;ae.MozBoxShadow=ae.boxShadow;ae.borderStyle=ae.borderColor;ae.webkitTransform=ae.transform;ae.mozTransform=ae.transform;ae.WebkitTransform=ae.transform;ae.MozTransform=ae.transform;ae.transformOrigin=ae.backgroundPosition;ae.webkitTransformOrigin=ae.transformOrigin;ae.mozTransformOrigin=ae.transformOrigin;ae.WebkitTransformOrigin=ae.transformOrigin;ae.MozTransformOrigin=ae.transformOrigin;ae.webkitTransition=ae.transition;ae.mozTransition=ae.transition;ae.WebkitTransition=ae.transition;ae.MozTransition=ae.transition;ae.webkitTransitionProperty=ae.transitionProperty;ae.mozTransitionProperty=ae.transitionProperty;ae.WebkitTransitionProperty=ae.transitionProperty;ae.MozTransitionProperty=ae.transitionProperty;ae["text-shadow"]=ae.textShadow;ae["border-color"]=ae.borderColor;ae["border-radius"]=ae.borderRadius;ae["background-image"]=ae.backgroundImage;ae["background-position"]=ae.backgroundPosition;ae["background-position-x"]=ae.backgroundPositionX;ae["object-position"]=ae.objectPosition;ae["border-width"]=ae.padding;ae["box-shadow"]=ae.textShadow;ae["-webkit-box-shadow"]=ae.textShadow;ae["-moz-box-shadow"]=ae.textShadow;ae["border-style"]=ae.borderColor;ae["-webkit-transform"]=ae.transform;ae["-moz-transform"]=ae.transform;ae["transform-origin"]=ae.transformOrigin;ae["-webkit-transform-origin"]=ae.transformOrigin;ae["-moz-transform-origin"]=ae.transformOrigin;ae["-webkit-transition"]=ae.transition;ae["-moz-transition"]=ae.transition;ae["transition-property"]=ae.transitionProperty;ae["-webkit-transition-property"]=ae.transitionProperty;ae["-moz-transition-property"]=ae.transitionProperty;var I2=H2([["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"]]),_6=["content"],gy=H2([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),C6=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),z6=new RegExp("(left)|(right)");function L2(e){return Object.keys(e).reduce(function(o,n){var a=e[n];if(x6(a)&&(a=a.trim()),Yu(_6,n))return o[n]=a,o;var l=hg(n,a),c=l.key,u=l.value;return o[c]=u,o},Array.isArray(e)?[]:{})}function hg(e,o){var n=/\/\*\s?@noflip\s?\*\//.test(o),a=n?e:N6(e),l=n?o:T6(a,o);return{key:a,value:l}}function N6(e){return I2[e]||e}function T6(e,o){if(!k6(o))return o;if(y6(o))return L2(o);var n=Os(o),a=v6(o),l=n||a?o:o.replace(/ !important.*?$/,""),c=!n&&l.length!==o.length,u=ae[e],d;return u?d=u({value:l,valuesToConvert:gy,propertiesToConvert:I2,isRtl:!0,bgImgDirectionRegex:C6,bgPosDirectionRegex:z6}):d=gy[l]||l,c?d+" !important":d}var qs="-moz-",cr="-webkit-",U2="comm",jd="rule",Wg="decl",j6="@media",E6="@import",R6="@supports",A6="@namespace",M6="@keyframes",V2="@layer",D6=Math.abs,$i=String.fromCharCode,O6=Object.assign;function F6(e,o){return Zt(e,0)^45?(((o<<2^Zt(e,0))<<2^Zt(e,1))<<2^Zt(e,2))<<2^Zt(e,3):0}function G2(e){return e.trim()}function W2(e,o){return(e=o.exec(e))?e[0]:e}function jo(e,o,n){return e.replace(o,n)}function q6(e,o){return e.indexOf(o)}function Zt(e,o){return e.charCodeAt(o)|0}function pl(e,o,n){return e.slice(o,n)}function fr(e){return e.length}function X2(e){return e.length}function Oa(e,o){return o.push(e),e}function H6(e,o){return e.map(o).join("")}var Ed=1,gl=1,$2=0,Do=0,mt=0,Bl="";function Rd(e,o,n,a,l,c,u,d){return{value:e,root:o,parent:n,type:a,props:l,children:c,line:Ed,column:gl,length:u,return:"",siblings:d}}function kp(e,o){return O6(Rd("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},o)}function P6(){return mt}function I6(){return mt=Do>0?Zt(Bl,--Do):0,gl--,mt===10&&(gl=1,Ed--),mt}function or(){return mt=Do<$2?Zt(Bl,Do++):0,gl++,mt===10&&(gl=1,Ed++),mt}function la(){return Zt(Bl,Do)}function Ju(){return Do}function Ad(e,o){return pl(Bl,e,o)}function ml(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 K2(e){return Ed=gl=1,$2=fr(Bl=e),Do=0,[]}function Z2(e){return Bl="",e}function ed(e){return G2(Ad(Do-1,pg(e===91?e+2:e===40?e+1:e)))}function L6(e){return Z2(V6(K2(e)))}function U6(e){for(;(mt=la())&&mt<33;)or();return ml(e)>2||ml(mt)>3?"":" "}function V6(e){for(;or();)switch(ml(mt)){case 0:Oa(Q2(Do-1),e);break;case 2:Oa(ed(mt),e);break;default:Oa($i(mt),e)}return e}function G6(e,o){for(;--o&&or()&&!(mt<48||mt>102||mt>57&&mt<65||mt>70&&mt<97););return Ad(e,Ju()+(o<6&&la()==32&&or()==32))}function pg(e){for(;or();)switch(mt){case e:return Do;case 34:case 39:e!==34&&e!==39&&pg(mt);break;case 40:e===41&&pg(e);break;case 92:or();break}return Do}function W6(e,o){for(;or()&&e+mt!==57;)if(e+mt===84&&la()===47)break;return"/*"+Ad(o,Do-1)+"*"+$i(e===47?e:or())}function Q2(e){for(;!ml(la());)or();return Ad(e,Do)}function Y2(e){return Z2(td("",null,null,null,[""],e=K2(e),0,[0],e))}function td(e,o,n,a,l,c,u,d,h){for(var p=0,v=0,m=u,w=0,B=0,k=0,x=1,z=1,_=1,E=0,C=0,T="",j=l,R=c,F=a,O=T;z;)switch(k=C,C=or()){case 40:k!=108&&Zt(O,m-1)==58?(E++,O+="("):O+=ed(C);break;case 41:E--,O+=")";break;case 34:case 39:case 91:O+=ed(C);break;case 9:case 10:case 13:case 32:if(E>0){O+=$i(C);break}O+=U6(k);break;case 92:O+=G6(Ju()-1,7);continue;case 47:switch(la()){case 42:case 47:Oa(X6(W6(or(),Ju()),o,n,h),h),(ml(k||1)==5||ml(la()||1)==5)&&fr(O)&&pl(O,-1,void 0)!==" "&&(O+=" ");break;default:O+="/"}break;case 123*x:d[p++]=fr(O)*_;case 125*x:case 59:case 0:if(E>0&&C){O+=$i(C);break}switch(C){case 0:case 125:z=0;case 59+v:_==-1&&(O=jo(O,/\f/g,"")),B>0&&(fr(O)-m||x===0)&&Oa(B>32?vy(O+";",a,n,m-1,h):vy(jo(O," ","")+";",a,n,m-2,h),h);break;case 59:O+=";";default:if(Oa(F=my(O,o,n,p,v,l,d,T,j=[],R=[],m,c),c),C===123)if(v===0)td(O,o,F,F,j,c,m,d,R);else{switch(w){case 99:if(Zt(O,3)===110)break;case 108:if(Zt(O,2)===97)break;default:v=0;case 100:case 109:case 115:}v?td(e,F,F,a&&Oa(my(e,F,F,0,0,l,d,T,l,j=[],m,R),R),l,R,m,d,a?j:R):td(O,F,F,F,[""],R,0,d,R)}}p=v=B=0,x=_=1,T=O="",m=u;break;case 58:m=1+fr(O),B=k;default:if(x<1){if(C==123)--x;else if(C==125&&x++==0&&I6()==125)continue}switch(O+=$i(C),C*x){case 38:_=v>0?1:(O+="\f",-1);break;case 44:if(E>0)break;d[p++]=(fr(O)-1)*_,_=1;break;case 64:la()===45&&(O+=ed(or())),w=la(),v=m=fr(T=O+=Q2(Ju())),C++;break;case 45:k===45&&fr(O)==2&&(x=0)}}return c}function my(e,o,n,a,l,c,u,d,h,p,v,m){for(var w=l-1,B=l===0?c:[""],k=X2(B),x=0,z=0,_=0;x<a;++x)for(var E=0,C=pl(e,w+1,w=D6(z=u[x])),T=e;E<k;++E)(T=G2(z>0?B[E]+" "+C:jo(C,/&\f/g,B[E])))&&(h[_++]=T);return Rd(e,o,n,l===0?jd:d,h,p,v,m)}function X6(e,o,n,a){return Rd(e,o,n,U2,$i(P6()),pl(e,2,-2),0,a)}function vy(e,o,n,a,l){return Rd(e,o,n,Wg,pl(e,0,a),pl(e,a+1,-1),a,l)}function vl(e,o){for(var n="",a=0;a<e.length;a++)n+=o(e[a],a,e,o)||"";return n}function J2(e,o,n,a){switch(e.type){case V2:if(e.children.length)break;case E6:case A6:case Wg:return e.return=e.return||e.value;case U2:return"";case M6:return e.return=e.value+"{"+vl(e.children,a)+"}";case jd:if(!fr(e.value=e.props.join(",")))return""}return fr(n=vl(e.children,a))?e.return=e.value+"{"+n+"}":""}function ew(e){var o=X2(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 tw(e){return function(o){o.root||(o=o.return)&&e(o)}}const $6=e=>{switch(e.type){case jd:if(typeof e.props=="string")return;e.props=e.props.map(o=>o.indexOf(":global(")===-1?o:L6(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 ow(e,o,n){switch(F6(e,o)){case 5103:return cr+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return cr+e+e;case 4215:if(Zt(e,9)===102||Zt(e,o+1)===116)return cr+e+e;break;case 4789:return qs+e+e;case 5349:case 4246:case 6968:return cr+e+qs+e+e;case 6187:if(!W2(e,/grab/))return jo(jo(jo(e,/(zoom-|grab)/,cr+"$1"),/(image-set)/,cr+"$1"),e,"")+e;case 5495:case 3959:return jo(e,/(image-set\([^]*)/,cr+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return jo(e,/(.+)-inline(.+)/,cr+"$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(fr(e)-1-o>6)switch(Zt(e,o+1)){case 102:if(Zt(e,o+3)===108)return jo(e,/(.+:)(.+)-([^]+)/,"$1"+cr+"$2-$3$1"+qs+(Zt(e,o+3)==108?"$3":"$2-$3"))+e;case 115:return~q6(e,"stretch")?ow(jo(e,"stretch","fill-available"),o)+e:e}break}return e}function rw(e,o,n,a){if(e.length>-1&&!e.return)switch(e.type){case Wg:e.return=ow(e.value,e.length);return;case jd:if(e.length)return H6(e.props,function(l){switch(W2(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vl([kp(e,{props:[jo(l,/:(read-\w+)/,":"+qs+"$1")]})],a);case"::placeholder":return vl([kp(e,{props:[jo(l,/:(plac\w+)/,":"+cr+"input-$1")]}),kp(e,{props:[jo(l,/:(plac\w+)/,":"+qs+"$1")]})],a)}return""})}}function K6(e){switch(e.type){case"@container":case j6:case R6:case V2:return!0}return!1}const Z6=e=>{K6(e)&&Array.isArray(e.children)&&e.children.sort((o,n)=>o.props[0]>n.props[0]?1:-1)};function Q6(e,o){const n=[];return vl(Y2(e),ew([$6,Z6,rw,J2,tw(a=>n.push(a))])),n}const Y6=/[A-Z]/g,J6=/^ms-/,Bp={};function eC(e){return"-"+e.toLowerCase()}function Wi(e){if(Object.prototype.hasOwnProperty.call(Bp,e))return Bp[e];if(e.substr(0,2)==="--")return e;const o=e.replace(Y6,eC);return Bp[e]=J6.test(o)?"-"+o:o}function nw(e){return e.charAt(0)==="&"?e.slice(1):e}const tC=/,( *[^ &])/g;function oC(e){return"&"+nw(e.replace(tC,",&$1"))}function by(e,o){return o.reduceRight((n,a)=>`${oC(a)} { ${n} }`,e)}function yy(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:B}=o,k=`.${n}`,x=Array.isArray(h)?`${h.map(E=>`${Wi(l)}: ${E}`).join(";")};`:`${Wi(l)}: ${h};`,z=by(x,a);let _=w?`@scope (${k}) ${w} { :scope{${z}} }`:`${k}{${z}}`;if(u&&c){const E=`.${c}`,C=Array.isArray(d)?`${d.map(j=>`${Wi(u)}: ${j}`).join(";")};`:`${Wi(u)}: ${d};`,T=by(C,a);_+=w?`@scope (${E}) ${w} { :scope{${T}} }`:`${E}{${T}}`}return m&&(_=`@media ${m} { ${_} }`),v&&(_=`@layer ${v} { ${_} }`),B&&(_=`@supports ${B} { ${_} }`),p&&(_=`@container ${p} { ${_} }`),Q6(_)}function rC(e){let o="";for(const n in e){const a=e[n];if(typeof a=="string"||typeof a=="number"){o+=Wi(n)+":"+a+";";continue}if(Array.isArray(a))for(const l of a)o+=Wi(n)+":"+l+";"}return o}function xy(e){let o="";for(const n in e)o+=`${n}{${rC(e[n])}}`;return o}function wy(e,o){const n=`@keyframes ${e} {${o}}`,a=[];return vl(Y2(n),ew([J2,rw,tw(l=>a.push(l))])),a}const Sy={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function ky(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 Sy[n.slice(4,8)]||Sy[n.slice(3,5)]||"d"}return"d"}const nC={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function By(e,o){return e.length===0?o:`${e} and ${o}`}function Rs(e,o){return e&&o+e}function aw(e){return Rs(e.container,"c")+Rs(e.media,"m")+Rs(e.layer,"l")+Rs(e.supports,"s")+Rs(e.scope,"o")}function _p(e,o,n){const a=e+aw(n)+o,l=Ls(a),c=l.charCodeAt(0);return c>=48&&c<=57?String.fromCharCode(c+17)+l.slice(1):l}function qu({property:e,selector:o,salt:n,value:a},l){return ug+Ls(n+o+aw(l)+e+a.trim())}function aC(e){return e.substring(0,10)==="@container"}function iC(e){return e.substr(0,6)==="@layer"}function lC(e){return e.substr(0,6)==="@media"}const sC=/^(:|\[|>|&)/;function cC(e){return sC.test(e)}function uC(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function dC(e){return e===fg}function fC(e){return e.substring(0,6)==="@scope"}function hC(e){return e.substr(0,9)==="@supports"}function Cp(e){return e.replace(/>\s+/g,">")}function _y(e){return nC[e]}function Cy(e){var o;return(o=e==null?void 0:e[0])!==null&&o!==void 0?o:0}function zp(e,o,n,a){e[o]=a?[n,a]:n}function zy(e,o){return o.length>0?[e,Object.fromEntries(o)]:e}function Np(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(zy(n,d)),a&&e[o].push(zy(a,d))}function Tr(e,o="",n=[],a={container:"",layer:"",media:"",supports:"",scope:""},l={},c={},u){for(const d in e){if(n6.hasOwnProperty(d)){e[d];continue}const h=e[d];if(h!=null){if(dC(h)){const p=Cp(n.join("")),v=_p(p,d,a);zp(l,v,0,void 0);continue}if(typeof h=="string"||typeof h=="number"){const p=Cp(n.join("")),v=_y(d);if(v){const T=v[1],j=Object.fromEntries(T.map(R=>[R,fg]));Tr(j,o,n,a,l,c)}const m=_p(p,d,a),w=qu({value:h.toString(),salt:o,selector:p,property:d},a),B=u&&{key:d,value:u}||hg(d,h),k=B.key!==d||B.value!==h,x=k?qu({value:B.value.toString(),property:B.key,salt:o,selector:p},a):void 0,z=k?{rtlClassName:x,rtlProperty:B.key,rtlValue:B.value}:void 0,_=ky(n,a),[E,C]=yy({className:w,selectors:n,property:d,value:h,...z},a);zp(l,m,w,x),Np(c,_,E,C,a.media,Cy(v))}else if(d==="animationName"){const p=Array.isArray(h)?h:[h],v=[],m=[];for(const w of p){const B=xy(w),k=xy(L2(w)),x=ug+Ls(B);let z;const _=wy(x,B);let E=[];B===k?z=x:(z=ug+Ls(k),E=wy(z,k));for(let C=0;C<_.length;C++)Np(c,"k",_[C],E[C],a.media,0);v.push(x),m.push(z)}Tr({animationName:v.join(", ")},o,n,a,l,c,m.join(", "))}else if(Array.isArray(h)){if(h.length===0)continue;const p=Cp(n.join("")),v=_y(d);if(v){const j=v[1],R=Object.fromEntries(j.map(F=>[F,fg]));Tr(R,o,n,a,l,c)}const m=_p(p,d,a),w=qu({value:h.map(j=>(j??"").toString()).join(";"),salt:o,selector:p,property:d},a),B=h.map(j=>hg(d,j));if(!!B.some(j=>j.key!==B[0].key))continue;const x=B[0].key!==d||B.some((j,R)=>j.value!==h[R]),z=x?qu({value:B.map(j=>{var R;return((R=j==null?void 0:j.value)!==null&&R!==void 0?R:"").toString()}).join(";"),salt:o,property:B[0].key,selector:p},a):void 0,_=x?{rtlClassName:z,rtlProperty:B[0].key,rtlValue:B.map(j=>j.value)}:void 0,E=ky(n,a),[C,T]=yy({className:w,selectors:n,property:d,value:h,..._},a);zp(l,m,w,z),Np(c,E,C,T,a.media,Cy(v))}else if(uC(h)){if(cC(d))Tr(h,o,n.concat(nw(d)),a,l,c);else if(lC(d)){const p=By(a.media,d.slice(6).trim());Tr(h,o,n,{...a,media:p},l,c)}else if(iC(d)){const p=(a.layer?`${a.layer}.`:"")+d.slice(6).trim();Tr(h,o,n,{...a,layer:p},l,c)}else if(hC(d)){const p=By(a.supports,d.slice(9).trim());Tr(h,o,n,{...a,supports:p},l,c)}else if(aC(d)){const p=d.slice(10).trim();Tr(h,o,n,{...a,container:p},l,c)}else if(fC(d)){if(a.scope)continue;const p=d.slice(6).trim();if(p===""||!p.startsWith("to "))continue;Tr(h,o,n,{...a,scope:p},l,c)}}}}return[l,c]}function pC(e,o=""){const n={},a={};for(const l in e){const c=e[l],[u,d]=Tr(c,o);n[l]=u,Object.keys(d).forEach(h=>{a[h]=(a[h]||[]).concat(d[h])})}return[n,a]}function gC(e,o=Gg){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]=pC(e,v.classNameHashSalt));const m=p==="ltr";return m?c===null&&(c=cd(a,p)):u===null&&(u=cd(a,p)),n(v,l),m?c:u}return d}function iw(e,o,n=Gg){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=cd(e,h)):c===null&&(c=cd(e,h)),a(p,o),v?l:c}return u}function mC(e,o,n,a=Gg){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 vC(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const Ny=Gp.useInsertionEffect?Gp.useInsertionEffect:void 0,Xg=()=>{const e={};return function(n,a){if(Ny&&vC()){Ny(()=>{n.insertCSSRules(a)},[n,a]);return}e[n.id]===void 0&&(n.insertCSSRules(a),e[n.id]=!0)}},bC=b.createContext(g6());function lc(){return b.useContext(bC)}const lw=b.createContext("ltr"),yC=({children:e,dir:o})=>y.jsx(lw.Provider,{value:o,children:e});function $g(){return b.useContext(lw)}function mo(e){const o=gC(e,Xg);return function(){const a=$g(),l=lc();return o({dir:a,renderer:l})}}function ve(e,o){const n=iw(e,o,Xg);return function(){const l=$g(),c=lc();return n({dir:l,renderer:c})}}function je(e,o,n){const a=mC(e,o,n,Xg);return function(){const c=$g(),u=lc();return a({dir:c,renderer:u})}}const xC={"<":"\\3C ",">":"\\3E "};function wC(e){return e.replace(/[<>]/g,o=>xC[o])}function SC(e,o){if(o){const n=Object.keys(o).reduce((a,l)=>`${a}--${l}: ${o[l]}; `,"");return`${e} { ${wC(n)} }`}return`${e} {}`}const ud=Symbol.for("fui.slotRenderFunction"),bl=Symbol.for("fui.slotElementType"),sw=Symbol.for("fui.slotClassNameProp");function Ne(e,o){const{defaultProps:n,elementType:a}=o,l=kC(e),c={...n,...l,[bl]:a,[sw]:(l==null?void 0:l.className)||(n==null?void 0:n.className)};return l&&typeof l.children=="function"&&(c[ud]=l.children,c.children=n==null?void 0:n.children),c}function Me(e,o){if(!(e===null||e===void 0&&!o.renderByDefault))return Ne(e,o)}function kC(e){return typeof e=="string"||typeof e=="number"||BC(e)||b.isValidElement(e)?{children:e}:e}const BC=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function Kg(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!b.isValidElement(e)}function Ty(e){return!!(e!=null&&e.hasOwnProperty(bl))}const ct=(...e)=>{const o={};for(const n of e){const a=Array.isArray(n)?n:Object.keys(n);for(const l of a)o[l]=1}return o},_C=ct(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),CC=ct(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),zC=ct(["itemID","itemProp","itemRef","itemScope","itemType"]),jt=ct(CC,_C,zC),NC=ct(jt,["form"]),cw=ct(jt,["height","loop","muted","preload","src","width"]),TC=ct(cw,["poster"]),jC=ct(jt,["start"]),EC=ct(jt,["value"]),RC=ct(jt,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),AC=ct(jt,["dateTime"]),Md=ct(jt,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),MC=ct(Md,["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"]),DC=ct(Md,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),OC=ct(Md,["form","multiple","required"]),FC=ct(jt,["selected","value"]),qC=ct(jt,["cellPadding","cellSpacing"]),HC=jt,PC=ct(jt,["colSpan","rowSpan","scope"]),IC=ct(jt,["colSpan","headers","rowSpan","scope"]),LC=ct(jt,["span"]),UC=ct(jt,["span"]),VC=ct(jt,["disabled","form"]),GC=ct(jt,["acceptCharset","action","encType","encType","method","noValidate","target"]),WC=ct(jt,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),XC=ct(jt,["alt","crossOrigin","height","src","srcSet","useMap","width"]),$C=ct(jt,["open","onCancel","onClose"]);function KC(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 ZC={label:NC,audio:cw,video:TC,ol:jC,li:EC,a:RC,button:Md,input:MC,textarea:DC,select:OC,option:FC,table:qC,tr:HC,th:PC,td:IC,colGroup:LC,col:UC,fieldset:VC,form:GC,iframe:WC,img:XC,time:AC,dialog:$C};function uw(e,o,n){const a=e&&ZC[e]||jt;return a.as=1,KC(o,a,n)}const _l=({primarySlotTagName:e,props:o,excludedPropNames:n})=>({root:{style:o.style,className:o.className},primary:uw(e,o,[...n||[],"style","className"])}),Et=(e,o,n)=>{var a;return uw((a=o.as)!==null&&a!==void 0?a:e,o,n)};function dw(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 fw=b.createContext(void 0),QC=fw.Provider,hw=b.createContext(void 0),YC="",JC=hw.Provider;function ez(){var e;return(e=b.useContext(hw))!==null&&e!==void 0?e:YC}const pw=b.createContext(void 0),tz={},oz=pw.Provider;function rz(){var e;return(e=b.useContext(pw))!==null&&e!==void 0?e:tz}const gw=b.createContext(void 0),nz={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},az=gw.Provider;function Ze(){var e;return(e=b.useContext(gw))!==null&&e!==void 0?e:nz}const mw=b.createContext(void 0),iz=mw.Provider;function Zg(){var e;return(e=b.useContext(mw))!==null&&e!==void 0?e:{}}const Qg=b.createContext(void 0),lz=()=>{},sz=Qg.Provider,Xe=e=>{var o,n;return(n=(o=b.useContext(Qg))===null||o===void 0?void 0:o[e])!==null&&n!==void 0?n:lz},vw=b.createContext(void 0);vw.Provider;function cz(){return b.useContext(vw)}const bw=b.createContext(void 0);bw.Provider;function uz(){var e;return(e=b.useContext(bw))!==null&&e!==void 0?e:{announce:()=>{}}}const dz=e=>(e(0),0),fz=e=>e;function hz(){const{targetDocument:e}=Ze(),o=e==null?void 0:e.defaultView,n=o?o.requestAnimationFrame:dz,a=o?o.cancelAnimationFrame:fz;return dw(n,a)}function pz(e){return typeof e=="function"}const Oo=e=>{"use no memo";const[o,n]=b.useState(()=>e.defaultState===void 0?e.initialState:gz(e.defaultState)?e.defaultState():e.defaultState),a=b.useRef(e.state);b.useEffect(()=>{a.current=e.state},[e.state]);const l=b.useCallback(c=>{pz(c)&&c(a.current)},[]);return mz(e.state)?[e.state,l]:[o,n]};function gz(e){return typeof e=="function"}const mz=e=>{"use no memo";const[o]=b.useState(()=>e!==void 0);return o};function Dd(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const yw={current:0},vz=b.createContext(void 0);function xw(){var e;return(e=b.useContext(vz))!==null&&e!==void 0?e:yw}function bz(){const e=xw()!==yw,[o,n]=b.useState(e);return Dd()&&e&&b.useLayoutEffect(()=>{n(!1)},[]),o}const Dt=Dd()?b.useLayoutEffect:b.useEffect,ge=e=>{const o=b.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Dt(()=>{o.current=e},[e]),b.useCallback((...n)=>{const a=o.current;return a(...n)},[o])};function Yg(){const e=b.useRef(!0);return b.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function yz(){return b.useReducer(e=>e+1,0)[1]}const ww=b.createContext(void 0);ww.Provider;function xz(){return b.useContext(ww)||""}function Yt(e="fui-",o){"use no memo";const n=xw(),a=xz(),l=nd.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 it(...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 Sw=(e,o)=>!!(e!=null&&e.contains(o)),Jg=e=>{const{targetDocument:o}=Ze(),n=o==null?void 0:o.defaultView,{refs:a,callback:l,element:c,disabled:u,disabledFocusOnIframe:d,contains:h=Sw}=e,p=b.useRef(void 0);Sz({element:c,disabled:d||u,callback:l,refs:a,contains:h});const v=b.useRef(!1),m=ge(B=>{if(v.current){v.current=!1;return}const k=B.composedPath()[0];a.every(z=>!h(z.current||null,k))&&!u&&l(B)}),w=ge(B=>{v.current=a.some(k=>h(k.current||null,B.target))});b.useEffect(()=>{if(u)return;let B=wz(n);const k=x=>{if(x===B){B=void 0;return}m(x)};return c==null||c.addEventListener("click",k,!0),c==null||c.addEventListener("touchstart",k,!0),c==null||c.addEventListener("contextmenu",k,!0),c==null||c.addEventListener("mousedown",w,!0),p.current=n==null?void 0:n.setTimeout(()=>{B=void 0},1),()=>{c==null||c.removeEventListener("click",k,!0),c==null||c.removeEventListener("touchstart",k,!0),c==null||c.removeEventListener("contextmenu",k,!0),c==null||c.removeEventListener("mousedown",w,!0),n==null||n.clearTimeout(p.current),B=void 0}},[m,c,u,w,n])},wz=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}},Tp="fuiframefocus",Sz=e=>{const{disabled:o,element:n,callback:a,contains:l=Sw,pollDuration:c=100,refs:u}=e,d=b.useRef(void 0),h=ge(p=>{u.every(m=>!l(m.current||null,p.target))&&!o&&a(p)});b.useEffect(()=>{if(!o)return n==null||n.addEventListener(Tp,h,!0),()=>{n==null||n.removeEventListener(Tp,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(Tp,{bubbles:!0});v.dispatchEvent(m)}},c),()=>{var v;n==null||(v=n.defaultView)===null||v===void 0||v.clearInterval(d.current)}},[n,o,c])},kw=e=>{const{refs:o,callback:n,element:a,disabled:l,contains:c}=e,u=ge(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])},kz=e=>-1,Bz=e=>{};function Cl(){const{targetDocument:e}=Ze(),o=e==null?void 0:e.defaultView,n=o?o.setTimeout:kz,a=o?o.clearTimeout:Bz;return dw(n,a)}const _z=parseInt(b.version,10)>=19;function sc(e){if(e)return _z?e.props.ref:e.ref}function Ae(e,o){return(...n)=>{e==null||e(...n),o==null||o(...n)}}function vr(e,o){var n;const a=e;var l;return!!(!(a==null||(n=a.ownerDocument)===null||n===void 0)&&n.defaultView&&a instanceof a.ownerDocument.defaultView[(l=o==null?void 0:o.constructorName)!==null&&l!==void 0?l:"HTMLElement"])}function Bw(e){return!!e.type.isFluentTriggerComponent}function Od(e,o){return typeof e=="function"?e(o):e?_w(e,o):e||null}function _w(e,o){if(!b.isValidElement(e)||e.type===b.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(Bw(e)){const n=_w(e.props.children,o);return b.cloneElement(e,void 0,n)}else return b.cloneElement(e,o)}function cc(e){return b.isValidElement(e)?Bw(e)?cc(e.props.children):e:null}function Cz(e){return e&&!!e._virtual}function zz(e){return Cz(e)&&e._virtual.parent||null}function Cw(e,o={}){if(!e)return null;if(!o.skipVirtual){const a=zz(e);if(a)return a}const n=e.parentNode;return n&&n.nodeType===11?n.host:n}function Us(e,o){if(!e||!o)return!1;if(e===o)return!0;{const n=new WeakSet;for(;o;){const a=Cw(o,{skipVirtual:n.has(o)});if(n.add(o),a===e)return!0;o=a}}return!1}function jy(e,o){e&&Object.assign(e,{_virtual:{parent:o}})}function Nz(e,o){return{...o,[bl]:e}}function zw(e,o){return function(a,l,c,u,d){return Ty(l)?o(Nz(a,l),null,c,u,d):Ty(a)?o(a,l,c,u,d):e(a,l,c,u,d)}}function Nw(e){const{as:o,[sw]:n,[bl]:a,[ud]: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 Wa=TB,Tz=(e,o,n)=>{const{elementType:a,renderFunction:l,props:c}=Nw(e),u={...c,...o};return l?Wa.jsx(b.Fragment,{children:l(a,u)},n):Wa.jsx(a,u,n)},jz=(e,o,n)=>{const{elementType:a,renderFunction:l,props:c}=Nw(e),u={...c,...o};return l?Wa.jsx(b.Fragment,{children:l(a,{...u,children:Wa.jsxs(b.Fragment,{children:u.children},void 0)})},n):Wa.jsxs(a,u,n)},ne=zw(Wa.jsx,Tz),lt=zw(Wa.jsxs,jz),Tw=b.createContext(void 0),Ez={},Rz=Tw.Provider,Az=()=>{const e=b.useContext(Tw);return e??Ez},Mz=(e,o)=>ne(az,{value:o.provider,children:ne(QC,{value:o.theme,children:ne(JC,{value:o.themeClassName,children:ne(sz,{value:o.customStyleHooks_unstable,children:ne(oz,{value:o.tooltip,children:ne(yC,{dir:o.textDirection,children:ne(Rz,{value:o.iconDirection,children:ne(iz,{value:o.overrides_unstable,children:lt(e.root,{children:[Dd()?null:ne("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});/*!
61
61
  * Copyright (c) Microsoft Corporation. All rights reserved.
62
62
  * Licensed under the MIT License.
63
- */const hn="data-tabster",AC="data-tabster-dummy",Tw=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,Ki={EscapeGroupper:1,Restorer:2,Deloser:3},Kn={Invisible:0,PartiallyVisible:1,Visible:2},Ka={Source:0,Target:1},hr={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},kt={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},DC={Outside:2};/*!
63
+ */const hn="data-tabster",Dz="data-tabster-dummy",jw=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,Ki={EscapeGroupper:1,Restorer:2,Deloser:3},Kn={Invisible:0,PartiallyVisible:1,Visible:2},Ka={Source:0,Target:1},hr={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},kt={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Oz={Outside:2};/*!
64
64
  * Copyright (c) Microsoft Corporation. All rights reserved.
65
65
  * Licensed under the MIT License.
66
66
  */function ro(e,o){var n;return(n=e.storageEntry(o))==null?void 0:n.tabster}function Ew(e,o,n){var p,v;const a=n||e._noop?void 0:o.getAttribute(hn);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 B=e.attrHandlers.get(m);B&&(u[m]=B(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
67
  * Copyright (c) Microsoft Corporation. All rights reserved.
68
68
  * Licensed under the MIT License.
69
- */const Ar=(e,o,n)=>{e.addEventListener(o,n,!0)},Zo=(e,o,n)=>{e.removeEventListener(o,n,!0)};/*!
69
+ */const Ar=(e,o,n)=>{e.addEventListener(o,n,!0)},Jo=(e,o,n)=>{e.removeEventListener(o,n,!0)};/*!
70
70
  * Copyright (c) Microsoft Corporation. All rights reserved.
71
71
  * Licensed under the MIT License.
72
- */const Do="keyborg:focusin",Vs="keyborg:focusout",Ey=0,jy=1,Ry=2,Hu=3;function MC(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 Ep=!1;function vn(e){const o=e.focus;o.__keyborgNativeFocus?o.__keyborgNativeFocus.call(e):e.focus()}function OC(e){const o=e,n=o.document,a=o.HTMLElement.prototype;Ep||(Ep=MC(o));const l=a.focus;if(l.__keyborgNativeFocus)return;a.focus=v;const c=new Set,u=w=>{const B=w.target;if(!B)return;const k=new CustomEvent(Vs,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:w}});B.dispatchEvent(k)},d=w=>{const B=w.target;if(!B)return;let k=w.composedPath()[0];const x=new Set;for(;k;)k.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(x.add(k),k=k.host):k=k.parentNode;for(const C of c){const _=C.deref();(!_||!x.has(_))&&(c.delete(C),_&&(Zo(_,"focusin",d),Zo(_,"focusout",u)))}h(B,w.relatedTarget||void 0)},h=(w,B,k)=>{var j;const x=w.shadowRoot;if(x){for(const z of c)if(z.deref()===x)return;Ar(x,"focusin",d),Ar(x,"focusout",u),c.add(new WeakRef(x));return}const C={relatedTarget:B,originalEvent:k},_=new CustomEvent(Do,{cancelable:!0,bubbles:!0,composed:!0,detail:C});_.details=C,(Ep||p[Hu])&&(C.isFocusedProgrammatically=w===((j=p[Hu])==null?void 0:j.deref()),p[Hu]=void 0),w.dispatchEvent(_)},p=[d,u,c];o.__keyborgData=p,Ar(n,"focusin",d),Ar(n,"focusout",u);function v(){const w=o.__keyborgData;return w&&(w[Hu]=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 FC(e){const o=e,n=o.HTMLElement.prototype,a=n.focus.__keyborgNativeFocus,l=o.__keyborgData;if(l){const c=o.document;Zo(c,"focusin",l[Ey]),Zo(c,"focusout",l[jy]);for(const u of l[Ry]){const d=u.deref();d&&(Zo(d,"focusin",l[Ey]),Zo(d,"focusout",l[jy]))}l[Ry].clear(),delete o.__keyborgData}a&&(n.focus=a)}let qC=0;function HC(e,o){let n=e,a=!1,l;const c=()=>{var x;const k=(x=n==null?void 0:n.__keyborg)==null?void 0:x.refs;if(k)for(const C of Object.keys(k))k[C]._cb.forEach(_=>_(a))},u=k=>{a!==k&&(a=k,c())},d=k=>{if(k.key==="Tab")return!0;const x=n==null?void 0:n.document.activeElement,C=!0,_=x&&(x.tagName==="INPUT"||x.tagName==="TEXTAREA"||x.isContentEditable);return C&&!_},h=k=>{if(l||a)return;const x=k.detail;x.relatedTarget&&(x.isFocusedProgrammatically||x.isFocusedProgrammatically===void 0||u(!0))},p=()=>{n&&(l&&n.clearTimeout(l),l=n.setTimeout(()=>{l=void 0},1e3)),u(!1)},v=k=>{k.buttons===0||k.clientX===0&&k.clientY===0&&k.screenX===0&&k.screenY===0||p()},m=k=>{a||d(k)&&u(!0)},w=e.document;return Ar(w,Do,h),Ar(w,"mousedown",v),Ar(e,"keydown",m),Ar(w,"touchstart",p),Ar(w,"touchend",p),Ar(w,"touchcancel",p),OC(e),{dispose:()=>{if(!n)return;l&&(n.clearTimeout(l),l=void 0),FC(n);const k=n.document;Zo(k,Do,h),Zo(k,"mousedown",v),Zo(n,"keydown",m),Zo(k,"touchstart",p),Zo(k,"touchend",p),Zo(k,"touchcancel",p),n=void 0},get isNavigatingWithKeyboard(){return a},set isNavigatingWithKeyboard(k){u(k)}}}function Fd(e,o){const n=e,a="k"+ ++qC;let l=n,c;const u=[],d=n.__keyborg;d?c=d.core:c=HC(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 qd(e){e.dispose()}/*!
72
+ */const Fo="keyborg:focusin",Vs="keyborg:focusout",Ey=0,Ry=1,Ay=2,Hu=3;function Fz(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 jp=!1;function vn(e){const o=e.focus;o.__keyborgNativeFocus?o.__keyborgNativeFocus.call(e):e.focus()}function qz(e){const o=e,n=o.document,a=o.HTMLElement.prototype;jp||(jp=Fz(o));const l=a.focus;if(l.__keyborgNativeFocus)return;a.focus=v;const c=new Set,u=w=>{const B=w.target;if(!B)return;const k=new CustomEvent(Vs,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:w}});B.dispatchEvent(k)},d=w=>{const B=w.target;if(!B)return;let k=w.composedPath()[0];const x=new Set;for(;k;)k.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(x.add(k),k=k.host):k=k.parentNode;for(const z of c){const _=z.deref();(!_||!x.has(_))&&(c.delete(z),_&&(Jo(_,"focusin",d),Jo(_,"focusout",u)))}h(B,w.relatedTarget||void 0)},h=(w,B,k)=>{var E;const x=w.shadowRoot;if(x){for(const C of c)if(C.deref()===x)return;Ar(x,"focusin",d),Ar(x,"focusout",u),c.add(new WeakRef(x));return}const z={relatedTarget:B,originalEvent:k},_=new CustomEvent(Fo,{cancelable:!0,bubbles:!0,composed:!0,detail:z});_.details=z,(jp||p[Hu])&&(z.isFocusedProgrammatically=w===((E=p[Hu])==null?void 0:E.deref()),p[Hu]=void 0),w.dispatchEvent(_)},p=[d,u,c];o.__keyborgData=p,Ar(n,"focusin",d),Ar(n,"focusout",u);function v(){const w=o.__keyborgData;return w&&(w[Hu]=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 Hz(e){const o=e,n=o.HTMLElement.prototype,a=n.focus.__keyborgNativeFocus,l=o.__keyborgData;if(l){const c=o.document;Jo(c,"focusin",l[Ey]),Jo(c,"focusout",l[Ry]);for(const u of l[Ay]){const d=u.deref();d&&(Jo(d,"focusin",l[Ey]),Jo(d,"focusout",l[Ry]))}l[Ay].clear(),delete o.__keyborgData}a&&(n.focus=a)}let Pz=0;function Iz(e,o){let n=e,a=!1,l;const c=()=>{var x;const k=(x=n==null?void 0:n.__keyborg)==null?void 0:x.refs;if(k)for(const z of Object.keys(k))k[z]._cb.forEach(_=>_(a))},u=k=>{a!==k&&(a=k,c())},d=k=>{if(k.key==="Tab")return!0;const x=n==null?void 0:n.document.activeElement,z=!0,_=x&&(x.tagName==="INPUT"||x.tagName==="TEXTAREA"||x.isContentEditable);return z&&!_},h=k=>{if(l||a)return;const x=k.detail;x.relatedTarget&&(x.isFocusedProgrammatically||x.isFocusedProgrammatically===void 0||u(!0))},p=()=>{n&&(l&&n.clearTimeout(l),l=n.setTimeout(()=>{l=void 0},1e3)),u(!1)},v=k=>{k.buttons===0||k.clientX===0&&k.clientY===0&&k.screenX===0&&k.screenY===0||p()},m=k=>{a||d(k)&&u(!0)},w=e.document;return Ar(w,Fo,h),Ar(w,"mousedown",v),Ar(e,"keydown",m),Ar(w,"touchstart",p),Ar(w,"touchend",p),Ar(w,"touchcancel",p),qz(e),{dispose:()=>{if(!n)return;l&&(n.clearTimeout(l),l=void 0),Hz(n);const k=n.document;Jo(k,Fo,h),Jo(k,"mousedown",v),Jo(n,"keydown",m),Jo(k,"touchstart",p),Jo(k,"touchend",p),Jo(k,"touchcancel",p),n=void 0},get isNavigatingWithKeyboard(){return a},set isNavigatingWithKeyboard(k){u(k)}}}function Fd(e,o){const n=e,a="k"+ ++Pz;let l=n,c;const u=[],d=n.__keyborg;d?c=d.core:c=Iz(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 qd(e){e.dispose()}/*!
73
73
  * Copyright (c) Microsoft Corporation. All rights reserved.
74
74
  * Licensed under the MIT License.
75
- */const PC="tabster:focusin",IC="tabster:focusout",pg="tabster:movefocus",LC="tabster:modalizer:active",UC="tabster:modalizer:inactive",VC="tabster:mover:state",Ay="tabster:mover:movefocus",Dy="tabster:mover:memorized-element",gg="tabster:restorer:restore-focus",GC="tabster:root:focus",WC="tabster:root:blur",XC=typeof CustomEvent<"u"?CustomEvent:function(){};class xn extends XC{constructor(n,a){super(n,{bubbles:!0,cancelable:!0,composed:!0,detail:a});P(this,"details");this.details=a}}class $C extends xn{constructor(o){super(PC,o)}}class KC extends xn{constructor(o){super(IC,o)}}class Qi extends xn{constructor(o){super(pg,o)}}class My extends xn{constructor(o){super(VC,o)}}class QC extends xn{constructor(o){super(LC,o)}}class ZC extends xn{constructor(o){super(UC,o)}}class Oy extends xn{constructor(){super(gg)}}class YC extends xn{constructor(o){super(GC,o)}}class JC extends xn{constructor(o){super(WC,o)}}/*!
75
+ */const Lz="tabster:focusin",Uz="tabster:focusout",gg="tabster:movefocus",Vz="tabster:modalizer:active",Gz="tabster:modalizer:inactive",Wz="tabster:mover:state",My="tabster:mover:movefocus",Dy="tabster:mover:memorized-element",mg="tabster:restorer:restore-focus",Xz="tabster:root:focus",$z="tabster:root:blur",Kz=typeof CustomEvent<"u"?CustomEvent:function(){};class xn extends Kz{constructor(n,a){super(n,{bubbles:!0,cancelable:!0,composed:!0,detail:a});P(this,"details");this.details=a}}class Zz extends xn{constructor(o){super(Lz,o)}}class Qz extends xn{constructor(o){super(Uz,o)}}class Zi extends xn{constructor(o){super(gg,o)}}class Oy extends xn{constructor(o){super(Wz,o)}}class Yz extends xn{constructor(o){super(Vz,o)}}class Jz extends xn{constructor(o){super(Gz,o)}}class Fy extends xn{constructor(){super(mg)}}class eN extends xn{constructor(o){super(Xz,o)}}class tN extends xn{constructor(o){super($z,o)}}/*!
76
76
  * Copyright (c) Microsoft Corporation. All rights reserved.
77
77
  * Licensed under the MIT License.
78
- */const eN=e=>new MutationObserver(e),tN=(e,o,n,a)=>e.createTreeWalker(o,n,a),oN=e=>e?e.parentNode:null,rN=e=>e?e.parentElement:null,nN=(e,o)=>!!(o&&(e!=null&&e.contains(o))),aN=e=>e.activeElement,iN=(e,o)=>e.querySelector(o),lN=(e,o)=>Array.prototype.slice.call(e.querySelectorAll(o),0),sN=(e,o)=>e.getElementById(o),cN=e=>(e==null?void 0:e.firstChild)||null,uN=e=>(e==null?void 0:e.lastChild)||null,dN=e=>(e==null?void 0:e.nextSibling)||null,fN=e=>(e==null?void 0:e.previousSibling)||null,hN=e=>(e==null?void 0:e.firstElementChild)||null,pN=e=>(e==null?void 0:e.lastElementChild)||null,gN=e=>(e==null?void 0:e.nextElementSibling)||null,mN=e=>(e==null?void 0:e.previousElementSibling)||null,vN=(e,o)=>e.appendChild(o),bN=(e,o,n)=>e.insertBefore(o,n),yN=e=>{var o;return((o=e.ownerDocument)==null?void 0:o.getSelection())||null},xN=(e,o)=>e.ownerDocument.getElementsByName(o),ce={createMutationObserver:eN,createTreeWalker:tN,getParentNode:oN,getParentElement:rN,nodeContains:nN,getActiveElement:aN,querySelector:iN,querySelectorAll:lN,getElementById:sN,getFirstChild:cN,getLastChild:uN,getNextSibling:dN,getPreviousSibling:fN,getFirstElementChild:hN,getLastElementChild:pN,getNextElementSibling:gN,getPreviousElementSibling:mN,appendChild:vN,insertBefore:bN,getSelection:yN,getElementsByName:xN};function wN(e){for(const o of Object.keys(e))ce[o]=e[o]}/*!
78
+ */const oN=e=>new MutationObserver(e),rN=(e,o,n,a)=>e.createTreeWalker(o,n,a),nN=e=>e?e.parentNode:null,aN=e=>e?e.parentElement:null,iN=(e,o)=>!!(o&&(e!=null&&e.contains(o))),lN=e=>e.activeElement,sN=(e,o)=>e.querySelector(o),cN=(e,o)=>Array.prototype.slice.call(e.querySelectorAll(o),0),uN=(e,o)=>e.getElementById(o),dN=e=>(e==null?void 0:e.firstChild)||null,fN=e=>(e==null?void 0:e.lastChild)||null,hN=e=>(e==null?void 0:e.nextSibling)||null,pN=e=>(e==null?void 0:e.previousSibling)||null,gN=e=>(e==null?void 0:e.firstElementChild)||null,mN=e=>(e==null?void 0:e.lastElementChild)||null,vN=e=>(e==null?void 0:e.nextElementSibling)||null,bN=e=>(e==null?void 0:e.previousElementSibling)||null,yN=(e,o)=>e.appendChild(o),xN=(e,o,n)=>e.insertBefore(o,n),wN=e=>{var o;return((o=e.ownerDocument)==null?void 0:o.getSelection())||null},SN=(e,o)=>e.ownerDocument.getElementsByName(o),ce={createMutationObserver:oN,createTreeWalker:rN,getParentNode:nN,getParentElement:aN,nodeContains:iN,getActiveElement:lN,querySelector:sN,querySelectorAll:cN,getElementById:uN,getFirstChild:dN,getLastChild:fN,getNextSibling:hN,getPreviousSibling:pN,getFirstElementChild:gN,getLastElementChild:mN,getNextElementSibling:vN,getPreviousElementSibling:bN,appendChild:yN,insertBefore:xN,getSelection:wN,getElementsByName:SN};function kN(e){for(const o of Object.keys(e))ce[o]=e[o]}/*!
79
79
  * Copyright (c) Microsoft Corporation. All rights reserved.
80
80
  * Licensed under the MIT License.
81
- */let SN=0;function Hd(e){const o=e();let n=o.__tabsterInstanceContext;return n||(n={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0},o.__tabsterInstanceContext=n),n}function kN(e){const o=e.__tabsterInstanceContext;o&&(o.elementByUId={},o.containerBoundingRectCache={},o.containerBoundingRectCacheTimer&&e.clearTimeout(o.containerBoundingRectCacheTimer),delete e.__tabsterInstanceContext)}function BN(e){return!!e.querySelector(Tw)}class tr{constructor(o,n){P(this,"_ref");P(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 Jg(e,o,n){if(o.nodeType===Node.ELEMENT_NODE)return ce.createTreeWalker(e,o,NodeFilter.SHOW_ELEMENT,{acceptNode:n})}function jw(e,o){let n=o.__tabsterCacheId;const a=Hd(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 Fy(e,o,n){const a=Rw(o);if(!a)return!1;const l=jw(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 _N(e,o,n){const a=Rw(o);if(a){const l=jw(e,a),c=o.getBoundingClientRect();n?a.scrollTop+=c.top-l.top:a.scrollTop+=c.bottom-l.bottom}}function Rw(e){const o=e.ownerDocument;if(o){for(let n=ce.getParentElement(e);n;n=ce.getParentElement(n))if(n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight)return n;return o.documentElement}return null}function zN(e){e.__shouldIgnoreFocus=!0}function Aw(e){return!!e.__shouldIgnoreFocus}function CN(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((++SN).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function od(e,o){const n=Hd(e);let a=o.__tabsterElementUID;return a||(a=o.__tabsterElementUID=CN(e())),!n.elementByUId[a]&&Dw(o.ownerDocument,o)&&(n.elementByUId[a]=new tr(o)),a}function qy(e,o){const n=Hd(e);for(const a of Object.keys(n.elementByUId)){const l=n.elementByUId[a],c=l&&l.get();c&&o&&!ce.nodeContains(o,c)||delete n.elementByUId[a]}}function Dw(e,o){return ce.nodeContains(e==null?void 0:e.body,o)}function Mw(e,o){return typeof e.matches=="function"&&e.matches(o)}let NN=0;class Pd{constructor(o,n,a){P(this,"_tabster");P(this,"_element");P(this,"_props");P(this,"id");this._tabster=o,this._element=new tr(n),this._props={...a},this.id="i"+ ++NN}getElement(){return this._element.get()}getProps(){return this._props}setProps(o){this._props={...o}}}function Ow(e){let o=null;for(let n=ce.getLastElementChild(e);n;n=ce.getLastElementChild(n))o=n;return o||void 0}function jp(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 TN(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 mg(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function EN(e){if(!mg(e))return;const o=e.name;let n=Array.from(ce.getElementsByName(e,o)),a;return n=n.filter(l=>mg(l)?(l.checked&&(a=l),!0):!1),{name:o,buttons:new Set(n),checked:a}}/*!
81
+ */let BN=0;function Hd(e){const o=e();let n=o.__tabsterInstanceContext;return n||(n={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0},o.__tabsterInstanceContext=n),n}function _N(e){const o=e.__tabsterInstanceContext;o&&(o.elementByUId={},o.containerBoundingRectCache={},o.containerBoundingRectCacheTimer&&e.clearTimeout(o.containerBoundingRectCacheTimer),delete e.__tabsterInstanceContext)}function CN(e){return!!e.querySelector(jw)}class rr{constructor(o,n){P(this,"_ref");P(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 em(e,o,n){if(o.nodeType===Node.ELEMENT_NODE)return ce.createTreeWalker(e,o,NodeFilter.SHOW_ELEMENT,{acceptNode:n})}function Rw(e,o){let n=o.__tabsterCacheId;const a=Hd(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 qy(e,o,n){const a=Aw(o);if(!a)return!1;const l=Rw(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 zN(e,o,n){const a=Aw(o);if(a){const l=Rw(e,a),c=o.getBoundingClientRect();n?a.scrollTop+=c.top-l.top:a.scrollTop+=c.bottom-l.bottom}}function Aw(e){const o=e.ownerDocument;if(o){for(let n=ce.getParentElement(e);n;n=ce.getParentElement(n))if(n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight)return n;return o.documentElement}return null}function NN(e){e.__shouldIgnoreFocus=!0}function Mw(e){return!!e.__shouldIgnoreFocus}function TN(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((++BN).toString(36)),n.push("|"),n.push(Date.now().toString(36)),n.join("")}function od(e,o){const n=Hd(e);let a=o.__tabsterElementUID;return a||(a=o.__tabsterElementUID=TN(e())),!n.elementByUId[a]&&Dw(o.ownerDocument,o)&&(n.elementByUId[a]=new rr(o)),a}function Hy(e,o){const n=Hd(e);for(const a of Object.keys(n.elementByUId)){const l=n.elementByUId[a],c=l&&l.get();c&&o&&!ce.nodeContains(o,c)||delete n.elementByUId[a]}}function Dw(e,o){return ce.nodeContains(e==null?void 0:e.body,o)}function Ow(e,o){return typeof e.matches=="function"&&e.matches(o)}let jN=0;class Pd{constructor(o,n,a){P(this,"_tabster");P(this,"_element");P(this,"_props");P(this,"id");this._tabster=o,this._element=new rr(n),this._props={...a},this.id="i"+ ++jN}getElement(){return this._element.get()}getProps(){return this._props}setProps(o){this._props={...o}}}function Fw(e){let o=null;for(let n=ce.getLastElementChild(e);n;n=ce.getLastElementChild(n))o=n;return o||void 0}function Ep(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 EN(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 vg(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function RN(e){if(!vg(e))return;const o=e.name;let n=Array.from(ce.getElementsByName(e,o)),a;return n=n.filter(l=>vg(l)?(l.checked&&(a=l),!0):!1),{name:o,buttons:new Set(n),checked:a}}/*!
82
82
  * Copyright (c) Microsoft Corporation. All rights reserved.
83
83
  * Licensed under the MIT License.
84
- */const Rp=100;class dd{constructor(o,n,a,l,c){P(this,"_isPhantom");P(this,"_fixedTarget");P(this,"_disposeTimer");P(this,"_clearDisposeTimeout");P(this,"input");P(this,"useDefaultAction");P(this,"isFirst");P(this,"isOutside");P(this,"onFocusIn");P(this,"onFocusOut");P(this,"_focusIn",o=>{if(this._fixedTarget){const a=this._fixedTarget.get();a&&vn(a);return}const n=this.input;if(this.onFocusIn&&n){const a=o.relatedTarget;this.onFocusIn(this,this._isBackward(!0,n,a),a)}});P(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(AC,""),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"),zN(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=ce.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 em={Root:1,Modalizer:2,Mover:3};class Gs{constructor(o,n,a,l,c,u){P(this,"_instance");P(this,"_onFocusIn");P(this,"_onFocusOut");P(this,"_element");this._element=n,this._instance=new RN(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 dd(o.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let h,p;if(n.tagName==="BODY")h=n,p=a&&l||!a&&!l?ce.getFirstElementChild(n):null;else{a&&(!l||l&&!o.focusable.isFocusable(n,!1,!0,!0))?(h=n,p=l?n.firstElementChild:null):(h=ce.getParentElement(n),p=a&&l||!a&&!l?n:ce.getNextElementSibling(n));let v,m;do v=a&&l||!a&&!l?ce.getPreviousElementSibling(p):p,m=Ws(v),m===n?p=a&&l||!a&&!l?v:ce.getNextElementSibling(v):m=null;while(m)}h!=null&&h.dispatchEvent(new Qi({by:"root",owner:h,next:null,relatedEvent:c}))&&(ce.insertBefore(h,d,p),vn(d))}}static addPhantomDummyWithTarget(o,n,a,l){const u=new dd(o.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new tr(l)).input;if(u){let d,h;BN(n)&&!a?(d=n,h=ce.getFirstElementChild(n)):(d=ce.getParentElement(n),h=a?n:ce.getNextElementSibling(n)),d&&ce.insertBefore(d,u,h)}}}class jN{constructor(o){P(this,"_win");P(this,"_updateQueue",new Set);P(this,"_updateTimer");P(this,"_lastUpdateQueueTime",0);P(this,"_changedParents",new WeakSet);P(this,"_updateDummyInputsTimer");P(this,"_dummyElements",[]);P(this,"_dummyCallbacks",new WeakMap);P(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=ce.getParentNode(l);(!u||this._changedParents.has(u))&&c()}}}this._changedParents=new WeakSet},Rp)))});this._win=o}add(o,n){!this._dummyCallbacks.has(o)&&this._win&&(this._dummyElements.push(new tr(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+Rp<=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()},Rp))}}class RN{constructor(o,n,a,l,c,u,d){P(this,"_tabster");P(this,"_addTimer");P(this,"_getWindow");P(this,"_wrappers",[]);P(this,"_element");P(this,"_isOutside",!1);P(this,"_firstDummy");P(this,"_lastDummy");P(this,"_transformElements",new Set);P(this,"_callForDefaultAction");P(this,"_onFocusIn",(o,n,a)=>{this._onFocus(!0,o,n,a)});P(this,"_onFocusOut",(o,n,a)=>{this._onFocus(!1,o,n,a)});P(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&&vn(h)}}});P(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 Qi({by:"root",owner:h,next:null,relatedEvent:n}))&&vn(p)}}});P(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)}});P(this,"_addDummyInputs",()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))});P(this,"_addTransformOffsets",()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)});P(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=ce.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===DC.Outside:(u||m==="UL"||m==="OL"||m==="TABLE")&&!(m==="LI"||m==="TD"||m==="TH"),this._firstDummy=new dd(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new dd(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=ce.getParentNode(o);if(d){const h=ce.getNextSibling(o);h!==a&&ce.insertBefore(d,a,h),ce.getPreviousElementSibling(o)!==n&&ce.insertBefore(d,n,o)}}else{ce.getLastElementChild(o)!==a&&ce.appendChild(o,a);const d=ce.getFirstElementChild(o);d&&d!==n&&d.parentNode&&ce.insertBefore(d.parentNode,n,d)}}}function Ws(e){var o;return((o=e==null?void 0:e.__tabsterDummyContainer)==null?void 0:o.get())||null}/*!
84
+ */const Rp=100;class dd{constructor(o,n,a,l,c){P(this,"_isPhantom");P(this,"_fixedTarget");P(this,"_disposeTimer");P(this,"_clearDisposeTimeout");P(this,"input");P(this,"useDefaultAction");P(this,"isFirst");P(this,"isOutside");P(this,"onFocusIn");P(this,"onFocusOut");P(this,"_focusIn",o=>{if(this._fixedTarget){const a=this._fixedTarget.get();a&&vn(a);return}const n=this.input;if(this.onFocusIn&&n){const a=o.relatedTarget;this.onFocusIn(this,this._isBackward(!0,n,a),a)}});P(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(Dz,""),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"),NN(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=ce.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 tm={Root:1,Modalizer:2,Mover:3};class Gs{constructor(o,n,a,l,c,u){P(this,"_instance");P(this,"_onFocusIn");P(this,"_onFocusOut");P(this,"_element");this._element=n,this._instance=new MN(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 dd(o.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let h,p;if(n.tagName==="BODY")h=n,p=a&&l||!a&&!l?ce.getFirstElementChild(n):null;else{a&&(!l||l&&!o.focusable.isFocusable(n,!1,!0,!0))?(h=n,p=l?n.firstElementChild:null):(h=ce.getParentElement(n),p=a&&l||!a&&!l?n:ce.getNextElementSibling(n));let v,m;do v=a&&l||!a&&!l?ce.getPreviousElementSibling(p):p,m=Ws(v),m===n?p=a&&l||!a&&!l?v:ce.getNextElementSibling(v):m=null;while(m)}h!=null&&h.dispatchEvent(new Zi({by:"root",owner:h,next:null,relatedEvent:c}))&&(ce.insertBefore(h,d,p),vn(d))}}static addPhantomDummyWithTarget(o,n,a,l){const u=new dd(o.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new rr(l)).input;if(u){let d,h;CN(n)&&!a?(d=n,h=ce.getFirstElementChild(n)):(d=ce.getParentElement(n),h=a?n:ce.getNextElementSibling(n)),d&&ce.insertBefore(d,u,h)}}}class AN{constructor(o){P(this,"_win");P(this,"_updateQueue",new Set);P(this,"_updateTimer");P(this,"_lastUpdateQueueTime",0);P(this,"_changedParents",new WeakSet);P(this,"_updateDummyInputsTimer");P(this,"_dummyElements",[]);P(this,"_dummyCallbacks",new WeakMap);P(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=ce.getParentNode(l);(!u||this._changedParents.has(u))&&c()}}}this._changedParents=new WeakSet},Rp)))});this._win=o}add(o,n){!this._dummyCallbacks.has(o)&&this._win&&(this._dummyElements.push(new rr(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+Rp<=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()},Rp))}}class MN{constructor(o,n,a,l,c,u,d){P(this,"_tabster");P(this,"_addTimer");P(this,"_getWindow");P(this,"_wrappers",[]);P(this,"_element");P(this,"_isOutside",!1);P(this,"_firstDummy");P(this,"_lastDummy");P(this,"_transformElements",new Set);P(this,"_callForDefaultAction");P(this,"_onFocusIn",(o,n,a)=>{this._onFocus(!0,o,n,a)});P(this,"_onFocusOut",(o,n,a)=>{this._onFocus(!1,o,n,a)});P(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&&vn(h)}}});P(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 Zi({by:"root",owner:h,next:null,relatedEvent:n}))&&vn(p)}}});P(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)}});P(this,"_addDummyInputs",()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))});P(this,"_addTransformOffsets",()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)});P(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=ce.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===Oz.Outside:(u||m==="UL"||m==="OL"||m==="TABLE")&&!(m==="LI"||m==="TD"||m==="TH"),this._firstDummy=new dd(this._getWindow,this._isOutside,{isFirst:!0},n),this._lastDummy=new dd(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=ce.getParentNode(o);if(d){const h=ce.getNextSibling(o);h!==a&&ce.insertBefore(d,a,h),ce.getPreviousElementSibling(o)!==n&&ce.insertBefore(d,n,o)}}else{ce.getLastElementChild(o)!==a&&ce.appendChild(o,a);const d=ce.getFirstElementChild(o);d&&d!==n&&d.parentNode&&ce.insertBefore(d.parentNode,n,d)}}}function Ws(e){var o;return((o=e==null?void 0:e.__tabsterDummyContainer)==null?void 0:o.get())||null}/*!
85
85
  * Copyright (c) Microsoft Corporation. All rights reserved.
86
86
  * Licensed under the MIT License.
87
- */function tm(e,o){const n=JSON.stringify(e);return o===!0?n:{[hn]:n}}function AN(e,o){for(const n of Object.keys(o)){const a=o[n];a?e[n]=a:delete e[n]}}function DN(e,o,n){let a;{const l=e.getAttribute(hn);if(l)try{a=JSON.parse(l)}catch{}}a||(a={}),AN(a,o),Object.keys(a).length>0?e.setAttribute(hn,tm(a,!0)):e.removeAttribute(hn)}/*!
87
+ */function om(e,o){const n=JSON.stringify(e);return o===!0?n:{[hn]:n}}function DN(e,o){for(const n of Object.keys(o)){const a=o[n];a?e[n]=a:delete e[n]}}function ON(e,o,n){let a;{const l=e.getAttribute(hn);if(l)try{a=JSON.parse(l)}catch{}}a||(a={}),DN(a,o),Object.keys(a).length>0?e.setAttribute(hn,om(a,!0)):e.removeAttribute(hn)}/*!
88
88
  * Copyright (c) Microsoft Corporation. All rights reserved.
89
89
  * Licensed under the MIT License.
90
- */class Hy extends Gs{constructor(n,a,l,c){super(n,a,em.Root,c,void 0,!0);P(this,"_tabster");P(this,"_setFocused");P(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){vn(c);return}}(a=n.input)==null||a.blur()}});this._setHandlers(this._onDummyInputFocus),this._tabster=n,this._setFocused=l}}class MN extends Pd{constructor(n,a,l,c,u){super(n,a,c);P(this,"uid");P(this,"_dummyManager");P(this,"_sys");P(this,"_isFocused",!1);P(this,"_setFocusedTimer");P(this,"_onDispose");P(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 YC({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 JC({element:a}))},0))});P(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)});P(this,"_onFocusOut",()=>{this._setFocused(!1)});this._onDispose=l;const d=n.getWindow;this.uid=od(d,a),this._sys=u,(n.controlTab||n.rootDummyInputs)&&this.addDummyInputs();const p=d().document;p.addEventListener(Do,this._onFocusIn),p.addEventListener(Vs,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Hy(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var l;this._onDispose(this);const n=this._tabster.getWindow(),a=n.document;a.removeEventListener(Do,this._onFocusIn),a.removeEventListener(Vs,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&&Hy.moveWithPhantomDummy(this._tabster,c,!0,n,a)}}_add(){}_remove(){}}class gt{constructor(o,n){P(this,"_tabster");P(this,"_win");P(this,"_autoRoot");P(this,"_autoRootWaiting",!1);P(this,"_roots",{});P(this,"_forceDummy",!1);P(this,"rootById",{});P(this,"_autoRootCreate",()=>{var a;const o=this._win().document,n=o.body;if(n){this._autoRootUnwait(o);const l=this._autoRoot;if(l)return DN(n,{root:l}),Ew(this._tabster,n),(a=ro(this._tabster,n))==null?void 0:a.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,o.addEventListener("readystatechange",this._autoRootCreate))});P(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,R;if(!n.ownerDocument)return;const{checkRtl:l,referenceElement:c}=a,u=o.getParent;o.drainInitQueue();let d,h,p,v,m=!1,w,B,k,x,C=c||n;const _={};for(;C&&(!d||l);){const F=ro(o,C);if(l&&k===void 0){const ie=C.dir;ie&&(k=ie.toLowerCase()==="rtl")}if(!F){C=u(C);continue}const O=C.tagName;(F.uncontrolled||O==="IFRAME"||O==="WEBVIEW")&&o.focusable.isVisible(C)&&(x=C),!v&&((z=F.focusable)!=null&&z.excludeFromMover)&&!p&&(m=!0);const X=F.modalizer,ee=F.groupper,he=F.mover;!h&&X&&(h=X),!p&&ee&&(!h||X)&&(h?(!ee.isActive()&&ee.getProps().tabbability&&h.userId!==((T=o.modalizer)==null?void 0:T.activeId)&&(h=void 0,p=ee),B=ee):p=ee),!v&&he&&(!h||X)&&(!ee||C!==n)&&C.contains(n)&&(v=he,w=!!p&&p!==ee),F.root&&(d=F.root),(E=F.focusable)!=null&&E.ignoreKeydown&&Object.assign(_,F.focusable.ignoreKeydown),C=u(C)}if(!d){const F=o.root;F._autoRoot&&(R=n.ownerDocument)!=null&&R.body&&(d=F._autoRootCreate())}return p&&!v&&(w=!0),d?{root:d,modalizer:h,groupper:p,mover:v,groupperBeforeMover:w,modalizerInGroupper:B,rtl:l?!!k:void 0,uncontrolled:x,excludedFromMover:m,ignoreKeydown:F=>!!_[F.key]}:void 0}static getRoot(o,n){var l;const a=o.getParent;for(let c=n;c;c=a(c)){const u=(l=ro(o,c))==null?void 0:l.root;if(u)return u}}onRoot(o,n){n?delete this.rootById[o.uid]:this.rootById[o.uid]=o}}/*!
90
+ */class Py extends Gs{constructor(n,a,l,c){super(n,a,tm.Root,c,void 0,!0);P(this,"_tabster");P(this,"_setFocused");P(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){vn(c);return}}(a=n.input)==null||a.blur()}});this._setHandlers(this._onDummyInputFocus),this._tabster=n,this._setFocused=l}}class FN extends Pd{constructor(n,a,l,c,u){super(n,a,c);P(this,"uid");P(this,"_dummyManager");P(this,"_sys");P(this,"_isFocused",!1);P(this,"_setFocusedTimer");P(this,"_onDispose");P(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 eN({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 tN({element:a}))},0))});P(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)});P(this,"_onFocusOut",()=>{this._setFocused(!1)});this._onDispose=l;const d=n.getWindow;this.uid=od(d,a),this._sys=u,(n.controlTab||n.rootDummyInputs)&&this.addDummyInputs();const p=d().document;p.addEventListener(Fo,this._onFocusIn),p.addEventListener(Vs,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Py(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var l;this._onDispose(this);const n=this._tabster.getWindow(),a=n.document;a.removeEventListener(Fo,this._onFocusIn),a.removeEventListener(Vs,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&&Py.moveWithPhantomDummy(this._tabster,c,!0,n,a)}}_add(){}_remove(){}}class gt{constructor(o,n){P(this,"_tabster");P(this,"_win");P(this,"_autoRoot");P(this,"_autoRootWaiting",!1);P(this,"_roots",{});P(this,"_forceDummy",!1);P(this,"rootById",{});P(this,"_autoRootCreate",()=>{var a;const o=this._win().document,n=o.body;if(n){this._autoRootUnwait(o);const l=this._autoRoot;if(l)return ON(n,{root:l}),Ew(this._tabster,n),(a=ro(this._tabster,n))==null?void 0:a.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,o.addEventListener("readystatechange",this._autoRootCreate))});P(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 FN(this._tabster,o,this._onRootDispose,n,a);return this._roots[l.id]=l,this._forceDummy&&l.addDummyInputs(),l}addDummyInputs(){this._forceDummy=!0;const o=this._roots;for(const n of Object.keys(o))o[n].addDummyInputs()}static getRootByUId(o,n){const a=o().__tabsterInstance;return a&&a.root.rootById[n]}static getTabsterContext(o,n,a={}){var C,T,j,R;if(!n.ownerDocument)return;const{checkRtl:l,referenceElement:c}=a,u=o.getParent;o.drainInitQueue();let d,h,p,v,m=!1,w,B,k,x,z=c||n;const _={};for(;z&&(!d||l);){const F=ro(o,z);if(l&&k===void 0){const ie=z.dir;ie&&(k=ie.toLowerCase()==="rtl")}if(!F){z=u(z);continue}const O=z.tagName;(F.uncontrolled||O==="IFRAME"||O==="WEBVIEW")&&o.focusable.isVisible(z)&&(x=z),!v&&((C=F.focusable)!=null&&C.excludeFromMover)&&!p&&(m=!0);const X=F.modalizer,ee=F.groupper,he=F.mover;!h&&X&&(h=X),!p&&ee&&(!h||X)&&(h?(!ee.isActive()&&ee.getProps().tabbability&&h.userId!==((T=o.modalizer)==null?void 0:T.activeId)&&(h=void 0,p=ee),B=ee):p=ee),!v&&he&&(!h||X)&&(!ee||z!==n)&&z.contains(n)&&(v=he,w=!!p&&p!==ee),F.root&&(d=F.root),(j=F.focusable)!=null&&j.ignoreKeydown&&Object.assign(_,F.focusable.ignoreKeydown),z=u(z)}if(!d){const F=o.root;F._autoRoot&&(R=n.ownerDocument)!=null&&R.body&&(d=F._autoRootCreate())}return p&&!v&&(w=!0),d?{root:d,modalizer:h,groupper:p,mover:v,groupperBeforeMover:w,modalizerInGroupper:B,rtl:l?!!k:void 0,uncontrolled:x,excludedFromMover:m,ignoreKeydown:F=>!!_[F.key]}:void 0}static getRoot(o,n){var l;const a=o.getParent;for(let c=n;c;c=a(c)){const u=(l=ro(o,c))==null?void 0:l.root;if(u)return u}}onRoot(o,n){n?delete this.rootById[o.uid]:this.rootById[o.uid]=o}}/*!
91
91
  * Copyright (c) Microsoft Corporation. All rights reserved.
92
92
  * Licensed under the MIT License.
93
- */class ON{constructor(o){P(this,"_tabster");this._tabster=o}dispose(){}getProps(o){const n=ro(this._tabster,o);return n&&n.focusable||{}}isFocusable(o,n,a,l){return Mw(o,Tw)&&(n||o.tabIndex!==-1)?(a||this.isVisible(o))&&(l||this.isAccessible(o)):!1}isVisible(o){if(!o.ownerDocument||o.nodeType!==Node.ELEMENT_NODE||TN(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=ce.getParentElement(a)){const l=ro(this._tabster,a);if(this._isHidden(a)||!((n=l==null?void 0:l.focusable)==null?void 0:n.ignoreAriaDisabled)&&this._isDisabled(a))return!1}return!0}_isDisabled(o){return o.hasAttribute("disabled")}_isHidden(o){var a;const n=o.getAttribute("aria-hidden");return!!(n&&n.toLowerCase()==="true"&&!((a=this._tabster.modalizer)!=null&&a.isAugmented(o)))}findFirst(o,n){return this.findElement({...o},n)}findLast(o,n){return this.findElement({isBackward:!0,...o},n)}findNext(o,n){return this.findElement({...o},n)}findPrev(o,n){return this.findElement({...o,isBackward:!0},n)}findDefault(o,n){return this.findElement({...o,acceptCondition:a=>this.isFocusable(a,o.includeProgrammaticallyFocusable)&&!!this.getProps(a).isDefault},n)||null}findAll(o){return this._findElements(!0,o)||[]}findElement(o,n){const a=this._findElements(!1,o,n);return a&&a[0]}_findElements(o,n,a){var j,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:B}=n;const k=!!B;if(!l)return null;B||(B=E=>this.isFocusable(E,u,!1,h));const x={container:l,modalizerUserId:p===void 0&&d?(j=this._tabster.modalizer)==null?void 0:j.activeId:p||((T=(z=gt.getTabsterContext(this._tabster,l))==null?void 0:z.modalizer)==null?void 0:T.userId),from:c||l,isBackward:v,isFindAll:o,acceptCondition:B,hasCustomCondition:k,includeProgrammaticallyFocusable:u,ignoreAccessibility:h,cachedGrouppers:{},cachedRadioGroups:{}},C=Jg(l.ownerDocument,l,E=>this._acceptElement(E,x));if(!C)return null;const _=E=>{var F;const R=x.foundElement??x.foundBackward;return R&&w.push(R),o?R&&(x.found=!1,delete x.foundElement,delete x.foundBackward,delete x.fromCtx,x.from=R,m&&!m(R))?!1:!!(R||E):(R&&a&&(a.uncontrolled=(F=gt.getTabsterContext(this._tabster,R))==null?void 0:F.uncontrolled),!!(E&&!R))};if(c||(a.outOfDOMOrder=!0),c&&ce.nodeContains(l,c))C.currentNode=c;else if(v){const E=Ow(l);if(!E)return null;if(this._acceptElement(E,x)===NodeFilter.FILTER_ACCEPT&&!_(!0))return x.skippedFocusable&&(a.outOfDOMOrder=!0),w;C.currentNode=E}do v?C.previousNode():C.nextNode();while(_());return x.skippedFocusable&&(a.outOfDOMOrder=!0),w.length?w:null}_acceptElement(o,n){var m,w,B;if(n.found)return NodeFilter.FILTER_ACCEPT;const a=n.foundBackward;if(a&&(o===a||!ce.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(!ce.nodeContains(l,o)||Ws(o)||ce.nodeContains(n.rejectElementsFrom,o))return NodeFilter.FILTER_REJECT;const c=n.currentCtx=gt.getTabsterContext(this._tabster,o);if(!c)return NodeFilter.FILTER_SKIP;if(Aw(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=gt.getTabsterContext(this._tabster,n.from));const h=d==null?void 0:d.mover;let p=c.groupper,v=c.mover;if(u=(B=this._tabster.modalizer)==null?void 0:B.acceptElement(o,n),u!==void 0&&(n.skippedFocusable=!0),u===void 0&&(p||v||h)){const k=p==null?void 0:p.getElement(),x=h==null?void 0:h.getElement();let C=v==null?void 0:v.getElement();if(C&&ce.nodeContains(x,C)&&ce.nodeContains(l,x)&&(!k||!v||ce.nodeContains(x,k))&&(v=h,C=x),k){if(k===l||!ce.nodeContains(l,k))p=void 0;else if(!ce.nodeContains(k,o))return NodeFilter.FILTER_REJECT}if(C){if(!ce.nodeContains(l,C))v=void 0;else if(!ce.nodeContains(C,o))return NodeFilter.FILTER_REJECT}p&&v&&(C&&k&&!ce.nodeContains(k,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&&mg(o)&&!o.checked){const k=o.name;let x=n.cachedRadioGroups[k];if(x||(x=EN(o),x&&(n.cachedRadioGroups[k]=x)),x!=null&&x.checked&&x.checked!==o)return NodeFilter.FILTER_SKIP}n.isBackward?(n.foundBackward=o,u=NodeFilter.FILTER_SKIP):(n.found=!0,n.foundElement=o)}return u}}/*!
93
+ */class qN{constructor(o){P(this,"_tabster");this._tabster=o}dispose(){}getProps(o){const n=ro(this._tabster,o);return n&&n.focusable||{}}isFocusable(o,n,a,l){return Ow(o,jw)&&(n||o.tabIndex!==-1)?(a||this.isVisible(o))&&(l||this.isAccessible(o)):!1}isVisible(o){if(!o.ownerDocument||o.nodeType!==Node.ELEMENT_NODE||EN(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=ce.getParentElement(a)){const l=ro(this._tabster,a);if(this._isHidden(a)||!((n=l==null?void 0:l.focusable)==null?void 0:n.ignoreAriaDisabled)&&this._isDisabled(a))return!1}return!0}_isDisabled(o){return o.hasAttribute("disabled")}_isHidden(o){var a;const n=o.getAttribute("aria-hidden");return!!(n&&n.toLowerCase()==="true"&&!((a=this._tabster.modalizer)!=null&&a.isAugmented(o)))}findFirst(o,n){return this.findElement({...o},n)}findLast(o,n){return this.findElement({isBackward:!0,...o},n)}findNext(o,n){return this.findElement({...o},n)}findPrev(o,n){return this.findElement({...o,isBackward:!0},n)}findDefault(o,n){return this.findElement({...o,acceptCondition:a=>this.isFocusable(a,o.includeProgrammaticallyFocusable)&&!!this.getProps(a).isDefault},n)||null}findAll(o){return this._findElements(!0,o)||[]}findElement(o,n){const a=this._findElements(!1,o,n);return a&&a[0]}_findElements(o,n,a){var E,C,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:B}=n;const k=!!B;if(!l)return null;B||(B=j=>this.isFocusable(j,u,!1,h));const x={container:l,modalizerUserId:p===void 0&&d?(E=this._tabster.modalizer)==null?void 0:E.activeId:p||((T=(C=gt.getTabsterContext(this._tabster,l))==null?void 0:C.modalizer)==null?void 0:T.userId),from:c||l,isBackward:v,isFindAll:o,acceptCondition:B,hasCustomCondition:k,includeProgrammaticallyFocusable:u,ignoreAccessibility:h,cachedGrouppers:{},cachedRadioGroups:{}},z=em(l.ownerDocument,l,j=>this._acceptElement(j,x));if(!z)return null;const _=j=>{var F;const R=x.foundElement??x.foundBackward;return R&&w.push(R),o?R&&(x.found=!1,delete x.foundElement,delete x.foundBackward,delete x.fromCtx,x.from=R,m&&!m(R))?!1:!!(R||j):(R&&a&&(a.uncontrolled=(F=gt.getTabsterContext(this._tabster,R))==null?void 0:F.uncontrolled),!!(j&&!R))};if(c||(a.outOfDOMOrder=!0),c&&ce.nodeContains(l,c))z.currentNode=c;else if(v){const j=Fw(l);if(!j)return null;if(this._acceptElement(j,x)===NodeFilter.FILTER_ACCEPT&&!_(!0))return x.skippedFocusable&&(a.outOfDOMOrder=!0),w;z.currentNode=j}do v?z.previousNode():z.nextNode();while(_());return x.skippedFocusable&&(a.outOfDOMOrder=!0),w.length?w:null}_acceptElement(o,n){var m,w,B;if(n.found)return NodeFilter.FILTER_ACCEPT;const a=n.foundBackward;if(a&&(o===a||!ce.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(!ce.nodeContains(l,o)||Ws(o)||ce.nodeContains(n.rejectElementsFrom,o))return NodeFilter.FILTER_REJECT;const c=n.currentCtx=gt.getTabsterContext(this._tabster,o);if(!c)return NodeFilter.FILTER_SKIP;if(Mw(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=gt.getTabsterContext(this._tabster,n.from));const h=d==null?void 0:d.mover;let p=c.groupper,v=c.mover;if(u=(B=this._tabster.modalizer)==null?void 0:B.acceptElement(o,n),u!==void 0&&(n.skippedFocusable=!0),u===void 0&&(p||v||h)){const k=p==null?void 0:p.getElement(),x=h==null?void 0:h.getElement();let z=v==null?void 0:v.getElement();if(z&&ce.nodeContains(x,z)&&ce.nodeContains(l,x)&&(!k||!v||ce.nodeContains(x,k))&&(v=h,z=x),k){if(k===l||!ce.nodeContains(l,k))p=void 0;else if(!ce.nodeContains(k,o))return NodeFilter.FILTER_REJECT}if(z){if(!ce.nodeContains(l,z))v=void 0;else if(!ce.nodeContains(z,o))return NodeFilter.FILTER_REJECT}p&&v&&(z&&k&&!ce.nodeContains(k,z)?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&&vg(o)&&!o.checked){const k=o.name;let x=n.cachedRadioGroups[k];if(x||(x=RN(o),x&&(n.cachedRadioGroups[k]=x)),x!=null&&x.checked&&x.checked!==o)return NodeFilter.FILTER_SKIP}n.isBackward?(n.foundBackward=o,u=NodeFilter.FILTER_SKIP):(n.found=!0,n.foundElement=o)}return u}}/*!
94
94
  * Copyright (c) Microsoft Corporation. All rights reserved.
95
95
  * Licensed under the MIT License.
96
96
  */const qt={Tab:"Tab",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!
97
97
  * Copyright (c) Microsoft Corporation. All rights reserved.
98
98
  * Licensed under the MIT License.
99
- */class Fw{constructor(){P(this,"_val");P(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))}}/*!
99
+ */class qw{constructor(){P(this,"_val");P(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
100
  * Copyright (c) Microsoft Corporation. All rights reserved.
101
101
  * Licensed under the MIT License.
102
- */function FN(e,o){var l;const n=e.getParent;let a=o;do{const c=(l=ro(e,a))==null?void 0:l.uncontrolled;if(c&&e.uncontrolled.isUncontrolledCompletely(a,!!c.completely))return a;a=n(a)}while(a)}const Py={[Ki.Restorer]:0,[Ki.Deloser]:1,[Ki.EscapeGroupper]:2},Rt=class Rt extends Fw{constructor(n,a){super();P(this,"_tabster");P(this,"_win");P(this,"_nextVal");P(this,"_lastVal");P(this,"_asyncFocus");P(this,"_init",()=>{const n=this._win(),a=n.document;a.addEventListener(Do,this._onFocusIn,!0),a.addEventListener(Vs,this._onFocusOut,!0),n.addEventListener("keydown",this._onKeyDown,!0);const l=ce.getActiveElement(a);l&&l!==a.body&&this._setFocusedElement(l),this.subscribe(this._onChanged)});P(this,"_onFocusIn",n=>{const a=n.composedPath()[0];a&&this._setFocusedElement(a,n.detail.relatedTarget,n.detail.isFocusedProgrammatically)});P(this,"_onFocusOut",n=>{var a;this._setFocusedElement(void 0,(a=n.detail)==null?void 0:a.originalEvent.relatedTarget)});P(this,"_validateFocusedElement",n=>{});P(this,"_onKeyDown",n=>{if(n.key!==qt.Tab||n.ctrlKey)return;const a=this.getVal();if(!a||!a.ownerDocument||a.contentEditable==="true")return;const l=this._tabster,c=l.controlTab,u=gt.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=FN(l,a);if(v){const w=h.uncontrolled;if(u.uncontrolled||ce.nodeContains(w,a)){if(!h.outOfDOMOrder&&w===u.uncontrolled||m&&!ce.nodeContains(m,v))return;Gs.addPhantomDummyWithTarget(l,a,d,v);return}if(w&&l.focusable.isVisible(w)||v.tagName==="IFRAME"&&l.focusable.isVisible(v)){p.dispatchEvent(new Qi({by:"root",owner:p,next:v,relatedEvent:n}))&&Gs.moveWithPhantomDummy(l,w??v,!1,d,n);return}(c||h!=null&&h.outOfDOMOrder)&&p.dispatchEvent(new Qi({by:"root",owner:p,next:v,relatedEvent:n}))&&(n.preventDefault(),n.stopImmediatePropagation(),vn(v))}else!m&&p.dispatchEvent(new Qi({by:"root",owner:p,next:null,relatedEvent:n}))&&u.root.moveOutWithDefaultAction(d,n)});P(this,"_onChanged",(n,a)=>{var l,c;if(n)n.dispatchEvent(new $C(a));else{const u=(l=this._lastVal)==null?void 0:l.get();if(u){const d={...a},h=gt.getTabsterContext(this._tabster,u),p=(c=h==null?void 0:h.modalizer)==null?void 0:c.userId;p&&(d.modalizerId=p),u.dispatchEvent(new KC(d))}}});this._tabster=n,this._win=a,n.queueInit(this._init)}dispose(){super.dispose();const n=this._win(),a=n.document;a.removeEventListener(Do,this._onFocusIn,!0),a.removeEventListener(Vs,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&&ce.nodeContains(a,c)&&delete Rt._lastResetElement,c=(d=(u=n._nextVal)==null?void 0:u.element)==null?void 0:d.get(),c&&ce.nodeContains(a,c)&&delete n._nextVal,l=n._lastVal,c=l&&l.get(),c&&ce.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&&!Dw(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=gt.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&&!ce.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 tr(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(Py[n]>Py[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||Aw(n))return;c.isFocusedProgrammatically=l;const v=gt.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 tr(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 tr(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 B=a.modalizer,k=a.groupper,x=a.mover,C=_=>{if(v=_.findNextTabbable(c,u,d,h),c&&!(v!=null&&v.element)){const j=_!==B&&ce.getParentElement(_.getElement());if(j){const z=gt.getTabsterContext(n,c,{referenceElement:j});if(z){const T=_.getElement(),E=d?T:T&&Ow(T)||T;E&&(v=Rt.findNextTabbable(n,z,l,E,j,d,h),v&&(v.outOfDOMOrder=!0))}}}};if(k&&x)C(a.groupperBeforeMover?k:x);else if(k)C(k);else if(x)C(x);else if(B)C(B);else{const _={container:p,currentElement:c,referenceElement:u,ignoreAccessibility:h,useActiveModalizer:!0},j={};v={element:n.focusable[d?"findPrev":"findNext"](_,j),outOfDOMOrder:j.outOfDOMOrder,uncontrolled:j.uncontrolled}}return v}};P(Rt,"_lastResetElement"),P(Rt,"_isTabbingTimer"),P(Rt,"isTabbing",!1);let Qa=Rt;/*!
102
+ */function HN(e,o){var l;const n=e.getParent;let a=o;do{const c=(l=ro(e,a))==null?void 0:l.uncontrolled;if(c&&e.uncontrolled.isUncontrolledCompletely(a,!!c.completely))return a;a=n(a)}while(a)}const Iy={[Ki.Restorer]:0,[Ki.Deloser]:1,[Ki.EscapeGroupper]:2},At=class At extends qw{constructor(n,a){super();P(this,"_tabster");P(this,"_win");P(this,"_nextVal");P(this,"_lastVal");P(this,"_asyncFocus");P(this,"_init",()=>{const n=this._win(),a=n.document;a.addEventListener(Fo,this._onFocusIn,!0),a.addEventListener(Vs,this._onFocusOut,!0),n.addEventListener("keydown",this._onKeyDown,!0);const l=ce.getActiveElement(a);l&&l!==a.body&&this._setFocusedElement(l),this.subscribe(this._onChanged)});P(this,"_onFocusIn",n=>{const a=n.composedPath()[0];a&&this._setFocusedElement(a,n.detail.relatedTarget,n.detail.isFocusedProgrammatically)});P(this,"_onFocusOut",n=>{var a;this._setFocusedElement(void 0,(a=n.detail)==null?void 0:a.originalEvent.relatedTarget)});P(this,"_validateFocusedElement",n=>{});P(this,"_onKeyDown",n=>{if(n.key!==qt.Tab||n.ctrlKey)return;const a=this.getVal();if(!a||!a.ownerDocument||a.contentEditable==="true")return;const l=this._tabster,c=l.controlTab,u=gt.getTabsterContext(l,a);if(!u||u.ignoreKeydown(n))return;const d=n.shiftKey,h=At.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=HN(l,a);if(v){const w=h.uncontrolled;if(u.uncontrolled||ce.nodeContains(w,a)){if(!h.outOfDOMOrder&&w===u.uncontrolled||m&&!ce.nodeContains(m,v))return;Gs.addPhantomDummyWithTarget(l,a,d,v);return}if(w&&l.focusable.isVisible(w)||v.tagName==="IFRAME"&&l.focusable.isVisible(v)){p.dispatchEvent(new Zi({by:"root",owner:p,next:v,relatedEvent:n}))&&Gs.moveWithPhantomDummy(l,w??v,!1,d,n);return}(c||h!=null&&h.outOfDOMOrder)&&p.dispatchEvent(new Zi({by:"root",owner:p,next:v,relatedEvent:n}))&&(n.preventDefault(),n.stopImmediatePropagation(),vn(v))}else!m&&p.dispatchEvent(new Zi({by:"root",owner:p,next:null,relatedEvent:n}))&&u.root.moveOutWithDefaultAction(d,n)});P(this,"_onChanged",(n,a)=>{var l,c;if(n)n.dispatchEvent(new Zz(a));else{const u=(l=this._lastVal)==null?void 0:l.get();if(u){const d={...a},h=gt.getTabsterContext(this._tabster,u),p=(c=h==null?void 0:h.modalizer)==null?void 0:c.userId;p&&(d.modalizerId=p),u.dispatchEvent(new Qz(d))}}});this._tabster=n,this._win=a,n.queueInit(this._init)}dispose(){super.dispose();const n=this._win(),a=n.document;a.removeEventListener(Fo,this._onFocusIn,!0),a.removeEventListener(Vs,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 At._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(n,a){var u,d;let l=At._lastResetElement,c=l&&l.get();c&&ce.nodeContains(a,c)&&delete At._lastResetElement,c=(d=(u=n._nextVal)==null?void 0:u.element)==null?void 0:d.get(),c&&ce.nodeContains(a,c)&&delete n._nextVal,l=n._lastVal,c=l&&l.get(),c&&ce.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&&!Dw(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=gt.getTabsterContext(this._tabster,l);h&&(u=(d=At.findNextTabbable(this._tabster,h,l,void 0,void 0,!n,c))==null?void 0:d.element)}return u&&!ce.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"),At._lastResetElement=new rr(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(Iy[n]>Iy[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=At._lastResetElement)==null?void 0:d.get();if(At._lastResetElement=void 0,p===n||Mw(n))return;c.isFocusedProgrammatically=l;const v=gt.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 rr(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 rr(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=At._isTabbingTimer,w=n.getWindow();m&&w.clearTimeout(m),At.isTabbing=!0,At._isTabbingTimer=w.setTimeout(()=>{delete At._isTabbingTimer,At.isTabbing=!1},0);const B=a.modalizer,k=a.groupper,x=a.mover,z=_=>{if(v=_.findNextTabbable(c,u,d,h),c&&!(v!=null&&v.element)){const E=_!==B&&ce.getParentElement(_.getElement());if(E){const C=gt.getTabsterContext(n,c,{referenceElement:E});if(C){const T=_.getElement(),j=d?T:T&&Fw(T)||T;j&&(v=At.findNextTabbable(n,C,l,j,E,d,h),v&&(v.outOfDOMOrder=!0))}}}};if(k&&x)z(a.groupperBeforeMover?k:x);else if(k)z(k);else if(x)z(x);else if(B)z(B);else{const _={container:p,currentElement:c,referenceElement:u,ignoreAccessibility:h,useActiveModalizer:!0},E={};v={element:n.focusable[d?"findPrev":"findNext"](_,E),outOfDOMOrder:E.outOfDOMOrder,uncontrolled:E.uncontrolled}}return v}};P(At,"_lastResetElement"),P(At,"_isTabbingTimer"),P(At,"isTabbing",!1);let Za=At;/*!
103
103
  * Copyright (c) Microsoft Corporation. All rights reserved.
104
104
  * Licensed under the MIT License.
105
- */class qN extends Fw{constructor(n){super();P(this,"_keyborg");P(this,"_onChange",n=>{this.setVal(n,void 0)});this._keyborg=Fd(n()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),qd(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())}}/*!
105
+ */class PN extends qw{constructor(n){super();P(this,"_keyborg");P(this,"_onChange",n=>{this.setVal(n,void 0)});this._keyborg=Fd(n()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),qd(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
106
  * Copyright (c) Microsoft Corporation. All rights reserved.
107
107
  * Licensed under the MIT License.
108
- */function HN(e,o,n,a){if(typeof MutationObserver>"u")return()=>{};const l=o.getWindow;let c;const u=v=>{var w,B,k,x,C;const m=new Set;for(const _ of v){const j=_.target,z=_.removedNodes,T=_.addedNodes;if(_.type==="attributes")_.attributeName===hn&&(m.has(j)||n(o,j));else{for(let E=0;E<z.length;E++){const R=z[E];m.add(R),d(R,!0),(B=(w=o._dummyObserver).domChanged)==null||B.call(w,j)}for(let E=0;E<T.length;E++)d(T[E]),(x=(k=o._dummyObserver).domChanged)==null||x.call(k,j)}}m.clear(),(C=o.modalizer)==null||C.hiddenUpdate()};function d(v,m){c||(c=Hd(l).elementByUId),h(v,m);const w=Jg(e,v,B=>h(B,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 tr(v))),(ro(o,v)||v.hasAttribute(hn))&&n(o,v,m),NodeFilter.FILTER_SKIP}const p=ce.createMutationObserver(u);return a&&d(l().document.body),p.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[hn]}),()=>{p.disconnect()}}/*!
108
+ */function IN(e,o,n,a){if(typeof MutationObserver>"u")return()=>{};const l=o.getWindow;let c;const u=v=>{var w,B,k,x,z;const m=new Set;for(const _ of v){const E=_.target,C=_.removedNodes,T=_.addedNodes;if(_.type==="attributes")_.attributeName===hn&&(m.has(E)||n(o,E));else{for(let j=0;j<C.length;j++){const R=C[j];m.add(R),d(R,!0),(B=(w=o._dummyObserver).domChanged)==null||B.call(w,E)}for(let j=0;j<T.length;j++)d(T[j]),(x=(k=o._dummyObserver).domChanged)==null||x.call(k,E)}}m.clear(),(z=o.modalizer)==null||z.hiddenUpdate()};function d(v,m){c||(c=Hd(l).elementByUId),h(v,m);const w=em(e,v,B=>h(B,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 rr(v))),(ro(o,v)||v.hasAttribute(hn))&&n(o,v,m),NodeFilter.FILTER_SKIP}const p=ce.createMutationObserver(u);return a&&d(l().document.body),p.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[hn]}),()=>{p.disconnect()}}/*!
109
109
  * Copyright (c) Microsoft Corporation. All rights reserved.
110
110
  * Licensed under the MIT License.
111
- */class PN{constructor(o){P(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}}/*!
111
+ */class LN{constructor(o){P(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
112
  * Copyright (c) Microsoft Corporation. All rights reserved.
113
113
  * Licensed under the MIT License.
114
- */let IN=0;const Ap="aria-hidden";class LN extends Gs{constructor(o,n,a){super(n,o,em.Modalizer,a),this._setHandlers((l,c)=>{var v,m;const u=o.get(),d=u&&((v=gt.getRoot(n,u))==null?void 0:v.getElement()),h=l.input;let p;if(d&&h){const w=Ws(h),B=gt.getTabsterContext(n,w||h);B&&(p=(m=Qa.findNextTabbable(n,B,d,h,void 0,c,!0))==null?void 0:m.element),p&&vn(p)}})}}class UN extends Pd{constructor(n,a,l,c,u,d){super(n,a,c);P(this,"userId");P(this,"_isActive");P(this,"_wasFocused",0);P(this,"_onDispose");P(this,"_activeElements");P(this,"dummyManager");this.userId=c.id,this._onDispose=l,this._activeElements=d,n.controlTab||(this.dummyManager=new LN(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 tr(a)):c>=0&&l.splice(c,1)}this._dispatchEvent(n)}}focused(n){return n||(this._wasFocused=++IN),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 ce.nodeContains(this.getElement(),n)}findNextTabbable(n,a,l,c){var w,B;if(!this.getElement())return null;const d=this._tabster;let h=null,p=!1,v;const m=n&&((w=gt.getRoot(d,n))==null?void 0:w.getElement());if(m){const k={container:m,currentElement:n,referenceElement:a,ignoreAccessibility:c,useActiveModalizer:!0},x={};h=d.focusable[l?"findPrev":"findNext"](k,x),!h&&this._props.isTrapped&&((B=d.modalizer)!=null&&B.activeId)?(h=d.focusable[l?"findLast":"findFirst"]({container:m,ignoreAccessibility:c,useActiveModalizer:!0},x),h===null&&(h=n),p=!0):p=!!x.outOfDOMOrder,v=x.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 QC(h):new ZC(h);d.dispatchEvent(p),p.defaultPrevented&&(c=!0)}}return c}_remove(){}}class VN{constructor(o,n,a){P(this,"_tabster");P(this,"_win");P(this,"_restoreModalizerFocusTimer");P(this,"_modalizers");P(this,"_parts");P(this,"_augMap");P(this,"_aug");P(this,"_hiddenUpdateTimer");P(this,"_alwaysAccessibleSelector");P(this,"_accessibleCheck");P(this,"_activationHistory");P(this,"activeId");P(this,"currentIsOthersAccessible");P(this,"activeElements");P(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)}}});P(this,"_onKeyDown",o=>{var l;if(o.key!==qt.Escape)return;const n=this._tabster,a=n.focusedElement.getFocusedElement();if(a){const c=gt.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 k;const m=h[v],w=m.getElement();let B;return w&&(B=(k=ro(n,w))==null?void 0:k.groupper),m&&w&&B?{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))}}}}}});P(this,"_onFocus",(o,n)=>{var p;const a=this._tabster,l=o&&gt.getTabsterContext(a,o);if(!l||!o)return;const c=this._augMap;for(let v=o;v;v=ce.getParentElement(v))c.has(v)&&(c.delete(v),jp(a,v,Ap));let u=l.modalizer;const d=ro(a,o),h=d==null?void 0:d.modalizer;if(h&&(h.focused(),h.userId===this.activeId&&d.groupper)){const v=a.getParent(o),m=v&&((p=gt.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 UN(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&&ce.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=gt.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=gt.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&&(ce.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(ce.querySelectorAll(n,d)):[],p=[];for(const _ of Object.keys(l)){const j=l[_];for(const z of Object.keys(j)){const T=j[z],E=T.getElement(),F=T.getProps().isAlwaysAccessible;E&&(_===a?(p.push(E),this.currentIsOthersAccessible||c.push(E)):F?h.push(E):u.push(E))}}const v=this._augMap,m=c.length>0?[...c,...h]:void 0,w=[],B=new WeakMap,k=(_,j)=>{var E;const z=_.tagName;if(z==="SCRIPT"||z==="STYLE")return;let T=!1;v.has(_)?j?T=!0:(v.delete(_),jp(o,_,Ap)):j&&!((E=this._accessibleCheck)!=null&&E.call(this,_,p))&&jp(o,_,Ap,"true")&&(v.set(_,!0),T=!0),T&&(w.push(new tr(_)),B.set(_,!0))},x=_=>{var j;for(let z=ce.getFirstElementChild(_);z;z=ce.getNextElementSibling(z)){let T=!1,E=!1,R=!1;if(m){const F=o.getParent(z);for(const O of m){if(z===O){T=!0;break}if(ce.nodeContains(z,O)){E=!0;break}else ce.nodeContains(O,F)&&(R=!0)}E||(j=z.__tabsterElementFlags)!=null&&j.noDirectAriaHidden?x(z):!T&&!R&&k(z,!0)}else k(z,!1)}};m||h.forEach(_=>k(_,!1)),u.forEach(_=>k(_,!0)),n&&x(n),(C=this._aug)==null||C.map(_=>_.get()).forEach(_=>{_&&!B.get(_)&&k(_,!1)}),this._aug=w,this._augMap=B}_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=gt.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=gt.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()}}/*!
114
+ */let UN=0;const Ap="aria-hidden";class VN extends Gs{constructor(o,n,a){super(n,o,tm.Modalizer,a),this._setHandlers((l,c)=>{var v,m;const u=o.get(),d=u&&((v=gt.getRoot(n,u))==null?void 0:v.getElement()),h=l.input;let p;if(d&&h){const w=Ws(h),B=gt.getTabsterContext(n,w||h);B&&(p=(m=Za.findNextTabbable(n,B,d,h,void 0,c,!0))==null?void 0:m.element),p&&vn(p)}})}}class GN extends Pd{constructor(n,a,l,c,u,d){super(n,a,c);P(this,"userId");P(this,"_isActive");P(this,"_wasFocused",0);P(this,"_onDispose");P(this,"_activeElements");P(this,"dummyManager");this.userId=c.id,this._onDispose=l,this._activeElements=d,n.controlTab||(this.dummyManager=new VN(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 rr(a)):c>=0&&l.splice(c,1)}this._dispatchEvent(n)}}focused(n){return n||(this._wasFocused=++UN),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 ce.nodeContains(this.getElement(),n)}findNextTabbable(n,a,l,c){var w,B;if(!this.getElement())return null;const d=this._tabster;let h=null,p=!1,v;const m=n&&((w=gt.getRoot(d,n))==null?void 0:w.getElement());if(m){const k={container:m,currentElement:n,referenceElement:a,ignoreAccessibility:c,useActiveModalizer:!0},x={};h=d.focusable[l?"findPrev":"findNext"](k,x),!h&&this._props.isTrapped&&((B=d.modalizer)!=null&&B.activeId)?(h=d.focusable[l?"findLast":"findFirst"]({container:m,ignoreAccessibility:c,useActiveModalizer:!0},x),h===null&&(h=n),p=!0):p=!!x.outOfDOMOrder,v=x.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 Yz(h):new Jz(h);d.dispatchEvent(p),p.defaultPrevented&&(c=!0)}}return c}_remove(){}}class WN{constructor(o,n,a){P(this,"_tabster");P(this,"_win");P(this,"_restoreModalizerFocusTimer");P(this,"_modalizers");P(this,"_parts");P(this,"_augMap");P(this,"_aug");P(this,"_hiddenUpdateTimer");P(this,"_alwaysAccessibleSelector");P(this,"_accessibleCheck");P(this,"_activationHistory");P(this,"activeId");P(this,"currentIsOthersAccessible");P(this,"activeElements");P(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)}}});P(this,"_onKeyDown",o=>{var l;if(o.key!==qt.Escape)return;const n=this._tabster,a=n.focusedElement.getFocusedElement();if(a){const c=gt.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 k;const m=h[v],w=m.getElement();let B;return w&&(B=(k=ro(n,w))==null?void 0:k.groupper),m&&w&&B?{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))}}}}}});P(this,"_onFocus",(o,n)=>{var p;const a=this._tabster,l=o&&gt.getTabsterContext(a,o);if(!l||!o)return;const c=this._augMap;for(let v=o;v;v=ce.getParentElement(v))c.has(v)&&(c.delete(v),Ep(a,v,Ap));let u=l.modalizer;const d=ro(a,o),h=d==null?void 0:d.modalizer;if(h&&(h.focused(),h.userId===this.activeId&&d.groupper)){const v=a.getParent(o),m=v&&((p=gt.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 GN(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&&ce.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=gt.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=gt.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&&(ce.nodeContains(o,h)||h===o))return NodeFilter.FILTER_SKIP}const c=a===(l==null?void 0:l.userId)||!a&&(l!=null&&l.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return c!==void 0&&(n.skippedFocusable=!0),c}_hiddenUpdate(){var z;const o=this._tabster,n=o.getWindow().document.body,a=this.activeId,l=this._parts,c=[],u=[],d=this._alwaysAccessibleSelector,h=d?Array.from(ce.querySelectorAll(n,d)):[],p=[];for(const _ of Object.keys(l)){const E=l[_];for(const C of Object.keys(E)){const T=E[C],j=T.getElement(),F=T.getProps().isAlwaysAccessible;j&&(_===a?(p.push(j),this.currentIsOthersAccessible||c.push(j)):F?h.push(j):u.push(j))}}const v=this._augMap,m=c.length>0?[...c,...h]:void 0,w=[],B=new WeakMap,k=(_,E)=>{var j;const C=_.tagName;if(C==="SCRIPT"||C==="STYLE")return;let T=!1;v.has(_)?E?T=!0:(v.delete(_),Ep(o,_,Ap)):E&&!((j=this._accessibleCheck)!=null&&j.call(this,_,p))&&Ep(o,_,Ap,"true")&&(v.set(_,!0),T=!0),T&&(w.push(new rr(_)),B.set(_,!0))},x=_=>{var E;for(let C=ce.getFirstElementChild(_);C;C=ce.getNextElementSibling(C)){let T=!1,j=!1,R=!1;if(m){const F=o.getParent(C);for(const O of m){if(C===O){T=!0;break}if(ce.nodeContains(C,O)){j=!0;break}else ce.nodeContains(O,F)&&(R=!0)}j||(E=C.__tabsterElementFlags)!=null&&E.noDirectAriaHidden?x(C):!T&&!R&&k(C,!0)}else k(C,!1)}};m||h.forEach(_=>k(_,!1)),u.forEach(_=>k(_,!0)),n&&x(n),(z=this._aug)==null||z.map(_=>_.get()).forEach(_=>{_&&!B.get(_)&&k(_,!1)}),this._aug=w,this._augMap=B}_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=gt.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=gt.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
115
  * Copyright (c) Microsoft Corporation. All rights reserved.
116
116
  * Licensed under the MIT License.
117
- */function qw(e,o,n){const a=e.core;if(!a.modalizer){const l=new VN(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}/*!
117
+ */function Hw(e,o,n){const a=e.core;if(!a.modalizer){const l=new WN(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
118
  * Copyright (c) Microsoft Corporation. All rights reserved.
119
119
  * Licensed under the MIT License.
120
- */const GN=["input","textarea","*[contenteditable]"].join(", ");class WN extends Gs{constructor(n,a,l,c){super(a,n,em.Mover,c);P(this,"_tabster");P(this,"_getMemorized");P(this,"_onFocusDummyInput",n=>{var c,u;const a=this._element.get(),l=n.input;if(a&&l){const d=gt.getTabsterContext(this._tabster,a);let h;d&&(h=(c=Qa.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&&vn(h)}});this._tabster=a,this._getMemorized=l,this._setHandlers(this._onFocusDummyInput)}}const Dp=1,Iy=2,Ly=3;class XN extends Pd{constructor(n,a,l,c,u){super(n,a,c);P(this,"_unobserve");P(this,"_intersectionObserver");P(this,"_setCurrentTimer");P(this,"_current");P(this,"_prevCurrent");P(this,"_visible",{});P(this,"_fullyVisible");P(this,"_win");P(this,"_onDispose");P(this,"_allElements");P(this,"_updateQueue");P(this,"_updateTimer");P(this,"visibilityTolerance");P(this,"dummyManager");P(this,"_onIntersection",n=>{for(const a of n){const l=a.target,c=od(this._win,l);let u,d=this._fullyVisible;if(a.intersectionRatio>=.25?(u=a.intersectionRatio>=.75?Kn.Visible:Kn.PartiallyVisible,u===Kn.Visible&&(d=c)):u=Kn.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 My(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 WN(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 tr(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 My(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&&Ws(n)===u;if(!u)return null;let h=null,p=!1,v;if(this._props.tabbable||d||n&&!ce.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(!Qa.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)&&(!ce.nodeContains(d,a.from)||Ws(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 k;const w=od(this._win,m),B=this._visible[w];return d!==m&&!!((k=this._allElements)!=null&&k.get(m))&&a.acceptCondition(m)&&(B===Kn.Visible||B===Kn.PartiallyVisible&&(c===Kn.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=ce.createMutationObserver(k=>{for(const x of k){const C=x.target,_=x.removedNodes,j=x.addedNodes;if(x.type==="attributes")x.attributeName==="tabindex"&&u.push({element:C,type:Iy});else{for(let z=0;z<_.length;z++)u.push({element:_[z],type:Ly});for(let z=0;z<j.length;z++)u.push({element:j[z],type:Dp})}}w()}),h=(k,x)=>{var _,j;const C=l.get(k);C&&x&&((_=this._intersectionObserver)==null||_.unobserve(k),l.delete(k)),!C&&!x&&(l.set(k,this),(j=this._intersectionObserver)==null||j.observe(k))},p=k=>{const x=c.isFocusable(k);l.get(k)?x||h(k,!0):x&&h(k)},v=k=>{const{mover:x}=B(k);if(x&&x!==this)if(x.getElement()===k&&c.isFocusable(k))h(k);else return;const C=Jg(a.document,k,_=>{const{mover:j,groupper:z}=B(_);if(j&&j!==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=k;C.nextNode(););},m=k=>{l.get(k)&&h(k,!0);for(let C=ce.getFirstElementChild(k);C;C=ce.getNextElementSibling(C))m(C)},w=()=>{!this._updateTimer&&u.length&&(this._updateTimer=a.setTimeout(()=>{delete this._updateTimer;for(const{element:k,type:x}of u)switch(x){case Iy:p(k);break;case Dp:v(k);break;case Ly:m(k);break}u=this._updateQueue=[]},0))},B=k=>{const x={};for(let C=k;C;C=ce.getParentElement(C)){const _=ro(this._tabster,C);if(_&&(_.groupper&&!x.groupper&&(x.groupper=_.groupper),_.mover)){x.mover=_.mover;break}}return x};u.push({element:n,type:Dp}),w(),d.observe(n,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{d.disconnect()}}getState(n){const a=od(this._win,n);if(a in this._visible){const l=this._visible[a]||Kn.Invisible;return{isCurrent:this._current?this._current.get()===n:void 0,visibility:l}}}}function $N(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 KN{constructor(o,n){P(this,"_tabster");P(this,"_win");P(this,"_movers");P(this,"_ignoredInputTimer");P(this,"_ignoredInputResolve");P(this,"_init",()=>{const o=this._win();o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(Ay,this._onMoveFocus),o.addEventListener(Dy,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)});P(this,"_onMoverDispose",o=>{delete this._movers[o.id]});P(this,"_onFocus",o=>{var l;let n=o,a=o;for(let c=ce.getParentElement(o);c;c=ce.getParentElement(c)){const u=(l=ro(this._tabster,c))==null?void 0:l.mover;u&&(u.setCurrent(a),n=void 0),!n&&this._tabster.focusable.isFocusable(c)&&(n=a=c)}});P(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===qt.ArrowDown?a=kt.ArrowDown:n===qt.ArrowRight?a=kt.ArrowRight:n===qt.ArrowUp?a=kt.ArrowUp:n===qt.ArrowLeft?a=kt.ArrowLeft:n===qt.PageDown?a=kt.PageDown:n===qt.PageUp?a=kt.PageUp:n===qt.Home?a=kt.Home:n===qt.End&&(a=kt.End),!a)return;const l=this._tabster.focusedElement.getFocusedElement();!l||await this._isIgnoredInput(l,n)||this._moveFocus(l,a,o)});P(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())});P(this,"_onMemorizedElement",o=>{var l;const n=o.composedPath()[0];let a=(l=o.detail)==null?void 0:l.memorizedElement;if(n){const c=gt.getTabsterContext(this._tabster,n),u=c==null?void 0:c.mover;u&&(a&&!ce.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(Ay,this._onMoveFocus),o.removeEventListener(Dy,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 XN(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 R,F;const l=this._tabster,c=gt.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 X=ce.getParentElement(O.getElement());X&&X!==d;X=ce.getParentElement(X))if((F=(R=ro(l,X))==null?void 0:R.groupper)!=null&&F.isActive(!0))return null}else return null}if(!d)return null;const h=l.focusable,p=u.getProps(),v=p.direction||hr.Both,m=v===hr.Both,w=m||v===hr.Vertical,B=m||v===hr.Horizontal,k=v===hr.GridLinear,x=k||v===hr.Grid,C=p.cyclic;let _,j,z,T=0,E=0;if(x&&(z=o.getBoundingClientRect(),T=Math.ceil(z.left),E=Math.floor(z.right)),c.rtl&&(n===kt.ArrowRight?n=kt.ArrowLeft:n===kt.ArrowLeft&&(n=kt.ArrowRight)),n===kt.ArrowDown&&w||n===kt.ArrowRight&&(B||x))if(_=h.findNext({currentElement:o,container:d,useActiveModalizer:!0}),_&&x){const O=Math.ceil(_.getBoundingClientRect().left);!k&&E>O&&(_=void 0)}else!_&&C&&(_=h.findFirst({container:d,useActiveModalizer:!0}));else if(n===kt.ArrowUp&&w||n===kt.ArrowLeft&&(B||x))if(_=h.findPrev({currentElement:o,container:d,useActiveModalizer:!0}),_&&x){const O=Math.floor(_.getBoundingClientRect().right);!k&&O>T&&(_=void 0)}else!_&&C&&(_=h.findLast({container:d,useActiveModalizer:!0}));else if(n===kt.Home)x?h.findElement({container:d,currentElement:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:O=>{if(!h.isFocusable(O))return!1;const X=Math.ceil(O.getBoundingClientRect().left??0);return O!==o&&T<=X?!0:(_=O,!1)}}):_=h.findFirst({container:d,useActiveModalizer:!0});else if(n===kt.End)x?h.findElement({container:d,currentElement:o,useActiveModalizer:!0,acceptCondition:O=>{if(!h.isFocusable(O))return!1;const X=Math.ceil(O.getBoundingClientRect().left??0);return O!==o&&T>=X?!0:(_=O,!1)}}):_=h.findLast({container:d,useActiveModalizer:!0});else if(n===kt.PageUp){if(h.findElement({currentElement:o,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:O=>h.isFocusable(O)?Fy(this._win,O,u.visibilityTolerance)?(_=O,!1):!0:!1}),x&&_){const O=Math.ceil(_.getBoundingClientRect().left);h.findElement({currentElement:_,container:d,useActiveModalizer:!0,acceptCondition:X=>{if(!h.isFocusable(X))return!1;const ee=Math.ceil(X.getBoundingClientRect().left);return T<ee||O>=ee?!0:(_=X,!1)}})}j=!1}else if(n===kt.PageDown){if(h.findElement({currentElement:o,container:d,useActiveModalizer:!0,acceptCondition:O=>h.isFocusable(O)?Fy(this._win,O,u.visibilityTolerance)?(_=O,!1):!0:!1}),x&&_){const O=Math.ceil(_.getBoundingClientRect().left);h.findElement({currentElement:_,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:X=>{if(!h.isFocusable(X))return!1;const ee=Math.ceil(X.getBoundingClientRect().left);return T>ee||O<=ee?!0:(_=X,!1)}})}j=!0}else if(x){const O=n===kt.ArrowUp,X=T,ee=Math.ceil(z.top),he=E,ie=Math.floor(z.bottom);let ue,le,Q=0;h.findAll({container:d,currentElement:o,isBackward:O,onElement:L=>{const te=L.getBoundingClientRect(),oe=Math.ceil(te.left),fe=Math.ceil(te.top),Se=Math.floor(te.right),q=Math.floor(te.bottom);if(O&&ee<q||!O&&ie>fe)return!0;const U=Math.ceil(Math.min(he,Se))-Math.floor(Math.max(X,oe)),J=Math.ceil(Math.min(he-X,Se-oe));if(U>0&&J>=U){const se=U/J;se>Q&&(ue=L,Q=se)}else if(Q===0){const se=$N(X,ee,he,ie,oe,fe,Se,q);(le===void 0||se<le)&&(le=se,ue=L)}else if(Q>0)return!1;return!0}}),_=ue}return _&&(!a||a&&d.dispatchEvent(new Qi({by:"mover",owner:d,next:_,relatedEvent:a})))?(j!==void 0&&_N(this._win,_,j),a&&(a.preventDefault(),a.stopImmediatePropagation()),vn(_),_):null}async _isIgnoredInput(o,n){if(o.getAttribute("aria-expanded")==="true"&&(o.hasAttribute("aria-activedescendant")||o.getAttribute("role")==="combobox"))return!0;if(Mw(o,GN)){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=ce.getSelection(o);if(p){const v=p.toString().length,m=n===qt.ArrowLeft||n===qt.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=B=>{delete this._ignoredInputResolve,d(B)};const h=this._win();this._ignoredInputTimer&&h.clearTimeout(this._ignoredInputTimer);const{anchorNode:p,focusNode:v,anchorOffset:m,focusOffset:w}=ce.getSelection(o)||{};this._ignoredInputTimer=h.setTimeout(()=>{var _,j,z;delete this._ignoredInputTimer;const{anchorNode:B,focusNode:k,anchorOffset:x,focusOffset:C}=ce.getSelection(o)||{};if(B!==p||k!==v||x!==m||C!==w){(_=this._ignoredInputResolve)==null||_.call(this,!1);return}if(a=x||0,l=C||0,c=((j=o.textContent)==null?void 0:j.length)||0,B&&k&&ce.nodeContains(o,B)&&ce.nodeContains(o,k)&&B!==o){let T=!1;const E=R=>{if(R===B)T=!0;else if(R===k)return!0;const F=R.textContent;if(F&&!ce.getFirstChild(R)){const X=F.length;T?k!==B&&(l+=X):(a+=X,l+=X)}let O=!1;for(let X=ce.getFirstChild(R);X&&!O;X=X.nextSibling)O=E(X);return O};E(o)}(z=this._ignoredInputResolve)==null||z.call(this,!0)},0)}));if(u&&!await u||a!==l||a>0&&(n===qt.ArrowLeft||n===qt.ArrowUp||n===qt.Home)||a<c&&(n===qt.ArrowRight||n===qt.ArrowDown||n===qt.End))return!0}return!1}}/*!
120
+ */const XN=["input","textarea","*[contenteditable]"].join(", ");class $N extends Gs{constructor(n,a,l,c){super(a,n,tm.Mover,c);P(this,"_tabster");P(this,"_getMemorized");P(this,"_onFocusDummyInput",n=>{var c,u;const a=this._element.get(),l=n.input;if(a&&l){const d=gt.getTabsterContext(this._tabster,a);let h;d&&(h=(c=Za.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&&vn(h)}});this._tabster=a,this._getMemorized=l,this._setHandlers(this._onFocusDummyInput)}}const Mp=1,Ly=2,Uy=3;class KN extends Pd{constructor(n,a,l,c,u){super(n,a,c);P(this,"_unobserve");P(this,"_intersectionObserver");P(this,"_setCurrentTimer");P(this,"_current");P(this,"_prevCurrent");P(this,"_visible",{});P(this,"_fullyVisible");P(this,"_win");P(this,"_onDispose");P(this,"_allElements");P(this,"_updateQueue");P(this,"_updateTimer");P(this,"visibilityTolerance");P(this,"dummyManager");P(this,"_onIntersection",n=>{for(const a of n){const l=a.target,c=od(this._win,l);let u,d=this._fullyVisible;if(a.intersectionRatio>=.25?(u=a.intersectionRatio>=.75?Kn.Visible:Kn.PartiallyVisible,u===Kn.Visible&&(d=c)):u=Kn.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 Oy(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 $N(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 rr(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 Oy(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&&Ws(n)===u;if(!u)return null;let h=null,p=!1,v;if(this._props.tabbable||d||n&&!ce.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(!Za.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)&&(!ce.nodeContains(d,a.from)||Ws(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 k;const w=od(this._win,m),B=this._visible[w];return d!==m&&!!((k=this._allElements)!=null&&k.get(m))&&a.acceptCondition(m)&&(B===Kn.Visible||B===Kn.PartiallyVisible&&(c===Kn.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=ce.createMutationObserver(k=>{for(const x of k){const z=x.target,_=x.removedNodes,E=x.addedNodes;if(x.type==="attributes")x.attributeName==="tabindex"&&u.push({element:z,type:Ly});else{for(let C=0;C<_.length;C++)u.push({element:_[C],type:Uy});for(let C=0;C<E.length;C++)u.push({element:E[C],type:Mp})}}w()}),h=(k,x)=>{var _,E;const z=l.get(k);z&&x&&((_=this._intersectionObserver)==null||_.unobserve(k),l.delete(k)),!z&&!x&&(l.set(k,this),(E=this._intersectionObserver)==null||E.observe(k))},p=k=>{const x=c.isFocusable(k);l.get(k)?x||h(k,!0):x&&h(k)},v=k=>{const{mover:x}=B(k);if(x&&x!==this)if(x.getElement()===k&&c.isFocusable(k))h(k);else return;const z=em(a.document,k,_=>{const{mover:E,groupper:C}=B(_);if(E&&E!==this)return NodeFilter.FILTER_REJECT;const T=C==null?void 0:C.getFirst(!0);return C&&C.getElement()!==_&&T&&T!==_?NodeFilter.FILTER_REJECT:(c.isFocusable(_)&&h(_),NodeFilter.FILTER_SKIP)});if(z)for(z.currentNode=k;z.nextNode(););},m=k=>{l.get(k)&&h(k,!0);for(let z=ce.getFirstElementChild(k);z;z=ce.getNextElementSibling(z))m(z)},w=()=>{!this._updateTimer&&u.length&&(this._updateTimer=a.setTimeout(()=>{delete this._updateTimer;for(const{element:k,type:x}of u)switch(x){case Ly:p(k);break;case Mp:v(k);break;case Uy:m(k);break}u=this._updateQueue=[]},0))},B=k=>{const x={};for(let z=k;z;z=ce.getParentElement(z)){const _=ro(this._tabster,z);if(_&&(_.groupper&&!x.groupper&&(x.groupper=_.groupper),_.mover)){x.mover=_.mover;break}}return x};u.push({element:n,type:Mp}),w(),d.observe(n,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{d.disconnect()}}getState(n){const a=od(this._win,n);if(a in this._visible){const l=this._visible[a]||Kn.Invisible;return{isCurrent:this._current?this._current.get()===n:void 0,visibility:l}}}}function ZN(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 QN{constructor(o,n){P(this,"_tabster");P(this,"_win");P(this,"_movers");P(this,"_ignoredInputTimer");P(this,"_ignoredInputResolve");P(this,"_init",()=>{const o=this._win();o.addEventListener("keydown",this._onKeyDown,!0),o.addEventListener(My,this._onMoveFocus),o.addEventListener(Dy,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)});P(this,"_onMoverDispose",o=>{delete this._movers[o.id]});P(this,"_onFocus",o=>{var l;let n=o,a=o;for(let c=ce.getParentElement(o);c;c=ce.getParentElement(c)){const u=(l=ro(this._tabster,c))==null?void 0:l.mover;u&&(u.setCurrent(a),n=void 0),!n&&this._tabster.focusable.isFocusable(c)&&(n=a=c)}});P(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===qt.ArrowDown?a=kt.ArrowDown:n===qt.ArrowRight?a=kt.ArrowRight:n===qt.ArrowUp?a=kt.ArrowUp:n===qt.ArrowLeft?a=kt.ArrowLeft:n===qt.PageDown?a=kt.PageDown:n===qt.PageUp?a=kt.PageUp:n===qt.Home?a=kt.Home:n===qt.End&&(a=kt.End),!a)return;const l=this._tabster.focusedElement.getFocusedElement();!l||await this._isIgnoredInput(l,n)||this._moveFocus(l,a,o)});P(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())});P(this,"_onMemorizedElement",o=>{var l;const n=o.composedPath()[0];let a=(l=o.detail)==null?void 0:l.memorizedElement;if(n){const c=gt.getTabsterContext(this._tabster,n),u=c==null?void 0:c.mover;u&&(a&&!ce.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(My,this._onMoveFocus),o.removeEventListener(Dy,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 KN(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 R,F;const l=this._tabster,c=gt.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 X=ce.getParentElement(O.getElement());X&&X!==d;X=ce.getParentElement(X))if((F=(R=ro(l,X))==null?void 0:R.groupper)!=null&&F.isActive(!0))return null}else return null}if(!d)return null;const h=l.focusable,p=u.getProps(),v=p.direction||hr.Both,m=v===hr.Both,w=m||v===hr.Vertical,B=m||v===hr.Horizontal,k=v===hr.GridLinear,x=k||v===hr.Grid,z=p.cyclic;let _,E,C,T=0,j=0;if(x&&(C=o.getBoundingClientRect(),T=Math.ceil(C.left),j=Math.floor(C.right)),c.rtl&&(n===kt.ArrowRight?n=kt.ArrowLeft:n===kt.ArrowLeft&&(n=kt.ArrowRight)),n===kt.ArrowDown&&w||n===kt.ArrowRight&&(B||x))if(_=h.findNext({currentElement:o,container:d,useActiveModalizer:!0}),_&&x){const O=Math.ceil(_.getBoundingClientRect().left);!k&&j>O&&(_=void 0)}else!_&&z&&(_=h.findFirst({container:d,useActiveModalizer:!0}));else if(n===kt.ArrowUp&&w||n===kt.ArrowLeft&&(B||x))if(_=h.findPrev({currentElement:o,container:d,useActiveModalizer:!0}),_&&x){const O=Math.floor(_.getBoundingClientRect().right);!k&&O>T&&(_=void 0)}else!_&&z&&(_=h.findLast({container:d,useActiveModalizer:!0}));else if(n===kt.Home)x?h.findElement({container:d,currentElement:o,useActiveModalizer:!0,isBackward:!0,acceptCondition:O=>{if(!h.isFocusable(O))return!1;const X=Math.ceil(O.getBoundingClientRect().left??0);return O!==o&&T<=X?!0:(_=O,!1)}}):_=h.findFirst({container:d,useActiveModalizer:!0});else if(n===kt.End)x?h.findElement({container:d,currentElement:o,useActiveModalizer:!0,acceptCondition:O=>{if(!h.isFocusable(O))return!1;const X=Math.ceil(O.getBoundingClientRect().left??0);return O!==o&&T>=X?!0:(_=O,!1)}}):_=h.findLast({container:d,useActiveModalizer:!0});else if(n===kt.PageUp){if(h.findElement({currentElement:o,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:O=>h.isFocusable(O)?qy(this._win,O,u.visibilityTolerance)?(_=O,!1):!0:!1}),x&&_){const O=Math.ceil(_.getBoundingClientRect().left);h.findElement({currentElement:_,container:d,useActiveModalizer:!0,acceptCondition:X=>{if(!h.isFocusable(X))return!1;const ee=Math.ceil(X.getBoundingClientRect().left);return T<ee||O>=ee?!0:(_=X,!1)}})}E=!1}else if(n===kt.PageDown){if(h.findElement({currentElement:o,container:d,useActiveModalizer:!0,acceptCondition:O=>h.isFocusable(O)?qy(this._win,O,u.visibilityTolerance)?(_=O,!1):!0:!1}),x&&_){const O=Math.ceil(_.getBoundingClientRect().left);h.findElement({currentElement:_,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:X=>{if(!h.isFocusable(X))return!1;const ee=Math.ceil(X.getBoundingClientRect().left);return T>ee||O<=ee?!0:(_=X,!1)}})}E=!0}else if(x){const O=n===kt.ArrowUp,X=T,ee=Math.ceil(C.top),he=j,ie=Math.floor(C.bottom);let ue,le,Z=0;h.findAll({container:d,currentElement:o,isBackward:O,onElement:L=>{const te=L.getBoundingClientRect(),oe=Math.ceil(te.left),fe=Math.ceil(te.top),Se=Math.floor(te.right),q=Math.floor(te.bottom);if(O&&ee<q||!O&&ie>fe)return!0;const U=Math.ceil(Math.min(he,Se))-Math.floor(Math.max(X,oe)),J=Math.ceil(Math.min(he-X,Se-oe));if(U>0&&J>=U){const se=U/J;se>Z&&(ue=L,Z=se)}else if(Z===0){const se=ZN(X,ee,he,ie,oe,fe,Se,q);(le===void 0||se<le)&&(le=se,ue=L)}else if(Z>0)return!1;return!0}}),_=ue}return _&&(!a||a&&d.dispatchEvent(new Zi({by:"mover",owner:d,next:_,relatedEvent:a})))?(E!==void 0&&zN(this._win,_,E),a&&(a.preventDefault(),a.stopImmediatePropagation()),vn(_),_):null}async _isIgnoredInput(o,n){if(o.getAttribute("aria-expanded")==="true"&&(o.hasAttribute("aria-activedescendant")||o.getAttribute("role")==="combobox"))return!0;if(Ow(o,XN)){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=ce.getSelection(o);if(p){const v=p.toString().length,m=n===qt.ArrowLeft||n===qt.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=B=>{delete this._ignoredInputResolve,d(B)};const h=this._win();this._ignoredInputTimer&&h.clearTimeout(this._ignoredInputTimer);const{anchorNode:p,focusNode:v,anchorOffset:m,focusOffset:w}=ce.getSelection(o)||{};this._ignoredInputTimer=h.setTimeout(()=>{var _,E,C;delete this._ignoredInputTimer;const{anchorNode:B,focusNode:k,anchorOffset:x,focusOffset:z}=ce.getSelection(o)||{};if(B!==p||k!==v||x!==m||z!==w){(_=this._ignoredInputResolve)==null||_.call(this,!1);return}if(a=x||0,l=z||0,c=((E=o.textContent)==null?void 0:E.length)||0,B&&k&&ce.nodeContains(o,B)&&ce.nodeContains(o,k)&&B!==o){let T=!1;const j=R=>{if(R===B)T=!0;else if(R===k)return!0;const F=R.textContent;if(F&&!ce.getFirstChild(R)){const X=F.length;T?k!==B&&(l+=X):(a+=X,l+=X)}let O=!1;for(let X=ce.getFirstChild(R);X&&!O;X=X.nextSibling)O=j(X);return O};j(o)}(C=this._ignoredInputResolve)==null||C.call(this,!0)},0)}));if(u&&!await u||a!==l||a>0&&(n===qt.ArrowLeft||n===qt.ArrowUp||n===qt.Home)||a<c&&(n===qt.ArrowRight||n===qt.ArrowDown||n===qt.End))return!0}return!1}}/*!
121
121
  * Copyright (c) Microsoft Corporation. All rights reserved.
122
122
  * Licensed under the MIT License.
123
- */function QN(e){const o=e.core;if(!o.mover){const n=new KN(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}/*!
123
+ */function YN(e){const o=e.core;if(!o.mover){const n=new QN(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
124
  * Copyright (c) Microsoft Corporation. All rights reserved.
125
125
  * Licensed under the MIT License.
126
- */class ZN extends Pd{constructor(n,a,l){var c;super(n,a,l);P(this,"_hasFocus",!1);P(this,"_onFocusOut",n=>{var l;const a=(l=this._element)==null?void 0:l.get();a&&n.relatedTarget===null&&a.dispatchEvent(new Oy),a&&!ce.nodeContains(a,n.relatedTarget)&&(this._hasFocus=!1)});P(this,"_onFocusIn",()=>{this._hasFocus=!0});if(this._props.type===Ka.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=ce.nodeContains(u,u&&ce.getActiveElement(u.ownerDocument))}}dispose(){var n;if(this._props.type===Ka.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 Oy)}}}const Bd=class Bd{constructor(o){P(this,"_stack",[]);P(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>Bd.DEPTH&&this._stack.shift(),this._stack.push(new tr(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&&ce.nodeContains(n.body,ce.getParentElement(c))&&o(c))return c}}};P(Bd,"DEPTH",10);let vg=Bd;class YN{constructor(o){P(this,"_tabster");P(this,"_history");P(this,"_keyboardNavState");P(this,"_focusedElementState");P(this,"_getWindow");P(this,"_onRestoreFocus",o=>{var a,l;this._focusedElementState.cancelAsyncFocus(Ki.Restorer);const n=o.composedPath()[0];if(n){const c=(l=(a=ro(this._tabster,n))==null?void 0:a.restorer)==null?void 0:l.getProps().id;this._focusedElementState.requestAsyncFocus(Ki.Restorer,()=>this._restoreFocus(n,c),0)}});P(this,"_onFocusIn",o=>{var a;if(!o)return;const n=ro(this._tabster,o);((a=n==null?void 0:n.restorer)==null?void 0:a.getProps().type)===Ka.Target&&this._history.push(o)});P(this,"_restoreFocus",(o,n)=>{var c;const a=this._getWindow().document;if(ce.getActiveElement(a)!==a.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&ce.nodeContains(a.body,o))return;const l=u=>{var h,p;const d=(p=(h=ro(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(gg,this._onRestoreFocus),this._history=new vg(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(Ki.Restorer),o.removeEventListener(gg,this._onRestoreFocus)}createRestorer(o,n){const a=new ZN(this._tabster,o,n);return n.type===Ka.Target&&ce.getActiveElement(o.ownerDocument)===o&&this._history.push(o),a}}/*!
126
+ */class JN extends Pd{constructor(n,a,l){var c;super(n,a,l);P(this,"_hasFocus",!1);P(this,"_onFocusOut",n=>{var l;const a=(l=this._element)==null?void 0:l.get();a&&n.relatedTarget===null&&a.dispatchEvent(new Fy),a&&!ce.nodeContains(a,n.relatedTarget)&&(this._hasFocus=!1)});P(this,"_onFocusIn",()=>{this._hasFocus=!0});if(this._props.type===Ka.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=ce.nodeContains(u,u&&ce.getActiveElement(u.ownerDocument))}}dispose(){var n;if(this._props.type===Ka.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 Fy)}}}const Bd=class Bd{constructor(o){P(this,"_stack",[]);P(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>Bd.DEPTH&&this._stack.shift(),this._stack.push(new rr(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&&ce.nodeContains(n.body,ce.getParentElement(c))&&o(c))return c}}};P(Bd,"DEPTH",10);let bg=Bd;class eT{constructor(o){P(this,"_tabster");P(this,"_history");P(this,"_keyboardNavState");P(this,"_focusedElementState");P(this,"_getWindow");P(this,"_onRestoreFocus",o=>{var a,l;this._focusedElementState.cancelAsyncFocus(Ki.Restorer);const n=o.composedPath()[0];if(n){const c=(l=(a=ro(this._tabster,n))==null?void 0:a.restorer)==null?void 0:l.getProps().id;this._focusedElementState.requestAsyncFocus(Ki.Restorer,()=>this._restoreFocus(n,c),0)}});P(this,"_onFocusIn",o=>{var a;if(!o)return;const n=ro(this._tabster,o);((a=n==null?void 0:n.restorer)==null?void 0:a.getProps().type)===Ka.Target&&this._history.push(o)});P(this,"_restoreFocus",(o,n)=>{var c;const a=this._getWindow().document;if(ce.getActiveElement(a)!==a.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&ce.nodeContains(a.body,o))return;const l=u=>{var h,p;const d=(p=(h=ro(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(mg,this._onRestoreFocus),this._history=new bg(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(Ki.Restorer),o.removeEventListener(mg,this._onRestoreFocus)}createRestorer(o,n){const a=new JN(this._tabster,o,n);return n.type===Ka.Target&&ce.getActiveElement(o.ownerDocument)===o&&this._history.push(o),a}}/*!
127
127
  * Copyright (c) Microsoft Corporation. All rights reserved.
128
128
  * Licensed under the MIT License.
129
- */function Hw(e){const o=e.core;if(!o.restorer){const n=new YN(o);o.restorer=n,o.attrHandlers.set("restorer",(a,l,c)=>l?(l.setProps(c),l):n.createRestorer(a,c))}return o.restorer}/*!
129
+ */function Pw(e){const o=e.core;if(!o.restorer){const n=new eT(o);o.restorer=n,o.attrHandlers.set("restorer",(a,l,c)=>l?(l.setProps(c),l):n.createRestorer(a,c))}return o.restorer}/*!
130
130
  * Copyright (c) Microsoft Corporation. All rights reserved.
131
131
  * Licensed under the MIT License.
132
- */class JN{constructor(o){P(this,"keyboardNavigation");P(this,"focusedElement");P(this,"focusable");P(this,"root");P(this,"uncontrolled");P(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 eT{constructor(o,n){P(this,"_storage");P(this,"_unobserve");P(this,"_win");P(this,"_forgetMemorizedTimer");P(this,"_forgetMemorizedElements",[]);P(this,"_wrappers",new Set);P(this,"_initTimer");P(this,"_initQueue",[]);P(this,"_version","8.8.0");P(this,"_noop",!1);P(this,"controlTab");P(this,"rootDummyInputs");P(this,"attrHandlers",new Map);P(this,"keyboardNavigation");P(this,"focusedElement");P(this,"focusable");P(this,"root");P(this,"uncontrolled");P(this,"internal");P(this,"_dummyObserver");P(this,"groupper");P(this,"mover");P(this,"outline");P(this,"deloser");P(this,"modalizer");P(this,"observedElement");P(this,"crossOrigin");P(this,"restorer");P(this,"getParent");P(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&&wN({...n.DOMAPI}),this.keyboardNavigation=new qN(a),this.focusedElement=new Qa(this,a),this.focusable=new ON(this),this.root=new gt(this,n==null?void 0:n.autoRoot),this.uncontrolled=new PN((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 jN(a),this.getParent=(n==null?void 0:n.getParent)??ce.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:l=>{if(!this._unobserve){const c=a().document;this._unobserve=HN(c,this,Ew,l)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(o){o&&(this.getParent=o.getParent??this.getParent)}createTabster(o,n){const a=new JN(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(),qy(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),o&&(kN(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())qy(this.getWindow,o),Qa.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 tT(e,o){let n=rT(e);return n?n.createTabster(!1,o):(n=new eT(e,o),e.__tabsterInstance=n,n.createTabster())}function oT(e,o){e.core.disposeTabster(e,o)}function rT(e){return e.__tabsterInstance}const nT=e=>e;function aT(e){const o=(e==null?void 0:e.defaultView)||void 0,n=o==null?void 0:o.__tabsterShadowDOMAPI;if(o)return tT(o,{autoRoot:{},controlTab:!1,getParent:_w,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 Cl(e=nT){const{targetDocument:o}=Qe(),n=b.useRef(null);return Mt(()=>{const a=aT(o);if(a)return n.current=e(a),()=>{oT(a),n.current=null}},[o,e]),n}const fd=e=>{Cl();const o=tm(e,!0);return b.useMemo(()=>({[hn]:o}),[o])},Pw=(e={})=>{const{circular:o,axis:n,memorizeCurrent:a=!0,tabbable:l,ignoreDefaultKeydown:c,unstable_hasDefault:u}=e;return Cl(QN),fd({mover:{cyclic:!!o,direction:iT(n??"vertical"),memorizeCurrent:a,tabbable:l,hasDefault:u},...c&&{focusable:{ignoreKeydown:c}}})};function iT(e){switch(e){case"horizontal":return hr.Horizontal;case"grid":return hr.Grid;case"grid-linear":return hr.GridLinear;case"both":return hr.Both;case"vertical":default:return hr.Vertical}}const uc=()=>{const e=Cl(),{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}},Uy="data-fui-focus-visible",Iw="data-fui-focus-within";function lT(e,o){if(Lw(e))return()=>{};const n={current:void 0},a=Fd(o);function l(h){a.isNavigatingWithKeyboard()&&vr(h)&&(n.current=h,h.setAttribute(Uy,""))}function c(){n.current&&(n.current.removeAttribute(Uy),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||vr(h.relatedTarget)&&!e.contains(h.relatedTarget))&&c()};return e.addEventListener(Do,u),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(o.document.activeElement)&&l(o.document.activeElement),()=>{c(),e.removeEventListener(Do,u),e.removeEventListener("focusout",d),e.focusVisible=void 0,qd(a)}}function Lw(e){return e?e.focusVisible?!0:Lw(e==null?void 0:e.parentElement):!1}function Uw(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 lT(n.current,l.defaultView)},[n,l]),n}function sT(e,o){const n=Fd(o);n.subscribe(c=>{c||Vy(e)});const a=c=>{n.isNavigatingWithKeyboard()&&Gy(c.target)&&cT(e)},l=c=>{(!c.relatedTarget||Gy(c.relatedTarget)&&!e.contains(c.relatedTarget))&&Vy(e)};return e.addEventListener(Do,a),e.addEventListener("focusout",l),()=>{e.removeEventListener(Do,a),e.removeEventListener("focusout",l),qd(n)}}function cT(e){e.setAttribute(Iw,"")}function Vy(e){e.removeAttribute(Iw)}function Gy(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function om(){const{targetDocument:e}=Qe(),o=b.useRef(null);return b.useEffect(()=>{if(e!=null&&e.defaultView&&o.current)return sT(o.current,e.defaultView)},[o,e]),o}function rm(){const{targetDocument:e}=Qe(),o=b.useRef(null);return b.useEffect(()=>{const n=e==null?void 0:e.defaultView;if(n){const a=Fd(n);return o.current=a,()=>{qd(a),o.current=null}}},[e]),o}function Vw(e){const o=rm(),n=ge(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 uT="data-tabster-never-hide",dT=e=>e.hasAttribute(uT);function fT(e){qw(e,void 0,dT),Hw(e)}const Id=(e={})=>{const{trapFocus:o,alwaysFocusable:n,legacyTrapFocus:a}=e;Cl(fT);const l=Yt("modal-",e.id),c=fd({restorer:{type:Ka.Source},...o&&{modalizer:{id:l,isOthersAccessible:!o,isAlwaysAccessible:n,isTrapped:a&&o}}}),u=fd({restorer:{type:Ka.Target}});return{modalAttributes:c,triggerAttributes:u}};function hT(){return Cl(Hw),tm({restorer:{type:Ka.Source}})}function pT(){const e=rm();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 gT(){const e=rm();return b.useCallback(o=>{var n;(n=e.current)===null||n===void 0||n.setVal(o)},[e])}function mT(){const e=Cl(qw),[o]=zl();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"},Kt={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)"},Ko={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)"},vT={50:"rgba(26, 26, 26, 0.5)"},bT={70:"rgba(31, 31, 31, 0.7)"},Wy={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},ze="#ffffff",rd="#000000",yT={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},Gw={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},xT={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},wT={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},ST={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},kT={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},BT={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},_T={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},zT={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"},NT={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},TT={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},ET={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},jT={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},RT={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Ww={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},AT={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},DT={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},MT={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},OT={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},FT={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},qT={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},HT={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},PT={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},IT={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},LT={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},UT={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},VT={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},GT={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},WT={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},XT={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},$T={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},KT={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},QT={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},ZT={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},YT={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Ke={red:xT,green:Ww,darkOrange:wT,yellow:zT,berry:VT,lightGreen:RT,marigold:_T},ca={darkRed:yT,cranberry:Gw,pumpkin:ST,peach:BT,gold:CT,brass:NT,brown:TT,forest:ET,seafoam:jT,darkGreen:AT,lightTeal:DT,teal:MT,steel:OT,blue:FT,royalBlue:qT,cornflower:HT,navy:PT,lavender:IT,purple:LT,grape:UT,lilac:GT,pink:WT,magenta:XT,plum:$T,beige:KT,mink:QT,platinum:ZT,anchor:YT},We={cranberry:Gw,green:Ww,orange:kT},Xw=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],$w=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],mo={success:"green",warning:"orange",danger:"cranberry"},dc=Xw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background1`]:Ke[o].tint60,[`colorPalette${n}Background2`]:Ke[o].tint40,[`colorPalette${n}Background3`]:Ke[o].primary,[`colorPalette${n}Foreground1`]:Ke[o].shade10,[`colorPalette${n}Foreground2`]:Ke[o].shade30,[`colorPalette${n}Foreground3`]:Ke[o].primary,[`colorPalette${n}BorderActive`]:Ke[o].primary,[`colorPalette${n}Border1`]:Ke[o].tint40,[`colorPalette${n}Border2`]:Ke[o].primary};return Object.assign(e,a)},{});dc.colorPaletteYellowForeground1=Ke.yellow.shade30;dc.colorPaletteRedForegroundInverted=Ke.red.tint20;dc.colorPaletteGreenForegroundInverted=Ke.green.tint20;dc.colorPaletteYellowForegroundInverted=Ke.yellow.tint40;const JT=$w.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background2`]:ca[o].tint40,[`colorPalette${n}Foreground2`]:ca[o].shade30,[`colorPalette${n}BorderActive`]:ca[o].primary};return Object.assign(e,a)},{}),eE={...dc,...JT},Nl=Object.entries(mo).reduce((e,[o,n])=>{const a=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorStatus${a}Background1`]:We[n].tint60,[`colorStatus${a}Background2`]:We[n].tint40,[`colorStatus${a}Background3`]:We[n].primary,[`colorStatus${a}Foreground1`]:We[n].shade10,[`colorStatus${a}Foreground2`]:We[n].shade30,[`colorStatus${a}Foreground3`]:We[n].primary,[`colorStatus${a}ForegroundInverted`]:We[n].tint30,[`colorStatus${a}BorderActive`]:We[n].primary,[`colorStatus${a}Border1`]:We[n].tint40,[`colorStatus${a}Border2`]:We[n].primary};return Object.assign(e,l)},{});Nl.colorStatusDangerBackground3Hover=We[mo.danger].shade10;Nl.colorStatusDangerBackground3Pressed=We[mo.danger].shade20;Nl.colorStatusWarningForeground1=We[mo.warning].shade20;Nl.colorStatusWarningForeground3=We[mo.warning].shade20;Nl.colorStatusWarningBorder2=We[mo.warning].shade20;const tE=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:Kt[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:Kt[50],colorNeutralBackgroundAlpha2:Kt[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:$[96],colorSubtleBackgroundPressed:$[88],colorSubtleBackgroundSelected:$[92],colorSubtleBackgroundLightAlphaHover:Kt[70],colorSubtleBackgroundLightAlphaPressed:Kt[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Ko[10],colorSubtleBackgroundInvertedPressed:Ko[30],colorSubtleBackgroundInvertedSelected:Ko[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:$[94],colorNeutralBackgroundDisabled2:ze,colorNeutralBackgroundInvertedDisabled:Kt[10],colorNeutralStencil1:$[90],colorNeutralStencil2:$[98],colorNeutralStencil1Alpha:Ko[10],colorNeutralStencil2Alpha:Ko[5],colorBackgroundOverlay:Ko[40],colorScrollbarOverlay:Ko[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:Kt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Ko[5],colorNeutralStrokeAlpha2:Kt[20],colorStrokeFocus1:ze,colorStrokeFocus2:rd,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)"}),Kw={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Qw={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)"},Zw={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Yw={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Jw={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},eS={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},tS={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},xt={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},oS={spacingHorizontalNone:xt.none,spacingHorizontalXXS:xt.xxs,spacingHorizontalXS:xt.xs,spacingHorizontalSNudge:xt.sNudge,spacingHorizontalS:xt.s,spacingHorizontalMNudge:xt.mNudge,spacingHorizontalM:xt.m,spacingHorizontalL:xt.l,spacingHorizontalXL:xt.xl,spacingHorizontalXXL:xt.xxl,spacingHorizontalXXXL:xt.xxxl},rS={spacingVerticalNone:xt.none,spacingVerticalXXS:xt.xxs,spacingVerticalXS:xt.xs,spacingVerticalSNudge:xt.sNudge,spacingVerticalS:xt.s,spacingVerticalMNudge:xt.mNudge,spacingVerticalM:xt.m,spacingVerticalL:xt.l,spacingVerticalXL:xt.xl,spacingVerticalXXL:xt.xxl,spacingVerticalXXXL:xt.xxxl},nS={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},A={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)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",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 hd(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 oE=e=>{const o=tE(e);return{...Kw,...Yw,...Jw,...tS,...eS,...nS,...oS,...rS,...Zw,...Qw,...o,...eE,...Nl,...hd(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...hd(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},qr=Xw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background1`]:Ke[o].shade40,[`colorPalette${n}Background2`]:Ke[o].shade30,[`colorPalette${n}Background3`]:Ke[o].primary,[`colorPalette${n}Foreground1`]:Ke[o].tint30,[`colorPalette${n}Foreground2`]:Ke[o].tint40,[`colorPalette${n}Foreground3`]:Ke[o].tint20,[`colorPalette${n}BorderActive`]:Ke[o].tint30,[`colorPalette${n}Border1`]:Ke[o].primary,[`colorPalette${n}Border2`]:Ke[o].tint20};return Object.assign(e,a)},{});qr.colorPaletteRedForeground3=Ke.red.tint30;qr.colorPaletteRedBorder2=Ke.red.tint30;qr.colorPaletteGreenForeground3=Ke.green.tint40;qr.colorPaletteGreenBorder2=Ke.green.tint40;qr.colorPaletteDarkOrangeForeground3=Ke.darkOrange.tint30;qr.colorPaletteDarkOrangeBorder2=Ke.darkOrange.tint30;qr.colorPaletteRedForegroundInverted=Ke.red.primary;qr.colorPaletteGreenForegroundInverted=Ke.green.primary;qr.colorPaletteYellowForegroundInverted=Ke.yellow.shade30;const nm=$w.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background2`]:ca[o].shade30,[`colorPalette${n}Foreground2`]:ca[o].tint40,[`colorPalette${n}BorderActive`]:ca[o].tint30};return Object.assign(e,a)},{});nm.colorPaletteDarkRedBackground2=ca.darkRed.shade20;nm.colorPalettePlumBackground2=ca.plum.shade20;const rE={...qr,...nm},fa=Object.entries(mo).reduce((e,[o,n])=>{const a=o.slice(0,1).toUpperCase()+o.slice(1),l={[`colorStatus${a}Background1`]:We[n].shade40,[`colorStatus${a}Background2`]:We[n].shade30,[`colorStatus${a}Background3`]:We[n].primary,[`colorStatus${a}Foreground1`]:We[n].tint30,[`colorStatus${a}Foreground2`]:We[n].tint40,[`colorStatus${a}Foreground3`]:We[n].tint20,[`colorStatus${a}BorderActive`]:We[n].tint30,[`colorStatus${a}ForegroundInverted`]:We[n].shade10,[`colorStatus${a}Border1`]:We[n].primary,[`colorStatus${a}Border2`]:We[n].tint20};return Object.assign(e,l)},{});fa.colorStatusDangerBackground3Hover=We[mo.danger].shade10;fa.colorStatusDangerBackground3Pressed=We[mo.danger].shade20;fa.colorStatusDangerForeground3=We[mo.danger].tint40;fa.colorStatusDangerBorder2=We[mo.danger].tint30;fa.colorStatusSuccessForeground3=We[mo.success].tint40;fa.colorStatusSuccessBorder2=We[mo.success].tint40;fa.colorStatusWarningForegroundInverted=We[mo.warning].shade20;const nE=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:Kt[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:rd,colorNeutralBackground4Selected:$[10],colorNeutralBackground5:rd,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:vT[50],colorNeutralBackgroundAlpha2:bT[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:$[22],colorSubtleBackgroundPressed:$[18],colorSubtleBackgroundSelected:$[20],colorSubtleBackgroundLightAlphaHover:Wy[80],colorSubtleBackgroundLightAlphaPressed:Wy[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Ko[10],colorSubtleBackgroundInvertedPressed:Ko[30],colorSubtleBackgroundInvertedSelected:Ko[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:$[8],colorNeutralBackgroundDisabled2:$[16],colorNeutralBackgroundInvertedDisabled:Kt[10],colorNeutralStencil1:$[34],colorNeutralStencil2:$[20],colorNeutralStencil1Alpha:Kt[10],colorNeutralStencil2Alpha:Kt[5],colorBackgroundOverlay:Ko[50],colorScrollbarOverlay:Kt[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:Kt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Kt[10],colorNeutralStrokeAlpha2:Kt[20],colorStrokeFocus1:rd,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)"}),aE=e=>{const o=nE(e);return{...Kw,...Yw,...Jw,...tS,...eS,...nS,...oS,...rS,...Zw,...Qw,...o,...rE,...fa,...hd(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...hd(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},aS={root:"fui-FluentProvider"},iE=aw({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);}"]}),lE=e=>{"use no memo";const o=lc(),n=iE({dir:e.dir,renderer:o});return e.root.className=de(aS.root,e.themeClassName,n.root,e.root.className),e},sE=b.useInsertionEffect?b.useInsertionEffect:Mt,cE=(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},uE=(e,o)=>{const n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(o,0))},dE=e=>{"use no memo";const{targetDocument:o,theme:n,rendererAttributes:a}=e,l=b.useRef(void 0),c=Yt(aS.root),u=a,d=b.useMemo(()=>xz(`.${c}`,n),[n,c]);return fE(o,c),sE(()=>{const h=o==null?void 0:o.getElementById(c);return h?l.current=h:(l.current=cE(o,{...u,id:c}),l.current&&uE(l.current,d)),()=>{var p;(p=l.current)===null||p===void 0||p.remove()}},[c,o,d,u]),{styleTagId:c,rule:d}};function fE(e,o){b.useState(()=>{if(!e)return;const n=e.getElementById(o);n&&e.head.append(n)})}const hE={},pE={},gE=(e,o)=>{"use no memo";const n=Qe(),a=mE(),l=Kg(),c=b.useContext(Qg)||hE,{applyStylesToPortals:u=!0,customStyleHooks_unstable:d,dir:h=n.dir,targetDocument:p=n.targetDocument,theme:v,overrides_unstable:m={}}=e,w=Mp(a,v),B=Mp(l,m),k=Mp(c,d),x=lc();var C;const{styleTagId:_,rule:j}=dE({theme:w,targetDocument:p,rendererAttributes:(C=x.styleElementAttributes)!==null&&C!==void 0?C:pE});return{applyStylesToPortals:u,customStyleHooks_unstable:k,dir:h,targetDocument:p,theme:w,overrides_unstable:B,themeClassName:_,components:{root:"div"},root:Ne(Et("div",{...e,dir:h,ref:it(o,Uw({targetDocument:p}))}),{elementType:"div"}),serverStyleProps:{cssRule:j,attributes:{...x.styleElementAttributes,id:_}}}};function Mp(e,o){return e&&o?{...e,...o}:e||o}function mE(){return b.useContext(dw)}function vE(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 iS=b.forwardRef((e,o)=>{const n=gE(e,o);lE(n);const a=vE(n);return RC(n,a)});iS.displayName="FluentProvider";var Xy=r2();const bE=e=>n=>{const a=b.useRef(n.value),l=b.useRef(null);return l.current||(l.current={value:a,listeners:[]}),Mt(()=>{a.current=n.value,Xy.unstable_runWithPriority(Xy.unstable_NormalPriority,()=>{l.current.listeners.forEach(c=>{c(n.value)})})},[n.value]),b.createElement(e,{value:l.current},n.children)},ei=e=>{const o=b.createContext({value:{current:e},listeners:[],isDefault:!0});return o.Provider=bE(o.Provider),delete o.Consumer,o},Tl=(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 Mt(()=>{d.current=o,h.current=c}),Mt(()=>{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 fc(e){return!b.useContext(e).isDefault}const lS=ei(void 0),yE={openItems:[],collapsible:!1,multiple:!1,navigation:void 0,requestToggle(){}},{Provider:xE}=lS,Xs=e=>Tl(lS,(o=yE)=>e(o)),wE=(e,o)=>ne(e.root,{children:ne(xE,{value:o.accordion,children:e.root.children})}),SE=(e,o)=>{const{navigation:n,...a}=e,l=kE(a,o),c=Pw({circular:n==="circular",tabbable:!0});return{navigation:n,...l,root:{...l.root,...n?c:void 0}}},kE=(e,o)=>{const{openItems:n,defaultOpenItems:a,multiple:l=!1,collapsible:c=!1,onToggle:u,...d}=e,[h,p]=Ao({state:b.useMemo(()=>zE(n),[n]),defaultState:a&&(()=>BE({defaultOpenItems:a,multiple:l})),initialState:[]}),v=ge(m=>{const w=_E(m.value,h,l,c);u==null||u(m.event,{value:m.value,openItems:w}),p(w)});return{collapsible:c,multiple:l,openItems:h,requestToggle:v,components:{root:"div"},root:Ne({ref:o,...d},{elementType:"div"})}};function BE({defaultOpenItems:e,multiple:o}){return e!==void 0?Array.isArray(e)?o?e:[e[0]]:[e]:[]}function _E(e,o,n,a){if(n)if(o.includes(e)){if(o.length>1||a)return o.filter(l=>l!==e)}else return[...o,e].sort();else return o[0]===e&&a?[]:[e];return o}function zE(e){if(e!==void 0)return Array.isArray(e)?e:[e]}function CE(e){const{navigation:o,openItems:n,requestToggle:a,multiple:l,collapsible:c}=e;return{accordion:b.useMemo(()=>({navigation:o,openItems:n,requestToggle:a,collapsible:c,multiple:l}),[o,n,a,c,l])}}const NE={root:"fui-Accordion"},TE=e=>{"use no memo";return e.root.className=de(NE.root,e.root.className),e},sS=b.forwardRef((e,o)=>{const n=SE(e,o),a=CE(n);return TE(n),Xe("useAccordionStyles_unstable")(n),wE(n,a)});sS.displayName="Accordion";const EE=(e,o)=>{const{value:n,disabled:a=!1,...l}=e,c=Xs(h=>h.requestToggle),u=Xs(h=>h.openItems.includes(n)),d=ge(h=>c({event:h,value:n}));return{open:u,value:n,disabled:a,onHeaderClick:d,components:{root:"div"},root:Ne({disabled:a,ref:o,...l},{elementType:"div"})}};function jE(e){const{disabled:o,open:n,value:a,onHeaderClick:l}=e;return{accordionItem:b.useMemo(()=>({disabled:o,open:n,value:a,onHeaderClick:l}),[o,n,a,l])}}const cS=b.createContext(void 0),RE={open:!1,disabled:!1,value:void 0,onHeaderClick(){}},{Provider:AE}=cS,uS=()=>{var e;return(e=b.useContext(cS))!==null&&e!==void 0?e:RE},DE=(e,o)=>ne(e.root,{children:ne(AE,{value:o.accordionItem,children:e.root.children})}),ME={root:"fui-AccordionItem"},OE=e=>{"use no memo";return e.root.className=de(ME.root,e.root.className),e},dS=b.forwardRef((e,o)=>{const n=EE(e,o),a=jE(n);return OE(n),Xe("useAccordionItemStyles_unstable")(n),DE(n,a)});dS.displayName="AccordionItem";const Zi="Enter",dn=" ",fS="Tab",bg="ArrowDown",am="ArrowLeft",im="ArrowRight",Op="ArrowUp",FE="End",qE="Home",HE="PageDown",PE="PageUp",El="Escape";function Za(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=ge(k=>{v?(k.preventDefault(),k.stopPropagation()):c==null||c(k)}),w=ge(k=>{if(u==null||u(k),k.isDefaultPrevented())return;const x=k.key;if(v&&(x===Zi||x===dn)){k.preventDefault(),k.stopPropagation();return}if(x===dn){k.preventDefault();return}else x===Zi&&(k.preventDefault(),k.currentTarget.click())}),B=ge(k=>{if(d==null||d(k),k.isDefaultPrevented())return;const x=k.key;if(v&&(x===Zi||x===dn)){k.preventDefault(),k.stopPropagation();return}x===dn&&(k.preventDefault(),k.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 k=!!h.href;let x=k?void 0:"button";!x&&v&&(x="link");const C={role:x,tabIndex:a||!k&&!n?0:void 0,...h,onClick:m,onKeyUp:B,onKeyDown:w,"aria-disabled":v};return e==="a"&&v&&(C.href=void 0),C}}const fo=()=>{},IE={controller:{active:fo,blur:fo,find:fo,first:fo,focus:fo,focusLastActive:fo,scrollActiveIntoView:fo,last:fo,next:fo,prev:fo,showAttributes:fo,hideAttributes:fo,showFocusVisibleAttributes:fo,hideFocusVisibleAttributes:fo}},lm=b.createContext(void 0),hS=lm.Provider,pS=()=>{var e;return(e=b.useContext(lm))!==null&&e!==void 0?e:IE},LE=()=>!!b.useContext(lm);function UE(e){const{matchOption:o}=e,{targetDocument:n}=Qe(),a=b.useRef(null),l=b.useRef(null),c=b.useCallback(h=>vr(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 $y="data-activedescendant",Li="data-activedescendant-focusvisible",Ky=e=>{if(!e)return;const o=gS(e.parentElement);if(!o)return;const{offsetHeight:n}=e,a=mS(e,o),{scrollMarginTop:l,scrollMarginBottom:c}=VE(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)},gS=e=>e?e.scrollHeight>e.offsetHeight?e:gS(e.parentElement):null,mS=(e,o)=>!e||e===o?0:e.contains(o)?o.offsetTop*-1:e.offsetTop+mS(e.offsetParent,o),VE=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=Pu(a.scrollMarginTop))!==null&&l!==void 0?l:Pu(a.scrollMarginBlockStart);var u;const d=(u=Pu(a.scrollMarginBottom))!==null&&u!==void 0?u:Pu(a.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:d}},Pu=e=>e?parseInt(e,10):0,GE=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function vS(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)}},[]);Vw(T=>{a.current=T;const E=x();E&&(T&&l.current?E.setAttribute(Li,""):E.removeAttribute(Li))});const m=ge(n),w=b.useRef(null),{optionWalker:B,listboxCallbackRef:k}=UE({matchOption:m}),x=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=x();E&&(T&&a.current?E.setAttribute(Li,""):E.removeAttribute(Li))},[x]),_=b.useCallback(()=>{const T=x();T&&(T.removeAttribute($y),T.removeAttribute(Li)),p(),u.current=c.current,c.current=null;var E;return(E=T==null?void 0:T.id)!==null&&E!==void 0?E:null},[x,p]),j=b.useCallback(T=>{if(!T)return;const E=_();Ky(T),v(T.id),T.setAttribute($y,""),a.current&&l.current&&T.setAttribute(Li,"");const R=GE({id:T.id,previousId:E});T.dispatchEvent(R)},[_,v]),z=b.useMemo(()=>({first:({passive:T}={})=>{const E=B.first();return T||j(E),E==null?void 0:E.id},last:({passive:T}={})=>{const E=B.last();return T||j(E),E==null?void 0:E.id},next:({passive:T}={})=>{const E=x();if(!E)return;B.setCurrent(E);const R=B.next();return T||j(R),R==null?void 0:R.id},prev:({passive:T}={})=>{const E=x();if(!E)return;B.setCurrent(E);const R=B.prev();return T||j(R),R==null?void 0:R.id},blur:()=>{_()},active:()=>{var T;return(T=x())===null||T===void 0?void 0:T.id},focus:T=>{if(!w.current)return;const E=w.current.querySelector(`#${T}`);E&&j(E)},focusLastActive:()=>{if(!w.current||!u.current)return;const T=w.current.querySelector(`#${u.current}`);if(T)return j(T),!0},find(T,{passive:E,startFrom:R}={}){const F=B.find(T,R);return E||j(F),F==null?void 0:F.id},scrollActiveIntoView:()=>{if(!w.current)return;const T=x();T&&Ky(T)},showAttributes(){h.current=!0,v()},hideAttributes(){h.current=!1,p()},showFocusVisibleAttributes(){C(!0)},hideFocusVisibleAttributes(){C(!1)}}),[B,w,v,p,j,_,x,C]);return b.useImperativeHandle(o,()=>z),{listboxRef:it(w,k),activeParentRef:d,controller:z}}const WE=ve({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),XE=(e,o)=>{const{filled:n,title:a,primaryFill:l="currentColor",...c}=e,u={...c,fill:l},d=WE(),h=jC();return u.className=de(d.root,(o==null?void 0:o.flipInRtl)&&(h==null?void 0:h.textDirection)==="rtl"&&d.rtl,u.className),a&&(u["aria-label"]=a),!u["aria-label"]&&!u["aria-labelledby"]?u["aria-hidden"]=!0:u.role="img",u},$E=ve({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),KE="fui-Icon",QE="fui-Icon-filled",ZE="fui-Icon-regular",ke=(e,o,n,a)=>{const l=o==="1em"?"20":o,c=b.forwardRef((u,d)=>{const h=$E(),p=XE(u,{flipInRtl:a==null?void 0:a.flipInRtl}),v={...p,className:de(KE,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},YE=ke("SearchRegular","1em",["M13.73 14.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 15 9.5a5.5 5.5 0 1 0-1.98 4.23Z"]),bS=ke("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"]),Ui=ke("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"]),JE=ke("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"]),ej=ke("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"]),pd=ke("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"]),yS=ke("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"]),tj=ke("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"]),oj=ke("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"]),rj=ke("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"]),nj=ke("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"]),gd=ke("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"]),yg=ke("AddRegular","1em",["M10 2.5c.28 0 .5.22.5.5v6.5H17a.5.5 0 0 1 0 1h-6.5V17a.5.5 0 0 1-1 0v-6.5H3a.5.5 0 0 1 0-1h6.5V3c0-.28.22-.5.5-.5Z"]),aj=ke("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"]),ij=ke("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"]),sm=ke("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),cm=ke("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"]),lj=ke("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"]),sj=ke("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"]),xS=ke("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"]),cj=ke("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"]),wS=ke("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"]),SS=ke("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"]),uj=ke("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}),Dr=ke("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"]),dj=ke("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"]),fj=ke("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"]),hj=ke("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"]),pj=ke("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"]),gj=ke("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"]),mj=ke("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"]),Fr=ke("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"]),vj=ke("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"]),bj=ke("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"]),yj=ke("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"]),xj=ke("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"]),Xi=ke("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"]),kS=ke("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"]),wj=ke("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"]),Sj=ke("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"]),kj=ke("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"]),Bj=ke("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"]),_j=ke("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"]),zj=ke("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"]),Cj=ke("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"]),BS=ke("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"]),Nj=ke("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"]),Tj=ke("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"]),Ej=ke("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"]),jj=ke("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"]),Rj=ke("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"]),Aj=ke("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"]),Dj=ve({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]}),_S=(e,o)=>{const n=a=>{const{className:l,filled:c,...u}=a,d=Dj();return b.createElement(b.Fragment,null,b.createElement(e,Object.assign({},u,{className:de(d.root,c&&d.visible,QE,l)})),b.createElement(o,Object.assign({},u,{className:de(d.root,!c&&d.visible,ZE,l)})))};return n.displayName="CompoundIcon",n},Mj={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},Oj={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)"},Ie={...Mj,...Oj};function Fj(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 qj={fill:"forwards"},Hj={duration:1};function Pj(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=>Fj(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 Ij(){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=Hj,...m}=h,{keyframes:w=p,...B}=v,k=u?w:p,x={...qj,...m,...u&&B};try{const _=n.animate(k,x);if(o)_==null||_.persist();else{const j=k[k.length-1];var C;Object.assign((C=n.style)!==null&&C!==void 0?C:{},j)}return _}catch{return null}}).filter(h=>!!h);return Pj(d)},[o])}function zS(){"use no memo";return Ij()}function CS(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 Lj="screen and (prefers-reduced-motion: reduce)";function NS(){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 Mt(()=>{if(n===null||typeof n.matchMedia!="function")return;const c=n.matchMedia(Lj);c.matches&&(a.current=!0);const u=d=>{a.current=d.matches};return c.addEventListener("change",u),()=>{c.removeEventListener("change",u)}},[n]),l}const Uj=["@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 TS(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:it(n,sc(a))}),n]}catch{}throw new Error(Uj)}const ES=b.createContext(void 0);ES.Provider;const jS=()=>{var e;return(e=b.useContext(ES))!==null&&e!==void 0?e:"default"},Vj=Symbol("MOTION_DEFINITION");function Qy(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]=TS(a),w=CS(l),B=jS()==="skip",k=b.useRef({skipMotions:B,params:p}),x=zS(),C=NS(),_=ge(()=>{u==null||u(null)}),j=ge(()=>{c==null||c(null)}),z=ge(()=>{d==null||d(null)});return Mt(()=>{k.current={skipMotions:B,params:p}}),Mt(()=>{const T=m.current;if(T){const E=typeof e=="function"?e({element:T,...k.current.params}):e;_();const R=x(T,E,{isReducedMotion:C()});return w.current=R,R.setMotionEndCallbacks(j,z),k.current.skipMotions&&R.finish(),()=>{R.cancel()}}},[x,m,w,C,j,_,z]),v},{[Vj]:typeof e=="function"?e:()=>e})}const RS=b.createContext(void 0);RS.Provider;function Gj(e=!1,o=!1){const n=b.useRef(o?e:!0),a=vC(),l=b.useCallback(c=>{n.current!==c&&(n.current=c,a())},[a]);return b.useEffect(()=>{e&&(n.current=e)}),[e||n.current,l]}const AS=Symbol("PRESENCE_MOTION_DEFINITION"),Wj=Symbol.for("interruptablePresence");function jl(e){return Object.assign(o=>{"use no memo";const a={...b.useContext(RS),...o},l=jS()==="skip",{appear:c,children:u,imperativeRef:d,onExit:h,onMotionFinish:p,onMotionStart:v,onMotionCancel:m,visible:w,unmountOnExit:B,...k}=a,x=k,[C,_]=Gj(w,B),[j,z]=TS(u,C),T=CS(d),E=b.useRef({appear:c,params:x,skipMotions:l}),R=zS(),F=Zg(),O=NS(),X=ge(ie=>{v==null||v(null,{direction:ie})}),ee=ge(ie=>{p==null||p(null,{direction:ie}),ie==="exit"&&B&&(_(!1),h==null||h())}),he=ge(ie=>{m==null||m(null,{direction:ie})});return Mt(()=>{E.current={appear:c,params:x,skipMotions:l}}),Mt(()=>{const ie=z.current;if(!ie)return;let ue;function le(){ue&&(L&&ue.isRunning()||(ue.cancel(),T.current=void 0))}const Q=typeof e=="function"?e({element:ie,...E.current.params}):e,L=Q[Wj];if(L&&(ue=T.current,ue&&ue.isRunning()))return ue.reverse(),le;const te=w?Q.enter:Q.exit,oe=w?"enter":"exit",fe=!E.current.appear&&F,Se=E.current.skipMotions;return fe||X(oe),ue=R(ie,te,{isReducedMotion:O()}),fe?(ue.finish(),le):(T.current=ue,ue.setMotionEndCallbacks(()=>ee(oe),()=>he(oe)),Se&&ue.finish(),le)},[R,z,T,O,ee,X,he,w]),b.useEffect(()=>{if(B&&!C){var ie;(ie=T.current)===null||ie===void 0||ie.dispose()}},[T,B,C]),C?j:null},{[AS]:typeof e=="function"?e:()=>e},{In:Qy(typeof e=="function"?(...o)=>e(...o).enter:e.enter),Out:Qy(typeof e=="function"?(...o)=>e(...o).exit:e.exit)})}function Xj(e,o){return a=>e({...o,...a})}function ha(e,o){const n=e[AS],a=Xj(n,o);return jl(a)}const um=b.createContext(void 0);function Ld(){return b.useContext(um)}const Ud=b.forwardRef((e,o)=>b.createElement(um.Provider,{value:o},e.children));Ud.displayName="MotionRefForwarder";const DS=e=>b.createElement(um.Provider,{value:void 0},e.children);DS.displayName="MotionRefForwarderReset";function hc(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{[ud]:d,[bl]:o.elementType}}const c={...o.defaultProps,...l,[bl]:o.elementType};return typeof a=="function"&&(c[ud]=a),c}const $j=(e,o)=>{const{inline:n=!1,size:a="medium",...l}=e,c=Kj(l,o),{dir:u}=Qe();let d;if(c.expandIconPosition==="end"?d=c.open?-90:90:d=c.open?90:u!=="rtl"?0:180,c.expandIcon){var h,p;(p=(h=c.expandIcon).children)!==null&&p!==void 0||(h.children=b.createElement(Xi,{style:{transform:`rotate(${d}deg)`,transition:`transform ${Ie.durationNormal}ms ease-out`}}))}return{...c,inline:n,size:a}},Kj=(e,o)=>{const{icon:n,button:a,expandIcon:l,expandIconPosition:c="start",...u}=e,{value:d,disabled:h,open:p}=uS(),v=Xs(B=>B.requestToggle),m=Xs(B=>!B.collapsible&&B.openItems.length===1&&p),w=Ne(a,{elementType:"button",defaultProps:{disabled:h,disabledFocusable:m,"aria-expanded":p,type:"button"}});return w.onClick=ge(B=>{if($g(a)){var k;(k=a.onClick)===null||k===void 0||k.call(a,B)}B.defaultPrevented||v({value:d,event:B})}),{disabled:h,open:p,expandIconPosition:c,components:{root:"div",button:"button",expandIcon:"span",icon:"div"},root:Ne({ref:o,...u},{elementType:"div"}),icon:De(n,{elementType:"div"}),expandIcon:De(l,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"span"}),button:Za(w.as,w)}},Qj=b.createContext(void 0),{Provider:Zj}=Qj,Yj=(e,o)=>ne(Zj,{value:o.accordionHeader,children:ne(e.root,{children:lt(e.button,{children:[e.expandIconPosition==="start"&&e.expandIcon&&ne(e.expandIcon,{}),e.icon&&ne(e.icon,{}),e.root.children,e.expandIconPosition==="end"&&e.expandIcon&&ne(e.expandIcon,{})]})})}),Iu={root:"fui-AccordionHeader",button:"fui-AccordionHeader__button",expandIcon:"fui-AccordionHeader__expandIcon",icon:"fui-AccordionHeader__icon"},Jj=ve({resetButton:{B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bv0vk6g:"f37px4s",fsow6f:"fgusgyc"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bqhya38:"f1j6vpng",Bwxa6fj:["f1pniga2","f1ffjurs"],Bdhvstf:"f987i1v",B7zbvrb:["f1ffjurs","f1pniga2"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},root:{sj55zd:"f19n0e5",De3pzq:"f1c21dwh",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},rootDisabled:{Bcmaq0h:"fwrgwhw",sj55zd:"f1s2aq7o"},rootInline:{mc9l5x:"f14t3ns0"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1rmphuq","f26yw9j"],sshi5w:"f5pgtk9",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bceei9c:"f1k6fduh",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B7ck84d:"f1ewtqcl"},buttonSmall:{sshi5w:"f1nxs5xn",Be2twd7:"fy9rknc"},buttonLarge:{Bg96gwp:"faaz57k",Be2twd7:"fod5ikn"},buttonExtraLarge:{Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},buttonInline:{mc9l5x:"ftuwxu6"},buttonExpandIconEndNoIcon:{uwmqm3:["f1uw59to","fw5db7e"]},buttonExpandIconEnd:{z189sj:["f11gcy0p","f1ng84yb"]},buttonDisabled:{Bceei9c:"fdrzuqr"},expandIcon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},expandIconStart:{z189sj:["f1vdfbxk","f1f5gg8d"]},expandIconEnd:{Bh6795r:"fqerorx",Bnnss6s:"f1neuvcm",xawz:"flqd7gy",mc9l5x:"f22iagw",Brf1p80:"f9c4gz4",uwmqm3:["f1f5gg8d","f1vdfbxk"]},icon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",z189sj:["f1vdfbxk","f1f5gg8d"],Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"}},{d:[".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f37px4s{-webkit-appearance:button;}",".fgusgyc{text-align:unset;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwrgwhw{background-image:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f14t3ns0{display:inline-block;}",".f10pi13n{position:relative;}",".fly5x3f{width:100%;}",".fre7gi1{border-top-width:0;}",".f1358rze{border-right-width:0;}",".f1rvrf73{border-left-width:0;}",".fqdk4by{border-bottom-width:0;}",[".f1rmphuq{padding:0 var(--spacingHorizontalM) 0 var(--spacingHorizontalMNudge);}",{p:-1}],[".f26yw9j{padding:0 var(--spacingHorizontalMNudge) 0 var(--spacingHorizontalM);}",{p:-1}],".f5pgtk9{min-height:44px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1ewtqcl{box-sizing:border-box;}",".f1nxs5xn{min-height:32px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".ftuwxu6{display:inline-flex;}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".fdrzuqr{cursor:not-allowed;}",".f1l02sjl{height:100%;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fqerorx{flex-grow:1;}",".f1neuvcm{flex-shrink:1;}",".flqd7gy{flex-basis:0%;}",".f9c4gz4{justify-content:flex-end;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],m:[["@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),eR=e=>{"use no memo";const o=Jj();return e.root.className=de(Iu.root,o.root,e.inline&&o.rootInline,e.disabled&&o.rootDisabled,e.root.className),e.button.className=de(Iu.button,o.resetButton,o.button,o.focusIndicator,e.expandIconPosition==="end"&&!e.icon&&o.buttonExpandIconEndNoIcon,e.expandIconPosition==="end"&&o.buttonExpandIconEnd,e.inline&&o.buttonInline,e.size==="small"&&o.buttonSmall,e.size==="large"&&o.buttonLarge,e.size==="extra-large"&&o.buttonExtraLarge,e.disabled&&o.buttonDisabled,e.button.className),e.expandIcon&&(e.expandIcon.className=de(Iu.expandIcon,o.expandIcon,e.expandIconPosition==="start"&&o.expandIconStart,e.expandIconPosition==="end"&&o.expandIconEnd,e.expandIcon.className)),e.icon&&(e.icon.className=de(Iu.icon,o.icon,e.icon.className)),e};function tR(e){const{disabled:o,expandIconPosition:n,open:a,size:l}=e;return{accordionHeader:b.useMemo(()=>({disabled:o,expandIconPosition:n,open:a,size:l}),[o,n,a,l])}}const MS=b.forwardRef((e,o)=>{const n=$j(e,o),a=tR(n);return eR(n),Xe("useAccordionHeaderStyles_unstable")(n),Yj(n,a)});MS.displayName="AccordionHeader";const OS=(e,o)=>{const n=e==="horizontal"?"maxWidth":"maxHeight",a=e==="horizontal"?"overflowX":"overflowY",c=`${e==="horizontal"?o.scrollWidth:o.scrollHeight}px`;return{sizeName:n,overflowName:a,toSize:c}},oR=({orientation:e,duration:o,easing:n,element:a,outSize:l="0",delay:c=0})=>{const{sizeName:u,overflowName:d,toSize:h}=OS(e,a);return{keyframes:[{[u]:l,[d]:"hidden"},{[u]:h,offset:.9999,[d]:"hidden"},{[u]:"unset",[d]:"unset"}],duration:o,easing:n,delay:c,fill:"both"}},rR=({orientation:e,duration:o,easing:n,element:a,delay:l=0,outSize:c="0"})=>{const{sizeName:u,overflowName:d,toSize:h}=OS(e,a);return{keyframes:[{[u]:h,[d]:"hidden"},{[u]:c,[d]:"hidden"}],duration:o,easing:n,delay:l,fill:"both"}},nR=e=>e==="horizontal"?{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"}:{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"},Zy=({direction:e,orientation:o,duration:n,easing:a,delay:l=0})=>{const{paddingStart:c,paddingEnd:u,marginStart:d,marginEnd:h}=nR(o),p=e==="enter"?0:1;return{keyframes:[{[c]:"0",[u]:"0",[d]:"0",[h]:"0",offset:p}],duration:n,easing:a,delay:l,fill:"both"}},ua=({direction:e,duration:o,easing:n=Ie.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"}},aR=({element:e,duration:o=Ie.durationNormal,exitDuration:n=o,sizeDuration:a=o,opacityDuration:l=a,exitSizeDuration:c=n,exitOpacityDuration:u=c,easing:d=Ie.curveEasyEaseMax,delay:h=0,exitEasing:p=d,exitDelay:v=h,staggerDelay:m=0,exitStaggerDelay:w=m,animateOpacity:B=!0,orientation:k="vertical",outSize:x="0px"})=>{const C=[oR({orientation:k,duration:a,easing:d,element:e,outSize:x,delay:h}),Zy({direction:"enter",orientation:k,duration:a,easing:d,delay:h})];B&&C.push(ua({direction:"enter",duration:l,easing:d,delay:h+m}));const _=[];return B&&_.push(ua({direction:"exit",duration:u,easing:p,delay:v})),_.push(rR({orientation:k,duration:c,easing:p,element:e,delay:v+w,outSize:x}),Zy({direction:"exit",orientation:k,duration:c,easing:p,delay:v+w})),{enter:C,exit:_}},$s=jl(aR);ha($s,{duration:Ie.durationFast});ha($s,{duration:Ie.durationSlower});ha($s,{sizeDuration:Ie.durationNormal,opacityDuration:Ie.durationSlower,staggerDelay:Ie.durationNormal,exitSizeDuration:Ie.durationNormal,exitOpacityDuration:Ie.durationSlower,exitStaggerDelay:Ie.durationSlower,easing:Ie.curveEasyEase,exitEasing:Ie.curveEasyEase});const iR=({duration:e=Ie.durationNormal,easing:o=Ie.curveEasyEase,delay:n=0,exitDuration:a=e,exitEasing:l=o,exitDelay:c=n,outOpacity:u=0,inOpacity:d=1})=>({enter:ua({direction:"enter",duration:e,easing:o,delay:n,outOpacity:u,inOpacity:d}),exit:ua({direction:"exit",duration:a,easing:l,delay:c,outOpacity:u,inOpacity:d})}),FS=jl(iR);ha(FS,{duration:Ie.durationFast});const lR=ha(FS,{duration:Ie.durationGentle}),Yy=({direction:e,duration:o,easing:n=Ie.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}},sR=({duration:e=Ie.durationGentle,easing:o=Ie.curveDecelerateMax,delay:n=0,exitDuration:a=Ie.durationNormal,exitEasing:l=Ie.curveAccelerateMax,exitDelay:c=n,outScale:u=.9,inScale:d=1,animateOpacity:h=!0})=>{const p=[Yy({direction:"enter",duration:e,easing:o,delay:n,outScale:u,inScale:d})],v=[Yy({direction:"exit",duration:a,easing:l,delay:c,outScale:u,inScale:d})];return h&&(p.push(ua({direction:"enter",duration:e,easing:o,delay:n})),v.push(ua({direction:"exit",duration:a,easing:l,delay:c}))),{enter:p,exit:v}},dm=jl(sR);ha(dm,{duration:Ie.durationNormal,exitDuration:Ie.durationFast});ha(dm,{duration:Ie.durationSlow,exitDuration:Ie.durationGentle});const qS=({direction:e,duration:o,easing:n=Ie.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}),cR=(e,o)=>{const{collapseMotion:n,...a}=e,l=uR(a,o),c=fd({focusable:{excludeFromMover:!0}}),u=Xs(d=>d.navigation);return{...l,components:{...l.components,collapseMotion:$s},root:{...l.root,...u&&c},collapseMotion:hc(e.collapseMotion,{elementType:$s,defaultProps:{visible:l.open,unmountOnExit:!0}})}},uR=(e,o)=>{const{open:n}=uS();return{open:n,components:{root:"div"},root:Ne({ref:o,...e,...n?{}:{tabIndex:-1,inert:!0}},{elementType:"div"})}},dR=e=>e.collapseMotion?ne(e.collapseMotion,{children:ne(e.root,{})}):ne(e.root,{}),fR={root:"fui-AccordionPanel"},hR=ve({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1axvtxu"}},{d:[[".f1axvtxu{margin:0 var(--spacingHorizontalM);}",{p:-1}]]}),pR=e=>{"use no memo";const o=hR();return e.root.className=de(fR.root,o.root,e.root.className),e},HS=b.forwardRef((e,o)=>{const n=cR(e,o);return pR(n),Xe("useAccordionPanelStyles_unstable")(n),dR(n)});HS.displayName="AccordionPanel";const gR=(e,o)=>{const{shape:n="circular",size:a="medium",appearance:l="filled",color:c="brand",...u}=e;return{...mR(u,o),shape:n,size:a,appearance:l,color:c}},mR=(e,o)=>{const{iconPosition:n="before"}=e;return{iconPosition:n,components:{root:"div",icon:"span"},root:Ne(Et("div",{ref:o,...e}),{elementType:"div"}),icon:De(e.icon,{elementType:"span"})}},Jy={root:"fui-Badge",icon:"fui-Badge__icon"},vR=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;}']),bR=ve({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),yR=Ee("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),xR=ve({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),wR=e=>{"use no memo";const o=vR(),n=bR(),a=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=de(Jy.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=yR(),c=xR();if(e.icon){let u;b.Children.toArray(e.root.children).length>0&&(e.size==="extra-large"?u=e.iconPosition==="after"?c.afterTextXL:c.beforeTextXL:u=e.iconPosition==="after"?c.afterText:c.beforeText),e.icon.className=de(Jy.icon,l,u,c[e.size],e.icon.className)}return e},SR=e=>lt(e.root,{children:[e.iconPosition==="before"&&e.icon&&ne(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&ne(e.icon,{})]}),Yo=b.forwardRef((e,o)=>{const n=gR(e,o);return wR(n),Xe("useBadgeStyles_unstable")(n),SR(n)});Yo.displayName="Badge";function kR(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 ex="data-popper-is-intersecting",tx="data-popper-escaped",ox="data-popper-reference-hidden",BR="data-popper-placement",xg="fui-positioningend",md="--fui-positioning-slide-direction-x",vd="--fui-positioning-slide-direction-y";function _R(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 PS(e){const{targetDocument:o,onPositioningEnd:n}=e,a=ge(l=>{n==null||n(l);const c=l.target,u=l.detail.placement;if(!vr(c))return;const{x:d,y:h}=_R(u);c.style.setProperty(md,`${d}px`),c.style.setProperty(vd,`${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:md,syntax:"<length>",inherits:!1,initialValue:"0px"}),d({name:vd,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[o]),a}const zR=({options:e})=>e,IS=b.createContext(void 0);IS.Provider;const CR=()=>{var e;return(e=b.useContext(IS))!==null&&e!==void 0?e:zR},NR=["top","right","bottom","left"],Ya=Math.min,Jo=Math.max,bd=Math.round,Or=e=>({x:e,y:e}),TR={left:"right",right:"left",bottom:"top",top:"bottom"};function wg(e,o,n){return Jo(e,Ya(o,n))}function bn(e,o){return typeof e=="function"?e(o):e}function yn(e){return e.split("-")[0]}function Rl(e){return e.split("-")[1]}function fm(e){return e==="x"?"y":"x"}function hm(e){return e==="y"?"height":"width"}function Mr(e){const o=e[0];return o==="t"||o==="b"?"y":"x"}function pm(e){return fm(Mr(e))}function ER(e,o,n){n===void 0&&(n=!1);const a=Rl(e),l=pm(e),c=hm(l);let u=l==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(u=yd(u)),[u,yd(u)]}function jR(e){const o=yd(e);return[Sg(e),o,Sg(o)]}function Sg(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const rx=["left","right"],nx=["right","left"],RR=["top","bottom"],AR=["bottom","top"];function DR(e,o,n){switch(e){case"top":case"bottom":return n?o?nx:rx:o?rx:nx;case"left":case"right":return o?RR:AR;default:return[]}}function MR(e,o,n,a){const l=Rl(e);let c=DR(yn(e),n==="start",a);return l&&(c=c.map(u=>u+"-"+l),o&&(c=c.concat(c.map(Sg)))),c}function yd(e){const o=yn(e);return TR[o]+e.slice(o.length)}function OR(e){return{top:0,right:0,bottom:0,left:0,...e}}function LS(e){return typeof e!="number"?OR(e):{top:e,right:e,bottom:e,left:e}}function xd(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 ax(e,o,n){let{reference:a,floating:l}=e;const c=Mr(o),u=pm(o),d=hm(u),h=yn(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 B;switch(h){case"top":B={x:v,y:a.y-l.height};break;case"bottom":B={x:v,y:a.y+a.height};break;case"right":B={x:a.x+a.width,y:m};break;case"left":B={x:a.x-l.width,y:m};break;default:B={x:a.x,y:a.y}}switch(Rl(o)){case"start":B[u]-=w*(n&&p?-1:1);break;case"end":B[u]+=w*(n&&p?-1:1);break}return B}async function US(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:B=0}=bn(o,e),k=LS(B),C=d[w?m==="floating"?"reference":"floating":m],_=xd(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})),j=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=xd(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:j,offsetParent:z,strategy:h}):j);return{top:(_.top-E.top+k.top)/T.y,bottom:(E.bottom-_.bottom+k.bottom)/T.y,left:(_.left-E.left+k.left)/T.x,right:(E.right-_.right+k.right)/T.x}}const FR=50,qR=async(e,o,n)=>{const{placement:a="bottom",strategy:l="absolute",middleware:c=[],platform:u}=n,d=u.detectOverflow?u:{...u,detectOverflow:US},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}=ax(p,a,h),w=a,B=0;const k={};for(let x=0;x<c.length;x++){const C=c[x];if(!C)continue;const{name:_,fn:j}=C,{x:z,y:T,data:E,reset:R}=await j({x:v,y:m,initialPlacement:a,placement:w,strategy:l,middlewareData:k,rects:p,platform:d,elements:{reference:e,floating:o}});v=z??v,m=T??m,k[_]={...k[_],...E},R&&B<FR&&(B++,typeof R=="object"&&(R.placement&&(w=R.placement),R.rects&&(p=R.rects===!0?await u.getElementRects({reference:e,floating:o,strategy:l}):R.rects),{x:v,y:m}=ax(p,w,h)),x=-1)}return{x:v,y:m,placement:w,strategy:l,middlewareData:k}},HR=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}=bn(e,o)||{};if(p==null)return{};const m=LS(v),w={x:n,y:a},B=pm(l),k=hm(B),x=await u.getDimensions(p),C=B==="y",_=C?"top":"left",j=C?"bottom":"right",z=C?"clientHeight":"clientWidth",T=c.reference[k]+c.reference[B]-w[B]-c.floating[k],E=w[B]-c.reference[B],R=await(u.getOffsetParent==null?void 0:u.getOffsetParent(p));let F=R?R[z]:0;(!F||!await(u.isElement==null?void 0:u.isElement(R)))&&(F=d.floating[z]||c.floating[k]);const O=T/2-E/2,X=F/2-x[k]/2-1,ee=Ya(m[_],X),he=Ya(m[j],X),ie=ee,ue=F-x[k]-he,le=F/2-x[k]/2+O,Q=wg(ie,le,ue),L=!h.arrow&&Rl(l)!=null&&le!==Q&&c.reference[k]/2-(le<ie?ee:he)-x[k]/2<0,te=L?le<ie?le-ie:le-ue:0;return{[B]:w[B]+te,data:{[B]:Q,centerOffset:le-Q-te,...L&&{alignmentOffset:te}},reset:L}}}),PR=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:B="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:x=!0,...C}=bn(e,o);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const _=yn(l),j=Mr(d),z=yn(d)===d,T=await(h.isRTL==null?void 0:h.isRTL(p.floating)),E=w||(z||!x?[yd(d)]:jR(d)),R=k!=="none";!w&&R&&E.push(...MR(d,x,k,T));const F=[d,...E],O=await h.detectOverflow(o,C),X=[];let ee=((a=c.flip)==null?void 0:a.overflows)||[];if(v&&X.push(O[_]),m){const le=ER(l,u,T);X.push(O[le[0]],O[le[1]])}if(ee=[...ee,{placement:l,overflows:X}],!X.every(le=>le<=0)){var he,ie;const le=(((he=c.flip)==null?void 0:he.index)||0)+1,Q=F[le];if(Q&&(!(m==="alignment"?j!==Mr(Q):!1)||ee.every(oe=>Mr(oe.placement)===j?oe.overflows[0]>0:!0)))return{data:{index:le,overflows:ee},reset:{placement:Q}};let L=(ie=ee.filter(te=>te.overflows[0]<=0).sort((te,oe)=>te.overflows[1]-oe.overflows[1])[0])==null?void 0:ie.placement;if(!L)switch(B){case"bestFit":{var ue;const te=(ue=ee.filter(oe=>{if(R){const fe=Mr(oe.placement);return fe===j||fe==="y"}return!0}).map(oe=>[oe.placement,oe.overflows.filter(fe=>fe>0).reduce((fe,Se)=>fe+Se,0)]).sort((oe,fe)=>oe[1]-fe[1])[0])==null?void 0:ue[0];te&&(L=te);break}case"initialPlacement":L=d;break}if(l!==L)return{reset:{placement:L}}}return{}}}};function ix(e,o){return{top:e.top-o.height,right:e.right-o.width,bottom:e.bottom-o.height,left:e.left-o.width}}function lx(e){return NR.some(o=>e[o]>=0)}const IR=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(o){const{rects:n,platform:a}=o,{strategy:l="referenceHidden",...c}=bn(e,o);switch(l){case"referenceHidden":{const u=await a.detectOverflow(o,{...c,elementContext:"reference"}),d=ix(u,n.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:lx(d)}}}case"escaped":{const u=await a.detectOverflow(o,{...c,altBoundary:!0}),d=ix(u,n.floating);return{data:{escapedOffsets:d,escaped:lx(d)}}}default:return{}}}}},VS=new Set(["left","top"]);async function LR(e,o){const{placement:n,platform:a,elements:l}=e,c=await(a.isRTL==null?void 0:a.isRTL(l.floating)),u=yn(n),d=Rl(n),h=Mr(n)==="y",p=VS.has(u)?-1:1,v=c&&h?-1:1,m=bn(o,e);let{mainAxis:w,crossAxis:B,alignmentAxis:k}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return d&&typeof k=="number"&&(B=d==="end"?k*-1:k),h?{x:B*v,y:w*p}:{x:w*p,y:B*v}}const UR=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 LR(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}}}}},VR=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:j,y:z}=_;return{x:j,y:z}}},...p}=bn(e,o),v={x:n,y:a},m=await c.detectOverflow(o,p),w=Mr(yn(l)),B=fm(w);let k=v[B],x=v[w];if(u){const _=B==="y"?"top":"left",j=B==="y"?"bottom":"right",z=k+m[_],T=k-m[j];k=wg(z,k,T)}if(d){const _=w==="y"?"top":"left",j=w==="y"?"bottom":"right",z=x+m[_],T=x-m[j];x=wg(z,x,T)}const C=h.fn({...o,[B]:k,[w]:x});return{...C,data:{x:C.x-n,y:C.y-a,enabled:{[B]:u,[w]:d}}}}}},GR=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}=bn(e,o),v={x:n,y:a},m=Mr(l),w=fm(m);let B=v[w],k=v[m];const x=bn(d,o),C=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};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;B<T?B=T:B>E&&(B=E)}if(p){var _,j;const z=w==="y"?"width":"height",T=VS.has(yn(l)),E=c.reference[m]-c.floating[z]+(T&&((_=u.offset)==null?void 0:_[m])||0)+(T?0:C.crossAxis),R=c.reference[m]+c.reference[z]+(T?0:((j=u.offset)==null?void 0:j[m])||0)-(T?C.crossAxis:0);k<E?k=E:k>R&&(k=R)}return{[w]:B,[m]:k}}}},WR=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}=bn(e,o),v=await u.detectOverflow(o,p),m=yn(l),w=Rl(l),B=Mr(l)==="y",{width:k,height:x}=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 j=x-v.top-v.bottom,z=k-v.left-v.right,T=Ya(x-v[C],j),E=Ya(k-v[_],z),R=!o.middlewareData.shift;let F=T,O=E;if((n=o.middlewareData.shift)!=null&&n.enabled.x&&(O=z),(a=o.middlewareData.shift)!=null&&a.enabled.y&&(F=j),R&&!w){const ee=Jo(v.left,0),he=Jo(v.right,0),ie=Jo(v.top,0),ue=Jo(v.bottom,0);B?O=k-2*(ee!==0||he!==0?ee+he:Jo(v.left,v.right)):F=x-2*(ie!==0||ue!==0?ie+ue:Jo(v.top,v.bottom))}await h({...o,availableWidth:O,availableHeight:F});const X=await u.getDimensions(d.floating);return k!==X.width||x!==X.height?{reset:{rects:!0}}:{}}}};function Vd(){return typeof window<"u"}function Al(e){return GS(e)?(e.nodeName||"").toLowerCase():"#document"}function jo(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function wn(e){var o;return(o=(GS(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function GS(e){return Vd()?e instanceof Node||e instanceof jo(e).Node:!1}function br(e){return Vd()?e instanceof Element||e instanceof jo(e).Element:!1}function Sn(e){return Vd()?e instanceof HTMLElement||e instanceof jo(e).HTMLElement:!1}function sx(e){return!Vd()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof jo(e).ShadowRoot}function pc(e){const{overflow:o,overflowX:n,overflowY:a,display:l}=yr(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+n)&&l!=="inline"&&l!=="contents"}function XR(e){return/^(table|td|th)$/.test(Al(e))}function Gd(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const $R=/transform|translate|scale|rotate|perspective|filter/,KR=/paint|layout|strict|content/,Aa=e=>!!e&&e!=="none";let Fp;function gm(e){const o=br(e)?yr(e):e;return Aa(o.transform)||Aa(o.translate)||Aa(o.scale)||Aa(o.rotate)||Aa(o.perspective)||!mm()&&(Aa(o.backdropFilter)||Aa(o.filter))||$R.test(o.willChange||"")||KR.test(o.contain||"")}function QR(e){let o=da(e);for(;Sn(o)&&!yl(o);){if(gm(o))return o;if(Gd(o))return null;o=da(o)}return null}function mm(){return Fp==null&&(Fp=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fp}function yl(e){return/^(html|body|#document)$/.test(Al(e))}function yr(e){return jo(e).getComputedStyle(e)}function Wd(e){return br(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function da(e){if(Al(e)==="html")return e;const o=e.assignedSlot||e.parentNode||sx(e)&&e.host||wn(e);return sx(o)?o.host:o}function WS(e){const o=da(e);return yl(o)?e.ownerDocument?e.ownerDocument.body:e.body:Sn(o)&&pc(o)?o:WS(o)}function XS(e,o,n){var a;o===void 0&&(o=[]);const l=WS(e),c=l===((a=e.ownerDocument)==null?void 0:a.body),u=jo(l);return c?(kg(u),o.concat(u,u.visualViewport||[],pc(l)?l:[],[])):o.concat(l,XS(l,[]))}function kg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $S(e){const o=yr(e);let n=parseFloat(o.width)||0,a=parseFloat(o.height)||0;const l=Sn(e),c=l?e.offsetWidth:n,u=l?e.offsetHeight:a,d=bd(n)!==c||bd(a)!==u;return d&&(n=c,a=u),{width:n,height:a,$:d}}function KS(e){return br(e)?e:e.contextElement}function Yi(e){const o=KS(e);if(!Sn(o))return Or(1);const n=o.getBoundingClientRect(),{width:a,height:l,$:c}=$S(o);let u=(c?bd(n.width):n.width)/a,d=(c?bd(n.height):n.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const ZR=Or(0);function QS(e){const o=jo(e);return!mm()||!o.visualViewport?ZR:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function YR(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==jo(e)?!1:o}function Ks(e,o,n,a){o===void 0&&(o=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),c=KS(e);let u=Or(1);o&&(a?br(a)&&(u=Yi(a)):u=Yi(e));const d=YR(c,n,a)?QS(c):Or(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=jo(c),B=a&&br(a)?jo(a):a;let k=w,x=kg(k);for(;x&&a&&B!==k;){const C=Yi(x),_=x.getBoundingClientRect(),j=yr(x),z=_.left+(x.clientLeft+parseFloat(j.paddingLeft))*C.x,T=_.top+(x.clientTop+parseFloat(j.paddingTop))*C.y;h*=C.x,p*=C.y,v*=C.x,m*=C.y,h+=z,p+=T,k=jo(x),x=kg(k)}}return xd({width:v,height:m,x:h,y:p})}function Xd(e,o){const n=Wd(e).scrollLeft;return o?o.left+n:Ks(wn(e)).left+n}function ZS(e,o){const n=e.getBoundingClientRect(),a=n.left+o.scrollLeft-Xd(e,n),l=n.top+o.scrollTop;return{x:a,y:l}}function JR(e){let{elements:o,rect:n,offsetParent:a,strategy:l}=e;const c=l==="fixed",u=wn(a),d=o?Gd(o.floating):!1;if(a===u||d&&c)return n;let h={scrollLeft:0,scrollTop:0},p=Or(1);const v=Or(0),m=Sn(a);if((m||!m&&!c)&&((Al(a)!=="body"||pc(u))&&(h=Wd(a)),m)){const B=Ks(a);p=Yi(a),v.x=B.x+a.clientLeft,v.y=B.y+a.clientTop}const w=u&&!m&&!c?ZS(u,h):Or(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 e8(e){return Array.from(e.getClientRects())}function t8(e){const o=wn(e),n=Wd(e),a=e.ownerDocument.body,l=Jo(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),c=Jo(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight);let u=-n.scrollLeft+Xd(e);const d=-n.scrollTop;return yr(a).direction==="rtl"&&(u+=Jo(o.clientWidth,a.clientWidth)-l),{width:l,height:c,x:u,y:d}}const cx=25;function o8(e,o){const n=jo(e),a=wn(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=mm();(!v||v&&o==="fixed")&&(d=l.offsetLeft,h=l.offsetTop)}const p=Xd(a);if(p<=0){const v=a.ownerDocument,m=v.body,w=getComputedStyle(m),B=v.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,k=Math.abs(a.clientWidth-m.clientWidth-B);k<=cx&&(c-=k)}else p<=cx&&(c+=p);return{width:c,height:u,x:d,y:h}}function r8(e,o){const n=Ks(e,!0,o==="fixed"),a=n.top+e.clientTop,l=n.left+e.clientLeft,c=Sn(e)?Yi(e):Or(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 ux(e,o,n){let a;if(o==="viewport")a=o8(e,n);else if(o==="document")a=t8(wn(e));else if(br(o))a=r8(o,n);else{const l=QS(e);a={x:o.x-l.x,y:o.y-l.y,width:o.width,height:o.height}}return xd(a)}function YS(e,o){const n=da(e);return n===o||!br(n)||yl(n)?!1:yr(n).position==="fixed"||YS(n,o)}function n8(e,o){const n=o.get(e);if(n)return n;let a=XS(e,[]).filter(d=>br(d)&&Al(d)!=="body"),l=null;const c=yr(e).position==="fixed";let u=c?da(e):e;for(;br(u)&&!yl(u);){const d=yr(u),h=gm(u);!h&&d.position==="fixed"&&(l=null),(c?!h&&!l:!h&&d.position==="static"&&!!l&&(l.position==="absolute"||l.position==="fixed")||pc(u)&&!h&&YS(e,u))?a=a.filter(v=>v!==u):l=d,u=da(u)}return o.set(e,a),a}function a8(e){let{element:o,boundary:n,rootBoundary:a,strategy:l}=e;const u=[...n==="clippingAncestors"?Gd(o)?[]:n8(o,this._c):[].concat(n),a],d=ux(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 B=ux(o,u[w],l);h=Jo(B.top,h),p=Ya(B.right,p),v=Ya(B.bottom,v),m=Jo(B.left,m)}return{width:p-m,height:v-h,x:m,y:h}}function i8(e){const{width:o,height:n}=$S(e);return{width:o,height:n}}function l8(e,o,n){const a=Sn(o),l=wn(o),c=n==="fixed",u=Ks(e,!0,c,o);let d={scrollLeft:0,scrollTop:0};const h=Or(0);function p(){h.x=Xd(l)}if(a||!a&&!c)if((Al(o)!=="body"||pc(l))&&(d=Wd(o)),a){const B=Ks(o,!0,c,o);h.x=B.x+o.clientLeft,h.y=B.y+o.clientTop}else l&&p();c&&!a&&l&&p();const v=l&&!a&&!c?ZS(l,d):Or(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 qp(e){return yr(e).position==="static"}function dx(e,o){if(!Sn(e)||yr(e).position==="fixed")return null;if(o)return o(e);let n=e.offsetParent;return wn(e)===n&&(n=n.ownerDocument.body),n}function JS(e,o){const n=jo(e);if(Gd(e))return n;if(!Sn(e)){let l=da(e);for(;l&&!yl(l);){if(br(l)&&!qp(l))return l;l=da(l)}return n}let a=dx(e,o);for(;a&&XR(a)&&qp(a);)a=dx(a,o);return a&&yl(a)&&qp(a)&&!gm(a)?n:a||QR(e)||n}const s8=async function(e){const o=this.getOffsetParent||JS,n=this.getDimensions,a=await n(e.floating);return{reference:l8(e.reference,await o(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function c8(e){return yr(e).direction==="rtl"}const u8={convertOffsetParentRelativeRectToViewportRelativeRect:JR,getDocumentElement:wn,getClippingRect:a8,getOffsetParent:JS,getElementRects:s8,getClientRects:e8,getDimensions:i8,getScale:Yi,isElement:br,isRTL:c8},d8=US,f8=UR,h8=VR,p8=PR,g8=WR,fx=IR,m8=HR,hx=GR,v8=(e,o,n)=>{const a=new Map,l={platform:u8,...n},c={...l.platform,_c:a};return qR(e,o,{...l,platform:c})};function e5(e){const o=e.split("-");return{side:o[0],alignment:o[1]}}const b8=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,y8=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):{}},$d=e=>{const o=e&&b8(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}=y8(o);return/(auto|scroll|overlay)/.test(n+l+a)?o:$d(o)},x8=e=>{var o;const n=$d(e);return n?n!==((o=n.ownerDocument)===null||o===void 0?void 0:o.body):!1};function vm(e,o){if(o==="window")return e==null?void 0:e.ownerDocument.documentElement;if(o==="clippingParents")return"clippingAncestors";if(o==="scrollParent"){let n=$d(e);return n.nodeName==="BODY"&&(n=e==null?void 0:e.ownerDocument.documentElement),n}return o}function t5(e,o){return typeof e=="number"||typeof e=="object"&&e!==null?Hp(e,o):typeof e=="function"?n=>{const a=e(n);return Hp(a,o)}:{mainAxis:o}}const Hp=(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 o5(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 w8=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),S8=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),k8=(e,o)=>{const n=e==="above"||e==="below",a=o==="top"||o==="bottom";return n&&a||!n&&!a},r5=(e,o,n)=>{const a=k8(o,e)?"center":e,l=o&&w8(n)[o],c=a&&S8()[a];return l&&c?`${l}-${c}`:l},B8=()=>({top:"above",bottom:"below",right:"after",left:"before"}),_8=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},z8=e=>{const{side:o,alignment:n}=e5(e),a=B8()[o],l=n&&_8(a)[n];return{position:a,alignment:l}},C8={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 Dl(e){return e==null?{}:typeof e=="string"?C8[e]:e}function Pp(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 Mt(()=>{a.current=!1},[]),l.callback=o,l.facade}function N8(e){let o;return()=>(o||(o=new Promise(n=>{Promise.resolve().then(()=>{o=void 0,n(e())})})),o)}function T8(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 E8(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(BR,c),l.removeAttribute(ex),u.intersectionObserver.intersecting&&l.setAttribute(ex,""),l.removeAttribute(tx),!((o=u.hide)===null||o===void 0)&&o.escaped&&l.setAttribute(tx,""),l.removeAttribute(ox),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&l.setAttribute(ox,"");const m=((a=l.ownerDocument.defaultView)===null||a===void 0?void 0:a.devicePixelRatio)||1,w=Math.round(p.x*m)/m,B=Math.round(p.y*m)/m;if(Object.assign(l.style,{position:d}),v){Object.assign(l.style,{transform:h?`translate(${w}px, ${B}px)`:`translate3d(${w}px, ${B}px, 0)`});return}Object.assign(l.style,{left:`${w}px`,top:`${B}px`})}const j8=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 px(e){const o=[];let n=e;for(;n;){const a=$d(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 R8(e,o){return new e.ResizeObserver(o)}function A8(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:R8(v,_=>{_.every(z=>z.contentRect.width>0&&z.contentRect.height>0)&&x()});let w=!0;const B=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const k=()=>{o||(w&&(px(n).forEach(_=>B.add(_)),vr(a)&&px(a).forEach(_=>B.add(_)),B.forEach(_=>{_.addEventListener("scroll",x,{passive:!0})}),m==null||m.observe(n),vr(a)&&(m==null||m.observe(a)),w=!1),Object.assign(n.style,{position:c}),v8(a,n,{placement:d,middleware:u,strategy:c}).then(({x:_,y:j,middlewareData:z,placement:T})=>{o||(T8({arrow:l,middlewareData:z}),E8({container:n,middlewareData:z,placement:T,coordinates:{x:_,y:j},lowPPI:((v==null?void 0:v.devicePixelRatio)||1)<=1,strategy:c,useTransform:h}),n.dispatchEvent(new CustomEvent(xg,{detail:{placement:T}})))}).catch(_=>{}))},x=N8(()=>k()),C=()=>{o=!0,v&&(v.removeEventListener("scroll",x),v.removeEventListener("resize",x)),B.forEach(_=>{_.removeEventListener("scroll",x)}),B.clear(),m==null||m.disconnect()};return v&&(v.addEventListener("scroll",x,{passive:!0}),v.addEventListener("resize",x)),x(),{updatePosition:x,dispose:C}}function D8(){return{name:"coverTarget",fn:e=>{const{placement:o,rects:n,x:a,y:l}=e,c=e5(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 M8(e){const{hasScrollableElement:o,flipBoundary:n,container:a,fallbackPositions:l=[],isRtl:c}=e,u=l.reduce((d,h)=>{const{position:p,align:v}=Dl(h),m=r5(v,p,c);return m&&d.push(m),d},[]);return p8({...o&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:vm(a,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function O8(){return{name:"intersectionObserver",fn:async e=>{const o=e.rects.floating,n=await d8(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 F8=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 q8(e,o){const{container:n,overflowBoundary:a,overflowBoundaryPadding:l,isRtl:c}=o;return g8({...l&&{padding:o5(l,c)},...a&&{altBoundary:!0,boundary:vm(n,a)},apply({availableHeight:u,availableWidth:d,elements:h,rects:p}){const v=(B,k,x)=>{if(B&&(h.floating.style.setProperty("box-sizing","border-box"),h.floating.style.setProperty(`max-${k}`,`${x}px`),p.floating[k]>x)){h.floating.style.setProperty(k,`${x}px`);const C=k==="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 H8(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:o,reference:n},placement:a})=>{const{position:l,alignment:c}=z8(a);return e({positionedRect:o,targetRect:n,position:l,alignment:c})}}function P8(e){const o=H8(e);return f8(o)}function I8(e){const{hasScrollableElement:o,shiftToCoverTarget:n,disableTether:a,overflowBoundary:l,container:c,overflowBoundaryPadding:u,isRtl:d}=e;return h8({...o&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:hx({crossAxis:!0,mainAxis:!1})},...a&&{crossAxis:a==="all",limiter:hx({crossAxis:a!=="all",mainAxis:!1})},...u&&{padding:o5(u,d)},...l&&{altBoundary:!0,boundary:vm(c,l)}})}const gx="--fui-match-target-size";function L8(){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(gx,`${c}px`),a.style.width||(a.style.width=`var(${gx})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function U8(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:B,overflowBoundaryPadding:k,fallbackPositions:x,useTransform:C,matchTargetSize:_,shiftToCoverTarget:j}=o;return b.useCallback((z,T)=>e({container:z,arrow:T,options:{autoSize:l,disableUpdateOnResize:u,matchTargetSize:_,offset:h,strategy:B,coverTarget:c,flipBoundary:d,overflowBoundary:p,useTransform:C,overflowBoundaryPadding:k,pinned:v,arrowPadding:a,align:n,fallbackPositions:x,shiftToCoverTarget:j,position:m,unstable_disableTether:w}}),[l,u,_,h,B,c,d,p,C,k,v,a,n,x,j,m,w,e])}function V8(e){const{dir:o,targetDocument:n}=Qe(),a=o==="rtl",l=U8(CR(),e),{positionFixed:c}=e;return b.useCallback((u,d)=>{const h=x8(u),p=l(u,d),{autoSize:v,disableUpdateOnResize:m,matchTargetSize:w,offset:B,coverTarget:k,flipBoundary:x,overflowBoundary:C,useTransform:_,overflowBoundaryPadding:j,pinned:z,position:T,arrowPadding:E,strategy:R,align:F,fallbackPositions:O,shiftToCoverTarget:X,unstable_disableTether:ee}=p,he=j8(v),ie=[he&&F8(he),w&&L8(),B&&P8(B),k&&D8(),!z&&M8({container:u,flipBoundary:x,hasScrollableElement:h,isRtl:a,fallbackPositions:O}),I8({container:u,hasScrollableElement:h,overflowBoundary:C,disableTether:ee,overflowBoundaryPadding:j,isRtl:a,shiftToCoverTarget:X}),he&&q8(he,{container:u,overflowBoundary:C,overflowBoundaryPadding:j,isRtl:a}),O8(),d&&m8({element:d,padding:E}),fx({strategy:"referenceHidden"}),fx({strategy:"escaped"}),!1].filter(Boolean);return{placement:r5(F,T,a),middleware:ie,strategy:R??c?"fixed":"absolute",disableUpdateOnResize:m,useTransform:_}},[l,a,n,c])}function Kd(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=V8(e),h=b.useCallback(()=>{o.current&&o.current.dispose(),o.current=null;var k;const x=(k=a.current)!==null&&k!==void 0?k:n.current;u&&Md()&&x&&l.current&&(o.current=A8({container:l.current,target:x,arrow:c.current,...d(l.current,c.current)}))},[u,d]),p=ge(k=>{a.current=k,h()});b.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var k;return(k=o.current)===null||k===void 0?void 0:k.updatePosition()},setTarget:k=>{e.target,p(k)}}),[e.target,p]),Mt(()=>{var k;p((k=e.target)!==null&&k!==void 0?k:null)},[e.target,p]),Mt(()=>{h()},[h]);const v=Pp(null,k=>{n.current!==k&&(n.current=k,h())}),m=ge(k=>{var x;return(x=e.onPositioningEnd)===null||x===void 0?void 0:x.call(e,k)}),w=Pp(null,k=>{if(l.current!==k){var x;(x=l.current)===null||x===void 0||x.removeEventListener(xg,m),k==null||k.addEventListener(xg,m),l.current=k,h()}}),B=Pp(null,k=>{c.current!==k&&(c.current=k,h())});return{targetRef:v,containerRef:w,arrowRef:B}}const n5=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=kR(c);n(u)}]};function G8(){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 Ip={exports:{}},Lp={};/**
132
+ */class tT{constructor(o){P(this,"keyboardNavigation");P(this,"focusedElement");P(this,"focusable");P(this,"root");P(this,"uncontrolled");P(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 oT{constructor(o,n){P(this,"_storage");P(this,"_unobserve");P(this,"_win");P(this,"_forgetMemorizedTimer");P(this,"_forgetMemorizedElements",[]);P(this,"_wrappers",new Set);P(this,"_initTimer");P(this,"_initQueue",[]);P(this,"_version","8.8.0");P(this,"_noop",!1);P(this,"controlTab");P(this,"rootDummyInputs");P(this,"attrHandlers",new Map);P(this,"keyboardNavigation");P(this,"focusedElement");P(this,"focusable");P(this,"root");P(this,"uncontrolled");P(this,"internal");P(this,"_dummyObserver");P(this,"groupper");P(this,"mover");P(this,"outline");P(this,"deloser");P(this,"modalizer");P(this,"observedElement");P(this,"crossOrigin");P(this,"restorer");P(this,"getParent");P(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&&kN({...n.DOMAPI}),this.keyboardNavigation=new PN(a),this.focusedElement=new Za(this,a),this.focusable=new qN(this),this.root=new gt(this,n==null?void 0:n.autoRoot),this.uncontrolled=new LN((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 AN(a),this.getParent=(n==null?void 0:n.getParent)??ce.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:l=>{if(!this._unobserve){const c=a().document;this._unobserve=IN(c,this,Ew,l)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(o){o&&(this.getParent=o.getParent??this.getParent)}createTabster(o,n){const a=new tT(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(),Hy(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),o&&(_N(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())Hy(this.getWindow,o),Za.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 rT(e,o){let n=aT(e);return n?n.createTabster(!1,o):(n=new oT(e,o),e.__tabsterInstance=n,n.createTabster())}function nT(e,o){e.core.disposeTabster(e,o)}function aT(e){return e.__tabsterInstance}const iT=e=>e;function lT(e){const o=(e==null?void 0:e.defaultView)||void 0,n=o==null?void 0:o.__tabsterShadowDOMAPI;if(o)return rT(o,{autoRoot:{},controlTab:!1,getParent:Cw,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 zl(e=iT){const{targetDocument:o}=Ze(),n=b.useRef(null);return Dt(()=>{const a=lT(o);if(a)return n.current=e(a),()=>{nT(a),n.current=null}},[o,e]),n}const fd=e=>{zl();const o=om(e,!0);return b.useMemo(()=>({[hn]:o}),[o])},Iw=(e={})=>{const{circular:o,axis:n,memorizeCurrent:a=!0,tabbable:l,ignoreDefaultKeydown:c,unstable_hasDefault:u}=e;return zl(YN),fd({mover:{cyclic:!!o,direction:sT(n??"vertical"),memorizeCurrent:a,tabbable:l,hasDefault:u},...c&&{focusable:{ignoreKeydown:c}}})};function sT(e){switch(e){case"horizontal":return hr.Horizontal;case"grid":return hr.Grid;case"grid-linear":return hr.GridLinear;case"both":return hr.Both;case"vertical":default:return hr.Vertical}}const uc=()=>{const e=zl(),{targetDocument:o}=Ze(),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}},Vy="data-fui-focus-visible",Lw="data-fui-focus-within";function cT(e,o){if(Uw(e))return()=>{};const n={current:void 0},a=Fd(o);function l(h){a.isNavigatingWithKeyboard()&&vr(h)&&(n.current=h,h.setAttribute(Vy,""))}function c(){n.current&&(n.current.removeAttribute(Vy),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||vr(h.relatedTarget)&&!e.contains(h.relatedTarget))&&c()};return e.addEventListener(Fo,u),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(o.document.activeElement)&&l(o.document.activeElement),()=>{c(),e.removeEventListener(Fo,u),e.removeEventListener("focusout",d),e.focusVisible=void 0,qd(a)}}function Uw(e){return e?e.focusVisible?!0:Uw(e==null?void 0:e.parentElement):!1}function Vw(e={}){const o=Ze(),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 cT(n.current,l.defaultView)},[n,l]),n}function uT(e,o){const n=Fd(o);n.subscribe(c=>{c||Gy(e)});const a=c=>{n.isNavigatingWithKeyboard()&&Wy(c.target)&&dT(e)},l=c=>{(!c.relatedTarget||Wy(c.relatedTarget)&&!e.contains(c.relatedTarget))&&Gy(e)};return e.addEventListener(Fo,a),e.addEventListener("focusout",l),()=>{e.removeEventListener(Fo,a),e.removeEventListener("focusout",l),qd(n)}}function dT(e){e.setAttribute(Lw,"")}function Gy(e){e.removeAttribute(Lw)}function Wy(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function rm(){const{targetDocument:e}=Ze(),o=b.useRef(null);return b.useEffect(()=>{if(e!=null&&e.defaultView&&o.current)return uT(o.current,e.defaultView)},[o,e]),o}function nm(){const{targetDocument:e}=Ze(),o=b.useRef(null);return b.useEffect(()=>{const n=e==null?void 0:e.defaultView;if(n){const a=Fd(n);return o.current=a,()=>{qd(a),o.current=null}}},[e]),o}function Gw(e){const o=nm(),n=ge(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 fT="data-tabster-never-hide",hT=e=>e.hasAttribute(fT);function pT(e){Hw(e,void 0,hT),Pw(e)}const Id=(e={})=>{const{trapFocus:o,alwaysFocusable:n,legacyTrapFocus:a}=e;zl(pT);const l=Yt("modal-",e.id),c=fd({restorer:{type:Ka.Source},...o&&{modalizer:{id:l,isOthersAccessible:!o,isAlwaysAccessible:n,isTrapped:a&&o}}}),u=fd({restorer:{type:Ka.Target}});return{modalAttributes:c,triggerAttributes:u}};function gT(){return zl(Pw),om({restorer:{type:Ka.Source}})}function mT(){const e=nm();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 vT(){const e=nm();return b.useCallback(o=>{var n;(n=e.current)===null||n===void 0||n.setVal(o)},[e])}function bT(){const e=zl(Hw),[o]=Cl();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"},Kt={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)"},Qo={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)"},yT={50:"rgba(26, 26, 26, 0.5)"},xT={70:"rgba(31, 31, 31, 0.7)"},Xy={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},Ce="#ffffff",rd="#000000",wT={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},Ww={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},ST={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},kT={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},BT={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},_T={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},CT={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},zT={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},NT={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},TT={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},jT={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},ET={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},RT={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},AT={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},MT={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Xw={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},DT={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},OT={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},FT={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},qT={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},HT={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},PT={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},IT={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},LT={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},UT={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},VT={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},GT={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},WT={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},XT={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},$T={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},KT={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},ZT={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},QT={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},YT={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},JT={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},ej={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Ke={red:ST,green:Xw,darkOrange:kT,yellow:NT,berry:WT,lightGreen:MT,marigold:zT},ca={darkRed:wT,cranberry:Ww,pumpkin:BT,peach:CT,gold:TT,brass:jT,brown:ET,forest:RT,seafoam:AT,darkGreen:DT,lightTeal:OT,teal:FT,steel:qT,blue:HT,royalBlue:PT,cornflower:IT,navy:LT,lavender:UT,purple:VT,grape:GT,lilac:XT,pink:$T,magenta:KT,plum:ZT,beige:QT,mink:YT,platinum:JT,anchor:ej},We={cranberry:Ww,green:Xw,orange:_T},$w=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Kw=["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"],vo={success:"green",warning:"orange",danger:"cranberry"},dc=$w.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background1`]:Ke[o].tint60,[`colorPalette${n}Background2`]:Ke[o].tint40,[`colorPalette${n}Background3`]:Ke[o].primary,[`colorPalette${n}Foreground1`]:Ke[o].shade10,[`colorPalette${n}Foreground2`]:Ke[o].shade30,[`colorPalette${n}Foreground3`]:Ke[o].primary,[`colorPalette${n}BorderActive`]:Ke[o].primary,[`colorPalette${n}Border1`]:Ke[o].tint40,[`colorPalette${n}Border2`]:Ke[o].primary};return Object.assign(e,a)},{});dc.colorPaletteYellowForeground1=Ke.yellow.shade30;dc.colorPaletteRedForegroundInverted=Ke.red.tint20;dc.colorPaletteGreenForegroundInverted=Ke.green.tint20;dc.colorPaletteYellowForegroundInverted=Ke.yellow.tint40;const tj=Kw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background2`]:ca[o].tint40,[`colorPalette${n}Foreground2`]:ca[o].shade30,[`colorPalette${n}BorderActive`]:ca[o].primary};return Object.assign(e,a)},{}),oj={...dc,...tj},Nl=Object.entries(vo).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)},{});Nl.colorStatusDangerBackground3Hover=We[vo.danger].shade10;Nl.colorStatusDangerBackground3Pressed=We[vo.danger].shade20;Nl.colorStatusWarningForeground1=We[vo.warning].shade20;Nl.colorStatusWarningForeground3=We[vo.warning].shade20;Nl.colorStatusWarningBorder2=We[vo.warning].shade20;const rj=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:Kt[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:Ce,colorNeutralForegroundInverted:Ce,colorNeutralForegroundInvertedHover:Ce,colorNeutralForegroundInvertedPressed:Ce,colorNeutralForegroundInvertedSelected:Ce,colorNeutralForegroundInverted2:Ce,colorNeutralForegroundOnBrand:Ce,colorNeutralForegroundInvertedLink:Ce,colorNeutralForegroundInvertedLinkHover:Ce,colorNeutralForegroundInvertedLinkPressed:Ce,colorNeutralForegroundInvertedLinkSelected:Ce,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Ce,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:Ce,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:Kt[50],colorNeutralBackgroundAlpha2:Kt[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:$[96],colorSubtleBackgroundPressed:$[88],colorSubtleBackgroundSelected:$[92],colorSubtleBackgroundLightAlphaHover:Kt[70],colorSubtleBackgroundLightAlphaPressed:Kt[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Qo[10],colorSubtleBackgroundInvertedPressed:Qo[30],colorSubtleBackgroundInvertedSelected:Qo[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:$[94],colorNeutralBackgroundDisabled2:Ce,colorNeutralBackgroundInvertedDisabled:Kt[10],colorNeutralStencil1:$[90],colorNeutralStencil2:$[98],colorNeutralStencil1Alpha:Qo[10],colorNeutralStencil2Alpha:Qo[5],colorBackgroundOverlay:Qo[40],colorScrollbarOverlay:Qo[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:Ce,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:$[98],colorNeutralCardBackgroundHover:Ce,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:Ce,colorNeutralStrokeOnBrand2:Ce,colorNeutralStrokeOnBrand2Hover:Ce,colorNeutralStrokeOnBrand2Pressed:Ce,colorNeutralStrokeOnBrand2Selected:Ce,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:Kt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Qo[5],colorNeutralStrokeAlpha2:Kt[20],colorStrokeFocus1:Ce,colorStrokeFocus2:rd,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)"}),Zw={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Qw={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)"},Yw={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Jw={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},e5={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},t5={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},o5={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},xt={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},r5={spacingHorizontalNone:xt.none,spacingHorizontalXXS:xt.xxs,spacingHorizontalXS:xt.xs,spacingHorizontalSNudge:xt.sNudge,spacingHorizontalS:xt.s,spacingHorizontalMNudge:xt.mNudge,spacingHorizontalM:xt.m,spacingHorizontalL:xt.l,spacingHorizontalXL:xt.xl,spacingHorizontalXXL:xt.xxl,spacingHorizontalXXXL:xt.xxxl},n5={spacingVerticalNone:xt.none,spacingVerticalXXS:xt.xxs,spacingVerticalXS:xt.xs,spacingVerticalSNudge:xt.sNudge,spacingVerticalS:xt.s,spacingVerticalMNudge:xt.mNudge,spacingVerticalM:xt.m,spacingVerticalL:xt.l,spacingVerticalXL:xt.xl,spacingVerticalXXL:xt.xxl,spacingVerticalXXXL:xt.xxxl},a5={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},A={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)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",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 hd(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 nj=e=>{const o=rj(e);return{...Zw,...Jw,...e5,...o5,...t5,...a5,...r5,...n5,...Yw,...Qw,...o,...oj,...Nl,...hd(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...hd(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},qr=$w.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background1`]:Ke[o].shade40,[`colorPalette${n}Background2`]:Ke[o].shade30,[`colorPalette${n}Background3`]:Ke[o].primary,[`colorPalette${n}Foreground1`]:Ke[o].tint30,[`colorPalette${n}Foreground2`]:Ke[o].tint40,[`colorPalette${n}Foreground3`]:Ke[o].tint20,[`colorPalette${n}BorderActive`]:Ke[o].tint30,[`colorPalette${n}Border1`]:Ke[o].primary,[`colorPalette${n}Border2`]:Ke[o].tint20};return Object.assign(e,a)},{});qr.colorPaletteRedForeground3=Ke.red.tint30;qr.colorPaletteRedBorder2=Ke.red.tint30;qr.colorPaletteGreenForeground3=Ke.green.tint40;qr.colorPaletteGreenBorder2=Ke.green.tint40;qr.colorPaletteDarkOrangeForeground3=Ke.darkOrange.tint30;qr.colorPaletteDarkOrangeBorder2=Ke.darkOrange.tint30;qr.colorPaletteRedForegroundInverted=Ke.red.primary;qr.colorPaletteGreenForegroundInverted=Ke.green.primary;qr.colorPaletteYellowForegroundInverted=Ke.yellow.shade30;const am=Kw.reduce((e,o)=>{const n=o.slice(0,1).toUpperCase()+o.slice(1),a={[`colorPalette${n}Background2`]:ca[o].shade30,[`colorPalette${n}Foreground2`]:ca[o].tint40,[`colorPalette${n}BorderActive`]:ca[o].tint30};return Object.assign(e,a)},{});am.colorPaletteDarkRedBackground2=ca.darkRed.shade20;am.colorPalettePlumBackground2=ca.plum.shade20;const aj={...qr,...am},fa=Object.entries(vo).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)},{});fa.colorStatusDangerBackground3Hover=We[vo.danger].shade10;fa.colorStatusDangerBackground3Pressed=We[vo.danger].shade20;fa.colorStatusDangerForeground3=We[vo.danger].tint40;fa.colorStatusDangerBorder2=We[vo.danger].tint30;fa.colorStatusSuccessForeground3=We[vo.success].tint40;fa.colorStatusSuccessBorder2=We[vo.success].tint40;fa.colorStatusWarningForegroundInverted=We[vo.warning].shade20;const ij=e=>({colorNeutralForeground1:Ce,colorNeutralForeground1Hover:Ce,colorNeutralForeground1Pressed:Ce,colorNeutralForeground1Selected:Ce,colorNeutralForeground2:$[84],colorNeutralForeground2Hover:Ce,colorNeutralForeground2Pressed:Ce,colorNeutralForeground2Selected:Ce,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:Ce,colorNeutralForeground5Pressed:Ce,colorNeutralForeground5Selected:Ce,colorNeutralForegroundDisabled:$[36],colorNeutralForegroundInvertedDisabled:Kt[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:$[84],colorNeutralForeground2LinkHover:Ce,colorNeutralForeground2LinkPressed:Ce,colorNeutralForeground2LinkSelected:Ce,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:$[14],colorNeutralForegroundStaticInverted:Ce,colorNeutralForegroundInverted:$[14],colorNeutralForegroundInvertedHover:$[14],colorNeutralForegroundInvertedPressed:$[14],colorNeutralForegroundInvertedSelected:$[14],colorNeutralForegroundInverted2:$[14],colorNeutralForegroundOnBrand:Ce,colorNeutralForegroundInvertedLink:Ce,colorNeutralForegroundInvertedLinkHover:Ce,colorNeutralForegroundInvertedLinkPressed:Ce,colorNeutralForegroundInvertedLinkSelected:Ce,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:rd,colorNeutralBackground4Selected:$[10],colorNeutralBackground5:rd,colorNeutralBackground5Hover:$[8],colorNeutralBackground5Pressed:$[2],colorNeutralBackground5Selected:$[6],colorNeutralBackground6:$[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:$[10],colorNeutralBackground7Pressed:$[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:$[16],colorNeutralBackgroundInverted:Ce,colorNeutralBackgroundInvertedHover:$[96],colorNeutralBackgroundInvertedPressed:$[88],colorNeutralBackgroundInvertedSelected:$[92],colorNeutralBackgroundStatic:$[24],colorNeutralBackgroundAlpha:yT[50],colorNeutralBackgroundAlpha2:xT[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:$[22],colorSubtleBackgroundPressed:$[18],colorSubtleBackgroundSelected:$[20],colorSubtleBackgroundLightAlphaHover:Xy[80],colorSubtleBackgroundLightAlphaPressed:Xy[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Qo[10],colorSubtleBackgroundInvertedPressed:Qo[30],colorSubtleBackgroundInvertedSelected:Qo[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:$[8],colorNeutralBackgroundDisabled2:$[16],colorNeutralBackgroundInvertedDisabled:Kt[10],colorNeutralStencil1:$[34],colorNeutralStencil2:$[20],colorNeutralStencil1Alpha:Kt[10],colorNeutralStencil2Alpha:Kt[5],colorBackgroundOverlay:Qo[50],colorScrollbarOverlay:Kt[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:Ce,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:Ce,colorNeutralStrokeOnBrand2Hover:Ce,colorNeutralStrokeOnBrand2Pressed:Ce,colorNeutralStrokeOnBrand2Selected:Ce,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:Kt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Kt[10],colorNeutralStrokeAlpha2:Kt[20],colorStrokeFocus1:rd,colorStrokeFocus2:Ce,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)"}),lj=e=>{const o=ij(e);return{...Zw,...Jw,...e5,...o5,...t5,...a5,...r5,...n5,...Yw,...Qw,...o,...aj,...fa,...hd(o.colorNeutralShadowAmbient,o.colorNeutralShadowKey),...hd(o.colorBrandShadowAmbient,o.colorBrandShadowKey,"Brand")}},i5={root:"fui-FluentProvider"},sj=iw({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);}"]}),cj=e=>{"use no memo";const o=lc(),n=sj({dir:e.dir,renderer:o});return e.root.className=de(i5.root,e.themeClassName,n.root,e.root.className),e},uj=b.useInsertionEffect?b.useInsertionEffect:Dt,dj=(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},fj=(e,o)=>{const n=e.sheet;n&&(n.cssRules.length>0&&n.deleteRule(0),n.insertRule(o,0))},hj=e=>{"use no memo";const{targetDocument:o,theme:n,rendererAttributes:a}=e,l=b.useRef(void 0),c=Yt(i5.root),u=a,d=b.useMemo(()=>SC(`.${c}`,n),[n,c]);return pj(o,c),uj(()=>{const h=o==null?void 0:o.getElementById(c);return h?l.current=h:(l.current=dj(o,{...u,id:c}),l.current&&fj(l.current,d)),()=>{var p;(p=l.current)===null||p===void 0||p.remove()}},[c,o,d,u]),{styleTagId:c,rule:d}};function pj(e,o){b.useState(()=>{if(!e)return;const n=e.getElementById(o);n&&e.head.append(n)})}const gj={},mj={},vj=(e,o)=>{"use no memo";const n=Ze(),a=bj(),l=Zg(),c=b.useContext(Qg)||gj,{applyStylesToPortals:u=!0,customStyleHooks_unstable:d,dir:h=n.dir,targetDocument:p=n.targetDocument,theme:v,overrides_unstable:m={}}=e,w=Dp(a,v),B=Dp(l,m),k=Dp(c,d),x=lc();var z;const{styleTagId:_,rule:E}=hj({theme:w,targetDocument:p,rendererAttributes:(z=x.styleElementAttributes)!==null&&z!==void 0?z:mj});return{applyStylesToPortals:u,customStyleHooks_unstable:k,dir:h,targetDocument:p,theme:w,overrides_unstable:B,themeClassName:_,components:{root:"div"},root:Ne(Et("div",{...e,dir:h,ref:it(o,Vw({targetDocument:p}))}),{elementType:"div"}),serverStyleProps:{cssRule:E,attributes:{...x.styleElementAttributes,id:_}}}};function Dp(e,o){return e&&o?{...e,...o}:e||o}function bj(){return b.useContext(fw)}function yj(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 l5=b.forwardRef((e,o)=>{const n=vj(e,o);cj(n);const a=yj(n);return Mz(n,a)});l5.displayName="FluentProvider";var $y=n2();const xj=e=>n=>{const a=b.useRef(n.value),l=b.useRef(null);return l.current||(l.current={value:a,listeners:[]}),Dt(()=>{a.current=n.value,$y.unstable_runWithPriority($y.unstable_NormalPriority,()=>{l.current.listeners.forEach(c=>{c(n.value)})})},[n.value]),b.createElement(e,{value:l.current},n.children)},ei=e=>{const o=b.createContext({value:{current:e},listeners:[],isDefault:!0});return o.Provider=xj(o.Provider),delete o.Consumer,o},Tl=(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 Dt(()=>{d.current=o,h.current=c}),Dt(()=>{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 fc(e){return!b.useContext(e).isDefault}const s5=ei(void 0),wj={openItems:[],collapsible:!1,multiple:!1,navigation:void 0,requestToggle(){}},{Provider:Sj}=s5,Xs=e=>Tl(s5,(o=wj)=>e(o)),kj=(e,o)=>ne(e.root,{children:ne(Sj,{value:o.accordion,children:e.root.children})}),Bj=(e,o)=>{const{navigation:n,...a}=e,l=_j(a,o),c=Iw({circular:n==="circular",tabbable:!0});return{navigation:n,...l,root:{...l.root,...n?c:void 0}}},_j=(e,o)=>{const{openItems:n,defaultOpenItems:a,multiple:l=!1,collapsible:c=!1,onToggle:u,...d}=e,[h,p]=Oo({state:b.useMemo(()=>Nj(n),[n]),defaultState:a&&(()=>Cj({defaultOpenItems:a,multiple:l})),initialState:[]}),v=ge(m=>{const w=zj(m.value,h,l,c);u==null||u(m.event,{value:m.value,openItems:w}),p(w)});return{collapsible:c,multiple:l,openItems:h,requestToggle:v,components:{root:"div"},root:Ne({ref:o,...d},{elementType:"div"})}};function Cj({defaultOpenItems:e,multiple:o}){return e!==void 0?Array.isArray(e)?o?e:[e[0]]:[e]:[]}function zj(e,o,n,a){if(n)if(o.includes(e)){if(o.length>1||a)return o.filter(l=>l!==e)}else return[...o,e].sort();else return o[0]===e&&a?[]:[e];return o}function Nj(e){if(e!==void 0)return Array.isArray(e)?e:[e]}function Tj(e){const{navigation:o,openItems:n,requestToggle:a,multiple:l,collapsible:c}=e;return{accordion:b.useMemo(()=>({navigation:o,openItems:n,requestToggle:a,collapsible:c,multiple:l}),[o,n,a,c,l])}}const jj={root:"fui-Accordion"},Ej=e=>{"use no memo";return e.root.className=de(jj.root,e.root.className),e},c5=b.forwardRef((e,o)=>{const n=Bj(e,o),a=Tj(n);return Ej(n),Xe("useAccordionStyles_unstable")(n),kj(n,a)});c5.displayName="Accordion";const Rj=(e,o)=>{const{value:n,disabled:a=!1,...l}=e,c=Xs(h=>h.requestToggle),u=Xs(h=>h.openItems.includes(n)),d=ge(h=>c({event:h,value:n}));return{open:u,value:n,disabled:a,onHeaderClick:d,components:{root:"div"},root:Ne({disabled:a,ref:o,...l},{elementType:"div"})}};function Aj(e){const{disabled:o,open:n,value:a,onHeaderClick:l}=e;return{accordionItem:b.useMemo(()=>({disabled:o,open:n,value:a,onHeaderClick:l}),[o,n,a,l])}}const u5=b.createContext(void 0),Mj={open:!1,disabled:!1,value:void 0,onHeaderClick(){}},{Provider:Dj}=u5,d5=()=>{var e;return(e=b.useContext(u5))!==null&&e!==void 0?e:Mj},Oj=(e,o)=>ne(e.root,{children:ne(Dj,{value:o.accordionItem,children:e.root.children})}),Fj={root:"fui-AccordionItem"},qj=e=>{"use no memo";return e.root.className=de(Fj.root,e.root.className),e},f5=b.forwardRef((e,o)=>{const n=Rj(e,o),a=Aj(n);return qj(n),Xe("useAccordionItemStyles_unstable")(n),Oj(n,a)});f5.displayName="AccordionItem";const Qi="Enter",dn=" ",h5="Tab",yg="ArrowDown",im="ArrowLeft",lm="ArrowRight",Op="ArrowUp",Hj="End",Pj="Home",Ij="PageDown",Lj="PageUp",jl="Escape";function Qa(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=ge(k=>{v?(k.preventDefault(),k.stopPropagation()):c==null||c(k)}),w=ge(k=>{if(u==null||u(k),k.isDefaultPrevented())return;const x=k.key;if(v&&(x===Qi||x===dn)){k.preventDefault(),k.stopPropagation();return}if(x===dn){k.preventDefault();return}else x===Qi&&(k.preventDefault(),k.currentTarget.click())}),B=ge(k=>{if(d==null||d(k),k.isDefaultPrevented())return;const x=k.key;if(v&&(x===Qi||x===dn)){k.preventDefault(),k.stopPropagation();return}x===dn&&(k.preventDefault(),k.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 k=!!h.href;let x=k?void 0:"button";!x&&v&&(x="link");const z={role:x,tabIndex:a||!k&&!n?0:void 0,...h,onClick:m,onKeyUp:B,onKeyDown:w,"aria-disabled":v};return e==="a"&&v&&(z.href=void 0),z}}const fo=()=>{},Uj={controller:{active:fo,blur:fo,find:fo,first:fo,focus:fo,focusLastActive:fo,scrollActiveIntoView:fo,last:fo,next:fo,prev:fo,showAttributes:fo,hideAttributes:fo,showFocusVisibleAttributes:fo,hideFocusVisibleAttributes:fo}},sm=b.createContext(void 0),p5=sm.Provider,g5=()=>{var e;return(e=b.useContext(sm))!==null&&e!==void 0?e:Uj},Vj=()=>!!b.useContext(sm);function Gj(e){const{matchOption:o}=e,{targetDocument:n}=Ze(),a=b.useRef(null),l=b.useRef(null),c=b.useCallback(h=>vr(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 Ky="data-activedescendant",Li="data-activedescendant-focusvisible",Zy=e=>{if(!e)return;const o=m5(e.parentElement);if(!o)return;const{offsetHeight:n}=e,a=v5(e,o),{scrollMarginTop:l,scrollMarginBottom:c}=Wj(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)},m5=e=>e?e.scrollHeight>e.offsetHeight?e:m5(e.parentElement):null,v5=(e,o)=>!e||e===o?0:e.contains(o)?o.offsetTop*-1:e.offsetTop+v5(e.offsetParent,o),Wj=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=Pu(a.scrollMarginTop))!==null&&l!==void 0?l:Pu(a.scrollMarginBlockStart);var u;const d=(u=Pu(a.scrollMarginBottom))!==null&&u!==void 0?u:Pu(a.scrollMarginBlockEnd);return{scrollMarginTop:c,scrollMarginBottom:d}},Pu=e=>e?parseInt(e,10):0,Xj=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function b5(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 j;(j=d.current)===null||j===void 0||j.setAttribute("aria-activedescendant",c.current)}},[]);Gw(T=>{a.current=T;const j=x();j&&(T&&l.current?j.setAttribute(Li,""):j.removeAttribute(Li))});const m=ge(n),w=b.useRef(null),{optionWalker:B,listboxCallbackRef:k}=Gj({matchOption:m}),x=b.useCallback(()=>{var T;return(T=w.current)===null||T===void 0?void 0:T.querySelector(`#${c.current}`)},[w]),z=b.useCallback(T=>{l.current=T;const j=x();j&&(T&&a.current?j.setAttribute(Li,""):j.removeAttribute(Li))},[x]),_=b.useCallback(()=>{const T=x();T&&(T.removeAttribute(Ky),T.removeAttribute(Li)),p(),u.current=c.current,c.current=null;var j;return(j=T==null?void 0:T.id)!==null&&j!==void 0?j:null},[x,p]),E=b.useCallback(T=>{if(!T)return;const j=_();Zy(T),v(T.id),T.setAttribute(Ky,""),a.current&&l.current&&T.setAttribute(Li,"");const R=Xj({id:T.id,previousId:j});T.dispatchEvent(R)},[_,v]),C=b.useMemo(()=>({first:({passive:T}={})=>{const j=B.first();return T||E(j),j==null?void 0:j.id},last:({passive:T}={})=>{const j=B.last();return T||E(j),j==null?void 0:j.id},next:({passive:T}={})=>{const j=x();if(!j)return;B.setCurrent(j);const R=B.next();return T||E(R),R==null?void 0:R.id},prev:({passive:T}={})=>{const j=x();if(!j)return;B.setCurrent(j);const R=B.prev();return T||E(R),R==null?void 0:R.id},blur:()=>{_()},active:()=>{var T;return(T=x())===null||T===void 0?void 0:T.id},focus:T=>{if(!w.current)return;const j=w.current.querySelector(`#${T}`);j&&E(j)},focusLastActive:()=>{if(!w.current||!u.current)return;const T=w.current.querySelector(`#${u.current}`);if(T)return E(T),!0},find(T,{passive:j,startFrom:R}={}){const F=B.find(T,R);return j||E(F),F==null?void 0:F.id},scrollActiveIntoView:()=>{if(!w.current)return;const T=x();T&&Zy(T)},showAttributes(){h.current=!0,v()},hideAttributes(){h.current=!1,p()},showFocusVisibleAttributes(){z(!0)},hideFocusVisibleAttributes(){z(!1)}}),[B,w,v,p,E,_,x,z]);return b.useImperativeHandle(o,()=>C),{listboxRef:it(w,k),activeParentRef:d,controller:C}}const $j=ve({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),Kj=(e,o)=>{const{filled:n,title:a,primaryFill:l="currentColor",...c}=e,u={...c,fill:l},d=$j(),h=Az();return u.className=de(d.root,(o==null?void 0:o.flipInRtl)&&(h==null?void 0:h.textDirection)==="rtl"&&d.rtl,u.className),a&&(u["aria-label"]=a),!u["aria-label"]&&!u["aria-labelledby"]?u["aria-hidden"]=!0:u.role="img",u},Zj=ve({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),Qj="fui-Icon",Yj="fui-Icon-filled",Jj="fui-Icon-regular",ke=(e,o,n,a)=>{const l=o==="1em"?"20":o,c=b.forwardRef((u,d)=>{const h=Zj(),p=Kj(u,{flipInRtl:a==null?void 0:a.flipInRtl}),v={...p,className:de(Qj,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},eE=ke("SearchRegular","1em",["M13.73 14.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 15 9.5a5.5 5.5 0 1 0-1.98 4.23Z"]),y5=ke("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"]),Ui=ke("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"]),tE=ke("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"]),oE=ke("BotRegular","1em",["M12 5.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-5 1a1 1 0 1 1 2 0 1 1 0 0 1-2 0Zm3.5-4a.5.5 0 0 0-1 0V3h-3C5.67 3 5 3.67 5 4.5v4c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-4c0-.83-.67-1.5-1.5-1.5h-3v-.5ZM6.5 4h7c.28 0 .5.22.5.5v4a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-4c0-.28.22-.5.5-.5Zm3.75 14c2.62-.04 4.2-.6 5.12-1.44A3.52 3.52 0 0 0 16.5 14h.01v-.69c0-1-.81-1.8-1.8-1.8h-3.2v-.01H5.3c-.99 0-1.8.81-1.8 1.81v.7c.04.77.25 1.75 1.13 2.55.93.84 2.5 1.4 5.12 1.44h.5Zm-4.94-5.5h9.38c.45 0 .81.37.81.81v.44c0 .69-.13 1.46-.8 2.07C14 16.45 12.66 17 10 17s-4.01-.55-4.7-1.18a2.63 2.63 0 0 1-.8-2.07v-.44c0-.44.36-.8.8-.8Z"]),x5=ke("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"]),pd=ke("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"]),w5=ke("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"]),rE=ke("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"]),nE=ke("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"]),aE=ke("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"]),iE=ke("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"]),gd=ke("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"]),xg=ke("AddRegular","1em",["M10 2.5c.28 0 .5.22.5.5v6.5H17a.5.5 0 0 1 0 1h-6.5V17a.5.5 0 0 1-1 0v-6.5H3a.5.5 0 0 1 0-1h6.5V3c0-.28.22-.5.5-.5Z"]),lE=ke("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"]),sE=ke("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"]),cm=ke("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),um=ke("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"]),cE=ke("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"]),uE=ke("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"]),S5=ke("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"]),dE=ke("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"]),k5=ke("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"]),B5=ke("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"]),fE=ke("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}),Mr=ke("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"]),hE=ke("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"]),pE=ke("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"]),gE=ke("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"]),mE=ke("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"]),vE=ke("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"]),bE=ke("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"]),Fr=ke("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"]),yE=ke("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"]),xE=ke("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"]),wE=ke("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"]),SE=ke("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"]),Xi=ke("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"]),_5=ke("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"]),kE=ke("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"]),BE=ke("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"]),_E=ke("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"]),CE=ke("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"]),zE=ke("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"]),NE=ke("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"]),TE=ke("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"]),C5=ke("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"]),jE=ke("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"]),EE=ke("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"]),RE=ke("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"]),AE=ke("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"]),ME=ke("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"]),DE=ke("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"]),OE=ve({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]}),z5=(e,o)=>{const n=a=>{const{className:l,filled:c,...u}=a,d=OE();return b.createElement(b.Fragment,null,b.createElement(e,Object.assign({},u,{className:de(d.root,c&&d.visible,Yj,l)})),b.createElement(o,Object.assign({},u,{className:de(d.root,!c&&d.visible,Jj,l)})))};return n.displayName="CompoundIcon",n},FE={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},qE={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)"},Ie={...FE,...qE};function HE(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 PE={fill:"forwards"},IE={duration:1};function LE(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=>HE(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 UE(){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=IE,...m}=h,{keyframes:w=p,...B}=v,k=u?w:p,x={...PE,...m,...u&&B};try{const _=n.animate(k,x);if(o)_==null||_.persist();else{const E=k[k.length-1];var z;Object.assign((z=n.style)!==null&&z!==void 0?z:{},E)}return _}catch{return null}}).filter(h=>!!h);return LE(d)},[o])}function N5(){"use no memo";return UE()}function T5(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 VE="screen and (prefers-reduced-motion: reduce)";function j5(){const{targetDocument:e}=Ze();var o;const n=(o=e==null?void 0:e.defaultView)!==null&&o!==void 0?o:null,a=b.useRef(!1),l=b.useCallback(()=>a.current,[]);return Dt(()=>{if(n===null||typeof n.matchMedia!="function")return;const c=n.matchMedia(VE);c.matches&&(a.current=!0);const u=d=>{a.current=d.matches};return c.addEventListener("change",u),()=>{c.removeEventListener("change",u)}},[n]),l}const GE=["@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 E5(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:it(n,sc(a))}),n]}catch{}throw new Error(GE)}const R5=b.createContext(void 0);R5.Provider;const A5=()=>{var e;return(e=b.useContext(R5))!==null&&e!==void 0?e:"default"},WE=Symbol("MOTION_DEFINITION");function Qy(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]=E5(a),w=T5(l),B=A5()==="skip",k=b.useRef({skipMotions:B,params:p}),x=N5(),z=j5(),_=ge(()=>{u==null||u(null)}),E=ge(()=>{c==null||c(null)}),C=ge(()=>{d==null||d(null)});return Dt(()=>{k.current={skipMotions:B,params:p}}),Dt(()=>{const T=m.current;if(T){const j=typeof e=="function"?e({element:T,...k.current.params}):e;_();const R=x(T,j,{isReducedMotion:z()});return w.current=R,R.setMotionEndCallbacks(E,C),k.current.skipMotions&&R.finish(),()=>{R.cancel()}}},[x,m,w,z,E,_,C]),v},{[WE]:typeof e=="function"?e:()=>e})}const M5=b.createContext(void 0);M5.Provider;function XE(e=!1,o=!1){const n=b.useRef(o?e:!0),a=yz(),l=b.useCallback(c=>{n.current!==c&&(n.current=c,a())},[a]);return b.useEffect(()=>{e&&(n.current=e)}),[e||n.current,l]}const D5=Symbol("PRESENCE_MOTION_DEFINITION"),$E=Symbol.for("interruptablePresence");function El(e){return Object.assign(o=>{"use no memo";const a={...b.useContext(M5),...o},l=A5()==="skip",{appear:c,children:u,imperativeRef:d,onExit:h,onMotionFinish:p,onMotionStart:v,onMotionCancel:m,visible:w,unmountOnExit:B,...k}=a,x=k,[z,_]=XE(w,B),[E,C]=E5(u,z),T=T5(d),j=b.useRef({appear:c,params:x,skipMotions:l}),R=N5(),F=Yg(),O=j5(),X=ge(ie=>{v==null||v(null,{direction:ie})}),ee=ge(ie=>{p==null||p(null,{direction:ie}),ie==="exit"&&B&&(_(!1),h==null||h())}),he=ge(ie=>{m==null||m(null,{direction:ie})});return Dt(()=>{j.current={appear:c,params:x,skipMotions:l}}),Dt(()=>{const ie=C.current;if(!ie)return;let ue;function le(){ue&&(L&&ue.isRunning()||(ue.cancel(),T.current=void 0))}const Z=typeof e=="function"?e({element:ie,...j.current.params}):e,L=Z[$E];if(L&&(ue=T.current,ue&&ue.isRunning()))return ue.reverse(),le;const te=w?Z.enter:Z.exit,oe=w?"enter":"exit",fe=!j.current.appear&&F,Se=j.current.skipMotions;return fe||X(oe),ue=R(ie,te,{isReducedMotion:O()}),fe?(ue.finish(),le):(T.current=ue,ue.setMotionEndCallbacks(()=>ee(oe),()=>he(oe)),Se&&ue.finish(),le)},[R,C,T,O,ee,X,he,w]),b.useEffect(()=>{if(B&&!z){var ie;(ie=T.current)===null||ie===void 0||ie.dispose()}},[T,B,z]),z?E:null},{[D5]:typeof e=="function"?e:()=>e},{In:Qy(typeof e=="function"?(...o)=>e(...o).enter:e.enter),Out:Qy(typeof e=="function"?(...o)=>e(...o).exit:e.exit)})}function KE(e,o){return a=>e({...o,...a})}function ha(e,o){const n=e[D5],a=KE(n,o);return El(a)}const dm=b.createContext(void 0);function Ld(){return b.useContext(dm)}const Ud=b.forwardRef((e,o)=>b.createElement(dm.Provider,{value:o},e.children));Ud.displayName="MotionRefForwarder";const O5=e=>b.createElement(dm.Provider,{value:void 0},e.children);O5.displayName="MotionRefForwarderReset";function hc(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{[ud]:d,[bl]:o.elementType}}const c={...o.defaultProps,...l,[bl]:o.elementType};return typeof a=="function"&&(c[ud]=a),c}const ZE=(e,o)=>{const{inline:n=!1,size:a="medium",...l}=e,c=QE(l,o),{dir:u}=Ze();let d;if(c.expandIconPosition==="end"?d=c.open?-90:90:d=c.open?90:u!=="rtl"?0:180,c.expandIcon){var h,p;(p=(h=c.expandIcon).children)!==null&&p!==void 0||(h.children=b.createElement(Xi,{style:{transform:`rotate(${d}deg)`,transition:`transform ${Ie.durationNormal}ms ease-out`}}))}return{...c,inline:n,size:a}},QE=(e,o)=>{const{icon:n,button:a,expandIcon:l,expandIconPosition:c="start",...u}=e,{value:d,disabled:h,open:p}=d5(),v=Xs(B=>B.requestToggle),m=Xs(B=>!B.collapsible&&B.openItems.length===1&&p),w=Ne(a,{elementType:"button",defaultProps:{disabled:h,disabledFocusable:m,"aria-expanded":p,type:"button"}});return w.onClick=ge(B=>{if(Kg(a)){var k;(k=a.onClick)===null||k===void 0||k.call(a,B)}B.defaultPrevented||v({value:d,event:B})}),{disabled:h,open:p,expandIconPosition:c,components:{root:"div",button:"button",expandIcon:"span",icon:"div"},root:Ne({ref:o,...u},{elementType:"div"}),icon:Me(n,{elementType:"div"}),expandIcon:Me(l,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"span"}),button:Qa(w.as,w)}},YE=b.createContext(void 0),{Provider:JE}=YE,eR=(e,o)=>ne(JE,{value:o.accordionHeader,children:ne(e.root,{children:lt(e.button,{children:[e.expandIconPosition==="start"&&e.expandIcon&&ne(e.expandIcon,{}),e.icon&&ne(e.icon,{}),e.root.children,e.expandIconPosition==="end"&&e.expandIcon&&ne(e.expandIcon,{})]})})}),Iu={root:"fui-AccordionHeader",button:"fui-AccordionHeader__button",expandIcon:"fui-AccordionHeader__expandIcon",icon:"fui-AccordionHeader__icon"},tR=ve({resetButton:{B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bv0vk6g:"f37px4s",fsow6f:"fgusgyc"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bqhya38:"f1j6vpng",Bwxa6fj:["f1pniga2","f1ffjurs"],Bdhvstf:"f987i1v",B7zbvrb:["f1ffjurs","f1pniga2"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},root:{sj55zd:"f19n0e5",De3pzq:"f1c21dwh",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},rootDisabled:{Bcmaq0h:"fwrgwhw",sj55zd:"f1s2aq7o"},rootInline:{mc9l5x:"f14t3ns0"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1rmphuq","f26yw9j"],sshi5w:"f5pgtk9",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bceei9c:"f1k6fduh",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B7ck84d:"f1ewtqcl"},buttonSmall:{sshi5w:"f1nxs5xn",Be2twd7:"fy9rknc"},buttonLarge:{Bg96gwp:"faaz57k",Be2twd7:"fod5ikn"},buttonExtraLarge:{Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},buttonInline:{mc9l5x:"ftuwxu6"},buttonExpandIconEndNoIcon:{uwmqm3:["f1uw59to","fw5db7e"]},buttonExpandIconEnd:{z189sj:["f11gcy0p","f1ng84yb"]},buttonDisabled:{Bceei9c:"fdrzuqr"},expandIcon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},expandIconStart:{z189sj:["f1vdfbxk","f1f5gg8d"]},expandIconEnd:{Bh6795r:"fqerorx",Bnnss6s:"f1neuvcm",xawz:"flqd7gy",mc9l5x:"f22iagw",Brf1p80:"f9c4gz4",uwmqm3:["f1f5gg8d","f1vdfbxk"]},icon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",z189sj:["f1vdfbxk","f1f5gg8d"],Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"}},{d:[".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f37px4s{-webkit-appearance:button;}",".fgusgyc{text-align:unset;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwrgwhw{background-image:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f14t3ns0{display:inline-block;}",".f10pi13n{position:relative;}",".fly5x3f{width:100%;}",".fre7gi1{border-top-width:0;}",".f1358rze{border-right-width:0;}",".f1rvrf73{border-left-width:0;}",".fqdk4by{border-bottom-width:0;}",[".f1rmphuq{padding:0 var(--spacingHorizontalM) 0 var(--spacingHorizontalMNudge);}",{p:-1}],[".f26yw9j{padding:0 var(--spacingHorizontalMNudge) 0 var(--spacingHorizontalM);}",{p:-1}],".f5pgtk9{min-height:44px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1ewtqcl{box-sizing:border-box;}",".f1nxs5xn{min-height:32px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".ftuwxu6{display:inline-flex;}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".fdrzuqr{cursor:not-allowed;}",".f1l02sjl{height:100%;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fqerorx{flex-grow:1;}",".f1neuvcm{flex-shrink:1;}",".flqd7gy{flex-basis:0%;}",".f9c4gz4{justify-content:flex-end;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],m:[["@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),oR=e=>{"use no memo";const o=tR();return e.root.className=de(Iu.root,o.root,e.inline&&o.rootInline,e.disabled&&o.rootDisabled,e.root.className),e.button.className=de(Iu.button,o.resetButton,o.button,o.focusIndicator,e.expandIconPosition==="end"&&!e.icon&&o.buttonExpandIconEndNoIcon,e.expandIconPosition==="end"&&o.buttonExpandIconEnd,e.inline&&o.buttonInline,e.size==="small"&&o.buttonSmall,e.size==="large"&&o.buttonLarge,e.size==="extra-large"&&o.buttonExtraLarge,e.disabled&&o.buttonDisabled,e.button.className),e.expandIcon&&(e.expandIcon.className=de(Iu.expandIcon,o.expandIcon,e.expandIconPosition==="start"&&o.expandIconStart,e.expandIconPosition==="end"&&o.expandIconEnd,e.expandIcon.className)),e.icon&&(e.icon.className=de(Iu.icon,o.icon,e.icon.className)),e};function rR(e){const{disabled:o,expandIconPosition:n,open:a,size:l}=e;return{accordionHeader:b.useMemo(()=>({disabled:o,expandIconPosition:n,open:a,size:l}),[o,n,a,l])}}const F5=b.forwardRef((e,o)=>{const n=ZE(e,o),a=rR(n);return oR(n),Xe("useAccordionHeaderStyles_unstable")(n),eR(n,a)});F5.displayName="AccordionHeader";const q5=(e,o)=>{const n=e==="horizontal"?"maxWidth":"maxHeight",a=e==="horizontal"?"overflowX":"overflowY",c=`${e==="horizontal"?o.scrollWidth:o.scrollHeight}px`;return{sizeName:n,overflowName:a,toSize:c}},nR=({orientation:e,duration:o,easing:n,element:a,outSize:l="0",delay:c=0})=>{const{sizeName:u,overflowName:d,toSize:h}=q5(e,a);return{keyframes:[{[u]:l,[d]:"hidden"},{[u]:h,offset:.9999,[d]:"hidden"},{[u]:"unset",[d]:"unset"}],duration:o,easing:n,delay:c,fill:"both"}},aR=({orientation:e,duration:o,easing:n,element:a,delay:l=0,outSize:c="0"})=>{const{sizeName:u,overflowName:d,toSize:h}=q5(e,a);return{keyframes:[{[u]:h,[d]:"hidden"},{[u]:c,[d]:"hidden"}],duration:o,easing:n,delay:l,fill:"both"}},iR=e=>e==="horizontal"?{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"}:{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"},Yy=({direction:e,orientation:o,duration:n,easing:a,delay:l=0})=>{const{paddingStart:c,paddingEnd:u,marginStart:d,marginEnd:h}=iR(o),p=e==="enter"?0:1;return{keyframes:[{[c]:"0",[u]:"0",[d]:"0",[h]:"0",offset:p}],duration:n,easing:a,delay:l,fill:"both"}},ua=({direction:e,duration:o,easing:n=Ie.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"}},lR=({element:e,duration:o=Ie.durationNormal,exitDuration:n=o,sizeDuration:a=o,opacityDuration:l=a,exitSizeDuration:c=n,exitOpacityDuration:u=c,easing:d=Ie.curveEasyEaseMax,delay:h=0,exitEasing:p=d,exitDelay:v=h,staggerDelay:m=0,exitStaggerDelay:w=m,animateOpacity:B=!0,orientation:k="vertical",outSize:x="0px"})=>{const z=[nR({orientation:k,duration:a,easing:d,element:e,outSize:x,delay:h}),Yy({direction:"enter",orientation:k,duration:a,easing:d,delay:h})];B&&z.push(ua({direction:"enter",duration:l,easing:d,delay:h+m}));const _=[];return B&&_.push(ua({direction:"exit",duration:u,easing:p,delay:v})),_.push(aR({orientation:k,duration:c,easing:p,element:e,delay:v+w,outSize:x}),Yy({direction:"exit",orientation:k,duration:c,easing:p,delay:v+w})),{enter:z,exit:_}},$s=El(lR);ha($s,{duration:Ie.durationFast});ha($s,{duration:Ie.durationSlower});ha($s,{sizeDuration:Ie.durationNormal,opacityDuration:Ie.durationSlower,staggerDelay:Ie.durationNormal,exitSizeDuration:Ie.durationNormal,exitOpacityDuration:Ie.durationSlower,exitStaggerDelay:Ie.durationSlower,easing:Ie.curveEasyEase,exitEasing:Ie.curveEasyEase});const sR=({duration:e=Ie.durationNormal,easing:o=Ie.curveEasyEase,delay:n=0,exitDuration:a=e,exitEasing:l=o,exitDelay:c=n,outOpacity:u=0,inOpacity:d=1})=>({enter:ua({direction:"enter",duration:e,easing:o,delay:n,outOpacity:u,inOpacity:d}),exit:ua({direction:"exit",duration:a,easing:l,delay:c,outOpacity:u,inOpacity:d})}),H5=El(sR);ha(H5,{duration:Ie.durationFast});const cR=ha(H5,{duration:Ie.durationGentle}),Jy=({direction:e,duration:o,easing:n=Ie.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}},uR=({duration:e=Ie.durationGentle,easing:o=Ie.curveDecelerateMax,delay:n=0,exitDuration:a=Ie.durationNormal,exitEasing:l=Ie.curveAccelerateMax,exitDelay:c=n,outScale:u=.9,inScale:d=1,animateOpacity:h=!0})=>{const p=[Jy({direction:"enter",duration:e,easing:o,delay:n,outScale:u,inScale:d})],v=[Jy({direction:"exit",duration:a,easing:l,delay:c,outScale:u,inScale:d})];return h&&(p.push(ua({direction:"enter",duration:e,easing:o,delay:n})),v.push(ua({direction:"exit",duration:a,easing:l,delay:c}))),{enter:p,exit:v}},fm=El(uR);ha(fm,{duration:Ie.durationNormal,exitDuration:Ie.durationFast});ha(fm,{duration:Ie.durationSlow,exitDuration:Ie.durationGentle});const P5=({direction:e,duration:o,easing:n=Ie.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}),dR=(e,o)=>{const{collapseMotion:n,...a}=e,l=fR(a,o),c=fd({focusable:{excludeFromMover:!0}}),u=Xs(d=>d.navigation);return{...l,components:{...l.components,collapseMotion:$s},root:{...l.root,...u&&c},collapseMotion:hc(e.collapseMotion,{elementType:$s,defaultProps:{visible:l.open,unmountOnExit:!0}})}},fR=(e,o)=>{const{open:n}=d5();return{open:n,components:{root:"div"},root:Ne({ref:o,...e,...n?{}:{tabIndex:-1,inert:!0}},{elementType:"div"})}},hR=e=>e.collapseMotion?ne(e.collapseMotion,{children:ne(e.root,{})}):ne(e.root,{}),pR={root:"fui-AccordionPanel"},gR=ve({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1axvtxu"}},{d:[[".f1axvtxu{margin:0 var(--spacingHorizontalM);}",{p:-1}]]}),mR=e=>{"use no memo";const o=gR();return e.root.className=de(pR.root,o.root,e.root.className),e},I5=b.forwardRef((e,o)=>{const n=dR(e,o);return mR(n),Xe("useAccordionPanelStyles_unstable")(n),hR(n)});I5.displayName="AccordionPanel";const 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:Ne(Et("div",{ref:o,...e}),{elementType:"div"}),icon:Me(e.icon,{elementType:"span"})}},ex={root:"fui-Badge",icon:"fui-Badge__icon"},yR=je("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=ve({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),wR=je("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),SR=ve({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),kR=e=>{"use no memo";const o=yR(),n=xR(),a=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=de(ex.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=de(ex.icon,l,u,c[e.size],e.icon.className)}return e},BR=e=>lt(e.root,{children:[e.iconPosition==="before"&&e.icon&&ne(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&ne(e.icon,{})]}),er=b.forwardRef((e,o)=>{const n=vR(e,o);return kR(n),Xe("useBadgeStyles_unstable")(n),BR(n)});er.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 tx="data-popper-is-intersecting",ox="data-popper-escaped",rx="data-popper-reference-hidden",CR="data-popper-placement",wg="fui-positioningend",md="--fui-positioning-slide-direction-x",vd="--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 L5(e){const{targetDocument:o,onPositioningEnd:n}=e,a=ge(l=>{n==null||n(l);const c=l.target,u=l.detail.placement;if(!vr(c))return;const{x:d,y:h}=zR(u);c.style.setProperty(md,`${d}px`),c.style.setProperty(vd,`${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:md,syntax:"<length>",inherits:!1,initialValue:"0px"}),d({name:vd,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[o]),a}const NR=({options:e})=>e,U5=b.createContext(void 0);U5.Provider;const TR=()=>{var e;return(e=b.useContext(U5))!==null&&e!==void 0?e:NR},jR=["top","right","bottom","left"],Ya=Math.min,tr=Math.max,bd=Math.round,Or=e=>({x:e,y:e}),ER={left:"right",right:"left",bottom:"top",top:"bottom"};function Sg(e,o,n){return tr(e,Ya(o,n))}function bn(e,o){return typeof e=="function"?e(o):e}function yn(e){return e.split("-")[0]}function Rl(e){return e.split("-")[1]}function hm(e){return e==="x"?"y":"x"}function pm(e){return e==="y"?"height":"width"}function Dr(e){const o=e[0];return o==="t"||o==="b"?"y":"x"}function gm(e){return hm(Dr(e))}function RR(e,o,n){n===void 0&&(n=!1);const a=Rl(e),l=gm(e),c=pm(l);let u=l==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(u=yd(u)),[u,yd(u)]}function AR(e){const o=yd(e);return[kg(e),o,kg(o)]}function kg(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const nx=["left","right"],ax=["right","left"],MR=["top","bottom"],DR=["bottom","top"];function OR(e,o,n){switch(e){case"top":case"bottom":return n?o?ax:nx:o?nx:ax;case"left":case"right":return o?MR:DR;default:return[]}}function FR(e,o,n,a){const l=Rl(e);let c=OR(yn(e),n==="start",a);return l&&(c=c.map(u=>u+"-"+l),o&&(c=c.concat(c.map(kg)))),c}function yd(e){const o=yn(e);return ER[o]+e.slice(o.length)}function qR(e){return{top:0,right:0,bottom:0,left:0,...e}}function V5(e){return typeof e!="number"?qR(e):{top:e,right:e,bottom:e,left:e}}function xd(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 ix(e,o,n){let{reference:a,floating:l}=e;const c=Dr(o),u=gm(o),d=pm(u),h=yn(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 B;switch(h){case"top":B={x:v,y:a.y-l.height};break;case"bottom":B={x:v,y:a.y+a.height};break;case"right":B={x:a.x+a.width,y:m};break;case"left":B={x:a.x-l.width,y:m};break;default:B={x:a.x,y:a.y}}switch(Rl(o)){case"start":B[u]-=w*(n&&p?-1:1);break;case"end":B[u]+=w*(n&&p?-1:1);break}return B}async function G5(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:B=0}=bn(o,e),k=V5(B),z=d[w?m==="floating"?"reference":"floating":m],_=xd(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(z)))==null||n?z:z.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(d.floating)),boundary:p,rootBoundary:v,strategy:h})),E=m==="floating"?{x:a,y:l,width:u.floating.width,height:u.floating.height}:u.reference,C=await(c.getOffsetParent==null?void 0:c.getOffsetParent(d.floating)),T=await(c.isElement==null?void 0:c.isElement(C))?await(c.getScale==null?void 0:c.getScale(C))||{x:1,y:1}:{x:1,y:1},j=xd(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:E,offsetParent:C,strategy:h}):E);return{top:(_.top-j.top+k.top)/T.y,bottom:(j.bottom-_.bottom+k.bottom)/T.y,left:(_.left-j.left+k.left)/T.x,right:(j.right-_.right+k.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:G5},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}=ix(p,a,h),w=a,B=0;const k={};for(let x=0;x<c.length;x++){const z=c[x];if(!z)continue;const{name:_,fn:E}=z,{x:C,y:T,data:j,reset:R}=await E({x:v,y:m,initialPlacement:a,placement:w,strategy:l,middlewareData:k,rects:p,platform:d,elements:{reference:e,floating:o}});v=C??v,m=T??m,k[_]={...k[_],...j},R&&B<HR&&(B++,typeof R=="object"&&(R.placement&&(w=R.placement),R.rects&&(p=R.rects===!0?await u.getElementRects({reference:e,floating:o,strategy:l}):R.rects),{x:v,y:m}=ix(p,w,h)),x=-1)}return{x:v,y:m,placement:w,strategy:l,middlewareData:k}},IR=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}=bn(e,o)||{};if(p==null)return{};const m=V5(v),w={x:n,y:a},B=gm(l),k=pm(B),x=await u.getDimensions(p),z=B==="y",_=z?"top":"left",E=z?"bottom":"right",C=z?"clientHeight":"clientWidth",T=c.reference[k]+c.reference[B]-w[B]-c.floating[k],j=w[B]-c.reference[B],R=await(u.getOffsetParent==null?void 0:u.getOffsetParent(p));let F=R?R[C]:0;(!F||!await(u.isElement==null?void 0:u.isElement(R)))&&(F=d.floating[C]||c.floating[k]);const O=T/2-j/2,X=F/2-x[k]/2-1,ee=Ya(m[_],X),he=Ya(m[E],X),ie=ee,ue=F-x[k]-he,le=F/2-x[k]/2+O,Z=Sg(ie,le,ue),L=!h.arrow&&Rl(l)!=null&&le!==Z&&c.reference[k]/2-(le<ie?ee:he)-x[k]/2<0,te=L?le<ie?le-ie:le-ue:0;return{[B]:w[B]+te,data:{[B]:Z,centerOffset:le-Z-te,...L&&{alignmentOffset:te}},reset:L}}}),LR=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:B="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:x=!0,...z}=bn(e,o);if((n=c.arrow)!=null&&n.alignmentOffset)return{};const _=yn(l),E=Dr(d),C=yn(d)===d,T=await(h.isRTL==null?void 0:h.isRTL(p.floating)),j=w||(C||!x?[yd(d)]:AR(d)),R=k!=="none";!w&&R&&j.push(...FR(d,x,k,T));const F=[d,...j],O=await h.detectOverflow(o,z),X=[];let ee=((a=c.flip)==null?void 0:a.overflows)||[];if(v&&X.push(O[_]),m){const le=RR(l,u,T);X.push(O[le[0]],O[le[1]])}if(ee=[...ee,{placement:l,overflows:X}],!X.every(le=>le<=0)){var he,ie;const le=(((he=c.flip)==null?void 0:he.index)||0)+1,Z=F[le];if(Z&&(!(m==="alignment"?E!==Dr(Z):!1)||ee.every(oe=>Dr(oe.placement)===E?oe.overflows[0]>0:!0)))return{data:{index:le,overflows:ee},reset:{placement:Z}};let L=(ie=ee.filter(te=>te.overflows[0]<=0).sort((te,oe)=>te.overflows[1]-oe.overflows[1])[0])==null?void 0:ie.placement;if(!L)switch(B){case"bestFit":{var ue;const te=(ue=ee.filter(oe=>{if(R){const fe=Dr(oe.placement);return fe===E||fe==="y"}return!0}).map(oe=>[oe.placement,oe.overflows.filter(fe=>fe>0).reduce((fe,Se)=>fe+Se,0)]).sort((oe,fe)=>oe[1]-fe[1])[0])==null?void 0:ue[0];te&&(L=te);break}case"initialPlacement":L=d;break}if(l!==L)return{reset:{placement:L}}}return{}}}};function lx(e,o){return{top:e.top-o.height,right:e.right-o.width,bottom:e.bottom-o.height,left:e.left-o.width}}function sx(e){return jR.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}=bn(e,o);switch(l){case"referenceHidden":{const u=await a.detectOverflow(o,{...c,elementContext:"reference"}),d=lx(u,n.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:sx(d)}}}case"escaped":{const u=await a.detectOverflow(o,{...c,altBoundary:!0}),d=lx(u,n.floating);return{data:{escapedOffsets:d,escaped:sx(d)}}}default:return{}}}}},W5=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=yn(n),d=Rl(n),h=Dr(n)==="y",p=W5.has(u)?-1:1,v=c&&h?-1:1,m=bn(o,e);let{mainAxis:w,crossAxis:B,alignmentAxis:k}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return d&&typeof k=="number"&&(B=d==="end"?k*-1:k),h?{x:B*v,y:w*p}:{x:w*p,y:B*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:E,y:C}=_;return{x:E,y:C}}},...p}=bn(e,o),v={x:n,y:a},m=await c.detectOverflow(o,p),w=Dr(yn(l)),B=hm(w);let k=v[B],x=v[w];if(u){const _=B==="y"?"top":"left",E=B==="y"?"bottom":"right",C=k+m[_],T=k-m[E];k=Sg(C,k,T)}if(d){const _=w==="y"?"top":"left",E=w==="y"?"bottom":"right",C=x+m[_],T=x-m[E];x=Sg(C,x,T)}const z=h.fn({...o,[B]:k,[w]:x});return{...z,data:{x:z.x-n,y:z.y-a,enabled:{[B]: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}=bn(e,o),v={x:n,y:a},m=Dr(l),w=hm(m);let B=v[w],k=v[m];const x=bn(d,o),z=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(h){const C=w==="y"?"height":"width",T=c.reference[w]-c.floating[C]+z.mainAxis,j=c.reference[w]+c.reference[C]-z.mainAxis;B<T?B=T:B>j&&(B=j)}if(p){var _,E;const C=w==="y"?"width":"height",T=W5.has(yn(l)),j=c.reference[m]-c.floating[C]+(T&&((_=u.offset)==null?void 0:_[m])||0)+(T?0:z.crossAxis),R=c.reference[m]+c.reference[C]+(T?0:((E=u.offset)==null?void 0:E[m])||0)-(T?z.crossAxis:0);k<j?k=j:k>R&&(k=R)}return{[w]:B,[m]:k}}}},$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}=bn(e,o),v=await u.detectOverflow(o,p),m=yn(l),w=Rl(l),B=Dr(l)==="y",{width:k,height:x}=c.floating;let z,_;m==="top"||m==="bottom"?(z=m,_=w===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(_=m,z=w==="end"?"top":"bottom");const E=x-v.top-v.bottom,C=k-v.left-v.right,T=Ya(x-v[z],E),j=Ya(k-v[_],C),R=!o.middlewareData.shift;let F=T,O=j;if((n=o.middlewareData.shift)!=null&&n.enabled.x&&(O=C),(a=o.middlewareData.shift)!=null&&a.enabled.y&&(F=E),R&&!w){const ee=tr(v.left,0),he=tr(v.right,0),ie=tr(v.top,0),ue=tr(v.bottom,0);B?O=k-2*(ee!==0||he!==0?ee+he:tr(v.left,v.right)):F=x-2*(ie!==0||ue!==0?ie+ue:tr(v.top,v.bottom))}await h({...o,availableWidth:O,availableHeight:F});const X=await u.getDimensions(d.floating);return k!==X.width||x!==X.height?{reset:{rects:!0}}:{}}}};function Vd(){return typeof window<"u"}function Al(e){return X5(e)?(e.nodeName||"").toLowerCase():"#document"}function Ro(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function wn(e){var o;return(o=(X5(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function X5(e){return Vd()?e instanceof Node||e instanceof Ro(e).Node:!1}function br(e){return Vd()?e instanceof Element||e instanceof Ro(e).Element:!1}function Sn(e){return Vd()?e instanceof HTMLElement||e instanceof Ro(e).HTMLElement:!1}function cx(e){return!Vd()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ro(e).ShadowRoot}function pc(e){const{overflow:o,overflowX:n,overflowY:a,display:l}=yr(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+n)&&l!=="inline"&&l!=="contents"}function KR(e){return/^(table|td|th)$/.test(Al(e))}function Gd(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const ZR=/transform|translate|scale|rotate|perspective|filter/,QR=/paint|layout|strict|content/,Aa=e=>!!e&&e!=="none";let Fp;function mm(e){const o=br(e)?yr(e):e;return Aa(o.transform)||Aa(o.translate)||Aa(o.scale)||Aa(o.rotate)||Aa(o.perspective)||!vm()&&(Aa(o.backdropFilter)||Aa(o.filter))||ZR.test(o.willChange||"")||QR.test(o.contain||"")}function YR(e){let o=da(e);for(;Sn(o)&&!yl(o);){if(mm(o))return o;if(Gd(o))return null;o=da(o)}return null}function vm(){return Fp==null&&(Fp=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fp}function yl(e){return/^(html|body|#document)$/.test(Al(e))}function yr(e){return Ro(e).getComputedStyle(e)}function Wd(e){return br(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function da(e){if(Al(e)==="html")return e;const o=e.assignedSlot||e.parentNode||cx(e)&&e.host||wn(e);return cx(o)?o.host:o}function $5(e){const o=da(e);return yl(o)?e.ownerDocument?e.ownerDocument.body:e.body:Sn(o)&&pc(o)?o:$5(o)}function K5(e,o,n){var a;o===void 0&&(o=[]);const l=$5(e),c=l===((a=e.ownerDocument)==null?void 0:a.body),u=Ro(l);return c?(Bg(u),o.concat(u,u.visualViewport||[],pc(l)?l:[],[])):o.concat(l,K5(l,[]))}function Bg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Z5(e){const o=yr(e);let n=parseFloat(o.width)||0,a=parseFloat(o.height)||0;const l=Sn(e),c=l?e.offsetWidth:n,u=l?e.offsetHeight:a,d=bd(n)!==c||bd(a)!==u;return d&&(n=c,a=u),{width:n,height:a,$:d}}function Q5(e){return br(e)?e:e.contextElement}function Yi(e){const o=Q5(e);if(!Sn(o))return Or(1);const n=o.getBoundingClientRect(),{width:a,height:l,$:c}=Z5(o);let u=(c?bd(n.width):n.width)/a,d=(c?bd(n.height):n.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const JR=Or(0);function Y5(e){const o=Ro(e);return!vm()||!o.visualViewport?JR:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function e8(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==Ro(e)?!1:o}function Ks(e,o,n,a){o===void 0&&(o=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),c=Q5(e);let u=Or(1);o&&(a?br(a)&&(u=Yi(a)):u=Yi(e));const d=e8(c,n,a)?Y5(c):Or(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=Ro(c),B=a&&br(a)?Ro(a):a;let k=w,x=Bg(k);for(;x&&a&&B!==k;){const z=Yi(x),_=x.getBoundingClientRect(),E=yr(x),C=_.left+(x.clientLeft+parseFloat(E.paddingLeft))*z.x,T=_.top+(x.clientTop+parseFloat(E.paddingTop))*z.y;h*=z.x,p*=z.y,v*=z.x,m*=z.y,h+=C,p+=T,k=Ro(x),x=Bg(k)}}return xd({width:v,height:m,x:h,y:p})}function Xd(e,o){const n=Wd(e).scrollLeft;return o?o.left+n:Ks(wn(e)).left+n}function J5(e,o){const n=e.getBoundingClientRect(),a=n.left+o.scrollLeft-Xd(e,n),l=n.top+o.scrollTop;return{x:a,y:l}}function t8(e){let{elements:o,rect:n,offsetParent:a,strategy:l}=e;const c=l==="fixed",u=wn(a),d=o?Gd(o.floating):!1;if(a===u||d&&c)return n;let h={scrollLeft:0,scrollTop:0},p=Or(1);const v=Or(0),m=Sn(a);if((m||!m&&!c)&&((Al(a)!=="body"||pc(u))&&(h=Wd(a)),m)){const B=Ks(a);p=Yi(a),v.x=B.x+a.clientLeft,v.y=B.y+a.clientTop}const w=u&&!m&&!c?J5(u,h):Or(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 o8(e){return Array.from(e.getClientRects())}function r8(e){const o=wn(e),n=Wd(e),a=e.ownerDocument.body,l=tr(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),c=tr(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight);let u=-n.scrollLeft+Xd(e);const d=-n.scrollTop;return yr(a).direction==="rtl"&&(u+=tr(o.clientWidth,a.clientWidth)-l),{width:l,height:c,x:u,y:d}}const ux=25;function n8(e,o){const n=Ro(e),a=wn(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=vm();(!v||v&&o==="fixed")&&(d=l.offsetLeft,h=l.offsetTop)}const p=Xd(a);if(p<=0){const v=a.ownerDocument,m=v.body,w=getComputedStyle(m),B=v.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,k=Math.abs(a.clientWidth-m.clientWidth-B);k<=ux&&(c-=k)}else p<=ux&&(c+=p);return{width:c,height:u,x:d,y:h}}function a8(e,o){const n=Ks(e,!0,o==="fixed"),a=n.top+e.clientTop,l=n.left+e.clientLeft,c=Sn(e)?Yi(e):Or(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 dx(e,o,n){let a;if(o==="viewport")a=n8(e,n);else if(o==="document")a=r8(wn(e));else if(br(o))a=a8(o,n);else{const l=Y5(e);a={x:o.x-l.x,y:o.y-l.y,width:o.width,height:o.height}}return xd(a)}function eS(e,o){const n=da(e);return n===o||!br(n)||yl(n)?!1:yr(n).position==="fixed"||eS(n,o)}function i8(e,o){const n=o.get(e);if(n)return n;let a=K5(e,[]).filter(d=>br(d)&&Al(d)!=="body"),l=null;const c=yr(e).position==="fixed";let u=c?da(e):e;for(;br(u)&&!yl(u);){const d=yr(u),h=mm(u);!h&&d.position==="fixed"&&(l=null),(c?!h&&!l:!h&&d.position==="static"&&!!l&&(l.position==="absolute"||l.position==="fixed")||pc(u)&&!h&&eS(e,u))?a=a.filter(v=>v!==u):l=d,u=da(u)}return o.set(e,a),a}function l8(e){let{element:o,boundary:n,rootBoundary:a,strategy:l}=e;const u=[...n==="clippingAncestors"?Gd(o)?[]:i8(o,this._c):[].concat(n),a],d=dx(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 B=dx(o,u[w],l);h=tr(B.top,h),p=Ya(B.right,p),v=Ya(B.bottom,v),m=tr(B.left,m)}return{width:p-m,height:v-h,x:m,y:h}}function s8(e){const{width:o,height:n}=Z5(e);return{width:o,height:n}}function c8(e,o,n){const a=Sn(o),l=wn(o),c=n==="fixed",u=Ks(e,!0,c,o);let d={scrollLeft:0,scrollTop:0};const h=Or(0);function p(){h.x=Xd(l)}if(a||!a&&!c)if((Al(o)!=="body"||pc(l))&&(d=Wd(o)),a){const B=Ks(o,!0,c,o);h.x=B.x+o.clientLeft,h.y=B.y+o.clientTop}else l&&p();c&&!a&&l&&p();const v=l&&!a&&!c?J5(l,d):Or(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 qp(e){return yr(e).position==="static"}function fx(e,o){if(!Sn(e)||yr(e).position==="fixed")return null;if(o)return o(e);let n=e.offsetParent;return wn(e)===n&&(n=n.ownerDocument.body),n}function tS(e,o){const n=Ro(e);if(Gd(e))return n;if(!Sn(e)){let l=da(e);for(;l&&!yl(l);){if(br(l)&&!qp(l))return l;l=da(l)}return n}let a=fx(e,o);for(;a&&KR(a)&&qp(a);)a=fx(a,o);return a&&yl(a)&&qp(a)&&!mm(a)?n:a||YR(e)||n}const u8=async function(e){const o=this.getOffsetParent||tS,n=this.getDimensions,a=await n(e.floating);return{reference:c8(e.reference,await o(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function d8(e){return yr(e).direction==="rtl"}const f8={convertOffsetParentRelativeRectToViewportRelativeRect:t8,getDocumentElement:wn,getClippingRect:l8,getOffsetParent:tS,getElementRects:u8,getClientRects:o8,getDimensions:s8,getScale:Yi,isElement:br,isRTL:d8},h8=G5,p8=GR,g8=WR,m8=LR,v8=$R,hx=UR,b8=IR,px=XR,y8=(e,o,n)=>{const a=new Map,l={platform:f8,...n},c={...l.platform,_c:a};return PR(e,o,{...l,platform:c})};function oS(e){const o=e.split("-");return{side:o[0],alignment:o[1]}}const x8=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,w8=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):{}},$d=e=>{const o=e&&x8(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}=w8(o);return/(auto|scroll|overlay)/.test(n+l+a)?o:$d(o)},S8=e=>{var o;const n=$d(e);return n?n!==((o=n.ownerDocument)===null||o===void 0?void 0:o.body):!1};function bm(e,o){if(o==="window")return e==null?void 0:e.ownerDocument.documentElement;if(o==="clippingParents")return"clippingAncestors";if(o==="scrollParent"){let n=$d(e);return n.nodeName==="BODY"&&(n=e==null?void 0:e.ownerDocument.documentElement),n}return o}function rS(e,o){return typeof e=="number"||typeof e=="object"&&e!==null?Hp(e,o):typeof e=="function"?n=>{const a=e(n);return Hp(a,o)}:{mainAxis:o}}const Hp=(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 nS(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 k8=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),B8=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),_8=(e,o)=>{const n=e==="above"||e==="below",a=o==="top"||o==="bottom";return n&&a||!n&&!a},aS=(e,o,n)=>{const a=_8(o,e)?"center":e,l=o&&k8(n)[o],c=a&&B8()[a];return l&&c?`${l}-${c}`:l},C8=()=>({top:"above",bottom:"below",right:"after",left:"before"}),z8=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},N8=e=>{const{side:o,alignment:n}=oS(e),a=C8()[o],l=n&&z8(a)[n];return{position:a,alignment:l}},T8={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 Ml(e){return e==null?{}:typeof e=="string"?T8[e]:e}function Pp(e,o,n){const a=b.useRef(!0),[l]=b.useState(()=>({value:e,callback:o,facade:{get current(){return l.value},set current(c){const u=l.value;u!==c&&(l.value=c,l.callback(c,u))}}}));return Dt(()=>{a.current=!1},[]),l.callback=o,l.facade}function j8(e){let o;return()=>(o||(o=new Promise(n=>{Promise.resolve().then(()=>{o=void 0,n(e())})})),o)}function E8(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 R8(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(tx),u.intersectionObserver.intersecting&&l.setAttribute(tx,""),l.removeAttribute(ox),!((o=u.hide)===null||o===void 0)&&o.escaped&&l.setAttribute(ox,""),l.removeAttribute(rx),!((n=u.hide)===null||n===void 0)&&n.referenceHidden&&l.setAttribute(rx,"");const m=((a=l.ownerDocument.defaultView)===null||a===void 0?void 0:a.devicePixelRatio)||1,w=Math.round(p.x*m)/m,B=Math.round(p.y*m)/m;if(Object.assign(l.style,{position:d}),v){Object.assign(l.style,{transform:h?`translate(${w}px, ${B}px)`:`translate3d(${w}px, ${B}px, 0)`});return}Object.assign(l.style,{left:`${w}px`,top:`${B}px`})}const A8=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 gx(e){const o=[];let n=e;for(;n;){const a=$d(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 M8(e,o){return new e.ResizeObserver(o)}function D8(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:M8(v,_=>{_.every(C=>C.contentRect.width>0&&C.contentRect.height>0)&&x()});let w=!0;const B=new Set;Object.assign(n.style,{position:"fixed",left:0,top:0,margin:0});const k=()=>{o||(w&&(gx(n).forEach(_=>B.add(_)),vr(a)&&gx(a).forEach(_=>B.add(_)),B.forEach(_=>{_.addEventListener("scroll",x,{passive:!0})}),m==null||m.observe(n),vr(a)&&(m==null||m.observe(a)),w=!1),Object.assign(n.style,{position:c}),y8(a,n,{placement:d,middleware:u,strategy:c}).then(({x:_,y:E,middlewareData:C,placement:T})=>{o||(E8({arrow:l,middlewareData:C}),R8({container:n,middlewareData:C,placement:T,coordinates:{x:_,y:E},lowPPI:((v==null?void 0:v.devicePixelRatio)||1)<=1,strategy:c,useTransform:h}),n.dispatchEvent(new CustomEvent(wg,{detail:{placement:T}})))}).catch(_=>{}))},x=j8(()=>k()),z=()=>{o=!0,v&&(v.removeEventListener("scroll",x),v.removeEventListener("resize",x)),B.forEach(_=>{_.removeEventListener("scroll",x)}),B.clear(),m==null||m.disconnect()};return v&&(v.addEventListener("scroll",x,{passive:!0}),v.addEventListener("resize",x)),x(),{updatePosition:x,dispose:z}}function O8(){return{name:"coverTarget",fn:e=>{const{placement:o,rects:n,x:a,y:l}=e,c=oS(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 F8(e){const{hasScrollableElement:o,flipBoundary:n,container:a,fallbackPositions:l=[],isRtl:c}=e,u=l.reduce((d,h)=>{const{position:p,align:v}=Ml(h),m=aS(v,p,c);return m&&d.push(m),d},[]);return m8({...o&&{boundary:"clippingAncestors"},...n&&{altBoundary:!0,boundary:bm(a,n)},fallbackStrategy:"bestFit",...u.length&&{fallbackPlacements:u}})}function q8(){return{name:"intersectionObserver",fn:async e=>{const o=e.rects.floating,n=await h8(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 H8=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 P8(e,o){const{container:n,overflowBoundary:a,overflowBoundaryPadding:l,isRtl:c}=o;return v8({...l&&{padding:nS(l,c)},...a&&{altBoundary:!0,boundary:bm(n,a)},apply({availableHeight:u,availableWidth:d,elements:h,rects:p}){const v=(B,k,x)=>{if(B&&(h.floating.style.setProperty("box-sizing","border-box"),h.floating.style.setProperty(`max-${k}`,`${x}px`),p.floating[k]>x)){h.floating.style.setProperty(k,`${x}px`);const z=k==="width"?"x":"y";h.floating.style.getPropertyValue(`overflow-${z}`)||h.floating.style.setProperty(`overflow-${z}`,"auto")}},{applyMaxWidth:m,applyMaxHeight:w}=e;v(m,"width",d),v(w,"height",u)}})}function I8(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:o,reference:n},placement:a})=>{const{position:l,alignment:c}=N8(a);return e({positionedRect:o,targetRect:n,position:l,alignment:c})}}function L8(e){const o=I8(e);return p8(o)}function U8(e){const{hasScrollableElement:o,shiftToCoverTarget:n,disableTether:a,overflowBoundary:l,container:c,overflowBoundaryPadding:u,isRtl:d}=e;return g8({...o&&{boundary:"clippingAncestors"},...n&&{crossAxis:!0,limiter:px({crossAxis:!0,mainAxis:!1})},...a&&{crossAxis:a==="all",limiter:px({crossAxis:a!=="all",mainAxis:!1})},...u&&{padding:nS(u,d)},...l&&{altBoundary:!0,boundary:bm(c,l)}})}const mx="--fui-match-target-size";function V8(){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(mx,`${c}px`),a.style.width||(a.style.width=`var(${mx})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function G8(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:B,overflowBoundaryPadding:k,fallbackPositions:x,useTransform:z,matchTargetSize:_,shiftToCoverTarget:E}=o;return b.useCallback((C,T)=>e({container:C,arrow:T,options:{autoSize:l,disableUpdateOnResize:u,matchTargetSize:_,offset:h,strategy:B,coverTarget:c,flipBoundary:d,overflowBoundary:p,useTransform:z,overflowBoundaryPadding:k,pinned:v,arrowPadding:a,align:n,fallbackPositions:x,shiftToCoverTarget:E,position:m,unstable_disableTether:w}}),[l,u,_,h,B,c,d,p,z,k,v,a,n,x,E,m,w,e])}function W8(e){const{dir:o,targetDocument:n}=Ze(),a=o==="rtl",l=G8(TR(),e),{positionFixed:c}=e;return b.useCallback((u,d)=>{const h=S8(u),p=l(u,d),{autoSize:v,disableUpdateOnResize:m,matchTargetSize:w,offset:B,coverTarget:k,flipBoundary:x,overflowBoundary:z,useTransform:_,overflowBoundaryPadding:E,pinned:C,position:T,arrowPadding:j,strategy:R,align:F,fallbackPositions:O,shiftToCoverTarget:X,unstable_disableTether:ee}=p,he=A8(v),ie=[he&&H8(he),w&&V8(),B&&L8(B),k&&O8(),!C&&F8({container:u,flipBoundary:x,hasScrollableElement:h,isRtl:a,fallbackPositions:O}),U8({container:u,hasScrollableElement:h,overflowBoundary:z,disableTether:ee,overflowBoundaryPadding:E,isRtl:a,shiftToCoverTarget:X}),he&&P8(he,{container:u,overflowBoundary:z,overflowBoundaryPadding:E,isRtl:a}),q8(),d&&b8({element:d,padding:j}),hx({strategy:"referenceHidden"}),hx({strategy:"escaped"}),!1].filter(Boolean);return{placement:aS(F,T,a),middleware:ie,strategy:R??c?"fixed":"absolute",disableUpdateOnResize:m,useTransform:_}},[l,a,n,c])}function Kd(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=W8(e),h=b.useCallback(()=>{o.current&&o.current.dispose(),o.current=null;var k;const x=(k=a.current)!==null&&k!==void 0?k:n.current;u&&Dd()&&x&&l.current&&(o.current=D8({container:l.current,target:x,arrow:c.current,...d(l.current,c.current)}))},[u,d]),p=ge(k=>{a.current=k,h()});b.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var k;return(k=o.current)===null||k===void 0?void 0:k.updatePosition()},setTarget:k=>{e.target,p(k)}}),[e.target,p]),Dt(()=>{var k;p((k=e.target)!==null&&k!==void 0?k:null)},[e.target,p]),Dt(()=>{h()},[h]);const v=Pp(null,k=>{n.current!==k&&(n.current=k,h())}),m=ge(k=>{var x;return(x=e.onPositioningEnd)===null||x===void 0?void 0:x.call(e,k)}),w=Pp(null,k=>{if(l.current!==k){var x;(x=l.current)===null||x===void 0||x.removeEventListener(wg,m),k==null||k.addEventListener(wg,m),l.current=k,h()}}),B=Pp(null,k=>{c.current!==k&&(c.current=k,h())});return{targetRef:v,containerRef:w,arrowRef:B}}const iS=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 X8(){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 Ip={exports:{}},Lp={};/**
134
134
  * @license React
135
135
  * use-sync-external-store-shim.production.js
136
136
  *
@@ -138,4 +138,4 @@ Please change the parent <Route path="${_}"> to <Route path="${_==="/"?"*":`${_}
138
138
  *
139
139
  * This source code is licensed under the MIT license found in the
140
140
  * LICENSE file in the root directory of this source tree.
141
- */var mx;function W8(){if(mx)return Lp;mx=1;var e=_d();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 B=w(),k=a({inst:{value:B,getSnapshot:w}}),x=k[0].inst,C=k[1];return c(function(){x.value=B,x.getSnapshot=w,h(x)&&C({inst:x})},[m,B,w]),l(function(){return h(x)&&C({inst:x}),m(function(){h(x)&&C({inst:x})})},[m]),u(B),B}function h(m){var w=m.getSnapshot;m=m.value;try{var B=w();return!n(m,B)}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 Lp.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,Lp}var vx;function X8(){return vx||(vx=1,Ip.exports=W8()),Ip.exports}var $8=X8();function bx(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 yx=20;function a5(e,o){return Math.sqrt((e[0]-o[0])**2+(e[1]-o[1])**2)}function K8(e,o){const n=a5(e,o);return n===0?[0,0]:[(e[0]-o[0])/n,(e[1]-o[1])/n]}function Q8(e,o,n){const a=[(e[0]+o[0])/2,(e[1]+o[1])/2],l=K8([n[0],n[1]],[a[0],a[1]]),c=a5([a[0],a[1]],[n[0],n[1]]);return[a[0]+l[0]*(c+yx),a[1]+l[1]*(c+yx)]}function Lu(e){return`M ${e} z`}const Z8=ve({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},triangle:{Bkecrkj:"f1cguypg"},triangleDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function xx(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 Y8(e,o,n,a){let l=`M 0,0 H ${e} V ${o} H 0 Z `;return l+=xx(n),l+=xx(a),l}const wx={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON(){return""}};function Sx(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 J8(e,o){return e[0]===o[0]&&e[1]===o[1]}const e7=b.memo(e=>{const{debug:o,onMouseEnter:n,onMouseMove:a,onMouseLeave:l,stateStore:c}=e,u=Yt(),d=Z8(),h=$8.useSyncExternalStore(c.subscribe,c.isActive),p=b.useRef(null),[v,m]=b.useState(()=>({containerRect:wx,targetRect:wx,mouseCoordinates:[0,0]}));b.useImperativeHandle(e.imperativeRef,()=>({updateSVG(le){m(Q=>Sx(Q.containerRect,le.containerRect)&&Sx(Q.targetRect,le.targetRect)&&J8(Q.mouseCoordinates,le.mouseCoordinates)?Q:le)}}),[]);const{containerRect:w,targetRect:B,mouseCoordinates:k}=v,x=Math.min(B.top,w.top),C=Math.min(B.left,w.left),_=Math.max(B.bottom,w.bottom),j=Math.max(B.right,w.right),z=bx(w,[C,x]),T=bx(B,[C,x]),E=[k[0]-C,k[1]-x],R=Q8(z.topLeft,z.bottomRight,E),F=[R,z.topLeft,z.topRight],O=[R,z.topRight,z.bottomRight],X=[R,z.bottomRight,z.bottomLeft],ee=[R,z.bottomLeft,z.topLeft],he=j-C,ie=_-x,ue=Y8(he,ie,{x:T.topLeft[0],y:T.topLeft[1],width:B.width,height:B.height},{x:z.topLeft[0],y:z.topLeft[1],width:w.width,height:w.height});return b.createElement("div",{className:de(d.wrapper,h&&d.wrapperActive),"data-safe-zone":""},h?b.createElement("svg",{"aria-hidden":!0,className:d.svg,xmlns:"http://www.w3.org/2000/svg",ref:p,style:{width:`${he}px`,height:`${ie}px`,transform:`translate(${C}px, ${x}px)`}},b.createElement("g",{className:de(d.triangle,o&&d.triangleDebug),clipPath:`url(#${u})`,onMouseEnter:n,onMouseMove:a,onMouseLeave:l},b.createElement("path",{d:Lu(F)}),b.createElement("path",{d:Lu(O)}),b.createElement("path",{d:Lu(X)}),b.createElement("path",{d:Lu(ee)})),b.createElement("clipPath",{id:u},b.createElement("path",{d:ue})),o&&b.createElement("path",{className:d.rectDebug,d:ue})):null)}),t7=2e3;function o7({debug:e=!1,disabled:o=!1,onSafeZoneEnter:n,onSafeZoneMove:a,onSafeZoneLeave:l,onSafeZoneTimeout:c,timeout:u=1500}={}){const[d]=b.useState(G8),h=b.useRef(null),p=b.useRef(null),v=b.useRef(null),[m,w]=zl(),[B,k]=dC(),x=b.useRef({x:0,y:0}),C=b.useMemo(()=>{if(o)return()=>{};let E=null;function R(){w(),d.toggleActive(!1)}return F=>{F===null&&(E==null||E.removeEventListener("mouseenter",R)),E=F,F==null||F.addEventListener("mouseenter",R)}},[w,o,d]),_=b.useMemo(()=>{if(o)return()=>{};let E=null;function R(F){x.current={x:F.clientX,y:F.clientY},d.isActive()||d.toggleActive(!0),m(()=>{d.toggleActive(!1)},t7)}return F=>{F===null&&(k(),w(),E==null||E.removeEventListener("mousemove",R)),E=F,F==null||F.addEventListener("mousemove",R)}},[k,w,o,d,m]),j=ge(E=>{n==null||n(E),m(()=>{d.toggleActive(!1),c==null||c()},u)}),z=ge(E=>{m(()=>{d.toggleActive(!1),c==null||c()},u),a==null||a(E)}),T=ge(E=>{l==null||l(E)});return b.useEffect(()=>d.subscribe(E=>{if(E){let F=function(){const O=p.current,X=v.current;if(O&&X){var ee;(ee=h.current)===null||ee===void 0||ee.updateSVG({containerRect:O.getBoundingClientRect(),mouseCoordinates:[x.current.x,x.current.y],targetRect:X.getBoundingClientRect()})}B(F)};var R=F;F();return}k()}),[k,B,d]),{containerRef:it(p,C),targetRef:it(v,_),elementToRender:b.useMemo(()=>o?null:b.createElement(e7,{debug:e,onMouseEnter:j,onMouseMove:z,onMouseLeave:T,imperativeRef:h,stateStore:d}),[o,e,j,z,T,d])}}const bm=ei(void 0),i5={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};bm.Provider;const Gt=e=>Tl(bm,(o=i5)=>e(o)),r7=(e,o)=>{const n=Gt(u=>u.size),a=Gt(u=>u.appearance),l=Ld(),c=n7(e,it(o,l));return{appearance:a,size:n,...c}},n7=(e,o)=>{const n=Gt(C=>C.contentRef),a=Gt(C=>C.openOnHover),l=Gt(C=>C.setOpen),c=Gt(C=>C.mountNode),u=Gt(C=>C.arrowRef),d=Gt(C=>C.withArrow),h=Gt(C=>C.trapFocus),p=Gt(C=>C.inertTrapFocus),v=Gt(C=>C.inline),{modalAttributes:m}=Id({trapFocus:h,legacyTrapFocus:!p,alwaysFocusable:!h}),w={inline:v,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ne({ref:it(o,n),role:h?"dialog":"group","aria-modal":h?!0:void 0,...m,...e},{elementType:"div"})},{onMouseEnter:B,onMouseLeave:k,onKeyDown:x}=w.root;return w.root.onMouseEnter=C=>{a&&l(C,!0),B==null||B(C)},w.root.onMouseLeave=C=>{a&&l(C,!1),k==null||k(C)},w.root.onKeyDown=C=>{var _;C.key==="Escape"&&(!((_=n.current)===null||_===void 0)&&_.contains(C.target))&&(C.preventDefault(),l(C,!1)),x==null||x(C)},w};function a7(e){return vr(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const i7=nd.useInsertionEffect?nd.useInsertionEffect:Mt,l5=Symbol.for("fui-portal-style-ref-count"),l7="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",s5="fui-portal-styles";function c5(e){var o;return(o=e[l5])!==null&&o!==void 0?o:0}function Bg(e,o){e[l5]=o}function s7(e){var o;const n=c5(e);if(n>0){Bg(e,n+1);return}const a=e.createElement("style");a.id=s5,e.head.prepend(a),(o=a.sheet)===null||o===void 0||o.insertRule(l7),Bg(e,1)}function c7(e){const o=c5(e);if(o===0)return;const n=o-1;if(n===0){var a;(a=e.head.querySelector(`#${s5}`))===null||a===void 0||a.remove()}Bg(e,n)}function u7(e){const{targetDocument:o}=Qe();i7(()=>{if(!(e||!o))return s7(o),()=>c7(o)},[e,o])}const u5=nd.useInsertionEffect,d7=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},f7=()=>{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}},h7=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,[c]=b.useState(f7),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 u5(()=>{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},p7=u5?h7:d7,g7=e=>{"use no memo";const{targetDocument:o,dir:n}=Qe(),a=lC(),l=Uw(),c=Yz(),u={dir:n,disabled:e.disabled,focusVisibleRef:l,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(o==null?void 0:o.body)};return u7(e.disabled),p7(u)},m7=e=>{const{element:o,className:n}=a7(e.mountNode),a=b.useRef(null),l=g7({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 Ty(c,d),()=>{Ty(c,void 0)}},[a,c]),u},v7=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Xp.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),Ml=e=>{const o=m7(e);return v7(o)};Ml.displayName="Portal";const b7=e=>{const o=lt(e.root,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?o:ne(Ml,{mountNode:e.mountNode,children:o})},y7={root:"fui-PopoverSurface"},x7={small:6,medium:8,large:8},w7=ve({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),S7=e=>{"use no memo";const o=w7();return e.root.className=de(y7.root,o.root,e.inline&&o.inline,e.size==="small"&&o.smallPadding,e.size==="medium"&&o.mediumPadding,e.size==="large"&&o.largePadding,e.appearance==="inverted"&&o.inverted,e.appearance==="brand"&&o.brand,e.root.className),e.arrowClassName=de(o.arrow,e.size==="small"?o.smallArrow:o.mediumLargeArrow),e},d5=b.forwardRef((e,o)=>{const n=r7(e,o);return S7(n),Xe("usePopoverSurfaceStyles_unstable")(n),b7(n)});d5.displayName="PopoverSurface";const k7=4,kx=Ie.durationSlower,Bx=Ie.curveDecelerateMid,_x=jl(({distance:e=10})=>({enter:[ua({duration:kx,easing:Bx,direction:"enter"}),{...qS({duration:kx,easing:Bx,direction:"enter",outX:`calc(var(${md}, 0px) * ${e})`,outY:`calc(var(${vd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),B7=e=>{const{appearance:o,size:n="medium"}=e,a=Dl(e.positioning),l=e.withArrow&&!a.coverTarget,{targetDocument:c}=Qe(),u=PS({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=_7({...e,positioning:{...a,onPositioningEnd:u,...l?{offset:t5(a.offset,x7[n])}:{}}});return{components:{surfaceMotion:_x},appearance:o,size:n,...d,surfaceMotion:hc(e.surfaceMotion,{elementType:_x,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},_7=e=>{const[o,n]=n5(),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]=z7(a),[p,v]=zl(),m=ge((E,R)=>{if(v(),!(E instanceof Event)&&E.persist&&E.persist(),E.type==="mouseleave"){var F;p(()=>{h(E,R)},(F=e.mouseLeaveDelay)!==null&&F!==void 0?F:500)}else h(E,R)}),w=b.useCallback(E=>{m(E,!d)},[m,d]),B=C7(a),{targetDocument:k}=Qe();var x;Yg({contains:Us,element:k,callback:E=>m(E,!1),refs:[B.triggerRef,B.contentRef],disabled:!d,disabledFocusOnIframe:!(!((x=e.closeOnIframeFocus)!==null&&x!==void 0)||x)});const C=a.openOnContext||a.closeOnScroll;Sw({contains:Us,element:k,callback:E=>m(E,!1),refs:[B.triggerRef,B.contentRef],disabled:!d||!C});const{findFirstFocusable:_}=uc(),j=mT();b.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const E=B.contentRef.current;if(d&&E){var R;const F=!isNaN((R=E.getAttribute("tabIndex"))!==null&&R!==void 0?R:void 0),O=F?E:_(E);O==null||O.focus(),F&&j(E)}},[_,j,d,B.contentRef,e.unstable_disableAutoFocus]);var z,T;return{...a,...B,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 z7(e){"use no memo";const o=ge((u,d)=>{var h;return(h=e.onOpenChange)===null||h===void 0?void 0:h.call(e,u,d)}),[n,a]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=n!==void 0?n:e.open;const l=e.setContextTarget,c=b.useCallback((u,d)=>{d&&u.type==="contextmenu"&&l(u),d||l(void 0),a(d),o==null||o(u,{open:d})},[a,o,l]);return[n,c]}function C7(e){"use no memo";const o={position:"above",align:"center",arrowPadding:2*k7,target:e.openOnContext?e.contextTarget:void 0,...Dl(e.positioning)};o.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:l}=Kd(o);return{triggerRef:n,contentRef:a,arrowRef:l}}function N7(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:B,withArrow:k,inertTrapFocus:x}=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:B,withArrow:k,inertTrapFocus:x}),[o,n,a,l,c,u,d,h,p,v,m,w,B,k,x])}}const T7=(e,o)=>{var n;return lt(bm.Provider,{value:(n=o==null?void 0:o.popover)!==null&&n!==void 0?n:i5,children:[e.popoverTrigger,e.popoverSurface&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.popoverSurface})})]})},f5=e=>{const o=B7(e),n=N7(o);return T7(o,n)};f5.displayName="Popover";const E7=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=cc(o),l=Gt(z=>z.open),c=Gt(z=>z.setOpen),u=Gt(z=>z.toggleOpen),d=Gt(z=>z.triggerRef),h=Gt(z=>z.openOnHover),p=Gt(z=>z.openOnContext),{triggerAttributes:v}=Id(),m=z=>{p&&(z.preventDefault(),c(z,!0))},w=z=>{p||u(z)},B=z=>{z.key===El&&l&&!z.isDefaultPrevented()&&(c(z,!1),z.preventDefault())},k=z=>{h&&c(z,!0)},x=z=>{h&&c(z,!1)},C={...v,"aria-expanded":`${l}`,...a==null?void 0:a.props,onMouseEnter:ge(Ae(a==null?void 0:a.props.onMouseEnter,k)),onMouseLeave:ge(Ae(a==null?void 0:a.props.onMouseLeave,x)),onContextMenu:ge(Ae(a==null?void 0:a.props.onContextMenu,m)),ref:it(d,sc(a))},_={...C,onClick:ge(Ae(a==null?void 0:a.props.onClick,w)),onKeyDown:ge(Ae(a==null?void 0:a.props.onKeyDown,B))},j=Za((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",_);return{children:Od(e.children,Za((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",p?C:n?_:j))}},j7=e=>e.children,ym=e=>{const o=E7(e);return j7(o)};ym.displayName="PopoverTrigger";ym.isFluentTriggerComponent=!0;const R7=6,A7=4,D7=e=>-1,M7=e=>{};function O7(e){const{targetDocument:o}=Qe(),n=o==null?void 0:o.defaultView,a=n?n.setTimeout:D7,l=n?n.clearTimeout:M7,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 F7=e=>{"use no memo";var o,n,a,l,c,u,d;const h=tC(),p=mC(),{targetDocument:v}=Qe(),[m,w]=Ao({state:e.visible,initialState:!1}),{children:B,content:k,withArrow:x=!1,positioning:C="above",onVisibleChange:_,relationship:j,showDelay:z=250,hideDelay:T=250,mountNode:E}=e,R={withArrow:x,positioning:C,showDelay:z,hideDelay:T,relationship:j,visible:m,shouldRenderTooltip:m,mountNode:E,components:{content:"div"},content:Ne(k,{defaultProps:{role:"tooltip"},elementType:"div"})};R.content.id=Yt("tooltip-",R.content.id);const F={enabled:R.visible,arrowPadding:2*A7,position:"above",align:"center",offset:4,...Dl(R.positioning)};R.withArrow&&(F.offset=t5(F.offset,R7));const{targetRef:O,containerRef:X,arrowRef:ee}=Kd(F),[he,ie]=O7(X),ue=b.useCallback((U,J)=>{ie(),w(se=>(J.visible!==se&&(_==null||_(U,J)),J.visible))},[ie,w,_]);R.content.ref=it(R.content.ref,X),R.arrowRef=ee,Mt(()=>{if(m){var U;const J={hide:me=>ue(void 0,{visible:!1,documentKeyboardEvent:me})};(U=h.visibleTooltip)===null||U===void 0||U.hide(),h.visibleTooltip=J;const se=me=>{me.key===El&&!me.defaultPrevented&&(J.hide(me),me.preventDefault())};return v==null||v.addEventListener("keydown",se,{capture:!0}),()=>{h.visibleTooltip===J&&(h.visibleTooltip=void 0),v==null||v.removeEventListener("keydown",se,{capture:!0})}}},[h,v,m,ue]);const le=b.useRef(!1),Q=b.useCallback(U=>{if(U.type==="focus"&&le.current){le.current=!1;return}const J=h.visibleTooltip?0:R.showDelay;he(()=>{ue(U,{visible:!0})},J),U.persist()},[he,ue,R.showDelay,h]),L=pT(),[te]=b.useState(()=>{const U=se=>{var me;!((me=se.detail)===null||me===void 0)&&me.isFocusedProgrammatically&&!L()&&(le.current=!0)};let J=null;return se=>{J==null||J.removeEventListener(Do,U),se==null||se.addEventListener(Do,U),J=se}}),oe=b.useCallback(U=>{let J=R.hideDelay;U.type==="blur"&&(J=0,le.current=(v==null?void 0:v.activeElement)===U.target),he(()=>{ue(U,{visible:!1})},J),U.persist()},[he,ue,R.hideDelay,v]);R.content.onPointerEnter=Ae(R.content.onPointerEnter,ie),R.content.onPointerLeave=Ae(R.content.onPointerLeave,oe),R.content.onFocus=Ae(R.content.onFocus,ie),R.content.onBlur=Ae(R.content.onBlur,oe);const fe=cc(B),Se={},q=(fe==null||(o=fe.props)===null||o===void 0?void 0:o["aria-haspopup"])&&((fe==null||(n=fe.props)===null||n===void 0?void 0:n["aria-expanded"])===!0||(fe==null||(a=fe.props)===null||a===void 0?void 0:a["aria-expanded"])==="true");return j==="label"?typeof R.content.children=="string"?Se["aria-label"]=R.content.children:(Se["aria-labelledby"]=R.content.id,R.shouldRenderTooltip=!0):j==="description"&&(Se["aria-describedby"]=R.content.id,R.shouldRenderTooltip=!0),(p||q)&&(R.shouldRenderTooltip=!1),R.children=Od(B,{...Se,...fe==null?void 0:fe.props,ref:it(sc(fe),te,F.target===void 0?O:void 0),onPointerEnter:ge(Ae(fe==null||(l=fe.props)===null||l===void 0?void 0:l.onPointerEnter,Q)),onPointerLeave:ge(Ae(fe==null||(c=fe.props)===null||c===void 0?void 0:c.onPointerLeave,oe)),onFocus:ge(Ae(fe==null||(u=fe.props)===null||u===void 0?void 0:u.onFocus,Q)),onBlur:ge(Ae(fe==null||(d=fe.props)===null||d===void 0?void 0:d.onBlur,oe))}),R},q7=e=>{"use no memo";const{appearance:o="normal",...n}=e,a=F7(n);return{appearance:o,...a}},H7=e=>lt(b.Fragment,{children:[e.children,e.shouldRenderTooltip&&ne(Ml,{mountNode:e.mountNode,children:lt(e.content,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),P7={content:"fui-Tooltip__content"},I7=ve({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),L7=e=>{"use no memo";const o=I7();return e.content.className=de(P7.content,o.root,e.appearance==="inverted"&&o.inverted,e.visible&&o.visible,e.content.className),e.arrowClassName=o.arrow,e},Qd=e=>{const o=q7(e);return L7(o),Xe("useTooltipStyles_unstable")(o),H7(o)};Qd.displayName="Tooltip";Qd.isFluentTriggerComponent=!0;const U7=e=>{const{iconOnly:o,iconPosition:n}=e;return lt(e.root,{children:[n!=="after"&&e.icon&&ne(e.icon,{}),!o&&e.root.children,n==="after"&&e.icon&&ne(e.icon,{})]})},h5=b.createContext(void 0),V7={};h5.Provider;const G7=()=>{var e;return(e=b.useContext(h5))!==null&&e!==void 0?e:V7},W7=(e,o)=>{const{size:n}=G7(),{appearance:a="secondary",shape:l="rounded",size:c=n??"medium",...u}=e,d=X7(u,o);return{appearance:a,shape:l,size:c,...d}},X7=(e,o)=>{const{icon:n,iconPosition:a="before",...l}=e,c=De(n,{elementType:"span"});var u,d;return{disabled:(u=e.disabled)!==null&&u!==void 0?u:!1,disabledFocusable:(d=e.disabledFocusable)!==null&&d!==void 0?d:!1,iconPosition:a,iconOnly:!!(c!=null&&c.children&&!e.children),components:{root:"button",icon:"span"},root:Ne(Za(l.as,l),{elementType:"button",defaultProps:{ref:o,type:e.as!=="a"?"button":void 0}}),icon:c}},zx={root:"fui-Button",icon:"fui-Button__icon"},$7=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;}}"]}),K7=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);}"]),Q7=ve({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),Z7=ve({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Y7=ve({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),J7=ve({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),e9=ve({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),t9=e=>{"use no memo";const o=$7(),n=K7(),a=Q7(),l=Z7(),c=Y7(),u=J7(),d=e9(),{appearance:h,disabled:p,disabledFocusable:v,icon:m,iconOnly:w,iconPosition:B,shape:k,size:x}=e;return e.root.className=de(zx.root,o,h&&a[h],a[x],m&&x==="small"&&a.smallWithIcon,m&&x==="large"&&a.largeWithIcon,a[k],(p||v)&&l.base,(p||v)&&l.highContrast,h&&(p||v)&&l[h],h==="primary"&&c.primary,c[x],c[k],w&&u[x],e.root.className),e.icon&&(e.icon.className=de(zx.icon,n,!!e.root.children&&d[B],d[x],e.icon.className)),e},et=b.forwardRef((e,o)=>{const n=W7(e,o);return t9(n),Xe("useButtonStyles_unstable")(n),U7(n)});et.displayName="Button";const p5=b.createContext(void 0),o9=p5.Provider,r9=()=>b.useContext(p5),n9=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,B=(l=e.hint)===null||l===void 0?void 0:l.id;return{field:b.useMemo(()=>({generatedControlId:c,hintId:B,labelFor:v,labelId:m,orientation:u,required:d,size:h,validationMessageId:w,validationState:p}),[c,B,v,m,u,d,h,w,p])}};function ti(e,o){return g5(r9(),e,o)}function g5(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,B,k;(k=(w=o)[B="aria-labelledby"])!==null&&k!==void 0||(w[B]=u)}if((h||l)&&(o["aria-describedby"]=[h,l,o==null?void 0:o["aria-describedby"]].filter(Boolean).join(" ")),p==="error"){var x,C,_;(_=(x=o)[C="aria-invalid"])!==null&&_!==void 0||(x[C]=!0)}if(d)if(n!=null&&n.supportsRequired){var j,z;(z=(j=o).required)!==null&&z!==void 0||(j.required=!0)}else{var T,E,R;(R=(T=o)[E="aria-required"])!==null&&R!==void 0||(T[E]=!0)}if(n!=null&&n.supportsSize){var F,O;(O=(F=o).size)!==null&&O!==void 0||(F.size=e.size)}return o}const a9=(e,o)=>{let{children:n}=e;return typeof n=="function"&&(n=n(g5(o.field)||{})),ne(o9,{value:o==null?void 0:o.field,children:lt(e.root,{children:[e.label&&ne(e.label,{}),n,e.validationMessage&&lt(e.validationMessage,{children:[e.validationMessageIcon&&ne(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&ne(e.hint,{})]})})},i9=(e,o)=>{const{weight:n="regular",size:a="medium",...l}=e,c=l9(l,o);return{weight:n,size:a,...c}},l9=(e,o)=>{const{disabled:n=!1,required:a=!1,...l}=e;return{disabled:n,required:De(a===!0?"*":a||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Ne(Et("label",{ref:o,...l}),{elementType:"label"})}},s9=e=>lt(e.root,{children:[e.root.children,e.required&&ne(e.required,{})]}),Cx={root:"fui-Label",required:"fui-Label__required"},c9=ve({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),u9=e=>{"use no memo";const o=c9();return e.root.className=de(Cx.root,o.root,e.disabled&&o.disabled,o[e.size],e.weight==="semibold"&&o.semibold,e.root.className),e.required&&(e.required.className=de(Cx.required,o.required,e.disabled&&o.disabled,e.required.className)),e},xr=b.forwardRef((e,o)=>{const n=i9(e,o);return u9(n),Xe("useLabelStyles_unstable")(n),s9(n)});xr.displayName="Label";const d9=(e,o)=>{const{children:n,required:a=!1,validationState:l=e.validationMessage?"error":"none"}=e,c=Yt("field-"),u=c+"__control",d=Ne(Et("div",{...e,ref:o},["children"]),{elementType:"div"}),h=De(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:a},elementType:"label"}),p=De(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:l==="error"||l==="warning"?"alert":void 0},elementType:"div"}),v=De(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),m=De(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"});return{children:n,generatedControlId:u,required:a,validationState:l,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:d,label:h,validationMessageIcon:m,validationMessage:p,hint:v}},f9={error:b.createElement(Rj,null),warning:b.createElement(Cj,null),success:b.createElement(Tj,null),none:void 0},h9=(e,o)=>{const{orientation:n="vertical",size:a="medium",...l}=e,c=d9(l,o),u=f9[c.validationState];return{...c,components:{...c.components,label:xr},label:De(e.label,{defaultProps:{size:a,...c.label},elementType:xr}),validationMessageIcon:De(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},As={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},p9=ve({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),g9=ve({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),m9=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);}"]),v9=ve({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),b9=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;}"]),y9=ve({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),x9=e=>{"use no memo";const{validationState:o,size:n}=e,a=e.orientation==="horizontal",l=p9();e.root.className=de(As.root,l.base,a&&l.horizontal,a&&!e.label&&l.horizontalNoLabel,e.root.className);const c=g9();e.label&&(e.label.className=de(As.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=b9(),d=y9();e.validationMessageIcon&&(e.validationMessageIcon.className=de(As.validationMessageIcon,u,o!=="none"&&d[o],e.validationMessageIcon.className));const h=m9(),p=v9();return e.validationMessage&&(e.validationMessage.className=de(As.validationMessage,h,o==="error"&&p.error,!!e.validationMessageIcon&&p.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=de(As.hint,h,e.hint.className)),e},m5=b.forwardRef((e,o)=>{const n=h9(e,o);x9(n),Xe("useFieldStyles_unstable")(n);const a=n9(n);return a9(n,a)});m5.displayName="Field";const w9=(e,o)=>{"use no memo";e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...l}=e,c=S9(l,o),u=c.checked==="mixed";let d;if(u?n==="circular"?d=b.createElement(sm,null):d=a==="large"?b.createElement(jj,null):b.createElement(Ej,null):c.checked&&(d=a==="large"?b.createElement(Nj,null):b.createElement(BS,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:xr},label:De(e.label,{defaultProps:{...c.label,size:"medium"},elementType:xr})}},S9=(e,o)=>{"use no memo";const{disabled:n=!1,required:a,labelPosition:l="after",onChange:c}=e,[u,d]=Ao({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),h=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=u==="mixed",v=Yt("checkbox-",h.primary.id),m={checked:u,disabled:n,labelPosition:l,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Ne(e.root,{defaultProps:{ref:om(),...h.root},elementType:"span"}),input:Ne(e.input,{defaultProps:{type:"checkbox",id:v,ref:o,checked:u===!0,...h.primary},elementType:"input"}),label:De(e.label,{defaultProps:{htmlFor:v,disabled:n,required:a},elementType:"label"}),indicator:De(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};m.input.onChange=Ae(m.input.onChange,B=>{const k=B.currentTarget.indeterminate?"mixed":B.currentTarget.checked;c==null||c(B,{checked:k}),d(k)});const w=it(m.input.ref);return m.input.ref=w,Mt(()=>{w.current&&(w.current.indeterminate=p)},[w,p]),m},k9=e=>lt(e.root,{children:[ne(e.input,{}),e.labelPosition==="before"&&e.label&&ne(e.label,{}),e.indicator&&ne(e.indicator,{}),e.labelPosition==="after"&&e.label&&ne(e.label,{})]}),Uu={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},B9=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;}}"]}),_9=ve({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),z9=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));}"]),C9=ve({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),N9=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;}"]),T9=ve({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),E9=ve({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),j9=e=>{"use no memo";const{checked:o,disabled:n,labelPosition:a,shape:l,size:c}=e,u=B9(),d=_9();e.root.className=de(Uu.root,u,n?d.disabled:o==="mixed"?d.mixed:o?d.checked:d.unchecked,e.root.className);const h=z9(),p=C9();e.input.className=de(Uu.input,h,c==="large"&&p.large,p[a],e.input.className);const v=N9(),m=T9();e.indicator&&(e.indicator.className=de(Uu.indicator,v,c==="large"&&m.large,l==="circular"&&m.circular,e.indicator.className));const w=E9();return e.label&&(e.label.className=de(Uu.label,w.base,w[c],w[a],e.label.className)),e},xm=b.forwardRef((e,o)=>{const n=w9(e,o);return j9(n),Xe("useCheckboxStyles_unstable")(n),k9(n)});xm.displayName="Checkbox";const v5=ei({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});v5.Provider;const R9={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},gc=ei(void 0),Eo=e=>Tl(gc,(o=R9)=>e(o)),A9=gc.Provider;function D9(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,B={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:h,size:p},k={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:m,onActiveDescendantChange:w},x=b.useMemo(()=>({controller:v}),[v]);return{combobox:B,activeDescendant:x,listbox:k}}function M9(e){const o=fc(gc),{getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:h}=e,p=Eo(x=>x.registerOption),v=Eo(x=>x.onOptionClick),m=Eo(x=>x.onActiveDescendantChange),B={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:o?p:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:v,onActiveDescendantChange:m},k=b.useMemo(()=>({controller:h}),[h]);return{listbox:B,activeDescendant:k}}function wd(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!==dn&&!c&&!u&&!h?"Type":n?l===Op&&c||l===Zi||!a&&l===dn?"CloseSelect":a&&l===dn?"Select":l===El?"Close":l===bg?"Next":l===Op?"Previous":l===qE?"First":l===FE?"Last":l===PE?"PageUp":l===HE?"PageDown":l===fS?"Tab":"None":l===bg||l===Op||l===Zi||l===dn?"Open":"None"}const b5=()=>{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}},y5=e=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:a}=e,[l,c]=Ao({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}},Sd={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},O9=ve({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),F9=e=>{"use no memo";const{disabled:o,multiselect:n,selected:a}=e,l=O9();return e.root.className=de(Sd.root,l.root,l.active,o&&l.disabled,a&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=de(Sd.checkIcon,l.checkIcon,n&&l.multiselectCheck,a&&l.selectedCheck,a&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,e.checkIcon.className)),e},Nx={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},q9=(e,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,l=b5(),{listboxRef:c,activeParentRef:u,controller:d}=vS({matchOption:le=>le.classList.contains(Sd.root)}),h=fc(gc),p=Eo(le=>le.onActiveDescendantChange),v=Eo(le=>le.getOptionById),m=Eo(le=>le.getOptionsMatchingValue),w=h?v:l.getOptionById,B=h?m:l.getOptionsMatchingValue,k=b.useMemo(()=>{let le=null;const Q=L=>{const te=L;p==null||p(te)};return L=>{if(!L){le==null||le.removeEventListener("activedescendantchange",Q);return}le=L,le.addEventListener("activedescendantchange",Q)}},[p]),[x,C]=b.useState(!1);Vw(C);const _=pS(),j=LE(),z=j?_.controller:d,{clearSelection:T,selectedOptions:E,selectOption:R}=y5(e),F=le=>{const Q=wd(le,{open:!0}),L=z.active(),te=L?w(L):null;switch(Q){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":le.preventDefault();break}switch(Q){case"Next":te?z.next():z.first();break;case"Previous":te?z.prev():z.first();break;case"PageUp":case"First":z.first();break;case"PageDown":case"Last":z.last();break;case"Select":case"CloseSelect":te&&R(le,te);break}},O=Eo(le=>le.selectedOptions),X=Eo(le=>le.selectOption),ee=h?{selectedOptions:O,selectOption:X,...Nx}:{selectedOptions:E,selectOption:R,...Nx};b.useEffect(()=>{if(!j){if(z.hideFocusVisibleAttributes(),!a)if(!n&&ee.selectedOptions.length>0){const le=B(Q=>Q===ee.selectedOptions[0]).pop();le!=null&&le.id&&z.focus(le.id)}else z.first();return()=>{z.blur()}}},[]);const he=b.useCallback(()=>{j||(z.showFocusVisibleAttributes(),x&&z.scrollActiveIntoView())},[z,j,x]),ie=b.useCallback(()=>{j||z.hideFocusVisibleAttributes()},[z,j]),ue={components:{root:"div"},root:Ne(Et("div",{ref:it(o,u,c,k),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!h,multiselect:n,clearSelection:T,activeDescendantController:z,onActiveDescendantChange:p,...l,...ee};return ue.root.onKeyDown=ge(Ae(ue.root.onKeyDown,F)),ue.root.onFocus=ge(Ae(ue.root.onFocus,he)),ue.root.onBlur=ge(Ae(ue.root.onBlur,ie)),ue},H9=(e,o)=>ne(hS,{value:o.activeDescendant,children:ne(gc.Provider,{value:o.listbox,children:ne(e.root,{})})}),P9={root:"fui-Listbox"},I9=ve({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),L9=e=>{"use no memo";const o=I9();return e.root.className=de(P9.root,o.root,e.root.className),e},wm=b.forwardRef((e,o)=>{const n=q9(e,o),a=M9(n);return L9(n),Xe("useListboxStyles_unstable")(n),H9(n,a)});wm.displayName="Listbox";function U9(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 V9=(e,o)=>{"use no memo";const n=G9(e,o);let a=b.createElement(mj,null);if(n.multiselect&&(a=n.selected?b.createElement(BS,null):""),n.checkIcon){var l,c;(c=(l=n.checkIcon).children)!==null&&c!==void 0||(l.children=a)}return n},G9=(e,o)=>{const{children:n,disabled:a,text:l,value:c}=e,u=b.useRef(null),d=U9(l,n),h=c??d,p=Yt("fluent-option",e.id),v=b.useMemo(()=>({id:p,disabled:a,text:d,value:h}),[p,a,d,h]),{controller:m}=pS(),w=Eo(z=>z.multiselect),B=Eo(z=>z.registerOption),k=Eo(z=>{const T=z.selectedOptions;return h!==void 0&&T.find(E=>E===h)!==void 0}),x=Eo(z=>z.selectOption),C=Eo(z=>z.onOptionClick),_=z=>{var T;if(a){z.preventDefault();return}m.focus(p),x(z,v),C(z),(T=e.onClick)===null||T===void 0||T.call(e,z)};b.useEffect(()=>{if(p&&u.current)return B(v,u.current)},[p,v,B]);const j=w?{role:"menuitemcheckbox","aria-checked":k}:{role:"option","aria-selected":k};return{components:{root:"div",checkIcon:"span"},root:Ne(Et("div",{ref:it(o,u),"aria-disabled":a?"true":void 0,id:p,...j,...e,onClick:_}),{elementType:"div"}),checkIcon:De(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:w,selected:k,focusVisible:!1,active:!1}},W9=e=>lt(e.root,{children:[e.checkIcon&&ne(e.checkIcon,{}),e.root.children]}),x5=b.forwardRef((e,o)=>{const n=V9(e,o);return F9(n),Xe("useOptionStyles_unstable")(n),W9(n)});x5.displayName="Option";const X9=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:B=!1,onActiveOptionChange:k=null}=e,x=b5(),{getOptionsMatchingValue:C}=x,{getOptionById:_}=x,j=b.useCallback(()=>{const U=m.active();return U?_(U):void 0},[m,_]),z=j(),T=b.useCallback(U=>{let J;if(typeof U=="function"){const se=j();J=U(se)}J?m.focus(J.id):m.blur()},[m,j]),[E,R]=b.useState(!1),[F,O]=b.useState(!1),X=b.useRef(!1),ee=Zg(),[he,ie]=Ao({state:e.value,initialState:void 0}),{selectedOptions:ue,selectOption:le,clearSelection:Q}=y5(e),L=b.useCallback((U,J)=>{Xp.unstable_batchedUpdates(()=>{ie(void 0),le(U,J)})},[ie,le]),te=b.useMemo(()=>{if(he!==void 0)return he;if(ee&&e.defaultValue!==void 0)return e.defaultValue;const U=C(J=>ue.includes(J)).map(J=>J.text);return h?c?"":U.join(", "):U[0]},[he,c,C,h,ue]),[oe,fe]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),Se=b.useCallback((U,J)=>{B||(p==null||p(U,{open:J}),Xp.unstable_batchedUpdates(()=>{!J&&!w&&ie(void 0),fe(J)}))},[p,fe,ie,w,B]);b.useEffect(()=>{if(oe){if(!h&&ue.length>0){const U=C(J=>J===ue[0]).pop();U!=null&&U.id&&m.focus(U.id)}}else m.blur()},[oe,m]),b.useEffect(()=>{oe&&!n&&!m.active()&&m.first()},[oe,a,n,m,_]);const q=ge(U=>{const J=U.detail.previousId?x.getOptionById(U.detail.previousId):null,se=x.getOptionById(U.detail.id);k==null||k(U,{event:U,type:"change",previousOption:J,nextOption:se})});return{...x,freeform:w,disabled:B,selectOption:L,clearSelection:Q,selectedOptions:ue,activeOption:z,appearance:o,clearable:l,focusVisible:E,ignoreNextBlur:X,inlinePopup:u,mountNode:d,open:oe,hasFocus:F,setActiveOption:T,setFocusVisible:R,setHasFocus:O,setOpen:Se,setValue:ie,size:v,value:te,multiselect:h,onOptionClick:ge(U=>{h||Se(U,!1)}),onActiveDescendantChange:q}};function $9(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,...Dl(o)},{targetRef:l,containerRef:c}=Kd(a);return[c,l]}function K9(e,o,n){const{state:{multiselect:a},triggerRef:l,defaultProps:c}=n,u=Yt("fluent-listbox",$g(e)?e.id:void 0),d=De(e,{renderByDefault:!0,elementType:wm,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),h=ti({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&h["aria-labelledby"]&&(d["aria-labelledby"]=h["aria-labelledby"]);const p=ge(Ae(w=>{w.preventDefault()},d==null?void 0:d.onMouseDown)),v=ge(Ae(w=>{var B;w.preventDefault(),(B=l.current)===null||B===void 0||B.focus()},d==null?void 0:d.onClick)),m=it(d==null?void 0:d.ref,o);return d&&(d.ref=m,d.onMouseDown=p,d.onClick=v),d}function Q9(e,o,n){const{state:{open:a,setOpen:l,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:h}=n,p=Ne(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),v=b.useRef(null);return p.ref=it(v,p.ref,o),p.onBlur=Ae(m=>{l(m,!1),c(!1)},p.onBlur),p.onFocus=Ae(m=>{m.target===m.currentTarget&&c(!0)},p.onFocus),p.onClick=Ae(m=>{l(m,!a)},p.onClick),p.onKeyDown=Ae(Z9({activeDescendantController:h,...n.state}),p.onKeyDown),p}function Z9(e){const{activeDescendantController:o,getOptionById:n,setOpen:a,selectOption:l,multiselect:c,open:u}=e,d=b.useCallback(()=>{const x=o.active();return x?n(x):void 0},[o,n]),h=()=>{o.first()},p=()=>{o.last()},v=x=>{x?o.next():o.first()},m=x=>{x?o.prev():o.first()},w=()=>{for(let x=0;x<10;x++)o.prev()},B=()=>{for(let x=0;x<10;x++)o.next()},k=gT();return ge(x=>{const C=wd(x,{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":x.preventDefault();break}switch(k(!0),C){case"First":h();break;case"Last":p();break;case"Next":v(_);break;case"Previous":m(_);break;case"PageDown":B();break;case"PageUp":w();break;case"Open":a(x,!0);break;case"Close":x.stopPropagation(),a(x,!1);break;case"CloseSelect":!c&&!(_!=null&&_.disabled)&&a(x,!1);case"Select":_&&l(x,_);break;case"Tab":!c&&_&&l(x,_);break}})}function Y9(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:B,activeDescendantController:k}=n,x=O=>{if(!a&&!w){const X=k.active(),ee=X?v(X):null;l&&ee&&l.trim().toLowerCase()===(ee==null?void 0:ee.text.toLowerCase())&&c(O,ee),u(void 0)}},C=O=>{const X=O==null?void 0:O.trim().toLowerCase();if(!X||X.length===0){k.blur();return}const ee=ie=>ie.toLowerCase().indexOf(X)===0,he=k.find(ie=>{const ue=v(ie);return!!ue&&ee(ue.text)});if(!he){k.blur();return}return v(he)},_=O=>{const X=O.target.value;u(X);const ee=C(X);!d&&h.length===1&&(X.length<1||!ee)&&p(O)},j=Q9(e,o,{state:n.state,defaultProps:B,elementType:"input",activeDescendantController:k});j.onChange=Ae(j.onChange,_),j.onBlur=Ae(j.onBlur,x);const[z,T]=b.useState(!1),E=b.useRef(!1),R=j.onKeyDown,F=ge(O=>{!a&&wd(O)==="Type"&&m(O,!0),O.key===am||O.key===im?T(!0):T(!1);const X=wd(O,{open:a,multiselect:d});if(X==="Type"?E.current=!0:(X==="Open"&&O.key!==" "||X==="Next"||X==="Previous"||X==="First"||X==="Last"||X==="PageUp"||X==="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}R==null||R(O)});return j.onKeyDown=F,z&&(j["aria-activedescendant"]=void 0),j}const J9=(e,o)=>{"use no memo";var n,a;e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:l,activeParentRef:c,controller:u}=vS({matchOption:me=>me.classList.contains(Sd.root)}),d=X9({...e,editable:!0,activeDescendantController:u}),{appearance:h,size:p,...v}=d,{clearable:m,clearSelection:w,disabled:B,multiselect:k,open:x,selectedOptions:C,setOpen:_,value:j,hasFocus:z}=v,[T,E]=$9(e),{disableAutoFocus:R=!1,freeform:F,inlinePopup:O}=e,X=Yt("combobox-"),{primary:ee,root:he}=_l({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),ie=b.useRef(null),ue=K9(e.listbox,it(T,l),{state:d,triggerRef:ie,defaultProps:{children:e.children,disableAutoFocus:R}});var le;const Q=Y9((le=e.input)!==null&&le!==void 0?le:{},it(ie,c,o),{state:d,freeform:F,defaultProps:{type:"text",value:j??"","aria-controls":x?ue==null?void 0:ue.id:void 0,...ee},activeDescendantController:u}),L=Ne(e.root,{defaultProps:{"aria-owns":!O&&x?ue==null?void 0:ue.id:void 0,...he},elementType:"div"});L.ref=it(L.ref,E);const te=C.length>0&&!B&&m&&!k,oe={components:{root:"div",input:"input",expandIcon:"span",listbox:wm,clearIcon:"span"},root:L,input:Q,listbox:x||z?ue:void 0,clearIcon:De(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:De(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":B?"true":void 0,"aria-expanded":x,role:"button"},elementType:"span"}),showClearIcon:te,activeDescendantController:u,...v},{targetDocument:fe}=Qe();Yg({element:fe,callback:me=>_(me,!1),refs:[ie,T,E],disabled:!x});const{onMouseDown:Se}=oe.expandIcon||{},q=ge(Ae(Se,me=>{var _e;me.preventDefault(),oe.setOpen(me,!oe.open),(_e=ie.current)===null||_e===void 0||_e.focus()}));if(oe.expandIcon){oe.expandIcon.onMouseDown=q;const me=oe.expandIcon["aria-label"]||oe.expandIcon["aria-labelledby"],_e="Open";if(!me)if(e["aria-labelledby"]){var U;const Fe=(U=oe.expandIcon.id)!==null&&U!==void 0?U:`${X}-chevron`,Bt=`${Fe} ${oe.input["aria-labelledby"]}`;oe.expandIcon["aria-label"]=_e,oe.expandIcon.id=Fe,oe.expandIcon["aria-labelledby"]=Bt}else e["aria-label"]?oe.expandIcon["aria-label"]=`${_e} ${e["aria-label"]}`:oe.expandIcon["aria-label"]=_e}const J=ge(Ae((n=oe.clearIcon)===null||n===void 0?void 0:n.onMouseDown,me=>{me.preventDefault()})),se=ge(Ae((a=oe.clearIcon)===null||a===void 0?void 0:a.onClick,me=>{w(me)}));return oe.clearIcon&&(oe.clearIcon.onMouseDown=J,oe.clearIcon.onClick=se),k&&(oe.clearIcon=void 0),oe},eA=(e,o)=>{"use no memo";const{appearance:n="outline",size:a="medium",...l}=e,c=J9(l,o);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=b.createElement(kj,null))}if(c.expandIcon){var h,p;(p=(h=c.expandIcon).children)!==null&&p!==void 0||(h.children=b.createElement(vj,null))}return{...c,appearance:n,size:a}},tA=(e,o)=>ne(e.root,{children:ne(hS,{value:o.activeDescendant,children:ne(A9,{value:o.listbox,children:lt(v5.Provider,{value:o.combobox,children:[ne(e.input,{}),e.clearIcon&&ne(e.clearIcon,{}),e.expandIcon&&ne(e.expandIcon,{}),e.listbox&&(e.inlinePopup?ne(e.listbox,{}):ne(Ml,{mountNode:e.mountNode,children:ne(e.listbox,{})}))]})})})}),Ds={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},oA=ve({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),rA=ve({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),nA=ve({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",qhf8xq:"f10pi13n",Bo70h7d:"fvc9v3g",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["f1gwjbcf","f1rbysb6"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["fpsl3z4","f1po37t9"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],B1piin3:["f1je5ipm","fb53jzl"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f10pi13n{position:relative;}",".fvc9v3g svg{display:block;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1gwjbcf::after{right:calc(-1 * var(--spacingHorizontalSNudge));}",".f1rbysb6::after{left:calc(-1 * var(--spacingHorizontalSNudge));}",".fe5j1ua{font-size:20px;}",".fpsl3z4::after{right:calc(-1 * var(--spacingHorizontalMNudge));}",".f1po37t9::after{left:calc(-1 * var(--spacingHorizontalMNudge));}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1je5ipm::after{right:calc(-1 * var(--spacingHorizontalM));}",".fb53jzl::after{left:calc(-1 * var(--spacingHorizontalM));}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),aA=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=oA(),h=nA(),p=rA();return e.root.className=de(Ds.root,d.root,d[o],d[a],!u&&o==="outline"&&d.outlineInteractive,c&&o!=="underline"&&d.invalid,c&&o==="underline"&&d.invalidUnderline,u&&d.disabled,e.root.className),e.input.className=de(Ds.input,p.input,p[a],u&&p.disabled,e.input.className),e.listbox&&(e.listbox.className=de(Ds.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=de(Ds.expandIcon,h.icon,h[a],u&&h.disabled,l&&h.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=de(Ds.clearIcon,h.icon,h[a],u&&h.disabled,!l&&h.hidden,e.clearIcon.className)),e},w5=b.forwardRef((e,o)=>{const n=eA(e,o),a=D9(n);return aA(n),Xe("useComboboxStyles_unstable")(n),tA(n,a)});w5.displayName="Combobox";const iA=(e,o)=>{e=ti(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=Kg();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=lA(u,o);return{size:l,appearance:c,...d}},lA=(e,o)=>{const{onChange:n}=e,[a,l]=Ao({state:e.value,defaultState:e.defaultValue,initialState:""}),c=_l({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),u={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Ne(e.input,{defaultProps:{type:"text",ref:o,...c.primary},elementType:"input"}),contentAfter:De(e.contentAfter,{elementType:"span"}),contentBefore:De(e.contentBefore,{elementType:"span"}),root:Ne(e.root,{defaultProps:c.root,elementType:"span"})};return u.input.value=a,u.input.onChange=ge(d=>{const h=d.target.value;n==null||n(d,{value:h}),l(h)}),u},sA=e=>lt(e.root,{children:[e.contentBefore&&ne(e.contentBefore,{}),ne(e.input,{}),e.contentAfter&&ne(e.contentAfter,{})]}),Vu={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},cA=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;}}"]}),uA=ve({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),dA=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;}"]),fA=ve({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),hA=Ee("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),pA=ve({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),gA=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=uA(),d=fA(),h=pA();e.root.className=de(Vu.root,cA(),u[o],e.contentBefore&&u[`${o}WithContentBefore`],e.contentAfter&&u[`${o}WithContentAfter`],u[n],!a&&n==="outline"&&u.outlineInteractive,!a&&n==="underline"&&u.underlineInteractive,!a&&c&&u.filledInteractive,c&&u.filled,!a&&l&&u.invalid,a&&u.disabled,e.root.className),e.input.className=de(Vu.input,dA(),d[o],e.contentBefore&&d[`${o}WithContentBefore`],e.contentAfter&&d[`${o}WithContentAfter`],a&&d.disabled,e.input.className);const p=[hA(),a&&h.disabled,h[o]];return e.contentBefore&&(e.contentBefore.className=de(Vu.contentBefore,...p,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=de(Vu.contentAfter,...p,e.contentAfter.className)),e},_g=b.forwardRef((e,o)=>{const n=iA(e,o);return gA(n),Xe("useInputStyles_unstable")(n),sA(n)});_g.displayName="Input";const mA=b.createContext(void 0),vA=mA.Provider,Sm=ei(void 0),bA={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},yA=Sm.Provider,st=e=>Tl(Sm,(o=bA)=>e(o)),S5=b.createContext(void 0),xA=!1,wA=S5.Provider,SA=()=>{var e;return(e=b.useContext(S5))!==null&&e!==void 0?e:xA},km=ei(void 0),kA={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},BA=km.Provider,Qs=e=>Tl(km,(o=kA)=>e(o)),Zs="fuimenuenter",_A=e=>{const{refs:o,callback:n,element:a,disabled:l}=e,c=ge(u=>{const d=o[0],h=u.target;var p;!Us((p=d.current)!==null&&p!==void 0?p:null,h)&&!l&&n(u)});b.useEffect(()=>{if(a!=null)return l||a.addEventListener(Zs,c),()=>{a.removeEventListener(Zs,c)}},[c,a,l])},zA=(e,o)=>{e.dispatchEvent(new CustomEvent(Zs,{bubbles:!0,detail:{nativeEvent:o}}))};function Bm(){const e=st(n=>n.isSubmenu),o=fc(km);return e||o}const k5=e=>{"use no memo";const{targetDocument:o}=Qe();return st(a=>a.triggerRef),st(a=>a.inline),b.useRef(null)},zg="fuimenusafezonetimeout",CA=e=>{const o=b.useRef(null);return b.useCallback(n=>{var a;(a=o.current)===null||a===void 0||a.removeEventListener(zg,e),n==null||n.addEventListener(zg,e),o.current=n},[e])},NA=ve({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),TA=e=>{"use no memo";const o=NA();e.checkmark&&(e.checkmark.className=de(o.root,e.checked&&o.rootChecked,e.checkmark.className))},Zn={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"},EA=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;}}"]}),jA=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;}"]),RA=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);}"]),AA=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;}"]),DA=Ee("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),MA=Ee("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),OA=ve({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Bbkh6qg:"f1wzezsb",B3ejlan:"f1egomlm",B41git9:"f1wf2001",Boq1n10:"fied5gk",Dcq74g:"f1efp33f",rxnm8d:"f1m2zpi7",wxluhh:"fei14nx",idgcvv:"f12hmwa5",j9xr24:"f1hzwxd0"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wzezsb:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1egomlm:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wf2001:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fied5gk:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2zpi7:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fei14nx:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12hmwa5:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1hzwxd0:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),FA=ve({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),qA=ve({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),HA=e=>{"use no memo";const o=OA(),n=EA(),a=jA(),l=RA(),c=AA(),u=DA(),d=qA(),h=MA(),p=FA(),v=!!e.subText;return e.root.className=de(Zn.root,n,e.disabled&&o.disabled,e.root.className),e.content&&(e.content.className=de(Zn.content,a,e.content.className,v&&d.content)),e.checkmark&&(e.checkmark.className=de(Zn.checkmark,o.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=de(Zn.secondaryContent,l,e.disabled&&o.disabled,e.secondaryContent.className,v&&d.secondaryContent)),e.icon&&(e.icon.className=de(Zn.icon,c,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=de(Zn.submenuIndicator,u,e.submenuIndicator.className,v&&d.submenuIndicator)),e.subText&&(e.subText.className=de(Zn.subText,e.disabled&&p.disabled,e.subText.className,h)),TA(e),e},Tx=Ie.durationSlower,Ex=Ie.curveDecelerateMid,jx=jl(({distance:e=10})=>({enter:[ua({duration:Tx,easing:Ex,direction:"enter"}),{...qS({duration:Tx,easing:Ex,direction:"enter",outX:`calc(var(${md}, 0px) * ${e})`,outY:`calc(var(${vd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),PA=["after","after-bottom","before-top","before","before-bottom","above"],IA=e=>{const o=Bm(),{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:B}=Qe(),k=Yt("menu"),[x,C]=n5(),_=Dl(e.positioning),j=PS({targetDocument:B,onPositioningEnd:_.onPositioningEnd}),z={position:o?"after":"below",align:o?"top":"start",target:e.openOnContext?x:void 0,fallbackPositions:o?PA:void 0,..._,onPositioningEnd:j},T=b.Children.toArray(e.children);let E,R;T.length===2?(E=T[0],R=T[1]):T.length===1&&(R=T[0]);const{targetRef:F,containerRef:O}=Kd(z),X=w&&p,ee=b.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),he=o7({disabled:!X,timeout:typeof w=="object"?w.timeout:300,onSafeZoneEnter:oe=>{Q(oe,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:oe}),ee.current.isInside=!0},onSafeZoneLeave:()=>{ee.current.isInside=!1},onSafeZoneMove:oe=>{ee.current.mouseCoordinates={x:oe.clientX,y:oe.clientY}},onSafeZoneTimeout:()=>{const oe=new CustomEvent(zg);if(Q(oe,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:oe}),ee.current.isInside&&B){const Se=B.elementsFromPoint(ee.current.mouseCoordinates.x,ee.current.mouseCoordinates.y).find(q=>q.classList.contains(Zn.root));Se==null||Se.dispatchEvent(oe)}}}),ie=it(F,he.targetRef),ue=it(O,he.containerRef),[le,Q]=UA({hoverDelay:n,isSubmenu:o,setContextTarget:C,closeOnScroll:u,menuPopoverRef:ue,triggerRef:ie,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[L,te]=LA({checkedValues:e.checkedValues,defaultCheckedValues:v,onCheckedValueChange:e.onCheckedValueChange});return{inline:a,hoverDelay:n,triggerId:k,isSubmenu:o,openOnHover:p,contextTarget:x,setContextTarget:C,hasCheckmarks:l,hasIcons:c,closeOnScroll:u,menuTrigger:E,menuPopover:R,mountNode:m,triggerRef:ie,menuPopoverRef:ue,components:{surfaceMotion:jx},openOnContext:d,open:le,setOpen:Q,checkedValues:L,onCheckedValueChange:te,persistOnItemClick:h,safeZone:he.elementToRender,surfaceMotion:hc(e.surfaceMotion,{elementType:jx,defaultProps:{visible:le,appear:!0,unmountOnExit:!0}})}},LA=e=>{const[o,n]=Ao({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),a=ge((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]},UA=e=>{"use no memo";const{targetDocument:o}=Qe(),n=st(x=>x.setOpen),a=ge((x,C)=>{var _;return(_=e.onOpenChange)===null||_===void 0?void 0:_.call(e,x,C)}),l=b.useRef(!1),[c,u]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=ge((x,C)=>{const _=x instanceof CustomEvent&&x.type===Zs?x.detail.nativeEvent:x;a==null||a(_,{...C}),C.open&&x.type==="contextmenu"&&e.setContextTarget(x),C.open||e.setContextTarget(void 0),C.bubble&&n(x,{...C}),u(C.open)}),[h,p]=zl(),v=ge((x,C)=>{if(p(),!(x instanceof Event)&&x.persist&&x.persist(),!C.ignoreHoverDelay&&(x.type==="mouseleave"||x.type==="mouseover"||x.type==="mousemove"||x.type===Zs)){var j;!((j=e.triggerRef.current)===null||j===void 0)&&j.contains(x.target)&&(l.current=x.type==="mouseover"||x.type==="mousemove"),h(()=>d(x,C),e.hoverDelay)}else d(x,C)});Yg({contains:Us,disabled:!c,element:o,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:x=>v(x,{open:!1,type:"clickOutside",event:x})});const m=e.openOnContext||e.closeOnScroll;Sw({contains:Us,element:o,callback:x=>v(x,{open:!1,type:"scrollOutside",event:x}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!c||!m}),_A({element:o,callback:x=>{l.current||v(x,{open:!1,type:"menuMouseEnter",event:x})},disabled:!c,refs:[e.menuPopoverRef]});const{findFirstFocusable:w}=uc(),B=b.useCallback(()=>{const x=w(e.menuPopoverRef.current);x==null||x.focus()},[w,e.menuPopoverRef]),k=Zg();return b.useEffect(()=>{if(c)B();else if(!k){var x,C;if((o==null?void 0:o.activeElement)===(o==null?void 0:o.body)||!((x=e.menuPopoverRef.current)===null||x===void 0)&&x.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,B,o,e.menuPopoverRef]),[c,v]};function VA(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:B,setOpen:k,triggerId:x,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:B,setOpen:k,triggerId:x,triggerRef:C}),[o,n,a,l,c,u,d,h,p,v,m,w,B,k,x,C])}}const GA=(e,o)=>lt(yA,{value:o.menu,children:[e.menuTrigger,e.menuPopover&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.menuPopover})})]}),B5=e=>{const o=IA(e),n=VA(o);return GA(o,n)};B5.displayName="Menu";const WA=(e,o)=>{"use no memo";const n=Qs(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},_5=b.createContext(void 0),z5={setMultiline:()=>null};_5.Provider;const C5=()=>{var e;return(e=b.useContext(_5))!==null&&e!==void 0?e:z5},N5=()=>C5()!==z5,XA=_S(xj,Xi),$A=_S(bj,yj),KA=(e,o)=>{const{dir:n}=Qe(),a=QA(e,o);if(a.submenuIndicator){var l,c;(c=(l=a.submenuIndicator).children)!==null&&c!==void 0||(l.children=n==="rtl"?b.createElement($A,null):b.createElement(XA,null))}return a},QA=(e,o)=>{const n=SA(),a=st(_=>_.persistOnItemClick),{as:l="div",disabled:c=!1,hasSubmenu:u=n,persistOnClick:d=a,content:h,...p}=e,{hasIcons:v,hasCheckmarks:m}=YA({hasSubmenu:u}),w=st(_=>_.setOpen);ZA({multiline:!!e.subText,hasSubmenu:u});const B=b.useRef(null),k=b.useRef(!1),x=k5(JA(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:Ne(Et(l,Za(l,{role:"menuitem",...p,disabled:!1,disabledFocusable:c,ref:it(o,B,x),onKeyDown:ge(_=>{var j;(j=e.onKeyDown)===null||j===void 0||j.call(e,_),!_.isDefaultPrevented()&&(_.key===dn||_.key===Zi)&&(k.current=!0)}),onMouseMove:ge(_=>{var j;if(_.currentTarget.ownerDocument.activeElement!==_.currentTarget){var z;(z=B.current)===null||z===void 0||z.focus()}(j=e.onMouseMove)===null||j===void 0||j.call(e,_)}),onClick:ge(_=>{var j;!u&&!d&&(w(_,{open:!1,keyboard:k.current,bubble:!0,type:"menuItemClick",event:_}),k.current=!1),(j=e.onClick)===null||j===void 0||j.call(e,_)})})),{elementType:"div"}),icon:De(e.icon,{renderByDefault:v,elementType:"span"}),checkmark:De(e.checkmark,{renderByDefault:m,elementType:"span"}),submenuIndicator:De(e.submenuIndicator,{renderByDefault:u,elementType:"span"}),content:De(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:De(e.secondaryContent,{elementType:"span"}),subText:De(e.subText,{elementType:"span"})};return WA(C,B),C},ZA=e=>{const{hasSubmenu:o,multiline:n}=e,a=N5()&&o,{setMultiline:l}=C5();Mt(()=>{a||l(n)},[l,n,a])},YA=e=>{const{hasSubmenu:o}=e,n=Qs(c=>c.hasIcons),a=Qs(c=>c.hasCheckmarks),l=N5()&&o;return{hasIcons:n&&!l,hasCheckmarks:a&&!l}},JA=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},eD=e=>lt(e.root,{children:[e.checkmark&&ne(e.checkmark,{}),e.icon&&ne(e.icon,{}),e.content&&lt(e.content,{children:[e.content.children,e.subText&&ne(e.subText,{})]}),e.secondaryContent&&ne(e.secondaryContent,{}),e.submenuIndicator&&ne(e.submenuIndicator,{})]}),Cg=b.forwardRef((e,o)=>{const n=KA(e,o);return HA(n),Xe("useMenuItemStyles_unstable")(n),eD(n)});Cg.displayName="MenuItem";const tD=(e,o)=>{const{findAllFocusable:n}=uc(),{targetDocument:a}=Qe(),l=oD(),c=fc(Sm),u=Pw({circular:!0});rD(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=k5();b.useEffect(()=>{const _=d.current;if(c&&a&&_){const j=z=>{const T=z.detail.next;T&&_.contains(a.activeElement)&&!_.contains(T)&&z.preventDefault()};return a.addEventListener(pg,j),()=>{a.removeEventListener(pg,j)}}},[d,a,c]);const p=b.useCallback((_,j)=>{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(j)+1;E===T.length&&(E=0);const R=T.map(ee=>{var he;return(he=ee.textContent)===null||he===void 0?void 0:he.charAt(0).toLowerCase()}),F=_.key.toLowerCase(),O=(ee,he)=>{for(let ie=ee;ie<R.length;ie++)if(F===R[ie])return ie;return-1};let X=O(E);X===-1&&(X=O(0)),X>-1&&T[X].focus()},[n]);var v;const[m,w]=Ao({state:(v=e.checkedValues)!==null&&v!==void 0?v:c?l.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var B;const k=(B=e.onCheckedValueChange)!==null&&B!==void 0?B:c?l.onCheckedValueChange:void 0,x=ge((_,j,z,T)=>{const R=[...(m==null?void 0:m[j])||[]];T?R.splice(R.indexOf(z),1):R.push(z),k==null||k(_,{name:j,checkedItems:R}),w(F=>({...F,[j]:R}))}),C=ge((_,j,z)=>{const T=[z];w(E=>({...E,[j]:T})),k==null||k(_,{name:j,checkedItems:T})});return{components:{root:"div"},root:Ne(Et("div",{ref:it(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:x}},oD=()=>{const e=st(c=>c.checkedValues),o=st(c=>c.onCheckedValueChange),n=st(c=>c.triggerId),a=st(c=>c.hasIcons),l=st(c=>c.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:o,triggerId:n,hasIcons:a,hasCheckmarks:l}},rD=(e,o,n)=>{let a=!1;for(const l in o)e[l]&&(a=!0);return n&&a},nD=(e,o)=>ne(BA,{value:o.menuList,children:ne(e.root,{})});function aD(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 iD={root:"fui-MenuList"},lD=ve({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),sD=e=>{"use no memo";const o=lD();return e.root.className=de(iD.root,o.root,e.hasMenuContext&&o.hasMenuContext,e.root.className),e},T5=b.forwardRef((e,o)=>{const n=tD(e,o),a=aD(n);return sD(n),Xe("useMenuListStyles_unstable")(n),nD(n,a)});T5.displayName="MenuList";const cD=(e,o)=>{"use no memo";const n=st(F=>F.safeZone),a=st(F=>F.menuPopoverRef),l=st(F=>F.setOpen),c=st(F=>F.open),u=st(F=>F.openOnHover),d=st(F=>F.triggerRef),h=Bm(),p=Qs(F=>{var O;return(O=F.shouldCloseOnArrowLeft)!==null&&O!==void 0?O:!0}),v=b.useRef(!0),m=hT(),[w,B]=zl(),{dir:k}=Qe(),x=k==="ltr"?am:im,C=b.useCallback(F=>{F&&F.addEventListener("mouseover",O=>{v.current&&(v.current=!1,zA(a.current,O),w(()=>{v.current=!0},250))})},[a,w]);b.useEffect(()=>()=>B(),[B]);var _;const j=(_=st(F=>F.inline))!==null&&_!==void 0?_:!1,z=st(F=>F.mountNode),T=Ne(Et("div",{role:"presentation",...m,...e,ref:it(o,a,C,Ld())}),{elementType:"div"}),{onMouseEnter:E,onKeyDown:R}=T;return T.onMouseEnter=ge(F=>{(u||h)&&l(F,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:F}),E==null||E(F)}),T.onKeyDown=ge(F=>{const O=F.key;if(O===El||h&&p&&O===x){var X;c&&(!((X=a.current)===null||X===void 0)&&X.contains(F.target))&&!F.isDefaultPrevented()&&(l(F,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:F}),F.preventDefault())}if(O===fS&&(l(F,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:F}),!h)){var ee;(ee=d.current)===null||ee===void 0||ee.focus()}R==null||R(F)}),{inline:j,mountNode:z,safeZone:n,components:{root:"div"},root:T}},uD={root:"fui-MenuPopover"},dD=ve({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),fD=e=>{"use no memo";const o=dD();return e.root.className=de(uD.root,o.root,e.root.className),e},hD=e=>e.inline?lt(b.Fragment,{children:[ne(e.root,{}),e.safeZone]}):lt(Ml,{mountNode:e.mountNode,children:[ne(e.root,{}),e.safeZone]}),E5=b.forwardRef((e,o)=>{const n=cD(e,o);return fD(n),Xe("useMenuPopoverStyles_unstable")(n),hD(n)});E5.displayName="MenuPopover";function pD(){}const gD=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=st(Q=>Q.triggerRef),l=st(Q=>Q.menuPopoverRef),c=st(Q=>Q.setOpen),u=st(Q=>Q.open),d=st(Q=>Q.triggerId),h=st(Q=>Q.openOnHover),p=st(Q=>Q.openOnContext),v=Bm(),m=Qs(Q=>{var L;return(L=Q.shouldOpenOnArrowRight)!==null&&L!==void 0?L:!0}),{findFirstFocusable:w}=uc(),B=b.useCallback(()=>{const Q=w(l.current);Q==null||Q.focus()},[w,l]),k=b.useRef(!1),x=b.useRef(!1),C=b.useRef(!1),{dir:_}=Qe(),j=_==="ltr"?im:am,z=cc(o),T=CA(ge(()=>{v&&(x.current=!0)})),E=Q=>{Vi(Q)||Q.isDefaultPrevented()||p&&(Q.preventDefault(),c(Q,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:Q}))},R=Q=>{Vi(Q)||p||(c(Q,{open:!u,keyboard:k.current,type:"menuTriggerClick",event:Q}),k.current=!1)},F=Q=>{if(Vi(Q)||Q.isDefaultPrevented())return;const L=Q.key;!p&&(v&&m&&L===j||!v&&L===bg)&&c(Q,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),L===El&&!v&&c(Q,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:Q}),u&&L===j&&v&&m&&B()},O=Q=>{Vi(Q)||h&&(C.current?c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:Q}):x.current&&(c(Q,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:Q}),x.current=!1))},X=Q=>{Vi(Q)||h&&!C.current&&(c(Q,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:Q}),C.current=!0)},ee=Q=>{Vi(Q)||h&&c(Q,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:Q})};var he;const ie={id:d,...z==null?void 0:z.props,ref:it(a,sc(z),T),onMouseEnter:ge((he=z==null?void 0:z.props.onMouseEnter)!==null&&he!==void 0?he:pD),onMouseLeave:ge(Ae(z==null?void 0:z.props.onMouseLeave,ee)),onContextMenu:ge(Ae(z==null?void 0:z.props.onContextMenu,E)),onMouseMove:ge(Ae(z==null?void 0:z.props.onMouseMove,X)),onMouseOver:ge(Ae(z==null?void 0:z.props.onMouseOver,O))},ue={"aria-haspopup":"menu","aria-expanded":!u&&!v?void 0:u,...ie,onClick:ge(Ae(z==null?void 0:z.props.onClick,R)),onKeyDown:ge(Ae(z==null?void 0:z.props.onKeyDown,F))},le=Za((z==null?void 0:z.type)==="button"||(z==null?void 0:z.type)==="a"?z.type:"div",ue);return{isSubmenu:v,children:Od(o,p?ie:n?ue:le)}},Vi=e=>{const o=n=>n.hasAttribute("disabled")||n.hasAttribute("aria-disabled")&&n.getAttribute("aria-disabled")==="true";return vr(e.target)&&o(e.target)?!0:vr(e.currentTarget)&&o(e.currentTarget)},mD=e=>b.createElement(wA,{value:e.isSubmenu},e.children),_m=e=>{const o=gD(e);return mD(o)};_m.displayName="MenuTrigger";_m.isFluentTriggerComponent=!0;const zm=b.createContext(void 0),vD={};zm.Provider;const bD=()=>b.useContext(zm)||vD,yD=(e,o)=>ne(zm.Provider,{value:o.radioGroup,children:ne(e.root,{})}),xD=(e,o)=>{const{layout:n="vertical",...a}=e,l=wD(a,o);return{layout:n,...l}},wD=(e,o)=>{e=ti(e);const n=Yt("radiogroup-"),{name:a=n,value:l,defaultValue:c,disabled:u,onChange:d,required:h}=e;return{name:a,value:l,defaultValue:c,disabled:u,required:h,components:{root:"div"},root:{ref:o,role:"radiogroup",...Ne(Et("div",e,["onChange","name"]),{elementType:"div"}),onChange:ge(p=>{d&&vr(p.target,{constructorName:"HTMLInputElement"})&&p.target.type==="radio"&&d(p,{value:p.target.value})})}}},SD={root:"fui-RadioGroup"},kD=ve({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),BD=e=>{"use no memo";const o=kD();return e.root.className=de(SD.root,o.root,e.layout==="vertical"&&o.vertical,e.root.className),e},_D=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])}},j5=b.forwardRef((e,o)=>{const n=xD(e,o),a=_D(n);return BD(n),Xe("useRadioGroupStyles_unstable")(n),yD(n,a)});j5.displayName="RadioGroup";const zD=e=>lt(e.root,{children:[ne(e.input,{}),ne(e.indicator,{}),e.label&&ne(e.label,{})]}),CD=(e,o)=>{const n=ND(e,o);return{...n,components:{...n.components,label:xr},label:De(e.label,{defaultProps:{...n.label},elementType:xr})}},ND=(e,o)=>{const n=bD(),{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=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),w=Ne(e.root,{defaultProps:{ref:om(),...m.root},elementType:"span"}),B=Ne(e.input,{defaultProps:{ref:o,type:"radio",id:Yt("radio-",m.primary.id),name:a,checked:l,defaultChecked:c,disabled:d,required:h,"aria-describedby":p,...m.primary},elementType:"input"});B.onChange=Ae(B.onChange,C=>v==null?void 0:v(C,{value:C.currentTarget.value}));const k=De(e.label,{defaultProps:{htmlFor:B.id,disabled:B.disabled},elementType:"label"}),x=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:"label",indicator:"div"},root:w,input:B,label:k,indicator:x}},Gu={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},TD=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;}}"]}),ED=ve({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),jD=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;}}"]}),RD=ve({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),AD=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;}"]),DD=ve({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),MD=e=>{"use no memo";const{labelPosition:o}=e,n=TD(),a=ED();e.root.className=de(Gu.root,n,o==="below"&&a.vertical,e.root.className);const l=jD(),c=RD();e.input.className=de(Gu.input,l,o==="below"&&c.below,e.indicator.children?c.customIndicator:c.defaultIndicator,e.input.className);const u=AD();e.indicator.className=de(Gu.indicator,u,e.indicator.className);const d=DD();return e.label&&(e.label.className=de(Gu.label,d.base,d[o],e.label.className)),e},Ng=b.forwardRef((e,o)=>{const n=CD(e,o);return MD(n),Xe("useRadioStyles_unstable")(n),zD(n)});Ng.displayName="Radio";const R5=b.createContext(void 0),OD={};R5.Provider;const FD=()=>{var e;return(e=b.useContext(R5))!==null&&e!==void 0?e:OD},qD=(e,o)=>{const{size:n}=FD(),{appearance:a="primary",size:l=n??"medium",...c}=e,u=HD(c,o);return{...u,appearance:a,size:l,components:{...u.components,label:xr},label:De(e.label,{defaultProps:u.label,elementType:xr})}},HD=(e,o)=>{const{delay:n=0,labelPosition:a="after"}=e,l=Yt("spinner"),{role:c="progressbar",...u}=e,d=Ne(Et("div",{ref:o,role:c,...u}),{elementType:"div"}),[h,p]=b.useState(!1),[v,m]=zl();b.useEffect(()=>{if(!(n<=0))return v(()=>{p(!0)},n),()=>{m()}},[v,m,n]);const w=De(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:"label"}),B=De(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:B,spinnerTail:Ne(e.spinnerTail,{elementType:"span"}),label:w}},PD=e=>{const{labelPosition:o,shouldRenderSpinner:n}=e;return lt(e.root,{children:[e.label&&n&&(o==="above"||o==="before")&&ne(e.label,{}),e.spinner&&n&&ne(e.spinner,{children:e.spinnerTail&&ne(e.spinnerTail,{})}),e.label&&n&&(o==="below"||o==="after")&&ne(e.label,{})]})},Wu={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},ID=Ee("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),LD=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),UD=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;}}"]}),VD=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;}}"]}),GD=ve({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),WD=ve({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),XD=e=>{"use no memo";const{labelPosition:o,size:n,appearance:a}=e,{dir:l}=Qe(),c=ID(),u=LD(),d=UD(),h=GD(),p=VD(),v=WD();return e.root.className=de(Wu.root,c,(o==="above"||o==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=de(Wu.spinner,d,h[n],a==="inverted"&&h.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=de(Wu.spinnerTail,p,l==="rtl"&&h.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=de(Wu.label,v[n],a==="inverted"&&v.inverted,e.label.className)),e},pn=b.forwardRef((e,o)=>{const n=qD(e,o);return XD(n),Xe("useSpinnerStyles_unstable")(n),PD(n)});pn.displayName="Spinner";const $D=(e,o)=>{var n;const{size:a="medium",...l}=e,c=KD(l,o);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=b.createElement(sm,null)),{...c,components:{...c.components,label:xr},size:a,label:De(e.label,{defaultProps:{size:"medium",...c.label},elementType:xr})}},KD=(e,o)=>{e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:l,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:h}=e,p=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),v=Yt("switch-",p.primary.id),m=Ne(e.root,{defaultProps:{ref:om(),...p.root},elementType:"div"}),w=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),B=Ne(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"});B.onChange=Ae(B.onChange,x=>d==null?void 0:d(x,{checked:x.currentTarget.checked})),B.onClick=Ae(B.onClick,x=>{c&&x.preventDefault()}),B.onKeyDown=Ae(B.onKeyDown,x=>{c&&(x.key===" "||x.key==="Enter")&&x.preventDefault()});const k=De(e.label,{defaultProps:{disabled:l||c,htmlFor:v,required:h},elementType:"label"});return{disabledFocusable:c,labelPosition:u,components:{root:"div",indicator:"div",input:"input",label:"label"},root:m,indicator:w,input:B,label:k}},QD=e=>{const{labelPosition:o}=e;return lt(e.root,{children:[ne(e.input,{}),o!=="after"&&e.label&&ne(e.label,{}),ne(e.indicator,{}),o==="after"&&e.label&&ne(e.label,{})]})},Xu={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},ZD=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;}}"]}),YD=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),JD=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;}}"]}),eM=ve({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),tM=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;}}']}),oM=ve({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),rM=ve({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),nM=e=>{"use no memo";const o=ZD(),n=YD(),a=JD(),l=eM(),c=tM(),u=oM(),d=rM(),{label:h,labelPosition:p,size:v}=e;return e.root.className=de(Xu.root,o,p==="above"&&n.vertical,e.root.className),e.indicator.className=de(Xu.indicator,a,h&&p==="above"&&l.labelAbove,v==="small"&&l.sizeSmall,e.indicator.className),e.input.className=de(Xu.input,c,h&&u[p],v==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=de(Xu.label,d.base,d[p],v==="small"&&d.sizeSmall,e.label.className)),e},A5=b.forwardRef((e,o)=>{const n=$D(e,o);return nM(n),Xe("useSwitchStyles_unstable")(n),QD(n)});A5.displayName="Switch";const D5=(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:Ne(Et("span",{ref:o,...e}),{elementType:"span"})}},M5=e=>ne(e.root,{}),aM={root:"fui-Text"},iM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),O5=e=>{"use no memo";const o=iM();return e.root.className=de(aM.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},F5=b.forwardRef((e,o)=>{const n=D5(e,o);return O5(n),Xe("useTextStyles_unstable")(n),M5(n)});F5.displayName="Text";function oi(e){const{useStyles:o,className:n,displayName:a}=e,l=b.forwardRef((c,u)=>{"use no memo";const d=o(),h=D5(c,u);return O5(h),h.root.className=de(n,h.root.className,d.root,c.className),M5(h)});return l.displayName=a,l}const lM={root:"fui-Body1"},sM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),go=oi({useStyles:sM,className:lM.root,displayName:"Body1"}),cM={root:"fui-Body1Strong"},uM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),Xa=oi({useStyles:uM,className:cM.root,displayName:"Body1Strong"}),dM={root:"fui-Body2"},fM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".figsok6{font-weight:var(--fontWeightRegular);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Ji=oi({useStyles:fM,className:dM.root,displayName:"Body2"}),hM={root:"fui-Caption1"},pM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),Dt=oi({useStyles:pM,className:hM.root,displayName:"Caption1"}),gM={root:"fui-Subtitle2"},mM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Qo=oi({useStyles:mM,className:gM.root,displayName:"Subtitle2"}),vM={root:"fui-Title2"},bM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]}),kd=oi({useStyles:bM,className:vM.root,displayName:"Title2"}),yM={root:"fui-Title3"},xM=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1x0m3f5",Bhrd7zp:"fl43uef",Bg96gwp:"fb86gi6"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fb86gi6{line-height:var(--lineHeightBase600);}"]}),fn=oi({useStyles:xM,className:yM.root,displayName:"Title3"}),wM=e=>ne(e.root,{children:ne(e.textarea,{})}),SM=(e,o)=>{const n=Kg();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e;return{...kM(u,o),size:l,appearance:c}},kM=(e,o)=>{e=ti(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:n="none",onChange:a}=e,[l,c]=Ao({state:e.value,defaultState:e.defaultValue,initialState:void 0}),u=_l({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:n,components:{root:"span",textarea:"textarea"},textarea:Ne(e.textarea,{defaultProps:{ref:o,...u.primary},elementType:"textarea"}),root:Ne(e.root,{defaultProps:u.root,elementType:"span"})};return d.textarea.value=l,d.textarea.onChange=ge(h=>{const p=h.target.value;a==null||a(h,{value:p}),c(p)}),d},Rx={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},BM=ve({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),_M=ve({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),zM=ve({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),CM=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=BM();e.root.className=de(Rx.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=_M(),p=zM();return e.textarea.className=de(Rx.textarea,h.base,h[o],p[a],l&&h.disabled,e.textarea.className),e},q5=b.forwardRef((e,o)=>{const n=SM(e,o);return CM(n),Xe("useTextareaStyles_unstable")(n),wM(n)});q5.displayName="Textarea";const NM=Ee("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),TM=Ee("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function EM(){const e=NM(),o=TM(),{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 jM(e,o){const{findFirstFocusable:n}=uc(),{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 RM={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Cm=ei(void 0),AM=Cm.Provider,ur=e=>Tl(Cm,(o=RM)=>e(o)),DM=!1,H5=b.createContext(void 0),P5=H5.Provider,MM=()=>{var e;return(e=b.useContext(H5))!==null&&e!==void 0?e:DM},I5=b.createContext(void 0);I5.Provider;const OM=()=>b.useContext(I5),Ax=ha(dm,{outScale:.85,easing:Ie.curveDecelerateMid,duration:Ie.durationGentle,exitEasing:Ie.curveAccelerateMin,exitDuration:Ie.durationGentle}),FM=e=>{const{children:o,modalType:n="modal",onOpenChange:a,inertTrapFocus:l=!1,unmountOnClose:c=!0}=e,u=Yt("dialog-title-"),[d,h]=qM(o),[p,v]=Ao({state:e.open,defaultState:e.defaultOpen,initialState:!1}),m=ge(C=>{a==null||a(C.event,C),C.event.isDefaultPrevented()||v(C.open)}),w=jM(p,n),{modalAttributes:B,triggerAttributes:k}=Id({trapFocus:n!=="non-modal",legacyTrapFocus:!l}),x=fc(Cm);return{components:{surfaceMotion:Ax},inertTrapFocus:l,open:p,modalType:n,content:h,trigger:d,requestOpenChange:m,dialogTitleId:u,isNestedDialog:x,unmountOnClose:c,dialogRef:w,modalAttributes:B,triggerAttributes:k,surfaceMotion:hc(e.surfaceMotion,{elementType:Ax,defaultProps:{visible:p,appear:c,unmountOnExit:c}})}};function qM(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 HM=(e,o)=>ne(AM,{value:o.dialog,children:lt(P5,{value:o.dialogSurface,children:[e.trigger,e.content&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.content})})]})});function PM(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 Nm=b.memo(e=>{const o=FM(e),n=PM(o);return HM(o,n)});Nm.displayName="Dialog";const IM=e=>{const o=MM(),{children:n,disableButtonEnhancement:a=!1,action:l=o?"close":"open"}=e,c=cc(n),u=ur(m=>m.requestOpenChange),{triggerAttributes:d}=Id(),h=ge(m=>{var w,B;c==null||(w=(B=c.props).onClick)===null||w===void 0||w.call(B,m),m.isDefaultPrevented()||u({event:m,type:"triggerClick",open:l==="open"})}),p={...c==null?void 0:c.props,ref:sc(c),onClick:h,...d},v=Za((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...p,type:"button"});return{children:Od(n,a?p:v)}},LM=e=>e.children,el=e=>{const o=IM(e);return LM(o)};el.displayName="DialogTrigger";el.isFluentTriggerComponent=!0;const UM=(e,o)=>{const{position:n="end",fluid:a=!1}=e;return{components:{root:"div"},root:Ne(Et("div",{ref:o,...e}),{elementType:"div"}),position:n,fluid:a}},VM=e=>ne(e.root,{}),GM={root:"fui-DialogActions"},WM=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;}}"]}),XM=ve({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),$M=e=>{"use no memo";const o=WM(),n=XM();return e.root.className=de(GM.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},Tm=b.forwardRef((e,o)=>{const n=UM(e,o);return $M(n),Xe("useDialogActionsStyles_unstable")(n),VM(n)});Tm.displayName="DialogActions";const KM=(e,o)=>{var n;return{components:{root:"div"},root:Ne(Et((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},QM=e=>ne(e.root,{}),ZM={root:"fui-DialogBody"},YM=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;}}"]}),JM=e=>{"use no memo";const o=YM();return e.root.className=de(ZM.root,o,e.root.className),e},Em=b.forwardRef((e,o)=>{const n=KM(e,o);return JM(n),Xe("useDialogBodyStyles_unstable")(n),QM(n)});Em.displayName="DialogBody";const Dx={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},eO=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;}"]),tO=ve({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),oO=Ee("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),rO=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;}}"]}),nO=e=>{"use no memo";const o=eO(),n=oO(),a=tO();return e.root.className=de(Dx.root,o,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=de(Dx.action,n,e.action.className)),e},aO=(e,o)=>{const{action:n}=e,a=ur(c=>c.modalType),l=rO();return{components:{root:"h2",action:"div"},root:Ne(Et("h2",{ref:o,id:ur(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:De(n,{renderByDefault:a==="non-modal",defaultProps:{children:b.createElement(el,{disableButtonEnhancement:!0,action:"close"},b.createElement("button",{type:"button",className:l,"aria-label":"close"},b.createElement(Aj,null)))},elementType:"div"})}},iO=e=>lt(b.Fragment,{children:[ne(e.root,{children:e.root.children}),e.action&&ne(e.action,{})]}),jm=b.forwardRef((e,o)=>{const n=aO(e,o);return nO(n),Xe("useDialogTitleStyles_unstable")(n),iO(n)});jm.displayName="DialogTitle";const Mx=lR,lO=(e,o)=>{const n=Ld(),a=ur(z=>z.modalType),l=ur(z=>z.isNestedDialog),c=OM(),u=c??l,d=ur(z=>z.modalAttributes),h=ur(z=>z.dialogRef),p=ur(z=>z.requestOpenChange),v=ur(z=>z.dialogTitleId),m=ur(z=>z.open),w=ur(z=>z.unmountOnClose),B=ge(z=>{if($g(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"})}),k=ge(z=>{var T;(T=e.onKeyDown)===null||T===void 0||T.call(e,z),z.key===El&&!z.isDefaultPrevented()&&(p({event:z,open:!1,type:"escapeKeyDown"}),z.preventDefault())}),x=De(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),C=x==null?void 0:x.appearance;x&&(x.onClick=B,delete x.appearance);const{disableBodyScroll:_,enableBodyScroll:j}=EM();return Mt(()=>{if(!m){j();return}if(!(l||a==="non-modal"))return _(),()=>j()},[m,a,l,_,j]),{components:{backdrop:"div",root:"div",backdropMotion:Mx},open:m,backdrop:x,isNestedDialog:l,treatBackdropAsNested:u,backdropAppearance:C,unmountOnClose:w,mountNode:e.mountNode,root:Ne(Et("div",{tabIndex:-1,role:a==="alert"?"alertdialog":"dialog","aria-modal":a!=="non-modal","aria-labelledby":e["aria-label"]?void 0:v,"aria-hidden":!w&&!m?!0:void 0,...e,...d,onKeyDown:k,ref:it(o,n,h)}),{elementType:"div"}),backdropMotion:hc(e.backdropMotion,{elementType:Mx,defaultProps:{appear:w,visible:m}}),transitionStatus:void 0}},sO=(e,o)=>lt(Ml,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ne(e.backdropMotion,{children:ne(e.backdrop,{})}),ne(DS,{children:ne(P5,{value:o.dialogSurface,children:ne(e.root,{})})})]}),Ox={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},cO=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;}}"]}),uO=Ee("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),dO=ve({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),fO=e=>{"use no memo";const{root:o,backdrop:n,open:a,unmountOnClose:l,treatBackdropAsNested:c,backdropAppearance:u}=e,d=cO(),h=uO(),p=dO(),v=u?u==="transparent":c,m=!l&&!a;return o.className=de(Ox.root,d,m&&p.dialogHidden,o.className),n&&(n.className=de(Ox.backdrop,h,m&&p.dialogHidden,v&&p.nestedDialogBackdrop,n.className)),e};function hO(e){return{dialogSurface:!0}}const Rm=b.forwardRef((e,o)=>{const n=lO(e,o),a=hO();return fO(n),Xe("useDialogSurfaceStyles_unstable")(n),sO(n,a)});Rm.displayName="DialogSurface";const pO=(e,o)=>{var n;return{components:{root:"div"},root:Ne(Et((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},gO=e=>ne(e.root,{}),mO={root:"fui-DialogContent"},vO=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;}}"]}),bO=e=>{"use no memo";const o=vO();return e.root.className=de(mO.root,o,e.root.className),e},Am=b.forwardRef((e,o)=>{const n=pO(e,o);return bO(n),Xe("useDialogContentStyles_unstable")(n),gO(n)});Am.displayName="DialogContent";function yO(e){switch(e){case"info":return b.createElement(nj,null);case"warning":return b.createElement(yS,null);case"error":return b.createElement(Sj,null);case"success":return b.createElement(Fr,null);default:return null}}function xO(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 B=(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(B===void 0||!m)return;const{target:k}=m;if(!vr(k))return;let x;if(a.current)c.current<B&&(x=!1);else{const C=k.scrollWidth;B<C&&(x=!0)}c.current=B,typeof x<"u"&&a.current!==x&&(a.current=x,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 L5=b.createContext(void 0),wO={className:"",nodeRef:b.createRef()};L5.Provider;const SO=()=>{var e;return(e=b.useContext(L5))!==null&&e!==void 0?e:wO},kO=(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}=xO(u),p=u?h?"multiline":"singleline":n,{className:v,nodeRef:m}=SO(),w=Ld(),B=b.useRef(null),k=b.useRef(null),{announce:x}=sC(),C=Yt();return b.useEffect(()=>{var _,j;const z=(_=k.current)===null||_===void 0?void 0:_.textContent,T=(j=B.current)===null||j===void 0?void 0:j.textContent,E=[z,T].filter(Boolean).join(",");x(E,{polite:c==="polite",alert:c==="assertive"})},[k,B,x,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ne(Et("div",{ref:it(o,d,m,w),role:"group","aria-labelledby":C,...e}),{elementType:"div"}),icon:De(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:De(e.bottomReflowSpacer,{renderByDefault:p==="multiline",elementType:"div"}),layout:p,intent:a,transitionClassName:v,actionsRef:B,bodyRef:k,titleId:C}},BO=(e,o)=>{const{shape:n="rounded",...a}=e,l=kO(a,o);return{...l,shape:n,icon:De(e.icon,{defaultProps:{children:yO(l.intent)},renderByDefault:!0,elementType:"div"})}},U5=b.createContext(void 0),_O={titleId:"",layout:"singleline",actionsRef:b.createRef(),bodyRef:b.createRef()},zO=U5.Provider,V5=()=>{var e;return(e=b.useContext(U5))!==null&&e!==void 0?e:_O},CO=(e,o)=>ne(zO,{value:o.messageBar,children:lt(e.root,{children:[e.icon&&ne(e.icon,{}),e.root.children,e.bottomReflowSpacer&&ne(e.bottomReflowSpacer,{})]})}),Up={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},NO=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);}']),TO=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;}"]),EO=Ee("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),jO=ve({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),RO=ve({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),AO=ve({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),DO=e=>{"use no memo";const o=NO(),n=TO(),a=RO(),l=AO(),c=EO(),u=jO();return e.root.className=de(Up.root,o,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,l[e.intent],e.root.className),e.icon&&(e.icon.className=de(Up.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=de(Up.bottomReflowSpacer,c)),e};function MO(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 or=b.forwardRef((e,o)=>{const n=BO(e,o);return DO(n),Xe("useMessageBarStyles_unstable")(n),CO(n,MO(n))});or.displayName="MessageBar";const OO=(e,o)=>{const{titleId:n}=V5();return{components:{root:"span"},root:Ne(Et("span",{ref:o,id:n,...e}),{elementType:"span"})}},FO=e=>ne(e.root,{}),qO={root:"fui-MessageBarTitle"},HO=Ee("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),PO=e=>{"use no memo";const o=HO();return e.root.className=de(qO.root,o,e.root.className),e},Ja=b.forwardRef((e,o)=>{const n=OO(e,o);return PO(n),Xe("useMessageBarTitleStyles_unstable")(n),FO(n)});Ja.displayName="MessageBarTitle";const IO=(e,o)=>{const{bodyRef:n}=V5();return{components:{root:"div"},root:Ne(Et("div",{ref:it(o,n),...e}),{elementType:"div"})}},LO=(e,o)=>ne(vA,{value:o.link,children:ne(e.root,{})}),UO={root:"fui-MessageBarBody"},VO=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);}"]),GO=e=>{"use no memo";const o=VO();return e.root.className=de(UO.root,o,e.root.className),e};function WO(e){return{link:b.useMemo(()=>({inline:!0}),[])}}const rr=b.forwardRef((e,o)=>{const n=IO(e,o),a=WO();return GO(n),Xe("useMessageBarBodyStyles_unstable")(n),LO(n,a)});rr.displayName="MessageBarBody";const G5={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"},Zt={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},XO={...oE(G5)},mc={...aE(G5)};mc.colorNeutralBackground1="#0E1620";mc.colorNeutralBackground2="#131F2D";mc.colorNeutralBackground3="#1A2838";mc.colorNeutralBackground4="#223145";const Fx="wizardux.theme",W5=b.createContext(null);function qx(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function $O({children:e}){const[o,n]=b.useState(()=>localStorage.getItem(Fx)||"system"),[a,l]=b.useState(qx);b.useEffect(()=>{const h=window.matchMedia("(prefers-color-scheme: dark)"),p=()=>l(qx());return h.addEventListener("change",p),()=>h.removeEventListener("change",p)},[]),b.useEffect(()=>{localStorage.setItem(Fx,o)},[o]);const c=o==="system"?a:o,u=c==="dark"?mc:XO;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 y.jsx(W5.Provider,{value:d,children:y.jsx(iS,{theme:u,style:{height:"100%"},children:e})})}function KO(){const e=b.useContext(W5);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}let $u=null;async function QO(){if($u)return $u;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return $u=(await e.json()).csrfToken,$u}async function Nr(e,o,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await QO());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 gr={state:()=>Nr("GET","/api/state"),saveState:e=>Nr("PUT","/api/state",e),resetState:()=>Nr("POST","/api/state/reset",{}),jumpTo:e=>Nr("POST","/api/state/jump",{step:e}),system:()=>Nr("GET","/api/system"),steps:()=>Nr("GET","/api/steps"),questions:e=>Nr("GET",`/api/steps/${e}/questions`),apply:(e,o)=>Nr("POST",`/api/steps/${e}/apply`,{answers:o}),configSeedKeys:()=>Nr("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")=>Nr("POST","/api/config-seed/import",{seed:e,mode:o})},ZO=Oo({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 ${A.colorNeutralStroke3}`,fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200},key:{color:A.colorNeutralForeground1,whiteSpace:"nowrap"},value:{color:A.colorNeutralForeground3,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"320px"},section:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"12px"}});function Hx(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 YO(){const e=ZO(),o=ic(),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),[B,k]=b.useState(null);async function x(){try{const{blob:E,filename:R}=await gr.exportConfigSeed(),F=URL.createObjectURL(E),O=document.createElement("a");O.href=F,O.download=R,O.click(),URL.revokeObjectURL(F)}catch(E){const R=E instanceof Error?E.message:"Export failed.";u(R),l("error")}}function C(){var E;u(null),w(null),h(null),k(null),(E=n.current)==null||E.click()}async function _(E){var F;const R=(F=E.target.files)==null?void 0:F[0];if(E.target.value="",!!R){if(R.size>64*1024){u(`File too large (${R.size} bytes; max 65536).`),l("error");return}try{const O=await R.text(),X=JSON.parse(O);if(!X||typeof X!="object"||!X.values||typeof X.values!="object")throw new Error("Not a valid PACAF wizard config — missing `values` object.");if(X.version!==void 0&&Number(X.version)>1)throw new Error(`Seed version ${X.version} is newer than this wizard supports.`);h(X);try{const he=(await gr.state()).state,ie=[];for(const ue of["PP_ENV_DEV","PP_ENV_TEST","PP_ENV_PROD"]){const le=String(he[ue]??"").trim(),Q=String(X.values[ue]??"").trim();le&&Q&&le!==Q&&ie.push(ue)}ie.length>0&&k(`This seed targets different environment URLs than the current project: ${ie.join(", ")}. Connection IDs from this seed will likely not work in your current environments.`)}catch{}l("preview")}catch(O){const X=O instanceof Error?O.message:"Could not read file.";u(X),l("error")}}}async function j(){if(d){l("applying");try{const E=await gr.importConfigSeed(d,p);w(E),l("done"),o.invalidateQueries({queryKey:["state"]}),o.invalidateQueries({queryKey:["questions"]})}catch(E){const R=E instanceof Error?E.message:"Import failed.";u(R),l("error")}}}function z(){l("idle"),h(null),w(null),u(null),k(null),v("merge")}const T=a==="preview"||a==="applying"||a==="done"||a==="error";return y.jsxs(y.Fragment,{children:[y.jsx("input",{ref:n,type:"file",accept:"application/json,.json",style:{display:"none"},onChange:_}),y.jsxs(B5,{children:[y.jsx(_m,{disableButtonEnhancement:!0,children:y.jsx(Qd,{relationship:"label",content:"Configuration",children:y.jsx(et,{appearance:"subtle",icon:y.jsx(JE,{}),"aria-label":"Configuration"})})}),y.jsx(E5,{children:y.jsxs(T5,{children:[y.jsx(Cg,{icon:y.jsx(wS,{}),onClick:x,children:"Export configuration…"}),y.jsx(Cg,{icon:y.jsx(fj,{}),onClick:C,children:"Import configuration…"})]})})]}),y.jsx(Nm,{open:T,onOpenChange:(E,R)=>{R.open||z()},children:y.jsx(Rm,{children:y.jsxs(Em,{children:[y.jsx(jm,{children:a==="done"?"Configuration imported":a==="error"?"Import failed":"Import configuration"}),y.jsxs(Am,{children:[a==="preview"&&d&&y.jsx(JO,{seed:d,mode:p,onModeChange:v,envWarning:B,styles:e}),a==="applying"&&y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[y.jsx(pn,{size:"tiny"})," ",y.jsx(F5,{children:"Writing configuration…"})]}),a==="done"&&m&&y.jsx(eF,{result:m,styles:e}),a==="error"&&y.jsx(or,{intent:"error",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Import failed"}),c]})})]}),y.jsxs(Tm,{children:[a==="preview"&&y.jsxs(y.Fragment,{children:[y.jsx(et,{appearance:"secondary",onClick:z,children:"Cancel"}),y.jsx(et,{appearance:"primary",onClick:j,children:"Apply"})]}),(a==="done"||a==="error")&&y.jsx(et,{appearance:"primary",onClick:z,children:"Close"}),a==="applying"&&y.jsx(et,{appearance:"secondary",disabled:!0,children:"Working…"})]})]})})})]})}function JO({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 y.jsxs("div",{className:l.section,children:[y.jsx(or,{intent:"info",children:y.jsxs(rr,{children:["Secrets are never included. App Registration secrets remain in 1Password or",y.jsx("code",{children:" .env.local"})," — only references to them ship in this file."]})}),u&&y.jsx(or,{intent:"info",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"1Password references imported"}),"This seed includes ",y.jsx("code",{children:"OP_VAULT"})," / ",y.jsx("code",{children:"OP_ITEM"})," pointers. You'll still need access to that vault on this machine to retrieve the actual secret."]})}),a&&y.jsx(or,{intent:"warning",icon:y.jsx(tj,{}),children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Environment mismatch"}),a]})}),y.jsxs(Xa,{children:["Values in this seed (",c.length,")"]}),y.jsxs("ul",{className:l.list,children:[c.map(([d,h])=>y.jsxs("li",{className:l.row,children:[y.jsx("span",{className:l.key,children:d}),y.jsx("span",{className:l.value,title:Hx(h),children:Hx(h)})]},d)),c.length===0&&y.jsx(Dt,{children:"(empty)"})]}),y.jsx(Xa,{children:"How to apply"}),y.jsxs(j5,{value:o,onChange:(d,h)=>n(h.value),children:[y.jsx(Ng,{value:"merge",label:"Merge (recommended) — only fill values that are currently empty"}),y.jsx(Ng,{value:"replace-allowlisted",label:"Overwrite — replace existing values with values from the seed"})]})]})}function eF({result:e,styles:o}){return y.jsxs("div",{className:o.section,children:[y.jsx(or,{intent:"success",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Done"}),e.written.length," value",e.written.length===1?"":"s"," written,"," ",e.preserved.length," preserved,"," ",e.skipped.length," skipped."]})}),e.written.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Written"}),y.jsx("ul",{className:o.list,children:e.written.map(n=>y.jsx("li",{className:o.row,children:y.jsx("span",{className:o.key,children:n.key})},n.key))})]}),e.preserved.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Preserved (already set)"}),y.jsx("ul",{className:o.list,children:e.preserved.map(n=>y.jsxs("li",{className:o.row,children:[y.jsx("span",{className:o.key,children:n.key}),y.jsx("span",{className:o.value,children:n.reason})]},n.key))})]}),e.skipped.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Skipped"}),y.jsx("ul",{className:o.list,children:e.skipped.map(n=>y.jsxs("li",{className:o.row,children:[y.jsx("span",{className:o.key,children:n.key}),y.jsx("span",{className:o.value,children:n.reason})]},n.key))})]})]})}const tF=Oo({root:{display:"flex",alignItems:"center",gap:"16px",padding:"0 24px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground1Hover,backdropFilter:"blur(20px) saturate(180%)"},brand:{display:"flex",alignItems:"center",gap:"12px",color:A.colorNeutralForeground1,textDecoration:"none"},badge:{width:"32px",height:"32px",borderRadius:"8px",background:Zt.accent,display:"grid",placeItems:"center",color:"#ffffff",fontWeight:700,boxShadow:A.shadow8},spacer:{flex:1},navLinks:{display:"flex",gap:"4px"},navLink:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"6px",color:A.colorNeutralForeground2,textDecoration:"none",fontSize:A.fontSizeBase300},navLinkActive:{backgroundColor:A.colorNeutralBackground3,color:A.colorNeutralForeground1}});function oF(){const e=tF(),{mode:o,setMode:n}=KO(),a=nr(),l=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=o==="system"?"light":o==="light"?"dark":"system",u=o==="dark"?oj:o==="light"?rj:bS;return y.jsxs("header",{className:e.root,children:[y.jsxs(un,{to:"/",className:e.brand,children:[y.jsx("div",{className:e.badge,children:"F"}),y.jsx(Xa,{children:"Foundations"})]}),y.jsx("div",{className:e.spacer}),y.jsxs("nav",{className:e.navLinks,children:[y.jsxs(un,{to:"/",className:de(e.navLink,l("/")&&e.navLinkActive),children:[y.jsx(kS,{})," Home"]}),y.jsxs(un,{to:"/summary",className:de(e.navLink,l("/summary")&&e.navLinkActive),children:[y.jsx(wj,{})," Summary"]}),y.jsxs(un,{to:"/diagnostics",className:de(e.navLink,l("/diagnostics")&&e.navLinkActive),children:[y.jsx(gd,{})," Diagnostics"]})]}),y.jsx(Qd,{relationship:"label",content:`Theme: ${o}. Click to cycle.`,children:y.jsx(et,{appearance:"subtle",icon:y.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})}),y.jsx(YO,{})]})}const rF=Oo({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function X5(){const e=rF(),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)),B=v*(.38+.1*Math.cos(m*1.2)),k=a.createRadialGradient(w,B,0,w,B,Math.max(p,v)*.7);k.addColorStop(0,"rgba(0, 120, 212, 0.55)"),k.addColorStop(1,"rgba(0, 120, 212, 0)"),a.fillStyle=k,a.fillRect(0,0,p,v);const x=p*(.72+.1*Math.cos(m*.8)),C=v*(.55+.12*Math.sin(m*1.5)),_=a.createRadialGradient(x,C,0,x,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 j=p*(.4+.18*Math.cos(m*.6+1.7)),z=v*(.85+.1*Math.sin(m*.9)),T=a.createRadialGradient(j,z,0,j,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)}},[]),y.jsx("canvas",{ref:o,className:e.canvas,"aria-hidden":"true"})}function Zd(){return Td({queryKey:["state"],queryFn:()=>gr.state(),refetchInterval:5e3})}function $5(){return Td({queryKey:["system"],queryFn:()=>gr.system(),staleTime:3e4})}function Dm(){return Td({queryKey:["steps"],queryFn:()=>gr.steps(),refetchInterval:5e3})}function nF(e){return Td({queryKey:["questions",e],queryFn:()=>gr.questions(e),enabled:e!=null})}const aF=Oo({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:A.colorNeutralBackground1,border:`1px solid ${A.colorNeutralStroke2}`,boxShadow:A.shadow4,fontSize:A.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:A.colorBrandForeground1,alignSelf:"center"},title:{margin:0,background:Zt.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:A.colorNeutralForeground2,fontSize:A.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:Zt.accentSoft,border:`1px solid ${A.colorNeutralStroke2}`,boxShadow:A.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:Zt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow8,minWidth:"180px",height:"44px",fontSize:A.fontSizeBase400,fontWeight:600},ctaTrack:{width:"100%",height:"6px",borderRadius:"999px",background:A.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},ctaFill:{height:"100%",background:Zt.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 ${A.colorNeutralStroke2}`},stepRow:{display:"flex",alignItems:"center",gap:"12px",padding:"12px 16px",background:A.colorNeutralBackground1,cursor:"pointer",transition:"background-color 120ms",":hover":{backgroundColor:A.colorNeutralBackground1Hover}},stepIcon:{fontSize:"16px",flexShrink:0},stepDone:{color:A.colorPaletteGreenForeground1},stepCurrent:{color:A.colorBrandForeground1},stepPending:{color:A.colorNeutralForeground4},stepLabel:{flex:1,fontSize:A.fontSizeBase300,fontWeight:A.fontWeightSemibold,color:A.colorNeutralForeground1},stepLabelDim:{flex:1,fontSize:A.fontSizeBase300,fontWeight:A.fontWeightRegular,color:A.colorNeutralForeground3},stepBadge:{fontSize:A.fontSizeBase200,color:A.colorNeutralForeground3},footer:{textAlign:"center",color:A.colorNeutralForeground3,fontSize:A.fontSizeBase200}});function iF(){var B,k,x,C,_,j,z,T;const e=aF(),o=nc(),n=Zd(),a=Dm(),l=$5(),c=ic(),u=M2({mutationFn:()=>gr.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((B=n.data)==null?void 0:B.completed)??0,h=((k=n.data)==null?void 0:k.next)??1,p=((x=n.data)==null?void 0:x.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 y.jsxs("div",{className:e.root,children:[y.jsxs("div",{className:e.hero,children:[y.jsx(X5,{}),y.jsxs("div",{className:e.heroInner,children:[y.jsxs("div",{className:e.pill,children:[y.jsx(_j,{})," Foundations"]}),y.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),y.jsx(go,{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."})]})]}),y.jsxs("div",{className:e.body,children:[y.jsx("div",{className:e.ctaCard,children:y.jsxs("div",{className:e.ctaInner,children:[y.jsx("div",{className:e.ctaText,children:m?y.jsxs(y.Fragment,{children:[y.jsxs(Qo,{style:{display:"block",color:A.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",v?`, ${v}`:""]}),y.jsxs(kd,{style:{margin:0},children:["Pick up at step ",h," of ",p]}),y.jsxs(go,{style:{marginTop:"6px",color:A.colorNeutralForeground3},children:[d," of ",p," steps complete · ",w,"%"]}),y.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:y.jsx("div",{className:e.ctaFill,style:{width:`${w}%`}})})]}):y.jsxs(y.Fragment,{children:[y.jsx(kd,{style:{margin:0},children:"Ready when you are"}),y.jsx(go,{style:{marginTop:"6px",color:A.colorNeutralForeground2},children:"Each step is self-contained. You'll end with a deployable app."})]})}),y.jsxs("div",{className:e.ctaActions,children:[y.jsx(et,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:y.jsx(Dr,{}),onClick:()=>o(`/step/${h}`),children:m?"Resume":"Get started"}),m&&y.jsxs(Nm,{children:[y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"subtle",icon:y.jsx(uj,{}),children:"Start over"})}),y.jsx(Rm,{children:y.jsxs(Em,{children:[y.jsx(jm,{children:"Reset wizard state?"}),y.jsx(Am,{children:"This clears all collected answers. Your project files are not affected."}),y.jsxs(Tm,{children:[y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"secondary",children:"Cancel"})}),y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?y.jsx(pn,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),l.data&&y.jsxs("div",{className:e.systemBar,children:[y.jsxs(Yo,{appearance:"filled",color:l.data.node?"success":"danger",children:["Node ",l.data.node||"—"]}),y.jsxs(Yo,{appearance:"filled",color:l.data.git?"success":"danger",children:["Git ",l.data.git||"missing"]}),y.jsxs(Yo,{appearance:"filled",color:l.data.dotnet?"success":"danger",children:[".NET ",l.data.dotnet||"missing"]}),y.jsxs(Yo,{appearance:"filled",color:l.data.pac?"success":"danger",children:["PAC ",l.data.pac||"missing"]}),y.jsx(Yo,{appearance:"filled",color:l.data.op?"success":"informative",children:l.data.op?`1Password ${l.data.op}`:"1Password (optional)"})]}),a.data&&y.jsx("div",{className:e.stepSection,children:a.data.steps.map(E=>{const R=E.status==="done",F=E.status==="current";return y.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:[R?y.jsx(Fr,{className:`${e.stepIcon} ${e.stepDone}`}):F?y.jsx(dj,{className:`${e.stepIcon} ${e.stepCurrent}`}):y.jsx(cm,{className:`${e.stepIcon} ${e.stepPending}`}),y.jsxs("span",{className:R||F?e.stepLabel:e.stepLabelDim,children:[E.number,". ",E.title]}),R&&y.jsx("span",{className:e.stepBadge,children:"Done"}),F&&y.jsx(Yo,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},E.number)})}),((j=l.data)==null?void 0:j.rootDir)&&y.jsxs("div",{className:e.footer,children:[y.jsx(cj,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",y.jsx("code",{children:l.data.rootDir})]}),((T=(z=l.data)==null?void 0:z.cloudSync)==null?void 0:T.detected)&&y.jsx(or,{intent:"warning",children:y.jsxs(rr,{children:[y.jsxs(Ja,{children:["Project is inside ",l.data.cloudSync.provider]}),"Cloud-sync providers upload every file in this folder, regardless of ",y.jsx("code",{children:".gitignore"}),". They may raise DLP alerts on encrypted secrets in ",y.jsx("code",{children:".env.local"}),". We strongly recommend moving the project out of ",l.data.cloudSync.provider,", or choosing ",y.jsx("strong",{children:"1Password"})," storage in Step 4. See ",y.jsx("code",{children:"TROUBLESHOOTING.md"}),' → "Authentication & Secrets".']})}),u.isError&&y.jsx(or,{intent:"error",children:y.jsxs(rr,{children:[y.jsx(Ja,{children:"Reset failed"}),u.error.message]})})]})]})}function lF(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 sF=Oo({root:{width:"220px",height:"100%",overflowY:"auto",padding:"12px",borderRight:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground2},heading:{color:A.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:A.colorNeutralBackground3}},itemActive:{backgroundColor:A.colorBrandBackground2,border:`1px solid ${A.colorBrandStroke2}`},iconCol:{flex:"0 0 18px",fontSize:"18px",display:"grid",placeItems:"center"},done:{color:A.colorPaletteGreenForeground1},current:{color:A.colorBrandForeground1},pending:{color:A.colorNeutralForeground3},terminal:{color:A.colorNeutralForeground3},title:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:A.fontWeightSemibold,fontSize:A.fontSizeBase300}});function Px({steps:e,current:o}){const n=sF(),a=nc(),l=nr();return y.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[y.jsx(Dt,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===o&&l.pathname.includes("/step/"),d=c.status==="done"?Fr:c.status==="current"?Dr:c.manual?pd:c.canRunInBrowser?cm:xS,h=c.status==="done"?n.done:c.status==="current"||c.manual?n.current:c.canRunInBrowser?n.pending:n.terminal;return y.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:[y.jsx("div",{className:`${n.iconCol} ${h}`,children:y.jsx(d,{})}),y.jsxs(Ji,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}const K5=Oo({wrap:{display:"flex",flexDirection:"column",gap:"20px"},requiredBanner:{display:"flex",alignItems:"center",gap:"12px",padding:"14px 18px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(193,99,12,0.12), rgba(255,185,0,0.08))",border:`1px solid ${A.colorPaletteDarkOrangeBorderActive}`},requiredIcon:{fontSize:"22px",color:A.colorPaletteDarkOrangeForeground1,flexShrink:0},intro:{color:A.colorNeutralForeground2},steps:{display:"flex",flexDirection:"column",gap:"16px"},stepRow:{display:"flex",gap:"14px",alignItems:"flex-start"},stepNum:{width:"28px",height:"28px",borderRadius:"50%",background:Zt.accent,color:"#fff",display:"grid",placeItems:"center",fontWeight:700,fontSize:"14px",flexShrink:0,marginTop:"2px"},stepBody:{flex:1,display:"flex",flexDirection:"column",gap:"8px",minWidth:0},ctaPrimary:{background:Zt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow4,minWidth:"260px",height:"44px",fontWeight:600,alignSelf:"flex-start"},pill:{display:"inline-flex",alignItems:"center",gap:"6px",padding:"3px 10px",borderRadius:"6px",background:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,fontWeight:600},outsidePill:{background:"rgba(0,120,212,0.10)",border:`1px solid ${A.colorBrandStroke1}`,color:A.colorBrandForeground1},figure:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"4px"},illo:{border:`1px solid ${A.colorNeutralStroke2}`,borderRadius:"12px",overflow:"hidden",background:A.colorNeutralBackground1,boxShadow:A.shadow8,maxWidth:"620px"},toolbar:{display:"flex",alignItems:"center",gap:"18px",padding:"10px 16px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,background:A.colorNeutralBackground2,fontSize:A.fontSizeBase200,color:A.colorNeutralForeground2},toolbarItem:{display:"inline-flex",alignItems:"center",gap:"5px",whiteSpace:"nowrap"},toolbarActive:{color:A.colorBrandForeground1,fontWeight:700,position:"relative"},menus:{display:"flex",alignItems:"flex-start",padding:"14px 16px",gap:"8px",flexWrap:"wrap"},menu:{minWidth:"170px",borderRadius:"8px",border:`1px solid ${A.colorNeutralStroke2}`,background:A.colorNeutralBackground1,boxShadow:A.shadow16,overflow:"hidden",paddingTop:"4px",paddingBottom:"4px"},menuItem:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"12px",padding:"7px 12px",fontSize:A.fontSizeBase200,color:A.colorNeutralForeground1},menuItemActive:{background:A.colorBrandBackground2,color:A.colorBrandForeground1,fontWeight:600},menuItemHighlight:{position:"relative",background:A.colorNeutralBackground1,outline:`2px solid ${A.colorPaletteRedBorderActive}`,outlineOffset:"-2px",borderRadius:"6px",fontWeight:700,color:A.colorPaletteRedForeground1},connector:{alignSelf:"center",color:A.colorNeutralForeground3,fontSize:"18px",flexShrink:0},caption:{color:A.colorNeutralForeground3},confirmRow:{display:"flex",flexDirection:"column",gap:"10px",padding:"16px 18px",borderRadius:"10px",background:A.colorNeutralBackground2,border:`1px solid ${A.colorNeutralStroke2}`},actions:{display:"flex",gap:"8px",alignItems:"center",paddingTop:"16px",borderTop:`1px solid ${A.colorNeutralStroke2}`,marginTop:"4px"},spacer:{flex:1}});function cF(){const e=K5();return y.jsxs("div",{className:e.figure,children:[y.jsxs("div",{className:e.illo,role:"img","aria-label":"Solution toolbar: Add existing, then App, then Code app",children:[y.jsxs("div",{className:e.toolbar,children:[y.jsxs("span",{className:e.toolbarItem,children:[y.jsx(yg,{})," New"]}),y.jsxs("span",{className:[e.toolbarItem,e.toolbarActive].join(" "),children:[y.jsx(yg,{})," Add existing ⌄"]}),y.jsx("span",{className:e.toolbarItem,children:"↥ Publish all customizations"}),y.jsx("span",{className:e.toolbarItem,children:"•••"})]}),y.jsxs("div",{className:e.menus,children:[y.jsxs("div",{className:e.menu,children:[y.jsx("div",{className:e.menuItem,children:"Automation"}),y.jsxs("div",{className:[e.menuItem,e.menuItemActive].join(" "),children:[y.jsx("span",{children:"App"}),y.jsx(Xi,{})]}),y.jsx("div",{className:e.menuItem,children:"Dashboard"}),y.jsxs("div",{className:e.menuItem,children:["Table ",y.jsx(Xi,{})]}),y.jsxs("div",{className:e.menuItem,children:["More ",y.jsx(Xi,{})]})]}),y.jsx(Xi,{className:e.connector}),y.jsxs("div",{className:e.menu,children:[y.jsx("div",{className:e.menuItem,children:"Canvas app"}),y.jsx("div",{className:[e.menuItem,e.menuItemHighlight].join(" "),children:"Code app"}),y.jsx("div",{className:e.menuItem,children:"Model-driven app"}),y.jsx("div",{className:e.menuItem,children:"Page"})]})]})]}),y.jsxs(Dt,{className:e.caption,children:["In your solution, select ",y.jsx("strong",{children:"+ Add existing → App → Code app"}),"."]})]})}function uF({solution:e,stepNumber:o,totalSteps:n,onBack:a,onFinish:l}){const c=K5(),[u,d]=b.useState(!1),h=e.appName||"your Code app",p=e.displayName||e.uniqueName||"your target solution",v=e.linkTarget==="solution"?`Open ${p} in the Maker Portal`:e.linkTarget==="solutions"?"Open Solutions in the Maker Portal":"Open the Power Apps Maker Portal";return y.jsxs("div",{className:c.wrap,children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[y.jsx("div",{className:c.stepNum,style:{width:36,height:36,borderRadius:10},children:o}),y.jsxs("div",{style:{flex:1},children:[y.jsx(kd,{style:{margin:0},children:"Add your Code app to your solution"}),y.jsxs(Dt,{style:{color:A.colorNeutralForeground3},children:["Step ",o," of ",n," · required manual step"]})]})]}),y.jsxs("div",{className:c.requiredBanner,children:[y.jsx(yS,{className:c.requiredIcon}),y.jsxs(go,{style:{fontWeight:600},children:["This step is required and can’t be done from the terminal — you must add the Code app to your solution by hand in the Maker Portal. A deployed Code app is ",y.jsx("em",{children:"not"})," automatically included in your solution."]})]}),y.jsxs(go,{className:c.intro,children:["Your app is deployed, but Power Platform does not reliably bind a Code app to its solution during ",y.jsx("code",{children:"pac code push"}),". Follow the three steps below to add it yourself — it takes under a minute."]}),y.jsxs("div",{className:c.steps,children:[y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"1"}),y.jsxs("div",{className:c.stepBody,children:[y.jsx(fn,{children:"Open your solution"}),y.jsx(Ji,{style:{color:A.colorNeutralForeground2},children:e.linkTarget==="solution"?y.jsxs(y.Fragment,{children:["This link opens ",y.jsx("strong",{children:p})," directly."]}):e.linkTarget==="solutions"?y.jsxs(y.Fragment,{children:["This opens the Solutions list — find and open ",y.jsx("strong",{children:p}),"."]}):y.jsxs(y.Fragment,{children:["Open the Maker Portal, switch to your target environment, then open ",y.jsx("strong",{children:p}),"."]})}),y.jsx(et,{className:c.ctaPrimary,icon:y.jsx(pd,{}),as:"a",href:e.makerPortalUrl,target:"_blank",rel:"noopener noreferrer",children:v})]})]}),y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"2"}),y.jsxs("div",{className:c.stepBody,children:[y.jsx(fn,{children:"Choose “Add existing → App → Code app”"}),y.jsxs(Ji,{style:{color:A.colorNeutralForeground2},children:["On the solution toolbar, select ",y.jsxs("span",{className:c.pill,children:[y.jsx(yg,{}),"Add existing"]}),", then ",y.jsx("span",{className:c.pill,children:"App"}),", then ",y.jsx("span",{className:c.pill,children:"Code app"}),"."]}),y.jsx(cF,{})]})]}),y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"3"}),y.jsxs("div",{className:c.stepBody,children:[y.jsxs(fn,{children:["Switch to ",y.jsx("span",{className:[c.pill,c.outsidePill].join(" "),children:"Outside Dataverse"})," and add your app"]}),y.jsxs(Ji,{style:{color:A.colorNeutralForeground2},children:["Code apps are ",y.jsx("strong",{children:"not"})," stored in Dataverse, so the picker won’t show them under the default tab. Select the ",y.jsx("span",{className:[c.pill,c.outsidePill].join(" "),children:"Outside Dataverse"})," ","filter, then ",y.jsx(YE,{style:{verticalAlign:"middle"}})," search for"," ",y.jsx(Yo,{appearance:"tint",color:"brand",children:h}),", select it, and click ",y.jsx("strong",{children:"Add"}),"."]})]})]})]}),y.jsxs("div",{className:c.confirmRow,children:[y.jsx(xm,{checked:u,onChange:(m,w)=>d(!!w.checked),label:y.jsxs(go,{children:["I’ve added ",y.jsx("strong",{children:h})," to ",y.jsx("strong",{children:p})," using the “Outside Dataverse” filter."]})}),u&&y.jsxs(Dt,{style:{color:A.colorPaletteGreenForeground1,display:"flex",alignItems:"center",gap:6},children:[y.jsx(Fr,{})," Nicely done — your Code app now travels with your solution."]})]}),y.jsxs("div",{className:c.actions,children:[y.jsx(et,{appearance:"subtle",icon:y.jsx(SS,{}),onClick:a,children:"Back"}),y.jsx("div",{className:c.spacer}),y.jsx(et,{className:c.ctaPrimary,style:{minWidth:"160px",height:"40px"},iconPosition:"after",icon:y.jsx(Dr,{}),onClick:l,disabled:!u,children:"Finish"})]})]})}function Ix(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(y.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 Mm=Oo({card:{padding:"16px",borderRadius:"10px",backgroundColor:A.colorNeutralBackground2,border:`1px solid ${A.colorNeutralStroke2}`,display:"flex",flexDirection:"column",gap:"8px"},required:{color:A.colorPaletteRedForeground1,marginLeft:"4px"},help:{color:A.colorNeutralForeground3},groupHeader:{display:"flex",flexDirection:"column",gap:"4px",paddingBottom:"4px"},groupTitle:{fontWeight:A.fontWeightSemibold},groupItems:{display:"flex",flexDirection:"column"},groupItem:{padding:"12px 0",borderTop:`1px solid ${A.colorNeutralStroke2}`},firstGroupItem:{paddingTop:"8px"},why:{fontSize:A.fontSizeBase200,color:A.colorNeutralForeground2,whiteSpace:"pre-wrap",lineHeight:1.5,maxWidth:"360px",padding:"4px 0"},whyTrigger:{minWidth:"auto",padding:"2px",height:"auto",color:A.colorNeutralForeground3,":hover":{color:A.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:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,color:A.colorNeutralForeground2,fontSize:A.fontSizeBase200},savedSecretIcon:{color:A.colorPaletteGreenForeground1,fontSize:"16px",flexShrink:0},savedSecretEdit:{marginLeft:"auto",minWidth:"auto",padding:"2px 8px",height:"auto"}});function Lx(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 Om(e,o){return!!(e.showIf&&!Lx(e.showIf,o)||e.hideIf&&Lx(e.hideIf,o))}function dF(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 fF(e,o,n){return e.required&&(o==null||o==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof o=="string"?dF(o):null}function Q5({question:e,value:o,onChange:n,showError:a,answers:l}){var z;const c=Mm(),u=fF(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,B]=b.useState([]),[k,x]=b.useState(!1),C=b.useRef(m);b.useEffect(()=>{if(!v)return;if(!m||m==="false"||m==="0"||m.startsWith("__")){B([]),C.current=m;return}if(m===C.current&&w.length>0)return;C.current=m,x(!0);const E=new AbortController;return fetch(`${v.endpoint}?${v.param}=${encodeURIComponent(m)}`,{signal:E.signal}).then(R=>R.json()).then(R=>{const F=R[v.responseKey]||[];B(F),x(!1)}).catch(()=>{E.signal.aborted||x(!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]),j=y.jsxs("span",{className:c.labelRow,children:[e.label,e.required?y.jsx("span",{className:c.required,"aria-hidden":!0,children:"*"}):null,e.why&&y.jsxs(f5,{withArrow:!0,children:[y.jsx(ym,{disableButtonEnhancement:!0,children:y.jsx(et,{appearance:"transparent",icon:y.jsx(zj,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),y.jsx(d5,{children:y.jsx("div",{className:c.why,children:Ix(e.why)})})]})]});return y.jsxs(y.Fragment,{children:[y.jsx(m5,{label:j,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?y.jsx(_g,{value:o??"",onChange:(T,E)=>n(e.id,E.value),"aria-required":e.required||void 0}):e.type==="secret"?p?y.jsxs("div",{className:c.savedSecret,children:[y.jsx(sj,{className:c.savedSecretIcon}),y.jsx("span",{children:e.savedHint}),y.jsx(et,{appearance:"subtle",size:"small",icon:y.jsx(lj,{}),className:c.savedSecretEdit,onClick:()=>h(!0),children:"Change"})]}):y.jsx(_g,{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"?y.jsx(A5,{checked:!!o,onChange:(T,E)=>n(e.id,E.checked)}):e.type==="select"?k?y.jsx(pn,{size:"tiny",label:"Loading options…"}):y.jsx(w5,{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=>y.jsx(x5,{value:T.value,children:T.label},T.value))}):e.type==="multiselect"?y.jsx(q5,{value:Array.isArray(o)?o.join(", "):"",onChange:(T,E)=>n(e.id,E.value.split(",").map(R=>R.trim()).filter(Boolean))}):e.type==="checkboxes"?y.jsx("div",{className:c.checkboxList,children:(e.options||[]).map(T=>{const E=Array.isArray(o)&&o.includes(T.value);return y.jsx(xm,{label:T.label,checked:E,onChange:(R,F)=>{const O=Array.isArray(o)?[...o]:[];n(e.id,F.checked?Array.from(new Set([...O,T.value])):O.filter(X=>X!==T.value))}},T.value)})}):y.jsxs(Dt,{children:["Unsupported question type: ",e.type]})}),e.help&&y.jsx(Ji,{className:c.help,children:Ix(e.help)})]})}function hF({question:e,answers:o,value:n,onChange:a,showError:l}){const c=Mm();return Om(e,o)?null:y.jsx("div",{className:c.card,children:y.jsx(Q5,{question:e,answers:o,value:n,onChange:a,showError:l})})}function pF({group:e,questions:o,answers:n,onChange:a,showError:l}){const c=Mm(),u=o.filter(d=>!Om(d,n));return u.length===0?null:y.jsxs("div",{className:c.card,children:[y.jsxs("div",{className:c.groupHeader,children:[y.jsx(go,{className:c.groupTitle,children:e.label}),e.help&&y.jsx(Ji,{className:c.help,children:e.help})]}),y.jsx("div",{className:c.groupItems,children:u.map((d,h)=>y.jsx("div",{className:`${c.groupItem} ${h===0?c.firstGroupItem:""}`,children:y.jsx(Q5,{question:d,answers:n,value:n[d.id],onChange:a,showError:l})},d.id))})]})}const gF=Oo({root:{height:"100%",display:"grid",gridTemplateRows:"auto 1fr auto",backgroundColor:A.colorNeutralBackground3,borderRadius:"10px",overflow:"hidden",border:`1px solid ${A.colorNeutralStroke2}`},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground4},spacer:{flex:1},output:{margin:0,padding:"12px 16px",overflowY:"auto",fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,lineHeight:A.lineHeightBase200,color:A.colorNeutralForeground1,whiteSpace:"pre-wrap",wordBreak:"break-word"},err:{color:A.colorPaletteRedForeground1},info:{color:A.colorNeutralForeground3,fontStyle:"italic"},footer:{display:"flex",alignItems:"center",gap:"8px",padding:"6px 12px",borderTop:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground4,color:A.colorNeutralForeground3,minHeight:"28px"},footerIdle:{color:A.colorPaletteDarkOrangeForeground1}});function Ux(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 mF({lines:e,status:o,onClear:n}){var x;const a=gF(),l=b.useRef(null);b.useEffect(()=>{l.current&&(l.current.scrollTop=l.current.scrollHeight)},[e]);const c=e.length,u=((x=e[c-1])==null?void 0:x.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 B=b.useMemo(()=>{if(o!=="running"||d===null)return null;const C=m-d,j=m-p>2e4;return{label:j?`Still working — waiting on npm / network… (running for ${Ux(C)})`:`Running for ${Ux(C)}`,idle:j}},[o,d,m,p]);function k(){const C=e.map(T=>T.text).join(""),_=new Blob([C],{type:"text/plain"}),j=URL.createObjectURL(_),z=document.createElement("a");z.href=j,z.download=`wizardux-log-${Date.now()}.txt`,z.click(),URL.revokeObjectURL(j)}return y.jsxs("div",{className:a.root,children:[y.jsxs("div",{className:a.toolbar,children:[y.jsx(Xa,{children:"Live output"}),y.jsx(Dt,{style:{color:o==="error"?A.colorPaletteRedForeground1:o==="done"?A.colorPaletteGreenForeground1:A.colorNeutralForeground3},children:o==="idle"?"Idle":o==="running"?"Running…":o==="done"?"Complete":"Failed"}),y.jsx("div",{className:a.spacer}),y.jsx(et,{appearance:"subtle",size:"small",icon:y.jsx(wS,{}),onClick:k,disabled:e.length===0,children:"Save"}),n&&y.jsx(et,{appearance:"subtle",size:"small",icon:y.jsx(pj,{}),onClick:n,disabled:e.length===0,children:"Clear"})]}),y.jsx("pre",{ref:l,className:a.output,"aria-live":"polite",children:e.length===0?y.jsx("span",{className:a.info,children:"No output yet. Save the form to begin."}):e.map((C,_)=>y.jsx("span",{className:C.stream==="stderr"?a.err:void 0,children:C.text},_))}),B&&y.jsx("div",{className:`${a.footer}${B.idle?` ${a.footerIdle}`:""}`,"aria-live":"polite",children:y.jsx(Dt,{style:{color:"inherit"},children:B.label})})]})}const vF=Oo({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 ${A.colorNeutralStroke2}`,marginBottom:"8px"},stepBadge:{width:"36px",height:"36px",borderRadius:"10px",display:"grid",placeItems:"center",fontWeight:700,fontSize:"15px",flexShrink:0},stepBadgePending:{background:A.colorNeutralBackground3,color:A.colorNeutralForeground2},stepBadgeDone:{background:A.colorPaletteGreenBackground2,color:A.colorPaletteGreenForeground1},stepBadgeBrand:{background:Zt.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 ${A.colorNeutralStroke2}`,marginTop:"8px"},spacer:{flex:1},inlineLog:{marginTop:"4px",border:`1px solid ${A.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 ${A.colorPaletteGreenBorder1}`},successIcon:{fontSize:"24px",color:A.colorPaletteGreenForeground1,flexShrink:0},successText:{flex:1},ctaPrimary:{background:Zt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow4,minWidth:"160px",height:"40px",fontWeight:600},terminalNote:{display:"flex",alignItems:"center",gap:"10px",padding:"14px 16px",borderRadius:"10px",background:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,color:A.colorNeutralForeground2},terminalIcon:{fontSize:"20px",color:A.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 ${A.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:A.colorBrandForeground1,padding:"8px 16px",background:A.colorNeutralBackground1,borderRadius:"8px",border:`1px solid ${A.colorNeutralStroke2}`,userSelect:"all"}});function bF(){var J,se,me,_e,Fe,Bt,ft,kn,pa,ri,Ol,Sr;const e=vF(),o=v4(),n=Math.max(1,Math.min(10,parseInt(o.n||"1",10))),a=nc(),l=ic(),c=Dm(),u=Zd(),d=nF(n),[h,p]=b.useState({}),[v,m]=b.useState({}),[w,B]=b.useState(!1),[k,x]=b.useState(null),C=b.useRef(null),_=b.useMemo(()=>{var qe;return JSON.stringify((((qe=d.data)==null?void 0:qe.questions)??[]).map(tt=>[tt.id,tt.defaultValue??""]))},[(J=d.data)==null?void 0:J.questions]);b.useEffect(()=>{if(!d.data)return;const qe={};for(const tt of d.data.questions)qe[tt.id]=tt.defaultValue??"";p(qe),m(qe),B(!1)},[(se=d.data)==null?void 0:se.meta.number,_]),b.useEffect(()=>{x(null)},[n]);const j=M2({mutationFn:qe=>gr.apply(n,qe),onSuccess:qe=>{x(qe.runId)}}),z=lF(n,k);b.useEffect(()=>{z.status==="done"&&(C.current&&(m(C.current),C.current=null),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["steps"]}),l.invalidateQueries({queryKey:["questions"]}))},[z.status,l,n]);const T=b.useMemo(()=>z.lines.some(qe=>qe.stream==="stderr"),[z.lines]),E=b.useRef(null);b.useEffect(()=>{var qe,tt,Wt;if(z.status==="done"&&!T){const Fo=((qe=c.data)==null?void 0:qe.totalSteps)??9;if(n>=Fo||(Wt=(tt=d.data)==null?void 0:tt.meta)!=null&&Wt.noAutoAdvance)return;E.current=setTimeout(()=>{a(`/step/${n+1}`)},1500)}return()=>{E.current&&clearTimeout(E.current)}},[z.status,n,(me=c.data)==null?void 0:me.totalSteps,a,T,(Fe=(_e=d.data)==null?void 0:_e.meta)==null?void 0:Fe.noAutoAdvance]);const R=(Bt=d.data)==null?void 0:Bt.meta,F=(R==null?void 0:R.manual)===!0,O=((ft=d.data)==null?void 0:ft.questions)??[],{primaryBlocks:X,advancedBlocks:ee}=b.useMemo(()=>{const qe=Fo=>{const ar=[];for(const kr of Fo){if(!kr.group){ar.push({kind:"question",question:kr});continue}const Hr=ar[ar.length-1];(Hr==null?void 0:Hr.kind)==="group"&&Hr.group.id===kr.group.id?Hr.questions.push(kr):ar.push({kind:"group",group:kr.group,questions:[kr]})}return ar},tt=O.filter(Fo=>!Fo.advanced),Wt=O.filter(Fo=>Fo.advanced);return{primaryBlocks:qe(tt),advancedBlocks:qe(Wt)}},[O]),he=b.useMemo(()=>JSON.stringify(h)!==JSON.stringify(v),[h,v]),ie=b.useRef(null);b.useEffect(()=>{if(d.data&&he)return ie.current&&clearTimeout(ie.current),ie.current=setTimeout(()=>{const qe={};for(const tt of Object.keys(h))JSON.stringify(h[tt])!==JSON.stringify(v[tt])&&(qe[tt]=h[tt]);Object.keys(qe).length>0&&gr.saveState(qe).catch(()=>{})},600),()=>{ie.current&&clearTimeout(ie.current)}},[h,v,he,d.data]);const ue=b.useMemo(()=>{if(!(R!=null&&R.canRunInBrowser))return[];const qe=[];for(const tt of O)Om(tt,h)||tt.required&&(h[tt.id]==null||h[tt.id]==="")&&qe.push(tt.label);return qe},[O,h,R]);function le(){if(R!=null&&R.canRunInBrowser){if(O.length>0&&ue.length>0){B(!0);return}C.current=h,j.mutate(h)}}const Q=((pa=(kn=c.data)==null?void 0:kn.steps.find(qe=>qe.number===n))==null?void 0:pa.status)??"pending",L=j.isPending||z.status==="running",te=z.status==="done",oe=((ri=c.data)==null?void 0:ri.totalSteps)??9,fe=n>=oe,Se=R==null?void 0:R.canRunInBrowser,q=L?R!=null&&R.readOnly?"Checking…":"Running…":te&&T?fe?"Finish":"Continue":te?fe?"Finish":"Continuing…":Q==="done"&&he?"Save & re-run":R!=null&&R.readOnly?"Run checks":Q==="done"?"Re-run":O.length===0?"Run":"Save & run";function U(){if(te){E.current&&clearTimeout(E.current),a(fe?"/summary":`/step/${n+1}`);return}le()}if(F){const qe=((Ol=u.data)==null?void 0:Ol.solution)??{displayName:"",uniqueName:"",appName:"",makerPortalUrl:"https://make.powerapps.com/",linkTarget:"portal"};return y.jsxs("div",{className:e.root,children:[c.data&&y.jsx(Px,{steps:c.data.steps,current:n}),y.jsx("div",{className:e.main,children:y.jsx("div",{className:e.pane,children:y.jsx("div",{className:e.formWrap,children:y.jsx(uF,{solution:qe,stepNumber:n,totalSteps:oe,onBack:()=>a(n<=1?"/":`/step/${n-1}`),onFinish:async()=>{try{await gr.saveState({COMPLETED_STEP:n}),await l.invalidateQueries({queryKey:["state"]}),await l.invalidateQueries({queryKey:["steps"]})}catch{}a("/summary")}})})})})]})}return y.jsxs("div",{className:e.root,children:[c.data&&y.jsx(Px,{steps:c.data.steps,current:n}),y.jsx("div",{className:e.main,children:y.jsx("div",{className:e.pane,children:y.jsxs("div",{className:e.formWrap,children:[y.jsxs("div",{className:e.header,children:[y.jsx("div",{className:[e.stepBadge,Q==="done"?e.stepBadgeDone:Q==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:Q==="done"?y.jsx(Fr,{}):n}),y.jsxs("div",{className:e.headerText,children:[y.jsx(kd,{style:{margin:0},children:(R==null?void 0:R.title)||"Loading…"}),y.jsxs(Dt,{style:{color:A.colorNeutralForeground3},children:["Step ",n," of ",oe,R!=null&&R.optional?" · optional":""]})]})]}),(R==null?void 0:R.description)&&y.jsx(go,{style:{color:A.colorNeutralForeground2},children:R.description}),d.isLoading&&(n===8?y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[y.jsx(pn,{size:"small"}),y.jsx(Dt,{style:{color:A.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):y.jsx(pn,{size:"small"})),R&&!Se&&y.jsxs("div",{className:e.terminalNote,children:[y.jsx(xS,{className:e.terminalIcon}),y.jsx(go,{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."})]}),Se&&O.length>0&&y.jsx("div",{className:e.questions,children:(()=>{const qe=(Wt,Fo)=>p(ar=>({...ar,[Wt]:Fo})),tt=Wt=>Wt.kind==="group"?y.jsx(pF,{group:Wt.group,questions:Wt.questions,answers:h,onChange:qe,showError:w},Wt.group.id):y.jsx(hF,{question:Wt.question,answers:h,value:h[Wt.question.id],onChange:qe,showError:w},Wt.question.id);return y.jsxs(y.Fragment,{children:[X.map(tt),ee.length>0&&y.jsx(sS,{collapsible:!0,children:y.jsxs(dS,{value:"advanced",children:[y.jsx(MS,{children:"Advanced options"}),y.jsx(HS,{children:y.jsx("div",{className:e.questions,children:ee.map(tt)})})]})})]})})()}),j.isError&&y.jsx(or,{intent:"error",children:y.jsx(rr,{children:j.error.message})}),z.status==="error"&&y.jsx(or,{intent:"error",children:y.jsx(rr,{children:z.error||"Step failed — see output above."})}),((Sr=z.deviceCode)==null?void 0:Sr.code)&&z.status==="running"&&y.jsxs("div",{className:e.deviceCodeCard,children:[y.jsxs("div",{className:e.deviceCodeHeader,children:[y.jsx(pd,{style:{color:A.colorBrandForeground1}}),y.jsx(go,{children:"Sign in with a device code"})]}),y.jsx(Dt,{style:{color:A.colorNeutralForeground3},children:"Open the link below, then enter the code to authenticate."}),y.jsxs("div",{className:e.deviceCodeBody,children:[y.jsx("span",{className:e.deviceCodeValue,children:z.deviceCode.code}),y.jsx(et,{appearance:"subtle",icon:y.jsx(ej,{}),onClick:()=>navigator.clipboard.writeText(z.deviceCode.code),children:"Copy code"})]}),y.jsxs(et,{appearance:"primary",icon:y.jsx(pd,{}),as:"a",href:z.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",z.deviceCode.url]})]}),te&&y.jsxs("div",{className:e.successBanner,children:[y.jsx(Fr,{className:e.successIcon}),y.jsxs("div",{className:e.successText,children:[y.jsx(go,{style:{fontWeight:600},children:fe?"All steps complete!":T?"Step complete — review items above":"Step complete"}),y.jsx(Dt,{style:{color:A.colorNeutralForeground3},children:fe?"Review the deploy log above, then click View summary when ready.":R!=null&&R.noAutoAdvance?"Review the deploy log above, then continue to the final step.":T?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),y.jsx(et,{className:e.ctaPrimary,iconPosition:"after",icon:y.jsx(Dr,{}),onClick:()=>{E.current&&clearTimeout(E.current),a(fe?"/summary":`/step/${n+1}`)},children:fe?"View summary":"Continue now"})]}),n===7&&L&&y.jsx(or,{intent:"info",children:y.jsxs(rr,{children:[y.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."]})}),Se&&(z.status==="running"||z.lines.length>0)&&y.jsx("div",{className:e.inlineLog,children:y.jsx(mF,{lines:z.lines,status:z.status})}),y.jsxs("div",{className:e.actions,children:[y.jsx(et,{appearance:"subtle",icon:y.jsx(SS,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),y.jsx("div",{className:e.spacer}),Se?y.jsx(et,{appearance:"primary",icon:L?y.jsx(pn,{size:"tiny"}):te?y.jsx(Dr,{}):y.jsx(aj,{}),iconPosition:te?"after":"before",onClick:U,disabled:L,children:q}):y.jsx(et,{appearance:"primary",iconPosition:"after",icon:y.jsx(Dr,{}),onClick:()=>{a(fe?"/summary":`/step/${n+1}`)},children:fe?"Finish":"Next"})]})]})})})]})}const yF=Oo({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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow4,fontSize:A.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:A.colorBrandForeground1},title:{margin:0,background:Zt.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:A.colorNeutralForeground2,fontSize:A.fontSizeBase400,lineHeight:1.55,maxWidth:"620px"}});function Z5({eyebrowIcon:e,eyebrow:o,title:n,subtitle:a}){const l=yF();return y.jsxs("div",{className:l.hero,children:[y.jsx(X5,{}),y.jsxs("div",{className:l.inner,children:[y.jsxs("div",{className:l.pill,children:[e,o]}),y.jsx("h1",{className:l.title,children:n}),a&&y.jsx(go,{className:l.subtitle,children:a})]})]})}const Y5=Oo({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:Zt.accentSoft,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow8,display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},progressText:{flex:1,minWidth:"240px"},progressBar:{width:"100%",height:"6px",borderRadius:"999px",background:A.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},progressFill:{height:"100%",background:Zt.accent,transition:"width 280ms ease"},sectionLabel:{display:"block",color:A.colorBrandForeground1,fontSize:A.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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,transition:"transform 220ms cubic-bezier(0.1,0.9,0.2,1), box-shadow 220ms",":hover":{transform:"translateY(-2px)",boxShadow:A.shadow8}},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:A.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:Zt.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:A.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},fieldLabel:{color:A.colorNeutralForeground3,fontWeight:500},fieldVal:{fontFamily:A.fontFamilyMonospace,color:A.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},fieldEmpty:{color:A.colorNeutralForeground4,fontStyle:"italic",fontFamily:A.fontFamilyBase},stepRow:{display:"flex",alignItems:"center",gap:"10px",paddingTop:"8px",paddingBottom:"8px"},stepIconDone:{color:A.colorPaletteGreenForeground1,fontSize:"18px"},stepIconCurrent:{color:A.colorBrandForeground1,fontSize:"12px"},stepIconPending:{color:A.colorNeutralForeground4,fontSize:"14px"},actions:{display:"flex",justifyContent:"center",gap:"12px",flexWrap:"wrap",marginTop:"8px"},ctaPrimary:{background:Zt.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:A.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:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow8,display:"grid",gap:"14px"},launchTitle:{margin:0,color:A.colorNeutralForeground1,letterSpacing:"-0.01em"},launchUrl:{display:"block",padding:"12px 14px",borderRadius:"10px",textDecorationLine:"none",fontFamily:A.fontFamilyMonospace,background:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,color:A.colorBrandForeground1,overflowWrap:"anywhere",":hover":{textDecorationLine:"underline"}},launchActions:{display:"flex",gap:"10px",flexWrap:"wrap"},launchBtn:{background:Zt.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:A.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function eo({label:e,value:o}){const n=Y5(),a=!o||o.trim()==="";return y.jsxs("div",{className:n.field,children:[y.jsx(Dt,{className:n.fieldLabel,children:e}),y.jsx(Dt,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":o})]})}function xF(){var m,w,B,k,x,C,_,j,z;const e=Y5(),o=Zd(),n=Dm(),a=((m=o.data)==null?void 0:m.state)??{},l=((w=o.data)==null?void 0:w.completed)??0,c=((B=o.data)==null?void 0:B.totalSteps)??9,u=((k=o.data)==null?void 0:k.next)??1,d=Math.round(l/Math.max(1,c)*100),h=l>=c,p=((C=(x=o.data)==null?void 0:x.powerApp)==null?void 0:C.launchUrl)||"",v=((j=(_=o.data)==null?void 0:_.powerApp)==null?void 0:j.targetEnv)||a.WIZARD_TARGET_ENV||"dev";return y.jsxs("div",{className:e.root,children:[y.jsx(Z5,{eyebrowIcon:y.jsx(Ui,{}),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."}),y.jsxs("div",{className:e.body,children:[y.jsxs("div",{className:e.progressCard,children:[y.jsxs("div",{className:e.progressText,children:[y.jsx(Qo,{style:{display:"block",color:A.colorBrandForeground1,marginBottom:"4px"},children:h?"Setup complete":"In progress"}),y.jsxs(fn,{style:{margin:0},children:[l," of ",c," steps complete · ",d,"%"]}),y.jsx("div",{className:e.progressBar,"aria-hidden":!0,children:y.jsx("div",{className:e.progressFill,style:{width:`${d}%`}})})]}),!h&&y.jsx(un,{to:`/step/${u}`,children:y.jsx(et,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:y.jsx(Dr,{}),children:"Continue setup"})}),h&&p&&y.jsx(et,{className:e.ctaPrimary,size:"large",as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:y.jsx(Dr,{}),children:"Open Power App"})]}),h&&y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Launch"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"You did it. Your app is ready to launch."}),y.jsx("div",{className:e.launchCard,style:{marginTop:"16px"},children:p?y.jsxs(y.Fragment,{children:[y.jsxs(Qo,{className:e.launchTitle,children:["Power Apps URL (",String(v).toUpperCase(),")"]}),y.jsx("a",{className:e.launchUrl,href:p,target:"_blank",rel:"noopener noreferrer",children:p}),y.jsx("div",{className:e.launchActions,children:y.jsx(et,{className:e.launchBtn,as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:y.jsx(Dr,{}),children:"Launch App Now"})})]}):y.jsxs(y.Fragment,{children:[y.jsx(Qo,{className:e.launchTitle,children:"Power Apps URL not available yet"}),y.jsx(Dt,{children:'Complete Step 9 with "Push to Power Platform" enabled to generate and surface your launch URL here.'})]})})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Project values"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"What the wizard knows about your app"}),y.jsxs("div",{className:e.grid,style:{marginTop:"20px"},children:[y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Project"})]}),y.jsx(eo,{label:"App name",value:a.APP_NAME}),y.jsx(eo,{label:"Project dir",value:a.PROJECT_DIR})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Environments"})]}),y.jsx(eo,{label:"Dev",value:a.PP_ENV_DEV}),y.jsx(eo,{label:"Test",value:a.PP_ENV_TEST}),y.jsx(eo,{label:"Prod",value:a.PP_ENV_PROD}),y.jsx(eo,{label:"Active target",value:a.WIZARD_TARGET_ENV})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Identity"})]}),y.jsx(eo,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"Credential storage",value:a.AUTH_MODE})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Publisher"})]}),y.jsx(eo,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),y.jsx(eo,{label:"Prefix",value:a.PUBLISHER_PREFIX}),y.jsx(eo,{label:"Choice value prefix",value:a.CHOICE_VALUE_PREFIX})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Qo,{children:"Solution"})]}),y.jsx(eo,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),y.jsx(eo,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),y.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&y.jsx(pn,{size:"small"}),(z=n.data)==null?void 0:z.steps.map(T=>y.jsxs("div",{className:e.stepRow,children:[T.status==="done"&&y.jsx(Fr,{className:e.stepIconDone}),T.status==="current"&&y.jsx(sm,{className:e.stepIconCurrent}),T.status==="pending"&&y.jsx(cm,{className:e.stepIconPending}),y.jsxs(go,{style:{flex:1},children:[y.jsx("span",{style:{color:A.colorNeutralForeground3,marginRight:"8px"},children:String(T.number).padStart(2,"0")}),T.title]}),T.status==="done"&&y.jsx(Yo,{appearance:"filled",color:"success",size:"small",children:"Done"}),T.status==="current"&&y.jsx(Yo,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},T.number))]})]}),!o.data&&y.jsx(or,{intent:"info",children:y.jsx(rr,{children:"Loading state…"})}),y.jsxs("div",{className:e.actions,children:[y.jsx(un,{to:"/",children:y.jsx(et,{appearance:"subtle",icon:y.jsx(kS,{}),children:"Home"})}),!h&&y.jsx(un,{to:`/step/${u}`,children:y.jsx(et,{className:e.ctaPrimary,iconPosition:"after",icon:y.jsx(Dr,{}),children:"Continue setup"})})]})]})]})}const J5=Oo({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:A.colorBrandForeground1,fontSize:A.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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:A.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:Zt.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:A.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},rowLabel:{color:A.colorNeutralForeground3,display:"flex",alignItems:"center",gap:"6px"},rowVal:{fontFamily:A.fontFamilyMonospace,color:A.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},rowValMissing:{color:A.colorPaletteRedForeground1,fontStyle:"italic",fontFamily:A.fontFamilyBase},pre:{margin:0,padding:"16px",background:A.colorNeutralBackground3,borderRadius:"10px",overflowX:"auto",fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,lineHeight:1.6,color:A.colorNeutralForeground1,maxHeight:"480px",overflowY:"auto"}});function Da({icon:e,label:o,value:n,ok:a,neutral:l}){const c=J5(),u=!n,d=l?y.jsx(gd,{style:{color:A.colorBrandForeground1}}):a?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(Bj,{style:{color:A.colorPaletteRedForeground1}});return y.jsxs("div",{className:c.row,children:[y.jsxs(Dt,{className:c.rowLabel,children:[d,e,o]}),y.jsx(Dt,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function wF(){var l;const e=J5(),o=$5(),n=Zd(),a=o.data;return y.jsxs("div",{className:e.root,children:[y.jsx(Z5,{eyebrowIcon:y.jsx(ij,{}),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."}),y.jsxs("div",{className:e.body,children:[!a&&y.jsx(pn,{size:"medium"}),a&&y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Environment"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"Tooling and host detection"}),y.jsxs("div",{className:e.grid,children:[y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(bS,{})}),y.jsx(Qo,{children:"Host"})]}),y.jsx(Da,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),y.jsx(Da,{ok:!!a.node,label:"Node.js",value:a.node}),y.jsx(Da,{ok:!!a.git,label:"Git",value:a.git}),y.jsx(Da,{ok:!!a.dotnet,label:".NET SDK",value:a.dotnet})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(gj,{})}),y.jsx(Qo,{children:"Power Platform tooling"})]}),y.jsx(Da,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),y.jsxs("div",{className:e.row,children:[y.jsxs(Dt,{className:e.rowLabel,children:[a.op?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(gd,{style:{color:A.colorBrandForeground1}}),"1Password CLI"]}),y.jsx(Yo,{appearance:"filled",color:a.op?"success":"informative",children:a.op?a.op:"optional · not installed"})]})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(hj,{})}),y.jsx(Qo,{children:"Repository"})]}),y.jsx(Da,{neutral:!0,label:"Branch",value:a.branch}),y.jsxs("div",{className:e.row,children:[y.jsxs(Dt,{className:e.rowLabel,children:[a.repoIsClean?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(gd,{style:{color:A.colorPaletteYellowForeground1}}),"Working tree"]}),y.jsx(Yo,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),y.jsx(Da,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Raw state"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),y.jsx(go,{style:{color:A.colorNeutralForeground2,marginTop:"8px",marginBottom:"16px"},children:"The exact contents the server sees on disk. This is what every step reads from and writes to."}),y.jsx("pre",{className:e.pre,children:JSON.stringify(((l=n.data)==null?void 0:l.state)??{},null,2)})]})]})]})}const SF=Oo({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:A.colorNeutralBackground1,color:A.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function kF(){const e=SF();return y.jsxs("div",{className:e.root,children:[y.jsx(oF,{}),y.jsx("div",{className:e.body,children:y.jsxs(A4,{children:[y.jsx(Gi,{path:"/",element:y.jsx(iF,{})}),y.jsx(Gi,{path:"/step/:n",element:y.jsx(bF,{})}),y.jsx(Gi,{path:"/summary",element:y.jsx(xF,{})}),y.jsx(Gi,{path:"/diagnostics",element:y.jsx(wF,{})}),y.jsx(Gi,{path:"*",element:y.jsx(j4,{to:"/",replace:!0})})]})})]})}const BF=new q_({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),_F=document.getElementById("root");AB.createRoot(_F).render(y.jsx(b.StrictMode,{children:y.jsx(H_,{client:BF,children:y.jsx($O,{children:y.jsx(r_,{children:y.jsx(kF,{})})})})}));
141
+ */var vx;function $8(){if(vx)return Lp;vx=1;var e=_d();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 B=w(),k=a({inst:{value:B,getSnapshot:w}}),x=k[0].inst,z=k[1];return c(function(){x.value=B,x.getSnapshot=w,h(x)&&z({inst:x})},[m,B,w]),l(function(){return h(x)&&z({inst:x}),m(function(){h(x)&&z({inst:x})})},[m]),u(B),B}function h(m){var w=m.getSnapshot;m=m.value;try{var B=w();return!n(m,B)}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 Lp.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,Lp}var bx;function K8(){return bx||(bx=1,Ip.exports=$8()),Ip.exports}var Z8=K8();function yx(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 xx=20;function lS(e,o){return Math.sqrt((e[0]-o[0])**2+(e[1]-o[1])**2)}function Q8(e,o){const n=lS(e,o);return n===0?[0,0]:[(e[0]-o[0])/n,(e[1]-o[1])/n]}function Y8(e,o,n){const a=[(e[0]+o[0])/2,(e[1]+o[1])/2],l=Q8([n[0],n[1]],[a[0],a[1]]),c=lS([a[0],a[1]],[n[0],n[1]]);return[a[0]+l[0]*(c+xx),a[1]+l[1]*(c+xx)]}function Lu(e){return`M ${e} z`}const J8=ve({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},triangle:{Bkecrkj:"f1cguypg"},triangleDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function wx(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 e7(e,o,n,a){let l=`M 0,0 H ${e} V ${o} H 0 Z `;return l+=wx(n),l+=wx(a),l}const Sx={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON(){return""}};function kx(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 t7(e,o){return e[0]===o[0]&&e[1]===o[1]}const o7=b.memo(e=>{const{debug:o,onMouseEnter:n,onMouseMove:a,onMouseLeave:l,stateStore:c}=e,u=Yt(),d=J8(),h=Z8.useSyncExternalStore(c.subscribe,c.isActive),p=b.useRef(null),[v,m]=b.useState(()=>({containerRect:Sx,targetRect:Sx,mouseCoordinates:[0,0]}));b.useImperativeHandle(e.imperativeRef,()=>({updateSVG(le){m(Z=>kx(Z.containerRect,le.containerRect)&&kx(Z.targetRect,le.targetRect)&&t7(Z.mouseCoordinates,le.mouseCoordinates)?Z:le)}}),[]);const{containerRect:w,targetRect:B,mouseCoordinates:k}=v,x=Math.min(B.top,w.top),z=Math.min(B.left,w.left),_=Math.max(B.bottom,w.bottom),E=Math.max(B.right,w.right),C=yx(w,[z,x]),T=yx(B,[z,x]),j=[k[0]-z,k[1]-x],R=Y8(C.topLeft,C.bottomRight,j),F=[R,C.topLeft,C.topRight],O=[R,C.topRight,C.bottomRight],X=[R,C.bottomRight,C.bottomLeft],ee=[R,C.bottomLeft,C.topLeft],he=E-z,ie=_-x,ue=e7(he,ie,{x:T.topLeft[0],y:T.topLeft[1],width:B.width,height:B.height},{x:C.topLeft[0],y:C.topLeft[1],width:w.width,height:w.height});return b.createElement("div",{className:de(d.wrapper,h&&d.wrapperActive),"data-safe-zone":""},h?b.createElement("svg",{"aria-hidden":!0,className:d.svg,xmlns:"http://www.w3.org/2000/svg",ref:p,style:{width:`${he}px`,height:`${ie}px`,transform:`translate(${z}px, ${x}px)`}},b.createElement("g",{className:de(d.triangle,o&&d.triangleDebug),clipPath:`url(#${u})`,onMouseEnter:n,onMouseMove:a,onMouseLeave:l},b.createElement("path",{d:Lu(F)}),b.createElement("path",{d:Lu(O)}),b.createElement("path",{d:Lu(X)}),b.createElement("path",{d:Lu(ee)})),b.createElement("clipPath",{id:u},b.createElement("path",{d:ue})),o&&b.createElement("path",{className:d.rectDebug,d:ue})):null)}),r7=2e3;function n7({debug:e=!1,disabled:o=!1,onSafeZoneEnter:n,onSafeZoneMove:a,onSafeZoneLeave:l,onSafeZoneTimeout:c,timeout:u=1500}={}){const[d]=b.useState(X8),h=b.useRef(null),p=b.useRef(null),v=b.useRef(null),[m,w]=Cl(),[B,k]=hz(),x=b.useRef({x:0,y:0}),z=b.useMemo(()=>{if(o)return()=>{};let j=null;function R(){w(),d.toggleActive(!1)}return F=>{F===null&&(j==null||j.removeEventListener("mouseenter",R)),j=F,F==null||F.addEventListener("mouseenter",R)}},[w,o,d]),_=b.useMemo(()=>{if(o)return()=>{};let j=null;function R(F){x.current={x:F.clientX,y:F.clientY},d.isActive()||d.toggleActive(!0),m(()=>{d.toggleActive(!1)},r7)}return F=>{F===null&&(k(),w(),j==null||j.removeEventListener("mousemove",R)),j=F,F==null||F.addEventListener("mousemove",R)}},[k,w,o,d,m]),E=ge(j=>{n==null||n(j),m(()=>{d.toggleActive(!1),c==null||c()},u)}),C=ge(j=>{m(()=>{d.toggleActive(!1),c==null||c()},u),a==null||a(j)}),T=ge(j=>{l==null||l(j)});return b.useEffect(()=>d.subscribe(j=>{if(j){let F=function(){const O=p.current,X=v.current;if(O&&X){var ee;(ee=h.current)===null||ee===void 0||ee.updateSVG({containerRect:O.getBoundingClientRect(),mouseCoordinates:[x.current.x,x.current.y],targetRect:X.getBoundingClientRect()})}B(F)};var R=F;F();return}k()}),[k,B,d]),{containerRef:it(p,z),targetRef:it(v,_),elementToRender:b.useMemo(()=>o?null:b.createElement(o7,{debug:e,onMouseEnter:E,onMouseMove:C,onMouseLeave:T,imperativeRef:h,stateStore:d}),[o,e,E,C,T,d])}}const ym=ei(void 0),sS={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};ym.Provider;const Gt=e=>Tl(ym,(o=sS)=>e(o)),a7=(e,o)=>{const n=Gt(u=>u.size),a=Gt(u=>u.appearance),l=Ld(),c=i7(e,it(o,l));return{appearance:a,size:n,...c}},i7=(e,o)=>{const n=Gt(z=>z.contentRef),a=Gt(z=>z.openOnHover),l=Gt(z=>z.setOpen),c=Gt(z=>z.mountNode),u=Gt(z=>z.arrowRef),d=Gt(z=>z.withArrow),h=Gt(z=>z.trapFocus),p=Gt(z=>z.inertTrapFocus),v=Gt(z=>z.inline),{modalAttributes:m}=Id({trapFocus:h,legacyTrapFocus:!p,alwaysFocusable:!h}),w={inline:v,withArrow:d,arrowRef:u,mountNode:c,components:{root:"div"},root:Ne({ref:it(o,n),role:h?"dialog":"group","aria-modal":h?!0:void 0,...m,...e},{elementType:"div"})},{onMouseEnter:B,onMouseLeave:k,onKeyDown:x}=w.root;return w.root.onMouseEnter=z=>{a&&l(z,!0),B==null||B(z)},w.root.onMouseLeave=z=>{a&&l(z,!1),k==null||k(z)},w.root.onKeyDown=z=>{var _;z.key==="Escape"&&(!((_=n.current)===null||_===void 0)&&_.contains(z.target))&&(z.preventDefault(),l(z,!1)),x==null||x(z)},w};function l7(e){return vr(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const s7=nd.useInsertionEffect?nd.useInsertionEffect:Dt,cS=Symbol.for("fui-portal-style-ref-count"),c7="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",uS="fui-portal-styles";function dS(e){var o;return(o=e[cS])!==null&&o!==void 0?o:0}function _g(e,o){e[cS]=o}function u7(e){var o;const n=dS(e);if(n>0){_g(e,n+1);return}const a=e.createElement("style");a.id=uS,e.head.prepend(a),(o=a.sheet)===null||o===void 0||o.insertRule(c7),_g(e,1)}function d7(e){const o=dS(e);if(o===0)return;const n=o-1;if(n===0){var a;(a=e.head.querySelector(`#${uS}`))===null||a===void 0||a.remove()}_g(e,n)}function f7(e){const{targetDocument:o}=Ze();s7(()=>{if(!(e||!o))return u7(o),()=>d7(o)},[e,o])}const fS=nd.useInsertionEffect,h7=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},p7=()=>{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}},g7=e=>{"use no memo";const{className:o,dir:n,focusVisibleRef:a,targetNode:l}=e,[c]=b.useState(p7),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 fS(()=>{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},m7=fS?g7:h7,v7=e=>{"use no memo";const{targetDocument:o,dir:n}=Ze(),a=cz(),l=Vw(),c=ez(),u={dir:n,disabled:e.disabled,focusVisibleRef:l,className:[c,e.className].filter(Boolean).join(" "),targetNode:a??(o==null?void 0:o.body)};return f7(e.disabled),m7(u)},b7=e=>{const{element:o,className:n}=l7(e.mountNode),a=b.useRef(null),l=v7({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 jy(c,d),()=>{jy(c,void 0)}},[a,c]),u},y7=e=>b.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&$p.createPortal(b.createElement(b.Fragment,null,e.children,b.createElement("span",{hidden:!0})),e.mountNode)),Dl=e=>{const o=b7(e);return y7(o)};Dl.displayName="Portal";const x7=e=>{const o=lt(e.root,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?o:ne(Dl,{mountNode:e.mountNode,children:o})},w7={root:"fui-PopoverSurface"},S7={small:6,medium:8,large:8},k7=ve({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),B7=e=>{"use no memo";const o=k7();return e.root.className=de(w7.root,o.root,e.inline&&o.inline,e.size==="small"&&o.smallPadding,e.size==="medium"&&o.mediumPadding,e.size==="large"&&o.largePadding,e.appearance==="inverted"&&o.inverted,e.appearance==="brand"&&o.brand,e.root.className),e.arrowClassName=de(o.arrow,e.size==="small"?o.smallArrow:o.mediumLargeArrow),e},hS=b.forwardRef((e,o)=>{const n=a7(e,o);return B7(n),Xe("usePopoverSurfaceStyles_unstable")(n),x7(n)});hS.displayName="PopoverSurface";const _7=4,Bx=Ie.durationSlower,_x=Ie.curveDecelerateMid,Cx=El(({distance:e=10})=>({enter:[ua({duration:Bx,easing:_x,direction:"enter"}),{...P5({duration:Bx,easing:_x,direction:"enter",outX:`calc(var(${md}, 0px) * ${e})`,outY:`calc(var(${vd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),C7=e=>{const{appearance:o,size:n="medium"}=e,a=Ml(e.positioning),l=e.withArrow&&!a.coverTarget,{targetDocument:c}=Ze(),u=L5({targetDocument:c,onPositioningEnd:a.onPositioningEnd}),d=z7({...e,positioning:{...a,onPositioningEnd:u,...l?{offset:rS(a.offset,S7[n])}:{}}});return{components:{surfaceMotion:Cx},appearance:o,size:n,...d,surfaceMotion:hc(e.surfaceMotion,{elementType:Cx,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},z7=e=>{const[o,n]=iS(),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]=N7(a),[p,v]=Cl(),m=ge((j,R)=>{if(v(),!(j instanceof Event)&&j.persist&&j.persist(),j.type==="mouseleave"){var F;p(()=>{h(j,R)},(F=e.mouseLeaveDelay)!==null&&F!==void 0?F:500)}else h(j,R)}),w=b.useCallback(j=>{m(j,!d)},[m,d]),B=T7(a),{targetDocument:k}=Ze();var x;Jg({contains:Us,element:k,callback:j=>m(j,!1),refs:[B.triggerRef,B.contentRef],disabled:!d,disabledFocusOnIframe:!(!((x=e.closeOnIframeFocus)!==null&&x!==void 0)||x)});const z=a.openOnContext||a.closeOnScroll;kw({contains:Us,element:k,callback:j=>m(j,!1),refs:[B.triggerRef,B.contentRef],disabled:!d||!z});const{findFirstFocusable:_}=uc(),E=bT();b.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const j=B.contentRef.current;if(d&&j){var R;const F=!isNaN((R=j.getAttribute("tabIndex"))!==null&&R!==void 0?R:void 0),O=F?j:_(j);O==null||O.focus(),F&&E(j)}},[_,E,d,B.contentRef,e.unstable_disableAutoFocus]);var C,T;return{...a,...B,inertTrapFocus:(C=e.inertTrapFocus)!==null&&C!==void 0?C:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:c,popoverSurface:u,open:d,setOpen:m,toggleOpen:w,setContextTarget:n,contextTarget:o,inline:(T=e.inline)!==null&&T!==void 0?T:!1}};function N7(e){"use no memo";const o=ge((u,d)=>{var h;return(h=e.onOpenChange)===null||h===void 0?void 0:h.call(e,u,d)}),[n,a]=Oo({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 T7(e){"use no memo";const o={position:"above",align:"center",arrowPadding:2*_7,target:e.openOnContext?e.contextTarget:void 0,...Ml(e.positioning)};o.coverTarget&&(e.withArrow=!1);const{targetRef:n,containerRef:a,arrowRef:l}=Kd(o);return{triggerRef:n,contentRef:a,arrowRef:l}}function j7(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:B,withArrow:k,inertTrapFocus:x}=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:B,withArrow:k,inertTrapFocus:x}),[o,n,a,l,c,u,d,h,p,v,m,w,B,k,x])}}const E7=(e,o)=>{var n;return lt(ym.Provider,{value:(n=o==null?void 0:o.popover)!==null&&n!==void 0?n:sS,children:[e.popoverTrigger,e.popoverSurface&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.popoverSurface})})]})},pS=e=>{const o=C7(e),n=j7(o);return E7(o,n)};pS.displayName="Popover";const R7=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=cc(o),l=Gt(C=>C.open),c=Gt(C=>C.setOpen),u=Gt(C=>C.toggleOpen),d=Gt(C=>C.triggerRef),h=Gt(C=>C.openOnHover),p=Gt(C=>C.openOnContext),{triggerAttributes:v}=Id(),m=C=>{p&&(C.preventDefault(),c(C,!0))},w=C=>{p||u(C)},B=C=>{C.key===jl&&l&&!C.isDefaultPrevented()&&(c(C,!1),C.preventDefault())},k=C=>{h&&c(C,!0)},x=C=>{h&&c(C,!1)},z={...v,"aria-expanded":`${l}`,...a==null?void 0:a.props,onMouseEnter:ge(Ae(a==null?void 0:a.props.onMouseEnter,k)),onMouseLeave:ge(Ae(a==null?void 0:a.props.onMouseLeave,x)),onContextMenu:ge(Ae(a==null?void 0:a.props.onContextMenu,m)),ref:it(d,sc(a))},_={...z,onClick:ge(Ae(a==null?void 0:a.props.onClick,w)),onKeyDown:ge(Ae(a==null?void 0:a.props.onKeyDown,B))},E=Qa((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",_);return{children:Od(e.children,Qa((a==null?void 0:a.type)==="button"||(a==null?void 0:a.type)==="a"?a.type:"div",p?z:n?_:E))}},A7=e=>e.children,xm=e=>{const o=R7(e);return A7(o)};xm.displayName="PopoverTrigger";xm.isFluentTriggerComponent=!0;const M7=6,D7=4,O7=e=>-1,F7=e=>{};function q7(e){const{targetDocument:o}=Ze(),n=o==null?void 0:o.defaultView,a=n?n.setTimeout:O7,l=n?n.clearTimeout:F7,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 H7=e=>{"use no memo";var o,n,a,l,c,u,d;const h=rz(),p=bz(),{targetDocument:v}=Ze(),[m,w]=Oo({state:e.visible,initialState:!1}),{children:B,content:k,withArrow:x=!1,positioning:z="above",onVisibleChange:_,relationship:E,showDelay:C=250,hideDelay:T=250,mountNode:j}=e,R={withArrow:x,positioning:z,showDelay:C,hideDelay:T,relationship:E,visible:m,shouldRenderTooltip:m,mountNode:j,components:{content:"div"},content:Ne(k,{defaultProps:{role:"tooltip"},elementType:"div"})};R.content.id=Yt("tooltip-",R.content.id);const F={enabled:R.visible,arrowPadding:2*D7,position:"above",align:"center",offset:4,...Ml(R.positioning)};R.withArrow&&(F.offset=rS(F.offset,M7));const{targetRef:O,containerRef:X,arrowRef:ee}=Kd(F),[he,ie]=q7(X),ue=b.useCallback((U,J)=>{ie(),w(se=>(J.visible!==se&&(_==null||_(U,J)),J.visible))},[ie,w,_]);R.content.ref=it(R.content.ref,X),R.arrowRef=ee,Dt(()=>{if(m){var U;const J={hide:me=>ue(void 0,{visible:!1,documentKeyboardEvent:me})};(U=h.visibleTooltip)===null||U===void 0||U.hide(),h.visibleTooltip=J;const se=me=>{me.key===jl&&!me.defaultPrevented&&(J.hide(me),me.preventDefault())};return v==null||v.addEventListener("keydown",se,{capture:!0}),()=>{h.visibleTooltip===J&&(h.visibleTooltip=void 0),v==null||v.removeEventListener("keydown",se,{capture:!0})}}},[h,v,m,ue]);const le=b.useRef(!1),Z=b.useCallback(U=>{if(U.type==="focus"&&le.current){le.current=!1;return}const J=h.visibleTooltip?0:R.showDelay;he(()=>{ue(U,{visible:!0})},J),U.persist()},[he,ue,R.showDelay,h]),L=mT(),[te]=b.useState(()=>{const U=se=>{var me;!((me=se.detail)===null||me===void 0)&&me.isFocusedProgrammatically&&!L()&&(le.current=!0)};let J=null;return se=>{J==null||J.removeEventListener(Fo,U),se==null||se.addEventListener(Fo,U),J=se}}),oe=b.useCallback(U=>{let J=R.hideDelay;U.type==="blur"&&(J=0,le.current=(v==null?void 0:v.activeElement)===U.target),he(()=>{ue(U,{visible:!1})},J),U.persist()},[he,ue,R.hideDelay,v]);R.content.onPointerEnter=Ae(R.content.onPointerEnter,ie),R.content.onPointerLeave=Ae(R.content.onPointerLeave,oe),R.content.onFocus=Ae(R.content.onFocus,ie),R.content.onBlur=Ae(R.content.onBlur,oe);const fe=cc(B),Se={},q=(fe==null||(o=fe.props)===null||o===void 0?void 0:o["aria-haspopup"])&&((fe==null||(n=fe.props)===null||n===void 0?void 0:n["aria-expanded"])===!0||(fe==null||(a=fe.props)===null||a===void 0?void 0:a["aria-expanded"])==="true");return E==="label"?typeof R.content.children=="string"?Se["aria-label"]=R.content.children:(Se["aria-labelledby"]=R.content.id,R.shouldRenderTooltip=!0):E==="description"&&(Se["aria-describedby"]=R.content.id,R.shouldRenderTooltip=!0),(p||q)&&(R.shouldRenderTooltip=!1),R.children=Od(B,{...Se,...fe==null?void 0:fe.props,ref:it(sc(fe),te,F.target===void 0?O:void 0),onPointerEnter:ge(Ae(fe==null||(l=fe.props)===null||l===void 0?void 0:l.onPointerEnter,Z)),onPointerLeave:ge(Ae(fe==null||(c=fe.props)===null||c===void 0?void 0:c.onPointerLeave,oe)),onFocus:ge(Ae(fe==null||(u=fe.props)===null||u===void 0?void 0:u.onFocus,Z)),onBlur:ge(Ae(fe==null||(d=fe.props)===null||d===void 0?void 0:d.onBlur,oe))}),R},P7=e=>{"use no memo";const{appearance:o="normal",...n}=e,a=H7(n);return{appearance:o,...a}},I7=e=>lt(b.Fragment,{children:[e.children,e.shouldRenderTooltip&&ne(Dl,{mountNode:e.mountNode,children:lt(e.content,{children:[e.withArrow&&ne("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),L7={content:"fui-Tooltip__content"},U7=ve({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),V7=e=>{"use no memo";const o=U7();return e.content.className=de(L7.content,o.root,e.appearance==="inverted"&&o.inverted,e.visible&&o.visible,e.content.className),e.arrowClassName=o.arrow,e},Zd=e=>{const o=P7(e);return V7(o),Xe("useTooltipStyles_unstable")(o),I7(o)};Zd.displayName="Tooltip";Zd.isFluentTriggerComponent=!0;const G7=e=>{const{iconOnly:o,iconPosition:n}=e;return lt(e.root,{children:[n!=="after"&&e.icon&&ne(e.icon,{}),!o&&e.root.children,n==="after"&&e.icon&&ne(e.icon,{})]})},gS=b.createContext(void 0),W7={};gS.Provider;const X7=()=>{var e;return(e=b.useContext(gS))!==null&&e!==void 0?e:W7},$7=(e,o)=>{const{size:n}=X7(),{appearance:a="secondary",shape:l="rounded",size:c=n??"medium",...u}=e,d=K7(u,o);return{appearance:a,shape:l,size:c,...d}},K7=(e,o)=>{const{icon:n,iconPosition:a="before",...l}=e,c=Me(n,{elementType:"span"});var u,d;return{disabled:(u=e.disabled)!==null&&u!==void 0?u:!1,disabledFocusable:(d=e.disabledFocusable)!==null&&d!==void 0?d:!1,iconPosition:a,iconOnly:!!(c!=null&&c.children&&!e.children),components:{root:"button",icon:"span"},root:Ne(Qa(l.as,l),{elementType:"button",defaultProps:{ref:o,type:e.as!=="a"?"button":void 0}}),icon:c}},zx={root:"fui-Button",icon:"fui-Button__icon"},Z7=je("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;}}"]}),Q7=je("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);}"]),Y7=ve({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),J7=ve({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),e9=ve({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),t9=ve({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),o9=ve({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),r9=e=>{"use no memo";const o=Z7(),n=Q7(),a=Y7(),l=J7(),c=e9(),u=t9(),d=o9(),{appearance:h,disabled:p,disabledFocusable:v,icon:m,iconOnly:w,iconPosition:B,shape:k,size:x}=e;return e.root.className=de(zx.root,o,h&&a[h],a[x],m&&x==="small"&&a.smallWithIcon,m&&x==="large"&&a.largeWithIcon,a[k],(p||v)&&l.base,(p||v)&&l.highContrast,h&&(p||v)&&l[h],h==="primary"&&c.primary,c[x],c[k],w&&u[x],e.root.className),e.icon&&(e.icon.className=de(zx.icon,n,!!e.root.children&&d[B],d[x],e.icon.className)),e},Qe=b.forwardRef((e,o)=>{const n=$7(e,o);return r9(n),Xe("useButtonStyles_unstable")(n),G7(n)});Qe.displayName="Button";const mS=b.createContext(void 0),n9=mS.Provider,a9=()=>b.useContext(mS),i9=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,B=(l=e.hint)===null||l===void 0?void 0:l.id;return{field:b.useMemo(()=>({generatedControlId:c,hintId:B,labelFor:v,labelId:m,orientation:u,required:d,size:h,validationMessageId:w,validationState:p}),[c,B,v,m,u,d,h,w,p])}};function ti(e,o){return vS(a9(),e,o)}function vS(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,B,k;(k=(w=o)[B="aria-labelledby"])!==null&&k!==void 0||(w[B]=u)}if((h||l)&&(o["aria-describedby"]=[h,l,o==null?void 0:o["aria-describedby"]].filter(Boolean).join(" ")),p==="error"){var x,z,_;(_=(x=o)[z="aria-invalid"])!==null&&_!==void 0||(x[z]=!0)}if(d)if(n!=null&&n.supportsRequired){var E,C;(C=(E=o).required)!==null&&C!==void 0||(E.required=!0)}else{var T,j,R;(R=(T=o)[j="aria-required"])!==null&&R!==void 0||(T[j]=!0)}if(n!=null&&n.supportsSize){var F,O;(O=(F=o).size)!==null&&O!==void 0||(F.size=e.size)}return o}const l9=(e,o)=>{let{children:n}=e;return typeof n=="function"&&(n=n(vS(o.field)||{})),ne(n9,{value:o==null?void 0:o.field,children:lt(e.root,{children:[e.label&&ne(e.label,{}),n,e.validationMessage&&lt(e.validationMessage,{children:[e.validationMessageIcon&&ne(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&ne(e.hint,{})]})})},s9=(e,o)=>{const{weight:n="regular",size:a="medium",...l}=e,c=c9(l,o);return{weight:n,size:a,...c}},c9=(e,o)=>{const{disabled:n=!1,required:a=!1,...l}=e;return{disabled:n,required:Me(a===!0?"*":a||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Ne(Et("label",{ref:o,...l}),{elementType:"label"})}},u9=e=>lt(e.root,{children:[e.root.children,e.required&&ne(e.required,{})]}),Nx={root:"fui-Label",required:"fui-Label__required"},d9=ve({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),f9=e=>{"use no memo";const o=d9();return e.root.className=de(Nx.root,o.root,e.disabled&&o.disabled,o[e.size],e.weight==="semibold"&&o.semibold,e.root.className),e.required&&(e.required.className=de(Nx.required,o.required,e.disabled&&o.disabled,e.required.className)),e},xr=b.forwardRef((e,o)=>{const n=s9(e,o);return f9(n),Xe("useLabelStyles_unstable")(n),u9(n)});xr.displayName="Label";const h9=(e,o)=>{const{children:n,required:a=!1,validationState:l=e.validationMessage?"error":"none"}=e,c=Yt("field-"),u=c+"__control",d=Ne(Et("div",{...e,ref:o},["children"]),{elementType:"div"}),h=Me(e.label,{defaultProps:{htmlFor:u,id:c+"__label",required:a},elementType:"label"}),p=Me(e.validationMessage,{defaultProps:{id:c+"__validationMessage",role:l==="error"||l==="warning"?"alert":void 0},elementType:"div"}),v=Me(e.hint,{defaultProps:{id:c+"__hint"},elementType:"div"}),m=Me(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}},p9={error:b.createElement(ME,null),warning:b.createElement(TE,null),success:b.createElement(EE,null),none:void 0},g9=(e,o)=>{const{orientation:n="vertical",size:a="medium",...l}=e,c=h9(l,o),u=p9[c.validationState];return{...c,components:{...c.components,label:xr},label:Me(e.label,{defaultProps:{size:a,...c.label},elementType:xr}),validationMessageIcon:Me(e.validationMessageIcon,{renderByDefault:!!u,defaultProps:{children:u},elementType:"span"}),orientation:n,size:a}},As={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},m9=ve({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),v9=ve({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),b9=je("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);}"]),y9=ve({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),x9=je("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;}"]),w9=ve({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),S9=e=>{"use no memo";const{validationState:o,size:n}=e,a=e.orientation==="horizontal",l=m9();e.root.className=de(As.root,l.base,a&&l.horizontal,a&&!e.label&&l.horizontalNoLabel,e.root.className);const c=v9();e.label&&(e.label.className=de(As.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=x9(),d=w9();e.validationMessageIcon&&(e.validationMessageIcon.className=de(As.validationMessageIcon,u,o!=="none"&&d[o],e.validationMessageIcon.className));const h=b9(),p=y9();return e.validationMessage&&(e.validationMessage.className=de(As.validationMessage,h,o==="error"&&p.error,!!e.validationMessageIcon&&p.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=de(As.hint,h,e.hint.className)),e},bS=b.forwardRef((e,o)=>{const n=g9(e,o);S9(n),Xe("useFieldStyles_unstable")(n);const a=i9(n);return l9(n,a)});bS.displayName="Field";const k9=(e,o)=>{"use no memo";e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:n="square",size:a="medium",...l}=e,c=B9(l,o),u=c.checked==="mixed";let d;if(u?n==="circular"?d=b.createElement(cm,null):d=a==="large"?b.createElement(AE,null):b.createElement(RE,null):c.checked&&(d=a==="large"?b.createElement(jE,null):b.createElement(C5,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:xr},label:Me(e.label,{defaultProps:{...c.label,size:"medium"},elementType:xr})}},B9=(e,o)=>{"use no memo";const{disabled:n=!1,required:a,labelPosition:l="after",onChange:c}=e,[u,d]=Oo({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),h=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=u==="mixed",v=Yt("checkbox-",h.primary.id),m={checked:u,disabled:n,labelPosition:l,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Ne(e.root,{defaultProps:{ref:rm(),...h.root},elementType:"span"}),input:Ne(e.input,{defaultProps:{type:"checkbox",id:v,ref:o,checked:u===!0,...h.primary},elementType:"input"}),label:Me(e.label,{defaultProps:{htmlFor:v,disabled:n,required:a},elementType:"label"}),indicator:Me(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};m.input.onChange=Ae(m.input.onChange,B=>{const k=B.currentTarget.indeterminate?"mixed":B.currentTarget.checked;c==null||c(B,{checked:k}),d(k)});const w=it(m.input.ref);return m.input.ref=w,Dt(()=>{w.current&&(w.current.indeterminate=p)},[w,p]),m},_9=e=>lt(e.root,{children:[ne(e.input,{}),e.labelPosition==="before"&&e.label&&ne(e.label,{}),e.indicator&&ne(e.indicator,{}),e.labelPosition==="after"&&e.label&&ne(e.label,{})]}),Uu={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},C9=je("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;}}"]}),z9=ve({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),N9=je("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));}"]),T9=ve({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),j9=je("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;}"]),E9=ve({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),R9=ve({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),A9=e=>{"use no memo";const{checked:o,disabled:n,labelPosition:a,shape:l,size:c}=e,u=C9(),d=z9();e.root.className=de(Uu.root,u,n?d.disabled:o==="mixed"?d.mixed:o?d.checked:d.unchecked,e.root.className);const h=N9(),p=T9();e.input.className=de(Uu.input,h,c==="large"&&p.large,p[a],e.input.className);const v=j9(),m=E9();e.indicator&&(e.indicator.className=de(Uu.indicator,v,c==="large"&&m.large,l==="circular"&&m.circular,e.indicator.className));const w=R9();return e.label&&(e.label.className=de(Uu.label,w.base,w[c],w[a],e.label.className)),e},wm=b.forwardRef((e,o)=>{const n=k9(e,o);return A9(n),Xe("useCheckboxStyles_unstable")(n),_9(n)});wm.displayName="Checkbox";const yS=ei({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});yS.Provider;const M9={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},gc=ei(void 0),Eo=e=>Tl(gc,(o=M9)=>e(o)),D9=gc.Provider;function O9(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,B={activeOption:void 0,appearance:o,focusVisible:!1,open:n,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,setOpen:h,size:p},k={activeOption:void 0,focusVisible:!1,getOptionById:a,getOptionsMatchingValue:l,registerOption:c,selectedOptions:u,selectOption:d,setActiveOption:()=>null,onOptionClick:m,onActiveDescendantChange:w},x=b.useMemo(()=>({controller:v}),[v]);return{combobox:B,activeDescendant:x,listbox:k}}function F9(e){const o=fc(gc),{getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:c,selectedOptions:u,selectOption:d,activeDescendantController:h}=e,p=Eo(x=>x.registerOption),v=Eo(x=>x.onOptionClick),m=Eo(x=>x.onActiveDescendantChange),B={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:a,multiselect:l,registerOption:o?p:c,selectedOptions:u,selectOption:d,setActiveOption:()=>{},onOptionClick:v,onActiveDescendantChange:m},k=b.useMemo(()=>({controller:h}),[h]);return{listbox:B,activeDescendant:k}}function wd(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!==dn&&!c&&!u&&!h?"Type":n?l===Op&&c||l===Qi||!a&&l===dn?"CloseSelect":a&&l===dn?"Select":l===jl?"Close":l===yg?"Next":l===Op?"Previous":l===Pj?"First":l===Hj?"Last":l===Lj?"PageUp":l===Ij?"PageDown":l===h5?"Tab":"None":l===yg||l===Op||l===Qi||l===dn?"Open":"None"}const xS=()=>{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}},wS=e=>{const{defaultSelectedOptions:o,multiselect:n,onOptionSelect:a}=e,[l,c]=Oo({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}},Sd={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},q9=ve({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),H9=e=>{"use no memo";const{disabled:o,multiselect:n,selected:a}=e,l=q9();return e.root.className=de(Sd.root,l.root,l.active,o&&l.disabled,a&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=de(Sd.checkIcon,l.checkIcon,n&&l.multiselectCheck,a&&l.selectedCheck,a&&n&&l.selectedMultiselectCheck,o&&l.checkDisabled,o&&n&&l.multiselectCheckDisabled,e.checkIcon.className)),e},Tx={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},P9=(e,o)=>{"use no memo";const{multiselect:n,disableAutoFocus:a=!1}=e,l=xS(),{listboxRef:c,activeParentRef:u,controller:d}=b5({matchOption:le=>le.classList.contains(Sd.root)}),h=fc(gc),p=Eo(le=>le.onActiveDescendantChange),v=Eo(le=>le.getOptionById),m=Eo(le=>le.getOptionsMatchingValue),w=h?v:l.getOptionById,B=h?m:l.getOptionsMatchingValue,k=b.useMemo(()=>{let le=null;const Z=L=>{const te=L;p==null||p(te)};return L=>{if(!L){le==null||le.removeEventListener("activedescendantchange",Z);return}le=L,le.addEventListener("activedescendantchange",Z)}},[p]),[x,z]=b.useState(!1);Gw(z);const _=g5(),E=Vj(),C=E?_.controller:d,{clearSelection:T,selectedOptions:j,selectOption:R}=wS(e),F=le=>{const Z=wd(le,{open:!0}),L=C.active(),te=L?w(L):null;switch(Z){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":le.preventDefault();break}switch(Z){case"Next":te?C.next():C.first();break;case"Previous":te?C.prev():C.first();break;case"PageUp":case"First":C.first();break;case"PageDown":case"Last":C.last();break;case"Select":case"CloseSelect":te&&R(le,te);break}},O=Eo(le=>le.selectedOptions),X=Eo(le=>le.selectOption),ee=h?{selectedOptions:O,selectOption:X,...Tx}:{selectedOptions:j,selectOption:R,...Tx};b.useEffect(()=>{if(!E){if(C.hideFocusVisibleAttributes(),!a)if(!n&&ee.selectedOptions.length>0){const le=B(Z=>Z===ee.selectedOptions[0]).pop();le!=null&&le.id&&C.focus(le.id)}else C.first();return()=>{C.blur()}}},[]);const he=b.useCallback(()=>{E||(C.showFocusVisibleAttributes(),x&&C.scrollActiveIntoView())},[C,E,x]),ie=b.useCallback(()=>{E||C.hideFocusVisibleAttributes()},[C,E]),ue={components:{root:"div"},root:Ne(Et("div",{ref:it(o,u,c,k),role:n?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!h,multiselect:n,clearSelection:T,activeDescendantController:C,onActiveDescendantChange:p,...l,...ee};return ue.root.onKeyDown=ge(Ae(ue.root.onKeyDown,F)),ue.root.onFocus=ge(Ae(ue.root.onFocus,he)),ue.root.onBlur=ge(Ae(ue.root.onBlur,ie)),ue},I9=(e,o)=>ne(p5,{value:o.activeDescendant,children:ne(gc.Provider,{value:o.listbox,children:ne(e.root,{})})}),L9={root:"fui-Listbox"},U9=ve({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),V9=e=>{"use no memo";const o=U9();return e.root.className=de(L9.root,o.root,e.root.className),e},Sm=b.forwardRef((e,o)=>{const n=P9(e,o),a=F9(n);return V9(n),Xe("useListboxStyles_unstable")(n),I9(n,a)});Sm.displayName="Listbox";function G9(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 W9=(e,o)=>{"use no memo";const n=X9(e,o);let a=b.createElement(bE,null);if(n.multiselect&&(a=n.selected?b.createElement(C5,null):""),n.checkIcon){var l,c;(c=(l=n.checkIcon).children)!==null&&c!==void 0||(l.children=a)}return n},X9=(e,o)=>{const{children:n,disabled:a,text:l,value:c}=e,u=b.useRef(null),d=G9(l,n),h=c??d,p=Yt("fluent-option",e.id),v=b.useMemo(()=>({id:p,disabled:a,text:d,value:h}),[p,a,d,h]),{controller:m}=g5(),w=Eo(C=>C.multiselect),B=Eo(C=>C.registerOption),k=Eo(C=>{const T=C.selectedOptions;return h!==void 0&&T.find(j=>j===h)!==void 0}),x=Eo(C=>C.selectOption),z=Eo(C=>C.onOptionClick),_=C=>{var T;if(a){C.preventDefault();return}m.focus(p),x(C,v),z(C),(T=e.onClick)===null||T===void 0||T.call(e,C)};b.useEffect(()=>{if(p&&u.current)return B(v,u.current)},[p,v,B]);const E=w?{role:"menuitemcheckbox","aria-checked":k}:{role:"option","aria-selected":k};return{components:{root:"div",checkIcon:"span"},root:Ne(Et("div",{ref:it(o,u),"aria-disabled":a?"true":void 0,id:p,...E,...e,onClick:_}),{elementType:"div"}),checkIcon:Me(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:a,multiselect:w,selected:k,focusVisible:!1,active:!1}},$9=e=>lt(e.root,{children:[e.checkIcon&&ne(e.checkIcon,{}),e.root.children]}),SS=b.forwardRef((e,o)=>{const n=W9(e,o);return H9(n),Xe("useOptionStyles_unstable")(n),$9(n)});SS.displayName="Option";const K9=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:B=!1,onActiveOptionChange:k=null}=e,x=xS(),{getOptionsMatchingValue:z}=x,{getOptionById:_}=x,E=b.useCallback(()=>{const U=m.active();return U?_(U):void 0},[m,_]),C=E(),T=b.useCallback(U=>{let J;if(typeof U=="function"){const se=E();J=U(se)}J?m.focus(J.id):m.blur()},[m,E]),[j,R]=b.useState(!1),[F,O]=b.useState(!1),X=b.useRef(!1),ee=Yg(),[he,ie]=Oo({state:e.value,initialState:void 0}),{selectedOptions:ue,selectOption:le,clearSelection:Z}=wS(e),L=b.useCallback((U,J)=>{$p.unstable_batchedUpdates(()=>{ie(void 0),le(U,J)})},[ie,le]),te=b.useMemo(()=>{if(he!==void 0)return he;if(ee&&e.defaultValue!==void 0)return e.defaultValue;const U=z(J=>ue.includes(J)).map(J=>J.text);return h?c?"":U.join(", "):U[0]},[he,c,z,h,ue]),[oe,fe]=Oo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),Se=b.useCallback((U,J)=>{B||(p==null||p(U,{open:J}),$p.unstable_batchedUpdates(()=>{!J&&!w&&ie(void 0),fe(J)}))},[p,fe,ie,w,B]);b.useEffect(()=>{if(oe){if(!h&&ue.length>0){const U=z(J=>J===ue[0]).pop();U!=null&&U.id&&m.focus(U.id)}}else m.blur()},[oe,m]),b.useEffect(()=>{oe&&!n&&!m.active()&&m.first()},[oe,a,n,m,_]);const q=ge(U=>{const J=U.detail.previousId?x.getOptionById(U.detail.previousId):null,se=x.getOptionById(U.detail.id);k==null||k(U,{event:U,type:"change",previousOption:J,nextOption:se})});return{...x,freeform:w,disabled:B,selectOption:L,clearSelection:Z,selectedOptions:ue,activeOption:C,appearance:o,clearable:l,focusVisible:j,ignoreNextBlur:X,inlinePopup:u,mountNode:d,open:oe,hasFocus:F,setActiveOption:T,setFocusVisible:R,setHasFocus:O,setOpen:Se,setValue:ie,size:v,value:te,multiselect:h,onOptionClick:ge(U=>{h||Se(U,!1)}),onActiveDescendantChange:q}};function Z9(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,...Ml(o)},{targetRef:l,containerRef:c}=Kd(a);return[c,l]}function Q9(e,o,n){const{state:{multiselect:a},triggerRef:l,defaultProps:c}=n,u=Yt("fluent-listbox",Kg(e)?e.id:void 0),d=Me(e,{renderByDefault:!0,elementType:Sm,defaultProps:{id:u,multiselect:a,tabIndex:void 0,...c}}),h=ti({id:u},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&h["aria-labelledby"]&&(d["aria-labelledby"]=h["aria-labelledby"]);const p=ge(Ae(w=>{w.preventDefault()},d==null?void 0:d.onMouseDown)),v=ge(Ae(w=>{var B;w.preventDefault(),(B=l.current)===null||B===void 0||B.focus()},d==null?void 0:d.onClick)),m=it(d==null?void 0:d.ref,o);return d&&(d.ref=m,d.onMouseDown=p,d.onClick=v),d}function Y9(e,o,n){const{state:{open:a,setOpen:l,setHasFocus:c},defaultProps:u,elementType:d,activeDescendantController:h}=n,p=Ne(e,{defaultProps:{type:"text","aria-expanded":a,role:"combobox",...typeof u=="object"&&u},elementType:d}),v=b.useRef(null);return p.ref=it(v,p.ref,o),p.onBlur=Ae(m=>{l(m,!1),c(!1)},p.onBlur),p.onFocus=Ae(m=>{m.target===m.currentTarget&&c(!0)},p.onFocus),p.onClick=Ae(m=>{l(m,!a)},p.onClick),p.onKeyDown=Ae(J9({activeDescendantController:h,...n.state}),p.onKeyDown),p}function J9(e){const{activeDescendantController:o,getOptionById:n,setOpen:a,selectOption:l,multiselect:c,open:u}=e,d=b.useCallback(()=>{const x=o.active();return x?n(x):void 0},[o,n]),h=()=>{o.first()},p=()=>{o.last()},v=x=>{x?o.next():o.first()},m=x=>{x?o.prev():o.first()},w=()=>{for(let x=0;x<10;x++)o.prev()},B=()=>{for(let x=0;x<10;x++)o.next()},k=vT();return ge(x=>{const z=wd(x,{open:u,multiselect:c}),_=d();switch(z){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":x.preventDefault();break}switch(k(!0),z){case"First":h();break;case"Last":p();break;case"Next":v(_);break;case"Previous":m(_);break;case"PageDown":B();break;case"PageUp":w();break;case"Open":a(x,!0);break;case"Close":x.stopPropagation(),a(x,!1);break;case"CloseSelect":!c&&!(_!=null&&_.disabled)&&a(x,!1);case"Select":_&&l(x,_);break;case"Tab":!c&&_&&l(x,_);break}})}function eA(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:B,activeDescendantController:k}=n,x=O=>{if(!a&&!w){const X=k.active(),ee=X?v(X):null;l&&ee&&l.trim().toLowerCase()===(ee==null?void 0:ee.text.toLowerCase())&&c(O,ee),u(void 0)}},z=O=>{const X=O==null?void 0:O.trim().toLowerCase();if(!X||X.length===0){k.blur();return}const ee=ie=>ie.toLowerCase().indexOf(X)===0,he=k.find(ie=>{const ue=v(ie);return!!ue&&ee(ue.text)});if(!he){k.blur();return}return v(he)},_=O=>{const X=O.target.value;u(X);const ee=z(X);!d&&h.length===1&&(X.length<1||!ee)&&p(O)},E=Y9(e,o,{state:n.state,defaultProps:B,elementType:"input",activeDescendantController:k});E.onChange=Ae(E.onChange,_),E.onBlur=Ae(E.onBlur,x);const[C,T]=b.useState(!1),j=b.useRef(!1),R=E.onKeyDown,F=ge(O=>{!a&&wd(O)==="Type"&&m(O,!0),O.key===im||O.key===lm?T(!0):T(!1);const X=wd(O,{open:a,multiselect:d});if(X==="Type"?j.current=!0:(X==="Open"&&O.key!==" "||X==="Next"||X==="Previous"||X==="First"||X==="Last"||X==="PageUp"||X==="PageDown")&&(j.current=!1),(j.current||!a)&&O.key===" "){var ee;e==null||(ee=e.onKeyDown)===null||ee===void 0||ee.call(e,O);return}R==null||R(O)});return E.onKeyDown=F,C&&(E["aria-activedescendant"]=void 0),E}const tA=(e,o)=>{"use no memo";var n,a;e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:l,activeParentRef:c,controller:u}=b5({matchOption:me=>me.classList.contains(Sd.root)}),d=K9({...e,editable:!0,activeDescendantController:u}),{appearance:h,size:p,...v}=d,{clearable:m,clearSelection:w,disabled:B,multiselect:k,open:x,selectedOptions:z,setOpen:_,value:E,hasFocus:C}=v,[T,j]=Z9(e),{disableAutoFocus:R=!1,freeform:F,inlinePopup:O}=e,X=Yt("combobox-"),{primary:ee,root:he}=_l({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),ie=b.useRef(null),ue=Q9(e.listbox,it(T,l),{state:d,triggerRef:ie,defaultProps:{children:e.children,disableAutoFocus:R}});var le;const Z=eA((le=e.input)!==null&&le!==void 0?le:{},it(ie,c,o),{state:d,freeform:F,defaultProps:{type:"text",value:E??"","aria-controls":x?ue==null?void 0:ue.id:void 0,...ee},activeDescendantController:u}),L=Ne(e.root,{defaultProps:{"aria-owns":!O&&x?ue==null?void 0:ue.id:void 0,...he},elementType:"div"});L.ref=it(L.ref,j);const te=z.length>0&&!B&&m&&!k,oe={components:{root:"div",input:"input",expandIcon:"span",listbox:Sm,clearIcon:"span"},root:L,input:Z,listbox:x||C?ue:void 0,clearIcon:Me(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:Me(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":B?"true":void 0,"aria-expanded":x,role:"button"},elementType:"span"}),showClearIcon:te,activeDescendantController:u,...v},{targetDocument:fe}=Ze();Jg({element:fe,callback:me=>_(me,!1),refs:[ie,T,j],disabled:!x});const{onMouseDown:Se}=oe.expandIcon||{},q=ge(Ae(Se,me=>{var _e;me.preventDefault(),oe.setOpen(me,!oe.open),(_e=ie.current)===null||_e===void 0||_e.focus()}));if(oe.expandIcon){oe.expandIcon.onMouseDown=q;const me=oe.expandIcon["aria-label"]||oe.expandIcon["aria-labelledby"],_e="Open";if(!me)if(e["aria-labelledby"]){var U;const Fe=(U=oe.expandIcon.id)!==null&&U!==void 0?U:`${X}-chevron`,Bt=`${Fe} ${oe.input["aria-labelledby"]}`;oe.expandIcon["aria-label"]=_e,oe.expandIcon.id=Fe,oe.expandIcon["aria-labelledby"]=Bt}else e["aria-label"]?oe.expandIcon["aria-label"]=`${_e} ${e["aria-label"]}`:oe.expandIcon["aria-label"]=_e}const J=ge(Ae((n=oe.clearIcon)===null||n===void 0?void 0:n.onMouseDown,me=>{me.preventDefault()})),se=ge(Ae((a=oe.clearIcon)===null||a===void 0?void 0:a.onClick,me=>{w(me)}));return oe.clearIcon&&(oe.clearIcon.onMouseDown=J,oe.clearIcon.onClick=se),k&&(oe.clearIcon=void 0),oe},oA=(e,o)=>{"use no memo";const{appearance:n="outline",size:a="medium",...l}=e,c=tA(l,o);if(c.clearIcon){var u,d;(d=(u=c.clearIcon).children)!==null&&d!==void 0||(u.children=b.createElement(_E,null))}if(c.expandIcon){var h,p;(p=(h=c.expandIcon).children)!==null&&p!==void 0||(h.children=b.createElement(yE,null))}return{...c,appearance:n,size:a}},rA=(e,o)=>ne(e.root,{children:ne(p5,{value:o.activeDescendant,children:ne(D9,{value:o.listbox,children:lt(yS.Provider,{value:o.combobox,children:[ne(e.input,{}),e.clearIcon&&ne(e.clearIcon,{}),e.expandIcon&&ne(e.expandIcon,{}),e.listbox&&(e.inlinePopup?ne(e.listbox,{}):ne(Dl,{mountNode:e.mountNode,children:ne(e.listbox,{})}))]})})})}),Ms={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},nA=ve({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),aA=ve({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),iA=ve({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",qhf8xq:"f10pi13n",Bo70h7d:"fvc9v3g",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["f1gwjbcf","f1rbysb6"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["fpsl3z4","f1po37t9"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],B1piin3:["f1je5ipm","fb53jzl"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f10pi13n{position:relative;}",".fvc9v3g svg{display:block;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1gwjbcf::after{right:calc(-1 * var(--spacingHorizontalSNudge));}",".f1rbysb6::after{left:calc(-1 * var(--spacingHorizontalSNudge));}",".fe5j1ua{font-size:20px;}",".fpsl3z4::after{right:calc(-1 * var(--spacingHorizontalMNudge));}",".f1po37t9::after{left:calc(-1 * var(--spacingHorizontalMNudge));}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1je5ipm::after{right:calc(-1 * var(--spacingHorizontalM));}",".fb53jzl::after{left:calc(-1 * var(--spacingHorizontalM));}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),lA=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=nA(),h=iA(),p=aA();return e.root.className=de(Ms.root,d.root,d[o],d[a],!u&&o==="outline"&&d.outlineInteractive,c&&o!=="underline"&&d.invalid,c&&o==="underline"&&d.invalidUnderline,u&&d.disabled,e.root.className),e.input.className=de(Ms.input,p.input,p[a],u&&p.disabled,e.input.className),e.listbox&&(e.listbox.className=de(Ms.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!n&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=de(Ms.expandIcon,h.icon,h[a],u&&h.disabled,l&&h.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=de(Ms.clearIcon,h.icon,h[a],u&&h.disabled,!l&&h.hidden,e.clearIcon.className)),e},kS=b.forwardRef((e,o)=>{const n=oA(e,o),a=O9(n);return lA(n),Xe("useComboboxStyles_unstable")(n),rA(n,a)});kS.displayName="Combobox";const sA=(e,o)=>{e=ti(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const n=Zg();var a;const{size:l="medium",appearance:c=(a=n.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",...u}=e,d=cA(u,o);return{size:l,appearance:c,...d}},cA=(e,o)=>{const{onChange:n}=e,[a,l]=Oo({state:e.value,defaultState:e.defaultValue,initialState:""}),c=_l({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),u={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Ne(e.input,{defaultProps:{type:"text",ref:o,...c.primary},elementType:"input"}),contentAfter:Me(e.contentAfter,{elementType:"span"}),contentBefore:Me(e.contentBefore,{elementType:"span"}),root:Ne(e.root,{defaultProps:c.root,elementType:"span"})};return u.input.value=a,u.input.onChange=ge(d=>{const h=d.target.value;n==null||n(d,{value:h}),l(h)}),u},uA=e=>lt(e.root,{children:[e.contentBefore&&ne(e.contentBefore,{}),ne(e.input,{}),e.contentAfter&&ne(e.contentAfter,{})]}),Vu={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},dA=je("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;}}"]}),fA=ve({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),hA=je("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;}"]),pA=ve({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),gA=je("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),mA=ve({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),vA=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=fA(),d=pA(),h=mA();e.root.className=de(Vu.root,dA(),u[o],e.contentBefore&&u[`${o}WithContentBefore`],e.contentAfter&&u[`${o}WithContentAfter`],u[n],!a&&n==="outline"&&u.outlineInteractive,!a&&n==="underline"&&u.underlineInteractive,!a&&c&&u.filledInteractive,c&&u.filled,!a&&l&&u.invalid,a&&u.disabled,e.root.className),e.input.className=de(Vu.input,hA(),d[o],e.contentBefore&&d[`${o}WithContentBefore`],e.contentAfter&&d[`${o}WithContentAfter`],a&&d.disabled,e.input.className);const p=[gA(),a&&h.disabled,h[o]];return e.contentBefore&&(e.contentBefore.className=de(Vu.contentBefore,...p,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=de(Vu.contentAfter,...p,e.contentAfter.className)),e},Cg=b.forwardRef((e,o)=>{const n=sA(e,o);return vA(n),Xe("useInputStyles_unstable")(n),uA(n)});Cg.displayName="Input";const bA=b.createContext(void 0),yA=bA.Provider,km=ei(void 0),xA={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},wA=km.Provider,st=e=>Tl(km,(o=xA)=>e(o)),BS=b.createContext(void 0),SA=!1,kA=BS.Provider,BA=()=>{var e;return(e=b.useContext(BS))!==null&&e!==void 0?e:SA},Bm=ei(void 0),_A={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},CA=Bm.Provider,Zs=e=>Tl(Bm,(o=_A)=>e(o)),Qs="fuimenuenter",zA=e=>{const{refs:o,callback:n,element:a,disabled:l}=e,c=ge(u=>{const d=o[0],h=u.target;var p;!Us((p=d.current)!==null&&p!==void 0?p:null,h)&&!l&&n(u)});b.useEffect(()=>{if(a!=null)return l||a.addEventListener(Qs,c),()=>{a.removeEventListener(Qs,c)}},[c,a,l])},NA=(e,o)=>{e.dispatchEvent(new CustomEvent(Qs,{bubbles:!0,detail:{nativeEvent:o}}))};function _m(){const e=st(n=>n.isSubmenu),o=fc(Bm);return e||o}const _S=e=>{"use no memo";const{targetDocument:o}=Ze();return st(a=>a.triggerRef),st(a=>a.inline),b.useRef(null)},zg="fuimenusafezonetimeout",TA=e=>{const o=b.useRef(null);return b.useCallback(n=>{var a;(a=o.current)===null||a===void 0||a.removeEventListener(zg,e),n==null||n.addEventListener(zg,e),o.current=n},[e])},jA=ve({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),EA=e=>{"use no memo";const o=jA();e.checkmark&&(e.checkmark.className=de(o.root,e.checked&&o.rootChecked,e.checkmark.className))},Qn={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"},RA=je("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;}}"]}),AA=je("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;}"]),MA=je("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);}"]),DA=je("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;}"]),OA=je("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),FA=je("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),qA=ve({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Bbkh6qg:"f1wzezsb",B3ejlan:"f1egomlm",B41git9:"f1wf2001",Boq1n10:"fied5gk",Dcq74g:"f1efp33f",rxnm8d:"f1m2zpi7",wxluhh:"fei14nx",idgcvv:"f12hmwa5",j9xr24:"f1hzwxd0"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wzezsb:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1egomlm:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wf2001:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fied5gk:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2zpi7:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fei14nx:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12hmwa5:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1hzwxd0:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),HA=ve({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),PA=ve({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),IA=e=>{"use no memo";const o=qA(),n=RA(),a=AA(),l=MA(),c=DA(),u=OA(),d=PA(),h=FA(),p=HA(),v=!!e.subText;return e.root.className=de(Qn.root,n,e.disabled&&o.disabled,e.root.className),e.content&&(e.content.className=de(Qn.content,a,e.content.className,v&&d.content)),e.checkmark&&(e.checkmark.className=de(Qn.checkmark,o.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=de(Qn.secondaryContent,l,e.disabled&&o.disabled,e.secondaryContent.className,v&&d.secondaryContent)),e.icon&&(e.icon.className=de(Qn.icon,c,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=de(Qn.submenuIndicator,u,e.submenuIndicator.className,v&&d.submenuIndicator)),e.subText&&(e.subText.className=de(Qn.subText,e.disabled&&p.disabled,e.subText.className,h)),EA(e),e},jx=Ie.durationSlower,Ex=Ie.curveDecelerateMid,Rx=El(({distance:e=10})=>({enter:[ua({duration:jx,easing:Ex,direction:"enter"}),{...P5({duration:jx,easing:Ex,direction:"enter",outX:`calc(var(${md}, 0px) * ${e})`,outY:`calc(var(${vd}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),LA=["after","after-bottom","before-top","before","before-bottom","above"],UA=e=>{const o=_m(),{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:B}=Ze(),k=Yt("menu"),[x,z]=iS(),_=Ml(e.positioning),E=L5({targetDocument:B,onPositioningEnd:_.onPositioningEnd}),C={position:o?"after":"below",align:o?"top":"start",target:e.openOnContext?x:void 0,fallbackPositions:o?LA:void 0,..._,onPositioningEnd:E},T=b.Children.toArray(e.children);let j,R;T.length===2?(j=T[0],R=T[1]):T.length===1&&(R=T[0]);const{targetRef:F,containerRef:O}=Kd(C),X=w&&p,ee=b.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),he=n7({disabled:!X,timeout:typeof w=="object"?w.timeout:300,onSafeZoneEnter:oe=>{Z(oe,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:oe}),ee.current.isInside=!0},onSafeZoneLeave:()=>{ee.current.isInside=!1},onSafeZoneMove:oe=>{ee.current.mouseCoordinates={x:oe.clientX,y:oe.clientY}},onSafeZoneTimeout:()=>{const oe=new CustomEvent(zg);if(Z(oe,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:oe}),ee.current.isInside&&B){const Se=B.elementsFromPoint(ee.current.mouseCoordinates.x,ee.current.mouseCoordinates.y).find(q=>q.classList.contains(Qn.root));Se==null||Se.dispatchEvent(oe)}}}),ie=it(F,he.targetRef),ue=it(O,he.containerRef),[le,Z]=GA({hoverDelay:n,isSubmenu:o,setContextTarget:z,closeOnScroll:u,menuPopoverRef:ue,triggerRef:ie,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[L,te]=VA({checkedValues:e.checkedValues,defaultCheckedValues:v,onCheckedValueChange:e.onCheckedValueChange});return{inline:a,hoverDelay:n,triggerId:k,isSubmenu:o,openOnHover:p,contextTarget:x,setContextTarget:z,hasCheckmarks:l,hasIcons:c,closeOnScroll:u,menuTrigger:j,menuPopover:R,mountNode:m,triggerRef:ie,menuPopoverRef:ue,components:{surfaceMotion:Rx},openOnContext:d,open:le,setOpen:Z,checkedValues:L,onCheckedValueChange:te,persistOnItemClick:h,safeZone:he.elementToRender,surfaceMotion:hc(e.surfaceMotion,{elementType:Rx,defaultProps:{visible:le,appear:!0,unmountOnExit:!0}})}},VA=e=>{const[o,n]=Oo({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),a=ge((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]},GA=e=>{"use no memo";const{targetDocument:o}=Ze(),n=st(x=>x.setOpen),a=ge((x,z)=>{var _;return(_=e.onOpenChange)===null||_===void 0?void 0:_.call(e,x,z)}),l=b.useRef(!1),[c,u]=Oo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=ge((x,z)=>{const _=x instanceof CustomEvent&&x.type===Qs?x.detail.nativeEvent:x;a==null||a(_,{...z}),z.open&&x.type==="contextmenu"&&e.setContextTarget(x),z.open||e.setContextTarget(void 0),z.bubble&&n(x,{...z}),u(z.open)}),[h,p]=Cl(),v=ge((x,z)=>{if(p(),!(x instanceof Event)&&x.persist&&x.persist(),!z.ignoreHoverDelay&&(x.type==="mouseleave"||x.type==="mouseover"||x.type==="mousemove"||x.type===Qs)){var E;!((E=e.triggerRef.current)===null||E===void 0)&&E.contains(x.target)&&(l.current=x.type==="mouseover"||x.type==="mousemove"),h(()=>d(x,z),e.hoverDelay)}else d(x,z)});Jg({contains:Us,disabled:!c,element:o,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:x=>v(x,{open:!1,type:"clickOutside",event:x})});const m=e.openOnContext||e.closeOnScroll;kw({contains:Us,element:o,callback:x=>v(x,{open:!1,type:"scrollOutside",event:x}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!c||!m}),zA({element:o,callback:x=>{l.current||v(x,{open:!1,type:"menuMouseEnter",event:x})},disabled:!c,refs:[e.menuPopoverRef]});const{findFirstFocusable:w}=uc(),B=b.useCallback(()=>{const x=w(e.menuPopoverRef.current);x==null||x.focus()},[w,e.menuPopoverRef]),k=Yg();return b.useEffect(()=>{if(c)B();else if(!k){var x,z;if((o==null?void 0:o.activeElement)===(o==null?void 0:o.body)||!((x=e.menuPopoverRef.current)===null||x===void 0)&&x.contains((z=o==null?void 0:o.activeElement)!==null&&z!==void 0?z:null)){var _;(_=e.triggerRef.current)===null||_===void 0||_.focus()}}},[e.triggerRef,e.isSubmenu,c,B,o,e.menuPopoverRef]),[c,v]};function WA(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:B,setOpen:k,triggerId:x,triggerRef:z}=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:B,setOpen:k,triggerId:x,triggerRef:z}),[o,n,a,l,c,u,d,h,p,v,m,w,B,k,x,z])}}const XA=(e,o)=>lt(wA,{value:o.menu,children:[e.menuTrigger,e.menuPopover&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.menuPopover})})]}),CS=e=>{const o=UA(e),n=WA(o);return XA(o,n)};CS.displayName="Menu";const $A=(e,o)=>{"use no memo";const n=Zs(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},zS=b.createContext(void 0),NS={setMultiline:()=>null};zS.Provider;const TS=()=>{var e;return(e=b.useContext(zS))!==null&&e!==void 0?e:NS},jS=()=>TS()!==NS,KA=z5(SE,Xi),ZA=z5(xE,wE),QA=(e,o)=>{const{dir:n}=Ze(),a=YA(e,o);if(a.submenuIndicator){var l,c;(c=(l=a.submenuIndicator).children)!==null&&c!==void 0||(l.children=n==="rtl"?b.createElement(ZA,null):b.createElement(KA,null))}return a},YA=(e,o)=>{const n=BA(),a=st(_=>_.persistOnItemClick),{as:l="div",disabled:c=!1,hasSubmenu:u=n,persistOnClick:d=a,content:h,...p}=e,{hasIcons:v,hasCheckmarks:m}=eM({hasSubmenu:u}),w=st(_=>_.setOpen);JA({multiline:!!e.subText,hasSubmenu:u});const B=b.useRef(null),k=b.useRef(!1),x=_S(tM(e.role)),z={hasSubmenu:u,disabled:c,persistOnClick:d,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:Ne(Et(l,Qa(l,{role:"menuitem",...p,disabled:!1,disabledFocusable:c,ref:it(o,B,x),onKeyDown:ge(_=>{var E;(E=e.onKeyDown)===null||E===void 0||E.call(e,_),!_.isDefaultPrevented()&&(_.key===dn||_.key===Qi)&&(k.current=!0)}),onMouseMove:ge(_=>{var E;if(_.currentTarget.ownerDocument.activeElement!==_.currentTarget){var C;(C=B.current)===null||C===void 0||C.focus()}(E=e.onMouseMove)===null||E===void 0||E.call(e,_)}),onClick:ge(_=>{var E;!u&&!d&&(w(_,{open:!1,keyboard:k.current,bubble:!0,type:"menuItemClick",event:_}),k.current=!1),(E=e.onClick)===null||E===void 0||E.call(e,_)})})),{elementType:"div"}),icon:Me(e.icon,{renderByDefault:v,elementType:"span"}),checkmark:Me(e.checkmark,{renderByDefault:m,elementType:"span"}),submenuIndicator:Me(e.submenuIndicator,{renderByDefault:u,elementType:"span"}),content:Me(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:Me(e.secondaryContent,{elementType:"span"}),subText:Me(e.subText,{elementType:"span"})};return $A(z,B),z},JA=e=>{const{hasSubmenu:o,multiline:n}=e,a=jS()&&o,{setMultiline:l}=TS();Dt(()=>{a||l(n)},[l,n,a])},eM=e=>{const{hasSubmenu:o}=e,n=Zs(c=>c.hasIcons),a=Zs(c=>c.hasCheckmarks),l=jS()&&o;return{hasIcons:n&&!l,hasCheckmarks:a&&!l}},tM=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},oM=e=>lt(e.root,{children:[e.checkmark&&ne(e.checkmark,{}),e.icon&&ne(e.icon,{}),e.content&&lt(e.content,{children:[e.content.children,e.subText&&ne(e.subText,{})]}),e.secondaryContent&&ne(e.secondaryContent,{}),e.submenuIndicator&&ne(e.submenuIndicator,{})]}),Ng=b.forwardRef((e,o)=>{const n=QA(e,o);return IA(n),Xe("useMenuItemStyles_unstable")(n),oM(n)});Ng.displayName="MenuItem";const rM=(e,o)=>{const{findAllFocusable:n}=uc(),{targetDocument:a}=Ze(),l=nM(),c=fc(km),u=Iw({circular:!0});aM(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=_S();b.useEffect(()=>{const _=d.current;if(c&&a&&_){const E=C=>{const T=C.detail.next;T&&_.contains(a.activeElement)&&!_.contains(T)&&C.preventDefault()};return a.addEventListener(gg,E),()=>{a.removeEventListener(gg,E)}}},[d,a,c]);const p=b.useCallback((_,E)=>{const C=["menuitem","menuitemcheckbox","menuitemradio"];if(!d.current)return;const T=n(d.current,ee=>ee.hasAttribute("role")&&C.indexOf(ee.getAttribute("role"))!==-1);let j=T.indexOf(E)+1;j===T.length&&(j=0);const R=T.map(ee=>{var he;return(he=ee.textContent)===null||he===void 0?void 0:he.charAt(0).toLowerCase()}),F=_.key.toLowerCase(),O=(ee,he)=>{for(let ie=ee;ie<R.length;ie++)if(F===R[ie])return ie;return-1};let X=O(j);X===-1&&(X=O(0)),X>-1&&T[X].focus()},[n]);var v;const[m,w]=Oo({state:(v=e.checkedValues)!==null&&v!==void 0?v:c?l.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var B;const k=(B=e.onCheckedValueChange)!==null&&B!==void 0?B:c?l.onCheckedValueChange:void 0,x=ge((_,E,C,T)=>{const R=[...(m==null?void 0:m[E])||[]];T?R.splice(R.indexOf(C),1):R.push(C),k==null||k(_,{name:E,checkedItems:R}),w(F=>({...F,[E]:R}))}),z=ge((_,E,C)=>{const T=[C];w(j=>({...j,[E]:T})),k==null||k(_,{name:E,checkedItems:T})});return{components:{root:"div"},root:Ne(Et("div",{ref:it(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:z,toggleCheckbox:x}},nM=()=>{const e=st(c=>c.checkedValues),o=st(c=>c.onCheckedValueChange),n=st(c=>c.triggerId),a=st(c=>c.hasIcons),l=st(c=>c.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:o,triggerId:n,hasIcons:a,hasCheckmarks:l}},aM=(e,o,n)=>{let a=!1;for(const l in o)e[l]&&(a=!0);return n&&a},iM=(e,o)=>ne(CA,{value:o.menuList,children:ne(e.root,{})});function lM(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 sM={root:"fui-MenuList"},cM=ve({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),uM=e=>{"use no memo";const o=cM();return e.root.className=de(sM.root,o.root,e.hasMenuContext&&o.hasMenuContext,e.root.className),e},ES=b.forwardRef((e,o)=>{const n=rM(e,o),a=lM(n);return uM(n),Xe("useMenuListStyles_unstable")(n),iM(n,a)});ES.displayName="MenuList";const dM=(e,o)=>{"use no memo";const n=st(F=>F.safeZone),a=st(F=>F.menuPopoverRef),l=st(F=>F.setOpen),c=st(F=>F.open),u=st(F=>F.openOnHover),d=st(F=>F.triggerRef),h=_m(),p=Zs(F=>{var O;return(O=F.shouldCloseOnArrowLeft)!==null&&O!==void 0?O:!0}),v=b.useRef(!0),m=gT(),[w,B]=Cl(),{dir:k}=Ze(),x=k==="ltr"?im:lm,z=b.useCallback(F=>{F&&F.addEventListener("mouseover",O=>{v.current&&(v.current=!1,NA(a.current,O),w(()=>{v.current=!0},250))})},[a,w]);b.useEffect(()=>()=>B(),[B]);var _;const E=(_=st(F=>F.inline))!==null&&_!==void 0?_:!1,C=st(F=>F.mountNode),T=Ne(Et("div",{role:"presentation",...m,...e,ref:it(o,a,z,Ld())}),{elementType:"div"}),{onMouseEnter:j,onKeyDown:R}=T;return T.onMouseEnter=ge(F=>{(u||h)&&l(F,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:F}),j==null||j(F)}),T.onKeyDown=ge(F=>{const O=F.key;if(O===jl||h&&p&&O===x){var X;c&&(!((X=a.current)===null||X===void 0)&&X.contains(F.target))&&!F.isDefaultPrevented()&&(l(F,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:F}),F.preventDefault())}if(O===h5&&(l(F,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:F}),!h)){var ee;(ee=d.current)===null||ee===void 0||ee.focus()}R==null||R(F)}),{inline:E,mountNode:C,safeZone:n,components:{root:"div"},root:T}},fM={root:"fui-MenuPopover"},hM=ve({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),pM=e=>{"use no memo";const o=hM();return e.root.className=de(fM.root,o.root,e.root.className),e},gM=e=>e.inline?lt(b.Fragment,{children:[ne(e.root,{}),e.safeZone]}):lt(Dl,{mountNode:e.mountNode,children:[ne(e.root,{}),e.safeZone]}),RS=b.forwardRef((e,o)=>{const n=dM(e,o);return pM(n),Xe("useMenuPopoverStyles_unstable")(n),gM(n)});RS.displayName="MenuPopover";function mM(){}const vM=e=>{const{children:o,disableButtonEnhancement:n=!1}=e,a=st(Z=>Z.triggerRef),l=st(Z=>Z.menuPopoverRef),c=st(Z=>Z.setOpen),u=st(Z=>Z.open),d=st(Z=>Z.triggerId),h=st(Z=>Z.openOnHover),p=st(Z=>Z.openOnContext),v=_m(),m=Zs(Z=>{var L;return(L=Z.shouldOpenOnArrowRight)!==null&&L!==void 0?L:!0}),{findFirstFocusable:w}=uc(),B=b.useCallback(()=>{const Z=w(l.current);Z==null||Z.focus()},[w,l]),k=b.useRef(!1),x=b.useRef(!1),z=b.useRef(!1),{dir:_}=Ze(),E=_==="ltr"?lm:im,C=cc(o),T=TA(ge(()=>{v&&(x.current=!0)})),j=Z=>{Vi(Z)||Z.isDefaultPrevented()||p&&(Z.preventDefault(),c(Z,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:Z}))},R=Z=>{Vi(Z)||p||(c(Z,{open:!u,keyboard:k.current,type:"menuTriggerClick",event:Z}),k.current=!1)},F=Z=>{if(Vi(Z)||Z.isDefaultPrevented())return;const L=Z.key;!p&&(v&&m&&L===E||!v&&L===yg)&&c(Z,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:Z}),L===jl&&!v&&c(Z,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:Z}),u&&L===E&&v&&m&&B()},O=Z=>{Vi(Z)||h&&(z.current?c(Z,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:Z}):x.current&&(c(Z,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:Z}),x.current=!1))},X=Z=>{Vi(Z)||h&&!z.current&&(c(Z,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:Z}),z.current=!0)},ee=Z=>{Vi(Z)||h&&c(Z,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:Z})};var he;const ie={id:d,...C==null?void 0:C.props,ref:it(a,sc(C),T),onMouseEnter:ge((he=C==null?void 0:C.props.onMouseEnter)!==null&&he!==void 0?he:mM),onMouseLeave:ge(Ae(C==null?void 0:C.props.onMouseLeave,ee)),onContextMenu:ge(Ae(C==null?void 0:C.props.onContextMenu,j)),onMouseMove:ge(Ae(C==null?void 0:C.props.onMouseMove,X)),onMouseOver:ge(Ae(C==null?void 0:C.props.onMouseOver,O))},ue={"aria-haspopup":"menu","aria-expanded":!u&&!v?void 0:u,...ie,onClick:ge(Ae(C==null?void 0:C.props.onClick,R)),onKeyDown:ge(Ae(C==null?void 0:C.props.onKeyDown,F))},le=Qa((C==null?void 0:C.type)==="button"||(C==null?void 0:C.type)==="a"?C.type:"div",ue);return{isSubmenu:v,children:Od(o,p?ie:n?ue:le)}},Vi=e=>{const o=n=>n.hasAttribute("disabled")||n.hasAttribute("aria-disabled")&&n.getAttribute("aria-disabled")==="true";return vr(e.target)&&o(e.target)?!0:vr(e.currentTarget)&&o(e.currentTarget)},bM=e=>b.createElement(kA,{value:e.isSubmenu},e.children),Cm=e=>{const o=vM(e);return bM(o)};Cm.displayName="MenuTrigger";Cm.isFluentTriggerComponent=!0;const zm=b.createContext(void 0),yM={};zm.Provider;const xM=()=>b.useContext(zm)||yM,wM=(e,o)=>ne(zm.Provider,{value:o.radioGroup,children:ne(e.root,{})}),SM=(e,o)=>{const{layout:n="vertical",...a}=e,l=kM(a,o);return{layout:n,...l}},kM=(e,o)=>{e=ti(e);const n=Yt("radiogroup-"),{name:a=n,value:l,defaultValue:c,disabled:u,onChange:d,required:h}=e;return{name:a,value:l,defaultValue:c,disabled:u,required:h,components:{root:"div"},root:{ref:o,role:"radiogroup",...Ne(Et("div",e,["onChange","name"]),{elementType:"div"}),onChange:ge(p=>{d&&vr(p.target,{constructorName:"HTMLInputElement"})&&p.target.type==="radio"&&d(p,{value:p.target.value})})}}},BM={root:"fui-RadioGroup"},_M=ve({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),CM=e=>{"use no memo";const o=_M();return e.root.className=de(BM.root,o.root,e.layout==="vertical"&&o.vertical,e.root.className),e},zM=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])}},AS=b.forwardRef((e,o)=>{const n=SM(e,o),a=zM(n);return CM(n),Xe("useRadioGroupStyles_unstable")(n),wM(n,a)});AS.displayName="RadioGroup";const NM=e=>lt(e.root,{children:[ne(e.input,{}),ne(e.indicator,{}),e.label&&ne(e.label,{})]}),TM=(e,o)=>{const n=jM(e,o);return{...n,components:{...n.components,label:xr},label:Me(e.label,{defaultProps:{...n.label},elementType:xr})}},jM=(e,o)=>{const n=xM(),{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=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),w=Ne(e.root,{defaultProps:{ref:rm(),...m.root},elementType:"span"}),B=Ne(e.input,{defaultProps:{ref:o,type:"radio",id:Yt("radio-",m.primary.id),name:a,checked:l,defaultChecked:c,disabled:d,required:h,"aria-describedby":p,...m.primary},elementType:"input"});B.onChange=Ae(B.onChange,z=>v==null?void 0:v(z,{value:z.currentTarget.value}));const k=Me(e.label,{defaultProps:{htmlFor:B.id,disabled:B.disabled},elementType:"label"}),x=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:u,components:{root:"span",input:"input",label:"label",indicator:"div"},root:w,input:B,label:k,indicator:x}},Gu={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},EM=je("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;}}"]}),RM=ve({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),AM=je("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;}}"]}),MM=ve({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),DM=je("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;}"]),OM=ve({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),FM=e=>{"use no memo";const{labelPosition:o}=e,n=EM(),a=RM();e.root.className=de(Gu.root,n,o==="below"&&a.vertical,e.root.className);const l=AM(),c=MM();e.input.className=de(Gu.input,l,o==="below"&&c.below,e.indicator.children?c.customIndicator:c.defaultIndicator,e.input.className);const u=DM();e.indicator.className=de(Gu.indicator,u,e.indicator.className);const d=OM();return e.label&&(e.label.className=de(Gu.label,d.base,d[o],e.label.className)),e},Tg=b.forwardRef((e,o)=>{const n=TM(e,o);return FM(n),Xe("useRadioStyles_unstable")(n),NM(n)});Tg.displayName="Radio";const MS=b.createContext(void 0),qM={};MS.Provider;const HM=()=>{var e;return(e=b.useContext(MS))!==null&&e!==void 0?e:qM},PM=(e,o)=>{const{size:n}=HM(),{appearance:a="primary",size:l=n??"medium",...c}=e,u=IM(c,o);return{...u,appearance:a,size:l,components:{...u.components,label:xr},label:Me(e.label,{defaultProps:u.label,elementType:xr})}},IM=(e,o)=>{const{delay:n=0,labelPosition:a="after"}=e,l=Yt("spinner"),{role:c="progressbar",...u}=e,d=Ne(Et("div",{ref:o,role:c,...u}),{elementType:"div"}),[h,p]=b.useState(!1),[v,m]=Cl();b.useEffect(()=>{if(!(n<=0))return v(()=>{p(!0)},n),()=>{m()}},[v,m,n]);const w=Me(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:"label"}),B=Me(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:B,spinnerTail:Ne(e.spinnerTail,{elementType:"span"}),label:w}},LM=e=>{const{labelPosition:o,shouldRenderSpinner:n}=e;return lt(e.root,{children:[e.label&&n&&(o==="above"||o==="before")&&ne(e.label,{}),e.spinner&&n&&ne(e.spinner,{children:e.spinnerTail&&ne(e.spinnerTail,{})}),e.label&&n&&(o==="below"||o==="after")&&ne(e.label,{})]})},Wu={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},UM=je("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),VM=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),GM=je("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;}}"]}),WM=je("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;}}"]}),XM=ve({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),$M=ve({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),KM=e=>{"use no memo";const{labelPosition:o,size:n,appearance:a}=e,{dir:l}=Ze(),c=UM(),u=VM(),d=GM(),h=XM(),p=WM(),v=$M();return e.root.className=de(Wu.root,c,(o==="above"||o==="below")&&u.vertical,e.root.className),e.spinner&&(e.spinner.className=de(Wu.spinner,d,h[n],a==="inverted"&&h.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=de(Wu.spinnerTail,p,l==="rtl"&&h.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=de(Wu.label,v[n],a==="inverted"&&v.inverted,e.label.className)),e},pn=b.forwardRef((e,o)=>{const n=PM(e,o);return KM(n),Xe("useSpinnerStyles_unstable")(n),LM(n)});pn.displayName="Spinner";const ZM=(e,o)=>{var n;const{size:a="medium",...l}=e,c=QM(l,o);var u;return(u=(n=c.indicator).children)!==null&&u!==void 0||(n.children=b.createElement(cm,null)),{...c,components:{...c.components,label:xr},size:a,label:Me(e.label,{defaultProps:{size:"medium",...c.label},elementType:xr})}},QM=(e,o)=>{e=ti(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:n,defaultChecked:a,disabled:l,disabledFocusable:c=!1,labelPosition:u="after",onChange:d,required:h}=e,p=_l({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),v=Yt("switch-",p.primary.id),m=Ne(e.root,{defaultProps:{ref:rm(),...p.root},elementType:"div"}),w=Ne(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),B=Ne(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"});B.onChange=Ae(B.onChange,x=>d==null?void 0:d(x,{checked:x.currentTarget.checked})),B.onClick=Ae(B.onClick,x=>{c&&x.preventDefault()}),B.onKeyDown=Ae(B.onKeyDown,x=>{c&&(x.key===" "||x.key==="Enter")&&x.preventDefault()});const k=Me(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:B,label:k}},YM=e=>{const{labelPosition:o}=e;return lt(e.root,{children:[ne(e.input,{}),o!=="after"&&e.label&&ne(e.label,{}),ne(e.indicator,{}),o==="after"&&e.label&&ne(e.label,{})]})},Xu={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},JM=je("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=ve({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),tD=je("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=ve({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),rD=je("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=ve({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),aD=ve({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),iD=e=>{"use no memo";const o=JM(),n=eD(),a=tD(),l=oD(),c=rD(),u=nD(),d=aD(),{label:h,labelPosition:p,size:v}=e;return e.root.className=de(Xu.root,o,p==="above"&&n.vertical,e.root.className),e.indicator.className=de(Xu.indicator,a,h&&p==="above"&&l.labelAbove,v==="small"&&l.sizeSmall,e.indicator.className),e.input.className=de(Xu.input,c,h&&u[p],v==="small"&&u.sizeSmall,e.input.className),e.label&&(e.label.className=de(Xu.label,d.base,d[p],v==="small"&&d.sizeSmall,e.label.className)),e},DS=b.forwardRef((e,o)=>{const n=ZM(e,o);return iD(n),Xe("useSwitchStyles_unstable")(n),YM(n)});DS.displayName="Switch";const OS=(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:Ne(Et("span",{ref:o,...e}),{elementType:"span"})}},FS=e=>ne(e.root,{}),lD={root:"fui-Text"},sD=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),qS=e=>{"use no memo";const o=sD();return e.root.className=de(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},HS=b.forwardRef((e,o)=>{const n=OS(e,o);return qS(n),Xe("useTextStyles_unstable")(n),FS(n)});HS.displayName="Text";function oi(e){const{useStyles:o,className:n,displayName:a}=e,l=b.forwardRef((c,u)=>{"use no memo";const d=o(),h=OS(c,u);return qS(h),h.root.className=de(n,h.root.className,d.root,c.className),FS(h)});return l.displayName=a,l}const cD={root:"fui-Body1"},uD=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),go=oi({useStyles:uD,className:cD.root,displayName:"Body1"}),dD={root:"fui-Body1Strong"},fD=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),Xa=oi({useStyles:fD,className:dD.root,displayName:"Body1Strong"}),hD={root:"fui-Body2"},pD=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".figsok6{font-weight:var(--fontWeightRegular);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Ji=oi({useStyles:pD,className:hD.root,displayName:"Body2"}),gD={root:"fui-Caption1"},mD=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),Tt=oi({useStyles:mD,className:gD.root,displayName:"Caption1"}),vD={root:"fui-Subtitle2"},bD=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),Yo=oi({useStyles:bD,className:vD.root,displayName:"Subtitle2"}),yD={root:"fui-Title2"},xD=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]}),kd=oi({useStyles:xD,className:yD.root,displayName:"Title2"}),wD={root:"fui-Title3"},SD=ve({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1x0m3f5",Bhrd7zp:"fl43uef",Bg96gwp:"fb86gi6"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fb86gi6{line-height:var(--lineHeightBase600);}"]}),fn=oi({useStyles:SD,className:wD.root,displayName:"Title3"}),kD=e=>ne(e.root,{children:ne(e.textarea,{})}),BD=(e,o)=>{const n=Zg();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=ti(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:n="none",onChange:a}=e,[l,c]=Oo({state:e.value,defaultState:e.defaultValue,initialState:void 0}),u=_l({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:n,components:{root:"span",textarea:"textarea"},textarea:Ne(e.textarea,{defaultProps:{ref:o,...u.primary},elementType:"textarea"}),root:Ne(e.root,{defaultProps:u.root,elementType:"span"})};return d.textarea.value=l,d.textarea.onChange=ge(h=>{const p=h.target.value;a==null||a(h,{value:p}),c(p)}),d},Ax={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},CD=ve({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1gmd7mu",E5pizo:"fyed02w"},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),zD=ve({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),ND=ve({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),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=de(Ax.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=de(Ax.textarea,h.base,h[o],p[a],l&&h.disabled,e.textarea.className),e},PS=b.forwardRef((e,o)=>{const n=BD(e,o);return TD(n),Xe("useTextareaStyles_unstable")(n),kD(n)});PS.displayName="Textarea";const jD=je("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),ED=je("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function RD(){const e=jD(),o=ED(),{targetDocument:n}=Ze(),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}=uc(),{targetDocument:a}=Ze(),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 MD={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Nm=ei(void 0),DD=Nm.Provider,ur=e=>Tl(Nm,(o=MD)=>e(o)),OD=!1,IS=b.createContext(void 0),LS=IS.Provider,FD=()=>{var e;return(e=b.useContext(IS))!==null&&e!==void 0?e:OD},US=b.createContext(void 0);US.Provider;const qD=()=>b.useContext(US),Mx=ha(fm,{outScale:.85,easing:Ie.curveDecelerateMid,duration:Ie.durationGentle,exitEasing:Ie.curveAccelerateMin,exitDuration:Ie.durationGentle}),HD=e=>{const{children:o,modalType:n="modal",onOpenChange:a,inertTrapFocus:l=!1,unmountOnClose:c=!0}=e,u=Yt("dialog-title-"),[d,h]=PD(o),[p,v]=Oo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),m=ge(z=>{a==null||a(z.event,z),z.event.isDefaultPrevented()||v(z.open)}),w=AD(p,n),{modalAttributes:B,triggerAttributes:k}=Id({trapFocus:n!=="non-modal",legacyTrapFocus:!l}),x=fc(Nm);return{components:{surfaceMotion:Mx},inertTrapFocus:l,open:p,modalType:n,content:h,trigger:d,requestOpenChange:m,dialogTitleId:u,isNestedDialog:x,unmountOnClose:c,dialogRef:w,modalAttributes:B,triggerAttributes:k,surfaceMotion:hc(e.surfaceMotion,{elementType:Mx,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 ID=(e,o)=>ne(DD,{value:o.dialog,children:lt(LS,{value:o.dialogSurface,children:[e.trigger,e.content&&ne(e.surfaceMotion,{children:ne(Ud,{children:e.content})})]})});function LD(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 Tm=b.memo(e=>{const o=HD(e),n=LD(o);return ID(o,n)});Tm.displayName="Dialog";const UD=e=>{const o=FD(),{children:n,disableButtonEnhancement:a=!1,action:l=o?"close":"open"}=e,c=cc(n),u=ur(m=>m.requestOpenChange),{triggerAttributes:d}=Id(),h=ge(m=>{var w,B;c==null||(w=(B=c.props).onClick)===null||w===void 0||w.call(B,m),m.isDefaultPrevented()||u({event:m,type:"triggerClick",open:l==="open"})}),p={...c==null?void 0:c.props,ref:sc(c),onClick:h,...d},v=Qa((c==null?void 0:c.type)==="button"||(c==null?void 0:c.type)==="a"?c.type:"div",{...p,type:"button"});return{children:Od(n,a?p:v)}},VD=e=>e.children,el=e=>{const o=UD(e);return VD(o)};el.displayName="DialogTrigger";el.isFluentTriggerComponent=!0;const GD=(e,o)=>{const{position:n="end",fluid:a=!1}=e;return{components:{root:"div"},root:Ne(Et("div",{ref:o,...e}),{elementType:"div"}),position:n,fluid:a}},WD=e=>ne(e.root,{}),XD={root:"fui-DialogActions"},$D=je("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=ve({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),ZD=e=>{"use no memo";const o=$D(),n=KD();return e.root.className=de(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},jm=b.forwardRef((e,o)=>{const n=GD(e,o);return ZD(n),Xe("useDialogActionsStyles_unstable")(n),WD(n)});jm.displayName="DialogActions";const QD=(e,o)=>{var n;return{components:{root:"div"},root:Ne(Et((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},YD=e=>ne(e.root,{}),JD={root:"fui-DialogBody"},eO=je("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;}}"]}),tO=e=>{"use no memo";const o=eO();return e.root.className=de(JD.root,o,e.root.className),e},Em=b.forwardRef((e,o)=>{const n=QD(e,o);return tO(n),Xe("useDialogBodyStyles_unstable")(n),YD(n)});Em.displayName="DialogBody";const Dx={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},oO=je("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;}"]),rO=ve({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),nO=je("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),aO=je("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;}}"]}),iO=e=>{"use no memo";const o=oO(),n=nO(),a=rO();return e.root.className=de(Dx.root,o,!e.action&&a.rootWithoutAction,e.root.className),e.action&&(e.action.className=de(Dx.action,n,e.action.className)),e},lO=(e,o)=>{const{action:n}=e,a=ur(c=>c.modalType),l=aO();return{components:{root:"h2",action:"div"},root:Ne(Et("h2",{ref:o,id:ur(c=>c.dialogTitleId),...e}),{elementType:"h2"}),action:Me(n,{renderByDefault:a==="non-modal",defaultProps:{children:b.createElement(el,{disableButtonEnhancement:!0,action:"close"},b.createElement("button",{type:"button",className:l,"aria-label":"close"},b.createElement(DE,null)))},elementType:"div"})}},sO=e=>lt(b.Fragment,{children:[ne(e.root,{children:e.root.children}),e.action&&ne(e.action,{})]}),Rm=b.forwardRef((e,o)=>{const n=lO(e,o);return iO(n),Xe("useDialogTitleStyles_unstable")(n),sO(n)});Rm.displayName="DialogTitle";const Ox=cR,cO=(e,o)=>{const n=Ld(),a=ur(C=>C.modalType),l=ur(C=>C.isNestedDialog),c=qD(),u=c??l,d=ur(C=>C.modalAttributes),h=ur(C=>C.dialogRef),p=ur(C=>C.requestOpenChange),v=ur(C=>C.dialogTitleId),m=ur(C=>C.open),w=ur(C=>C.unmountOnClose),B=ge(C=>{if(Kg(e.backdrop)){var T,j;(T=(j=e.backdrop).onClick)===null||T===void 0||T.call(j,C)}a==="modal"&&!C.isDefaultPrevented()&&p({event:C,open:!1,type:"backdropClick"})}),k=ge(C=>{var T;(T=e.onKeyDown)===null||T===void 0||T.call(e,C),C.key===jl&&!C.isDefaultPrevented()&&(p({event:C,open:!1,type:"escapeKeyDown"}),C.preventDefault())}),x=Me(e.backdrop,{renderByDefault:a!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),z=x==null?void 0:x.appearance;x&&(x.onClick=B,delete x.appearance);const{disableBodyScroll:_,enableBodyScroll:E}=RD();return Dt(()=>{if(!m){E();return}if(!(l||a==="non-modal"))return _(),()=>E()},[m,a,l,_,E]),{components:{backdrop:"div",root:"div",backdropMotion:Ox},open:m,backdrop:x,isNestedDialog:l,treatBackdropAsNested:u,backdropAppearance:z,unmountOnClose:w,mountNode:e.mountNode,root:Ne(Et("div",{tabIndex:-1,role:a==="alert"?"alertdialog":"dialog","aria-modal":a!=="non-modal","aria-labelledby":e["aria-label"]?void 0:v,"aria-hidden":!w&&!m?!0:void 0,...e,...d,onKeyDown:k,ref:it(o,n,h)}),{elementType:"div"}),backdropMotion:hc(e.backdropMotion,{elementType:Ox,defaultProps:{appear:w,visible:m}}),transitionStatus:void 0}},uO=(e,o)=>lt(Dl,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ne(e.backdropMotion,{children:ne(e.backdrop,{})}),ne(O5,{children:ne(LS,{value:o.dialogSurface,children:ne(e.root,{})})})]}),Fx={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},dO=je("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;}}"]}),fO=je("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),hO=ve({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),pO=e=>{"use no memo";const{root:o,backdrop:n,open:a,unmountOnClose:l,treatBackdropAsNested:c,backdropAppearance:u}=e,d=dO(),h=fO(),p=hO(),v=u?u==="transparent":c,m=!l&&!a;return o.className=de(Fx.root,d,m&&p.dialogHidden,o.className),n&&(n.className=de(Fx.backdrop,h,m&&p.dialogHidden,v&&p.nestedDialogBackdrop,n.className)),e};function gO(e){return{dialogSurface:!0}}const Am=b.forwardRef((e,o)=>{const n=cO(e,o),a=gO();return pO(n),Xe("useDialogSurfaceStyles_unstable")(n),uO(n,a)});Am.displayName="DialogSurface";const mO=(e,o)=>{var n;return{components:{root:"div"},root:Ne(Et((n=e.as)!==null&&n!==void 0?n:"div",{ref:o,...e}),{elementType:"div"})}},vO=e=>ne(e.root,{}),bO={root:"fui-DialogContent"},yO=je("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;}}"]}),xO=e=>{"use no memo";const o=yO();return e.root.className=de(bO.root,o,e.root.className),e},Mm=b.forwardRef((e,o)=>{const n=mO(e,o);return xO(n),Xe("useDialogContentStyles_unstable")(n),vO(n)});Mm.displayName="DialogContent";function wO(e){switch(e){case"info":return b.createElement(iE,null);case"warning":return b.createElement(w5,null);case"error":return b.createElement(BE,null);case"success":return b.createElement(Fr,null);default:return null}}function SO(e=!1){const{targetDocument:o}=Ze(),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 B=(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(B===void 0||!m)return;const{target:k}=m;if(!vr(k))return;let x;if(a.current)c.current<B&&(x=!1);else{const z=k.scrollWidth;B<z&&(x=!0)}c.current=B,typeof x<"u"&&a.current!==x&&(a.current=x,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 VS=b.createContext(void 0),kO={className:"",nodeRef:b.createRef()};VS.Provider;const BO=()=>{var e;return(e=b.useContext(VS))!==null&&e!==void 0?e:kO},_O=(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}=SO(u),p=u?h?"multiline":"singleline":n,{className:v,nodeRef:m}=BO(),w=Ld(),B=b.useRef(null),k=b.useRef(null),{announce:x}=uz(),z=Yt();return b.useEffect(()=>{var _,E;const C=(_=k.current)===null||_===void 0?void 0:_.textContent,T=(E=B.current)===null||E===void 0?void 0:E.textContent,j=[C,T].filter(Boolean).join(",");x(j,{polite:c==="polite",alert:c==="assertive"})},[k,B,x,c]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Ne(Et("div",{ref:it(o,d,m,w),role:"group","aria-labelledby":z,...e}),{elementType:"div"}),icon:Me(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:Me(e.bottomReflowSpacer,{renderByDefault:p==="multiline",elementType:"div"}),layout:p,intent:a,transitionClassName:v,actionsRef:B,bodyRef:k,titleId:z}},CO=(e,o)=>{const{shape:n="rounded",...a}=e,l=_O(a,o);return{...l,shape:n,icon:Me(e.icon,{defaultProps:{children:wO(l.intent)},renderByDefault:!0,elementType:"div"})}},GS=b.createContext(void 0),zO={titleId:"",layout:"singleline",actionsRef:b.createRef(),bodyRef:b.createRef()},NO=GS.Provider,WS=()=>{var e;return(e=b.useContext(GS))!==null&&e!==void 0?e:zO},TO=(e,o)=>ne(NO,{value:o.messageBar,children:lt(e.root,{children:[e.icon&&ne(e.icon,{}),e.root.children,e.bottomReflowSpacer&&ne(e.bottomReflowSpacer,{})]})}),Up={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},jO=je("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);}']),EO=je("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;}"]),RO=je("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),AO=ve({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),MO=ve({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),DO=ve({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),OO=e=>{"use no memo";const o=jO(),n=EO(),a=MO(),l=DO(),c=RO(),u=AO();return e.root.className=de(Up.root,o,e.layout==="multiline"&&u.rootMultiline,e.shape==="square"&&u.square,l[e.intent],e.root.className),e.icon&&(e.icon.className=de(Up.icon,n,a[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=de(Up.bottomReflowSpacer,c)),e};function FO(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 Ao=b.forwardRef((e,o)=>{const n=CO(e,o);return OO(n),Xe("useMessageBarStyles_unstable")(n),TO(n,FO(n))});Ao.displayName="MessageBar";const qO=(e,o)=>{const{titleId:n}=WS();return{components:{root:"span"},root:Ne(Et("span",{ref:o,id:n,...e}),{elementType:"span"})}},HO=e=>ne(e.root,{}),PO={root:"fui-MessageBarTitle"},IO=je("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),LO=e=>{"use no memo";const o=IO();return e.root.className=de(PO.root,o,e.root.className),e},Ja=b.forwardRef((e,o)=>{const n=qO(e,o);return LO(n),Xe("useMessageBarTitleStyles_unstable")(n),HO(n)});Ja.displayName="MessageBarTitle";const UO=(e,o)=>{const{bodyRef:n}=WS();return{components:{root:"div"},root:Ne(Et("div",{ref:it(o,n),...e}),{elementType:"div"})}},VO=(e,o)=>ne(yA,{value:o.link,children:ne(e.root,{})}),GO={root:"fui-MessageBarBody"},WO=je("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);}"]),XO=e=>{"use no memo";const o=WO();return e.root.className=de(GO.root,o,e.root.className),e};function $O(e){return{link:b.useMemo(()=>({inline:!0}),[])}}const Mo=b.forwardRef((e,o)=>{const n=UO(e,o),a=$O();return XO(n),Xe("useMessageBarBodyStyles_unstable")(n),VO(n,a)});Mo.displayName="MessageBarBody";const XS={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"},Qt={accent:"linear-gradient(90deg, #0078D4, #5C2D91)",accentSoft:"linear-gradient(135deg, rgba(0,120,212,0.12) 0%, rgba(92,45,145,0.10) 100%)"},KO={...nj(XS)},mc={...lj(XS)};mc.colorNeutralBackground1="#0E1620";mc.colorNeutralBackground2="#131F2D";mc.colorNeutralBackground3="#1A2838";mc.colorNeutralBackground4="#223145";const qx="wizardux.theme",$S=b.createContext(null);function Hx(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ZO({children:e}){const[o,n]=b.useState(()=>localStorage.getItem(qx)||"system"),[a,l]=b.useState(Hx);b.useEffect(()=>{const h=window.matchMedia("(prefers-color-scheme: dark)"),p=()=>l(Hx());return h.addEventListener("change",p),()=>h.removeEventListener("change",p)},[]),b.useEffect(()=>{localStorage.setItem(qx,o)},[o]);const c=o==="system"?a:o,u=c==="dark"?mc:KO;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 y.jsx($S.Provider,{value:d,children:y.jsx(l5,{theme:u,style:{height:"100%"},children:e})})}function QO(){const e=b.useContext($S);if(!e)throw new Error("useTheme must be used inside ThemeProvider");return e}let $u=null;async function YO(){if($u)return $u;const e=await fetch("/api/handshake",{credentials:"same-origin"});if(!e.ok)throw new Error("Handshake failed");return $u=(await e.json()).csrfToken,$u}async function Nr(e,o,n){const a={"Content-Type":"application/json"};e!=="GET"&&e!=="HEAD"&&(a["X-Wizard-Token"]=await YO());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 gr={state:()=>Nr("GET","/api/state"),saveState:e=>Nr("PUT","/api/state",e),resetState:()=>Nr("POST","/api/state/reset",{}),jumpTo:e=>Nr("POST","/api/state/jump",{step:e}),system:()=>Nr("GET","/api/system"),steps:()=>Nr("GET","/api/steps"),questions:e=>Nr("GET",`/api/steps/${e}/questions`),apply:(e,o)=>Nr("POST",`/api/steps/${e}/apply`,{answers:o}),configSeedKeys:()=>Nr("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")=>Nr("POST","/api/config-seed/import",{seed:e,mode:o})},JO=mo({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 ${A.colorNeutralStroke3}`,fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200},key:{color:A.colorNeutralForeground1,whiteSpace:"nowrap"},value:{color:A.colorNeutralForeground3,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"320px"},section:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"12px"}});function Px(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 eF(){const e=JO(),o=ic(),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),[B,k]=b.useState(null);async function x(){try{const{blob:j,filename:R}=await gr.exportConfigSeed(),F=URL.createObjectURL(j),O=document.createElement("a");O.href=F,O.download=R,O.click(),URL.revokeObjectURL(F)}catch(j){const R=j instanceof Error?j.message:"Export failed.";u(R),l("error")}}function z(){var j;u(null),w(null),h(null),k(null),(j=n.current)==null||j.click()}async function _(j){var F;const R=(F=j.target.files)==null?void 0:F[0];if(j.target.value="",!!R){if(R.size>64*1024){u(`File too large (${R.size} bytes; max 65536).`),l("error");return}try{const O=await R.text(),X=JSON.parse(O);if(!X||typeof X!="object"||!X.values||typeof X.values!="object")throw new Error("Not a valid PACAF wizard config — missing `values` object.");if(X.version!==void 0&&Number(X.version)>1)throw new Error(`Seed version ${X.version} is newer than this wizard supports.`);h(X);try{const he=(await gr.state()).state,ie=[];for(const ue of["PP_ENV_DEV","PP_ENV_TEST","PP_ENV_PROD"]){const le=String(he[ue]??"").trim(),Z=String(X.values[ue]??"").trim();le&&Z&&le!==Z&&ie.push(ue)}ie.length>0&&k(`This seed targets different environment URLs than the current project: ${ie.join(", ")}. Connection IDs from this seed will likely not work in your current environments.`)}catch{}l("preview")}catch(O){const X=O instanceof Error?O.message:"Could not read file.";u(X),l("error")}}}async function E(){if(d){l("applying");try{const j=await gr.importConfigSeed(d,p);w(j),l("done"),o.invalidateQueries({queryKey:["state"]}),o.invalidateQueries({queryKey:["questions"]})}catch(j){const R=j instanceof Error?j.message:"Import failed.";u(R),l("error")}}}function C(){l("idle"),h(null),w(null),u(null),k(null),v("merge")}const T=a==="preview"||a==="applying"||a==="done"||a==="error";return y.jsxs(y.Fragment,{children:[y.jsx("input",{ref:n,type:"file",accept:"application/json,.json",style:{display:"none"},onChange:_}),y.jsxs(CS,{children:[y.jsx(Cm,{disableButtonEnhancement:!0,children:y.jsx(Zd,{relationship:"label",content:"Configuration",children:y.jsx(Qe,{appearance:"subtle",icon:y.jsx(tE,{}),"aria-label":"Configuration"})})}),y.jsx(RS,{children:y.jsxs(ES,{children:[y.jsx(Ng,{icon:y.jsx(k5,{}),onClick:x,children:"Export configuration…"}),y.jsx(Ng,{icon:y.jsx(pE,{}),onClick:z,children:"Import configuration…"})]})})]}),y.jsx(Tm,{open:T,onOpenChange:(j,R)=>{R.open||C()},children:y.jsx(Am,{children:y.jsxs(Em,{children:[y.jsx(Rm,{children:a==="done"?"Configuration imported":a==="error"?"Import failed":"Import configuration"}),y.jsxs(Mm,{children:[a==="preview"&&d&&y.jsx(tF,{seed:d,mode:p,onModeChange:v,envWarning:B,styles:e}),a==="applying"&&y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[y.jsx(pn,{size:"tiny"})," ",y.jsx(HS,{children:"Writing configuration…"})]}),a==="done"&&m&&y.jsx(oF,{result:m,styles:e}),a==="error"&&y.jsx(Ao,{intent:"error",children:y.jsxs(Mo,{children:[y.jsx(Ja,{children:"Import failed"}),c]})})]}),y.jsxs(jm,{children:[a==="preview"&&y.jsxs(y.Fragment,{children:[y.jsx(Qe,{appearance:"secondary",onClick:C,children:"Cancel"}),y.jsx(Qe,{appearance:"primary",onClick:E,children:"Apply"})]}),(a==="done"||a==="error")&&y.jsx(Qe,{appearance:"primary",onClick:C,children:"Close"}),a==="applying"&&y.jsx(Qe,{appearance:"secondary",disabled:!0,children:"Working…"})]})]})})})]})}function tF({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 y.jsxs("div",{className:l.section,children:[y.jsx(Ao,{intent:"info",children:y.jsxs(Mo,{children:["Secrets are never included. App Registration secrets remain in 1Password or",y.jsx("code",{children:" .env.local"})," — only references to them ship in this file."]})}),u&&y.jsx(Ao,{intent:"info",children:y.jsxs(Mo,{children:[y.jsx(Ja,{children:"1Password references imported"}),"This seed includes ",y.jsx("code",{children:"OP_VAULT"})," / ",y.jsx("code",{children:"OP_ITEM"})," pointers. You'll still need access to that vault on this machine to retrieve the actual secret."]})}),a&&y.jsx(Ao,{intent:"warning",icon:y.jsx(rE,{}),children:y.jsxs(Mo,{children:[y.jsx(Ja,{children:"Environment mismatch"}),a]})}),y.jsxs(Xa,{children:["Values in this seed (",c.length,")"]}),y.jsxs("ul",{className:l.list,children:[c.map(([d,h])=>y.jsxs("li",{className:l.row,children:[y.jsx("span",{className:l.key,children:d}),y.jsx("span",{className:l.value,title:Px(h),children:Px(h)})]},d)),c.length===0&&y.jsx(Tt,{children:"(empty)"})]}),y.jsx(Xa,{children:"How to apply"}),y.jsxs(AS,{value:o,onChange:(d,h)=>n(h.value),children:[y.jsx(Tg,{value:"merge",label:"Merge (recommended) — only fill values that are currently empty"}),y.jsx(Tg,{value:"replace-allowlisted",label:"Overwrite — replace existing values with values from the seed"})]})]})}function oF({result:e,styles:o}){return y.jsxs("div",{className:o.section,children:[y.jsx(Ao,{intent:"success",children:y.jsxs(Mo,{children:[y.jsx(Ja,{children:"Done"}),e.written.length," value",e.written.length===1?"":"s"," written,"," ",e.preserved.length," preserved,"," ",e.skipped.length," skipped."]})}),e.written.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Written"}),y.jsx("ul",{className:o.list,children:e.written.map(n=>y.jsx("li",{className:o.row,children:y.jsx("span",{className:o.key,children:n.key})},n.key))})]}),e.preserved.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Preserved (already set)"}),y.jsx("ul",{className:o.list,children:e.preserved.map(n=>y.jsxs("li",{className:o.row,children:[y.jsx("span",{className:o.key,children:n.key}),y.jsx("span",{className:o.value,children:n.reason})]},n.key))})]}),e.skipped.length>0&&y.jsxs(y.Fragment,{children:[y.jsx(Xa,{children:"Skipped"}),y.jsx("ul",{className:o.list,children:e.skipped.map(n=>y.jsxs("li",{className:o.row,children:[y.jsx("span",{className:o.key,children:n.key}),y.jsx("span",{className:o.value,children:n.reason})]},n.key))})]})]})}const rF=mo({root:{display:"flex",alignItems:"center",gap:"16px",padding:"0 24px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground1Hover,backdropFilter:"blur(20px) saturate(180%)"},brand:{display:"flex",alignItems:"center",gap:"12px",color:A.colorNeutralForeground1,textDecoration:"none"},badge:{width:"32px",height:"32px",borderRadius:"8px",background:Qt.accent,display:"grid",placeItems:"center",color:"#ffffff",fontWeight:700,boxShadow:A.shadow8},spacer:{flex:1},navLinks:{display:"flex",gap:"4px"},navLink:{display:"flex",alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"6px",color:A.colorNeutralForeground2,textDecoration:"none",fontSize:A.fontSizeBase300},navLinkActive:{backgroundColor:A.colorNeutralBackground3,color:A.colorNeutralForeground1}});function nF(){const e=rF(),{mode:o,setMode:n}=QO(),a=nr(),l=d=>a.pathname===d||d!=="/"&&a.pathname.startsWith(d),c=o==="system"?"light":o==="light"?"dark":"system",u=o==="dark"?nE:o==="light"?aE:y5;return y.jsxs("header",{className:e.root,children:[y.jsxs(un,{to:"/",className:e.brand,children:[y.jsx("div",{className:e.badge,children:"F"}),y.jsx(Xa,{children:"Foundations"})]}),y.jsx("div",{className:e.spacer}),y.jsxs("nav",{className:e.navLinks,children:[y.jsxs(un,{to:"/",className:de(e.navLink,l("/")&&e.navLinkActive),children:[y.jsx(_5,{})," Home"]}),y.jsxs(un,{to:"/summary",className:de(e.navLink,l("/summary")&&e.navLinkActive),children:[y.jsx(kE,{})," Summary"]}),y.jsxs(un,{to:"/diagnostics",className:de(e.navLink,l("/diagnostics")&&e.navLinkActive),children:[y.jsx(gd,{})," Diagnostics"]})]}),y.jsx(Zd,{relationship:"label",content:`Theme: ${o}. Click to cycle.`,children:y.jsx(Qe,{appearance:"subtle",icon:y.jsx(u,{}),onClick:()=>n(c),"aria-label":"Toggle theme"})}),y.jsx(eF,{})]})}const aF=mo({canvas:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0}});function KS(){const e=aF(),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)),B=v*(.38+.1*Math.cos(m*1.2)),k=a.createRadialGradient(w,B,0,w,B,Math.max(p,v)*.7);k.addColorStop(0,"rgba(0, 120, 212, 0.55)"),k.addColorStop(1,"rgba(0, 120, 212, 0)"),a.fillStyle=k,a.fillRect(0,0,p,v);const x=p*(.72+.1*Math.cos(m*.8)),z=v*(.55+.12*Math.sin(m*1.5)),_=a.createRadialGradient(x,z,0,x,z,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 E=p*(.4+.18*Math.cos(m*.6+1.7)),C=v*(.85+.1*Math.sin(m*.9)),T=a.createRadialGradient(E,C,0,E,C,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)}},[]),y.jsx("canvas",{ref:o,className:e.canvas,"aria-hidden":"true"})}function Qd(){return Td({queryKey:["state"],queryFn:()=>gr.state(),refetchInterval:5e3})}function ZS(){return Td({queryKey:["system"],queryFn:()=>gr.system(),staleTime:3e4})}function Dm(){return Td({queryKey:["steps"],queryFn:()=>gr.steps(),refetchInterval:5e3})}function iF(e){return Td({queryKey:["questions",e],queryFn:()=>gr.questions(e),enabled:e!=null})}const lF=mo({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:A.colorNeutralBackground1,border:`1px solid ${A.colorNeutralStroke2}`,boxShadow:A.shadow4,fontSize:A.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:A.colorBrandForeground1,alignSelf:"center"},title:{margin:0,background:Qt.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:A.colorNeutralForeground2,fontSize:A.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:Qt.accentSoft,border:`1px solid ${A.colorNeutralStroke2}`,boxShadow:A.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:Qt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow8,minWidth:"180px",height:"44px",fontSize:A.fontSizeBase400,fontWeight:600},ctaTrack:{width:"100%",height:"6px",borderRadius:"999px",background:A.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},ctaFill:{height:"100%",background:Qt.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 ${A.colorNeutralStroke2}`},stepRow:{display:"flex",alignItems:"center",gap:"12px",padding:"12px 16px",background:A.colorNeutralBackground1,cursor:"pointer",transition:"background-color 120ms",":hover":{backgroundColor:A.colorNeutralBackground1Hover}},stepIcon:{fontSize:"16px",flexShrink:0},stepDone:{color:A.colorPaletteGreenForeground1},stepCurrent:{color:A.colorBrandForeground1},stepPending:{color:A.colorNeutralForeground4},stepLabel:{flex:1,fontSize:A.fontSizeBase300,fontWeight:A.fontWeightSemibold,color:A.colorNeutralForeground1},stepLabelDim:{flex:1,fontSize:A.fontSizeBase300,fontWeight:A.fontWeightRegular,color:A.colorNeutralForeground3},stepBadge:{fontSize:A.fontSizeBase200,color:A.colorNeutralForeground3},footer:{textAlign:"center",color:A.colorNeutralForeground3,fontSize:A.fontSizeBase200}});function sF(){var B,k,x,z,_,E,C,T;const e=lF(),o=nc(),n=Qd(),a=Dm(),l=ZS(),c=ic(),u=O2({mutationFn:()=>gr.resetState(),onSuccess:()=>{c.invalidateQueries({queryKey:["state"]}),c.invalidateQueries({queryKey:["steps"]})}}),d=((B=n.data)==null?void 0:B.completed)??0,h=((k=n.data)==null?void 0:k.next)??1,p=((x=n.data)==null?void 0:x.totalSteps)??9,v=((_=(z=n.data)==null?void 0:z.state)==null?void 0:_.APP_NAME)||"",m=d>0,w=Math.round(d/Math.max(1,p)*100);return y.jsxs("div",{className:e.root,children:[y.jsxs("div",{className:e.hero,children:[y.jsx(KS,{}),y.jsxs("div",{className:e.heroInner,children:[y.jsxs("div",{className:e.pill,children:[y.jsx(zE,{})," Foundations"]}),y.jsx("h1",{className:e.title,children:"Set up a Code App the right way."}),y.jsx(go,{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."})]})]}),y.jsxs("div",{className:e.body,children:[y.jsx("div",{className:e.ctaCard,children:y.jsxs("div",{className:e.ctaInner,children:[y.jsx("div",{className:e.ctaText,children:m?y.jsxs(y.Fragment,{children:[y.jsxs(Yo,{style:{display:"block",color:A.colorBrandForeground1,marginBottom:"4px"},children:["Welcome back",v?`, ${v}`:""]}),y.jsxs(kd,{style:{margin:0},children:["Pick up at step ",h," of ",p]}),y.jsxs(go,{style:{marginTop:"6px",color:A.colorNeutralForeground3},children:[d," of ",p," steps complete · ",w,"%"]}),y.jsx("div",{className:e.ctaTrack,"aria-hidden":!0,children:y.jsx("div",{className:e.ctaFill,style:{width:`${w}%`}})})]}):y.jsxs(y.Fragment,{children:[y.jsx(kd,{style:{margin:0},children:"Ready when you are"}),y.jsx(go,{style:{marginTop:"6px",color:A.colorNeutralForeground2},children:"Each step is self-contained. You'll end with a deployable app."})]})}),y.jsxs("div",{className:e.ctaActions,children:[y.jsx(Qe,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:y.jsx(Mr,{}),onClick:()=>o(`/step/${h}`),children:m?"Resume":"Get started"}),m&&y.jsxs(Tm,{children:[y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(Qe,{appearance:"subtle",icon:y.jsx(fE,{}),children:"Start over"})}),y.jsx(Am,{children:y.jsxs(Em,{children:[y.jsx(Rm,{children:"Reset wizard state?"}),y.jsx(Mm,{children:"This clears all collected answers. Your project files are not affected."}),y.jsxs(jm,{children:[y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(Qe,{appearance:"secondary",children:"Cancel"})}),y.jsx(el,{disableButtonEnhancement:!0,children:y.jsx(Qe,{appearance:"primary",onClick:()=>u.mutate(),children:u.isPending?y.jsx(pn,{size:"tiny"}):"Reset"})})]})]})})]})]})]})}),l.data&&y.jsxs("div",{className:e.systemBar,children:[y.jsxs(er,{appearance:"filled",color:l.data.node?"success":"danger",children:["Node ",l.data.node||"—"]}),y.jsxs(er,{appearance:"filled",color:l.data.git?"success":"danger",children:["Git ",l.data.git||"missing"]}),y.jsxs(er,{appearance:"filled",color:l.data.dotnet?"success":"danger",children:[".NET ",l.data.dotnet||"missing"]}),y.jsxs(er,{appearance:"filled",color:l.data.pac?"success":"danger",children:["PAC ",l.data.pac||"missing"]}),y.jsx(er,{appearance:"filled",color:l.data.op?"success":"informative",children:l.data.op?`1Password ${l.data.op}`:"1Password (optional)"})]}),a.data&&y.jsx("div",{className:e.stepSection,children:a.data.steps.map(j=>{const R=j.status==="done",F=j.status==="current";return y.jsxs("div",{className:e.stepRow,role:"button",tabIndex:0,onClick:()=>o(`/step/${j.number}`),onKeyDown:O=>{(O.key==="Enter"||O.key===" ")&&o(`/step/${j.number}`)},children:[R?y.jsx(Fr,{className:`${e.stepIcon} ${e.stepDone}`}):F?y.jsx(hE,{className:`${e.stepIcon} ${e.stepCurrent}`}):y.jsx(um,{className:`${e.stepIcon} ${e.stepPending}`}),y.jsxs("span",{className:R||F?e.stepLabel:e.stepLabelDim,children:[j.number,". ",j.title]}),R&&y.jsx("span",{className:e.stepBadge,children:"Done"}),F&&y.jsx(er,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},j.number)})}),((E=l.data)==null?void 0:E.rootDir)&&y.jsxs("div",{className:e.footer,children:[y.jsx(dE,{style:{verticalAlign:"middle",marginRight:6}}),"Working in ",y.jsx("code",{children:l.data.rootDir})]}),((T=(C=l.data)==null?void 0:C.cloudSync)==null?void 0:T.detected)&&y.jsx(Ao,{intent:"warning",children:y.jsxs(Mo,{children:[y.jsxs(Ja,{children:["Project is inside ",l.data.cloudSync.provider]}),"Cloud-sync providers upload every file in this folder, regardless of ",y.jsx("code",{children:".gitignore"}),". They may raise DLP alerts on encrypted secrets in ",y.jsx("code",{children:".env.local"}),". We strongly recommend moving the project out of ",l.data.cloudSync.provider,", or choosing ",y.jsx("strong",{children:"1Password"})," storage in Step 4. See ",y.jsx("code",{children:"TROUBLESHOOTING.md"}),' → "Authentication & Secrets".']})}),u.isError&&y.jsx(Ao,{intent:"error",children:y.jsxs(Mo,{children:[y.jsx(Ja,{children:"Reset failed"}),u.error.message]})})]})]})}function cF(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 uF=mo({root:{width:"220px",height:"100%",overflowY:"auto",padding:"12px",borderRight:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground2},heading:{color:A.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:A.colorNeutralBackground3}},itemActive:{backgroundColor:A.colorBrandBackground2,border:`1px solid ${A.colorBrandStroke2}`},iconCol:{flex:"0 0 18px",fontSize:"18px",display:"grid",placeItems:"center"},done:{color:A.colorPaletteGreenForeground1},current:{color:A.colorBrandForeground1},pending:{color:A.colorNeutralForeground3},terminal:{color:A.colorNeutralForeground3},title:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:A.fontWeightSemibold,fontSize:A.fontSizeBase300}});function Ix({steps:e,current:o}){const n=uF(),a=nc(),l=nr();return y.jsxs("nav",{className:n.root,"aria-label":"Wizard steps",children:[y.jsx(Tt,{className:n.heading,children:"STEPS"}),e.map(c=>{const u=c.number===o&&l.pathname.includes("/step/"),d=c.status==="done"?Fr:c.status==="current"?Mr:c.manual?pd:c.canRunInBrowser?um:S5,h=c.status==="done"?n.done:c.status==="current"||c.manual?n.current:c.canRunInBrowser?n.pending:n.terminal;return y.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:[y.jsx("div",{className:`${n.iconCol} ${h}`,children:y.jsx(d,{})}),y.jsxs(Ji,{className:n.title,children:[c.number,". ",c.title]})]},c.number)})]})}const QS=mo({wrap:{display:"flex",flexDirection:"column",gap:"20px"},requiredBanner:{display:"flex",alignItems:"center",gap:"12px",padding:"14px 18px",borderRadius:"10px",background:"linear-gradient(135deg, rgba(193,99,12,0.12), rgba(255,185,0,0.08))",border:`1px solid ${A.colorPaletteDarkOrangeBorderActive}`},requiredIcon:{fontSize:"22px",color:A.colorPaletteDarkOrangeForeground1,flexShrink:0},intro:{color:A.colorNeutralForeground2},steps:{display:"flex",flexDirection:"column",gap:"16px"},stepRow:{display:"flex",gap:"14px",alignItems:"flex-start"},stepNum:{width:"28px",height:"28px",borderRadius:"50%",background:Qt.accent,color:"#fff",display:"grid",placeItems:"center",fontWeight:700,fontSize:"14px",flexShrink:0,marginTop:"2px"},stepBody:{flex:1,display:"flex",flexDirection:"column",gap:"8px",minWidth:0},ctaPrimary:{background:Qt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow4,minWidth:"260px",height:"44px",fontWeight:600,alignSelf:"flex-start"},pill:{display:"inline-flex",alignItems:"center",gap:"6px",padding:"3px 10px",borderRadius:"6px",background:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,fontWeight:600},outsidePill:{background:"rgba(0,120,212,0.10)",border:`1px solid ${A.colorBrandStroke1}`,color:A.colorBrandForeground1},figure:{display:"flex",flexDirection:"column",gap:"8px",marginTop:"4px"},illo:{border:`1px solid ${A.colorNeutralStroke2}`,borderRadius:"12px",overflow:"hidden",background:A.colorNeutralBackground1,boxShadow:A.shadow8,maxWidth:"620px"},toolbar:{display:"flex",alignItems:"center",gap:"18px",padding:"10px 16px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,background:A.colorNeutralBackground2,fontSize:A.fontSizeBase200,color:A.colorNeutralForeground2},toolbarItem:{display:"inline-flex",alignItems:"center",gap:"5px",whiteSpace:"nowrap"},toolbarActive:{color:A.colorBrandForeground1,fontWeight:700,position:"relative"},menus:{display:"flex",alignItems:"flex-start",padding:"14px 16px",gap:"8px",flexWrap:"wrap"},menu:{minWidth:"170px",borderRadius:"8px",border:`1px solid ${A.colorNeutralStroke2}`,background:A.colorNeutralBackground1,boxShadow:A.shadow16,overflow:"hidden",paddingTop:"4px",paddingBottom:"4px"},menuItem:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"12px",padding:"7px 12px",fontSize:A.fontSizeBase200,color:A.colorNeutralForeground1},menuItemActive:{background:A.colorBrandBackground2,color:A.colorBrandForeground1,fontWeight:600},menuItemHighlight:{position:"relative",background:A.colorNeutralBackground1,outline:`2px solid ${A.colorPaletteRedBorderActive}`,outlineOffset:"-2px",borderRadius:"6px",fontWeight:700,color:A.colorPaletteRedForeground1},connector:{alignSelf:"center",color:A.colorNeutralForeground3,fontSize:"18px",flexShrink:0},caption:{color:A.colorNeutralForeground3},confirmRow:{display:"flex",flexDirection:"column",gap:"10px",padding:"16px 18px",borderRadius:"10px",background:A.colorNeutralBackground2,border:`1px solid ${A.colorNeutralStroke2}`},actions:{display:"flex",gap:"8px",alignItems:"center",paddingTop:"16px",borderTop:`1px solid ${A.colorNeutralStroke2}`,marginTop:"4px"},spacer:{flex:1}});function dF(){const e=QS();return y.jsxs("div",{className:e.figure,children:[y.jsxs("div",{className:e.illo,role:"img","aria-label":"Solution toolbar: Add existing, then App, then Code app",children:[y.jsxs("div",{className:e.toolbar,children:[y.jsxs("span",{className:e.toolbarItem,children:[y.jsx(xg,{})," New"]}),y.jsxs("span",{className:[e.toolbarItem,e.toolbarActive].join(" "),children:[y.jsx(xg,{})," Add existing ⌄"]}),y.jsx("span",{className:e.toolbarItem,children:"↥ Publish all customizations"}),y.jsx("span",{className:e.toolbarItem,children:"•••"})]}),y.jsxs("div",{className:e.menus,children:[y.jsxs("div",{className:e.menu,children:[y.jsx("div",{className:e.menuItem,children:"Automation"}),y.jsxs("div",{className:[e.menuItem,e.menuItemActive].join(" "),children:[y.jsx("span",{children:"App"}),y.jsx(Xi,{})]}),y.jsx("div",{className:e.menuItem,children:"Dashboard"}),y.jsxs("div",{className:e.menuItem,children:["Table ",y.jsx(Xi,{})]}),y.jsxs("div",{className:e.menuItem,children:["More ",y.jsx(Xi,{})]})]}),y.jsx(Xi,{className:e.connector}),y.jsxs("div",{className:e.menu,children:[y.jsx("div",{className:e.menuItem,children:"Canvas app"}),y.jsx("div",{className:[e.menuItem,e.menuItemHighlight].join(" "),children:"Code app"}),y.jsx("div",{className:e.menuItem,children:"Model-driven app"}),y.jsx("div",{className:e.menuItem,children:"Page"})]})]})]}),y.jsxs(Tt,{className:e.caption,children:["In your solution, select ",y.jsx("strong",{children:"+ Add existing → App → Code app"}),"."]})]})}function fF({solution:e,stepNumber:o,totalSteps:n,onBack:a,onFinish:l}){const c=QS(),[u,d]=b.useState(!1),h=e.appName||"your Code app",p=e.displayName||e.uniqueName||"your target solution",v=e.linkTarget==="solution"?`Open ${p} in the Maker Portal`:e.linkTarget==="solutions"?"Open Solutions in the Maker Portal":"Open the Power Apps Maker Portal";return y.jsxs("div",{className:c.wrap,children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[y.jsx("div",{className:c.stepNum,style:{width:36,height:36,borderRadius:10},children:o}),y.jsxs("div",{style:{flex:1},children:[y.jsx(kd,{style:{margin:0},children:"Add your Code app to your solution"}),y.jsxs(Tt,{style:{color:A.colorNeutralForeground3},children:["Step ",o," of ",n," · required manual step"]})]})]}),y.jsxs("div",{className:c.requiredBanner,children:[y.jsx(w5,{className:c.requiredIcon}),y.jsxs(go,{style:{fontWeight:600},children:["This step is required and can’t be done from the terminal — you must add the Code app to your solution by hand in the Maker Portal. A deployed Code app is ",y.jsx("em",{children:"not"})," automatically included in your solution."]})]}),y.jsxs(go,{className:c.intro,children:["Your app is deployed, but Power Platform does not reliably bind a Code app to its solution during ",y.jsx("code",{children:"pac code push"}),". Follow the three steps below to add it yourself — it takes under a minute."]}),y.jsxs("div",{className:c.steps,children:[y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"1"}),y.jsxs("div",{className:c.stepBody,children:[y.jsx(fn,{children:"Open your solution"}),y.jsx(Ji,{style:{color:A.colorNeutralForeground2},children:e.linkTarget==="solution"?y.jsxs(y.Fragment,{children:["This link opens ",y.jsx("strong",{children:p})," directly."]}):e.linkTarget==="solutions"?y.jsxs(y.Fragment,{children:["This opens the Solutions list — find and open ",y.jsx("strong",{children:p}),"."]}):y.jsxs(y.Fragment,{children:["Open the Maker Portal, switch to your target environment, then open ",y.jsx("strong",{children:p}),"."]})}),y.jsx(Qe,{className:c.ctaPrimary,icon:y.jsx(pd,{}),as:"a",href:e.makerPortalUrl,target:"_blank",rel:"noopener noreferrer",children:v})]})]}),y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"2"}),y.jsxs("div",{className:c.stepBody,children:[y.jsx(fn,{children:"Choose “Add existing → App → Code app”"}),y.jsxs(Ji,{style:{color:A.colorNeutralForeground2},children:["On the solution toolbar, select ",y.jsxs("span",{className:c.pill,children:[y.jsx(xg,{}),"Add existing"]}),", then ",y.jsx("span",{className:c.pill,children:"App"}),", then ",y.jsx("span",{className:c.pill,children:"Code app"}),"."]}),y.jsx(dF,{})]})]}),y.jsxs("div",{className:c.stepRow,children:[y.jsx("div",{className:c.stepNum,children:"3"}),y.jsxs("div",{className:c.stepBody,children:[y.jsxs(fn,{children:["Switch to ",y.jsx("span",{className:[c.pill,c.outsidePill].join(" "),children:"Outside Dataverse"})," and add your app"]}),y.jsxs(Ji,{style:{color:A.colorNeutralForeground2},children:["Code apps are ",y.jsx("strong",{children:"not"})," stored in Dataverse, so the picker won’t show them under the default tab. Select the ",y.jsx("span",{className:[c.pill,c.outsidePill].join(" "),children:"Outside Dataverse"})," ","filter, then ",y.jsx(eE,{style:{verticalAlign:"middle"}})," search for"," ",y.jsx(er,{appearance:"tint",color:"brand",children:h}),", select it, and click ",y.jsx("strong",{children:"Add"}),"."]})]})]})]}),y.jsxs("div",{className:c.confirmRow,children:[y.jsx(wm,{checked:u,onChange:(m,w)=>d(!!w.checked),label:y.jsxs(go,{children:["I’ve added ",y.jsx("strong",{children:h})," to ",y.jsx("strong",{children:p})," using the “Outside Dataverse” filter."]})}),u&&y.jsxs(Tt,{style:{color:A.colorPaletteGreenForeground1,display:"flex",alignItems:"center",gap:6},children:[y.jsx(Fr,{})," Nicely done — your Code app now travels with your solution."]})]}),y.jsxs("div",{className:c.actions,children:[y.jsx(Qe,{appearance:"subtle",icon:y.jsx(B5,{}),onClick:a,children:"Back"}),y.jsx("div",{className:c.spacer}),y.jsx(Qe,{className:c.ctaPrimary,style:{minWidth:"160px",height:"40px"},iconPosition:"after",icon:y.jsx(Mr,{}),onClick:l,disabled:!u,children:"Finish"})]})]})}function Lx(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(y.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 Om=mo({card:{padding:"16px",borderRadius:"10px",backgroundColor:A.colorNeutralBackground2,border:`1px solid ${A.colorNeutralStroke2}`,display:"flex",flexDirection:"column",gap:"8px"},required:{color:A.colorPaletteRedForeground1,marginLeft:"4px"},help:{color:A.colorNeutralForeground3},groupHeader:{display:"flex",flexDirection:"column",gap:"4px",paddingBottom:"4px"},groupTitle:{fontWeight:A.fontWeightSemibold},groupItems:{display:"flex",flexDirection:"column"},groupItem:{padding:"12px 0",borderTop:`1px solid ${A.colorNeutralStroke2}`},firstGroupItem:{paddingTop:"8px"},why:{fontSize:A.fontSizeBase200,color:A.colorNeutralForeground2,whiteSpace:"pre-wrap",lineHeight:1.5,maxWidth:"360px",padding:"4px 0"},whyTrigger:{minWidth:"auto",padding:"2px",height:"auto",color:A.colorNeutralForeground3,":hover":{color:A.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:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,color:A.colorNeutralForeground2,fontSize:A.fontSizeBase200},savedSecretIcon:{color:A.colorPaletteGreenForeground1,fontSize:"16px",flexShrink:0},savedSecretEdit:{marginLeft:"auto",minWidth:"auto",padding:"2px 8px",height:"auto"}});function Ux(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 Fm(e,o){return!!(e.showIf&&!Ux(e.showIf,o)||e.hideIf&&Ux(e.hideIf,o))}function hF(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 pF(e,o,n){return e.required&&(o==null||o==="")&&n?"Required":e.validatePattern==="dataverseUrl"&&typeof o=="string"?hF(o):null}function YS({question:e,value:o,onChange:n,showError:a,answers:l}){var C;const c=Om(),u=pF(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,B]=b.useState([]),[k,x]=b.useState(!1),z=b.useRef(m);b.useEffect(()=>{if(!v)return;if(!m||m==="false"||m==="0"||m.startsWith("__")){B([]),z.current=m;return}if(m===z.current&&w.length>0)return;z.current=m,x(!0);const j=new AbortController;return fetch(`${v.endpoint}?${v.param}=${encodeURIComponent(m)}`,{signal:j.signal}).then(R=>R.json()).then(R=>{const F=R[v.responseKey]||[];B(F),x(!1)}).catch(()=>{j.signal.aborted||x(!1)}),()=>j.abort()},[v,m]);const _=b.useMemo(()=>{if(!v)return e.options||[];const T=(e.options||[]).filter(j=>j.value.startsWith("__"));return[...w,...T]},[v,e.options,w]),E=y.jsxs("span",{className:c.labelRow,children:[e.label,e.required?y.jsx("span",{className:c.required,"aria-hidden":!0,children:"*"}):null,e.why&&y.jsxs(pS,{withArrow:!0,children:[y.jsx(xm,{disableButtonEnhancement:!0,children:y.jsx(Qe,{appearance:"transparent",icon:y.jsx(NE,{}),size:"small",className:c.whyTrigger,"aria-label":`More info about ${e.label}`})}),y.jsx(hS,{children:y.jsx("div",{className:c.why,children:Lx(e.why)})})]})]});return y.jsxs(y.Fragment,{children:[y.jsx(bS,{label:E,validationState:u?"error":void 0,validationMessage:u||void 0,children:e.type==="text"||e.type==="url"?y.jsx(Cg,{value:o??"",onChange:(T,j)=>n(e.id,j.value),"aria-required":e.required||void 0}):e.type==="secret"?p?y.jsxs("div",{className:c.savedSecret,children:[y.jsx(uE,{className:c.savedSecretIcon}),y.jsx("span",{children:e.savedHint}),y.jsx(Qe,{appearance:"subtle",size:"small",icon:y.jsx(cE,{}),className:c.savedSecretEdit,onClick:()=>h(!0),children:"Change"})]}):y.jsx(Cg,{type:"password",value:o??"",onChange:(T,j)=>n(e.id,j.value),placeholder:e.savedHint?"Enter new value to replace":void 0,"aria-required":e.required||void 0}):e.type==="confirm"?y.jsx(DS,{checked:!!o,onChange:(T,j)=>n(e.id,j.checked)}):e.type==="select"?k?y.jsx(pn,{size:"tiny",label:"Loading options…"}):y.jsx(kS,{value:((C=_.find(T=>T.value===o))==null?void 0:C.label)??"",selectedOptions:o?[String(o)]:[],onOptionSelect:(T,j)=>n(e.id,j.optionValue),children:_.map(T=>y.jsx(SS,{value:T.value,children:T.label},T.value))}):e.type==="multiselect"?y.jsx(PS,{value:Array.isArray(o)?o.join(", "):"",onChange:(T,j)=>n(e.id,j.value.split(",").map(R=>R.trim()).filter(Boolean))}):e.type==="checkboxes"?y.jsx("div",{className:c.checkboxList,children:(e.options||[]).map(T=>{const j=Array.isArray(o)&&o.includes(T.value);return y.jsx(wm,{label:T.label,checked:j,onChange:(R,F)=>{const O=Array.isArray(o)?[...o]:[];n(e.id,F.checked?Array.from(new Set([...O,T.value])):O.filter(X=>X!==T.value))}},T.value)})}):y.jsxs(Tt,{children:["Unsupported question type: ",e.type]})}),e.help&&y.jsx(Ji,{className:c.help,children:Lx(e.help)})]})}function gF({question:e,answers:o,value:n,onChange:a,showError:l}){const c=Om();return Fm(e,o)?null:y.jsx("div",{className:c.card,children:y.jsx(YS,{question:e,answers:o,value:n,onChange:a,showError:l})})}function mF({group:e,questions:o,answers:n,onChange:a,showError:l}){const c=Om(),u=o.filter(d=>!Fm(d,n));return u.length===0?null:y.jsxs("div",{className:c.card,children:[y.jsxs("div",{className:c.groupHeader,children:[y.jsx(go,{className:c.groupTitle,children:e.label}),e.help&&y.jsx(Ji,{className:c.help,children:e.help})]}),y.jsx("div",{className:c.groupItems,children:u.map((d,h)=>y.jsx("div",{className:`${c.groupItem} ${h===0?c.firstGroupItem:""}`,children:y.jsx(YS,{question:d,answers:n,value:n[d.id],onChange:a,showError:l})},d.id))})]})}const vF=mo({root:{height:"100%",display:"grid",gridTemplateRows:"auto 1fr auto",backgroundColor:A.colorNeutralBackground3,borderRadius:"10px",overflow:"hidden",border:`1px solid ${A.colorNeutralStroke2}`},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderBottom:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground4},spacer:{flex:1},output:{margin:0,padding:"12px 16px",overflowY:"auto",fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,lineHeight:A.lineHeightBase200,color:A.colorNeutralForeground1,whiteSpace:"pre-wrap",wordBreak:"break-word"},err:{color:A.colorPaletteRedForeground1},info:{color:A.colorNeutralForeground3,fontStyle:"italic"},footer:{display:"flex",alignItems:"center",gap:"8px",padding:"6px 12px",borderTop:`1px solid ${A.colorNeutralStroke2}`,backgroundColor:A.colorNeutralBackground4,color:A.colorNeutralForeground3,minHeight:"28px"},footerIdle:{color:A.colorPaletteDarkOrangeForeground1}});function Vx(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 bF({lines:e,status:o,onClear:n}){var x;const a=vF(),l=b.useRef(null);b.useEffect(()=>{l.current&&(l.current.scrollTop=l.current.scrollHeight)},[e]);const c=e.length,u=((x=e[c-1])==null?void 0:x.text)??"",[d,h]=b.useState(null),[p,v]=b.useState(()=>Date.now()),[m,w]=b.useState(()=>Date.now());b.useEffect(()=>{o==="running"?(h(z=>z??Date.now()),v(Date.now())):h(null)},[o]),b.useEffect(()=>{o==="running"&&v(Date.now())},[c,u,o]),b.useEffect(()=>{if(o!=="running")return;const z=window.setInterval(()=>w(Date.now()),1e3);return()=>window.clearInterval(z)},[o]);const B=b.useMemo(()=>{if(o!=="running"||d===null)return null;const z=m-d,E=m-p>2e4;return{label:E?`Still working — waiting on npm / network… (running for ${Vx(z)})`:`Running for ${Vx(z)}`,idle:E}},[o,d,m,p]);function k(){const z=e.map(T=>T.text).join(""),_=new Blob([z],{type:"text/plain"}),E=URL.createObjectURL(_),C=document.createElement("a");C.href=E,C.download=`wizardux-log-${Date.now()}.txt`,C.click(),URL.revokeObjectURL(E)}return y.jsxs("div",{className:a.root,children:[y.jsxs("div",{className:a.toolbar,children:[y.jsx(Xa,{children:"Live output"}),y.jsx(Tt,{style:{color:o==="error"?A.colorPaletteRedForeground1:o==="done"?A.colorPaletteGreenForeground1:A.colorNeutralForeground3},children:o==="idle"?"Idle":o==="running"?"Running…":o==="done"?"Complete":"Failed"}),y.jsx("div",{className:a.spacer}),y.jsx(Qe,{appearance:"subtle",size:"small",icon:y.jsx(k5,{}),onClick:k,disabled:e.length===0,children:"Save"}),n&&y.jsx(Qe,{appearance:"subtle",size:"small",icon:y.jsx(mE,{}),onClick:n,disabled:e.length===0,children:"Clear"})]}),y.jsx("pre",{ref:l,className:a.output,"aria-live":"polite",children:e.length===0?y.jsx("span",{className:a.info,children:"No output yet. Save the form to begin."}):e.map((z,_)=>y.jsx("span",{className:z.stream==="stderr"?a.err:void 0,children:z.text},_))}),B&&y.jsx("div",{className:`${a.footer}${B.idle?` ${a.footerIdle}`:""}`,"aria-live":"polite",children:y.jsx(Tt,{style:{color:"inherit"},children:B.label})})]})}const yF={1:{title:"Need help with a missing prerequisite?",what:"The wizard can detect missing tools (Node.js, .NET SDK, Python, PAC CLI, the Dataverse-skills plugin) but cannot install them for you.",prompt:"My PACAF prereq check failed — please walk me through installing what’s missing and fixing my PATH if needed."},2:{title:"Need help with project setup?",what:"Most failures here come from an invalid project name, a non-writable workspace folder, or a partially-initialised .env / power.config.json from a previous run.",prompt:"My PACAF wizard Step 2 (Project) failed — please look at my project folder, fix the .env / power.config.json, and tell me what to re-run."},3:{title:"Need help with authentication setup?",what:"This step picks an auth method (device code, browser, or App Registration). Failures usually mean tenant policy blocks the chosen method, the App Registration is missing API permissions / admin consent, or 1Password CLI isn’t signed in.",prompt:"My PACAF wizard Step 3 (Authentication) failed — please check my auth method choice and any App Registration / 1Password requirements, then tell me how to fix it."},4:{title:"Need help signing in?",what:"Sign-in failures usually mean PAC CLI isn’t on PATH, the device code wasn’t entered in time, the tenant blocks device-code flow, or a stale `pac auth` profile is interfering.",prompt:"My PACAF wizard Step 4 (Sign In) failed — please check my `pac auth list`, clear anything stale, and walk me through signing in again."},5:{title:"Need help picking an environment?",what:"If `pac env list` returns nothing or errors, you’re either signed in to the wrong tenant, the environments haven’t been provisioned, or your account lacks the System Administrator role on them.",prompt:"My PACAF wizard Step 5 (Environments) failed — please check my PAC tenant, list the environments I actually have access to, and tell me which one to use for Dev."},6:{title:"Need help with the publisher or solution?",what:"Failures here usually come from a prefix that’s already taken, a non-conforming prefix (must be 2–8 lowercase letters), or insufficient privileges to create a publisher/solution in the chosen environment.",prompt:"My PACAF wizard Step 6 (Solution & Publisher) failed — please check my publisher prefix against the rules in 00-environment-setup.instructions.md and tell me how to fix it."},7:{title:"Need help with the solution confirmation?",what:"This step normally auto-skips. If it errors, the solution from Step 6 didn’t persist correctly into .env / power.config.json, or the Dataverse bridge lost its cached secret.",prompt:"My PACAF wizard Step 7 (Solution Confirmed) failed — please inspect my .env / power.config.json and tell me what state I need to restore."},8:{title:"Need help with the scaffold?",what:"`pac code init` failures are usually caused by an expired `pac auth` profile mid-run, a corporate proxy / SSL inspection blocking npm, a OneDrive-synced workspace path, or insufficient privileges in the target environment.",prompt:"My PACAF wizard Step 8 (Scaffold) failed — please look at the log, check `pac auth list` and my workspace path, and tell me how to recover."},9:{title:"Need help binding connectors?",what:"Connector failures are almost always one of: the connection ID doesn’t exist in the chosen environment, you pasted a URL from the wrong tenant, or the connector’s API name (`shared_xxx`) was mistyped.",prompt:"My PACAF wizard Step 9 (Bind Connectors) failed — please check my connection IDs against the Power Apps maker portal and tell me which ones are wrong."},10:{title:"Need help with build or deploy?",what:"`npm run build` failures point at app code or TypeScript; `pac code push` failures usually mean the target solution doesn’t exist in that environment, the App Registration lacks privileges, or a connection reference isn’t mapped.",prompt:"My PACAF wizard Step 10 (Verify & Deploy) failed — please look at the log, decide whether it’s a build error or a push error, and tell me how to fix it."},11:{title:"Need help adding the app to your solution?",what:"This is a manual portal step. If you can’t find the app under your solution, the publisher prefix likely doesn’t match the solution’s prefix, or you’re looking in the wrong environment.",prompt:"My PACAF wizard Step 11 (Add App to Solution) is stuck — please confirm I’m in the right environment and solution, and walk me through adding the Code App."}};function xF(e){return yF[e]??null}const wF=mo({body:{display:"flex",flexDirection:"column",gap:"8px"},promptRow:{display:"flex",gap:"8px",alignItems:"flex-start",padding:"8px 10px",borderRadius:"6px",background:A.colorNeutralBackground3,border:`1px dashed ${A.colorNeutralStroke2}`},promptText:{flex:1,fontFamily:"var(--monospace-font-family, ui-monospace, monospace)",fontSize:"12px",color:A.colorNeutralForeground2,lineHeight:1.4},copied:{color:A.colorPaletteGreenForeground1,fontWeight:600}});function Vp({stepNumber:e,variant:o}){const n=wF(),[a,l]=b.useState(!1),c=xF(e);if(!c)return null;const u=o==="error"?"error":o==="warning"?"warning":"info",d=o==="error"?"This step hit an error — your coding agent can help.":o==="warning"?"This step finished with warnings — your coding agent can help triage them.":c.title,h=async()=>{try{await navigator.clipboard.writeText(c.prompt),l(!0),setTimeout(()=>l(!1),1800)}catch{}};return y.jsx(Ao,{intent:u,icon:y.jsx(oE,{}),children:y.jsx(Mo,{children:y.jsxs("div",{className:n.body,children:[y.jsxs("div",{children:[y.jsx("strong",{children:d})," ",c.what]}),y.jsx(Tt,{style:{color:A.colorNeutralForeground3},children:"Paste this back to your coding agent:"}),y.jsxs("div",{className:n.promptRow,children:[y.jsx("span",{className:n.promptText,children:c.prompt}),y.jsx(Qe,{size:"small",appearance:"subtle",icon:y.jsx(x5,{}),onClick:h,"aria-label":"Copy prompt to clipboard",children:a?y.jsx("span",{className:n.copied,children:"Copied"}):"Copy"})]})]})})})}const SF=mo({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 ${A.colorNeutralStroke2}`,marginBottom:"8px"},stepBadge:{width:"36px",height:"36px",borderRadius:"10px",display:"grid",placeItems:"center",fontWeight:700,fontSize:"15px",flexShrink:0},stepBadgePending:{background:A.colorNeutralBackground3,color:A.colorNeutralForeground2},stepBadgeDone:{background:A.colorPaletteGreenBackground2,color:A.colorPaletteGreenForeground1},stepBadgeBrand:{background:Qt.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 ${A.colorNeutralStroke2}`,marginTop:"8px"},spacer:{flex:1},inlineLog:{marginTop:"4px",border:`1px solid ${A.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 ${A.colorPaletteGreenBorder1}`},successIcon:{fontSize:"24px",color:A.colorPaletteGreenForeground1,flexShrink:0},successText:{flex:1},ctaPrimary:{background:Qt.accent,color:"#ffffff",border:"none",boxShadow:A.shadow4,minWidth:"160px",height:"40px",fontWeight:600},terminalNote:{display:"flex",alignItems:"center",gap:"10px",padding:"14px 16px",borderRadius:"10px",background:A.colorNeutralBackground3,border:`1px solid ${A.colorNeutralStroke2}`,color:A.colorNeutralForeground2},terminalIcon:{fontSize:"20px",color:A.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 ${A.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:A.colorBrandForeground1,padding:"8px 16px",background:A.colorNeutralBackground1,borderRadius:"8px",border:`1px solid ${A.colorNeutralStroke2}`,userSelect:"all"}});function kF(){var J,se,me,_e,Fe,Bt,ft,kn,pa,ri,Ol,Sr;const e=SF(),o=y4(),n=Math.max(1,Math.min(11,parseInt(o.n||"1",10))),a=nc(),l=ic(),c=Dm(),u=Qd(),d=iF(n),[h,p]=b.useState({}),[v,m]=b.useState({}),[w,B]=b.useState(!1),[k,x]=b.useState(null),z=b.useRef(null),_=b.useMemo(()=>{var qe;return JSON.stringify((((qe=d.data)==null?void 0:qe.questions)??[]).map(tt=>[tt.id,tt.defaultValue??""]))},[(J=d.data)==null?void 0:J.questions]);b.useEffect(()=>{if(!d.data)return;const qe={};for(const tt of d.data.questions)qe[tt.id]=tt.defaultValue??"";p(qe),m(qe),B(!1)},[(se=d.data)==null?void 0:se.meta.number,_]),b.useEffect(()=>{x(null)},[n]);const E=O2({mutationFn:qe=>gr.apply(n,qe),onSuccess:qe=>{x(qe.runId)}}),C=cF(n,k);b.useEffect(()=>{C.status==="done"&&(z.current&&(m(z.current),z.current=null),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["steps"]}),l.invalidateQueries({queryKey:["questions"]}))},[C.status,l,n]);const T=b.useMemo(()=>C.lines.some(qe=>qe.stream==="stderr"),[C.lines]),j=b.useRef(null);b.useEffect(()=>{var qe,tt,Wt;if(C.status==="done"&&!T){const Ho=((qe=c.data)==null?void 0:qe.totalSteps)??9;if(n>=Ho||(Wt=(tt=d.data)==null?void 0:tt.meta)!=null&&Wt.noAutoAdvance)return;j.current=setTimeout(()=>{a(`/step/${n+1}`)},1500)}return()=>{j.current&&clearTimeout(j.current)}},[C.status,n,(me=c.data)==null?void 0:me.totalSteps,a,T,(Fe=(_e=d.data)==null?void 0:_e.meta)==null?void 0:Fe.noAutoAdvance]);const R=(Bt=d.data)==null?void 0:Bt.meta,F=(R==null?void 0:R.manual)===!0,O=((ft=d.data)==null?void 0:ft.questions)??[],{primaryBlocks:X,advancedBlocks:ee}=b.useMemo(()=>{const qe=Ho=>{const ar=[];for(const kr of Ho){if(!kr.group){ar.push({kind:"question",question:kr});continue}const Hr=ar[ar.length-1];(Hr==null?void 0:Hr.kind)==="group"&&Hr.group.id===kr.group.id?Hr.questions.push(kr):ar.push({kind:"group",group:kr.group,questions:[kr]})}return ar},tt=O.filter(Ho=>!Ho.advanced),Wt=O.filter(Ho=>Ho.advanced);return{primaryBlocks:qe(tt),advancedBlocks:qe(Wt)}},[O]),he=b.useMemo(()=>JSON.stringify(h)!==JSON.stringify(v),[h,v]),ie=b.useRef(null);b.useEffect(()=>{if(d.data&&he)return ie.current&&clearTimeout(ie.current),ie.current=setTimeout(()=>{const qe={};for(const tt of Object.keys(h))JSON.stringify(h[tt])!==JSON.stringify(v[tt])&&(qe[tt]=h[tt]);Object.keys(qe).length>0&&gr.saveState(qe).catch(()=>{})},600),()=>{ie.current&&clearTimeout(ie.current)}},[h,v,he,d.data]);const ue=b.useMemo(()=>{if(!(R!=null&&R.canRunInBrowser))return[];const qe=[];for(const tt of O)Fm(tt,h)||tt.required&&(h[tt.id]==null||h[tt.id]==="")&&qe.push(tt.label);return qe},[O,h,R]);function le(){if(R!=null&&R.canRunInBrowser){if(O.length>0&&ue.length>0){B(!0);return}z.current=h,E.mutate(h)}}const Z=((pa=(kn=c.data)==null?void 0:kn.steps.find(qe=>qe.number===n))==null?void 0:pa.status)??"pending",L=E.isPending||C.status==="running",te=C.status==="done",oe=((ri=c.data)==null?void 0:ri.totalSteps)??9,fe=n>=oe,Se=R==null?void 0:R.canRunInBrowser,q=L?R!=null&&R.readOnly?"Checking…":"Running…":te&&T?fe?"Finish":"Continue":te?fe?"Finish":"Continuing…":Z==="done"&&he?"Save & re-run":R!=null&&R.readOnly?"Run checks":Z==="done"?"Re-run":O.length===0?"Run":"Save & run";function U(){if(te){j.current&&clearTimeout(j.current),a(fe?"/summary":`/step/${n+1}`);return}le()}if(F){const qe=((Ol=u.data)==null?void 0:Ol.solution)??{displayName:"",uniqueName:"",appName:"",makerPortalUrl:"https://make.powerapps.com/",linkTarget:"portal"};return y.jsxs("div",{className:e.root,children:[c.data&&y.jsx(Ix,{steps:c.data.steps,current:n}),y.jsx("div",{className:e.main,children:y.jsx("div",{className:e.pane,children:y.jsx("div",{className:e.formWrap,children:y.jsx(fF,{solution:qe,stepNumber:n,totalSteps:oe,onBack:()=>a(n<=1?"/":`/step/${n-1}`),onFinish:async()=>{try{await gr.saveState({COMPLETED_STEP:n}),await l.invalidateQueries({queryKey:["state"]}),await l.invalidateQueries({queryKey:["steps"]})}catch{}a("/summary")}})})})})]})}return y.jsxs("div",{className:e.root,children:[c.data&&y.jsx(Ix,{steps:c.data.steps,current:n}),y.jsx("div",{className:e.main,children:y.jsx("div",{className:e.pane,children:y.jsxs("div",{className:e.formWrap,children:[y.jsxs("div",{className:e.header,children:[y.jsx("div",{className:[e.stepBadge,Z==="done"?e.stepBadgeDone:Z==="current"?e.stepBadgeBrand:e.stepBadgePending].join(" "),children:Z==="done"?y.jsx(Fr,{}):n}),y.jsxs("div",{className:e.headerText,children:[y.jsx(kd,{style:{margin:0},children:(R==null?void 0:R.title)||"Loading…"}),y.jsxs(Tt,{style:{color:A.colorNeutralForeground3},children:["Step ",n," of ",oe,R!=null&&R.optional?" · optional":""]})]})]}),(R==null?void 0:R.description)&&y.jsx(go,{style:{color:A.colorNeutralForeground2},children:R.description}),d.isLoading&&(n===8?y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[y.jsx(pn,{size:"small"}),y.jsx(Tt,{style:{color:A.colorNeutralForeground3},children:"Loading connector details — this can take a moment…"})]}):y.jsx(pn,{size:"small"})),R&&!Se&&y.jsxs("div",{className:e.terminalNote,children:[y.jsx(S5,{className:e.terminalIcon}),y.jsx(go,{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."})]}),Se&&O.length>0&&y.jsx("div",{className:e.questions,children:(()=>{const qe=(Wt,Ho)=>p(ar=>({...ar,[Wt]:Ho})),tt=Wt=>Wt.kind==="group"?y.jsx(mF,{group:Wt.group,questions:Wt.questions,answers:h,onChange:qe,showError:w},Wt.group.id):y.jsx(gF,{question:Wt.question,answers:h,value:h[Wt.question.id],onChange:qe,showError:w},Wt.question.id);return y.jsxs(y.Fragment,{children:[X.map(tt),ee.length>0&&y.jsx(c5,{collapsible:!0,children:y.jsxs(f5,{value:"advanced",children:[y.jsx(F5,{children:"Advanced options"}),y.jsx(I5,{children:y.jsx("div",{className:e.questions,children:ee.map(tt)})})]})})]})})()}),E.isError&&y.jsxs(y.Fragment,{children:[y.jsx(Ao,{intent:"error",children:y.jsx(Mo,{children:E.error.message})}),y.jsx(Vp,{stepNumber:n,variant:"error"})]}),C.status==="error"&&y.jsxs(y.Fragment,{children:[y.jsx(Ao,{intent:"error",children:y.jsx(Mo,{children:C.error||"Step failed — see output above."})}),y.jsx(Vp,{stepNumber:n,variant:"error"})]}),((Sr=C.deviceCode)==null?void 0:Sr.code)&&C.status==="running"&&y.jsxs("div",{className:e.deviceCodeCard,children:[y.jsxs("div",{className:e.deviceCodeHeader,children:[y.jsx(pd,{style:{color:A.colorBrandForeground1}}),y.jsx(go,{children:"Sign in with a device code"})]}),y.jsx(Tt,{style:{color:A.colorNeutralForeground3},children:"Open the link below, then enter the code to authenticate."}),y.jsxs("div",{className:e.deviceCodeBody,children:[y.jsx("span",{className:e.deviceCodeValue,children:C.deviceCode.code}),y.jsx(Qe,{appearance:"subtle",icon:y.jsx(x5,{}),onClick:()=>navigator.clipboard.writeText(C.deviceCode.code),children:"Copy code"})]}),y.jsxs(Qe,{appearance:"primary",icon:y.jsx(pd,{}),as:"a",href:C.deviceCode.url,target:"_blank",rel:"noopener noreferrer",style:{alignSelf:"flex-start"},children:["Open ",C.deviceCode.url]})]}),te&&y.jsxs("div",{className:e.successBanner,children:[y.jsx(Fr,{className:e.successIcon}),y.jsxs("div",{className:e.successText,children:[y.jsx(go,{style:{fontWeight:600},children:fe?"All steps complete!":T?"Step complete — review items above":"Step complete"}),y.jsx(Tt,{style:{color:A.colorNeutralForeground3},children:fe?"Review the deploy log above, then click View summary when ready.":R!=null&&R.noAutoAdvance?"Review the deploy log above, then continue to the final step.":T?"Some items need attention. Continue when ready.":`Moving to step ${n+1}…`})]}),y.jsx(Qe,{className:e.ctaPrimary,iconPosition:"after",icon:y.jsx(Mr,{}),onClick:()=>{j.current&&clearTimeout(j.current),a(fe?"/summary":`/step/${n+1}`)},children:fe?"View summary":"Continue now"})]}),te&&T&&y.jsx(Vp,{stepNumber:n,variant:"warning"}),n===7&&L&&y.jsx(Ao,{intent:"info",children:y.jsxs(Mo,{children:[y.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."]})}),Se&&(C.status==="running"||C.lines.length>0)&&y.jsx("div",{className:e.inlineLog,children:y.jsx(bF,{lines:C.lines,status:C.status})}),y.jsxs("div",{className:e.actions,children:[y.jsx(Qe,{appearance:"subtle",icon:y.jsx(B5,{}),onClick:()=>a(n<=1?"/":`/step/${n-1}`),children:n<=1?"Home":"Back"}),y.jsx("div",{className:e.spacer}),Se?y.jsx(Qe,{appearance:"primary",icon:L?y.jsx(pn,{size:"tiny"}):te?y.jsx(Mr,{}):y.jsx(lE,{}),iconPosition:te?"after":"before",onClick:U,disabled:L,children:q}):y.jsx(Qe,{appearance:"primary",iconPosition:"after",icon:y.jsx(Mr,{}),onClick:()=>{a(fe?"/summary":`/step/${n+1}`)},children:fe?"Finish":"Next"})]})]})})})]})}const BF=mo({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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow4,fontSize:A.fontSizeBase200,fontWeight:600,letterSpacing:"0.04em",textTransform:"uppercase",color:A.colorBrandForeground1},title:{margin:0,background:Qt.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:A.colorNeutralForeground2,fontSize:A.fontSizeBase400,lineHeight:1.55,maxWidth:"620px"}});function JS({eyebrowIcon:e,eyebrow:o,title:n,subtitle:a}){const l=BF();return y.jsxs("div",{className:l.hero,children:[y.jsx(KS,{}),y.jsxs("div",{className:l.inner,children:[y.jsxs("div",{className:l.pill,children:[e,o]}),y.jsx("h1",{className:l.title,children:n}),a&&y.jsx(go,{className:l.subtitle,children:a})]})]})}const ek=mo({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:Qt.accentSoft,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow8,display:"flex",alignItems:"center",gap:"24px",flexWrap:"wrap"},progressText:{flex:1,minWidth:"240px"},progressBar:{width:"100%",height:"6px",borderRadius:"999px",background:A.colorNeutralBackground3,overflow:"hidden",marginTop:"12px"},progressFill:{height:"100%",background:Qt.accent,transition:"width 280ms ease"},sectionLabel:{display:"block",color:A.colorBrandForeground1,fontSize:A.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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,transition:"transform 220ms cubic-bezier(0.1,0.9,0.2,1), box-shadow 220ms",":hover":{transform:"translateY(-2px)",boxShadow:A.shadow8}},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:A.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:Qt.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:A.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},fieldLabel:{color:A.colorNeutralForeground3,fontWeight:500},fieldVal:{fontFamily:A.fontFamilyMonospace,color:A.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},fieldEmpty:{color:A.colorNeutralForeground4,fontStyle:"italic",fontFamily:A.fontFamilyBase},stepRow:{display:"flex",alignItems:"center",gap:"10px",paddingTop:"8px",paddingBottom:"8px"},stepIconDone:{color:A.colorPaletteGreenForeground1,fontSize:"18px"},stepIconCurrent:{color:A.colorBrandForeground1,fontSize:"12px"},stepIconPending:{color:A.colorNeutralForeground4,fontSize:"14px"},actions:{display:"flex",justifyContent:"center",gap:"12px",flexWrap:"wrap",marginTop:"8px"},ctaPrimary:{background:Qt.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:A.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:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,boxShadow:A.shadow8,display:"grid",gap:"14px"},launchTitle:{margin:0,color:A.colorNeutralForeground1,letterSpacing:"-0.01em"},launchUrl:{display:"block",padding:"12px 14px",borderRadius:"10px",textDecorationLine:"none",fontFamily:A.fontFamilyMonospace,background:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2,color:A.colorBrandForeground1,overflowWrap:"anywhere",":hover":{textDecorationLine:"underline"}},launchActions:{display:"flex",gap:"10px",flexWrap:"wrap"},launchBtn:{background:Qt.accent,color:"#ffffff",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0,borderLeftWidth:0,boxShadow:A.shadow8,minWidth:"220px",height:"44px",fontWeight:700}});function eo({label:e,value:o}){const n=ek(),a=!o||o.trim()==="";return y.jsxs("div",{className:n.field,children:[y.jsx(Tt,{className:n.fieldLabel,children:e}),y.jsx(Tt,{className:a?`${n.fieldVal} ${n.fieldEmpty}`:n.fieldVal,children:a?"not set":o})]})}function _F(){var m,w,B,k,x,z,_,E,C;const e=ek(),o=Qd(),n=Dm(),a=((m=o.data)==null?void 0:m.state)??{},l=((w=o.data)==null?void 0:w.completed)??0,c=((B=o.data)==null?void 0:B.totalSteps)??9,u=((k=o.data)==null?void 0:k.next)??1,d=Math.round(l/Math.max(1,c)*100),h=l>=c,p=((z=(x=o.data)==null?void 0:x.powerApp)==null?void 0:z.launchUrl)||"",v=((E=(_=o.data)==null?void 0:_.powerApp)==null?void 0:E.targetEnv)||a.WIZARD_TARGET_ENV||"dev";return y.jsxs("div",{className:e.root,children:[y.jsx(JS,{eyebrowIcon:y.jsx(Ui,{}),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."}),y.jsxs("div",{className:e.body,children:[y.jsxs("div",{className:e.progressCard,children:[y.jsxs("div",{className:e.progressText,children:[y.jsx(Yo,{style:{display:"block",color:A.colorBrandForeground1,marginBottom:"4px"},children:h?"Setup complete":"In progress"}),y.jsxs(fn,{style:{margin:0},children:[l," of ",c," steps complete · ",d,"%"]}),y.jsx("div",{className:e.progressBar,"aria-hidden":!0,children:y.jsx("div",{className:e.progressFill,style:{width:`${d}%`}})})]}),!h&&y.jsx(un,{to:`/step/${u}`,children:y.jsx(Qe,{className:e.ctaPrimary,size:"large",iconPosition:"after",icon:y.jsx(Mr,{}),children:"Continue setup"})}),h&&p&&y.jsx(Qe,{className:e.ctaPrimary,size:"large",as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:y.jsx(Mr,{}),children:"Open Power App"})]}),h&&y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Launch"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"You did it. Your app is ready to launch."}),y.jsx("div",{className:e.launchCard,style:{marginTop:"16px"},children:p?y.jsxs(y.Fragment,{children:[y.jsxs(Yo,{className:e.launchTitle,children:["Power Apps URL (",String(v).toUpperCase(),")"]}),y.jsx("a",{className:e.launchUrl,href:p,target:"_blank",rel:"noopener noreferrer",children:p}),y.jsx("div",{className:e.launchActions,children:y.jsx(Qe,{className:e.launchBtn,as:"a",href:p,target:"_blank",rel:"noopener noreferrer",iconPosition:"after",icon:y.jsx(Mr,{}),children:"Launch App Now"})})]}):y.jsxs(y.Fragment,{children:[y.jsx(Yo,{className:e.launchTitle,children:"Power Apps URL not available yet"}),y.jsx(Tt,{children:'Complete Step 9 with "Push to Power Platform" enabled to generate and surface your launch URL here.'})]})})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Project values"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"What the wizard knows about your app"}),y.jsxs("div",{className:e.grid,style:{marginTop:"20px"},children:[y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Yo,{children:"Project"})]}),y.jsx(eo,{label:"App name",value:a.APP_NAME}),y.jsx(eo,{label:"Project dir",value:a.PROJECT_DIR})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Yo,{children:"Environments"})]}),y.jsx(eo,{label:"Dev",value:a.PP_ENV_DEV}),y.jsx(eo,{label:"Test",value:a.PP_ENV_TEST}),y.jsx(eo,{label:"Prod",value:a.PP_ENV_PROD}),y.jsx(eo,{label:"Active target",value:a.WIZARD_TARGET_ENV})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Yo,{children:"Identity"})]}),y.jsx(eo,{label:"Auth method",value:a.AUTH_PROFILE_TYPE==="spn"?"Service Principal":"User credentials"}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"Tenant ID",value:a.PP_TENANT_ID}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"App ID",value:a.PP_APP_ID}),a.AUTH_PROFILE_TYPE==="spn"&&y.jsx(eo,{label:"Credential storage",value:a.AUTH_MODE})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Yo,{children:"Publisher"})]}),y.jsx(eo,{label:"Display name",value:a.PUBLISHER_DISPLAY_NAME}),y.jsx(eo,{label:"Prefix",value:a.PUBLISHER_PREFIX}),y.jsx(eo,{label:"Choice value prefix",value:a.CHOICE_VALUE_PREFIX})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(Ui,{})}),y.jsx(Yo,{children:"Solution"})]}),y.jsx(eo,{label:"Display name",value:a.SOLUTION_DISPLAY_NAME}),y.jsx(eo,{label:"Unique name",value:a.SOLUTION_UNIQUE_NAME})]})]})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Step-by-step"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"Where each step stands"}),y.jsxs("div",{className:e.card,style:{marginTop:"20px"},children:[!n.data&&y.jsx(pn,{size:"small"}),(C=n.data)==null?void 0:C.steps.map(T=>y.jsxs("div",{className:e.stepRow,children:[T.status==="done"&&y.jsx(Fr,{className:e.stepIconDone}),T.status==="current"&&y.jsx(cm,{className:e.stepIconCurrent}),T.status==="pending"&&y.jsx(um,{className:e.stepIconPending}),y.jsxs(go,{style:{flex:1},children:[y.jsx("span",{style:{color:A.colorNeutralForeground3,marginRight:"8px"},children:String(T.number).padStart(2,"0")}),T.title]}),T.status==="done"&&y.jsx(er,{appearance:"filled",color:"success",size:"small",children:"Done"}),T.status==="current"&&y.jsx(er,{appearance:"filled",color:"brand",size:"small",children:"Up next"})]},T.number))]})]}),!o.data&&y.jsx(Ao,{intent:"info",children:y.jsx(Mo,{children:"Loading state…"})}),y.jsxs("div",{className:e.actions,children:[y.jsx(un,{to:"/",children:y.jsx(Qe,{appearance:"subtle",icon:y.jsx(_5,{}),children:"Home"})}),!h&&y.jsx(un,{to:`/step/${u}`,children:y.jsx(Qe,{className:e.ctaPrimary,iconPosition:"after",icon:y.jsx(Mr,{}),children:"Continue setup"})})]})]})]})}const tk=mo({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:A.colorBrandForeground1,fontSize:A.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:A.colorNeutralBackground1,borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:"1px",borderLeftWidth:"1px",borderTopStyle:"solid",borderRightStyle:"solid",borderBottomStyle:"solid",borderLeftStyle:"solid",borderTopColor:A.colorNeutralStroke2,borderRightColor:A.colorNeutralStroke2,borderBottomColor:A.colorNeutralStroke2,borderLeftColor:A.colorNeutralStroke2},cardHeader:{display:"flex",alignItems:"center",gap:"10px",marginBottom:"12px",paddingBottom:"12px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:A.colorNeutralStroke2},cardIcon:{width:"32px",height:"32px",borderRadius:"8px",display:"grid",placeItems:"center",background:Qt.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:A.colorNeutralStroke3,":last-child":{borderBottomColor:"transparent"}},rowLabel:{color:A.colorNeutralForeground3,display:"flex",alignItems:"center",gap:"6px"},rowVal:{fontFamily:A.fontFamilyMonospace,color:A.colorNeutralForeground1,textAlign:"right",minWidth:0,overflowWrap:"anywhere"},rowValMissing:{color:A.colorPaletteRedForeground1,fontStyle:"italic",fontFamily:A.fontFamilyBase},pre:{margin:0,padding:"16px",background:A.colorNeutralBackground3,borderRadius:"10px",overflowX:"auto",fontFamily:A.fontFamilyMonospace,fontSize:A.fontSizeBase200,lineHeight:1.6,color:A.colorNeutralForeground1,maxHeight:"480px",overflowY:"auto"}});function Ma({icon:e,label:o,value:n,ok:a,neutral:l}){const c=tk(),u=!n,d=l?y.jsx(gd,{style:{color:A.colorBrandForeground1}}):a?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(CE,{style:{color:A.colorPaletteRedForeground1}});return y.jsxs("div",{className:c.row,children:[y.jsxs(Tt,{className:c.rowLabel,children:[d,e,o]}),y.jsx(Tt,{className:u?`${c.rowVal} ${c.rowValMissing}`:c.rowVal,children:u?"not detected":n})]})}function CF(){var l;const e=tk(),o=ZS(),n=Qd(),a=o.data;return y.jsxs("div",{className:e.root,children:[y.jsx(JS,{eyebrowIcon:y.jsx(sE,{}),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."}),y.jsxs("div",{className:e.body,children:[!a&&y.jsx(pn,{size:"medium"}),a&&y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Environment"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:"Tooling and host detection"}),y.jsxs("div",{className:e.grid,children:[y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(y5,{})}),y.jsx(Yo,{children:"Host"})]}),y.jsx(Ma,{neutral:!0,label:"OS",value:`${a.os.platform} ${a.os.release}`}),y.jsx(Ma,{ok:!!a.node,label:"Node.js",value:a.node}),y.jsx(Ma,{ok:!!a.git,label:"Git",value:a.git}),y.jsx(Ma,{ok:!!a.dotnet,label:".NET SDK",value:a.dotnet})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(vE,{})}),y.jsx(Yo,{children:"Power Platform tooling"})]}),y.jsx(Ma,{ok:!!a.pac,label:"PAC CLI",value:a.pac}),y.jsxs("div",{className:e.row,children:[y.jsxs(Tt,{className:e.rowLabel,children:[a.op?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(gd,{style:{color:A.colorBrandForeground1}}),"1Password CLI"]}),y.jsx(er,{appearance:"filled",color:a.op?"success":"informative",children:a.op?a.op:"optional · not installed"})]})]}),y.jsxs("div",{className:e.card,children:[y.jsxs("div",{className:e.cardHeader,children:[y.jsx("div",{className:e.cardIcon,children:y.jsx(gE,{})}),y.jsx(Yo,{children:"Repository"})]}),y.jsx(Ma,{neutral:!0,label:"Branch",value:a.branch}),y.jsxs("div",{className:e.row,children:[y.jsxs(Tt,{className:e.rowLabel,children:[a.repoIsClean?y.jsx(Fr,{style:{color:A.colorPaletteGreenForeground1}}):y.jsx(gd,{style:{color:A.colorPaletteYellowForeground1}}),"Working tree"]}),y.jsx(er,{appearance:"filled",color:a.repoIsClean?"success":"warning",children:a.repoIsClean?"clean":"has uncommitted changes"})]}),y.jsx(Ma,{neutral:!0,label:"Root",value:a.rootDir})]})]})]}),y.jsxs("section",{children:[y.jsx("span",{className:e.sectionLabel,children:"Raw state"}),y.jsx(fn,{as:"h2",className:e.sectionTitle,children:".wizard-state.json"}),y.jsx(go,{style:{color:A.colorNeutralForeground2,marginTop:"8px",marginBottom:"16px"},children:"The exact contents the server sees on disk. This is what every step reads from and writes to."}),y.jsx("pre",{className:e.pre,children:JSON.stringify(((l=n.data)==null?void 0:l.state)??{},null,2)})]})]})]})}const zF=mo({root:{height:"100vh",display:"grid",gridTemplateRows:"64px 1fr",backgroundColor:A.colorNeutralBackground1,color:A.colorNeutralForeground1},body:{overflow:"hidden",minHeight:0}});function NF(){const e=zF();return y.jsxs("div",{className:e.root,children:[y.jsx(nF,{}),y.jsx("div",{className:e.body,children:y.jsxs(D4,{children:[y.jsx(Gi,{path:"/",element:y.jsx(sF,{})}),y.jsx(Gi,{path:"/step/:n",element:y.jsx(kF,{})}),y.jsx(Gi,{path:"/summary",element:y.jsx(_F,{})}),y.jsx(Gi,{path:"/diagnostics",element:y.jsx(CF,{})}),y.jsx(Gi,{path:"*",element:y.jsx(A4,{to:"/",replace:!0})})]})})]})}const TF=new P_({defaultOptions:{queries:{staleTime:2e3,refetchOnWindowFocus:!1,retry:1}}}),jF=document.getElementById("root");DB.createRoot(jF).render(y.jsx(b.StrictMode,{children:y.jsx(I_,{client:TF,children:y.jsx(ZO,{children:y.jsx(a_,{children:y.jsx(NF,{})})})})}));